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