arky-sdk 0.7.133 → 0.8.0

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 CHANGED
@@ -2543,6 +2543,13 @@ var createAnalyticsApi = (apiConfig) => {
2543
2543
  spec,
2544
2544
  options
2545
2545
  );
2546
+ },
2547
+ async activityFeed(query = {}, options) {
2548
+ const store_id = options?.store_id || apiConfig.storeId;
2549
+ return apiConfig.httpClient.get(
2550
+ `/v1/stores/${store_id}/analytics/activity-feed`,
2551
+ { ...options, params: query }
2552
+ );
2546
2553
  }
2547
2554
  };
2548
2555
  };
@@ -3088,7 +3095,8 @@ function createAdmin(config) {
3088
3095
  }
3089
3096
  },
3090
3097
  analytics: {
3091
- query: analyticsApi.query
3098
+ query: analyticsApi.query,
3099
+ activityFeed: analyticsApi.activityFeed
3092
3100
  },
3093
3101
  setStoreId: (storeId) => {
3094
3102
  apiConfig.storeId = storeId;