@escapenavigator/services 2.0.45 → 2.0.46
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/fiscal-api/authorize-moloni.d.ts +4 -0
- package/dist/api/fiscal-api/authorize-moloni.js +8 -0
- package/dist/api/fiscal-api/connect-invoicexpress.d.ts +6 -0
- package/dist/api/fiscal-api/connect-invoicexpress.js +12 -0
- package/dist/api/fiscal-api/get.d.ts +3 -0
- package/dist/api/fiscal-api/get.js +8 -0
- package/dist/api/fiscal-api/index.d.ts +16 -0
- package/dist/api/fiscal-api/index.js +17 -0
- package/dist/api/fiscal-api/remove.d.ts +3 -0
- package/dist/api/fiscal-api/remove.js +8 -0
- package/dist/api/fiscal-api/retry.d.ts +5 -0
- package/dist/api/fiscal-api/retry.js +11 -0
- package/dist/api/fiscal-api/update.d.ts +6 -0
- package/dist/api/fiscal-api/update.js +12 -0
- package/dist/api/init-client-api.d.ts +6 -0
- package/dist/api/init-client-api.js +6 -0
- package/dist/api/lead-forms-api/create-form.d.ts +9 -0
- package/dist/api/lead-forms-api/create-form.js +12 -0
- package/dist/api/lead-forms-api/get-defaults.d.ts +7 -0
- package/dist/api/lead-forms-api/get-defaults.js +9 -0
- package/dist/api/lead-forms-api/get-forms.d.ts +6 -0
- package/dist/api/lead-forms-api/get-forms.js +8 -0
- package/dist/api/lead-forms-api/get-stages.d.ts +6 -0
- package/dist/api/lead-forms-api/get-stages.js +8 -0
- package/dist/api/lead-forms-api/index.d.ts +18 -0
- package/dist/api/lead-forms-api/index.js +19 -0
- package/dist/api/lead-forms-api/remove-form.d.ts +7 -0
- package/dist/api/lead-forms-api/remove-form.js +11 -0
- package/dist/api/lead-forms-api/update-form.d.ts +10 -0
- package/dist/api/lead-forms-api/update-form.js +12 -0
- package/dist/api/lead-forms-api/update-stages.d.ts +9 -0
- package/dist/api/lead-forms-api/update-stages.js +12 -0
- package/dist/api/leads-api/create.d.ts +9 -0
- package/dist/api/leads-api/create.js +12 -0
- package/dist/api/leads-api/get-board-column.d.ts +11 -0
- package/dist/api/leads-api/get-board-column.js +24 -0
- package/dist/api/leads-api/get-board.d.ts +7 -0
- package/dist/api/leads-api/get-board.js +9 -0
- package/dist/api/leads-api/get-conversion-prefill.d.ts +9 -0
- package/dist/api/leads-api/get-conversion-prefill.js +12 -0
- package/dist/api/leads-api/get-counters.d.ts +6 -0
- package/dist/api/leads-api/get-counters.js +8 -0
- package/dist/api/leads-api/get-events.d.ts +8 -0
- package/dist/api/leads-api/get-events.js +11 -0
- package/dist/api/leads-api/get-one.d.ts +8 -0
- package/dist/api/leads-api/get-one.js +11 -0
- package/dist/api/leads-api/index.d.ts +37 -0
- package/dist/api/leads-api/index.js +27 -0
- package/dist/api/leads-api/link-conversion.d.ts +10 -0
- package/dist/api/leads-api/link-conversion.js +12 -0
- package/dist/api/leads-api/mark-viewed.d.ts +9 -0
- package/dist/api/leads-api/mark-viewed.js +12 -0
- package/dist/api/leads-api/query.d.ts +10 -0
- package/dist/api/leads-api/query.js +9 -0
- package/dist/api/leads-api/update.d.ts +10 -0
- package/dist/api/leads-api/update.js +12 -0
- package/dist/api/openapi-widget-api/certificates/certificate-cloudpayments-payment.d.ts +7 -0
- package/dist/api/openapi-widget-api/certificates/certificate-cloudpayments-payment.js +9 -0
- package/dist/api/openapi-widget-api/certificates/certificate-yookassa-payment.d.ts +7 -0
- package/dist/api/openapi-widget-api/certificates/certificate-yookassa-payment.js +9 -0
- package/dist/api/openapi-widget-api/index.d.ts +20 -0
- package/dist/api/openapi-widget-api/index.js +20 -0
- package/dist/api/openapi-widget-api/leads/get-lead-form-by-uuid.d.ts +9 -0
- package/dist/api/openapi-widget-api/leads/get-lead-form-by-uuid.js +12 -0
- package/dist/api/openapi-widget-api/leads/get-lead-form.d.ts +8 -0
- package/dist/api/openapi-widget-api/leads/get-lead-form.js +9 -0
- package/dist/api/openapi-widget-api/leads/submit-lead-by-uuid.d.ts +12 -0
- package/dist/api/openapi-widget-api/leads/submit-lead-by-uuid.js +13 -0
- package/dist/api/openapi-widget-api/leads/submit-lead.d.ts +11 -0
- package/dist/api/openapi-widget-api/leads/submit-lead.js +13 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-cloudpayments.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-cloudpayments.js +23 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-yookassa.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-yookassa.js +23 -0
- package/dist/api/openapi-widget-api/orders/order-payment-cloudpayments.d.ts +7 -0
- package/dist/api/openapi-widget-api/orders/order-payment-cloudpayments.js +9 -0
- package/dist/api/openapi-widget-api/orders/order-payment-yookassa.d.ts +7 -0
- package/dist/api/openapi-widget-api/orders/order-payment-yookassa.js +9 -0
- package/dist/api/profiles-api/index.d.ts +12 -0
- package/dist/api/profiles-api/index.js +12 -0
- package/dist/api/profiles-api/telephony/get-telephony-settings.d.ts +3 -0
- package/dist/api/profiles-api/telephony/get-telephony-settings.js +8 -0
- package/dist/api/profiles-api/telephony/query-client-calls.d.ts +8 -0
- package/dist/api/profiles-api/telephony/query-client-calls.js +12 -0
- package/dist/api/profiles-api/telephony/query-live-calls.d.ts +3 -0
- package/dist/api/profiles-api/telephony/query-live-calls.js +8 -0
- package/dist/api/profiles-api/telephony/rotate-telephony-webhook-token.d.ts +3 -0
- package/dist/api/profiles-api/telephony/rotate-telephony-webhook-token.js +8 -0
- package/dist/api/profiles-api/telephony/send-telephony-test-call.d.ts +8 -0
- package/dist/api/profiles-api/telephony/send-telephony-test-call.js +12 -0
- package/dist/api/profiles-api/telephony/update-telephony-settings.d.ts +8 -0
- package/dist/api/profiles-api/telephony/update-telephony-settings.js +12 -0
- package/package.json +4 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LeadRO } from '@escapenavigator/types/dist/lead/lead.ro';
|
|
2
|
+
import { LinkLeadConversionDto } from '@escapenavigator/types/dist/lead/link-lead-conversion.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: LinkLeadConversionDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = LeadRO;
|
|
9
|
+
export declare const linkConversion: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.linkConversion = void 0;
|
|
4
|
+
var linkConversion = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/leads/".concat(id, "/conversion"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.linkConversion = linkConversion;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LeadRO } from '@escapenavigator/types/dist/lead/lead.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = LeadRO;
|
|
7
|
+
/** Гасит заявку в бейдже «новые»: пишется только первый просмотр. */
|
|
8
|
+
export declare const markViewed: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.markViewed = void 0;
|
|
4
|
+
/** Гасит заявку в бейдже «новые»: пишется только первый просмотр. */
|
|
5
|
+
var markViewed = function (_a) {
|
|
6
|
+
var id = _a.id;
|
|
7
|
+
return ({
|
|
8
|
+
url: "/leads/".concat(id, "/viewed"),
|
|
9
|
+
method: 'POST',
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.markViewed = markViewed;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LeadRO } from '@escapenavigator/types/dist/lead/lead.ro';
|
|
2
|
+
import { QueryLeadsListDto } from '@escapenavigator/types/dist/lead/query-leads.dto';
|
|
3
|
+
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
4
|
+
import { ApiMethodDeclaration } from '..';
|
|
5
|
+
type ParamsData = QueryLeadsListDto;
|
|
6
|
+
type ResponseData = QueryRO<LeadRO & {
|
|
7
|
+
overdue: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LeadRO } from '@escapenavigator/types/dist/lead/lead.ro';
|
|
2
|
+
import { UpdateLeadDto } from '@escapenavigator/types/dist/lead/update-lead.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: UpdateLeadDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = LeadRO;
|
|
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 id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/leads/".concat(id),
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.update = update;
|
|
@@ -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 certificateCloudPaymentsPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificateCloudPaymentsPayment = void 0;
|
|
4
|
+
var certificateCloudPaymentsPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/certificates/payment/cloudpayments',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.certificateCloudPaymentsPayment = certificateCloudPaymentsPayment;
|
|
@@ -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 certificateYooKassaPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificateYooKassaPayment = void 0;
|
|
4
|
+
var certificateYooKassaPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/certificates/payment/yookassa',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.certificateYooKassaPayment = certificateYooKassaPayment;
|
|
@@ -9,23 +9,31 @@ import { navigatorCertificateStripePayment } from '../agregator-api/certificates
|
|
|
9
9
|
import { addPromocodeToCertificate } from './certificates/add-promocode-to-certificate';
|
|
10
10
|
import { cancelCertificate } from './certificates/cancel-certificate';
|
|
11
11
|
import { capturePaypalCertificate } from './certificates/capture-paypal-certificate';
|
|
12
|
+
import { certificateCloudPaymentsPayment } from './certificates/certificate-cloudpayments-payment';
|
|
12
13
|
import { certificatePaypalPayment } from './certificates/certificate-paypal-payment';
|
|
13
14
|
import { certificateSquarePayment } from './certificates/certificate-square-payment';
|
|
14
15
|
import { certificateStripePayment } from './certificates/certificate-stripe-payment';
|
|
16
|
+
import { certificateYooKassaPayment } from './certificates/certificate-yookassa-payment';
|
|
15
17
|
import { createCertificateShop } from './certificates/create-certificate-shop';
|
|
16
18
|
import { findCertificate } from './certificates/find-certificate';
|
|
17
19
|
import { getCertificatePaymentMethods } from './certificates/get-certificate-payment-methods';
|
|
18
20
|
import { removePromocodeFromCertificate } from './certificates/remove-certificate-from-order';
|
|
19
21
|
import { setCertificateMarketingConsent } from './certificates/set-certificate-marketing-consent';
|
|
20
22
|
import { createBookeoOrder, createMyerpOrder, createPartnerOrder, getBookeoPrice, getMyerpPrice } from './external';
|
|
23
|
+
import { getLeadForm } from './leads/get-lead-form';
|
|
24
|
+
import { getLeadFormByUuid } from './leads/get-lead-form-by-uuid';
|
|
25
|
+
import { submitLead } from './leads/submit-lead';
|
|
26
|
+
import { submitLeadByUuid } from './leads/submit-lead-by-uuid';
|
|
21
27
|
import { batchCreateOrderGroup } from './order-groups/batch-create-order-group';
|
|
22
28
|
import { capturePaypalOrderGroup } from './order-groups/capture-paypal-order-group';
|
|
23
29
|
import { findOrderGroup } from './order-groups/find-order-group';
|
|
24
30
|
import { getOrderGroupPaymentMethods } from './order-groups/get-order-group-payment-methods';
|
|
25
31
|
import { orderGroupConfirmWithoutPayment } from './order-groups/order-group-confirm-without-payment';
|
|
32
|
+
import { orderGroupCloudPaymentsPayment } from './order-groups/order-group-payment-cloudpayments';
|
|
26
33
|
import { orderGroupPaypalPayment } from './order-groups/order-group-payment-paypal';
|
|
27
34
|
import { orderGroupSquarePayment } from './order-groups/order-group-payment-square';
|
|
28
35
|
import { orderGroupStripePayment } from './order-groups/order-group-payment-stripe';
|
|
36
|
+
import { orderGroupYooKassaPayment } from './order-groups/order-group-payment-yookassa';
|
|
29
37
|
import { removeOrderGroupPreorders } from './order-groups/remove-order-group-preorders';
|
|
30
38
|
import { addPromocodeToOrder } from './orders/add-promocode-to-order';
|
|
31
39
|
import { addUpsellingToOrder } from './orders/add-upselling-to-order';
|
|
@@ -40,9 +48,11 @@ import { findOrder } from './orders/find-order';
|
|
|
40
48
|
import { findOrderForOrderService } from './orders/find-order-for-order-service';
|
|
41
49
|
import { getOrderAvailableUpsellings } from './orders/get-order-available-upsellings';
|
|
42
50
|
import { getOrderPaymentMethods } from './orders/get-order-payment-methods';
|
|
51
|
+
import { orderCloudPaymentsPayment } from './orders/order-payment-cloudpayments';
|
|
43
52
|
import { orderPaypalPayment } from './orders/order-payment-paypal';
|
|
44
53
|
import { orderSquarePayment } from './orders/order-payment-square';
|
|
45
54
|
import { orderStripePayment } from './orders/order-payment-stripe';
|
|
55
|
+
import { orderYooKassaPayment } from './orders/order-payment-yookassa';
|
|
46
56
|
import { removePreorder } from './orders/remove-preorder';
|
|
47
57
|
import { removePromocodeFromOrder } from './orders/remove-promocode-from-order';
|
|
48
58
|
import { removeUpsellingFromOrder } from './orders/remove-upselling-from-order';
|
|
@@ -67,7 +77,11 @@ import { resolvePromocode } from './widget/resolve-promocode';
|
|
|
67
77
|
import { validatePhone } from './widget/validate-phone';
|
|
68
78
|
type ApiDeclaration = {
|
|
69
79
|
certificateSquarePayment: typeof certificateSquarePayment;
|
|
80
|
+
certificateCloudPaymentsPayment: typeof certificateCloudPaymentsPayment;
|
|
81
|
+
certificateYooKassaPayment: typeof certificateYooKassaPayment;
|
|
70
82
|
orderSquarePayment: typeof orderSquarePayment;
|
|
83
|
+
orderCloudPaymentsPayment: typeof orderCloudPaymentsPayment;
|
|
84
|
+
orderYooKassaPayment: typeof orderYooKassaPayment;
|
|
71
85
|
getOrderAvailableUpsellings: typeof getOrderAvailableUpsellings;
|
|
72
86
|
capturePaypalCertificate: typeof capturePaypalCertificate;
|
|
73
87
|
getCertificatePaymentMethods: typeof getCertificatePaymentMethods;
|
|
@@ -128,6 +142,8 @@ type ApiDeclaration = {
|
|
|
128
142
|
orderGroupStripePayment: typeof orderGroupStripePayment;
|
|
129
143
|
orderGroupPaypalPayment: typeof orderGroupPaypalPayment;
|
|
130
144
|
orderGroupSquarePayment: typeof orderGroupSquarePayment;
|
|
145
|
+
orderGroupCloudPaymentsPayment: typeof orderGroupCloudPaymentsPayment;
|
|
146
|
+
orderGroupYooKassaPayment: typeof orderGroupYooKassaPayment;
|
|
131
147
|
orderGroupConfirmWithoutPayment: typeof orderGroupConfirmWithoutPayment;
|
|
132
148
|
capturePaypalOrderGroup: typeof capturePaypalOrderGroup;
|
|
133
149
|
batchCreateOrderGroup: typeof batchCreateOrderGroup;
|
|
@@ -137,6 +153,10 @@ type ApiDeclaration = {
|
|
|
137
153
|
packageAvailability: typeof packageAvailability;
|
|
138
154
|
packageAvailabilityRange: typeof packageAvailabilityRange;
|
|
139
155
|
bookPackage: typeof bookPackage;
|
|
156
|
+
getLeadForm: typeof getLeadForm;
|
|
157
|
+
getLeadFormByUuid: typeof getLeadFormByUuid;
|
|
158
|
+
submitLead: typeof submitLead;
|
|
159
|
+
submitLeadByUuid: typeof submitLeadByUuid;
|
|
140
160
|
};
|
|
141
161
|
export declare const openapiWidgetApiDeclaration: ApiDeclaration;
|
|
142
162
|
export {};
|
|
@@ -12,23 +12,31 @@ var navigator_certificate_stripe_payment_1 = require("../agregator-api/certifica
|
|
|
12
12
|
var add_promocode_to_certificate_1 = require("./certificates/add-promocode-to-certificate");
|
|
13
13
|
var cancel_certificate_1 = require("./certificates/cancel-certificate");
|
|
14
14
|
var capture_paypal_certificate_1 = require("./certificates/capture-paypal-certificate");
|
|
15
|
+
var certificate_cloudpayments_payment_1 = require("./certificates/certificate-cloudpayments-payment");
|
|
15
16
|
var certificate_paypal_payment_1 = require("./certificates/certificate-paypal-payment");
|
|
16
17
|
var certificate_square_payment_1 = require("./certificates/certificate-square-payment");
|
|
17
18
|
var certificate_stripe_payment_1 = require("./certificates/certificate-stripe-payment");
|
|
19
|
+
var certificate_yookassa_payment_1 = require("./certificates/certificate-yookassa-payment");
|
|
18
20
|
var create_certificate_shop_1 = require("./certificates/create-certificate-shop");
|
|
19
21
|
var find_certificate_1 = require("./certificates/find-certificate");
|
|
20
22
|
var get_certificate_payment_methods_1 = require("./certificates/get-certificate-payment-methods");
|
|
21
23
|
var remove_certificate_from_order_1 = require("./certificates/remove-certificate-from-order");
|
|
22
24
|
var set_certificate_marketing_consent_1 = require("./certificates/set-certificate-marketing-consent");
|
|
23
25
|
var external_1 = require("./external");
|
|
26
|
+
var get_lead_form_1 = require("./leads/get-lead-form");
|
|
27
|
+
var get_lead_form_by_uuid_1 = require("./leads/get-lead-form-by-uuid");
|
|
28
|
+
var submit_lead_1 = require("./leads/submit-lead");
|
|
29
|
+
var submit_lead_by_uuid_1 = require("./leads/submit-lead-by-uuid");
|
|
24
30
|
var batch_create_order_group_1 = require("./order-groups/batch-create-order-group");
|
|
25
31
|
var capture_paypal_order_group_1 = require("./order-groups/capture-paypal-order-group");
|
|
26
32
|
var find_order_group_1 = require("./order-groups/find-order-group");
|
|
27
33
|
var get_order_group_payment_methods_1 = require("./order-groups/get-order-group-payment-methods");
|
|
28
34
|
var order_group_confirm_without_payment_1 = require("./order-groups/order-group-confirm-without-payment");
|
|
35
|
+
var order_group_payment_cloudpayments_1 = require("./order-groups/order-group-payment-cloudpayments");
|
|
29
36
|
var order_group_payment_paypal_1 = require("./order-groups/order-group-payment-paypal");
|
|
30
37
|
var order_group_payment_square_1 = require("./order-groups/order-group-payment-square");
|
|
31
38
|
var order_group_payment_stripe_1 = require("./order-groups/order-group-payment-stripe");
|
|
39
|
+
var order_group_payment_yookassa_1 = require("./order-groups/order-group-payment-yookassa");
|
|
32
40
|
var remove_order_group_preorders_1 = require("./order-groups/remove-order-group-preorders");
|
|
33
41
|
var add_promocode_to_order_1 = require("./orders/add-promocode-to-order");
|
|
34
42
|
var add_upselling_to_order_1 = require("./orders/add-upselling-to-order");
|
|
@@ -43,9 +51,11 @@ var find_order_1 = require("./orders/find-order");
|
|
|
43
51
|
var find_order_for_order_service_1 = require("./orders/find-order-for-order-service");
|
|
44
52
|
var get_order_available_upsellings_1 = require("./orders/get-order-available-upsellings");
|
|
45
53
|
var get_order_payment_methods_1 = require("./orders/get-order-payment-methods");
|
|
54
|
+
var order_payment_cloudpayments_1 = require("./orders/order-payment-cloudpayments");
|
|
46
55
|
var order_payment_paypal_1 = require("./orders/order-payment-paypal");
|
|
47
56
|
var order_payment_square_1 = require("./orders/order-payment-square");
|
|
48
57
|
var order_payment_stripe_1 = require("./orders/order-payment-stripe");
|
|
58
|
+
var order_payment_yookassa_1 = require("./orders/order-payment-yookassa");
|
|
49
59
|
var remove_preorder_1 = require("./orders/remove-preorder");
|
|
50
60
|
var remove_promocode_from_order_1 = require("./orders/remove-promocode-from-order");
|
|
51
61
|
var remove_upselling_from_order_1 = require("./orders/remove-upselling-from-order");
|
|
@@ -73,7 +83,11 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
73
83
|
setCertificateMarketingConsent: set_certificate_marketing_consent_1.setCertificateMarketingConsent,
|
|
74
84
|
cancelCertificate: cancel_certificate_1.cancelCertificate,
|
|
75
85
|
certificateSquarePayment: certificate_square_payment_1.certificateSquarePayment,
|
|
86
|
+
certificateCloudPaymentsPayment: certificate_cloudpayments_payment_1.certificateCloudPaymentsPayment,
|
|
87
|
+
certificateYooKassaPayment: certificate_yookassa_payment_1.certificateYooKassaPayment,
|
|
76
88
|
orderSquarePayment: order_payment_square_1.orderSquarePayment,
|
|
89
|
+
orderCloudPaymentsPayment: order_payment_cloudpayments_1.orderCloudPaymentsPayment,
|
|
90
|
+
orderYooKassaPayment: order_payment_yookassa_1.orderYooKassaPayment,
|
|
77
91
|
addPromocodeToCertificate: add_promocode_to_certificate_1.addPromocodeToCertificate,
|
|
78
92
|
getOrderAvailableUpsellings: get_order_available_upsellings_1.getOrderAvailableUpsellings,
|
|
79
93
|
findOrderForOrderService: find_order_for_order_service_1.findOrderForOrderService,
|
|
@@ -131,6 +145,8 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
131
145
|
orderGroupStripePayment: order_group_payment_stripe_1.orderGroupStripePayment,
|
|
132
146
|
orderGroupPaypalPayment: order_group_payment_paypal_1.orderGroupPaypalPayment,
|
|
133
147
|
orderGroupSquarePayment: order_group_payment_square_1.orderGroupSquarePayment,
|
|
148
|
+
orderGroupCloudPaymentsPayment: order_group_payment_cloudpayments_1.orderGroupCloudPaymentsPayment,
|
|
149
|
+
orderGroupYooKassaPayment: order_group_payment_yookassa_1.orderGroupYooKassaPayment,
|
|
134
150
|
orderGroupConfirmWithoutPayment: order_group_confirm_without_payment_1.orderGroupConfirmWithoutPayment,
|
|
135
151
|
capturePaypalOrderGroup: capture_paypal_order_group_1.capturePaypalOrderGroup,
|
|
136
152
|
batchCreateOrderGroup: batch_create_order_group_1.batchCreateOrderGroup,
|
|
@@ -140,4 +156,8 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
140
156
|
packageAvailability: package_availability_1.packageAvailability,
|
|
141
157
|
packageAvailabilityRange: package_availability_range_1.packageAvailabilityRange,
|
|
142
158
|
bookPackage: book_package_1.bookPackage,
|
|
159
|
+
getLeadForm: get_lead_form_1.getLeadForm,
|
|
160
|
+
getLeadFormByUuid: get_lead_form_by_uuid_1.getLeadFormByUuid,
|
|
161
|
+
submitLead: submit_lead_1.submitLead,
|
|
162
|
+
submitLeadByUuid: submit_lead_by_uuid_1.submitLeadByUuid,
|
|
143
163
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PublicLeadFormRO } from '@escapenavigator/types/dist/lead/public/public-lead-form.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
uuid: string;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = PublicLeadFormRO;
|
|
7
|
+
/** Форма по ссылке или QR: без widget-токена, поэтому uuid в пути. */
|
|
8
|
+
export declare const getLeadFormByUuid: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLeadFormByUuid = void 0;
|
|
4
|
+
/** Форма по ссылке или QR: без widget-токена, поэтому uuid в пути. */
|
|
5
|
+
var getLeadFormByUuid = function (_a) {
|
|
6
|
+
var uuid = _a.uuid;
|
|
7
|
+
return ({
|
|
8
|
+
url: "/openapi/leads/form/".concat(uuid),
|
|
9
|
+
method: 'GET',
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.getLeadFormByUuid = getLeadFormByUuid;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PublicLeadFormRO } from '@escapenavigator/types/dist/lead/public/public-lead-form.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
formId?: number;
|
|
5
|
+
} | undefined;
|
|
6
|
+
type ResponseData = PublicLeadFormRO;
|
|
7
|
+
export declare const getLeadForm: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLeadForm = void 0;
|
|
4
|
+
var getLeadForm = function (params) { return ({
|
|
5
|
+
url: '/openapi/leads/form',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.getLeadForm = getLeadForm;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SubmitLeadDto } from '@escapenavigator/types/dist/lead/public/submit-lead.dto';
|
|
2
|
+
import { SubmitLeadRO } from '@escapenavigator/types/dist/lead/public/submit-lead.ro';
|
|
3
|
+
import { Languages } from '@escapenavigator/types/dist/shared/enum/languages.enum';
|
|
4
|
+
import { ApiMethodDeclaration } from '../..';
|
|
5
|
+
type ParamsData = {
|
|
6
|
+
uuid: string;
|
|
7
|
+
language?: Languages;
|
|
8
|
+
data: SubmitLeadDto;
|
|
9
|
+
};
|
|
10
|
+
type ResponseData = SubmitLeadRO;
|
|
11
|
+
export declare const submitLeadByUuid: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.submitLeadByUuid = void 0;
|
|
4
|
+
var submitLeadByUuid = function (_a) {
|
|
5
|
+
var uuid = _a.uuid, language = _a.language, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/openapi/leads/form/".concat(uuid),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
params: language ? { language: language } : undefined,
|
|
10
|
+
data: data,
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
exports.submitLeadByUuid = submitLeadByUuid;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SubmitLeadDto } from '@escapenavigator/types/dist/lead/public/submit-lead.dto';
|
|
2
|
+
import { SubmitLeadRO } from '@escapenavigator/types/dist/lead/public/submit-lead.ro';
|
|
3
|
+
import { Languages } from '@escapenavigator/types/dist/shared/enum/languages.enum';
|
|
4
|
+
import { ApiMethodDeclaration } from '../..';
|
|
5
|
+
type ParamsData = {
|
|
6
|
+
language?: Languages;
|
|
7
|
+
data: SubmitLeadDto;
|
|
8
|
+
};
|
|
9
|
+
type ResponseData = SubmitLeadRO;
|
|
10
|
+
export declare const submitLead: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.submitLead = void 0;
|
|
4
|
+
var submitLead = function (_a) {
|
|
5
|
+
var language = _a.language, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/openapi/leads',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
params: language ? { language: language } : undefined,
|
|
10
|
+
data: data,
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
exports.submitLead = submitLead;
|
|
@@ -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 orderGroupCloudPaymentsPayment: 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.orderGroupCloudPaymentsPayment = void 0;
|
|
15
|
+
var orderGroupCloudPaymentsPayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/cloudpayments"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupCloudPaymentsPayment = orderGroupCloudPaymentsPayment;
|
|
@@ -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 orderGroupYooKassaPayment: 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.orderGroupYooKassaPayment = void 0;
|
|
15
|
+
var orderGroupYooKassaPayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/yookassa"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupYooKassaPayment = orderGroupYooKassaPayment;
|
|
@@ -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 orderCloudPaymentsPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orderCloudPaymentsPayment = void 0;
|
|
4
|
+
var orderCloudPaymentsPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/orders/payment/cloudpayments',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.orderCloudPaymentsPayment = orderCloudPaymentsPayment;
|
|
@@ -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 orderYooKassaPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orderYooKassaPayment = void 0;
|
|
4
|
+
var orderYooKassaPayment = function (data) { return ({
|
|
5
|
+
url: '/openapi/orders/payment/yookassa',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.orderYooKassaPayment = orderYooKassaPayment;
|
|
@@ -99,6 +99,12 @@ import { sendOrderClientEmail } from './profile-sms/send-order-client-email';
|
|
|
99
99
|
import { sendOrderClientSms } from './profile-sms/send-order-client-sms';
|
|
100
100
|
import { sendTestSms } from './profile-sms/send-test-sms';
|
|
101
101
|
import { updateSmsSettings } from './profile-sms/update-sms-settings';
|
|
102
|
+
import { getTelephonySettings } from './telephony/get-telephony-settings';
|
|
103
|
+
import { queryClientCalls } from './telephony/query-client-calls';
|
|
104
|
+
import { queryLiveCalls } from './telephony/query-live-calls';
|
|
105
|
+
import { rotateTelephonyWebhookToken } from './telephony/rotate-telephony-webhook-token';
|
|
106
|
+
import { sendTelephonyTestCall } from './telephony/send-telephony-test-call';
|
|
107
|
+
import { updateTelephonySettings } from './telephony/update-telephony-settings';
|
|
102
108
|
import { query } from './query';
|
|
103
109
|
import { remove } from './remove';
|
|
104
110
|
import { createSmtp } from './smtp/create-smtp';
|
|
@@ -257,6 +263,12 @@ type ApiDeclaration = {
|
|
|
257
263
|
querySmsLogsByClient: typeof querySmsLogsByClient;
|
|
258
264
|
getSmsSettings: typeof getSmsSettings;
|
|
259
265
|
updateSmsSettings: typeof updateSmsSettings;
|
|
266
|
+
getTelephonySettings: typeof getTelephonySettings;
|
|
267
|
+
updateTelephonySettings: typeof updateTelephonySettings;
|
|
268
|
+
rotateTelephonyWebhookToken: typeof rotateTelephonyWebhookToken;
|
|
269
|
+
sendTelephonyTestCall: typeof sendTelephonyTestCall;
|
|
270
|
+
queryLiveCalls: typeof queryLiveCalls;
|
|
271
|
+
queryClientCalls: typeof queryClientCalls;
|
|
260
272
|
};
|
|
261
273
|
export declare const profilesApiDeclaration: ApiDeclaration;
|
|
262
274
|
export {};
|
|
@@ -102,6 +102,12 @@ var send_order_client_email_1 = require("./profile-sms/send-order-client-email")
|
|
|
102
102
|
var send_order_client_sms_1 = require("./profile-sms/send-order-client-sms");
|
|
103
103
|
var send_test_sms_1 = require("./profile-sms/send-test-sms");
|
|
104
104
|
var update_sms_settings_1 = require("./profile-sms/update-sms-settings");
|
|
105
|
+
var get_telephony_settings_1 = require("./telephony/get-telephony-settings");
|
|
106
|
+
var query_client_calls_1 = require("./telephony/query-client-calls");
|
|
107
|
+
var query_live_calls_1 = require("./telephony/query-live-calls");
|
|
108
|
+
var rotate_telephony_webhook_token_1 = require("./telephony/rotate-telephony-webhook-token");
|
|
109
|
+
var send_telephony_test_call_1 = require("./telephony/send-telephony-test-call");
|
|
110
|
+
var update_telephony_settings_1 = require("./telephony/update-telephony-settings");
|
|
105
111
|
var query_3 = require("./query");
|
|
106
112
|
var remove_2 = require("./remove");
|
|
107
113
|
var create_smtp_1 = require("./smtp/create-smtp");
|
|
@@ -153,6 +159,12 @@ exports.profilesApiDeclaration = {
|
|
|
153
159
|
querySmsLogsByClient: query_sms_logs_by_client_1.querySmsLogsByClient,
|
|
154
160
|
getSmsSettings: get_sms_settings_1.getSmsSettings,
|
|
155
161
|
updateSmsSettings: update_sms_settings_1.updateSmsSettings,
|
|
162
|
+
getTelephonySettings: get_telephony_settings_1.getTelephonySettings,
|
|
163
|
+
updateTelephonySettings: update_telephony_settings_1.updateTelephonySettings,
|
|
164
|
+
rotateTelephonyWebhookToken: rotate_telephony_webhook_token_1.rotateTelephonyWebhookToken,
|
|
165
|
+
sendTelephonyTestCall: send_telephony_test_call_1.sendTelephonyTestCall,
|
|
166
|
+
queryLiveCalls: query_live_calls_1.queryLiveCalls,
|
|
167
|
+
queryClientCalls: query_client_calls_1.queryClientCalls,
|
|
156
168
|
queryBalancePayments: query_balance_payments_1.queryBalancePayments,
|
|
157
169
|
queryProfileBalancePayments: query_profile_balance_payments_1.queryProfileBalancePayments,
|
|
158
170
|
adjustBalance: adjust_balance_1.adjustBalance,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTelephonySettings = void 0;
|
|
4
|
+
var getTelephonySettings = function () { return ({
|
|
5
|
+
url: '/telephony/settings',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getTelephonySettings = getTelephonySettings;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TelephonyCallRO } from '@escapenavigator/types/dist/profile/telephony/ro/telephony-call.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
clientId: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const queryClientCalls: ApiMethodDeclaration<ParamsData, TelephonyCallRO[]>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryClientCalls = void 0;
|
|
4
|
+
var queryClientCalls = function (_a) {
|
|
5
|
+
var clientId = _a.clientId, limit = _a.limit;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/telephony/calls/by-client/".concat(clientId),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
params: { limit: limit },
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.queryClientCalls = queryClientCalls;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rotateTelephonyWebhookToken = void 0;
|
|
4
|
+
var rotateTelephonyWebhookToken = function () { return ({
|
|
5
|
+
url: '/telephony/settings/rotate-token',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
}); };
|
|
8
|
+
exports.rotateTelephonyWebhookToken = rotateTelephonyWebhookToken;
|