@longvansoftware/service-js-client 2.9.0 → 2.9.1

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.
Files changed (54) hide show
  1. package/dist/config/config.js +1 -1
  2. package/dist/src/graphql/campaign/queries.d.ts +13 -11
  3. package/dist/src/graphql/campaign/queries.js +39 -111
  4. package/dist/src/graphql/cashbook/mutation.js +4 -0
  5. package/dist/src/graphql/cashbook/query.d.ts +2 -0
  6. package/dist/src/graphql/cashbook/query.js +17 -1
  7. package/dist/src/graphql/cloud/mutations.d.ts +2 -0
  8. package/dist/src/graphql/cloud/mutations.js +53 -186
  9. package/dist/src/graphql/cloudCloud/mutations.d.ts +2 -0
  10. package/dist/src/graphql/cloudCloud/mutations.js +101 -27
  11. package/dist/src/graphql/cloudCloud/queries.js +4 -0
  12. package/dist/src/graphql/orderCloud/mutations.d.ts +3 -1
  13. package/dist/src/graphql/orderCloud/mutations.js +21 -5
  14. package/dist/src/graphql/paymentLV/mutations.d.ts +4 -0
  15. package/dist/src/graphql/paymentLV/mutations.js +41 -13
  16. package/dist/src/graphql/paymentV2/mutations.d.ts +1 -0
  17. package/dist/src/graphql/paymentV2/mutations.js +23 -37
  18. package/dist/src/graphql/paymentV2/queries.d.ts +2 -0
  19. package/dist/src/graphql/paymentV2/queries.js +58 -1
  20. package/dist/src/graphql/storefont/mutation.d.ts +4 -0
  21. package/dist/src/graphql/storefont/mutation.js +56 -0
  22. package/dist/src/graphql/storefont/queries.d.ts +5 -0
  23. package/dist/src/graphql/storefont/queries.js +106 -0
  24. package/dist/src/graphql/tag/mutations.d.ts +2 -0
  25. package/dist/src/graphql/tag/mutations.js +44 -0
  26. package/dist/src/graphql/tag/queries.d.ts +1 -0
  27. package/dist/src/graphql/tag/queries.js +20 -0
  28. package/dist/src/lib/campaign/index.d.ts +1 -0
  29. package/dist/src/lib/campaign/index.js +69 -12
  30. package/dist/src/lib/cashbook/index.d.ts +4 -0
  31. package/dist/src/lib/cashbook/index.js +60 -2
  32. package/dist/src/lib/cloud/index.d.ts +2 -0
  33. package/dist/src/lib/cloud/index.js +65 -37
  34. package/dist/src/lib/cloudCloud/index.d.ts +1 -0
  35. package/dist/src/lib/cloudCloud/index.js +16 -0
  36. package/dist/src/lib/imageGateway/index.d.ts +6 -0
  37. package/dist/src/lib/imageGateway/index.js +18 -0
  38. package/dist/src/lib/orderCloud/index.d.ts +2 -0
  39. package/dist/src/lib/orderCloud/index.js +47 -1
  40. package/dist/src/lib/paymentLV/index.d.ts +4 -0
  41. package/dist/src/lib/paymentLV/index.js +55 -7
  42. package/dist/src/lib/paymentV2/index.d.ts +11 -1
  43. package/dist/src/lib/paymentV2/index.js +55 -14
  44. package/dist/src/lib/portal/index.d.ts +10 -2
  45. package/dist/src/lib/portal/index.js +171 -11
  46. package/dist/src/lib/storefont/index.d.ts +23 -0
  47. package/dist/src/lib/storefont/index.js +160 -0
  48. package/dist/src/lib/tag/index.d.ts +7 -0
  49. package/dist/src/lib/tag/index.js +61 -0
  50. package/package.json +1 -1
  51. package/dist/src/lib/service.d.ts +0 -14
  52. package/dist/src/lib/service.js +0 -101
  53. package/dist/src/utils/build-field-string.d.ts +0 -1
  54. package/dist/src/utils/build-field-string.js +0 -16
@@ -138,5 +138,21 @@ class CloudCloudService extends serviceSDK_1.Service {
138
138
  }
139
139
  });
140
140
  }
