@infrab4a/connect 0.7.5 → 0.7.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.
@@ -636,11 +636,29 @@
636
636
  return Address;
637
637
  }(BaseModel));
638
638
 
639
+ var Base = /** @class */ (function () {
640
+ function Base() {
641
+ var args = [];
642
+ for (var _i = 0; _i < arguments.length; _i++) {
643
+ args[_i] = arguments[_i];
644
+ }
645
+ Object.assign.apply(Object, __spreadArray([this], __read(args)));
646
+ }
647
+ return Base;
648
+ }());
649
+
639
650
  var Coupon = /** @class */ (function (_super) {
640
651
  __extends(Coupon, _super);
641
652
  function Coupon() {
642
653
  return _super !== null && _super.apply(this, arguments) || this;
643
654
  }
655
+ Object.defineProperty(Coupon.prototype, "isInfluencer", {
656
+ get: function () {
657
+ return !lodash.isNil(this.influencerEmail);
658
+ },
659
+ enumerable: false,
660
+ configurable: true
661
+ });
644
662
  Coupon.prototype.identifierFields = function () {
645
663
  return ['id'];
646
664
  };
@@ -666,17 +684,6 @@
666
684
  return SubscriptionPlan;
667
685
  }(BaseModel));
668
686
 
669
- var Base = /** @class */ (function () {
670
- function Base() {
671
- var args = [];
672
- for (var _i = 0; _i < arguments.length; _i++) {
673
- args[_i] = arguments[_i];
674
- }
675
- Object.assign.apply(Object, __spreadArray([this], __read(args)));
676
- }
677
- return Base;
678
- }());
679
-
680
687
  var BeautyProfile = /** @class */ (function (_super) {
681
688
  __extends(BeautyProfile, _super);
682
689
  function BeautyProfile() {