@iveri/contracts 0.132.0 → 0.133.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/README.md
CHANGED
|
@@ -308,6 +308,8 @@ Conduit's outbox.
|
|
|
308
308
|
- Version `0.131.0` adds `mobility:dispatch:create-any`, `mobility:dispatch:read-any`, `mobility:dispatch:operate-any`,
|
|
309
309
|
`mobility:worker:read-any` and `mobility:worker:rating:submit-any`, so taxi's and delivery's operator-workspace keys
|
|
310
310
|
dispatch, observe, release and rate in the company a request names.
|
|
311
|
+
- Version `0.133.0` adds `GymMyProfile.bookingPausedUntil`, `GymMember.bookingPausedUntil` and
|
|
312
|
+
`PublicGym.waitlistCutoffMinutes`, so a member is told before trying that no-shows have paused their booking.
|
|
311
313
|
- Version `0.132.0` adds `HrRefusal.WITHDRAWN` (`withdrawn`): a decision refused because the claim, letter or time off
|
|
312
314
|
was taken back before anybody decided it, so a client can tell that apart from `already-decided`.
|
|
313
315
|
- Version `0.130.0` adds `profile:read-any`, so a product's operator-workspace key reads the public profile
|
|
@@ -30,6 +30,11 @@ export interface GymMyProfile {
|
|
|
30
30
|
isWaiverSigned: boolean;
|
|
31
31
|
/** What still has to be signed, or null when nothing does. */
|
|
32
32
|
waiverToSign: Nullable<GymWaiver>;
|
|
33
|
+
/**
|
|
34
|
+
* Until when booking a class or joining a waitlist is paused after repeated no-shows, or null when it is not.
|
|
35
|
+
* The same rule refuses a booking with `no-show-blocked`; the desk can still book them.
|
|
36
|
+
*/
|
|
37
|
+
bookingPausedUntil: Nullable<IsoDateTime>;
|
|
33
38
|
}
|
|
34
39
|
export interface JoinGymRequest {
|
|
35
40
|
firstName: string;
|
|
@@ -35,6 +35,8 @@ export interface GymMember extends GymMemberSummary {
|
|
|
35
35
|
isEmailConfirmed: boolean;
|
|
36
36
|
isWaiverSigned: boolean;
|
|
37
37
|
status: GymResourceStatus;
|
|
38
|
+
/** Until when they cannot book for themselves after repeated no-shows, or null. The desk is not held to it. */
|
|
39
|
+
bookingPausedUntil: Nullable<IsoDateTime>;
|
|
38
40
|
updatedAt: IsoDateTime;
|
|
39
41
|
}
|
|
40
42
|
export interface CreateGymMemberRequest {
|
|
@@ -29,6 +29,8 @@ export interface PublicGym {
|
|
|
29
29
|
currency: string;
|
|
30
30
|
bookingHorizonDays: number;
|
|
31
31
|
cancelCutoffMinutes: number;
|
|
32
|
+
/** Within this many minutes of a class starting, a full class takes nobody onto its waitlist. */
|
|
33
|
+
waitlistCutoffMinutes: number;
|
|
32
34
|
}
|
|
33
35
|
export interface PublicGymBranch {
|
|
34
36
|
id: UUID;
|