@shipengine/alchemy 5.0.16 → 5.0.17
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/index.js +6 -0
- package/index.mjs +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16485,6 +16485,12 @@ class ShippingRulesAPI {
|
|
|
16485
16485
|
shippingRule
|
|
16486
16486
|
);
|
|
16487
16487
|
};
|
|
16488
|
+
/**
|
|
16489
|
+
* The `getConditionOptions` method retrieves the list of condition options availables for creating shipping rules.
|
|
16490
|
+
*/
|
|
16491
|
+
this.getConditionOptions = () => {
|
|
16492
|
+
return this.client.get(`/v1/shipping_rules/rule_conditions_options`);
|
|
16493
|
+
};
|
|
16488
16494
|
this.client = client;
|
|
16489
16495
|
}
|
|
16490
16496
|
}
|
package/index.mjs
CHANGED
|
@@ -16463,6 +16463,12 @@ class ShippingRulesAPI {
|
|
|
16463
16463
|
shippingRule
|
|
16464
16464
|
);
|
|
16465
16465
|
};
|
|
16466
|
+
/**
|
|
16467
|
+
* The `getConditionOptions` method retrieves the list of condition options availables for creating shipping rules.
|
|
16468
|
+
*/
|
|
16469
|
+
this.getConditionOptions = () => {
|
|
16470
|
+
return this.client.get(`/v1/shipping_rules/rule_conditions_options`);
|
|
16471
|
+
};
|
|
16466
16472
|
this.client = client;
|
|
16467
16473
|
}
|
|
16468
16474
|
}
|