@getlatedev/node 0.2.310 → 0.2.312
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -0
- package/dist/index.d.mts +2498 -463
- package/dist/index.d.ts +2498 -463
- package/dist/index.js +412 -9
- package/dist/index.mjs +412 -9
- package/package.json +1 -1
- package/src/client.ts +135 -3
- package/src/generated/sdk.gen.ts +1057 -29
- package/src/generated/types.gen.ts +2612 -488
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.312",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -582,12 +582,30 @@ var getXApiPricing = (options) => {
|
|
|
582
582
|
url: "/v1/billing/x-pricing"
|
|
583
583
|
});
|
|
584
584
|
};
|
|
585
|
+
var getUsage = (options) => {
|
|
586
|
+
return (options?.client ?? client).get({
|
|
587
|
+
...options,
|
|
588
|
+
url: "/v1/usage"
|
|
589
|
+
});
|
|
590
|
+
};
|
|
585
591
|
var getUsageStats = (options) => {
|
|
586
592
|
return (options?.client ?? client).get({
|
|
587
593
|
...options,
|
|
588
594
|
url: "/v1/usage-stats"
|
|
589
595
|
});
|
|
590
596
|
};
|
|
597
|
+
var getCallsUsage = (options) => {
|
|
598
|
+
return (options?.client ?? client).get({
|
|
599
|
+
...options,
|
|
600
|
+
url: "/v1/usage/calls"
|
|
601
|
+
});
|
|
602
|
+
};
|
|
603
|
+
var getSmsUsage = (options) => {
|
|
604
|
+
return (options?.client ?? client).get({
|
|
605
|
+
...options,
|
|
606
|
+
url: "/v1/usage/sms"
|
|
607
|
+
});
|
|
608
|
+
};
|
|
591
609
|
var listPosts = (options) => {
|
|
592
610
|
return (options?.client ?? client).get({
|
|
593
611
|
...options,
|
|
@@ -1624,19 +1642,19 @@ var getWhatsAppCallingConfig = (options) => {
|
|
|
1624
1642
|
url: "/v1/whatsapp/calling"
|
|
1625
1643
|
});
|
|
1626
1644
|
};
|
|
1627
|
-
var
|
|
1645
|
+
var enableWhatsAppCallingLegacy = (options) => {
|
|
1628
1646
|
return (options?.client ?? client).post({
|
|
1629
1647
|
...options,
|
|
1630
1648
|
url: "/v1/whatsapp/phone-numbers/{id}/calling"
|
|
1631
1649
|
});
|
|
1632
1650
|
};
|
|
1633
|
-
var
|
|
1651
|
+
var updateWhatsAppCallingLegacy = (options) => {
|
|
1634
1652
|
return (options?.client ?? client).patch({
|
|
1635
1653
|
...options,
|
|
1636
1654
|
url: "/v1/whatsapp/phone-numbers/{id}/calling"
|
|
1637
1655
|
});
|
|
1638
1656
|
};
|
|
1639
|
-
var
|
|
1657
|
+
var disableWhatsAppCallingLegacy = (options) => {
|
|
1640
1658
|
return (options?.client ?? client).delete({
|
|
1641
1659
|
...options,
|
|
1642
1660
|
url: "/v1/whatsapp/phone-numbers/{id}/calling"
|
|
@@ -1666,12 +1684,144 @@ var getWhatsAppCall = (options) => {
|
|
|
1666
1684
|
url: "/v1/whatsapp/calls/{callId}"
|
|
1667
1685
|
});
|
|
1668
1686
|
};
|
|
1687
|
+
var getWhatsAppCallRecording = (options) => {
|
|
1688
|
+
return (options?.client ?? client).get({
|
|
1689
|
+
...options,
|
|
1690
|
+
url: "/v1/whatsapp/calls/{callId}/recording"
|
|
1691
|
+
});
|
|
1692
|
+
};
|
|
1669
1693
|
var getWhatsAppCallEstimate = (options) => {
|
|
1670
1694
|
return (options?.client ?? client).get({
|
|
1671
1695
|
...options,
|
|
1672
1696
|
url: "/v1/whatsapp/calls/estimate"
|
|
1673
1697
|
});
|
|
1674
1698
|
};
|
|
1699
|
+
var listCalls = (options) => {
|
|
1700
|
+
return (options?.client ?? client).get({
|
|
1701
|
+
...options,
|
|
1702
|
+
url: "/v1/calls"
|
|
1703
|
+
});
|
|
1704
|
+
};
|
|
1705
|
+
var getCall = (options) => {
|
|
1706
|
+
return (options?.client ?? client).get({
|
|
1707
|
+
...options,
|
|
1708
|
+
url: "/v1/calls/{id}"
|
|
1709
|
+
});
|
|
1710
|
+
};
|
|
1711
|
+
var getCallRecording = (options) => {
|
|
1712
|
+
return (options?.client ?? client).get({
|
|
1713
|
+
...options,
|
|
1714
|
+
url: "/v1/calls/{id}/recording"
|
|
1715
|
+
});
|
|
1716
|
+
};
|
|
1717
|
+
var createVoiceCall = (options) => {
|
|
1718
|
+
return (options?.client ?? client).post({
|
|
1719
|
+
...options,
|
|
1720
|
+
url: "/v1/voice/calls"
|
|
1721
|
+
});
|
|
1722
|
+
};
|
|
1723
|
+
var listVoiceCalls = (options) => {
|
|
1724
|
+
return (options?.client ?? client).get({
|
|
1725
|
+
...options,
|
|
1726
|
+
url: "/v1/voice/calls"
|
|
1727
|
+
});
|
|
1728
|
+
};
|
|
1729
|
+
var getVoiceCall = (options) => {
|
|
1730
|
+
return (options?.client ?? client).get({
|
|
1731
|
+
...options,
|
|
1732
|
+
url: "/v1/voice/calls/{id}"
|
|
1733
|
+
});
|
|
1734
|
+
};
|
|
1735
|
+
var endVoiceCall = (options) => {
|
|
1736
|
+
return (options?.client ?? client).post({
|
|
1737
|
+
...options,
|
|
1738
|
+
url: "/v1/voice/calls/{id}/end"
|
|
1739
|
+
});
|
|
1740
|
+
};
|
|
1741
|
+
var getVoiceCallRecording = (options) => {
|
|
1742
|
+
return (options?.client ?? client).get({
|
|
1743
|
+
...options,
|
|
1744
|
+
url: "/v1/voice/calls/{id}/recording"
|
|
1745
|
+
});
|
|
1746
|
+
};
|
|
1747
|
+
var transferVoiceCall = (options) => {
|
|
1748
|
+
return (options?.client ?? client).post({
|
|
1749
|
+
...options,
|
|
1750
|
+
url: "/v1/voice/calls/{id}/transfer"
|
|
1751
|
+
});
|
|
1752
|
+
};
|
|
1753
|
+
var getVoiceCallEstimate = (options) => {
|
|
1754
|
+
return (options?.client ?? client).get({
|
|
1755
|
+
...options,
|
|
1756
|
+
url: "/v1/voice/calls/estimate"
|
|
1757
|
+
});
|
|
1758
|
+
};
|
|
1759
|
+
var createVoiceWebSession = (options) => {
|
|
1760
|
+
return (options?.client ?? client).post({
|
|
1761
|
+
...options,
|
|
1762
|
+
url: "/v1/voice/calls/web"
|
|
1763
|
+
});
|
|
1764
|
+
};
|
|
1765
|
+
var dialVoiceWebCall = (options) => {
|
|
1766
|
+
return (options?.client ?? client).post({
|
|
1767
|
+
...options,
|
|
1768
|
+
url: "/v1/voice/calls/web/dial"
|
|
1769
|
+
});
|
|
1770
|
+
};
|
|
1771
|
+
var sendSms = (options) => {
|
|
1772
|
+
return (options?.client ?? client).post({
|
|
1773
|
+
...options,
|
|
1774
|
+
url: "/v1/sms/messages"
|
|
1775
|
+
});
|
|
1776
|
+
};
|
|
1777
|
+
var lookupSmsNumber = (options) => {
|
|
1778
|
+
return (options?.client ?? client).get({
|
|
1779
|
+
...options,
|
|
1780
|
+
url: "/v1/sms/lookup"
|
|
1781
|
+
});
|
|
1782
|
+
};
|
|
1783
|
+
var listSmsOptOuts = (options) => {
|
|
1784
|
+
return (options?.client ?? client).get({
|
|
1785
|
+
...options,
|
|
1786
|
+
url: "/v1/sms/opt-outs"
|
|
1787
|
+
});
|
|
1788
|
+
};
|
|
1789
|
+
var startSmsRegistration = (options) => {
|
|
1790
|
+
return (options?.client ?? client).post({
|
|
1791
|
+
...options,
|
|
1792
|
+
url: "/v1/sms/registrations"
|
|
1793
|
+
});
|
|
1794
|
+
};
|
|
1795
|
+
var listSmsRegistrations = (options) => {
|
|
1796
|
+
return (options?.client ?? client).get({
|
|
1797
|
+
...options,
|
|
1798
|
+
url: "/v1/sms/registrations"
|
|
1799
|
+
});
|
|
1800
|
+
};
|
|
1801
|
+
var getSmsRegistration = (options) => {
|
|
1802
|
+
return (options?.client ?? client).get({
|
|
1803
|
+
...options,
|
|
1804
|
+
url: "/v1/sms/registrations/{id}"
|
|
1805
|
+
});
|
|
1806
|
+
};
|
|
1807
|
+
var verifySmsRegistrationOtp = (options) => {
|
|
1808
|
+
return (options?.client ?? client).post({
|
|
1809
|
+
...options,
|
|
1810
|
+
url: "/v1/sms/registrations/{id}/verify-otp"
|
|
1811
|
+
});
|
|
1812
|
+
};
|
|
1813
|
+
var appealSmsRegistration = (options) => {
|
|
1814
|
+
return (options?.client ?? client).post({
|
|
1815
|
+
...options,
|
|
1816
|
+
url: "/v1/sms/registrations/{id}/appeal"
|
|
1817
|
+
});
|
|
1818
|
+
};
|
|
1819
|
+
var shareSmsRegistration = (options) => {
|
|
1820
|
+
return (options?.client ?? client).post({
|
|
1821
|
+
...options,
|
|
1822
|
+
url: "/v1/sms/registrations/share"
|
|
1823
|
+
});
|
|
1824
|
+
};
|
|
1675
1825
|
var getWhatsAppLibraryTemplate = (options) => {
|
|
1676
1826
|
return (options?.client ?? client).get({
|
|
1677
1827
|
...options,
|
|
@@ -1779,6 +1929,48 @@ var createWhatsAppDataset = (options) => {
|
|
|
1779
1929
|
url: "/v1/whatsapp/dataset"
|
|
1780
1930
|
});
|
|
1781
1931
|
};
|
|
1932
|
+
var listPhoneNumbers = (options) => {
|
|
1933
|
+
return (options?.client ?? client).get({
|
|
1934
|
+
...options,
|
|
1935
|
+
url: "/v1/phone-numbers"
|
|
1936
|
+
});
|
|
1937
|
+
};
|
|
1938
|
+
var getPhoneNumber = (options) => {
|
|
1939
|
+
return (options?.client ?? client).get({
|
|
1940
|
+
...options,
|
|
1941
|
+
url: "/v1/phone-numbers/{id}"
|
|
1942
|
+
});
|
|
1943
|
+
};
|
|
1944
|
+
var releasePhoneNumber = (options) => {
|
|
1945
|
+
return (options?.client ?? client).delete({
|
|
1946
|
+
...options,
|
|
1947
|
+
url: "/v1/phone-numbers/{id}"
|
|
1948
|
+
});
|
|
1949
|
+
};
|
|
1950
|
+
var purchasePhoneNumber = (options) => {
|
|
1951
|
+
return (options?.client ?? client).post({
|
|
1952
|
+
...options,
|
|
1953
|
+
url: "/v1/phone-numbers/purchase"
|
|
1954
|
+
});
|
|
1955
|
+
};
|
|
1956
|
+
var listPhoneNumberCountries = (options) => {
|
|
1957
|
+
return (options?.client ?? client).get({
|
|
1958
|
+
...options,
|
|
1959
|
+
url: "/v1/phone-numbers/countries"
|
|
1960
|
+
});
|
|
1961
|
+
};
|
|
1962
|
+
var searchAvailablePhoneNumbers = (options) => {
|
|
1963
|
+
return (options?.client ?? client).get({
|
|
1964
|
+
...options,
|
|
1965
|
+
url: "/v1/phone-numbers/available"
|
|
1966
|
+
});
|
|
1967
|
+
};
|
|
1968
|
+
var checkPhoneNumberAvailability = (options) => {
|
|
1969
|
+
return (options?.client ?? client).get({
|
|
1970
|
+
...options,
|
|
1971
|
+
url: "/v1/phone-numbers/availability"
|
|
1972
|
+
});
|
|
1973
|
+
};
|
|
1782
1974
|
var getWhatsAppPhoneNumbers = (options) => {
|
|
1783
1975
|
return (options?.client ?? client).get({
|
|
1784
1976
|
...options,
|
|
@@ -1809,6 +2001,89 @@ var checkWhatsAppNumberAvailability = (options) => {
|
|
|
1809
2001
|
url: "/v1/whatsapp/phone-numbers/availability"
|
|
1810
2002
|
});
|
|
1811
2003
|
};
|
|
2004
|
+
var getPhoneNumberKycForm = (options) => {
|
|
2005
|
+
return (options?.client ?? client).get({
|
|
2006
|
+
...options,
|
|
2007
|
+
url: "/v1/phone-numbers/kyc"
|
|
2008
|
+
});
|
|
2009
|
+
};
|
|
2010
|
+
var submitPhoneNumberKyc = (options) => {
|
|
2011
|
+
return (options?.client ?? client).post({
|
|
2012
|
+
...options,
|
|
2013
|
+
url: "/v1/phone-numbers/kyc"
|
|
2014
|
+
});
|
|
2015
|
+
};
|
|
2016
|
+
var uploadPhoneNumberKycDocument = (options) => {
|
|
2017
|
+
return (options?.client ?? client).post({
|
|
2018
|
+
...options,
|
|
2019
|
+
url: "/v1/phone-numbers/kyc/upload-document"
|
|
2020
|
+
});
|
|
2021
|
+
};
|
|
2022
|
+
var validatePhoneNumberKycAddress = (options) => {
|
|
2023
|
+
return (options?.client ?? client).post({
|
|
2024
|
+
...options,
|
|
2025
|
+
url: "/v1/phone-numbers/kyc/validate-address"
|
|
2026
|
+
});
|
|
2027
|
+
};
|
|
2028
|
+
var createPhoneNumberKycLink = (options) => {
|
|
2029
|
+
return (options?.client ?? client).post({
|
|
2030
|
+
...options,
|
|
2031
|
+
url: "/v1/phone-numbers/kyc/share"
|
|
2032
|
+
});
|
|
2033
|
+
};
|
|
2034
|
+
var createPhoneNumberPortIn = (options) => {
|
|
2035
|
+
return (options?.client ?? client).post({
|
|
2036
|
+
...options,
|
|
2037
|
+
url: "/v1/phone-numbers/port-in"
|
|
2038
|
+
});
|
|
2039
|
+
};
|
|
2040
|
+
var listPhoneNumberPortIns = (options) => {
|
|
2041
|
+
return (options?.client ?? client).get({
|
|
2042
|
+
...options,
|
|
2043
|
+
url: "/v1/phone-numbers/port-in"
|
|
2044
|
+
});
|
|
2045
|
+
};
|
|
2046
|
+
var checkPhoneNumberPortability = (options) => {
|
|
2047
|
+
return (options?.client ?? client).post({
|
|
2048
|
+
...options,
|
|
2049
|
+
url: "/v1/phone-numbers/port-in/check"
|
|
2050
|
+
});
|
|
2051
|
+
};
|
|
2052
|
+
var uploadPhoneNumberPortInDocument = (options) => {
|
|
2053
|
+
return (options?.client ?? client).post({
|
|
2054
|
+
...options,
|
|
2055
|
+
...W,
|
|
2056
|
+
headers: {
|
|
2057
|
+
"Content-Type": null,
|
|
2058
|
+
...options?.headers
|
|
2059
|
+
},
|
|
2060
|
+
url: "/v1/phone-numbers/port-in/documents"
|
|
2061
|
+
});
|
|
2062
|
+
};
|
|
2063
|
+
var cancelPhoneNumberPortIn = (options) => {
|
|
2064
|
+
return (options?.client ?? client).delete({
|
|
2065
|
+
...options,
|
|
2066
|
+
url: "/v1/phone-numbers/port-in/{id}"
|
|
2067
|
+
});
|
|
2068
|
+
};
|
|
2069
|
+
var reviewPhoneNumberKycPacket = (options) => {
|
|
2070
|
+
return (options?.client ?? client).post({
|
|
2071
|
+
...options,
|
|
2072
|
+
url: "/v1/phone-numbers/kyc/review-packet"
|
|
2073
|
+
});
|
|
2074
|
+
};
|
|
2075
|
+
var getPhoneNumberRemediation = (options) => {
|
|
2076
|
+
return (options?.client ?? client).get({
|
|
2077
|
+
...options,
|
|
2078
|
+
url: "/v1/phone-numbers/{id}/remediate"
|
|
2079
|
+
});
|
|
2080
|
+
};
|
|
2081
|
+
var remediatePhoneNumber = (options) => {
|
|
2082
|
+
return (options?.client ?? client).post({
|
|
2083
|
+
...options,
|
|
2084
|
+
url: "/v1/phone-numbers/{id}/remediate"
|
|
2085
|
+
});
|
|
2086
|
+
};
|
|
1812
2087
|
var getWhatsAppNumberKycForm = (options) => {
|
|
1813
2088
|
return (options?.client ?? client).get({
|
|
1814
2089
|
...options,
|
|
@@ -1851,6 +2126,60 @@ var remediateWhatsAppNumber = (options) => {
|
|
|
1851
2126
|
url: "/v1/whatsapp/phone-numbers/{id}/remediate"
|
|
1852
2127
|
});
|
|
1853
2128
|
};
|
|
2129
|
+
var enableVoiceOnNumber = (options) => {
|
|
2130
|
+
return (options?.client ?? client).post({
|
|
2131
|
+
...options,
|
|
2132
|
+
url: "/v1/phone-numbers/{id}/voice"
|
|
2133
|
+
});
|
|
2134
|
+
};
|
|
2135
|
+
var disableVoiceOnNumber = (options) => {
|
|
2136
|
+
return (options?.client ?? client).delete({
|
|
2137
|
+
...options,
|
|
2138
|
+
url: "/v1/phone-numbers/{id}/voice"
|
|
2139
|
+
});
|
|
2140
|
+
};
|
|
2141
|
+
var enableSmsOnNumber = (options) => {
|
|
2142
|
+
return (options?.client ?? client).post({
|
|
2143
|
+
...options,
|
|
2144
|
+
url: "/v1/phone-numbers/{id}/sms"
|
|
2145
|
+
});
|
|
2146
|
+
};
|
|
2147
|
+
var disableSmsOnNumber = (options) => {
|
|
2148
|
+
return (options?.client ?? client).delete({
|
|
2149
|
+
...options,
|
|
2150
|
+
url: "/v1/phone-numbers/{id}/sms"
|
|
2151
|
+
});
|
|
2152
|
+
};
|
|
2153
|
+
var reuseSmsRegistrationForNumber = (options) => {
|
|
2154
|
+
return (options?.client ?? client).post({
|
|
2155
|
+
...options,
|
|
2156
|
+
url: "/v1/phone-numbers/{id}/sms/reuse-registration"
|
|
2157
|
+
});
|
|
2158
|
+
};
|
|
2159
|
+
var getWhatsAppCalling = (options) => {
|
|
2160
|
+
return (options?.client ?? client).get({
|
|
2161
|
+
...options,
|
|
2162
|
+
url: "/v1/phone-numbers/{id}/whatsapp/calling"
|
|
2163
|
+
});
|
|
2164
|
+
};
|
|
2165
|
+
var enableWhatsAppCalling = (options) => {
|
|
2166
|
+
return (options?.client ?? client).post({
|
|
2167
|
+
...options,
|
|
2168
|
+
url: "/v1/phone-numbers/{id}/whatsapp/calling"
|
|
2169
|
+
});
|
|
2170
|
+
};
|
|
2171
|
+
var updateWhatsAppCalling = (options) => {
|
|
2172
|
+
return (options?.client ?? client).patch({
|
|
2173
|
+
...options,
|
|
2174
|
+
url: "/v1/phone-numbers/{id}/whatsapp/calling"
|
|
2175
|
+
});
|
|
2176
|
+
};
|
|
2177
|
+
var disableWhatsAppCalling = (options) => {
|
|
2178
|
+
return (options?.client ?? client).delete({
|
|
2179
|
+
...options,
|
|
2180
|
+
url: "/v1/phone-numbers/{id}/whatsapp/calling"
|
|
2181
|
+
});
|
|
2182
|
+
};
|
|
1854
2183
|
var getWhatsAppPhoneNumber = (options) => {
|
|
1855
2184
|
return (options?.client ?? client).get({
|
|
1856
2185
|
...options,
|
|
@@ -2899,7 +3228,10 @@ var Zernio = class {
|
|
|
2899
3228
|
*/
|
|
2900
3229
|
this.usage = {
|
|
2901
3230
|
getXApiPricing,
|
|
2902
|
-
|
|
3231
|
+
getUsage,
|
|
3232
|
+
getUsageStats,
|
|
3233
|
+
getCallsUsage,
|
|
3234
|
+
getSmsUsage
|
|
2903
3235
|
};
|
|
2904
3236
|
/**
|
|
2905
3237
|
* Posts API - Create, schedule, and manage social media posts
|
|
@@ -3244,14 +3576,60 @@ var Zernio = class {
|
|
|
3244
3576
|
*/
|
|
3245
3577
|
this.whatsappcalling = {
|
|
3246
3578
|
getWhatsAppCallingConfig,
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3579
|
+
enableWhatsAppCallingLegacy,
|
|
3580
|
+
updateWhatsAppCallingLegacy,
|
|
3581
|
+
disableWhatsAppCallingLegacy,
|
|
3250
3582
|
getWhatsAppCallPermissions,
|
|
3251
3583
|
initiateWhatsAppCall,
|
|
3252
3584
|
listWhatsAppCalls,
|
|
3253
3585
|
getWhatsAppCall,
|
|
3254
|
-
|
|
3586
|
+
getWhatsAppCallRecording,
|
|
3587
|
+
getWhatsAppCallEstimate,
|
|
3588
|
+
getWhatsAppCalling,
|
|
3589
|
+
enableWhatsAppCalling,
|
|
3590
|
+
updateWhatsAppCalling,
|
|
3591
|
+
disableWhatsAppCalling
|
|
3592
|
+
};
|
|
3593
|
+
/**
|
|
3594
|
+
* calls API
|
|
3595
|
+
*/
|
|
3596
|
+
this.calls = {
|
|
3597
|
+
listCalls,
|
|
3598
|
+
getCall,
|
|
3599
|
+
getCallRecording
|
|
3600
|
+
};
|
|
3601
|
+
/**
|
|
3602
|
+
* voice API
|
|
3603
|
+
*/
|
|
3604
|
+
this.voice = {
|
|
3605
|
+
createVoiceCall,
|
|
3606
|
+
listVoiceCalls,
|
|
3607
|
+
getVoiceCall,
|
|
3608
|
+
endVoiceCall,
|
|
3609
|
+
getVoiceCallRecording,
|
|
3610
|
+
transferVoiceCall,
|
|
3611
|
+
getVoiceCallEstimate,
|
|
3612
|
+
createVoiceWebSession,
|
|
3613
|
+
dialVoiceWebCall,
|
|
3614
|
+
enableVoiceOnNumber,
|
|
3615
|
+
disableVoiceOnNumber
|
|
3616
|
+
};
|
|
3617
|
+
/**
|
|
3618
|
+
* sms API
|
|
3619
|
+
*/
|
|
3620
|
+
this.sms = {
|
|
3621
|
+
sendSms,
|
|
3622
|
+
lookupSmsNumber,
|
|
3623
|
+
listSmsOptOuts,
|
|
3624
|
+
startSmsRegistration,
|
|
3625
|
+
listSmsRegistrations,
|
|
3626
|
+
getSmsRegistration,
|
|
3627
|
+
verifySmsRegistrationOtp,
|
|
3628
|
+
appealSmsRegistration,
|
|
3629
|
+
shareSmsRegistration,
|
|
3630
|
+
enableSmsOnNumber,
|
|
3631
|
+
disableSmsOnNumber,
|
|
3632
|
+
reuseSmsRegistrationForNumber
|
|
3255
3633
|
};
|
|
3256
3634
|
/**
|
|
3257
3635
|
* whatsapptemplates API
|
|
@@ -3279,6 +3657,31 @@ var Zernio = class {
|
|
|
3279
3657
|
getWhatsAppPhoneNumber,
|
|
3280
3658
|
releaseWhatsAppPhoneNumber
|
|
3281
3659
|
};
|
|
3660
|
+
/**
|
|
3661
|
+
* phonenumbers API
|
|
3662
|
+
*/
|
|
3663
|
+
this.phonenumbers = {
|
|
3664
|
+
listPhoneNumbers,
|
|
3665
|
+
getPhoneNumber,
|
|
3666
|
+
releasePhoneNumber,
|
|
3667
|
+
purchasePhoneNumber,
|
|
3668
|
+
listPhoneNumberCountries,
|
|
3669
|
+
searchAvailablePhoneNumbers,
|
|
3670
|
+
checkPhoneNumberAvailability,
|
|
3671
|
+
getPhoneNumberKycForm,
|
|
3672
|
+
submitPhoneNumberKyc,
|
|
3673
|
+
uploadPhoneNumberKycDocument,
|
|
3674
|
+
validatePhoneNumberKycAddress,
|
|
3675
|
+
createPhoneNumberKycLink,
|
|
3676
|
+
createPhoneNumberPortIn,
|
|
3677
|
+
listPhoneNumberPortIns,
|
|
3678
|
+
checkPhoneNumberPortability,
|
|
3679
|
+
uploadPhoneNumberPortInDocument,
|
|
3680
|
+
cancelPhoneNumberPortIn,
|
|
3681
|
+
reviewPhoneNumberKycPacket,
|
|
3682
|
+
getPhoneNumberRemediation,
|
|
3683
|
+
remediatePhoneNumber
|
|
3684
|
+
};
|
|
3282
3685
|
/**
|
|
3283
3686
|
* whatsappsandbox API
|
|
3284
3687
|
*/
|