ia-common 1.1.1-beta.6 → 1.1.1-beta.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.
@@ -7,7 +7,6 @@ export interface ILoginResponse {
7
7
  status: string;
8
8
  requireNewPassword: boolean;
9
9
  userId: number;
10
- role: string;
11
10
  email: string | null;
12
11
  imageUrl: string | null;
13
12
  userPermissions: string[];
@@ -1,7 +1,7 @@
1
1
  import { IEntityCreateDto, IPricingPlanEntity, Modify } from "../../@type";
2
2
  export interface ICreatePricingPlanRequest {
3
- effectiveFromDate: number;
4
- effectiveToDate?: number;
3
+ effectiveFrom: number;
4
+ effectiveTo?: number;
5
5
  basePrice: number;
6
6
  billingCycle: IBillingCycle;
7
7
  }
@@ -1,8 +1,8 @@
1
1
  import { EntityEnum, EnumEntityType, IEntityUpdateDto, IPricingPlanEntity, Modify } from "../../@type";
2
2
  import { IBillingCycle } from "./pricing-plan-create.dto.interface";
3
3
  export interface IUpdatePricingPlanRequest {
4
- effectiveFromDate?: number;
5
- effectiveToDate?: number;
4
+ effectiveFrom?: number;
5
+ effectiveTo?: number;
6
6
  basePrice?: number;
7
7
  billingCycle?: IBillingCycle;
8
8
  }
@@ -6,8 +6,8 @@ export interface IUpdatePricingPlanByIdResponse extends Modify<IPricingPlanEntit
6
6
  }> {
7
7
  }
8
8
  export interface IUpdatePricingPlanByIdRequest {
9
- effectiveFromDate?: number;
10
- effectiveToDate?: number;
9
+ effectiveFrom?: number;
10
+ effectiveTo?: number;
11
11
  basePrice?: number;
12
12
  billingCycle?: IBillingCycleDto;
13
13
  }
@@ -75,8 +75,8 @@ class PricingPlanModel extends base_entity_model_1.BaseEntityModel {
75
75
  exports.PricingPlanModel = PricingPlanModel;
76
76
  // export class PricingPlanModel implements IPricingPlanModel {
77
77
  // id: number;
78
- // effectiveFromDate: number;
79
- // effectiveToDate: number;
78
+ // effectiveFrom: number;
79
+ // effectiveTo: number;
80
80
  // basePrice: number;
81
81
  // billingCycle: {
82
82
  // [key: string]: IBillingCycleObj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-common",
3
- "version": "1.1.1-beta.6",
3
+ "version": "1.1.1-beta.7",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",