@escapenavigator/services 1.10.110 → 1.10.112
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/analytics-chat-api/ask.d.ts +27 -0
- package/dist/api/{profiles-api/rooms/create.js → analytics-chat-api/ask.js} +4 -4
- package/dist/api/analytics-chat-api/index.d.ts +6 -0
- package/dist/api/analytics-chat-api/index.js +7 -0
- 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 +3 -3
- package/dist/api/init-client-api.js +3 -3
- 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/waiver/create-profile-waiver.js +12 -0
- 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/statistics-api/certificates-report.d.ts +9 -0
- package/dist/api/statistics-api/certificates-report.js +12 -0
- package/dist/api/statistics-api/index.d.ts +2 -0
- package/dist/api/statistics-api/index.js +2 -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
|
@@ -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 {};
|
|
@@ -46,11 +46,11 @@ var get_all_crm_1 = require("./other-crm/get-all-crm");
|
|
|
46
46
|
var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
47
47
|
var remove_profile_crm_1 = require("./other-crm/remove-profile-crm");
|
|
48
48
|
var update_profile_crm_1 = require("./other-crm/update-profile-crm");
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
49
|
+
var get_sms_settings_1 = require("./profile-sms/get-sms-settings");
|
|
50
|
+
var query_order_sms_logs_1 = require("./profile-sms/query-order-sms-logs");
|
|
51
|
+
var send_order_client_email_1 = require("./profile-sms/send-order-client-email");
|
|
52
|
+
var send_order_client_sms_1 = require("./profile-sms/send-order-client-sms");
|
|
53
|
+
var update_sms_settings_1 = require("./profile-sms/update-sms-settings");
|
|
54
54
|
var create_smtp_1 = require("./smtp/create-smtp");
|
|
55
55
|
var get_smtps_1 = require("./smtp/get-smtps");
|
|
56
56
|
var remove_smtp_1 = require("./smtp/remove-smtp");
|
|
@@ -63,32 +63,29 @@ var get_subscription_info_1 = require("./subscription/get-subscription-info");
|
|
|
63
63
|
var paginate_bills_1 = require("./subscription/paginate-bills");
|
|
64
64
|
var remove_subscription_1 = require("./subscription/remove-subscription");
|
|
65
65
|
var update_subscription_1 = require("./subscription/update-subscription");
|
|
66
|
+
var create_profile_waiver_1 = require("./waiver/create-profile-waiver");
|
|
66
67
|
var get_profile_waiver_1 = require("./waiver/get-profile-waiver");
|
|
67
68
|
var get_profile_waiver_for_order_service_1 = require("./waiver/get-profile-waiver-for-order-service");
|
|
69
|
+
var query_profile_waivers_1 = require("./waiver/query-profile-waivers");
|
|
70
|
+
var remove_profile_waiver_by_id_1 = require("./waiver/remove-profile-waiver-by-id");
|
|
68
71
|
var update_profile_waiver_1 = require("./waiver/update-profile-waiver");
|
|
72
|
+
var update_profile_waiver_by_id_1 = require("./waiver/update-profile-waiver-by-id");
|
|
69
73
|
var get_1 = require("./widget-customization/get");
|
|
70
|
-
var
|
|
71
|
-
var
|
|
74
|
+
var update_2 = require("./widget-customization/update");
|
|
75
|
+
var create_3 = require("./create");
|
|
72
76
|
var get_by_slug_for_verify_1 = require("./get-by-slug-for-verify");
|
|
73
77
|
var get_inactive_companies_short_1 = require("./get-inactive-companies-short");
|
|
74
78
|
var get_onboarding_steps_1 = require("./get-onboarding-steps");
|
|
75
|
-
var
|
|
79
|
+
var get_one_1 = require("./get-one");
|
|
76
80
|
var query_3 = require("./query");
|
|
77
|
-
var register_questroom_visit_1 = require("./register-questroom-visit");
|
|
78
81
|
var remove_2 = require("./remove");
|
|
79
|
-
var
|
|
82
|
+
var update_3 = require("./update");
|
|
80
83
|
var update_crm_verification_1 = require("./update-crm-verification");
|
|
81
84
|
var update_partner_program_1 = require("./update-partner-program");
|
|
82
85
|
var update_step_1 = require("./update-step");
|
|
83
86
|
exports.profilesApiDeclaration = {
|
|
84
|
-
getAllRooms: get_all_1.getAllRooms,
|
|
85
|
-
deleteRoom: delete_1.deleteRoom,
|
|
86
|
-
registerQuestroomVisit: register_questroom_visit_1.registerQuestroomVisit,
|
|
87
87
|
getInactiveCompaniesShort: get_inactive_companies_short_1.getInactiveCompaniesShort,
|
|
88
88
|
updateNotificationChanel: update_1.updateNotificationChanel,
|
|
89
|
-
getRoom: get_one_1.getRoom,
|
|
90
|
-
createRoom: create_3.createRoom,
|
|
91
|
-
updateRoom: update_2.updateRoom,
|
|
92
89
|
deleteAction: delete_action_1.deleteAction,
|
|
93
90
|
queryCalls: query_1.queryCalls,
|
|
94
91
|
createNotificationChanel: create_2.createNotificationChanel,
|
|
@@ -96,6 +93,11 @@ exports.profilesApiDeclaration = {
|
|
|
96
93
|
queryNotificationChanels: query_2.queryNotificationChanels,
|
|
97
94
|
webHookApi: webhook_api_1.webHookApi,
|
|
98
95
|
getClientNotifications: get_client_notofocations_1.getClientNotifications,
|
|
96
|
+
sendOrderClientSms: send_order_client_sms_1.sendOrderClientSms,
|
|
97
|
+
sendOrderClientEmail: send_order_client_email_1.sendOrderClientEmail,
|
|
98
|
+
queryOrderSmsLogs: query_order_sms_logs_1.queryOrderSmsLogs,
|
|
99
|
+
getSmsSettings: get_sms_settings_1.getSmsSettings,
|
|
100
|
+
updateSmsSettings: update_sms_settings_1.updateSmsSettings,
|
|
99
101
|
queryBalancePayments: query_balance_payments_1.queryBalancePayments,
|
|
100
102
|
queryProfileBalancePayments: query_profile_balance_payments_1.queryProfileBalancePayments,
|
|
101
103
|
adjustBalance: adjust_balance_1.adjustBalance,
|
|
@@ -111,8 +113,12 @@ exports.profilesApiDeclaration = {
|
|
|
111
113
|
testSmtp: test_smtp_1.testSmtp,
|
|
112
114
|
getAllCustomersEmail: get_all_customer_emails_1.getAllCustomersEmail,
|
|
113
115
|
getCustomerEmail: get_customer_email_1.getCustomerEmail,
|
|
116
|
+
queryProfileWaivers: query_profile_waivers_1.queryProfileWaivers,
|
|
114
117
|
getProfileWaiverForOrderService: get_profile_waiver_for_order_service_1.getProfileWaiverForOrderService,
|
|
118
|
+
createProfileWaiver: create_profile_waiver_1.createProfileWaiver,
|
|
115
119
|
updateProfileWaiver: update_profile_waiver_1.updateProfileWaiver,
|
|
120
|
+
updateProfileWaiverById: update_profile_waiver_by_id_1.updateProfileWaiverById,
|
|
121
|
+
removeProfileWaiverById: remove_profile_waiver_by_id_1.removeProfileWaiverById,
|
|
116
122
|
getProfileWaiver: get_profile_waiver_1.getProfileWaiver,
|
|
117
123
|
getApiKeys: get_api_keys_1.getApiKeys,
|
|
118
124
|
createApiKey: create_api_key_1.createApiKey,
|
|
@@ -123,7 +129,7 @@ exports.profilesApiDeclaration = {
|
|
|
123
129
|
createContact: create_contact_1.createContact,
|
|
124
130
|
getWidgetCustomization: get_1.getWidgetCustomization,
|
|
125
131
|
updateAction: update_action_1.updateAction,
|
|
126
|
-
updateWidgetCustomization:
|
|
132
|
+
updateWidgetCustomization: update_2.updateWidgetCustomization,
|
|
127
133
|
removeContact: remove_contact_1.removeContact,
|
|
128
134
|
updateProfileCrm: update_profile_crm_1.updateProfileCrm,
|
|
129
135
|
getOnboardingSteps: get_onboarding_steps_1.getOnboardingSteps,
|
|
@@ -153,11 +159,11 @@ exports.profilesApiDeclaration = {
|
|
|
153
159
|
getBookeoOrders: get_bookeo_orders_1.getBookeoOrders,
|
|
154
160
|
getBookeoInfo: get_bookeo_info_1.getBookeoInfo,
|
|
155
161
|
getBookeoIntegrationLink: get_bookeo_integration_link_1.getBookeoIntegrationLink,
|
|
156
|
-
create:
|
|
162
|
+
create: create_3.create,
|
|
157
163
|
remove: remove_2.remove,
|
|
158
|
-
update:
|
|
164
|
+
update: update_3.update,
|
|
159
165
|
query: query_3.query,
|
|
160
|
-
getOne:
|
|
166
|
+
getOne: get_one_1.getOne,
|
|
161
167
|
current: current_1.current,
|
|
162
168
|
getBySlugForVerify: get_by_slug_for_verify_1.getBySlugForVerify,
|
|
163
169
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NotificationChanelRO } from '@escapenavigator/types/dist/profile/notification-chanel/notification-chanel.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
type ParamsData = undefined;
|
|
4
|
-
type ResponseData = NotificationChanelRO;
|
|
4
|
+
type ResponseData = NotificationChanelRO[];
|
|
5
5
|
export declare const getClientNotifications: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
import { GetSmsSettingsDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/get-sms-settings.dto';
|
|
3
|
+
import { SmsSettingsRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/sms-settings.ro';
|
|
4
|
+
export declare const getSmsSettings: ApiMethodDeclaration<GetSmsSettingsDto, SmsSettingsRO>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSmsSettings = void 0;
|
|
4
|
+
var getSmsSettings = function (params) { return ({
|
|
5
|
+
url: '/profile-sms/settings',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.getSmsSettings = getSmsSettings;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
import { ProfileSmsRecipientTypeEnum } from '@escapenavigator/types/dist/profile/profile-sms/profile-sms-recipient-type.enum';
|
|
3
|
+
import { QueryOrderSmsLogsDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/query-order-sms-logs.dto';
|
|
4
|
+
import { ProfileSmsLogRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/profile-sms-log.ro';
|
|
5
|
+
type ParamsData = {
|
|
6
|
+
orderId: number;
|
|
7
|
+
limit?: QueryOrderSmsLogsDto['limit'];
|
|
8
|
+
recipientType?: ProfileSmsRecipientTypeEnum;
|
|
9
|
+
};
|
|
10
|
+
type ResponseData = ProfileSmsLogRO[];
|
|
11
|
+
export declare const queryOrderSmsLogs: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryOrderSmsLogs = void 0;
|
|
4
|
+
var queryOrderSmsLogs = function (_a) {
|
|
5
|
+
var orderId = _a.orderId, limit = _a.limit, recipientType = _a.recipientType;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/profile-sms/order/".concat(orderId, "/logs"),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
params: { limit: limit, recipientType: recipientType },
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.queryOrderSmsLogs = queryOrderSmsLogs;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
import { SendOrderClientEmailDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/send-order-client-email.dto';
|
|
3
|
+
import { SendOrderClientEmailRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/send-order-client-email.ro';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
orderId: number;
|
|
6
|
+
data: SendOrderClientEmailDto;
|
|
7
|
+
};
|
|
8
|
+
export declare const sendOrderClientEmail: ApiMethodDeclaration<ParamsData, SendOrderClientEmailRO>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendOrderClientEmail = void 0;
|
|
4
|
+
var sendOrderClientEmail = function (_a) {
|
|
5
|
+
var orderId = _a.orderId, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/profile-sms/send-order-client-email/".concat(orderId),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.sendOrderClientEmail = sendOrderClientEmail;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
import { SendOrderClientSmsDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/send-order-client-sms.dto';
|
|
3
|
+
import { ProfileSmsLogRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/profile-sms-log.ro';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
orderId: number;
|
|
6
|
+
data: SendOrderClientSmsDto;
|
|
7
|
+
};
|
|
8
|
+
export declare const sendOrderClientSms: ApiMethodDeclaration<ParamsData, ProfileSmsLogRO>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendOrderClientSms = void 0;
|
|
4
|
+
var sendOrderClientSms = function (_a) {
|
|
5
|
+
var orderId = _a.orderId, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/profile-sms/send-order-client-sms/".concat(orderId),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.sendOrderClientSms = sendOrderClientSms;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
import { UpdateSmsSettingsDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/update-sms-settings.dto';
|
|
3
|
+
import { SmsSettingsRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/sms-settings.ro';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: UpdateSmsSettingsDto;
|
|
6
|
+
};
|
|
7
|
+
export declare const updateSmsSettings: ApiMethodDeclaration<ParamsData, SmsSettingsRO>;
|
|
8
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.updateSmsSettings = void 0;
|
|
4
|
+
var updateSmsSettings = function (_a) {
|
|
5
5
|
var data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: '/
|
|
7
|
+
url: '/profile-sms/settings',
|
|
8
8
|
method: 'PATCH',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.updateSmsSettings = updateSmsSettings;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProfileWaiverRO } from '@escapenavigator/types/dist/profile/waiver/profile-waiver.ro';
|
|
2
|
+
import { UpdateProfileWaiverDto } from '@escapenavigator/types/dist/profile/waiver/update-waiver.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: UpdateProfileWaiverDto;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = ProfileWaiverRO;
|
|
8
|
+
export declare const createProfileWaiver: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createProfileWaiver = void 0;
|
|
4
|
+
var createProfileWaiver = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/profile-waivers',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createProfileWaiver = createProfileWaiver;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ProfileWaiverRO } from '@escapenavigator/types/dist/profile/waiver/profile-waiver.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '../..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
profileId: number;
|
|
5
|
+
questroomId?: number;
|
|
6
|
+
};
|
|
4
7
|
type ResponseData = ProfileWaiverRO;
|
|
5
8
|
export declare const getProfileWaiverForOrderService: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
9
|
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getProfileWaiverForOrderService = void 0;
|
|
4
|
-
var getProfileWaiverForOrderService = function (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var getProfileWaiverForOrderService = function (_a) {
|
|
5
|
+
var profileId = _a.profileId, questroomId = _a.questroomId;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/profile-waivers/order/".concat(profileId),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
params: {
|
|
10
|
+
questroomId: questroomId,
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
};
|
|
8
14
|
exports.getProfileWaiverForOrderService = getProfileWaiverForOrderService;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProfileWaiverRO } from '@escapenavigator/types/dist/profile/waiver/profile-waiver.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = null;
|
|
4
|
+
type ResponseData = ProfileWaiverRO[];
|
|
5
|
+
export declare const queryProfileWaivers: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryProfileWaivers = void 0;
|
|
4
|
+
var queryProfileWaivers = function () { return ({
|
|
5
|
+
url: '/profile-waivers',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.queryProfileWaivers = queryProfileWaivers;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = number;
|
|
4
|
+
type ResponseData = SuccessRO;
|
|
5
|
+
export declare const removeProfileWaiverById: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeProfileWaiverById = void 0;
|
|
4
|
+
var removeProfileWaiverById = function (waiverId) {
|
|
5
|
+
return {
|
|
6
|
+
url: "/profile-waivers/".concat(waiverId),
|
|
7
|
+
method: 'DELETE',
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
exports.removeProfileWaiverById = removeProfileWaiverById;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProfileWaiverRO } from '@escapenavigator/types/dist/profile/waiver/profile-waiver.ro';
|
|
2
|
+
import { UpdateProfileWaiverDto } from '@escapenavigator/types/dist/profile/waiver/update-waiver.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
waiverId: number;
|
|
6
|
+
data: UpdateProfileWaiverDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = ProfileWaiverRO;
|
|
9
|
+
export declare const updateProfileWaiverById: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateProfileWaiverById = void 0;
|
|
4
|
+
var updateProfileWaiverById = function (_a) {
|
|
5
|
+
var waiverId = _a.waiverId, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/profile-waivers/".concat(waiverId),
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.updateProfileWaiverById = updateProfileWaiverById;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { QuestroomRO } from '@escapenavigator/types/dist/questroom/questroom.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
lastUpdate?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = QuestroomRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { RoleRO } from '@escapenavigator/types/dist/role/role.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = RoleRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -6,6 +6,7 @@ import { create } from './create';
|
|
|
6
6
|
import { forceRemoveHold } from './force-remove-hold';
|
|
7
7
|
import { oneQuestroomDaySlots } from './one-questroom-day-slots';
|
|
8
8
|
import { remove } from './remove';
|
|
9
|
+
import { slotDetails } from './slot-details';
|
|
9
10
|
import { updateBreaks } from './update-breaks';
|
|
10
11
|
import { updateSlot } from './update-slot';
|
|
11
12
|
type ApiDeclaration = {
|
|
@@ -19,6 +20,7 @@ type ApiDeclaration = {
|
|
|
19
20
|
create: typeof create;
|
|
20
21
|
remove: typeof remove;
|
|
21
22
|
updateSlot: typeof updateSlot;
|
|
23
|
+
slotDetails: typeof slotDetails;
|
|
22
24
|
};
|
|
23
25
|
export declare const slotsApiDeclaration: ApiDeclaration;
|
|
24
26
|
export {};
|
|
@@ -9,6 +9,7 @@ var create_1 = require("./create");
|
|
|
9
9
|
var force_remove_hold_1 = require("./force-remove-hold");
|
|
10
10
|
var one_questroom_day_slots_1 = require("./one-questroom-day-slots");
|
|
11
11
|
var remove_1 = require("./remove");
|
|
12
|
+
var slot_details_1 = require("./slot-details");
|
|
12
13
|
var update_breaks_1 = require("./update-breaks");
|
|
13
14
|
var update_slot_1 = require("./update-slot");
|
|
14
15
|
exports.slotsApiDeclaration = {
|
|
@@ -22,4 +23,5 @@ exports.slotsApiDeclaration = {
|
|
|
22
23
|
addOrRemoveBreak: add_or_remove_break_1.addOrRemoveBreak,
|
|
23
24
|
create: create_1.create,
|
|
24
25
|
remove: remove_1.remove,
|
|
26
|
+
slotDetails: slot_details_1.slotDetails,
|
|
25
27
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiSlotEnrichedRO } from '@escapenavigator/types/dist/openapi/slots/openapi-slot-enriched.ro';
|
|
2
|
+
import { SlotDetailsDto } from '@escapenavigator/types/dist/slot/slot-details.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = SlotDetailsDto;
|
|
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: '/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;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CertificatesReportRO } from '@escapenavigator/types/dist/statistics/certificates';
|
|
2
|
+
import { DashboardQueryDto } from '@escapenavigator/types/dist/statistics/pnl';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: DashboardQueryDto;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = CertificatesReportRO;
|
|
8
|
+
export declare const certificatesReport: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.certificatesReport = void 0;
|
|
4
|
+
var certificatesReport = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/statistics/certificates',
|
|
8
|
+
method: 'GET',
|
|
9
|
+
params: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.certificatesReport = certificatesReport;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { certificatesReport } from './certificates-report';
|
|
1
2
|
import { getMonthlyGeneralStatisctics } from './get-monthly-general-statisctics';
|
|
2
3
|
import { ordersReport } from './orders-report';
|
|
3
4
|
import { revenue } from './revenue';
|
|
@@ -5,6 +6,7 @@ type ApiDeclaration = {
|
|
|
5
6
|
ordersReport: typeof ordersReport;
|
|
6
7
|
getMonthlyGeneralStatisctics: typeof getMonthlyGeneralStatisctics;
|
|
7
8
|
revenue: typeof revenue;
|
|
9
|
+
certificatesReport: typeof certificatesReport;
|
|
8
10
|
};
|
|
9
11
|
export declare const statisticsApiDeclaration: ApiDeclaration;
|
|
10
12
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.statisticsApiDeclaration = void 0;
|
|
4
|
+
var certificates_report_1 = require("./certificates-report");
|
|
4
5
|
var get_monthly_general_statisctics_1 = require("./get-monthly-general-statisctics");
|
|
5
6
|
var orders_report_1 = require("./orders-report");
|
|
6
7
|
var revenue_1 = require("./revenue");
|
|
@@ -8,4 +9,5 @@ exports.statisticsApiDeclaration = {
|
|
|
8
9
|
getMonthlyGeneralStatisctics: get_monthly_general_statisctics_1.getMonthlyGeneralStatisctics,
|
|
9
10
|
revenue: revenue_1.revenue,
|
|
10
11
|
ordersReport: orders_report_1.ordersReport,
|
|
12
|
+
certificatesReport: certificates_report_1.certificatesReport,
|
|
11
13
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { TariffRO } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = TariffRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UpsellingResponseObject } from '@escapenavigator/types/dist/upselling/upselling.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = UpsellingResponseObject[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UserRO } from '@escapenavigator/types/dist/user/crud/user.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
type ParamsData =
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
etag?: number | null;
|
|
5
|
+
};
|
|
4
6
|
type ResponseData = UserRO[];
|
|
5
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
8
|
export {};
|