@escapenavigator/services 1.10.46 → 1.10.47
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 +10 -10
- package/dist/api/profiles-api/index.js +10 -10
- package/dist/api/profiles-api/rooms/create.d.ts +9 -0
- package/dist/api/profiles-api/{vr → rooms}/create.js +4 -4
- package/dist/api/profiles-api/rooms/delete.d.ts +7 -0
- package/dist/api/profiles-api/rooms/delete.js +11 -0
- package/dist/api/profiles-api/rooms/get-all.d.ts +6 -0
- package/dist/api/profiles-api/rooms/get-all.js +8 -0
- package/dist/api/profiles-api/rooms/get-one.d.ts +8 -0
- package/dist/api/profiles-api/rooms/get-one.js +11 -0
- package/dist/api/profiles-api/rooms/update.d.ts +10 -0
- package/dist/api/profiles-api/{vr → rooms}/update.js +4 -4
- package/package.json +4 -4
- package/dist/api/profiles-api/vr/create.d.ts +0 -9
- package/dist/api/profiles-api/vr/delete.d.ts +0 -7
- package/dist/api/profiles-api/vr/delete.js +0 -11
- package/dist/api/profiles-api/vr/get-all.d.ts +0 -6
- package/dist/api/profiles-api/vr/get-all.js +0 -8
- package/dist/api/profiles-api/vr/get-one.d.ts +0 -8
- package/dist/api/profiles-api/vr/get-one.js +0 -11
- package/dist/api/profiles-api/vr/update.d.ts +0 -10
|
@@ -42,6 +42,11 @@ import { getAllCrm } from './other-crm/get-all-crm';
|
|
|
42
42
|
import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
43
43
|
import { removeProfileCrm } from './other-crm/remove-profile-crm';
|
|
44
44
|
import { updateProfileCrm } from './other-crm/update-profile-crm';
|
|
45
|
+
import { createRoom } from './rooms/create';
|
|
46
|
+
import { deleteRoom } from './rooms/delete';
|
|
47
|
+
import { getAllRooms } from './rooms/get-all';
|
|
48
|
+
import { getRoom } from './rooms/get-one';
|
|
49
|
+
import { updateRoom } from './rooms/update';
|
|
45
50
|
import { createSmtp } from './smtp/create-smtp';
|
|
46
51
|
import { getSmtps } from './smtp/get-smtps';
|
|
47
52
|
import { removeSmtp } from './smtp/remove-smtp';
|
|
@@ -54,11 +59,6 @@ import { getSubscriptionInfo } from './subscription/get-subscription-info';
|
|
|
54
59
|
import { paginateBills } from './subscription/paginate-bills';
|
|
55
60
|
import { cancelSubscription } from './subscription/remove-subscription';
|
|
56
61
|
import { updateSubscription } from './subscription/update-subscription';
|
|
57
|
-
import { createVRRoomGroup } from './vr/create';
|
|
58
|
-
import { deleteVRRoomGroup } from './vr/delete';
|
|
59
|
-
import { getAllVRRoomsGroups } from './vr/get-all';
|
|
60
|
-
import { getVRRoomGroup } from './vr/get-one';
|
|
61
|
-
import { updateVRRoomGroup } from './vr/update';
|
|
62
62
|
import { getProfileWaiver } from './waiver/get-profile-waiver';
|
|
63
63
|
import { getProfileWaiverForOrderService } from './waiver/get-profile-waiver-for-order-service';
|
|
64
64
|
import { updateProfileWaiver } from './waiver/update-profile-waiver';
|
|
@@ -75,11 +75,11 @@ import { updateCrmVerification } from './update-crm-verification';
|
|
|
75
75
|
import { updatePartnerProgram } from './update-partner-program';
|
|
76
76
|
import { updateStep } from './update-step';
|
|
77
77
|
type ApiDeclaration = {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
getAllRooms: typeof getAllRooms;
|
|
79
|
+
deleteRoom: typeof deleteRoom;
|
|
80
|
+
createRoom: typeof createRoom;
|
|
81
|
+
getRoom: typeof getRoom;
|
|
82
|
+
updateRoom: typeof updateRoom;
|
|
83
83
|
deleteAction: typeof deleteAction;
|
|
84
84
|
queryCalls: typeof queryCalls;
|
|
85
85
|
adjustBalance: typeof adjustBalance;
|
|
@@ -45,6 +45,11 @@ var get_all_crm_1 = require("./other-crm/get-all-crm");
|
|
|
45
45
|
var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
46
46
|
var remove_profile_crm_1 = require("./other-crm/remove-profile-crm");
|
|
47
47
|
var update_profile_crm_1 = require("./other-crm/update-profile-crm");
|
|
48
|
+
var create_3 = require("./rooms/create");
|
|
49
|
+
var delete_1 = require("./rooms/delete");
|
|
50
|
+
var get_all_1 = require("./rooms/get-all");
|
|
51
|
+
var get_one_1 = require("./rooms/get-one");
|
|
52
|
+
var update_2 = require("./rooms/update");
|
|
48
53
|
var create_smtp_1 = require("./smtp/create-smtp");
|
|
49
54
|
var get_smtps_1 = require("./smtp/get-smtps");
|
|
50
55
|
var remove_smtp_1 = require("./smtp/remove-smtp");
|
|
@@ -57,11 +62,6 @@ var get_subscription_info_1 = require("./subscription/get-subscription-info");
|
|
|
57
62
|
var paginate_bills_1 = require("./subscription/paginate-bills");
|
|
58
63
|
var remove_subscription_1 = require("./subscription/remove-subscription");
|
|
59
64
|
var update_subscription_1 = require("./subscription/update-subscription");
|
|
60
|
-
var create_3 = require("./vr/create");
|
|
61
|
-
var delete_1 = require("./vr/delete");
|
|
62
|
-
var get_all_1 = require("./vr/get-all");
|
|
63
|
-
var get_one_1 = require("./vr/get-one");
|
|
64
|
-
var update_2 = require("./vr/update");
|
|
65
65
|
var get_profile_waiver_1 = require("./waiver/get-profile-waiver");
|
|
66
66
|
var get_profile_waiver_for_order_service_1 = require("./waiver/get-profile-waiver-for-order-service");
|
|
67
67
|
var update_profile_waiver_1 = require("./waiver/update-profile-waiver");
|
|
@@ -78,12 +78,12 @@ var update_crm_verification_1 = require("./update-crm-verification");
|
|
|
78
78
|
var update_partner_program_1 = require("./update-partner-program");
|
|
79
79
|
var update_step_1 = require("./update-step");
|
|
80
80
|
exports.profilesApiDeclaration = {
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
getAllRooms: get_all_1.getAllRooms,
|
|
82
|
+
deleteRoom: delete_1.deleteRoom,
|
|
83
83
|
updateNotificationChanel: update_1.updateNotificationChanel,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
getRoom: get_one_1.getRoom,
|
|
85
|
+
createRoom: create_3.createRoom,
|
|
86
|
+
updateRoom: update_2.updateRoom,
|
|
87
87
|
deleteAction: delete_action_1.deleteAction,
|
|
88
88
|
queryCalls: query_1.queryCalls,
|
|
89
89
|
createNotificationChanel: create_2.createNotificationChanel,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UpsertRoomDto } from '@escapenavigator/types/dist/room/dto';
|
|
2
|
+
import { RoomRO } from '@escapenavigator/types/dist/room/ro';
|
|
3
|
+
import { ApiMethodDeclaration } from 'src/api';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: UpsertRoomDto;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = RoomRO;
|
|
8
|
+
export declare const createRoom: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.createRoom = void 0;
|
|
4
|
+
var createRoom = function (_a) {
|
|
5
5
|
var data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: '/
|
|
7
|
+
url: '/rooms',
|
|
8
8
|
method: 'POST',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.createRoom = createRoom;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteRoom = void 0;
|
|
4
|
+
var deleteRoom = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/rooms/".concat(id),
|
|
8
|
+
method: 'DELETE',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.deleteRoom = deleteRoom;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RoomRO } from '@escapenavigator/types/dist/room/ro';
|
|
2
|
+
import { ApiMethodDeclaration } from 'src/api';
|
|
3
|
+
type ParamsData = undefined;
|
|
4
|
+
type ResponseData = RoomRO[];
|
|
5
|
+
export declare const getAllRooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RoomRO } from '@escapenavigator/types/dist/room/ro';
|
|
2
|
+
import { ApiMethodDeclaration } from 'src/api';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = RoomRO;
|
|
7
|
+
export declare const getRoom: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UpsertRoomDto } from '@escapenavigator/types/dist/room/dto';
|
|
2
|
+
import { RoomRO } from '@escapenavigator/types/dist/room/ro';
|
|
3
|
+
import { ApiMethodDeclaration } from 'src/api';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: UpsertRoomDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = RoomRO;
|
|
9
|
+
export declare const updateRoom: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.updateRoom = void 0;
|
|
4
|
+
var updateRoom = function (_a) {
|
|
5
5
|
var id = _a.id, data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: "/
|
|
7
|
+
url: "/rooms/".concat(id),
|
|
8
8
|
method: 'PUT',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.updateRoom = updateRoom;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.47",
|
|
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": "9e6c4fb6c2315f9f816328823adc380c1f8fbc35",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.42",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.46",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UpsertVRRoomGroupDto } from '@escapenavigator/types/dist/vr/dto';
|
|
2
|
-
import { VRRoomGroupRO } from '@escapenavigator/types/dist/vr/ro';
|
|
3
|
-
import { ApiMethodDeclaration } from 'src/api';
|
|
4
|
-
type CreateGroupParams = {
|
|
5
|
-
data: UpsertVRRoomGroupDto;
|
|
6
|
-
};
|
|
7
|
-
type CreateGroupResponse = VRRoomGroupRO;
|
|
8
|
-
export declare const createVRRoomGroup: ApiMethodDeclaration<CreateGroupParams, CreateGroupResponse>;
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deleteVRRoomGroup = void 0;
|
|
4
|
-
var deleteVRRoomGroup = function (_a) {
|
|
5
|
-
var id = _a.id;
|
|
6
|
-
return ({
|
|
7
|
-
url: "/vr/room-groups/".concat(id),
|
|
8
|
-
method: 'DELETE',
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
exports.deleteVRRoomGroup = deleteVRRoomGroup;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VRRoomGroupRO } from '@escapenavigator/types/dist/vr/ro';
|
|
2
|
-
import { ApiMethodDeclaration } from 'src/api';
|
|
3
|
-
type GetGroupParams = undefined;
|
|
4
|
-
type GetGroupResponse = VRRoomGroupRO[];
|
|
5
|
-
export declare const getAllVRRoomsGroups: ApiMethodDeclaration<GetGroupParams, GetGroupResponse>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAllVRRoomsGroups = void 0;
|
|
4
|
-
var getAllVRRoomsGroups = function () { return ({
|
|
5
|
-
url: '/vr/room-groups',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.getAllVRRoomsGroups = getAllVRRoomsGroups;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { VRRoomGroupRO } from '@escapenavigator/types/dist/vr/ro';
|
|
2
|
-
import { ApiMethodDeclaration } from 'src/api';
|
|
3
|
-
type GetGroupParams = {
|
|
4
|
-
id: number;
|
|
5
|
-
};
|
|
6
|
-
type GetGroupResponse = VRRoomGroupRO;
|
|
7
|
-
export declare const getVRRoomGroup: ApiMethodDeclaration<GetGroupParams, GetGroupResponse>;
|
|
8
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getVRRoomGroup = void 0;
|
|
4
|
-
var getVRRoomGroup = function (_a) {
|
|
5
|
-
var id = _a.id;
|
|
6
|
-
return ({
|
|
7
|
-
url: "/vr/room-groups/".concat(id),
|
|
8
|
-
method: 'GET',
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
exports.getVRRoomGroup = getVRRoomGroup;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UpsertVRRoomGroupDto } from '@escapenavigator/types/dist/vr/dto';
|
|
2
|
-
import { VRRoomGroupRO } from '@escapenavigator/types/dist/vr/ro';
|
|
3
|
-
import { ApiMethodDeclaration } from 'src/api';
|
|
4
|
-
type UpdateGroupParams = {
|
|
5
|
-
id: number;
|
|
6
|
-
data: UpsertVRRoomGroupDto;
|
|
7
|
-
};
|
|
8
|
-
type UpdateGroupResponse = VRRoomGroupRO;
|
|
9
|
-
export declare const updateVRRoomGroup: ApiMethodDeclaration<UpdateGroupParams, UpdateGroupResponse>;
|
|
10
|
-
export {};
|