@escapenavigator/services 1.8.5 → 1.8.7
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/certificatesales-api/index.d.ts +10 -0
- package/dist/api/certificatesales-api/index.js +10 -0
- package/dist/api/certificatesales-api/promocodes/create-promocode.d.ts +9 -0
- package/dist/api/certificatesales-api/promocodes/create-promocode.js +12 -0
- package/dist/api/certificatesales-api/promocodes/query-promocodes.d.ts +8 -0
- package/dist/api/certificatesales-api/promocodes/query-promocodes.js +9 -0
- package/dist/api/certificatesales-api/promocodes/remove-promocode.d.ts +7 -0
- package/dist/api/certificatesales-api/promocodes/remove-promocode.js +8 -0
- package/dist/api/certificatesales-api/transactions/delete-transaction.d.ts +8 -0
- package/dist/api/certificatesales-api/transactions/delete-transaction.js +11 -0
- package/dist/api/certificatesales-api/transactions/recover-transaction.d.ts +8 -0
- package/dist/api/certificatesales-api/transactions/recover-transaction.js +11 -0
- package/dist/api/openapi-widget-api/certificates/add-promocode-to-certificate.d.ts +7 -0
- package/dist/api/openapi-widget-api/certificates/add-promocode-to-certificate.js +9 -0
- package/dist/api/openapi-widget-api/certificates/remove-certificate-from-order.d.ts +7 -0
- package/dist/api/openapi-widget-api/certificates/remove-certificate-from-order.js +9 -0
- package/dist/api/openapi-widget-api/index.d.ts +4 -0
- package/dist/api/openapi-widget-api/index.js +4 -0
- package/dist/api/openapi-widget-api/orders/add-promocode-to-order.d.ts +1 -1
- package/dist/api/openapi-widget-api/orders/remove-promocode-from-order.d.ts +1 -1
- package/dist/api/orders-api/index.d.ts +4 -0
- package/dist/api/orders-api/index.js +4 -0
- package/dist/api/orders-api/transactions/delete-transaction.d.ts +8 -0
- package/dist/api/orders-api/transactions/delete-transaction.js +11 -0
- package/dist/api/orders-api/transactions/recover-transaction.d.ts +8 -0
- package/dist/api/orders-api/transactions/recover-transaction.js +11 -0
- package/package.json +4 -4
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { createPromocode } from './promocodes/create-promocode';
|
|
2
|
+
import { queryPromocodes } from './promocodes/query-promocodes';
|
|
3
|
+
import { removePromocode } from './promocodes/remove-promocode';
|
|
4
|
+
import { deleteTransaction } from './transactions/delete-transaction';
|
|
5
|
+
import { recoverTransaction } from './transactions/recover-transaction';
|
|
1
6
|
import { annul } from './annul';
|
|
2
7
|
import { count } from './count';
|
|
3
8
|
import { create } from './create';
|
|
@@ -20,5 +25,10 @@ declare type ApiDeclaration = {
|
|
|
20
25
|
resend: typeof resend;
|
|
21
26
|
updateExpireDate: typeof updateExpireDate;
|
|
22
27
|
updateTrackingInfo: typeof updateTrackingInfo;
|
|
28
|
+
deleteTransaction: typeof deleteTransaction;
|
|
29
|
+
recoverTransaction: typeof recoverTransaction;
|
|
30
|
+
removePromocode: typeof removePromocode;
|
|
31
|
+
createPromocode: typeof createPromocode;
|
|
32
|
+
queryPromocodes: typeof queryPromocodes;
|
|
23
33
|
};
|
|
24
34
|
export declare const certificateSalesApiDeclaration: ApiDeclaration;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.certificateSalesApiDeclaration = void 0;
|
|
4
|
+
var create_promocode_1 = require("./promocodes/create-promocode");
|
|
5
|
+
var query_promocodes_1 = require("./promocodes/query-promocodes");
|
|
6
|
+
var remove_promocode_1 = require("./promocodes/remove-promocode");
|
|
7
|
+
var delete_transaction_1 = require("./transactions/delete-transaction");
|
|
8
|
+
var recover_transaction_1 = require("./transactions/recover-transaction");
|
|
4
9
|
var annul_1 = require("./annul");
|
|
5
10
|
var count_1 = require("./count");
|
|
6
11
|
var create_1 = require("./create");
|
|
@@ -12,6 +17,8 @@ var ship_1 = require("./ship");
|
|
|
12
17
|
var update_expire_date_1 = require("./update-expire-date");
|
|
13
18
|
var update_tracking_info_1 = require("./update-tracking-info");
|
|
14
19
|
exports.certificateSalesApiDeclaration = {
|
|
20
|
+
deleteTransaction: delete_transaction_1.deleteTransaction,
|
|
21
|
+
recoverTransaction: recover_transaction_1.recoverTransaction,
|
|
15
22
|
annul: annul_1.annul,
|
|
16
23
|
create: create_1.create,
|
|
17
24
|
exportCertificates: export_1.exportCertificates,
|
|
@@ -22,4 +29,7 @@ exports.certificateSalesApiDeclaration = {
|
|
|
22
29
|
resend: resend_1.resend,
|
|
23
30
|
updateExpireDate: update_expire_date_1.updateExpireDate,
|
|
24
31
|
updateTrackingInfo: update_tracking_info_1.updateTrackingInfo,
|
|
32
|
+
queryPromocodes: query_promocodes_1.queryPromocodes,
|
|
33
|
+
removePromocode: remove_promocode_1.removePromocode,
|
|
34
|
+
createPromocode: create_promocode_1.createPromocode,
|
|
25
35
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateCertificatePromocodeDto } from '@escapenavigator/types/dist/certificate-sale/promocode/create-certificate-promocode.dto';
|
|
2
|
+
import { CertificateSaleRO } from 'src/api/certificateuploads-api';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateCertificatePromocodeDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = CertificateSaleRO;
|
|
8
|
+
export declare const createPromocode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createPromocode = void 0;
|
|
4
|
+
var createPromocode = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/certificate-promocodes',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createPromocode = createPromocode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CertificatePromocodeRO } from '@escapenavigator/types/dist/certificate-sale/promocode/certificate-promocode.ro';
|
|
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
|
+
declare type ParamsData = QueryDto;
|
|
6
|
+
declare type ResponseData = QueryRO<CertificatePromocodeRO>;
|
|
7
|
+
export declare const queryPromocodes: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryPromocodes = void 0;
|
|
4
|
+
var queryPromocodes = function (params) { return ({
|
|
5
|
+
url: '/certificate-promocodes',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.queryPromocodes = queryPromocodes;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CertificateSaleRO } from 'src/api/certificateuploads-api';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
/** ID допродажи */
|
|
4
|
+
declare type ParamsData = number;
|
|
5
|
+
declare type ResponseData = CertificateSaleRO;
|
|
6
|
+
export declare const removePromocode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removePromocode = void 0;
|
|
4
|
+
var removePromocode = function (id) { return ({
|
|
5
|
+
url: "/certificate-promocodes/".concat(id),
|
|
6
|
+
method: 'DELETE',
|
|
7
|
+
}); };
|
|
8
|
+
exports.removePromocode = removePromocode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CertificateSaleRO } from 'src/api/certificateuploads-api';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = CertificateSaleRO;
|
|
7
|
+
export declare const deleteTransaction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteTransaction = void 0;
|
|
4
|
+
var deleteTransaction = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/certificate-transactions/delete-transaction/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.deleteTransaction = deleteTransaction;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CertificateSaleRO } from 'src/api/certificateuploads-api';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = CertificateSaleRO;
|
|
7
|
+
export declare const recoverTransaction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.recoverTransaction = void 0;
|
|
4
|
+
var recoverTransaction = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/certificate-transactions/recover-transaction/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.recoverTransaction = recoverTransaction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiCertificateSaleRO } from '@escapenavigator/types/dist/openapi/certificates/openapi-certificate-sale.ro';
|
|
2
|
+
import { OpenapiPromocodeApplyDto } from '@escapenavigator/types/dist/openapi/shared/openapi-promocode-apply.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = OpenapiPromocodeApplyDto;
|
|
5
|
+
declare type ResponseData = OpenapiCertificateSaleRO;
|
|
6
|
+
export declare const addPromocodeToCertificate: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addPromocodeToCertificate = void 0;
|
|
4
|
+
var addPromocodeToCertificate = function (data) { return ({
|
|
5
|
+
url: '/openapi/certificates/promocode/add',
|
|
6
|
+
method: 'PATCH',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.addPromocodeToCertificate = addPromocodeToCertificate;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiCertificateSaleRO } from '@escapenavigator/types/dist/openapi/certificates/openapi-certificate-sale.ro';
|
|
2
|
+
import { OpenapiPromocodeRemoveDto } from '@escapenavigator/types/dist/openapi/shared/openapi-promocode-remove.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = OpenapiPromocodeRemoveDto;
|
|
5
|
+
declare type ResponseData = OpenapiCertificateSaleRO;
|
|
6
|
+
export declare const removePromocodeFromCertificate: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removePromocodeFromCertificate = void 0;
|
|
4
|
+
var removePromocodeFromCertificate = function (data) { return ({
|
|
5
|
+
url: '/openapi/certificates/promocode/remove',
|
|
6
|
+
method: 'PATCH',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.removePromocodeFromCertificate = removePromocodeFromCertificate;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { addPromocodeToCertificate } from './certificates/add-promocode-to-certificate';
|
|
1
2
|
import { capturePaypalCertificate } from './certificates/capture-paypal-certificate';
|
|
2
3
|
import { certificatePaypalPayment } from './certificates/certificate-paypal-payment';
|
|
3
4
|
import { certificateStripePayment } from './certificates/certificate-stripe-payment';
|
|
4
5
|
import { createCertificate } from './certificates/create-certificate';
|
|
5
6
|
import { findCertificate } from './certificates/find-certificate';
|
|
6
7
|
import { getCertificatePaymentMethods } from './certificates/get-certificate-payment-methods';
|
|
8
|
+
import { removePromocodeFromCertificate } from './certificates/remove-certificate-from-order';
|
|
7
9
|
import { addPromocodeToOrder } from './orders/add-promocode-to-order';
|
|
8
10
|
import { addUpsellingToOrder } from './orders/add-upselling-to-order';
|
|
9
11
|
import { cancelOrder } from './orders/cancel-order';
|
|
@@ -59,6 +61,8 @@ declare type ApiDeclaration = {
|
|
|
59
61
|
getBookeoPrice: typeof getBookeoPrice;
|
|
60
62
|
getAgregatorWidgetData: typeof getAgregatorWidgetData;
|
|
61
63
|
getWidgetData: typeof getWidgetData;
|
|
64
|
+
addPromocodeToCertificate: typeof addPromocodeToCertificate;
|
|
65
|
+
removePromocodeFromCertificate: typeof removePromocodeFromCertificate;
|
|
62
66
|
};
|
|
63
67
|
export declare const openapiWidgetApiDeclaration: ApiDeclaration;
|
|
64
68
|
export {};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.openapiWidgetApiDeclaration = void 0;
|
|
4
|
+
var add_promocode_to_certificate_1 = require("./certificates/add-promocode-to-certificate");
|
|
4
5
|
var capture_paypal_certificate_1 = require("./certificates/capture-paypal-certificate");
|
|
5
6
|
var certificate_paypal_payment_1 = require("./certificates/certificate-paypal-payment");
|
|
6
7
|
var certificate_stripe_payment_1 = require("./certificates/certificate-stripe-payment");
|
|
7
8
|
var create_certificate_1 = require("./certificates/create-certificate");
|
|
8
9
|
var find_certificate_1 = require("./certificates/find-certificate");
|
|
9
10
|
var get_certificate_payment_methods_1 = require("./certificates/get-certificate-payment-methods");
|
|
11
|
+
var remove_certificate_from_order_1 = require("./certificates/remove-certificate-from-order");
|
|
10
12
|
var add_promocode_to_order_1 = require("./orders/add-promocode-to-order");
|
|
11
13
|
var add_upselling_to_order_1 = require("./orders/add-upselling-to-order");
|
|
12
14
|
var cancel_order_1 = require("./orders/cancel-order");
|
|
@@ -32,6 +34,8 @@ var get_bookeo_price_1 = require("./widget/bookeo/get-bookeo-price");
|
|
|
32
34
|
var get_agreagator_widget_data_1 = require("./widget/get-agreagator-widget-data");
|
|
33
35
|
var get_widget_data_1 = require("./widget/get-widget-data");
|
|
34
36
|
exports.openapiWidgetApiDeclaration = {
|
|
37
|
+
removePromocodeFromCertificate: remove_certificate_from_order_1.removePromocodeFromCertificate,
|
|
38
|
+
addPromocodeToCertificate: add_promocode_to_certificate_1.addPromocodeToCertificate,
|
|
35
39
|
getOrderAvailableUpsellings: get_order_available_upsellings_1.getOrderAvailableUpsellings,
|
|
36
40
|
findOrderForOrderService: find_order_for_order_service_1.findOrderForOrderService,
|
|
37
41
|
capturePaypalCertificate: capture_paypal_certificate_1.capturePaypalCertificate,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OpenapiOrderRO } from '@escapenavigator/types/dist/openapi/orders/openapi-order.ro';
|
|
2
|
-
import { OpenapiPromocodeApplyDto } from '@escapenavigator/types/dist/openapi/
|
|
2
|
+
import { OpenapiPromocodeApplyDto } from '@escapenavigator/types/dist/openapi/shared/openapi-promocode-apply.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = OpenapiPromocodeApplyDto;
|
|
5
5
|
declare type ResponseData = OpenapiOrderRO;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OpenapiOrderRO } from '@escapenavigator/types/dist/openapi/orders/openapi-order.ro';
|
|
2
|
-
import { OpenapiPromocodeRemoveDto } from '@escapenavigator/types/dist/openapi/
|
|
2
|
+
import { OpenapiPromocodeRemoveDto } from '@escapenavigator/types/dist/openapi/shared/openapi-promocode-remove.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = OpenapiPromocodeRemoveDto;
|
|
5
5
|
declare type ResponseData = OpenapiOrderRO;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { recreateMarketingEmails } from './emails/recreate-marketing-emails';
|
|
2
2
|
import { resendEmail } from './emails/resend-email';
|
|
3
|
+
import { deleteTransaction } from './transactions/delete-transaction';
|
|
4
|
+
import { recoverTransaction } from './transactions/recover-transaction';
|
|
3
5
|
import { addParticipant } from './waivers/add-participant';
|
|
4
6
|
import { getOrderToSign } from './waivers/get-order-for-sign';
|
|
5
7
|
import { getOrderParticipants } from './waivers/get-order-participants';
|
|
@@ -35,6 +37,8 @@ declare type ApiDeclaration = {
|
|
|
35
37
|
removeParticipant: typeof removeParticipant;
|
|
36
38
|
addParticipant: typeof addParticipant;
|
|
37
39
|
removeParticipantByAdmin: typeof removeParticipantByAdmin;
|
|
40
|
+
deleteTransaction: typeof deleteTransaction;
|
|
41
|
+
recoverTransaction: typeof recoverTransaction;
|
|
38
42
|
addWorkers: typeof addWorkers;
|
|
39
43
|
queryAgregaotrOrder: typeof queryAgregaotrOrder;
|
|
40
44
|
getWorkers: typeof getWorkers;
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ordersApiDeclaration = void 0;
|
|
4
4
|
var recreate_marketing_emails_1 = require("./emails/recreate-marketing-emails");
|
|
5
5
|
var resend_email_1 = require("./emails/resend-email");
|
|
6
|
+
var delete_transaction_1 = require("./transactions/delete-transaction");
|
|
7
|
+
var recover_transaction_1 = require("./transactions/recover-transaction");
|
|
6
8
|
var add_participant_1 = require("./waivers/add-participant");
|
|
7
9
|
var get_order_for_sign_1 = require("./waivers/get-order-for-sign");
|
|
8
10
|
var get_order_participants_1 = require("./waivers/get-order-participants");
|
|
@@ -30,6 +32,8 @@ var upload_orders_1 = require("./upload-orders");
|
|
|
30
32
|
var upload_participants_photos_1 = require("./upload-participants-photos");
|
|
31
33
|
exports.ordersApiDeclaration = {
|
|
32
34
|
uploadParticipantsPhotos: upload_participants_photos_1.uploadParticipantsPhotos,
|
|
35
|
+
deleteTransaction: delete_transaction_1.deleteTransaction,
|
|
36
|
+
recoverTransaction: recover_transaction_1.recoverTransaction,
|
|
33
37
|
recreateMarketingEmails: recreate_marketing_emails_1.recreateMarketingEmails,
|
|
34
38
|
removeParticipantByAdmin: remove_participant_by_admin_1.removeParticipantByAdmin,
|
|
35
39
|
getOrderParticipants: get_order_participants_1.getOrderParticipants,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OrderRO } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = OrderRO;
|
|
7
|
+
export declare const deleteTransaction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteTransaction = void 0;
|
|
4
|
+
var deleteTransaction = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-transactions/delete-transaction/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.deleteTransaction = deleteTransaction;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OrderRO } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = OrderRO;
|
|
7
|
+
export declare const recoverTransaction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.recoverTransaction = void 0;
|
|
4
|
+
var recoverTransaction = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-transactions/recover-transaction/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.recoverTransaction = recoverTransaction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.7",
|
|
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": "3a8158b1d4a157b98147e97693a042bb8aed7721",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.8.
|
|
18
|
-
"@escapenavigator/utils": "^1.8.
|
|
17
|
+
"@escapenavigator/types": "^1.8.7",
|
|
18
|
+
"@escapenavigator/utils": "^1.8.7",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|