@ember-home/unbound-ts-client 0.0.100 → 0.0.104
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 +1642 -1259
- package/dist/index.d.ts +1642 -1259
- package/dist/index.js +2048 -1809
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1934 -1695
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75,9 +75,9 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
var APIContentVersionParentResourceEnum = {
|
|
79
|
+
Listing: "LISTING",
|
|
80
|
+
Tag: "TAG"
|
|
81
81
|
};
|
|
82
82
|
var BotApiParticipantTypeEnum = {
|
|
83
83
|
Bot: "BOT"
|
|
@@ -85,6 +85,10 @@ var BotApiParticipantTypeEnum = {
|
|
|
85
85
|
var ContactListingType = {
|
|
86
86
|
Owner: "OWNER"
|
|
87
87
|
};
|
|
88
|
+
var ContentParentResource = {
|
|
89
|
+
Listing: "LISTING",
|
|
90
|
+
Tag: "TAG"
|
|
91
|
+
};
|
|
88
92
|
var ConversationStatus = {
|
|
89
93
|
Open: "OPEN",
|
|
90
94
|
Closed: "CLOSED"
|
|
@@ -101,7 +105,10 @@ var EmailProviderMessageApiMessageTypeEnum = {
|
|
|
101
105
|
var ExternalStaffApiStaffTypeEnum = {
|
|
102
106
|
ExternalStaff: "EXTERNAL_STAFF"
|
|
103
107
|
};
|
|
104
|
-
var
|
|
108
|
+
var FileContentContentTypeEnum = {
|
|
109
|
+
File: "file"
|
|
110
|
+
};
|
|
111
|
+
var FileContentApiContentTypeEnum = {
|
|
105
112
|
File: "file"
|
|
106
113
|
};
|
|
107
114
|
var GuestApiParticipantTypeEnum = {
|
|
@@ -131,7 +138,10 @@ var PaginationDirection = {
|
|
|
131
138
|
var PhoneInboxApiInboxTypeEnum = {
|
|
132
139
|
Text: "TEXT"
|
|
133
140
|
};
|
|
134
|
-
var
|
|
141
|
+
var PlainTextContentContentTypeEnum = {
|
|
142
|
+
PlainText: "plain_text"
|
|
143
|
+
};
|
|
144
|
+
var PlainTextContentApiContentTypeEnum = {
|
|
135
145
|
PlainText: "plain_text"
|
|
136
146
|
};
|
|
137
147
|
var ProviderAccountInboxApiInboxTypeEnum = {
|
|
@@ -264,7 +274,10 @@ var SuggestionStatus = {
|
|
|
264
274
|
ReplyGenerated: "REPLY_GENERATED",
|
|
265
275
|
NoAvailableReply: "NO_AVAILABLE_REPLY"
|
|
266
276
|
};
|
|
267
|
-
var
|
|
277
|
+
var URLContentContentTypeEnum = {
|
|
278
|
+
Url: "url"
|
|
279
|
+
};
|
|
280
|
+
var URLContentApiContentTypeEnum = {
|
|
268
281
|
Url: "url"
|
|
269
282
|
};
|
|
270
283
|
var UserDeviceOs = {
|
|
@@ -1833,20 +1846,20 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1833
1846
|
return ContactsApiFp(this.configuration).phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1834
1847
|
}
|
|
1835
1848
|
};
|
|
1836
|
-
var
|
|
1849
|
+
var ContentApiAxiosParamCreator = function(configuration) {
|
|
1837
1850
|
return {
|
|
1838
1851
|
/**
|
|
1839
|
-
*
|
|
1840
|
-
* @summary
|
|
1841
|
-
* @param {string}
|
|
1842
|
-
* @param {
|
|
1852
|
+
* Create new content under a listing.
|
|
1853
|
+
* @summary Create Listing Content
|
|
1854
|
+
* @param {string} listingId
|
|
1855
|
+
* @param {Create} create
|
|
1843
1856
|
* @param {*} [options] Override http request option.
|
|
1844
1857
|
* @throws {RequiredError}
|
|
1845
1858
|
*/
|
|
1846
|
-
|
|
1847
|
-
assertParamExists("
|
|
1848
|
-
assertParamExists("
|
|
1849
|
-
const localVarPath = `/v1/
|
|
1859
|
+
contentCreateOnListing: async (listingId, create, options = {}) => {
|
|
1860
|
+
assertParamExists("contentCreateOnListing", "listingId", listingId);
|
|
1861
|
+
assertParamExists("contentCreateOnListing", "create", create);
|
|
1862
|
+
const localVarPath = `/v1/listings/{listing_id}/content`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
1850
1863
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1851
1864
|
let baseOptions;
|
|
1852
1865
|
if (configuration) {
|
|
@@ -1859,98 +1872,86 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1859
1872
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1860
1873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1861
1874
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1862
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1875
|
+
localVarRequestOptions.data = serializeDataIfNeeded(create, localVarRequestOptions, configuration);
|
|
1863
1876
|
return {
|
|
1864
1877
|
url: toPathString(localVarUrlObj),
|
|
1865
1878
|
options: localVarRequestOptions
|
|
1866
1879
|
};
|
|
1867
1880
|
},
|
|
1868
1881
|
/**
|
|
1869
|
-
*
|
|
1870
|
-
* @summary
|
|
1871
|
-
* @param {string}
|
|
1882
|
+
* Create new content under a tag.
|
|
1883
|
+
* @summary Create Tag Content
|
|
1884
|
+
* @param {string} tagId
|
|
1885
|
+
* @param {Create} create
|
|
1872
1886
|
* @param {*} [options] Override http request option.
|
|
1873
1887
|
* @throws {RequiredError}
|
|
1874
1888
|
*/
|
|
1875
|
-
|
|
1876
|
-
assertParamExists("
|
|
1877
|
-
|
|
1889
|
+
contentCreateOnTag: async (tagId, create, options = {}) => {
|
|
1890
|
+
assertParamExists("contentCreateOnTag", "tagId", tagId);
|
|
1891
|
+
assertParamExists("contentCreateOnTag", "create", create);
|
|
1892
|
+
const localVarPath = `/v1/tags/{tag_id}/content`.replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
1878
1893
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1879
1894
|
let baseOptions;
|
|
1880
1895
|
if (configuration) {
|
|
1881
1896
|
baseOptions = configuration.baseOptions;
|
|
1882
1897
|
}
|
|
1883
|
-
const localVarRequestOptions = { method: "
|
|
1898
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1884
1899
|
const localVarHeaderParameter = {};
|
|
1885
1900
|
const localVarQueryParameter = {};
|
|
1901
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1886
1902
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1887
1903
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1888
1904
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1905
|
+
localVarRequestOptions.data = serializeDataIfNeeded(create, localVarRequestOptions, configuration);
|
|
1889
1906
|
return {
|
|
1890
1907
|
url: toPathString(localVarUrlObj),
|
|
1891
1908
|
options: localVarRequestOptions
|
|
1892
1909
|
};
|
|
1893
1910
|
},
|
|
1894
1911
|
/**
|
|
1895
|
-
*
|
|
1896
|
-
* @summary
|
|
1897
|
-
* @param {string}
|
|
1898
|
-
* @param {string | null} [searchString]
|
|
1899
|
-
* @param {string | null} [sentAtAfter]
|
|
1900
|
-
* @param {string | null} [sentAtBefore]
|
|
1901
|
-
* @param {string | null} [scheduledAtAfter]
|
|
1902
|
-
* @param {string | null} [scheduledAtBefore]
|
|
1903
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1904
|
-
* @param {number} [limit]
|
|
1905
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
1906
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
1907
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
1912
|
+
* Content Delete
|
|
1913
|
+
* @summary Content Delete
|
|
1914
|
+
* @param {string} contentId
|
|
1908
1915
|
* @param {*} [options] Override http request option.
|
|
1909
1916
|
* @throws {RequiredError}
|
|
1910
1917
|
*/
|
|
1911
|
-
|
|
1912
|
-
|
|
1918
|
+
contentDelete: async (contentId, options = {}) => {
|
|
1919
|
+
assertParamExists("contentDelete", "contentId", contentId);
|
|
1920
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
1913
1921
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1914
1922
|
let baseOptions;
|
|
1915
1923
|
if (configuration) {
|
|
1916
1924
|
baseOptions = configuration.baseOptions;
|
|
1917
1925
|
}
|
|
1918
|
-
const localVarRequestOptions = { method: "
|
|
1926
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1919
1927
|
const localVarHeaderParameter = {};
|
|
1920
1928
|
const localVarQueryParameter = {};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
localVarQueryParameter["limit"] = limit;
|
|
1944
|
-
}
|
|
1945
|
-
if (pageDir !== void 0) {
|
|
1946
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
1947
|
-
}
|
|
1948
|
-
if (sortBy !== void 0) {
|
|
1949
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
1950
|
-
}
|
|
1951
|
-
if (sortOrder !== void 0) {
|
|
1952
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1929
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1930
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1931
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1932
|
+
return {
|
|
1933
|
+
url: toPathString(localVarUrlObj),
|
|
1934
|
+
options: localVarRequestOptions
|
|
1935
|
+
};
|
|
1936
|
+
},
|
|
1937
|
+
/**
|
|
1938
|
+
* Content Delete
|
|
1939
|
+
* @summary Content Delete
|
|
1940
|
+
* @param {string} contentId
|
|
1941
|
+
* @param {*} [options] Override http request option.
|
|
1942
|
+
* @throws {RequiredError}
|
|
1943
|
+
*/
|
|
1944
|
+
contentDelete_1: async (contentId, options = {}) => {
|
|
1945
|
+
assertParamExists("contentDelete_1", "contentId", contentId);
|
|
1946
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
1947
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1948
|
+
let baseOptions;
|
|
1949
|
+
if (configuration) {
|
|
1950
|
+
baseOptions = configuration.baseOptions;
|
|
1953
1951
|
}
|
|
1952
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1953
|
+
const localVarHeaderParameter = {};
|
|
1954
|
+
const localVarQueryParameter = {};
|
|
1954
1955
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1955
1956
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1956
1957
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1958,277 +1959,201 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1958
1959
|
url: toPathString(localVarUrlObj),
|
|
1959
1960
|
options: localVarRequestOptions
|
|
1960
1961
|
};
|
|
1961
|
-
}
|
|
1962
|
-
};
|
|
1963
|
-
};
|
|
1964
|
-
var ConversationsApiFp = function(configuration) {
|
|
1965
|
-
const localVarAxiosParamCreator = ConversationsApiAxiosParamCreator(configuration);
|
|
1966
|
-
return {
|
|
1962
|
+
},
|
|
1967
1963
|
/**
|
|
1968
|
-
*
|
|
1969
|
-
* @summary
|
|
1970
|
-
* @param {string}
|
|
1971
|
-
* @param {Messagecreate} messagecreate
|
|
1964
|
+
* Content Get
|
|
1965
|
+
* @summary Content Get
|
|
1966
|
+
* @param {string} contentId
|
|
1972
1967
|
* @param {*} [options] Override http request option.
|
|
1973
1968
|
* @throws {RequiredError}
|
|
1974
1969
|
*/
|
|
1975
|
-
async
|
|
1976
|
-
|
|
1977
|
-
const
|
|
1978
|
-
const
|
|
1979
|
-
|
|
1970
|
+
contentGet: async (contentId, options = {}) => {
|
|
1971
|
+
assertParamExists("contentGet", "contentId", contentId);
|
|
1972
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
1973
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1974
|
+
let baseOptions;
|
|
1975
|
+
if (configuration) {
|
|
1976
|
+
baseOptions = configuration.baseOptions;
|
|
1977
|
+
}
|
|
1978
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1979
|
+
const localVarHeaderParameter = {};
|
|
1980
|
+
const localVarQueryParameter = {};
|
|
1981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1983
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1984
|
+
return {
|
|
1985
|
+
url: toPathString(localVarUrlObj),
|
|
1986
|
+
options: localVarRequestOptions
|
|
1987
|
+
};
|
|
1980
1988
|
},
|
|
1981
1989
|
/**
|
|
1982
|
-
*
|
|
1983
|
-
* @summary
|
|
1984
|
-
* @param {string}
|
|
1990
|
+
* Content Get
|
|
1991
|
+
* @summary Content Get
|
|
1992
|
+
* @param {string} contentId
|
|
1985
1993
|
* @param {*} [options] Override http request option.
|
|
1986
1994
|
* @throws {RequiredError}
|
|
1987
1995
|
*/
|
|
1988
|
-
async
|
|
1989
|
-
|
|
1990
|
-
const
|
|
1991
|
-
const
|
|
1992
|
-
|
|
1996
|
+
contentGet_2: async (contentId, options = {}) => {
|
|
1997
|
+
assertParamExists("contentGet_2", "contentId", contentId);
|
|
1998
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
1999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2000
|
+
let baseOptions;
|
|
2001
|
+
if (configuration) {
|
|
2002
|
+
baseOptions = configuration.baseOptions;
|
|
2003
|
+
}
|
|
2004
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2005
|
+
const localVarHeaderParameter = {};
|
|
2006
|
+
const localVarQueryParameter = {};
|
|
2007
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2009
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2010
|
+
return {
|
|
2011
|
+
url: toPathString(localVarUrlObj),
|
|
2012
|
+
options: localVarRequestOptions
|
|
2013
|
+
};
|
|
1993
2014
|
},
|
|
1994
2015
|
/**
|
|
1995
|
-
*
|
|
1996
|
-
* @summary
|
|
1997
|
-
* @param {string} [
|
|
1998
|
-
* @param {string | null} [
|
|
1999
|
-
* @param {
|
|
2000
|
-
* @param {string | null} [sentAtBefore]
|
|
2001
|
-
* @param {string | null} [scheduledAtAfter]
|
|
2002
|
-
* @param {string | null} [scheduledAtBefore]
|
|
2003
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2004
|
-
* @param {number} [limit]
|
|
2005
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2006
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2007
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2016
|
+
* Content List
|
|
2017
|
+
* @summary Content List
|
|
2018
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2019
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2020
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2008
2021
|
* @param {*} [options] Override http request option.
|
|
2009
2022
|
* @throws {RequiredError}
|
|
2010
2023
|
*/
|
|
2011
|
-
async
|
|
2012
|
-
const
|
|
2013
|
-
const
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
};
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2024
|
+
contentList: async (listingId, tagId, includeDeleted, options = {}) => {
|
|
2025
|
+
const localVarPath = `/v1/content`;
|
|
2026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2027
|
+
let baseOptions;
|
|
2028
|
+
if (configuration) {
|
|
2029
|
+
baseOptions = configuration.baseOptions;
|
|
2030
|
+
}
|
|
2031
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2032
|
+
const localVarHeaderParameter = {};
|
|
2033
|
+
const localVarQueryParameter = {};
|
|
2034
|
+
if (listingId !== void 0) {
|
|
2035
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
2036
|
+
}
|
|
2037
|
+
if (tagId !== void 0) {
|
|
2038
|
+
localVarQueryParameter["tagId"] = tagId;
|
|
2039
|
+
}
|
|
2040
|
+
if (includeDeleted !== void 0) {
|
|
2041
|
+
localVarQueryParameter["includeDeleted"] = includeDeleted;
|
|
2042
|
+
}
|
|
2043
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2044
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2045
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2046
|
+
return {
|
|
2047
|
+
url: toPathString(localVarUrlObj),
|
|
2048
|
+
options: localVarRequestOptions
|
|
2049
|
+
};
|
|
2050
|
+
},
|
|
2022
2051
|
/**
|
|
2023
|
-
*
|
|
2024
|
-
* @summary
|
|
2025
|
-
* @param {string}
|
|
2026
|
-
* @param {
|
|
2052
|
+
* Content List
|
|
2053
|
+
* @summary Content List
|
|
2054
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2055
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2056
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2027
2057
|
* @param {*} [options] Override http request option.
|
|
2028
2058
|
* @throws {RequiredError}
|
|
2029
2059
|
*/
|
|
2030
|
-
|
|
2031
|
-
|
|
2060
|
+
contentList_3: async (listingId, tagId, includeDeleted, options = {}) => {
|
|
2061
|
+
const localVarPath = `/v1/content`;
|
|
2062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2063
|
+
let baseOptions;
|
|
2064
|
+
if (configuration) {
|
|
2065
|
+
baseOptions = configuration.baseOptions;
|
|
2066
|
+
}
|
|
2067
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2068
|
+
const localVarHeaderParameter = {};
|
|
2069
|
+
const localVarQueryParameter = {};
|
|
2070
|
+
if (listingId !== void 0) {
|
|
2071
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
2072
|
+
}
|
|
2073
|
+
if (tagId !== void 0) {
|
|
2074
|
+
localVarQueryParameter["tagId"] = tagId;
|
|
2075
|
+
}
|
|
2076
|
+
if (includeDeleted !== void 0) {
|
|
2077
|
+
localVarQueryParameter["includeDeleted"] = includeDeleted;
|
|
2078
|
+
}
|
|
2079
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2080
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2081
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2082
|
+
return {
|
|
2083
|
+
url: toPathString(localVarUrlObj),
|
|
2084
|
+
options: localVarRequestOptions
|
|
2085
|
+
};
|
|
2032
2086
|
},
|
|
2033
2087
|
/**
|
|
2034
|
-
*
|
|
2035
|
-
* @summary
|
|
2036
|
-
* @param {string}
|
|
2088
|
+
* Content Update
|
|
2089
|
+
* @summary Content Update
|
|
2090
|
+
* @param {string} contentId
|
|
2091
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2037
2092
|
* @param {*} [options] Override http request option.
|
|
2038
2093
|
* @throws {RequiredError}
|
|
2039
2094
|
*/
|
|
2040
|
-
|
|
2041
|
-
|
|
2095
|
+
contentUpdate: async (contentId, aPIContentUpdate, options = {}) => {
|
|
2096
|
+
assertParamExists("contentUpdate", "contentId", contentId);
|
|
2097
|
+
assertParamExists("contentUpdate", "aPIContentUpdate", aPIContentUpdate);
|
|
2098
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
2099
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2100
|
+
let baseOptions;
|
|
2101
|
+
if (configuration) {
|
|
2102
|
+
baseOptions = configuration.baseOptions;
|
|
2103
|
+
}
|
|
2104
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2105
|
+
const localVarHeaderParameter = {};
|
|
2106
|
+
const localVarQueryParameter = {};
|
|
2107
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2110
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2111
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIContentUpdate, localVarRequestOptions, configuration);
|
|
2112
|
+
return {
|
|
2113
|
+
url: toPathString(localVarUrlObj),
|
|
2114
|
+
options: localVarRequestOptions
|
|
2115
|
+
};
|
|
2042
2116
|
},
|
|
2043
2117
|
/**
|
|
2044
|
-
*
|
|
2045
|
-
* @summary
|
|
2046
|
-
* @param {string}
|
|
2047
|
-
* @param {
|
|
2048
|
-
* @param {string | null} [sentAtAfter]
|
|
2049
|
-
* @param {string | null} [sentAtBefore]
|
|
2050
|
-
* @param {string | null} [scheduledAtAfter]
|
|
2051
|
-
* @param {string | null} [scheduledAtBefore]
|
|
2052
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2053
|
-
* @param {number} [limit]
|
|
2054
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2055
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2056
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2118
|
+
* Content Update
|
|
2119
|
+
* @summary Content Update
|
|
2120
|
+
* @param {string} contentId
|
|
2121
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2057
2122
|
* @param {*} [options] Override http request option.
|
|
2058
2123
|
* @throws {RequiredError}
|
|
2059
2124
|
*/
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
};
|
|
2065
|
-
var ConversationsApi = class extends BaseAPI {
|
|
2066
|
-
/**
|
|
2067
|
-
* Messages Create
|
|
2068
|
-
* @summary Messages Create
|
|
2069
|
-
* @param {string} conversationId
|
|
2070
|
-
* @param {Messagecreate} messagecreate
|
|
2071
|
-
* @param {*} [options] Override http request option.
|
|
2072
|
-
* @throws {RequiredError}
|
|
2073
|
-
* @memberof ConversationsApi
|
|
2074
|
-
*/
|
|
2075
|
-
messagesCreate(conversationId, messagecreate, options) {
|
|
2076
|
-
return ConversationsApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
2077
|
-
}
|
|
2078
|
-
/**
|
|
2079
|
-
* Messages Get
|
|
2080
|
-
* @summary Messages Get
|
|
2081
|
-
* @param {string} messageId
|
|
2082
|
-
* @param {*} [options] Override http request option.
|
|
2083
|
-
* @throws {RequiredError}
|
|
2084
|
-
* @memberof ConversationsApi
|
|
2085
|
-
*/
|
|
2086
|
-
messagesGet(messageId, options) {
|
|
2087
|
-
return ConversationsApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
|
|
2088
|
-
}
|
|
2089
|
-
/**
|
|
2090
|
-
* Messages List
|
|
2091
|
-
* @summary Messages List
|
|
2092
|
-
* @param {string} [conversationId]
|
|
2093
|
-
* @param {string | null} [searchString]
|
|
2094
|
-
* @param {string | null} [sentAtAfter]
|
|
2095
|
-
* @param {string | null} [sentAtBefore]
|
|
2096
|
-
* @param {string | null} [scheduledAtAfter]
|
|
2097
|
-
* @param {string | null} [scheduledAtBefore]
|
|
2098
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2099
|
-
* @param {number} [limit]
|
|
2100
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2101
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2102
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2103
|
-
* @param {*} [options] Override http request option.
|
|
2104
|
-
* @throws {RequiredError}
|
|
2105
|
-
* @memberof ConversationsApi
|
|
2106
|
-
*/
|
|
2107
|
-
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2108
|
-
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2109
|
-
}
|
|
2110
|
-
};
|
|
2111
|
-
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2112
|
-
return {
|
|
2113
|
-
/**
|
|
2114
|
-
*
|
|
2115
|
-
* @summary Unifiedwebhook
|
|
2116
|
-
* @param {object} body
|
|
2117
|
-
* @param {*} [options] Override http request option.
|
|
2118
|
-
* @throws {RequiredError}
|
|
2119
|
-
*/
|
|
2120
|
-
webhook: async (body, options = {}) => {
|
|
2121
|
-
assertParamExists("webhook", "body", body);
|
|
2122
|
-
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2123
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2124
|
-
let baseOptions;
|
|
2125
|
-
if (configuration) {
|
|
2126
|
-
baseOptions = configuration.baseOptions;
|
|
2127
|
-
}
|
|
2128
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2129
|
-
const localVarHeaderParameter = {};
|
|
2130
|
-
const localVarQueryParameter = {};
|
|
2131
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2132
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2133
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2134
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2135
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2136
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2137
|
-
return {
|
|
2138
|
-
url: toPathString(localVarUrlObj),
|
|
2139
|
-
options: localVarRequestOptions
|
|
2140
|
-
};
|
|
2141
|
-
}
|
|
2142
|
-
};
|
|
2143
|
-
};
|
|
2144
|
-
var HostawayApiFp = function(configuration) {
|
|
2145
|
-
const localVarAxiosParamCreator = HostawayApiAxiosParamCreator(configuration);
|
|
2146
|
-
return {
|
|
2147
|
-
/**
|
|
2148
|
-
*
|
|
2149
|
-
* @summary Unifiedwebhook
|
|
2150
|
-
* @param {object} body
|
|
2151
|
-
* @param {*} [options] Override http request option.
|
|
2152
|
-
* @throws {RequiredError}
|
|
2153
|
-
*/
|
|
2154
|
-
async webhook(body, options) {
|
|
2155
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
2156
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2157
|
-
const localVarOperationServerBasePath = operationServerMap["HostawayApi.webhook"]?.[localVarOperationServerIndex]?.url;
|
|
2158
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2159
|
-
}
|
|
2160
|
-
};
|
|
2161
|
-
};
|
|
2162
|
-
var HostawayApiFactory = function(configuration, basePath, axios) {
|
|
2163
|
-
const localVarFp = HostawayApiFp(configuration);
|
|
2164
|
-
return {
|
|
2165
|
-
/**
|
|
2166
|
-
*
|
|
2167
|
-
* @summary Unifiedwebhook
|
|
2168
|
-
* @param {object} body
|
|
2169
|
-
* @param {*} [options] Override http request option.
|
|
2170
|
-
* @throws {RequiredError}
|
|
2171
|
-
*/
|
|
2172
|
-
webhook(body, options) {
|
|
2173
|
-
return localVarFp.webhook(body, options).then((request) => request(axios, basePath));
|
|
2174
|
-
}
|
|
2175
|
-
};
|
|
2176
|
-
};
|
|
2177
|
-
var HostawayApi = class extends BaseAPI {
|
|
2178
|
-
/**
|
|
2179
|
-
*
|
|
2180
|
-
* @summary Unifiedwebhook
|
|
2181
|
-
* @param {object} body
|
|
2182
|
-
* @param {*} [options] Override http request option.
|
|
2183
|
-
* @throws {RequiredError}
|
|
2184
|
-
* @memberof HostawayApi
|
|
2185
|
-
*/
|
|
2186
|
-
webhook(body, options) {
|
|
2187
|
-
return HostawayApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
|
|
2188
|
-
}
|
|
2189
|
-
};
|
|
2190
|
-
var InboxesApiAxiosParamCreator = function(configuration) {
|
|
2191
|
-
return {
|
|
2192
|
-
/**
|
|
2193
|
-
* Conversations Create
|
|
2194
|
-
* @summary Conversations Create
|
|
2195
|
-
* @param {string} inboxId
|
|
2196
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
2197
|
-
* @param {*} [options] Override http request option.
|
|
2198
|
-
* @throws {RequiredError}
|
|
2199
|
-
*/
|
|
2200
|
-
conversationsCreate: async (inboxId, aPIConversationCreate, options = {}) => {
|
|
2201
|
-
assertParamExists("conversationsCreate", "inboxId", inboxId);
|
|
2202
|
-
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
2203
|
-
const localVarPath = `/v1/inboxes/{inboxId}/conversations`.replace(`{${"inboxId"}}`, encodeURIComponent(String(inboxId)));
|
|
2125
|
+
contentUpdate_4: async (contentId, aPIContentUpdate, options = {}) => {
|
|
2126
|
+
assertParamExists("contentUpdate_4", "contentId", contentId);
|
|
2127
|
+
assertParamExists("contentUpdate_4", "aPIContentUpdate", aPIContentUpdate);
|
|
2128
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
2204
2129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2205
2130
|
let baseOptions;
|
|
2206
2131
|
if (configuration) {
|
|
2207
2132
|
baseOptions = configuration.baseOptions;
|
|
2208
2133
|
}
|
|
2209
|
-
const localVarRequestOptions = { method: "
|
|
2134
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2210
2135
|
const localVarHeaderParameter = {};
|
|
2211
2136
|
const localVarQueryParameter = {};
|
|
2212
2137
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2213
2138
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2214
2139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2215
2140
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2216
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2141
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIContentUpdate, localVarRequestOptions, configuration);
|
|
2217
2142
|
return {
|
|
2218
2143
|
url: toPathString(localVarUrlObj),
|
|
2219
2144
|
options: localVarRequestOptions
|
|
2220
2145
|
};
|
|
2221
2146
|
},
|
|
2222
2147
|
/**
|
|
2223
|
-
*
|
|
2224
|
-
* @summary
|
|
2225
|
-
* @param {string}
|
|
2148
|
+
* ContentVersions Get
|
|
2149
|
+
* @summary ContentVersions Get
|
|
2150
|
+
* @param {string} contentVersionId
|
|
2226
2151
|
* @param {*} [options] Override http request option.
|
|
2227
2152
|
* @throws {RequiredError}
|
|
2228
2153
|
*/
|
|
2229
|
-
|
|
2230
|
-
assertParamExists("
|
|
2231
|
-
const localVarPath = `/v1/
|
|
2154
|
+
contentVersionsGet: async (contentVersionId, options = {}) => {
|
|
2155
|
+
assertParamExists("contentVersionsGet", "contentVersionId", contentVersionId);
|
|
2156
|
+
const localVarPath = `/v1/contentVersions/{contentVersionId}`.replace(`{${"contentVersionId"}}`, encodeURIComponent(String(contentVersionId)));
|
|
2232
2157
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2233
2158
|
let baseOptions;
|
|
2234
2159
|
if (configuration) {
|
|
@@ -2246,21 +2171,15 @@ var InboxesApiAxiosParamCreator = function(configuration) {
|
|
|
2246
2171
|
};
|
|
2247
2172
|
},
|
|
2248
2173
|
/**
|
|
2249
|
-
*
|
|
2250
|
-
* @summary
|
|
2251
|
-
* @param {string
|
|
2252
|
-
* @param {string | null} [contactId]
|
|
2253
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
2254
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2255
|
-
* @param {number} [limit]
|
|
2256
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2257
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2258
|
-
* @param {string | null} [inboxId]
|
|
2174
|
+
* ContentVersions Get
|
|
2175
|
+
* @summary ContentVersions Get
|
|
2176
|
+
* @param {string} contentVersionId
|
|
2259
2177
|
* @param {*} [options] Override http request option.
|
|
2260
2178
|
* @throws {RequiredError}
|
|
2261
2179
|
*/
|
|
2262
|
-
|
|
2263
|
-
|
|
2180
|
+
contentVersionsGet_5: async (contentVersionId, options = {}) => {
|
|
2181
|
+
assertParamExists("contentVersionsGet_5", "contentVersionId", contentVersionId);
|
|
2182
|
+
const localVarPath = `/v1/contentVersions/{contentVersionId}`.replace(`{${"contentVersionId"}}`, encodeURIComponent(String(contentVersionId)));
|
|
2264
2183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2265
2184
|
let baseOptions;
|
|
2266
2185
|
if (configuration) {
|
|
@@ -2269,30 +2188,6 @@ var InboxesApiAxiosParamCreator = function(configuration) {
|
|
|
2269
2188
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2270
2189
|
const localVarHeaderParameter = {};
|
|
2271
2190
|
const localVarQueryParameter = {};
|
|
2272
|
-
if (searchString !== void 0) {
|
|
2273
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2274
|
-
}
|
|
2275
|
-
if (contactId !== void 0) {
|
|
2276
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2277
|
-
}
|
|
2278
|
-
if (status) {
|
|
2279
|
-
localVarQueryParameter["status"] = status;
|
|
2280
|
-
}
|
|
2281
|
-
if (cursor !== void 0) {
|
|
2282
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2283
|
-
}
|
|
2284
|
-
if (limit !== void 0) {
|
|
2285
|
-
localVarQueryParameter["limit"] = limit;
|
|
2286
|
-
}
|
|
2287
|
-
if (pageDir !== void 0) {
|
|
2288
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2289
|
-
}
|
|
2290
|
-
if (sortOrder !== void 0) {
|
|
2291
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2292
|
-
}
|
|
2293
|
-
if (inboxId !== void 0) {
|
|
2294
|
-
localVarQueryParameter["inboxId"] = inboxId;
|
|
2295
|
-
}
|
|
2296
2191
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2297
2192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2298
2193
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2302,43 +2197,42 @@ var InboxesApiAxiosParamCreator = function(configuration) {
|
|
|
2302
2197
|
};
|
|
2303
2198
|
},
|
|
2304
2199
|
/**
|
|
2305
|
-
*
|
|
2306
|
-
* @summary
|
|
2307
|
-
* @param {string}
|
|
2308
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2200
|
+
* ContentVersions List
|
|
2201
|
+
* @summary ContentVersions List
|
|
2202
|
+
* @param {string} [contentId]
|
|
2309
2203
|
* @param {*} [options] Override http request option.
|
|
2310
2204
|
* @throws {RequiredError}
|
|
2311
2205
|
*/
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
|
|
2315
|
-
const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2206
|
+
contentVersionsList: async (contentId, options = {}) => {
|
|
2207
|
+
const localVarPath = `/v1/contentVersions`;
|
|
2316
2208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2317
2209
|
let baseOptions;
|
|
2318
2210
|
if (configuration) {
|
|
2319
2211
|
baseOptions = configuration.baseOptions;
|
|
2320
2212
|
}
|
|
2321
|
-
const localVarRequestOptions = { method: "
|
|
2213
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2322
2214
|
const localVarHeaderParameter = {};
|
|
2323
2215
|
const localVarQueryParameter = {};
|
|
2324
|
-
|
|
2216
|
+
if (contentId !== void 0) {
|
|
2217
|
+
localVarQueryParameter["contentId"] = contentId;
|
|
2218
|
+
}
|
|
2325
2219
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2326
2220
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2327
2221
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2328
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
|
|
2329
2222
|
return {
|
|
2330
2223
|
url: toPathString(localVarUrlObj),
|
|
2331
2224
|
options: localVarRequestOptions
|
|
2332
2225
|
};
|
|
2333
2226
|
},
|
|
2334
2227
|
/**
|
|
2335
|
-
*
|
|
2336
|
-
* @summary
|
|
2228
|
+
* ContentVersions List
|
|
2229
|
+
* @summary ContentVersions List
|
|
2230
|
+
* @param {string} [contentId]
|
|
2337
2231
|
* @param {*} [options] Override http request option.
|
|
2338
2232
|
* @throws {RequiredError}
|
|
2339
2233
|
*/
|
|
2340
|
-
|
|
2341
|
-
const localVarPath = `/v1/
|
|
2234
|
+
contentVersionsList_6: async (contentId, options = {}) => {
|
|
2235
|
+
const localVarPath = `/v1/contentVersions`;
|
|
2342
2236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2343
2237
|
let baseOptions;
|
|
2344
2238
|
if (configuration) {
|
|
@@ -2347,6 +2241,9 @@ var InboxesApiAxiosParamCreator = function(configuration) {
|
|
|
2347
2241
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2348
2242
|
const localVarHeaderParameter = {};
|
|
2349
2243
|
const localVarQueryParameter = {};
|
|
2244
|
+
if (contentId !== void 0) {
|
|
2245
|
+
localVarQueryParameter["contentId"] = contentId;
|
|
2246
|
+
}
|
|
2350
2247
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2351
2248
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2352
2249
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2357,233 +2254,635 @@ var InboxesApiAxiosParamCreator = function(configuration) {
|
|
|
2357
2254
|
}
|
|
2358
2255
|
};
|
|
2359
2256
|
};
|
|
2360
|
-
var
|
|
2361
|
-
const localVarAxiosParamCreator =
|
|
2257
|
+
var ContentApiFp = function(configuration) {
|
|
2258
|
+
const localVarAxiosParamCreator = ContentApiAxiosParamCreator(configuration);
|
|
2362
2259
|
return {
|
|
2363
2260
|
/**
|
|
2364
|
-
*
|
|
2365
|
-
* @summary
|
|
2366
|
-
* @param {string}
|
|
2367
|
-
* @param {
|
|
2261
|
+
* Create new content under a listing.
|
|
2262
|
+
* @summary Create Listing Content
|
|
2263
|
+
* @param {string} listingId
|
|
2264
|
+
* @param {Create} create
|
|
2368
2265
|
* @param {*} [options] Override http request option.
|
|
2369
2266
|
* @throws {RequiredError}
|
|
2370
2267
|
*/
|
|
2371
|
-
async
|
|
2372
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2268
|
+
async contentCreateOnListing(listingId, create, options) {
|
|
2269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentCreateOnListing(listingId, create, options);
|
|
2373
2270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2374
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2271
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentCreateOnListing"]?.[localVarOperationServerIndex]?.url;
|
|
2375
2272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2376
2273
|
},
|
|
2377
2274
|
/**
|
|
2378
|
-
*
|
|
2379
|
-
* @summary
|
|
2380
|
-
* @param {string}
|
|
2275
|
+
* Create new content under a tag.
|
|
2276
|
+
* @summary Create Tag Content
|
|
2277
|
+
* @param {string} tagId
|
|
2278
|
+
* @param {Create} create
|
|
2381
2279
|
* @param {*} [options] Override http request option.
|
|
2382
2280
|
* @throws {RequiredError}
|
|
2383
2281
|
*/
|
|
2384
|
-
async
|
|
2385
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2282
|
+
async contentCreateOnTag(tagId, create, options) {
|
|
2283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentCreateOnTag(tagId, create, options);
|
|
2386
2284
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2387
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2285
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentCreateOnTag"]?.[localVarOperationServerIndex]?.url;
|
|
2388
2286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2389
2287
|
},
|
|
2390
2288
|
/**
|
|
2391
|
-
*
|
|
2392
|
-
* @summary
|
|
2393
|
-
* @param {string
|
|
2394
|
-
* @param {string | null} [contactId]
|
|
2395
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
2396
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2397
|
-
* @param {number} [limit]
|
|
2398
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2399
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2400
|
-
* @param {string | null} [inboxId]
|
|
2289
|
+
* Content Delete
|
|
2290
|
+
* @summary Content Delete
|
|
2291
|
+
* @param {string} contentId
|
|
2401
2292
|
* @param {*} [options] Override http request option.
|
|
2402
2293
|
* @throws {RequiredError}
|
|
2403
2294
|
*/
|
|
2404
|
-
async
|
|
2405
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2295
|
+
async contentDelete(contentId, options) {
|
|
2296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentDelete(contentId, options);
|
|
2406
2297
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2407
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2298
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentDelete"]?.[localVarOperationServerIndex]?.url;
|
|
2408
2299
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2409
2300
|
},
|
|
2410
2301
|
/**
|
|
2411
|
-
*
|
|
2412
|
-
* @summary
|
|
2413
|
-
* @param {string}
|
|
2414
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2302
|
+
* Content Delete
|
|
2303
|
+
* @summary Content Delete
|
|
2304
|
+
* @param {string} contentId
|
|
2415
2305
|
* @param {*} [options] Override http request option.
|
|
2416
2306
|
* @throws {RequiredError}
|
|
2417
2307
|
*/
|
|
2418
|
-
async
|
|
2419
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2308
|
+
async contentDelete_1(contentId, options) {
|
|
2309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentDelete_1(contentId, options);
|
|
2420
2310
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2421
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2311
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentDelete_1"]?.[localVarOperationServerIndex]?.url;
|
|
2422
2312
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2423
2313
|
},
|
|
2424
2314
|
/**
|
|
2425
|
-
*
|
|
2426
|
-
* @summary
|
|
2315
|
+
* Content Get
|
|
2316
|
+
* @summary Content Get
|
|
2317
|
+
* @param {string} contentId
|
|
2427
2318
|
* @param {*} [options] Override http request option.
|
|
2428
2319
|
* @throws {RequiredError}
|
|
2429
2320
|
*/
|
|
2430
|
-
async
|
|
2431
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2321
|
+
async contentGet(contentId, options) {
|
|
2322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentGet(contentId, options);
|
|
2432
2323
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2433
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2324
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentGet"]?.[localVarOperationServerIndex]?.url;
|
|
2434
2325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2435
|
-
}
|
|
2436
|
-
};
|
|
2437
|
-
};
|
|
2438
|
-
var InboxesApiFactory = function(configuration, basePath, axios) {
|
|
2439
|
-
const localVarFp = InboxesApiFp(configuration);
|
|
2440
|
-
return {
|
|
2326
|
+
},
|
|
2441
2327
|
/**
|
|
2442
|
-
*
|
|
2443
|
-
* @summary
|
|
2444
|
-
* @param {string}
|
|
2445
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
2328
|
+
* Content Get
|
|
2329
|
+
* @summary Content Get
|
|
2330
|
+
* @param {string} contentId
|
|
2446
2331
|
* @param {*} [options] Override http request option.
|
|
2447
2332
|
* @throws {RequiredError}
|
|
2448
2333
|
*/
|
|
2449
|
-
|
|
2450
|
-
|
|
2334
|
+
async contentGet_2(contentId, options) {
|
|
2335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentGet_2(contentId, options);
|
|
2336
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2337
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentGet_2"]?.[localVarOperationServerIndex]?.url;
|
|
2338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2451
2339
|
},
|
|
2452
2340
|
/**
|
|
2453
|
-
*
|
|
2454
|
-
* @summary
|
|
2455
|
-
* @param {string}
|
|
2341
|
+
* Content List
|
|
2342
|
+
* @summary Content List
|
|
2343
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2344
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2345
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2456
2346
|
* @param {*} [options] Override http request option.
|
|
2457
2347
|
* @throws {RequiredError}
|
|
2458
2348
|
*/
|
|
2459
|
-
|
|
2460
|
-
|
|
2349
|
+
async contentList(listingId, tagId, includeDeleted, options) {
|
|
2350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentList(listingId, tagId, includeDeleted, options);
|
|
2351
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2352
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentList"]?.[localVarOperationServerIndex]?.url;
|
|
2353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2461
2354
|
},
|
|
2462
2355
|
/**
|
|
2463
|
-
* List
|
|
2464
|
-
* @summary
|
|
2465
|
-
* @param {string | null} [
|
|
2466
|
-
* @param {string | null} [
|
|
2467
|
-
* @param {
|
|
2468
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2469
|
-
* @param {number} [limit]
|
|
2470
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2471
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2472
|
-
* @param {string | null} [inboxId]
|
|
2356
|
+
* Content List
|
|
2357
|
+
* @summary Content List
|
|
2358
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2359
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2360
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2473
2361
|
* @param {*} [options] Override http request option.
|
|
2474
2362
|
* @throws {RequiredError}
|
|
2475
2363
|
*/
|
|
2476
|
-
|
|
2477
|
-
|
|
2364
|
+
async contentList_3(listingId, tagId, includeDeleted, options) {
|
|
2365
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentList_3(listingId, tagId, includeDeleted, options);
|
|
2366
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2367
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentList_3"]?.[localVarOperationServerIndex]?.url;
|
|
2368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2478
2369
|
},
|
|
2479
2370
|
/**
|
|
2480
|
-
*
|
|
2481
|
-
* @summary
|
|
2482
|
-
* @param {string}
|
|
2483
|
-
* @param {
|
|
2371
|
+
* Content Update
|
|
2372
|
+
* @summary Content Update
|
|
2373
|
+
* @param {string} contentId
|
|
2374
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2484
2375
|
* @param {*} [options] Override http request option.
|
|
2485
2376
|
* @throws {RequiredError}
|
|
2486
2377
|
*/
|
|
2487
|
-
|
|
2488
|
-
|
|
2378
|
+
async contentUpdate(contentId, aPIContentUpdate, options) {
|
|
2379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentUpdate(contentId, aPIContentUpdate, options);
|
|
2380
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2381
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
2382
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2489
2383
|
},
|
|
2490
2384
|
/**
|
|
2491
|
-
*
|
|
2492
|
-
* @summary
|
|
2385
|
+
* Content Update
|
|
2386
|
+
* @summary Content Update
|
|
2387
|
+
* @param {string} contentId
|
|
2388
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2493
2389
|
* @param {*} [options] Override http request option.
|
|
2494
2390
|
* @throws {RequiredError}
|
|
2495
2391
|
*/
|
|
2496
|
-
|
|
2497
|
-
|
|
2392
|
+
async contentUpdate_4(contentId, aPIContentUpdate, options) {
|
|
2393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentUpdate_4(contentId, aPIContentUpdate, options);
|
|
2394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2395
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentUpdate_4"]?.[localVarOperationServerIndex]?.url;
|
|
2396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2397
|
+
},
|
|
2398
|
+
/**
|
|
2399
|
+
* ContentVersions Get
|
|
2400
|
+
* @summary ContentVersions Get
|
|
2401
|
+
* @param {string} contentVersionId
|
|
2402
|
+
* @param {*} [options] Override http request option.
|
|
2403
|
+
* @throws {RequiredError}
|
|
2404
|
+
*/
|
|
2405
|
+
async contentVersionsGet(contentVersionId, options) {
|
|
2406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsGet(contentVersionId, options);
|
|
2407
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentVersionsGet"]?.[localVarOperationServerIndex]?.url;
|
|
2409
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2410
|
+
},
|
|
2411
|
+
/**
|
|
2412
|
+
* ContentVersions Get
|
|
2413
|
+
* @summary ContentVersions Get
|
|
2414
|
+
* @param {string} contentVersionId
|
|
2415
|
+
* @param {*} [options] Override http request option.
|
|
2416
|
+
* @throws {RequiredError}
|
|
2417
|
+
*/
|
|
2418
|
+
async contentVersionsGet_5(contentVersionId, options) {
|
|
2419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsGet_5(contentVersionId, options);
|
|
2420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2421
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentVersionsGet_5"]?.[localVarOperationServerIndex]?.url;
|
|
2422
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2423
|
+
},
|
|
2424
|
+
/**
|
|
2425
|
+
* ContentVersions List
|
|
2426
|
+
* @summary ContentVersions List
|
|
2427
|
+
* @param {string} [contentId]
|
|
2428
|
+
* @param {*} [options] Override http request option.
|
|
2429
|
+
* @throws {RequiredError}
|
|
2430
|
+
*/
|
|
2431
|
+
async contentVersionsList(contentId, options) {
|
|
2432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsList(contentId, options);
|
|
2433
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2434
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentVersionsList"]?.[localVarOperationServerIndex]?.url;
|
|
2435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2436
|
+
},
|
|
2437
|
+
/**
|
|
2438
|
+
* ContentVersions List
|
|
2439
|
+
* @summary ContentVersions List
|
|
2440
|
+
* @param {string} [contentId]
|
|
2441
|
+
* @param {*} [options] Override http request option.
|
|
2442
|
+
* @throws {RequiredError}
|
|
2443
|
+
*/
|
|
2444
|
+
async contentVersionsList_6(contentId, options) {
|
|
2445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsList_6(contentId, options);
|
|
2446
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2447
|
+
const localVarOperationServerBasePath = operationServerMap["ContentApi.contentVersionsList_6"]?.[localVarOperationServerIndex]?.url;
|
|
2448
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2498
2449
|
}
|
|
2499
2450
|
};
|
|
2500
2451
|
};
|
|
2501
|
-
var
|
|
2452
|
+
var ContentApiFactory = function(configuration, basePath, axios) {
|
|
2453
|
+
const localVarFp = ContentApiFp(configuration);
|
|
2454
|
+
return {
|
|
2455
|
+
/**
|
|
2456
|
+
* Create new content under a listing.
|
|
2457
|
+
* @summary Create Listing Content
|
|
2458
|
+
* @param {string} listingId
|
|
2459
|
+
* @param {Create} create
|
|
2460
|
+
* @param {*} [options] Override http request option.
|
|
2461
|
+
* @throws {RequiredError}
|
|
2462
|
+
*/
|
|
2463
|
+
contentCreateOnListing(listingId, create, options) {
|
|
2464
|
+
return localVarFp.contentCreateOnListing(listingId, create, options).then((request) => request(axios, basePath));
|
|
2465
|
+
},
|
|
2466
|
+
/**
|
|
2467
|
+
* Create new content under a tag.
|
|
2468
|
+
* @summary Create Tag Content
|
|
2469
|
+
* @param {string} tagId
|
|
2470
|
+
* @param {Create} create
|
|
2471
|
+
* @param {*} [options] Override http request option.
|
|
2472
|
+
* @throws {RequiredError}
|
|
2473
|
+
*/
|
|
2474
|
+
contentCreateOnTag(tagId, create, options) {
|
|
2475
|
+
return localVarFp.contentCreateOnTag(tagId, create, options).then((request) => request(axios, basePath));
|
|
2476
|
+
},
|
|
2477
|
+
/**
|
|
2478
|
+
* Content Delete
|
|
2479
|
+
* @summary Content Delete
|
|
2480
|
+
* @param {string} contentId
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
contentDelete(contentId, options) {
|
|
2485
|
+
return localVarFp.contentDelete(contentId, options).then((request) => request(axios, basePath));
|
|
2486
|
+
},
|
|
2487
|
+
/**
|
|
2488
|
+
* Content Delete
|
|
2489
|
+
* @summary Content Delete
|
|
2490
|
+
* @param {string} contentId
|
|
2491
|
+
* @param {*} [options] Override http request option.
|
|
2492
|
+
* @throws {RequiredError}
|
|
2493
|
+
*/
|
|
2494
|
+
contentDelete_1(contentId, options) {
|
|
2495
|
+
return localVarFp.contentDelete_1(contentId, options).then((request) => request(axios, basePath));
|
|
2496
|
+
},
|
|
2497
|
+
/**
|
|
2498
|
+
* Content Get
|
|
2499
|
+
* @summary Content Get
|
|
2500
|
+
* @param {string} contentId
|
|
2501
|
+
* @param {*} [options] Override http request option.
|
|
2502
|
+
* @throws {RequiredError}
|
|
2503
|
+
*/
|
|
2504
|
+
contentGet(contentId, options) {
|
|
2505
|
+
return localVarFp.contentGet(contentId, options).then((request) => request(axios, basePath));
|
|
2506
|
+
},
|
|
2507
|
+
/**
|
|
2508
|
+
* Content Get
|
|
2509
|
+
* @summary Content Get
|
|
2510
|
+
* @param {string} contentId
|
|
2511
|
+
* @param {*} [options] Override http request option.
|
|
2512
|
+
* @throws {RequiredError}
|
|
2513
|
+
*/
|
|
2514
|
+
contentGet_2(contentId, options) {
|
|
2515
|
+
return localVarFp.contentGet_2(contentId, options).then((request) => request(axios, basePath));
|
|
2516
|
+
},
|
|
2517
|
+
/**
|
|
2518
|
+
* Content List
|
|
2519
|
+
* @summary Content List
|
|
2520
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2521
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2522
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2523
|
+
* @param {*} [options] Override http request option.
|
|
2524
|
+
* @throws {RequiredError}
|
|
2525
|
+
*/
|
|
2526
|
+
contentList(listingId, tagId, includeDeleted, options) {
|
|
2527
|
+
return localVarFp.contentList(listingId, tagId, includeDeleted, options).then((request) => request(axios, basePath));
|
|
2528
|
+
},
|
|
2529
|
+
/**
|
|
2530
|
+
* Content List
|
|
2531
|
+
* @summary Content List
|
|
2532
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2533
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2534
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2535
|
+
* @param {*} [options] Override http request option.
|
|
2536
|
+
* @throws {RequiredError}
|
|
2537
|
+
*/
|
|
2538
|
+
contentList_3(listingId, tagId, includeDeleted, options) {
|
|
2539
|
+
return localVarFp.contentList_3(listingId, tagId, includeDeleted, options).then((request) => request(axios, basePath));
|
|
2540
|
+
},
|
|
2541
|
+
/**
|
|
2542
|
+
* Content Update
|
|
2543
|
+
* @summary Content Update
|
|
2544
|
+
* @param {string} contentId
|
|
2545
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2546
|
+
* @param {*} [options] Override http request option.
|
|
2547
|
+
* @throws {RequiredError}
|
|
2548
|
+
*/
|
|
2549
|
+
contentUpdate(contentId, aPIContentUpdate, options) {
|
|
2550
|
+
return localVarFp.contentUpdate(contentId, aPIContentUpdate, options).then((request) => request(axios, basePath));
|
|
2551
|
+
},
|
|
2552
|
+
/**
|
|
2553
|
+
* Content Update
|
|
2554
|
+
* @summary Content Update
|
|
2555
|
+
* @param {string} contentId
|
|
2556
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2557
|
+
* @param {*} [options] Override http request option.
|
|
2558
|
+
* @throws {RequiredError}
|
|
2559
|
+
*/
|
|
2560
|
+
contentUpdate_4(contentId, aPIContentUpdate, options) {
|
|
2561
|
+
return localVarFp.contentUpdate_4(contentId, aPIContentUpdate, options).then((request) => request(axios, basePath));
|
|
2562
|
+
},
|
|
2563
|
+
/**
|
|
2564
|
+
* ContentVersions Get
|
|
2565
|
+
* @summary ContentVersions Get
|
|
2566
|
+
* @param {string} contentVersionId
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
contentVersionsGet(contentVersionId, options) {
|
|
2571
|
+
return localVarFp.contentVersionsGet(contentVersionId, options).then((request) => request(axios, basePath));
|
|
2572
|
+
},
|
|
2573
|
+
/**
|
|
2574
|
+
* ContentVersions Get
|
|
2575
|
+
* @summary ContentVersions Get
|
|
2576
|
+
* @param {string} contentVersionId
|
|
2577
|
+
* @param {*} [options] Override http request option.
|
|
2578
|
+
* @throws {RequiredError}
|
|
2579
|
+
*/
|
|
2580
|
+
contentVersionsGet_5(contentVersionId, options) {
|
|
2581
|
+
return localVarFp.contentVersionsGet_5(contentVersionId, options).then((request) => request(axios, basePath));
|
|
2582
|
+
},
|
|
2583
|
+
/**
|
|
2584
|
+
* ContentVersions List
|
|
2585
|
+
* @summary ContentVersions List
|
|
2586
|
+
* @param {string} [contentId]
|
|
2587
|
+
* @param {*} [options] Override http request option.
|
|
2588
|
+
* @throws {RequiredError}
|
|
2589
|
+
*/
|
|
2590
|
+
contentVersionsList(contentId, options) {
|
|
2591
|
+
return localVarFp.contentVersionsList(contentId, options).then((request) => request(axios, basePath));
|
|
2592
|
+
},
|
|
2593
|
+
/**
|
|
2594
|
+
* ContentVersions List
|
|
2595
|
+
* @summary ContentVersions List
|
|
2596
|
+
* @param {string} [contentId]
|
|
2597
|
+
* @param {*} [options] Override http request option.
|
|
2598
|
+
* @throws {RequiredError}
|
|
2599
|
+
*/
|
|
2600
|
+
contentVersionsList_6(contentId, options) {
|
|
2601
|
+
return localVarFp.contentVersionsList_6(contentId, options).then((request) => request(axios, basePath));
|
|
2602
|
+
}
|
|
2603
|
+
};
|
|
2604
|
+
};
|
|
2605
|
+
var ContentApi = class extends BaseAPI {
|
|
2502
2606
|
/**
|
|
2503
|
-
*
|
|
2504
|
-
* @summary
|
|
2505
|
-
* @param {string}
|
|
2506
|
-
* @param {
|
|
2607
|
+
* Create new content under a listing.
|
|
2608
|
+
* @summary Create Listing Content
|
|
2609
|
+
* @param {string} listingId
|
|
2610
|
+
* @param {Create} create
|
|
2507
2611
|
* @param {*} [options] Override http request option.
|
|
2508
2612
|
* @throws {RequiredError}
|
|
2509
|
-
* @memberof
|
|
2613
|
+
* @memberof ContentApi
|
|
2510
2614
|
*/
|
|
2511
|
-
|
|
2512
|
-
return
|
|
2615
|
+
contentCreateOnListing(listingId, create, options) {
|
|
2616
|
+
return ContentApiFp(this.configuration).contentCreateOnListing(listingId, create, options).then((request) => request(this.axios, this.basePath));
|
|
2513
2617
|
}
|
|
2514
2618
|
/**
|
|
2515
|
-
*
|
|
2516
|
-
* @summary
|
|
2517
|
-
* @param {string}
|
|
2619
|
+
* Create new content under a tag.
|
|
2620
|
+
* @summary Create Tag Content
|
|
2621
|
+
* @param {string} tagId
|
|
2622
|
+
* @param {Create} create
|
|
2518
2623
|
* @param {*} [options] Override http request option.
|
|
2519
2624
|
* @throws {RequiredError}
|
|
2520
|
-
* @memberof
|
|
2625
|
+
* @memberof ContentApi
|
|
2521
2626
|
*/
|
|
2522
|
-
|
|
2523
|
-
return
|
|
2627
|
+
contentCreateOnTag(tagId, create, options) {
|
|
2628
|
+
return ContentApiFp(this.configuration).contentCreateOnTag(tagId, create, options).then((request) => request(this.axios, this.basePath));
|
|
2524
2629
|
}
|
|
2525
2630
|
/**
|
|
2526
|
-
*
|
|
2527
|
-
* @summary
|
|
2528
|
-
* @param {string
|
|
2529
|
-
* @param {string | null} [contactId]
|
|
2530
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
2531
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2532
|
-
* @param {number} [limit]
|
|
2533
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2534
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2535
|
-
* @param {string | null} [inboxId]
|
|
2631
|
+
* Content Delete
|
|
2632
|
+
* @summary Content Delete
|
|
2633
|
+
* @param {string} contentId
|
|
2536
2634
|
* @param {*} [options] Override http request option.
|
|
2537
2635
|
* @throws {RequiredError}
|
|
2538
|
-
* @memberof
|
|
2636
|
+
* @memberof ContentApi
|
|
2539
2637
|
*/
|
|
2540
|
-
|
|
2541
|
-
return
|
|
2638
|
+
contentDelete(contentId, options) {
|
|
2639
|
+
return ContentApiFp(this.configuration).contentDelete(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2542
2640
|
}
|
|
2543
2641
|
/**
|
|
2544
|
-
*
|
|
2545
|
-
* @summary
|
|
2546
|
-
* @param {string}
|
|
2547
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2642
|
+
* Content Delete
|
|
2643
|
+
* @summary Content Delete
|
|
2644
|
+
* @param {string} contentId
|
|
2548
2645
|
* @param {*} [options] Override http request option.
|
|
2549
2646
|
* @throws {RequiredError}
|
|
2550
|
-
* @memberof
|
|
2647
|
+
* @memberof ContentApi
|
|
2551
2648
|
*/
|
|
2552
|
-
|
|
2553
|
-
return
|
|
2649
|
+
contentDelete_1(contentId, options) {
|
|
2650
|
+
return ContentApiFp(this.configuration).contentDelete_1(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2554
2651
|
}
|
|
2555
2652
|
/**
|
|
2556
|
-
*
|
|
2557
|
-
* @summary
|
|
2653
|
+
* Content Get
|
|
2654
|
+
* @summary Content Get
|
|
2655
|
+
* @param {string} contentId
|
|
2558
2656
|
* @param {*} [options] Override http request option.
|
|
2559
2657
|
* @throws {RequiredError}
|
|
2560
|
-
* @memberof
|
|
2658
|
+
* @memberof ContentApi
|
|
2561
2659
|
*/
|
|
2562
|
-
|
|
2563
|
-
return
|
|
2660
|
+
contentGet(contentId, options) {
|
|
2661
|
+
return ContentApiFp(this.configuration).contentGet(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2662
|
+
}
|
|
2663
|
+
/**
|
|
2664
|
+
* Content Get
|
|
2665
|
+
* @summary Content Get
|
|
2666
|
+
* @param {string} contentId
|
|
2667
|
+
* @param {*} [options] Override http request option.
|
|
2668
|
+
* @throws {RequiredError}
|
|
2669
|
+
* @memberof ContentApi
|
|
2670
|
+
*/
|
|
2671
|
+
contentGet_2(contentId, options) {
|
|
2672
|
+
return ContentApiFp(this.configuration).contentGet_2(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2673
|
+
}
|
|
2674
|
+
/**
|
|
2675
|
+
* Content List
|
|
2676
|
+
* @summary Content List
|
|
2677
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2678
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2679
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2680
|
+
* @param {*} [options] Override http request option.
|
|
2681
|
+
* @throws {RequiredError}
|
|
2682
|
+
* @memberof ContentApi
|
|
2683
|
+
*/
|
|
2684
|
+
contentList(listingId, tagId, includeDeleted, options) {
|
|
2685
|
+
return ContentApiFp(this.configuration).contentList(listingId, tagId, includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* Content List
|
|
2689
|
+
* @summary Content List
|
|
2690
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
2691
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
2692
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
2693
|
+
* @param {*} [options] Override http request option.
|
|
2694
|
+
* @throws {RequiredError}
|
|
2695
|
+
* @memberof ContentApi
|
|
2696
|
+
*/
|
|
2697
|
+
contentList_3(listingId, tagId, includeDeleted, options) {
|
|
2698
|
+
return ContentApiFp(this.configuration).contentList_3(listingId, tagId, includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
2699
|
+
}
|
|
2700
|
+
/**
|
|
2701
|
+
* Content Update
|
|
2702
|
+
* @summary Content Update
|
|
2703
|
+
* @param {string} contentId
|
|
2704
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
* @memberof ContentApi
|
|
2708
|
+
*/
|
|
2709
|
+
contentUpdate(contentId, aPIContentUpdate, options) {
|
|
2710
|
+
return ContentApiFp(this.configuration).contentUpdate(contentId, aPIContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2711
|
+
}
|
|
2712
|
+
/**
|
|
2713
|
+
* Content Update
|
|
2714
|
+
* @summary Content Update
|
|
2715
|
+
* @param {string} contentId
|
|
2716
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
2717
|
+
* @param {*} [options] Override http request option.
|
|
2718
|
+
* @throws {RequiredError}
|
|
2719
|
+
* @memberof ContentApi
|
|
2720
|
+
*/
|
|
2721
|
+
contentUpdate_4(contentId, aPIContentUpdate, options) {
|
|
2722
|
+
return ContentApiFp(this.configuration).contentUpdate_4(contentId, aPIContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* ContentVersions Get
|
|
2726
|
+
* @summary ContentVersions Get
|
|
2727
|
+
* @param {string} contentVersionId
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
* @memberof ContentApi
|
|
2731
|
+
*/
|
|
2732
|
+
contentVersionsGet(contentVersionId, options) {
|
|
2733
|
+
return ContentApiFp(this.configuration).contentVersionsGet(contentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
2734
|
+
}
|
|
2735
|
+
/**
|
|
2736
|
+
* ContentVersions Get
|
|
2737
|
+
* @summary ContentVersions Get
|
|
2738
|
+
* @param {string} contentVersionId
|
|
2739
|
+
* @param {*} [options] Override http request option.
|
|
2740
|
+
* @throws {RequiredError}
|
|
2741
|
+
* @memberof ContentApi
|
|
2742
|
+
*/
|
|
2743
|
+
contentVersionsGet_5(contentVersionId, options) {
|
|
2744
|
+
return ContentApiFp(this.configuration).contentVersionsGet_5(contentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
2745
|
+
}
|
|
2746
|
+
/**
|
|
2747
|
+
* ContentVersions List
|
|
2748
|
+
* @summary ContentVersions List
|
|
2749
|
+
* @param {string} [contentId]
|
|
2750
|
+
* @param {*} [options] Override http request option.
|
|
2751
|
+
* @throws {RequiredError}
|
|
2752
|
+
* @memberof ContentApi
|
|
2753
|
+
*/
|
|
2754
|
+
contentVersionsList(contentId, options) {
|
|
2755
|
+
return ContentApiFp(this.configuration).contentVersionsList(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2756
|
+
}
|
|
2757
|
+
/**
|
|
2758
|
+
* ContentVersions List
|
|
2759
|
+
* @summary ContentVersions List
|
|
2760
|
+
* @param {string} [contentId]
|
|
2761
|
+
* @param {*} [options] Override http request option.
|
|
2762
|
+
* @throws {RequiredError}
|
|
2763
|
+
* @memberof ContentApi
|
|
2764
|
+
*/
|
|
2765
|
+
contentVersionsList_6(contentId, options) {
|
|
2766
|
+
return ContentApiFp(this.configuration).contentVersionsList_6(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
2564
2767
|
}
|
|
2565
2768
|
};
|
|
2566
|
-
var
|
|
2769
|
+
var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
2567
2770
|
return {
|
|
2568
2771
|
/**
|
|
2569
|
-
*
|
|
2570
|
-
* @summary
|
|
2571
|
-
* @param {string}
|
|
2772
|
+
* Messages Create
|
|
2773
|
+
* @summary Messages Create
|
|
2774
|
+
* @param {string} conversationId
|
|
2775
|
+
* @param {Messagecreate} messagecreate
|
|
2572
2776
|
* @param {*} [options] Override http request option.
|
|
2573
2777
|
* @throws {RequiredError}
|
|
2574
2778
|
*/
|
|
2575
|
-
|
|
2576
|
-
|
|
2779
|
+
messagesCreate: async (conversationId, messagecreate, options = {}) => {
|
|
2780
|
+
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
2781
|
+
assertParamExists("messagesCreate", "messagecreate", messagecreate);
|
|
2782
|
+
const localVarPath = `/v1/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2577
2783
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2578
2784
|
let baseOptions;
|
|
2579
2785
|
if (configuration) {
|
|
2580
2786
|
baseOptions = configuration.baseOptions;
|
|
2581
2787
|
}
|
|
2582
|
-
const localVarRequestOptions = { method: "
|
|
2583
|
-
const localVarHeaderParameter = {};
|
|
2584
|
-
const localVarQueryParameter = {};
|
|
2585
|
-
|
|
2586
|
-
|
|
2788
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2789
|
+
const localVarHeaderParameter = {};
|
|
2790
|
+
const localVarQueryParameter = {};
|
|
2791
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2792
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2794
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2795
|
+
localVarRequestOptions.data = serializeDataIfNeeded(messagecreate, localVarRequestOptions, configuration);
|
|
2796
|
+
return {
|
|
2797
|
+
url: toPathString(localVarUrlObj),
|
|
2798
|
+
options: localVarRequestOptions
|
|
2799
|
+
};
|
|
2800
|
+
},
|
|
2801
|
+
/**
|
|
2802
|
+
* Messages Get
|
|
2803
|
+
* @summary Messages Get
|
|
2804
|
+
* @param {string} messageId
|
|
2805
|
+
* @param {*} [options] Override http request option.
|
|
2806
|
+
* @throws {RequiredError}
|
|
2807
|
+
*/
|
|
2808
|
+
messagesGet: async (messageId, options = {}) => {
|
|
2809
|
+
assertParamExists("messagesGet", "messageId", messageId);
|
|
2810
|
+
const localVarPath = `/v1/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
|
|
2811
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2812
|
+
let baseOptions;
|
|
2813
|
+
if (configuration) {
|
|
2814
|
+
baseOptions = configuration.baseOptions;
|
|
2815
|
+
}
|
|
2816
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2817
|
+
const localVarHeaderParameter = {};
|
|
2818
|
+
const localVarQueryParameter = {};
|
|
2819
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2820
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2821
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2822
|
+
return {
|
|
2823
|
+
url: toPathString(localVarUrlObj),
|
|
2824
|
+
options: localVarRequestOptions
|
|
2825
|
+
};
|
|
2826
|
+
},
|
|
2827
|
+
/**
|
|
2828
|
+
* Messages List
|
|
2829
|
+
* @summary Messages List
|
|
2830
|
+
* @param {string} [conversationId]
|
|
2831
|
+
* @param {string | null} [searchString]
|
|
2832
|
+
* @param {string | null} [sentAtAfter]
|
|
2833
|
+
* @param {string | null} [sentAtBefore]
|
|
2834
|
+
* @param {string | null} [scheduledAtAfter]
|
|
2835
|
+
* @param {string | null} [scheduledAtBefore]
|
|
2836
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2837
|
+
* @param {number} [limit]
|
|
2838
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2839
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2840
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2841
|
+
* @param {*} [options] Override http request option.
|
|
2842
|
+
* @throws {RequiredError}
|
|
2843
|
+
*/
|
|
2844
|
+
messagesList: async (conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
2845
|
+
const localVarPath = `/v1/messages`;
|
|
2846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2847
|
+
let baseOptions;
|
|
2848
|
+
if (configuration) {
|
|
2849
|
+
baseOptions = configuration.baseOptions;
|
|
2850
|
+
}
|
|
2851
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2852
|
+
const localVarHeaderParameter = {};
|
|
2853
|
+
const localVarQueryParameter = {};
|
|
2854
|
+
if (conversationId !== void 0) {
|
|
2855
|
+
localVarQueryParameter["conversationId"] = conversationId;
|
|
2856
|
+
}
|
|
2857
|
+
if (searchString !== void 0) {
|
|
2858
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
2859
|
+
}
|
|
2860
|
+
if (sentAtAfter !== void 0) {
|
|
2861
|
+
localVarQueryParameter["sentAtAfter"] = sentAtAfter instanceof Date ? sentAtAfter.toISOString() : sentAtAfter;
|
|
2862
|
+
}
|
|
2863
|
+
if (sentAtBefore !== void 0) {
|
|
2864
|
+
localVarQueryParameter["sentAtBefore"] = sentAtBefore instanceof Date ? sentAtBefore.toISOString() : sentAtBefore;
|
|
2865
|
+
}
|
|
2866
|
+
if (scheduledAtAfter !== void 0) {
|
|
2867
|
+
localVarQueryParameter["scheduledAtAfter"] = scheduledAtAfter instanceof Date ? scheduledAtAfter.toISOString() : scheduledAtAfter;
|
|
2868
|
+
}
|
|
2869
|
+
if (scheduledAtBefore !== void 0) {
|
|
2870
|
+
localVarQueryParameter["scheduledAtBefore"] = scheduledAtBefore instanceof Date ? scheduledAtBefore.toISOString() : scheduledAtBefore;
|
|
2871
|
+
}
|
|
2872
|
+
if (cursor !== void 0) {
|
|
2873
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
2874
|
+
}
|
|
2875
|
+
if (limit !== void 0) {
|
|
2876
|
+
localVarQueryParameter["limit"] = limit;
|
|
2877
|
+
}
|
|
2878
|
+
if (pageDir !== void 0) {
|
|
2879
|
+
localVarQueryParameter["pageDir"] = pageDir;
|
|
2880
|
+
}
|
|
2881
|
+
if (sortBy !== void 0) {
|
|
2882
|
+
localVarQueryParameter["sortBy"] = sortBy;
|
|
2883
|
+
}
|
|
2884
|
+
if (sortOrder !== void 0) {
|
|
2885
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2587
2886
|
}
|
|
2588
2887
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2589
2888
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2595,66 +2894,165 @@ var InquiriesApiAxiosParamCreator = function(configuration) {
|
|
|
2595
2894
|
}
|
|
2596
2895
|
};
|
|
2597
2896
|
};
|
|
2598
|
-
var
|
|
2599
|
-
const localVarAxiosParamCreator =
|
|
2897
|
+
var ConversationsApiFp = function(configuration) {
|
|
2898
|
+
const localVarAxiosParamCreator = ConversationsApiAxiosParamCreator(configuration);
|
|
2600
2899
|
return {
|
|
2601
2900
|
/**
|
|
2602
|
-
*
|
|
2603
|
-
* @summary
|
|
2604
|
-
* @param {string}
|
|
2901
|
+
* Messages Create
|
|
2902
|
+
* @summary Messages Create
|
|
2903
|
+
* @param {string} conversationId
|
|
2904
|
+
* @param {Messagecreate} messagecreate
|
|
2605
2905
|
* @param {*} [options] Override http request option.
|
|
2606
2906
|
* @throws {RequiredError}
|
|
2607
2907
|
*/
|
|
2608
|
-
async
|
|
2609
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2908
|
+
async messagesCreate(conversationId, messagecreate, options) {
|
|
2909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
2610
2910
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2611
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2911
|
+
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2912
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2913
|
+
},
|
|
2914
|
+
/**
|
|
2915
|
+
* Messages Get
|
|
2916
|
+
* @summary Messages Get
|
|
2917
|
+
* @param {string} messageId
|
|
2918
|
+
* @param {*} [options] Override http request option.
|
|
2919
|
+
* @throws {RequiredError}
|
|
2920
|
+
*/
|
|
2921
|
+
async messagesGet(messageId, options) {
|
|
2922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
2923
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2924
|
+
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.messagesGet"]?.[localVarOperationServerIndex]?.url;
|
|
2925
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2926
|
+
},
|
|
2927
|
+
/**
|
|
2928
|
+
* Messages List
|
|
2929
|
+
* @summary Messages List
|
|
2930
|
+
* @param {string} [conversationId]
|
|
2931
|
+
* @param {string | null} [searchString]
|
|
2932
|
+
* @param {string | null} [sentAtAfter]
|
|
2933
|
+
* @param {string | null} [sentAtBefore]
|
|
2934
|
+
* @param {string | null} [scheduledAtAfter]
|
|
2935
|
+
* @param {string | null} [scheduledAtBefore]
|
|
2936
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2937
|
+
* @param {number} [limit]
|
|
2938
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2939
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2940
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2941
|
+
* @param {*} [options] Override http request option.
|
|
2942
|
+
* @throws {RequiredError}
|
|
2943
|
+
*/
|
|
2944
|
+
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2946
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2947
|
+
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.messagesList"]?.[localVarOperationServerIndex]?.url;
|
|
2612
2948
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2613
2949
|
}
|
|
2614
2950
|
};
|
|
2615
2951
|
};
|
|
2616
|
-
var
|
|
2617
|
-
const localVarFp =
|
|
2952
|
+
var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
2953
|
+
const localVarFp = ConversationsApiFp(configuration);
|
|
2618
2954
|
return {
|
|
2619
2955
|
/**
|
|
2620
|
-
*
|
|
2621
|
-
* @summary
|
|
2622
|
-
* @param {string}
|
|
2956
|
+
* Messages Create
|
|
2957
|
+
* @summary Messages Create
|
|
2958
|
+
* @param {string} conversationId
|
|
2959
|
+
* @param {Messagecreate} messagecreate
|
|
2623
2960
|
* @param {*} [options] Override http request option.
|
|
2624
2961
|
* @throws {RequiredError}
|
|
2625
2962
|
*/
|
|
2626
|
-
|
|
2627
|
-
return localVarFp.
|
|
2963
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
2964
|
+
return localVarFp.messagesCreate(conversationId, messagecreate, options).then((request) => request(axios, basePath));
|
|
2965
|
+
},
|
|
2966
|
+
/**
|
|
2967
|
+
* Messages Get
|
|
2968
|
+
* @summary Messages Get
|
|
2969
|
+
* @param {string} messageId
|
|
2970
|
+
* @param {*} [options] Override http request option.
|
|
2971
|
+
* @throws {RequiredError}
|
|
2972
|
+
*/
|
|
2973
|
+
messagesGet(messageId, options) {
|
|
2974
|
+
return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
|
|
2975
|
+
},
|
|
2976
|
+
/**
|
|
2977
|
+
* Messages List
|
|
2978
|
+
* @summary Messages List
|
|
2979
|
+
* @param {string} [conversationId]
|
|
2980
|
+
* @param {string | null} [searchString]
|
|
2981
|
+
* @param {string | null} [sentAtAfter]
|
|
2982
|
+
* @param {string | null} [sentAtBefore]
|
|
2983
|
+
* @param {string | null} [scheduledAtAfter]
|
|
2984
|
+
* @param {string | null} [scheduledAtBefore]
|
|
2985
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2986
|
+
* @param {number} [limit]
|
|
2987
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2988
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
2989
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2990
|
+
* @param {*} [options] Override http request option.
|
|
2991
|
+
* @throws {RequiredError}
|
|
2992
|
+
*/
|
|
2993
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2994
|
+
return localVarFp.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2628
2995
|
}
|
|
2629
2996
|
};
|
|
2630
2997
|
};
|
|
2631
|
-
var
|
|
2998
|
+
var ConversationsApi = class extends BaseAPI {
|
|
2632
2999
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
* @summary
|
|
2635
|
-
* @param {string}
|
|
3000
|
+
* Messages Create
|
|
3001
|
+
* @summary Messages Create
|
|
3002
|
+
* @param {string} conversationId
|
|
3003
|
+
* @param {Messagecreate} messagecreate
|
|
2636
3004
|
* @param {*} [options] Override http request option.
|
|
2637
3005
|
* @throws {RequiredError}
|
|
2638
|
-
* @memberof
|
|
3006
|
+
* @memberof ConversationsApi
|
|
2639
3007
|
*/
|
|
2640
|
-
|
|
2641
|
-
return
|
|
3008
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
3009
|
+
return ConversationsApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
3010
|
+
}
|
|
3011
|
+
/**
|
|
3012
|
+
* Messages Get
|
|
3013
|
+
* @summary Messages Get
|
|
3014
|
+
* @param {string} messageId
|
|
3015
|
+
* @param {*} [options] Override http request option.
|
|
3016
|
+
* @throws {RequiredError}
|
|
3017
|
+
* @memberof ConversationsApi
|
|
3018
|
+
*/
|
|
3019
|
+
messagesGet(messageId, options) {
|
|
3020
|
+
return ConversationsApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
|
|
3021
|
+
}
|
|
3022
|
+
/**
|
|
3023
|
+
* Messages List
|
|
3024
|
+
* @summary Messages List
|
|
3025
|
+
* @param {string} [conversationId]
|
|
3026
|
+
* @param {string | null} [searchString]
|
|
3027
|
+
* @param {string | null} [sentAtAfter]
|
|
3028
|
+
* @param {string | null} [sentAtBefore]
|
|
3029
|
+
* @param {string | null} [scheduledAtAfter]
|
|
3030
|
+
* @param {string | null} [scheduledAtBefore]
|
|
3031
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3032
|
+
* @param {number} [limit]
|
|
3033
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3034
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3035
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3036
|
+
* @param {*} [options] Override http request option.
|
|
3037
|
+
* @throws {RequiredError}
|
|
3038
|
+
* @memberof ConversationsApi
|
|
3039
|
+
*/
|
|
3040
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3041
|
+
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2642
3042
|
}
|
|
2643
3043
|
};
|
|
2644
|
-
var
|
|
3044
|
+
var FilesApiAxiosParamCreator = function(configuration) {
|
|
2645
3045
|
return {
|
|
2646
3046
|
/**
|
|
2647
|
-
*
|
|
2648
|
-
* @summary Generate
|
|
2649
|
-
* @param {
|
|
2650
|
-
* @param {UploadURLRequest} uploadURLRequest
|
|
3047
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
3048
|
+
* @summary Generate presigned download URL
|
|
3049
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
2651
3050
|
* @param {*} [options] Override http request option.
|
|
2652
3051
|
* @throws {RequiredError}
|
|
2653
3052
|
*/
|
|
2654
|
-
|
|
2655
|
-
assertParamExists("
|
|
2656
|
-
|
|
2657
|
-
const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
3053
|
+
generateFileDownloadURL: async (downloadURLRequest, options = {}) => {
|
|
3054
|
+
assertParamExists("generateFileDownloadURL", "downloadURLRequest", downloadURLRequest);
|
|
3055
|
+
const localVarPath = `/v1/files/downloadUrl`;
|
|
2658
3056
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2659
3057
|
let baseOptions;
|
|
2660
3058
|
if (configuration) {
|
|
@@ -2667,24 +3065,22 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2667
3065
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2668
3066
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2669
3067
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2670
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3068
|
+
localVarRequestOptions.data = serializeDataIfNeeded(downloadURLRequest, localVarRequestOptions, configuration);
|
|
2671
3069
|
return {
|
|
2672
3070
|
url: toPathString(localVarUrlObj),
|
|
2673
3071
|
options: localVarRequestOptions
|
|
2674
3072
|
};
|
|
2675
3073
|
},
|
|
2676
3074
|
/**
|
|
2677
|
-
*
|
|
2678
|
-
* @summary
|
|
2679
|
-
* @param {
|
|
2680
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3075
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
3076
|
+
* @summary Generate presigned upload URL
|
|
3077
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2681
3078
|
* @param {*} [options] Override http request option.
|
|
2682
3079
|
* @throws {RequiredError}
|
|
2683
3080
|
*/
|
|
2684
|
-
|
|
2685
|
-
assertParamExists("
|
|
2686
|
-
|
|
2687
|
-
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
3081
|
+
generateFileUploadURL: async (uploadURLRequest, options = {}) => {
|
|
3082
|
+
assertParamExists("generateFileUploadURL", "uploadURLRequest", uploadURLRequest);
|
|
3083
|
+
const localVarPath = `/v1/files/uploadUrl`;
|
|
2688
3084
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2689
3085
|
let baseOptions;
|
|
2690
3086
|
if (configuration) {
|
|
@@ -2697,136 +3093,215 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2697
3093
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2698
3094
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2699
3095
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2700
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3096
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
2701
3097
|
return {
|
|
2702
3098
|
url: toPathString(localVarUrlObj),
|
|
2703
3099
|
options: localVarRequestOptions
|
|
2704
3100
|
};
|
|
2705
|
-
}
|
|
3101
|
+
}
|
|
3102
|
+
};
|
|
3103
|
+
};
|
|
3104
|
+
var FilesApiFp = function(configuration) {
|
|
3105
|
+
const localVarAxiosParamCreator = FilesApiAxiosParamCreator(configuration);
|
|
3106
|
+
return {
|
|
2706
3107
|
/**
|
|
2707
|
-
*
|
|
2708
|
-
* @summary
|
|
2709
|
-
* @param {
|
|
3108
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
3109
|
+
* @summary Generate presigned download URL
|
|
3110
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
2710
3111
|
* @param {*} [options] Override http request option.
|
|
2711
3112
|
* @throws {RequiredError}
|
|
2712
3113
|
*/
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
const
|
|
2716
|
-
const
|
|
2717
|
-
|
|
2718
|
-
if (configuration) {
|
|
2719
|
-
baseOptions = configuration.baseOptions;
|
|
2720
|
-
}
|
|
2721
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2722
|
-
const localVarHeaderParameter = {};
|
|
2723
|
-
const localVarQueryParameter = {};
|
|
2724
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2725
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2726
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2727
|
-
return {
|
|
2728
|
-
url: toPathString(localVarUrlObj),
|
|
2729
|
-
options: localVarRequestOptions
|
|
2730
|
-
};
|
|
3114
|
+
async generateFileDownloadURL(downloadURLRequest, options) {
|
|
3115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateFileDownloadURL(downloadURLRequest, options);
|
|
3116
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3117
|
+
const localVarOperationServerBasePath = operationServerMap["FilesApi.generateFileDownloadURL"]?.[localVarOperationServerIndex]?.url;
|
|
3118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2731
3119
|
},
|
|
2732
3120
|
/**
|
|
2733
|
-
*
|
|
2734
|
-
* @summary
|
|
2735
|
-
* @param {
|
|
3121
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
3122
|
+
* @summary Generate presigned upload URL
|
|
3123
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2736
3124
|
* @param {*} [options] Override http request option.
|
|
2737
3125
|
* @throws {RequiredError}
|
|
2738
3126
|
*/
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
const
|
|
2742
|
-
const
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
3127
|
+
async generateFileUploadURL(uploadURLRequest, options) {
|
|
3128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateFileUploadURL(uploadURLRequest, options);
|
|
3129
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3130
|
+
const localVarOperationServerBasePath = operationServerMap["FilesApi.generateFileUploadURL"]?.[localVarOperationServerIndex]?.url;
|
|
3131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3132
|
+
}
|
|
3133
|
+
};
|
|
3134
|
+
};
|
|
3135
|
+
var FilesApiFactory = function(configuration, basePath, axios) {
|
|
3136
|
+
const localVarFp = FilesApiFp(configuration);
|
|
3137
|
+
return {
|
|
3138
|
+
/**
|
|
3139
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
3140
|
+
* @summary Generate presigned download URL
|
|
3141
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
3142
|
+
* @param {*} [options] Override http request option.
|
|
3143
|
+
* @throws {RequiredError}
|
|
3144
|
+
*/
|
|
3145
|
+
generateFileDownloadURL(downloadURLRequest, options) {
|
|
3146
|
+
return localVarFp.generateFileDownloadURL(downloadURLRequest, options).then((request) => request(axios, basePath));
|
|
2757
3147
|
},
|
|
2758
3148
|
/**
|
|
2759
|
-
*
|
|
2760
|
-
* @summary
|
|
2761
|
-
* @param {
|
|
2762
|
-
* @param {
|
|
3149
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
3150
|
+
* @summary Generate presigned upload URL
|
|
3151
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
3152
|
+
* @param {*} [options] Override http request option.
|
|
3153
|
+
* @throws {RequiredError}
|
|
3154
|
+
*/
|
|
3155
|
+
generateFileUploadURL(uploadURLRequest, options) {
|
|
3156
|
+
return localVarFp.generateFileUploadURL(uploadURLRequest, options).then((request) => request(axios, basePath));
|
|
3157
|
+
}
|
|
3158
|
+
};
|
|
3159
|
+
};
|
|
3160
|
+
var FilesApi = class extends BaseAPI {
|
|
3161
|
+
/**
|
|
3162
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
3163
|
+
* @summary Generate presigned download URL
|
|
3164
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
3165
|
+
* @param {*} [options] Override http request option.
|
|
3166
|
+
* @throws {RequiredError}
|
|
3167
|
+
* @memberof FilesApi
|
|
3168
|
+
*/
|
|
3169
|
+
generateFileDownloadURL(downloadURLRequest, options) {
|
|
3170
|
+
return FilesApiFp(this.configuration).generateFileDownloadURL(downloadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3171
|
+
}
|
|
3172
|
+
/**
|
|
3173
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
3174
|
+
* @summary Generate presigned upload URL
|
|
3175
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
3176
|
+
* @param {*} [options] Override http request option.
|
|
3177
|
+
* @throws {RequiredError}
|
|
3178
|
+
* @memberof FilesApi
|
|
3179
|
+
*/
|
|
3180
|
+
generateFileUploadURL(uploadURLRequest, options) {
|
|
3181
|
+
return FilesApiFp(this.configuration).generateFileUploadURL(uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3182
|
+
}
|
|
3183
|
+
};
|
|
3184
|
+
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
3185
|
+
return {
|
|
3186
|
+
/**
|
|
3187
|
+
*
|
|
3188
|
+
* @summary Unifiedwebhook
|
|
3189
|
+
* @param {object} body
|
|
2763
3190
|
* @param {*} [options] Override http request option.
|
|
2764
3191
|
* @throws {RequiredError}
|
|
2765
3192
|
*/
|
|
2766
|
-
|
|
2767
|
-
|
|
3193
|
+
webhook: async (body, options = {}) => {
|
|
3194
|
+
assertParamExists("webhook", "body", body);
|
|
3195
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2768
3196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2769
3197
|
let baseOptions;
|
|
2770
3198
|
if (configuration) {
|
|
2771
3199
|
baseOptions = configuration.baseOptions;
|
|
2772
3200
|
}
|
|
2773
|
-
const localVarRequestOptions = { method: "
|
|
3201
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2774
3202
|
const localVarHeaderParameter = {};
|
|
2775
|
-
const localVarQueryParameter = {};
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
}
|
|
2779
|
-
if (status !== void 0) {
|
|
2780
|
-
localVarQueryParameter["status"] = status;
|
|
2781
|
-
}
|
|
3203
|
+
const localVarQueryParameter = {};
|
|
3204
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3205
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2782
3206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2783
3207
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2784
3208
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3209
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2785
3210
|
return {
|
|
2786
3211
|
url: toPathString(localVarUrlObj),
|
|
2787
3212
|
options: localVarRequestOptions
|
|
2788
3213
|
};
|
|
2789
|
-
}
|
|
3214
|
+
}
|
|
3215
|
+
};
|
|
3216
|
+
};
|
|
3217
|
+
var HostawayApiFp = function(configuration) {
|
|
3218
|
+
const localVarAxiosParamCreator = HostawayApiAxiosParamCreator(configuration);
|
|
3219
|
+
return {
|
|
3220
|
+
/**
|
|
3221
|
+
*
|
|
3222
|
+
* @summary Unifiedwebhook
|
|
3223
|
+
* @param {object} body
|
|
3224
|
+
* @param {*} [options] Override http request option.
|
|
3225
|
+
* @throws {RequiredError}
|
|
3226
|
+
*/
|
|
3227
|
+
async webhook(body, options) {
|
|
3228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
3229
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3230
|
+
const localVarOperationServerBasePath = operationServerMap["HostawayApi.webhook"]?.[localVarOperationServerIndex]?.url;
|
|
3231
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3232
|
+
}
|
|
3233
|
+
};
|
|
3234
|
+
};
|
|
3235
|
+
var HostawayApiFactory = function(configuration, basePath, axios) {
|
|
3236
|
+
const localVarFp = HostawayApiFp(configuration);
|
|
3237
|
+
return {
|
|
3238
|
+
/**
|
|
3239
|
+
*
|
|
3240
|
+
* @summary Unifiedwebhook
|
|
3241
|
+
* @param {object} body
|
|
3242
|
+
* @param {*} [options] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
*/
|
|
3245
|
+
webhook(body, options) {
|
|
3246
|
+
return localVarFp.webhook(body, options).then((request) => request(axios, basePath));
|
|
3247
|
+
}
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3250
|
+
var HostawayApi = class extends BaseAPI {
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @summary Unifiedwebhook
|
|
3254
|
+
* @param {object} body
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
* @memberof HostawayApi
|
|
3258
|
+
*/
|
|
3259
|
+
webhook(body, options) {
|
|
3260
|
+
return HostawayApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
|
|
3261
|
+
}
|
|
3262
|
+
};
|
|
3263
|
+
var InboxesApiAxiosParamCreator = function(configuration) {
|
|
3264
|
+
return {
|
|
2790
3265
|
/**
|
|
2791
|
-
*
|
|
2792
|
-
* @summary
|
|
2793
|
-
* @param {string}
|
|
2794
|
-
* @param {
|
|
3266
|
+
* Conversations Create
|
|
3267
|
+
* @summary Conversations Create
|
|
3268
|
+
* @param {string} inboxId
|
|
3269
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
2795
3270
|
* @param {*} [options] Override http request option.
|
|
2796
3271
|
* @throws {RequiredError}
|
|
2797
3272
|
*/
|
|
2798
|
-
|
|
2799
|
-
assertParamExists("
|
|
2800
|
-
assertParamExists("
|
|
2801
|
-
const localVarPath = `/v1/
|
|
3273
|
+
conversationsCreate: async (inboxId, aPIConversationCreate, options = {}) => {
|
|
3274
|
+
assertParamExists("conversationsCreate", "inboxId", inboxId);
|
|
3275
|
+
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
3276
|
+
const localVarPath = `/v1/inboxes/{inboxId}/conversations`.replace(`{${"inboxId"}}`, encodeURIComponent(String(inboxId)));
|
|
2802
3277
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2803
3278
|
let baseOptions;
|
|
2804
3279
|
if (configuration) {
|
|
2805
3280
|
baseOptions = configuration.baseOptions;
|
|
2806
3281
|
}
|
|
2807
|
-
const localVarRequestOptions = { method: "
|
|
3282
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2808
3283
|
const localVarHeaderParameter = {};
|
|
2809
3284
|
const localVarQueryParameter = {};
|
|
2810
3285
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2811
3286
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2812
3287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2813
3288
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2814
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3289
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
2815
3290
|
return {
|
|
2816
3291
|
url: toPathString(localVarUrlObj),
|
|
2817
3292
|
options: localVarRequestOptions
|
|
2818
3293
|
};
|
|
2819
3294
|
},
|
|
2820
3295
|
/**
|
|
2821
|
-
*
|
|
2822
|
-
* @summary
|
|
2823
|
-
* @param {string}
|
|
3296
|
+
* Conversations Get
|
|
3297
|
+
* @summary Conversations Get
|
|
3298
|
+
* @param {string} conversationId
|
|
2824
3299
|
* @param {*} [options] Override http request option.
|
|
2825
3300
|
* @throws {RequiredError}
|
|
2826
3301
|
*/
|
|
2827
|
-
|
|
2828
|
-
assertParamExists("
|
|
2829
|
-
const localVarPath = `/v1/
|
|
3302
|
+
conversationsGet: async (conversationId, options = {}) => {
|
|
3303
|
+
assertParamExists("conversationsGet", "conversationId", conversationId);
|
|
3304
|
+
const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2830
3305
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2831
3306
|
let baseOptions;
|
|
2832
3307
|
if (configuration) {
|
|
@@ -2844,15 +3319,21 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2844
3319
|
};
|
|
2845
3320
|
},
|
|
2846
3321
|
/**
|
|
2847
|
-
*
|
|
2848
|
-
* @summary
|
|
2849
|
-
* @param {string}
|
|
3322
|
+
* List all conversations, must filter by contact_id
|
|
3323
|
+
* @summary Conversations List
|
|
3324
|
+
* @param {string | null} [searchString]
|
|
3325
|
+
* @param {string | null} [contactId]
|
|
3326
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
3327
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3328
|
+
* @param {number} [limit]
|
|
3329
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3330
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3331
|
+
* @param {string | null} [inboxId]
|
|
2850
3332
|
* @param {*} [options] Override http request option.
|
|
2851
3333
|
* @throws {RequiredError}
|
|
2852
3334
|
*/
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
3335
|
+
conversationsList: async (searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options = {}) => {
|
|
3336
|
+
const localVarPath = `/v1/conversations`;
|
|
2856
3337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2857
3338
|
let baseOptions;
|
|
2858
3339
|
if (configuration) {
|
|
@@ -2861,6 +3342,30 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2861
3342
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2862
3343
|
const localVarHeaderParameter = {};
|
|
2863
3344
|
const localVarQueryParameter = {};
|
|
3345
|
+
if (searchString !== void 0) {
|
|
3346
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
3347
|
+
}
|
|
3348
|
+
if (contactId !== void 0) {
|
|
3349
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
3350
|
+
}
|
|
3351
|
+
if (status) {
|
|
3352
|
+
localVarQueryParameter["status"] = status;
|
|
3353
|
+
}
|
|
3354
|
+
if (cursor !== void 0) {
|
|
3355
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
3356
|
+
}
|
|
3357
|
+
if (limit !== void 0) {
|
|
3358
|
+
localVarQueryParameter["limit"] = limit;
|
|
3359
|
+
}
|
|
3360
|
+
if (pageDir !== void 0) {
|
|
3361
|
+
localVarQueryParameter["pageDir"] = pageDir;
|
|
3362
|
+
}
|
|
3363
|
+
if (sortOrder !== void 0) {
|
|
3364
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
3365
|
+
}
|
|
3366
|
+
if (inboxId !== void 0) {
|
|
3367
|
+
localVarQueryParameter["inboxId"] = inboxId;
|
|
3368
|
+
}
|
|
2864
3369
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2865
3370
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2866
3371
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2870,42 +3375,43 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2870
3375
|
};
|
|
2871
3376
|
},
|
|
2872
3377
|
/**
|
|
2873
|
-
*
|
|
2874
|
-
* @summary
|
|
2875
|
-
* @param {string}
|
|
3378
|
+
* Conversations Update
|
|
3379
|
+
* @summary Conversations Update
|
|
3380
|
+
* @param {string} conversationId
|
|
3381
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
2876
3382
|
* @param {*} [options] Override http request option.
|
|
2877
3383
|
* @throws {RequiredError}
|
|
2878
3384
|
*/
|
|
2879
|
-
|
|
2880
|
-
|
|
3385
|
+
conversationsUpdate: async (conversationId, aPIConversationUpdate, options = {}) => {
|
|
3386
|
+
assertParamExists("conversationsUpdate", "conversationId", conversationId);
|
|
3387
|
+
assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
|
|
3388
|
+
const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2881
3389
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2882
3390
|
let baseOptions;
|
|
2883
3391
|
if (configuration) {
|
|
2884
3392
|
baseOptions = configuration.baseOptions;
|
|
2885
3393
|
}
|
|
2886
|
-
const localVarRequestOptions = { method: "
|
|
3394
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2887
3395
|
const localVarHeaderParameter = {};
|
|
2888
3396
|
const localVarQueryParameter = {};
|
|
2889
|
-
|
|
2890
|
-
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
2891
|
-
}
|
|
3397
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2892
3398
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2893
3399
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2894
3400
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3401
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
|
|
2895
3402
|
return {
|
|
2896
3403
|
url: toPathString(localVarUrlObj),
|
|
2897
3404
|
options: localVarRequestOptions
|
|
2898
3405
|
};
|
|
2899
3406
|
},
|
|
2900
3407
|
/**
|
|
2901
|
-
*
|
|
2902
|
-
* @summary
|
|
2903
|
-
* @param {string} [listingContentId]
|
|
3408
|
+
* Inboxes List
|
|
3409
|
+
* @summary Inboxes List
|
|
2904
3410
|
* @param {*} [options] Override http request option.
|
|
2905
3411
|
* @throws {RequiredError}
|
|
2906
3412
|
*/
|
|
2907
|
-
|
|
2908
|
-
const localVarPath = `/v1/
|
|
3413
|
+
inboxesList: async (options = {}) => {
|
|
3414
|
+
const localVarPath = `/v1/inboxes`;
|
|
2909
3415
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2910
3416
|
let baseOptions;
|
|
2911
3417
|
if (configuration) {
|
|
@@ -2914,9 +3420,6 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2914
3420
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2915
3421
|
const localVarHeaderParameter = {};
|
|
2916
3422
|
const localVarQueryParameter = {};
|
|
2917
|
-
if (listingContentId !== void 0) {
|
|
2918
|
-
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
2919
|
-
}
|
|
2920
3423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2921
3424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2922
3425
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2927,438 +3430,223 @@ var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
|
2927
3430
|
}
|
|
2928
3431
|
};
|
|
2929
3432
|
};
|
|
2930
|
-
var
|
|
2931
|
-
const localVarAxiosParamCreator =
|
|
3433
|
+
var InboxesApiFp = function(configuration) {
|
|
3434
|
+
const localVarAxiosParamCreator = InboxesApiAxiosParamCreator(configuration);
|
|
2932
3435
|
return {
|
|
2933
3436
|
/**
|
|
2934
|
-
*
|
|
2935
|
-
* @summary
|
|
2936
|
-
* @param {string}
|
|
2937
|
-
* @param {
|
|
2938
|
-
* @param {*} [options] Override http request option.
|
|
2939
|
-
* @throws {RequiredError}
|
|
2940
|
-
*/
|
|
2941
|
-
async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
2942
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
|
|
2943
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2944
|
-
const localVarOperationServerBasePath = operationServerMap["ListingContentApi.generateListingContentUploadURL"]?.[localVarOperationServerIndex]?.url;
|
|
2945
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2946
|
-
},
|
|
2947
|
-
/**
|
|
2948
|
-
* ListingContent Create
|
|
2949
|
-
* @summary ListingContent Create
|
|
2950
|
-
* @param {string} listingId
|
|
2951
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
2952
|
-
* @param {*} [options] Override http request option.
|
|
2953
|
-
* @throws {RequiredError}
|
|
2954
|
-
*/
|
|
2955
|
-
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
2956
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
2957
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2958
|
-
const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2959
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2960
|
-
},
|
|
2961
|
-
/**
|
|
2962
|
-
* ListingContent Delete
|
|
2963
|
-
* @summary ListingContent Delete
|
|
2964
|
-
* @param {string} listingContentId
|
|
2965
|
-
* @param {*} [options] Override http request option.
|
|
2966
|
-
* @throws {RequiredError}
|
|
2967
|
-
*/
|
|
2968
|
-
async listingContentDelete(listingContentId, options) {
|
|
2969
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
2970
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2971
|
-
const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
|
|
2972
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2973
|
-
},
|
|
2974
|
-
/**
|
|
2975
|
-
* ListingContent Get
|
|
2976
|
-
* @summary ListingContent Get
|
|
2977
|
-
* @param {string} listingContentId
|
|
2978
|
-
* @param {*} [options] Override http request option.
|
|
2979
|
-
* @throws {RequiredError}
|
|
2980
|
-
*/
|
|
2981
|
-
async listingContentGet(listingContentId, options) {
|
|
2982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
2983
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2984
|
-
const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
|
|
2985
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2986
|
-
},
|
|
2987
|
-
/**
|
|
2988
|
-
* ListingContent List
|
|
2989
|
-
* @summary ListingContent List
|
|
2990
|
-
* @param {string} [listingId]
|
|
2991
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
2992
|
-
* @param {*} [options] Override http request option.
|
|
2993
|
-
* @throws {RequiredError}
|
|
2994
|
-
*/
|
|
2995
|
-
async listingContentList(listingId, status, options) {
|
|
2996
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
2997
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2998
|
-
const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
|
|
2999
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3000
|
-
},
|
|
3001
|
-
/**
|
|
3002
|
-
* ListingContent Update
|
|
3003
|
-
* @summary ListingContent Update
|
|
3004
|
-
* @param {string} listingContentId
|
|
3005
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3437
|
+
* Conversations Create
|
|
3438
|
+
* @summary Conversations Create
|
|
3439
|
+
* @param {string} inboxId
|
|
3440
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
3006
3441
|
* @param {*} [options] Override http request option.
|
|
3007
3442
|
* @throws {RequiredError}
|
|
3008
3443
|
*/
|
|
3009
|
-
async
|
|
3010
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3444
|
+
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
3445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
3011
3446
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3012
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
3447
|
+
const localVarOperationServerBasePath = operationServerMap["InboxesApi.conversationsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
3013
3448
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3014
3449
|
},
|
|
3015
3450
|
/**
|
|
3016
|
-
*
|
|
3017
|
-
* @summary
|
|
3018
|
-
* @param {string}
|
|
3451
|
+
* Conversations Get
|
|
3452
|
+
* @summary Conversations Get
|
|
3453
|
+
* @param {string} conversationId
|
|
3019
3454
|
* @param {*} [options] Override http request option.
|
|
3020
3455
|
* @throws {RequiredError}
|
|
3021
3456
|
*/
|
|
3022
|
-
async
|
|
3023
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3457
|
+
async conversationsGet(conversationId, options) {
|
|
3458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
3024
3459
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3025
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
3460
|
+
const localVarOperationServerBasePath = operationServerMap["InboxesApi.conversationsGet"]?.[localVarOperationServerIndex]?.url;
|
|
3026
3461
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3027
3462
|
},
|
|
3028
3463
|
/**
|
|
3029
|
-
*
|
|
3030
|
-
* @summary
|
|
3031
|
-
* @param {string}
|
|
3464
|
+
* List all conversations, must filter by contact_id
|
|
3465
|
+
* @summary Conversations List
|
|
3466
|
+
* @param {string | null} [searchString]
|
|
3467
|
+
* @param {string | null} [contactId]
|
|
3468
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
3469
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3470
|
+
* @param {number} [limit]
|
|
3471
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3472
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3473
|
+
* @param {string | null} [inboxId]
|
|
3032
3474
|
* @param {*} [options] Override http request option.
|
|
3033
3475
|
* @throws {RequiredError}
|
|
3034
3476
|
*/
|
|
3035
|
-
async
|
|
3036
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3477
|
+
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
3478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
3037
3479
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3038
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
3480
|
+
const localVarOperationServerBasePath = operationServerMap["InboxesApi.conversationsList"]?.[localVarOperationServerIndex]?.url;
|
|
3039
3481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3040
3482
|
},
|
|
3041
3483
|
/**
|
|
3042
|
-
*
|
|
3043
|
-
* @summary
|
|
3044
|
-
* @param {string}
|
|
3484
|
+
* Conversations Update
|
|
3485
|
+
* @summary Conversations Update
|
|
3486
|
+
* @param {string} conversationId
|
|
3487
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
3045
3488
|
* @param {*} [options] Override http request option.
|
|
3046
3489
|
* @throws {RequiredError}
|
|
3047
3490
|
*/
|
|
3048
|
-
async
|
|
3049
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3491
|
+
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
3492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
3050
3493
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3051
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
3494
|
+
const localVarOperationServerBasePath = operationServerMap["InboxesApi.conversationsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
3052
3495
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3053
3496
|
},
|
|
3054
3497
|
/**
|
|
3055
|
-
*
|
|
3056
|
-
* @summary
|
|
3057
|
-
* @param {string} [listingContentId]
|
|
3498
|
+
* Inboxes List
|
|
3499
|
+
* @summary Inboxes List
|
|
3058
3500
|
* @param {*} [options] Override http request option.
|
|
3059
3501
|
* @throws {RequiredError}
|
|
3060
3502
|
*/
|
|
3061
|
-
async
|
|
3062
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3503
|
+
async inboxesList(options) {
|
|
3504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
3063
3505
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3064
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
3506
|
+
const localVarOperationServerBasePath = operationServerMap["InboxesApi.inboxesList"]?.[localVarOperationServerIndex]?.url;
|
|
3065
3507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3066
3508
|
}
|
|
3067
3509
|
};
|
|
3068
3510
|
};
|
|
3069
|
-
var
|
|
3070
|
-
const localVarFp =
|
|
3511
|
+
var InboxesApiFactory = function(configuration, basePath, axios) {
|
|
3512
|
+
const localVarFp = InboxesApiFp(configuration);
|
|
3071
3513
|
return {
|
|
3072
3514
|
/**
|
|
3073
|
-
*
|
|
3074
|
-
* @summary
|
|
3075
|
-
* @param {string}
|
|
3076
|
-
* @param {
|
|
3077
|
-
* @param {*} [options] Override http request option.
|
|
3078
|
-
* @throws {RequiredError}
|
|
3079
|
-
*/
|
|
3080
|
-
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
3081
|
-
return localVarFp.generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(axios, basePath));
|
|
3082
|
-
},
|
|
3083
|
-
/**
|
|
3084
|
-
* ListingContent Create
|
|
3085
|
-
* @summary ListingContent Create
|
|
3086
|
-
* @param {string} listingId
|
|
3087
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3088
|
-
* @param {*} [options] Override http request option.
|
|
3089
|
-
* @throws {RequiredError}
|
|
3090
|
-
*/
|
|
3091
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3092
|
-
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
3093
|
-
},
|
|
3094
|
-
/**
|
|
3095
|
-
* ListingContent Delete
|
|
3096
|
-
* @summary ListingContent Delete
|
|
3097
|
-
* @param {string} listingContentId
|
|
3098
|
-
* @param {*} [options] Override http request option.
|
|
3099
|
-
* @throws {RequiredError}
|
|
3100
|
-
*/
|
|
3101
|
-
listingContentDelete(listingContentId, options) {
|
|
3102
|
-
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
3103
|
-
},
|
|
3104
|
-
/**
|
|
3105
|
-
* ListingContent Get
|
|
3106
|
-
* @summary ListingContent Get
|
|
3107
|
-
* @param {string} listingContentId
|
|
3108
|
-
* @param {*} [options] Override http request option.
|
|
3109
|
-
* @throws {RequiredError}
|
|
3110
|
-
*/
|
|
3111
|
-
listingContentGet(listingContentId, options) {
|
|
3112
|
-
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
3113
|
-
},
|
|
3114
|
-
/**
|
|
3115
|
-
* ListingContent List
|
|
3116
|
-
* @summary ListingContent List
|
|
3117
|
-
* @param {string} [listingId]
|
|
3118
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3119
|
-
* @param {*} [options] Override http request option.
|
|
3120
|
-
* @throws {RequiredError}
|
|
3121
|
-
*/
|
|
3122
|
-
listingContentList(listingId, status, options) {
|
|
3123
|
-
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
3124
|
-
},
|
|
3125
|
-
/**
|
|
3126
|
-
* ListingContent Update
|
|
3127
|
-
* @summary ListingContent Update
|
|
3128
|
-
* @param {string} listingContentId
|
|
3129
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3515
|
+
* Conversations Create
|
|
3516
|
+
* @summary Conversations Create
|
|
3517
|
+
* @param {string} inboxId
|
|
3518
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
3130
3519
|
* @param {*} [options] Override http request option.
|
|
3131
3520
|
* @throws {RequiredError}
|
|
3132
3521
|
*/
|
|
3133
|
-
|
|
3134
|
-
return localVarFp.
|
|
3522
|
+
conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
3523
|
+
return localVarFp.conversationsCreate(inboxId, aPIConversationCreate, options).then((request) => request(axios, basePath));
|
|
3135
3524
|
},
|
|
3136
3525
|
/**
|
|
3137
|
-
*
|
|
3138
|
-
* @summary
|
|
3139
|
-
* @param {string}
|
|
3526
|
+
* Conversations Get
|
|
3527
|
+
* @summary Conversations Get
|
|
3528
|
+
* @param {string} conversationId
|
|
3140
3529
|
* @param {*} [options] Override http request option.
|
|
3141
3530
|
* @throws {RequiredError}
|
|
3142
3531
|
*/
|
|
3143
|
-
|
|
3144
|
-
return localVarFp.
|
|
3532
|
+
conversationsGet(conversationId, options) {
|
|
3533
|
+
return localVarFp.conversationsGet(conversationId, options).then((request) => request(axios, basePath));
|
|
3145
3534
|
},
|
|
3146
3535
|
/**
|
|
3147
|
-
*
|
|
3148
|
-
* @summary
|
|
3149
|
-
* @param {string}
|
|
3536
|
+
* List all conversations, must filter by contact_id
|
|
3537
|
+
* @summary Conversations List
|
|
3538
|
+
* @param {string | null} [searchString]
|
|
3539
|
+
* @param {string | null} [contactId]
|
|
3540
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
3541
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3542
|
+
* @param {number} [limit]
|
|
3543
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3544
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3545
|
+
* @param {string | null} [inboxId]
|
|
3150
3546
|
* @param {*} [options] Override http request option.
|
|
3151
3547
|
* @throws {RequiredError}
|
|
3152
3548
|
*/
|
|
3153
|
-
|
|
3154
|
-
return localVarFp.
|
|
3549
|
+
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
3550
|
+
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
3155
3551
|
},
|
|
3156
3552
|
/**
|
|
3157
|
-
*
|
|
3158
|
-
* @summary
|
|
3159
|
-
* @param {string}
|
|
3553
|
+
* Conversations Update
|
|
3554
|
+
* @summary Conversations Update
|
|
3555
|
+
* @param {string} conversationId
|
|
3556
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
3160
3557
|
* @param {*} [options] Override http request option.
|
|
3161
3558
|
* @throws {RequiredError}
|
|
3162
3559
|
*/
|
|
3163
|
-
|
|
3164
|
-
return localVarFp.
|
|
3560
|
+
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
3561
|
+
return localVarFp.conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(axios, basePath));
|
|
3165
3562
|
},
|
|
3166
3563
|
/**
|
|
3167
|
-
*
|
|
3168
|
-
* @summary
|
|
3169
|
-
* @param {string} [listingContentId]
|
|
3564
|
+
* Inboxes List
|
|
3565
|
+
* @summary Inboxes List
|
|
3170
3566
|
* @param {*} [options] Override http request option.
|
|
3171
3567
|
* @throws {RequiredError}
|
|
3172
3568
|
*/
|
|
3173
|
-
|
|
3174
|
-
return localVarFp.
|
|
3569
|
+
inboxesList(options) {
|
|
3570
|
+
return localVarFp.inboxesList(options).then((request) => request(axios, basePath));
|
|
3175
3571
|
}
|
|
3176
3572
|
};
|
|
3177
3573
|
};
|
|
3178
|
-
var
|
|
3179
|
-
/**
|
|
3180
|
-
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
3181
|
-
* @summary Generate Listing Content Upload Url
|
|
3182
|
-
* @param {string} listingId
|
|
3183
|
-
* @param {UploadURLRequest} uploadURLRequest
|
|
3184
|
-
* @param {*} [options] Override http request option.
|
|
3185
|
-
* @throws {RequiredError}
|
|
3186
|
-
* @memberof ListingContentApi
|
|
3187
|
-
*/
|
|
3188
|
-
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
3189
|
-
return ListingContentApiFp(this.configuration).generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3190
|
-
}
|
|
3191
|
-
/**
|
|
3192
|
-
* ListingContent Create
|
|
3193
|
-
* @summary ListingContent Create
|
|
3194
|
-
* @param {string} listingId
|
|
3195
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3196
|
-
* @param {*} [options] Override http request option.
|
|
3197
|
-
* @throws {RequiredError}
|
|
3198
|
-
* @memberof ListingContentApi
|
|
3199
|
-
*/
|
|
3200
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3201
|
-
return ListingContentApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3202
|
-
}
|
|
3203
|
-
/**
|
|
3204
|
-
* ListingContent Delete
|
|
3205
|
-
* @summary ListingContent Delete
|
|
3206
|
-
* @param {string} listingContentId
|
|
3207
|
-
* @param {*} [options] Override http request option.
|
|
3208
|
-
* @throws {RequiredError}
|
|
3209
|
-
* @memberof ListingContentApi
|
|
3210
|
-
*/
|
|
3211
|
-
listingContentDelete(listingContentId, options) {
|
|
3212
|
-
return ListingContentApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3213
|
-
}
|
|
3214
|
-
/**
|
|
3215
|
-
* ListingContent Get
|
|
3216
|
-
* @summary ListingContent Get
|
|
3217
|
-
* @param {string} listingContentId
|
|
3218
|
-
* @param {*} [options] Override http request option.
|
|
3219
|
-
* @throws {RequiredError}
|
|
3220
|
-
* @memberof ListingContentApi
|
|
3221
|
-
*/
|
|
3222
|
-
listingContentGet(listingContentId, options) {
|
|
3223
|
-
return ListingContentApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3224
|
-
}
|
|
3225
|
-
/**
|
|
3226
|
-
* ListingContent List
|
|
3227
|
-
* @summary ListingContent List
|
|
3228
|
-
* @param {string} [listingId]
|
|
3229
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3230
|
-
* @param {*} [options] Override http request option.
|
|
3231
|
-
* @throws {RequiredError}
|
|
3232
|
-
* @memberof ListingContentApi
|
|
3233
|
-
*/
|
|
3234
|
-
listingContentList(listingId, status, options) {
|
|
3235
|
-
return ListingContentApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
3236
|
-
}
|
|
3574
|
+
var InboxesApi = class extends BaseAPI {
|
|
3237
3575
|
/**
|
|
3238
|
-
*
|
|
3239
|
-
* @summary
|
|
3240
|
-
* @param {string}
|
|
3241
|
-
* @param {
|
|
3576
|
+
* Conversations Create
|
|
3577
|
+
* @summary Conversations Create
|
|
3578
|
+
* @param {string} inboxId
|
|
3579
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
3242
3580
|
* @param {*} [options] Override http request option.
|
|
3243
3581
|
* @throws {RequiredError}
|
|
3244
|
-
* @memberof
|
|
3582
|
+
* @memberof InboxesApi
|
|
3245
3583
|
*/
|
|
3246
|
-
|
|
3247
|
-
return
|
|
3584
|
+
conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
3585
|
+
return InboxesApiFp(this.configuration).conversationsCreate(inboxId, aPIConversationCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3248
3586
|
}
|
|
3249
3587
|
/**
|
|
3250
|
-
*
|
|
3251
|
-
* @summary
|
|
3252
|
-
* @param {string}
|
|
3588
|
+
* Conversations Get
|
|
3589
|
+
* @summary Conversations Get
|
|
3590
|
+
* @param {string} conversationId
|
|
3253
3591
|
* @param {*} [options] Override http request option.
|
|
3254
3592
|
* @throws {RequiredError}
|
|
3255
|
-
* @memberof
|
|
3593
|
+
* @memberof InboxesApi
|
|
3256
3594
|
*/
|
|
3257
|
-
|
|
3258
|
-
return
|
|
3595
|
+
conversationsGet(conversationId, options) {
|
|
3596
|
+
return InboxesApiFp(this.configuration).conversationsGet(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
3259
3597
|
}
|
|
3260
3598
|
/**
|
|
3261
|
-
*
|
|
3262
|
-
* @summary
|
|
3263
|
-
* @param {string}
|
|
3599
|
+
* List all conversations, must filter by contact_id
|
|
3600
|
+
* @summary Conversations List
|
|
3601
|
+
* @param {string | null} [searchString]
|
|
3602
|
+
* @param {string | null} [contactId]
|
|
3603
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
3604
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3605
|
+
* @param {number} [limit]
|
|
3606
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3607
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3608
|
+
* @param {string | null} [inboxId]
|
|
3264
3609
|
* @param {*} [options] Override http request option.
|
|
3265
3610
|
* @throws {RequiredError}
|
|
3266
|
-
* @memberof
|
|
3611
|
+
* @memberof InboxesApi
|
|
3267
3612
|
*/
|
|
3268
|
-
|
|
3269
|
-
return
|
|
3613
|
+
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
3614
|
+
return InboxesApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
3270
3615
|
}
|
|
3271
3616
|
/**
|
|
3272
|
-
*
|
|
3273
|
-
* @summary
|
|
3274
|
-
* @param {string}
|
|
3617
|
+
* Conversations Update
|
|
3618
|
+
* @summary Conversations Update
|
|
3619
|
+
* @param {string} conversationId
|
|
3620
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
3275
3621
|
* @param {*} [options] Override http request option.
|
|
3276
3622
|
* @throws {RequiredError}
|
|
3277
|
-
* @memberof
|
|
3623
|
+
* @memberof InboxesApi
|
|
3278
3624
|
*/
|
|
3279
|
-
|
|
3280
|
-
return
|
|
3625
|
+
conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
3626
|
+
return InboxesApiFp(this.configuration).conversationsUpdate(conversationId, aPIConversationUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3281
3627
|
}
|
|
3282
3628
|
/**
|
|
3283
|
-
*
|
|
3284
|
-
* @summary
|
|
3285
|
-
* @param {string} [listingContentId]
|
|
3629
|
+
* Inboxes List
|
|
3630
|
+
* @summary Inboxes List
|
|
3286
3631
|
* @param {*} [options] Override http request option.
|
|
3287
3632
|
* @throws {RequiredError}
|
|
3288
|
-
* @memberof
|
|
3633
|
+
* @memberof InboxesApi
|
|
3289
3634
|
*/
|
|
3290
|
-
|
|
3291
|
-
return
|
|
3635
|
+
inboxesList(options) {
|
|
3636
|
+
return InboxesApiFp(this.configuration).inboxesList(options).then((request) => request(this.axios, this.basePath));
|
|
3292
3637
|
}
|
|
3293
3638
|
};
|
|
3294
|
-
var
|
|
3639
|
+
var InquiriesApiAxiosParamCreator = function(configuration) {
|
|
3295
3640
|
return {
|
|
3296
3641
|
/**
|
|
3297
|
-
*
|
|
3298
|
-
* @summary
|
|
3299
|
-
* @param {string}
|
|
3300
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3301
|
-
* @param {*} [options] Override http request option.
|
|
3302
|
-
* @throws {RequiredError}
|
|
3303
|
-
*/
|
|
3304
|
-
listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
|
|
3305
|
-
assertParamExists("listingContentCreate", "listingId", listingId);
|
|
3306
|
-
assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
|
|
3307
|
-
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
3308
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3309
|
-
let baseOptions;
|
|
3310
|
-
if (configuration) {
|
|
3311
|
-
baseOptions = configuration.baseOptions;
|
|
3312
|
-
}
|
|
3313
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3314
|
-
const localVarHeaderParameter = {};
|
|
3315
|
-
const localVarQueryParameter = {};
|
|
3316
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3317
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3318
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3319
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3320
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
3321
|
-
return {
|
|
3322
|
-
url: toPathString(localVarUrlObj),
|
|
3323
|
-
options: localVarRequestOptions
|
|
3324
|
-
};
|
|
3325
|
-
},
|
|
3326
|
-
/**
|
|
3327
|
-
* ListingContent Delete
|
|
3328
|
-
* @summary ListingContent Delete
|
|
3329
|
-
* @param {string} listingContentId
|
|
3330
|
-
* @param {*} [options] Override http request option.
|
|
3331
|
-
* @throws {RequiredError}
|
|
3332
|
-
*/
|
|
3333
|
-
listingContentDelete: async (listingContentId, options = {}) => {
|
|
3334
|
-
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
3335
|
-
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3336
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3337
|
-
let baseOptions;
|
|
3338
|
-
if (configuration) {
|
|
3339
|
-
baseOptions = configuration.baseOptions;
|
|
3340
|
-
}
|
|
3341
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3342
|
-
const localVarHeaderParameter = {};
|
|
3343
|
-
const localVarQueryParameter = {};
|
|
3344
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3345
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3346
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3347
|
-
return {
|
|
3348
|
-
url: toPathString(localVarUrlObj),
|
|
3349
|
-
options: localVarRequestOptions
|
|
3350
|
-
};
|
|
3351
|
-
},
|
|
3352
|
-
/**
|
|
3353
|
-
* ListingContent Get
|
|
3354
|
-
* @summary ListingContent Get
|
|
3355
|
-
* @param {string} listingContentId
|
|
3642
|
+
* List all listings
|
|
3643
|
+
* @summary Inquiries List
|
|
3644
|
+
* @param {string} [contactId]
|
|
3356
3645
|
* @param {*} [options] Override http request option.
|
|
3357
3646
|
* @throws {RequiredError}
|
|
3358
3647
|
*/
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3648
|
+
inquiriesList: async (contactId, options = {}) => {
|
|
3649
|
+
const localVarPath = `/v1/inquiries`;
|
|
3362
3650
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3363
3651
|
let baseOptions;
|
|
3364
3652
|
if (configuration) {
|
|
@@ -3367,6 +3655,9 @@ var ListingsApiAxiosParamCreator = function(configuration) {
|
|
|
3367
3655
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3368
3656
|
const localVarHeaderParameter = {};
|
|
3369
3657
|
const localVarQueryParameter = {};
|
|
3658
|
+
if (contactId !== void 0) {
|
|
3659
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
3660
|
+
}
|
|
3370
3661
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3371
3662
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3372
3663
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3374,69 +3665,57 @@ var ListingsApiAxiosParamCreator = function(configuration) {
|
|
|
3374
3665
|
url: toPathString(localVarUrlObj),
|
|
3375
3666
|
options: localVarRequestOptions
|
|
3376
3667
|
};
|
|
3377
|
-
}
|
|
3668
|
+
}
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
var InquiriesApiFp = function(configuration) {
|
|
3672
|
+
const localVarAxiosParamCreator = InquiriesApiAxiosParamCreator(configuration);
|
|
3673
|
+
return {
|
|
3378
3674
|
/**
|
|
3379
|
-
*
|
|
3380
|
-
* @summary
|
|
3381
|
-
* @param {string} [
|
|
3382
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3675
|
+
* List all listings
|
|
3676
|
+
* @summary Inquiries List
|
|
3677
|
+
* @param {string} [contactId]
|
|
3383
3678
|
* @param {*} [options] Override http request option.
|
|
3384
3679
|
* @throws {RequiredError}
|
|
3385
3680
|
*/
|
|
3386
|
-
|
|
3387
|
-
const
|
|
3388
|
-
const
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
localVarQueryParameter["listingId"] = listingId;
|
|
3398
|
-
}
|
|
3399
|
-
if (status !== void 0) {
|
|
3400
|
-
localVarQueryParameter["status"] = status;
|
|
3401
|
-
}
|
|
3402
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3403
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3404
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3405
|
-
return {
|
|
3406
|
-
url: toPathString(localVarUrlObj),
|
|
3407
|
-
options: localVarRequestOptions
|
|
3408
|
-
};
|
|
3409
|
-
},
|
|
3681
|
+
async inquiriesList(contactId, options) {
|
|
3682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
3683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3684
|
+
const localVarOperationServerBasePath = operationServerMap["InquiriesApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
|
|
3685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3686
|
+
}
|
|
3687
|
+
};
|
|
3688
|
+
};
|
|
3689
|
+
var InquiriesApiFactory = function(configuration, basePath, axios) {
|
|
3690
|
+
const localVarFp = InquiriesApiFp(configuration);
|
|
3691
|
+
return {
|
|
3410
3692
|
/**
|
|
3411
|
-
*
|
|
3412
|
-
* @summary
|
|
3413
|
-
* @param {string}
|
|
3414
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3693
|
+
* List all listings
|
|
3694
|
+
* @summary Inquiries List
|
|
3695
|
+
* @param {string} [contactId]
|
|
3415
3696
|
* @param {*} [options] Override http request option.
|
|
3416
3697
|
* @throws {RequiredError}
|
|
3417
3698
|
*/
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
};
|
|
3439
|
-
},
|
|
3699
|
+
inquiriesList(contactId, options) {
|
|
3700
|
+
return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
|
|
3701
|
+
}
|
|
3702
|
+
};
|
|
3703
|
+
};
|
|
3704
|
+
var InquiriesApi = class extends BaseAPI {
|
|
3705
|
+
/**
|
|
3706
|
+
* List all listings
|
|
3707
|
+
* @summary Inquiries List
|
|
3708
|
+
* @param {string} [contactId]
|
|
3709
|
+
* @param {*} [options] Override http request option.
|
|
3710
|
+
* @throws {RequiredError}
|
|
3711
|
+
* @memberof InquiriesApi
|
|
3712
|
+
*/
|
|
3713
|
+
inquiriesList(contactId, options) {
|
|
3714
|
+
return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
3715
|
+
}
|
|
3716
|
+
};
|
|
3717
|
+
var ListingsApiAxiosParamCreator = function(configuration) {
|
|
3718
|
+
return {
|
|
3440
3719
|
/**
|
|
3441
3720
|
* Listings Get
|
|
3442
3721
|
* @summary Listings Get
|
|
@@ -3513,81 +3792,13 @@ var ListingsApiAxiosParamCreator = function(configuration) {
|
|
|
3513
3792
|
return {
|
|
3514
3793
|
url: toPathString(localVarUrlObj),
|
|
3515
3794
|
options: localVarRequestOptions
|
|
3516
|
-
};
|
|
3517
|
-
}
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
|
-
var ListingsApiFp = function(configuration) {
|
|
3521
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
3522
|
-
return {
|
|
3523
|
-
/**
|
|
3524
|
-
* ListingContent Create
|
|
3525
|
-
* @summary ListingContent Create
|
|
3526
|
-
* @param {string} listingId
|
|
3527
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3528
|
-
* @param {*} [options] Override http request option.
|
|
3529
|
-
* @throws {RequiredError}
|
|
3530
|
-
*/
|
|
3531
|
-
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3532
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
3533
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3534
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
|
|
3535
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3536
|
-
},
|
|
3537
|
-
/**
|
|
3538
|
-
* ListingContent Delete
|
|
3539
|
-
* @summary ListingContent Delete
|
|
3540
|
-
* @param {string} listingContentId
|
|
3541
|
-
* @param {*} [options] Override http request option.
|
|
3542
|
-
* @throws {RequiredError}
|
|
3543
|
-
*/
|
|
3544
|
-
async listingContentDelete(listingContentId, options) {
|
|
3545
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
3546
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3547
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
|
|
3548
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3549
|
-
},
|
|
3550
|
-
/**
|
|
3551
|
-
* ListingContent Get
|
|
3552
|
-
* @summary ListingContent Get
|
|
3553
|
-
* @param {string} listingContentId
|
|
3554
|
-
* @param {*} [options] Override http request option.
|
|
3555
|
-
* @throws {RequiredError}
|
|
3556
|
-
*/
|
|
3557
|
-
async listingContentGet(listingContentId, options) {
|
|
3558
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
3559
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3560
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
|
|
3561
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3562
|
-
},
|
|
3563
|
-
/**
|
|
3564
|
-
* ListingContent List
|
|
3565
|
-
* @summary ListingContent List
|
|
3566
|
-
* @param {string} [listingId]
|
|
3567
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3568
|
-
* @param {*} [options] Override http request option.
|
|
3569
|
-
* @throws {RequiredError}
|
|
3570
|
-
*/
|
|
3571
|
-
async listingContentList(listingId, status, options) {
|
|
3572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
3573
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3574
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
|
|
3575
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3576
|
-
},
|
|
3577
|
-
/**
|
|
3578
|
-
* ListingContent Update
|
|
3579
|
-
* @summary ListingContent Update
|
|
3580
|
-
* @param {string} listingContentId
|
|
3581
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3582
|
-
* @param {*} [options] Override http request option.
|
|
3583
|
-
* @throws {RequiredError}
|
|
3584
|
-
*/
|
|
3585
|
-
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3586
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
3587
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3588
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
3589
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3590
|
-
},
|
|
3795
|
+
};
|
|
3796
|
+
}
|
|
3797
|
+
};
|
|
3798
|
+
};
|
|
3799
|
+
var ListingsApiFp = function(configuration) {
|
|
3800
|
+
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
3801
|
+
return {
|
|
3591
3802
|
/**
|
|
3592
3803
|
* Listings Get
|
|
3593
3804
|
* @summary Listings Get
|
|
@@ -3625,59 +3836,6 @@ var ListingsApiFp = function(configuration) {
|
|
|
3625
3836
|
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
3626
3837
|
const localVarFp = ListingsApiFp(configuration);
|
|
3627
3838
|
return {
|
|
3628
|
-
/**
|
|
3629
|
-
* ListingContent Create
|
|
3630
|
-
* @summary ListingContent Create
|
|
3631
|
-
* @param {string} listingId
|
|
3632
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3633
|
-
* @param {*} [options] Override http request option.
|
|
3634
|
-
* @throws {RequiredError}
|
|
3635
|
-
*/
|
|
3636
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3637
|
-
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
3638
|
-
},
|
|
3639
|
-
/**
|
|
3640
|
-
* ListingContent Delete
|
|
3641
|
-
* @summary ListingContent Delete
|
|
3642
|
-
* @param {string} listingContentId
|
|
3643
|
-
* @param {*} [options] Override http request option.
|
|
3644
|
-
* @throws {RequiredError}
|
|
3645
|
-
*/
|
|
3646
|
-
listingContentDelete(listingContentId, options) {
|
|
3647
|
-
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
3648
|
-
},
|
|
3649
|
-
/**
|
|
3650
|
-
* ListingContent Get
|
|
3651
|
-
* @summary ListingContent Get
|
|
3652
|
-
* @param {string} listingContentId
|
|
3653
|
-
* @param {*} [options] Override http request option.
|
|
3654
|
-
* @throws {RequiredError}
|
|
3655
|
-
*/
|
|
3656
|
-
listingContentGet(listingContentId, options) {
|
|
3657
|
-
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
3658
|
-
},
|
|
3659
|
-
/**
|
|
3660
|
-
* ListingContent List
|
|
3661
|
-
* @summary ListingContent List
|
|
3662
|
-
* @param {string} [listingId]
|
|
3663
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3664
|
-
* @param {*} [options] Override http request option.
|
|
3665
|
-
* @throws {RequiredError}
|
|
3666
|
-
*/
|
|
3667
|
-
listingContentList(listingId, status, options) {
|
|
3668
|
-
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
3669
|
-
},
|
|
3670
|
-
/**
|
|
3671
|
-
* ListingContent Update
|
|
3672
|
-
* @summary ListingContent Update
|
|
3673
|
-
* @param {string} listingContentId
|
|
3674
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3675
|
-
* @param {*} [options] Override http request option.
|
|
3676
|
-
* @throws {RequiredError}
|
|
3677
|
-
*/
|
|
3678
|
-
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3679
|
-
return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
|
|
3680
|
-
},
|
|
3681
3839
|
/**
|
|
3682
3840
|
* Listings Get
|
|
3683
3841
|
* @summary Listings Get
|
|
@@ -3707,64 +3865,6 @@ var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
|
3707
3865
|
};
|
|
3708
3866
|
};
|
|
3709
3867
|
var ListingsApi = class extends BaseAPI {
|
|
3710
|
-
/**
|
|
3711
|
-
* ListingContent Create
|
|
3712
|
-
* @summary ListingContent Create
|
|
3713
|
-
* @param {string} listingId
|
|
3714
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3715
|
-
* @param {*} [options] Override http request option.
|
|
3716
|
-
* @throws {RequiredError}
|
|
3717
|
-
* @memberof ListingsApi
|
|
3718
|
-
*/
|
|
3719
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3720
|
-
return ListingsApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3721
|
-
}
|
|
3722
|
-
/**
|
|
3723
|
-
* ListingContent Delete
|
|
3724
|
-
* @summary ListingContent Delete
|
|
3725
|
-
* @param {string} listingContentId
|
|
3726
|
-
* @param {*} [options] Override http request option.
|
|
3727
|
-
* @throws {RequiredError}
|
|
3728
|
-
* @memberof ListingsApi
|
|
3729
|
-
*/
|
|
3730
|
-
listingContentDelete(listingContentId, options) {
|
|
3731
|
-
return ListingsApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3732
|
-
}
|
|
3733
|
-
/**
|
|
3734
|
-
* ListingContent Get
|
|
3735
|
-
* @summary ListingContent Get
|
|
3736
|
-
* @param {string} listingContentId
|
|
3737
|
-
* @param {*} [options] Override http request option.
|
|
3738
|
-
* @throws {RequiredError}
|
|
3739
|
-
* @memberof ListingsApi
|
|
3740
|
-
*/
|
|
3741
|
-
listingContentGet(listingContentId, options) {
|
|
3742
|
-
return ListingsApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3743
|
-
}
|
|
3744
|
-
/**
|
|
3745
|
-
* ListingContent List
|
|
3746
|
-
* @summary ListingContent List
|
|
3747
|
-
* @param {string} [listingId]
|
|
3748
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3749
|
-
* @param {*} [options] Override http request option.
|
|
3750
|
-
* @throws {RequiredError}
|
|
3751
|
-
* @memberof ListingsApi
|
|
3752
|
-
*/
|
|
3753
|
-
listingContentList(listingId, status, options) {
|
|
3754
|
-
return ListingsApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
3755
|
-
}
|
|
3756
|
-
/**
|
|
3757
|
-
* ListingContent Update
|
|
3758
|
-
* @summary ListingContent Update
|
|
3759
|
-
* @param {string} listingContentId
|
|
3760
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3761
|
-
* @param {*} [options] Override http request option.
|
|
3762
|
-
* @throws {RequiredError}
|
|
3763
|
-
* @memberof ListingsApi
|
|
3764
|
-
*/
|
|
3765
|
-
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3766
|
-
return ListingsApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3767
|
-
}
|
|
3768
3868
|
/**
|
|
3769
3869
|
* Listings Get
|
|
3770
3870
|
* @summary Listings Get
|
|
@@ -5721,62 +5821,294 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5721
5821
|
};
|
|
5722
5822
|
},
|
|
5723
5823
|
/**
|
|
5724
|
-
* Contacts Update
|
|
5725
|
-
* @summary Contacts Update
|
|
5726
|
-
* @param {string} contactId
|
|
5727
|
-
* @param {APIContactUpdate} aPIContactUpdate
|
|
5824
|
+
* Contacts Update
|
|
5825
|
+
* @summary Contacts Update
|
|
5826
|
+
* @param {string} contactId
|
|
5827
|
+
* @param {APIContactUpdate} aPIContactUpdate
|
|
5828
|
+
* @param {*} [options] Override http request option.
|
|
5829
|
+
* @throws {RequiredError}
|
|
5830
|
+
*/
|
|
5831
|
+
contactsUpdate: async (contactId, aPIContactUpdate, options = {}) => {
|
|
5832
|
+
assertParamExists("contactsUpdate", "contactId", contactId);
|
|
5833
|
+
assertParamExists("contactsUpdate", "aPIContactUpdate", aPIContactUpdate);
|
|
5834
|
+
const localVarPath = `/v1/contacts/{contactId}`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
5835
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5836
|
+
let baseOptions;
|
|
5837
|
+
if (configuration) {
|
|
5838
|
+
baseOptions = configuration.baseOptions;
|
|
5839
|
+
}
|
|
5840
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5841
|
+
const localVarHeaderParameter = {};
|
|
5842
|
+
const localVarQueryParameter = {};
|
|
5843
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5844
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5846
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5847
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIContactUpdate, localVarRequestOptions, configuration);
|
|
5848
|
+
return {
|
|
5849
|
+
url: toPathString(localVarUrlObj),
|
|
5850
|
+
options: localVarRequestOptions
|
|
5851
|
+
};
|
|
5852
|
+
},
|
|
5853
|
+
/**
|
|
5854
|
+
* Updates an association between a contact and a listing.
|
|
5855
|
+
* @summary Update Contact Listing
|
|
5856
|
+
* @param {string} contactId
|
|
5857
|
+
* @param {string} listingId
|
|
5858
|
+
* @param {UpdateContactListing} updateContactListing
|
|
5859
|
+
* @param {*} [options] Override http request option.
|
|
5860
|
+
* @throws {RequiredError}
|
|
5861
|
+
*/
|
|
5862
|
+
contactsUpdateListing: async (contactId, listingId, updateContactListing, options = {}) => {
|
|
5863
|
+
assertParamExists("contactsUpdateListing", "contactId", contactId);
|
|
5864
|
+
assertParamExists("contactsUpdateListing", "listingId", listingId);
|
|
5865
|
+
assertParamExists("contactsUpdateListing", "updateContactListing", updateContactListing);
|
|
5866
|
+
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5868
|
+
let baseOptions;
|
|
5869
|
+
if (configuration) {
|
|
5870
|
+
baseOptions = configuration.baseOptions;
|
|
5871
|
+
}
|
|
5872
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5873
|
+
const localVarHeaderParameter = {};
|
|
5874
|
+
const localVarQueryParameter = {};
|
|
5875
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5876
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5877
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5878
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5879
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateContactListing, localVarRequestOptions, configuration);
|
|
5880
|
+
return {
|
|
5881
|
+
url: toPathString(localVarUrlObj),
|
|
5882
|
+
options: localVarRequestOptions
|
|
5883
|
+
};
|
|
5884
|
+
},
|
|
5885
|
+
/**
|
|
5886
|
+
* Create new content under a listing.
|
|
5887
|
+
* @summary Create Listing Content
|
|
5888
|
+
* @param {string} listingId
|
|
5889
|
+
* @param {Create} create
|
|
5890
|
+
* @param {*} [options] Override http request option.
|
|
5891
|
+
* @throws {RequiredError}
|
|
5892
|
+
*/
|
|
5893
|
+
contentCreateOnListing: async (listingId, create, options = {}) => {
|
|
5894
|
+
assertParamExists("contentCreateOnListing", "listingId", listingId);
|
|
5895
|
+
assertParamExists("contentCreateOnListing", "create", create);
|
|
5896
|
+
const localVarPath = `/v1/listings/{listing_id}/content`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5897
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5898
|
+
let baseOptions;
|
|
5899
|
+
if (configuration) {
|
|
5900
|
+
baseOptions = configuration.baseOptions;
|
|
5901
|
+
}
|
|
5902
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5903
|
+
const localVarHeaderParameter = {};
|
|
5904
|
+
const localVarQueryParameter = {};
|
|
5905
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5906
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5907
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5908
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5909
|
+
localVarRequestOptions.data = serializeDataIfNeeded(create, localVarRequestOptions, configuration);
|
|
5910
|
+
return {
|
|
5911
|
+
url: toPathString(localVarUrlObj),
|
|
5912
|
+
options: localVarRequestOptions
|
|
5913
|
+
};
|
|
5914
|
+
},
|
|
5915
|
+
/**
|
|
5916
|
+
* Create new content under a tag.
|
|
5917
|
+
* @summary Create Tag Content
|
|
5918
|
+
* @param {string} tagId
|
|
5919
|
+
* @param {Create} create
|
|
5920
|
+
* @param {*} [options] Override http request option.
|
|
5921
|
+
* @throws {RequiredError}
|
|
5922
|
+
*/
|
|
5923
|
+
contentCreateOnTag: async (tagId, create, options = {}) => {
|
|
5924
|
+
assertParamExists("contentCreateOnTag", "tagId", tagId);
|
|
5925
|
+
assertParamExists("contentCreateOnTag", "create", create);
|
|
5926
|
+
const localVarPath = `/v1/tags/{tag_id}/content`.replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
5927
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5928
|
+
let baseOptions;
|
|
5929
|
+
if (configuration) {
|
|
5930
|
+
baseOptions = configuration.baseOptions;
|
|
5931
|
+
}
|
|
5932
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5933
|
+
const localVarHeaderParameter = {};
|
|
5934
|
+
const localVarQueryParameter = {};
|
|
5935
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5936
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5937
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5938
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5939
|
+
localVarRequestOptions.data = serializeDataIfNeeded(create, localVarRequestOptions, configuration);
|
|
5940
|
+
return {
|
|
5941
|
+
url: toPathString(localVarUrlObj),
|
|
5942
|
+
options: localVarRequestOptions
|
|
5943
|
+
};
|
|
5944
|
+
},
|
|
5945
|
+
/**
|
|
5946
|
+
* Content Delete
|
|
5947
|
+
* @summary Content Delete
|
|
5948
|
+
* @param {string} contentId
|
|
5949
|
+
* @param {*} [options] Override http request option.
|
|
5950
|
+
* @throws {RequiredError}
|
|
5951
|
+
*/
|
|
5952
|
+
contentDelete: async (contentId, options = {}) => {
|
|
5953
|
+
assertParamExists("contentDelete", "contentId", contentId);
|
|
5954
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
5955
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5956
|
+
let baseOptions;
|
|
5957
|
+
if (configuration) {
|
|
5958
|
+
baseOptions = configuration.baseOptions;
|
|
5959
|
+
}
|
|
5960
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5961
|
+
const localVarHeaderParameter = {};
|
|
5962
|
+
const localVarQueryParameter = {};
|
|
5963
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5964
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5965
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5966
|
+
return {
|
|
5967
|
+
url: toPathString(localVarUrlObj),
|
|
5968
|
+
options: localVarRequestOptions
|
|
5969
|
+
};
|
|
5970
|
+
},
|
|
5971
|
+
/**
|
|
5972
|
+
* Content Get
|
|
5973
|
+
* @summary Content Get
|
|
5974
|
+
* @param {string} contentId
|
|
5975
|
+
* @param {*} [options] Override http request option.
|
|
5976
|
+
* @throws {RequiredError}
|
|
5977
|
+
*/
|
|
5978
|
+
contentGet: async (contentId, options = {}) => {
|
|
5979
|
+
assertParamExists("contentGet", "contentId", contentId);
|
|
5980
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
5981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5982
|
+
let baseOptions;
|
|
5983
|
+
if (configuration) {
|
|
5984
|
+
baseOptions = configuration.baseOptions;
|
|
5985
|
+
}
|
|
5986
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5987
|
+
const localVarHeaderParameter = {};
|
|
5988
|
+
const localVarQueryParameter = {};
|
|
5989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5991
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5992
|
+
return {
|
|
5993
|
+
url: toPathString(localVarUrlObj),
|
|
5994
|
+
options: localVarRequestOptions
|
|
5995
|
+
};
|
|
5996
|
+
},
|
|
5997
|
+
/**
|
|
5998
|
+
* Content List
|
|
5999
|
+
* @summary Content List
|
|
6000
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
6001
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
6002
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
6003
|
+
* @param {*} [options] Override http request option.
|
|
6004
|
+
* @throws {RequiredError}
|
|
6005
|
+
*/
|
|
6006
|
+
contentList: async (listingId, tagId, includeDeleted, options = {}) => {
|
|
6007
|
+
const localVarPath = `/v1/content`;
|
|
6008
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6009
|
+
let baseOptions;
|
|
6010
|
+
if (configuration) {
|
|
6011
|
+
baseOptions = configuration.baseOptions;
|
|
6012
|
+
}
|
|
6013
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6014
|
+
const localVarHeaderParameter = {};
|
|
6015
|
+
const localVarQueryParameter = {};
|
|
6016
|
+
if (listingId !== void 0) {
|
|
6017
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
6018
|
+
}
|
|
6019
|
+
if (tagId !== void 0) {
|
|
6020
|
+
localVarQueryParameter["tagId"] = tagId;
|
|
6021
|
+
}
|
|
6022
|
+
if (includeDeleted !== void 0) {
|
|
6023
|
+
localVarQueryParameter["includeDeleted"] = includeDeleted;
|
|
6024
|
+
}
|
|
6025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6027
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6028
|
+
return {
|
|
6029
|
+
url: toPathString(localVarUrlObj),
|
|
6030
|
+
options: localVarRequestOptions
|
|
6031
|
+
};
|
|
6032
|
+
},
|
|
6033
|
+
/**
|
|
6034
|
+
* Content Update
|
|
6035
|
+
* @summary Content Update
|
|
6036
|
+
* @param {string} contentId
|
|
6037
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
6038
|
+
* @param {*} [options] Override http request option.
|
|
6039
|
+
* @throws {RequiredError}
|
|
6040
|
+
*/
|
|
6041
|
+
contentUpdate: async (contentId, aPIContentUpdate, options = {}) => {
|
|
6042
|
+
assertParamExists("contentUpdate", "contentId", contentId);
|
|
6043
|
+
assertParamExists("contentUpdate", "aPIContentUpdate", aPIContentUpdate);
|
|
6044
|
+
const localVarPath = `/v1/content/{contentId}`.replace(`{${"contentId"}}`, encodeURIComponent(String(contentId)));
|
|
6045
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6046
|
+
let baseOptions;
|
|
6047
|
+
if (configuration) {
|
|
6048
|
+
baseOptions = configuration.baseOptions;
|
|
6049
|
+
}
|
|
6050
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
6051
|
+
const localVarHeaderParameter = {};
|
|
6052
|
+
const localVarQueryParameter = {};
|
|
6053
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6054
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6055
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6056
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6057
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIContentUpdate, localVarRequestOptions, configuration);
|
|
6058
|
+
return {
|
|
6059
|
+
url: toPathString(localVarUrlObj),
|
|
6060
|
+
options: localVarRequestOptions
|
|
6061
|
+
};
|
|
6062
|
+
},
|
|
6063
|
+
/**
|
|
6064
|
+
* ContentVersions Get
|
|
6065
|
+
* @summary ContentVersions Get
|
|
6066
|
+
* @param {string} contentVersionId
|
|
5728
6067
|
* @param {*} [options] Override http request option.
|
|
5729
6068
|
* @throws {RequiredError}
|
|
5730
6069
|
*/
|
|
5731
|
-
|
|
5732
|
-
assertParamExists("
|
|
5733
|
-
|
|
5734
|
-
const localVarPath = `/v1/contacts/{contactId}`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
6070
|
+
contentVersionsGet: async (contentVersionId, options = {}) => {
|
|
6071
|
+
assertParamExists("contentVersionsGet", "contentVersionId", contentVersionId);
|
|
6072
|
+
const localVarPath = `/v1/contentVersions/{contentVersionId}`.replace(`{${"contentVersionId"}}`, encodeURIComponent(String(contentVersionId)));
|
|
5735
6073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5736
6074
|
let baseOptions;
|
|
5737
6075
|
if (configuration) {
|
|
5738
6076
|
baseOptions = configuration.baseOptions;
|
|
5739
6077
|
}
|
|
5740
|
-
const localVarRequestOptions = { method: "
|
|
6078
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5741
6079
|
const localVarHeaderParameter = {};
|
|
5742
6080
|
const localVarQueryParameter = {};
|
|
5743
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5744
6081
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5745
6082
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5746
6083
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5747
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIContactUpdate, localVarRequestOptions, configuration);
|
|
5748
6084
|
return {
|
|
5749
6085
|
url: toPathString(localVarUrlObj),
|
|
5750
6086
|
options: localVarRequestOptions
|
|
5751
6087
|
};
|
|
5752
6088
|
},
|
|
5753
6089
|
/**
|
|
5754
|
-
*
|
|
5755
|
-
* @summary
|
|
5756
|
-
* @param {string}
|
|
5757
|
-
* @param {string} listingId
|
|
5758
|
-
* @param {UpdateContactListing} updateContactListing
|
|
6090
|
+
* ContentVersions List
|
|
6091
|
+
* @summary ContentVersions List
|
|
6092
|
+
* @param {string} [contentId]
|
|
5759
6093
|
* @param {*} [options] Override http request option.
|
|
5760
6094
|
* @throws {RequiredError}
|
|
5761
6095
|
*/
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
assertParamExists("contactsUpdateListing", "listingId", listingId);
|
|
5765
|
-
assertParamExists("contactsUpdateListing", "updateContactListing", updateContactListing);
|
|
5766
|
-
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
6096
|
+
contentVersionsList: async (contentId, options = {}) => {
|
|
6097
|
+
const localVarPath = `/v1/contentVersions`;
|
|
5767
6098
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5768
6099
|
let baseOptions;
|
|
5769
6100
|
if (configuration) {
|
|
5770
6101
|
baseOptions = configuration.baseOptions;
|
|
5771
6102
|
}
|
|
5772
|
-
const localVarRequestOptions = { method: "
|
|
6103
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5773
6104
|
const localVarHeaderParameter = {};
|
|
5774
6105
|
const localVarQueryParameter = {};
|
|
5775
|
-
|
|
6106
|
+
if (contentId !== void 0) {
|
|
6107
|
+
localVarQueryParameter["contentId"] = contentId;
|
|
6108
|
+
}
|
|
5776
6109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5777
6110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5778
6111
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5779
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateContactListing, localVarRequestOptions, configuration);
|
|
5780
6112
|
return {
|
|
5781
6113
|
url: toPathString(localVarUrlObj),
|
|
5782
6114
|
options: localVarRequestOptions
|
|
@@ -6037,17 +6369,15 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6037
6369
|
};
|
|
6038
6370
|
},
|
|
6039
6371
|
/**
|
|
6040
|
-
*
|
|
6041
|
-
* @summary Generate
|
|
6042
|
-
* @param {
|
|
6043
|
-
* @param {UploadURLRequest} uploadURLRequest
|
|
6372
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
6373
|
+
* @summary Generate presigned download URL
|
|
6374
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
6044
6375
|
* @param {*} [options] Override http request option.
|
|
6045
6376
|
* @throws {RequiredError}
|
|
6046
6377
|
*/
|
|
6047
|
-
|
|
6048
|
-
assertParamExists("
|
|
6049
|
-
|
|
6050
|
-
const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
6378
|
+
generateFileDownloadURL: async (downloadURLRequest, options = {}) => {
|
|
6379
|
+
assertParamExists("generateFileDownloadURL", "downloadURLRequest", downloadURLRequest);
|
|
6380
|
+
const localVarPath = `/v1/files/downloadUrl`;
|
|
6051
6381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6052
6382
|
let baseOptions;
|
|
6053
6383
|
if (configuration) {
|
|
@@ -6060,100 +6390,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6060
6390
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6061
6391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6062
6392
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6063
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6064
|
-
return {
|
|
6065
|
-
url: toPathString(localVarUrlObj),
|
|
6066
|
-
options: localVarRequestOptions
|
|
6067
|
-
};
|
|
6068
|
-
},
|
|
6069
|
-
/**
|
|
6070
|
-
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6071
|
-
* @summary Get Me
|
|
6072
|
-
* @param {*} [options] Override http request option.
|
|
6073
|
-
* @throws {RequiredError}
|
|
6074
|
-
*/
|
|
6075
|
-
getMe: async (options = {}) => {
|
|
6076
|
-
const localVarPath = `/v1/me`;
|
|
6077
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6078
|
-
let baseOptions;
|
|
6079
|
-
if (configuration) {
|
|
6080
|
-
baseOptions = configuration.baseOptions;
|
|
6081
|
-
}
|
|
6082
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6083
|
-
const localVarHeaderParameter = {};
|
|
6084
|
-
const localVarQueryParameter = {};
|
|
6085
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6086
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6087
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6088
|
-
return {
|
|
6089
|
-
url: toPathString(localVarUrlObj),
|
|
6090
|
-
options: localVarRequestOptions
|
|
6091
|
-
};
|
|
6092
|
-
},
|
|
6093
|
-
/**
|
|
6094
|
-
* Inboxes List
|
|
6095
|
-
* @summary Inboxes List
|
|
6096
|
-
* @param {*} [options] Override http request option.
|
|
6097
|
-
* @throws {RequiredError}
|
|
6098
|
-
*/
|
|
6099
|
-
inboxesList: async (options = {}) => {
|
|
6100
|
-
const localVarPath = `/v1/inboxes`;
|
|
6101
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6102
|
-
let baseOptions;
|
|
6103
|
-
if (configuration) {
|
|
6104
|
-
baseOptions = configuration.baseOptions;
|
|
6105
|
-
}
|
|
6106
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6107
|
-
const localVarHeaderParameter = {};
|
|
6108
|
-
const localVarQueryParameter = {};
|
|
6109
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6110
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6111
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6112
|
-
return {
|
|
6113
|
-
url: toPathString(localVarUrlObj),
|
|
6114
|
-
options: localVarRequestOptions
|
|
6115
|
-
};
|
|
6116
|
-
},
|
|
6117
|
-
/**
|
|
6118
|
-
* List all listings
|
|
6119
|
-
* @summary Inquiries List
|
|
6120
|
-
* @param {string} [contactId]
|
|
6121
|
-
* @param {*} [options] Override http request option.
|
|
6122
|
-
* @throws {RequiredError}
|
|
6123
|
-
*/
|
|
6124
|
-
inquiriesList: async (contactId, options = {}) => {
|
|
6125
|
-
const localVarPath = `/v1/inquiries`;
|
|
6126
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6127
|
-
let baseOptions;
|
|
6128
|
-
if (configuration) {
|
|
6129
|
-
baseOptions = configuration.baseOptions;
|
|
6130
|
-
}
|
|
6131
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6132
|
-
const localVarHeaderParameter = {};
|
|
6133
|
-
const localVarQueryParameter = {};
|
|
6134
|
-
if (contactId !== void 0) {
|
|
6135
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
6136
|
-
}
|
|
6137
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6138
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6139
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6393
|
+
localVarRequestOptions.data = serializeDataIfNeeded(downloadURLRequest, localVarRequestOptions, configuration);
|
|
6140
6394
|
return {
|
|
6141
6395
|
url: toPathString(localVarUrlObj),
|
|
6142
6396
|
options: localVarRequestOptions
|
|
6143
6397
|
};
|
|
6144
6398
|
},
|
|
6145
6399
|
/**
|
|
6146
|
-
*
|
|
6147
|
-
* @summary
|
|
6148
|
-
* @param {
|
|
6149
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
6400
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
6401
|
+
* @summary Generate presigned upload URL
|
|
6402
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
6150
6403
|
* @param {*} [options] Override http request option.
|
|
6151
6404
|
* @throws {RequiredError}
|
|
6152
6405
|
*/
|
|
6153
|
-
|
|
6154
|
-
assertParamExists("
|
|
6155
|
-
|
|
6156
|
-
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
6406
|
+
generateFileUploadURL: async (uploadURLRequest, options = {}) => {
|
|
6407
|
+
assertParamExists("generateFileUploadURL", "uploadURLRequest", uploadURLRequest);
|
|
6408
|
+
const localVarPath = `/v1/files/uploadUrl`;
|
|
6157
6409
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6158
6410
|
let baseOptions;
|
|
6159
6411
|
if (configuration) {
|
|
@@ -6166,74 +6418,20 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6166
6418
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6167
6419
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6168
6420
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6169
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6170
|
-
return {
|
|
6171
|
-
url: toPathString(localVarUrlObj),
|
|
6172
|
-
options: localVarRequestOptions
|
|
6173
|
-
};
|
|
6174
|
-
},
|
|
6175
|
-
/**
|
|
6176
|
-
* ListingContent Delete
|
|
6177
|
-
* @summary ListingContent Delete
|
|
6178
|
-
* @param {string} listingContentId
|
|
6179
|
-
* @param {*} [options] Override http request option.
|
|
6180
|
-
* @throws {RequiredError}
|
|
6181
|
-
*/
|
|
6182
|
-
listingContentDelete: async (listingContentId, options = {}) => {
|
|
6183
|
-
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
6184
|
-
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
6185
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6186
|
-
let baseOptions;
|
|
6187
|
-
if (configuration) {
|
|
6188
|
-
baseOptions = configuration.baseOptions;
|
|
6189
|
-
}
|
|
6190
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
6191
|
-
const localVarHeaderParameter = {};
|
|
6192
|
-
const localVarQueryParameter = {};
|
|
6193
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6194
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6195
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6196
|
-
return {
|
|
6197
|
-
url: toPathString(localVarUrlObj),
|
|
6198
|
-
options: localVarRequestOptions
|
|
6199
|
-
};
|
|
6200
|
-
},
|
|
6201
|
-
/**
|
|
6202
|
-
* ListingContent Get
|
|
6203
|
-
* @summary ListingContent Get
|
|
6204
|
-
* @param {string} listingContentId
|
|
6205
|
-
* @param {*} [options] Override http request option.
|
|
6206
|
-
* @throws {RequiredError}
|
|
6207
|
-
*/
|
|
6208
|
-
listingContentGet: async (listingContentId, options = {}) => {
|
|
6209
|
-
assertParamExists("listingContentGet", "listingContentId", listingContentId);
|
|
6210
|
-
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
6211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6212
|
-
let baseOptions;
|
|
6213
|
-
if (configuration) {
|
|
6214
|
-
baseOptions = configuration.baseOptions;
|
|
6215
|
-
}
|
|
6216
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6217
|
-
const localVarHeaderParameter = {};
|
|
6218
|
-
const localVarQueryParameter = {};
|
|
6219
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6220
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6221
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6421
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
6222
6422
|
return {
|
|
6223
6423
|
url: toPathString(localVarUrlObj),
|
|
6224
6424
|
options: localVarRequestOptions
|
|
6225
6425
|
};
|
|
6226
6426
|
},
|
|
6227
6427
|
/**
|
|
6228
|
-
*
|
|
6229
|
-
* @summary
|
|
6230
|
-
* @param {string} [listingId]
|
|
6231
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
6428
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6429
|
+
* @summary Get Me
|
|
6232
6430
|
* @param {*} [options] Override http request option.
|
|
6233
6431
|
* @throws {RequiredError}
|
|
6234
6432
|
*/
|
|
6235
|
-
|
|
6236
|
-
const localVarPath = `/v1/
|
|
6433
|
+
getMe: async (options = {}) => {
|
|
6434
|
+
const localVarPath = `/v1/me`;
|
|
6237
6435
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6238
6436
|
let baseOptions;
|
|
6239
6437
|
if (configuration) {
|
|
@@ -6242,60 +6440,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6242
6440
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6243
6441
|
const localVarHeaderParameter = {};
|
|
6244
6442
|
const localVarQueryParameter = {};
|
|
6245
|
-
if (listingId !== void 0) {
|
|
6246
|
-
localVarQueryParameter["listingId"] = listingId;
|
|
6247
|
-
}
|
|
6248
|
-
if (status !== void 0) {
|
|
6249
|
-
localVarQueryParameter["status"] = status;
|
|
6250
|
-
}
|
|
6251
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6252
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6253
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6254
|
-
return {
|
|
6255
|
-
url: toPathString(localVarUrlObj),
|
|
6256
|
-
options: localVarRequestOptions
|
|
6257
|
-
};
|
|
6258
|
-
},
|
|
6259
|
-
/**
|
|
6260
|
-
* ListingContent Update
|
|
6261
|
-
* @summary ListingContent Update
|
|
6262
|
-
* @param {string} listingContentId
|
|
6263
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
6264
|
-
* @param {*} [options] Override http request option.
|
|
6265
|
-
* @throws {RequiredError}
|
|
6266
|
-
*/
|
|
6267
|
-
listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
|
|
6268
|
-
assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
|
|
6269
|
-
assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
|
|
6270
|
-
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
6271
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6272
|
-
let baseOptions;
|
|
6273
|
-
if (configuration) {
|
|
6274
|
-
baseOptions = configuration.baseOptions;
|
|
6275
|
-
}
|
|
6276
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
6277
|
-
const localVarHeaderParameter = {};
|
|
6278
|
-
const localVarQueryParameter = {};
|
|
6279
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6280
6443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6281
6444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6282
6445
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6283
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
|
|
6284
6446
|
return {
|
|
6285
6447
|
url: toPathString(localVarUrlObj),
|
|
6286
6448
|
options: localVarRequestOptions
|
|
6287
6449
|
};
|
|
6288
6450
|
},
|
|
6289
6451
|
/**
|
|
6290
|
-
*
|
|
6291
|
-
* @summary
|
|
6292
|
-
* @param {string} listingContentVersionId
|
|
6452
|
+
* Inboxes List
|
|
6453
|
+
* @summary Inboxes List
|
|
6293
6454
|
* @param {*} [options] Override http request option.
|
|
6294
6455
|
* @throws {RequiredError}
|
|
6295
6456
|
*/
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
6457
|
+
inboxesList: async (options = {}) => {
|
|
6458
|
+
const localVarPath = `/v1/inboxes`;
|
|
6299
6459
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6300
6460
|
let baseOptions;
|
|
6301
6461
|
if (configuration) {
|
|
@@ -6313,14 +6473,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6313
6473
|
};
|
|
6314
6474
|
},
|
|
6315
6475
|
/**
|
|
6316
|
-
*
|
|
6317
|
-
* @summary
|
|
6318
|
-
* @param {string} [
|
|
6476
|
+
* List all listings
|
|
6477
|
+
* @summary Inquiries List
|
|
6478
|
+
* @param {string} [contactId]
|
|
6319
6479
|
* @param {*} [options] Override http request option.
|
|
6320
6480
|
* @throws {RequiredError}
|
|
6321
6481
|
*/
|
|
6322
|
-
|
|
6323
|
-
const localVarPath = `/v1/
|
|
6482
|
+
inquiriesList: async (contactId, options = {}) => {
|
|
6483
|
+
const localVarPath = `/v1/inquiries`;
|
|
6324
6484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6325
6485
|
let baseOptions;
|
|
6326
6486
|
if (configuration) {
|
|
@@ -6329,8 +6489,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
6329
6489
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6330
6490
|
const localVarHeaderParameter = {};
|
|
6331
6491
|
const localVarQueryParameter = {};
|
|
6332
|
-
if (
|
|
6333
|
-
localVarQueryParameter["
|
|
6492
|
+
if (contactId !== void 0) {
|
|
6493
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
6334
6494
|
}
|
|
6335
6495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6336
6496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -7469,25 +7629,134 @@ var UnboundApiFp = function(configuration) {
|
|
|
7469
7629
|
* @param {*} [options] Override http request option.
|
|
7470
7630
|
* @throws {RequiredError}
|
|
7471
7631
|
*/
|
|
7472
|
-
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
7473
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
7632
|
+
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
7633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
7634
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7635
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
7636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7637
|
+
},
|
|
7638
|
+
/**
|
|
7639
|
+
* Updates an association between a contact and a listing.
|
|
7640
|
+
* @summary Update Contact Listing
|
|
7641
|
+
* @param {string} contactId
|
|
7642
|
+
* @param {string} listingId
|
|
7643
|
+
* @param {UpdateContactListing} updateContactListing
|
|
7644
|
+
* @param {*} [options] Override http request option.
|
|
7645
|
+
* @throws {RequiredError}
|
|
7646
|
+
*/
|
|
7647
|
+
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
7648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
7649
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7650
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdateListing"]?.[localVarOperationServerIndex]?.url;
|
|
7651
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7652
|
+
},
|
|
7653
|
+
/**
|
|
7654
|
+
* Create new content under a listing.
|
|
7655
|
+
* @summary Create Listing Content
|
|
7656
|
+
* @param {string} listingId
|
|
7657
|
+
* @param {Create} create
|
|
7658
|
+
* @param {*} [options] Override http request option.
|
|
7659
|
+
* @throws {RequiredError}
|
|
7660
|
+
*/
|
|
7661
|
+
async contentCreateOnListing(listingId, create, options) {
|
|
7662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentCreateOnListing(listingId, create, options);
|
|
7663
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7664
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentCreateOnListing"]?.[localVarOperationServerIndex]?.url;
|
|
7665
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7666
|
+
},
|
|
7667
|
+
/**
|
|
7668
|
+
* Create new content under a tag.
|
|
7669
|
+
* @summary Create Tag Content
|
|
7670
|
+
* @param {string} tagId
|
|
7671
|
+
* @param {Create} create
|
|
7672
|
+
* @param {*} [options] Override http request option.
|
|
7673
|
+
* @throws {RequiredError}
|
|
7674
|
+
*/
|
|
7675
|
+
async contentCreateOnTag(tagId, create, options) {
|
|
7676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentCreateOnTag(tagId, create, options);
|
|
7677
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7678
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentCreateOnTag"]?.[localVarOperationServerIndex]?.url;
|
|
7679
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7680
|
+
},
|
|
7681
|
+
/**
|
|
7682
|
+
* Content Delete
|
|
7683
|
+
* @summary Content Delete
|
|
7684
|
+
* @param {string} contentId
|
|
7685
|
+
* @param {*} [options] Override http request option.
|
|
7686
|
+
* @throws {RequiredError}
|
|
7687
|
+
*/
|
|
7688
|
+
async contentDelete(contentId, options) {
|
|
7689
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentDelete(contentId, options);
|
|
7690
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7691
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentDelete"]?.[localVarOperationServerIndex]?.url;
|
|
7692
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7693
|
+
},
|
|
7694
|
+
/**
|
|
7695
|
+
* Content Get
|
|
7696
|
+
* @summary Content Get
|
|
7697
|
+
* @param {string} contentId
|
|
7698
|
+
* @param {*} [options] Override http request option.
|
|
7699
|
+
* @throws {RequiredError}
|
|
7700
|
+
*/
|
|
7701
|
+
async contentGet(contentId, options) {
|
|
7702
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentGet(contentId, options);
|
|
7703
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7704
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentGet"]?.[localVarOperationServerIndex]?.url;
|
|
7705
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7706
|
+
},
|
|
7707
|
+
/**
|
|
7708
|
+
* Content List
|
|
7709
|
+
* @summary Content List
|
|
7710
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
7711
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
7712
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
7713
|
+
* @param {*} [options] Override http request option.
|
|
7714
|
+
* @throws {RequiredError}
|
|
7715
|
+
*/
|
|
7716
|
+
async contentList(listingId, tagId, includeDeleted, options) {
|
|
7717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentList(listingId, tagId, includeDeleted, options);
|
|
7718
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7719
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentList"]?.[localVarOperationServerIndex]?.url;
|
|
7720
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7721
|
+
},
|
|
7722
|
+
/**
|
|
7723
|
+
* Content Update
|
|
7724
|
+
* @summary Content Update
|
|
7725
|
+
* @param {string} contentId
|
|
7726
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
7727
|
+
* @param {*} [options] Override http request option.
|
|
7728
|
+
* @throws {RequiredError}
|
|
7729
|
+
*/
|
|
7730
|
+
async contentUpdate(contentId, aPIContentUpdate, options) {
|
|
7731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentUpdate(contentId, aPIContentUpdate, options);
|
|
7732
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7733
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
7734
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7735
|
+
},
|
|
7736
|
+
/**
|
|
7737
|
+
* ContentVersions Get
|
|
7738
|
+
* @summary ContentVersions Get
|
|
7739
|
+
* @param {string} contentVersionId
|
|
7740
|
+
* @param {*} [options] Override http request option.
|
|
7741
|
+
* @throws {RequiredError}
|
|
7742
|
+
*/
|
|
7743
|
+
async contentVersionsGet(contentVersionId, options) {
|
|
7744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsGet(contentVersionId, options);
|
|
7474
7745
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7475
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
7746
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentVersionsGet"]?.[localVarOperationServerIndex]?.url;
|
|
7476
7747
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7477
7748
|
},
|
|
7478
7749
|
/**
|
|
7479
|
-
*
|
|
7480
|
-
* @summary
|
|
7481
|
-
* @param {string}
|
|
7482
|
-
* @param {string} listingId
|
|
7483
|
-
* @param {UpdateContactListing} updateContactListing
|
|
7750
|
+
* ContentVersions List
|
|
7751
|
+
* @summary ContentVersions List
|
|
7752
|
+
* @param {string} [contentId]
|
|
7484
7753
|
* @param {*} [options] Override http request option.
|
|
7485
7754
|
* @throws {RequiredError}
|
|
7486
7755
|
*/
|
|
7487
|
-
async
|
|
7488
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
7756
|
+
async contentVersionsList(contentId, options) {
|
|
7757
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contentVersionsList(contentId, options);
|
|
7489
7758
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7490
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
7759
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contentVersionsList"]?.[localVarOperationServerIndex]?.url;
|
|
7491
7760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7492
7761
|
},
|
|
7493
7762
|
/**
|
|
@@ -7606,17 +7875,29 @@ var UnboundApiFp = function(configuration) {
|
|
|
7606
7875
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7607
7876
|
},
|
|
7608
7877
|
/**
|
|
7609
|
-
*
|
|
7610
|
-
* @summary Generate
|
|
7611
|
-
* @param {
|
|
7878
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
7879
|
+
* @summary Generate presigned download URL
|
|
7880
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
7881
|
+
* @param {*} [options] Override http request option.
|
|
7882
|
+
* @throws {RequiredError}
|
|
7883
|
+
*/
|
|
7884
|
+
async generateFileDownloadURL(downloadURLRequest, options) {
|
|
7885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateFileDownloadURL(downloadURLRequest, options);
|
|
7886
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7887
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.generateFileDownloadURL"]?.[localVarOperationServerIndex]?.url;
|
|
7888
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7889
|
+
},
|
|
7890
|
+
/**
|
|
7891
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
7892
|
+
* @summary Generate presigned upload URL
|
|
7612
7893
|
* @param {UploadURLRequest} uploadURLRequest
|
|
7613
7894
|
* @param {*} [options] Override http request option.
|
|
7614
7895
|
* @throws {RequiredError}
|
|
7615
7896
|
*/
|
|
7616
|
-
async
|
|
7617
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
7897
|
+
async generateFileUploadURL(uploadURLRequest, options) {
|
|
7898
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateFileUploadURL(uploadURLRequest, options);
|
|
7618
7899
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7619
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
7900
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.generateFileUploadURL"]?.[localVarOperationServerIndex]?.url;
|
|
7620
7901
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7621
7902
|
},
|
|
7622
7903
|
/**
|
|
@@ -7656,100 +7937,6 @@ var UnboundApiFp = function(configuration) {
|
|
|
7656
7937
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
|
|
7657
7938
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7658
7939
|
},
|
|
7659
|
-
/**
|
|
7660
|
-
* ListingContent Create
|
|
7661
|
-
* @summary ListingContent Create
|
|
7662
|
-
* @param {string} listingId
|
|
7663
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
7664
|
-
* @param {*} [options] Override http request option.
|
|
7665
|
-
* @throws {RequiredError}
|
|
7666
|
-
*/
|
|
7667
|
-
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
7668
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
7669
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7670
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
|
|
7671
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7672
|
-
},
|
|
7673
|
-
/**
|
|
7674
|
-
* ListingContent Delete
|
|
7675
|
-
* @summary ListingContent Delete
|
|
7676
|
-
* @param {string} listingContentId
|
|
7677
|
-
* @param {*} [options] Override http request option.
|
|
7678
|
-
* @throws {RequiredError}
|
|
7679
|
-
*/
|
|
7680
|
-
async listingContentDelete(listingContentId, options) {
|
|
7681
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
7682
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7683
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
|
|
7684
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7685
|
-
},
|
|
7686
|
-
/**
|
|
7687
|
-
* ListingContent Get
|
|
7688
|
-
* @summary ListingContent Get
|
|
7689
|
-
* @param {string} listingContentId
|
|
7690
|
-
* @param {*} [options] Override http request option.
|
|
7691
|
-
* @throws {RequiredError}
|
|
7692
|
-
*/
|
|
7693
|
-
async listingContentGet(listingContentId, options) {
|
|
7694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
7695
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7696
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
|
|
7697
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7698
|
-
},
|
|
7699
|
-
/**
|
|
7700
|
-
* ListingContent List
|
|
7701
|
-
* @summary ListingContent List
|
|
7702
|
-
* @param {string} [listingId]
|
|
7703
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
7704
|
-
* @param {*} [options] Override http request option.
|
|
7705
|
-
* @throws {RequiredError}
|
|
7706
|
-
*/
|
|
7707
|
-
async listingContentList(listingId, status, options) {
|
|
7708
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
7709
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7710
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
|
|
7711
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7712
|
-
},
|
|
7713
|
-
/**
|
|
7714
|
-
* ListingContent Update
|
|
7715
|
-
* @summary ListingContent Update
|
|
7716
|
-
* @param {string} listingContentId
|
|
7717
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
7718
|
-
* @param {*} [options] Override http request option.
|
|
7719
|
-
* @throws {RequiredError}
|
|
7720
|
-
*/
|
|
7721
|
-
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
7722
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
7723
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7724
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
7725
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7726
|
-
},
|
|
7727
|
-
/**
|
|
7728
|
-
* ListingContentVersions Get
|
|
7729
|
-
* @summary ListingContentVersions Get
|
|
7730
|
-
* @param {string} listingContentVersionId
|
|
7731
|
-
* @param {*} [options] Override http request option.
|
|
7732
|
-
* @throws {RequiredError}
|
|
7733
|
-
*/
|
|
7734
|
-
async listingContentVersionsGet(listingContentVersionId, options) {
|
|
7735
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
|
|
7736
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7737
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentVersionsGet"]?.[localVarOperationServerIndex]?.url;
|
|
7738
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7739
|
-
},
|
|
7740
|
-
/**
|
|
7741
|
-
* ListingContentVersions List
|
|
7742
|
-
* @summary ListingContentVersions List
|
|
7743
|
-
* @param {string} [listingContentId]
|
|
7744
|
-
* @param {*} [options] Override http request option.
|
|
7745
|
-
* @throws {RequiredError}
|
|
7746
|
-
*/
|
|
7747
|
-
async listingContentVersionsList(listingContentId, options) {
|
|
7748
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
|
|
7749
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7750
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentVersionsList"]?.[localVarOperationServerIndex]?.url;
|
|
7751
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7752
|
-
},
|
|
7753
7940
|
/**
|
|
7754
7941
|
* Associates a tag with a listing. This operation is idempotent.
|
|
7755
7942
|
* @summary Add Tag To Listing
|
|
@@ -8359,6 +8546,91 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
8359
8546
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
8360
8547
|
return localVarFp.contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(axios, basePath));
|
|
8361
8548
|
},
|
|
8549
|
+
/**
|
|
8550
|
+
* Create new content under a listing.
|
|
8551
|
+
* @summary Create Listing Content
|
|
8552
|
+
* @param {string} listingId
|
|
8553
|
+
* @param {Create} create
|
|
8554
|
+
* @param {*} [options] Override http request option.
|
|
8555
|
+
* @throws {RequiredError}
|
|
8556
|
+
*/
|
|
8557
|
+
contentCreateOnListing(listingId, create, options) {
|
|
8558
|
+
return localVarFp.contentCreateOnListing(listingId, create, options).then((request) => request(axios, basePath));
|
|
8559
|
+
},
|
|
8560
|
+
/**
|
|
8561
|
+
* Create new content under a tag.
|
|
8562
|
+
* @summary Create Tag Content
|
|
8563
|
+
* @param {string} tagId
|
|
8564
|
+
* @param {Create} create
|
|
8565
|
+
* @param {*} [options] Override http request option.
|
|
8566
|
+
* @throws {RequiredError}
|
|
8567
|
+
*/
|
|
8568
|
+
contentCreateOnTag(tagId, create, options) {
|
|
8569
|
+
return localVarFp.contentCreateOnTag(tagId, create, options).then((request) => request(axios, basePath));
|
|
8570
|
+
},
|
|
8571
|
+
/**
|
|
8572
|
+
* Content Delete
|
|
8573
|
+
* @summary Content Delete
|
|
8574
|
+
* @param {string} contentId
|
|
8575
|
+
* @param {*} [options] Override http request option.
|
|
8576
|
+
* @throws {RequiredError}
|
|
8577
|
+
*/
|
|
8578
|
+
contentDelete(contentId, options) {
|
|
8579
|
+
return localVarFp.contentDelete(contentId, options).then((request) => request(axios, basePath));
|
|
8580
|
+
},
|
|
8581
|
+
/**
|
|
8582
|
+
* Content Get
|
|
8583
|
+
* @summary Content Get
|
|
8584
|
+
* @param {string} contentId
|
|
8585
|
+
* @param {*} [options] Override http request option.
|
|
8586
|
+
* @throws {RequiredError}
|
|
8587
|
+
*/
|
|
8588
|
+
contentGet(contentId, options) {
|
|
8589
|
+
return localVarFp.contentGet(contentId, options).then((request) => request(axios, basePath));
|
|
8590
|
+
},
|
|
8591
|
+
/**
|
|
8592
|
+
* Content List
|
|
8593
|
+
* @summary Content List
|
|
8594
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
8595
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
8596
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
8597
|
+
* @param {*} [options] Override http request option.
|
|
8598
|
+
* @throws {RequiredError}
|
|
8599
|
+
*/
|
|
8600
|
+
contentList(listingId, tagId, includeDeleted, options) {
|
|
8601
|
+
return localVarFp.contentList(listingId, tagId, includeDeleted, options).then((request) => request(axios, basePath));
|
|
8602
|
+
},
|
|
8603
|
+
/**
|
|
8604
|
+
* Content Update
|
|
8605
|
+
* @summary Content Update
|
|
8606
|
+
* @param {string} contentId
|
|
8607
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
8608
|
+
* @param {*} [options] Override http request option.
|
|
8609
|
+
* @throws {RequiredError}
|
|
8610
|
+
*/
|
|
8611
|
+
contentUpdate(contentId, aPIContentUpdate, options) {
|
|
8612
|
+
return localVarFp.contentUpdate(contentId, aPIContentUpdate, options).then((request) => request(axios, basePath));
|
|
8613
|
+
},
|
|
8614
|
+
/**
|
|
8615
|
+
* ContentVersions Get
|
|
8616
|
+
* @summary ContentVersions Get
|
|
8617
|
+
* @param {string} contentVersionId
|
|
8618
|
+
* @param {*} [options] Override http request option.
|
|
8619
|
+
* @throws {RequiredError}
|
|
8620
|
+
*/
|
|
8621
|
+
contentVersionsGet(contentVersionId, options) {
|
|
8622
|
+
return localVarFp.contentVersionsGet(contentVersionId, options).then((request) => request(axios, basePath));
|
|
8623
|
+
},
|
|
8624
|
+
/**
|
|
8625
|
+
* ContentVersions List
|
|
8626
|
+
* @summary ContentVersions List
|
|
8627
|
+
* @param {string} [contentId]
|
|
8628
|
+
* @param {*} [options] Override http request option.
|
|
8629
|
+
* @throws {RequiredError}
|
|
8630
|
+
*/
|
|
8631
|
+
contentVersionsList(contentId, options) {
|
|
8632
|
+
return localVarFp.contentVersionsList(contentId, options).then((request) => request(axios, basePath));
|
|
8633
|
+
},
|
|
8362
8634
|
/**
|
|
8363
8635
|
* Conversations Create
|
|
8364
8636
|
* @summary Conversations Create
|
|
@@ -8451,15 +8723,24 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
8451
8723
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
8452
8724
|
},
|
|
8453
8725
|
/**
|
|
8454
|
-
*
|
|
8455
|
-
* @summary Generate
|
|
8456
|
-
* @param {
|
|
8726
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
8727
|
+
* @summary Generate presigned download URL
|
|
8728
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
8729
|
+
* @param {*} [options] Override http request option.
|
|
8730
|
+
* @throws {RequiredError}
|
|
8731
|
+
*/
|
|
8732
|
+
generateFileDownloadURL(downloadURLRequest, options) {
|
|
8733
|
+
return localVarFp.generateFileDownloadURL(downloadURLRequest, options).then((request) => request(axios, basePath));
|
|
8734
|
+
},
|
|
8735
|
+
/**
|
|
8736
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
8737
|
+
* @summary Generate presigned upload URL
|
|
8457
8738
|
* @param {UploadURLRequest} uploadURLRequest
|
|
8458
8739
|
* @param {*} [options] Override http request option.
|
|
8459
8740
|
* @throws {RequiredError}
|
|
8460
8741
|
*/
|
|
8461
|
-
|
|
8462
|
-
return localVarFp.
|
|
8742
|
+
generateFileUploadURL(uploadURLRequest, options) {
|
|
8743
|
+
return localVarFp.generateFileUploadURL(uploadURLRequest, options).then((request) => request(axios, basePath));
|
|
8463
8744
|
},
|
|
8464
8745
|
/**
|
|
8465
8746
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
@@ -8489,79 +8770,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
8489
8770
|
inquiriesList(contactId, options) {
|
|
8490
8771
|
return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
|
|
8491
8772
|
},
|
|
8492
|
-
/**
|
|
8493
|
-
* ListingContent Create
|
|
8494
|
-
* @summary ListingContent Create
|
|
8495
|
-
* @param {string} listingId
|
|
8496
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
8497
|
-
* @param {*} [options] Override http request option.
|
|
8498
|
-
* @throws {RequiredError}
|
|
8499
|
-
*/
|
|
8500
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
8501
|
-
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
8502
|
-
},
|
|
8503
|
-
/**
|
|
8504
|
-
* ListingContent Delete
|
|
8505
|
-
* @summary ListingContent Delete
|
|
8506
|
-
* @param {string} listingContentId
|
|
8507
|
-
* @param {*} [options] Override http request option.
|
|
8508
|
-
* @throws {RequiredError}
|
|
8509
|
-
*/
|
|
8510
|
-
listingContentDelete(listingContentId, options) {
|
|
8511
|
-
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
8512
|
-
},
|
|
8513
|
-
/**
|
|
8514
|
-
* ListingContent Get
|
|
8515
|
-
* @summary ListingContent Get
|
|
8516
|
-
* @param {string} listingContentId
|
|
8517
|
-
* @param {*} [options] Override http request option.
|
|
8518
|
-
* @throws {RequiredError}
|
|
8519
|
-
*/
|
|
8520
|
-
listingContentGet(listingContentId, options) {
|
|
8521
|
-
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
8522
|
-
},
|
|
8523
|
-
/**
|
|
8524
|
-
* ListingContent List
|
|
8525
|
-
* @summary ListingContent List
|
|
8526
|
-
* @param {string} [listingId]
|
|
8527
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
8528
|
-
* @param {*} [options] Override http request option.
|
|
8529
|
-
* @throws {RequiredError}
|
|
8530
|
-
*/
|
|
8531
|
-
listingContentList(listingId, status, options) {
|
|
8532
|
-
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
8533
|
-
},
|
|
8534
|
-
/**
|
|
8535
|
-
* ListingContent Update
|
|
8536
|
-
* @summary ListingContent Update
|
|
8537
|
-
* @param {string} listingContentId
|
|
8538
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
8539
|
-
* @param {*} [options] Override http request option.
|
|
8540
|
-
* @throws {RequiredError}
|
|
8541
|
-
*/
|
|
8542
|
-
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
8543
|
-
return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
|
|
8544
|
-
},
|
|
8545
|
-
/**
|
|
8546
|
-
* ListingContentVersions Get
|
|
8547
|
-
* @summary ListingContentVersions Get
|
|
8548
|
-
* @param {string} listingContentVersionId
|
|
8549
|
-
* @param {*} [options] Override http request option.
|
|
8550
|
-
* @throws {RequiredError}
|
|
8551
|
-
*/
|
|
8552
|
-
listingContentVersionsGet(listingContentVersionId, options) {
|
|
8553
|
-
return localVarFp.listingContentVersionsGet(listingContentVersionId, options).then((request) => request(axios, basePath));
|
|
8554
|
-
},
|
|
8555
|
-
/**
|
|
8556
|
-
* ListingContentVersions List
|
|
8557
|
-
* @summary ListingContentVersions List
|
|
8558
|
-
* @param {string} [listingContentId]
|
|
8559
|
-
* @param {*} [options] Override http request option.
|
|
8560
|
-
* @throws {RequiredError}
|
|
8561
|
-
*/
|
|
8562
|
-
listingContentVersionsList(listingContentId, options) {
|
|
8563
|
-
return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
|
|
8564
|
-
},
|
|
8565
8773
|
/**
|
|
8566
8774
|
* Associates a tag with a listing. This operation is idempotent.
|
|
8567
8775
|
* @summary Add Tag To Listing
|
|
@@ -9096,6 +9304,99 @@ var UnboundApi = class extends BaseAPI {
|
|
|
9096
9304
|
contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
9097
9305
|
return UnboundApiFp(this.configuration).contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(this.axios, this.basePath));
|
|
9098
9306
|
}
|
|
9307
|
+
/**
|
|
9308
|
+
* Create new content under a listing.
|
|
9309
|
+
* @summary Create Listing Content
|
|
9310
|
+
* @param {string} listingId
|
|
9311
|
+
* @param {Create} create
|
|
9312
|
+
* @param {*} [options] Override http request option.
|
|
9313
|
+
* @throws {RequiredError}
|
|
9314
|
+
* @memberof UnboundApi
|
|
9315
|
+
*/
|
|
9316
|
+
contentCreateOnListing(listingId, create, options) {
|
|
9317
|
+
return UnboundApiFp(this.configuration).contentCreateOnListing(listingId, create, options).then((request) => request(this.axios, this.basePath));
|
|
9318
|
+
}
|
|
9319
|
+
/**
|
|
9320
|
+
* Create new content under a tag.
|
|
9321
|
+
* @summary Create Tag Content
|
|
9322
|
+
* @param {string} tagId
|
|
9323
|
+
* @param {Create} create
|
|
9324
|
+
* @param {*} [options] Override http request option.
|
|
9325
|
+
* @throws {RequiredError}
|
|
9326
|
+
* @memberof UnboundApi
|
|
9327
|
+
*/
|
|
9328
|
+
contentCreateOnTag(tagId, create, options) {
|
|
9329
|
+
return UnboundApiFp(this.configuration).contentCreateOnTag(tagId, create, options).then((request) => request(this.axios, this.basePath));
|
|
9330
|
+
}
|
|
9331
|
+
/**
|
|
9332
|
+
* Content Delete
|
|
9333
|
+
* @summary Content Delete
|
|
9334
|
+
* @param {string} contentId
|
|
9335
|
+
* @param {*} [options] Override http request option.
|
|
9336
|
+
* @throws {RequiredError}
|
|
9337
|
+
* @memberof UnboundApi
|
|
9338
|
+
*/
|
|
9339
|
+
contentDelete(contentId, options) {
|
|
9340
|
+
return UnboundApiFp(this.configuration).contentDelete(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
9341
|
+
}
|
|
9342
|
+
/**
|
|
9343
|
+
* Content Get
|
|
9344
|
+
* @summary Content Get
|
|
9345
|
+
* @param {string} contentId
|
|
9346
|
+
* @param {*} [options] Override http request option.
|
|
9347
|
+
* @throws {RequiredError}
|
|
9348
|
+
* @memberof UnboundApi
|
|
9349
|
+
*/
|
|
9350
|
+
contentGet(contentId, options) {
|
|
9351
|
+
return UnboundApiFp(this.configuration).contentGet(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
9352
|
+
}
|
|
9353
|
+
/**
|
|
9354
|
+
* Content List
|
|
9355
|
+
* @summary Content List
|
|
9356
|
+
* @param {string | null} [listingId] Filter by listing ID
|
|
9357
|
+
* @param {string | null} [tagId] Filter by tag ID
|
|
9358
|
+
* @param {boolean} [includeDeleted] Include soft-deleted content
|
|
9359
|
+
* @param {*} [options] Override http request option.
|
|
9360
|
+
* @throws {RequiredError}
|
|
9361
|
+
* @memberof UnboundApi
|
|
9362
|
+
*/
|
|
9363
|
+
contentList(listingId, tagId, includeDeleted, options) {
|
|
9364
|
+
return UnboundApiFp(this.configuration).contentList(listingId, tagId, includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
9365
|
+
}
|
|
9366
|
+
/**
|
|
9367
|
+
* Content Update
|
|
9368
|
+
* @summary Content Update
|
|
9369
|
+
* @param {string} contentId
|
|
9370
|
+
* @param {APIContentUpdate} aPIContentUpdate
|
|
9371
|
+
* @param {*} [options] Override http request option.
|
|
9372
|
+
* @throws {RequiredError}
|
|
9373
|
+
* @memberof UnboundApi
|
|
9374
|
+
*/
|
|
9375
|
+
contentUpdate(contentId, aPIContentUpdate, options) {
|
|
9376
|
+
return UnboundApiFp(this.configuration).contentUpdate(contentId, aPIContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
9377
|
+
}
|
|
9378
|
+
/**
|
|
9379
|
+
* ContentVersions Get
|
|
9380
|
+
* @summary ContentVersions Get
|
|
9381
|
+
* @param {string} contentVersionId
|
|
9382
|
+
* @param {*} [options] Override http request option.
|
|
9383
|
+
* @throws {RequiredError}
|
|
9384
|
+
* @memberof UnboundApi
|
|
9385
|
+
*/
|
|
9386
|
+
contentVersionsGet(contentVersionId, options) {
|
|
9387
|
+
return UnboundApiFp(this.configuration).contentVersionsGet(contentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
9388
|
+
}
|
|
9389
|
+
/**
|
|
9390
|
+
* ContentVersions List
|
|
9391
|
+
* @summary ContentVersions List
|
|
9392
|
+
* @param {string} [contentId]
|
|
9393
|
+
* @param {*} [options] Override http request option.
|
|
9394
|
+
* @throws {RequiredError}
|
|
9395
|
+
* @memberof UnboundApi
|
|
9396
|
+
*/
|
|
9397
|
+
contentVersionsList(contentId, options) {
|
|
9398
|
+
return UnboundApiFp(this.configuration).contentVersionsList(contentId, options).then((request) => request(this.axios, this.basePath));
|
|
9399
|
+
}
|
|
9099
9400
|
/**
|
|
9100
9401
|
* Conversations Create
|
|
9101
9402
|
* @summary Conversations Create
|
|
@@ -9196,16 +9497,26 @@ var UnboundApi = class extends BaseAPI {
|
|
|
9196
9497
|
return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
9197
9498
|
}
|
|
9198
9499
|
/**
|
|
9199
|
-
*
|
|
9200
|
-
* @summary Generate
|
|
9201
|
-
* @param {
|
|
9500
|
+
* Generate a presigned GET URL for downloading a file. The file must belong to the authenticated account (enforced by file_key prefix matching account_id). **Download Workflow:** 1. Call this endpoint with the file_key obtained during upload 2. Redirect or fetch from the returned download_url 3. URL expires after the specified duration (default 1 hour)
|
|
9501
|
+
* @summary Generate presigned download URL
|
|
9502
|
+
* @param {DownloadURLRequest} downloadURLRequest
|
|
9503
|
+
* @param {*} [options] Override http request option.
|
|
9504
|
+
* @throws {RequiredError}
|
|
9505
|
+
* @memberof UnboundApi
|
|
9506
|
+
*/
|
|
9507
|
+
generateFileDownloadURL(downloadURLRequest, options) {
|
|
9508
|
+
return UnboundApiFp(this.configuration).generateFileDownloadURL(downloadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9509
|
+
}
|
|
9510
|
+
/**
|
|
9511
|
+
* Generate a presigned POST URL for uploading a file directly to storage. The upload enforces file size limits server-side. Files are organized under the authenticated account\'s namespace. **Upload Workflow:** 1. Call this endpoint to get upload URL and form fields 2. POST the file to upload_url with all upload_fields as form data 3. The file field should be named \'file\' and be the last field 4. Store the returned file_key for later download
|
|
9512
|
+
* @summary Generate presigned upload URL
|
|
9202
9513
|
* @param {UploadURLRequest} uploadURLRequest
|
|
9203
9514
|
* @param {*} [options] Override http request option.
|
|
9204
9515
|
* @throws {RequiredError}
|
|
9205
9516
|
* @memberof UnboundApi
|
|
9206
9517
|
*/
|
|
9207
|
-
|
|
9208
|
-
return UnboundApiFp(this.configuration).
|
|
9518
|
+
generateFileUploadURL(uploadURLRequest, options) {
|
|
9519
|
+
return UnboundApiFp(this.configuration).generateFileUploadURL(uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9209
9520
|
}
|
|
9210
9521
|
/**
|
|
9211
9522
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
@@ -9238,86 +9549,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
9238
9549
|
inquiriesList(contactId, options) {
|
|
9239
9550
|
return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
9240
9551
|
}
|
|
9241
|
-
/**
|
|
9242
|
-
* ListingContent Create
|
|
9243
|
-
* @summary ListingContent Create
|
|
9244
|
-
* @param {string} listingId
|
|
9245
|
-
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
9246
|
-
* @param {*} [options] Override http request option.
|
|
9247
|
-
* @throws {RequiredError}
|
|
9248
|
-
* @memberof UnboundApi
|
|
9249
|
-
*/
|
|
9250
|
-
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
9251
|
-
return UnboundApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
9252
|
-
}
|
|
9253
|
-
/**
|
|
9254
|
-
* ListingContent Delete
|
|
9255
|
-
* @summary ListingContent Delete
|
|
9256
|
-
* @param {string} listingContentId
|
|
9257
|
-
* @param {*} [options] Override http request option.
|
|
9258
|
-
* @throws {RequiredError}
|
|
9259
|
-
* @memberof UnboundApi
|
|
9260
|
-
*/
|
|
9261
|
-
listingContentDelete(listingContentId, options) {
|
|
9262
|
-
return UnboundApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
9263
|
-
}
|
|
9264
|
-
/**
|
|
9265
|
-
* ListingContent Get
|
|
9266
|
-
* @summary ListingContent Get
|
|
9267
|
-
* @param {string} listingContentId
|
|
9268
|
-
* @param {*} [options] Override http request option.
|
|
9269
|
-
* @throws {RequiredError}
|
|
9270
|
-
* @memberof UnboundApi
|
|
9271
|
-
*/
|
|
9272
|
-
listingContentGet(listingContentId, options) {
|
|
9273
|
-
return UnboundApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
9274
|
-
}
|
|
9275
|
-
/**
|
|
9276
|
-
* ListingContent List
|
|
9277
|
-
* @summary ListingContent List
|
|
9278
|
-
* @param {string} [listingId]
|
|
9279
|
-
* @param {string} [status] Filter by status: active, deleted, or all
|
|
9280
|
-
* @param {*} [options] Override http request option.
|
|
9281
|
-
* @throws {RequiredError}
|
|
9282
|
-
* @memberof UnboundApi
|
|
9283
|
-
*/
|
|
9284
|
-
listingContentList(listingId, status, options) {
|
|
9285
|
-
return UnboundApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
9286
|
-
}
|
|
9287
|
-
/**
|
|
9288
|
-
* ListingContent Update
|
|
9289
|
-
* @summary ListingContent Update
|
|
9290
|
-
* @param {string} listingContentId
|
|
9291
|
-
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
9292
|
-
* @param {*} [options] Override http request option.
|
|
9293
|
-
* @throws {RequiredError}
|
|
9294
|
-
* @memberof UnboundApi
|
|
9295
|
-
*/
|
|
9296
|
-
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
9297
|
-
return UnboundApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
9298
|
-
}
|
|
9299
|
-
/**
|
|
9300
|
-
* ListingContentVersions Get
|
|
9301
|
-
* @summary ListingContentVersions Get
|
|
9302
|
-
* @param {string} listingContentVersionId
|
|
9303
|
-
* @param {*} [options] Override http request option.
|
|
9304
|
-
* @throws {RequiredError}
|
|
9305
|
-
* @memberof UnboundApi
|
|
9306
|
-
*/
|
|
9307
|
-
listingContentVersionsGet(listingContentVersionId, options) {
|
|
9308
|
-
return UnboundApiFp(this.configuration).listingContentVersionsGet(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
9309
|
-
}
|
|
9310
|
-
/**
|
|
9311
|
-
* ListingContentVersions List
|
|
9312
|
-
* @summary ListingContentVersions List
|
|
9313
|
-
* @param {string} [listingContentId]
|
|
9314
|
-
* @param {*} [options] Override http request option.
|
|
9315
|
-
* @throws {RequiredError}
|
|
9316
|
-
* @memberof UnboundApi
|
|
9317
|
-
*/
|
|
9318
|
-
listingContentVersionsList(listingContentId, options) {
|
|
9319
|
-
return UnboundApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
9320
|
-
}
|
|
9321
9552
|
/**
|
|
9322
9553
|
* Associates a tag with a listing. This operation is idempotent.
|
|
9323
9554
|
* @summary Add Tag To Listing
|
|
@@ -9906,7 +10137,7 @@ var Configuration = class {
|
|
|
9906
10137
|
}
|
|
9907
10138
|
};
|
|
9908
10139
|
export {
|
|
9909
|
-
|
|
10140
|
+
APIContentVersionParentResourceEnum,
|
|
9910
10141
|
AccountsApi,
|
|
9911
10142
|
AccountsApiAxiosParamCreator,
|
|
9912
10143
|
AccountsApiFactory,
|
|
@@ -9926,6 +10157,11 @@ export {
|
|
|
9926
10157
|
ContactsApiAxiosParamCreator,
|
|
9927
10158
|
ContactsApiFactory,
|
|
9928
10159
|
ContactsApiFp,
|
|
10160
|
+
ContentApi,
|
|
10161
|
+
ContentApiAxiosParamCreator,
|
|
10162
|
+
ContentApiFactory,
|
|
10163
|
+
ContentApiFp,
|
|
10164
|
+
ContentParentResource,
|
|
9929
10165
|
ConversationStatus,
|
|
9930
10166
|
ConversationsApi,
|
|
9931
10167
|
ConversationsApiAxiosParamCreator,
|
|
@@ -9935,7 +10171,12 @@ export {
|
|
|
9935
10171
|
EmailInboxApiInboxTypeEnum,
|
|
9936
10172
|
EmailProviderMessageApiMessageTypeEnum,
|
|
9937
10173
|
ExternalStaffApiStaffTypeEnum,
|
|
9938
|
-
|
|
10174
|
+
FileContentApiContentTypeEnum,
|
|
10175
|
+
FileContentContentTypeEnum,
|
|
10176
|
+
FilesApi,
|
|
10177
|
+
FilesApiAxiosParamCreator,
|
|
10178
|
+
FilesApiFactory,
|
|
10179
|
+
FilesApiFp,
|
|
9939
10180
|
GuestApiParticipantTypeEnum,
|
|
9940
10181
|
HostawayApi,
|
|
9941
10182
|
HostawayApiAxiosParamCreator,
|
|
@@ -9950,10 +10191,6 @@ export {
|
|
|
9950
10191
|
InquiriesApiFactory,
|
|
9951
10192
|
InquiriesApiFp,
|
|
9952
10193
|
InternalStaffApiStaffTypeEnum,
|
|
9953
|
-
ListingContentApi,
|
|
9954
|
-
ListingContentApiAxiosParamCreator,
|
|
9955
|
-
ListingContentApiFactory,
|
|
9956
|
-
ListingContentApiFp,
|
|
9957
10194
|
ListingsApi,
|
|
9958
10195
|
ListingsApiAxiosParamCreator,
|
|
9959
10196
|
ListingsApiFactory,
|
|
@@ -9966,7 +10203,8 @@ export {
|
|
|
9966
10203
|
MessageStatus,
|
|
9967
10204
|
PaginationDirection,
|
|
9968
10205
|
PhoneInboxApiInboxTypeEnum,
|
|
9969
|
-
|
|
10206
|
+
PlainTextContentApiContentTypeEnum,
|
|
10207
|
+
PlainTextContentContentTypeEnum,
|
|
9970
10208
|
ProviderAccountInboxApiInboxTypeEnum,
|
|
9971
10209
|
ProviderCommunicationTypeInput,
|
|
9972
10210
|
ProviderConversationDataApiConversationTypeEnum,
|
|
@@ -10010,7 +10248,8 @@ export {
|
|
|
10010
10248
|
TelnyxApiAxiosParamCreator,
|
|
10011
10249
|
TelnyxApiFactory,
|
|
10012
10250
|
TelnyxApiFp,
|
|
10013
|
-
|
|
10251
|
+
URLContentApiContentTypeEnum,
|
|
10252
|
+
URLContentContentTypeEnum,
|
|
10014
10253
|
UnboundApi,
|
|
10015
10254
|
UnboundApiAxiosParamCreator,
|
|
10016
10255
|
UnboundApiFactory,
|