@ember-home/unbound-ts-client 0.0.92 → 0.0.94
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 +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +20 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -246,7 +246,8 @@ var SuggestionStatus = {
|
|
|
246
246
|
var UserDeviceOs = {
|
|
247
247
|
Android: "ANDROID",
|
|
248
248
|
Ios: "IOS",
|
|
249
|
-
Macos: "MACOS"
|
|
249
|
+
Macos: "MACOS",
|
|
250
|
+
Web: "WEB"
|
|
250
251
|
};
|
|
251
252
|
var AccountsApiAxiosParamCreator = function(configuration) {
|
|
252
253
|
return {
|
|
@@ -327,7 +328,7 @@ var AuthApiAxiosParamCreator = function(configuration) {
|
|
|
327
328
|
* @param {*} [options] Override http request option.
|
|
328
329
|
* @throws {RequiredError}
|
|
329
330
|
*/
|
|
330
|
-
|
|
331
|
+
getMe: async (options = {}) => {
|
|
331
332
|
const localVarPath = `/v1/me`;
|
|
332
333
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
333
334
|
let baseOptions;
|
|
@@ -356,10 +357,10 @@ var AuthApiFp = function(configuration) {
|
|
|
356
357
|
* @param {*} [options] Override http request option.
|
|
357
358
|
* @throws {RequiredError}
|
|
358
359
|
*/
|
|
359
|
-
async
|
|
360
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
360
|
+
async getMe(options) {
|
|
361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
361
362
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
362
|
-
const localVarOperationServerBasePath = operationServerMap["AuthApi.
|
|
363
|
+
const localVarOperationServerBasePath = operationServerMap["AuthApi.getMe"]?.[localVarOperationServerIndex]?.url;
|
|
363
364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
365
|
}
|
|
365
366
|
};
|
|
@@ -373,8 +374,8 @@ var AuthApiFactory = function(configuration, basePath, axios) {
|
|
|
373
374
|
* @param {*} [options] Override http request option.
|
|
374
375
|
* @throws {RequiredError}
|
|
375
376
|
*/
|
|
376
|
-
|
|
377
|
-
return localVarFp.
|
|
377
|
+
getMe(options) {
|
|
378
|
+
return localVarFp.getMe(options).then((request) => request(axios, basePath));
|
|
378
379
|
}
|
|
379
380
|
};
|
|
380
381
|
};
|
|
@@ -386,8 +387,8 @@ var AuthApi = class extends BaseAPI {
|
|
|
386
387
|
* @throws {RequiredError}
|
|
387
388
|
* @memberof AuthApi
|
|
388
389
|
*/
|
|
389
|
-
|
|
390
|
-
return AuthApiFp(this.configuration).
|
|
390
|
+
getMe(options) {
|
|
391
|
+
return AuthApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
|
|
391
392
|
}
|
|
392
393
|
};
|
|
393
394
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
@@ -2254,7 +2255,7 @@ var HostawayApiAxiosParamCreator = function(configuration) {
|
|
|
2254
2255
|
*/
|
|
2255
2256
|
webhook: async (body, options = {}) => {
|
|
2256
2257
|
assertParamExists("webhook", "body", body);
|
|
2257
|
-
const localVarPath = `/
|
|
2258
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2258
2259
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2259
2260
|
let baseOptions;
|
|
2260
2261
|
if (configuration) {
|
|
@@ -3784,7 +3785,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3784
3785
|
* @param {*} [options] Override http request option.
|
|
3785
3786
|
* @throws {RequiredError}
|
|
3786
3787
|
*/
|
|
3787
|
-
|
|
3788
|
+
getMe: async (options = {}) => {
|
|
3788
3789
|
const localVarPath = `/v1/me`;
|
|
3789
3790
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3790
3791
|
let baseOptions;
|
|
@@ -4441,7 +4442,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4441
4442
|
*/
|
|
4442
4443
|
webhook: async (body, options = {}) => {
|
|
4443
4444
|
assertParamExists("webhook", "body", body);
|
|
4444
|
-
const localVarPath = `/
|
|
4445
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
4445
4446
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4446
4447
|
let baseOptions;
|
|
4447
4448
|
if (configuration) {
|
|
@@ -4755,10 +4756,10 @@ var UnboundApiFp = function(configuration) {
|
|
|
4755
4756
|
* @param {*} [options] Override http request option.
|
|
4756
4757
|
* @throws {RequiredError}
|
|
4757
4758
|
*/
|
|
4758
|
-
async
|
|
4759
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4759
|
+
async getMe(options) {
|
|
4760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
4760
4761
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4761
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
4762
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.getMe"]?.[localVarOperationServerIndex]?.url;
|
|
4762
4763
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4763
4764
|
},
|
|
4764
4765
|
/**
|
|
@@ -5291,8 +5292,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5291
5292
|
* @param {*} [options] Override http request option.
|
|
5292
5293
|
* @throws {RequiredError}
|
|
5293
5294
|
*/
|
|
5294
|
-
|
|
5295
|
-
return localVarFp.
|
|
5295
|
+
getMe(options) {
|
|
5296
|
+
return localVarFp.getMe(options).then((request) => request(axios, basePath));
|
|
5296
5297
|
},
|
|
5297
5298
|
/**
|
|
5298
5299
|
* Inboxes List
|
|
@@ -5780,8 +5781,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5780
5781
|
* @throws {RequiredError}
|
|
5781
5782
|
* @memberof UnboundApi
|
|
5782
5783
|
*/
|
|
5783
|
-
|
|
5784
|
-
return UnboundApiFp(this.configuration).
|
|
5784
|
+
getMe(options) {
|
|
5785
|
+
return UnboundApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
|
|
5785
5786
|
}
|
|
5786
5787
|
/**
|
|
5787
5788
|
* Inboxes List
|