arky-sdk 0.7.134 → 0.9.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-CfHen7c5.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-ru7pX5bd.js';
2
2
  import './types.js';
3
3
  import './index-MFMjlIfS.js';
package/dist/admin.js CHANGED
@@ -1882,11 +1882,11 @@ var createTaxonomyApi = (apiConfig) => {
1882
1882
  // src/api/analytics.ts
1883
1883
  var createAnalyticsApi = (apiConfig) => {
1884
1884
  return {
1885
- async query(spec, options) {
1885
+ async get(request, options) {
1886
1886
  const store_id = options?.store_id || apiConfig.storeId;
1887
1887
  return apiConfig.httpClient.post(
1888
- `/v1/stores/${store_id}/analytics/query`,
1889
- spec,
1888
+ `/v1/stores/${store_id}/analytics`,
1889
+ request,
1890
1890
  options
1891
1891
  );
1892
1892
  }
@@ -2425,9 +2425,7 @@ function createAdmin(config) {
2425
2425
  getExecution: workflowApi.getWorkflowExecution
2426
2426
  }
2427
2427
  },
2428
- analytics: {
2429
- query: analyticsApi.query
2430
- },
2428
+ analytics: analyticsApi,
2431
2429
  setStoreId: (storeId) => {
2432
2430
  apiConfig.storeId = storeId;
2433
2431
  },