turf-common 1.0.18 → 1.0.19-beta.2

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.
@@ -1,3 +1,8 @@
1
1
  import { IBankDetailsEntity } from "../../@type";
2
- export interface IGetBankDetailByIdResponse extends IBankDetailsEntity {
2
+ type Modify<T, R> = Omit<T, keyof R> & R;
3
+ export interface IGetBankDetailByIdResponse extends Modify<IBankDetailsEntity, {
4
+ createdOn: string;
5
+ updatedOn: string;
6
+ }> {
3
7
  }
8
+ export {};
@@ -16,5 +16,7 @@ export interface ISubscriptionEntity extends IEntityAuditColumn {
16
16
  registrationId: number;
17
17
  pricingPlanId: number;
18
18
  previousSubscriptionIds: string | null;
19
+ fromDateCode: string;
20
+ toDateCode: string;
19
21
  }
20
22
  export type ISubscriptionModel = ISubscriptionEntity;
@@ -20,6 +20,8 @@ export declare class SubscriptionModel implements ISubscriptionModel {
20
20
  updatedOn: Date;
21
21
  createdBy: number;
22
22
  updatedBy: number;
23
+ fromDateCode: string;
24
+ toDateCode: string;
23
25
  constructor(data: ISubscriptionEntity);
24
26
  remainingSubscriptionDays(): number;
25
27
  static updateStatus(subscriptionEntities: ISubscriptionEntity[], status: SubscriptionStatus, userId: number): ISubscriptionEntity[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18",
3
+ "version": "1.0.19-beta.2",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",