@ember-home/unbound-ts-client 0.0.13 → 0.0.15
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 +174 -186
- package/dist/index.d.ts +174 -186
- package/dist/index.js +180 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +144 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1300,6 +1300,84 @@ var HostawayApi = class extends BaseAPI {
|
|
|
1300
1300
|
return HostawayApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
1301
1301
|
}
|
|
1302
1302
|
};
|
|
1303
|
+
var ListingsApiAxiosParamCreator = function(configuration) {
|
|
1304
|
+
return {
|
|
1305
|
+
/**
|
|
1306
|
+
* List all listings
|
|
1307
|
+
* @summary Listings List
|
|
1308
|
+
* @param {string} [contactId]
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
listingsList: async (contactId, options = {}) => {
|
|
1313
|
+
const localVarPath = `/listings`;
|
|
1314
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1315
|
+
let baseOptions;
|
|
1316
|
+
if (configuration) {
|
|
1317
|
+
baseOptions = configuration.baseOptions;
|
|
1318
|
+
}
|
|
1319
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1320
|
+
const localVarHeaderParameter = {};
|
|
1321
|
+
const localVarQueryParameter = {};
|
|
1322
|
+
if (contactId !== void 0) {
|
|
1323
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
1324
|
+
}
|
|
1325
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1326
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1327
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1328
|
+
return {
|
|
1329
|
+
url: toPathString(localVarUrlObj),
|
|
1330
|
+
options: localVarRequestOptions
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
var ListingsApiFp = function(configuration) {
|
|
1336
|
+
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
1337
|
+
return {
|
|
1338
|
+
/**
|
|
1339
|
+
* List all listings
|
|
1340
|
+
* @summary Listings List
|
|
1341
|
+
* @param {string} [contactId]
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
*/
|
|
1345
|
+
async listingsList(contactId, options) {
|
|
1346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
|
|
1347
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1348
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ListingsApi.listingsList"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
1354
|
+
const localVarFp = ListingsApiFp(configuration);
|
|
1355
|
+
return {
|
|
1356
|
+
/**
|
|
1357
|
+
* List all listings
|
|
1358
|
+
* @summary Listings List
|
|
1359
|
+
* @param {string} [contactId]
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
listingsList(contactId, options) {
|
|
1364
|
+
return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
|
|
1365
|
+
}
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
var ListingsApi = class extends BaseAPI {
|
|
1369
|
+
/**
|
|
1370
|
+
* List all listings
|
|
1371
|
+
* @summary Listings List
|
|
1372
|
+
* @param {string} [contactId]
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
* @memberof ListingsApi
|
|
1376
|
+
*/
|
|
1377
|
+
listingsList(contactId, options) {
|
|
1378
|
+
return ListingsApiFp(this.configuration).listingsList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
1379
|
+
}
|
|
1380
|
+
};
|
|
1303
1381
|
var PhonesApiAxiosParamCreator = function(configuration) {
|
|
1304
1382
|
return {
|
|
1305
1383
|
/**
|
|
@@ -1373,8 +1451,8 @@ var PhonesApiFp = function(configuration) {
|
|
|
1373
1451
|
*/
|
|
1374
1452
|
async phonesCreate(contactId, phoneCreate, options) {
|
|
1375
1453
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
1376
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1377
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1454
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1455
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["PhonesApi.phonesCreate"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1378
1456
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1379
1457
|
},
|
|
1380
1458
|
/**
|
|
@@ -1386,8 +1464,8 @@ var PhonesApiFp = function(configuration) {
|
|
|
1386
1464
|
*/
|
|
1387
1465
|
async phonesDelete(phoneId, options) {
|
|
1388
1466
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1389
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1390
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1467
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1468
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["PhonesApi.phonesDelete"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1391
1469
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1392
1470
|
}
|
|
1393
1471
|
};
|
|
@@ -1487,8 +1565,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
1487
1565
|
*/
|
|
1488
1566
|
async reservationsList(contactId, options) {
|
|
1489
1567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(contactId, options);
|
|
1490
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1491
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1568
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1569
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ReservationsApi.reservationsList"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1492
1570
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1493
1571
|
}
|
|
1494
1572
|
};
|
|
@@ -1807,6 +1885,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1807
1885
|
options: localVarRequestOptions
|
|
1808
1886
|
};
|
|
1809
1887
|
},
|
|
1888
|
+
/**
|
|
1889
|
+
* List all listings
|
|
1890
|
+
* @summary Listings List
|
|
1891
|
+
* @param {string} [contactId]
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
*/
|
|
1895
|
+
listingsList: async (contactId, options = {}) => {
|
|
1896
|
+
const localVarPath = `/listings`;
|
|
1897
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1898
|
+
let baseOptions;
|
|
1899
|
+
if (configuration) {
|
|
1900
|
+
baseOptions = configuration.baseOptions;
|
|
1901
|
+
}
|
|
1902
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1903
|
+
const localVarHeaderParameter = {};
|
|
1904
|
+
const localVarQueryParameter = {};
|
|
1905
|
+
if (contactId !== void 0) {
|
|
1906
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
1907
|
+
}
|
|
1908
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1909
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1910
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1911
|
+
return {
|
|
1912
|
+
url: toPathString(localVarUrlObj),
|
|
1913
|
+
options: localVarRequestOptions
|
|
1914
|
+
};
|
|
1915
|
+
},
|
|
1810
1916
|
/**
|
|
1811
1917
|
*
|
|
1812
1918
|
* @summary Phones Create
|
|
@@ -1935,8 +2041,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
1935
2041
|
*/
|
|
1936
2042
|
async addressesCreate(contactId, addressCreate, options) {
|
|
1937
2043
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
1938
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1939
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2044
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
2045
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["UnboundApi.addressesCreate"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1940
2046
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1941
2047
|
},
|
|
1942
2048
|
/**
|
|
@@ -1948,8 +2054,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
1948
2054
|
*/
|
|
1949
2055
|
async addressesDelete(addressId, options) {
|
|
1950
2056
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
1951
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1952
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2057
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
2058
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["UnboundApi.addressesDelete"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1953
2059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1954
2060
|
},
|
|
1955
2061
|
/**
|
|
@@ -1962,8 +2068,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
1962
2068
|
*/
|
|
1963
2069
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
1964
2070
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
1965
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1966
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2071
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
2072
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["UnboundApi.addressesUpdate"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1967
2073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1968
2074
|
},
|
|
1969
2075
|
/**
|
|
@@ -1975,8 +2081,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
1975
2081
|
*/
|
|
1976
2082
|
async contactsCreate(contactCreate, options) {
|
|
1977
2083
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
1978
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1979
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2084
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
2085
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["UnboundApi.contactsCreate"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1980
2086
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1981
2087
|
},
|
|
1982
2088
|
/**
|
|
@@ -1988,8 +2094,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
1988
2094
|
*/
|
|
1989
2095
|
async contactsDelete(contactId, options) {
|
|
1990
2096
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
1991
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1992
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2097
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2098
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["UnboundApi.contactsDelete"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
1993
2099
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1994
2100
|
},
|
|
1995
2101
|
/**
|
|
@@ -2001,8 +2107,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2001
2107
|
*/
|
|
2002
2108
|
async contactsGet(contactId, options) {
|
|
2003
2109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
2004
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2005
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2110
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2111
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["UnboundApi.contactsGet"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2006
2112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2007
2113
|
},
|
|
2008
2114
|
/**
|
|
@@ -2015,8 +2121,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2015
2121
|
*/
|
|
2016
2122
|
async contactsList(contactTypes, searchString, options) {
|
|
2017
2123
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
|
|
2018
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2019
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2124
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2125
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["UnboundApi.contactsList"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2020
2126
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2021
2127
|
},
|
|
2022
2128
|
/**
|
|
@@ -2029,8 +2135,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2029
2135
|
*/
|
|
2030
2136
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
2031
2137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
2032
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2033
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2138
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2139
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["UnboundApi.contactsUpdate"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2034
2140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2035
2141
|
},
|
|
2036
2142
|
/**
|
|
@@ -2043,8 +2149,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2043
2149
|
*/
|
|
2044
2150
|
async emailsCreate(contactId, emailCreate, options) {
|
|
2045
2151
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2046
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2047
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2152
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2153
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["UnboundApi.emailsCreate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2048
2154
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2049
2155
|
},
|
|
2050
2156
|
/**
|
|
@@ -2056,8 +2162,21 @@ var UnboundApiFp = function(configuration) {
|
|
|
2056
2162
|
*/
|
|
2057
2163
|
async emailsDelete(emailId, options) {
|
|
2058
2164
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2059
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2060
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2165
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2166
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["UnboundApi.emailsDelete"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2167
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2168
|
+
},
|
|
2169
|
+
/**
|
|
2170
|
+
* List all listings
|
|
2171
|
+
* @summary Listings List
|
|
2172
|
+
* @param {string} [contactId]
|
|
2173
|
+
* @param {*} [options] Override http request option.
|
|
2174
|
+
* @throws {RequiredError}
|
|
2175
|
+
*/
|
|
2176
|
+
async listingsList(contactId, options) {
|
|
2177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
|
|
2178
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2179
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["UnboundApi.listingsList"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2061
2180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2062
2181
|
},
|
|
2063
2182
|
/**
|
|
@@ -2070,8 +2189,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2070
2189
|
*/
|
|
2071
2190
|
async phonesCreate(contactId, phoneCreate, options) {
|
|
2072
2191
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
2073
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2074
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2192
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2193
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["UnboundApi.phonesCreate"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2075
2194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2076
2195
|
},
|
|
2077
2196
|
/**
|
|
@@ -2083,8 +2202,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2083
2202
|
*/
|
|
2084
2203
|
async phonesDelete(phoneId, options) {
|
|
2085
2204
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
2086
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2087
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2205
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2206
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["UnboundApi.phonesDelete"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2088
2207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2089
2208
|
},
|
|
2090
2209
|
/**
|
|
@@ -2096,8 +2215,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2096
2215
|
*/
|
|
2097
2216
|
async reservationsList(contactId, options) {
|
|
2098
2217
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(contactId, options);
|
|
2099
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2100
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2218
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2219
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["UnboundApi.reservationsList"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2101
2220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2102
2221
|
},
|
|
2103
2222
|
/**
|
|
@@ -2109,8 +2228,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2109
2228
|
*/
|
|
2110
2229
|
async webhook(hostawayWebhook, options) {
|
|
2111
2230
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2112
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2113
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2231
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2232
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["UnboundApi.webhook"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2114
2233
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2115
2234
|
}
|
|
2116
2235
|
};
|
|
@@ -2223,6 +2342,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2223
2342
|
emailsDelete(emailId, options) {
|
|
2224
2343
|
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
2225
2344
|
},
|
|
2345
|
+
/**
|
|
2346
|
+
* List all listings
|
|
2347
|
+
* @summary Listings List
|
|
2348
|
+
* @param {string} [contactId]
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
*/
|
|
2352
|
+
listingsList(contactId, options) {
|
|
2353
|
+
return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
|
|
2354
|
+
},
|
|
2226
2355
|
/**
|
|
2227
2356
|
*
|
|
2228
2357
|
* @summary Phones Create
|
|
@@ -2382,6 +2511,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2382
2511
|
emailsDelete(emailId, options) {
|
|
2383
2512
|
return UnboundApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
2384
2513
|
}
|
|
2514
|
+
/**
|
|
2515
|
+
* List all listings
|
|
2516
|
+
* @summary Listings List
|
|
2517
|
+
* @param {string} [contactId]
|
|
2518
|
+
* @param {*} [options] Override http request option.
|
|
2519
|
+
* @throws {RequiredError}
|
|
2520
|
+
* @memberof UnboundApi
|
|
2521
|
+
*/
|
|
2522
|
+
listingsList(contactId, options) {
|
|
2523
|
+
return UnboundApiFp(this.configuration).listingsList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
2524
|
+
}
|
|
2385
2525
|
/**
|
|
2386
2526
|
*
|
|
2387
2527
|
* @summary Phones Create
|
|
@@ -2497,7 +2637,7 @@ var Configuration = class {
|
|
|
2497
2637
|
this.baseOptions = {
|
|
2498
2638
|
...param.baseOptions,
|
|
2499
2639
|
headers: {
|
|
2500
|
-
..._optionalChain([param, 'access',
|
|
2640
|
+
..._optionalChain([param, 'access', _150 => _150.baseOptions, 'optionalAccess', _151 => _151.headers])
|
|
2501
2641
|
}
|
|
2502
2642
|
};
|
|
2503
2643
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -2549,5 +2689,9 @@ var Configuration = class {
|
|
|
2549
2689
|
|
|
2550
2690
|
|
|
2551
2691
|
|
|
2552
|
-
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactTypeFilter = ContactTypeFilter; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.DataSource = DataSource; exports.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.PhonesApi = PhonesApi; exports.PhonesApiAxiosParamCreator = PhonesApiAxiosParamCreator; exports.PhonesApiFactory = PhonesApiFactory; exports.PhonesApiFp = PhonesApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
2553
2697
|
//# sourceMappingURL=index.js.map
|