@escapenavigator/services 1.6.97 → 1.6.98
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/openapi-widget-api/index.d.ts +2 -0
- package/dist/api/openapi-widget-api/index.js +2 -0
- package/dist/api/openapi-widget-api/orders/find-order-for-order-service.d.ts +7 -0
- package/dist/api/openapi-widget-api/orders/find-order-for-order-service.js +9 -0
- package/dist/api/orders-api/index.d.ts +2 -0
- package/dist/api/orders-api/index.js +2 -0
- package/dist/api/orders-api/waivers/remove-participant.d.ts +7 -0
- package/dist/api/orders-api/waivers/remove-participant.js +9 -0
- package/dist/api/profiles-api/email/get-all-customer-emails.d.ts +2 -1
- package/package.json +4 -4
|
@@ -11,6 +11,7 @@ import { capturePaypalOrder } from './orders/capture-paypal-order';
|
|
|
11
11
|
import { confirmWithoutPayment } from './orders/continue-order-without-payment';
|
|
12
12
|
import { createPreorder } from './orders/create-preorder';
|
|
13
13
|
import { findOrder } from './orders/find-order';
|
|
14
|
+
import { findOrderForOrderService } from './orders/find-order-for-order-service';
|
|
14
15
|
import { getOrderAvailableUpsellings } from './orders/get-order-available-upsellings';
|
|
15
16
|
import { getOrderPaymentMethods } from './orders/get-order-payment-methods';
|
|
16
17
|
import { orderPaypalPayment } from './orders/order-payment-paypal';
|
|
@@ -48,6 +49,7 @@ declare type ApiDeclaration = {
|
|
|
48
49
|
createPreorder: typeof createPreorder;
|
|
49
50
|
findOrder: typeof findOrder;
|
|
50
51
|
removePromocodeFromOrder: typeof removePromocodeFromOrder;
|
|
52
|
+
findOrderForOrderService: typeof findOrderForOrderService;
|
|
51
53
|
updateOrder: typeof updateOrder;
|
|
52
54
|
createHold: typeof createHold;
|
|
53
55
|
removeHold: typeof removeHold;
|
|
@@ -14,6 +14,7 @@ var capture_paypal_order_1 = require("./orders/capture-paypal-order");
|
|
|
14
14
|
var continue_order_without_payment_1 = require("./orders/continue-order-without-payment");
|
|
15
15
|
var create_preorder_1 = require("./orders/create-preorder");
|
|
16
16
|
var find_order_1 = require("./orders/find-order");
|
|
17
|
+
var find_order_for_order_service_1 = require("./orders/find-order-for-order-service");
|
|
17
18
|
var get_order_available_upsellings_1 = require("./orders/get-order-available-upsellings");
|
|
18
19
|
var get_order_payment_methods_1 = require("./orders/get-order-payment-methods");
|
|
19
20
|
var order_payment_paypal_1 = require("./orders/order-payment-paypal");
|
|
@@ -32,6 +33,7 @@ var get_agreagator_widget_data_1 = require("./widget/get-agreagator-widget-data"
|
|
|
32
33
|
var get_widget_data_1 = require("./widget/get-widget-data");
|
|
33
34
|
exports.openapiWidgetApiDeclaration = {
|
|
34
35
|
getOrderAvailableUpsellings: get_order_available_upsellings_1.getOrderAvailableUpsellings,
|
|
36
|
+
findOrderForOrderService: find_order_for_order_service_1.findOrderForOrderService,
|
|
35
37
|
capturePaypalCertificate: capture_paypal_certificate_1.capturePaypalCertificate,
|
|
36
38
|
getCertificatePaymentMethods: get_certificate_payment_methods_1.getCertificatePaymentMethods,
|
|
37
39
|
updateOrderPlayers: update_order_players_1.updateOrderPlayers,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiGetOrderDTO } from '@escapenavigator/types/dist/openapi/orders/openapi-get-order.dto';
|
|
2
|
+
import { OpenapiOrderForOrderServiceRO } from '@escapenavigator/types/dist/openapi/orders/openapi-order-for-order-service.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = OpenapiGetOrderDTO;
|
|
5
|
+
declare type ResponseData = OpenapiOrderForOrderServiceRO;
|
|
6
|
+
export declare const findOrderForOrderService: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findOrderForOrderService = void 0;
|
|
4
|
+
var findOrderForOrderService = function (params) { return ({
|
|
5
|
+
url: '/openapi/orders/for-order-service',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.findOrderForOrderService = findOrderForOrderService;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getOrderToSign } from './waivers/get-order-for-sign';
|
|
2
2
|
import { getWaiverPdf } from './waivers/get-waiver-pdf';
|
|
3
|
+
import { removeParticipant } from './waivers/remove-participant';
|
|
3
4
|
import { signOrderWaiver } from './waivers/sign-order-waiver';
|
|
4
5
|
import { addWorkers } from './workers/add-worker';
|
|
5
6
|
import { getWorkers } from './workers/get-workers';
|
|
@@ -26,6 +27,7 @@ declare type ApiDeclaration = {
|
|
|
26
27
|
getOrderToSign: typeof getOrderToSign;
|
|
27
28
|
getWaiverPdf: typeof getWaiverPdf;
|
|
28
29
|
signOrderWaiver: typeof signOrderWaiver;
|
|
30
|
+
removeParticipant: typeof removeParticipant;
|
|
29
31
|
addWorkers: typeof addWorkers;
|
|
30
32
|
queryAgregaotrOrder: typeof queryAgregaotrOrder;
|
|
31
33
|
getWorkers: typeof getWorkers;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ordersApiDeclaration = void 0;
|
|
4
4
|
var get_order_for_sign_1 = require("./waivers/get-order-for-sign");
|
|
5
5
|
var get_waiver_pdf_1 = require("./waivers/get-waiver-pdf");
|
|
6
|
+
var remove_participant_1 = require("./waivers/remove-participant");
|
|
6
7
|
var sign_order_waiver_1 = require("./waivers/sign-order-waiver");
|
|
7
8
|
var add_worker_1 = require("./workers/add-worker");
|
|
8
9
|
var get_workers_1 = require("./workers/get-workers");
|
|
@@ -26,6 +27,7 @@ var upload_orders_1 = require("./upload-orders");
|
|
|
26
27
|
var upload_participants_photos_1 = require("./upload-participants-photos");
|
|
27
28
|
exports.ordersApiDeclaration = {
|
|
28
29
|
uploadParticipantsPhotos: upload_participants_photos_1.uploadParticipantsPhotos,
|
|
30
|
+
removeParticipant: remove_participant_1.removeParticipant,
|
|
29
31
|
getOrderToSign: get_order_for_sign_1.getOrderToSign,
|
|
30
32
|
signOrderWaiver: sign_order_waiver_1.signOrderWaiver,
|
|
31
33
|
count: count_1.count,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiGetOrderDTO } from '@escapenavigator/types/dist/openapi/orders/openapi-get-order.dto';
|
|
2
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = OpenapiGetOrderDTO;
|
|
5
|
+
declare type ResponseData = SuccessRO;
|
|
6
|
+
export declare const removeParticipant: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeParticipant = void 0;
|
|
4
|
+
var removeParticipant = function (params) { return ({
|
|
5
|
+
url: '/order-waivers/remove-participant',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.removeParticipant = removeParticipant;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ProfileEmailCardRO } from '@escapenavigator/types/dist/profile/email/profile-email-card.ro';
|
|
2
|
+
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
2
3
|
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
3
4
|
import { ApiMethodDeclaration } from '../..';
|
|
4
|
-
declare type ParamsData =
|
|
5
|
+
declare type ParamsData = QueryDto;
|
|
5
6
|
declare type ResponseData = QueryRO<ProfileEmailCardRO>;
|
|
6
7
|
export declare const getAllCustomersEmail: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.98",
|
|
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": "81769276383becb242af77229a5c379e12f32d07",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.93",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.95",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|