@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.
- package/dist/ge-commercetools-utils-browser.cjs.js +1 -1
- package/dist/ge-commercetools-utils-browser.cjs.js.map +1 -1
- package/dist/ge-commercetools-utils-browser.esm.js +1 -1
- package/dist/ge-commercetools-utils-browser.esm.js.map +1 -1
- package/dist/ge-commercetools-utils-node.cjs.js +1 -1
- package/dist/ge-commercetools-utils-node.cjs.js.map +1 -1
- package/dist/ge-commercetools-utils-node.esm.js +1 -1
- package/dist/typings/api/CommercetoolsApi.d.ts +5 -2
- package/package.json +1 -1
|
@@ -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.
|
|
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",
|