@mitumba/sdk 2.1.0 → 3.0.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/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1735,7 +1735,11 @@ var ReviewsModule = class {
|
|
|
1735
1735
|
);
|
|
1736
1736
|
}
|
|
1737
1737
|
/**
|
|
1738
|
-
* Create a review for a store (authenticated).
|
|
1738
|
+
* Create a review for a store (authenticated). `input.order_id` is required.
|
|
1739
|
+
*
|
|
1740
|
+
* @throws {APIError} `review_not_allowed` when the order is not the caller's delivered/completed
|
|
1741
|
+
* purchase from this store, and `already_reviewed` when the order already has a review (one
|
|
1742
|
+
* review per order, enforced atomically server-side).
|
|
1739
1743
|
*/
|
|
1740
1744
|
async create(storeId, input, options) {
|
|
1741
1745
|
return this.client.post(`/listings/stores/${storeId}/reviews`, input, options);
|