@escapenavigator/services 1.10.9 → 1.10.11
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/profiles-api/index.d.ts +2 -0
- package/dist/api/profiles-api/index.js +2 -0
- package/dist/api/profiles-api/notification-chanel/get-client-notofocations.d.ts +6 -0
- package/dist/api/profiles-api/notification-chanel/get-client-notofocations.js +8 -0
- package/dist/api/slots-api/all-day-slots.d.ts +6 -0
- package/dist/api/slots-api/all-day-slots.js +8 -0
- package/dist/api/slots-api/index.d.ts +2 -0
- package/dist/api/slots-api/index.js +2 -0
- package/package.json +4 -4
|
@@ -27,6 +27,7 @@ import { getCustomerEmail } from './email/get-customer-email';
|
|
|
27
27
|
import { queryCampaigns } from './email/query-campaigns';
|
|
28
28
|
import { testEmail } from './email/test-email';
|
|
29
29
|
import { createNotificationChanel } from './notification-chanel/create';
|
|
30
|
+
import { getClientNotifications } from './notification-chanel/get-client-notofocations';
|
|
30
31
|
import { queryNotificationChanels } from './notification-chanel/query';
|
|
31
32
|
import { removeNotificationChanel } from './notification-chanel/remove';
|
|
32
33
|
import { updateNotificationChanel } from './notification-chanel/update';
|
|
@@ -129,6 +130,7 @@ declare type ApiDeclaration = {
|
|
|
129
130
|
removeNotificationChanel: typeof removeNotificationChanel;
|
|
130
131
|
queryNotificationChanels: typeof queryNotificationChanels;
|
|
131
132
|
webHookApi: typeof webHookApi;
|
|
133
|
+
getClientNotifications: typeof getClientNotifications;
|
|
132
134
|
};
|
|
133
135
|
export declare const profilesApiDeclaration: ApiDeclaration;
|
|
134
136
|
export {};
|
|
@@ -30,6 +30,7 @@ var get_customer_email_1 = require("./email/get-customer-email");
|
|
|
30
30
|
var query_campaigns_1 = require("./email/query-campaigns");
|
|
31
31
|
var test_email_1 = require("./email/test-email");
|
|
32
32
|
var create_2 = require("./notification-chanel/create");
|
|
33
|
+
var get_client_notofocations_1 = require("./notification-chanel/get-client-notofocations");
|
|
33
34
|
var query_1 = require("./notification-chanel/query");
|
|
34
35
|
var remove_1 = require("./notification-chanel/remove");
|
|
35
36
|
var update_1 = require("./notification-chanel/update");
|
|
@@ -72,6 +73,7 @@ exports.profilesApiDeclaration = {
|
|
|
72
73
|
removeNotificationChanel: remove_1.removeNotificationChanel,
|
|
73
74
|
queryNotificationChanels: query_1.queryNotificationChanels,
|
|
74
75
|
webHookApi: webhook_api_1.webHookApi,
|
|
76
|
+
getClientNotifications: get_client_notofocations_1.getClientNotifications,
|
|
75
77
|
queryBalancePayments: query_balance_payments_1.queryBalancePayments,
|
|
76
78
|
queryProfileBalancePayments: query_profile_balance_payments_1.queryProfileBalancePayments,
|
|
77
79
|
adjustBalance: adjust_balance_1.adjustBalance,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NotificationChanelRO } from '@escapenavigator/types/dist/profile/notification-chanel/notification-chanel.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = NotificationChanelRO;
|
|
5
|
+
export declare const getClientNotifications: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getClientNotifications = void 0;
|
|
4
|
+
var getClientNotifications = function () { return ({
|
|
5
|
+
url: '/notification-chanel/client',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getClientNotifications = getClientNotifications;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SlotRO } from '@escapenavigator/types/dist/slot/slot.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = string;
|
|
4
|
+
declare type ResponseData = SlotRO[];
|
|
5
|
+
export declare const allDaySlots: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.allDaySlots = void 0;
|
|
4
|
+
var allDaySlots = function (date) { return ({
|
|
5
|
+
url: "/slots/all-slots-day/".concat(date),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.allDaySlots = allDaySlots;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { addOrRemoveBreak } from './add-or-remove-break';
|
|
2
|
+
import { allDaySlots } from './all-day-slots';
|
|
2
3
|
import { calendarDay } from './calendar-day';
|
|
3
4
|
import { create } from './create';
|
|
4
5
|
import { forceRemoveHold } from './force-remove-hold';
|
|
@@ -7,6 +8,7 @@ import { remove } from './remove';
|
|
|
7
8
|
import { updateBreaks } from './update-breaks';
|
|
8
9
|
import { updateSlot } from './update-slot';
|
|
9
10
|
declare type ApiDeclaration = {
|
|
11
|
+
allDaySlots: typeof allDaySlots;
|
|
10
12
|
forceRemoveHold: typeof forceRemoveHold;
|
|
11
13
|
updateBreaks: typeof updateBreaks;
|
|
12
14
|
calendarDay: typeof calendarDay;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.slotsApiDeclaration = void 0;
|
|
4
4
|
var add_or_remove_break_1 = require("./add-or-remove-break");
|
|
5
|
+
var all_day_slots_1 = require("./all-day-slots");
|
|
5
6
|
var calendar_day_1 = require("./calendar-day");
|
|
6
7
|
var create_1 = require("./create");
|
|
7
8
|
var force_remove_hold_1 = require("./force-remove-hold");
|
|
@@ -10,6 +11,7 @@ var remove_1 = require("./remove");
|
|
|
10
11
|
var update_breaks_1 = require("./update-breaks");
|
|
11
12
|
var update_slot_1 = require("./update-slot");
|
|
12
13
|
exports.slotsApiDeclaration = {
|
|
14
|
+
allDaySlots: all_day_slots_1.allDaySlots,
|
|
13
15
|
forceRemoveHold: force_remove_hold_1.forceRemoveHold,
|
|
14
16
|
updateSlot: update_slot_1.updateSlot,
|
|
15
17
|
updateBreaks: update_breaks_1.updateBreaks,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.11",
|
|
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": "705a1d68f666ec68640ce96a632dfa475d20f470",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.11",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.11",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|