@onemineral/pms-js-sdk 0.1.16 → 0.1.18
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/cjs/generated/booking.d.ts +15 -0
- package/dist/cjs/generated/booking.js +8 -0
- package/dist/cjs/generated/booking.js.map +1 -1
- package/dist/cjs/generated/breezeway-property.d.ts +53 -0
- package/dist/cjs/generated/breezeway-property.js +44 -0
- package/dist/cjs/generated/breezeway-property.js.map +1 -0
- package/dist/cjs/generated/breezeway.d.ts +50 -0
- package/dist/cjs/generated/breezeway.js +36 -0
- package/dist/cjs/generated/breezeway.js.map +1 -0
- package/dist/cjs/generated/dtravel-property.d.ts +55 -0
- package/dist/cjs/generated/dtravel-property.js +44 -0
- package/dist/cjs/generated/dtravel-property.js.map +1 -0
- package/dist/cjs/generated/dtravel.d.ts +50 -0
- package/dist/cjs/generated/dtravel.js +36 -0
- package/dist/cjs/generated/dtravel.js.map +1 -0
- package/dist/cjs/generated/fee-type.d.ts +7 -4
- package/dist/cjs/generated/fee-type.js.map +1 -1
- package/dist/cjs/generated/index.d.ts +12 -6
- package/dist/cjs/generated/index.js +12 -6
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/property.d.ts +74 -0
- package/dist/cjs/generated/property.js +16 -0
- package/dist/cjs/generated/property.js.map +1 -1
- package/dist/cjs/generated/website-channel.d.ts +52 -0
- package/dist/cjs/generated/website-channel.js +48 -0
- package/dist/cjs/generated/website-channel.js.map +1 -1
- package/dist/cjs/generated/website-domain.d.ts +0 -2
- package/dist/cjs/generated/website-domain.js.map +1 -1
- package/dist/cjs/generated/website-page.d.ts +4 -1
- package/dist/cjs/generated/website-page.js +8 -0
- package/dist/cjs/generated/website-page.js.map +1 -1
- package/dist/cjs/generated/website-settings.d.ts +0 -2
- package/dist/cjs/generated/website-settings.js.map +1 -1
- package/dist/cjs/generated/website-theme.d.ts +4 -20
- package/dist/cjs/index.d.ts +4 -2
- package/dist/esm/generated/booking.d.ts +15 -0
- package/dist/esm/generated/booking.js +8 -0
- package/dist/esm/generated/booking.js.map +1 -1
- package/dist/esm/generated/breezeway-property.d.ts +53 -0
- package/dist/esm/generated/breezeway-property.js +40 -0
- package/dist/esm/generated/breezeway-property.js.map +1 -0
- package/dist/esm/generated/breezeway.d.ts +50 -0
- package/dist/esm/generated/breezeway.js +32 -0
- package/dist/esm/generated/breezeway.js.map +1 -0
- package/dist/esm/generated/dtravel-property.d.ts +55 -0
- package/dist/esm/generated/dtravel-property.js +40 -0
- package/dist/esm/generated/dtravel-property.js.map +1 -0
- package/dist/esm/generated/dtravel.d.ts +50 -0
- package/dist/esm/generated/dtravel.js +32 -0
- package/dist/esm/generated/dtravel.js.map +1 -0
- package/dist/esm/generated/fee-type.d.ts +7 -4
- package/dist/esm/generated/fee-type.js.map +1 -1
- package/dist/esm/generated/index.d.ts +12 -6
- package/dist/esm/generated/index.js +12 -6
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/property.d.ts +74 -0
- package/dist/esm/generated/property.js +16 -0
- package/dist/esm/generated/property.js.map +1 -1
- package/dist/esm/generated/website-channel.d.ts +52 -0
- package/dist/esm/generated/website-channel.js +48 -0
- package/dist/esm/generated/website-channel.js.map +1 -1
- package/dist/esm/generated/website-domain.d.ts +0 -2
- package/dist/esm/generated/website-domain.js.map +1 -1
- package/dist/esm/generated/website-page.d.ts +4 -1
- package/dist/esm/generated/website-page.js +8 -0
- package/dist/esm/generated/website-page.js.map +1 -1
- package/dist/esm/generated/website-settings.d.ts +0 -2
- package/dist/esm/generated/website-settings.js.map +1 -1
- package/dist/esm/generated/website-theme.d.ts +4 -20
- package/dist/esm/index.d.ts +4 -2
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export interface Booking {
|
|
|
23
23
|
property: Property;
|
|
24
24
|
booker: Account;
|
|
25
25
|
currency: Currency;
|
|
26
|
+
type: 'guest' | 'homeowner';
|
|
26
27
|
checkin: string;
|
|
27
28
|
checkout: string;
|
|
28
29
|
daterange: DateRange;
|
|
@@ -94,6 +95,7 @@ export declare class BookingClient {
|
|
|
94
95
|
fetch(params: BookingFetchParams, options?: RequestOptions): Promise<Response<Booking>>;
|
|
95
96
|
update(params: BookingUpdateParams, options?: RequestOptions): Promise<Response<Booking>>;
|
|
96
97
|
updateStay(params: BookingUpdateStayParams, options?: RequestOptions): Promise<Response<any>>;
|
|
98
|
+
updateHomeownerStay(params: BookingUpdateHomeownerStayParams, options?: RequestOptions): Promise<Response<any>>;
|
|
97
99
|
importBooking(params: BookingImportBookingParams, options?: RequestOptions): Promise<Response<any>>;
|
|
98
100
|
importBookings(params: BookingImportBookingsParams, options?: RequestOptions): Promise<Response<any>>;
|
|
99
101
|
updateTaCommission(params: BookingUpdateTaCommissionParams, options?: RequestOptions): Promise<Response<any>>;
|
|
@@ -204,6 +206,15 @@ export interface BookingUpdateStayParams {
|
|
|
204
206
|
quote_id?: string | null;
|
|
205
207
|
disable_ota_checks?: boolean;
|
|
206
208
|
}
|
|
209
|
+
export interface BookingUpdateHomeownerStayParams {
|
|
210
|
+
id: number;
|
|
211
|
+
daterange: DateRange;
|
|
212
|
+
quote_id: string | null;
|
|
213
|
+
adults: number;
|
|
214
|
+
children?: number | null;
|
|
215
|
+
babies?: number | null;
|
|
216
|
+
pets?: boolean | null;
|
|
217
|
+
}
|
|
207
218
|
export interface BookingImportBookingParams {
|
|
208
219
|
property: number;
|
|
209
220
|
daterange: DateRange;
|
|
@@ -298,6 +309,8 @@ export interface BookingImportBookingParams {
|
|
|
298
309
|
expiration_year?: number;
|
|
299
310
|
cvv?: string | null;
|
|
300
311
|
};
|
|
312
|
+
payment_method?: string;
|
|
313
|
+
card_token?: any;
|
|
301
314
|
card_allow_automated_processing?: boolean;
|
|
302
315
|
card_description?: string;
|
|
303
316
|
}
|
|
@@ -396,6 +409,8 @@ export interface BookingImportBookingsParams {
|
|
|
396
409
|
expiration_year?: number;
|
|
397
410
|
cvv?: string | null;
|
|
398
411
|
};
|
|
412
|
+
payment_method?: string;
|
|
413
|
+
card_token?: any;
|
|
399
414
|
card_allow_automated_processing?: boolean;
|
|
400
415
|
card_description?: string;
|
|
401
416
|
}>;
|
|
@@ -47,6 +47,14 @@ class BookingClient {
|
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
+
updateHomeownerStay(params, options) {
|
|
51
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return this.apiClient.request(`${this.path}/update-homeowner-stay`, {
|
|
53
|
+
params,
|
|
54
|
+
options,
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
50
58
|
importBooking(params, options) {
|
|
51
59
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
52
60
|
return this.apiClient.request(`${this.path}/import-booking`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking.js","sourceRoot":"","sources":["../../../src/generated/booking.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"booking.js","sourceRoot":"","sources":["../../../src/generated/booking.ts"],"names":[],"mappings":";;;;AA2GA,MAAa,aAAa;IACtB,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,SAAS,CAAC;IAF0B,CAAC;IAI/C,KAAK,CACd,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,YAAY,CACrB,MAAkC,EAClC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,eAAe,EAAE;gBACvD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,KAAK,CACd,MAA0B,EAC1B,OAAwB;;YAExB,OAAO,I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YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;QAC5E,CAAC;KAAA;IAEY,gBAAgB,CACzB,MAAqC,EACrC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,oBAAoB,EAAE;gBAC5D,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,QAAQ,CACjB,MAA6B,EAC7B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,WAAW,EAAE;gBACnD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,mBAAmB,CAC5B,MAAwC,EACxC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,wBAAwB,EAAE;gBAChE,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,oBAAoB,CAC7B,MAAyC,EACzC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,yBAAyB,EAAE;gBACjE,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AA5QD,sCA4QC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Channel } from './channel';
|
|
2
|
+
import { Property } from './property';
|
|
3
|
+
import { ChannelManagerSync } from './channel-manager-sync';
|
|
4
|
+
import { ApiClient } from '../api-client';
|
|
5
|
+
import { RequestOptions } from '../request-options';
|
|
6
|
+
import { Response } from '../response';
|
|
7
|
+
export interface BreezewayProperty {
|
|
8
|
+
id: number;
|
|
9
|
+
status: 'enabled' | 'disabled' | 'pending_approval' | 'pending';
|
|
10
|
+
provider: string;
|
|
11
|
+
options: any;
|
|
12
|
+
external_id: string;
|
|
13
|
+
channel: Channel;
|
|
14
|
+
property: Property;
|
|
15
|
+
channel_manager_sync?: ChannelManagerSync[];
|
|
16
|
+
created_at: string;
|
|
17
|
+
updated_at: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class BreezewayPropertyClient {
|
|
20
|
+
private readonly apiClient;
|
|
21
|
+
constructor(apiClient: ApiClient);
|
|
22
|
+
private path;
|
|
23
|
+
fetch(params: BreezewayPropertyFetchParams, options?: RequestOptions): Promise<Response<BreezewayProperty>>;
|
|
24
|
+
create(params: BreezewayPropertyCreateParams, options?: RequestOptions): Promise<Response<BreezewayProperty>>;
|
|
25
|
+
attach(params: BreezewayPropertyAttachParams, options?: RequestOptions): Promise<Response<any>>;
|
|
26
|
+
unlink(params: BreezewayPropertyUnlinkParams, options?: RequestOptions): Promise<Response<any>>;
|
|
27
|
+
}
|
|
28
|
+
export interface BreezewayPropertyFetchParams {
|
|
29
|
+
id: number;
|
|
30
|
+
with?: string[];
|
|
31
|
+
with_aggregations?: Array<{
|
|
32
|
+
type?: 'count' | 'avg' | 'sum' | 'min' | 'max';
|
|
33
|
+
as?: string;
|
|
34
|
+
relation?: string;
|
|
35
|
+
field?: string;
|
|
36
|
+
where?: {
|
|
37
|
+
conditions?: any;
|
|
38
|
+
conditions_logic?: string | null;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
export interface BreezewayPropertyCreateParams {
|
|
43
|
+
property: number;
|
|
44
|
+
channel: number;
|
|
45
|
+
}
|
|
46
|
+
export interface BreezewayPropertyAttachParams {
|
|
47
|
+
property: number;
|
|
48
|
+
channel: number;
|
|
49
|
+
external_id: number;
|
|
50
|
+
}
|
|
51
|
+
export interface BreezewayPropertyUnlinkParams {
|
|
52
|
+
id: number;
|
|
53
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BreezewayPropertyClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
class BreezewayPropertyClient {
|
|
6
|
+
constructor(apiClient) {
|
|
7
|
+
this.apiClient = apiClient;
|
|
8
|
+
this.path = 'breezeway-property';
|
|
9
|
+
}
|
|
10
|
+
fetch(params, options) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
return this.apiClient.request(`${this.path}/fetch`, {
|
|
13
|
+
params,
|
|
14
|
+
options,
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
create(params, options) {
|
|
19
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
return this.apiClient.request(`${this.path}/create`, {
|
|
21
|
+
params,
|
|
22
|
+
options,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
attach(params, options) {
|
|
27
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return this.apiClient.request(`${this.path}/attach`, {
|
|
29
|
+
params,
|
|
30
|
+
options,
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
unlink(params, options) {
|
|
35
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
return this.apiClient.request(`${this.path}/unlink`, {
|
|
37
|
+
params,
|
|
38
|
+
options,
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.BreezewayPropertyClient = BreezewayPropertyClient;
|
|
44
|
+
//# sourceMappingURL=breezeway-property.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breezeway-property.js","sourceRoot":"","sources":["../../../src/generated/breezeway-property.ts"],"names":[],"mappings":";;;;AAoBA,MAAa,uBAAuB;IAChC,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,oBAAoB,CAAC;IAFe,CAAC;IAI/C,KAAK,CACd,MAAoC,EACpC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAqC,EACrC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAqC,EACrC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAqC,EACrC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AA5CD,0DA4CC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Account } from './account';
|
|
2
|
+
import { ChannelProperty } from './channel-property';
|
|
3
|
+
import { ApiClient } from '../api-client';
|
|
4
|
+
import { RequestOptions } from '../request-options';
|
|
5
|
+
import { Response } from '../response';
|
|
6
|
+
export interface Breezeway {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
external_id: string;
|
|
10
|
+
status: 'enabled' | 'pending' | 'disabled';
|
|
11
|
+
options: any;
|
|
12
|
+
provider: string;
|
|
13
|
+
logo_url: string;
|
|
14
|
+
icon_url: string;
|
|
15
|
+
account?: Account;
|
|
16
|
+
markup: number;
|
|
17
|
+
connection: ChannelProperty;
|
|
18
|
+
created_at: string;
|
|
19
|
+
updated_at: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class BreezewayClient {
|
|
22
|
+
private readonly apiClient;
|
|
23
|
+
constructor(apiClient: ApiClient);
|
|
24
|
+
private path;
|
|
25
|
+
fetch(params: BreezewayFetchParams, options?: RequestOptions): Promise<Response<Breezeway>>;
|
|
26
|
+
create(params: BreezewayCreateParams, options?: RequestOptions): Promise<Response<Breezeway>>;
|
|
27
|
+
getAllListings(params: BreezewayGetAllListingsParams, options?: RequestOptions): Promise<Response<any>>;
|
|
28
|
+
}
|
|
29
|
+
export interface BreezewayFetchParams {
|
|
30
|
+
id: number;
|
|
31
|
+
with?: string[];
|
|
32
|
+
with_aggregations?: Array<{
|
|
33
|
+
type?: 'count' | 'avg' | 'sum' | 'min' | 'max';
|
|
34
|
+
as?: string;
|
|
35
|
+
relation?: string;
|
|
36
|
+
field?: string;
|
|
37
|
+
where?: {
|
|
38
|
+
conditions?: any;
|
|
39
|
+
conditions_logic?: string | null;
|
|
40
|
+
};
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
43
|
+
export interface BreezewayCreateParams {
|
|
44
|
+
name: string;
|
|
45
|
+
company_id: string;
|
|
46
|
+
automatically_sync_homes: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface BreezewayGetAllListingsParams {
|
|
49
|
+
channel: number;
|
|
50
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BreezewayClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
class BreezewayClient {
|
|
6
|
+
constructor(apiClient) {
|
|
7
|
+
this.apiClient = apiClient;
|
|
8
|
+
this.path = 'breezeway';
|
|
9
|
+
}
|
|
10
|
+
fetch(params, options) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
return this.apiClient.request(`${this.path}/fetch`, {
|
|
13
|
+
params,
|
|
14
|
+
options,
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
create(params, options) {
|
|
19
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
return this.apiClient.request(`${this.path}/create`, {
|
|
21
|
+
params,
|
|
22
|
+
options,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
getAllListings(params, options) {
|
|
27
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return this.apiClient.request(`${this.path}/get-all-listings`, {
|
|
29
|
+
params,
|
|
30
|
+
options,
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.BreezewayClient = BreezewayClient;
|
|
36
|
+
//# sourceMappingURL=breezeway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breezeway.js","sourceRoot":"","sources":["../../../src/generated/breezeway.ts"],"names":[],"mappings":";;;;AAsBA,MAAa,eAAe;IACxB,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,WAAW,CAAC;IAFwB,CAAC;IAI/C,KAAK,CACd,MAA4B,EAC5B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAA6B,EAC7B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,cAAc,CACvB,MAAqC,EACrC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,mBAAmB,EAAE;gBAC3D,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AAlCD,0CAkCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Channel } from './channel';
|
|
2
|
+
import { Property } from './property';
|
|
3
|
+
import { ChannelManagerSync } from './channel-manager-sync';
|
|
4
|
+
import { ApiClient } from '../api-client';
|
|
5
|
+
import { RequestOptions } from '../request-options';
|
|
6
|
+
import { Response } from '../response';
|
|
7
|
+
export interface DtravelProperty {
|
|
8
|
+
id: number;
|
|
9
|
+
status: 'enabled' | 'disabled' | 'pending_approval' | 'pending';
|
|
10
|
+
provider: string;
|
|
11
|
+
options: any;
|
|
12
|
+
external_id: string;
|
|
13
|
+
channel: Channel;
|
|
14
|
+
property: Property;
|
|
15
|
+
channel_manager_sync?: ChannelManagerSync[];
|
|
16
|
+
created_at: string;
|
|
17
|
+
updated_at: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class DtravelPropertyClient {
|
|
20
|
+
private readonly apiClient;
|
|
21
|
+
constructor(apiClient: ApiClient);
|
|
22
|
+
private path;
|
|
23
|
+
fetch(params: DtravelPropertyFetchParams, options?: RequestOptions): Promise<Response<DtravelProperty>>;
|
|
24
|
+
create(params: DtravelPropertyCreateParams, options?: RequestOptions): Promise<Response<DtravelProperty>>;
|
|
25
|
+
attach(params: DtravelPropertyAttachParams, options?: RequestOptions): Promise<Response<any>>;
|
|
26
|
+
unlink(params: DtravelPropertyUnlinkParams, options?: RequestOptions): Promise<Response<any>>;
|
|
27
|
+
}
|
|
28
|
+
export interface DtravelPropertyFetchParams {
|
|
29
|
+
id: number;
|
|
30
|
+
with?: string[];
|
|
31
|
+
with_aggregations?: Array<{
|
|
32
|
+
type?: 'count' | 'avg' | 'sum' | 'min' | 'max';
|
|
33
|
+
as?: string;
|
|
34
|
+
relation?: string;
|
|
35
|
+
field?: string;
|
|
36
|
+
where?: {
|
|
37
|
+
conditions?: any;
|
|
38
|
+
conditions_logic?: string | null;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
export interface DtravelPropertyCreateParams {
|
|
43
|
+
property: number;
|
|
44
|
+
channel: number;
|
|
45
|
+
cancellation_policy: 'flexible' | 'firm' | 'moderate' | 'strict' | 'no_refund';
|
|
46
|
+
}
|
|
47
|
+
export interface DtravelPropertyAttachParams {
|
|
48
|
+
property: number;
|
|
49
|
+
channel: number;
|
|
50
|
+
cancellation_policy: 'flexible' | 'firm' | 'moderate' | 'strict' | 'no_refund';
|
|
51
|
+
listing_id: number;
|
|
52
|
+
}
|
|
53
|
+
export interface DtravelPropertyUnlinkParams {
|
|
54
|
+
id: number;
|
|
55
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DtravelPropertyClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
class DtravelPropertyClient {
|
|
6
|
+
constructor(apiClient) {
|
|
7
|
+
this.apiClient = apiClient;
|
|
8
|
+
this.path = 'dtravel-property';
|
|
9
|
+
}
|
|
10
|
+
fetch(params, options) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
return this.apiClient.request(`${this.path}/fetch`, {
|
|
13
|
+
params,
|
|
14
|
+
options,
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
create(params, options) {
|
|
19
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
return this.apiClient.request(`${this.path}/create`, {
|
|
21
|
+
params,
|
|
22
|
+
options,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
attach(params, options) {
|
|
27
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return this.apiClient.request(`${this.path}/attach`, {
|
|
29
|
+
params,
|
|
30
|
+
options,
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
unlink(params, options) {
|
|
35
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
return this.apiClient.request(`${this.path}/unlink`, {
|
|
37
|
+
params,
|
|
38
|
+
options,
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.DtravelPropertyClient = DtravelPropertyClient;
|
|
44
|
+
//# sourceMappingURL=dtravel-property.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtravel-property.js","sourceRoot":"","sources":["../../../src/generated/dtravel-property.ts"],"names":[],"mappings":";;;;AAoBA,MAAa,qBAAqB;IAC9B,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,kBAAkB,CAAC;IAFiB,CAAC;IAI/C,KAAK,CACd,MAAkC,EAClC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAmC,EACnC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAmC,EACnC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAAmC,EACnC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AA5CD,sDA4CC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Account } from './account';
|
|
2
|
+
import { ChannelProperty } from './channel-property';
|
|
3
|
+
import { ApiClient } from '../api-client';
|
|
4
|
+
import { RequestOptions } from '../request-options';
|
|
5
|
+
import { Response } from '../response';
|
|
6
|
+
export interface Dtravel {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
external_id: string;
|
|
10
|
+
status: 'enabled' | 'pending' | 'disabled';
|
|
11
|
+
options: any;
|
|
12
|
+
provider: string;
|
|
13
|
+
logo_url: string;
|
|
14
|
+
icon_url: string;
|
|
15
|
+
account?: Account;
|
|
16
|
+
markup: number;
|
|
17
|
+
connection: ChannelProperty;
|
|
18
|
+
created_at: string;
|
|
19
|
+
updated_at: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class DtravelClient {
|
|
22
|
+
private readonly apiClient;
|
|
23
|
+
constructor(apiClient: ApiClient);
|
|
24
|
+
private path;
|
|
25
|
+
create(params: DtravelCreateParams, options?: RequestOptions): Promise<Response<Dtravel>>;
|
|
26
|
+
fetch(params: DtravelFetchParams, options?: RequestOptions): Promise<Response<Dtravel>>;
|
|
27
|
+
getAllListings(params: DtravelGetAllListingsParams, options?: RequestOptions): Promise<Response<any>>;
|
|
28
|
+
}
|
|
29
|
+
export interface DtravelCreateParams {
|
|
30
|
+
name: string;
|
|
31
|
+
client_id: string;
|
|
32
|
+
client_secret: string;
|
|
33
|
+
}
|
|
34
|
+
export interface DtravelFetchParams {
|
|
35
|
+
id: number;
|
|
36
|
+
with?: string[];
|
|
37
|
+
with_aggregations?: Array<{
|
|
38
|
+
type?: 'count' | 'avg' | 'sum' | 'min' | 'max';
|
|
39
|
+
as?: string;
|
|
40
|
+
relation?: string;
|
|
41
|
+
field?: string;
|
|
42
|
+
where?: {
|
|
43
|
+
conditions?: any;
|
|
44
|
+
conditions_logic?: string | null;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
48
|
+
export interface DtravelGetAllListingsParams {
|
|
49
|
+
channel: number;
|
|
50
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DtravelClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
class DtravelClient {
|
|
6
|
+
constructor(apiClient) {
|
|
7
|
+
this.apiClient = apiClient;
|
|
8
|
+
this.path = 'dtravel';
|
|
9
|
+
}
|
|
10
|
+
create(params, options) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
return this.apiClient.request(`${this.path}/create`, {
|
|
13
|
+
params,
|
|
14
|
+
options,
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
fetch(params, options) {
|
|
19
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
return this.apiClient.request(`${this.path}/fetch`, {
|
|
21
|
+
params,
|
|
22
|
+
options,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
getAllListings(params, options) {
|
|
27
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return this.apiClient.request(`${this.path}/get-all-listings`, {
|
|
29
|
+
params,
|
|
30
|
+
options,
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.DtravelClient = DtravelClient;
|
|
36
|
+
//# sourceMappingURL=dtravel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtravel.js","sourceRoot":"","sources":["../../../src/generated/dtravel.ts"],"names":[],"mappings":";;;;AAsBA,MAAa,aAAa;IACtB,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,SAAS,CAAC;IAF0B,CAAC;IAI/C,MAAM,CACf,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,KAAK,CACd,MAA0B,EAC1B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,cAAc,CACvB,MAAmC,EACnC,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,mBAAmB,EAAE;gBAC3D,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AAlCD,sCAkCC"}
|
|
@@ -6,12 +6,13 @@ import { Response, PaginatedResponse } from '../response';
|
|
|
6
6
|
export interface FeeType {
|
|
7
7
|
id: number;
|
|
8
8
|
name: TranslatedText;
|
|
9
|
-
category: 'Cleaning fee' | 'Linen fee' | 'Flat fee' | 'Percentage fee';
|
|
9
|
+
category: 'Cleaning fee' | 'Pet fee' | 'Linen fee' | 'Flat fee' | 'Percentage fee';
|
|
10
10
|
value_type: 'flat' | 'percent';
|
|
11
|
-
providers?: Array<'direct' | 'homeaway' | 'api-partner' | 'booking-com'>;
|
|
11
|
+
providers?: Array<'direct' | 'airbnb' | 'homeaway' | 'api-partner' | 'booking-com' | 'dtravel'>;
|
|
12
12
|
tax_class?: TaxClass;
|
|
13
13
|
include_in_rent_subtotal: boolean;
|
|
14
14
|
read_only: boolean;
|
|
15
|
+
apply_to_homeowner_bookings: boolean;
|
|
15
16
|
created_at: string;
|
|
16
17
|
updated_at: string;
|
|
17
18
|
}
|
|
@@ -28,17 +29,19 @@ export declare class FeeTypeClient {
|
|
|
28
29
|
}
|
|
29
30
|
export interface FeeTypeCreateParams {
|
|
30
31
|
name?: TranslatedText;
|
|
31
|
-
providers?: Array<'direct' | 'homeaway' | 'api-partner' | 'booking-com'>;
|
|
32
|
+
providers?: Array<'direct' | 'airbnb' | 'homeaway' | 'api-partner' | 'booking-com' | 'dtravel'>;
|
|
32
33
|
tax_class?: number | null;
|
|
33
34
|
include_in_rent_subtotal?: boolean;
|
|
35
|
+
apply_to_homeowner_bookings?: boolean;
|
|
34
36
|
category: 'Flat fee' | 'Percentage fee';
|
|
35
37
|
}
|
|
36
38
|
export interface FeeTypeUpdateParams {
|
|
37
39
|
id: number;
|
|
38
40
|
name?: TranslatedText;
|
|
39
|
-
providers?: Array<'direct' | 'homeaway' | 'api-partner' | 'booking-com'>;
|
|
41
|
+
providers?: Array<'direct' | 'airbnb' | 'homeaway' | 'api-partner' | 'booking-com' | 'dtravel'>;
|
|
40
42
|
tax_class?: number | null;
|
|
41
43
|
include_in_rent_subtotal?: boolean;
|
|
44
|
+
apply_to_homeowner_bookings?: boolean;
|
|
42
45
|
}
|
|
43
46
|
export interface FeeTypeQueryParams {
|
|
44
47
|
sort?: Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fee-type.js","sourceRoot":"","sources":["../../../src/generated/fee-type.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"fee-type.js","sourceRoot":"","sources":["../../../src/generated/fee-type.ts"],"names":[],"mappings":";;;;AAgCA,MAAa,aAAa;IACtB,YAAoC,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAEhD,SAAI,GAAW,UAAU,CAAC;IAFyB,CAAC;IAI/C,MAAM,CACf,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,MAAM,CACf,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,KAAK,CACd,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,KAAK,CACd,MAA0B,EAC1B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,QAAQ,EAAE;gBAChD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,GAAG,CACZ,MAA2B,EAC3B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,SAAS,EAAE;gBACjD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;IAEY,OAAO,CAChB,MAA6B,EAC7B,OAAwB;;YAExB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,UAAU,EAAE;gBAClD,MAAM;gBACN,OAAO;aACV,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AAhED,sCAgEC"}
|
|
@@ -53,18 +53,20 @@ import { ServiceClient } from './service';
|
|
|
53
53
|
import { ServiceTypeClient } from './service-type';
|
|
54
54
|
import { ServiceRequestClient } from './service-request';
|
|
55
55
|
import { StayClient } from './stay';
|
|
56
|
+
import { AirbnbClient } from './airbnb';
|
|
57
|
+
import { AirbnbPropertyClient } from './airbnb-property';
|
|
56
58
|
import { HomeawayClient } from './homeaway';
|
|
57
59
|
import { HomeawayPropertyClient } from './homeaway-property';
|
|
58
60
|
import { ApiPartnerClient } from './api-partner';
|
|
59
61
|
import { BookingComClient } from './booking-com';
|
|
60
62
|
import { BookingComPropertyClient } from './booking-com-property';
|
|
61
63
|
import { BookingComLegalEntityClient } from './booking-com-legal-entity';
|
|
64
|
+
import { DtravelClient } from './dtravel';
|
|
65
|
+
import { DtravelPropertyClient } from './dtravel-property';
|
|
62
66
|
import { SubscriptionClient } from './subscription';
|
|
63
67
|
import { WebsiteNavigationClient } from './website-navigation';
|
|
64
68
|
import { WebsiteChannelClient } from './website-channel';
|
|
65
69
|
import { WebsiteDomainClient } from './website-domain';
|
|
66
|
-
import { WebsiteSettingsClient } from './website-settings';
|
|
67
|
-
import { WebsiteThemeClient } from './website-theme';
|
|
68
70
|
import { WebsitePageClient } from './website-page';
|
|
69
71
|
import { ApiClient } from '../api-client';
|
|
70
72
|
export * from './activity';
|
|
@@ -153,6 +155,8 @@ export * from './service';
|
|
|
153
155
|
export * from './service-type';
|
|
154
156
|
export * from './service-request';
|
|
155
157
|
export * from './stay';
|
|
158
|
+
export * from './airbnb';
|
|
159
|
+
export * from './airbnb-property';
|
|
156
160
|
export * from './homeaway';
|
|
157
161
|
export * from './homeaway-property';
|
|
158
162
|
export * from './api-partner';
|
|
@@ -160,6 +164,8 @@ export * from './api-partner-auth';
|
|
|
160
164
|
export * from './booking-com';
|
|
161
165
|
export * from './booking-com-property';
|
|
162
166
|
export * from './booking-com-legal-entity';
|
|
167
|
+
export * from './dtravel';
|
|
168
|
+
export * from './dtravel-property';
|
|
163
169
|
export * from './onboarding';
|
|
164
170
|
export * from './tenant-billing';
|
|
165
171
|
export * from './customer-payment';
|
|
@@ -168,8 +174,6 @@ export * from './website-navigation';
|
|
|
168
174
|
export * from './grouped-website-navigation';
|
|
169
175
|
export * from './website-channel';
|
|
170
176
|
export * from './website-domain';
|
|
171
|
-
export * from './website-settings';
|
|
172
|
-
export * from './website-theme';
|
|
173
177
|
export * from './website-page';
|
|
174
178
|
export declare function init(apiClient: ApiClient): {
|
|
175
179
|
user: UserClient;
|
|
@@ -227,17 +231,19 @@ export declare function init(apiClient: ApiClient): {
|
|
|
227
231
|
serviceType: ServiceTypeClient;
|
|
228
232
|
serviceRequest: ServiceRequestClient;
|
|
229
233
|
stay: StayClient;
|
|
234
|
+
airbnb: AirbnbClient;
|
|
235
|
+
airbnbProperty: AirbnbPropertyClient;
|
|
230
236
|
homeaway: HomeawayClient;
|
|
231
237
|
homeawayProperty: HomeawayPropertyClient;
|
|
232
238
|
apiPartner: ApiPartnerClient;
|
|
233
239
|
bookingCom: BookingComClient;
|
|
234
240
|
bookingComProperty: BookingComPropertyClient;
|
|
235
241
|
bookingComLegalEntity: BookingComLegalEntityClient;
|
|
242
|
+
dtravel: DtravelClient;
|
|
243
|
+
dtravelProperty: DtravelPropertyClient;
|
|
236
244
|
subscription: SubscriptionClient;
|
|
237
245
|
websiteNavigation: WebsiteNavigationClient;
|
|
238
246
|
websiteChannel: WebsiteChannelClient;
|
|
239
247
|
websiteDomain: WebsiteDomainClient;
|
|
240
|
-
websiteSettings: WebsiteSettingsClient;
|
|
241
|
-
websiteTheme: WebsiteThemeClient;
|
|
242
248
|
websitePage: WebsitePageClient;
|
|
243
249
|
};
|