@ember-home/unbound-ts-client 0.0.8 → 0.0.9
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 +74 -41
- package/dist/index.d.ts +74 -41
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1261,13 +1261,13 @@ var HostawayApiAxiosParamCreator = function(configuration) {
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
*
|
|
1263
1263
|
* @summary Unifiedwebhook
|
|
1264
|
-
* @param {
|
|
1264
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1265
1265
|
* @param {*} [options] Override http request option.
|
|
1266
1266
|
* @throws {RequiredError}
|
|
1267
1267
|
*/
|
|
1268
|
-
webhook: async (
|
|
1269
|
-
assertParamExists("webhook", "
|
|
1270
|
-
const localVarPath = `/
|
|
1268
|
+
webhook: async (hostawayWebhook, options = {}) => {
|
|
1269
|
+
assertParamExists("webhook", "hostawayWebhook", hostawayWebhook);
|
|
1270
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
1271
1271
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1272
1272
|
let baseOptions;
|
|
1273
1273
|
if (configuration) {
|
|
@@ -1281,7 +1281,7 @@ var HostawayApiAxiosParamCreator = function(configuration) {
|
|
|
1281
1281
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1282
1282
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1283
1283
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1284
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1284
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostawayWebhook, localVarRequestOptions, configuration);
|
|
1285
1285
|
return {
|
|
1286
1286
|
url: toPathString(localVarUrlObj),
|
|
1287
1287
|
options: localVarRequestOptions
|
|
@@ -1295,12 +1295,12 @@ var HostawayApiFp = function(configuration) {
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
*
|
|
1297
1297
|
* @summary Unifiedwebhook
|
|
1298
|
-
* @param {
|
|
1298
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1299
1299
|
* @param {*} [options] Override http request option.
|
|
1300
1300
|
* @throws {RequiredError}
|
|
1301
1301
|
*/
|
|
1302
|
-
async webhook(
|
|
1303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(
|
|
1302
|
+
async webhook(hostawayWebhook, options) {
|
|
1303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
1304
1304
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1305
1305
|
const localVarOperationServerBasePath = operationServerMap["HostawayApi.webhook"]?.[localVarOperationServerIndex]?.url;
|
|
1306
1306
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1313,12 +1313,12 @@ var HostawayApiFactory = function(configuration, basePath, axios) {
|
|
|
1313
1313
|
/**
|
|
1314
1314
|
*
|
|
1315
1315
|
* @summary Unifiedwebhook
|
|
1316
|
-
* @param {
|
|
1316
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1317
1317
|
* @param {*} [options] Override http request option.
|
|
1318
1318
|
* @throws {RequiredError}
|
|
1319
1319
|
*/
|
|
1320
|
-
webhook(
|
|
1321
|
-
return localVarFp.webhook(
|
|
1320
|
+
webhook(hostawayWebhook, options) {
|
|
1321
|
+
return localVarFp.webhook(hostawayWebhook, options).then((request) => request(axios, basePath));
|
|
1322
1322
|
}
|
|
1323
1323
|
};
|
|
1324
1324
|
};
|
|
@@ -1326,13 +1326,13 @@ var HostawayApi = class extends BaseAPI {
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
*
|
|
1328
1328
|
* @summary Unifiedwebhook
|
|
1329
|
-
* @param {
|
|
1329
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1330
1330
|
* @param {*} [options] Override http request option.
|
|
1331
1331
|
* @throws {RequiredError}
|
|
1332
1332
|
* @memberof HostawayApi
|
|
1333
1333
|
*/
|
|
1334
|
-
webhook(
|
|
1335
|
-
return HostawayApiFp(this.configuration).webhook(
|
|
1334
|
+
webhook(hostawayWebhook, options) {
|
|
1335
|
+
return HostawayApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
1336
1336
|
}
|
|
1337
1337
|
};
|
|
1338
1338
|
var PhonesApiAxiosParamCreator = function(configuration) {
|
|
@@ -1934,13 +1934,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1934
1934
|
/**
|
|
1935
1935
|
*
|
|
1936
1936
|
* @summary Unifiedwebhook
|
|
1937
|
-
* @param {
|
|
1937
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1938
1938
|
* @param {*} [options] Override http request option.
|
|
1939
1939
|
* @throws {RequiredError}
|
|
1940
1940
|
*/
|
|
1941
|
-
webhook: async (
|
|
1942
|
-
assertParamExists("webhook", "
|
|
1943
|
-
const localVarPath = `/
|
|
1941
|
+
webhook: async (hostawayWebhook, options = {}) => {
|
|
1942
|
+
assertParamExists("webhook", "hostawayWebhook", hostawayWebhook);
|
|
1943
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
1944
1944
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1945
1945
|
let baseOptions;
|
|
1946
1946
|
if (configuration) {
|
|
@@ -1954,7 +1954,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1954
1954
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1955
1955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1956
1956
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1957
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1957
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostawayWebhook, localVarRequestOptions, configuration);
|
|
1958
1958
|
return {
|
|
1959
1959
|
url: toPathString(localVarUrlObj),
|
|
1960
1960
|
options: localVarRequestOptions
|
|
@@ -2144,12 +2144,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
2144
2144
|
/**
|
|
2145
2145
|
*
|
|
2146
2146
|
* @summary Unifiedwebhook
|
|
2147
|
-
* @param {
|
|
2147
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2148
2148
|
* @param {*} [options] Override http request option.
|
|
2149
2149
|
* @throws {RequiredError}
|
|
2150
2150
|
*/
|
|
2151
|
-
async webhook(
|
|
2152
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(
|
|
2151
|
+
async webhook(hostawayWebhook, options) {
|
|
2152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2153
2153
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2154
2154
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.webhook"]?.[localVarOperationServerIndex]?.url;
|
|
2155
2155
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2299,12 +2299,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2299
2299
|
/**
|
|
2300
2300
|
*
|
|
2301
2301
|
* @summary Unifiedwebhook
|
|
2302
|
-
* @param {
|
|
2302
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2303
2303
|
* @param {*} [options] Override http request option.
|
|
2304
2304
|
* @throws {RequiredError}
|
|
2305
2305
|
*/
|
|
2306
|
-
webhook(
|
|
2307
|
-
return localVarFp.webhook(
|
|
2306
|
+
webhook(hostawayWebhook, options) {
|
|
2307
|
+
return localVarFp.webhook(hostawayWebhook, options).then((request) => request(axios, basePath));
|
|
2308
2308
|
}
|
|
2309
2309
|
};
|
|
2310
2310
|
};
|
|
@@ -2462,13 +2462,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2462
2462
|
/**
|
|
2463
2463
|
*
|
|
2464
2464
|
* @summary Unifiedwebhook
|
|
2465
|
-
* @param {
|
|
2465
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2466
2466
|
* @param {*} [options] Override http request option.
|
|
2467
2467
|
* @throws {RequiredError}
|
|
2468
2468
|
* @memberof UnboundApi
|
|
2469
2469
|
*/
|
|
2470
|
-
webhook(
|
|
2471
|
-
return UnboundApiFp(this.configuration).webhook(
|
|
2470
|
+
webhook(hostawayWebhook, options) {
|
|
2471
|
+
return UnboundApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
2472
2472
|
}
|
|
2473
2473
|
};
|
|
2474
2474
|
|