@escapenavigator/services 1.10.44 → 1.10.45
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 +8 -0
- package/dist/api/profiles-api/index.js +16 -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-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,10 @@ 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 { getVRRoomGroup } from './vr/get-one';
|
|
60
|
+
import { updateVRRoomGroup } from './vr/update';
|
|
57
61
|
import { getProfileWaiver } from './waiver/get-profile-waiver';
|
|
58
62
|
import { getProfileWaiverForOrderService } from './waiver/get-profile-waiver-for-order-service';
|
|
59
63
|
import { updateProfileWaiver } from './waiver/update-profile-waiver';
|
|
@@ -70,6 +74,10 @@ import { updateCrmVerification } from './update-crm-verification';
|
|
|
70
74
|
import { updatePartnerProgram } from './update-partner-program';
|
|
71
75
|
import { updateStep } from './update-step';
|
|
72
76
|
type ApiDeclaration = {
|
|
77
|
+
deleteVRRoomGroup: typeof deleteVRRoomGroup;
|
|
78
|
+
createVRRoomGroup: typeof createVRRoomGroup;
|
|
79
|
+
getVRRoomGroup: typeof getVRRoomGroup;
|
|
80
|
+
updateVRRoomGroup: typeof updateVRRoomGroup;
|
|
73
81
|
deleteAction: typeof deleteAction;
|
|
74
82
|
queryCalls: typeof queryCalls;
|
|
75
83
|
adjustBalance: typeof adjustBalance;
|
|
@@ -57,23 +57,31 @@ 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_one_1 = require("./vr/get-one");
|
|
63
|
+
var update_2 = require("./vr/update");
|
|
60
64
|
var get_profile_waiver_1 = require("./waiver/get-profile-waiver");
|
|
61
65
|
var get_profile_waiver_for_order_service_1 = require("./waiver/get-profile-waiver-for-order-service");
|
|
62
66
|
var update_profile_waiver_1 = require("./waiver/update-profile-waiver");
|
|
63
67
|
var get_1 = require("./widget-customization/get");
|
|
64
|
-
var
|
|
65
|
-
var
|
|
68
|
+
var update_3 = require("./widget-customization/update");
|
|
69
|
+
var create_4 = require("./create");
|
|
66
70
|
var get_by_slug_for_verify_1 = require("./get-by-slug-for-verify");
|
|
67
71
|
var get_onboarding_steps_1 = require("./get-onboarding-steps");
|
|
68
|
-
var
|
|
72
|
+
var get_one_2 = require("./get-one");
|
|
69
73
|
var query_3 = require("./query");
|
|
70
74
|
var remove_2 = require("./remove");
|
|
71
|
-
var
|
|
75
|
+
var update_4 = require("./update");
|
|
72
76
|
var update_crm_verification_1 = require("./update-crm-verification");
|
|
73
77
|
var update_partner_program_1 = require("./update-partner-program");
|
|
74
78
|
var update_step_1 = require("./update-step");
|
|
75
79
|
exports.profilesApiDeclaration = {
|
|
80
|
+
updateVRRoomGroup: update_2.updateVRRoomGroup,
|
|
76
81
|
updateNotificationChanel: update_1.updateNotificationChanel,
|
|
82
|
+
getVRRoomGroup: get_one_1.getVRRoomGroup,
|
|
83
|
+
createVRRoomGroup: create_3.createVRRoomGroup,
|
|
84
|
+
deleteVRRoomGroup: delete_1.deleteVRRoomGroup,
|
|
77
85
|
deleteAction: delete_action_1.deleteAction,
|
|
78
86
|
queryCalls: query_1.queryCalls,
|
|
79
87
|
createNotificationChanel: create_2.createNotificationChanel,
|
|
@@ -108,7 +116,7 @@ exports.profilesApiDeclaration = {
|
|
|
108
116
|
createContact: create_contact_1.createContact,
|
|
109
117
|
getWidgetCustomization: get_1.getWidgetCustomization,
|
|
110
118
|
updateAction: update_action_1.updateAction,
|
|
111
|
-
updateWidgetCustomization:
|
|
119
|
+
updateWidgetCustomization: update_3.updateWidgetCustomization,
|
|
112
120
|
removeContact: remove_contact_1.removeContact,
|
|
113
121
|
updateProfileCrm: update_profile_crm_1.updateProfileCrm,
|
|
114
122
|
getOnboardingSteps: get_onboarding_steps_1.getOnboardingSteps,
|
|
@@ -137,11 +145,11 @@ exports.profilesApiDeclaration = {
|
|
|
137
145
|
getBookeoOrders: get_bookeo_orders_1.getBookeoOrders,
|
|
138
146
|
getBookeoInfo: get_bookeo_info_1.getBookeoInfo,
|
|
139
147
|
getBookeoIntegrationLink: get_bookeo_integration_link_1.getBookeoIntegrationLink,
|
|
140
|
-
create:
|
|
148
|
+
create: create_4.create,
|
|
141
149
|
remove: remove_2.remove,
|
|
142
|
-
update:
|
|
150
|
+
update: update_4.update,
|
|
143
151
|
query: query_3.query,
|
|
144
|
-
getOne:
|
|
152
|
+
getOne: get_one_2.getOne,
|
|
145
153
|
current: current_1.current,
|
|
146
154
|
getBySlugForVerify: get_by_slug_for_verify_1.getBySlugForVerify,
|
|
147
155
|
};
|
|
@@ -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,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.45",
|
|
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": "d8164af1fe1f919ab135d2ac56bf37ac1b7e803d",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.40",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.44",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|