@sendhome/common 1.0.124 → 1.0.132

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.
@@ -3,7 +3,7 @@ import { ProductClass } from "../types/product_class";
3
3
  import { ProductStatus } from "../types/product-status";
4
4
  import { CompanyType } from "../types/company-type";
5
5
  import { UnitType } from "../types/unit-type";
6
- import { Country } from "../types/country";
6
+ import { ReceiveCountry } from "../types/receive-country";
7
7
  interface IGroceriesFields {
8
8
  expiration_date?: Date;
9
9
  organic?: boolean;
@@ -49,7 +49,7 @@ export interface ProductCreatedEvent {
49
49
  unit_value: number;
50
50
  properties: IGroceriesFields | IHardwareFields | IClothingFields | IFuelFields | IFuelFields | IGasFields | {};
51
51
  status: ProductStatus;
52
- country: Country;
52
+ country: ReceiveCountry;
53
53
  created_at: Date;
54
54
  updated_at: Date;
55
55
  version: number;
@@ -3,7 +3,7 @@ import { ProductClass } from "../types/product_class";
3
3
  import { ProductStatus } from "../types/product-status";
4
4
  import { CompanyType } from "../types/company-type";
5
5
  import { UnitType } from "../types/unit-type";
6
- import { Country } from "../types/country";
6
+ import { ReceiveCountry } from "../types/receive-country";
7
7
  interface IGroceriesFields {
8
8
  expiration_date?: Date;
9
9
  organic?: boolean;
@@ -49,7 +49,7 @@ export interface ProductUpdatedEvent {
49
49
  unit_value: number;
50
50
  properties: IGroceriesFields | IHardwareFields | IClothingFields | IFuelFields | IFuelFields | IGasFields | {};
51
51
  status: ProductStatus;
52
- country: Country;
52
+ country: ReceiveCountry;
53
53
  created_at: Date;
54
54
  updated_at: Date;
55
55
  version: number;
@@ -1,9 +1,18 @@
1
1
  export declare enum Country {
2
- Zimbabwe = "zw",
3
2
  Botswana = "bw",
4
- SouthAfrica = "za",
5
3
  Namibia = "na",
6
4
  Malawi = "mw",
7
5
  Zambia = "zm",
8
- Mozambique = "mz"
6
+ Mozambique = "mz",
7
+ Germany = "DE",
8
+ Denmark = "DK",
9
+ Spain = "ES",
10
+ Greece = "GR",
11
+ Ireland = "IE",
12
+ Iceland = "IT",
13
+ Portugal = "PT",
14
+ UnitedStates = "US",
15
+ UnitedKingdom = "GB",
16
+ SouthAfrica = "ZA",
17
+ Zimbabwe = "ZW"
9
18
  }
@@ -3,11 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Country = void 0;
4
4
  var Country;
5
5
  (function (Country) {
6
- Country["Zimbabwe"] = "zw";
7
6
  Country["Botswana"] = "bw";
8
- Country["SouthAfrica"] = "za";
9
7
  Country["Namibia"] = "na";
10
8
  Country["Malawi"] = "mw";
11
9
  Country["Zambia"] = "zm";
12
10
  Country["Mozambique"] = "mz";
11
+ Country["Germany"] = "DE";
12
+ Country["Denmark"] = "DK";
13
+ Country["Spain"] = "ES";
14
+ Country["Greece"] = "GR";
15
+ Country["Ireland"] = "IE";
16
+ Country["Iceland"] = "IT";
17
+ Country["Portugal"] = "PT";
18
+ Country["UnitedStates"] = "US";
19
+ Country["UnitedKingdom"] = "GB";
20
+ Country["SouthAfrica"] = "ZA";
21
+ Country["Zimbabwe"] = "ZW";
13
22
  })(Country = exports.Country || (exports.Country = {}));
@@ -0,0 +1,6 @@
1
+ export declare enum HelpCategory {
2
+ GettingStarted = "Getting Started",
3
+ CreatingOrders = "Creating Orders",
4
+ Account = "Account",
5
+ MyTransfers = "My Transfers"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HelpCategory = void 0;
4
+ var HelpCategory;
5
+ (function (HelpCategory) {
6
+ HelpCategory["GettingStarted"] = "Getting Started";
7
+ HelpCategory["CreatingOrders"] = "Creating Orders";
8
+ HelpCategory["Account"] = "Account";
9
+ HelpCategory["MyTransfers"] = "My Transfers";
10
+ })(HelpCategory = exports.HelpCategory || (exports.HelpCategory = {}));
package/build/index.d.ts CHANGED
@@ -66,6 +66,7 @@ export * from './events/types/company-status';
66
66
  export * from './events/types/company-type';
67
67
  export * from './events/types/country';
68
68
  export * from './events/types/coupon-status';
69
+ export * from './events/types/help-category';
69
70
  export * from './events/types/location-status';
70
71
  export * from './events/types/media-status';
71
72
  export * from './events/types/module-status';
package/build/index.js CHANGED
@@ -79,6 +79,7 @@ __exportStar(require("./events/types/company-status"), exports);
79
79
  __exportStar(require("./events/types/company-type"), exports);
80
80
  __exportStar(require("./events/types/country"), exports);
81
81
  __exportStar(require("./events/types/coupon-status"), exports);
82
+ __exportStar(require("./events/types/help-category"), exports);
82
83
  __exportStar(require("./events/types/location-status"), exports);
83
84
  __exportStar(require("./events/types/media-status"), exports);
84
85
  __exportStar(require("./events/types/module-status"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendhome/common",
3
- "version": "1.0.124",
3
+ "version": "1.0.132",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",