rerobe-js-orm 4.2.2 → 4.2.3

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.
@@ -89,6 +89,7 @@ export default class Merchant extends Base {
89
89
  hasAutomatedPayouts?: boolean;
90
90
  hasAIQuickList?: boolean;
91
91
  hasReceiptPrinter?: boolean;
92
+ hasActiveWebshop?: boolean;
92
93
  stripeSubscription?: StripeSubscription;
93
94
  subscriptionStatus?: string;
94
95
  constructor(props?: any);
@@ -51,6 +51,7 @@ class Merchant extends Base_1.default {
51
51
  this.organizationNumber = (props === null || props === void 0 ? void 0 : props.organizationNumber) || '';
52
52
  this.returnPolicy = (props === null || props === void 0 ? void 0 : props.returnPolicy) || '';
53
53
  this.subscriptionStatus = (props === null || props === void 0 ? void 0 : props.subscriptionStatus) || merchant_constants_1.SUBSCRIPTION_STATUSES.trialing;
54
+ this.hasActiveWebshop = (props === null || props === void 0 ? void 0 : props.hasActiveWebshop) || false;
54
55
  if (props === null || props === void 0 ? void 0 : props.isChannelPartner) {
55
56
  this.isChannelPartner = props.isChannelPartner;
56
57
  }
@@ -105,6 +106,7 @@ class Merchant extends Base_1.default {
105
106
  organizationNumber: this.organizationNumber,
106
107
  returnPolicy: this.returnPolicy,
107
108
  subscriptionStatus: this.subscriptionStatus,
109
+ hasActiveWebshop: this.hasActiveWebshop,
108
110
  };
109
111
  if (this.isChannelPartner) {
110
112
  mObj.isChannelPartner = this.isChannelPartner;
@@ -45,6 +45,7 @@ type MerchantSystemOnlyMutableData = {
45
45
  hasAutomatedPayouts?: boolean;
46
46
  hasAIQuickList?: boolean;
47
47
  hasReceiptPrinter?: boolean;
48
+ hasActiveWebshop?: boolean;
48
49
  subscriptionStatus?: string;
49
50
  };
50
51
  type MerchantObj = MerchantMutableData & MerchantSystemOnlyMutableData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",