@ember-home/unbound-ts-client 0.0.12 → 0.0.13
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 +38 -37
- package/dist/index.d.ts +38 -37
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75,10 +75,11 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
Guest: "
|
|
80
|
-
Owner: "
|
|
81
|
-
Lead: "
|
|
78
|
+
var ContactTypeFilter = {
|
|
79
|
+
Guest: "guest",
|
|
80
|
+
Owner: "owner",
|
|
81
|
+
Lead: "lead",
|
|
82
|
+
Basic: "basic"
|
|
82
83
|
};
|
|
83
84
|
var DataSource = {
|
|
84
85
|
Hostaway: "HOSTAWAY",
|
|
@@ -466,7 +467,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
466
467
|
/**
|
|
467
468
|
*
|
|
468
469
|
* @summary Contacts List
|
|
469
|
-
* @param {Array<
|
|
470
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
470
471
|
* @param {string} [searchString]
|
|
471
472
|
* @param {*} [options] Override http request option.
|
|
472
473
|
* @throws {RequiredError}
|
|
@@ -725,7 +726,7 @@ var ContactsApiFp = function(configuration) {
|
|
|
725
726
|
/**
|
|
726
727
|
*
|
|
727
728
|
* @summary Contacts List
|
|
728
|
-
* @param {Array<
|
|
729
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
729
730
|
* @param {string} [searchString]
|
|
730
731
|
* @param {*} [options] Override http request option.
|
|
731
732
|
* @throws {RequiredError}
|
|
@@ -874,7 +875,7 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
874
875
|
/**
|
|
875
876
|
*
|
|
876
877
|
* @summary Contacts List
|
|
877
|
-
* @param {Array<
|
|
878
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
878
879
|
* @param {string} [searchString]
|
|
879
880
|
* @param {*} [options] Override http request option.
|
|
880
881
|
* @throws {RequiredError}
|
|
@@ -1009,7 +1010,7 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1009
1010
|
/**
|
|
1010
1011
|
*
|
|
1011
1012
|
* @summary Contacts List
|
|
1012
|
-
* @param {Array<
|
|
1013
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1013
1014
|
* @param {string} [searchString]
|
|
1014
1015
|
* @param {*} [options] Override http request option.
|
|
1015
1016
|
* @throws {RequiredError}
|
|
@@ -1445,7 +1446,7 @@ var PhonesApi = class extends BaseAPI {
|
|
|
1445
1446
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
1446
1447
|
return {
|
|
1447
1448
|
/**
|
|
1448
|
-
*
|
|
1449
|
+
*
|
|
1449
1450
|
* @summary Reservations List
|
|
1450
1451
|
* @param {string} [contactId]
|
|
1451
1452
|
* @param {*} [options] Override http request option.
|
|
@@ -1478,7 +1479,7 @@ var ReservationsApiFp = function(configuration) {
|
|
|
1478
1479
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
1479
1480
|
return {
|
|
1480
1481
|
/**
|
|
1481
|
-
*
|
|
1482
|
+
*
|
|
1482
1483
|
* @summary Reservations List
|
|
1483
1484
|
* @param {string} [contactId]
|
|
1484
1485
|
* @param {*} [options] Override http request option.
|
|
@@ -1496,7 +1497,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1496
1497
|
const localVarFp = ReservationsApiFp(configuration);
|
|
1497
1498
|
return {
|
|
1498
1499
|
/**
|
|
1499
|
-
*
|
|
1500
|
+
*
|
|
1500
1501
|
* @summary Reservations List
|
|
1501
1502
|
* @param {string} [contactId]
|
|
1502
1503
|
* @param {*} [options] Override http request option.
|
|
@@ -1509,7 +1510,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1509
1510
|
};
|
|
1510
1511
|
var ReservationsApi = class extends BaseAPI {
|
|
1511
1512
|
/**
|
|
1512
|
-
*
|
|
1513
|
+
*
|
|
1513
1514
|
* @summary Reservations List
|
|
1514
1515
|
* @param {string} [contactId]
|
|
1515
1516
|
* @param {*} [options] Override http request option.
|
|
@@ -1691,7 +1692,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1691
1692
|
/**
|
|
1692
1693
|
*
|
|
1693
1694
|
* @summary Contacts List
|
|
1694
|
-
* @param {Array<
|
|
1695
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1695
1696
|
* @param {string} [searchString]
|
|
1696
1697
|
* @param {*} [options] Override http request option.
|
|
1697
1698
|
* @throws {RequiredError}
|
|
@@ -1863,7 +1864,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1863
1864
|
};
|
|
1864
1865
|
},
|
|
1865
1866
|
/**
|
|
1866
|
-
*
|
|
1867
|
+
*
|
|
1867
1868
|
* @summary Reservations List
|
|
1868
1869
|
* @param {string} [contactId]
|
|
1869
1870
|
* @param {*} [options] Override http request option.
|
|
@@ -2007,7 +2008,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2007
2008
|
/**
|
|
2008
2009
|
*
|
|
2009
2010
|
* @summary Contacts List
|
|
2010
|
-
* @param {Array<
|
|
2011
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2011
2012
|
* @param {string} [searchString]
|
|
2012
2013
|
* @param {*} [options] Override http request option.
|
|
2013
2014
|
* @throws {RequiredError}
|
|
@@ -2087,7 +2088,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2087
2088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2088
2089
|
},
|
|
2089
2090
|
/**
|
|
2090
|
-
*
|
|
2091
|
+
*
|
|
2091
2092
|
* @summary Reservations List
|
|
2092
2093
|
* @param {string} [contactId]
|
|
2093
2094
|
* @param {*} [options] Override http request option.
|
|
@@ -2182,7 +2183,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2182
2183
|
/**
|
|
2183
2184
|
*
|
|
2184
2185
|
* @summary Contacts List
|
|
2185
|
-
* @param {Array<
|
|
2186
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2186
2187
|
* @param {string} [searchString]
|
|
2187
2188
|
* @param {*} [options] Override http request option.
|
|
2188
2189
|
* @throws {RequiredError}
|
|
@@ -2244,7 +2245,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2244
2245
|
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
2245
2246
|
},
|
|
2246
2247
|
/**
|
|
2247
|
-
*
|
|
2248
|
+
*
|
|
2248
2249
|
* @summary Reservations List
|
|
2249
2250
|
* @param {string} [contactId]
|
|
2250
2251
|
* @param {*} [options] Override http request option.
|
|
@@ -2337,7 +2338,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2337
2338
|
/**
|
|
2338
2339
|
*
|
|
2339
2340
|
* @summary Contacts List
|
|
2340
|
-
* @param {Array<
|
|
2341
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2341
2342
|
* @param {string} [searchString]
|
|
2342
2343
|
* @param {*} [options] Override http request option.
|
|
2343
2344
|
* @throws {RequiredError}
|
|
@@ -2405,7 +2406,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2405
2406
|
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
2406
2407
|
}
|
|
2407
2408
|
/**
|
|
2408
|
-
*
|
|
2409
|
+
*
|
|
2409
2410
|
* @summary Reservations List
|
|
2410
2411
|
* @param {string} [contactId]
|
|
2411
2412
|
* @param {*} [options] Override http request option.
|
|
@@ -2522,7 +2523,7 @@ export {
|
|
|
2522
2523
|
AddressesApiFactory,
|
|
2523
2524
|
AddressesApiFp,
|
|
2524
2525
|
Configuration,
|
|
2525
|
-
|
|
2526
|
+
ContactTypeFilter,
|
|
2526
2527
|
ContactsApi,
|
|
2527
2528
|
ContactsApiAxiosParamCreator,
|
|
2528
2529
|
ContactsApiFactory,
|