141
+ linkUserAccount(ownerId, serviceId) {
142
+ return __awaiter(this, void 0, void 0, function* () {
143
+ const mutation = mutations_1.LINK_USER_ACCOUNT;
144
+ const variables = {
145
+ ownerId,
146
+ serviceId
147
+ };
148
+ try {
149
+ const response = yield this.graphqlMutationV2(mutation, variables);
150
+ return response.linkUserAccount;
151
+ }
152
+ catch (error) {
153
+ throw error;
154
+ }
155
+ });
156
+ }
141
157
  }
142
158
  exports.CloudCloudService = CloudCloudService;
@@ -0,0 +1,6 @@
1
+ import { Service } from "../serviceSDK";
2
+ export declare class ImageGateService extends Service {
3
+ constructor(endpoint: string, orgId: string, storeId: string);
4
+ imageProduct(parentId: string, parentType: string, width?: number, height?: number): string;
5
+ imagesProduct(parentId: string, parentType: string, width?: number, height?: number): string;
6
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageGateService = void 0;
4
+ const serviceSDK_1 = require("../serviceSDK");
5
+ class ImageGateService extends serviceSDK_1.Service {
6
+ constructor(endpoint, orgId, storeId) {
7
+ super(endpoint, orgId, storeId);
8
+ }
9
+ imageProduct(parentId, parentType, width, height) {
10
+ const url = `${this.endpoint}/image-gateway/public/image/${parentType}/${parentId}${width ? `?w=${width}` : ``}${`${height ? `&h=${height}` : ``}`} `;
11
+ return url;
12
+ }
13
+ imagesProduct(parentId, parentType, width, height) {
14
+ const url = `${this.endpoint}/image-gateway/public/images/${parentType}/${parentId}?w=${width}&h=${height}`;
15
+ return url;
16
+ }
17
+ }
18
+ exports.ImageGateService = ImageGateService;
@@ -2,4 +2,6 @@ import { Service } from "../serviceSDK";
2
2
  export declare class OrderCloudService extends Service {
3
3
  constructor(endpoint: string, orgId: string, storeId: string);
4
4
  findOrderByOwnerPartyId(ownerPartyId: string): Promise<any>;
5
+ mergeOrderCart(oldCartId: string, newCartId: string, actorId: string, fields?: string[]): Promise<any>;
6
+ updateQuantityV2(orderId: string, updateItem: any, updateBy: string): Promise<any>;
5
7
  }
@@ -12,6 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.OrderCloudService = void 0;
13
13
  const serviceSDK_1 = require("../serviceSDK");
14
14
  const queries_1 = require("../../graphql/orderCloud/queries");
15
+ const mutations_1 = require("../../graphql/orderCloud/mutations");
16
+ const mutations_2 = require("../../graphql/cloudCloud/mutations");
15
17
  class OrderCloudService extends serviceSDK_1.Service {
16
18
  constructor(endpoint, orgId, storeId) {
17
19
  super(endpoint, orgId, storeId);
@@ -22,7 +24,7 @@ class OrderCloudService extends serviceSDK_1.Service {
22
24
  const query = queries_1.FIND_ORDER_BY_OWNER_PARTYID;
23
25
  const variables = {
24
26
  partnerId: this.orgId,
25
- ownerPartyId,
27
+ ownerPartyId
26
28
  };
27
29
  try {
28
30
  const response = yield this.graphqlQuery(query, variables);
@@ -33,5 +35,49 @@ class OrderCloudService extends serviceSDK_1.Service {
33
35
  }
34
36
  });
35
37
  }
38
+ mergeOrderCart(oldCartId_1, newCartId_1, actorId_1) {
39
+ return __awaiter(this, arguments, void 0, function* (oldCartId, newCartId, actorId, fields = ["success", "movedItemCount", "skippedItemCount", "oldCartCanceled", "message"]) {
40
+ const mutation = (0, mutations_1.MERGE_ORDER_CART)(fields);
41
+ const variables = {
42
+ oldCartId,
43
+ newCartId,
44
+ actorId
45
+ };
46
+ try {
47
+ const response = yield this.graphqlMutation(mutation, variables);
48
+ return response.mergeOrderCart;
49
+ }
50
+ catch (error) {
51
+ throw error;
52
+ }
53
+ });
54
+ }
55
+ updateQuantityV2(orderId, updateItem, updateBy) {
56
+ return __awaiter(this, void 0, void 0, function* () {
57
+ var _a, _b;
58
+ const mutation = mutations_2.UPDATE_QUANTITY_V2;
59
+ const variables = {
60
+ orderId,
61
+ partnerId: this.orgId,
62
+ updateItemInputs: {
63
+ orderItemId: updateItem.orderItemId,
64
+ price: updateItem.price,
65
+ quantity: updateItem.quantity,
66
+ unitPrice: updateItem.unitPrice,
67
+ unitType: updateItem.unitType,
68
+ campaignId: (_a = updateItem.campaignId) !== null && _a !== void 0 ? _a : null,
69
+ campaignActionId: (_b = updateItem.campaignActionId) !== null && _b !== void 0 ? _b : null
70
+ },
71
+ updateBy
72
+ };
73
+ try {
74
+ const response = yield this.graphqlQuery(mutation, variables);
75
+ return response;
76
+ }
77
+ catch (error) {
78
+ throw error;
79
+ }
80
+ });
81
+ }
36
82
  }
37
83
  exports.OrderCloudService = OrderCloudService;
@@ -10,4 +10,8 @@ export declare class PaymentLVService extends Service {
10
10
  getPaymentMethodTypes(store: string): Promise<any>;
11
11
  paymentMethods(): Promise<any>;
12
12
  paymentStatus(paymentId: string): Promise<any>;
13
+ registerAutoDebit(cashAccountId: string): Promise<any>;
14
+ confirmRegisterAutoDebit(cashAccountId: string, otp: string): Promise<any>;
15
+ cancelAutoDebit(cashAccountId: string): Promise<any>;
16
+ confirmCancelAutoDebit(cashAccountId: string, otp: string): Promise<any>;
13
17
  }
@@ -27,7 +27,7 @@ class PaymentLVService extends serviceSDK_1.Service {
27
27
  return __awaiter(this, void 0, void 0, function* () {
28
28
  const query = queries_1.PAYMENTS_BY_ORDERS;
29
29
  const variables = {
30
- orderIds,
30
+ orderIds
31
31
  };
32
32
  // const headers = { PartnerId: this.orgId };
33
33
  try {
@@ -48,7 +48,7 @@ class PaymentLVService extends serviceSDK_1.Service {
48
48
  const variables = {
49
49
  partnerId: this.orgId,
50
50
  storeId: store ? store : this.storeId,
51
- paymentId,
51
+ paymentId
52
52
  };
53
53
  try {
54
54
  const response = yield this.graphqlQueryCustomHeader(query, variables);
@@ -67,7 +67,7 @@ class PaymentLVService extends serviceSDK_1.Service {
67
67
  paymentId,
68
68
  safeMode: true,
69
69
  reason,
70
- createBy,
70
+ createBy
71
71
  };
72
72
  try {
73
73
  const response = yield this.graphqlMutationCustomHeader(mutation, variables);
@@ -84,7 +84,7 @@ class PaymentLVService extends serviceSDK_1.Service {
84
84
  const mutation = mutations_1.CONFIRM_PAID_MANUAL;
85
85
  const variables = {
86
86
  paymentId,
87
- confirmBy,
87
+ confirmBy
88
88
  };
89
89
  try {
90
90
  const response = yield this.graphqlMutationCustomHeader(mutation, variables);
@@ -101,7 +101,7 @@ class PaymentLVService extends serviceSDK_1.Service {
101
101
  const query = queries_1.GET_PAYMENT_METHOD_TYPES;
102
102
  const variables = {
103
103
  partnerId: this.orgId,
104
- storeId: store ? store : this.storeId,
104
+ storeId: store ? store : this.storeId
105
105
  };
106
106
  try {
107
107
  const response = yield this.graphqlQueryCustomHeader(query, variables);
@@ -117,7 +117,7 @@ class PaymentLVService extends serviceSDK_1.Service {
117
117
  return __awaiter(this, void 0, void 0, function* () {
118
118
  const query = queries_1.PAYMENT_METHODS;
119
119
  const variables = {
120
- partnerCode: this.orgId,
120
+ partnerCode: this.orgId
121
121
  };
122
122
  try {
123
123
  const response = yield this.graphqlQueryCustomHeader(query, variables);
@@ -133,7 +133,7 @@ class PaymentLVService extends serviceSDK_1.Service {
133
133
  return __awaiter(this, void 0, void 0, function* () {
134
134
  const query = queries_1.PAYMENT_STATUS;
135
135
  const variables = {
136
- paymentId,
136
+ paymentId
137
137
  };
138
138
  try {
139
139
  const response = yield this.graphqlQueryCustomHeader(query, variables);
@@ -145,5 +145,53 @@ class PaymentLVService extends serviceSDK_1.Service {
145
145
  }
146
146
  });
147
147
  }
148
+ registerAutoDebit(cashAccountId) {
149
+ return __awaiter(this, void 0, void 0, function* () {
150
+ try {
151
+ const response = yield this.graphqlMutationV2(mutations_1.REGISTER_AUTO_DEBIT, cashAccountId);
152
+ return response.registerAutoDebit;
153
+ }
154
+ catch (error) {
155
+ console.log(`Error mutation registerAutoDebit: ${error}`);
156
+ throw error;
157
+ }
158
+ });
159
+ }
160
+ confirmRegisterAutoDebit(cashAccountId, otp) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ try {
163
+ const response = yield this.graphqlMutationV2(mutations_1.CONFIRM_REGISTER_AUTO_DEBIT, { cashAccountId, otp });
164
+ return response.confirmRegisterAutoDebit;
165
+ }
166
+ catch (error) {
167
+ console.log(`Error mutation confirmRegisterAutoDebit: ${error}`);
168
+ throw error;
169
+ }
170
+ });
171
+ }
172
+ cancelAutoDebit(cashAccountId) {
173
+ return __awaiter(this, void 0, void 0, function* () {
174
+ try {
175
+ const response = yield this.graphqlMutationV2(mutations_1.CANCEL_AUTO_DEBIT, cashAccountId);
176
+ return response.cancelAutoDebit;
177
+ }
178
+ catch (error) {
179
+ console.log(`Error mutation cancelAutoDebit: ${error}`);
180
+ throw error;
181
+ }
182
+ });
183
+ }
184
+ confirmCancelAutoDebit(cashAccountId, otp) {
185
+ return __awaiter(this, void 0, void 0, function* () {
186
+ try {
187
+ const response = yield this.graphqlMutationV2(mutations_1.CONFIRM_CANCEL_AUTO_DEBIT, { cashAccountId, otp });
188
+ return response.confirmCancelAutoDebit;
189
+ }
190
+ catch (error) {
191
+ console.log(`Error mutation confirmCancelAutoDebit: ${error}`);
192
+ throw error;
193
+ }
194
+ });
195
+ }
148
196
  }
149
197
  exports.PaymentLVService = PaymentLVService;
@@ -2,7 +2,7 @@ import { Service } from "../serviceSDK";
2
2
  export declare class PaymentServiceV2 extends Service {
3
3
  constructor(endpoint: string, orgId: string, storeId: string);
4
4
  paymentsByOrders(orderIds: [string]): Promise<any>;
5
- cancelPayment(paymentId: string, reason: string): Promise<any>;
5
+ cancelPayment(paymentId: string, reason: string, safeMode?: boolean, createBy?: string): Promise<any>;
6
6
  paymentMethods(): Promise<any>;
7
7
  getPaymentMethodTypes(): Promise<any>;
8
8
  paymentInfo(paymentId: string): Promise<any>;
@@ -16,4 +16,14 @@ export declare class PaymentServiceV2 extends Service {
16
16
  getPaymentGatewaysByMethodCode(methodCode: string): Promise<any>;
17
17
  getPaymentMethodTypesV2(storeActive: any, allMethodTypes: boolean): Promise<any>;
18
18
  getTransferInfo(storeId: string, paymentId: string): Promise<any>;
19
+ createPayment(paymentData: {
20
+ totalAmount: number;
21
+ storeID: string;
22
+ partnerCode: string;
23
+ methodCode: string;
24
+ phone?: string;
25
+ email?: string;
26
+ }): Promise<any>;
27
+ paymentMethodsByPartner(partnerCode?: string): Promise<any>;
28
+ getPaymentMethodTypesWithGatewayConfig(partnerId?: string, storeId?: string): Promise<any>;
19
29
  }
@@ -21,7 +21,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
22
  const query = queries_1.PAYMENTS_BY_ORDERS;
23
23
  const variables = {
24
- orderIds: orderIds,
24
+ orderIds: orderIds
25
25
  };
26
26
  try {
27
27
  const response = yield this.graphqlQueryV3(query, variables);
@@ -32,12 +32,14 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
32
32
  }
33
33
  });
34
34
  }
35
- cancelPayment(paymentId, reason) {
35
+ cancelPayment(paymentId, reason, safeMode, createBy) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
37
37
  const mutation = mutations_1.CANCEL_PAYMENT;
38
38
  const variables = {
39
39
  paymentId: paymentId,
40
40
  reason: reason,
41
+ safeMode: safeMode,
42
+ createBy: createBy
41
43
  };
42
44
  try {
43
45
  const respone = yield this.graphqlMutationV3(mutation, variables);
@@ -66,7 +68,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
66
68
  const query = queries_1.GET_PAYMENT_METHOD_TYPES;
67
69
  const variables = {
68
70
  partnerId: this.orgId,
69
- storeId: this.storeId,
71
+ storeId: this.storeId
70
72
  };
71
73
  try {
72
74
  const response = yield this.graphqlQueryV3(query, variables);
@@ -81,7 +83,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
81
83
  return __awaiter(this, void 0, void 0, function* () {
82
84
  const query = queries_1.PAYMENT_INFO;
83
85
  const variables = {
84
- paymentId,
86
+ paymentId
85
87
  };
86
88
  try {
87
89
  const response = yield this.graphqlQueryV3(query, variables);
@@ -100,7 +102,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
100
102
  storeId: this.storeId,
101
103
  methodTypeCode,
102
104
  methodCode,
103
- returnUrl,
105
+ returnUrl
104
106
  };
105
107
  try {
106
108
  const response = yield this.graphqlMutationV3(mutation, variables);
@@ -115,7 +117,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
115
117
  return __awaiter(this, void 0, void 0, function* () {
116
118
  const query = queries_1.PAYMENT_STATUS;
117
119
  const variables = {
118
- paymentId,
120
+ paymentId
119
121
  };
120
122
  try {
121
123
  const response = yield this.graphqlQueryV3(query, variables);
@@ -130,7 +132,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
130
132
  return __awaiter(this, void 0, void 0, function* () {
131
133
  const query = queries_1.GW_CONFIG_DETAIL;
132
134
  const variables = {
133
- configId,
135
+ configId
134
136
  };
135
137
  try {
136
138
  const response = yield this.graphqlQueryV3(query, variables);
@@ -148,7 +150,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
148
150
  paymentId: paymentId,
149
151
  transactionNo: transactionNo,
150
152
  note: note,
151
- confirmBy: confirmBy,
153
+ confirmBy: confirmBy
152
154
  };
153
155
  try {
154
156
  const response = yield this.graphqlMutationV3(mutation, variables);
@@ -163,7 +165,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
163
165
  return __awaiter(this, void 0, void 0, function* () {
164
166
  const query = queries_1.GET_PAYMENT_METHOD_TITLES;
165
167
  const variables = {
166
- methodCode,
168
+ methodCode
167
169
  };
168
170
  try {
169
171
  const response = yield this.graphqlQueryV3(query, variables);
@@ -180,7 +182,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
180
182
  const data = Object.assign(Object.assign({}, input), { partnerCode: this.orgId });
181
183
  const variable = {
182
184
  input: data,
183
- cassoApiKey,
185
+ cassoApiKey
184
186
  };
185
187
  try {
186
188
  const response = yield this.graphqlMutationV3(mutation, variable);
@@ -197,7 +199,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
197
199
  const data = Object.assign(Object.assign({}, input), { partnerCode: this.orgId });
198
200
  const variable = {
199
201
  input: data,
200
- cassoApiKey,
202
+ cassoApiKey
201
203
  };
202
204
  try {
203
205
  const response = yield this.graphqlMutationV3(mutation, variable);
@@ -214,7 +216,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
214
216
  const variables = {
215
217
  partnerId: this.orgId,
216
218
  methodCode,
217
- storeId: this.storeId,
219
+ storeId: this.storeId
218
220
  };
219
221
  try {
220
222
  const response = yield this.graphqlQueryV3(query, variables);
@@ -232,7 +234,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
232
234
  partnerId: this.orgId,
233
235
  storeId: this.storeId,
234
236
  storeActive: storeActive,
235
- allMethodTypes: allMethodTypes,
237
+ allMethodTypes: allMethodTypes
236
238
  };
237
239
  try {
238
240
  const response = yield this.graphqlQueryV3(queries, variables);
@@ -249,7 +251,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
249
251
  const variables = {
250
252
  partnerId: this.orgId,
251
253
  storeId,
252
- paymentId,
254
+ paymentId
253
255
  };
254
256
  try {
255
257
  const response = yield this.graphqlMutationV3(queries, variables);
@@ -260,5 +262,44 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
260
262
  }
261
263
  });
262
264
  }
265
+ createPayment(paymentData) {
266
+ return __awaiter(this, void 0, void 0, function* () {
267
+ const mutation = mutations_1.CREATE_PAYMENT;
268
+ const variables = { paymentData };
269
+ try {
270
+ const response = yield this.graphqlMutationV3(mutation, variables);
271
+ return response.createPayment;
272
+ }
273
+ catch (error) {
274
+ throw error;
275
+ }
276
+ });
277
+ }
278
+ paymentMethodsByPartner(partnerCode) {
279
+ return __awaiter(this, void 0, void 0, function* () {
280
+ const query = queries_1.PAYMENT_METHODS_BY_PARTNER;
281
+ const variables = { partnerCode };
282
+ try {
283
+ const response = yield this.graphqlQueryV3(query, variables);
284
+ return response.paymentMethods;
285
+ }
286
+ catch (error) {
287
+ throw error;
288
+ }
289
+ });
290
+ }
291
+ getPaymentMethodTypesWithGatewayConfig(partnerId, storeId) {
292
+ return __awaiter(this, void 0, void 0, function* () {
293
+ const query = queries_1.GET_PAYMENT_METHOD_TYPES_WITH_GATEWAY_CONFIG;
294
+ const variables = { partnerId, storeId };
295
+ try {
296
+ const response = yield this.graphqlQueryV3(query, variables);
297
+ return response.getPaymentMethodTypes;
298
+ }
299
+ catch (error) {
300
+ throw error;
301
+ }
302
+ });
303
+ }
263
304
  }
264
305
  exports.PaymentServiceV2 = PaymentServiceV2;
@@ -6,8 +6,6 @@ export declare class PortalService extends Service {
6
6
  createTag(title: string, createBy: string, partnerId?: string): Promise<any>;
7
7
  searchTag(partnerId?: string, title?: string, id?: string, search?: string): Promise<any>;
8
8
  redirectLink(sku?: string, id?: string): string;
9
- imageProduct(parentId: string, parentType: string, width?: number, height?: number): string;
10
- imagesProduct(parentId: string, parentType: string, width?: number, height?: number): string;
11
9
  completeOrder(orderId: string, byUser: string): Promise<any>;
12
10
  pushMessage(message: any): Promise<any>;
13
11
  confirmExport(orderId: string, updateBy: string): Promise<any>;
@@ -30,4 +28,14 @@ export declare class PortalService extends Service {
30
28
  getPosition(query?: Record<string, any>): Promise<any>;
31
29
  getPositionForTime(query?: Record<string, any>): Promise<any>;
32
30
  getBookingCount(query?: Record<string, any>): Promise<any>;
31
+ getSlugPathFromDynamicFrom(query?: Record<string, any>): Promise<any>;
32
+ putSlugPathFromDynamicFrom(data: any): Promise<any>;
33
+ postSlugPathFromDynamicFrom(data: any): Promise<any>;
34
+ getExamGroupTimeSlots(query?: Record<string, any>): Promise<any>;
35
+ getExamGroupExecutionDates(query?: Record<string, any>): Promise<any>;
36
+ getExamGroupExecutionLocations(query?: Record<string, any>): Promise<any>;
37
+ getEventsActivity(query?: Record<string, any>): Promise<any>;
38
+ imageProduct(parentId: string, parentType: string, width?: number, height?: number): string;
39
+ imagesProduct(parentId: string, parentType: string, width?: number, height?: number): string;
40
+ confirmOrderWithoutPaid(partnerId: string, orderId: string, createBy: string): Promise<any>;
33
41
  }