ia-common 1.0.1-beta.76 → 1.0.1-beta.77

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.
@@ -14,8 +14,8 @@ export declare class PricingPlanEntityModel implements IPricingPlanEntity {
14
14
  constructor(data: IPricingPlanEntity);
15
15
  toObject(): IGetPricingPlanByDateResponse;
16
16
  static getBillingCycleString(billingCycle: IBillingCycle): string;
17
- validateNoOfMonthsByBillingCycle(billingCycle: IBillingCycle): void;
18
- validateBillingCycleIndexByBillingCycle(billingCycle: IBillingCycle): void;
17
+ static validateNoOfMonthsByBillingCycle(billingCycle: IBillingCycle): void;
18
+ static validateBillingCycleIndexByBillingCycle(billingCycle: IBillingCycle): void;
19
19
  }
20
20
  export declare class BillingCycleModel {
21
21
  code: string;
@@ -37,7 +37,7 @@ var PricingPlanEntityModel = /** @class */ (function () {
37
37
  });
38
38
  return billingCycles.join(",");
39
39
  };
40
- PricingPlanEntityModel.prototype.validateNoOfMonthsByBillingCycle = function (billingCycle) {
40
+ PricingPlanEntityModel.validateNoOfMonthsByBillingCycle = function (billingCycle) {
41
41
  var billingCycleKeys = Object.keys(billingCycle);
42
42
  var previousMonthCount = 0;
43
43
  for (var _i = 0, billingCycleKeys_1 = billingCycleKeys; _i < billingCycleKeys_1.length; _i++) {
@@ -55,7 +55,7 @@ var PricingPlanEntityModel = /** @class */ (function () {
55
55
  previousMonthCount = currentMonthCount;
56
56
  }
57
57
  };
58
- PricingPlanEntityModel.prototype.validateBillingCycleIndexByBillingCycle = function (billingCycle) {
58
+ PricingPlanEntityModel.validateBillingCycleIndexByBillingCycle = function (billingCycle) {
59
59
  var billingCycleKeys = Object.keys(billingCycle);
60
60
  for (var i = 0; i < billingCycleKeys.length; i++) {
61
61
  var billingCycleIndex = Number(billingCycleKeys[i]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-common",
3
- "version": "1.0.1-beta.76",
3
+ "version": "1.0.1-beta.77",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",