@escapenavigator/services 1.10.46 → 1.10.48
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/init-client-api.d.ts +2 -0
- package/dist/api/init-client-api.js +2 -0
- 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/dist/api/slot-room-templates-api/get-all-actual.d.ts +6 -0
- package/dist/api/slot-room-templates-api/get-all-actual.js +8 -0
- package/dist/api/slot-room-templates-api/get-one.d.ts +7 -0
- package/dist/api/slot-room-templates-api/get-one.js +8 -0
- package/dist/api/slot-room-templates-api/index.d.ts +10 -0
- package/dist/api/slot-room-templates-api/index.js +11 -0
- package/dist/api/slot-room-templates-api/update.d.ts +8 -0
- package/dist/api/{slot-templates-api/copy.js → slot-room-templates-api/update.js} +4 -4
- package/dist/api/slot-templates-api/index.d.ts +0 -2
- package/dist/api/slot-templates-api/index.js +0 -2
- 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
- package/dist/api/slot-templates-api/copy.d.ts +0 -10
|
@@ -41,6 +41,7 @@ import { expertsReviewsApiDeclaration } from './reviews-experts-api';
|
|
|
41
41
|
import { socialReviewsApiDeclaration } from './reviews-social-api';
|
|
42
42
|
import { rolesApiDeclaration } from './roles-api';
|
|
43
43
|
import { searchApiDeclaration } from './search-api';
|
|
44
|
+
import { slotRoomTemplatesApiDeclaration } from './slot-room-templates-api';
|
|
44
45
|
import { slotRulesApi } from './slot-rules-api';
|
|
45
46
|
import { slotTemplatesApiDeclaration } from './slot-templates-api';
|
|
46
47
|
import { slotsApiDeclaration } from './slots-api';
|
|
@@ -90,6 +91,7 @@ export type InitApiDeclaration = {
|
|
|
90
91
|
userMessages: Api<typeof userMessagesApiDeclaration>;
|
|
91
92
|
slots: Api<typeof slotsApiDeclaration>;
|
|
92
93
|
slotTemplates: Api<typeof slotTemplatesApiDeclaration>;
|
|
94
|
+
slotRoomTemplates: Api<typeof slotRoomTemplatesApiDeclaration>;
|
|
93
95
|
agbs: Api<typeof agbApiDeclaration>;
|
|
94
96
|
cashboxes: Api<typeof cashboxesApiDeclaration>;
|
|
95
97
|
certificates: Api<typeof certificatesApiDeclaration>;
|
|
@@ -44,6 +44,7 @@ var reviews_experts_api_1 = require("./reviews-experts-api");
|
|
|
44
44
|
var reviews_social_api_1 = require("./reviews-social-api");
|
|
45
45
|
var roles_api_1 = require("./roles-api");
|
|
46
46
|
var search_api_1 = require("./search-api");
|
|
47
|
+
var slot_room_templates_api_1 = require("./slot-room-templates-api");
|
|
47
48
|
var slot_rules_api_1 = require("./slot-rules-api");
|
|
48
49
|
var slot_templates_api_1 = require("./slot-templates-api");
|
|
49
50
|
var slots_api_1 = require("./slots-api");
|
|
@@ -94,6 +95,7 @@ var initClientApi = function (url) { return ({
|
|
|
94
95
|
orderUpsellngs: (0, _1.initApi)(order_upsellings_api_1.orderUpsellngsApiDeclaration, url),
|
|
95
96
|
slots: (0, _1.initApi)(slots_api_1.slotsApiDeclaration, url),
|
|
96
97
|
slotTemplates: (0, _1.initApi)(slot_templates_api_1.slotTemplatesApiDeclaration, url),
|
|
98
|
+
slotRoomTemplates: (0, _1.initApi)(slot_room_templates_api_1.slotRoomTemplatesApiDeclaration, url),
|
|
97
99
|
orders: (0, _1.initApi)(orders_api_1.ordersApiDeclaration, url),
|
|
98
100
|
cashboxes: (0, _1.initApi)(cashboxes_api_1.cashboxesApiDeclaration, url),
|
|
99
101
|
certificates: (0, _1.initApi)(certificates_api_1.certificatesApiDeclaration, url),
|
|
@@ -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;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SlotRoomTemplateRO } from '@escapenavigator/types/dist/slot-room-template/slot-room-template.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
type ParamsData = undefined;
|
|
4
|
+
type ResponseData = SlotRoomTemplateRO[];
|
|
5
|
+
export declare const getAllActual: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SlotRoomTemplateRO } from '@escapenavigator/types/dist/slot-room-template/slot-room-template.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
/** ID темлейна */
|
|
4
|
+
type ParamsData = number;
|
|
5
|
+
type ResponseData = SlotRoomTemplateRO;
|
|
6
|
+
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getAllActual } from './get-all-actual';
|
|
2
|
+
import { getOne } from './get-one';
|
|
3
|
+
import { update } from './update';
|
|
4
|
+
type ApiDeclaration = {
|
|
5
|
+
getOne: typeof getOne;
|
|
6
|
+
update: typeof update;
|
|
7
|
+
getAllActual: typeof getAllActual;
|
|
8
|
+
};
|
|
9
|
+
export declare const slotRoomTemplatesApiDeclaration: ApiDeclaration;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.slotRoomTemplatesApiDeclaration = void 0;
|
|
4
|
+
var get_all_actual_1 = require("./get-all-actual");
|
|
5
|
+
var get_one_1 = require("./get-one");
|
|
6
|
+
var update_1 = require("./update");
|
|
7
|
+
exports.slotRoomTemplatesApiDeclaration = {
|
|
8
|
+
getOne: get_one_1.getOne,
|
|
9
|
+
update: update_1.update,
|
|
10
|
+
getAllActual: get_all_actual_1.getAllActual,
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UpdateSlotRoomTemplateDto } from '@escapenavigator/types/dist/slot-room-template/update-slot-room-template.dto';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
data: UpdateSlotRoomTemplateDto;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = undefined;
|
|
7
|
+
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.update = void 0;
|
|
4
|
+
var update = function (_a) {
|
|
5
5
|
var data = _a.data;
|
|
6
6
|
return ({
|
|
7
|
-
url: '/slot-templates
|
|
7
|
+
url: '/slot-room-templates',
|
|
8
8
|
method: 'PATCH',
|
|
9
9
|
data: data,
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.update = update;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { copy } from './copy';
|
|
2
1
|
import { getAllActual } from './get-all-actual';
|
|
3
2
|
import { getHistory } from './get-history';
|
|
4
3
|
import { getOne } from './get-one';
|
|
@@ -7,7 +6,6 @@ type ApiDeclaration = {
|
|
|
7
6
|
getOne: typeof getOne;
|
|
8
7
|
getHistory: typeof getHistory;
|
|
9
8
|
update: typeof update;
|
|
10
|
-
copy: typeof copy;
|
|
11
9
|
getAllActual: typeof getAllActual;
|
|
12
10
|
};
|
|
13
11
|
export declare const slotTemplatesApiDeclaration: ApiDeclaration;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.slotTemplatesApiDeclaration = void 0;
|
|
4
|
-
var copy_1 = require("./copy");
|
|
5
4
|
var get_all_actual_1 = require("./get-all-actual");
|
|
6
5
|
var get_history_1 = require("./get-history");
|
|
7
6
|
var get_one_1 = require("./get-one");
|
|
8
7
|
var update_1 = require("./update");
|
|
9
8
|
exports.slotTemplatesApiDeclaration = {
|
|
10
9
|
getOne: get_one_1.getOne,
|
|
11
|
-
copy: copy_1.copy,
|
|
12
10
|
getHistory: get_history_1.getHistory,
|
|
13
11
|
update: update_1.update,
|
|
14
12
|
getAllActual: get_all_actual_1.getAllActual,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.48",
|
|
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": "719167e08609a366eba070eb8599f95ec98b1927",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.43",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.47",
|
|
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 {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
-
import { CopyTemplateDto } from '@escapenavigator/types/dist/slot-template/copy-template.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
/** ID квеста */
|
|
5
|
-
type ParamsData = {
|
|
6
|
-
data: CopyTemplateDto;
|
|
7
|
-
};
|
|
8
|
-
type ResponseData = SuccessRO;
|
|
9
|
-
export declare const copy: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
-
export {};
|