@heliofi/common 0.2.81 → 0.2.83

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.
@@ -5,6 +5,7 @@ export declare class BaseCompany extends Entity {
5
5
  name?: string;
6
6
  email?: string;
7
7
  logoUrl?: string;
8
+ defaultCheckoutImageUrl?: string;
8
9
  websiteUrl?: string;
9
10
  twitterUsername?: string;
10
11
  discordUsername?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,WAAY,SAAQ,eAAM;CAoCtC;AApCD,kCAoCC"}
1
+ {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,WAAY,SAAQ,eAAM;CAsCtC;AAtCD,kCAsCC"}
@@ -8,5 +8,5 @@ export declare class Company extends BaseCompany {
8
8
  apiKeys?: ApiKey[];
9
9
  kybDetails?: KYBDetails;
10
10
  shopifyMerchantDetails?: ShopifyMerchantDetails;
11
- defaultCheckoutImage?: string;
11
+ defaultCheckoutImage?: BaseAttachment;
12
12
  }
@@ -3,5 +3,6 @@ export declare enum EnrichFeature {
3
3
  CONTENT_MEDIA_URL = "contentMediaUrl",
4
4
  HELIO_PLAY_PREVIEW = "helioPlayPreview",
5
5
  MERCHANT_LOGO_URL = "merchantLogoUrl",
6
- ADDITIONAL_IMAGES = "additionalImages"
6
+ ADDITIONAL_IMAGES = "additionalImages",
7
+ DEFAULT_CHECKOUT_IMAGE_URL = "defaultCheckoutImageUrl"
7
8
  }
@@ -8,5 +8,6 @@ var EnrichFeature;
8
8
  EnrichFeature["HELIO_PLAY_PREVIEW"] = "helioPlayPreview";
9
9
  EnrichFeature["MERCHANT_LOGO_URL"] = "merchantLogoUrl";
10
10
  EnrichFeature["ADDITIONAL_IMAGES"] = "additionalImages";
11
+ EnrichFeature["DEFAULT_CHECKOUT_IMAGE_URL"] = "defaultCheckoutImageUrl";
11
12
  })(EnrichFeature = exports.EnrichFeature || (exports.EnrichFeature = {}));
12
13
  //# sourceMappingURL=EnrichFeature.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnrichFeature.js","sourceRoot":"","sources":["../../../../../../src/domain/model/enrich-payment-request/entities/EnrichFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,sDAAqC,CAAA;IACrC,wDAAuC,CAAA;IACvC,sDAAqC,CAAA;IACrC,uDAAsC,CAAA;AACxC,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}
1
+ {"version":3,"file":"EnrichFeature.js","sourceRoot":"","sources":["../../../../../../src/domain/model/enrich-payment-request/entities/EnrichFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,sDAAqC,CAAA;IACrC,wDAAuC,CAAA;IACvC,sDAAqC,CAAA;IACrC,uDAAsC,CAAA;IACtC,uEAAsD,CAAA;AACxD,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB"}
@@ -4,4 +4,5 @@ export declare type EnrichedUrls = {
4
4
  logoUrl?: string;
5
5
  previewUrl?: string;
6
6
  additionalImages?: string[];
7
+ defaultCheckoutImageUrl?: string;
7
8
  };
@@ -4,4 +4,5 @@ export declare class SubscriptionDetailsDto {
4
4
  gracePeriod: number;
5
5
  annualDiscountBps: number;
6
6
  interval: IntervalType;
7
+ isAnonymous?: boolean;
7
8
  }
@@ -34,5 +34,10 @@ __decorate([
34
34
  (0, class_validator_1.IsNotEmpty)(),
35
35
  __metadata("design:type", String)
36
36
  ], SubscriptionDetailsDto.prototype, "interval", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsBoolean)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", Boolean)
41
+ ], SubscriptionDetailsDto.prototype, "isAnonymous", void 0);
37
42
  exports.SubscriptionDetailsDto = SubscriptionDetailsDto;
38
43
  //# sourceMappingURL=subscriptionDetails.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/subscriptionDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,kDAAkD;AAElD,MAAa,sBAAsB;CAgBlC;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;wDACU;AAfzB,wDAgBC"}
