@escapenavigator/services 1.10.44 → 1.10.46
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 -0
- package/dist/api/profiles-api/index.js +18 -8
- package/dist/api/profiles-api/vr/create.d.ts +9 -0
- package/dist/api/profiles-api/vr/create.js +12 -0
- package/dist/api/profiles-api/vr/delete.d.ts +7 -0
- package/dist/api/profiles-api/vr/delete.js +11 -0
- package/dist/api/profiles-api/vr/get-all.d.ts +6 -0
- package/dist/api/profiles-api/vr/get-all.js +8 -0
- package/dist/api/profiles-api/vr/get-one.d.ts +8 -0
- package/dist/api/profiles-api/vr/get-one.js +11 -0
- package/dist/api/profiles-api/vr/update.d.ts +10 -0
- package/dist/api/profiles-api/vr/update.js +12 -0
- package/package.json +4 -4
|
@@ -54,6 +54,11 @@ import { getSubscriptionInfo } from './subscription/get-subscription-info';
|
|
|
54
54
|
import { paginateBills } from './subscription/paginate-bills';
|
|
55
55
|
import { cancelSubscription } from './subscription/remove-subscription';
|
|
56
56
|
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';
|
|
57
62
|
import { getProfileWaiver } from './waiver/get-profile-waiver';
|
|
58
63
|
import { getProfileWaiverForOrderService } from './waiver/get-profile-waiver-for-order-service';
|
|
59
64
|
import { updateProfileWaiver } from './waiver/update-profile-waiver';
|
|
@@ -70,6 +75,11 @@ import { updateCrmVerification } from './update-crm-verification';
|
|
|
70
75
|
import { updatePartnerProgram } from './update-partner-program';
|
|
71
76
|
import { updateStep } from './update-step';
|
|
72
77
|
type ApiDeclaration = {
|
|
78
|
+
getAllVRRoomsGroups: typeof getAllVRRoomsGroups;
|
|
79
|
+
deleteVRRoomGroup: typeof deleteVRRoomGroup;
|
|
80
|
+
createVRRoomGroup: typeof createVRRoomGroup;
|
|
81
|
+
getVRRoomGroup: typeof getVRRoomGroup;
|
|
82
|
+
updateVRRoomGroup: typeof updateVRRoomGroup;
|
|
73
83
|
deleteAction: typeof deleteAction;
|
|
74
84
|
queryCalls: typeof queryCalls;
|
|
75
85
|
adjustBalance: typeof adjustBalance;
|
|
@@ -57,23 +57,33 @@ var get_subscription_info_1 = require("./subscription/get-subscription-info");
|
|
|
57
57
|
var paginate_bills_1 = require("./subscription/paginate-bills");
|
|
58
58
|
var remove_subscription_1 = require("./subscription/remove-subscription");
|
|
59
59
|
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");
|
|
60
65
|
var get_profile_waiver_1 = require("./waiver/get-profile-waiver");
|
|
61
66
|
var get_profile_waiver_for_order_service_1 = require("./waiver/get-profile-waiver-for-order-service");
|
|
62
67
|
var update_profile_waiver_1 = require("./waiver/update-profile-waiver");
|
|
63
68
|
var get_1 = require("./widget-customization/get");
|
|
64
|
-
var
|
|
65
|
-
var
|
|
69
|
+
var update_3 = require("./widget-customization/update");
|
|
70
|
+
var create_4 = require("./create");
|
|
66
71
|
var get_by_slug_for_verify_1 = require("./get-by-slug-for-verify");
|
|
67
72
|
var get_onboarding_steps_1 = require("./get-onboarding-steps");
|
|
68
|
-
var
|
|
73
|
+
var get_one_2 = require("./get-one");
|
|
69
74
|
var query_3 = require("./query");
|
|
70
75
|
var remove_2 = require("./remove");
|
|
71
|
-
var
|
|
76
|
+
var update_4 = require("./update");
|
|
72
77
|
var update_crm_verification_1 = require("./update-crm-verification");
|
|
73
78
|
var update_partner_program_1 = require("./update-partner-program");
|
|
74
79
|
var update_step_1 = require("./update-step");
|
|
75
80
|
exports.profilesApiDeclaration = {
|
|
81
|
+
getAllVRRoomsGroups: get_all_1.getAllVRRoomsGroups,
|
|
82
|
+
updateVRRoomGroup: update_2.updateVRRoomGroup,
|
|
76
83
|
updateNotificationChanel: update_1.updateNotificationChanel,
|
|
84
|
+
getVRRoomGroup: get_one_1.getVRRoomGroup,
|
|
85
|
+
createVRRoomGroup: create_3.createVRRoomGroup,
|
|
86
|
+
deleteVRRoomGroup: delete_1.deleteVRRoomGroup,
|
|
77
87
|
deleteAction: delete_action_1.deleteAction,
|
|
78
88
|
queryCalls: query_1.queryCalls,
|
|
79
89
|
createNotificationChanel: create_2.createNotificationChanel,
|
|
@@ -108,7 +118,7 @@ exports.profilesApiDeclaration = {
|
|
|
108
118
|
createContact: create_contact_1.createContact,
|
|
109
119
|
getWidgetCustomization: get_1.getWidgetCustomization,
|
|
110
120
|
updateAction: update_action_1.updateAction,
|
|
111
|
-
updateWidgetCustomization:
|
|
121
|
+
updateWidgetCustomization: update_3.updateWidgetCustomization,
|
|
112
122
|
removeContact: remove_contact_1.removeContact,
|
|
113
123
|
updateProfileCrm: update_profile_crm_1.updateProfileCrm,
|
|
114
124
|
getOnboardingSteps: get_onboarding_steps_1.getOnboardingSteps,
|
|
@@ -137,11 +147,11 @@ exports.profilesApiDeclaration = {
|
|
|
137
147
|
getBookeoOrders: get_bookeo_orders_1.getBookeoOrders,
|
|
138
148
|
getBookeoInfo: get_bookeo_info_1.getBookeoInfo,
|
|
139
149
|
getBookeoIntegrationLink: get_bookeo_integration_link_1.getBookeoIntegrationLink,
|
|
140
|
-
create:
|
|
150
|
+
create: create_4.create,
|
|
141
151
|
remove: remove_2.remove,
|
|
142
|
-
update:
|
|
152
|
+
update: update_4.update,
|
|
143
153
|
query: query_3.query,
|
|
144
|
-
getOne:
|
|
154
|
+
getOne: get_one_2.getOne,
|
|
145
155
|
current: current_1.current,
|
|
146
156
|
getBySlugForVerify: get_by_slug_for_verify_1.getBySlugForVerify,
|
|
147
157
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createVRRoomGroup = void 0;
|
|
4
|
+
var createVRRoomGroup = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/vr/room-groups',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createVRRoomGroup = createVRRoomGroup;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,6 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateVRRoomGroup = void 0;
|
|
4
|
+
var updateVRRoomGroup = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/vr/room-groups/".concat(id),
|
|
8
|
+
method: 'PUT',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.updateVRRoomGroup = updateVRRoomGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.46",
|
|
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": "931fe84076ada17067b247e256036b84a7f19146",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.41",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.45",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|