arky-sdk 0.3.49 → 0.3.50

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
@@ -265,6 +265,9 @@ var createUserApi = (apiConfig) => {
265
265
  },
266
266
  async resetPassword(params, options) {
267
267
  return apiConfig.httpClient.post("/v1/users/reset-password", params, options);
268
+ },
269
+ async subscribe(params, options) {
270
+ return apiConfig.httpClient.post("/v1/users/subscribe", params, options);
268
271
  }
269
272
  };
270
273
  };
@@ -849,13 +852,6 @@ var createCmsApi = (apiConfig) => {
849
852
  `/v1/businesses/${apiConfig.businessId}/collections/${formattedId}/subscribers`,
850
853
  options
851
854
  );
852
- },
853
- async subscribeToCollection(params, options) {
854
- return apiConfig.httpClient.put(
855
- `/v1/businesses/${apiConfig.businessId}/collections/${params.collectionId}/subscribe`,
856
- params,
857
- options
858
- );
859
855
  }
860
856
  };
861
857
  };