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/admin.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-DlDViCdY.cjs';
1
+ export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-DCe3PEOB.cjs';
2
2
  import './types.cjs';
3
3
  import './index-C5gikdBg.cjs';
package/dist/admin.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-id0wkGff.js';
1
+ export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-CEVBErl_.js';
2
2
  import './types.js';
3
3
  import './index-MFMjlIfS.js';
package/dist/admin.js CHANGED
@@ -1889,6 +1889,13 @@ var createAnalyticsApi = (apiConfig) => {
1889
1889
  spec,
1890
1890
  options
1891
1891
  );
1892
+ },
1893
+ async activityFeed(query = {}, options) {
1894
+ const store_id = options?.store_id || apiConfig.storeId;
1895
+ return apiConfig.httpClient.get(
1896
+ `/v1/stores/${store_id}/analytics/activity-feed`,
1897
+ { ...options, params: query }
1898
+ );
1892
1899
  }
1893
1900
  };
1894
1901
  };
@@ -2426,7 +2433,8 @@ function createAdmin(config) {
2426
2433
  }
2427
2434
  },
2428
2435
  analytics: {
2429
- query: analyticsApi.query
2436
+ query: analyticsApi.query,
2437
+ activityFeed: analyticsApi.activityFeed
2430
2438
  },
2431
2439
  setStoreId: (storeId) => {
2432
2440
  apiConfig.storeId = storeId;