turf-common 1.4.1-beta.5 → 1.4.1-beta.6

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.
@@ -41,4 +41,5 @@ export interface GetPricingPlanByDateResponseV2 {
41
41
  key: string;
42
42
  };
43
43
  };
44
+ billing_cost_code: string;
44
45
  }
@@ -170,7 +170,7 @@ var PricingPlanEntityModelV2 = /** @class */ (function () {
170
170
  }, {});
171
171
  };
172
172
  PricingPlanEntityModelV2.prototype.toObject = function () {
173
- var _a;
173
+ var _a, _b;
174
174
  var responseObj = {
175
175
  id: this.id,
176
176
  effective_from_date: 0,
@@ -179,8 +179,9 @@ var PricingPlanEntityModelV2 = /** @class */ (function () {
179
179
  unit: "per_hour_per_pitch",
180
180
  pitch_slab: {},
181
181
  billing_cycle: {},
182
+ billing_cost_code: (_a = this.billingCostCode) !== null && _a !== void 0 ? _a : ''
182
183
  };
183
- var billingCycle = (_a = this.subscriptionCycle) === null || _a === void 0 ? void 0 : _a.split(",");
184
+ var billingCycle = (_b = this.subscriptionCycle) === null || _b === void 0 ? void 0 : _b.split(",");
184
185
  billingCycle === null || billingCycle === void 0 ? void 0 : billingCycle.forEach(function (billing, index) {
185
186
  var billingArray = billing.split("_");
186
187
  responseObj.billing_cycle[index] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.4.1-beta.5",
3
+ "version": "1.4.1-beta.6",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",