arky-sdk 0.9.19 → 0.9.20

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.
@@ -3914,11 +3914,7 @@ interface GetFormSubmissionsParams {
3914
3914
  }
3915
3915
  interface FindActionsParams {
3916
3916
  store_id?: string;
3917
- query?: string | number;
3918
3917
  contact_id?: string;
3919
- types?: string[];
3920
- from?: number;
3921
- to?: number;
3922
3918
  limit?: number;
3923
3919
  cursor?: string;
3924
3920
  }
@@ -3914,11 +3914,7 @@ interface GetFormSubmissionsParams {
3914
3914
  }
3915
3915
  interface FindActionsParams {
3916
3916
  store_id?: string;
3917
- query?: string | number;
3918
3917
  contact_id?: string;
3919
- types?: string[];
3920
- from?: number;
3921
- to?: number;
3922
3918
  limit?: number;
3923
3919
  cursor?: string;
3924
3920
  }
package/dist/index.cjs CHANGED
@@ -2034,11 +2034,7 @@ var createActionAdminApi = (apiConfig) => ({
2034
2034
  async find(params, options) {
2035
2035
  const store_id = params.store_id || apiConfig.storeId;
2036
2036
  const queryParams = {};
2037
- if (params.query) queryParams.query = params.query;
2038
2037
  if (params.contact_id) queryParams.contact_id = params.contact_id;
2039
- if (params.types && params.types.length > 0) queryParams.types = params.types;
2040
- if (params.from !== void 0) queryParams.from = params.from;
2041
- if (params.to !== void 0) queryParams.to = params.to;
2042
2038
  if (params.limit !== void 0) queryParams.limit = params.limit;
2043
2039
  if (params.cursor) queryParams.cursor = params.cursor;
2044
2040
  return apiConfig.httpClient.get(
@@ -2084,16 +2080,6 @@ var createContactApi = (apiConfig) => {
2084
2080
  }
2085
2081
  );
2086
2082
  },
2087
- async findActions(params, options) {
2088
- const { store_id, ...queryParams } = params || {};
2089
- return apiConfig.httpClient.get(
2090
- `/v1/stores/${store_id || apiConfig.storeId}/actions`,
2091
- {
2092
- ...options,
2093
- params: Object.keys(queryParams).length > 0 ? queryParams : void 0
2094
- }
2095
- );
2096
- },
2097
2083
  async update(params, options) {
2098
2084
  const { id, store_id, ...body } = params;
2099
2085
  return apiConfig.httpClient.put(
@@ -4130,7 +4116,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
4130
4116
  }
4131
4117
 
4132
4118
  // src/index.ts
4133
- var SDK_VERSION = "0.9.19";
4119
+ var SDK_VERSION = "0.9.20";
4134
4120
  var SUPPORTED_FRAMEWORKS = [
4135
4121
  "astro",
4136
4122
  "react",