@composable-os/pack-bookings 0.1.0-beta.11 → 0.1.0-beta.14

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.ts CHANGED
@@ -8,8 +8,8 @@ declare const _default: import("@composable-os/sdk").Extension<{
8
8
  readonly permissions: {
9
9
  readonly read: ["person", "programs.classtype"];
10
10
  readonly write: ["person"];
11
- readonly operations: ["order.startHeld", "public.list", "public.get", "capacity.get", "duplicate.check", "waitlist.position", "me.family"];
12
- readonly modules: ["ops"];
11
+ readonly operations: ["order.startHeld", "public.list", "public.get", "capacity.get", "duplicate.check", "waitlist.position", "me.family", "person.link.list", "order.get", "extensionSettings.list", "notification.send", "agreement.listHealthNotes", "staffing.free", "staffing.week"];
12
+ readonly modules: ["ops", "routine-mail", "email-send", "storage"];
13
13
  };
14
14
  readonly fields: {
15
15
  readonly "programs.classtype": {
@@ -55,13 +55,13 @@ declare const _default: import("@composable-os/sdk").Extension<{
55
55
  personApproves: boolean;
56
56
  };
57
57
  readonly reminderMinutes: {
58
- type: "number";
59
- label: string;
60
- description: string;
61
- min: number;
62
- max: number;
63
- step: number;
64
- personApproves: boolean;
58
+ readonly max: 2880;
59
+ readonly type: "number";
60
+ readonly label: string;
61
+ readonly description: string;
62
+ readonly min: number;
63
+ readonly step: number;
64
+ readonly personApproves: boolean;
65
65
  };
66
66
  readonly dropInPrice: {
67
67
  readonly type: "number";
@@ -78,6 +78,24 @@ declare const _default: import("@composable-os/sdk").Extension<{
78
78
  readonly description: "Members cannot book its classes themselves; staff book them in.";
79
79
  readonly personApproves: true;
80
80
  };
81
+ readonly rosterBeforeMinutes: {
82
+ readonly type: "number";
83
+ readonly label: "Set-up minutes (pay)";
84
+ readonly description: string;
85
+ readonly min: 0;
86
+ readonly max: 240;
87
+ readonly step: 1;
88
+ readonly personApproves: true;
89
+ };
90
+ readonly rosterAfterMinutes: {
91
+ readonly type: "number";
92
+ readonly label: "Pack-down minutes (pay)";
93
+ readonly description: string;
94
+ readonly min: 0;
95
+ readonly max: 240;
96
+ readonly step: 1;
97
+ readonly personApproves: true;
98
+ };
81
99
  };
82
100
  };
83
101
  readonly objects: {
@@ -101,6 +119,12 @@ declare const _default: import("@composable-os/sdk").Extension<{
101
119
  readonly min: 0;
102
120
  readonly step: 1;
103
121
  };
122
+ readonly exclusive: {
123
+ readonly type: "boolean";
124
+ readonly label: "One booking at a time";
125
+ readonly description: string;
126
+ readonly default: false;
127
+ };
104
128
  readonly notes: {
105
129
  readonly type: "longText";
106
130
  readonly label: "Notes";
@@ -142,6 +166,9 @@ declare const _default: import("@composable-os/sdk").Extension<{
142
166
  readonly default: true;
143
167
  };
144
168
  };
169
+ readonly unique: readonly [{
170
+ readonly fields: readonly ["user"];
171
+ }];
145
172
  readonly public: {
146
173
  readonly read: readonly ["name", "photo", "bio"];
147
174
  };
@@ -200,6 +227,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
200
227
  readonly type: "relation";
201
228
  readonly label: "Coach";
202
229
  readonly to: "bookings.coach";
230
+ readonly personApproves: true;
203
231
  };
204
232
  readonly places: {
205
233
  readonly type: "number";
@@ -340,6 +368,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
340
368
  readonly type: "relation";
341
369
  readonly label: "Coach";
342
370
  readonly to: "bookings.coach";
371
+ readonly personApproves: true;
343
372
  };
344
373
  readonly places: {
345
374
  readonly type: "number";
@@ -371,7 +400,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
371
400
  readonly type: "boolean";
372
401
  readonly label: "Changed from its series";
373
402
  readonly readOnly: true;
374
- readonly description: "Edited by hand: its series no longer changes it.";
403
+ readonly description: string;
375
404
  };
376
405
  readonly cancelledReason: {
377
406
  readonly type: "longText";
@@ -409,8 +438,43 @@ declare const _default: import("@composable-os/sdk").Extension<{
409
438
  readonly places: "places";
410
439
  readonly show: "exact";
411
440
  };
441
+ readonly staffed: {
442
+ readonly who: {
443
+ readonly field: "coach";
444
+ readonly account: "user";
445
+ };
446
+ readonly starts: "startsAt";
447
+ readonly ends: "endsAt";
448
+ readonly zone: "timezone";
449
+ readonly kind: "classType";
450
+ readonly live: readonly ["scheduled", "done"];
451
+ readonly place: "room.name";
452
+ readonly pattern: {
453
+ readonly link: "series";
454
+ readonly who: "coach";
455
+ };
456
+ readonly payBefore: {
457
+ readonly field: "classType.rosterBeforeMinutes";
458
+ };
459
+ readonly payAfter: {
460
+ readonly field: "classType.rosterAfterMinutes";
461
+ };
462
+ readonly evidence: {
463
+ readonly object: "booking";
464
+ readonly link: "class";
465
+ readonly by: "markedBy";
466
+ };
467
+ };
468
+ readonly occupies: {
469
+ readonly thing: "room";
470
+ readonly starts: "startsAt";
471
+ readonly ends: "endsAt";
472
+ readonly live: readonly ["scheduled", "done"];
473
+ readonly only: "exclusive";
474
+ readonly title: "title";
475
+ };
412
476
  readonly public: {
413
- readonly read: readonly ["title", "classType", "startsAt", "endsAt", "timezone", "room", "coach", "notes", "state"];
477
+ readonly read: string[];
414
478
  readonly when: {
415
479
  readonly field: "state";
416
480
  readonly in: readonly ["scheduled"];
@@ -419,7 +483,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
419
483
  readonly customerVia: {
420
484
  readonly from: "bookings.booking";
421
485
  readonly field: "class";
422
- readonly read: readonly ["title", "classType", "startsAt", "endsAt", "timezone", "room", "coach", "notes", "state"];
486
+ readonly read: string[];
423
487
  };
424
488
  readonly indexes: readonly [readonly ["startsAt"], readonly ["state", "startsAt"], readonly ["series"], readonly ["classType", "startsAt"], readonly ["endsAt"]];
425
489
  };
@@ -746,6 +810,18 @@ declare const _default: import("@composable-os/sdk").Extension<{
746
810
  readonly ifAnyIn: readonly ["attended", "no_show"];
747
811
  }];
748
812
  };
813
+ readonly healthNotes: {
814
+ readonly list: "class";
815
+ readonly person: "person";
816
+ };
817
+ readonly agreements: {
818
+ readonly point: "booking";
819
+ readonly label: "Before a booking";
820
+ readonly suggests: readonly ["waiver", "health", "guardian"];
821
+ readonly enter: readonly ["booked", "waiting"];
822
+ readonly person: "person";
823
+ readonly inlineStep: true;
824
+ };
749
825
  readonly claims: {
750
826
  readonly on: "class";
751
827
  readonly held: readonly ["pending"];
@@ -790,6 +866,14 @@ declare const _default: import("@composable-os/sdk").Extension<{
790
866
  readonly setting: "dropInHoldPercent";
791
867
  };
792
868
  };
869
+ readonly finance: {
870
+ readonly category: {
871
+ readonly key: "drop_ins";
872
+ readonly label: "Drop-ins";
873
+ };
874
+ readonly earned: "at_date";
875
+ readonly at: "class.startsAt";
876
+ };
793
877
  };
794
878
  readonly allowance: {
795
879
  readonly spends: {
@@ -812,6 +896,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
812
896
  };
813
897
  readonly paidBy: readonly ["memberships.membership", "memberships.pass"];
814
898
  readonly waived: "paidOtherwise";
899
+ readonly released: "cancelled_by_us";
815
900
  };
816
901
  };
