@escapenavigator/services 1.10.152 → 1.10.154
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.
|
@@ -2,6 +2,12 @@ import { CashboxLightRO } from '@escapenavigator/types/dist/cashbox/cashbox-ligh
|
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
type ParamsData = {
|
|
4
4
|
etag?: string | null;
|
|
5
|
+
/**
|
|
6
|
+
* Cache-busting-метка для force-запросов. Делает URL уникальным, чтобы
|
|
7
|
+
* браузер не отдал ответ из своего HTTP-кеша по `ETag` (серверный ETag
|
|
8
|
+
* не учитывает `total`, который меняется на каждой транзакции).
|
|
9
|
+
*/
|
|
10
|
+
_ts?: number;
|
|
5
11
|
};
|
|
6
12
|
type ResponseData = CashboxLightRO[];
|
|
7
13
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -89,6 +89,7 @@ import { queryOrderSmsLogs } from './profile-sms/query-order-sms-logs';
|
|
|
89
89
|
import { querySmsLogsByClient } from './profile-sms/query-sms-logs-by-client';
|
|
90
90
|
import { sendOrderClientEmail } from './profile-sms/send-order-client-email';
|
|
91
91
|
import { sendOrderClientSms } from './profile-sms/send-order-client-sms';
|
|
92
|
+
import { sendTestSms } from './profile-sms/send-test-sms';
|
|
92
93
|
import { updateSmsSettings } from './profile-sms/update-sms-settings';
|
|
93
94
|
import { query } from './query';
|
|
94
95
|
import { remove } from './remove';
|
|
@@ -234,6 +235,7 @@ type ApiDeclaration = {
|
|
|
234
235
|
webHookApi: typeof webHookApi;
|
|
235
236
|
getClientNotifications: typeof getClientNotifications;
|
|
236
237
|
sendOrderClientSms: typeof sendOrderClientSms;
|
|
238
|
+
sendTestSms: typeof sendTestSms;
|
|
237
239
|
sendOrderClientEmail: typeof sendOrderClientEmail;
|
|
238
240
|
queryOrderSmsLogs: typeof queryOrderSmsLogs;
|
|
239
241
|
querySmsLogsByClient: typeof querySmsLogsByClient;
|
|
@@ -92,6 +92,7 @@ var query_order_sms_logs_1 = require("./profile-sms/query-order-sms-logs");
|
|
|
92
92
|
var query_sms_logs_by_client_1 = require("./profile-sms/query-sms-logs-by-client");
|
|
93
93
|
var send_order_client_email_1 = require("./profile-sms/send-order-client-email");
|
|
94
94
|
var send_order_client_sms_1 = require("./profile-sms/send-order-client-sms");
|
|
95
|
+
var send_test_sms_1 = require("./profile-sms/send-test-sms");
|
|
95
96
|
var update_sms_settings_1 = require("./profile-sms/update-sms-settings");
|
|
96
97
|
var query_3 = require("./query");
|
|
97
98
|
var remove_2 = require("./remove");
|
|
@@ -132,6 +133,7 @@ exports.profilesApiDeclaration = {
|
|
|
132
133
|
webHookApi: webhook_api_1.webHookApi,
|
|
133
134
|
getClientNotifications: get_client_notofocations_1.getClientNotifications,
|
|
134
135
|
sendOrderClientSms: send_order_client_sms_1.sendOrderClientSms,
|
|
136
|
+
sendTestSms: send_test_sms_1.sendTestSms,
|
|
135
137
|
sendOrderClientEmail: send_order_client_email_1.sendOrderClientEmail,
|
|
136
138
|
queryOrderSmsLogs: query_order_sms_logs_1.queryOrderSmsLogs,
|
|
137
139
|
querySmsLogsByClient: query_sms_logs_by_client_1.querySmsLogsByClient,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SendTestSmsDto } from '@escapenavigator/types/dist/profile/profile-sms/dto/send-test-sms.dto';
|
|
2
|
+
import { SendTestSmsRO } from '@escapenavigator/types/dist/profile/profile-sms/ro/send-test-sms.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: SendTestSmsDto;
|
|
6
|
+
};
|
|
7
|
+
export declare const sendTestSms: ApiMethodDeclaration<ParamsData, SendTestSmsRO>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendTestSms = void 0;
|
|
4
|
+
var sendTestSms = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/profile-sms/send-test',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.sendTestSms = sendTestSms;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.154",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "4d5f85778c81f86f50c14fba7055dda83e1aafdd",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.145",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.149",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|