@alexochihua/protos 1.0.40 → 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.
@@ -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 ?? "";
@@ -1534,8 +1538,6 @@ exports.CreatePhysicalCardContractResponse = {
1534
1538
  };
1535
1539
  function createBaseCreateVirtualCardContractRequest() {
1536
1540
  return {
1537
- provider_id: "",
1538
- transaction_id: "",
1539
1541
  prod_id: 0,
1540
1542
  id_type: 0,
1541
1543
  id: "",
@@ -1579,128 +1581,122 @@ function createBaseCreateVirtualCardContractRequest() {
1579
1581
  }
1580
1582
  exports.CreateVirtualCardContractRequest = {
1581
1583
  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
1584
  if (message.prod_id !== 0) {
1589
- writer.uint32(24).int32(message.prod_id);
1585
+ writer.uint32(8).int32(message.prod_id);
1590
1586
  }
1591
1587
  if (message.id_type !== 0) {
1592
- writer.uint32(32).int32(message.id_type);
1588
+ writer.uint32(16).int32(message.id_type);
1593
1589
  }
1594
1590
  if (message.id !== "") {
1595
- writer.uint32(42).string(message.id);
1591
+ writer.uint32(26).string(message.id);
1596
1592
  }
1597
1593
  if (message.id_type_2 !== 0) {
1598
- writer.uint32(48).int32(message.id_type_2);
1594
+ writer.uint32(32).int32(message.id_type_2);
1599
1595
  }
1600
1596
  if (message.id_2 !== "") {
1601
- writer.uint32(58).string(message.id_2);
1597
+ writer.uint32(42).string(message.id_2);
1602
1598
  }
1603
1599
  if (message.locale !== "") {
1604
- writer.uint32(66).string(message.locale);
1600
+ writer.uint32(50).string(message.locale);
1605
1601
  }
1606
1602
  if (message.first_name !== "") {
1607
- writer.uint32(74).string(message.first_name);
1603
+ writer.uint32(58).string(message.first_name);
1608
1604
  }
1609
1605
  if (message.middle_name !== "") {
1610
- writer.uint32(82).string(message.middle_name);
1606
+ writer.uint32(66).string(message.middle_name);
1611
1607
  }
1612
1608
  if (message.last_name !== "") {
1613
- writer.uint32(90).string(message.last_name);
1609
+ writer.uint32(74).string(message.last_name);
1614
1610
  }
1615
1611
  if (message.date_of_birth !== "") {
1616
- writer.uint32(98).string(message.date_of_birth);
1612
+ writer.uint32(82).string(message.date_of_birth);
1617
1613
  }
1618
1614
  if (message.address_1 !== "") {
1619
- writer.uint32(106).string(message.address_1);
1615
+ writer.uint32(90).string(message.address_1);
1620
1616
  }
1621
1617
  if (message.address_2 !== "") {
1622
- writer.uint32(114).string(message.address_2);
1618
+ writer.uint32(98).string(message.address_2);
1623
1619
  }
1624
1620
  if (message.address_3 !== "") {
1625
- writer.uint32(122).string(message.address_3);
1621
+ writer.uint32(106).string(message.address_3);
1626
1622
  }
1627
1623
  if (message.address_4 !== "") {
1628
- writer.uint32(130).string(message.address_4);
1624
+ writer.uint32(114).string(message.address_4);
1629
1625
  }
1630
1626
  if (message.address_5 !== "") {
1631
- writer.uint32(138).string(message.address_5);
1627
+ writer.uint32(122).string(message.address_5);
1632
1628
  }
1633
1629
  if (message.city !== "") {
1634
- writer.uint32(146).string(message.city);
1630
+ writer.uint32(130).string(message.city);
1635
1631
  }
1636
1632
  if (message.state !== "") {
1637
- writer.uint32(154).string(message.state);
1633
+ writer.uint32(138).string(message.state);
1638
1634
  }
1639
1635
  if (message.zip !== "") {
1640
- writer.uint32(162).string(message.zip);
1636
+ writer.uint32(146).string(message.zip);
1641
1637
  }
1642
1638
  if (message.country_code !== "") {
1643
- writer.uint32(170).string(message.country_code);
1639
+ writer.uint32(154).string(message.country_code);
1644
1640
  }
1645
1641
  if (message.primary_phone !== "") {
1646
- writer.uint32(178).string(message.primary_phone);
1642
+ writer.uint32(162).string(message.primary_phone);
1647
1643
  }
1648
1644
  if (message.other_phone !== "") {
1649
- writer.uint32(186).string(message.other_phone);
1645
+ writer.uint32(170).string(message.other_phone);
1650
1646
  }
1651
1647
  if (message.mobile_phone !== "") {
1652
- writer.uint32(194).string(message.mobile_phone);
1648
+ writer.uint32(178).string(message.mobile_phone);
1653
1649
  }
1654
1650
  if (message.mobile_carrier_id !== "") {
1655
- writer.uint32(202).string(message.mobile_carrier_id);
1651
+ writer.uint32(186).string(message.mobile_carrier_id);
1656
1652
  }
1657
1653
  if (message.email !== "") {
1658
- writer.uint32(210).string(message.email);
1654
+ writer.uint32(194).string(message.email);
1659
1655
  }
1660
1656
  if (message.secret_question !== "") {
1661
- writer.uint32(218).string(message.secret_question);
1657
+ writer.uint32(202).string(message.secret_question);
1662
1658
  }
1663
1659
  if (message.secret_answer !== "") {
1664
- writer.uint32(226).string(message.secret_answer);
1660
+ writer.uint32(210).string(message.secret_answer);
1665
1661
  }
1666
1662
  if (message.load_amount !== 0) {
1667
- writer.uint32(233).double(message.load_amount);
1663
+ writer.uint32(217).double(message.load_amount);
1668
1664
  }
1669
1665
  if (message.load_type !== "") {
1670
- writer.uint32(242).string(message.load_type);
1666
+ writer.uint32(226).string(message.load_type);
1671
1667
  }
1672
1668
  if (message.external_account_id !== "") {
1673
- writer.uint32(250).string(message.external_account_id);
1669
+ writer.uint32(234).string(message.external_account_id);
1674
1670
  }
1675
1671
  if (message.primary_account !== "") {
1676
- writer.uint32(258).string(message.primary_account);
1672
+ writer.uint32(242).string(message.primary_account);
1677
1673
  }
1678
1674
  if (message.shared_balance !== 0) {
1679
- writer.uint32(264).int32(message.shared_balance);
1675
+ writer.uint32(248).int32(message.shared_balance);
1680
1676
  }
1681
1677
  if (message.user_data !== "") {
1682
- writer.uint32(274).string(message.user_data);
1678
+ writer.uint32(258).string(message.user_data);
1683
1679
  }
1684
1680
  if (message.verify_only !== 0) {
1685
- writer.uint32(280).int32(message.verify_only);
1681
+ writer.uint32(264).int32(message.verify_only);
1686
1682
  }
1687
1683
  if (message.load_from_account !== "") {
1688
- writer.uint32(290).string(message.load_from_account);
1684
+ writer.uint32(274).string(message.load_from_account);
1689
1685
  }
1690
1686
  if (message.sweep_date !== "") {
1691
- writer.uint32(298).string(message.sweep_date);
1687
+ writer.uint32(282).string(message.sweep_date);
1692
1688
  }
1693
1689
  if (message.credit_limit !== 0) {
1694
- writer.uint32(305).double(message.credit_limit);
1690
+ writer.uint32(289).double(message.credit_limit);
1695
1691
  }
1696
1692
  if (message.single_use !== "") {
1697
- writer.uint32(314).string(message.single_use);
1693
+ writer.uint32(298).string(message.single_use);
1698
1694
  }
1699
1695
  if (message.business_name !== "") {
1700
- writer.uint32(322).string(message.business_name);
1696
+ writer.uint32(306).string(message.business_name);
1701
1697
  }
1702
1698
  if (message.mobile_phone_country_code !== "") {
1703
- writer.uint32(330).string(message.mobile_phone_country_code);
1699
+ writer.uint32(314).string(message.mobile_phone_country_code);
1704
1700
  }
1705
1701
  return writer;
1706
1702
  },
@@ -1712,289 +1708,275 @@ exports.CreateVirtualCardContractRequest = {
1712
1708
  const tag = reader.uint32();
1713
1709
  switch (tag >>> 3) {
1714
1710
  case 1: {
1715
- if (tag !== 10) {
1711
+ if (tag !== 8) {
1716
1712
  break;
1717
1713
  }
1718
- message.provider_id = reader.string();
1714
+ message.prod_id = reader.int32();
1719
1715
  continue;
1720
1716
  }
1721
1717
  case 2: {
1722
- if (tag !== 18) {
1718
+ if (tag !== 16) {
1723
1719
  break;
1724
1720
  }
1725
- message.transaction_id = reader.string();
1721
+ message.id_type = reader.int32();
1726
1722
  continue;
1727
1723
  }
1728
1724
  case 3: {
1729
- if (tag !== 24) {
1725
+ if (tag !== 26) {
1730
1726
  break;
1731
1727
  }
1732
- message.prod_id = reader.int32();
1728
+ message.id = reader.string();
1733
1729
  continue;
1734
1730
  }
1735
1731
  case 4: {
1736
1732
  if (tag !== 32) {
1737
1733
  break;
1738
1734
  }
1739
- message.id_type = reader.int32();
1735
+ message.id_type_2 = reader.int32();
1740
1736
  continue;
1741
1737
  }
1742
1738
  case 5: {
1743
1739
  if (tag !== 42) {
1744
1740
  break;
1745
1741
  }
1746
- message.id = reader.string();
1742
+ message.id_2 = reader.string();
1747
1743
  continue;
1748
1744
  }
1749
1745
  case 6: {
1750
- if (tag !== 48) {
1746
+ if (tag !== 50) {
1751
1747
  break;
1752
1748
  }
1753
- message.id_type_2 = reader.int32();
1749
+ message.locale = reader.string();
1754
1750
  continue;
1755
1751
  }
1756
1752
  case 7: {
1757
1753
  if (tag !== 58) {
1758
1754
  break;
1759
1755
  }
1760
- message.id_2 = reader.string();
1756
+ message.first_name = reader.string();
1761
1757
  continue;
1762
1758
  }
1763
1759
  case 8: {
1764
1760
  if (tag !== 66) {
1765
1761
  break;
1766
1762
  }
1767
- message.locale = reader.string();
1763
+ message.middle_name = reader.string();
1768
1764
  continue;
1769
1765
  }
1770
1766
  case 9: {
1771
1767
  if (tag !== 74) {
1772
1768
  break;
1773
1769
  }
1774
- message.first_name = reader.string();
1770
+ message.last_name = reader.string();
1775
1771
  continue;
1776
1772
  }
1777
1773
  case 10: {
1778
1774
  if (tag !== 82) {
1779
1775
  break;
1780
1776
  }
1781
- message.middle_name = reader.string();
1777
+ message.date_of_birth = reader.string();
1782
1778
  continue;
1783
1779
  }
1784
1780
  case 11: {
1785
1781
  if (tag !== 90) {
1786
1782
  break;
1787
1783
  }
1788
- message.last_name = reader.string();
1784
+ message.address_1 = reader.string();
1789
1785
  continue;
1790
1786
  }
1791
1787
  case 12: {
1792
1788
  if (tag !== 98) {
1793
1789
  break;
1794
1790
  }
1795
- message.date_of_birth = reader.string();
1791
+ message.address_2 = reader.string();
1796
1792
  continue;
1797
1793
  }
1798
1794
  case 13: {
1799
1795
  if (tag !== 106) {
1800
1796
  break;
1801
1797
  }
1802
- message.address_1 = reader.string();
1798
+ message.address_3 = reader.string();
1803
1799
  continue;
1804
1800
  }
1805
1801
  case 14: {
1806
1802
  if (tag !== 114) {
1807
1803
  break;
1808
1804
  }
1809
- message.address_2 = reader.string();
1805
+ message.address_4 = reader.string();
1810
1806
  continue;
1811
1807
  }
1812
1808
  case 15: {
1813
1809
  if (tag !== 122) {
1814
1810
  break;
1815
1811
  }
1816
- message.address_3 = reader.string();
1812
+ message.address_5 = reader.string();
1817
1813
  continue;
1818
1814
  }
1819
1815
  case 16: {
1820
1816
  if (tag !== 130) {
1821
1817
  break;
1822
1818
  }
1823
- message.address_4 = reader.string();
1819
+ message.city = reader.string();
1824
1820
  continue;
1825
1821
  }
1826
1822
  case 17: {
1827
1823
  if (tag !== 138) {
1828
1824
  break;
1829
1825
  }
1830
- message.address_5 = reader.string();
1826
+ message.state = reader.string();
1831
1827
  continue;
1832
1828
  }
1833
1829
  case 18: {
1834
1830
  if (tag !== 146) {
1835
1831
  break;
1836
1832
  }
1837
- message.city = reader.string();
1833
+ message.zip = reader.string();
1838
1834
  continue;
1839
1835
  }
1840
1836
  case 19: {
1841
1837
  if (tag !== 154) {
1842
1838
  break;
1843
1839
  }
1844
- message.state = reader.string();
1840
+ message.country_code = reader.string();
1845
1841
  continue;
1846
1842
  }
1847
1843
  case 20: {
1848
1844
  if (tag !== 162) {
1849
1845
  break;
1850
1846
  }
1851
- message.zip = reader.string();
1847
+ message.primary_phone = reader.string();
1852
1848
  continue;
1853
1849
  }
1854
1850
  case 21: {
1855
1851
  if (tag !== 170) {
1856
1852
  break;
1857
1853
  }
1858
- message.country_code = reader.string();
1854
+ message.other_phone = reader.string();
1859
1855
  continue;
1860
1856
  }
1861
1857
  case 22: {
1862
1858
  if (tag !== 178) {
1863
1859
  break;
1864
1860
  }
1865
- message.primary_phone = reader.string();
1861
+ message.mobile_phone = reader.string();
1866
1862
  continue;
1867
1863
  }
1868
1864
  case 23: {
1869
1865
  if (tag !== 186) {
1870
1866
  break;
1871
1867
  }
1872
- message.other_phone = reader.string();
1868
+ message.mobile_carrier_id = reader.string();
1873
1869
  continue;
1874
1870
  }
1875
1871
  case 24: {
1876
1872
  if (tag !== 194) {
1877
1873
  break;
1878
1874
  }
1879
- message.mobile_phone = reader.string();
1875
+ message.email = reader.string();
1880
1876
  continue;
1881
1877
  }
1882
1878
  case 25: {
1883
1879
  if (tag !== 202) {
1884
1880
  break;
1885
1881
  }
1886
- message.mobile_carrier_id = reader.string();
1882
+ message.secret_question = reader.string();
1887
1883
  continue;
1888
1884
  }
1889
1885
  case 26: {
1890
1886
  if (tag !== 210) {
1891
1887
  break;
1892
1888
  }
1893
- message.email = reader.string();
1889
+ message.secret_answer = reader.string();
1894
1890
  continue;
1895
1891
  }
1896
1892
  case 27: {
1897
- if (tag !== 218) {
1893
+ if (tag !== 217) {
1898
1894
  break;
1899
1895
  }
1900
- message.secret_question = reader.string();
1896
+ message.load_amount = reader.double();
1901
1897
  continue;
1902
1898
  }
1903
1899
  case 28: {
1904
1900
  if (tag !== 226) {
1905
1901
  break;
1906
1902
  }
1907
- message.secret_answer = reader.string();
1903
+ message.load_type = reader.string();
1908
1904
  continue;
1909
1905
  }
1910
1906
  case 29: {
1911
- if (tag !== 233) {
1907
+ if (tag !== 234) {
1912
1908
  break;
1913
1909
  }
1914
- message.load_amount = reader.double();
1910
+ message.external_account_id = reader.string();
1915
1911
  continue;
1916
1912
  }
1917
1913
  case 30: {
1918
1914
  if (tag !== 242) {
1919
1915
  break;
1920
1916
  }
1921
- message.load_type = reader.string();
1917
+ message.primary_account = reader.string();
1922
1918
  continue;
1923
1919
  }
1924
1920
  case 31: {
1925
- if (tag !== 250) {
1921
+ if (tag !== 248) {
1926
1922
  break;
1927
1923
  }
1928
- message.external_account_id = reader.string();
1924
+ message.shared_balance = reader.int32();
1929
1925
  continue;
1930
1926
  }
1931
1927
  case 32: {
1932
1928
  if (tag !== 258) {
1933
1929
  break;
1934
1930
  }
1935
- message.primary_account = reader.string();
1931
+ message.user_data = reader.string();
1936
1932
  continue;
1937
1933
  }
1938
1934
  case 33: {
1939
1935
  if (tag !== 264) {
1940
1936
  break;
1941
1937
  }
1942
- message.shared_balance = reader.int32();
1938
+ message.verify_only = reader.int32();
1943
1939
  continue;
1944
1940
  }
1945
1941
  case 34: {
1946
1942
  if (tag !== 274) {
1947
1943
  break;
1948
1944
  }
1949
- message.user_data = reader.string();
1945
+ message.load_from_account = reader.string();
1950
1946
  continue;
1951
1947
  }
1952
1948
  case 35: {
1953
- if (tag !== 280) {
1949
+ if (tag !== 282) {
1954
1950
  break;
1955
1951
  }
1956
- message.verify_only = reader.int32();
1952
+ message.sweep_date = reader.string();
1957
1953
  continue;
1958
1954
  }
1959
1955
  case 36: {
1960
- if (tag !== 290) {
1956
+ if (tag !== 289) {
1961
1957
  break;
1962
1958
  }
1963
- message.load_from_account = reader.string();
1959
+ message.credit_limit = reader.double();
1964
1960
  continue;
1965
1961
  }
1966
1962
  case 37: {
1967
1963
  if (tag !== 298) {
1968
1964
  break;
1969
1965
  }
1970
- message.sweep_date = reader.string();
1966
+ message.single_use = reader.string();
1971
1967
  continue;
1972
1968
  }
1973
1969
  case 38: {
1974
- if (tag !== 305) {
1970
+ if (tag !== 306) {
1975
1971
  break;
1976
1972
  }
1977
- message.credit_limit = reader.double();
1973
+ message.business_name = reader.string();
1978
1974
  continue;
1979
1975
  }
1980
1976
  case 39: {
1981
1977
  if (tag !== 314) {
1982
1978
  break;
1983
1979
  }
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
1980
  message.mobile_phone_country_code = reader.string();
1999
1981
  continue;
2000
1982
  }
@@ -2011,8 +1993,6 @@ exports.CreateVirtualCardContractRequest = {
2011
1993
  },
2012
1994
  fromPartial(object) {
2013
1995
  const message = createBaseCreateVirtualCardContractRequest();
2014
- message.provider_id = object.provider_id ?? "";
2015
- message.transaction_id = object.transaction_id ?? "";
2016
1996
  message.prod_id = object.prod_id ?? 0;
2017
1997
  message.id_type = object.id_type ?? 0;
2018
1998
  message.id = object.id ?? "";
@@ -2820,8 +2800,6 @@ exports.GetCustomerIdByContractIdResponse = {
2820
2800
  function createBaseUpdateContractRequest() {
2821
2801
  return {
2822
2802
  contract_id: "",
2823
- provider_id: "",
2824
- transaction_id: "",
2825
2803
  id_type: 0,
2826
2804
  id: "",
2827
2805
  id_type_2: 0,
@@ -2879,161 +2857,155 @@ exports.UpdateContractRequest = {
2879
2857
  if (message.contract_id !== "") {
2880
2858
  writer.uint32(10).string(message.contract_id);
2881
2859
  }
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
2860
  if (message.id_type !== 0) {
2889
- writer.uint32(32).int32(message.id_type);
2861
+ writer.uint32(16).int32(message.id_type);
2890
2862
  }
2891
2863
  if (message.id !== "") {
2892
- writer.uint32(42).string(message.id);
2864
+ writer.uint32(26).string(message.id);
2893
2865
  }
2894
2866
  if (message.id_type_2 !== 0) {
2895
- writer.uint32(48).int32(message.id_type_2);
2867
+ writer.uint32(32).int32(message.id_type_2);
2896
2868
  }
2897
2869
  if (message.id_2 !== "") {
2898
- writer.uint32(58).string(message.id_2);
2870
+ writer.uint32(42).string(message.id_2);
2899
2871
  }
2900
2872
  if (message.id_type_3 !== 0) {
2901
- writer.uint32(64).int32(message.id_type_3);
2873
+ writer.uint32(48).int32(message.id_type_3);
2902
2874
  }
2903
2875
  if (message.id_3 !== "") {
2904
- writer.uint32(74).string(message.id_3);
2876
+ writer.uint32(58).string(message.id_3);
2905
2877
  }
2906
2878
  if (message.location_type !== 0) {
2907
- writer.uint32(80).int32(message.location_type);
2879
+ writer.uint32(64).int32(message.location_type);
2908
2880
  }
2909
2881
  if (message.location !== "") {
2910
- writer.uint32(90).string(message.location);
2882
+ writer.uint32(74).string(message.location);
2911
2883
  }
2912
2884
  if (message.locale !== "") {
2913
- writer.uint32(98).string(message.locale);
2885
+ writer.uint32(82).string(message.locale);
2914
2886
  }
2915
2887
  if (message.external_account_id !== "") {
2916
- writer.uint32(106).string(message.external_account_id);
2888
+ writer.uint32(90).string(message.external_account_id);
2917
2889
  }
2918
2890
  if (message.first_name !== "") {
2919
- writer.uint32(114).string(message.first_name);
2891
+ writer.uint32(98).string(message.first_name);
2920
2892
  }
2921
2893
  if (message.middle_name !== "") {
2922
- writer.uint32(122).string(message.middle_name);
2894
+ writer.uint32(106).string(message.middle_name);
2923
2895
  }
2924
2896
  if (message.last_name !== "") {
2925
- writer.uint32(130).string(message.last_name);
2897
+ writer.uint32(114).string(message.last_name);
2926
2898
  }
2927
2899
  if (message.date_of_birth !== "") {
2928
- writer.uint32(138).string(message.date_of_birth);
2900
+ writer.uint32(122).string(message.date_of_birth);
2929
2901
  }
2930
2902
  if (message.address_1 !== "") {
2931
- writer.uint32(146).string(message.address_1);
2903
+ writer.uint32(130).string(message.address_1);
2932
2904
  }
2933
2905
  if (message.address_2 !== "") {
2934
- writer.uint32(154).string(message.address_2);
2906
+ writer.uint32(138).string(message.address_2);
2935
2907
  }
2936
2908
  if (message.address_3 !== "") {
2937
- writer.uint32(162).string(message.address_3);
2909
+ writer.uint32(146).string(message.address_3);
2938
2910
  }
2939
2911
  if (message.address_4 !== "") {
2940
- writer.uint32(170).string(message.address_4);
2912
+ writer.uint32(154).string(message.address_4);
2941
2913
  }
2942
2914
  if (message.address_5 !== "") {
2943
- writer.uint32(178).string(message.address_5);
2915
+ writer.uint32(162).string(message.address_5);
2944
2916
  }
2945
2917
  if (message.city !== "") {
2946
- writer.uint32(186).string(message.city);
2918
+ writer.uint32(170).string(message.city);
2947
2919
  }
2948
2920
  if (message.state !== "") {
2949
- writer.uint32(194).string(message.state);
2921
+ writer.uint32(178).string(message.state);
2950
2922
  }
2951
2923
  if (message.zip !== "") {
2952
- writer.uint32(202).string(message.zip);
2924
+ writer.uint32(186).string(message.zip);
2953
2925
  }
2954
2926
  if (message.country_code !== "") {
2955
- writer.uint32(210).string(message.country_code);
2927
+ writer.uint32(194).string(message.country_code);
2956
2928
  }
2957
2929
  if (message.primary_phone !== "") {
2958
- writer.uint32(218).string(message.primary_phone);
2930
+ writer.uint32(202).string(message.primary_phone);
2959
2931
  }
2960
2932
  if (message.other_phone !== "") {
2961
- writer.uint32(226).string(message.other_phone);
2933
+ writer.uint32(210).string(message.other_phone);
2962
2934
  }
2963
2935
  if (message.mobile_phone !== "") {
2964
- writer.uint32(234).string(message.mobile_phone);
2936
+ writer.uint32(218).string(message.mobile_phone);
2965
2937
  }
2966
2938
  if (message.mobile_carrier_id !== "") {
2967
- writer.uint32(242).string(message.mobile_carrier_id);
2939
+ writer.uint32(226).string(message.mobile_carrier_id);
2968
2940
  }
2969
2941
  if (message.email !== "") {
2970
- writer.uint32(250).string(message.email);
2942
+ writer.uint32(234).string(message.email);
2971
2943
  }
2972
2944
  if (message.secret_question !== "") {
2973
- writer.uint32(258).string(message.secret_question);
2945
+ writer.uint32(242).string(message.secret_question);
2974
2946
  }
2975
2947
  if (message.secret_answer !== "") {
2976
- writer.uint32(266).string(message.secret_answer);
2948
+ writer.uint32(250).string(message.secret_answer);
2977
2949
  }
2978
2950
  if (message.income_source !== "") {
2979
- writer.uint32(274).string(message.income_source);
2951
+ writer.uint32(258).string(message.income_source);
2980
2952
  }
2981
2953
  if (message.occupation !== "") {
2982
- writer.uint32(282).string(message.occupation);
2954
+ writer.uint32(266).string(message.occupation);
2983
2955
  }
2984
2956
  if (message.nationality !== "") {
2985
- writer.uint32(290).string(message.nationality);
2957
+ writer.uint32(274).string(message.nationality);
2986
2958
  }
2987
2959
  if (message.place_of_birth !== "") {
2988
- writer.uint32(298).string(message.place_of_birth);
2960
+ writer.uint32(282).string(message.place_of_birth);
2989
2961
  }
2990
2962
  if (message.curp !== "") {
2991
- writer.uint32(306).string(message.curp);
2963
+ writer.uint32(290).string(message.curp);
2992
2964
  }
2993
2965
  if (message.political_affiliation !== 0) {
2994
- writer.uint32(312).int32(message.political_affiliation);
2966
+ writer.uint32(296).int32(message.political_affiliation);
2995
2967
  }
2996
2968
  if (message.key_ref_number !== "") {
2997
- writer.uint32(322).string(message.key_ref_number);
2969
+ writer.uint32(306).string(message.key_ref_number);
2998
2970
  }
2999
2971
  if (message.monthly_income !== 0) {
3000
- writer.uint32(329).double(message.monthly_income);
2972
+ writer.uint32(313).double(message.monthly_income);
3001
2973
  }
3002
2974
  if (message.external_customer_id !== "") {
3003
- writer.uint32(338).string(message.external_customer_id);
2975
+ writer.uint32(322).string(message.external_customer_id);
3004
2976
  }
3005
2977
  if (message.mail_bounced !== "") {
3006
- writer.uint32(346).string(message.mail_bounced);
2978
+ writer.uint32(330).string(message.mail_bounced);
3007
2979
  }
3008
2980
  if (message.shipping_address_1 !== "") {
3009
- writer.uint32(354).string(message.shipping_address_1);
2981
+ writer.uint32(338).string(message.shipping_address_1);
3010
2982
  }
3011
2983
  if (message.shipping_address_2 !== "") {
3012
- writer.uint32(362).string(message.shipping_address_2);
2984
+ writer.uint32(346).string(message.shipping_address_2);
3013
2985
  }
3014
2986
  if (message.shipping_city !== "") {
3015
- writer.uint32(370).string(message.shipping_city);
2987
+ writer.uint32(354).string(message.shipping_city);
3016
2988
  }
3017
2989
  if (message.shipping_state !== "") {
3018
- writer.uint32(378).string(message.shipping_state);
2990
+ writer.uint32(362).string(message.shipping_state);
3019
2991
  }
3020
2992
  if (message.shipping_zip !== "") {
3021
- writer.uint32(386).string(message.shipping_zip);
2993
+ writer.uint32(370).string(message.shipping_zip);
3022
2994
  }
3023
2995
  if (message.shipping_country_code !== "") {
3024
- writer.uint32(394).string(message.shipping_country_code);
2996
+ writer.uint32(378).string(message.shipping_country_code);
3025
2997
  }
3026
2998
  if (message.shipping_address_permanent !== "") {
3027
- writer.uint32(402).string(message.shipping_address_permanent);
2999
+ writer.uint32(386).string(message.shipping_address_permanent);
3028
3000
  }
3029
3001
  if (message.emboss_line_2 !== "") {
3030
- writer.uint32(410).string(message.emboss_line_2);
3002
+ writer.uint32(394).string(message.emboss_line_2);
3031
3003
  }
3032
3004
  if (message.business_name !== "") {
3033
- writer.uint32(418).string(message.business_name);
3005
+ writer.uint32(402).string(message.business_name);
3034
3006
  }
3035
3007
  if (message.mobile_phone_country_code !== "") {
3036
- writer.uint32(426).string(message.mobile_phone_country_code);
3008
+ writer.uint32(410).string(message.mobile_phone_country_code);
3037
3009
  }
3038
3010
  return writer;
3039
3011
  },
@@ -3052,366 +3024,352 @@ exports.UpdateContractRequest = {
3052
3024
  continue;
3053
3025
  }
3054
3026
  case 2: {
3055
- if (tag !== 18) {
3027
+ if (tag !== 16) {
3056
3028
  break;
3057
3029
  }
3058
- message.provider_id = reader.string();
3030
+ message.id_type = reader.int32();
3059
3031
  continue;
3060
3032
  }
3061
3033
  case 3: {
3062
3034
  if (tag !== 26) {
3063
3035
  break;
3064
3036
  }
3065
- message.transaction_id = reader.string();
3037
+ message.id = reader.string();
3066
3038
  continue;
3067
3039
  }
3068
3040
  case 4: {
3069
3041
  if (tag !== 32) {
3070
3042
  break;
3071
3043
  }
3072
- message.id_type = reader.int32();
3044
+ message.id_type_2 = reader.int32();
3073
3045
  continue;
3074
3046
  }
3075
3047
  case 5: {
3076
3048
  if (tag !== 42) {
3077
3049
  break;
3078
3050
  }
3079
- message.id = reader.string();
3051
+ message.id_2 = reader.string();
3080
3052
  continue;
3081
3053
  }
3082
3054
  case 6: {
3083
3055
  if (tag !== 48) {
3084
3056
  break;
3085
3057
  }
3086
- message.id_type_2 = reader.int32();
3058
+ message.id_type_3 = reader.int32();
3087
3059
  continue;
3088
3060
  }
3089
3061
  case 7: {
3090
3062
  if (tag !== 58) {
3091
3063
  break;
3092
3064
  }
3093
- message.id_2 = reader.string();
3065
+ message.id_3 = reader.string();
3094
3066
  continue;
3095
3067
  }
3096
3068
  case 8: {
3097
3069
  if (tag !== 64) {
3098
3070
  break;
3099
3071
  }
3100
- message.id_type_3 = reader.int32();
3072
+ message.location_type = reader.int32();
3101
3073
  continue;
3102
3074
  }
3103
3075
  case 9: {
3104
3076
  if (tag !== 74) {
3105
3077
  break;
3106
3078
  }
3107
- message.id_3 = reader.string();
3079
+ message.location = reader.string();
3108
3080
  continue;
3109
3081
  }
3110
3082
  case 10: {
3111
- if (tag !== 80) {
3083
+ if (tag !== 82) {
3112
3084
  break;
3113
3085
  }
3114
- message.location_type = reader.int32();
3086
+ message.locale = reader.string();
3115
3087
  continue;
3116
3088
  }
3117
3089
  case 11: {
3118
3090
  if (tag !== 90) {
3119
3091
  break;
3120
3092
  }
3121
- message.location = reader.string();
3093
+ message.external_account_id = reader.string();
3122
3094
  continue;
3123
3095
  }
3124
3096
  case 12: {
3125
3097
  if (tag !== 98) {
3126
3098
  break;
3127
3099
  }
3128
- message.locale = reader.string();
3100
+ message.first_name = reader.string();
3129
3101
  continue;
3130
3102
  }
3131
3103
  case 13: {
3132
3104
  if (tag !== 106) {
3133
3105
  break;
3134
3106
  }
3135
- message.external_account_id = reader.string();
3107
+ message.middle_name = reader.string();
3136
3108
  continue;
3137
3109
  }
3138
3110
  case 14: {
3139
3111
  if (tag !== 114) {
3140
3112
  break;
3141
3113
  }
3142
- message.first_name = reader.string();
3114
+ message.last_name = reader.string();
3143
3115
  continue;
3144
3116
  }
3145
3117
  case 15: {
3146
3118
  if (tag !== 122) {
3147
3119
  break;
3148
3120
  }
3149
- message.middle_name = reader.string();
3121
+ message.date_of_birth = reader.string();
3150
3122
  continue;
3151
3123
  }
3152
3124
  case 16: {
3153
3125
  if (tag !== 130) {
3154
3126
  break;
3155
3127
  }
3156
- message.last_name = reader.string();
3128
+ message.address_1 = reader.string();
3157
3129
  continue;
3158
3130
  }
3159
3131
  case 17: {
3160
3132
  if (tag !== 138) {
3161
3133
  break;
3162
3134
  }
3163
- message.date_of_birth = reader.string();
3135
+ message.address_2 = reader.string();
3164
3136
  continue;
3165
3137
  }
3166
3138
  case 18: {
3167
3139
  if (tag !== 146) {
3168
3140
  break;
3169
3141
  }
3170
- message.address_1 = reader.string();
3142
+ message.address_3 = reader.string();
3171
3143
  continue;
3172
3144
  }
3173
3145
  case 19: {
3174
3146
  if (tag !== 154) {
3175
3147
  break;
3176
3148
  }
3177
- message.address_2 = reader.string();
3149
+ message.address_4 = reader.string();
3178
3150
  continue;
3179
3151
  }
3180
3152
  case 20: {
3181
3153
  if (tag !== 162) {
3182
3154
  break;
3183
3155
  }
3184
- message.address_3 = reader.string();
3156
+ message.address_5 = reader.string();
3185
3157
  continue;
3186
3158
  }
3187
3159
  case 21: {
3188
3160
  if (tag !== 170) {
3189
3161
  break;
3190
3162
  }
3191
- message.address_4 = reader.string();
3163
+ message.city = reader.string();
3192
3164
  continue;
3193
3165
  }
3194
3166
  case 22: {
3195
3167
  if (tag !== 178) {
3196
3168
  break;
3197
3169
  }
3198
- message.address_5 = reader.string();
3170
+ message.state = reader.string();
3199
3171
  continue;
3200
3172
  }
3201
3173
  case 23: {
3202
3174
  if (tag !== 186) {
3203
3175
  break;
3204
3176
  }
3205
- message.city = reader.string();
3177
+ message.zip = reader.string();
3206
3178
  continue;
3207
3179
  }
3208
3180
  case 24: {
3209
3181
  if (tag !== 194) {
3210
3182
  break;
3211
3183
  }
3212
- message.state = reader.string();
3184
+ message.country_code = reader.string();
3213
3185
  continue;
3214
3186
  }
3215
3187
  case 25: {
3216
3188
  if (tag !== 202) {
3217
3189
  break;
3218
3190
  }
3219
- message.zip = reader.string();
3191
+ message.primary_phone = reader.string();
3220
3192
  continue;
3221
3193
  }
3222
3194
  case 26: {
3223
3195
  if (tag !== 210) {
3224
3196
  break;
3225
3197
  }
3226
- message.country_code = reader.string();
3198
+ message.other_phone = reader.string();
3227
3199
  continue;
3228
3200
  }
3229
3201
  case 27: {
3230
3202
  if (tag !== 218) {
3231
3203
  break;
3232
3204
  }
3233
- message.primary_phone = reader.string();
3205
+ message.mobile_phone = reader.string();
3234
3206
  continue;
3235
3207
  }
3236
3208
  case 28: {
3237
3209
  if (tag !== 226) {
3238
3210
  break;
3239
3211
  }
3240
- message.other_phone = reader.string();
3212
+ message.mobile_carrier_id = reader.string();
3241
3213
  continue;
3242
3214
  }
3243
3215
  case 29: {
3244
3216
  if (tag !== 234) {
3245
3217
  break;
3246
3218
  }
3247
- message.mobile_phone = reader.string();
3219
+ message.email = reader.string();
3248
3220
  continue;
3249
3221
  }
3250
3222
  case 30: {
3251
3223
  if (tag !== 242) {
3252
3224
  break;
3253
3225
  }
3254
- message.mobile_carrier_id = reader.string();
3226
+ message.secret_question = reader.string();
3255
3227
  continue;
3256
3228
  }
3257
3229
  case 31: {
3258
3230
  if (tag !== 250) {
3259
3231
  break;
3260
3232
  }
3261
- message.email = reader.string();
3233
+ message.secret_answer = reader.string();
3262
3234
  continue;
3263
3235
  }
3264
3236
  case 32: {
3265
3237
  if (tag !== 258) {
3266
3238
  break;
3267
3239
  }
3268
- message.secret_question = reader.string();
3240
+ message.income_source = reader.string();
3269
3241
  continue;
3270
3242
  }
3271
3243
  case 33: {
3272
3244
  if (tag !== 266) {
3273
3245
  break;
3274
3246
  }
3275
- message.secret_answer = reader.string();
3247
+ message.occupation = reader.string();
3276
3248
  continue;
3277
3249
  }
3278
3250
  case 34: {
3279
3251
  if (tag !== 274) {
3280
3252
  break;
3281
3253
  }
3282
- message.income_source = reader.string();
3254
+ message.nationality = reader.string();
3283
3255
  continue;
3284
3256
  }
3285
3257
  case 35: {
3286
3258
  if (tag !== 282) {
3287
3259
  break;
3288
3260
  }
3289
- message.occupation = reader.string();
3261
+ message.place_of_birth = reader.string();
3290
3262
  continue;
3291
3263
  }
3292
3264
  case 36: {
3293
3265
  if (tag !== 290) {
3294
3266
  break;
3295
3267
  }
3296
- message.nationality = reader.string();
3268
+ message.curp = reader.string();
3297
3269
  continue;
3298
3270
  }
3299
3271
  case 37: {
3300
- if (tag !== 298) {
3272
+ if (tag !== 296) {
3301
3273
  break;
3302
3274
  }
3303
- message.place_of_birth = reader.string();
3275
+ message.political_affiliation = reader.int32();
3304
3276
  continue;
3305
3277
  }
3306
3278
  case 38: {
3307
3279
  if (tag !== 306) {
3308
3280
  break;
3309
3281
  }
3310
- message.curp = reader.string();
3282
+ message.key_ref_number = reader.string();
3311
3283
  continue;
3312
3284
  }
3313
3285
  case 39: {
3314
- if (tag !== 312) {
3286
+ if (tag !== 313) {
3315
3287
  break;
3316
3288
  }
3317
- message.political_affiliation = reader.int32();
3289
+ message.monthly_income = reader.double();
3318
3290
  continue;
3319
3291
  }
3320
3292
  case 40: {
3321
3293
  if (tag !== 322) {
3322
3294
  break;
3323
3295
  }
3324
- message.key_ref_number = reader.string();
3296
+ message.external_customer_id = reader.string();
3325
3297
  continue;
3326
3298
  }
3327
3299
  case 41: {
3328
- if (tag !== 329) {
3300
+ if (tag !== 330) {
3329
3301
  break;
3330
3302
  }
3331
- message.monthly_income = reader.double();
3303
+ message.mail_bounced = reader.string();
3332
3304
  continue;
3333
3305
  }
3334
3306
  case 42: {
3335
3307
  if (tag !== 338) {
3336
3308
  break;
3337
3309
  }
3338
- message.external_customer_id = reader.string();
3310
+ message.shipping_address_1 = reader.string();
3339
3311
  continue;
3340
3312
  }
3341
3313
  case 43: {
3342
3314
  if (tag !== 346) {
3343
3315
  break;
3344
3316
  }
3345
- message.mail_bounced = reader.string();
3317
+ message.shipping_address_2 = reader.string();
3346
3318
  continue;
3347
3319
  }
3348
3320
  case 44: {
3349
3321
  if (tag !== 354) {
3350
3322
  break;
3351
3323
  }
3352
- message.shipping_address_1 = reader.string();
3324
+ message.shipping_city = reader.string();
3353
3325
  continue;
3354
3326
  }
3355
3327
  case 45: {
3356
3328
  if (tag !== 362) {
3357
3329
  break;
3358
3330
  }
3359
- message.shipping_address_2 = reader.string();
3331
+ message.shipping_state = reader.string();
3360
3332
  continue;
3361
3333
  }
3362
3334
  case 46: {
3363
3335
  if (tag !== 370) {
3364
3336
  break;
3365
3337
  }
3366
- message.shipping_city = reader.string();
3338
+ message.shipping_zip = reader.string();
3367
3339
  continue;
3368
3340
  }
3369
3341
  case 47: {
3370
3342
  if (tag !== 378) {
3371
3343
  break;
3372
3344
  }
3373
- message.shipping_state = reader.string();
3345
+ message.shipping_country_code = reader.string();
3374
3346
  continue;
3375
3347
  }
3376
3348
  case 48: {
3377
3349
  if (tag !== 386) {
3378
3350
  break;
3379
3351
  }
3380
- message.shipping_zip = reader.string();
3352
+ message.shipping_address_permanent = reader.string();
3381
3353
  continue;
3382
3354
  }
3383
3355
  case 49: {
3384
3356
  if (tag !== 394) {
3385
3357
  break;
3386
3358
  }
3387
- message.shipping_country_code = reader.string();
3359
+ message.emboss_line_2 = reader.string();
3388
3360
  continue;
3389
3361
  }
3390
3362
  case 50: {
3391
3363
  if (tag !== 402) {
3392
3364
  break;
3393
3365
  }
3394
- message.shipping_address_permanent = reader.string();
3366
+ message.business_name = reader.string();
3395
3367
  continue;
3396
3368
  }
3397
3369
  case 51: {
3398
3370
  if (tag !== 410) {
3399
3371
  break;
3400
3372
  }
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
3373
  message.mobile_phone_country_code = reader.string();
3416
3374
  continue;
3417
3375
  }
@@ -3429,8 +3387,6 @@ exports.UpdateContractRequest = {
3429
3387
  fromPartial(object) {
3430
3388
  const message = createBaseUpdateContractRequest();
3431
3389
  message.contract_id = object.contract_id ?? "";
3432
- message.provider_id = object.provider_id ?? "";
3433
- message.transaction_id = object.transaction_id ?? "";
3434
3390
  message.id_type = object.id_type ?? 0;
3435
3391
  message.id = object.id ?? "";
3436
3392
  message.id_type_2 = object.id_type_2 ?? 0;
@@ -3647,24 +3603,18 @@ exports.GetExistsCustomerResponse = {
3647
3603
  },
3648
3604
  };
3649
3605
  function createBaseGetContractByIdRequest() {
3650
- return { customer_id: "", provider_id: "", transaction_id: "", id_type: 0, external_customer_id: "" };
3606
+ return { customer_id: "", id_type: 0, external_customer_id: "" };
3651
3607
  }
3652
3608
  exports.GetContractByIdRequest = {
3653
3609
  encode(message, writer = new wire_1.BinaryWriter()) {
3654
3610
  if (message.customer_id !== "") {
3655
3611
  writer.uint32(10).string(message.customer_id);
3656
3612
  }
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
3613
  if (message.id_type !== 0) {
3664
- writer.uint32(32).int32(message.id_type);
3614
+ writer.uint32(16).int32(message.id_type);
3665
3615
  }
3666
3616
  if (message.external_customer_id !== "") {
3667
- writer.uint32(42).string(message.external_customer_id);
3617
+ writer.uint32(26).string(message.external_customer_id);
3668
3618
  }
3669
3619
  return writer;
3670
3620
  },
@@ -3683,30 +3633,16 @@ exports.GetContractByIdRequest = {
3683
3633
  continue;
3684
3634
  }
3685
3635
  case 2: {
3686
- if (tag !== 18) {
3636
+ if (tag !== 16) {
3687
3637
  break;
3688
3638
  }
3689
- message.provider_id = reader.string();
3639
+ message.id_type = reader.int32();
3690
3640
  continue;
3691
3641
  }
3692
3642
  case 3: {
3693
3643
  if (tag !== 26) {
3694
3644
  break;
3695
3645
  }
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
3646
  message.external_customer_id = reader.string();
3711
3647
  continue;
3712
3648
  }
@@ -3724,8 +3660,6 @@ exports.GetContractByIdRequest = {
3724
3660
  fromPartial(object) {
3725
3661
  const message = createBaseGetContractByIdRequest();
3726
3662
  message.customer_id = object.customer_id ?? "";
3727
- message.provider_id = object.provider_id ?? "";
3728
- message.transaction_id = object.transaction_id ?? "";
3729
3663
  message.id_type = object.id_type ?? 0;
3730
3664
  message.external_customer_id = object.external_customer_id ?? "";
3731
3665
  return message;
@@ -3786,19 +3720,13 @@ exports.GetContractByIdResponse = {
3786
3720
  },
3787
3721
  };
3788
3722
  function createBaseGetRelatedContractsRequest() {
3789
- return { contract_id: "", provider_id: "", transaction_id: "" };
3723
+ return { contract_id: "" };
3790
3724
  }
3791
3725
  exports.GetRelatedContractsRequest = {
3792
3726
  encode(message, writer = new wire_1.BinaryWriter()) {
3793
3727
  if (message.contract_id !== "") {
3794
3728
  writer.uint32(10).string(message.contract_id);
3795
3729
  }
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
3730
  return writer;
3803
3731
  },
3804
3732
  decode(input, length) {
@@ -3815,20 +3743,6 @@ exports.GetRelatedContractsRequest = {
3815
3743
  message.contract_id = reader.string();
3816
3744
  continue;
3817
3745
  }
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
3746
  }
3833
3747
  if ((tag & 7) === 4 || tag === 0) {
3834
3748
  break;
@@ -3843,8 +3757,6 @@ exports.GetRelatedContractsRequest = {
3843
3757
  fromPartial(object) {
3844
3758
  const message = createBaseGetRelatedContractsRequest();
3845
3759
  message.contract_id = object.contract_id ?? "";
3846
- message.provider_id = object.provider_id ?? "";
3847
- message.transaction_id = object.transaction_id ?? "";
3848
3760
  return message;
3849
3761
  },
3850
3762
  };
@@ -3936,24 +3848,18 @@ exports.GetRelatedContractsResponse = {
3936
3848
  },
3937
3849
  };
3938
3850
  function createBaseVerifyContractRequest() {
3939
- return { contract_id: "", provider_id: "", transaction_id: "", load_type: "", included_related: 0 };
3851
+ return { contract_id: "", load_type: "", included_related: 0 };
3940
3852
  }
3941
3853
  exports.VerifyContractRequest = {
3942
3854
  encode(message, writer = new wire_1.BinaryWriter()) {
3943
3855
  if (message.contract_id !== "") {
3944
3856
  writer.uint32(10).string(message.contract_id);
3945
3857
  }
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
3858
  if (message.load_type !== "") {
3953
- writer.uint32(34).string(message.load_type);
3859
+ writer.uint32(18).string(message.load_type);
3954
3860
  }
3955
3861
  if (message.included_related !== 0) {
3956
- writer.uint32(40).int32(message.included_related);
3862
+ writer.uint32(24).int32(message.included_related);
3957
3863
  }
3958
3864
  return writer;
3959
3865
  },
@@ -3975,25 +3881,11 @@ exports.VerifyContractRequest = {
3975
3881
  if (tag !== 18) {
3976
3882
  break;
3977
3883
  }
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
3884
  message.load_type = reader.string();
3993
3885
  continue;
3994
3886
  }
3995
- case 5: {
3996
- if (tag !== 40) {
3887
+ case 3: {
3888
+ if (tag !== 24) {
3997
3889
  break;
3998
3890
  }
3999
3891
  message.included_related = reader.int32();
@@ -4013,8 +3905,6 @@ exports.VerifyContractRequest = {
4013
3905
  fromPartial(object) {
4014
3906
  const message = createBaseVerifyContractRequest();
4015
3907
  message.contract_id = object.contract_id ?? "";
4016
- message.provider_id = object.provider_id ?? "";
4017
- message.transaction_id = object.transaction_id ?? "";
4018
3908
  message.load_type = object.load_type ?? "";
4019
3909
  message.included_related = object.included_related ?? 0;
4020
3910
  return message;
@@ -4077,42 +3967,27 @@ exports.VerifyContractResponse = {
4077
3967
  },
4078
3968
  };
4079
3969
  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
- };
3970
+ return { contract_id: "", prod_id: 0, location: "", location_type: 0, shared_balance: 0, funding_account_number: "" };
4090
3971
  }
4091
3972
  exports.AddContractRequest = {
4092
3973
  encode(message, writer = new wire_1.BinaryWriter()) {
4093
3974
  if (message.contract_id !== "") {
4094
3975
  writer.uint32(10).string(message.contract_id);
4095
3976
  }
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
3977
  if (message.prod_id !== 0) {
4103
- writer.uint32(32).int32(message.prod_id);
3978
+ writer.uint32(16).int32(message.prod_id);
4104
3979
  }
4105
3980
  if (message.location !== "") {
4106
- writer.uint32(42).string(message.location);
3981
+ writer.uint32(26).string(message.location);
4107
3982
  }
4108
3983
  if (message.location_type !== 0) {
4109
- writer.uint32(48).int32(message.location_type);
3984
+ writer.uint32(32).int32(message.location_type);
4110
3985
  }
4111
3986
  if (message.shared_balance !== 0) {
4112
- writer.uint32(56).int32(message.shared_balance);
3987
+ writer.uint32(40).int32(message.shared_balance);
4113
3988
  }
4114
3989
  if (message.funding_account_number !== "") {
4115
- writer.uint32(66).string(message.funding_account_number);
3990
+ writer.uint32(50).string(message.funding_account_number);
4116
3991
  }
4117
3992
  return writer;
4118
3993
  },
@@ -4131,49 +4006,35 @@ exports.AddContractRequest = {
4131
4006
  continue;
4132
4007
  }
4133
4008
  case 2: {
4134
- if (tag !== 18) {
4009
+ if (tag !== 16) {
4135
4010
  break;
4136
4011
  }
4137
- message.provider_id = reader.string();
4012
+ message.prod_id = reader.int32();
4138
4013
  continue;
4139
4014
  }
4140
4015
  case 3: {
4141
4016
  if (tag !== 26) {
4142
4017
  break;
4143
4018
  }
4144
- message.transaction_id = reader.string();
4019
+ message.location = reader.string();
4145
4020
  continue;
4146
4021
  }
4147
4022
  case 4: {
4148
4023
  if (tag !== 32) {
4149
4024
  break;
4150
4025
  }
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
4026
  message.location_type = reader.int32();
4166
4027
  continue;
4167
4028
  }
4168
- case 7: {
4169
- if (tag !== 56) {
4029
+ case 5: {
4030
+ if (tag !== 40) {
4170
4031
  break;
4171
4032
  }
4172
4033
  message.shared_balance = reader.int32();
4173
4034
  continue;
4174
4035
  }
4175
- case 8: {
4176
- if (tag !== 66) {
4036
+ case 6: {
4037
+ if (tag !== 50) {
4177
4038
  break;
4178
4039
  }
4179
4040
  message.funding_account_number = reader.string();
@@ -4193,8 +4054,6 @@ exports.AddContractRequest = {
4193
4054
  fromPartial(object) {
4194
4055
  const message = createBaseAddContractRequest();
4195
4056
  message.contract_id = object.contract_id ?? "";
4196
- message.provider_id = object.provider_id ?? "";
4197
- message.transaction_id = object.transaction_id ?? "";
4198
4057
  message.prod_id = object.prod_id ?? 0;
4199
4058
  message.location = object.location ?? "";
4200
4059
  message.location_type = object.location_type ?? 0;
@@ -4358,8 +4217,6 @@ exports.AddContractResponse = {
4358
4217
  };
4359
4218
  function createBaseSearchContractsRequest() {
4360
4219
  return {
4361
- provider_id: "",
4362
- transaction_id: "",
4363
4220
  account_number: undefined,
4364
4221
  first_name: undefined,
4365
4222
  middle_name: undefined,
@@ -4379,56 +4236,50 @@ function createBaseSearchContractsRequest() {
4379
4236
  }
4380
4237
  exports.SearchContractsRequest = {
4381
4238
  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
4239
  if (message.account_number !== undefined) {
4389
- writer.uint32(26).string(message.account_number);
4240
+ writer.uint32(10).string(message.account_number);
4390
4241
  }
4391
4242
  if (message.first_name !== undefined) {
4392
- writer.uint32(34).string(message.first_name);
4243
+ writer.uint32(18).string(message.first_name);
4393
4244
  }
4394
4245
  if (message.middle_name !== undefined) {
4395
- writer.uint32(42).string(message.middle_name);
4246
+ writer.uint32(26).string(message.middle_name);
4396
4247
  }
4397
4248
  if (message.last_name !== undefined) {
4398
- writer.uint32(50).string(message.last_name);
4249
+ writer.uint32(34).string(message.last_name);
4399
4250
  }
4400
4251
  if (message.date_of_birth !== undefined) {
4401
- writer.uint32(58).string(message.date_of_birth);
4252
+ writer.uint32(42).string(message.date_of_birth);
4402
4253
  }
4403
4254
  if (message.zip !== undefined) {
4404
- writer.uint32(66).string(message.zip);
4255
+ writer.uint32(50).string(message.zip);
4405
4256
  }
4406
4257
  if (message.primary_phone !== undefined) {
4407
- writer.uint32(74).string(message.primary_phone);
4258
+ writer.uint32(58).string(message.primary_phone);
4408
4259
  }
4409
4260
  if (message.other_phone !== undefined) {
4410
- writer.uint32(82).string(message.other_phone);
4261
+ writer.uint32(66).string(message.other_phone);
4411
4262
  }
4412
4263
  if (message.mobile_phone !== undefined) {
4413
- writer.uint32(90).string(message.mobile_phone);
4264
+ writer.uint32(74).string(message.mobile_phone);
4414
4265
  }
4415
4266
  if (message.email !== undefined) {
4416
- writer.uint32(98).string(message.email);
4267
+ writer.uint32(82).string(message.email);
4417
4268
  }
4418
4269
  if (message.user_data !== undefined) {
4419
- writer.uint32(106).string(message.user_data);
4270
+ writer.uint32(90).string(message.user_data);
4420
4271
  }
4421
4272
  if (message.eext_id !== undefined) {
4422
- writer.uint32(114).string(message.eext_id);
4273
+ writer.uint32(98).string(message.eext_id);
4423
4274
  }
4424
4275
  if (message.record_cnt !== undefined) {
4425
- writer.uint32(120).int32(message.record_cnt);
4276
+ writer.uint32(104).int32(message.record_cnt);
4426
4277
  }
4427
4278
  if (message.page !== undefined) {
4428
- writer.uint32(128).int32(message.page);
4279
+ writer.uint32(112).int32(message.page);
4429
4280
  }
4430
4281
  if (message.mobile_phone_country_code !== undefined) {
4431
- writer.uint32(138).string(message.mobile_phone_country_code);
4282
+ writer.uint32(122).string(message.mobile_phone_country_code);
4432
4283
  }
4433
4284
  return writer;
4434
4285
  },
@@ -4443,116 +4294,102 @@ exports.SearchContractsRequest = {
4443
4294
  if (tag !== 10) {
4444
4295
  break;
4445
4296
  }
4446
- message.provider_id = reader.string();
4297
+ message.account_number = reader.string();
4447
4298
  continue;
4448
4299
  }
4449
4300
  case 2: {
4450
4301
  if (tag !== 18) {
4451
4302
  break;
4452
4303
  }
4453
- message.transaction_id = reader.string();
4304
+ message.first_name = reader.string();
4454
4305
  continue;
4455
4306
  }
4456
4307
  case 3: {
4457
4308
  if (tag !== 26) {
4458
4309
  break;
4459
4310
  }
4460
- message.account_number = reader.string();
4311
+ message.middle_name = reader.string();
4461
4312
  continue;
4462
4313
  }
4463
4314
  case 4: {
4464
4315
  if (tag !== 34) {
4465
4316
  break;
4466
4317
  }
4467
- message.first_name = reader.string();
4318
+ message.last_name = reader.string();
4468
4319
  continue;
4469
4320
  }
4470
4321
  case 5: {
4471
4322
  if (tag !== 42) {
4472
4323
  break;
4473
4324
  }
4474
- message.middle_name = reader.string();
4325
+ message.date_of_birth = reader.string();
4475
4326
  continue;
4476
4327
  }
4477
4328
  case 6: {
4478
4329
  if (tag !== 50) {
4479
4330
  break;
4480
4331
  }
4481
- message.last_name = reader.string();
4332
+ message.zip = reader.string();
4482
4333
  continue;
4483
4334
  }
4484
4335
  case 7: {
4485
4336
  if (tag !== 58) {
4486
4337
  break;
4487
4338
  }
4488
- message.date_of_birth = reader.string();
4339
+ message.primary_phone = reader.string();
4489
4340
  continue;
4490
4341
  }
4491
4342
  case 8: {
4492
4343
  if (tag !== 66) {
4493
4344
  break;
4494
4345
  }
4495
- message.zip = reader.string();
4346
+ message.other_phone = reader.string();
4496
4347
  continue;
4497
4348
  }
4498
4349
  case 9: {
4499
4350
  if (tag !== 74) {
4500
4351
  break;
4501
4352
  }
4502
- message.primary_phone = reader.string();
4353
+ message.mobile_phone = reader.string();
4503
4354
  continue;
4504
4355
  }
4505
4356
  case 10: {
4506
4357
  if (tag !== 82) {
4507
4358
  break;
4508
4359
  }
4509
- message.other_phone = reader.string();
4360
+ message.email = reader.string();
4510
4361
  continue;
4511
4362
  }
4512
4363
  case 11: {
4513
4364
  if (tag !== 90) {
4514
4365
  break;
4515
4366
  }
4516
- message.mobile_phone = reader.string();
4367
+ message.user_data = reader.string();
4517
4368
  continue;
4518
4369
  }
4519
4370
  case 12: {
4520
4371
  if (tag !== 98) {
4521
4372
  break;
4522
4373
  }
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
4374
  message.eext_id = reader.string();
4538
4375
  continue;
4539
4376
  }
4540
- case 15: {
4541
- if (tag !== 120) {
4377
+ case 13: {
4378
+ if (tag !== 104) {
4542
4379
  break;
4543
4380
  }
4544
4381
  message.record_cnt = reader.int32();
4545
4382
  continue;
4546
4383
  }
4547
- case 16: {
4548
- if (tag !== 128) {
4384
+ case 14: {
4385
+ if (tag !== 112) {
4549
4386
  break;
4550
4387
  }
4551
4388
  message.page = reader.int32();
4552
4389
  continue;
4553
4390
  }
4554
- case 17: {
4555
- if (tag !== 138) {
4391
+ case 15: {
4392
+ if (tag !== 122) {
4556
4393
  break;
4557
4394
  }
4558
4395
  message.mobile_phone_country_code = reader.string();
@@ -4571,8 +4408,6 @@ exports.SearchContractsRequest = {
4571
4408
  },
4572
4409
  fromPartial(object) {
4573
4410
  const message = createBaseSearchContractsRequest();
4574
- message.provider_id = object.provider_id ?? "";
4575
- message.transaction_id = object.transaction_id ?? "";
4576
4411
  message.account_number = object.account_number ?? undefined;
4577
4412
  message.first_name = object.first_name ?? undefined;
4578
4413
  message.middle_name = object.middle_name ?? undefined;
@@ -4679,30 +4514,18 @@ exports.SearchContractsResponse = {
4679
4514
  },
4680
4515
  };
4681
4516
  function createBaseChargeOffContractRequest() {
4682
- return {
4683
- contract_id: "",
4684
- provider_id: "",
4685
- transaction_id: "",
4686
- charge_off_details: "",
4687
- close_associated_accounts: undefined,
4688
- };
4517
+ return { contract_id: "", charge_off_details: "", close_associated_accounts: undefined };
4689
4518
  }
4690
4519
  exports.ChargeOffContractRequest = {
4691
4520
  encode(message, writer = new wire_1.BinaryWriter()) {
4692
4521
  if (message.contract_id !== "") {
4693
4522
  writer.uint32(10).string(message.contract_id);
4694
4523
  }
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
4524
  if (message.charge_off_details !== "") {
4702
- writer.uint32(34).string(message.charge_off_details);
4525
+ writer.uint32(18).string(message.charge_off_details);
4703
4526
  }
4704
4527
  if (message.close_associated_accounts !== undefined) {
4705
- writer.uint32(40).int32(message.close_associated_accounts);
4528
+ writer.uint32(24).int32(message.close_associated_accounts);
4706
4529
  }
4707
4530
  return writer;
4708
4531
  },
@@ -4724,25 +4547,11 @@ exports.ChargeOffContractRequest = {
4724
4547
  if (tag !== 18) {
4725
4548
  break;
4726
4549
  }
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
4550
  message.charge_off_details = reader.string();
4742
4551
  continue;
4743
4552
  }
4744
- case 5: {
4745
- if (tag !== 40) {
4553
+ case 3: {
4554
+ if (tag !== 24) {
4746
4555
  break;
4747
4556
  }
4748
4557
  message.close_associated_accounts = reader.int32();
@@ -4762,8 +4571,6 @@ exports.ChargeOffContractRequest = {
4762
4571
  fromPartial(object) {
4763
4572
  const message = createBaseChargeOffContractRequest();
4764
4573
  message.contract_id = object.contract_id ?? "";
4765
- message.provider_id = object.provider_id ?? "";
4766
- message.transaction_id = object.transaction_id ?? "";
4767
4574
  message.charge_off_details = object.charge_off_details ?? "";
4768
4575
  message.close_associated_accounts = object.close_associated_accounts ?? undefined;
4769
4576
  return message;
@@ -4824,24 +4631,18 @@ exports.ChargeOffContractResponse = {
4824
4631
  },
4825
4632
  };
4826
4633
  function createBaseGetContractDataRequest() {
4827
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4634
+ return { contract_id: "", start_date: undefined, end_date: undefined };
4828
4635
  }
4829
4636
  exports.GetContractDataRequest = {
4830
4637
  encode(message, writer = new wire_1.BinaryWriter()) {
4831
4638
  if (message.contract_id !== "") {
4832
4639
  writer.uint32(10).string(message.contract_id);
4833
4640
  }
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
4641
  if (message.start_date !== undefined) {
4841
- writer.uint32(34).string(message.start_date);
4642
+ writer.uint32(18).string(message.start_date);
4842
4643
  }
4843
4644
  if (message.end_date !== undefined) {
4844
- writer.uint32(42).string(message.end_date);
4645
+ writer.uint32(26).string(message.end_date);
4845
4646
  }
4846
4647
  return writer;
4847
4648
  },
@@ -4863,27 +4664,13 @@ exports.GetContractDataRequest = {
4863
4664
  if (tag !== 18) {
4864
4665
  break;
4865
4666
  }
4866
- message.provider_id = reader.string();
4667
+ message.start_date = reader.string();
4867
4668
  continue;
4868
4669
  }
4869
4670
  case 3: {
4870
4671
  if (tag !== 26) {
4871
4672
  break;
4872
4673
  }
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
4674
  message.end_date = reader.string();
4888
4675
  continue;
4889
4676
  }
@@ -4901,8 +4688,6 @@ exports.GetContractDataRequest = {
4901
4688
  fromPartial(object) {
4902
4689
  const message = createBaseGetContractDataRequest();
4903
4690
  message.contract_id = object.contract_id ?? "";
4904
- message.provider_id = object.provider_id ?? "";
4905
- message.transaction_id = object.transaction_id ?? "";
4906
4691
  message.start_date = object.start_date ?? undefined;
4907
4692
  message.end_date = object.end_date ?? undefined;
4908
4693
  return message;
@@ -5062,24 +4847,18 @@ exports.GetCustomerProfileResponse = {
5062
4847
  },
5063
4848
  };
5064
4849
  function createBaseGetTransactionsRequest() {
5065
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4850
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5066
4851
  }
5067
4852
  exports.GetTransactionsRequest = {
5068
4853
  encode(message, writer = new wire_1.BinaryWriter()) {
5069
4854
  if (message.contract_id !== "") {
5070
4855
  writer.uint32(10).string(message.contract_id);
5071
4856
  }
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
4857
  if (message.start_date !== undefined) {
5079
- writer.uint32(34).string(message.start_date);
4858
+ writer.uint32(18).string(message.start_date);
5080
4859
  }
5081
4860
  if (message.end_date !== undefined) {
5082
- writer.uint32(42).string(message.end_date);
4861
+ writer.uint32(26).string(message.end_date);
5083
4862
  }
5084
4863
  return writer;
5085
4864
  },
@@ -5101,27 +4880,13 @@ exports.GetTransactionsRequest = {
5101
4880
  if (tag !== 18) {
5102
4881
  break;
5103
4882
  }
5104
- message.provider_id = reader.string();
4883
+ message.start_date = reader.string();
5105
4884
  continue;
5106
4885
  }
5107
4886
  case 3: {
5108
4887
  if (tag !== 26) {
5109
4888
  break;
5110
4889
  }
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
4890
  message.end_date = reader.string();
5126
4891
  continue;
5127
4892
  }
@@ -5139,8 +4904,6 @@ exports.GetTransactionsRequest = {
5139
4904
  fromPartial(object) {
5140
4905
  const message = createBaseGetTransactionsRequest();
5141
4906
  message.contract_id = object.contract_id ?? "";
5142
- message.provider_id = object.provider_id ?? "";
5143
- message.transaction_id = object.transaction_id ?? "";
5144
4907
  message.start_date = object.start_date ?? undefined;
5145
4908
  message.end_date = object.end_date ?? undefined;
5146
4909
  return message;
@@ -5201,24 +4964,18 @@ exports.GetTransactionsResponse = {
5201
4964
  },
5202
4965
  };
5203
4966
  function createBaseGetAuthorizationsRequest() {
5204
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4967
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5205
4968
  }
5206
4969
  exports.GetAuthorizationsRequest = {
5207
4970
  encode(message, writer = new wire_1.BinaryWriter()) {
5208
4971
  if (message.contract_id !== "") {
5209
4972
  writer.uint32(10).string(message.contract_id);
5210
4973
  }
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
4974
  if (message.start_date !== undefined) {
5218
- writer.uint32(34).string(message.start_date);
4975
+ writer.uint32(18).string(message.start_date);
5219
4976
  }
5220
4977
  if (message.end_date !== undefined) {
5221
- writer.uint32(42).string(message.end_date);
4978
+ writer.uint32(26).string(message.end_date);
5222
4979
  }
5223
4980
  return writer;
5224
4981
  },
@@ -5240,27 +4997,13 @@ exports.GetAuthorizationsRequest = {
5240
4997
  if (tag !== 18) {
5241
4998
  break;
5242
4999
  }
5243
- message.provider_id = reader.string();
5000
+ message.start_date = reader.string();
5244
5001
  continue;
5245
5002
  }
5246
5003
  case 3: {
5247
5004
  if (tag !== 26) {
5248
5005
  break;
5249
5006
  }
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
5007
  message.end_date = reader.string();
5265
5008
  continue;
5266
5009
  }
@@ -5278,8 +5021,6 @@ exports.GetAuthorizationsRequest = {
5278
5021
  fromPartial(object) {
5279
5022
  const message = createBaseGetAuthorizationsRequest();
5280
5023
  message.contract_id = object.contract_id ?? "";
5281
- message.provider_id = object.provider_id ?? "";
5282
- message.transaction_id = object.transaction_id ?? "";
5283
5024
  message.start_date = object.start_date ?? undefined;
5284
5025
  message.end_date = object.end_date ?? undefined;
5285
5026
  return message;
@@ -5340,24 +5081,18 @@ exports.GetAuthorizationsResponse = {
5340
5081
  },
5341
5082
  };
5342
5083
  function createBaseGetPendingFeesRequest() {
5343
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5084
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5344
5085
  }
5345
5086
  exports.GetPendingFeesRequest = {
5346
5087
  encode(message, writer = new wire_1.BinaryWriter()) {
5347
5088
  if (message.contract_id !== "") {
5348
5089
  writer.uint32(10).string(message.contract_id);
5349
5090
  }
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
5091
  if (message.start_date !== undefined) {
5357
- writer.uint32(34).string(message.start_date);
5092
+ writer.uint32(18).string(message.start_date);
5358
5093
  }
5359
5094
  if (message.end_date !== undefined) {
5360
- writer.uint32(42).string(message.end_date);
5095
+ writer.uint32(26).string(message.end_date);
5361
5096
  }
5362
5097
  return writer;
5363
5098
  },
@@ -5379,27 +5114,13 @@ exports.GetPendingFeesRequest = {
5379
5114
  if (tag !== 18) {
5380
5115
  break;
5381
5116
  }
5382
- message.provider_id = reader.string();
5117
+ message.start_date = reader.string();
5383
5118
  continue;
5384
5119
  }
5385
5120
  case 3: {
5386
5121
  if (tag !== 26) {
5387
5122
  break;
5388
5123
  }
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
5124
  message.end_date = reader.string();
5404
5125
  continue;
5405
5126
  }
@@ -5417,8 +5138,6 @@ exports.GetPendingFeesRequest = {
5417
5138
  fromPartial(object) {
5418
5139
  const message = createBaseGetPendingFeesRequest();
5419
5140
  message.contract_id = object.contract_id ?? "";
5420
- message.provider_id = object.provider_id ?? "";
5421
- message.transaction_id = object.transaction_id ?? "";
5422
5141
  message.start_date = object.start_date ?? undefined;
5423
5142
  message.end_date = object.end_date ?? undefined;
5424
5143
  return message;
@@ -5479,24 +5198,18 @@ exports.GetPendingFeesResponse = {
5479
5198
  },
5480
5199
  };
5481
5200
  function createBaseGetSavingsInterestRequest() {
5482
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5201
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5483
5202
  }
5484
5203
  exports.GetSavingsInterestRequest = {
5485
5204
  encode(message, writer = new wire_1.BinaryWriter()) {
5486
5205
  if (message.contract_id !== "") {
5487
5206
  writer.uint32(10).string(message.contract_id);
5488
5207
  }
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
5208
  if (message.start_date !== undefined) {
5496
- writer.uint32(34).string(message.start_date);
5209
+ writer.uint32(18).string(message.start_date);
5497
5210
  }
5498
5211
  if (message.end_date !== undefined) {
5499
- writer.uint32(42).string(message.end_date);
5212
+ writer.uint32(26).string(message.end_date);
5500
5213
  }
5501
5214
  return writer;
5502
5215
  },
@@ -5518,27 +5231,13 @@ exports.GetSavingsInterestRequest = {
5518
5231
  if (tag !== 18) {
5519
5232
  break;
5520
5233
  }
5521
- message.provider_id = reader.string();
5234
+ message.start_date = reader.string();
5522
5235
  continue;
5523
5236
  }
5524
5237
  case 3: {
5525
5238
  if (tag !== 26) {
5526
5239
  break;
5527
5240
  }
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
5241
  message.end_date = reader.string();
5543
5242
  continue;
5544
5243
  }
@@ -5556,8 +5255,6 @@ exports.GetSavingsInterestRequest = {
5556
5255
  fromPartial(object) {
5557
5256
  const message = createBaseGetSavingsInterestRequest();
5558
5257
  message.contract_id = object.contract_id ?? "";
5559
- message.provider_id = object.provider_id ?? "";
5560
- message.transaction_id = object.transaction_id ?? "";
5561
5258
  message.start_date = object.start_date ?? undefined;
5562
5259
  message.end_date = object.end_date ?? undefined;
5563
5260
  return message;
@@ -5620,24 +5317,18 @@ exports.GetSavingsInterestResponse = {
5620
5317
  },
5621
5318
  };
5622
5319
  function createBaseGetHoldsRequest() {
5623
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5320
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5624
5321
  }
5625
5322
  exports.GetHoldsRequest = {
5626
5323
  encode(message, writer = new wire_1.BinaryWriter()) {
5627
5324
  if (message.contract_id !== "") {
5628
5325
  writer.uint32(10).string(message.contract_id);
5629
5326
  }
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
5327
  if (message.start_date !== undefined) {
5637
- writer.uint32(34).string(message.start_date);
5328
+ writer.uint32(18).string(message.start_date);
5638
5329
  }
5639
5330
  if (message.end_date !== undefined) {
5640
- writer.uint32(42).string(message.end_date);
5331
+ writer.uint32(26).string(message.end_date);
5641
5332
  }
5642
5333
  return writer;
5643
5334
  },
@@ -5659,27 +5350,13 @@ exports.GetHoldsRequest = {
5659
5350
  if (tag !== 18) {
5660
5351
  break;
5661
5352
  }
5662
- message.provider_id = reader.string();
5353
+ message.start_date = reader.string();
5663
5354
  continue;
5664
5355
  }
5665
5356
  case 3: {
5666
5357
  if (tag !== 26) {
5667
5358
  break;
5668
5359
  }
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
5360
  message.end_date = reader.string();
5684
5361
  continue;
5685
5362
  }
@@ -5697,8 +5374,6 @@ exports.GetHoldsRequest = {
5697
5374
  fromPartial(object) {
5698
5375
  const message = createBaseGetHoldsRequest();
5699
5376
  message.contract_id = object.contract_id ?? "";
5700
- message.provider_id = object.provider_id ?? "";
5701
- message.transaction_id = object.transaction_id ?? "";
5702
5377
  message.start_date = object.start_date ?? undefined;
5703
5378
  message.end_date = object.end_date ?? undefined;
5704
5379
  return message;