@escapenavigator/services 1.6.19 → 1.6.21
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/create-online.d.ts +9 -0
- package/dist/api/{widgets-openapi/create-order.js → cashboxes-api/create-online.js} +4 -4
- package/dist/api/cashboxes-api/index.d.ts +4 -4
- package/dist/api/cashboxes-api/index.js +4 -4
- package/dist/api/cashboxes-api/update-online.d.ts +10 -0
- package/dist/api/cashboxes-api/{update.js → update-online.js} +4 -4
- package/dist/api/order-upsellings-api/create.d.ts +1 -0
- package/dist/api/order-upsellings-api/create.js +2 -2
- package/dist/api/profiles-api/actions/create-action.d.ts +9 -0
- package/dist/api/profiles-api/{messages/create-message.js → actions/create-action.js} +4 -4
- package/dist/api/profiles-api/actions/query-actions.d.ts +9 -0
- package/dist/api/profiles-api/actions/query-actions.js +9 -0
- package/dist/api/profiles-api/index.d.ts +4 -2
- package/dist/api/profiles-api/index.js +4 -2
- package/dist/api/promocodes-api/update.d.ts +3 -2
- package/dist/api/slots-api/force-remove-hold.d.ts +6 -0
- package/dist/api/slots-api/force-remove-hold.js +8 -0
- package/dist/api/slots-api/index.d.ts +2 -0
- package/dist/api/slots-api/index.js +2 -0
- package/dist/api/widgets-openapi/index.d.ts +13 -7
- package/dist/api/widgets-openapi/index.js +13 -7
- package/dist/api/widgets-openapi/order/capture-paypal-order.d.ts +9 -0
- package/dist/api/widgets-openapi/order/capture-paypal-order.js +9 -0
- package/dist/api/widgets-openapi/{continue-order-without-payment.d.ts → order/continue-order-without-payment.d.ts} +1 -1
- package/dist/api/widgets-openapi/{continue-order-without-payment.js → order/continue-order-without-payment.js} +1 -1
- package/dist/api/widgets-openapi/{create-bookeo-order.d.ts → order/create-bookeo-order.d.ts} +1 -1
- package/dist/api/widgets-openapi/{create-bookeo-order.js → order/create-bookeo-order.js} +1 -1
- package/dist/api/widgets-openapi/order/create-preorder.d.ts +9 -0
- package/dist/api/widgets-openapi/order/create-preorder.js +12 -0
- package/dist/api/widgets-openapi/{find-order.d.ts → order/find-order.d.ts} +1 -1
- package/dist/api/{widgets-orders → widgets-openapi/order}/find-order.js +1 -1
- package/dist/api/{widgets-orders/order-payment.d.ts → widgets-openapi/order/order-payment-paypal.d.ts} +2 -2
- package/dist/api/widgets-openapi/order/order-payment-paypal.js +9 -0
- package/dist/api/widgets-openapi/order/order-payment-stripe.d.ts +7 -0
- package/dist/api/widgets-openapi/order/order-payment-stripe.js +9 -0
- package/dist/api/widgets-orders/certificate-paypal-payment.d.ts +6 -0
- package/dist/api/widgets-orders/certificate-paypal-payment.js +8 -0
- package/dist/api/widgets-orders/certificate-stripe-payment.d.ts +6 -0
- package/dist/api/widgets-orders/certificate-stripe-payment.js +8 -0
- package/dist/api/widgets-orders/find-certificate.js +1 -1
- package/dist/api/widgets-orders/index.d.ts +7 -7
- package/dist/api/widgets-orders/index.js +7 -7
- package/dist/api/widgets-orders/{cancel-order.d.ts → order/cancel-order.d.ts} +1 -1
- package/dist/api/widgets-orders/{find-order.d.ts → order/find-order.d.ts} +1 -1
- package/dist/api/{widgets-openapi → widgets-orders/order}/find-order.js +1 -1
- package/package.json +4 -4
- package/dist/api/cashboxes-api/toggle-enable.d.ts +0 -6
- package/dist/api/cashboxes-api/toggle-enable.js +0 -8
- package/dist/api/cashboxes-api/update.d.ts +0 -10
- package/dist/api/profiles-api/messages/create-message.d.ts +0 -9
- package/dist/api/widgets-openapi/create-order.d.ts +0 -9
- package/dist/api/widgets-orders/certificate-payment.d.ts +0 -7
- package/dist/api/widgets-orders/certificate-payment.js +0 -9
- package/dist/api/widgets-orders/order-payment.js +0 -9
- /package/dist/api/widgets-orders/{cancel-order.js → order/cancel-order.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CashboxRO } from '@escapenavigator/types/dist/cashbox/cashbox.ro';
|
|
2
|
+
import { CreateOnlineCashboxDto } from '@escapenavigator/types/dist/cashbox/create-online-cashbox.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateOnlineCashboxDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = CashboxRO;
|
|
8
|
+
export declare const createOnline: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.createOnline = void 0;
|
|
4
|
+
var createOnline = function (_a) {
|
|
5
5
|
var data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: '/
|
|
7
|
+
url: '/cashboxes/online',
|
|
8
8
|
method: 'POST',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.createOnline = createOnline;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { create } from './create';
|
|
2
|
+
import { createOnline } from './create-online';
|
|
2
3
|
import { getOne } from './get-one';
|
|
3
4
|
import { getVerificationLink } from './get-verification-link';
|
|
4
5
|
import { query } from './query';
|
|
5
6
|
import { remove } from './remove';
|
|
6
|
-
import {
|
|
7
|
-
import { update } from './update';
|
|
7
|
+
import { updateOnline } from './update-online';
|
|
8
8
|
declare type ApiDeclaration = {
|
|
9
|
+
createOnline: typeof createOnline;
|
|
9
10
|
getVerificationLink: typeof getVerificationLink;
|
|
10
11
|
getOne: typeof getOne;
|
|
11
12
|
create: typeof create;
|
|
12
13
|
remove: typeof remove;
|
|
13
14
|
query: typeof query;
|
|
14
|
-
|
|
15
|
-
update: typeof update;
|
|
15
|
+
updateOnline: typeof updateOnline;
|
|
16
16
|
};
|
|
17
17
|
export declare const cashboxesApiDeclaration: ApiDeclaration;
|
|
18
18
|
export {};
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cashboxesApiDeclaration = void 0;
|
|
4
4
|
var create_1 = require("./create");
|
|
5
|
+
var create_online_1 = require("./create-online");
|
|
5
6
|
var get_one_1 = require("./get-one");
|
|
6
7
|
var get_verification_link_1 = require("./get-verification-link");
|
|
7
8
|
var query_1 = require("./query");
|
|
8
9
|
var remove_1 = require("./remove");
|
|
9
|
-
var
|
|
10
|
-
var update_1 = require("./update");
|
|
10
|
+
var update_online_1 = require("./update-online");
|
|
11
11
|
exports.cashboxesApiDeclaration = {
|
|
12
|
+
createOnline: create_online_1.createOnline,
|
|
12
13
|
create: create_1.create,
|
|
13
14
|
getVerificationLink: get_verification_link_1.getVerificationLink,
|
|
14
15
|
remove: remove_1.remove,
|
|
15
16
|
query: query_1.query,
|
|
16
|
-
toggleEnabled: toggle_enable_1.toggleEnabled,
|
|
17
17
|
getOne: get_one_1.getOne,
|
|
18
|
-
|
|
18
|
+
updateOnline: update_online_1.updateOnline,
|
|
19
19
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CashboxRO } from '@escapenavigator/types/dist/cashbox/cashbox.ro';
|
|
2
|
+
import { UpdateOnlineCashboxDto } from '@escapenavigator/types/dist/cashbox/update-online-cashbox.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: UpdateOnlineCashboxDto;
|
|
7
|
+
};
|
|
8
|
+
declare type ResponseData = CashboxRO;
|
|
9
|
+
export declare const updateOnline: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.updateOnline = void 0;
|
|
4
|
+
var updateOnline = function (_a) {
|
|
5
5
|
var id = _a.id, data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: "/cashboxes/".concat(id),
|
|
7
|
+
url: "/cashboxes/online/".concat(id),
|
|
8
8
|
method: 'PATCH',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.updateOnline = updateOnline;
|
|
@@ -2,6 +2,7 @@ import { CreateOrderUpsellingDto } from '@escapenavigator/types/dist/order-upsel
|
|
|
2
2
|
import { OrderRO } from '@escapenavigator/types/dist/order/order.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
5
6
|
data: CreateOrderUpsellingDto;
|
|
6
7
|
};
|
|
7
8
|
declare type ResponseData = OrderRO;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.create = void 0;
|
|
4
4
|
var create = function (_a) {
|
|
5
|
-
var data = _a.data;
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url:
|
|
7
|
+
url: "/order-upsellings/".concat(id),
|
|
8
8
|
method: 'POST',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateProfileActionDto } from '@escapenavigator/types/dist/profile/action/create-profile-action.dto';
|
|
2
|
+
import { ProfileActionDto } from '@escapenavigator/types/dist/profile/action/profile-action.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateProfileActionDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = ProfileActionDto;
|
|
8
|
+
export declare const createAction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.createAction = void 0;
|
|
4
|
+
var createAction = function (_a) {
|
|
5
5
|
var data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: '/profile-
|
|
7
|
+
url: '/profile-actions',
|
|
8
8
|
method: 'POST',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.createAction = createAction;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProfileActionDto } from '@escapenavigator/types/dist/profile/action/profile-action.dto';
|
|
2
|
+
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
3
|
+
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
4
|
+
import { ApiMethodDeclaration } from '../..';
|
|
5
|
+
/** Поиск по названию организации и контактному телефону */
|
|
6
|
+
declare type ParamsData = QueryDto;
|
|
7
|
+
declare type ResponseData = QueryRO<ProfileActionDto>;
|
|
8
|
+
export declare const queryActions: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryActions = void 0;
|
|
4
|
+
var queryActions = function (params) { return ({
|
|
5
|
+
url: '/profile-actions',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.queryActions = queryActions;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { createAction } from './actions/create-action';
|
|
2
|
+
import { queryActions } from './actions/query-actions';
|
|
1
3
|
import { getProfileAgb } from './agb/get-profile-agb';
|
|
2
4
|
import { getProfileAgbForOrderService } from './agb/get-profile-agb-for-order-service';
|
|
3
5
|
import { updateProfileAgb } from './agb/update-profile-agb';
|
|
@@ -15,7 +17,6 @@ import { createSending } from './email/create-sending';
|
|
|
15
17
|
import { queryEmails } from './email/query-emails';
|
|
16
18
|
import { queryLeters } from './email/query-letters';
|
|
17
19
|
import { updateEmail } from './email/update-email';
|
|
18
|
-
import { createMessage } from './messages/create-message';
|
|
19
20
|
import { createOtherCrm } from './other-crm/create-other-crm';
|
|
20
21
|
import { getAllCrm } from './other-crm/get-all-crm';
|
|
21
22
|
import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
@@ -41,7 +42,8 @@ declare type ApiDeclaration = {
|
|
|
41
42
|
updateEmail: typeof updateEmail;
|
|
42
43
|
queryLeters: typeof queryLeters;
|
|
43
44
|
createSending: typeof createSending;
|
|
44
|
-
|
|
45
|
+
createAction: typeof createAction;
|
|
46
|
+
queryActions: typeof queryActions;
|
|
45
47
|
getProfileFilters: typeof getProfileFilters;
|
|
46
48
|
removeProfileCrm: typeof removeProfileCrm;
|
|
47
49
|
getAllCrm: typeof getAllCrm;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.profilesApiDeclaration = void 0;
|
|
4
|
+
var create_action_1 = require("./actions/create-action");
|
|
5
|
+
var query_actions_1 = require("./actions/query-actions");
|
|
4
6
|
var get_profile_agb_1 = require("./agb/get-profile-agb");
|
|
5
7
|
var get_profile_agb_for_order_service_1 = require("./agb/get-profile-agb-for-order-service");
|
|
6
8
|
var update_profile_agb_1 = require("./agb/update-profile-agb");
|
|
@@ -18,7 +20,6 @@ var create_sending_1 = require("./email/create-sending");
|
|
|
18
20
|
var query_emails_1 = require("./email/query-emails");
|
|
19
21
|
var query_letters_1 = require("./email/query-letters");
|
|
20
22
|
var update_email_1 = require("./email/update-email");
|
|
21
|
-
var create_message_1 = require("./messages/create-message");
|
|
22
23
|
var create_other_crm_1 = require("./other-crm/create-other-crm");
|
|
23
24
|
var get_all_crm_1 = require("./other-crm/get-all-crm");
|
|
24
25
|
var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
@@ -39,12 +40,13 @@ var remove_1 = require("./remove");
|
|
|
39
40
|
var update_1 = require("./update");
|
|
40
41
|
var update_step_1 = require("./update-step");
|
|
41
42
|
exports.profilesApiDeclaration = {
|
|
43
|
+
queryActions: query_actions_1.queryActions,
|
|
42
44
|
queryEmails: query_emails_1.queryEmails,
|
|
43
45
|
createSending: create_sending_1.createSending,
|
|
44
46
|
updateEmail: update_email_1.updateEmail,
|
|
45
47
|
queryLeters: query_letters_1.queryLeters,
|
|
46
48
|
createProfileEmail: create_profile_email_1.createProfileEmail,
|
|
47
|
-
|
|
49
|
+
createAction: create_action_1.createAction,
|
|
48
50
|
getProfileFilters: get_profile_filters_1.getProfileFilters,
|
|
49
51
|
updateStep: update_step_1.updateStep,
|
|
50
52
|
removeProfileCrm: remove_profile_crm_1.removeProfileCrm,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { UpdateCashboxDto } from '@escapenavigator/types/dist/cashbox/update-cashbox.dto';
|
|
2
1
|
import { PromocodeRO } from '@escapenavigator/types/dist/promocode/promocode.ro';
|
|
3
2
|
import { ApiMethodDeclaration } from '..';
|
|
4
3
|
declare type ParamsData = {
|
|
5
4
|
id: number;
|
|
6
|
-
data:
|
|
5
|
+
data: {
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
7
8
|
};
|
|
8
9
|
declare type ResponseData = PromocodeRO;
|
|
9
10
|
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = string;
|
|
4
|
+
declare type ResponseData = SuccessRO;
|
|
5
|
+
export declare const forceRemoveHold: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.forceRemoveHold = void 0;
|
|
4
|
+
var forceRemoveHold = function (id) { return ({
|
|
5
|
+
url: "/slots/force-remove-hold/".concat(id),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.forceRemoveHold = forceRemoveHold;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { addOrRemoveBreak } from './add-or-remove-break';
|
|
2
2
|
import { calendarDay } from './calendar-day';
|
|
3
3
|
import { create } from './create';
|
|
4
|
+
import { forceRemoveHold } from './force-remove-hold';
|
|
4
5
|
import { oneQuestroomDaySlots } from './one-questroom-day-slots';
|
|
5
6
|
import { remove } from './remove';
|
|
6
7
|
import { updateBreaks } from './update-breaks';
|
|
7
8
|
declare type ApiDeclaration = {
|
|
9
|
+
forceRemoveHold: typeof forceRemoveHold;
|
|
8
10
|
updateBreaks: typeof updateBreaks;
|
|
9
11
|
calendarDay: typeof calendarDay;
|
|
10
12
|
oneQuestroomDaySlots: typeof oneQuestroomDaySlots;
|
|
@@ -4,10 +4,12 @@ exports.slotsApiDeclaration = void 0;
|
|
|
4
4
|
var add_or_remove_break_1 = require("./add-or-remove-break");
|
|
5
5
|
var calendar_day_1 = require("./calendar-day");
|
|
6
6
|
var create_1 = require("./create");
|
|
7
|
+
var force_remove_hold_1 = require("./force-remove-hold");
|
|
7
8
|
var one_questroom_day_slots_1 = require("./one-questroom-day-slots");
|
|
8
9
|
var remove_1 = require("./remove");
|
|
9
10
|
var update_breaks_1 = require("./update-breaks");
|
|
10
11
|
exports.slotsApiDeclaration = {
|
|
12
|
+
forceRemoveHold: force_remove_hold_1.forceRemoveHold,
|
|
11
13
|
updateBreaks: update_breaks_1.updateBreaks,
|
|
12
14
|
calendarDay: calendar_day_1.calendarDay,
|
|
13
15
|
oneQuestroomDaySlots: one_questroom_day_slots_1.oneQuestroomDaySlots,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { capturePaypalOrder } from './order/capture-paypal-order';
|
|
2
|
+
import { continueOrderWithoutPayment } from './order/continue-order-without-payment';
|
|
3
|
+
import { createBookeoOrder } from './order/create-bookeo-order';
|
|
4
|
+
import { createPreorder } from './order/create-preorder';
|
|
5
|
+
import { findOrder } from './order/find-order';
|
|
6
|
+
import { orderPaypalayment } from './order/order-payment-paypal';
|
|
7
|
+
import { orderStripePayment } from './order/order-payment-stripe';
|
|
3
8
|
import { createCertificate } from './create-certificate';
|
|
4
9
|
import { createHold } from './create-hold';
|
|
5
|
-
import { createOrder } from './create-order';
|
|
6
10
|
import { createReview } from './create-review';
|
|
7
11
|
import { findCertificate } from './find-certificate';
|
|
8
12
|
import { findCertificatesale } from './find-certificatesale';
|
|
9
|
-
import { findOrder } from './find-order';
|
|
10
13
|
import { getAgregatorInfo } from './get-agreagator-info';
|
|
11
14
|
import { getBookeoPrice } from './get-bookeo-price';
|
|
12
15
|
import { getCertificates } from './get-certificates';
|
|
@@ -19,14 +22,18 @@ import { removeHold } from './remove-hold';
|
|
|
19
22
|
import { daily } from './widget-daily';
|
|
20
23
|
import { weekly } from './widget-weekly';
|
|
21
24
|
declare type ApiDeclaration = {
|
|
25
|
+
createPreorder: typeof createPreorder;
|
|
26
|
+
findOrder: typeof findOrder;
|
|
27
|
+
orderStripePayment: typeof orderStripePayment;
|
|
28
|
+
orderPaypalayment: typeof orderPaypalayment;
|
|
22
29
|
continueOrderWithoutPayment: typeof continueOrderWithoutPayment;
|
|
30
|
+
capturePaypalOrder: typeof capturePaypalOrder;
|
|
31
|
+
createBookeoOrder: typeof createBookeoOrder;
|
|
23
32
|
removeHold: typeof removeHold;
|
|
24
33
|
getBookeoPrice: typeof getBookeoPrice;
|
|
25
34
|
createHold: typeof createHold;
|
|
26
|
-
createBookeoOrder: typeof createBookeoOrder;
|
|
27
35
|
getAgregatorInfo: typeof getAgregatorInfo;
|
|
28
36
|
findCertificatesale: typeof findCertificatesale;
|
|
29
|
-
findOrder: typeof findOrder;
|
|
30
37
|
getCertificates: typeof getCertificates;
|
|
31
38
|
getQuestroom: typeof getQuestroom;
|
|
32
39
|
getQuestrooms: typeof getQuestrooms;
|
|
@@ -36,7 +43,6 @@ declare type ApiDeclaration = {
|
|
|
36
43
|
getWidgetInfo: typeof getWidgetInfo;
|
|
37
44
|
daily: typeof daily;
|
|
38
45
|
weekly: typeof weekly;
|
|
39
|
-
createOrder: typeof createOrder;
|
|
40
46
|
createCertificate: typeof createCertificate;
|
|
41
47
|
findCertificate: typeof findCertificate;
|
|
42
48
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.widgetsOpenApiDeclaration = void 0;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var capture_paypal_order_1 = require("./order/capture-paypal-order");
|
|
5
|
+
var continue_order_without_payment_1 = require("./order/continue-order-without-payment");
|
|
6
|
+
var create_bookeo_order_1 = require("./order/create-bookeo-order");
|
|
7
|
+
var create_preorder_1 = require("./order/create-preorder");
|
|
8
|
+
var find_order_1 = require("./order/find-order");
|
|
9
|
+
var order_payment_paypal_1 = require("./order/order-payment-paypal");
|
|
10
|
+
var order_payment_stripe_1 = require("./order/order-payment-stripe");
|
|
6
11
|
var create_certificate_1 = require("./create-certificate");
|
|
7
12
|
var create_hold_1 = require("./create-hold");
|
|
8
|
-
var create_order_1 = require("./create-order");
|
|
9
13
|
var create_review_1 = require("./create-review");
|
|
10
14
|
var find_certificate_1 = require("./find-certificate");
|
|
11
15
|
var find_certificatesale_1 = require("./find-certificatesale");
|
|
12
|
-
var find_order_1 = require("./find-order");
|
|
13
16
|
var get_agreagator_info_1 = require("./get-agreagator-info");
|
|
14
17
|
var get_bookeo_price_1 = require("./get-bookeo-price");
|
|
15
18
|
var get_certificates_1 = require("./get-certificates");
|
|
@@ -22,15 +25,19 @@ var remove_hold_1 = require("./remove-hold");
|
|
|
22
25
|
var widget_daily_1 = require("./widget-daily");
|
|
23
26
|
var widget_weekly_1 = require("./widget-weekly");
|
|
24
27
|
exports.widgetsOpenApiDeclaration = {
|
|
28
|
+
createBookeoOrder: create_bookeo_order_1.createBookeoOrder,
|
|
29
|
+
orderStripePayment: order_payment_stripe_1.orderStripePayment,
|
|
30
|
+
orderPaypalayment: order_payment_paypal_1.orderPaypalayment,
|
|
25
31
|
continueOrderWithoutPayment: continue_order_without_payment_1.continueOrderWithoutPayment,
|
|
32
|
+
createPreorder: create_preorder_1.createPreorder,
|
|
33
|
+
capturePaypalOrder: capture_paypal_order_1.capturePaypalOrder,
|
|
34
|
+
findOrder: find_order_1.findOrder,
|
|
26
35
|
removeHold: remove_hold_1.removeHold,
|
|
27
36
|
createHold: create_hold_1.createHold,
|
|
28
37
|
getBookeoPrice: get_bookeo_price_1.getBookeoPrice,
|
|
29
|
-
createBookeoOrder: create_bookeo_order_1.createBookeoOrder,
|
|
30
38
|
getQuestrooms: get_questrooms_1.getQuestrooms,
|
|
31
39
|
getAgregatorInfo: get_agreagator_info_1.getAgregatorInfo,
|
|
32
40
|
findCertificatesale: find_certificatesale_1.findCertificatesale,
|
|
33
|
-
findOrder: find_order_1.findOrder,
|
|
34
41
|
getCertificates: get_certificates_1.getCertificates,
|
|
35
42
|
getQuestroom: get_questroom_1.getQuestroom,
|
|
36
43
|
getCertificatesForAgregator: get_certificates_for_agregator_1.getCertificatesForAgregator,
|
|
@@ -39,7 +46,6 @@ exports.widgetsOpenApiDeclaration = {
|
|
|
39
46
|
getWidgetInfo: get_widget_info_1.getWidgetInfo,
|
|
40
47
|
daily: widget_daily_1.daily,
|
|
41
48
|
weekly: widget_weekly_1.weekly,
|
|
42
|
-
createOrder: create_order_1.createOrder,
|
|
43
49
|
createCertificate: create_certificate_1.createCertificate,
|
|
44
50
|
findCertificate: find_certificate_1.findCertificate,
|
|
45
51
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiOrderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-order.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
orderId: number;
|
|
5
|
+
paymentId: string;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OpenapiOrderRO;
|
|
8
|
+
export declare const capturePaypalOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.capturePaypalOrder = void 0;
|
|
4
|
+
var capturePaypalOrder = function (data) { return ({
|
|
5
|
+
url: '/widget/orders/order/capture/paypal',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.capturePaypalOrder = capturePaypalOrder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OpenapiOrderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-order.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = OpenapiOrderRO;
|
|
5
5
|
export declare const continueOrderWithoutPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.continueOrderWithoutPayment = void 0;
|
|
4
4
|
var continueOrderWithoutPayment = function (token) { return ({
|
|
5
|
-
url: "/widget/
|
|
5
|
+
url: "/widget/orders/continue-without-payment/".concat(token),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.continueOrderWithoutPayment = continueOrderWithoutPayment;
|
package/dist/api/widgets-openapi/{create-bookeo-order.d.ts → order/create-bookeo-order.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OpenapiBookeoOrderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-bookeo-order.ro';
|
|
2
2
|
import { OpenapiCreateBookeoOrderDto } from '@escapenavigator/types/dist/widget-openapi/openapi-create-bookeo-order.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = OpenapiCreateBookeoOrderDto;
|
|
5
5
|
declare type ResponseData = OpenapiBookeoOrderRO;
|
|
6
6
|
export declare const createBookeoOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createBookeoOrder = void 0;
|
|
4
4
|
var createBookeoOrder = function (data) { return ({
|
|
5
|
-
url: '/widget/
|
|
5
|
+
url: '/widget/orders/bookeo/order',
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: data,
|
|
8
8
|
}); };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiCreateOrderDto } from '@escapenavigator/types/dist/widget-openapi/openapi-create-order.dto';
|
|
2
|
+
import { OpenapiPreorderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-preorder.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: OpenapiCreateOrderDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OpenapiPreorderRO;
|
|
8
|
+
export declare const createPreorder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createPreorder = void 0;
|
|
4
|
+
var createPreorder = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/widget/orders/pre-order',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createPreorder = createPreorder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OpenapiOrderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-order.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = OpenapiOrderRO;
|
|
5
5
|
export declare const findOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findOrder = void 0;
|
|
4
4
|
var findOrder = function (token) { return ({
|
|
5
|
-
url: "/widget/orders/
|
|
5
|
+
url: "/widget/orders/widget/".concat(token),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findOrder = findOrder;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WidgetOrdersCreateOrderPaymentDto } from '@escapenavigator/types/dist/widget-openapi/order-service-create-order-payment.dto';
|
|
2
2
|
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = WidgetOrdersCreateOrderPaymentDto;
|
|
5
5
|
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const orderPaypalayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orderPaypalayment = void 0;
|
|
4
|
+
var orderPaypalayment = function (data) { return ({
|
|
5
|
+
url: '/widget/orders/payment/paypal',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.orderPaypalayment = orderPaypalayment;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WidgetOrdersCreateOrderPaymentDto } from '@escapenavigator/types/dist/widget-openapi/order-service-create-order-payment.dto';
|
|
2
|
+
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = WidgetOrdersCreateOrderPaymentDto;
|
|
5
|
+
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
6
|
+
export declare const orderStripePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orderStripePayment = void 0;
|
|
4
|
+
var orderStripePayment = function (data) { return ({
|
|
5
|
+
url: '/widget/orders/payment/stripe',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.orderStripePayment = orderStripePayment;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = number;
|
|
4
|
+
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
5
|
+
export declare const certificatePaypalPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificatePaypalPayment = void 0;
|
|
4
|
+
var certificatePaypalPayment = function (certificateId) { return ({
|
|
5
|
+
url: "/widget/certficates/payment/paypal/".concat(certificateId),
|
|
6
|
+
method: 'POST',
|
|
7
|
+
}); };
|
|
8
|
+
exports.certificatePaypalPayment = certificatePaypalPayment;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = number;
|
|
4
|
+
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
5
|
+
export declare const certificateStripePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificateStripePayment = void 0;
|
|
4
|
+
var certificateStripePayment = function (certificateId) { return ({
|
|
5
|
+
url: "/widget/certficates/payment/stripe/".concat(certificateId),
|
|
6
|
+
method: 'POST',
|
|
7
|
+
}); };
|
|
8
|
+
exports.certificateStripePayment = certificateStripePayment;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findCertificate = void 0;
|
|
4
4
|
var findCertificate = function (token) { return ({
|
|
5
|
-
url: "/widget/
|
|
5
|
+
url: "/widget/certificates/certificate/".concat(token),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findCertificate = findCertificate;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { cancelOrder } from './cancel-order';
|
|
2
|
-
import {
|
|
1
|
+
import { cancelOrder } from './order/cancel-order';
|
|
2
|
+
import { findOrder } from './order/find-order';
|
|
3
|
+
import { certificatePaypalPayment } from './certificate-paypal-payment';
|
|
4
|
+
import { certificateStripePayment } from './certificate-stripe-payment';
|
|
3
5
|
import { findCertificate } from './find-certificate';
|
|
4
|
-
import { findOrder } from './find-order';
|
|
5
|
-
import { orderPayment } from './order-payment';
|
|
6
6
|
declare type ApiDeclaration = {
|
|
7
|
-
orderPayment: typeof orderPayment;
|
|
8
|
-
certificatePayment: typeof certificatePayment;
|
|
9
|
-
findCertificate: typeof findCertificate;
|
|
10
7
|
findOrder: typeof findOrder;
|
|
8
|
+
certificatePaypalPayment: typeof certificatePaypalPayment;
|
|
9
|
+
certificateStripePayment: typeof certificateStripePayment;
|
|
10
|
+
findCertificate: typeof findCertificate;
|
|
11
11
|
cancelOrder: typeof cancelOrder;
|
|
12
12
|
};
|
|
13
13
|
export declare const widgetsOrdersDeclaration: ApiDeclaration;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.widgetsOrdersDeclaration = void 0;
|
|
4
|
-
var cancel_order_1 = require("./cancel-order");
|
|
5
|
-
var
|
|
4
|
+
var cancel_order_1 = require("./order/cancel-order");
|
|
5
|
+
var find_order_1 = require("./order/find-order");
|
|
6
|
+
var certificate_paypal_payment_1 = require("./certificate-paypal-payment");
|
|
7
|
+
var certificate_stripe_payment_1 = require("./certificate-stripe-payment");
|
|
6
8
|
var find_certificate_1 = require("./find-certificate");
|
|
7
|
-
var find_order_1 = require("./find-order");
|
|
8
|
-
var order_payment_1 = require("./order-payment");
|
|
9
9
|
exports.widgetsOrdersDeclaration = {
|
|
10
|
-
findCertificate: find_certificate_1.findCertificate,
|
|
11
|
-
certificatePayment: certificate_payment_1.certificatePayment,
|
|
12
|
-
orderPayment: order_payment_1.orderPayment,
|
|
13
10
|
findOrder: find_order_1.findOrder,
|
|
11
|
+
findCertificate: find_certificate_1.findCertificate,
|
|
12
|
+
certificateStripePayment: certificate_stripe_payment_1.certificateStripePayment,
|
|
13
|
+
certificatePaypalPayment: certificate_paypal_payment_1.certificatePaypalPayment,
|
|
14
14
|
cancelOrder: cancel_order_1.cancelOrder,
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-openapi/order-service-order.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = WidgetOrderRO;
|
|
5
5
|
export declare const cancelOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-openapi/order-service-order.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = WidgetOrderRO;
|
|
5
5
|
export declare const findOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findOrder = void 0;
|
|
4
4
|
var findOrder = function (token) { return ({
|
|
5
|
-
url: "/widget/
|
|
5
|
+
url: "/widget/orders/order-service/".concat(token),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findOrder = findOrder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.21",
|
|
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": "ec5247386af206368cd8f568a6cf7389cfe610a7",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.19",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.19",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CashboxRO } from '@escapenavigator/types';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = number;
|
|
4
|
-
declare type ResponseData = CashboxRO;
|
|
5
|
-
export declare const toggleEnabled: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toggleEnabled = void 0;
|
|
4
|
-
var toggleEnabled = function (cashboxId) { return ({
|
|
5
|
-
url: "/cashboxes/toggle-enabled/".concat(cashboxId),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.toggleEnabled = toggleEnabled;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CashboxRO } from '@escapenavigator/types/dist/cashbox/cashbox.ro';
|
|
2
|
-
import { UpdateCashboxDto } from '@escapenavigator/types/dist/cashbox/update-cashbox.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = {
|
|
5
|
-
id: number;
|
|
6
|
-
data: UpdateCashboxDto;
|
|
7
|
-
};
|
|
8
|
-
declare type ResponseData = CashboxRO;
|
|
9
|
-
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AdminProfileRO } from '@escapenavigator/types/dist/profile/admin-profile.ro';
|
|
2
|
-
import { CreateProfileMessageDto } from '@escapenavigator/types/dist/profile/create-profile-message.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '../..';
|
|
4
|
-
declare type ParamsData = {
|
|
5
|
-
data: CreateProfileMessageDto;
|
|
6
|
-
};
|
|
7
|
-
declare type ResponseData = AdminProfileRO;
|
|
8
|
-
export declare const createMessage: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OpenapiCreateOrderDto } from '@escapenavigator/types/dist/widget-openapi/openapi-create-order.dto';
|
|
2
|
-
import { OpenapiOrderRO } from '@escapenavigator/types/dist/widget-openapi/openapi-order.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = {
|
|
5
|
-
data: OpenapiCreateOrderDto;
|
|
6
|
-
};
|
|
7
|
-
declare type ResponseData = OpenapiOrderRO;
|
|
8
|
-
export declare const createOrder: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WidgetOrdersCreateCertificatePaymentDto } from '@escapenavigator/types/dist/widget-openapi/order-service-create-certificate-payment.dto';
|
|
2
|
-
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = WidgetOrdersCreateCertificatePaymentDto;
|
|
5
|
-
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
6
|
-
export declare const certificatePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.certificatePayment = void 0;
|
|
4
|
-
var certificatePayment = function (data) { return ({
|
|
5
|
-
url: '/widget/orders/certificate-payment',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.certificatePayment = certificatePayment;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.orderPayment = void 0;
|
|
4
|
-
var orderPayment = function (data) { return ({
|
|
5
|
-
url: '/widget/orders/order-payment',
|
|
6
|
-
method: 'POST',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.orderPayment = orderPayment;
|
|
File without changes
|