@escapenavigator/services 1.10.109 → 1.10.111
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 → agregator-api}/certificates/capture-paypal-navigator-certificate.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/check-navigator-certificate-by-code.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/create-navigator-certificate.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/find-navigator-certificate.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/get-navigator-certificate-payment-methods.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/get-navigator-certificate-templates.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-paypal-payment.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-square-payment.js +1 -1
- package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-stripe-payment.js +1 -1
- package/dist/api/agregator-api/index.d.ts +20 -0
- package/dist/api/agregator-api/index.js +20 -0
- package/dist/api/{profiles-api → agregator-api/questrooms}/register-questroom-visit.d.ts +1 -1
- package/dist/api/{profiles-api → agregator-api/questrooms}/register-questroom-visit.js +1 -1
- package/dist/api/cashboxes-api/query.d.ts +3 -1
- package/dist/api/cashboxes-api/query.js +2 -1
- package/dist/api/certificates-api/query.d.ts +3 -1
- package/dist/api/certificates-api/query.js +2 -1
- package/dist/api/index.js +12 -2
- package/dist/api/init-client-api.d.ts +0 -2
- package/dist/api/init-client-api.js +0 -2
- package/dist/api/locations-api/query.d.ts +3 -1
- package/dist/api/openapi-widget-api/certificates/find-certificate.js +1 -1
- package/dist/api/openapi-widget-api/index.d.ts +10 -8
- package/dist/api/openapi-widget-api/index.js +10 -8
- package/dist/api/openapi-widget-api/orders/find-order-for-order-service.js +1 -1
- package/dist/api/openapi-widget-api/orders/find-order.js +1 -1
- package/dist/api/openapi-widget-api/slots/slot-details.d.ts +7 -0
- package/dist/api/openapi-widget-api/slots/slot-details.js +23 -0
- package/dist/api/openapi-widget-api/slots/slots-for-day.d.ts +4 -1
- package/dist/api/openapi-widget-api/slots/slots-for-week.d.ts +4 -1
- package/dist/api/profiles-api/index.d.ts +18 -12
- package/dist/api/profiles-api/index.js +26 -20
- package/dist/api/profiles-api/notification-chanel/get-client-notofocations.d.ts +1 -1
- package/dist/api/profiles-api/profile-sms/get-sms-settings.d.ts +4 -0
- package/dist/api/profiles-api/profile-sms/get-sms-settings.js +9 -0
- package/dist/api/profiles-api/profile-sms/query-order-sms-logs.d.ts +12 -0
- package/dist/api/profiles-api/profile-sms/query-order-sms-logs.js +12 -0
- package/dist/api/profiles-api/profile-sms/send-order-client-email.d.ts +9 -0
- package/dist/api/profiles-api/profile-sms/send-order-client-email.js +12 -0
- package/dist/api/profiles-api/profile-sms/send-order-client-sms.d.ts +9 -0
- package/dist/api/profiles-api/profile-sms/send-order-client-sms.js +12 -0
- package/dist/api/profiles-api/profile-sms/update-sms-settings.d.ts +8 -0
- package/dist/api/{slot-room-templates-api/update.js → profiles-api/profile-sms/update-sms-settings.js} +4 -4
- package/dist/api/profiles-api/waiver/create-profile-waiver.d.ts +9 -0
- package/dist/api/profiles-api/{rooms/create.js → waiver/create-profile-waiver.js} +4 -4
- package/dist/api/profiles-api/waiver/get-profile-waiver-for-order-service.d.ts +4 -1
- package/dist/api/profiles-api/waiver/get-profile-waiver-for-order-service.js +10 -4
- package/dist/api/profiles-api/waiver/query-profile-waivers.d.ts +6 -0
- package/dist/api/profiles-api/waiver/query-profile-waivers.js +8 -0
- package/dist/api/profiles-api/waiver/remove-profile-waiver-by-id.d.ts +6 -0
- package/dist/api/profiles-api/waiver/remove-profile-waiver-by-id.js +10 -0
- package/dist/api/profiles-api/waiver/update-profile-waiver-by-id.d.ts +10 -0
- package/dist/api/profiles-api/waiver/update-profile-waiver-by-id.js +12 -0
- package/dist/api/questrooms-api/query.d.ts +3 -1
- package/dist/api/roles-api/query.d.ts +3 -1
- package/dist/api/slots-api/index.d.ts +2 -0
- package/dist/api/slots-api/index.js +2 -0
- package/dist/api/slots-api/slot-details.d.ts +7 -0
- package/dist/api/slots-api/slot-details.js +23 -0
- package/dist/api/tariffs-api/query.d.ts +3 -1
- package/dist/api/upsellings-api/query.d.ts +3 -1
- package/dist/api/users-api/query.d.ts +3 -1
- package/dist/hooks/use-api-method/index.js +13 -7
- package/package.json +4 -4
- package/dist/api/profiles-api/rooms/create.d.ts +0 -9
- package/dist/api/profiles-api/rooms/delete.d.ts +0 -7
- package/dist/api/profiles-api/rooms/delete.js +0 -11
- package/dist/api/profiles-api/rooms/get-all.d.ts +0 -6
- package/dist/api/profiles-api/rooms/get-all.js +0 -8
- package/dist/api/profiles-api/rooms/get-one.d.ts +0 -8
- package/dist/api/profiles-api/rooms/get-one.js +0 -11
- package/dist/api/profiles-api/rooms/update.d.ts +0 -10
- package/dist/api/profiles-api/rooms/update.js +0 -12
- package/dist/api/slot-room-templates-api/get-all-actual.d.ts +0 -6
- package/dist/api/slot-room-templates-api/get-all-actual.js +0 -8
- package/dist/api/slot-room-templates-api/get-one.d.ts +0 -7
- package/dist/api/slot-room-templates-api/get-one.js +0 -8
- package/dist/api/slot-room-templates-api/index.d.ts +0 -10
- package/dist/api/slot-room-templates-api/index.js +0 -11
- package/dist/api/slot-room-templates-api/update.d.ts +0 -8
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/capture-paypal-navigator-certificate.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/check-navigator-certificate-by-code.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/create-navigator-certificate.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/find-navigator-certificate.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/get-navigator-certificate-payment-methods.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/get-navigator-certificate-templates.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-paypal-payment.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-square-payment.d.ts +0 -0
- /package/dist/api/{openapi-widget-api → agregator-api}/certificates/navigator-certificate-stripe-payment.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.capturePaypalNavigatorCertificate = void 0;
|
|
4
4
|
var capturePaypalNavigatorCertificate = function (data) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(data.certificateToken, "/capture/paypal"),
|
|
6
6
|
method: 'PATCH',
|
|
7
7
|
data: {
|
|
8
8
|
paymentId: data.paymentId,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.checkNavigatorCertificateByCode = void 0;
|
|
4
4
|
var checkNavigatorCertificateByCode = function (params) { return ({
|
|
5
|
-
url: '/
|
|
5
|
+
url: '/agregator/certificates/check/by-code',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
package/dist/api/{openapi-widget-api → agregator-api}/certificates/create-navigator-certificate.js
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createNavigatorCertificate = void 0;
|
|
4
4
|
var createNavigatorCertificate = function (data) { return ({
|
|
5
|
-
url: '/
|
|
5
|
+
url: '/agregator/certificates',
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: data,
|
|
8
8
|
}); };
|
package/dist/api/{openapi-widget-api → agregator-api}/certificates/find-navigator-certificate.js
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findNavigatorCertificate = void 0;
|
|
4
4
|
var findNavigatorCertificate = function (params) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(params.certificateToken),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findNavigatorCertificate = findNavigatorCertificate;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getNavigatorCertificatePaymentMethods = void 0;
|
|
4
4
|
var getNavigatorCertificatePaymentMethods = function (params) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(params.certificateToken, "/payment-method"),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.getNavigatorCertificatePaymentMethods = getNavigatorCertificatePaymentMethods;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getNavigatorCertificateTemplates = void 0;
|
|
4
4
|
var getNavigatorCertificateTemplates = function (params) { return ({
|
|
5
|
-
url: '/
|
|
5
|
+
url: '/agregator/certificates/templates',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.navigatorCertificatePaypalPayment = void 0;
|
|
4
4
|
var navigatorCertificatePaypalPayment = function (data) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(data.certificateToken, "/payment/paypal"),
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: {
|
|
8
8
|
includedIncrease: data.includedIncrease,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.navigatorCertificateSquarePayment = void 0;
|
|
4
4
|
var navigatorCertificateSquarePayment = function (data) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(data.certificateToken, "/payment/square"),
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: {
|
|
8
8
|
sourceId: data.sourceId,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.navigatorCertificateStripePayment = void 0;
|
|
4
4
|
var navigatorCertificateStripePayment = function (data) { return ({
|
|
5
|
-
url: "/
|
|
5
|
+
url: "/agregator/certificates/".concat(data.certificateToken, "/payment/stripe"),
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: {
|
|
8
8
|
includedIncrease: data.includedIncrease,
|
|
@@ -5,6 +5,15 @@ import { removeReview } from '../reviews-social-api/remove-review';
|
|
|
5
5
|
import { findPostBySlug } from './blog/find-post-by-slug';
|
|
6
6
|
import { findPosts } from './blog/find-posts';
|
|
7
7
|
import { findPostForMainPage } from './blog/find-posts-for-main-page';
|
|
8
|
+
import { capturePaypalNavigatorCertificate } from './certificates/capture-paypal-navigator-certificate';
|
|
9
|
+
import { checkNavigatorCertificateByCode } from './certificates/check-navigator-certificate-by-code';
|
|
10
|
+
import { createNavigatorCertificate } from './certificates/create-navigator-certificate';
|
|
11
|
+
import { findNavigatorCertificate } from './certificates/find-navigator-certificate';
|
|
12
|
+
import { getNavigatorCertificatePaymentMethods } from './certificates/get-navigator-certificate-payment-methods';
|
|
13
|
+
import { getNavigatorCertificateTemplates } from './certificates/get-navigator-certificate-templates';
|
|
14
|
+
import { navigatorCertificatePaypalPayment } from './certificates/navigator-certificate-paypal-payment';
|
|
15
|
+
import { navigatorCertificateSquarePayment } from './certificates/navigator-certificate-square-payment';
|
|
16
|
+
import { navigatorCertificateStripePayment } from './certificates/navigator-certificate-stripe-payment';
|
|
8
17
|
import { defineCityByPlaceId } from './city/define-city-by-place-id';
|
|
9
18
|
import { findCitiesByCountry } from './city/find-cities-by-country';
|
|
10
19
|
import { findCityByTitle } from './city/find-cities-by-title';
|
|
@@ -31,6 +40,7 @@ import { findQuestroomsByLocationId } from './questrooms/find-questrooms-by-loca
|
|
|
31
40
|
import { findQuestroomsByOrganizationId } from './questrooms/find-questrooms-by-organization-id';
|
|
32
41
|
import { findQuestroomsByTitle } from './questrooms/find-questrooms-by-title';
|
|
33
42
|
import { questroomsSearch } from './questrooms/questrooms-search';
|
|
43
|
+
import { registerQuestroomVisit } from './questrooms/register-questroom-visit';
|
|
34
44
|
import { sitemap } from './questrooms/sitemap';
|
|
35
45
|
import { originalReview } from './reviews/original-review';
|
|
36
46
|
import { reviewsCity } from './reviews/reviews-city';
|
|
@@ -39,6 +49,15 @@ import { reviewsQuestroom } from './reviews/reviews-questroom';
|
|
|
39
49
|
import { createIssue } from './create-issue';
|
|
40
50
|
import { getAggregatorFaq } from './get-aggregator-faq';
|
|
41
51
|
type ApiDeclaration = {
|
|
52
|
+
createNavigatorCertificate: typeof createNavigatorCertificate;
|
|
53
|
+
getNavigatorCertificateTemplates: typeof getNavigatorCertificateTemplates;
|
|
54
|
+
checkNavigatorCertificateByCode: typeof checkNavigatorCertificateByCode;
|
|
55
|
+
findNavigatorCertificate: typeof findNavigatorCertificate;
|
|
56
|
+
getNavigatorCertificatePaymentMethods: typeof getNavigatorCertificatePaymentMethods;
|
|
57
|
+
navigatorCertificateStripePayment: typeof navigatorCertificateStripePayment;
|
|
58
|
+
navigatorCertificatePaypalPayment: typeof navigatorCertificatePaypalPayment;
|
|
59
|
+
navigatorCertificateSquarePayment: typeof navigatorCertificateSquarePayment;
|
|
60
|
+
capturePaypalNavigatorCertificate: typeof capturePaypalNavigatorCertificate;
|
|
42
61
|
getAggregatorFaq: typeof getAggregatorFaq;
|
|
43
62
|
originalReview: typeof originalReview;
|
|
44
63
|
addFavorite: typeof addFavorite;
|
|
@@ -74,6 +93,7 @@ type ApiDeclaration = {
|
|
|
74
93
|
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
75
94
|
findAllCompanies: typeof findAllCompanies;
|
|
76
95
|
countQuestrooms: typeof countQuestrooms;
|
|
96
|
+
registerQuestroomVisit: typeof registerQuestroomVisit;
|
|
77
97
|
findPosts: typeof findPosts;
|
|
78
98
|
findPostBySlug: typeof findPostBySlug;
|
|
79
99
|
findPostForMainPage: typeof findPostForMainPage;
|
|
@@ -8,6 +8,15 @@ var remove_review_1 = require("../reviews-social-api/remove-review");
|
|
|
8
8
|
var find_post_by_slug_1 = require("./blog/find-post-by-slug");
|
|
9
9
|
var find_posts_1 = require("./blog/find-posts");
|
|
10
10
|
var find_posts_for_main_page_1 = require("./blog/find-posts-for-main-page");
|
|
11
|
+
var capture_paypal_navigator_certificate_1 = require("./certificates/capture-paypal-navigator-certificate");
|
|
12
|
+
var check_navigator_certificate_by_code_1 = require("./certificates/check-navigator-certificate-by-code");
|
|
13
|
+
var create_navigator_certificate_1 = require("./certificates/create-navigator-certificate");
|
|
14
|
+
var find_navigator_certificate_1 = require("./certificates/find-navigator-certificate");
|
|
15
|
+
var get_navigator_certificate_payment_methods_1 = require("./certificates/get-navigator-certificate-payment-methods");
|
|
16
|
+
var get_navigator_certificate_templates_1 = require("./certificates/get-navigator-certificate-templates");
|
|
17
|
+
var navigator_certificate_paypal_payment_1 = require("./certificates/navigator-certificate-paypal-payment");
|
|
18
|
+
var navigator_certificate_square_payment_1 = require("./certificates/navigator-certificate-square-payment");
|
|
19
|
+
var navigator_certificate_stripe_payment_1 = require("./certificates/navigator-certificate-stripe-payment");
|
|
11
20
|
var define_city_by_place_id_1 = require("./city/define-city-by-place-id");
|
|
12
21
|
var find_cities_by_country_1 = require("./city/find-cities-by-country");
|
|
13
22
|
var find_cities_by_title_1 = require("./city/find-cities-by-title");
|
|
@@ -34,6 +43,7 @@ var find_questrooms_by_location_id_1 = require("./questrooms/find-questrooms-by-
|
|
|
34
43
|
var find_questrooms_by_organization_id_1 = require("./questrooms/find-questrooms-by-organization-id");
|
|
35
44
|
var find_questrooms_by_title_1 = require("./questrooms/find-questrooms-by-title");
|
|
36
45
|
var questrooms_search_1 = require("./questrooms/questrooms-search");
|
|
46
|
+
var register_questroom_visit_1 = require("./questrooms/register-questroom-visit");
|
|
37
47
|
var sitemap_1 = require("./questrooms/sitemap");
|
|
38
48
|
var original_review_1 = require("./reviews/original-review");
|
|
39
49
|
var reviews_city_1 = require("./reviews/reviews-city");
|
|
@@ -42,6 +52,15 @@ var reviews_questroom_1 = require("./reviews/reviews-questroom");
|
|
|
42
52
|
var create_issue_1 = require("./create-issue");
|
|
43
53
|
var get_aggregator_faq_1 = require("./get-aggregator-faq");
|
|
44
54
|
exports.agregatorApiDeclaration = {
|
|
55
|
+
createNavigatorCertificate: create_navigator_certificate_1.createNavigatorCertificate,
|
|
56
|
+
getNavigatorCertificateTemplates: get_navigator_certificate_templates_1.getNavigatorCertificateTemplates,
|
|
57
|
+
checkNavigatorCertificateByCode: check_navigator_certificate_by_code_1.checkNavigatorCertificateByCode,
|
|
58
|
+
findNavigatorCertificate: find_navigator_certificate_1.findNavigatorCertificate,
|
|
59
|
+
getNavigatorCertificatePaymentMethods: get_navigator_certificate_payment_methods_1.getNavigatorCertificatePaymentMethods,
|
|
60
|
+
navigatorCertificateStripePayment: navigator_certificate_stripe_payment_1.navigatorCertificateStripePayment,
|
|
61
|
+
navigatorCertificatePaypalPayment: navigator_certificate_paypal_payment_1.navigatorCertificatePaypalPayment,
|
|
62
|
+
navigatorCertificateSquarePayment: navigator_certificate_square_payment_1.navigatorCertificateSquarePayment,
|
|
63
|
+
capturePaypalNavigatorCertificate: capture_paypal_navigator_certificate_1.capturePaypalNavigatorCertificate,
|
|
45
64
|
getAggregatorFaq: get_aggregator_faq_1.getAggregatorFaq,
|
|
46
65
|
addLike: add_like_1.addLike,
|
|
47
66
|
createIssue: create_issue_1.createIssue,
|
|
@@ -62,6 +81,7 @@ exports.agregatorApiDeclaration = {
|
|
|
62
81
|
cityOtherQuestrooms: city_other_questrooms_1.cityOtherQuestrooms,
|
|
63
82
|
findAllCompanies: find_organizations_1.findAllCompanies,
|
|
64
83
|
countQuestrooms: count_questrooms_1.countQuestrooms,
|
|
84
|
+
registerQuestroomVisit: register_questroom_visit_1.registerQuestroomVisit,
|
|
65
85
|
paginateFoundedEscapeRooms: paginate_founded_escape_rooms_1.paginateFoundedEscapeRooms,
|
|
66
86
|
logout: logout_1.logout,
|
|
67
87
|
sendCode: send_code_1.sendCode,
|
|
@@ -4,7 +4,7 @@ exports.registerQuestroomVisit = void 0;
|
|
|
4
4
|
var registerQuestroomVisit = function (_a) {
|
|
5
5
|
var questroomId = _a.questroomId;
|
|
6
6
|
return ({
|
|
7
|
-
url: "/
|
|
7
|
+
url: "/agregator/questrooms/".concat(questroomId, "/visit"),
|
|
8
8
|
method: 'POST',
|
|
9
9
|
});
|
|
10
10
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { CashboxRO } from '@escapenavigator/types/dist/cashbox/cashbox.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = CashboxRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.query = void 0;
|
|
4
|
-
var query = function () { return ({
|
|
4
|
+
var query = function (params) { return ({
|
|
5
5
|
url: '/cashboxes',
|
|
6
6
|
method: 'GET',
|
|
7
|
+
params: params,
|
|
7
8
|
}); };
|
|
8
9
|
exports.query = query;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { CertificateRO } from '@escapenavigator/types/dist/certificate/certificate.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = CertificateRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.query = void 0;
|
|
4
|
-
var query = function () { return ({
|
|
4
|
+
var query = function (params) { return ({
|
|
5
5
|
url: '/certificates',
|
|
6
6
|
method: 'GET',
|
|
7
|
+
params: params,
|
|
7
8
|
}); };
|
|
8
9
|
exports.query = query;
|
package/dist/api/index.js
CHANGED
|
@@ -51,6 +51,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
exports.initApi = void 0;
|
|
54
|
+
/* eslint-disable no-param-reassign */
|
|
54
55
|
/* eslint-disable no-restricted-globals */
|
|
55
56
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
56
57
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
@@ -73,13 +74,22 @@ function initApi(apiDeclaration, baseURL, clientOptions) {
|
|
|
73
74
|
api[key] = function (params) {
|
|
74
75
|
if (params === void 0) { params = undefined; }
|
|
75
76
|
return __awaiter(_this, void 0, void 0, function () {
|
|
76
|
-
var axiosConfig, result, error_1, e, redirectUrl;
|
|
77
|
+
var etag, axiosConfig, headers, mergedHeaders, hasConditionalHeaders, result, error_1, e, redirectUrl;
|
|
77
78
|
var _a;
|
|
78
79
|
return __generator(this, function (_b) {
|
|
79
80
|
switch (_b.label) {
|
|
80
81
|
case 0:
|
|
82
|
+
etag = params === null || params === void 0 ? void 0 : params.etag;
|
|
83
|
+
if (etag) {
|
|
84
|
+
delete params.etag;
|
|
85
|
+
}
|
|
81
86
|
axiosConfig = apiDeclaration[key](params);
|
|
82
|
-
|
|
87
|
+
headers = axiosConfig.headers;
|
|
88
|
+
mergedHeaders = __assign(__assign({}, (headers || {})), (etag ? { 'If-None-Match': etag } : {}));
|
|
89
|
+
hasConditionalHeaders = Boolean(mergedHeaders['If-None-Match']);
|
|
90
|
+
axiosConfig = __assign(__assign(__assign({}, axiosConfig), { baseURL: baseURL, withCredentials: true, headers: mergedHeaders }), (hasConditionalHeaders
|
|
91
|
+
? { validateStatus: function (status) { return (status >= 200 && status < 300) || status === 304; } }
|
|
92
|
+
: {}));
|
|
83
93
|
_b.label = 1;
|
|
84
94
|
case 1:
|
|
85
95
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -48,7 +48,6 @@ import { expertsReviewsApiDeclaration } from './reviews-experts-api';
|
|
|
48
48
|
import { socialReviewsApiDeclaration } from './reviews-social-api';
|
|
49
49
|
import { rolesApiDeclaration } from './roles-api';
|
|
50
50
|
import { searchApiDeclaration } from './search-api';
|
|
51
|
-
import { slotRoomTemplatesApiDeclaration } from './slot-room-templates-api';
|
|
52
51
|
import { slotRulesApi } from './slot-rules-api';
|
|
53
52
|
import { slotTemplatesApiDeclaration } from './slot-templates-api';
|
|
54
53
|
import { slotsApiDeclaration } from './slots-api';
|
|
@@ -105,7 +104,6 @@ export type InitApiDeclaration = {
|
|
|
105
104
|
userMessages: Api<typeof userMessagesApiDeclaration>;
|
|
106
105
|
slots: Api<typeof slotsApiDeclaration>;
|
|
107
106
|
slotTemplates: Api<typeof slotTemplatesApiDeclaration>;
|
|
108
|
-
slotRoomTemplates: Api<typeof slotRoomTemplatesApiDeclaration>;
|
|
109
107
|
agbs: Api<typeof agbApiDeclaration>;
|
|
110
108
|
cashboxes: Api<typeof cashboxesApiDeclaration>;
|
|
111
109
|
certificates: Api<typeof certificatesApiDeclaration>;
|
|
@@ -51,7 +51,6 @@ var reviews_experts_api_1 = require("./reviews-experts-api");
|
|
|
51
51
|
var reviews_social_api_1 = require("./reviews-social-api");
|
|
52
52
|
var roles_api_1 = require("./roles-api");
|
|
53
53
|
var search_api_1 = require("./search-api");
|
|
54
|
-
var slot_room_templates_api_1 = require("./slot-room-templates-api");
|
|
55
54
|
var slot_rules_api_1 = require("./slot-rules-api");
|
|
56
55
|
var slot_templates_api_1 = require("./slot-templates-api");
|
|
57
56
|
var slots_api_1 = require("./slots-api");
|
|
@@ -109,7 +108,6 @@ var initClientApi = function (url, clientOptions) { return ({
|
|
|
109
108
|
orderProducts: (0, _1.initApi)(order_products_api_1.orderProductsApiDeclaration, url, clientOptions),
|
|
110
109
|
slots: (0, _1.initApi)(slots_api_1.slotsApiDeclaration, url, clientOptions),
|
|
111
110
|
slotTemplates: (0, _1.initApi)(slot_templates_api_1.slotTemplatesApiDeclaration, url, clientOptions),
|
|
112
|
-
slotRoomTemplates: (0, _1.initApi)(slot_room_templates_api_1.slotRoomTemplatesApiDeclaration, url, clientOptions),
|
|
113
111
|
orders: (0, _1.initApi)(orders_api_1.ordersApiDeclaration, url, clientOptions),
|
|
114
112
|
cashboxes: (0, _1.initApi)(cashboxes_api_1.cashboxesApiDeclaration, url, clientOptions),
|
|
115
113
|
certificates: (0, _1.initApi)(certificates_api_1.certificatesApiDeclaration, url, clientOptions),
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { LocationRO } from '@escapenavigator/types/dist/location/location.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = LocationRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findCertificate = void 0;
|
|
4
4
|
var findCertificate = function (params) { return ({
|
|
5
|
-
url: '/openapi/
|
|
5
|
+
url: '/openapi/widget/certificate',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { addPromocodeToCertificate } from './certificates/add-promocode-to-certificate';
|
|
2
2
|
import { capturePaypalCertificate } from './certificates/capture-paypal-certificate';
|
|
3
|
-
import { capturePaypalNavigatorCertificate } from '
|
|
3
|
+
import { capturePaypalNavigatorCertificate } from '../agregator-api/certificates/capture-paypal-navigator-certificate';
|
|
4
4
|
import { certificatePaypalPayment } from './certificates/certificate-paypal-payment';
|
|
5
5
|
import { certificateSquarePayment } from './certificates/certificate-square-payment';
|
|
6
6
|
import { certificateStripePayment } from './certificates/certificate-stripe-payment';
|
|
7
|
-
import { checkNavigatorCertificateByCode } from '
|
|
7
|
+
import { checkNavigatorCertificateByCode } from '../agregator-api/certificates/check-navigator-certificate-by-code';
|
|
8
8
|
import { createCertificate } from './certificates/create-certificate';
|
|
9
|
-
import { createNavigatorCertificate } from '
|
|
9
|
+
import { createNavigatorCertificate } from '../agregator-api/certificates/create-navigator-certificate';
|
|
10
10
|
import { findCertificate } from './certificates/find-certificate';
|
|
11
|
-
import { findNavigatorCertificate } from '
|
|
11
|
+
import { findNavigatorCertificate } from '../agregator-api/certificates/find-navigator-certificate';
|
|
12
12
|
import { getCertificatePaymentMethods } from './certificates/get-certificate-payment-methods';
|
|
13
|
-
import { getNavigatorCertificatePaymentMethods } from '
|
|
14
|
-
import { getNavigatorCertificateTemplates } from '
|
|
15
|
-
import { navigatorCertificatePaypalPayment } from '
|
|
16
|
-
import { navigatorCertificateStripePayment } from '
|
|
13
|
+
import { getNavigatorCertificatePaymentMethods } from '../agregator-api/certificates/get-navigator-certificate-payment-methods';
|
|
14
|
+
import { getNavigatorCertificateTemplates } from '../agregator-api/certificates/get-navigator-certificate-templates';
|
|
15
|
+
import { navigatorCertificatePaypalPayment } from '../agregator-api/certificates/navigator-certificate-paypal-payment';
|
|
16
|
+
import { navigatorCertificateStripePayment } from '../agregator-api/certificates/navigator-certificate-stripe-payment';
|
|
17
17
|
import { removePromocodeFromCertificate } from './certificates/remove-certificate-from-order';
|
|
18
18
|
import { addPromocodeToOrder } from './orders/add-promocode-to-order';
|
|
19
19
|
import { addUpsellingToOrder } from './orders/add-upselling-to-order';
|
|
@@ -37,6 +37,7 @@ import { updateOrderPlayers } from './orders/update-order-players';
|
|
|
37
37
|
import { updateOrderSlot } from './orders/update-order-slot';
|
|
38
38
|
import { createHold } from './slots/create-hold';
|
|
39
39
|
import { removeHold } from './slots/remove-hold';
|
|
40
|
+
import { slotDetails } from './slots/slot-details';
|
|
40
41
|
import { slotsForDay } from './slots/slots-for-day';
|
|
41
42
|
import { slotsForWeek } from './slots/slots-for-week';
|
|
42
43
|
import { getAgregatorWidgetData } from './widget/get-agreagator-widget-data';
|
|
@@ -80,6 +81,7 @@ type ApiDeclaration = {
|
|
|
80
81
|
updateOrder: typeof updateOrder;
|
|
81
82
|
createHold: typeof createHold;
|
|
82
83
|
removeHold: typeof removeHold;
|
|
84
|
+
slotDetails: typeof slotDetails;
|
|
83
85
|
slotsForDay: typeof slotsForDay;
|
|
84
86
|
slotsForWeek: typeof slotsForWeek;
|
|
85
87
|
createBookeoOrder: typeof createBookeoOrder;
|
|
@@ -3,20 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.openapiWidgetApiDeclaration = void 0;
|
|
4
4
|
var add_promocode_to_certificate_1 = require("./certificates/add-promocode-to-certificate");
|
|
5
5
|
var capture_paypal_certificate_1 = require("./certificates/capture-paypal-certificate");
|
|
6
|
-
var capture_paypal_navigator_certificate_1 = require("
|
|
6
|
+
var capture_paypal_navigator_certificate_1 = require("../agregator-api/certificates/capture-paypal-navigator-certificate");
|
|
7
7
|
var certificate_paypal_payment_1 = require("./certificates/certificate-paypal-payment");
|
|
8
8
|
var certificate_square_payment_1 = require("./certificates/certificate-square-payment");
|
|
9
9
|
var certificate_stripe_payment_1 = require("./certificates/certificate-stripe-payment");
|
|
10
|
-
var check_navigator_certificate_by_code_1 = require("
|
|
10
|
+
var check_navigator_certificate_by_code_1 = require("../agregator-api/certificates/check-navigator-certificate-by-code");
|
|
11
11
|
var create_certificate_1 = require("./certificates/create-certificate");
|
|
12
|
-
var create_navigator_certificate_1 = require("
|
|
12
|
+
var create_navigator_certificate_1 = require("../agregator-api/certificates/create-navigator-certificate");
|
|
13
13
|
var find_certificate_1 = require("./certificates/find-certificate");
|
|
14
|
-
var find_navigator_certificate_1 = require("
|
|
14
|
+
var find_navigator_certificate_1 = require("../agregator-api/certificates/find-navigator-certificate");
|
|
15
15
|
var get_certificate_payment_methods_1 = require("./certificates/get-certificate-payment-methods");
|
|
16
|
-
var get_navigator_certificate_payment_methods_1 = require("
|
|
17
|
-
var get_navigator_certificate_templates_1 = require("
|
|
18
|
-
var navigator_certificate_paypal_payment_1 = require("
|
|
19
|
-
var navigator_certificate_stripe_payment_1 = require("
|
|
16
|
+
var get_navigator_certificate_payment_methods_1 = require("../agregator-api/certificates/get-navigator-certificate-payment-methods");
|
|
17
|
+
var get_navigator_certificate_templates_1 = require("../agregator-api/certificates/get-navigator-certificate-templates");
|
|
18
|
+
var navigator_certificate_paypal_payment_1 = require("../agregator-api/certificates/navigator-certificate-paypal-payment");
|
|
19
|
+
var navigator_certificate_stripe_payment_1 = require("../agregator-api/certificates/navigator-certificate-stripe-payment");
|
|
20
20
|
var remove_certificate_from_order_1 = require("./certificates/remove-certificate-from-order");
|
|
21
21
|
var add_promocode_to_order_1 = require("./orders/add-promocode-to-order");
|
|
22
22
|
var add_upselling_to_order_1 = require("./orders/add-upselling-to-order");
|
|
@@ -40,6 +40,7 @@ var update_order_players_1 = require("./orders/update-order-players");
|
|
|
40
40
|
var update_order_slot_1 = require("./orders/update-order-slot");
|
|
41
41
|
var create_hold_1 = require("./slots/create-hold");
|
|
42
42
|
var remove_hold_1 = require("./slots/remove-hold");
|
|
43
|
+
var slot_details_1 = require("./slots/slot-details");
|
|
43
44
|
var slots_for_day_1 = require("./slots/slots-for-day");
|
|
44
45
|
var slots_for_week_1 = require("./slots/slots-for-week");
|
|
45
46
|
var get_agreagator_widget_data_1 = require("./widget/get-agreagator-widget-data");
|
|
@@ -85,6 +86,7 @@ exports.openapiWidgetApiDeclaration = {
|
|
|
85
86
|
updateOrder: update_order_1.updateOrder,
|
|
86
87
|
createHold: create_hold_1.createHold,
|
|
87
88
|
removeHold: remove_hold_1.removeHold,
|
|
89
|
+
slotDetails: slot_details_1.slotDetails,
|
|
88
90
|
slotsForDay: slots_for_day_1.slotsForDay,
|
|
89
91
|
slotsForWeek: slots_for_week_1.slotsForWeek,
|
|
90
92
|
createBookeoOrder: external_1.createBookeoOrder,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findOrderForOrderService = void 0;
|
|
4
4
|
var findOrderForOrderService = function (params) { return ({
|
|
5
|
-
url: '/openapi/
|
|
5
|
+
url: '/openapi/widget/order/for-order-service',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiSlotDetailsDto } from '@escapenavigator/types/dist/openapi/slots/openapi-slot-details.dto';
|
|
2
|
+
import { OpenapiSlotEnrichedRO } from '@escapenavigator/types/dist/openapi/slots/openapi-slot-enriched.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiSlotDetailsDto;
|
|
5
|
+
type ResponseData = OpenapiSlotEnrichedRO;
|
|
6
|
+
export declare const slotDetails: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.slotDetails = void 0;
|
|
15
|
+
var slotDetails = function (params) {
|
|
16
|
+
var _a;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/openapi/slots/details',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign({}, params), { orderId: (_a = params.orderId) !== null && _a !== void 0 ? _a : undefined }),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.slotDetails = slotDetails;
|
|
@@ -2,6 +2,9 @@ import { OpenapiDayScheduleDto } from '@escapenavigator/types/dist/openapi/slots
|
|
|
2
2
|
import { OpenapiSlotRO } from '@escapenavigator/types/dist/openapi/slots/openapi-widget-slot.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
type ParamsData = OpenapiDayScheduleDto;
|
|
5
|
-
type ResponseData =
|
|
5
|
+
type ResponseData = {
|
|
6
|
+
slots: OpenapiSlotRO[];
|
|
7
|
+
nextFreeDateByQuestroomId: Record<number, string | null>;
|
|
8
|
+
};
|
|
6
9
|
export declare const slotsForDay: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
10
|
export {};
|
|
@@ -2,6 +2,9 @@ import { OpenapiWeekScheduleDto } from '@escapenavigator/types/dist/openapi/slot
|
|
|
2
2
|
import { OpenapiSlotRO } from '@escapenavigator/types/dist/openapi/slots/openapi-widget-slot.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
type ParamsData = OpenapiWeekScheduleDto;
|
|
5
|
-
type ResponseData =
|
|
5
|
+
type ResponseData = {
|
|
6
|
+
slots: OpenapiSlotRO[];
|
|
7
|
+
nextFreeDate: string | null;
|
|
8
|
+
};
|
|
6
9
|
export declare const slotsForWeek: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
10
|
export {};
|
|
@@ -43,11 +43,11 @@ import { getAllCrm } from './other-crm/get-all-crm';
|
|
|
43
43
|
import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
44
44
|
import { removeProfileCrm } from './other-crm/remove-profile-crm';
|
|
45
45
|
import { updateProfileCrm } from './other-crm/update-profile-crm';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { getSmsSettings } from './profile-sms/get-sms-settings';
|
|
47
|
+
import { queryOrderSmsLogs } from './profile-sms/query-order-sms-logs';
|
|
48
|
+
import { sendOrderClientEmail } from './profile-sms/send-order-client-email';
|
|
49
|
+
import { sendOrderClientSms } from './profile-sms/send-order-client-sms';
|
|
50
|
+
import { updateSmsSettings } from './profile-sms/update-sms-settings';
|
|
51
51
|
import { createSmtp } from './smtp/create-smtp';
|
|
52
52
|
import { getSmtps } from './smtp/get-smtps';
|
|
53
53
|
import { removeSmtp } from './smtp/remove-smtp';
|
|
@@ -60,9 +60,13 @@ import { getSubscriptionInfo } from './subscription/get-subscription-info';
|
|
|
60
60
|
import { paginateBills } from './subscription/paginate-bills';
|
|
61
61
|
import { cancelSubscription } from './subscription/remove-subscription';
|
|
62
62
|
import { updateSubscription } from './subscription/update-subscription';
|
|
63
|
+
import { createProfileWaiver } from './waiver/create-profile-waiver';
|
|
63
64
|
import { getProfileWaiver } from './waiver/get-profile-waiver';
|
|
64
65
|
import { getProfileWaiverForOrderService } from './waiver/get-profile-waiver-for-order-service';
|
|
66
|
+
import { queryProfileWaivers } from './waiver/query-profile-waivers';
|
|
67
|
+
import { removeProfileWaiverById } from './waiver/remove-profile-waiver-by-id';
|
|
65
68
|
import { updateProfileWaiver } from './waiver/update-profile-waiver';
|
|
69
|
+
import { updateProfileWaiverById } from './waiver/update-profile-waiver-by-id';
|
|
66
70
|
import { getWidgetCustomization } from './widget-customization/get';
|
|
67
71
|
import { updateWidgetCustomization } from './widget-customization/update';
|
|
68
72
|
import { create } from './create';
|
|
@@ -71,19 +75,12 @@ import { getInactiveCompaniesShort } from './get-inactive-companies-short';
|
|
|
71
75
|
import { getOnboardingSteps } from './get-onboarding-steps';
|
|
72
76
|
import { getOne } from './get-one';
|
|
73
77
|
import { query } from './query';
|
|
74
|
-
import { registerQuestroomVisit } from './register-questroom-visit';
|
|
75
78
|
import { remove } from './remove';
|
|
76
79
|
import { update } from './update';
|
|
77
80
|
import { updateCrmVerification } from './update-crm-verification';
|
|
78
81
|
import { updatePartnerProgram } from './update-partner-program';
|
|
79
82
|
import { updateStep } from './update-step';
|
|
80
83
|
type ApiDeclaration = {
|
|
81
|
-
getAllRooms: typeof getAllRooms;
|
|
82
|
-
deleteRoom: typeof deleteRoom;
|
|
83
|
-
createRoom: typeof createRoom;
|
|
84
|
-
getRoom: typeof getRoom;
|
|
85
|
-
updateRoom: typeof updateRoom;
|
|
86
|
-
registerQuestroomVisit: typeof registerQuestroomVisit;
|
|
87
84
|
deleteAction: typeof deleteAction;
|
|
88
85
|
queryCalls: typeof queryCalls;
|
|
89
86
|
adjustBalance: typeof adjustBalance;
|
|
@@ -123,9 +120,13 @@ type ApiDeclaration = {
|
|
|
123
120
|
getProfileAgb: typeof getProfileAgb;
|
|
124
121
|
getProfileAgbForOrderService: typeof getProfileAgbForOrderService;
|
|
125
122
|
updateProfileAgb: typeof updateProfileAgb;
|
|
123
|
+
queryProfileWaivers: typeof queryProfileWaivers;
|
|
126
124
|
getProfileWaiver: typeof getProfileWaiver;
|
|
127
125
|
getProfileWaiverForOrderService: typeof getProfileWaiverForOrderService;
|
|
126
|
+
createProfileWaiver: typeof createProfileWaiver;
|
|
128
127
|
updateProfileWaiver: typeof updateProfileWaiver;
|
|
128
|
+
updateProfileWaiverById: typeof updateProfileWaiverById;
|
|
129
|
+
removeProfileWaiverById: typeof removeProfileWaiverById;
|
|
129
130
|
getSubscriptionInfo: typeof getSubscriptionInfo;
|
|
130
131
|
paginateBills: typeof paginateBills;
|
|
131
132
|
getPrices: typeof getPrices;
|
|
@@ -157,6 +158,11 @@ type ApiDeclaration = {
|
|
|
157
158
|
queryNotificationChanels: typeof queryNotificationChanels;
|
|
158
159
|
webHookApi: typeof webHookApi;
|
|
159
160
|
getClientNotifications: typeof getClientNotifications;
|
|
161
|
+
sendOrderClientSms: typeof sendOrderClientSms;
|
|
162
|
+
sendOrderClientEmail: typeof sendOrderClientEmail;
|
|
163
|
+
queryOrderSmsLogs: typeof queryOrderSmsLogs;
|
|
164
|
+
getSmsSettings: typeof getSmsSettings;
|
|
165
|
+
updateSmsSettings: typeof updateSmsSettings;
|
|
160
166
|
};
|
|
161
167
|
export declare const profilesApiDeclaration: ApiDeclaration;
|
|
162
168
|
export {};
|