@gradientedge/commercetools-utils 5.5.1 → 5.6.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.
@@ -399,15 +399,18 @@ export declare class CommercetoolsApi {
399
399
  key: string;
400
400
  }): Promise<ShippingMethod>;
401
401
  getShippingMethodsForLocation(options: CommonRequestOptions & {
402
- accessToken?: string;
403
402
  country: string;
404
403
  state?: string;
405
404
  currency?: string;
406
405
  }): Promise<ShippingMethodPagedQueryResponse>;
407
406
  getShippingMethodsForCart(options: CommonStoreEnabledRequestOptions & {
408
- accessToken?: string;
409
407
  cartId: string;
410
408
  }): Promise<ShippingMethodPagedQueryResponse>;
409
+ getShippingMethodsForCartAndLocation(options: CommonStoreEnabledRequestOptions & {
410
+ cartId: string;
411
+ country: string;
412
+ state?: string;
413
+ }): Promise<ShippingMethodPagedQueryResponse>;
411
414
  queryShippingMethods(options?: CommonRequestOptions): Promise<ShippingMethodPagedQueryResponse>;
412
415
  getCustomerGroupById(options: CommonRequestOptions & {
413
416
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/commercetools-utils",
3
- "version": "5.5.1",
3
+ "version": "5.6.0",
4
4
  "description": "Provide utility classes and functions for interacting with the commercetools API",
5
5
  "main": "./dist/ge-commercetools-utils-node.cjs.js",
6
6
  "module": "./dist/ge-commercetools-utils-node.esm.js",