@escapenavigator/services 2.1.1 → 2.1.2
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/certificates/certificate-tbank-payment.d.ts +7 -0
- package/dist/api/openapi-widget-api/certificates/certificate-tbank-payment.js +9 -0
- package/dist/api/openapi-widget-api/index.d.ts +6 -0
- package/dist/api/openapi-widget-api/index.js +6 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-tbank.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-tbank.js +23 -0
- package/dist/api/openapi-widget-api/orders/order-payment-tbank.d.ts +7 -0
- package/dist/api/openapi-widget-api/orders/order-payment-tbank.js +9 -0
- package/dist/api/profiles-api/get-paid-questrooms-count.d.ts +7 -0
- package/dist/api/profiles-api/get-paid-questrooms-count.js +8 -0
- package/dist/api/profiles-api/index.d.ts +2 -0
- package/dist/api/profiles-api/index.js +2 -0
- package/package.json +4 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiCreateCertificatePaymentDto } from '@escapenavigator/types/dist/openapi/certificates/openapi-create-certificate-payment.dto';
|
|
2
|
+
import { OpenapiCreatePaymentRO } from '@escapenavigator/types/dist/openapi/shared/openapi-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateCertificatePaymentDto;
|
|
5
|
+
type ResponseData = OpenapiCreatePaymentRO;
|
|
6
|
+
export declare const certificateTBankPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificateTBankPayment = void 0;
|
|
4
|
+
var certificateTBankPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/certificates/payment/tbank',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.certificateTBankPayment = certificateTBankPayment;
|
|
@@ -13,6 +13,7 @@ import { certificateCloudPaymentsPayment } from './certificates/certificate-clou
|
|
|
13
13
|
import { certificatePaypalPayment } from './certificates/certificate-paypal-payment';
|
|
14
14
|
import { certificateSquarePayment } from './certificates/certificate-square-payment';
|
|
15
15
|
import { certificateStripePayment } from './certificates/certificate-stripe-payment';
|
|
16
|
+
import { certificateTBankPayment } from './certificates/certificate-tbank-payment';
|
|
16
17
|
import { certificateYooKassaPayment } from './certificates/certificate-yookassa-payment';
|
|
17
18
|
import { createCertificateShop } from './certificates/create-certificate-shop';
|
|
18
19
|
import { findCertificate } from './certificates/find-certificate';
|
|
@@ -33,6 +34,7 @@ import { orderGroupCloudPaymentsPayment } from './order-groups/order-group-payme
|
|
|
33
34
|
import { orderGroupPaypalPayment } from './order-groups/order-group-payment-paypal';
|
|
34
35
|
import { orderGroupSquarePayment } from './order-groups/order-group-payment-square';
|
|
35
36
|
import { orderGroupStripePayment } from './order-groups/order-group-payment-stripe';
|
|
37
|
+
import { orderGroupTBankPayment } from './order-groups/order-group-payment-tbank';
|
|
36
38
|
import { orderGroupYooKassaPayment } from './order-groups/order-group-payment-yookassa';
|
|
37
39
|
import { removeOrderGroupPreorders } from './order-groups/remove-order-group-preorders';
|
|
38
40
|
import { addPromocodeToOrder } from './orders/add-promocode-to-order';
|
|
@@ -52,6 +54,7 @@ import { orderCloudPaymentsPayment } from './orders/order-payment-cloudpayments'
|
|
|
52
54
|
import { orderPaypalPayment } from './orders/order-payment-paypal';
|
|
53
55
|
import { orderSquarePayment } from './orders/order-payment-square';
|
|
54
56
|
import { orderStripePayment } from './orders/order-payment-stripe';
|
|
57
|
+
import { orderTBankPayment } from './orders/order-payment-tbank';
|
|
55
58
|
import { orderYooKassaPayment } from './orders/order-payment-yookassa';
|
|
56
59
|
import { removePreorder } from './orders/remove-preorder';
|
|
57
60
|
import { removePromocodeFromOrder } from './orders/remove-promocode-from-order';
|
|
@@ -80,9 +83,11 @@ type ApiDeclaration = {
|
|
|
80
83
|
certificateSquarePayment: typeof certificateSquarePayment;
|
|
81
84
|
certificateCloudPaymentsPayment: typeof certificateCloudPaymentsPayment;
|
|
82
85
|
certificateYooKassaPayment: typeof certificateYooKassaPayment;
|
|
86
|
+
certificateTBankPayment: typeof certificateTBankPayment;
|
|
83
87
|
orderSquarePayment: typeof orderSquarePayment;
|
|
84
88
|
orderCloudPaymentsPayment: typeof orderCloudPaymentsPayment;
|
|
85
89
|
orderYooKassaPayment: typeof orderYooKassaPayment;
|
|
90
|
+
orderTBankPayment: typeof orderTBankPayment;
|
|
86
91
|
getOrderAvailableUpsellings: typeof getOrderAvailableUpsellings;
|
|
87
92
|
capturePaypalCertificate: typeof capturePaypalCertificate;
|
|
88
93
|
getCertificatePaymentMethods: typeof getCertificatePaymentMethods;
|
|
@@ -146,6 +151,7 @@ type ApiDeclaration = {
|
|
|
146
151
|
orderGroupSquarePayment: typeof orderGroupSquarePayment;
|
|
147
152
|
orderGroupCloudPaymentsPayment: typeof orderGroupCloudPaymentsPayment;
|
|
148
153
|
orderGroupYooKassaPayment: typeof orderGroupYooKassaPayment;
|
|
154
|
+
orderGroupTBankPayment: typeof orderGroupTBankPayment;
|
|
149
155
|
orderGroupConfirmWithoutPayment: typeof orderGroupConfirmWithoutPayment;
|
|
150
156
|
capturePaypalOrderGroup: typeof capturePaypalOrderGroup;
|
|
151
157
|
batchCreateOrderGroup: typeof batchCreateOrderGroup;
|
|
@@ -16,6 +16,7 @@ var certificate_cloudpayments_payment_1 = require("./certificates/certificate-cl
|
|
|
16
16
|
var certificate_paypal_payment_1 = require("./certificates/certificate-paypal-payment");
|
|
17
17
|
var certificate_square_payment_1 = require("./certificates/certificate-square-payment");
|
|
18
18
|
var certificate_stripe_payment_1 = require("./certificates/certificate-stripe-payment");
|
|
19
|
+
var certificate_tbank_payment_1 = require("./certificates/certificate-tbank-payment");
|
|
19
20
|
var certificate_yookassa_payment_1 = require("./certificates/certificate-yookassa-payment");
|
|
20
21
|
var create_certificate_shop_1 = require("./certificates/create-certificate-shop");
|
|
21
22
|
var find_certificate_1 = require("./certificates/find-certificate");
|
|
@@ -36,6 +37,7 @@ var order_group_payment_cloudpayments_1 = require("./order-groups/order-group-pa
|
|
|
36
37
|
var order_group_payment_paypal_1 = require("./order-groups/order-group-payment-paypal");
|
|
37
38
|
var order_group_payment_square_1 = require("./order-groups/order-group-payment-square");
|
|
38
39
|
var order_group_payment_stripe_1 = require("./order-groups/order-group-payment-stripe");
|
|
40
|
+
var order_group_payment_tbank_1 = require("./order-groups/order-group-payment-tbank");
|
|
39
41
|
var order_group_payment_yookassa_1 = require("./order-groups/order-group-payment-yookassa");
|
|
40
42
|
var remove_order_group_preorders_1 = require("./order-groups/remove-order-group-preorders");
|
|
41
43
|
var add_promocode_to_order_1 = require("./orders/add-promocode-to-order");
|
|
@@ -55,6 +57,7 @@ var order_payment_cloudpayments_1 = require("./orders/order-payment-cloudpayment
|
|
|
55
57
|
var order_payment_paypal_1 = require("./orders/order-payment-paypal");
|
|
56
58
|
var order_payment_square_1 = require("./orders/order-payment-square");
|
|
57
59
|
var order_payment_stripe_1 = require("./orders/order-payment-stripe");
|
|
60
|
+
var order_payment_tbank_1 = require("./orders/order-payment-tbank");
|
|
58
61
|
var order_payment_yookassa_1 = require("./orders/order-payment-yookassa");
|
|
59
62
|
var remove_preorder_1 = require("./orders/remove-preorder");
|
|
60
63
|
var remove_promocode_from_order_1 = require("./orders/remove-promocode-from-order");
|
|
@@ -86,9 +89,11 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
86
89
|
certificateSquarePayment: certificate_square_payment_1.certificateSquarePayment,
|
|
87
90
|
certificateCloudPaymentsPayment: certificate_cloudpayments_payment_1.certificateCloudPaymentsPayment,
|
|
88
91
|
certificateYooKassaPayment: certificate_yookassa_payment_1.certificateYooKassaPayment,
|
|
92
|
+
certificateTBankPayment: certificate_tbank_payment_1.certificateTBankPayment,
|
|
89
93
|
orderSquarePayment: order_payment_square_1.orderSquarePayment,
|
|
90
94
|
orderCloudPaymentsPayment: order_payment_cloudpayments_1.orderCloudPaymentsPayment,
|
|
91
95
|
orderYooKassaPayment: order_payment_yookassa_1.orderYooKassaPayment,
|
|
96
|
+
orderTBankPayment: order_payment_tbank_1.orderTBankPayment,
|
|
92
97
|
addPromocodeToCertificate: add_promocode_to_certificate_1.addPromocodeToCertificate,
|
|
93
98
|
getOrderAvailableUpsellings: get_order_available_upsellings_1.getOrderAvailableUpsellings,
|
|
94
99
|
findOrderForOrderService: find_order_for_order_service_1.findOrderForOrderService,
|
|
@@ -149,6 +154,7 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
149
154
|
orderGroupSquarePayment: order_group_payment_square_1.orderGroupSquarePayment,
|
|
150
155
|
orderGroupCloudPaymentsPayment: order_group_payment_cloudpayments_1.orderGroupCloudPaymentsPayment,
|
|
151
156
|
orderGroupYooKassaPayment: order_group_payment_yookassa_1.orderGroupYooKassaPayment,
|
|
157
|
+
orderGroupTBankPayment: order_group_payment_tbank_1.orderGroupTBankPayment,
|
|
152
158
|
orderGroupConfirmWithoutPayment: order_group_confirm_without_payment_1.orderGroupConfirmWithoutPayment,
|
|
153
159
|
capturePaypalOrderGroup: capture_paypal_order_group_1.capturePaypalOrderGroup,
|
|
154
160
|
batchCreateOrderGroup: batch_create_order_group_1.batchCreateOrderGroup,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiCreateOrderGroupPaymentDto } from '@escapenavigator/types/dist/openapi/order-groups/openapi-create-order-group-payment.dto';
|
|
2
|
+
import { OpenapiCreatePaymentRO } from '@escapenavigator/types/dist/openapi/shared/openapi-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateOrderGroupPaymentDto & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OpenapiCreatePaymentRO;
|
|
8
|
+
export declare const orderGroupTBankPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.orderGroupTBankPayment = void 0;
|
|
15
|
+
var orderGroupTBankPayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/tbank"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupTBankPayment = orderGroupTBankPayment;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiCreateOrderPaymentDto } from '@escapenavigator/types/dist/openapi/orders/openapi-create-order-payment.dto';
|
|
2
|
+
import { OpenapiCreatePaymentRO } from '@escapenavigator/types/dist/openapi/shared/openapi-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateOrderPaymentDto;
|
|
5
|
+
type ResponseData = OpenapiCreatePaymentRO;
|
|
6
|
+
export declare const orderTBankPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orderTBankPayment = void 0;
|
|
4
|
+
var orderTBankPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/orders/payment/tbank',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.orderTBankPayment = orderTBankPayment;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPaidQuestroomsCount = void 0;
|
|
4
|
+
var getPaidQuestroomsCount = function () { return ({
|
|
5
|
+
url: '/profiles/paid-questrooms-count',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getPaidQuestroomsCount = getPaidQuestroomsCount;
|
|
@@ -54,6 +54,7 @@ import { getBySlugForVerify } from './get-by-slug-for-verify';
|
|
|
54
54
|
import { getInactiveCompaniesShort } from './get-inactive-companies-short';
|
|
55
55
|
import { getOnboardingSteps } from './get-onboarding-steps';
|
|
56
56
|
import { getOne } from './get-one';
|
|
57
|
+
import { getPaidQuestroomsCount } from './get-paid-questrooms-count';
|
|
57
58
|
import { getProfilesWithoutNextAction } from './get-profiles-without-next-action';
|
|
58
59
|
import { getSalesBoard } from './get-sales-board';
|
|
59
60
|
import { getSalesBoardColumn } from './get-sales-board-column';
|
|
@@ -217,6 +218,7 @@ type ApiDeclaration = {
|
|
|
217
218
|
updateStep: typeof updateStep;
|
|
218
219
|
updatePartnerProgram: typeof updatePartnerProgram;
|
|
219
220
|
getInactiveCompaniesShort: typeof getInactiveCompaniesShort;
|
|
221
|
+
getPaidQuestroomsCount: typeof getPaidQuestroomsCount;
|
|
220
222
|
getProfilesWithoutNextAction: typeof getProfilesWithoutNextAction;
|
|
221
223
|
getSalesBoard: typeof getSalesBoard;
|
|
222
224
|
getSalesBoardColumn: typeof getSalesBoardColumn;
|
|
@@ -57,6 +57,7 @@ var get_by_slug_for_verify_1 = require("./get-by-slug-for-verify");
|
|
|
57
57
|
var get_inactive_companies_short_1 = require("./get-inactive-companies-short");
|
|
58
58
|
var get_onboarding_steps_1 = require("./get-onboarding-steps");
|
|
59
59
|
var get_one_1 = require("./get-one");
|
|
60
|
+
var get_paid_questrooms_count_1 = require("./get-paid-questrooms-count");
|
|
60
61
|
var get_profiles_without_next_action_1 = require("./get-profiles-without-next-action");
|
|
61
62
|
var get_sales_board_1 = require("./get-sales-board");
|
|
62
63
|
var get_sales_board_column_1 = require("./get-sales-board-column");
|
|
@@ -138,6 +139,7 @@ var get_1 = require("./widget-customization/get");
|
|
|
138
139
|
var update_3 = require("./widget-customization/update");
|
|
139
140
|
exports.profilesApiDeclaration = {
|
|
140
141
|
getInactiveCompaniesShort: get_inactive_companies_short_1.getInactiveCompaniesShort,
|
|
142
|
+
getPaidQuestroomsCount: get_paid_questrooms_count_1.getPaidQuestroomsCount,
|
|
141
143
|
getProfilesWithoutNextAction: get_profiles_without_next_action_1.getProfilesWithoutNextAction,
|
|
142
144
|
getSalesBoard: get_sales_board_1.getSalesBoard,
|
|
143
145
|
getSalesBoardColumn: get_sales_board_column_1.getSalesBoardColumn,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
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": "dd6e8ce621abae35e9e462a7a1e1a3cf54cdbf6f",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^2.1.
|
|
18
|
-
"@escapenavigator/utils": "^2.1.
|
|
17
|
+
"@escapenavigator/types": "^2.1.2",
|
|
18
|
+
"@escapenavigator/utils": "^2.1.2",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|