@iveri/contracts 0.113.0 → 0.115.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.
|
@@ -63,3 +63,11 @@ export interface CreateClinicAppointmentRequest {
|
|
|
63
63
|
export interface ChangeClinicAppointmentStatusRequest {
|
|
64
64
|
status: ClinicAppointmentStatus;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Another time, and perhaps another specialist, for a visit the desk is moving. The same visit stays: its consent, its
|
|
68
|
+
* answers, anything paid and the price agreed.
|
|
69
|
+
*/
|
|
70
|
+
export interface RescheduleClinicAppointmentRequest {
|
|
71
|
+
startsAt: IsoDateTime;
|
|
72
|
+
staffMemberId: UUID;
|
|
73
|
+
}
|
|
@@ -150,6 +150,8 @@ export declare enum UserPermission {
|
|
|
150
150
|
COMMERCE_ORDER_READ = "commerce:order:read",
|
|
151
151
|
/** Place an order on a shopper's behalf. Does not permit any catalog change. */
|
|
152
152
|
COMMERCE_ORDER_CREATE = "commerce:order:create",
|
|
153
|
+
/** Read and change the products a shopper saved, scoped to that shopper by the caller. */
|
|
154
|
+
COMMERCE_SAVED_MANAGE = "commerce:saved:manage",
|
|
153
155
|
/** Read tenant message and provider-neutral delivery records. */
|
|
154
156
|
MESSAGING_MESSAGE_READ = "messaging:message:read",
|
|
155
157
|
/** Submit a paid customer message for delivery. */
|
|
@@ -182,6 +182,13 @@ export var UserPermission;
|
|
|
182
182
|
UserPermission["COMMERCE_ORDER_READ"] = "commerce:order:read";
|
|
183
183
|
/** Place an order on a shopper's behalf. Does not permit any catalog change. */
|
|
184
184
|
UserPermission["COMMERCE_ORDER_CREATE"] = "commerce:order:create";
|
|
185
|
+
// ── Shopper saved products ──────────────────────────────────────────────
|
|
186
|
+
//
|
|
187
|
+
// Its own grant rather than another use of `commerce:order:*`: a saved list is not an order, and
|
|
188
|
+
// that pair was kept narrow on purpose. Only the shopfront's key needs it. **No merchant route
|
|
189
|
+
// reads it**: which shopper saved what is the shopper's, not a marketing list.
|
|
190
|
+
/** Read and change the products a shopper saved, scoped to that shopper by the caller. */
|
|
191
|
+
UserPermission["COMMERCE_SAVED_MANAGE"] = "commerce:saved:manage";
|
|
185
192
|
// ══ iveri-messaging-api ═════════════════════════════════════════════════
|
|
186
193
|
/** Read tenant message and provider-neutral delivery records. */
|
|
187
194
|
UserPermission["MESSAGING_MESSAGE_READ"] = "messaging:message:read";
|