gap-nodejs-sdk 1.0.824 → 1.0.825

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.
@@ -188,7 +188,7 @@ function MembershipModel(data) {
188
188
  plan_name: (_m = data === null || data === void 0 ? void 0 : data.plan_name) !== null && _m !== void 0 ? _m : null,
189
189
  plan_image_base_url: (_o = data === null || data === void 0 ? void 0 : data.plan_image_base_url) !== null && _o !== void 0 ? _o : null,
190
190
  plan_image_path: (_p = data === null || data === void 0 ? void 0 : data.plan_image_path) !== null && _p !== void 0 ? _p : null,
191
- benefits: (data === null || data === void 0 ? void 0 : data.items) ? data === null || data === void 0 ? void 0 : data.items.map(item => BenefitModel(item)) : null,
191
+ benefits: (data === null || data === void 0 ? void 0 : data.benefits) ? data === null || data === void 0 ? void 0 : data.benefits.map(item => BenefitModel(item)) : null,
192
192
  };
193
193
  }
194
194
  function CustomerModel(data) {
@@ -239,7 +239,7 @@ function CustomerModel(data) {
239
239
  consent_appointment_update: (_18 = data === null || data === void 0 ? void 0 : data.consent_appointment_update) !== null && _18 !== void 0 ? _18 : null,
240
240
  consent_promotion_sms: (_19 = data === null || data === void 0 ? void 0 : data.consent_promotion_sms) !== null && _19 !== void 0 ? _19 : null,
241
241
  lifetime_cashback: (_20 = data === null || data === void 0 ? void 0 : data.lifetime_cashback) !== null && _20 !== void 0 ? _20 : null,
242
- membership: (data === null || data === void 0 ? void 0 : data.items) ? data === null || data === void 0 ? void 0 : data.items.map(item => MembershipModel(item)) : null,
242
+ membership: (data === null || data === void 0 ? void 0 : data.membership) ? data === null || data === void 0 ? void 0 : data.membership.map(item => MembershipModel(item)) : null,
243
243
  };
244
244
  }
245
245
  function OrderModel(data) {