1
+ {"version":3,"file":"subscriptionDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/subscriptionDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAAkD;AAElD,MAAa,sBAAsB;CAoBlC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACS;AAnBxB,wDAoBC"}
@@ -4,4 +4,5 @@ export declare class SubscriptionDetails {
4
4
  gracePeriod: number;
5
5
  annualDiscountBps: number;
6
6
  interval: IntervalType;
7
+ isAnonymous?: boolean;
7
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/SubscriptionDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
1
+ {"version":3,"file":"SubscriptionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/SubscriptionDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAU/B;AAVD,kDAUC"}
@@ -5,7 +5,8 @@ export declare enum PaylinkHookEvent {
5
5
  SUBSCRIPTION_ALL = "SUBSCRIPTION_ALL",
6
6
  SUBSCRIPTION_STARTED = "SUBSCRIPTION_STARTED",
7
7
  SUBSCRIPTION_RENEWED = "SUBSCRIPTION_RENEWED",
8
- SUBSCRIPTION_ENDED = "SUBSCRIPTION_ENDED"
8
+ SUBSCRIPTION_ENDED = "SUBSCRIPTION_ENDED",
9
+ SUBSCRIPTION_PENDING_PAYMENT = "SUBSCRIPTION_PENDING_PAYMENT"
9
10
  }
10
11
  export declare const subscriptionGlobalEvents: PaylinkHookEvent[];
11
12
  export declare const subscriptionSpecificEvents: PaylinkHookEvent[];
@@ -10,6 +10,7 @@ var PaylinkHookEvent;
10
10
  PaylinkHookEvent["SUBSCRIPTION_STARTED"] = "SUBSCRIPTION_STARTED";
11
11
  PaylinkHookEvent["SUBSCRIPTION_RENEWED"] = "SUBSCRIPTION_RENEWED";
12
12
  PaylinkHookEvent["SUBSCRIPTION_ENDED"] = "SUBSCRIPTION_ENDED";
13
+ PaylinkHookEvent["SUBSCRIPTION_PENDING_PAYMENT"] = "SUBSCRIPTION_PENDING_PAYMENT";
13
14
  })(PaylinkHookEvent = exports.PaylinkHookEvent || (exports.PaylinkHookEvent = {}));
14
15
  exports.subscriptionGlobalEvents = [
15
16
  PaylinkHookEvent.ALL,
@@ -19,6 +20,7 @@ exports.subscriptionSpecificEvents = [
19
20
  PaylinkHookEvent.SUBSCRIPTION_STARTED,
20
21
  PaylinkHookEvent.SUBSCRIPTION_RENEWED,
21
22
  PaylinkHookEvent.SUBSCRIPTION_ENDED,
23
+ PaylinkHookEvent.SUBSCRIPTION_PENDING_PAYMENT,
22
24
  ];
23
25
  exports.subscriptionEvents = [
24
26
  ...exports.subscriptionGlobalEvents,
@@ -1 +1 @@
1
- {"version":3,"file":"PaylinkHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+CAA2B,CAAA;IAC3B,+DAA2C,CAAA;IAC3C,yDAAqC,CAAA;IACrC,iEAA6C,CAAA;IAC7C,iEAA6C,CAAA;IAC7C,6DAAyC,CAAA;AAC3C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAEY,QAAA,wBAAwB,GAAG;IACtC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,gBAAgB;CAClC,CAAC;AACW,QAAA,0BAA0B,GAAG;IACxC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,kBAAkB;CACpC,CAAC;AACW,QAAA,kBAAkB,GAAG;IAChC,GAAG,gCAAwB;IAC3B,GAAG,kCAA0B;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,WAAW;CAC7B,CAAC;AACW,QAAA,yBAAyB,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AACnE,QAAA,iBAAiB,GAAG;IAC/B,GAAG,+BAAuB;IAC1B,GAAG,iCAAyB;CAC7B,CAAC"}
1
+ {"version":3,"file":"PaylinkHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.ts"],"names":[],"mappings":";;;AACA,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+CAA2B,CAAA;IAC3B,+DAA2C,CAAA;IAC3C,yDAAqC,CAAA;IACrC,iEAA6C,CAAA;IAC7C,iEAA6C,CAAA;IAC7C,6DAAyC,CAAA;IACzC,iFAA6D,CAAA;AAC/D,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;AAEY,QAAA,wBAAwB,GAAG;IACtC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,gBAAgB;CAClC,CAAC;AACW,QAAA,0BAA0B,GAAG;IACxC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,kBAAkB;IACnC,gBAAgB,CAAC,4BAA4B;CAC9C,CAAC;AACW,QAAA,kBAAkB,GAAG;IAChC,GAAG,gCAAwB;IAC3B,GAAG,kCAA0B;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,WAAW;CAC7B,CAAC;AACW,QAAA,yBAAyB,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AACnE,QAAA,iBAAiB,GAAG;IAC/B,GAAG,+BAAuB;IAC1B,GAAG,iCAAyB;CAC7B,CAAC"}