@ember-home/unbound-ts-client 0.0.83 → 0.0.85
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 +247 -176
- package/dist/index.d.ts +247 -176
- package/dist/index.js +293 -264
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +182 -153
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -219,11 +219,6 @@ var SuggestionStatus = {
|
|
|
219
219
|
AnsweredByStaff: "ANSWERED_BY_STAFF",
|
|
220
220
|
ReplyGenerated: "REPLY_GENERATED"
|
|
221
221
|
};
|
|
222
|
-
var SuggestionUsedType = {
|
|
223
|
-
Accepted: "ACCEPTED",
|
|
224
|
-
Modified: "MODIFIED",
|
|
225
|
-
Rejected: "REJECTED"
|
|
226
|
-
};
|
|
227
222
|
var TwilioConversationDataApiConversationTypeEnum = {
|
|
228
223
|
Text: "TEXT"
|
|
229
224
|
};
|
|
@@ -236,6 +231,15 @@ var TwilioOutboundSenderTypeDataApiDirectionEnum = {
|
|
|
236
231
|
var TwilioProviderMessageApiMessageTypeEnum = {
|
|
237
232
|
Text: "TEXT"
|
|
238
233
|
};
|
|
234
|
+
var UserDeviceOs = {
|
|
235
|
+
Android: "ANDROID",
|
|
236
|
+
Ios: "IOS"
|
|
237
|
+
};
|
|
238
|
+
var UserDeviceType = {
|
|
239
|
+
Mobile: "MOBILE",
|
|
240
|
+
Tablet: "TABLET",
|
|
241
|
+
Desktop: "DESKTOP"
|
|
242
|
+
};
|
|
239
243
|
var AccountsApiAxiosParamCreator = function(configuration) {
|
|
240
244
|
return {
|
|
241
245
|
/**
|
|
@@ -1802,32 +1806,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1802
1806
|
options: localVarRequestOptions
|
|
1803
1807
|
};
|
|
1804
1808
|
},
|
|
1805
|
-
/**
|
|
1806
|
-
*
|
|
1807
|
-
* @summary Conversations List Suggestions
|
|
1808
|
-
* @param {string} conversationId
|
|
1809
|
-
* @param {*} [options] Override http request option.
|
|
1810
|
-
* @throws {RequiredError}
|
|
1811
|
-
*/
|
|
1812
|
-
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
1813
|
-
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
1814
|
-
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1815
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1816
|
-
let baseOptions;
|
|
1817
|
-
if (configuration) {
|
|
1818
|
-
baseOptions = configuration.baseOptions;
|
|
1819
|
-
}
|
|
1820
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1821
|
-
const localVarHeaderParameter = {};
|
|
1822
|
-
const localVarQueryParameter = {};
|
|
1823
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1824
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1825
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1826
|
-
return {
|
|
1827
|
-
url: toPathString(localVarUrlObj),
|
|
1828
|
-
options: localVarRequestOptions
|
|
1829
|
-
};
|
|
1830
|
-
},
|
|
1831
1809
|
/**
|
|
1832
1810
|
* Conversations Update
|
|
1833
1811
|
* @summary Conversations Update
|
|
@@ -2020,19 +1998,6 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2020
1998
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.conversationsList"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
2021
1999
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2022
2000
|
},
|
|
2023
|
-
/**
|
|
2024
|
-
*
|
|
2025
|
-
* @summary Conversations List Suggestions
|
|
2026
|
-
* @param {string} conversationId
|
|
2027
|
-
* @param {*} [options] Override http request option.
|
|
2028
|
-
* @throws {RequiredError}
|
|
2029
|
-
*/
|
|
2030
|
-
async conversationsListSuggestions(conversationId, options) {
|
|
2031
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
2032
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
2033
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsListSuggestions"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
2034
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2035
|
-
},
|
|
2036
2001
|
/**
|
|
2037
2002
|
* Conversations Update
|
|
2038
2003
|
* @summary Conversations Update
|
|
@@ -2043,8 +2008,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2043
2008
|
*/
|
|
2044
2009
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
2045
2010
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
2046
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2047
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2011
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
2012
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsUpdate"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
2048
2013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2049
2014
|
},
|
|
2050
2015
|
/**
|
|
@@ -2057,8 +2022,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2057
2022
|
*/
|
|
2058
2023
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
2059
2024
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
2060
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2061
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2025
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
2026
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.messagesCreate"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
2062
2027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2063
2028
|
},
|
|
2064
2029
|
/**
|
|
@@ -2070,8 +2035,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2070
2035
|
*/
|
|
2071
2036
|
async messagesGet(messageId, options) {
|
|
2072
2037
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
2073
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2074
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2038
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2039
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["ConversationsApi.messagesGet"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2075
2040
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2076
2041
|
},
|
|
2077
2042
|
/**
|
|
@@ -2093,8 +2058,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2093
2058
|
*/
|
|
2094
2059
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2095
2060
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2096
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2097
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2061
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2062
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["ConversationsApi.messagesList"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2098
2063
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2099
2064
|
}
|
|
2100
2065
|
};
|
|
@@ -2129,16 +2094,6 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2129
2094
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2130
2095
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
2131
2096
|
},
|
|
2132
|
-
/**
|
|
2133
|
-
*
|
|
2134
|
-
* @summary Conversations List Suggestions
|
|
2135
|
-
* @param {string} conversationId
|
|
2136
|
-
* @param {*} [options] Override http request option.
|
|
2137
|
-
* @throws {RequiredError}
|
|
2138
|
-
*/
|
|
2139
|
-
conversationsListSuggestions(conversationId, options) {
|
|
2140
|
-
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
2141
|
-
},
|
|
2142
2097
|
/**
|
|
2143
2098
|
* Conversations Update
|
|
2144
2099
|
* @summary Conversations Update
|
|
@@ -2223,17 +2178,6 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2223
2178
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2224
2179
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
2225
2180
|
}
|
|
2226
|
-
/**
|
|
2227
|
-
*
|
|
2228
|
-
* @summary Conversations List Suggestions
|
|
2229
|
-
* @param {string} conversationId
|
|
2230
|
-
* @param {*} [options] Override http request option.
|
|
2231
|
-
* @throws {RequiredError}
|
|
2232
|
-
* @memberof ConversationsApi
|
|
2233
|
-
*/
|
|
2234
|
-
conversationsListSuggestions(conversationId, options) {
|
|
2235
|
-
return ConversationsApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2236
|
-
}
|
|
2237
2181
|
/**
|
|
2238
2182
|
* Conversations Update
|
|
2239
2183
|
* @summary Conversations Update
|
|
@@ -2296,12 +2240,12 @@ var HostawayApiAxiosParamCreator = function(configuration) {
|
|
|
2296
2240
|
/**
|
|
2297
2241
|
*
|
|
2298
2242
|
* @summary Unifiedwebhook
|
|
2299
|
-
* @param {
|
|
2243
|
+
* @param {object} body
|
|
2300
2244
|
* @param {*} [options] Override http request option.
|
|
2301
2245
|
* @throws {RequiredError}
|
|
2302
2246
|
*/
|
|
2303
|
-
webhook: async (
|
|
2304
|
-
assertParamExists("webhook", "
|
|
2247
|
+
webhook: async (body, options = {}) => {
|
|
2248
|
+
assertParamExists("webhook", "body", body);
|
|
2305
2249
|
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2306
2250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2307
2251
|
let baseOptions;
|
|
@@ -2316,7 +2260,7 @@ var HostawayApiAxiosParamCreator = function(configuration) {
|
|
|
2316
2260
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2317
2261
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2318
2262
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2319
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2263
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2320
2264
|
return {
|
|
2321
2265
|
url: toPathString(localVarUrlObj),
|
|
2322
2266
|
options: localVarRequestOptions
|
|
@@ -2330,14 +2274,14 @@ var HostawayApiFp = function(configuration) {
|
|
|
2330
2274
|
/**
|
|
2331
2275
|
*
|
|
2332
2276
|
* @summary Unifiedwebhook
|
|
2333
|
-
* @param {
|
|
2277
|
+
* @param {object} body
|
|
2334
2278
|
* @param {*} [options] Override http request option.
|
|
2335
2279
|
* @throws {RequiredError}
|
|
2336
2280
|
*/
|
|
2337
|
-
async webhook(
|
|
2338
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(
|
|
2339
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2340
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2281
|
+
async webhook(body, options) {
|
|
2282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
2283
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2284
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["HostawayApi.webhook"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2341
2285
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2342
2286
|
}
|
|
2343
2287
|
};
|
|
@@ -2348,12 +2292,12 @@ var HostawayApiFactory = function(configuration, basePath, axios) {
|
|
|
2348
2292
|
/**
|
|
2349
2293
|
*
|
|
2350
2294
|
* @summary Unifiedwebhook
|
|
2351
|
-
* @param {
|
|
2295
|
+
* @param {object} body
|
|
2352
2296
|
* @param {*} [options] Override http request option.
|
|
2353
2297
|
* @throws {RequiredError}
|
|
2354
2298
|
*/
|
|
2355
|
-
webhook(
|
|
2356
|
-
return localVarFp.webhook(
|
|
2299
|
+
webhook(body, options) {
|
|
2300
|
+
return localVarFp.webhook(body, options).then((request) => request(axios, basePath));
|
|
2357
2301
|
}
|
|
2358
2302
|
};
|
|
2359
2303
|
};
|
|
@@ -2361,13 +2305,13 @@ var HostawayApi = class extends BaseAPI {
|
|
|
2361
2305
|
/**
|
|
2362
2306
|
*
|
|
2363
2307
|
* @summary Unifiedwebhook
|
|
2364
|
-
* @param {
|
|
2308
|
+
* @param {object} body
|
|
2365
2309
|
* @param {*} [options] Override http request option.
|
|
2366
2310
|
* @throws {RequiredError}
|
|
2367
2311
|
* @memberof HostawayApi
|
|
2368
2312
|
*/
|
|
2369
|
-
webhook(
|
|
2370
|
-
return HostawayApiFp(this.configuration).webhook(
|
|
2313
|
+
webhook(body, options) {
|
|
2314
|
+
return HostawayApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
|
|
2371
2315
|
}
|
|
2372
2316
|
};
|
|
2373
2317
|
var InboxesApiAxiosParamCreator = function(configuration) {
|
|
@@ -2409,8 +2353,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2409
2353
|
*/
|
|
2410
2354
|
async inboxesList(options) {
|
|
2411
2355
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
2412
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2413
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2356
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2357
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["InboxesApi.inboxesList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2414
2358
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2415
2359
|
}
|
|
2416
2360
|
};
|
|
@@ -2485,8 +2429,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2485
2429
|
*/
|
|
2486
2430
|
async inquiriesList(contactId, options) {
|
|
2487
2431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2488
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2489
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2432
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2433
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["InquiriesApi.inquiriesList"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2490
2434
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2491
2435
|
}
|
|
2492
2436
|
};
|
|
@@ -2613,8 +2557,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2613
2557
|
*/
|
|
2614
2558
|
async listingsGet(listingId, options) {
|
|
2615
2559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2616
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2617
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2560
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2561
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["ListingsApi.listingsGet"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2618
2562
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2619
2563
|
},
|
|
2620
2564
|
/**
|
|
@@ -2632,8 +2576,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2632
2576
|
*/
|
|
2633
2577
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2634
2578
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2635
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2636
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2579
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2580
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ListingsApi.listingsList"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2637
2581
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2638
2582
|
}
|
|
2639
2583
|
};
|
|
@@ -2738,8 +2682,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2738
2682
|
*/
|
|
2739
2683
|
async managedPhoneNumbersList(options) {
|
|
2740
2684
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2741
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2742
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2685
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2686
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2743
2687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2744
2688
|
}
|
|
2745
2689
|
};
|
|
@@ -2894,8 +2838,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2894
2838
|
*/
|
|
2895
2839
|
async providersCreate(aPIProviderCreate, options) {
|
|
2896
2840
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2897
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2898
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2841
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2842
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ProvidersApi.providersCreate"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2899
2843
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2900
2844
|
},
|
|
2901
2845
|
/**
|
|
@@ -2907,8 +2851,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2907
2851
|
*/
|
|
2908
2852
|
async providersGet(providerId, options) {
|
|
2909
2853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2910
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2911
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2854
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2855
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ProvidersApi.providersGet"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2912
2856
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2913
2857
|
},
|
|
2914
2858
|
/**
|
|
@@ -2919,8 +2863,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2919
2863
|
*/
|
|
2920
2864
|
async providersList(options) {
|
|
2921
2865
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2922
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2923
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2866
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2867
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ProvidersApi.providersList"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2924
2868
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2925
2869
|
},
|
|
2926
2870
|
/**
|
|
@@ -2933,8 +2877,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2933
2877
|
*/
|
|
2934
2878
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2935
2879
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2936
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2937
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2880
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2881
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["ProvidersApi.providersUpdate"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2938
2882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2939
2883
|
}
|
|
2940
2884
|
};
|
|
@@ -3124,8 +3068,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3124
3068
|
*/
|
|
3125
3069
|
async reservationsGet(reservationId, options) {
|
|
3126
3070
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3127
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3128
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3071
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
3072
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["ReservationsApi.reservationsGet"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
3129
3073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3130
3074
|
},
|
|
3131
3075
|
/**
|
|
@@ -3143,8 +3087,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3143
3087
|
*/
|
|
3144
3088
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3145
3089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3146
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3147
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3090
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3091
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["ReservationsApi.reservationsList"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
3148
3092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3149
3093
|
}
|
|
3150
3094
|
};
|
|
@@ -3684,32 +3628,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3684
3628
|
options: localVarRequestOptions
|
|
3685
3629
|
};
|
|
3686
3630
|
},
|
|
3687
|
-
/**
|
|
3688
|
-
*
|
|
3689
|
-
* @summary Conversations List Suggestions
|
|
3690
|
-
* @param {string} conversationId
|
|
3691
|
-
* @param {*} [options] Override http request option.
|
|
3692
|
-
* @throws {RequiredError}
|
|
3693
|
-
*/
|
|
3694
|
-
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
3695
|
-
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
3696
|
-
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3698
|
-
let baseOptions;
|
|
3699
|
-
if (configuration) {
|
|
3700
|
-
baseOptions = configuration.baseOptions;
|
|
3701
|
-
}
|
|
3702
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3703
|
-
const localVarHeaderParameter = {};
|
|
3704
|
-
const localVarQueryParameter = {};
|
|
3705
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3706
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3707
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3708
|
-
return {
|
|
3709
|
-
url: toPathString(localVarUrlObj),
|
|
3710
|
-
options: localVarRequestOptions
|
|
3711
|
-
};
|
|
3712
|
-
},
|
|
3713
3631
|
/**
|
|
3714
3632
|
* Conversations Update
|
|
3715
3633
|
* @summary Conversations Update
|
|
@@ -4452,15 +4370,43 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4452
4370
|
options: localVarRequestOptions
|
|
4453
4371
|
};
|
|
4454
4372
|
},
|
|
4373
|
+
/**
|
|
4374
|
+
* UserDevices Create
|
|
4375
|
+
* @summary UserDevices Create
|
|
4376
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
4377
|
+
* @param {*} [options] Override http request option.
|
|
4378
|
+
* @throws {RequiredError}
|
|
4379
|
+
*/
|
|
4380
|
+
userDevicesCreate: async (aPIUserDeviceCreate, options = {}) => {
|
|
4381
|
+
assertParamExists("userDevicesCreate", "aPIUserDeviceCreate", aPIUserDeviceCreate);
|
|
4382
|
+
const localVarPath = `/userDevices`;
|
|
4383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4384
|
+
let baseOptions;
|
|
4385
|
+
if (configuration) {
|
|
4386
|
+
baseOptions = configuration.baseOptions;
|
|
4387
|
+
}
|
|
4388
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4389
|
+
const localVarHeaderParameter = {};
|
|
4390
|
+
const localVarQueryParameter = {};
|
|
4391
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4392
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4394
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4395
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIUserDeviceCreate, localVarRequestOptions, configuration);
|
|
4396
|
+
return {
|
|
4397
|
+
url: toPathString(localVarUrlObj),
|
|
4398
|
+
options: localVarRequestOptions
|
|
4399
|
+
};
|
|
4400
|
+
},
|
|
4455
4401
|
/**
|
|
4456
4402
|
*
|
|
4457
4403
|
* @summary Unifiedwebhook
|
|
4458
|
-
* @param {
|
|
4404
|
+
* @param {object} body
|
|
4459
4405
|
* @param {*} [options] Override http request option.
|
|
4460
4406
|
* @throws {RequiredError}
|
|
4461
4407
|
*/
|
|
4462
|
-
webhook: async (
|
|
4463
|
-
assertParamExists("webhook", "
|
|
4408
|
+
webhook: async (body, options = {}) => {
|
|
4409
|
+
assertParamExists("webhook", "body", body);
|
|
4464
4410
|
const localVarPath = `/hostaway-unified-webhooks`;
|
|
4465
4411
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4466
4412
|
let baseOptions;
|
|
@@ -4475,7 +4421,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4475
4421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4476
4422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4477
4423
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4478
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4424
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
4479
4425
|
return {
|
|
4480
4426
|
url: toPathString(localVarUrlObj),
|
|
4481
4427
|
options: localVarRequestOptions
|
|
@@ -4494,8 +4440,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4494
4440
|
*/
|
|
4495
4441
|
async accountsList(options) {
|
|
4496
4442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4497
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4498
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4443
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
4444
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.accountsList"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
4499
4445
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4500
4446
|
},
|
|
4501
4447
|
/**
|
|
@@ -4508,8 +4454,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4508
4454
|
*/
|
|
4509
4455
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4510
4456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4511
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4512
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4457
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
4458
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.addressesCreate"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
4513
4459
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4514
4460
|
},
|
|
4515
4461
|
/**
|
|
@@ -4521,8 +4467,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4521
4467
|
*/
|
|
4522
4468
|
async addressesDelete(addressId, options) {
|
|
4523
4469
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4524
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4525
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4470
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
4471
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.addressesDelete"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
4526
4472
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4527
4473
|
},
|
|
4528
4474
|
/**
|
|
@@ -4534,8 +4480,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4534
4480
|
*/
|
|
4535
4481
|
async addressesGet(addressId, options) {
|
|
4536
4482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4537
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4538
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4483
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
4484
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.addressesGet"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
4539
4485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4540
4486
|
},
|
|
4541
4487
|
/**
|
|
@@ -4548,8 +4494,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4548
4494
|
*/
|
|
4549
4495
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4550
4496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4551
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4552
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4497
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
4498
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.addressesUpdate"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
4553
4499
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4554
4500
|
},
|
|
4555
4501
|
/**
|
|
@@ -4563,8 +4509,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4563
4509
|
*/
|
|
4564
4510
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4565
4511
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4566
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4567
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4512
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
4513
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["UnboundApi.contactsAddListing"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
4568
4514
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4569
4515
|
},
|
|
4570
4516
|
/**
|
|
@@ -4576,8 +4522,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4576
4522
|
*/
|
|
4577
4523
|
async contactsCreate(contactcreate, options) {
|
|
4578
4524
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4579
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4580
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4525
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
4526
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["UnboundApi.contactsCreate"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
4581
4527
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4582
4528
|
},
|
|
4583
4529
|
/**
|
|
@@ -4589,8 +4535,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4589
4535
|
*/
|
|
4590
4536
|
async contactsDelete(contactId, options) {
|
|
4591
4537
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4592
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4593
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4538
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4539
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.contactsDelete"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4594
4540
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4595
4541
|
},
|
|
4596
4542
|
/**
|
|
@@ -4602,8 +4548,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4602
4548
|
*/
|
|
4603
4549
|
async contactsGet(contactId, options) {
|
|
4604
4550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4605
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4606
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4551
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4552
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.contactsGet"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4607
4553
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4608
4554
|
},
|
|
4609
4555
|
/**
|
|
@@ -4620,8 +4566,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4620
4566
|
*/
|
|
4621
4567
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4622
4568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4623
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4624
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4569
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4570
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.contactsList"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4625
4571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4626
4572
|
},
|
|
4627
4573
|
/**
|
|
@@ -4635,8 +4581,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4635
4581
|
*/
|
|
4636
4582
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4637
4583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4638
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4639
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4584
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4585
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.contactsRemoveListing"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4640
4586
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4641
4587
|
},
|
|
4642
4588
|
/**
|
|
@@ -4649,8 +4595,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4649
4595
|
*/
|
|
4650
4596
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4651
4597
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4652
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4653
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4598
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4599
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.contactsUpdate"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4654
4600
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4655
4601
|
},
|
|
4656
4602
|
/**
|
|
@@ -4664,8 +4610,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4664
4610
|
*/
|
|
4665
4611
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4666
4612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4667
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4668
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4613
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4614
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.contactsUpdateListing"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4669
4615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4670
4616
|
},
|
|
4671
4617
|
/**
|
|
@@ -4677,8 +4623,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4677
4623
|
*/
|
|
4678
4624
|
async conversationsGet(conversationId, options) {
|
|
4679
4625
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4680
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4681
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4626
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4627
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.conversationsGet"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4682
4628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4683
4629
|
},
|
|
4684
4630
|
/**
|
|
@@ -4697,21 +4643,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4697
4643
|
*/
|
|
4698
4644
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
4699
4645
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
4700
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4701
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4702
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4703
|
-
},
|
|
4704
|
-
/**
|
|
4705
|
-
*
|
|
4706
|
-
* @summary Conversations List Suggestions
|
|
4707
|
-
* @param {string} conversationId
|
|
4708
|
-
* @param {*} [options] Override http request option.
|
|
4709
|
-
* @throws {RequiredError}
|
|
4710
|
-
*/
|
|
4711
|
-
async conversationsListSuggestions(conversationId, options) {
|
|
4712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
4713
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4714
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.conversationsListSuggestions"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4646
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4647
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.conversationsList"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4715
4648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4716
4649
|
},
|
|
4717
4650
|
/**
|
|
@@ -4724,8 +4657,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4724
4657
|
*/
|
|
4725
4658
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4726
4659
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4727
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4728
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4660
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4661
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.conversationsUpdate"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4729
4662
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4730
4663
|
},
|
|
4731
4664
|
/**
|
|
@@ -4738,8 +4671,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4738
4671
|
*/
|
|
4739
4672
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4740
4673
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4741
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4742
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4674
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4675
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.emailsCreate"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4743
4676
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4744
4677
|
},
|
|
4745
4678
|
/**
|
|
@@ -4751,8 +4684,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4751
4684
|
*/
|
|
4752
4685
|
async emailsDelete(emailId, options) {
|
|
4753
4686
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4754
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4755
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4687
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4688
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.emailsDelete"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4756
4689
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4757
4690
|
},
|
|
4758
4691
|
/**
|
|
@@ -4764,8 +4697,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4764
4697
|
*/
|
|
4765
4698
|
async emailsGet(emailId, options) {
|
|
4766
4699
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4767
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4768
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4700
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4701
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.emailsGet"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4769
4702
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4770
4703
|
},
|
|
4771
4704
|
/**
|
|
@@ -4778,8 +4711,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4778
4711
|
*/
|
|
4779
4712
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4780
4713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4781
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4782
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4714
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4715
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.emailsUpdate"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4783
4716
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4784
4717
|
},
|
|
4785
4718
|
/**
|
|
@@ -4790,8 +4723,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4790
4723
|
*/
|
|
4791
4724
|
async getMeMeGet(options) {
|
|
4792
4725
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
4793
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4794
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4726
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4727
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.getMeMeGet"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4795
4728
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4796
4729
|
},
|
|
4797
4730
|
/**
|
|
@@ -4802,8 +4735,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4802
4735
|
*/
|
|
4803
4736
|
async inboxesList(options) {
|
|
4804
4737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4805
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4806
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4738
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4739
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.inboxesList"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4807
4740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4808
4741
|
},
|
|
4809
4742
|
/**
|
|
@@ -4815,8 +4748,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4815
4748
|
*/
|
|
4816
4749
|
async inquiriesList(contactId, options) {
|
|
4817
4750
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4818
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4819
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4751
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4752
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.inquiriesList"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4820
4753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4821
4754
|
},
|
|
4822
4755
|
/**
|
|
@@ -4828,8 +4761,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4828
4761
|
*/
|
|
4829
4762
|
async listingsGet(listingId, options) {
|
|
4830
4763
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4831
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4832
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4764
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4765
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.listingsGet"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4833
4766
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4834
4767
|
},
|
|
4835
4768
|
/**
|
|
@@ -4847,8 +4780,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4847
4780
|
*/
|
|
4848
4781
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4849
4782
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4850
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4851
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4783
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4784
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.listingsList"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4852
4785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4853
4786
|
},
|
|
4854
4787
|
/**
|
|
@@ -4859,8 +4792,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4859
4792
|
*/
|
|
4860
4793
|
async managedPhoneNumbersList(options) {
|
|
4861
4794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4862
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4863
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4795
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4796
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4864
4797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4865
4798
|
},
|
|
4866
4799
|
/**
|
|
@@ -4873,8 +4806,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4873
4806
|
*/
|
|
4874
4807
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
4875
4808
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
4876
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4877
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4809
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4810
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.messagesCreate"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4878
4811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4879
4812
|
},
|
|
4880
4813
|
/**
|
|
@@ -4886,8 +4819,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4886
4819
|
*/
|
|
4887
4820
|
async messagesGet(messageId, options) {
|
|
4888
4821
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4889
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4890
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4822
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4823
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.messagesGet"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4891
4824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4892
4825
|
},
|
|
4893
4826
|
/**
|
|
@@ -4909,8 +4842,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4909
4842
|
*/
|
|
4910
4843
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4911
4844
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4912
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4913
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4845
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4846
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.messagesList"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4914
4847
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4915
4848
|
},
|
|
4916
4849
|
/**
|
|
@@ -4923,8 +4856,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4923
4856
|
*/
|
|
4924
4857
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4925
4858
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4926
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4927
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4859
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4860
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.phonesCreate"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4928
4861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4929
4862
|
},
|
|
4930
4863
|
/**
|
|
@@ -4936,8 +4869,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4936
4869
|
*/
|
|
4937
4870
|
async phonesDelete(phoneId, options) {
|
|
4938
4871
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4939
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4940
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4872
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4873
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.phonesDelete"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4941
4874
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4942
4875
|
},
|
|
4943
4876
|
/**
|
|
@@ -4949,8 +4882,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4949
4882
|
*/
|
|
4950
4883
|
async phonesGet(phoneId, options) {
|
|
4951
4884
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4952
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4953
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4885
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4886
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.phonesGet"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4954
4887
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4955
4888
|
},
|
|
4956
4889
|
/**
|
|
@@ -4963,8 +4896,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4963
4896
|
*/
|
|
4964
4897
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4965
4898
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4966
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4967
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4899
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4900
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.phonesUpdate"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4968
4901
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4969
4902
|
},
|
|
4970
4903
|
/**
|
|
@@ -4976,8 +4909,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4976
4909
|
*/
|
|
4977
4910
|
async providersCreate(aPIProviderCreate, options) {
|
|
4978
4911
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4979
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4980
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4912
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4913
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.providersCreate"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4981
4914
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4982
4915
|
},
|
|
4983
4916
|
/**
|
|
@@ -4989,8 +4922,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4989
4922
|
*/
|
|
4990
4923
|
async providersGet(providerId, options) {
|
|
4991
4924
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4992
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4993
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4925
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4926
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.providersGet"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4994
4927
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4995
4928
|
},
|
|
4996
4929
|
/**
|
|
@@ -5001,8 +4934,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5001
4934
|
*/
|
|
5002
4935
|
async providersList(options) {
|
|
5003
4936
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5004
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5005
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4937
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4938
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.providersList"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
5006
4939
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5007
4940
|
},
|
|
5008
4941
|
/**
|
|
@@ -5015,8 +4948,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5015
4948
|
*/
|
|
5016
4949
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
5017
4950
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
5018
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5019
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4951
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4952
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.providersUpdate"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
5020
4953
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5021
4954
|
},
|
|
5022
4955
|
/**
|
|
@@ -5028,8 +4961,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5028
4961
|
*/
|
|
5029
4962
|
async reservationsGet(reservationId, options) {
|
|
5030
4963
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5031
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5032
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4964
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
4965
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.reservationsGet"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
5033
4966
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5034
4967
|
},
|
|
5035
4968
|
/**
|
|
@@ -5047,21 +4980,34 @@ var UnboundApiFp = function(configuration) {
|
|
|
5047
4980
|
*/
|
|
5048
4981
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5049
4982
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5050
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5051
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4983
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
4984
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.reservationsList"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
4985
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4986
|
+
},
|
|
4987
|
+
/**
|
|
4988
|
+
* UserDevices Create
|
|
4989
|
+
* @summary UserDevices Create
|
|
4990
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
4991
|
+
* @param {*} [options] Override http request option.
|
|
4992
|
+
* @throws {RequiredError}
|
|
4993
|
+
*/
|
|
4994
|
+
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
4995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
4996
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
4997
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.userDevicesCreate"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5052
4998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5053
4999
|
},
|
|
5054
5000
|
/**
|
|
5055
5001
|
*
|
|
5056
5002
|
* @summary Unifiedwebhook
|
|
5057
|
-
* @param {
|
|
5003
|
+
* @param {object} body
|
|
5058
5004
|
* @param {*} [options] Override http request option.
|
|
5059
5005
|
* @throws {RequiredError}
|
|
5060
5006
|
*/
|
|
5061
|
-
async webhook(
|
|
5062
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(
|
|
5063
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5064
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5007
|
+
async webhook(body, options) {
|
|
5008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
5009
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5010
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.webhook"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5065
5011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5066
5012
|
}
|
|
5067
5013
|
};
|
|
@@ -5239,16 +5185,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5239
5185
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5240
5186
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
5241
5187
|
},
|
|
5242
|
-
/**
|
|
5243
|
-
*
|
|
5244
|
-
* @summary Conversations List Suggestions
|
|
5245
|
-
* @param {string} conversationId
|
|
5246
|
-
* @param {*} [options] Override http request option.
|
|
5247
|
-
* @throws {RequiredError}
|
|
5248
|
-
*/
|
|
5249
|
-
conversationsListSuggestions(conversationId, options) {
|
|
5250
|
-
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
5251
|
-
},
|
|
5252
5188
|
/**
|
|
5253
5189
|
* Conversations Update
|
|
5254
5190
|
* @summary Conversations Update
|
|
@@ -5514,15 +5450,25 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5514
5450
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5515
5451
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5516
5452
|
},
|
|
5453
|
+
/**
|
|
5454
|
+
* UserDevices Create
|
|
5455
|
+
* @summary UserDevices Create
|
|
5456
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
5457
|
+
* @param {*} [options] Override http request option.
|
|
5458
|
+
* @throws {RequiredError}
|
|
5459
|
+
*/
|
|
5460
|
+
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5461
|
+
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
5462
|
+
},
|
|
5517
5463
|
/**
|
|
5518
5464
|
*
|
|
5519
5465
|
* @summary Unifiedwebhook
|
|
5520
|
-
* @param {
|
|
5466
|
+
* @param {object} body
|
|
5521
5467
|
* @param {*} [options] Override http request option.
|
|
5522
5468
|
* @throws {RequiredError}
|
|
5523
5469
|
*/
|
|
5524
|
-
webhook(
|
|
5525
|
-
return localVarFp.webhook(
|
|
5470
|
+
webhook(body, options) {
|
|
5471
|
+
return localVarFp.webhook(body, options).then((request) => request(axios, basePath));
|
|
5526
5472
|
}
|
|
5527
5473
|
};
|
|
5528
5474
|
};
|
|
@@ -5712,17 +5658,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5712
5658
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5713
5659
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
5714
5660
|
}
|
|
5715
|
-
/**
|
|
5716
|
-
*
|
|
5717
|
-
* @summary Conversations List Suggestions
|
|
5718
|
-
* @param {string} conversationId
|
|
5719
|
-
* @param {*} [options] Override http request option.
|
|
5720
|
-
* @throws {RequiredError}
|
|
5721
|
-
* @memberof UnboundApi
|
|
5722
|
-
*/
|
|
5723
|
-
conversationsListSuggestions(conversationId, options) {
|
|
5724
|
-
return UnboundApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5725
|
-
}
|
|
5726
5661
|
/**
|
|
5727
5662
|
* Conversations Update
|
|
5728
5663
|
* @summary Conversations Update
|
|
@@ -6012,16 +5947,105 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6012
5947
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6013
5948
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
6014
5949
|
}
|
|
5950
|
+
/**
|
|
5951
|
+
* UserDevices Create
|
|
5952
|
+
* @summary UserDevices Create
|
|
5953
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
5954
|
+
* @param {*} [options] Override http request option.
|
|
5955
|
+
* @throws {RequiredError}
|
|
5956
|
+
* @memberof UnboundApi
|
|
5957
|
+
*/
|
|
5958
|
+
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5959
|
+
return UnboundApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5960
|
+
}
|
|
6015
5961
|
/**
|
|
6016
5962
|
*
|
|
6017
5963
|
* @summary Unifiedwebhook
|
|
6018
|
-
* @param {
|
|
5964
|
+
* @param {object} body
|
|
6019
5965
|
* @param {*} [options] Override http request option.
|
|
6020
5966
|
* @throws {RequiredError}
|
|
6021
5967
|
* @memberof UnboundApi
|
|
6022
5968
|
*/
|
|
6023
|
-
webhook(
|
|
6024
|
-
return UnboundApiFp(this.configuration).webhook(
|
|
5969
|
+
webhook(body, options) {
|
|
5970
|
+
return UnboundApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
|
|
5971
|
+
}
|
|
5972
|
+
};
|
|
5973
|
+
var UserDevicesApiAxiosParamCreator = function(configuration) {
|
|
5974
|
+
return {
|
|
5975
|
+
/**
|
|
5976
|
+
* UserDevices Create
|
|
5977
|
+
* @summary UserDevices Create
|
|
5978
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
5979
|
+
* @param {*} [options] Override http request option.
|
|
5980
|
+
* @throws {RequiredError}
|
|
5981
|
+
*/
|
|
5982
|
+
userDevicesCreate: async (aPIUserDeviceCreate, options = {}) => {
|
|
5983
|
+
assertParamExists("userDevicesCreate", "aPIUserDeviceCreate", aPIUserDeviceCreate);
|
|
5984
|
+
const localVarPath = `/userDevices`;
|
|
5985
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5986
|
+
let baseOptions;
|
|
5987
|
+
if (configuration) {
|
|
5988
|
+
baseOptions = configuration.baseOptions;
|
|
5989
|
+
}
|
|
5990
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5991
|
+
const localVarHeaderParameter = {};
|
|
5992
|
+
const localVarQueryParameter = {};
|
|
5993
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5994
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5995
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5996
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5997
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIUserDeviceCreate, localVarRequestOptions, configuration);
|
|
5998
|
+
return {
|
|
5999
|
+
url: toPathString(localVarUrlObj),
|
|
6000
|
+
options: localVarRequestOptions
|
|
6001
|
+
};
|
|
6002
|
+
}
|
|
6003
|
+
};
|
|
6004
|
+
};
|
|
6005
|
+
var UserDevicesApiFp = function(configuration) {
|
|
6006
|
+
const localVarAxiosParamCreator = UserDevicesApiAxiosParamCreator(configuration);
|
|
6007
|
+
return {
|
|
6008
|
+
/**
|
|
6009
|
+
* UserDevices Create
|
|
6010
|
+
* @summary UserDevices Create
|
|
6011
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
6012
|
+
* @param {*} [options] Override http request option.
|
|
6013
|
+
* @throws {RequiredError}
|
|
6014
|
+
*/
|
|
6015
|
+
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
6017
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
6018
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UserDevicesApi.userDevicesCreate"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
6019
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6020
|
+
}
|
|
6021
|
+
};
|
|
6022
|
+
};
|
|
6023
|
+
var UserDevicesApiFactory = function(configuration, basePath, axios) {
|
|
6024
|
+
const localVarFp = UserDevicesApiFp(configuration);
|
|
6025
|
+
return {
|
|
6026
|
+
/**
|
|
6027
|
+
* UserDevices Create
|
|
6028
|
+
* @summary UserDevices Create
|
|
6029
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
6030
|
+
* @param {*} [options] Override http request option.
|
|
6031
|
+
* @throws {RequiredError}
|
|
6032
|
+
*/
|
|
6033
|
+
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6034
|
+
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
6035
|
+
}
|
|
6036
|
+
};
|
|
6037
|
+
};
|
|
6038
|
+
var UserDevicesApi = class extends BaseAPI {
|
|
6039
|
+
/**
|
|
6040
|
+
* UserDevices Create
|
|
6041
|
+
* @summary UserDevices Create
|
|
6042
|
+
* @param {APIUserDeviceCreate} aPIUserDeviceCreate
|
|
6043
|
+
* @param {*} [options] Override http request option.
|
|
6044
|
+
* @throws {RequiredError}
|
|
6045
|
+
* @memberof UserDevicesApi
|
|
6046
|
+
*/
|
|
6047
|
+
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6048
|
+
return UserDevicesApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6025
6049
|
}
|
|
6026
6050
|
};
|
|
6027
6051
|
|
|
@@ -6200,5 +6224,10 @@ var Configuration = class {
|
|
|
6200
6224
|
|
|
6201
6225
|
|
|
6202
6226
|
|
|
6203
|
-
|
|
6227
|
+
|
|
6228
|
+
|
|
6229
|
+
|
|
6230
|
+
|
|
6231
|
+
|
|
6232
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AuthApi = AuthApi; exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator; exports.AuthApiFactory = AuthApiFactory; exports.AuthApiFp = AuthApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.ReasonType = ReasonType; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.RentalProviderTypes = RentalProviderTypes; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestionStatus = SuggestionStatus; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp; exports.UserDeviceOs = UserDeviceOs; exports.UserDeviceType = UserDeviceType; exports.UserDevicesApi = UserDevicesApi; exports.UserDevicesApiAxiosParamCreator = UserDevicesApiAxiosParamCreator; exports.UserDevicesApiFactory = UserDevicesApiFactory; exports.UserDevicesApiFp = UserDevicesApiFp;
|
|
6204
6233
|
//# sourceMappingURL=index.js.map
|