arky-sdk 0.3.37 → 0.3.39

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
@@ -312,13 +312,6 @@ var createBusinessApi = (apiConfig) => {
312
312
  params: { immediately: params.immediately || false }
313
313
  });
314
314
  },
315
- async reactivateSubscription(params, options) {
316
- return apiConfig.httpClient.post(
317
- `/v1/businesses/${apiConfig.businessId}/subscription/reactivate`,
318
- params,
319
- options
320
- );
321
- },
322
315
  async createPortalSession(params, options) {
323
316
  return apiConfig.httpClient.post(
324
317
  `/v1/businesses/${apiConfig.businessId}/subscription/portal`,
@@ -850,9 +843,8 @@ var createCmsApi = (apiConfig) => {
850
843
  return apiConfig.httpClient.post(
851
844
  `/v1/businesses/${apiConfig.businessId}/collections/${params.collectionId}/subscribe`,
852
845
  {
853
- email: params.email,
854
846
  market: apiConfig.market,
855
- planId: params.planId
847
+ ...params
856
848
  },
857
849
  options
858
850
  );
@@ -1406,7 +1398,7 @@ function createPaymentForCheckout(subtotalMinor, marketId, currency, paymentMeth
1406
1398
  tax,
1407
1399
  total,
1408
1400
  promoCodeId,
1409
- method: paymentMethod
1401
+ type: paymentMethod
1410
1402
  };
1411
1403
  }
1412
1404