@ember-home/unbound-ts-client 0.0.11 → 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 +351 -214
- package/dist/index.d.ts +351 -214
- package/dist/index.js +22 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -70
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75,53 +75,17 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
Basic: "
|
|
83
|
-
};
|
|
84
|
-
var BasicDataUpdateContactTypeEnum = {
|
|
85
|
-
Basic: "BASIC"
|
|
86
|
-
};
|
|
87
|
-
var ContactType = {
|
|
88
|
-
Guest: "GUEST",
|
|
89
|
-
Owner: "OWNER",
|
|
90
|
-
Lead: "LEAD",
|
|
91
|
-
Basic: "BASIC"
|
|
78
|
+
var ContactTypeFilter = {
|
|
79
|
+
Guest: "guest",
|
|
80
|
+
Owner: "owner",
|
|
81
|
+
Lead: "lead",
|
|
82
|
+
Basic: "basic"
|
|
92
83
|
};
|
|
93
84
|
var DataSource = {
|
|
94
85
|
Hostaway: "HOSTAWAY",
|
|
95
86
|
Guesty: "GUESTY",
|
|
96
87
|
Manual: "MANUAL"
|
|
97
88
|
};
|
|
98
|
-
var GuestDataContactTypeEnum = {
|
|
99
|
-
Guest: "GUEST"
|
|
100
|
-
};
|
|
101
|
-
var GuestDataCreateContactTypeEnum = {
|
|
102
|
-
Guest: "GUEST"
|
|
103
|
-
};
|
|
104
|
-
var GuestDataUpdateContactTypeEnum = {
|
|
105
|
-
Guest: "GUEST"
|
|
106
|
-
};
|
|
107
|
-
var LeadDataContactTypeEnum = {
|
|
108
|
-
Lead: "LEAD"
|
|
109
|
-
};
|
|
110
|
-
var LeadDataCreateContactTypeEnum = {
|
|
111
|
-
Lead: "LEAD"
|
|
112
|
-
};
|
|
113
|
-
var LeadDataUpdateContactTypeEnum = {
|
|
114
|
-
Lead: "LEAD"
|
|
115
|
-
};
|
|
116
|
-
var OwnerDataContactTypeEnum = {
|
|
117
|
-
Owner: "OWNER"
|
|
118
|
-
};
|
|
119
|
-
var OwnerDataCreateContactTypeEnum = {
|
|
120
|
-
Owner: "OWNER"
|
|
121
|
-
};
|
|
122
|
-
var OwnerDataUpdateContactTypeEnum = {
|
|
123
|
-
Owner: "OWNER"
|
|
124
|
-
};
|
|
125
89
|
var AddressesApiAxiosParamCreator = function(configuration) {
|
|
126
90
|
return {
|
|
127
91
|
/**
|
|
@@ -503,7 +467,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
503
467
|
/**
|
|
504
468
|
*
|
|
505
469
|
* @summary Contacts List
|
|
506
|
-
* @param {Array<
|
|
470
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
507
471
|
* @param {string} [searchString]
|
|
508
472
|
* @param {*} [options] Override http request option.
|
|
509
473
|
* @throws {RequiredError}
|
|
@@ -762,7 +726,7 @@ var ContactsApiFp = function(configuration) {
|
|
|
762
726
|
/**
|
|
763
727
|
*
|
|
764
728
|
* @summary Contacts List
|
|
765
|
-
* @param {Array<
|
|
729
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
766
730
|
* @param {string} [searchString]
|
|
767
731
|
* @param {*} [options] Override http request option.
|
|
768
732
|
* @throws {RequiredError}
|
|
@@ -911,7 +875,7 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
911
875
|
/**
|
|
912
876
|
*
|
|
913
877
|
* @summary Contacts List
|
|
914
|
-
* @param {Array<
|
|
878
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
915
879
|
* @param {string} [searchString]
|
|
916
880
|
* @param {*} [options] Override http request option.
|
|
917
881
|
* @throws {RequiredError}
|
|
@@ -1046,7 +1010,7 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1046
1010
|
/**
|
|
1047
1011
|
*
|
|
1048
1012
|
* @summary Contacts List
|
|
1049
|
-
* @param {Array<
|
|
1013
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1050
1014
|
* @param {string} [searchString]
|
|
1051
1015
|
* @param {*} [options] Override http request option.
|
|
1052
1016
|
* @throws {RequiredError}
|
|
@@ -1482,7 +1446,7 @@ var PhonesApi = class extends BaseAPI {
|
|
|
1482
1446
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
1483
1447
|
return {
|
|
1484
1448
|
/**
|
|
1485
|
-
*
|
|
1449
|
+
*
|
|
1486
1450
|
* @summary Reservations List
|
|
1487
1451
|
* @param {string} [contactId]
|
|
1488
1452
|
* @param {*} [options] Override http request option.
|
|
@@ -1515,7 +1479,7 @@ var ReservationsApiFp = function(configuration) {
|
|
|
1515
1479
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
1516
1480
|
return {
|
|
1517
1481
|
/**
|
|
1518
|
-
*
|
|
1482
|
+
*
|
|
1519
1483
|
* @summary Reservations List
|
|
1520
1484
|
* @param {string} [contactId]
|
|
1521
1485
|
* @param {*} [options] Override http request option.
|
|
@@ -1533,7 +1497,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1533
1497
|
const localVarFp = ReservationsApiFp(configuration);
|
|
1534
1498
|
return {
|
|
1535
1499
|
/**
|
|
1536
|
-
*
|
|
1500
|
+
*
|
|
1537
1501
|
* @summary Reservations List
|
|
1538
1502
|
* @param {string} [contactId]
|
|
1539
1503
|
* @param {*} [options] Override http request option.
|
|
@@ -1546,7 +1510,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1546
1510
|
};
|
|
1547
1511
|
var ReservationsApi = class extends BaseAPI {
|
|
1548
1512
|
/**
|
|
1549
|
-
*
|
|
1513
|
+
*
|
|
1550
1514
|
* @summary Reservations List
|
|
1551
1515
|
* @param {string} [contactId]
|
|
1552
1516
|
* @param {*} [options] Override http request option.
|
|
@@ -1728,7 +1692,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1728
1692
|
/**
|
|
1729
1693
|
*
|
|
1730
1694
|
* @summary Contacts List
|
|
1731
|
-
* @param {Array<
|
|
1695
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1732
1696
|
* @param {string} [searchString]
|
|
1733
1697
|
* @param {*} [options] Override http request option.
|
|
1734
1698
|
* @throws {RequiredError}
|
|
@@ -1900,7 +1864,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1900
1864
|
};
|
|
1901
1865
|
},
|
|
1902
1866
|
/**
|
|
1903
|
-
*
|
|
1867
|
+
*
|
|
1904
1868
|
* @summary Reservations List
|
|
1905
1869
|
* @param {string} [contactId]
|
|
1906
1870
|
* @param {*} [options] Override http request option.
|
|
@@ -2044,7 +2008,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2044
2008
|
/**
|
|
2045
2009
|
*
|
|
2046
2010
|
* @summary Contacts List
|
|
2047
|
-
* @param {Array<
|
|
2011
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2048
2012
|
* @param {string} [searchString]
|
|
2049
2013
|
* @param {*} [options] Override http request option.
|
|
2050
2014
|
* @throws {RequiredError}
|
|
@@ -2124,7 +2088,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2124
2088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2125
2089
|
},
|
|
2126
2090
|
/**
|
|
2127
|
-
*
|
|
2091
|
+
*
|
|
2128
2092
|
* @summary Reservations List
|
|
2129
2093
|
* @param {string} [contactId]
|
|
2130
2094
|
* @param {*} [options] Override http request option.
|
|
@@ -2219,7 +2183,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2219
2183
|
/**
|
|
2220
2184
|
*
|
|
2221
2185
|
* @summary Contacts List
|
|
2222
|
-
* @param {Array<
|
|
2186
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2223
2187
|
* @param {string} [searchString]
|
|
2224
2188
|
* @param {*} [options] Override http request option.
|
|
2225
2189
|
* @throws {RequiredError}
|
|
@@ -2281,7 +2245,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2281
2245
|
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
2282
2246
|
},
|
|
2283
2247
|
/**
|
|
2284
|
-
*
|
|
2248
|
+
*
|
|
2285
2249
|
* @summary Reservations List
|
|
2286
2250
|
* @param {string} [contactId]
|
|
2287
2251
|
* @param {*} [options] Override http request option.
|
|
@@ -2374,7 +2338,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2374
2338
|
/**
|
|
2375
2339
|
*
|
|
2376
2340
|
* @summary Contacts List
|
|
2377
|
-
* @param {Array<
|
|
2341
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2378
2342
|
* @param {string} [searchString]
|
|
2379
2343
|
* @param {*} [options] Override http request option.
|
|
2380
2344
|
* @throws {RequiredError}
|
|
@@ -2442,7 +2406,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2442
2406
|
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
2443
2407
|
}
|
|
2444
2408
|
/**
|
|
2445
|
-
*
|
|
2409
|
+
*
|
|
2446
2410
|
* @summary Reservations List
|
|
2447
2411
|
* @param {string} [contactId]
|
|
2448
2412
|
* @param {*} [options] Override http request option.
|
|
@@ -2558,11 +2522,8 @@ export {
|
|
|
2558
2522
|
AddressesApiAxiosParamCreator,
|
|
2559
2523
|
AddressesApiFactory,
|
|
2560
2524
|
AddressesApiFp,
|
|
2561
|
-
BasicDataContactTypeEnum,
|
|
2562
|
-
BasicDataCreateContactTypeEnum,
|
|
2563
|
-
BasicDataUpdateContactTypeEnum,
|
|
2564
2525
|
Configuration,
|
|
2565
|
-
|
|
2526
|
+
ContactTypeFilter,
|
|
2566
2527
|
ContactsApi,
|
|
2567
2528
|
ContactsApiAxiosParamCreator,
|
|
2568
2529
|
ContactsApiFactory,
|
|
@@ -2572,19 +2533,10 @@ export {
|
|
|
2572
2533
|
EmailsApiAxiosParamCreator,
|
|
2573
2534
|
EmailsApiFactory,
|
|
2574
2535
|
EmailsApiFp,
|
|
2575
|
-
GuestDataContactTypeEnum,
|
|
2576
|
-
GuestDataCreateContactTypeEnum,
|
|
2577
|
-
GuestDataUpdateContactTypeEnum,
|
|
2578
2536
|
HostawayApi,
|
|
2579
2537
|
HostawayApiAxiosParamCreator,
|
|
2580
2538
|
HostawayApiFactory,
|
|
2581
2539
|
HostawayApiFp,
|
|
2582
|
-
LeadDataContactTypeEnum,
|
|
2583
|
-
LeadDataCreateContactTypeEnum,
|
|
2584
|
-
LeadDataUpdateContactTypeEnum,
|
|
2585
|
-
OwnerDataContactTypeEnum,
|
|
2586
|
-
OwnerDataCreateContactTypeEnum,
|
|
2587
|
-
OwnerDataUpdateContactTypeEnum,
|
|
2588
2540
|
PhonesApi,
|
|
2589
2541
|
PhonesApiAxiosParamCreator,
|
|
2590
2542
|
PhonesApiFactory,
|