@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.d.mts
CHANGED
|
@@ -3526,6 +3526,7 @@ declare const UserDeviceOs: {
|
|
|
3526
3526
|
readonly Android: "ANDROID";
|
|
3527
3527
|
readonly Ios: "IOS";
|
|
3528
3528
|
readonly Macos: "MACOS";
|
|
3529
|
+
readonly Web: "WEB";
|
|
3529
3530
|
};
|
|
3530
3531
|
type UserDeviceOs = typeof UserDeviceOs[keyof typeof UserDeviceOs];
|
|
3531
3532
|
/**
|
|
@@ -3594,7 +3595,7 @@ declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
3594
3595
|
* @param {*} [options] Override http request option.
|
|
3595
3596
|
* @throws {RequiredError}
|
|
3596
3597
|
*/
|
|
3597
|
-
|
|
3598
|
+
getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3598
3599
|
};
|
|
3599
3600
|
/**
|
|
3600
3601
|
* AuthApi - functional programming interface
|
|
@@ -3607,7 +3608,7 @@ declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
3607
3608
|
* @param {*} [options] Override http request option.
|
|
3608
3609
|
* @throws {RequiredError}
|
|
3609
3610
|
*/
|
|
3610
|
-
|
|
3611
|
+
getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserApi>>;
|
|
3611
3612
|
};
|
|
3612
3613
|
/**
|
|
3613
3614
|
* AuthApi - factory interface
|
|
@@ -3620,7 +3621,7 @@ declare const AuthApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
3620
3621
|
* @param {*} [options] Override http request option.
|
|
3621
3622
|
* @throws {RequiredError}
|
|
3622
3623
|
*/
|
|
3623
|
-
|
|
3624
|
+
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserApi>;
|
|
3624
3625
|
};
|
|
3625
3626
|
/**
|
|
3626
3627
|
* AuthApi - object-oriented interface
|
|
@@ -3636,7 +3637,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
3636
3637
|
* @throws {RequiredError}
|
|
3637
3638
|
* @memberof AuthApi
|
|
3638
3639
|
*/
|
|
3639
|
-
|
|
3640
|
+
getMe(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<UserApi, any>>;
|
|
3640
3641
|
}
|
|
3641
3642
|
/**
|
|
3642
3643
|
* ContactsApi - axios parameter creator
|
|
@@ -5508,7 +5509,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5508
5509
|
* @param {*} [options] Override http request option.
|
|
5509
5510
|
* @throws {RequiredError}
|
|
5510
5511
|
*/
|
|
5511
|
-
|
|
5512
|
+
getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5512
5513
|
/**
|
|
5513
5514
|
* Inboxes List
|
|
5514
5515
|
* @summary Inboxes List
|
|
@@ -5895,7 +5896,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5895
5896
|
* @param {*} [options] Override http request option.
|
|
5896
5897
|
* @throws {RequiredError}
|
|
5897
5898
|
*/
|
|
5898
|
-
|
|
5899
|
+
getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserApi>>;
|
|
5899
5900
|
/**
|
|
5900
5901
|
* Inboxes List
|
|
5901
5902
|
* @summary Inboxes List
|
|
@@ -6282,7 +6283,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6282
6283
|
* @param {*} [options] Override http request option.
|
|
6283
6284
|
* @throws {RequiredError}
|
|
6284
6285
|
*/
|
|
6285
|
-
|
|
6286
|
+
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserApi>;
|
|
6286
6287
|
/**
|
|
6287
6288
|
* Inboxes List
|
|
6288
6289
|
* @summary Inboxes List
|
|
@@ -6692,7 +6693,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6692
6693
|
* @throws {RequiredError}
|
|
6693
6694
|
* @memberof UnboundApi
|
|
6694
6695
|
*/
|
|
6695
|
-
|
|
6696
|
+
getMe(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<UserApi, any>>;
|
|
6696
6697
|
/**
|
|
6697
6698
|
* Inboxes List
|
|
6698
6699
|
* @summary Inboxes List
|
package/dist/index.d.ts
CHANGED
|
@@ -3526,6 +3526,7 @@ declare const UserDeviceOs: {
|
|
|
3526
3526
|
readonly Android: "ANDROID";
|
|
3527
3527
|
readonly Ios: "IOS";
|
|
3528
3528
|
readonly Macos: "MACOS";
|
|
3529
|
+
readonly Web: "WEB";
|
|
3529
3530
|
};
|
|
3530
3531
|
type UserDeviceOs = typeof UserDeviceOs[keyof typeof UserDeviceOs];
|
|
3531
3532
|
/**
|
|
@@ -3594,7 +3595,7 @@ declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
3594
3595
|
* @param {*} [options] Override http request option.
|
|
3595
3596
|
* @throws {RequiredError}
|
|
3596
3597
|
*/
|
|
3597
|
-
|
|
3598
|
+
getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3598
3599
|
};
|
|
3599
3600
|
/**
|
|
3600
3601
|
* AuthApi - functional programming interface
|
|
@@ -3607,7 +3608,7 @@ declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
3607
3608
|
* @param {*} [options] Override http request option.
|
|
3608
3609
|
* @throws {RequiredError}
|
|
3609
3610
|
*/
|
|
3610
|
-
|
|
3611
|
+
getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserApi>>;
|
|
3611
3612
|
};
|
|
3612
3613
|
/**
|
|
3613
3614
|
* AuthApi - factory interface
|
|
@@ -3620,7 +3621,7 @@ declare const AuthApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
3620
3621
|
* @param {*} [options] Override http request option.
|
|
3621
3622
|
* @throws {RequiredError}
|
|
3622
3623
|
*/
|
|
3623
|
-
|
|
3624
|
+
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserApi>;
|
|
3624
3625
|
};
|
|
3625
3626
|
/**
|
|
3626
3627
|
* AuthApi - object-oriented interface
|
|
@@ -3636,7 +3637,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
3636
3637
|
* @throws {RequiredError}
|
|
3637
3638
|
* @memberof AuthApi
|
|
3638
3639
|
*/
|
|
3639
|
-
|
|
3640
|
+
getMe(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<UserApi, any>>;
|
|
3640
3641
|
}
|
|
3641
3642
|
/**
|
|
3642
3643
|
* ContactsApi - axios parameter creator
|
|
@@ -5508,7 +5509,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5508
5509
|
* @param {*} [options] Override http request option.
|
|
5509
5510
|
* @throws {RequiredError}
|
|
5510
5511
|
*/
|
|
5511
|
-
|
|
5512
|
+
getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5512
5513
|
/**
|
|
5513
5514
|
* Inboxes List
|
|
5514
5515
|
* @summary Inboxes List
|
|
@@ -5895,7 +5896,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5895
5896
|
* @param {*} [options] Override http request option.
|
|
5896
5897
|
* @throws {RequiredError}
|
|
5897
5898
|
*/
|
|
5898
|
-
|
|
5899
|
+
getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserApi>>;
|
|
5899
5900
|
/**
|
|
5900
5901
|
* Inboxes List
|
|
5901
5902
|
* @summary Inboxes List
|
|
@@ -6282,7 +6283,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6282
6283
|
* @param {*} [options] Override http request option.
|
|
6283
6284
|
* @throws {RequiredError}
|
|
6284
6285
|
*/
|
|
6285
|
-
|
|
6286
|
+
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserApi>;
|
|
6286
6287
|
/**
|
|
6287
6288
|
* Inboxes List
|
|
6288
6289
|
* @summary Inboxes List
|
|
@@ -6692,7 +6693,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6692
6693
|
* @throws {RequiredError}
|
|
6693
6694
|
* @memberof UnboundApi
|
|
6694
6695
|
*/
|
|
6695
|
-
|
|
6696
|
+
getMe(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<UserApi, any>>;
|
|
6696
6697
|
/**
|
|
6697
6698
|
* Inboxes List
|
|
6698
6699
|
* @summary Inboxes List
|
package/dist/index.js
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
362
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AuthApi.
|
|
363
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AuthApi.getMe"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
363
364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, 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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4761
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.
|
|
4762
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.getMe"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4762
4763
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, 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
|