@heliofi/common 0.2.7 → 0.2.8

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.
@@ -0,0 +1,5 @@
1
+ import { IntervalType } from '../../../constants/intervalUnit';
2
+ import { Subscription } from './Subscription.entity';
3
+ export declare class DetailedSubscription extends Subscription {
4
+ period: IntervalType;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DetailedSubscription = void 0;
4
+ const Subscription_entity_1 = require("./Subscription.entity");
5
+ class DetailedSubscription extends Subscription_entity_1.Subscription {
6
+ }
7
+ exports.DetailedSubscription = DetailedSubscription;
8
+ //# sourceMappingURL=DetailedSubscription.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailedSubscription.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription/entities/DetailedSubscription.entity.ts"],"names":[],"mappings":";;;AACA,+DAAqD;AAErD,MAAa,oBAAqB,SAAQ,kCAAY;CAErD;AAFD,oDAEC"}
@@ -1,4 +1,5 @@
1
1
  export * from './Subscription.entity';
2
+ export * from './DetailedSubscription.entity';
2
3
  export * from './SubscriptionStatus.enum';
3
4
  export * from './BaseSubscription.entity';
4
5
  export * from './SubscriptionWithTransactions.entity';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Subscription.entity"), exports);
18
+ __exportStar(require("./DetailedSubscription.entity"), exports);
18
19
  __exportStar(require("./SubscriptionStatus.enum"), exports);
19
20
  __exportStar(require("./BaseSubscription.entity"), exports);
20
21
  __exportStar(require("./SubscriptionWithTransactions.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,4DAA0C;AAC1C,wEAAsD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gEAA8C;AAC9C,4DAA0C;AAC1C,4DAA0C;AAC1C,wEAAsD"}
@@ -7,7 +7,7 @@ import { PaymentRequestType } from '../../payment-request';
7
7
  import { StreamEvent } from '../../stream-event';
8
8
  import { IntervalType } from '../../../constants';
9
9
  import { Funding } from '../../funding';
10
- import type { Subscription } from '../../subscription';
10
+ import type { DetailedSubscription } from '../../subscription';
11
11
  export declare class TransactionDetails extends Entity {
12
12
  startedAt?: StreamEvent;
13
13
  canceledAt?: StreamEvent | null;
@@ -31,5 +31,5 @@ export declare class TransactionDetails extends Entity {
31
31
  affiliateAmount?: bigint;
32
32
  intervalUnit?: IntervalType;
33
33
  active?: boolean;
34
- subscription?: Subscription;
34
+ subscription?: DetailedSubscription;
35
35
  }