@vindentech/api-client 1.1.0-next.3 → 1.1.0-next.4
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.
|
@@ -101,7 +101,7 @@ export type cartsControllerHoldV1ResponseSuccess = (cartsControllerHoldV1Respons
|
|
|
101
101
|
export type cartsControllerHoldV1Response = (cartsControllerHoldV1ResponseSuccess);
|
|
102
102
|
export declare const getCartsControllerHoldV1Url: (id: string) => string;
|
|
103
103
|
/**
|
|
104
|
-
* 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session. Authenticated callers require: cart:write.
|
|
104
|
+
* A hold replaces the cart's hold for the same leg in the same call, so picking another time needs no release first: on a pickup or delivery cart every keyless, `move:pickup` or `move:delivery` hold is released, on a move cart the hold with the same `componentKey`. A move cart holds at most two keyless timeslots; a third is 409 `hold_limit_reached`, and one of the two has to be released first. A second `material:delivery` hold is still 409 `component_key_hold_exists`. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session. Authenticated callers require: cart:write.
|
|
105
105
|
* @summary Hold capacity in a timeslot (HELD reservation with TTL); bumps the cart revision
|
|
106
106
|
*/
|
|
107
107
|
export declare const cartsControllerHoldV1: (id: string, holdTimeslotDto: HoldTimeslotDto, options?: Parameters<typeof customFetch>[1]) => Promise<cartsControllerHoldV1Response>;
|
|
@@ -121,7 +121,7 @@ export const getCartsControllerHoldV1Url = (id) => {
|
|
|
121
121
|
return `/v1/carts/${id}/hold`;
|
|
122
122
|
};
|
|
123
123
|
/**
|
|
124
|
-
* 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session. Authenticated callers require: cart:write.
|
|
124
|
+
* A hold replaces the cart's hold for the same leg in the same call, so picking another time needs no release first: on a pickup or delivery cart every keyless, `move:pickup` or `move:delivery` hold is released, on a move cart the hold with the same `componentKey`. A move cart holds at most two keyless timeslots; a third is 409 `hold_limit_reached`, and one of the two has to be released first. A second `material:delivery` hold is still 409 `component_key_hold_exists`. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session. Authenticated callers require: cart:write.
|
|
125
125
|
* @summary Hold capacity in a timeslot (HELD reservation with TTL); bumps the cart revision
|
|
126
126
|
*/
|
|
127
127
|
export const cartsControllerHoldV1 = async (id, holdTimeslotDto, options) => {
|