gap-nodejs-sdk 1.0.774 → 1.0.775

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.
@@ -95,12 +95,13 @@ export default class Customer extends Base {
95
95
  });
96
96
  }
97
97
  static getCustomerScoringAI(query) {
98
+ var _a;
98
99
  return __awaiter(this, void 0, void 0, function* () {
99
100
  const response = yield this.client.get({
100
101
  path: customer.GET_LIST_AI_HISTORY,
101
102
  query: query
102
103
  });
103
- return DataWithMetaModel(response, Model.AIScoringDataModel);
104
+ return ((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || [];
104
105
  });
105
106
  }
106
107
  }