@ember-home/unbound-ts-client 0.0.42 → 0.0.44
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 +261 -403
- package/dist/index.d.ts +261 -403
- package/dist/index.js +386 -402
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +314 -330
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -85,6 +85,9 @@ var ConversationStatus = {
|
|
|
85
85
|
Open: "OPEN",
|
|
86
86
|
Closed: "CLOSED"
|
|
87
87
|
};
|
|
88
|
+
var EmailConversationDataApiConversationTypeEnum = {
|
|
89
|
+
Email: "EMAIL"
|
|
90
|
+
};
|
|
88
91
|
var ExternalStaffApiStaffTypeEnum = {
|
|
89
92
|
ExternalStaff: "EXTERNAL_STAFF"
|
|
90
93
|
};
|
|
@@ -166,32 +169,20 @@ var SrcResourceModelsContactsModelContactsModelContactSortBy = {
|
|
|
166
169
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
167
170
|
UpdatedAt: "updated_at"
|
|
168
171
|
};
|
|
169
|
-
var
|
|
170
|
-
Twilio: "TWILIO"
|
|
171
|
-
};
|
|
172
|
-
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
|
|
173
|
-
Email: "EMAIL"
|
|
174
|
-
};
|
|
175
|
-
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = {
|
|
172
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = {
|
|
176
173
|
RentalProvider: "RENTAL_PROVIDER"
|
|
177
174
|
};
|
|
178
|
-
var
|
|
175
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = {
|
|
179
176
|
Twilio: "TWILIO"
|
|
180
177
|
};
|
|
181
|
-
var
|
|
182
|
-
Email: "EMAIL"
|
|
183
|
-
};
|
|
184
|
-
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
185
|
-
Twilio: "TWILIO"
|
|
186
|
-
};
|
|
187
|
-
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = {
|
|
178
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = {
|
|
188
179
|
Email: "EMAIL"
|
|
189
180
|
};
|
|
190
181
|
var SrcResourceModelsListingsModelListingBaseSortBy = {
|
|
191
182
|
Title: "title"
|
|
192
183
|
};
|
|
193
184
|
var SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = {
|
|
194
|
-
|
|
185
|
+
SentAt: "sent_at"
|
|
195
186
|
};
|
|
196
187
|
var SrcResourceModelsReservationsModelReservationBaseModelSortBy = {
|
|
197
188
|
ArrivalAtPropertyTz: "arrival_at_property_tz"
|
|
@@ -1624,34 +1615,6 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1624
1615
|
};
|
|
1625
1616
|
var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
1626
1617
|
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
1618
|
/**
|
|
1656
1619
|
* Conversations Get
|
|
1657
1620
|
* @summary Conversations Get
|
|
@@ -1679,7 +1642,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1679
1642
|
};
|
|
1680
1643
|
},
|
|
1681
1644
|
/**
|
|
1682
|
-
* List all conversations,
|
|
1645
|
+
* List all conversations, must filter by contact_id
|
|
1683
1646
|
* @summary Conversations List
|
|
1684
1647
|
* @param {string | null} [searchString]
|
|
1685
1648
|
* @param {string | null} [contactId]
|
|
@@ -1730,36 +1693,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1730
1693
|
options: localVarRequestOptions
|
|
1731
1694
|
};
|
|
1732
1695
|
},
|
|
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
1696
|
/**
|
|
1764
1697
|
* Messages Create
|
|
1765
1698
|
* @summary Messages Create
|
|
@@ -1819,9 +1752,8 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1819
1752
|
/**
|
|
1820
1753
|
* Messages List
|
|
1821
1754
|
* @summary Messages List
|
|
1755
|
+
* @param {string} [conversationId]
|
|
1822
1756
|
* @param {string | null} [searchString]
|
|
1823
|
-
* @param {string | null} [contactId]
|
|
1824
|
-
* @param {string | null} [conversationId]
|
|
1825
1757
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1826
1758
|
* @param {number} [limit]
|
|
1827
1759
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1830,7 +1762,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1830
1762
|
* @param {*} [options] Override http request option.
|
|
1831
1763
|
* @throws {RequiredError}
|
|
1832
1764
|
*/
|
|
1833
|
-
messagesList: async (
|
|
1765
|
+
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
1834
1766
|
const localVarPath = `/messages`;
|
|
1835
1767
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1836
1768
|
let baseOptions;
|
|
@@ -1840,15 +1772,12 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1840
1772
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1841
1773
|
const localVarHeaderParameter = {};
|
|
1842
1774
|
const localVarQueryParameter = {};
|
|
1843
|
-
if (searchString !== void 0) {
|
|
1844
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
1845
|
-
}
|
|
1846
|
-
if (contactId !== void 0) {
|
|
1847
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
1848
|
-
}
|
|
1849
1775
|
if (conversationId !== void 0) {
|
|
1850
1776
|
localVarQueryParameter["conversationId"] = conversationId;
|
|
1851
1777
|
}
|
|
1778
|
+
if (searchString !== void 0) {
|
|
1779
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
1780
|
+
}
|
|
1852
1781
|
if (cursor !== void 0) {
|
|
1853
1782
|
localVarQueryParameter["cursor"] = cursor;
|
|
1854
1783
|
}
|
|
@@ -1877,19 +1806,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1877
1806
|
var ConversationsApiFp = function(configuration) {
|
|
1878
1807
|
const localVarAxiosParamCreator = ConversationsApiAxiosParamCreator(configuration);
|
|
1879
1808
|
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
1809
|
/**
|
|
1894
1810
|
* Conversations Get
|
|
1895
1811
|
* @summary Conversations Get
|
|
@@ -1899,12 +1815,12 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1899
1815
|
*/
|
|
1900
1816
|
async conversationsGet(conversationId, options) {
|
|
1901
1817
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1903
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1818
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1819
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ConversationsApi.conversationsGet"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1904
1820
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
1821
|
},
|
|
1906
1822
|
/**
|
|
1907
|
-
* List all conversations,
|
|
1823
|
+
* List all conversations, must filter by contact_id
|
|
1908
1824
|
* @summary Conversations List
|
|
1909
1825
|
* @param {string | null} [searchString]
|
|
1910
1826
|
* @param {string | null} [contactId]
|
|
@@ -1918,22 +1834,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1918
1834
|
*/
|
|
1919
1835
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1920
1836
|
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]);
|
|
1837
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1838
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsList"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1937
1839
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1938
1840
|
},
|
|
1939
1841
|
/**
|
|
@@ -1946,8 +1848,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1946
1848
|
*/
|
|
1947
1849
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1948
1850
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
1949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1950
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1851
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1852
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.messagesCreate"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1951
1853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1952
1854
|
},
|
|
1953
1855
|
/**
|
|
@@ -1959,16 +1861,15 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1959
1861
|
*/
|
|
1960
1862
|
async messagesGet(messageId, options) {
|
|
1961
1863
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1962
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1963
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1864
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1865
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.messagesGet"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1964
1866
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1965
1867
|
},
|
|
1966
1868
|
/**
|
|
1967
1869
|
* Messages List
|
|
1968
1870
|
* @summary Messages List
|
|
1871
|
+
* @param {string} [conversationId]
|
|
1969
1872
|
* @param {string | null} [searchString]
|
|
1970
|
-
* @param {string | null} [contactId]
|
|
1971
|
-
* @param {string | null} [conversationId]
|
|
1972
1873
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1973
1874
|
* @param {number} [limit]
|
|
1974
1875
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1977,10 +1878,10 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1977
1878
|
* @param {*} [options] Override http request option.
|
|
1978
1879
|
* @throws {RequiredError}
|
|
1979
1880
|
*/
|
|
1980
|
-
async messagesList(
|
|
1981
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(
|
|
1982
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1983
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1881
|
+
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1882
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1883
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
1884
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.messagesList"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1984
1885
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1985
1886
|
}
|
|
1986
1887
|
};
|
|
@@ -1988,16 +1889,6 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1988
1889
|
var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
1989
1890
|
const localVarFp = ConversationsApiFp(configuration);
|
|
1990
1891
|
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
1892
|
/**
|
|
2002
1893
|
* Conversations Get
|
|
2003
1894
|
* @summary Conversations Get
|
|
@@ -2009,7 +1900,7 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2009
1900
|
return localVarFp.conversationsGet(conversationId, options).then((request) => request(axios, basePath));
|
|
2010
1901
|
},
|
|
2011
1902
|
/**
|
|
2012
|
-
* List all conversations,
|
|
1903
|
+
* List all conversations, must filter by contact_id
|
|
2013
1904
|
* @summary Conversations List
|
|
2014
1905
|
* @param {string | null} [searchString]
|
|
2015
1906
|
* @param {string | null} [contactId]
|
|
@@ -2024,17 +1915,6 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2024
1915
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2025
1916
|
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2026
1917
|
},
|
|
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
1918
|
/**
|
|
2039
1919
|
* Messages Create
|
|
2040
1920
|
* @summary Messages Create
|
|
@@ -2059,9 +1939,8 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2059
1939
|
/**
|
|
2060
1940
|
* Messages List
|
|
2061
1941
|
* @summary Messages List
|
|
1942
|
+
* @param {string} [conversationId]
|
|
2062
1943
|
* @param {string | null} [searchString]
|
|
2063
|
-
* @param {string | null} [contactId]
|
|
2064
|
-
* @param {string | null} [conversationId]
|
|
2065
1944
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2066
1945
|
* @param {number} [limit]
|
|
2067
1946
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -2070,23 +1949,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2070
1949
|
* @param {*} [options] Override http request option.
|
|
2071
1950
|
* @throws {RequiredError}
|
|
2072
1951
|
*/
|
|
2073
|
-
messagesList(
|
|
2074
|
-
return localVarFp.messagesList(
|
|
1952
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1953
|
+
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2075
1954
|
}
|
|
2076
1955
|
};
|
|
2077
1956
|
};
|
|
2078
1957
|
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
1958
|
/**
|
|
2091
1959
|
* Conversations Get
|
|
2092
1960
|
* @summary Conversations Get
|
|
@@ -2099,7 +1967,7 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2099
1967
|
return ConversationsApiFp(this.configuration).conversationsGet(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2100
1968
|
}
|
|
2101
1969
|
/**
|
|
2102
|
-
* List all conversations,
|
|
1970
|
+
* List all conversations, must filter by contact_id
|
|
2103
1971
|
* @summary Conversations List
|
|
2104
1972
|
* @param {string | null} [searchString]
|
|
2105
1973
|
* @param {string | null} [contactId]
|
|
@@ -2115,18 +1983,6 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2115
1983
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2116
1984
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2117
1985
|
}
|
|
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
1986
|
/**
|
|
2131
1987
|
* Messages Create
|
|
2132
1988
|
* @summary Messages Create
|
|
@@ -2153,9 +2009,8 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2153
2009
|
/**
|
|
2154
2010
|
* Messages List
|
|
2155
2011
|
* @summary Messages List
|
|
2012
|
+
* @param {string} [conversationId]
|
|
2156
2013
|
* @param {string | null} [searchString]
|
|
2157
|
-
* @param {string | null} [contactId]
|
|
2158
|
-
* @param {string | null} [conversationId]
|
|
2159
2014
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2160
2015
|
* @param {number} [limit]
|
|
2161
2016
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -2165,8 +2020,8 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2165
2020
|
* @throws {RequiredError}
|
|
2166
2021
|
* @memberof ConversationsApi
|
|
2167
2022
|
*/
|
|
2168
|
-
messagesList(
|
|
2169
|
-
return ConversationsApiFp(this.configuration).messagesList(
|
|
2023
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2024
|
+
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2170
2025
|
}
|
|
2171
2026
|
};
|
|
2172
2027
|
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
@@ -2214,8 +2069,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2214
2069
|
*/
|
|
2215
2070
|
async webhook(hostawayWebhook, options) {
|
|
2216
2071
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2217
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2218
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2072
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2073
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["HostawayApi.webhook"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2219
2074
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2220
2075
|
}
|
|
2221
2076
|
};
|
|
@@ -2292,8 +2147,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2292
2147
|
*/
|
|
2293
2148
|
async inquiriesList(contactId, options) {
|
|
2294
2149
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2295
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2296
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2150
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2151
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["InquiriesApi.inquiriesList"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2297
2152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2298
2153
|
}
|
|
2299
2154
|
};
|
|
@@ -2420,8 +2275,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2420
2275
|
*/
|
|
2421
2276
|
async listingsGet(listingId, options) {
|
|
2422
2277
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2423
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2424
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2278
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2279
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["ListingsApi.listingsGet"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2425
2280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2426
2281
|
},
|
|
2427
2282
|
/**
|
|
@@ -2439,8 +2294,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2439
2294
|
*/
|
|
2440
2295
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2441
2296
|
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',
|
|
2297
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2298
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["ListingsApi.listingsList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2444
2299
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2445
2300
|
}
|
|
2446
2301
|
};
|
|
@@ -2545,8 +2400,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2545
2400
|
*/
|
|
2546
2401
|
async managedPhoneNumbersList(options) {
|
|
2547
2402
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2548
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2549
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2403
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2404
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2550
2405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2551
2406
|
}
|
|
2552
2407
|
};
|
|
@@ -2701,8 +2556,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2701
2556
|
*/
|
|
2702
2557
|
async providersCreate(aPIProviderCreate, options) {
|
|
2703
2558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2704
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2705
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2559
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2560
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["ProvidersApi.providersCreate"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2706
2561
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2707
2562
|
},
|
|
2708
2563
|
/**
|
|
@@ -2714,8 +2569,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2714
2569
|
*/
|
|
2715
2570
|
async providersGet(providerId, options) {
|
|
2716
2571
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2717
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2718
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2572
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2573
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ProvidersApi.providersGet"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2719
2574
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2720
2575
|
},
|
|
2721
2576
|
/**
|
|
@@ -2726,8 +2581,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2726
2581
|
*/
|
|
2727
2582
|
async providersList(options) {
|
|
2728
2583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2729
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2730
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2584
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2585
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ProvidersApi.providersList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2731
2586
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2732
2587
|
},
|
|
2733
2588
|
/**
|
|
@@ -2740,8 +2595,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2740
2595
|
*/
|
|
2741
2596
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2742
2597
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2743
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2744
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2598
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2599
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ProvidersApi.providersUpdate"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2745
2600
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2746
2601
|
}
|
|
2747
2602
|
};
|
|
@@ -2931,8 +2786,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2931
2786
|
*/
|
|
2932
2787
|
async reservationsGet(reservationId, options) {
|
|
2933
2788
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2934
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2935
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2789
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2790
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ReservationsApi.reservationsGet"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2936
2791
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2937
2792
|
},
|
|
2938
2793
|
/**
|
|
@@ -2950,8 +2805,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2950
2805
|
*/
|
|
2951
2806
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2952
2807
|
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',
|
|
2808
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2809
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ReservationsApi.reservationsList"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2955
2810
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2956
2811
|
}
|
|
2957
2812
|
};
|
|
@@ -3017,6 +2872,146 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
3017
2872
|
return ReservationsApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3018
2873
|
}
|
|
3019
2874
|
};
|
|
2875
|
+
var SuggestedRepliesApiAxiosParamCreator = function(configuration) {
|
|
2876
|
+
return {
|
|
2877
|
+
/**
|
|
2878
|
+
* SuggestedReplies Create
|
|
2879
|
+
* @summary SuggestedReplies Create
|
|
2880
|
+
* @param {object} body
|
|
2881
|
+
* @param {*} [options] Override http request option.
|
|
2882
|
+
* @throws {RequiredError}
|
|
2883
|
+
*/
|
|
2884
|
+
suggestedRepliesCreate: async (body, options = {}) => {
|
|
2885
|
+
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
2886
|
+
const localVarPath = `/suggestedReplies`;
|
|
2887
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2888
|
+
let baseOptions;
|
|
2889
|
+
if (configuration) {
|
|
2890
|
+
baseOptions = configuration.baseOptions;
|
|
2891
|
+
}
|
|
2892
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2893
|
+
const localVarHeaderParameter = {};
|
|
2894
|
+
const localVarQueryParameter = {};
|
|
2895
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2898
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2900
|
+
return {
|
|
2901
|
+
url: toPathString(localVarUrlObj),
|
|
2902
|
+
options: localVarRequestOptions
|
|
2903
|
+
};
|
|
2904
|
+
},
|
|
2905
|
+
/**
|
|
2906
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2907
|
+
* @summary SuggestedReplies List
|
|
2908
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2909
|
+
* @param {*} [options] Override http request option.
|
|
2910
|
+
* @throws {RequiredError}
|
|
2911
|
+
*/
|
|
2912
|
+
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
2913
|
+
const localVarPath = `/suggestedReplies`;
|
|
2914
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2915
|
+
let baseOptions;
|
|
2916
|
+
if (configuration) {
|
|
2917
|
+
baseOptions = configuration.baseOptions;
|
|
2918
|
+
}
|
|
2919
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2920
|
+
const localVarHeaderParameter = {};
|
|
2921
|
+
const localVarQueryParameter = {};
|
|
2922
|
+
if (conversationId !== void 0) {
|
|
2923
|
+
localVarQueryParameter["conversationId"] = conversationId;
|
|
2924
|
+
}
|
|
2925
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2926
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2927
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2928
|
+
return {
|
|
2929
|
+
url: toPathString(localVarUrlObj),
|
|
2930
|
+
options: localVarRequestOptions
|
|
2931
|
+
};
|
|
2932
|
+
}
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
var SuggestedRepliesApiFp = function(configuration) {
|
|
2936
|
+
const localVarAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator(configuration);
|
|
2937
|
+
return {
|
|
2938
|
+
/**
|
|
2939
|
+
* SuggestedReplies Create
|
|
2940
|
+
* @summary SuggestedReplies Create
|
|
2941
|
+
* @param {object} body
|
|
2942
|
+
* @param {*} [options] Override http request option.
|
|
2943
|
+
* @throws {RequiredError}
|
|
2944
|
+
*/
|
|
2945
|
+
async suggestedRepliesCreate(body, options) {
|
|
2946
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
2947
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2948
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["SuggestedRepliesApi.suggestedRepliesCreate"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2949
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2950
|
+
},
|
|
2951
|
+
/**
|
|
2952
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2953
|
+
* @summary SuggestedReplies List
|
|
2954
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2955
|
+
* @param {*} [options] Override http request option.
|
|
2956
|
+
* @throws {RequiredError}
|
|
2957
|
+
*/
|
|
2958
|
+
async suggestedRepliesList(conversationId, options) {
|
|
2959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
2960
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2961
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["SuggestedRepliesApi.suggestedRepliesList"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2962
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2963
|
+
}
|
|
2964
|
+
};
|
|
2965
|
+
};
|
|
2966
|
+
var SuggestedRepliesApiFactory = function(configuration, basePath, axios) {
|
|
2967
|
+
const localVarFp = SuggestedRepliesApiFp(configuration);
|
|
2968
|
+
return {
|
|
2969
|
+
/**
|
|
2970
|
+
* SuggestedReplies Create
|
|
2971
|
+
* @summary SuggestedReplies Create
|
|
2972
|
+
* @param {object} body
|
|
2973
|
+
* @param {*} [options] Override http request option.
|
|
2974
|
+
* @throws {RequiredError}
|
|
2975
|
+
*/
|
|
2976
|
+
suggestedRepliesCreate(body, options) {
|
|
2977
|
+
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
2978
|
+
},
|
|
2979
|
+
/**
|
|
2980
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2981
|
+
* @summary SuggestedReplies List
|
|
2982
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2983
|
+
* @param {*} [options] Override http request option.
|
|
2984
|
+
* @throws {RequiredError}
|
|
2985
|
+
*/
|
|
2986
|
+
suggestedRepliesList(conversationId, options) {
|
|
2987
|
+
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
2988
|
+
}
|
|
2989
|
+
};
|
|
2990
|
+
};
|
|
2991
|
+
var SuggestedRepliesApi = class extends BaseAPI {
|
|
2992
|
+
/**
|
|
2993
|
+
* SuggestedReplies Create
|
|
2994
|
+
* @summary SuggestedReplies Create
|
|
2995
|
+
* @param {object} body
|
|
2996
|
+
* @param {*} [options] Override http request option.
|
|
2997
|
+
* @throws {RequiredError}
|
|
2998
|
+
* @memberof SuggestedRepliesApi
|
|
2999
|
+
*/
|
|
3000
|
+
suggestedRepliesCreate(body, options) {
|
|
3001
|
+
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
3005
|
+
* @summary SuggestedReplies List
|
|
3006
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
3007
|
+
* @param {*} [options] Override http request option.
|
|
3008
|
+
* @throws {RequiredError}
|
|
3009
|
+
* @memberof SuggestedRepliesApi
|
|
3010
|
+
*/
|
|
3011
|
+
suggestedRepliesList(conversationId, options) {
|
|
3012
|
+
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
3013
|
+
}
|
|
3014
|
+
};
|
|
3020
3015
|
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
3021
3016
|
return {
|
|
3022
3017
|
/**
|
|
@@ -3409,34 +3404,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3409
3404
|
options: localVarRequestOptions
|
|
3410
3405
|
};
|
|
3411
3406
|
},
|
|
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
3407
|
/**
|
|
3441
3408
|
* Conversations Get
|
|
3442
3409
|
* @summary Conversations Get
|
|
@@ -3464,7 +3431,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3464
3431
|
};
|
|
3465
3432
|
},
|
|
3466
3433
|
/**
|
|
3467
|
-
* List all conversations,
|
|
3434
|
+
* List all conversations, must filter by contact_id
|
|
3468
3435
|
* @summary Conversations List
|
|
3469
3436
|
* @param {string | null} [searchString]
|
|
3470
3437
|
* @param {string | null} [contactId]
|
|
@@ -3515,36 +3482,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3515
3482
|
options: localVarRequestOptions
|
|
3516
3483
|
};
|
|
3517
3484
|
},
|
|
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
3485
|
/**
|
|
3549
3486
|
* Emails Create
|
|
3550
3487
|
* @summary Emails Create
|
|
@@ -3846,9 +3783,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3846
3783
|
/**
|
|
3847
3784
|
* Messages List
|
|
3848
3785
|
* @summary Messages List
|
|
3786
|
+
* @param {string} [conversationId]
|
|
3849
3787
|
* @param {string | null} [searchString]
|
|
3850
|
-
* @param {string | null} [contactId]
|
|
3851
|
-
* @param {string | null} [conversationId]
|
|
3852
3788
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3853
3789
|
* @param {number} [limit]
|
|
3854
3790
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -3857,7 +3793,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3857
3793
|
* @param {*} [options] Override http request option.
|
|
3858
3794
|
* @throws {RequiredError}
|
|
3859
3795
|
*/
|
|
3860
|
-
messagesList: async (
|
|
3796
|
+
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
3861
3797
|
const localVarPath = `/messages`;
|
|
3862
3798
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3863
3799
|
let baseOptions;
|
|
@@ -3867,15 +3803,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3867
3803
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3868
3804
|
const localVarHeaderParameter = {};
|
|
3869
3805
|
const localVarQueryParameter = {};
|
|
3870
|
-
if (searchString !== void 0) {
|
|
3871
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
3872
|
-
}
|
|
3873
|
-
if (contactId !== void 0) {
|
|
3874
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
3875
|
-
}
|
|
3876
3806
|
if (conversationId !== void 0) {
|
|
3877
3807
|
localVarQueryParameter["conversationId"] = conversationId;
|
|
3878
3808
|
}
|
|
3809
|
+
if (searchString !== void 0) {
|
|
3810
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
3811
|
+
}
|
|
3879
3812
|
if (cursor !== void 0) {
|
|
3880
3813
|
localVarQueryParameter["cursor"] = cursor;
|
|
3881
3814
|
}
|
|
@@ -4197,6 +4130,62 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4197
4130
|
options: localVarRequestOptions
|
|
4198
4131
|
};
|
|
4199
4132
|
},
|
|
4133
|
+
/**
|
|
4134
|
+
* SuggestedReplies Create
|
|
4135
|
+
* @summary SuggestedReplies Create
|
|
4136
|
+
* @param {object} body
|
|
4137
|
+
* @param {*} [options] Override http request option.
|
|
4138
|
+
* @throws {RequiredError}
|
|
4139
|
+
*/
|
|
4140
|
+
suggestedRepliesCreate: async (body, options = {}) => {
|
|
4141
|
+
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
4142
|
+
const localVarPath = `/suggestedReplies`;
|
|
4143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4144
|
+
let baseOptions;
|
|
4145
|
+
if (configuration) {
|
|
4146
|
+
baseOptions = configuration.baseOptions;
|
|
4147
|
+
}
|
|
4148
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4149
|
+
const localVarHeaderParameter = {};
|
|
4150
|
+
const localVarQueryParameter = {};
|
|
4151
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4154
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4155
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
4156
|
+
return {
|
|
4157
|
+
url: toPathString(localVarUrlObj),
|
|
4158
|
+
options: localVarRequestOptions
|
|
4159
|
+
};
|
|
4160
|
+
},
|
|
4161
|
+
/**
|
|
4162
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
4163
|
+
* @summary SuggestedReplies List
|
|
4164
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
4165
|
+
* @param {*} [options] Override http request option.
|
|
4166
|
+
* @throws {RequiredError}
|
|
4167
|
+
*/
|
|
4168
|
+
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
4169
|
+
const localVarPath = `/suggestedReplies`;
|
|
4170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4171
|
+
let baseOptions;
|
|
4172
|
+
if (configuration) {
|
|
4173
|
+
baseOptions = configuration.baseOptions;
|
|
4174
|
+
}
|
|
4175
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4176
|
+
const localVarHeaderParameter = {};
|
|
4177
|
+
const localVarQueryParameter = {};
|
|
4178
|
+
if (conversationId !== void 0) {
|
|
4179
|
+
localVarQueryParameter["conversationId"] = conversationId;
|
|
4180
|
+
}
|
|
4181
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4182
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4183
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4184
|
+
return {
|
|
4185
|
+
url: toPathString(localVarUrlObj),
|
|
4186
|
+
options: localVarRequestOptions
|
|
4187
|
+
};
|
|
4188
|
+
},
|
|
4200
4189
|
/**
|
|
4201
4190
|
*
|
|
4202
4191
|
* @summary Unifiedwebhook
|
|
@@ -4413,19 +4402,6 @@ var UnboundApiFp = function(configuration) {
|
|
|
4413
4402
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.contactsUpdateListing"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4414
4403
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4415
4404
|
},
|
|
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]);
|
|
4427
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4428
|
-
},
|
|
4429
4405
|
/**
|
|
4430
4406
|
* Conversations Get
|
|
4431
4407
|
* @summary Conversations Get
|
|
@@ -4435,12 +4411,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4435
4411
|
*/
|
|
4436
4412
|
async conversationsGet(conversationId, options) {
|
|
4437
4413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4438
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4439
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4414
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4415
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.conversationsGet"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4440
4416
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4441
4417
|
},
|
|
4442
4418
|
/**
|
|
4443
|
-
* List all conversations,
|
|
4419
|
+
* List all conversations, must filter by contact_id
|
|
4444
4420
|
* @summary Conversations List
|
|
4445
4421
|
* @param {string | null} [searchString]
|
|
4446
4422
|
* @param {string | null} [contactId]
|
|
@@ -4454,22 +4430,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4454
4430
|
*/
|
|
4455
4431
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4456
4432
|
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]);
|
|
4433
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4434
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.conversationsList"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4473
4435
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4474
4436
|
},
|
|
4475
4437
|
/**
|
|
@@ -4482,8 +4444,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4482
4444
|
*/
|
|
4483
4445
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4484
4446
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4485
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4486
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4447
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4448
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.emailsCreate"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4487
4449
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4488
4450
|
},
|
|
4489
4451
|
/**
|
|
@@ -4495,8 +4457,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4495
4457
|
*/
|
|
4496
4458
|
async emailsDelete(emailId, options) {
|
|
4497
4459
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4498
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4499
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4460
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4461
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.emailsDelete"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4500
4462
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4501
4463
|
},
|
|
4502
4464
|
/**
|
|
@@ -4508,8 +4470,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4508
4470
|
*/
|
|
4509
4471
|
async emailsGet(emailId, options) {
|
|
4510
4472
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4511
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4512
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4473
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4474
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.emailsGet"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4513
4475
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4514
4476
|
},
|
|
4515
4477
|
/**
|
|
@@ -4522,8 +4484,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4522
4484
|
*/
|
|
4523
4485
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4524
4486
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4525
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4526
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4487
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4488
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.emailsUpdate"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4527
4489
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4528
4490
|
},
|
|
4529
4491
|
/**
|
|
@@ -4535,8 +4497,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4535
4497
|
*/
|
|
4536
4498
|
async inquiriesList(contactId, options) {
|
|
4537
4499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4538
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4539
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4500
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4501
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.inquiriesList"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4540
4502
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4541
4503
|
},
|
|
4542
4504
|
/**
|
|
@@ -4548,8 +4510,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4548
4510
|
*/
|
|
4549
4511
|
async listingsGet(listingId, options) {
|
|
4550
4512
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4551
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4552
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4513
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4514
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.listingsGet"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4553
4515
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4554
4516
|
},
|
|
4555
4517
|
/**
|
|
@@ -4567,8 +4529,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4567
4529
|
*/
|
|
4568
4530
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4569
4531
|
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',
|
|
4532
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4533
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.listingsList"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4572
4534
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4573
4535
|
},
|
|
4574
4536
|
/**
|
|
@@ -4579,8 +4541,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4579
4541
|
*/
|
|
4580
4542
|
async managedPhoneNumbersList(options) {
|
|
4581
4543
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4582
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4583
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4544
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4545
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4584
4546
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4585
4547
|
},
|
|
4586
4548
|
/**
|
|
@@ -4593,8 +4555,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4593
4555
|
*/
|
|
4594
4556
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4595
4557
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4596
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4597
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4558
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4559
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.messagesCreate"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4598
4560
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4599
4561
|
},
|
|
4600
4562
|
/**
|
|
@@ -4606,16 +4568,15 @@ var UnboundApiFp = function(configuration) {
|
|
|
4606
4568
|
*/
|
|
4607
4569
|
async messagesGet(messageId, options) {
|
|
4608
4570
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4609
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4610
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4571
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4572
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.messagesGet"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4611
4573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4612
4574
|
},
|
|
4613
4575
|
/**
|
|
4614
4576
|
* Messages List
|
|
4615
4577
|
* @summary Messages List
|
|
4578
|
+
* @param {string} [conversationId]
|
|
4616
4579
|
* @param {string | null} [searchString]
|
|
4617
|
-
* @param {string | null} [contactId]
|
|
4618
|
-
* @param {string | null} [conversationId]
|
|
4619
4580
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4620
4581
|
* @param {number} [limit]
|
|
4621
4582
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -4624,10 +4585,10 @@ var UnboundApiFp = function(configuration) {
|
|
|
4624
4585
|
* @param {*} [options] Override http request option.
|
|
4625
4586
|
* @throws {RequiredError}
|
|
4626
4587
|
*/
|
|
4627
|
-
async messagesList(
|
|
4628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(
|
|
4629
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4630
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4588
|
+
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4590
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4591
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.messagesList"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4631
4592
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4632
4593
|
},
|
|
4633
4594
|
/**
|
|
@@ -4640,8 +4601,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4640
4601
|
*/
|
|
4641
4602
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4642
4603
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4643
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4644
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4604
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4605
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.phonesCreate"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4645
4606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4646
4607
|
},
|
|
4647
4608
|
/**
|
|
@@ -4653,8 +4614,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4653
4614
|
*/
|
|
4654
4615
|
async phonesDelete(phoneId, options) {
|
|
4655
4616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4656
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4657
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4617
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4618
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.phonesDelete"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4658
4619
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4659
4620
|
},
|
|
4660
4621
|
/**
|
|
@@ -4666,8 +4627,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4666
4627
|
*/
|
|
4667
4628
|
async phonesGet(phoneId, options) {
|
|
4668
4629
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4669
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4670
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4630
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4631
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.phonesGet"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4671
4632
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4672
4633
|
},
|
|
4673
4634
|
/**
|
|
@@ -4680,8 +4641,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4680
4641
|
*/
|
|
4681
4642
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4682
4643
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4683
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4684
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4644
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4645
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.phonesUpdate"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4685
4646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4686
4647
|
},
|
|
4687
4648
|
/**
|
|
@@ -4693,8 +4654,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4693
4654
|
*/
|
|
4694
4655
|
async providersCreate(aPIProviderCreate, options) {
|
|
4695
4656
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4696
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4697
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4657
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4658
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.providersCreate"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4698
4659
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4699
4660
|
},
|
|
4700
4661
|
/**
|
|
@@ -4706,8 +4667,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4706
4667
|
*/
|
|
4707
4668
|
async providersGet(providerId, options) {
|
|
4708
4669
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4709
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4710
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4670
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4671
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.providersGet"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4711
4672
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4712
4673
|
},
|
|
4713
4674
|
/**
|
|
@@ -4718,8 +4679,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4718
4679
|
*/
|
|
4719
4680
|
async providersList(options) {
|
|
4720
4681
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
4721
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4722
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4682
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4683
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.providersList"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4723
4684
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4724
4685
|
},
|
|
4725
4686
|
/**
|
|
@@ -4732,8 +4693,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4732
4693
|
*/
|
|
4733
4694
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
4734
4695
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
4735
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4736
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4696
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4697
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.providersUpdate"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4737
4698
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4738
4699
|
},
|
|
4739
4700
|
/**
|
|
@@ -4745,8 +4706,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4745
4706
|
*/
|
|
4746
4707
|
async reservationsGet(reservationId, options) {
|
|
4747
4708
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
4748
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4749
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4709
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4710
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.reservationsGet"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4750
4711
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4751
4712
|
},
|
|
4752
4713
|
/**
|
|
@@ -4764,8 +4725,34 @@ var UnboundApiFp = function(configuration) {
|
|
|
4764
4725
|
*/
|
|
4765
4726
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4766
4727
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4728
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4729
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.reservationsList"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4730
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4731
|
+
},
|
|
4732
|
+
/**
|
|
4733
|
+
* SuggestedReplies Create
|
|
4734
|
+
* @summary SuggestedReplies Create
|
|
4735
|
+
* @param {object} body
|
|
4736
|
+
* @param {*} [options] Override http request option.
|
|
4737
|
+
* @throws {RequiredError}
|
|
4738
|
+
*/
|
|
4739
|
+
async suggestedRepliesCreate(body, options) {
|
|
4740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
4741
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4742
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.suggestedRepliesCreate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4743
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4744
|
+
},
|
|
4745
|
+
/**
|
|
4746
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
4747
|
+
* @summary SuggestedReplies List
|
|
4748
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
4749
|
+
* @param {*} [options] Override http request option.
|
|
4750
|
+
* @throws {RequiredError}
|
|
4751
|
+
*/
|
|
4752
|
+
async suggestedRepliesList(conversationId, options) {
|
|
4753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
4767
4754
|
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4768
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.
|
|
4755
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.suggestedRepliesList"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
4769
4756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4770
4757
|
},
|
|
4771
4758
|
/**
|
|
@@ -4929,16 +4916,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4929
4916
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4930
4917
|
return localVarFp.contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(axios, basePath));
|
|
4931
4918
|
},
|
|
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
4919
|
/**
|
|
4943
4920
|
* Conversations Get
|
|
4944
4921
|
* @summary Conversations Get
|
|
@@ -4950,7 +4927,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4950
4927
|
return localVarFp.conversationsGet(conversationId, options).then((request) => request(axios, basePath));
|
|
4951
4928
|
},
|
|
4952
4929
|
/**
|
|
4953
|
-
* List all conversations,
|
|
4930
|
+
* List all conversations, must filter by contact_id
|
|
4954
4931
|
* @summary Conversations List
|
|
4955
4932
|
* @param {string | null} [searchString]
|
|
4956
4933
|
* @param {string | null} [contactId]
|
|
@@ -4965,17 +4942,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4965
4942
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4966
4943
|
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
4967
4944
|
},
|
|
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
4945
|
/**
|
|
4980
4946
|
* Emails Create
|
|
4981
4947
|
* @summary Emails Create
|
|
@@ -5087,9 +5053,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5087
5053
|
/**
|
|
5088
5054
|
* Messages List
|
|
5089
5055
|
* @summary Messages List
|
|
5056
|
+
* @param {string} [conversationId]
|
|
5090
5057
|
* @param {string | null} [searchString]
|
|
5091
|
-
* @param {string | null} [contactId]
|
|
5092
|
-
* @param {string | null} [conversationId]
|
|
5093
5058
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5094
5059
|
* @param {number} [limit]
|
|
5095
5060
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5098,8 +5063,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5098
5063
|
* @param {*} [options] Override http request option.
|
|
5099
5064
|
* @throws {RequiredError}
|
|
5100
5065
|
*/
|
|
5101
|
-
messagesList(
|
|
5102
|
-
return localVarFp.messagesList(
|
|
5066
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5067
|
+
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5103
5068
|
},
|
|
5104
5069
|
/**
|
|
5105
5070
|
* Phones Create
|
|
@@ -5209,6 +5174,26 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5209
5174
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5210
5175
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5211
5176
|
},
|
|
5177
|
+
/**
|
|
5178
|
+
* SuggestedReplies Create
|
|
5179
|
+
* @summary SuggestedReplies Create
|
|
5180
|
+
* @param {object} body
|
|
5181
|
+
* @param {*} [options] Override http request option.
|
|
5182
|
+
* @throws {RequiredError}
|
|
5183
|
+
*/
|
|
5184
|
+
suggestedRepliesCreate(body, options) {
|
|
5185
|
+
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
5186
|
+
},
|
|
5187
|
+
/**
|
|
5188
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
5189
|
+
* @summary SuggestedReplies List
|
|
5190
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5191
|
+
* @param {*} [options] Override http request option.
|
|
5192
|
+
* @throws {RequiredError}
|
|
5193
|
+
*/
|
|
5194
|
+
suggestedRepliesList(conversationId, options) {
|
|
5195
|
+
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
5196
|
+
},
|
|
5212
5197
|
/**
|
|
5213
5198
|
*
|
|
5214
5199
|
* @summary Unifiedwebhook
|
|
@@ -5378,17 +5363,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5378
5363
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
5379
5364
|
return UnboundApiFp(this.configuration).contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(this.axios, this.basePath));
|
|
5380
5365
|
}
|
|
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
5366
|
/**
|
|
5393
5367
|
* Conversations Get
|
|
5394
5368
|
* @summary Conversations Get
|
|
@@ -5401,7 +5375,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5401
5375
|
return UnboundApiFp(this.configuration).conversationsGet(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5402
5376
|
}
|
|
5403
5377
|
/**
|
|
5404
|
-
* List all conversations,
|
|
5378
|
+
* List all conversations, must filter by contact_id
|
|
5405
5379
|
* @summary Conversations List
|
|
5406
5380
|
* @param {string | null} [searchString]
|
|
5407
5381
|
* @param {string | null} [contactId]
|
|
@@ -5417,18 +5391,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5417
5391
|
conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5418
5392
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5419
5393
|
}
|
|
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
5394
|
/**
|
|
5433
5395
|
* Emails Create
|
|
5434
5396
|
* @summary Emails Create
|
|
@@ -5550,9 +5512,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5550
5512
|
/**
|
|
5551
5513
|
* Messages List
|
|
5552
5514
|
* @summary Messages List
|
|
5515
|
+
* @param {string} [conversationId]
|
|
5553
5516
|
* @param {string | null} [searchString]
|
|
5554
|
-
* @param {string | null} [contactId]
|
|
5555
|
-
* @param {string | null} [conversationId]
|
|
5556
5517
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5557
5518
|
* @param {number} [limit]
|
|
5558
5519
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5562,8 +5523,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5562
5523
|
* @throws {RequiredError}
|
|
5563
5524
|
* @memberof UnboundApi
|
|
5564
5525
|
*/
|
|
5565
|
-
messagesList(
|
|
5566
|
-
return UnboundApiFp(this.configuration).messagesList(
|
|
5526
|
+
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5527
|
+
return UnboundApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5567
5528
|
}
|
|
5568
5529
|
/**
|
|
5569
5530
|
* Phones Create
|
|
@@ -5683,6 +5644,28 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5683
5644
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5684
5645
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5685
5646
|
}
|
|
5647
|
+
/**
|
|
5648
|
+
* SuggestedReplies Create
|
|
5649
|
+
* @summary SuggestedReplies Create
|
|
5650
|
+
* @param {object} body
|
|
5651
|
+
* @param {*} [options] Override http request option.
|
|
5652
|
+
* @throws {RequiredError}
|
|
5653
|
+
* @memberof UnboundApi
|
|
5654
|
+
*/
|
|
5655
|
+
suggestedRepliesCreate(body, options) {
|
|
5656
|
+
return UnboundApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
5657
|
+
}
|
|
5658
|
+
/**
|
|
5659
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
5660
|
+
* @summary SuggestedReplies List
|
|
5661
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5662
|
+
* @param {*} [options] Override http request option.
|
|
5663
|
+
* @throws {RequiredError}
|
|
5664
|
+
* @memberof UnboundApi
|
|
5665
|
+
*/
|
|
5666
|
+
suggestedRepliesList(conversationId, options) {
|
|
5667
|
+
return UnboundApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5668
|
+
}
|
|
5686
5669
|
/**
|
|
5687
5670
|
*
|
|
5688
5671
|
* @summary Unifiedwebhook
|
|
@@ -5859,5 +5842,6 @@ var Configuration = class {
|
|
|
5859
5842
|
|
|
5860
5843
|
|
|
5861
5844
|
|
|
5862
|
-
|
|
5845
|
+
|
|
5846
|
+
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.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; 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.SuggestedRepliesApi = SuggestedRepliesApi; exports.SuggestedRepliesApiAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator; exports.SuggestedRepliesApiFactory = SuggestedRepliesApiFactory; exports.SuggestedRepliesApiFp = SuggestedRepliesApiFp; 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
5847
|
//# sourceMappingURL=index.js.map
|