@connect-plus-online/ogabai-integrations 0.0.57 → 0.0.59

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.
package/dist/index.cjs.js CHANGED
@@ -192,8 +192,8 @@ var userSchema = {
192
192
  `,
193
193
  // mobile dashboard stats
194
194
  getUserDashStats: (query) => `
195
- query getUserDashStats {
196
- getUserDashStats {
195
+ query getUserDashStats($storeId: String!) {
196
+ getUserDashStats(storeId: $storeId) {
197
197
  ${query}
198
198
  }
199
199
  }
@@ -562,7 +562,7 @@ var createUserService = (client) => ({
562
562
  return (_c = res.data) == null ? void 0 : _c.getMonthlyUserStatsByYear;
563
563
  },
564
564
  // user dashboard stats
565
- async getUserDashStats(fetchFields, option) {
565
+ async getUserDashStats(input, fetchFields, option) {
566
566
  var _a, _b, _c;
567
567
  const res = await client.request(
568
568
  user_schema_default.getUserDashStats(
@@ -571,7 +571,7 @@ var createUserService = (client) => ({
571
571
  (_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getUserDashStatsResponseNestedFields
572
572
  )
573
573
  ),
574
- {},
574
+ input,
575
575
  option
576
576
  );
577
577
  return (_c = res.data) == null ? void 0 : _c.getUserDashStats;