@escapenavigator/services 1.10.158 → 1.10.160
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/api/init-client-api.d.ts +0 -2
- package/dist/api/init-client-api.js +0 -2
- package/package.json +4 -4
- package/dist/api/cross-sale-api/get-birthday-marketing.d.ts +0 -15
- package/dist/api/cross-sale-api/get-birthday-marketing.js +0 -9
- package/dist/api/cross-sale-api/get-cross-sale.d.ts +0 -7
- package/dist/api/cross-sale-api/get-cross-sale.js +0 -9
- package/dist/api/cross-sale-api/get-custom-client-booking-email.d.ts +0 -7
- package/dist/api/cross-sale-api/get-custom-client-booking-email.js +0 -9
- package/dist/api/cross-sale-api/get-early-booking.d.ts +0 -7
- package/dist/api/cross-sale-api/get-early-booking.js +0 -9
- package/dist/api/cross-sale-api/get-retargeting.d.ts +0 -7
- package/dist/api/cross-sale-api/get-retargeting.js +0 -9
- package/dist/api/cross-sale-api/get-updale-sale.d.ts +0 -7
- package/dist/api/cross-sale-api/get-updale-sale.js +0 -9
- package/dist/api/cross-sale-api/index.d.ts +0 -28
- package/dist/api/cross-sale-api/index.js +0 -29
- package/dist/api/cross-sale-api/update-birthday-marketing.d.ts +0 -15
- package/dist/api/cross-sale-api/update-birthday-marketing.js +0 -9
- package/dist/api/cross-sale-api/update-cross-sale.d.ts +0 -7
- package/dist/api/cross-sale-api/update-cross-sale.js +0 -9
- package/dist/api/cross-sale-api/update-custom-client-booking-email.d.ts +0 -7
- package/dist/api/cross-sale-api/update-custom-client-booking-email.js +0 -9
- package/dist/api/cross-sale-api/update-early-booking.d.ts +0 -7
- package/dist/api/cross-sale-api/update-early-booking.js +0 -9
- package/dist/api/cross-sale-api/update-retargeting.d.ts +0 -7
- package/dist/api/cross-sale-api/update-retargeting.js +0 -9
- package/dist/api/cross-sale-api/update-up-sale.d.ts +0 -7
- package/dist/api/cross-sale-api/update-up-sale.js +0 -9
|
@@ -16,7 +16,6 @@ import { certificateUploadsApiDeclaration } from './certificateuploads-api';
|
|
|
16
16
|
import { citiesApiDeclaration } from './cities-api';
|
|
17
17
|
import { clientsApiDeclaration } from './clients-api';
|
|
18
18
|
import { cronParserApiDeclaration } from './cron-parser-api';
|
|
19
|
-
import { crossSalesApiDeclaration } from './cross-sale-api';
|
|
20
19
|
import { customFieldsApiDeclaration } from './custom-fields-api';
|
|
21
20
|
import { dashboardApiDeclaration } from './dashboard-api';
|
|
22
21
|
import { dynamicResourcesApiDeclaration } from './dynamic-resources-api';
|
|
@@ -78,7 +77,6 @@ import { widgetsApiDeclaration } from './widgets-api';
|
|
|
78
77
|
export type InitApiDeclaration = {
|
|
79
78
|
customFieldsApi: Api<typeof customFieldsApiDeclaration>;
|
|
80
79
|
questroomScenarioEmailApi: Api<typeof questroomScenarioEmailApiDeclaration>;
|
|
81
|
-
crossSalesApi: Api<typeof crossSalesApiDeclaration>;
|
|
82
80
|
mailchimpApi: Api<typeof mailchimpApiDeclaration>;
|
|
83
81
|
playersApi: Api<typeof playersApiDeclaration>;
|
|
84
82
|
googleCalendarsApi: Api<typeof googleCalendarsApiDeclaration>;
|
|
@@ -19,7 +19,6 @@ var certificateuploads_api_1 = require("./certificateuploads-api");
|
|
|
19
19
|
var cities_api_1 = require("./cities-api");
|
|
20
20
|
var clients_api_1 = require("./clients-api");
|
|
21
21
|
var cron_parser_api_1 = require("./cron-parser-api");
|
|
22
|
-
var cross_sale_api_1 = require("./cross-sale-api");
|
|
23
22
|
var custom_fields_api_1 = require("./custom-fields-api");
|
|
24
23
|
var dashboard_api_1 = require("./dashboard-api");
|
|
25
24
|
var dynamic_resources_api_1 = require("./dynamic-resources-api");
|
|
@@ -83,7 +82,6 @@ var initClientApi = function (url, clientOptions) { return ({
|
|
|
83
82
|
customFieldsApi: (0, _1.initApi)(custom_fields_api_1.customFieldsApiDeclaration, url, clientOptions),
|
|
84
83
|
orderEmailsApi: (0, _1.initApi)(order_emails_api_1.orderEmailsApiDeclaration, url, clientOptions),
|
|
85
84
|
questroomScenarioEmailApi: (0, _1.initApi)(questrooms_scenatio_email_api_1.questroomScenarioEmailApiDeclaration, url, clientOptions),
|
|
86
|
-
crossSalesApi: (0, _1.initApi)(cross_sale_api_1.crossSalesApiDeclaration, url, clientOptions),
|
|
87
85
|
playersApi: (0, _1.initApi)(players_api_1.playersApiDeclaration, url, clientOptions),
|
|
88
86
|
mailchimpApi: (0, _1.initApi)(mailchimp_api_1.mailchimpApiDeclaration, url, clientOptions),
|
|
89
87
|
nowEscape: (0, _1.initApi)(now_escape_api_1.nowEscapeApiDeclaration, url, clientOptions),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.160",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "e868f8962dfa6caab506d64bd4c6c091514e44a2",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.149",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.155",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BirthdayMarketingDto } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing.dto';
|
|
2
|
-
import { BirthdayMarketingRO } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing.ro';
|
|
3
|
-
import { BirthdayMarketingAudienceEnum } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing-audience.enum';
|
|
4
|
-
import { ApiMethodDeclaration } from '..';
|
|
5
|
-
/**
|
|
6
|
-
* `audience` обязателен и идёт в URL: бэкенд хранит две независимые
|
|
7
|
-
* конфигурации (adult/child) на профиль, и эта же ось разделяет
|
|
8
|
-
* карточки на странице маркетинга.
|
|
9
|
-
*/
|
|
10
|
-
type ParamsData = BirthdayMarketingDto & {
|
|
11
|
-
audience: BirthdayMarketingAudienceEnum;
|
|
12
|
-
};
|
|
13
|
-
type ResponseData = BirthdayMarketingRO;
|
|
14
|
-
export declare const getBirthdayMarketing: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
15
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getBirthdayMarketing = void 0;
|
|
4
|
-
var getBirthdayMarketing = function (data) { return ({
|
|
5
|
-
url: "/birthday-marketing/".concat(data.audience),
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.getBirthdayMarketing = getBirthdayMarketing;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CrossSaleDto } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.dto';
|
|
2
|
-
import { CrossSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = CrossSaleDto;
|
|
5
|
-
type ResponseData = CrossSaleRO;
|
|
6
|
-
export declare const getCrossSales: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCrossSales = void 0;
|
|
4
|
-
var getCrossSales = function (data) { return ({
|
|
5
|
-
url: '/cross-sales',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.getCrossSales = getCrossSales;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CustomClientBookingEmailDto } from '@escapenavigator/types/dist/profile/custom-client-booking-email/custom-client-booking-email.dto';
|
|
2
|
-
import { CustomClientBookingEmailRO } from '@escapenavigator/types/dist/profile/custom-client-booking-email/custom-client-booking-email.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = CustomClientBookingEmailDto;
|
|
5
|
-
type ResponseData = CustomClientBookingEmailRO;
|
|
6
|
-
export declare const getCustomClientBookingEmail: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCustomClientBookingEmail = void 0;
|
|
4
|
-
var getCustomClientBookingEmail = function (data) { return ({
|
|
5
|
-
url: '/custom-client-booking-email',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.getCustomClientBookingEmail = getCustomClientBookingEmail;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EarlyBookingDto } from '@escapenavigator/types/dist/profile/cross-sale/early-booking/early-booking.dto';
|
|
2
|
-
import { EarlyBookingRO } from '@escapenavigator/types/dist/profile/cross-sale/early-booking/early-booking.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = EarlyBookingDto;
|
|
5
|
-
type ResponseData = EarlyBookingRO;
|
|
6
|
-
export declare const getEarlyBooking: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getEarlyBooking = void 0;
|
|
4
|
-
var getEarlyBooking = function (data) { return ({
|
|
5
|
-
url: '/early-booking',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.getEarlyBooking = getEarlyBooking;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RetargetingDto } from '@escapenavigator/types/dist/profile/cross-sale/retargeting/retargeting.dto';
|
|
2
|
-
import { RetargetingRO } from '@escapenavigator/types/dist/profile/cross-sale/retargeting/retargeting.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = RetargetingDto;
|
|
5
|
-
type ResponseData = RetargetingRO;
|
|
6
|
-
export declare const getRetargeting: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRetargeting = void 0;
|
|
4
|
-
var getRetargeting = function (data) { return ({
|
|
5
|
-
url: '/retargeting',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.getRetargeting = getRetargeting;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { UpSaleDto } from '@escapenavigator/types/dist/profile/cross-sale/up-sale/up-sale.dto';
|
|
2
|
-
import { UpSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/up-sale/up-sale.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = UpSaleDto;
|
|
5
|
-
type ResponseData = UpSaleRO;
|
|
6
|
-
export declare const getUpSales: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { getBirthdayMarketing } from './get-birthday-marketing';
|
|
2
|
-
import { getCrossSales } from './get-cross-sale';
|
|
3
|
-
import { getCustomClientBookingEmail } from './get-custom-client-booking-email';
|
|
4
|
-
import { getEarlyBooking } from './get-early-booking';
|
|
5
|
-
import { getRetargeting } from './get-retargeting';
|
|
6
|
-
import { getUpSales } from './get-updale-sale';
|
|
7
|
-
import { updateBirthdayMarketing } from './update-birthday-marketing';
|
|
8
|
-
import { updateCrossSale } from './update-cross-sale';
|
|
9
|
-
import { updateCustomClientBookingEmail } from './update-custom-client-booking-email';
|
|
10
|
-
import { updateEarlyBooking } from './update-early-booking';
|
|
11
|
-
import { updateRetargeting } from './update-retargeting';
|
|
12
|
-
import { updateUpSale } from './update-up-sale';
|
|
13
|
-
type ApiDeclaration = {
|
|
14
|
-
getBirthdayMarketing: typeof getBirthdayMarketing;
|
|
15
|
-
updateBirthdayMarketing: typeof updateBirthdayMarketing;
|
|
16
|
-
getCustomClientBookingEmail: typeof getCustomClientBookingEmail;
|
|
17
|
-
updateCustomClientBookingEmail: typeof updateCustomClientBookingEmail;
|
|
18
|
-
getCrossSales: typeof getCrossSales;
|
|
19
|
-
updateCrossSale: typeof updateCrossSale;
|
|
20
|
-
getUpSales: typeof getUpSales;
|
|
21
|
-
updateUpSale: typeof updateUpSale;
|
|
22
|
-
getRetargeting: typeof getRetargeting;
|
|
23
|
-
updateRetargeting: typeof updateRetargeting;
|
|
24
|
-
getEarlyBooking: typeof getEarlyBooking;
|
|
25
|
-
updateEarlyBooking: typeof updateEarlyBooking;
|
|
26
|
-
};
|
|
27
|
-
export declare const crossSalesApiDeclaration: ApiDeclaration;
|
|
28
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.crossSalesApiDeclaration = void 0;
|
|
4
|
-
var get_birthday_marketing_1 = require("./get-birthday-marketing");
|
|
5
|
-
var get_cross_sale_1 = require("./get-cross-sale");
|
|
6
|
-
var get_custom_client_booking_email_1 = require("./get-custom-client-booking-email");
|
|
7
|
-
var get_early_booking_1 = require("./get-early-booking");
|
|
8
|
-
var get_retargeting_1 = require("./get-retargeting");
|
|
9
|
-
var get_updale_sale_1 = require("./get-updale-sale");
|
|
10
|
-
var update_birthday_marketing_1 = require("./update-birthday-marketing");
|
|
11
|
-
var update_cross_sale_1 = require("./update-cross-sale");
|
|
12
|
-
var update_custom_client_booking_email_1 = require("./update-custom-client-booking-email");
|
|
13
|
-
var update_early_booking_1 = require("./update-early-booking");
|
|
14
|
-
var update_retargeting_1 = require("./update-retargeting");
|
|
15
|
-
var update_up_sale_1 = require("./update-up-sale");
|
|
16
|
-
exports.crossSalesApiDeclaration = {
|
|
17
|
-
getBirthdayMarketing: get_birthday_marketing_1.getBirthdayMarketing,
|
|
18
|
-
updateBirthdayMarketing: update_birthday_marketing_1.updateBirthdayMarketing,
|
|
19
|
-
getCustomClientBookingEmail: get_custom_client_booking_email_1.getCustomClientBookingEmail,
|
|
20
|
-
updateCustomClientBookingEmail: update_custom_client_booking_email_1.updateCustomClientBookingEmail,
|
|
21
|
-
updateCrossSale: update_cross_sale_1.updateCrossSale,
|
|
22
|
-
getCrossSales: get_cross_sale_1.getCrossSales,
|
|
23
|
-
updateEarlyBooking: update_early_booking_1.updateEarlyBooking,
|
|
24
|
-
getEarlyBooking: get_early_booking_1.getEarlyBooking,
|
|
25
|
-
updateRetargeting: update_retargeting_1.updateRetargeting,
|
|
26
|
-
getRetargeting: get_retargeting_1.getRetargeting,
|
|
27
|
-
updateUpSale: update_up_sale_1.updateUpSale,
|
|
28
|
-
getUpSales: get_updale_sale_1.getUpSales,
|
|
29
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BirthdayMarketingDto } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing.dto';
|
|
2
|
-
import { BirthdayMarketingRO } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing.ro';
|
|
3
|
-
import { BirthdayMarketingAudienceEnum } from '@escapenavigator/types/dist/profile/birthday-marketing/birthday-marketing-audience.enum';
|
|
4
|
-
import { ApiMethodDeclaration } from '..';
|
|
5
|
-
/**
|
|
6
|
-
* `audience` обязателен и идёт в URL: бэкенд хранит две независимые
|
|
7
|
-
* конфигурации (adult/child) на профиль и нормализует поле в DTO под
|
|
8
|
-
* path-параметр, чтобы рассинхрон фронта не повредил данные.
|
|
9
|
-
*/
|
|
10
|
-
type ParamsData = BirthdayMarketingDto & {
|
|
11
|
-
audience: BirthdayMarketingAudienceEnum;
|
|
12
|
-
};
|
|
13
|
-
type ResponseData = BirthdayMarketingRO;
|
|
14
|
-
export declare const updateBirthdayMarketing: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
15
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateBirthdayMarketing = void 0;
|
|
4
|
-
var updateBirthdayMarketing = function (data) { return ({
|
|
5
|
-
url: "/birthday-marketing/".concat(data.audience),
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateBirthdayMarketing = updateBirthdayMarketing;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CrossSaleDto } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.dto';
|
|
2
|
-
import { CrossSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = CrossSaleDto;
|
|
5
|
-
type ResponseData = CrossSaleRO;
|
|
6
|
-
export declare const updateCrossSale: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCrossSale = void 0;
|
|
4
|
-
var updateCrossSale = function (data) { return ({
|
|
5
|
-
url: '/cross-sales',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateCrossSale = updateCrossSale;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CustomClientBookingEmailDto } from '@escapenavigator/types/dist/profile/custom-client-booking-email/custom-client-booking-email.dto';
|
|
2
|
-
import { CustomClientBookingEmailRO } from '@escapenavigator/types/dist/profile/custom-client-booking-email/custom-client-booking-email.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = CustomClientBookingEmailDto;
|
|
5
|
-
type ResponseData = CustomClientBookingEmailRO;
|
|
6
|
-
export declare const updateCustomClientBookingEmail: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCustomClientBookingEmail = void 0;
|
|
4
|
-
var updateCustomClientBookingEmail = function (data) { return ({
|
|
5
|
-
url: '/custom-client-booking-email',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateCustomClientBookingEmail = updateCustomClientBookingEmail;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EarlyBookingDto } from '@escapenavigator/types/dist/profile/cross-sale/early-booking/early-booking.dto';
|
|
2
|
-
import { EarlyBookingRO } from '@escapenavigator/types/dist/profile/cross-sale/early-booking/early-booking.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = EarlyBookingDto;
|
|
5
|
-
type ResponseData = EarlyBookingRO;
|
|
6
|
-
export declare const updateEarlyBooking: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateEarlyBooking = void 0;
|
|
4
|
-
var updateEarlyBooking = function (data) { return ({
|
|
5
|
-
url: '/early-booking',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateEarlyBooking = updateEarlyBooking;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RetargetingDto } from '@escapenavigator/types/dist/profile/cross-sale/retargeting/retargeting.dto';
|
|
2
|
-
import { RetargetingRO } from '@escapenavigator/types/dist/profile/cross-sale/retargeting/retargeting.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = RetargetingDto;
|
|
5
|
-
type ResponseData = RetargetingRO;
|
|
6
|
-
export declare const updateRetargeting: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateRetargeting = void 0;
|
|
4
|
-
var updateRetargeting = function (data) { return ({
|
|
5
|
-
url: '/retargeting',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateRetargeting = updateRetargeting;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { UpSaleDto } from '@escapenavigator/types/dist/profile/cross-sale/up-sale/up-sale.dto';
|
|
2
|
-
import { UpSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/up-sale/up-sale.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
type ParamsData = UpSaleDto;
|
|
5
|
-
type ResponseData = UpSaleRO;
|
|
6
|
-
export declare const updateUpSale: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|