@ember-home/unbound-ts-client 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +72 -402
- package/dist/index.d.ts +72 -402
- package/dist/index.js +148 -436
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -330
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -166,32 +166,20 @@ var SrcResourceModelsContactsModelContactsModelContactSortBy = {
|
|
|
166
166
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
167
167
|
UpdatedAt: "updated_at"
|
|
168
168
|
};
|
|
169
|
-
var
|
|
170
|
-
Twilio: "TWILIO"
|
|
171
|
-
};
|
|
172
|
-
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
|
|
173
|
-
Email: "EMAIL"
|
|
174
|
-
};
|
|
175
|
-
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = {
|
|
169
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = {
|
|
176
170
|
RentalProvider: "RENTAL_PROVIDER"
|
|
177
171
|
};
|
|
178
|
-
var
|
|
172
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = {
|
|
179
173
|
Twilio: "TWILIO"
|
|
180
174
|
};
|
|
181
|
-
var
|
|
182
|
-
Email: "EMAIL"
|
|
183
|
-
};
|
|
184
|
-
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
185
|
-
Twilio: "TWILIO"
|
|
186
|
-
};
|
|
187
|
-
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = {
|
|
175
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = {
|
|
188
176
|
Email: "EMAIL"
|
|
189
177
|
};
|
|
190
178
|
var SrcResourceModelsListingsModelListingBaseSortBy = {
|
|
191
179
|
Title: "title"
|
|
192
180
|
};
|
|
193
181
|
var SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = {
|
|
194
|
-
|
|
182
|
+
SentAt: "sent_at"
|
|
195
183
|
};
|
|
196
184
|
var SrcResourceModelsReservationsModelReservationBaseModelSortBy = {
|
|
197
185
|
ArrivalAtPropertyTz: "arrival_at_property_tz"
|
|
@@ -1624,34 +1612,6 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1624
1612
|
};
|
|
1625
1613
|
var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
1626
1614
|
return {
|
|
1627
|
-
/**
|
|
1628
|
-
* Conversations Create
|
|
1629
|
-
* @summary Conversations Create
|
|
1630
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
1631
|
-
* @param {*} [options] Override http request option.
|
|
1632
|
-
* @throws {RequiredError}
|
|
1633
|
-
*/
|
|
1634
|
-
conversationsCreate: async (aPIConversationCreate, options = {}) => {
|
|
1635
|
-
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
1636
|
-
const localVarPath = `/conversations`;
|
|
1637
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1638
|
-
let baseOptions;
|
|
1639
|
-
if (configuration) {
|
|
1640
|
-
baseOptions = configuration.baseOptions;
|
|
1641
|
-
}
|
|
1642
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1643
|
-
const localVarHeaderParameter = {};
|
|
1644
|
-
const localVarQueryParameter = {};
|
|
1645
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1646
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1647
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1648
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1649
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
1650
|
-
return {
|
|
1651
|
-
url: toPathString(localVarUrlObj),
|
|
1652
|
-
options: localVarRequestOptions
|
|
1653
|
-
};
|
|
1654
|
-
},
|
|
1655
1615
|
/**
|
|
1656
1616
|
* Conversations Get
|
|
1657
1617
|
* @summary Conversations Get
|
|
@@ -1679,7 +1639,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1679
1639
|
};
|
|
1680
1640
|
},
|
|
1681
1641
|
/**
|
|
1682
|
-
* List all conversations,
|
|
1642
|
+
* List all conversations, must filter by contact_id
|
|
1683
1643
|
* @summary Conversations List
|
|
1684
1644
|
* @param {string | null} [searchString]
|
|
1685
1645
|
* @param {string | null} [contactId]
|
|
@@ -1730,36 +1690,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1730
1690
|
options: localVarRequestOptions
|
|
1731
1691
|
};
|
|
1732
1692
|
},
|
|
1733
|
-
/**
|
|
1734
|
-
* Conversations Update
|
|
1735
|
-
* @summary Conversations Update
|
|
1736
|
-
* @param {string} conversationId
|
|
1737
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
1738
|
-
* @param {*} [options] Override http request option.
|
|
1739
|
-
* @throws {RequiredError}
|
|
1740
|
-
*/
|
|
1741
|
-
conversationsUpdate: async (conversationId, aPIConversationUpdate, options = {}) => {
|
|
1742
|
-
assertParamExists("conversationsUpdate", "conversationId", conversationId);
|
|
1743
|
-
assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
|
|
1744
|
-
const localVarPath = `/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1745
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1746
|
-
let baseOptions;
|
|
1747
|
-
if (configuration) {
|
|
1748
|
-
baseOptions = configuration.baseOptions;
|
|
1749
|
-
}
|
|
1750
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
1751
|
-
const localVarHeaderParameter = {};
|
|
1752
|
-
const localVarQueryParameter = {};
|
|
1753
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1754
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1755
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1756
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1757
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
|
|
1758
|
-
return {
|
|
1759
|
-
url: toPathString(localVarUrlObj),
|
|
1760
|
-
options: localVarRequestOptions
|
|
1761
|
-
};
|
|
1762
|
-
},
|
|
1763
1693
|
/**
|
|
1764
1694
|
* Messages Create
|
|
1765
1695
|
* @summary Messages Create
|
|
@@ -1819,9 +1749,8 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1819
1749
|
/**
|
|
1820
1750
|
* Messages List
|
|
1821
1751
|
* @summary Messages List
|
|
1752
|
+
* @param {string} [conversationId]
|
|
1822
1753
|
* @param {string | null} [searchString]
|
|
1823
|
-
* @param {string | null} [contactId]
|
|
1824
|
-
* @param {string | null} [conversationId]
|
|
1825
1754
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1826
1755
|
* @param {number} [limit]
|
|
1827
1756
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1830,7 +1759,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1830
1759
|
* @param {*} [options] Override http request option.
|
|
1831
1760
|
* @throws {RequiredError}
|
|
1832
1761
|
*/
|
|
1833
|
-
messagesList: async (
|
|
1762
|
+
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
1834
1763
|
const localVarPath = `/messages`;
|
|
1835
1764
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1836
1765
|
let baseOptions;
|
|
@@ -1840,15 +1769,12 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1840
1769
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1841
1770
|
const localVarHeaderParameter = {};
|
|
1842
1771
|
const localVarQueryParameter = {};
|
|
1843
|
-
if (searchString !== void 0) {
|
|
1844
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
1845
|
-
}
|
|
1846
|
-
if (contactId !== void 0) {
|
|
1847
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
1848
|
-
}
|
|
1849
1772
|
if (conversationId !== void 0) {
|
|
1850
1773
|
localVarQueryParameter["conversationId"] = conversationId;
|
|
1851
1774
|
}
|
|
1775
|
+
if (searchString !== void 0) {
|
|
1776
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
1777
|
+
}
|
|
1852
1778
|
if (cursor !== void 0) {
|
|
1853
1779
|
localVarQueryParameter["cursor"] = cursor;
|
|
1854
1780
|
}
|
|
@@ -1877,19 +1803,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1877
1803
|
var ConversationsApiFp = function(configuration) {
|
|
1878
1804
|
const localVarAxiosParamCreator = ConversationsApiAxiosParamCreator(configuration);
|
|
1879
1805
|
return {
|
|
1880
|
-
/**
|
|
1881
|
-
* Conversations Create
|
|
1882
|
-
* @summary Conversations Create
|
|
1883
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
1884
|
-
* @param {*} [options] Override http request option.
|
|
1885
|
-
* @throws {RequiredError}
|
|
1886
|
-
*/
|
|
1887
|
-
async conversationsCreate(aPIConversationCreate, options) {
|
|
1888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
1889
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1890
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ConversationsApi.conversationsCreate"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1891
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1892
|
-
},
|
|
1893
1806
|
/**
|
|
1894
1807
|
* Conversations Get
|
|
1895
1808
|
* @summary Conversations Get
|
|
@@ -1899,12 +1812,12 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1899
1812
|
*/
|
|
1900
1813
|
async conversationsGet(conversationId, options) {
|
|
1901
1814
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1903
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1815
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1816
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ConversationsApi.conversationsGet"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1904
1817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
1818
|
},
|
|
1906
1819
|
/**
|
|
1907
|
-
* List all conversations,
|
|
1820
|
+
* List all conversations, must filter by contact_id
|
|
1908
1821
|
* @summary Conversations List
|
|
1909
1822
|
* @param {string | null} [searchString]
|
|
1910
1823
|
* @param {string | null} [contactId]
|
|
@@ -1918,22 +1831,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1918
1831
|
*/
|
|
1919
1832
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1920
1833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1921
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1922
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1924
|
-
},
|
|
1925
|
-
/**
|
|
1926
|
-
* Conversations Update
|
|
1927
|
-
* @summary Conversations Update
|
|
1928
|
-
* @param {string} conversationId
|
|
1929
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
1930
|
-
* @param {*} [options] Override http request option.
|
|
1931
|
-
* @throws {RequiredError}
|
|
1932
|
-
*/
|
|
1933
|
-
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
1934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
1935
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1936
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsUpdate"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1834
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1835
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsList"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1937
1836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1938
1837
|
},
|
|
1939
1838
|
/**
|
|
@@ -1946,8 +1845,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1946
1845
|
*/
|
|
1947
1846
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1948
1847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
1949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1950
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1848
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1849
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.messagesCreate"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1951
1850
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1952
1851
|
},
|
|
1953
1852
|
/**
|
|
@@ -1959,16 +1858,15 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1959
1858
|
*/
|
|
1960
1859
|
async messagesGet(messageId, options) {
|
|
1961
1860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1962
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1963
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1861
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1862
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.messagesGet"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1964
1863
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1965
1864
|
},
|
|
1966
1865
|
/**
|
|
1967
1866
|
* Messages List
|
|
1968
1867
|
* @summary Messages List
|
|
1868
|
+
* @param {string} [conversationId]
|
|
1969
1869
|
* @param {string | null} [searchString]
|
|
1970
|
-
* @param {string | null} [contactId]
|
|
1971
|
-
* @param {string | null} [conversationId]
|
|
1972
1870
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1973
1871
|
* @param {number} [limit]
|
|
1974
1872
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1977,10 +1875,10 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1977
1875
|
* @param {*} [options] Override http request option.
|
|
1978
1876
|
* @throws {RequiredError}
|
|
1979
1877
|
*/
|
|
1980
|
-
async messagesList(
|
|
1981
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(
|
|
1982
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1983
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1878
|
+
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1880
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
1881
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.messagesList"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1984
1882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1985
1883
|
}
|
|
1986
1884
|
};
|
|
@@ -1988,16 +1886,6 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1988
1886
|
var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
1989
1887
|
const localVarFp = ConversationsApiFp(configuration);
|
|
1990
1888
|
return {
|
|
1991
|
-
/**
|
|
1992
|
-
* Conversations Create
|
|
1993
|
-
* @summary Conversations Create
|
|
1994
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
1995
|
-
* @param {*} [options] Override http request option.
|
|
1996
|
-
* @throws {RequiredError}
|
|
1997
|
-
*/
|
|
1998
|
-
conversationsCreate(aPIConversationCreate, options) {
|
|
1999
|
-
return localVarFp.conversationsCreate(aPIConversationCreate, options).then((request) => request(axios, basePath));
|
|
2000
|
-
},
|
|
2001
1889
|
/**
|
|
2002
1890
|
* Conversations Get
|
|
2003
1891
|
* @summary Conversations Get
|
|
@@ -2009,7 +1897,7 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2009
1897
|
return localVarFp.conversationsGet(conversationId, options).then((request) => request(axios, basePath));
|
|
2010
1898
|
},
|
|
2011
1899
|
/**
|
|
2012
|
-
* List all conversations,
|
|
1900
|
+
* List all conversations, must filter by contact_id
|
|
2013
1901
|
* @summary Conversations List
|
|
2014
1902
|
* @param {string | null} [searchString]
|
|
2015
1903
|
* @param {string | null} [contactId]
|
|
@@ -2024,17 +1912,6 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2024
1912
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2025
1913
|
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2026
1914
|
},
|
|
2027
|
-
/**
|
|
2028
|
-
* Conversations Update
|
|
2029
|
-
* @summary Conversations Update
|
|
2030
|
-
* @param {string} conversationId
|
|
2031
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2032
|
-
* @param {*} [options] Override http request option.
|
|
2033
|
-
* @throws {RequiredError}
|
|
2034
|
-
*/
|
|
2035
|
-
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
2036
|
-
return localVarFp.conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(axios, basePath));
|
|
2037
|
-
},
|
|
2038
1915
|
/**
|
|
2039
1916
|
* Messages Create
|
|
2040
1917
|
* @summary Messages Create
|
|
@@ -2059,9 +1936,8 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2059
1936
|
/**
|
|
2060
1937
|
* Messages List
|
|
2061
1938
|
* @summary Messages List
|
|
1939
|
+
* @param {string} [conversationId]
|
|
2062
1940
|
* @param {string | null} [searchString]
|
|
2063
|
-
* @param {string | null} [contactId]
|
|
2064
|
-
* @param {string | null} [conversationId]
|
|
2065
1941
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2066
1942
|
* @param {number} [limit]
|
|
2067
1943
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -2070,23 +1946,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2070
1946
|
* @param {*} [options] Override http request option.
|
|
2071
1947
|
* @throws {RequiredError}
|
|
2072
1948
|
*/
|
|
2073
|
-
messagesList(
|
|
2074
|
-
return localVarFp.messagesList(
|
|
1949
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1950
|
+
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2075
1951
|
}
|
|
2076
1952
|
};
|
|
2077
1953
|
};
|
|
2078
1954
|
var ConversationsApi = class extends BaseAPI {
|
|
2079
|
-
/**
|
|
2080
|
-
* Conversations Create
|
|
2081
|
-
* @summary Conversations Create
|
|
2082
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
2083
|
-
* @param {*} [options] Override http request option.
|
|
2084
|
-
* @throws {RequiredError}
|
|
2085
|
-
* @memberof ConversationsApi
|
|
2086
|
-
*/
|
|
2087
|
-
conversationsCreate(aPIConversationCreate, options) {
|
|
2088
|
-
return ConversationsApiFp(this.configuration).conversationsCreate(aPIConversationCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2089
|
-
}
|
|
2090
1955
|
/**
|
|
2091
1956
|
* Conversations Get
|
|
2092
1957
|
* @summary Conversations Get
|
|
@@ -2099,7 +1964,7 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2099
1964
|
return ConversationsApiFp(this.configuration).conversationsGet(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2100
1965
|
}
|
|
2101
1966
|
/**
|
|
2102
|
-
* List all conversations,
|
|
1967
|
+
* List all conversations, must filter by contact_id
|
|
2103
1968
|
* @summary Conversations List
|
|
2104
1969
|
* @param {string | null} [searchString]
|
|
2105
1970
|
* @param {string | null} [contactId]
|
|
@@ -2115,18 +1980,6 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2115
1980
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2116
1981
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2117
1982
|
}
|
|
2118
|
-
/**
|
|
2119
|
-
* Conversations Update
|
|
2120
|
-
* @summary Conversations Update
|
|
2121
|
-
* @param {string} conversationId
|
|
2122
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2123
|
-
* @param {*} [options] Override http request option.
|
|
2124
|
-
* @throws {RequiredError}
|
|
2125
|
-
* @memberof ConversationsApi
|
|
2126
|
-
*/
|
|
2127
|
-
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
2128
|
-
return ConversationsApiFp(this.configuration).conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2129
|
-
}
|
|
2130
1983
|
/**
|
|
2131
1984
|
* Messages Create
|
|
2132
1985
|
* @summary Messages Create
|
|
@@ -2153,9 +2006,8 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2153
2006
|
/**
|
|
2154
2007
|
* Messages List
|
|
2155
2008
|
* @summary Messages List
|
|
2009
|
+
* @param {string} [conversationId]
|
|
2156
2010
|
* @param {string | null} [searchString]
|
|
2157
|
-
* @param {string | null} [contactId]
|
|
2158
|
-
* @param {string | null} [conversationId]
|
|
2159
2011
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2160
2012
|
* @param {number} [limit]
|
|
2161
2013
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -2165,8 +2017,8 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2165
2017
|
* @throws {RequiredError}
|
|
2166
2018
|
* @memberof ConversationsApi
|
|
2167
2019
|
*/
|
|
2168
|
-
messagesList(
|
|
2169
|
-
return ConversationsApiFp(this.configuration).messagesList(
|
|
2020
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2021
|
+
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2170
2022
|
}
|
|
2171
2023
|
};
|
|
2172
2024
|
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
@@ -2214,8 +2066,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2214
2066
|
*/
|
|
2215
2067
|
async webhook(hostawayWebhook, options) {
|
|
2216
2068
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2217
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2218
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2069
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2070
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["HostawayApi.webhook"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2219
2071
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2220
2072
|
}
|
|
2221
2073
|
};
|
|
@@ -2292,8 +2144,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2292
2144
|
*/
|
|
2293
2145
|
async inquiriesList(contactId, options) {
|
|
2294
2146
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2295
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2296
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2147
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2148
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["InquiriesApi.inquiriesList"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2297
2149
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2298
2150
|
}
|
|
2299
2151
|
};
|
|
@@ -2420,8 +2272,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2420
2272
|
*/
|
|
2421
2273
|
async listingsGet(listingId, options) {
|
|
2422
2274
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2423
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2424
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2275
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2276
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["ListingsApi.listingsGet"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2425
2277
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2426
2278
|
},
|
|
2427
2279
|
/**
|
|
@@ -2439,8 +2291,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2439
2291
|
*/
|
|
2440
2292
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2441
2293
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2442
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2443
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2294
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2295
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["ListingsApi.listingsList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2444
2296
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2445
2297
|
}
|
|
2446
2298
|
};
|
|
@@ -2545,8 +2397,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2545
2397
|
*/
|
|
2546
2398
|
async managedPhoneNumbersList(options) {
|
|
2547
2399
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2548
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2549
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2400
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2401
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2550
2402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2551
2403
|
}
|
|
2552
2404
|
};
|
|
@@ -2701,8 +2553,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2701
2553
|
*/
|
|
2702
2554
|
async providersCreate(aPIProviderCreate, options) {
|
|
2703
2555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2704
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2705
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2556
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2557
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["ProvidersApi.providersCreate"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2706
2558
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2707
2559
|
},
|
|
2708
2560
|
/**
|
|
@@ -2714,8 +2566,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2714
2566
|
*/
|
|
2715
2567
|
async providersGet(providerId, options) {
|
|
2716
2568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2717
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2718
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2569
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2570
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ProvidersApi.providersGet"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2719
2571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2720
2572
|
},
|
|
2721
2573
|
/**
|
|
@@ -2726,8 +2578,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2726
2578
|
*/
|
|
2727
2579
|
async providersList(options) {
|
|
2728
2580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2729
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2730
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2581
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2582
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ProvidersApi.providersList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2731
2583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2732
2584
|
},
|
|
2733
2585
|
/**
|
|
@@ -2740,8 +2592,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2740
2592
|
*/
|
|
2741
2593
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2742
2594
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2743
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2744
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2595
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2596
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ProvidersApi.providersUpdate"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2745
2597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2746
2598
|
}
|
|
2747
2599
|
};
|
|
@@ -2931,8 +2783,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2931
2783
|
*/
|
|
2932
2784
|
async reservationsGet(reservationId, options) {
|
|
2933
2785
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2934
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2935
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2786
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2787
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ReservationsApi.reservationsGet"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2936
2788
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2937
2789
|
},
|
|
2938
2790
|
/**
|
|
@@ -2950,8 +2802,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2950
2802
|
*/
|
|
2951
2803
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2952
2804
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2953
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2954
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2805
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2806
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ReservationsApi.reservationsList"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2955
2807
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2956
2808
|
}
|
|
2957
2809
|
};
|
|
@@ -3409,34 +3261,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3409
3261
|
options: localVarRequestOptions
|
|
3410
3262
|
};
|
|
3411
3263
|
},
|
|
3412
|
-
/**
|
|
3413
|
-
* Conversations Create
|
|
3414
|
-
* @summary Conversations Create
|
|
3415
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
3416
|
-
* @param {*} [options] Override http request option.
|
|
3417
|
-
* @throws {RequiredError}
|
|
3418
|
-
*/
|
|
3419
|
-
conversationsCreate: async (aPIConversationCreate, options = {}) => {
|
|
3420
|
-
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
3421
|
-
const localVarPath = `/conversations`;
|
|
3422
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3423
|
-
let baseOptions;
|
|
3424
|
-
if (configuration) {
|
|
3425
|
-
baseOptions = configuration.baseOptions;
|
|
3426
|
-
}
|
|
3427
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3428
|
-
const localVarHeaderParameter = {};
|
|
3429
|
-
const localVarQueryParameter = {};
|
|
3430
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3431
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3432
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3433
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3434
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
3435
|
-
return {
|
|
3436
|
-
url: toPathString(localVarUrlObj),
|
|
3437
|
-
options: localVarRequestOptions
|
|
3438
|
-
};
|
|
3439
|
-
},
|
|
3440
3264
|
/**
|
|
3441
3265
|
* Conversations Get
|
|
3442
3266
|
* @summary Conversations Get
|
|
@@ -3464,7 +3288,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3464
3288
|
};
|
|
3465
3289
|
},
|
|
3466
3290
|
/**
|
|
3467
|
-
* List all conversations,
|
|
3291
|
+
* List all conversations, must filter by contact_id
|
|
3468
3292
|
* @summary Conversations List
|
|
3469
3293
|
* @param {string | null} [searchString]
|
|
3470
3294
|
* @param {string | null} [contactId]
|
|
@@ -3515,36 +3339,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3515
3339
|
options: localVarRequestOptions
|
|
3516
3340
|
};
|
|
3517
3341
|
},
|
|
3518
|
-
/**
|
|
3519
|
-
* Conversations Update
|
|
3520
|
-
* @summary Conversations Update
|
|
3521
|
-
* @param {string} conversationId
|
|
3522
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
3523
|
-
* @param {*} [options] Override http request option.
|
|
3524
|
-
* @throws {RequiredError}
|
|
3525
|
-
*/
|
|
3526
|
-
conversationsUpdate: async (conversationId, aPIConversationUpdate, options = {}) => {
|
|
3527
|
-
assertParamExists("conversationsUpdate", "conversationId", conversationId);
|
|
3528
|
-
assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
|
|
3529
|
-
const localVarPath = `/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3531
|
-
let baseOptions;
|
|
3532
|
-
if (configuration) {
|
|
3533
|
-
baseOptions = configuration.baseOptions;
|
|
3534
|
-
}
|
|
3535
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3536
|
-
const localVarHeaderParameter = {};
|
|
3537
|
-
const localVarQueryParameter = {};
|
|
3538
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3539
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3540
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3541
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3542
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
|
|
3543
|
-
return {
|
|
3544
|
-
url: toPathString(localVarUrlObj),
|
|
3545
|
-
options: localVarRequestOptions
|
|
3546
|
-
};
|
|
3547
|
-
},
|
|
3548
3342
|
/**
|
|
3549
3343
|
* Emails Create
|
|
3550
3344
|
* @summary Emails Create
|
|
@@ -3846,9 +3640,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3846
3640
|
/**
|
|
3847
3641
|
* Messages List
|
|
3848
3642
|
* @summary Messages List
|
|
3643
|
+
* @param {string} [conversationId]
|
|
3849
3644
|
* @param {string | null} [searchString]
|
|
3850
|
-
* @param {string | null} [contactId]
|
|
3851
|
-
* @param {string | null} [conversationId]
|
|
3852
3645
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3853
3646
|
* @param {number} [limit]
|
|
3854
3647
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -3857,7 +3650,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3857
3650
|
* @param {*} [options] Override http request option.
|
|
3858
3651
|
* @throws {RequiredError}
|
|
3859
3652
|
*/
|
|
3860
|
-
messagesList: async (
|
|
3653
|
+
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
3861
3654
|
const localVarPath = `/messages`;
|
|
3862
3655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3863
3656
|
let baseOptions;
|
|
@@ -3867,15 +3660,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3867
3660
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3868
3661
|
const localVarHeaderParameter = {};
|
|
3869
3662
|
const localVarQueryParameter = {};
|
|
3870
|
-
if (searchString !== void 0) {
|
|
3871
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
3872
|
-
}
|
|
3873
|
-
if (contactId !== void 0) {
|
|
3874
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
3875
|
-
}
|
|
3876
3663
|
if (conversationId !== void 0) {
|
|
3877
3664
|
localVarQueryParameter["conversationId"] = conversationId;
|
|
3878
3665
|
}
|
|
3666
|
+
if (searchString !== void 0) {
|
|
3667
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
3668
|
+
}
|
|
3879
3669
|
if (cursor !== void 0) {
|
|
3880
3670
|
localVarQueryParameter["cursor"] = cursor;
|
|
3881
3671
|
}
|
|
@@ -4239,8 +4029,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4239
4029
|
*/
|
|
4240
4030
|
async accountsList(options) {
|
|
4241
4031
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4242
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4243
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4032
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
4033
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["UnboundApi.accountsList"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
4244
4034
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4245
4035
|
},
|
|
4246
4036
|
/**
|
|
@@ -4253,8 +4043,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4253
4043
|
*/
|
|
4254
4044
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4255
4045
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4256
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4257
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4046
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
4047
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["UnboundApi.addressesCreate"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
4258
4048
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4259
4049
|
},
|
|
4260
4050
|
/**
|
|
@@ -4266,8 +4056,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4266
4056
|
*/
|
|
4267
4057
|
async addressesDelete(addressId, options) {
|
|
4268
4058
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4269
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4270
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4059
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
4060
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["UnboundApi.addressesDelete"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
4271
4061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4272
4062
|
},
|
|
4273
4063
|
/**
|
|
@@ -4279,8 +4069,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4279
4069
|
*/
|
|
4280
4070
|
async addressesGet(addressId, options) {
|
|
4281
4071
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4282
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4283
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4072
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
4073
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.addressesGet"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
4284
4074
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4285
4075
|
},
|
|
4286
4076
|
/**
|
|
@@ -4293,8 +4083,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4293
4083
|
*/
|
|
4294
4084
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4295
4085
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4296
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4297
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4086
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
4087
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.addressesUpdate"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
4298
4088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4299
4089
|
},
|
|
4300
4090
|
/**
|
|
@@ -4308,8 +4098,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4308
4098
|
*/
|
|
4309
4099
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4310
4100
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4311
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4312
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4101
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
4102
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.contactsAddListing"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
4313
4103
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4314
4104
|
},
|
|
4315
4105
|
/**
|
|
@@ -4321,8 +4111,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4321
4111
|
*/
|
|
4322
4112
|
async contactsCreate(contactcreate, options) {
|
|
4323
4113
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4324
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4325
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4114
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
4115
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.contactsCreate"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
4326
4116
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4327
4117
|
},
|
|
4328
4118
|
/**
|
|
@@ -4334,8 +4124,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4334
4124
|
*/
|
|
4335
4125
|
async contactsDelete(contactId, options) {
|
|
4336
4126
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4337
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4338
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4127
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
4128
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.contactsDelete"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
4339
4129
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4340
4130
|
},
|
|
4341
4131
|
/**
|
|
@@ -4347,8 +4137,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4347
4137
|
*/
|
|
4348
4138
|
async contactsGet(contactId, options) {
|
|
4349
4139
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4350
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4351
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4140
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
4141
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["UnboundApi.contactsGet"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
4352
4142
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4353
4143
|
},
|
|
4354
4144
|
/**
|
|
@@ -4365,8 +4155,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4365
4155
|
*/
|
|
4366
4156
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4367
4157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4368
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4369
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4158
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
4159
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["UnboundApi.contactsList"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
4370
4160
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4371
4161
|
},
|
|
4372
4162
|
/**
|
|
@@ -4380,8 +4170,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4380
4170
|
*/
|
|
4381
4171
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4382
4172
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4383
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4384
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4173
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4174
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.contactsRemoveListing"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4385
4175
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4386
4176
|
},
|
|
4387
4177
|
/**
|
|
@@ -4394,8 +4184,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4394
4184
|
*/
|
|
4395
4185
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4396
4186
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4397
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4398
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4187
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4188
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.contactsUpdate"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4399
4189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4400
4190
|
},
|
|
4401
4191
|
/**
|
|
@@ -4409,21 +4199,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4409
4199
|
*/
|
|
4410
4200
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4411
4201
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4412
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4413
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4414
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4415
|
-
},
|
|
4416
|
-
/**
|
|
4417
|
-
* Conversations Create
|
|
4418
|
-
* @summary Conversations Create
|
|
4419
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
4420
|
-
* @param {*} [options] Override http request option.
|
|
4421
|
-
* @throws {RequiredError}
|
|
4422
|
-
*/
|
|
4423
|
-
async conversationsCreate(aPIConversationCreate, options) {
|
|
4424
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
4425
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4426
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.conversationsCreate"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4202
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4203
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.contactsUpdateListing"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4427
4204
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4428
4205
|
},
|
|
4429
4206
|
/**
|
|
@@ -4435,12 +4212,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4435
4212
|
*/
|
|
4436
4213
|
async conversationsGet(conversationId, options) {
|
|
4437
4214
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4438
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4439
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4215
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4216
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.conversationsGet"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4440
4217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4441
4218
|
},
|
|
4442
4219
|
/**
|
|
4443
|
-
* List all conversations,
|
|
4220
|
+
* List all conversations, must filter by contact_id
|
|
4444
4221
|
* @summary Conversations List
|
|
4445
4222
|
* @param {string | null} [searchString]
|
|
4446
4223
|
* @param {string | null} [contactId]
|
|
@@ -4454,22 +4231,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4454
4231
|
*/
|
|
4455
4232
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4456
4233
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4457
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4458
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4459
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4460
|
-
},
|
|
4461
|
-
/**
|
|
4462
|
-
* Conversations Update
|
|
4463
|
-
* @summary Conversations Update
|
|
4464
|
-
* @param {string} conversationId
|
|
4465
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4466
|
-
* @param {*} [options] Override http request option.
|
|
4467
|
-
* @throws {RequiredError}
|
|
4468
|
-
*/
|
|
4469
|
-
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4471
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4472
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.conversationsUpdate"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4234
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4235
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.conversationsList"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4473
4236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4474
4237
|
},
|
|
4475
4238
|
/**
|
|
@@ -4482,8 +4245,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4482
4245
|
*/
|
|
4483
4246
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4484
4247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4485
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4486
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4248
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4249
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.emailsCreate"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4487
4250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4488
4251
|
},
|
|
4489
4252
|
/**
|
|
@@ -4495,8 +4258,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4495
4258
|
*/
|
|
4496
4259
|
async emailsDelete(emailId, options) {
|
|
4497
4260
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4498
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4499
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4261
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4262
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.emailsDelete"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4500
4263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4501
4264
|
},
|
|
4502
4265
|
/**
|
|
@@ -4508,8 +4271,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4508
4271
|
*/
|
|
4509
4272
|
async emailsGet(emailId, options) {
|
|
4510
4273
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4511
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4512
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4274
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4275
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.emailsGet"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4513
4276
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4514
4277
|
},
|
|
4515
4278
|
/**
|
|
@@ -4522,8 +4285,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4522
4285
|
*/
|
|
4523
4286
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4524
4287
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4525
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4526
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4288
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4289
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.emailsUpdate"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4527
4290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4528
4291
|
},
|
|
4529
4292
|
/**
|
|
@@ -4535,8 +4298,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4535
4298
|
*/
|
|
4536
4299
|
async inquiriesList(contactId, options) {
|
|
4537
4300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4538
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4539
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4301
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4302
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.inquiriesList"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4540
4303
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4541
4304
|
},
|
|
4542
4305
|
/**
|
|
@@ -4548,8 +4311,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4548
4311
|
*/
|
|
4549
4312
|
async listingsGet(listingId, options) {
|
|
4550
4313
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4551
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4552
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4314
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4315
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.listingsGet"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4553
4316
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4554
4317
|
},
|
|
4555
4318
|
/**
|
|
@@ -4567,8 +4330,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4567
4330
|
*/
|
|
4568
4331
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4569
4332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4570
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4571
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4333
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4334
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.listingsList"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4572
4335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4573
4336
|
},
|
|
4574
4337
|
/**
|
|
@@ -4579,8 +4342,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4579
4342
|
*/
|
|
4580
4343
|
async managedPhoneNumbersList(options) {
|
|
4581
4344
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4582
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4583
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4345
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4346
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4584
4347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4585
4348
|
},
|
|
4586
4349
|
/**
|
|
@@ -4593,8 +4356,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4593
4356
|
*/
|
|
4594
4357
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4595
4358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4596
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4597
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4359
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4360
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.messagesCreate"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4598
4361
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4599
4362
|
},
|
|
4600
4363
|
/**
|
|
@@ -4606,16 +4369,15 @@ var UnboundApiFp = function(configuration) {
|
|
|
4606
4369
|
*/
|
|
4607
4370
|
async messagesGet(messageId, options) {
|
|
4608
4371
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4609
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4610
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4372
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4373
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.messagesGet"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4611
4374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4612
4375
|
},
|
|
4613
4376
|
/**
|
|
4614
4377
|
* Messages List
|
|
4615
4378
|
* @summary Messages List
|
|
4379
|
+
* @param {string} [conversationId]
|
|
4616
4380
|
* @param {string | null} [searchString]
|
|
4617
|
-
* @param {string | null} [contactId]
|
|
4618
|
-
* @param {string | null} [conversationId]
|
|
4619
4381
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4620
4382
|
* @param {number} [limit]
|
|
4621
4383
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -4624,10 +4386,10 @@ var UnboundApiFp = function(configuration) {
|
|
|
4624
4386
|
* @param {*} [options] Override http request option.
|
|
4625
4387
|
* @throws {RequiredError}
|
|
4626
4388
|
*/
|
|
4627
|
-
async messagesList(
|
|
4628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(
|
|
4629
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4630
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4389
|
+
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4391
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4392
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.messagesList"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4631
4393
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4632
4394
|
},
|
|
4633
4395
|
/**
|
|
@@ -4640,8 +4402,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4640
4402
|
*/
|
|
4641
4403
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4642
4404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4643
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4644
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4405
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4406
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.phonesCreate"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4645
4407
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4646
4408
|
},
|
|
4647
4409
|
/**
|
|
@@ -4653,8 +4415,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4653
4415
|
*/
|
|
4654
4416
|
async phonesDelete(phoneId, options) {
|
|
4655
4417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4656
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4657
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4418
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4419
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.phonesDelete"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4658
4420
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4659
4421
|
},
|
|
4660
4422
|
/**
|
|
@@ -4666,8 +4428,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4666
4428
|
*/
|
|
4667
4429
|
async phonesGet(phoneId, options) {
|
|
4668
4430
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4669
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4670
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4431
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4432
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.phonesGet"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4671
4433
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4672
4434
|
},
|
|
4673
4435
|
/**
|
|
@@ -4680,8 +4442,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4680
4442
|
*/
|
|
4681
4443
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4682
4444
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4683
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4684
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4445
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4446
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.phonesUpdate"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4685
4447
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4686
4448
|
},
|
|
4687
4449
|
/**
|
|
@@ -4693,8 +4455,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4693
4455
|
*/
|
|
4694
4456
|
async providersCreate(aPIProviderCreate, options) {
|
|
4695
4457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4696
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4697
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4458
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4459
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.providersCreate"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4698
4460
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4699
4461
|
},
|
|
4700
4462
|
/**
|
|
@@ -4706,8 +4468,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4706
4468
|
*/
|
|
4707
4469
|
async providersGet(providerId, options) {
|
|
4708
4470
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4709
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4710
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4471
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4472
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.providersGet"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4711
4473
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4712
4474
|
},
|
|
4713
4475
|
/**
|
|
@@ -4718,8 +4480,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4718
4480
|
*/
|
|
4719
4481
|
async providersList(options) {
|
|
4720
4482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
4721
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4722
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4483
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4484
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.providersList"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4723
4485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4724
4486
|
},
|
|
4725
4487
|
/**
|
|
@@ -4732,8 +4494,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4732
4494
|
*/
|
|
4733
4495
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
4734
4496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
4735
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4736
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4497
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4498
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.providersUpdate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4737
4499
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4738
4500
|
},
|
|
4739
4501
|
/**
|
|
@@ -4745,8 +4507,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4745
4507
|
*/
|
|
4746
4508
|
async reservationsGet(reservationId, options) {
|
|
4747
4509
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
4748
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4749
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4510
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4511
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.reservationsGet"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4750
4512
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4751
4513
|
},
|
|
4752
4514
|
/**
|
|
@@ -4764,8 +4526,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4764
4526
|
*/
|
|
4765
4527
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4766
4528
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4767
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4768
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4529
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4530
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.reservationsList"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4769
4531
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4770
4532
|
},
|
|
4771
4533
|
/**
|
|
@@ -4777,8 +4539,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4777
4539
|
*/
|
|
4778
4540
|
async webhook(hostawayWebhook, options) {
|
|
4779
4541
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
4780
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4781
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4542
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4543
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.webhook"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4782
4544
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4783
4545
|
}
|
|
4784
4546
|
};
|
|
@@ -4929,16 +4691,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4929
4691
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4930
4692
|
return localVarFp.contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(axios, basePath));
|
|
4931
4693
|
},
|
|
4932
|
-
/**
|
|
4933
|
-
* Conversations Create
|
|
4934
|
-
* @summary Conversations Create
|
|
4935
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
4936
|
-
* @param {*} [options] Override http request option.
|
|
4937
|
-
* @throws {RequiredError}
|
|
4938
|
-
*/
|
|
4939
|
-
conversationsCreate(aPIConversationCreate, options) {
|
|
4940
|
-
return localVarFp.conversationsCreate(aPIConversationCreate, options).then((request) => request(axios, basePath));
|
|
4941
|
-
},
|
|
4942
4694
|
/**
|
|
4943
4695
|
* Conversations Get
|
|
4944
4696
|
* @summary Conversations Get
|
|
@@ -4950,7 +4702,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4950
4702
|
return localVarFp.conversationsGet(conversationId, options).then((request) => request(axios, basePath));
|
|
4951
4703
|
},
|
|
4952
4704
|
/**
|
|
4953
|
-
* List all conversations,
|
|
4705
|
+
* List all conversations, must filter by contact_id
|
|
4954
4706
|
* @summary Conversations List
|
|
4955
4707
|
* @param {string | null} [searchString]
|
|
4956
4708
|
* @param {string | null} [contactId]
|
|
@@ -4965,17 +4717,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4965
4717
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4966
4718
|
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
4967
4719
|
},
|
|
4968
|
-
/**
|
|
4969
|
-
* Conversations Update
|
|
4970
|
-
* @summary Conversations Update
|
|
4971
|
-
* @param {string} conversationId
|
|
4972
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4973
|
-
* @param {*} [options] Override http request option.
|
|
4974
|
-
* @throws {RequiredError}
|
|
4975
|
-
*/
|
|
4976
|
-
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4977
|
-
return localVarFp.conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(axios, basePath));
|
|
4978
|
-
},
|
|
4979
4720
|
/**
|
|
4980
4721
|
* Emails Create
|
|
4981
4722
|
* @summary Emails Create
|
|
@@ -5087,9 +4828,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5087
4828
|
/**
|
|
5088
4829
|
* Messages List
|
|
5089
4830
|
* @summary Messages List
|
|
4831
|
+
* @param {string} [conversationId]
|
|
5090
4832
|
* @param {string | null} [searchString]
|
|
5091
|
-
* @param {string | null} [contactId]
|
|
5092
|
-
* @param {string | null} [conversationId]
|
|
5093
4833
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5094
4834
|
* @param {number} [limit]
|
|
5095
4835
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5098,8 +4838,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5098
4838
|
* @param {*} [options] Override http request option.
|
|
5099
4839
|
* @throws {RequiredError}
|
|
5100
4840
|
*/
|
|
5101
|
-
messagesList(
|
|
5102
|
-
return localVarFp.messagesList(
|
|
4841
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4842
|
+
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5103
4843
|
},
|
|
5104
4844
|
/**
|
|
5105
4845
|
* Phones Create
|
|
@@ -5378,17 +5118,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5378
5118
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
5379
5119
|
return UnboundApiFp(this.configuration).contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(this.axios, this.basePath));
|
|
5380
5120
|
}
|
|
5381
|
-
/**
|
|
5382
|
-
* Conversations Create
|
|
5383
|
-
* @summary Conversations Create
|
|
5384
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
5385
|
-
* @param {*} [options] Override http request option.
|
|
5386
|
-
* @throws {RequiredError}
|
|
5387
|
-
* @memberof UnboundApi
|
|
5388
|
-
*/
|
|
5389
|
-
conversationsCreate(aPIConversationCreate, options) {
|
|
5390
|
-
return UnboundApiFp(this.configuration).conversationsCreate(aPIConversationCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5391
|
-
}
|
|
5392
5121
|
/**
|
|
5393
5122
|
* Conversations Get
|
|
5394
5123
|
* @summary Conversations Get
|
|
@@ -5401,7 +5130,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5401
5130
|
return UnboundApiFp(this.configuration).conversationsGet(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5402
5131
|
}
|
|
5403
5132
|
/**
|
|
5404
|
-
* List all conversations,
|
|
5133
|
+
* List all conversations, must filter by contact_id
|
|
5405
5134
|
* @summary Conversations List
|
|
5406
5135
|
* @param {string | null} [searchString]
|
|
5407
5136
|
* @param {string | null} [contactId]
|
|
@@ -5417,18 +5146,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5417
5146
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5418
5147
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5419
5148
|
}
|
|
5420
|
-
/**
|
|
5421
|
-
* Conversations Update
|
|
5422
|
-
* @summary Conversations Update
|
|
5423
|
-
* @param {string} conversationId
|
|
5424
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
5425
|
-
* @param {*} [options] Override http request option.
|
|
5426
|
-
* @throws {RequiredError}
|
|
5427
|
-
* @memberof UnboundApi
|
|
5428
|
-
*/
|
|
5429
|
-
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
5430
|
-
return UnboundApiFp(this.configuration).conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5431
|
-
}
|
|
5432
5149
|
/**
|
|
5433
5150
|
* Emails Create
|
|
5434
5151
|
* @summary Emails Create
|
|
@@ -5550,9 +5267,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5550
5267
|
/**
|
|
5551
5268
|
* Messages List
|
|
5552
5269
|
* @summary Messages List
|
|
5270
|
+
* @param {string} [conversationId]
|
|
5553
5271
|
* @param {string | null} [searchString]
|
|
5554
|
-
* @param {string | null} [contactId]
|
|
5555
|
-
* @param {string | null} [conversationId]
|
|
5556
5272
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5557
5273
|
* @param {number} [limit]
|
|
5558
5274
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5562,8 +5278,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5562
5278
|
* @throws {RequiredError}
|
|
5563
5279
|
* @memberof UnboundApi
|
|
5564
5280
|
*/
|
|
5565
|
-
messagesList(
|
|
5566
|
-
return UnboundApiFp(this.configuration).messagesList(
|
|
5281
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5282
|
+
return UnboundApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5567
5283
|
}
|
|
5568
5284
|
/**
|
|
5569
5285
|
* Phones Create
|
|
@@ -5764,7 +5480,7 @@ var Configuration = class {
|
|
|
5764
5480
|
this.baseOptions = {
|
|
5765
5481
|
...param.baseOptions,
|
|
5766
5482
|
headers: {
|
|
5767
|
-
..._optionalChain([param, 'access',
|
|
5483
|
+
..._optionalChain([param, 'access', _298 => _298.baseOptions, 'optionalAccess', _299 => _299.headers])
|
|
5768
5484
|
}
|
|
5769
5485
|
};
|
|
5770
5486
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -5855,9 +5571,5 @@ var Configuration = class {
|
|
|
5855
5571
|
|
|
5856
5572
|
|
|
5857
5573
|
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsConversationsModelConversationsModelConversationSortBy = SrcResourceModelsConversationsModelConversationsModelConversationSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
5574
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsConversationsModelConversationsModelConversationSortBy = SrcResourceModelsConversationsModelConversationsModelConversationSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
5863
5575
|
//# sourceMappingURL=index.js.map
|