nextemos 4.9.5 → 4.9.7

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.
@@ -1,3 +1,4 @@
1
+ import { TotalTypes } from "nextemos/enums";
1
2
  import { IAddress } from "./address";
2
3
  import { IResponse } from "./response";
3
4
  export interface IGetCartResponse extends IResponse {
@@ -101,7 +102,7 @@ export interface ITotal {
101
102
  customType: string;
102
103
  customTypeName: string;
103
104
  typeId: number;
104
- type: string;
105
+ type: keyof typeof TotalTypes;
105
106
  campaignId: number;
106
107
  campaign: string;
107
108
  couponId: number;
@@ -40,7 +40,7 @@ exports.OrderManagementService = {
40
40
  ServiceUrl: function () {
41
41
  return `http://ordermanagementgateway.${this.Namespace}.svc.cluster.local`;
42
42
  },
43
- Prefix: '/api/ordermanagement',
43
+ Prefix: '/api/ordermanagementgateway',
44
44
  GetOrderDetails: function (data, options) {
45
45
  return __awaiter(this, void 0, void 0, function* () {
46
46
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "4.9.5",
3
+ "version": "4.9.7",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",