817
902
  readonly customer: {
@@ -827,73 +912,567 @@ declare const _default: import("@composable-os/sdk").Extension<{
827
912
  readonly timelineLinks: readonly ["person"];
828
913
  readonly indexes: readonly [readonly ["class", "state"], readonly ["person", "state"], readonly ["state"]];
829
914
  };
830
- };
831
- readonly views: {
832
- readonly todaysClasses: {
833
- readonly label: "Today's classes";
834
- readonly object: "bookings.class";
835
- readonly filter: {
836
- readonly and: [{
837
- readonly field: "startsAt";
838
- readonly op: "gte";
839
- readonly value: {
840
- readonly $relative: "today";
841
- };
842
- }, {
843
- readonly field: "startsAt";
844
- readonly op: "lt";
845
- readonly value: {
846
- readonly $relative: "tomorrow";
847
- };
848
- }];
849
- };
850
- readonly sort: {
851
- readonly field: "startsAt";
852
- readonly direction: "asc";
915
+ readonly service: {
916
+ readonly label: "Service";
917
+ readonly plural: "Services";
918
+ readonly icon: "user-check";
919
+ readonly titleField: "title";
920
+ readonly description: string;
921
+ readonly navigation: "settings";
922
+ readonly fields: {
923
+ readonly title: {
924
+ readonly type: "text";
925
+ readonly label: "Title";
926
+ readonly required: true;
927
+ };
928
+ readonly description: {
929
+ readonly type: "longText";
930
+ readonly label: "Description";
931
+ };
932
+ readonly length: {
933
+ readonly type: "number";
934
+ readonly label: "Length (minutes)";
935
+ readonly required: true;
936
+ readonly min: 5;
937
+ readonly max: 480;
938
+ readonly step: 5;
939
+ };
940
+ readonly bufferBefore: {
941
+ readonly type: "number";
942
+ readonly label: "Buffer before (minutes)";
943
+ readonly description: "Minutes kept free before each session, for the coach and the room.";
944
+ readonly min: 0;
945
+ readonly max: 240;
946
+ readonly step: 5;
947
+ };
948
+ readonly bufferAfter: {
949
+ readonly type: "number";
950
+ readonly label: "Buffer after (minutes)";
951
+ readonly description: "Minutes kept free after each session, for the coach and the room.";
952
+ readonly min: 0;
953
+ readonly max: 240;
954
+ readonly step: 5;
955
+ };
956
+ readonly price: {
957
+ readonly type: "currency";
958
+ readonly label: "Price per session";
959
+ readonly description: "What one session costs when paid for on its own. Empty: not sold per session.";
960
+ readonly personApproves: true;
961
+ };
962
+ readonly rooms: {
963
+ readonly type: "relation";
964
+ readonly label: "Rooms it may use";
965
+ readonly to: "bookings.room";
966
+ readonly many: true;
967
+ readonly description: string;
968
+ };
969
+ readonly step: {
970
+ readonly type: "number";
971
+ readonly label: "Start times every (minutes)";
972
+ readonly description: "15, 30 or 60: start times on the hour and every this many minutes. Empty: 30.";
973
+ readonly min: 15;
974
+ readonly max: 60;
975
+ readonly step: 15;
976
+ };
977
+ readonly opensDays: {
978
+ readonly type: "number";
979
+ readonly label: "Booking opens (days before)";
980
+ readonly description: "Clients may book this many days ahead. Empty: the organisation's setting.";
981
+ readonly min: 0;
982
+ readonly max: 365;
983
+ readonly step: 1;
984
+ readonly personApproves: true;
985
+ };
986
+ readonly closesMinutes: {
987
+ type: "number";
988
+ label: string;
989
+ description: string;
990
+ min: number;
991
+ max: number;
992
+ step: number;
993
+ personApproves: boolean;
994
+ };
995
+ readonly lateMinutes: {
996
+ type: "number";
997
+ label: string;
998
+ description: string;
999
+ min: number;
1000
+ max: number;
1001
+ step: number;
1002
+ personApproves: boolean;
1003
+ };
1004
+ readonly whoBooks: {
1005
+ readonly type: "select";
1006
+ readonly label: "Who books it";
1007
+ readonly default: "members_visitors";
1008
+ readonly options: readonly [{
1009
+ readonly value: "members_visitors";
1010
+ readonly label: "Members and visitors";
1011
+ }, {
1012
+ readonly value: "members";
1013
+ readonly label: "Members only";
1014
+ }, {
1015
+ readonly value: "staff";
1016
+ readonly label: "Staff only";
1017
+ }];
1018
+ readonly personApproves: true;
1019
+ };
1020
+ readonly active: {
1021
+ readonly type: "boolean";
1022
+ readonly label: "Offered";
1023
+ readonly default: true;
1024
+ };
1025
+ readonly staffOnly: {
1026
+ readonly type: "formula";
1027
+ readonly label: "Booked by staff only";
1028
+ readonly expression: "coalesce(whoBooks, \"members_visitors\") = \"staff\"";
1029
+ };
1030
+ readonly closed: {
1031
+ readonly type: "formula";
1032
+ readonly label: "Not offered";
1033
+ readonly expression: "not coalesce(active, true)";
1034
+ };
853
1035
  };
854
- readonly columns: ["title", "startsAt", "coach", "room", "places", "taken", "available", "state"];
1036
+ readonly indexes: readonly [readonly ["active"]];
855
1037
  };
856
- readonly thisWeeksClasses: {
857
- readonly label: "This week's classes";
858
- readonly object: "bookings.class";
859
- readonly filter: {
860
- readonly and: [{
861
- readonly field: "startsAt";
862
- readonly op: "gte";
863
- readonly value: {
864
- readonly $relative: "startOfWeek";
865
- };
866
- }, {
867
- readonly field: "startsAt";
868
- readonly op: "lt";
869
- readonly value: {
870
- readonly $relative: "startOfNextWeek";
871
- };
872
- }];
1038
+ readonly appointment: {
1039
+ readonly label: "Appointment";
1040
+ readonly plural: "Appointments";
1041
+ readonly icon: "calendar-heart";
1042
+ readonly titleField: "title";
1043
+ readonly titleDefault: {
1044
+ readonly from: readonly ["service", "person"];
873
1045
  };
874
- readonly sort: {
875
- readonly field: "startsAt";
876
- readonly direction: "asc";
1046
+ readonly description: string;
1047
+ readonly navigation: "main";
1048
+ readonly navigationOrder: 33;
1049
+ readonly fields: {
1050
+ readonly title: {
1051
+ readonly type: "text";
1052
+ readonly label: "Title";
1053
+ };
1054
+ readonly service: {
1055
+ readonly type: "relation";
1056
+ readonly label: "Service";
1057
+ readonly to: "bookings.service";
1058
+ readonly required: true;
1059
+ };
1060
+ readonly person: {
1061
+ readonly type: "relation";
1062
+ readonly label: "Client";
1063
+ readonly to: "person";
1064
+ };
1065
+ readonly coach: {
1066
+ readonly type: "relation";
1067
+ readonly label: "Coach";
1068
+ readonly to: "bookings.coach";
1069
+ };
1070
+ readonly room: {
1071
+ readonly type: "relation";
1072
+ readonly label: "Room";
1073
+ readonly to: "bookings.room";
1074
+ readonly description: "Left empty, the host gives it the first of the service's rooms free then.";
1075
+ };
1076
+ readonly startsAt: {
1077
+ readonly type: "datetime";
1078
+ readonly label: "Starts";
1079
+ readonly required: true;
1080
+ };
1081
+ readonly endsAt: {
1082
+ readonly type: "datetime";
1083
+ readonly label: "Ends";
1084
+ readonly required: true;
1085
+ };
1086
+ readonly timezone: {
1087
+ readonly type: "timezone";
1088
+ readonly label: "Time zone";
1089
+ readonly required: true;
1090
+ };
1091
+ readonly lateAnchor: {
1092
+ readonly type: "datetime";
1093
+ readonly label: "Late cancel counted from";
1094
+ readonly readOnly: true;
1095
+ readonly description: string;
1096
+ };
1097
+ readonly state: {
1098
+ readonly type: "select";
1099
+ readonly label: "State";
1100
+ readonly track: "timeline";
1101
+ readonly options: {
1102
+ value: string;
1103
+ label: string;
1104
+ }[];
1105
+ };
1106
+ readonly holder: {
1107
+ readonly type: "text";
1108
+ readonly label: "Paid from";
1109
+ readonly description: string;
1110
+ };
1111
+ readonly serviceId: {
1112
+ readonly type: "text";
1113
+ readonly label: "Service (for passes)";
1114
+ readonly readOnly: true;
1115
+ readonly description: "The service, copied by the host: what a pass's services are compared with.";
1116
+ };
1117
+ readonly weekday: {
1118
+ readonly type: "number";
1119
+ readonly label: "Weekday";
1120
+ readonly readOnly: true;
1121
+ readonly description: "The local weekday (1 Monday to 7 Sunday), set by the host.";
1122
+ };
1123
+ readonly minute: {
1124
+ readonly type: "number";
1125
+ readonly label: "Local minute";
1126
+ readonly readOnly: true;
1127
+ readonly description: "The local start, in minutes after midnight, set by the host.";
1128
+ };
1129
+ readonly paidOtherwise: {
1130
+ readonly type: "boolean";
1131
+ readonly label: "Paid at the desk";
1132
+ readonly readOnly: true;
1133
+ readonly description: "Paid at the desk or another way: it spends no session. Set when it is made.";
1134
+ };
1135
+ readonly bookedBy: {
1136
+ readonly type: "user";
1137
+ readonly label: "Booked by";
1138
+ readonly readOnly: true;
1139
+ readonly description: "The staff account that booked it.";
1140
+ };
1141
+ readonly movedFrom: {
1142
+ readonly type: "relation";
1143
+ readonly label: "Moved from";
1144
+ readonly to: "bookings.appointment";
1145
+ readonly readOnly: true;
1146
+ readonly description: "The appointment this one replaced when it was moved to another time.";
1147
+ };
1148
+ readonly note: {
1149
+ readonly type: "longText";
1150
+ readonly label: "Staff note";
1151
+ };
1152
+ readonly markedAt: {
1153
+ readonly type: "datetime";
1154
+ readonly label: "Attendance marked";
1155
+ readonly readOnly: true;
1156
+ readonly description: "When it was marked attended or not come.";
1157
+ };
1158
+ readonly markedBy: {
1159
+ readonly type: "user";
1160
+ readonly label: "Marked by";
1161
+ readonly readOnly: true;
1162
+ readonly description: "The staff account that marked it. Empty when the host marked it attended.";
1163
+ };
1164
+ readonly markedByName: {
1165
+ readonly type: "text";
1166
+ readonly label: "Marked by (name)";
1167
+ readonly readOnly: true;
1168
+ readonly description: "That staff member's name as it was then.";
1169
+ };
1170
+ readonly cancelledReason: {
1171
+ readonly type: "longText";
1172
+ readonly label: "Why it was cancelled or given back";
1173
+ readonly readOnly: true;
1174
+ };
877
1175
  };
878
- readonly columns: ["title", "startsAt", "coach", "room", "taken", "available", "state"];
879
- };
880
- readonly activeSeries: {
881
- readonly label: "Timetable";
882
- readonly object: "bookings.series";
883
- readonly filter: {
1176
+ readonly states: {
884
1177
  readonly field: "state";
885
- readonly op: "eq";
886
- readonly value: "active";
887
- };
888
- readonly sort: {
889
- readonly field: "time";
890
- readonly direction: "asc";
891
- };
892
- readonly columns: ["title", "weekdays", "time", "length", "coach", "room", "places", "firstDate"];
893
- };
894
- readonly waitlists: {
895
- readonly label: "Waiting";
896
- readonly object: "bookings.booking";
1178
+ readonly initial: "booked";
1179
+ readonly create: {
1180
+ readonly in: {
1181
+ readonly pending: readonly ["host"];
1182
+ readonly unpaid: readonly ["host"];
1183
+ };
1184
+ readonly window: {
1185
+ readonly from: {
1186
+ at: string;
1187
+ daysBefore: {
1188
+ field: string;
1189
+ setting: string;
1190
+ };
1191
+ zone: string;
1192
+ };
1193
+ readonly until: {
1194
+ at: string;
1195
+ minutesBefore: {
1196
+ field: string;
1197
+ setting: string;
1198
+ };
1199
+ };
1200
+ };
1201
+ readonly staffOnly: "service.staffOnly";
1202
+ readonly closed: "service.closed";
1203
+ readonly requires: readonly ["person"];
1204
+ };
1205
+ readonly requests: {
1206
+ readonly cancel: readonly ["cancelled", "late_cancelled"];
1207
+ };
1208
+ readonly moves: readonly [{
1209
+ readonly from: "pending";
1210
+ readonly to: "booked";
1211
+ readonly by: readonly ["host"];
1212
+ }, {
1213
+ readonly from: "pending";
1214
+ readonly to: "expired";
1215
+ readonly by: readonly ["host"];
1216
+ readonly final: true;
1217
+ }, {
1218
+ readonly from: "unpaid";
1219
+ readonly to: "booked";
1220
+ readonly by: readonly ["staff"];
1221
+ }, {
1222
+ readonly from: "booked";
1223
+ readonly to: "cancelled";
1224
+ readonly by: readonly ["staff", "customer"];
1225
+ readonly final: true;
1226
+ readonly window: {
1227
+ readonly until: {
1228
+ at: string;
1229
+ minutesBefore: {
1230
+ field: string;
1231
+ setting: string;
1232
+ };
1233
+ };
1234
+ };
1235
+ readonly bindsStaff: true;
1236
+ }, {
1237
+ readonly from: "booked";
1238
+ readonly to: "late_cancelled";
1239
+ readonly by: readonly ["staff", "customer"];
1240
+ readonly window: {
1241
+ readonly from: {
1242
+ at: string;
1243
+ minutesBefore: {
1244
+ field: string;
1245
+ setting: string;
1246
+ };
1247
+ };
1248
+ readonly until: "startsAt";
1249
+ };
1250
+ }, {
1251
+ readonly from: "booked";
1252
+ readonly to: "moved";
1253
+ readonly by: readonly ["staff"];
1254
+ readonly final: true;
1255
+ readonly window: {
1256
+ readonly until: "startsAt";
1257
+ };
1258
+ readonly bindsStaff: true;
1259
+ }, {
1260
+ readonly from: "booked";
1261
+ readonly to: "attended";
1262
+ readonly by: readonly ["staff", "host"];
1263
+ readonly window: {
1264
+ readonly from: "startsAt";
1265
+ };
1266
+ readonly bindsStaff: true;
1267
+ }, {
1268
+ readonly from: "booked";
1269
+ readonly to: "no_show";
1270
+ readonly by: readonly ["staff", "host"];
1271
+ readonly window: {
1272
+ readonly from: "startsAt";
1273
+ };
1274
+ readonly bindsStaff: true;
1275
+ }, {
1276
+ readonly from: "attended";
1277
+ readonly to: "no_show";
1278
+ readonly by: readonly ["staff"];
1279
+ readonly window: {
1280
+ readonly until: {
1281
+ at: string;
1282
+ minutesBefore: number;
1283
+ };
1284
+ };
1285
+ readonly bindsStaff: true;
1286
+ }, {
1287
+ readonly from: "no_show";
1288
+ readonly to: "attended";
1289
+ readonly by: readonly ["staff"];
1290
+ readonly window: {
1291
+ readonly until: {
1292
+ at: string;
1293
+ minutesBefore: number;
1294
+ };
1295
+ };
1296
+ readonly bindsStaff: true;
1297
+ }, {
1298
+ readonly from: readonly ["late_cancelled", "no_show"];
1299
+ readonly to: "excused";
1300
+ readonly by: readonly ["host"];
1301
+ readonly tools: readonly ["excuseAppointment"];
1302
+ readonly final: true;
1303
+ }, {
1304
+ readonly from: readonly ["pending", "unpaid", "booked"];
1305
+ readonly to: "cancelled_by_us";
1306
+ readonly by: readonly ["host"];
1307
+ readonly tools: readonly ["cancelAppointmentByUs"];
1308
+ readonly final: true;
1309
+ }];
1310
+ readonly after: readonly [{
1311
+ readonly from: "booked";
1312
+ readonly to: "attended";
1313
+ readonly at: "endsAt";
1314
+ readonly minutesAfter: 30;
1315
+ readonly ifSet: readonly ["coach"];
1316
+ }];
1317
+ };
1318
+ readonly staffed: {
1319
+ readonly who: {
1320
+ readonly field: "coach";
1321
+ readonly account: "user";
1322
+ };
1323
+ readonly starts: "startsAt";
1324
+ readonly ends: "endsAt";
1325
+ readonly zone: "timezone";
1326
+ readonly kind: "service";
1327
+ readonly live: string[];
1328
+ readonly place: "room.name";
1329
+ readonly claimBefore: {
1330
+ readonly field: "service.bufferBefore";
1331
+ };
1332
+ readonly claimAfter: {
1333
+ readonly field: "service.bufferAfter";
1334
+ };
1335
+ readonly account: "required";
1336
+ readonly private: true;
1337
+ readonly open: {
1338
+ readonly length: {
1339
+ readonly field: "service.length";
1340
+ };
1341
+ readonly step: {
1342
+ readonly field: "service.step";
1343
+ };
1344
+ readonly rooms: {
1345
+ readonly field: "service.rooms";
1346
+ };
1347
+ readonly client: "person";
1348
+ readonly closedBy: {
1349
+ readonly object: "closure";
1350
+ readonly from: "fromDate";
1351
+ readonly until: "untilDate";
1352
+ };
1353
+ readonly customer: true;
1354
+ };
1355
+ };
1356
+ readonly occupies: {
1357
+ readonly thing: "room";
1358
+ readonly starts: "startsAt";
1359
+ readonly ends: "endsAt";
1360
+ readonly live: string[];
1361
+ readonly before: {
1362
+ readonly field: "service.bufferBefore";
1363
+ };
1364
+ readonly after: {
1365
+ readonly field: "service.bufferAfter";
1366
+ };
1367
+ readonly only: "exclusive";
1368
+ };
1369
+ readonly allowance: {
1370
+ readonly spends: {
1371
+ readonly person: "person";
1372
+ readonly holder: "holder";
1373
+ readonly spendIn: readonly ["booked"];
1374
+ readonly returnIn: readonly ["cancelled", "excused", "cancelled_by_us", "moved"];
1375
+ readonly at: "startsAt";
1376
+ readonly copy: {
1377
+ readonly serviceId: "service.id";
1378
+ };
1379
+ readonly local: {
1380
+ readonly weekday: "weekday";
1381
+ readonly minute: "minute";
1382
+ readonly zone: "timezone";
1383
+ };
1384
+ readonly movedFrom: {
1385
+ readonly field: "movedFrom";
1386
+ readonly state: "moved";
1387
+ readonly fixed: readonly ["startsAt", "endsAt", "service"];
1388
+ readonly anchor: {
1389
+ readonly field: "lateAnchor";
1390
+ readonly from: "startsAt";
1391
+ };
1392
+ };
1393
+ readonly paidBy: readonly ["memberships.membership", "memberships.pass"];
1394
+ readonly waived: "paidOtherwise";
1395
+ readonly released: "cancelled_by_us";
1396
+ };
1397
+ };
1398
+ readonly agreements: {
1399
+ readonly point: "appointment";
1400
+ readonly label: "Before an appointment";
1401
+ readonly suggests: readonly ["waiver", "health", "guardian"];
1402
+ readonly enter: readonly ["booked"];
1403
+ readonly person: "person";
1404
+ readonly inlineStep: true;
1405
+ };
1406
+ readonly timelineLinks: readonly ["person"];
1407
+ readonly indexes: readonly [readonly ["startsAt"], readonly ["coach", "startsAt"], readonly ["person", "startsAt"], readonly ["state", "startsAt"], readonly ["service"], readonly ["endsAt"]];
1408
+ };
1409
+ };
1410
+ readonly views: {
1411
+ readonly todaysClasses: {
1412
+ readonly label: "Today's classes";
1413
+ readonly object: "bookings.class";
1414
+ readonly filter: {
1415
+ readonly and: [{
1416
+ readonly field: "startsAt";
1417
+ readonly op: "gte";
1418
+ readonly value: {
1419
+ readonly $relative: "today";
1420
+ };
1421
+ }, {
1422
+ readonly field: "startsAt";
1423
+ readonly op: "lt";
1424
+ readonly value: {
1425
+ readonly $relative: "tomorrow";
1426
+ };
1427
+ }];
1428
+ };
1429
+ readonly sort: {
1430
+ readonly field: "startsAt";
1431
+ readonly direction: "asc";
1432
+ };
1433
+ readonly columns: ["title", "startsAt", "coach", "room", "places", "taken", "available", "state"];
1434
+ };
1435
+ readonly thisWeeksClasses: {
1436
+ readonly label: "This week's classes";
1437
+ readonly object: "bookings.class";
1438
+ readonly filter: {
1439
+ readonly and: [{
1440
+ readonly field: "startsAt";
1441
+ readonly op: "gte";
1442
+ readonly value: {
1443
+ readonly $relative: "startOfWeek";
1444
+ };
1445
+ }, {
1446
+ readonly field: "startsAt";
1447
+ readonly op: "lt";
1448
+ readonly value: {
1449
+ readonly $relative: "startOfNextWeek";
1450
+ };
1451
+ }];
1452
+ };
1453
+ readonly sort: {
1454
+ readonly field: "startsAt";
1455
+ readonly direction: "asc";
1456
+ };
1457
+ readonly columns: ["title", "startsAt", "coach", "room", "taken", "available", "state"];
1458
+ };
1459
+ readonly activeSeries: {
1460
+ readonly label: "Timetable";
1461
+ readonly object: "bookings.series";
1462
+ readonly filter: {
1463
+ readonly field: "state";
1464
+ readonly op: "eq";
1465
+ readonly value: "active";
1466
+ };
1467
+ readonly sort: {
1468
+ readonly field: "time";
1469
+ readonly direction: "asc";
1470
+ };
1471
+ readonly columns: ["title", "weekdays", "time", "length", "coach", "room", "places", "firstDate"];
1472
+ };
1473
+ readonly waitlists: {
1474
+ readonly label: "Waiting";
1475
+ readonly object: "bookings.booking";
897
1476
  readonly filter: {
898
1477
  readonly field: "state";
899
1478
  readonly op: "eq";
@@ -919,6 +1498,50 @@ declare const _default: import("@composable-os/sdk").Extension<{
919
1498
  };
920
1499
  readonly columns: ["title", "class", "person", "updatedAt"];
921
1500
  };
1501
+ readonly noShowsThisMonth: {
1502
+ readonly label: "No-shows this month";
1503
+ readonly object: "bookings.booking";
1504
+ readonly filter: {
1505
+ readonly and: [{
1506
+ readonly field: "state";
1507
+ readonly op: "eq";
1508
+ readonly value: "no_show";
1509
+ }, {
1510
+ readonly field: "updatedAt";
1511
+ readonly op: "gte";
1512
+ readonly value: {
1513
+ readonly $relative: "startOfMonth";
1514
+ };
1515
+ }];
1516
+ };
1517
+ readonly sort: {
1518
+ readonly field: "updatedAt";
1519
+ readonly direction: "desc";
1520
+ };
1521
+ readonly columns: ["title", "class", "person", "markedByName", "updatedAt"];
1522
+ };
1523
+ readonly lateCancelsThisMonth: {
1524
+ readonly label: "Late cancels this month";
1525
+ readonly object: "bookings.booking";
1526
+ readonly filter: {
1527
+ readonly and: [{
1528
+ readonly field: "state";
1529
+ readonly op: "eq";
1530
+ readonly value: "late_cancelled";
1531
+ }, {
1532
+ readonly field: "updatedAt";
1533
+ readonly op: "gte";
1534
+ readonly value: {
1535
+ readonly $relative: "startOfMonth";
1536
+ };
1537
+ }];
1538
+ };
1539
+ readonly sort: {
1540
+ readonly field: "updatedAt";
1541
+ readonly direction: "desc";
1542
+ };
1543
+ readonly columns: ["title", "class", "person", "updatedAt"];
1544
+ };
922
1545
  };
923
1546
  readonly recordTabs: {
924
1547
  readonly classBookings: {
@@ -934,37 +1557,659 @@ declare const _default: import("@composable-os/sdk").Extension<{
934
1557
  readonly direction: "asc";
935
1558
  };
936
1559
  };
937
- readonly order: 10;
1560
+ readonly order: 10;
1561
+ };
1562
+ readonly seriesClasses: {
1563
+ readonly label: "Classes";
1564
+ readonly on: "bookings.series";
1565
+ readonly view: {
1566
+ readonly type: "table";
1567
+ readonly object: "bookings.class";
1568
+ readonly relation: "series";
1569
+ readonly columns: ["startsAt", "coach", "room", "places", "taken", "state", "changed"];
1570
+ readonly sort: {
1571
+ readonly field: "startsAt";
1572
+ readonly direction: "asc";
1573
+ };
1574
+ };
1575
+ readonly order: 10;
1576
+ };
1577
+ readonly personBookings: {
1578
+ readonly label: "Bookings";
1579
+ readonly on: "person";
1580
+ readonly view: {
1581
+ readonly type: "table";
1582
+ readonly object: "bookings.booking";
1583
+ readonly relation: "person";
1584
+ readonly columns: ["class", "state", "holder", "createdAt"];
1585
+ readonly sort: {
1586
+ readonly field: "createdAt";
1587
+ readonly direction: "desc";
1588
+ };
1589
+ };
1590
+ readonly order: 35;
1591
+ };
1592
+ readonly personAppointments: {
1593
+ readonly label: "Appointments";
1594
+ readonly on: "person";
1595
+ readonly view: {
1596
+ readonly type: "table";
1597
+ readonly object: "bookings.appointment";
1598
+ readonly relation: "person";
1599
+ readonly columns: ["service", "startsAt", "coach", "room", "state", "holder", "paidOtherwise"];
1600
+ readonly sort: {
1601
+ readonly field: "startsAt";
1602
+ readonly direction: "desc";
1603
+ };
1604
+ };
1605
+ readonly order: 36;
1606
+ };
1607
+ readonly serviceAppointments: {
1608
+ readonly label: "Appointments";
1609
+ readonly on: "bookings.service";
1610
+ readonly view: {
1611
+ readonly type: "table";
1612
+ readonly object: "bookings.appointment";
1613
+ readonly relation: "service";
1614
+ readonly columns: ["startsAt", "person", "coach", "room", "state"];
1615
+ readonly sort: {
1616
+ readonly field: "startsAt";
1617
+ readonly direction: "desc";
1618
+ };
1619
+ };
1620
+ readonly order: 10;
1621
+ };
1622
+ };
1623
+ readonly routineMail: {
1624
+ confirmation: {
1625
+ slots: {
1626
+ oldClass: {
1627
+ field: string;
1628
+ optional: true;
1629
+ };
1630
+ oldWhen: {
1631
+ field: string;
1632
+ format: "datetime";
1633
+ zone: string;
1634
+ optional: true;
1635
+ };
1636
+ class: {
1637
+ field: string;
1638
+ };
1639
+ when: {
1640
+ field: string;
1641
+ format: "datetime";
1642
+ zone: string;
1643
+ };
1644
+ room: {
1645
+ field: string;
1646
+ optional: true;
1647
+ };
1648
+ link: {
1649
+ link: string;
1650
+ };
1651
+ day: {
1652
+ field: string;
1653
+ format: "date";
1654
+ zone: string;
1655
+ };
1656
+ time: {
1657
+ field: string;
1658
+ format: "time";
1659
+ zone: string;
1660
+ };
1661
+ short: {
1662
+ field: string;
1663
+ max: number;
1664
+ };
1665
+ };
1666
+ messages: {
1667
+ booked: {
1668
+ subject: string;
1669
+ text: string;
1670
+ textMessage: string;
1671
+ push: {
1672
+ title: string;
1673
+ body: string;
1674
+ };
1675
+ guardian: {
1676
+ subject: string;
1677
+ text: string;
1678
+ textMessage: string;
1679
+ push: {
1680
+ title: string;
1681
+ body: string;
1682
+ };
1683
+ };
1684
+ calendar: {
1685
+ readonly start: "class.startsAt";
1686
+ readonly end: "class.endsAt";
1687
+ readonly title: "class.title";
1688
+ readonly location: "class.room.name";
1689
+ readonly link: "link";
1690
+ };
1691
+ };
1692
+ paid: {
1693
+ subject: string;
1694
+ text: string;
1695
+ textMessage: string;
1696
+ push: {
1697
+ title: string;
1698
+ body: string;
1699
+ };
1700
+ guardian: {
1701
+ subject: string;
1702
+ text: string;
1703
+ textMessage: string;
1704
+ push: {
1705
+ title: string;
1706
+ body: string;
1707
+ };
1708
+ };
1709
+ calendar: {
1710
+ readonly start: "class.startsAt";
1711
+ readonly end: "class.endsAt";
1712
+ readonly title: "class.title";
1713
+ readonly location: "class.room.name";
1714
+ readonly link: "link";
1715
+ };
1716
+ };
1717
+ promoted: {
1718
+ subject: string;
1719
+ text: string;
1720
+ textMessage: string;
1721
+ push: {
1722
+ title: string;
1723
+ body: string;
1724
+ };
1725
+ guardian: {
1726
+ subject: string;
1727
+ text: string;
1728
+ textMessage: string;
1729
+ push: {
1730
+ title: string;
1731
+ body: string;
1732
+ };
1733
+ };
1734
+ calendar: {
1735
+ readonly start: "class.startsAt";
1736
+ readonly end: "class.endsAt";
1737
+ readonly title: "class.title";
1738
+ readonly location: "class.room.name";
1739
+ readonly link: "link";
1740
+ };
1741
+ };
1742
+ moved: {
1743
+ subject: string;
1744
+ text: string;
1745
+ textMessage: string;
1746
+ push: {
1747
+ title: string;
1748
+ body: string;
1749
+ };
1750
+ guardian: {
1751
+ subject: string;
1752
+ text: string;
1753
+ textMessage: string;
1754
+ push: {
1755
+ title: string;
1756
+ body: string;
1757
+ };
1758
+ };
1759
+ calendar: ({
1760
+ uid: string;
1761
+ start: string;
1762
+ end: string;
1763
+ title: string;
1764
+ location: string;
1765
+ cancelled: true;
1766
+ update: true;
1767
+ } | {
1768
+ update: true;
1769
+ start: "class.startsAt";
1770
+ end: "class.endsAt";
1771
+ title: "class.title";
1772
+ location: "class.room.name";
1773
+ link: "link";
1774
+ uid?: undefined;
1775
+ cancelled?: undefined;
1776
+ })[];
1777
+ };
1778
+ };
1779
+ channels: readonly ["email", "text", "push"];
1780
+ until: "class.startsAt";
1781
+ open: {
1782
+ readonly screen: "timetable";
1783
+ };
1784
+ label: string;
1785
+ description: string;
1786
+ about: string;
1787
+ };
1788
+ waitingList: {
1789
+ slots: {
1790
+ why: {
1791
+ choice: {
1792
+ noUsesLeft: string;
1793
+ notLive: string;
1794
+ notCovered: string;
1795
+ other: string;
1796
+ };
1797
+ };
1798
+ class: {
1799
+ field: string;
1800
+ };
1801
+ when: {
1802
+ field: string;
1803
+ format: "datetime";
1804
+ zone: string;
1805
+ };
1806
+ room: {
1807
+ field: string;
1808
+ optional: true;
1809
+ };
1810
+ link: {
1811
+ link: string;
1812
+ };
1813
+ day: {
1814
+ field: string;
1815
+ format: "date";
1816
+ zone: string;
1817
+ };
1818
+ time: {
1819
+ field: string;
1820
+ format: "time";
1821
+ zone: string;
1822
+ };
1823
+ short: {
1824
+ field: string;
1825
+ max: number;
1826
+ };
1827
+ };
1828
+ messages: {
1829
+ passedOver: {
1830
+ subject: string;
1831
+ text: string;
1832
+ textMessage: string;
1833
+ push: {
1834
+ title: string;
1835
+ body: string;
1836
+ };
1837
+ guardian: {
1838
+ subject: string;
1839
+ text: string;
1840
+ textMessage: string;
1841
+ push: {
1842
+ title: string;
1843
+ body: string;
1844
+ };
1845
+ };
1846
+ };
1847
+ placeFree: {
1848
+ subject: string;
1849
+ text: string;
1850
+ textMessage: string;
1851
+ push: {
1852
+ title: string;
1853
+ body: string;
1854
+ };
1855
+ guardian: {
1856
+ subject: string;
1857
+ text: string;
1858
+ textMessage: string;
1859
+ push: {
1860
+ title: string;
1861
+ body: string;
1862
+ };
1863
+ };
1864
+ };
1865
+ };
1866
+ channels: readonly ["email", "text", "push"];
1867
+ until: "class.startsAt";
1868
+ open: {
1869
+ readonly screen: "timetable";
1870
+ };
1871
+ label: string;
1872
+ description: string;
1873
+ about: string;
1874
+ essential: false;
1875
+ };
1876
+ change: {
1877
+ slots: {
1878
+ before: {
1879
+ at: true;
1880
+ zone: string;
1881
+ optional: true;
1882
+ };
1883
+ ends: {
1884
+ field: string;
1885
+ format: "time";
1886
+ zone: string;
1887
+ optional: true;
1888
+ };
1889
+ stays: {
1890
+ choice: {
1891
+ booking: string;
1892
+ waiting: string;
1893
+ };
1894
+ };
1895
+ moved: {
1896
+ flag: true;
1897
+ };
1898
+ notMoved: {
1899
+ flag: true;
1900
+ };
1901
+ endChanged: {
1902
+ flag: true;
1903
+ };
1904
+ roomChanged: {
1905
+ flag: true;
1906
+ };
1907
+ keep: {
1908
+ flag: true;
1909
+ };
1910
+ class: {
1911
+ field: string;
1912
+ };
1913
+ when: {
1914
+ field: string;
1915
+ format: "datetime";
1916
+ zone: string;
1917
+ };
1918
+ room: {
1919
+ field: string;
1920
+ optional: true;
1921
+ };
1922
+ link: {
1923
+ link: string;
1924
+ };
1925
+ day: {
1926
+ field: string;
1927
+ format: "date";
1928
+ zone: string;
1929
+ };
1930
+ time: {
1931
+ field: string;
1932
+ format: "time";
1933
+ zone: string;
1934
+ };
1935
+ short: {
1936
+ field: string;
1937
+ max: number;
1938
+ };
1939
+ };
1940
+ messages: {
1941
+ changed: {
1942
+ subject: string;
1943
+ text: string;
1944
+ textMessage: string;
1945
+ push: {
1946
+ title: string;
1947
+ body: string;
1948
+ };
1949
+ guardian: {
1950
+ subject: string;
1951
+ text: string;
1952
+ textMessage: string;
1953
+ push: {
1954
+ title: string;
1955
+ body: string;
1956
+ };
1957
+ };
1958
+ calendar: {
1959
+ update: true;
1960
+ if: string;
1961
+ start: "class.startsAt";
1962
+ end: "class.endsAt";
1963
+ title: "class.title";
1964
+ location: "class.room.name";
1965
+ link: "link";
1966
+ };
1967
+ };
1968
+ };
1969
+ channels: readonly ["email", "text", "push"];
1970
+ until: "class.startsAt";
1971
+ open: {
1972
+ readonly screen: "timetable";
1973
+ };
1974
+ label: string;
1975
+ description: string;
1976
+ about: string;
1977
+ };
1978
+ cancellation: {
1979
+ slots: {
1980
+ reason: {
1981
+ field: string;
1982
+ max: number;
1983
+ optional: true;
1984
+ };
1985
+ money: {
1986
+ choice: {
1987
+ refund: string;
1988
+ unpaid: string;
1989
+ membership: string;
1990
+ };
1991
+ guardian: {
1992
+ refund: string;
1993
+ membership: string;
1994
+ };
1995
+ };
1996
+ class: {
1997
+ field: string;
1998
+ };
1999
+ when: {
2000
+ field: string;
2001
+ format: "datetime";
2002
+ zone: string;
2003
+ };
2004
+ room: {
2005
+ field: string;
2006
+ optional: true;
2007
+ };
2008
+ link: {
2009
+ link: string;
2010
+ };
2011
+ day: {
2012
+ field: string;
2013
+ format: "date";
2014
+ zone: string;
2015
+ };
2016
+ time: {
2017
+ field: string;
2018
+ format: "time";
2019
+ zone: string;
2020
+ };
2021
+ short: {
2022
+ field: string;
2023
+ max: number;
2024
+ };
2025
+ };
2026
+ messages: {
2027
+ cancelled: {
2028
+ subject: string;
2029
+ text: string;
2030
+ textMessage: string;
2031
+ push: {
2032
+ title: string;
2033
+ body: string;
2034
+ };
2035
+ guardian: {
2036
+ subject: string;
2037
+ text: string;
2038
+ textMessage: string;
2039
+ push: {
2040
+ title: string;
2041
+ body: string;
2042
+ };
2043
+ };
2044
+ calendar: {
2045
+ cancelled: true;
2046
+ update: true;
2047
+ start: "class.startsAt";
2048
+ end: "class.endsAt";
2049
+ title: "class.title";
2050
+ location: "class.room.name";
2051
+ link: "link";
2052
+ };
2053
+ };
2054
+ };
2055
+ channels: readonly ["email", "text", "push"];
2056
+ until: "class.startsAt";
2057
+ open: {
2058
+ readonly screen: "timetable";
2059
+ };
2060
+ label: string;
2061
+ description: string;
2062
+ about: string;
2063
+ urgent: true;
2064
+ };
2065
+ reminder: {
2066
+ slots: {
2067
+ class: {
2068
+ field: string;
2069
+ };
2070
+ when: {
2071
+ field: string;
2072
+ format: "datetime";
2073
+ zone: string;
2074
+ };
2075
+ room: {
2076
+ field: string;
2077
+ optional: true;
2078
+ };
2079
+ link: {
2080
+ link: string;
2081
+ };
2082
+ day: {
2083
+ field: string;
2084
+ format: "date";
2085
+ zone: string;
2086
+ };
2087
+ time: {
2088
+ field: string;
2089
+ format: "time";
2090
+ zone: string;
2091
+ };
2092
+ short: {
2093
+ field: string;
2094
+ max: number;
2095
+ };
2096
+ };
2097
+ messages: {
2098
+ reminder: {
2099
+ subject: string;
2100
+ text: string;
2101
+ textMessage: string;
2102
+ push: {
2103
+ title: string;
2104
+ body: string;
2105
+ };
2106
+ guardian: {
2107
+ subject: string;
2108
+ text: string;
2109
+ textMessage: string;
2110
+ push: {
2111
+ title: string;
2112
+ body: string;
2113
+ };
2114
+ };
2115
+ };
2116
+ };
2117
+ channels: readonly ["email", "text", "push"];
2118
+ until: "class.startsAt";
2119
+ open: {
2120
+ readonly screen: "timetable";
2121
+ };
2122
+ label: string;
2123
+ description: string;
2124
+ about: string;
2125
+ essential: false;
938
2126
  };
939
- readonly seriesClasses: {
940
- readonly label: "Classes";
941
- readonly on: "bookings.series";
942
- readonly view: {
943
- readonly type: "table";
944
- readonly object: "bookings.class";
945
- readonly relation: "series";
946
- readonly columns: ["startsAt", "coach", "room", "places", "taken", "state", "changed"];
947
- readonly sort: {
948
- readonly field: "startsAt";
949
- readonly direction: "asc";
2127
+ dropIn: {
2128
+ label: string;
2129
+ description: string;
2130
+ about: string;
2131
+ slots: {
2132
+ what: {
2133
+ each: {
2134
+ object: string;
2135
+ via: string;
2136
+ max: number;
2137
+ line: string;
2138
+ slots: {
2139
+ class: {
2140
+ field: string;
2141
+ };
2142
+ when: {
2143
+ field: string;
2144
+ format: "datetime";
2145
+ zone: string;
2146
+ };
2147
+ };
2148
+ };
2149
+ };
2150
+ link: {
2151
+ link: string;
2152
+ };
2153
+ };
2154
+ messages: {
2155
+ held: {
2156
+ subject: string;
2157
+ text: string;
2158
+ };
2159
+ refunded: {
2160
+ subject: string;
2161
+ text: string;
950
2162
  };
951
2163
  };
952
- readonly order: 10;
953
2164
  };
954
- readonly personBookings: {
955
- readonly label: "Bookings";
956
- readonly on: "person";
957
- readonly view: {
958
- readonly type: "table";
959
- readonly object: "bookings.booking";
960
- readonly relation: "person";
961
- readonly columns: ["class", "state", "holder", "createdAt"];
962
- readonly sort: {
963
- readonly field: "createdAt";
964
- readonly direction: "desc";
2165
+ feedback: {
2166
+ label: string;
2167
+ description: string;
2168
+ about: string;
2169
+ purpose: "follow_up";
2170
+ slots: {
2171
+ class: {
2172
+ field: string;
2173
+ };
2174
+ day: {
2175
+ field: string;
2176
+ format: "date";
2177
+ zone: string;
2178
+ };
2179
+ form: {
2180
+ formLink: {
2181
+ object: string;
2182
+ setting: string;
2183
+ days: number;
2184
+ once: number;
2185
+ };
965
2186
  };
966
2187
  };
967
- readonly order: 35;
2188
+ messages: {
2189
+ ask: {
2190
+ subject: string;
2191
+ text: string;
2192
+ guardian: {
2193
+ subject: string;
2194
+ text: string;
2195
+ };
2196
+ };
2197
+ };
2198
+ };
2199
+ };
2200
+ readonly journeySignals: {
2201
+ readonly booked: {
2202
+ readonly label: "Class booked";
2203
+ readonly description: "A place in a class is booked: made, taken from the waitlist, or paid for.";
2204
+ readonly object: "booking";
2205
+ readonly enters: readonly ["booked"];
2206
+ readonly from: readonly ["pending", "waiting"];
2207
+ };
2208
+ readonly attended: {
2209
+ readonly label: "Class attended";
2210
+ readonly description: "A coach ticks the person's name on a class's list.";
2211
+ readonly object: "booking";
2212
+ readonly enters: readonly ["attended"];
968
2213
  };
969
2214
  };
970
2215
  readonly settings: {
@@ -1024,12 +2269,60 @@ declare const _default: import("@composable-os/sdk").Extension<{
1024
2269
  readonly reminderMinutes: {
1025
2270
  readonly type: "number";
1026
2271
  readonly label: "Reminder (minutes before)";
1027
- readonly description: "When members are reminded of a class (a later release).";
2272
+ readonly description: string;
1028
2273
  readonly default: 180;
1029
2274
  readonly min: 0;
2275
+ readonly max: 2880;
2276
+ readonly personApproves: true;
2277
+ };
2278
+ readonly appointmentOpensDays: {
2279
+ readonly type: "number";
2280
+ readonly label: "Appointments: booking opens (days before)";
2281
+ readonly description: "Clients may book a one-to-one session this many days ahead.";
2282
+ readonly default: 28;
2283
+ readonly min: 0;
2284
+ readonly max: 365;
2285
+ readonly personApproves: true;
2286
+ };
2287
+ readonly appointmentClosesMinutes: {
2288
+ readonly type: "number";
2289
+ readonly label: "Appointments: booking closes (minutes before)";
2290
+ readonly description: "Clients may book a session until this many minutes before it (720: 12 hours).";
2291
+ readonly default: 720;
2292
+ readonly min: 0;
2293
+ readonly max: 10080;
2294
+ readonly personApproves: true;
2295
+ };
2296
+ readonly appointmentLateMinutes: {
2297
+ readonly type: "number";
2298
+ readonly label: "Appointments: late cancel from (minutes before)";
2299
+ readonly description: string;
2300
+ readonly default: 1440;
2301
+ readonly min: 0;
1030
2302
  readonly max: 10080;
1031
2303
  readonly personApproves: true;
1032
2304
  };
2305
+ readonly bookingsUrl: {
2306
+ readonly type: "text";
2307
+ readonly label: "Where members see their bookings";
2308
+ readonly description: string;
2309
+ readonly personApproves: true;
2310
+ };
2311
+ readonly feedbackForm: {
2312
+ readonly type: "text";
2313
+ readonly label: "Feedback form (its address)";
2314
+ readonly description: string;
2315
+ readonly personApproves: true;
2316
+ };
2317
+ readonly feedbackMinutes: {
2318
+ readonly type: "number";
2319
+ readonly label: "Feedback asked (minutes after the tick)";
2320
+ readonly description: "How long after a member is ticked as come the feedback email goes.";
2321
+ readonly default: 180;
2322
+ readonly min: 0;
2323
+ readonly max: 2880;
2324
+ readonly personApproves: true;
2325
+ };
1033
2326
  };
1034
2327
  readonly roles: {
1035
2328
  readonly coach: {
@@ -1051,6 +2344,11 @@ declare const _default: import("@composable-os/sdk").Extension<{
1051
2344
  };
1052
2345
  };
1053
2346
  };
2347
+ readonly grantable: readonly ["bookings:desk", "bookings:appointments"];
2348
+ readonly grantableLabels: {
2349
+ readonly "bookings:desk": string;
2350
+ readonly "bookings:appointments": string;
2351
+ };
1054
2352
  readonly tools: {
1055
2353
  readonly timetable: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1056
2354
  from: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1169,6 +2467,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
1169
2467
  classId: import("zod").ZodString;
1170
2468
  forPersonId: import("zod").ZodOptional<import("zod").ZodString>;
1171
2469
  email: import("zod").ZodOptional<import("zod").ZodString>;
2470
+ agreements: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1172
2471
  }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1173
2472
  result: import("zod").ZodLiteral<"pending">;
1174
2473
  bookingId: import("zod").ZodString;
@@ -1298,10 +2597,10 @@ declare const _default: import("@composable-os/sdk").Extension<{
1298
2597
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
1299
2598
  booked: "booked";
1300
2599
  waiting: "waiting";
1301
- pending: "pending";
1302
- left: "left";
1303
2600
  cancelled: "cancelled";
1304
2601
  late_cancelled: "late_cancelled";
2602
+ pending: "pending";
2603
+ left: "left";
1305
2604
  }>>;
1306
2605
  upcoming: import("zod").ZodDefault<import("zod").ZodBoolean>;
1307
2606
  limit: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -1525,6 +2824,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
1525
2824
  holderId: import("zod").ZodNullable<import("zod").ZodString>;
1526
2825
  bookedBy: import("zod").ZodNullable<import("zod").ZodString>;
1527
2826
  promotedAt: import("zod").ZodNullable<import("zod").ZodString>;
2827
+ healthNote: import("zod").ZodNullable<import("zod").ZodBoolean>;
1528
2828
  passedOver: import("zod").ZodNullable<import("zod").ZodString>;
1529
2829
  }, import("zod/v4/core").$strip>>;
1530
2830
  }, import("zod/v4/core").$strip>>;
@@ -1560,6 +2860,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
1560
2860
  markedAt: import("zod").ZodNullable<import("zod").ZodString>;
1561
2861
  markedBy: import("zod").ZodNullable<import("zod").ZodString>;
1562
2862
  promotedAt: import("zod").ZodNullable<import("zod").ZodString>;
2863
+ healthNote: import("zod").ZodNullable<import("zod").ZodBoolean>;
1563
2864
  }, import("zod/v4/core").$strip>>;
1564
2865
  }, import("zod/v4/core").$strip>>;
1565
2866
  readonly markAttended: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
@@ -1740,6 +3041,372 @@ declare const _default: import("@composable-os/sdk").Extension<{
1740
3041
  self: import("zod").ZodBoolean;
1741
3042
  }, import("zod/v4/core").$strip>>;
1742
3043
  }, import("zod/v4/core").$strip>>;
3044
+ readonly bookAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3045
+ serviceId: import("zod").ZodString;
3046
+ startsAt: import("zod").ZodString;
3047
+ personId: import("zod").ZodString;
3048
+ coachId: import("zod").ZodOptional<import("zod").ZodString>;
3049
+ roomId: import("zod").ZodOptional<import("zod").ZodString>;
3050
+ holderId: import("zod").ZodOptional<import("zod").ZodString>;
3051
+ paidAtDesk: import("zod").ZodDefault<import("zod").ZodBoolean>;
3052
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3053
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3054
+ result: import("zod").ZodLiteral<"booked">;
3055
+ appointmentId: import("zod").ZodString;
3056
+ coachId: import("zod").ZodNullable<import("zod").ZodString>;
3057
+ roomId: import("zod").ZodNullable<import("zod").ZodString>;
3058
+ startsAt: import("zod").ZodNullable<import("zod").ZodString>;
3059
+ endsAt: import("zod").ZodNullable<import("zod").ZodString>;
3060
+ holderId: import("zod").ZodNullable<import("zod").ZodString>;
3061
+ paidAtDesk: import("zod").ZodBoolean;
3062
+ warnings: import("zod").ZodArray<import("zod").ZodObject<{
3063
+ code: import("zod").ZodString;
3064
+ message: import("zod").ZodString;
3065
+ }, import("zod/v4/core").$strip>>;
3066
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3067
+ result: import("zod").ZodLiteral<"refused">;
3068
+ reason: import("zod").ZodEnum<{
3069
+ no_use: "no_use";
3070
+ too_late: "too_late";
3071
+ not_found: "not_found";
3072
+ changed: "changed";
3073
+ not_started: "not_started";
3074
+ not_booked: "not_booked";
3075
+ started: "started";
3076
+ double_booked: "double_booked";
3077
+ room_taken: "room_taken";
3078
+ no_account: "no_account";
3079
+ no_coach_free: "no_coach_free";
3080
+ not_offered: "not_offered";
3081
+ same_time: "same_time";
3082
+ }>;
3083
+ message: import("zod").ZodString;
3084
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3085
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3086
+ }, import("zod/v4/core").$strip>]>>;
3087
+ readonly moveAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3088
+ appointmentId: import("zod").ZodString;
3089
+ startsAt: import("zod").ZodString;
3090
+ coachId: import("zod").ZodOptional<import("zod").ZodString>;
3091
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3092
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3093
+ result: import("zod").ZodLiteral<"booked">;
3094
+ appointmentId: import("zod").ZodString;
3095
+ coachId: import("zod").ZodNullable<import("zod").ZodString>;
3096
+ roomId: import("zod").ZodNullable<import("zod").ZodString>;
3097
+ startsAt: import("zod").ZodNullable<import("zod").ZodString>;
3098
+ endsAt: import("zod").ZodNullable<import("zod").ZodString>;
3099
+ holderId: import("zod").ZodNullable<import("zod").ZodString>;
3100
+ paidAtDesk: import("zod").ZodBoolean;
3101
+ warnings: import("zod").ZodArray<import("zod").ZodObject<{
3102
+ code: import("zod").ZodString;
3103
+ message: import("zod").ZodString;
3104
+ }, import("zod/v4/core").$strip>>;
3105
+ fromAppointmentId: import("zod").ZodString;
3106
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3107
+ result: import("zod").ZodLiteral<"refused">;
3108
+ reason: import("zod").ZodEnum<{
3109
+ no_use: "no_use";
3110
+ too_late: "too_late";
3111
+ not_found: "not_found";
3112
+ changed: "changed";
3113
+ not_started: "not_started";
3114
+ not_booked: "not_booked";
3115
+ started: "started";
3116
+ double_booked: "double_booked";
3117
+ room_taken: "room_taken";
3118
+ no_account: "no_account";
3119
+ no_coach_free: "no_coach_free";
3120
+ not_offered: "not_offered";
3121
+ same_time: "same_time";
3122
+ }>;
3123
+ message: import("zod").ZodString;
3124
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3125
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3126
+ }, import("zod/v4/core").$strip>]>>;
3127
+ readonly cancelAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3128
+ appointmentId: import("zod").ZodString;
3129
+ confirm: import("zod").ZodDefault<import("zod").ZodBoolean>;
3130
+ keepUse: import("zod").ZodDefault<import("zod").ZodBoolean>;
3131
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3132
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3133
+ result: import("zod").ZodEnum<{
3134
+ cancelled: "cancelled";
3135
+ late_cancelled: "late_cancelled";
3136
+ preview: "preview";
3137
+ }>;
3138
+ appointmentId: import("zod").ZodString;
3139
+ state: import("zod").ZodEnum<{
3140
+ cancelled: "cancelled";
3141
+ late_cancelled: "late_cancelled";
3142
+ }>;
3143
+ late: import("zod").ZodBoolean;
3144
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3145
+ result: import("zod").ZodLiteral<"refused">;
3146
+ reason: import("zod").ZodEnum<{
3147
+ no_use: "no_use";
3148
+ too_late: "too_late";
3149
+ not_found: "not_found";
3150
+ changed: "changed";
3151
+ not_started: "not_started";
3152
+ not_booked: "not_booked";
3153
+ started: "started";
3154
+ double_booked: "double_booked";
3155
+ room_taken: "room_taken";
3156
+ no_account: "no_account";
3157
+ no_coach_free: "no_coach_free";
3158
+ not_offered: "not_offered";
3159
+ same_time: "same_time";
3160
+ }>;
3161
+ message: import("zod").ZodString;
3162
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3163
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3164
+ }, import("zod/v4/core").$strip>]>>;
3165
+ readonly cancelAppointmentByUs: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3166
+ appointmentId: import("zod").ZodString;
3167
+ reason: import("zod").ZodString;
3168
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3169
+ result: import("zod").ZodLiteral<"cancelled_by_us">;
3170
+ appointmentId: import("zod").ZodString;
3171
+ }, import("zod/v4/core").$strip>>;
3172
+ readonly markAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3173
+ appointmentId: import("zod").ZodString;
3174
+ mark: import("zod").ZodEnum<{
3175
+ attended: "attended";
3176
+ no_show: "no_show";
3177
+ }>;
3178
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3179
+ result: import("zod").ZodEnum<{
3180
+ attended: "attended";
3181
+ no_show: "no_show";
3182
+ }>;
3183
+ appointmentId: import("zod").ZodString;
3184
+ message: import("zod").ZodString;
3185
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3186
+ result: import("zod").ZodLiteral<"refused">;
3187
+ reason: import("zod").ZodEnum<{
3188
+ no_use: "no_use";
3189
+ too_late: "too_late";
3190
+ not_found: "not_found";
3191
+ changed: "changed";
3192
+ not_started: "not_started";
3193
+ not_booked: "not_booked";
3194
+ started: "started";
3195
+ double_booked: "double_booked";
3196
+ room_taken: "room_taken";
3197
+ no_account: "no_account";
3198
+ no_coach_free: "no_coach_free";
3199
+ not_offered: "not_offered";
3200
+ same_time: "same_time";
3201
+ }>;
3202
+ message: import("zod").ZodString;
3203
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3204
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3205
+ }, import("zod/v4/core").$strip>]>>;
3206
+ readonly excuseAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3207
+ appointmentId: import("zod").ZodString;
3208
+ reason: import("zod").ZodString;
3209
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3210
+ result: import("zod").ZodLiteral<"excused">;
3211
+ appointmentId: import("zod").ZodString;
3212
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3213
+ result: import("zod").ZodLiteral<"refused">;
3214
+ reason: import("zod").ZodEnum<{
3215
+ no_use: "no_use";
3216
+ too_late: "too_late";
3217
+ not_found: "not_found";
3218
+ changed: "changed";
3219
+ not_started: "not_started";
3220
+ not_booked: "not_booked";
3221
+ started: "started";
3222
+ double_booked: "double_booked";
3223
+ room_taken: "room_taken";
3224
+ no_account: "no_account";
3225
+ no_coach_free: "no_coach_free";
3226
+ not_offered: "not_offered";
3227
+ same_time: "same_time";
3228
+ }>;
3229
+ message: import("zod").ZodString;
3230
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3231
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3232
+ }, import("zod/v4/core").$strip>]>>;
3233
+ readonly reassignAppointment: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3234
+ appointmentId: import("zod").ZodString;
3235
+ coachId: import("zod").ZodString;
3236
+ }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
3237
+ result: import("zod").ZodLiteral<"booked">;
3238
+ appointmentId: import("zod").ZodString;
3239
+ coachId: import("zod").ZodNullable<import("zod").ZodString>;
3240
+ roomId: import("zod").ZodNullable<import("zod").ZodString>;
3241
+ startsAt: import("zod").ZodNullable<import("zod").ZodString>;
3242
+ endsAt: import("zod").ZodNullable<import("zod").ZodString>;
3243
+ holderId: import("zod").ZodNullable<import("zod").ZodString>;
3244
+ paidAtDesk: import("zod").ZodBoolean;
3245
+ warnings: import("zod").ZodArray<import("zod").ZodObject<{
3246
+ code: import("zod").ZodString;
3247
+ message: import("zod").ZodString;
3248
+ }, import("zod/v4/core").$strip>>;
3249
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3250
+ result: import("zod").ZodLiteral<"refused">;
3251
+ reason: import("zod").ZodEnum<{
3252
+ no_use: "no_use";
3253
+ too_late: "too_late";
3254
+ not_found: "not_found";
3255
+ changed: "changed";
3256
+ not_started: "not_started";
3257
+ not_booked: "not_booked";
3258
+ started: "started";
3259
+ double_booked: "double_booked";
3260
+ room_taken: "room_taken";
3261
+ no_account: "no_account";
3262
+ no_coach_free: "no_coach_free";
3263
+ not_offered: "not_offered";
3264
+ same_time: "same_time";
3265
+ }>;
3266
+ message: import("zod").ZodString;
3267
+ detail: import("zod").ZodNullable<import("zod").ZodString>;
3268
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3269
+ }, import("zod/v4/core").$strip>]>>;
3270
+ readonly coachDay: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
3271
+ date: import("zod").ZodString;
3272
+ coachId: import("zod").ZodOptional<import("zod").ZodString>;
3273
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3274
+ date: import("zod").ZodString;
3275
+ timeZone: import("zod").ZodString;
3276
+ coaches: import("zod").ZodArray<import("zod").ZodObject<{
3277
+ coachId: import("zod").ZodString;
3278
+ name: import("zod").ZodNullable<import("zod").ZodString>;
3279
+ items: import("zod").ZodArray<import("zod").ZodObject<{
3280
+ kind: import("zod").ZodEnum<{
3281
+ shift: "shift";
3282
+ class: "class";
3283
+ appointment: "appointment";
3284
+ }>;
3285
+ object: import("zod").ZodString;
3286
+ id: import("zod").ZodString;
3287
+ title: import("zod").ZodNullable<import("zod").ZodString>;
3288
+ startsAt: import("zod").ZodNullable<import("zod").ZodString>;
3289
+ endsAt: import("zod").ZodNullable<import("zod").ZodString>;
3290
+ room: import("zod").ZodNullable<import("zod").ZodString>;
3291
+ state: import("zod").ZodNullable<import("zod").ZodString>;
3292
+ service: import("zod").ZodNullable<import("zod").ZodString>;
3293
+ client: import("zod").ZodNullable<import("zod").ZodObject<{
3294
+ id: import("zod").ZodString;
3295
+ name: import("zod").ZodNullable<import("zod").ZodString>;
3296
+ }, import("zod/v4/core").$strip>>;
3297
+ }, import("zod/v4/core").$strip>>;
3298
+ }, import("zod/v4/core").$strip>>;
3299
+ }, import("zod/v4/core").$strip>>;
3300
+ };
3301
+ readonly automations: {
3302
+ bookingConfirmed: import("@composable-os/sdk").AutomationSpec<{
3303
+ readonly type: "record";
3304
+ readonly object: "bookings.booking";
3305
+ readonly on: readonly ["created", "updated"];
3306
+ }>;
3307
+ waitlistPassedOver: import("@composable-os/sdk").AutomationSpec<{
3308
+ readonly type: "fieldChanged";
3309
+ readonly object: "bookings.booking";
3310
+ readonly field: "passedOverReason";
3311
+ }>;
3312
+ placeFree: import("@composable-os/sdk").AutomationSpec<{
3313
+ readonly type: "fieldChanged";
3314
+ readonly object: "bookings.booking";
3315
+ readonly field: "state";
3316
+ readonly from: "booked";
3317
+ readonly to: {
3318
+ readonly in: readonly ["cancelled", "late_cancelled", "excused"];
3319
+ };
3320
+ }>;
3321
+ classChanged: import("@composable-os/sdk").AutomationSpec<{
3322
+ readonly type: "record";
3323
+ readonly object: "bookings.class";
3324
+ readonly on: readonly ["updated"];
3325
+ readonly includeBulk: true;
3326
+ }>;
3327
+ classCancelled: import("@composable-os/sdk").AutomationSpec<{
3328
+ readonly type: "fieldChanged";
3329
+ readonly object: "bookings.class";
3330
+ readonly field: "state";
3331
+ readonly from: "scheduled";
3332
+ readonly to: "cancelled";
3333
+ readonly includeBulk: true;
3334
+ }>;
3335
+ classReminder: import("@composable-os/sdk").AutomationSpec<{
3336
+ readonly type: "dateRelative";
3337
+ readonly object: "bookings.class";
3338
+ readonly field: "startsAt";
3339
+ readonly minutesBefore: {
3340
+ readonly field: "classType.reminderMinutes";
3341
+ readonly setting: "reminderMinutes";
3342
+ };
3343
+ }>;
3344
+ dropInOrder: import("@composable-os/sdk").AutomationSpec<{
3345
+ readonly type: "fieldChanged";
3346
+ readonly object: "order";
3347
+ readonly field: "state";
3348
+ readonly to: {
3349
+ readonly in: readonly ["paid", "refunded"];
3350
+ };
3351
+ }>;
3352
+ noAttendanceTaken: import("@composable-os/sdk").AutomationSpec<{
3353
+ readonly type: "dateRelative";
3354
+ readonly object: "bookings.class";
3355
+ readonly field: "endsAt";
3356
+ readonly minutesAfter: 60;
3357
+ }>;
3358
+ feedbackAfterClass: import("@composable-os/sdk").AutomationSpec<{
3359
+ readonly type: "dateRelative";
3360
+ readonly object: "bookings.booking";
3361
+ readonly field: "markedAt";
3362
+ readonly minutesAfter: {
3363
+ readonly setting: "feedbackMinutes";
3364
+ };
3365
+ }>;
3366
+ };
3367
+ readonly dashboards: {
3368
+ bookings: import("@composable-os/sdk").DashboardDeclaration;
3369
+ };
3370
+ readonly screens: {
3371
+ readonly desk: {
3372
+ readonly label: "Front desk";
3373
+ readonly block: "bookings-desk";
3374
+ readonly export: "FrontDesk";
3375
+ readonly nav: {
3376
+ readonly group: "Bookings";
3377
+ readonly order: 10;
3378
+ };
3379
+ readonly opens: readonly ["findPeople", "bookFor"];
3380
+ };
3381
+ readonly classList: {
3382
+ readonly label: "Class list";
3383
+ readonly block: "bookings-class-list";
3384
+ readonly export: "TodayClassList";
3385
+ readonly nav: {
3386
+ readonly group: "Bookings";
3387
+ readonly order: 20;
3388
+ };
3389
+ readonly opens: readonly ["roster", "markAttended"];
3390
+ readonly record: {
3391
+ readonly object: "bookings.class";
3392
+ readonly as: "classId";
3393
+ };
3394
+ };
3395
+ };
3396
+ readonly portal: {
3397
+ readonly bookings: {
3398
+ readonly label: "Bookings";
3399
+ readonly web: {
3400
+ readonly block: "bookings-timetable";
3401
+ readonly export: "Timetable";
3402
+ };
3403
+ readonly native: {
3404
+ readonly block: "bookings-native-timetable";
3405
+ readonly export: "TimetableScreen";
3406
+ };
3407
+ readonly order: 10;
3408
+ readonly has: readonly ["bookings.booking"];
3409
+ };
1743
3410
  };
1744
3411
  }>;
1745
3412
  export default _default;