@escapenavigator/services 1.6.81 → 1.6.83
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/cashboxes-api/index.d.ts +2 -0
- package/dist/api/cashboxes-api/index.js +2 -0
- package/dist/api/cashboxes-api/update.d.ts +10 -0
- package/dist/api/cashboxes-api/update.js +12 -0
- package/dist/api/{profiles-api/cross-sale → cross-sale-api}/get-cross-sale.d.ts +1 -1
- package/dist/api/cross-sale-api/get-early-booking.d.ts +6 -0
- package/dist/api/cross-sale-api/get-early-booking.js +8 -0
- package/dist/api/cross-sale-api/get-retargeting.d.ts +6 -0
- package/dist/api/cross-sale-api/get-retargeting.js +8 -0
- package/dist/api/cross-sale-api/get-updale-sale.d.ts +6 -0
- package/dist/api/cross-sale-api/get-updale-sale.js +8 -0
- package/dist/api/cross-sale-api/index.d.ts +20 -0
- package/dist/api/cross-sale-api/index.js +21 -0
- package/dist/api/{profiles-api/cross-sale → cross-sale-api}/update-cross-sale.d.ts +1 -1
- package/dist/api/cross-sale-api/update-early-booking.d.ts +7 -0
- package/dist/api/cross-sale-api/update-early-booking.js +9 -0
- package/dist/api/cross-sale-api/update-retargeting.d.ts +7 -0
- package/dist/api/cross-sale-api/update-retargeting.js +9 -0
- package/dist/api/cross-sale-api/update-up-sale.d.ts +7 -0
- package/dist/api/cross-sale-api/update-up-sale.js +9 -0
- package/dist/api/init-client-api.d.ts +4 -0
- package/dist/api/init-client-api.js +4 -0
- package/dist/api/mailchimp-api/auth-link.d.ts +5 -0
- package/dist/api/mailchimp-api/auth-link.js +8 -0
- package/dist/api/mailchimp-api/check-code.d.ts +9 -0
- package/dist/api/mailchimp-api/check-code.js +11 -0
- package/dist/api/mailchimp-api/get-lists.d.ts +6 -0
- package/dist/api/mailchimp-api/get-lists.js +8 -0
- package/dist/api/mailchimp-api/get.d.ts +6 -0
- package/dist/api/mailchimp-api/get.js +8 -0
- package/dist/api/mailchimp-api/index.d.ts +16 -0
- package/dist/api/mailchimp-api/index.js +17 -0
- package/dist/api/mailchimp-api/remove.d.ts +6 -0
- package/dist/api/mailchimp-api/remove.js +8 -0
- package/dist/api/mailchimp-api/update.d.ts +9 -0
- package/dist/api/mailchimp-api/update.js +12 -0
- package/dist/api/profiles-api/index.d.ts +0 -4
- package/dist/api/profiles-api/index.js +0 -4
- package/package.json +4 -4
- /package/dist/api/{profiles-api/cross-sale → cross-sale-api}/get-cross-sale.js +0 -0
- /package/dist/api/{profiles-api/cross-sale → cross-sale-api}/update-cross-sale.js +0 -0
|
@@ -4,8 +4,10 @@ import { getOne } from './get-one';
|
|
|
4
4
|
import { getVerificationLink } from './get-verification-link';
|
|
5
5
|
import { query } from './query';
|
|
6
6
|
import { remove } from './remove';
|
|
7
|
+
import { update } from './update';
|
|
7
8
|
import { updateOnline } from './update-online';
|
|
8
9
|
declare type ApiDeclaration = {
|
|
10
|
+
update: typeof update;
|
|
9
11
|
createOnline: typeof createOnline;
|
|
10
12
|
getVerificationLink: typeof getVerificationLink;
|
|
11
13
|
getOne: typeof getOne;
|
|
@@ -7,8 +7,10 @@ var get_one_1 = require("./get-one");
|
|
|
7
7
|
var get_verification_link_1 = require("./get-verification-link");
|
|
8
8
|
var query_1 = require("./query");
|
|
9
9
|
var remove_1 = require("./remove");
|
|
10
|
+
var update_1 = require("./update");
|
|
10
11
|
var update_online_1 = require("./update-online");
|
|
11
12
|
exports.cashboxesApiDeclaration = {
|
|
13
|
+
update: update_1.update,
|
|
12
14
|
createOnline: create_online_1.createOnline,
|
|
13
15
|
create: create_1.create,
|
|
14
16
|
getVerificationLink: get_verification_link_1.getVerificationLink,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CashboxRO } from '@escapenavigator/types/dist/cashbox/cashbox.ro';
|
|
2
|
+
import { CreateCashboxDto } from '@escapenavigator/types/dist/cashbox/create-cashbox.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateCashboxDto;
|
|
7
|
+
};
|
|
8
|
+
declare type ResponseData = CashboxRO;
|
|
9
|
+
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.update = void 0;
|
|
4
|
+
var update = function (_a) {
|
|
5
|
+
var data = _a.data, id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/cashboxes/".concat(id),
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.update = update;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CrossSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = undefined;
|
|
4
4
|
declare type ResponseData = CrossSaleRO;
|
|
5
5
|
export declare const getCrossSales: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EarlyBookingRO } from '@escapenavigator/types/dist/profile/cross-sale/early-booking/early-booking.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = EarlyBookingRO;
|
|
5
|
+
export declare const getEarlyBooking: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RetargetingRO } from '@escapenavigator/types/dist/profile/cross-sale/retargeting/retargeting.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = RetargetingRO;
|
|
5
|
+
export declare const getRetargeting: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UpSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/up-sale/up-sale.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = UpSaleRO;
|
|
5
|
+
export declare const getUpSales: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getCrossSales } from './get-cross-sale';
|
|
2
|
+
import { getEarlyBooking } from './get-early-booking';
|
|
3
|
+
import { getRetargeting } from './get-retargeting';
|
|
4
|
+
import { getUpSales } from './get-updale-sale';
|
|
5
|
+
import { updateCrossSale } from './update-cross-sale';
|
|
6
|
+
import { updateEarlyBooking } from './update-early-booking';
|
|
7
|
+
import { updateRetargeting } from './update-retargeting';
|
|
8
|
+
import { updateUpSale } from './update-up-sale';
|
|
9
|
+
declare type ApiDeclaration = {
|
|
10
|
+
getCrossSales: typeof getCrossSales;
|
|
11
|
+
updateCrossSale: typeof updateCrossSale;
|
|
12
|
+
getUpSales: typeof getUpSales;
|
|
13
|
+
updateUpSale: typeof updateUpSale;
|
|
14
|
+
getRetargeting: typeof getRetargeting;
|
|
15
|
+
updateRetargeting: typeof updateRetargeting;
|
|
16
|
+
getEarlyBooking: typeof getEarlyBooking;
|
|
17
|
+
updateEarlyBooking: typeof updateEarlyBooking;
|
|
18
|
+
};
|
|
19
|
+
export declare const crossSalesApiDeclaration: ApiDeclaration;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.crossSalesApiDeclaration = void 0;
|
|
4
|
+
var get_cross_sale_1 = require("./get-cross-sale");
|
|
5
|
+
var get_early_booking_1 = require("./get-early-booking");
|
|
6
|
+
var get_retargeting_1 = require("./get-retargeting");
|
|
7
|
+
var get_updale_sale_1 = require("./get-updale-sale");
|
|
8
|
+
var update_cross_sale_1 = require("./update-cross-sale");
|
|
9
|
+
var update_early_booking_1 = require("./update-early-booking");
|
|
10
|
+
var update_retargeting_1 = require("./update-retargeting");
|
|
11
|
+
var update_up_sale_1 = require("./update-up-sale");
|
|
12
|
+
exports.crossSalesApiDeclaration = {
|
|
13
|
+
updateCrossSale: update_cross_sale_1.updateCrossSale,
|
|
14
|
+
getCrossSales: get_cross_sale_1.getCrossSales,
|
|
15
|
+
updateEarlyBooking: update_early_booking_1.updateEarlyBooking,
|
|
16
|
+
getEarlyBooking: get_early_booking_1.getEarlyBooking,
|
|
17
|
+
updateRetargeting: update_retargeting_1.updateRetargeting,
|
|
18
|
+
getRetargeting: get_retargeting_1.getRetargeting,
|
|
19
|
+
updateUpSale: update_up_sale_1.updateUpSale,
|
|
20
|
+
getUpSales: get_updale_sale_1.getUpSales,
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CrossSaleDto } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.dto';
|
|
2
2
|
import { CrossSaleRO } from '@escapenavigator/types/dist/profile/cross-sale/cross-sale.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = CrossSaleDto;
|
|
5
5
|
declare type ResponseData = CrossSaleRO;
|
|
6
6
|
export declare const updateCrossSale: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
declare type ParamsData = EarlyBookingDto;
|
|
5
|
+
declare type ResponseData = EarlyBookingRO;
|
|
6
|
+
export declare const updateEarlyBooking: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
declare type ParamsData = RetargetingDto;
|
|
5
|
+
declare type ResponseData = RetargetingRO;
|
|
6
|
+
export declare const updateRetargeting: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
declare type ParamsData = UpSaleDto;
|
|
5
|
+
declare type ResponseData = UpSaleRO;
|
|
6
|
+
export declare const updateUpSale: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -9,6 +9,7 @@ import { certificatesaleDiscountsApiDeclaration } from './certificatesales-disco
|
|
|
9
9
|
import { certificateUploadsApiDeclaration } from './certificateuploads-api';
|
|
10
10
|
import { citiesApiDeclaration } from './cities-api';
|
|
11
11
|
import { clientsApiDeclaration } from './clients-api';
|
|
12
|
+
import { crossSalesApiDeclaration } from './cross-sale-api';
|
|
12
13
|
import { dashboardApiDeclaration } from './dashboard-api';
|
|
13
14
|
import { emailsApiDeclaration } from './emails-api';
|
|
14
15
|
import { financeItemsApiDeclaration } from './financeitems-api';
|
|
@@ -16,6 +17,7 @@ import { googleCalendarsApiDeclaration } from './google-calendars-api';
|
|
|
16
17
|
import { imagesApiDeclaration } from './images-api';
|
|
17
18
|
import { locationsApiDeclaration } from './locations-api';
|
|
18
19
|
import { logsApiDeclaration } from './logs-api';
|
|
20
|
+
import { mailchimpApiDeclaration } from './mailchimp-api';
|
|
19
21
|
import { nowEscapeApiDeclaration } from './now-escape-api';
|
|
20
22
|
import { openapiWidgetApiDeclaration } from './openapi-widget-api';
|
|
21
23
|
import { orderCertificateUploadsApiDeclaration } from './order-certificate-uploads-api';
|
|
@@ -52,6 +54,8 @@ import { usersApiDeclaration } from './users-api';
|
|
|
52
54
|
import { widgetsApiDeclaration } from './widgets-api';
|
|
53
55
|
import { Api } from '.';
|
|
54
56
|
export declare type InitApiDeclaration = {
|
|
57
|
+
crossSalesApi: Api<typeof crossSalesApiDeclaration>;
|
|
58
|
+
mailchimpApi: Api<typeof mailchimpApiDeclaration>;
|
|
55
59
|
playersApi: Api<typeof playersApiDeclaration>;
|
|
56
60
|
googleCalendarsApi: Api<typeof googleCalendarsApiDeclaration>;
|
|
57
61
|
slotRulesApi: Api<typeof slotRulesApi>;
|
|
@@ -12,6 +12,7 @@ var certificatesales_discounts_api_1 = require("./certificatesales-discounts-api
|
|
|
12
12
|
var certificateuploads_api_1 = require("./certificateuploads-api");
|
|
13
13
|
var cities_api_1 = require("./cities-api");
|
|
14
14
|
var clients_api_1 = require("./clients-api");
|
|
15
|
+
var cross_sale_api_1 = require("./cross-sale-api");
|
|
15
16
|
var dashboard_api_1 = require("./dashboard-api");
|
|
16
17
|
var emails_api_1 = require("./emails-api");
|
|
17
18
|
var financeitems_api_1 = require("./financeitems-api");
|
|
@@ -19,6 +20,7 @@ var google_calendars_api_1 = require("./google-calendars-api");
|
|
|
19
20
|
var images_api_1 = require("./images-api");
|
|
20
21
|
var locations_api_1 = require("./locations-api");
|
|
21
22
|
var logs_api_1 = require("./logs-api");
|
|
23
|
+
var mailchimp_api_1 = require("./mailchimp-api");
|
|
22
24
|
var now_escape_api_1 = require("./now-escape-api");
|
|
23
25
|
var openapi_widget_api_1 = require("./openapi-widget-api");
|
|
24
26
|
var order_certificate_uploads_api_1 = require("./order-certificate-uploads-api");
|
|
@@ -55,7 +57,9 @@ var users_api_1 = require("./users-api");
|
|
|
55
57
|
var widgets_api_1 = require("./widgets-api");
|
|
56
58
|
var _1 = require(".");
|
|
57
59
|
var initClientApi = function (url) { return ({
|
|
60
|
+
crossSalesApi: (0, _1.initApi)(cross_sale_api_1.crossSalesApiDeclaration, url),
|
|
58
61
|
playersApi: (0, _1.initApi)(players_api_1.playersApiDeclaration, url),
|
|
62
|
+
mailchimpApi: (0, _1.initApi)(mailchimp_api_1.mailchimpApiDeclaration, url),
|
|
59
63
|
nowEscape: (0, _1.initApi)(now_escape_api_1.nowEscapeApiDeclaration, url),
|
|
60
64
|
googleCalendarsApi: (0, _1.initApi)(google_calendars_api_1.googleCalendarsApiDeclaration, url),
|
|
61
65
|
slotRulesApi: (0, _1.initApi)(slot_rules_api_1.slotRulesApi, url),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MailchimpRO } from '@escapenavigator/types/dist/mailchimp/mailchimp.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
profileId: number;
|
|
5
|
+
code: string;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = MailchimpRO;
|
|
8
|
+
export declare const checkCode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkCode = void 0;
|
|
4
|
+
var checkCode = function (_a) {
|
|
5
|
+
var code = _a.code, profileId = _a.profileId;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/mailchimp/check-code/".concat(code, "/").concat(profileId),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.checkCode = checkCode;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MailchimpListRO } from '@escapenavigator/types/dist/mailchimp/mailchimp.list.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = MailchimpListRO[];
|
|
5
|
+
export declare const getLists: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MailchimpRO } from '@escapenavigator/types/dist/mailchimp/mailchimp.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = MailchimpRO;
|
|
5
|
+
export declare const get: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { authLink } from './auth-link';
|
|
2
|
+
import { checkCode } from './check-code';
|
|
3
|
+
import { get } from './get';
|
|
4
|
+
import { getLists } from './get-lists';
|
|
5
|
+
import { remove } from './remove';
|
|
6
|
+
import { update } from './update';
|
|
7
|
+
declare type ApiDeclaration = {
|
|
8
|
+
getLists: typeof getLists;
|
|
9
|
+
authLink: typeof authLink;
|
|
10
|
+
checkCode: typeof checkCode;
|
|
11
|
+
get: typeof get;
|
|
12
|
+
update: typeof update;
|
|
13
|
+
remove: typeof remove;
|
|
14
|
+
};
|
|
15
|
+
export declare const mailchimpApiDeclaration: ApiDeclaration;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mailchimpApiDeclaration = void 0;
|
|
4
|
+
var auth_link_1 = require("./auth-link");
|
|
5
|
+
var check_code_1 = require("./check-code");
|
|
6
|
+
var get_1 = require("./get");
|
|
7
|
+
var get_lists_1 = require("./get-lists");
|
|
8
|
+
var remove_1 = require("./remove");
|
|
9
|
+
var update_1 = require("./update");
|
|
10
|
+
exports.mailchimpApiDeclaration = {
|
|
11
|
+
get: get_1.get,
|
|
12
|
+
getLists: get_lists_1.getLists,
|
|
13
|
+
authLink: auth_link_1.authLink,
|
|
14
|
+
checkCode: check_code_1.checkCode,
|
|
15
|
+
update: update_1.update,
|
|
16
|
+
remove: remove_1.remove,
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = SuccessRO;
|
|
5
|
+
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MailchimpDto } from '@escapenavigator/types/dist/mailchimp/mailchimp.dto';
|
|
2
|
+
import { MailchimpRO } from '@escapenavigator/types/dist/mailchimp/mailchimp.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: MailchimpDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = MailchimpRO;
|
|
8
|
+
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.update = void 0;
|
|
4
|
+
var update = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/mailchimp',
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.update = update;
|
|
@@ -9,8 +9,6 @@ import { getBookeoOrders } from './bookeo/get-bookeo-orders';
|
|
|
9
9
|
import { resyncBookeo } from './bookeo/resync-bookeo';
|
|
10
10
|
import { createContact } from './contacts/create-contact';
|
|
11
11
|
import { removeContact } from './contacts/remove-contact';
|
|
12
|
-
import { getCrossSales } from './cross-sale/get-cross-sale';
|
|
13
|
-
import { updateCrossSale } from './cross-sale/update-cross-sale';
|
|
14
12
|
import { current } from './current/current';
|
|
15
13
|
import { finalizeCurrent } from './current/finalize-current';
|
|
16
14
|
import { updateCurrent } from './current/update-current';
|
|
@@ -57,8 +55,6 @@ declare type ApiDeclaration = {
|
|
|
57
55
|
getBookeoInfo: typeof getBookeoInfo;
|
|
58
56
|
getBookeoIntegrationLink: typeof getBookeoIntegrationLink;
|
|
59
57
|
getBookeoOrders: typeof getBookeoOrders;
|
|
60
|
-
getCrossSales: typeof getCrossSales;
|
|
61
|
-
updateCrossSale: typeof updateCrossSale;
|
|
62
58
|
getProfileAgb: typeof getProfileAgb;
|
|
63
59
|
getProfileAgbForOrderService: typeof getProfileAgbForOrderService;
|
|
64
60
|
updateProfileAgb: typeof updateProfileAgb;
|
|
@@ -12,8 +12,6 @@ var get_bookeo_orders_1 = require("./bookeo/get-bookeo-orders");
|
|
|
12
12
|
var resync_bookeo_1 = require("./bookeo/resync-bookeo");
|
|
13
13
|
var create_contact_1 = require("./contacts/create-contact");
|
|
14
14
|
var remove_contact_1 = require("./contacts/remove-contact");
|
|
15
|
-
var get_cross_sale_1 = require("./cross-sale/get-cross-sale");
|
|
16
|
-
var update_cross_sale_1 = require("./cross-sale/update-cross-sale");
|
|
17
15
|
var current_1 = require("./current/current");
|
|
18
16
|
var finalize_current_1 = require("./current/finalize-current");
|
|
19
17
|
var update_current_1 = require("./current/update-current");
|
|
@@ -59,8 +57,6 @@ exports.profilesApiDeclaration = {
|
|
|
59
57
|
getAllCrm: get_all_crm_1.getAllCrm,
|
|
60
58
|
createOtherCrm: create_other_crm_1.createOtherCrm,
|
|
61
59
|
getProfileAgbForOrderService: get_profile_agb_for_order_service_1.getProfileAgbForOrderService,
|
|
62
|
-
getCrossSales: get_cross_sale_1.getCrossSales,
|
|
63
|
-
updateCrossSale: update_cross_sale_1.updateCrossSale,
|
|
64
60
|
getProfileAgb: get_profile_agb_1.getProfileAgb,
|
|
65
61
|
updateProfileAgb: update_profile_agb_1.updateProfileAgb,
|
|
66
62
|
updateSubscription: update_subscription_1.updateSubscription,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.83",
|
|
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": "8d252c412be054b27bebb5014a07029719c6c6f0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.78",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.80",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|
|
File without changes
|
|
File without changes
|