@sprucelabs/spruce-calendar-components 20.11.0 → 20.11.1

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.
@@ -1000,637 +1000,131 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1000
1000
  type CreateCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema>;
1001
1001
  }
1002
1002
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1003
- interface CreateCalendarEventTypeEmitPayload {
1004
- 'name': string;
1005
- 'slug': string;
1006
- 'viewControllerId'?: string | undefined | null;
1007
- 'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
1003
+ interface DeleteCalendarEmitTarget {
1004
+ 'organizationId': string;
1005
+ 'calendarId': string;
1008
1006
  }
1009
- interface CreateCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
1010
- id: 'createCalendarEventTypeEmitPayload';
1007
+ interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1008
+ id: 'deleteCalendarEmitTarget';
1011
1009
  version: 'v2021_05_19';
1012
1010
  namespace: 'Calendar';
1013
1011
  name: '';
1014
1012
  fields: {
1015
1013
  /** . */
1016
- 'name': {
1017
- type: 'text';
1014
+ 'organizationId': {
1015
+ type: 'id';
1018
1016
  isRequired: true;
1019
1017
  options: undefined;
1020
1018
  };
1021
1019
  /** . */
1022
- 'slug': {
1023
- type: 'text';
1020
+ 'calendarId': {
1021
+ type: 'id';
1024
1022
  isRequired: true;
1025
1023
  options: undefined;
1026
1024
  };
1025
+ };
1026
+ }
1027
+ type DeleteCalendarEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema>;
1028
+ }
1029
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1030
+ interface DeleteCalendarEmitTargetAndPayload {
1031
+ /** Source. */
1032
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1033
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1034
+ }
1035
+ interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1036
+ id: 'deleteCalendarEmitTargetAndPayload';
1037
+ version: 'v2021_05_19';
1038
+ namespace: 'Calendar';
1039
+ name: '';
1040
+ fields: {
1041
+ /** Source. */
1042
+ 'source': {
1043
+ label: 'Source';
1044
+ type: 'schema';
1045
+ options: {
1046
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1047
+ };
1048
+ };
1027
1049
  /** . */
1028
- 'viewControllerId': {
1050
+ 'target': {
1051
+ type: 'schema';
1052
+ isRequired: true;
1053
+ options: {
1054
+ schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1055
+ };
1056
+ };
1057
+ };
1058
+ }
1059
+ type DeleteCalendarEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema>;
1060
+ }
1061
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1062
+ interface DeleteCalendarResponsePayload {
1063
+ 'totalDeleted'?: number | undefined | null;
1064
+ }
1065
+ interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1066
+ id: 'deleteCalendarResponsePayload';
1067
+ version: 'v2021_05_19';
1068
+ namespace: 'Calendar';
1069
+ name: '';
1070
+ fields: {
1071
+ /** . */
1072
+ 'totalDeleted': {
1073
+ type: 'number';
1074
+ options: undefined;
1075
+ };
1076
+ };
1077
+ }
1078
+ type DeleteCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema>;
1079
+ }
1080
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1081
+ interface DidCancelCalendarEventEmitTarget {
1082
+ 'locationId': string;
1083
+ 'calendarEventId': string;
1084
+ }
1085
+ interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1086
+ id: 'didCancelCalendarEventEmitTarget';
1087
+ version: 'v2021_05_19';
1088
+ namespace: 'Calendar';
1089
+ name: '';
1090
+ fields: {
1091
+ /** . */
1092
+ 'locationId': {
1029
1093
  type: 'id';
1094
+ isRequired: true;
1030
1095
  options: undefined;
1031
1096
  };
1032
1097
  /** . */
1033
- 'lineIcon': {
1098
+ 'calendarEventId': {
1099
+ type: 'id';
1100
+ isRequired: true;
1101
+ options: undefined;
1102
+ };
1103
+ };
1104
+ }
1105
+ type DidCancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema>;
1106
+ }
1107
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1108
+ interface DidCancelCalendarEventEmitPayload {
1109
+ 'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
1110
+ }
1111
+ interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1112
+ id: 'didCancelCalendarEventEmitPayload';
1113
+ version: 'v2021_05_19';
1114
+ namespace: 'Calendar';
1115
+ name: '';
1116
+ fields: {
1117
+ /** . */
1118
+ 'cancelStrategy': {
1034
1119
  type: 'select';
1120
+ isRequired: true;
1035
1121
  options: {
1036
1122
  choices: [{
1037
- "value": "sprucebot";
1038
- "label": "sprucebot";
1039
- }, {
1040
- "value": "add-circle";
1041
- "label": "add-circle";
1042
- }, {
1043
- "value": "chevron-left";
1044
- "label": "chevron-left";
1045
- }, {
1046
- "value": "document-text";
1047
- "label": "document-text";
1048
- }, {
1049
- "value": "link-angle";
1050
- "label": "link-angle";
1051
- }, {
1052
- "value": "play-circle";
1053
- "label": "play-circle";
1054
- }, {
1055
- "value": "star";
1056
- "label": "star";
1057
- }, {
1058
- "value": "add-square";
1059
- "label": "add-square";
1060
- }, {
1061
- "value": "chevron-right";
1062
- "label": "chevron-right";
1063
- }, {
1064
- "value": "download-cloud";
1065
- "label": "download-cloud";
1066
- }, {
1067
- "value": "link-flat";
1068
- "label": "link-flat";
1069
- }, {
1070
- "value": "present";
1071
- "label": "present";
1072
- }, {
1073
- "value": "sun";
1074
- "label": "sun";
1075
- }, {
1076
- "value": "add";
1077
- "label": "add";
1078
- }, {
1079
- "value": "chevron-up";
1080
- "label": "chevron-up";
1081
- }, {
1082
- "value": "download";
1083
- "label": "download";
1084
- }, {
1085
- "value": "loader";
1086
- "label": "loader";
1087
- }, {
1088
- "value": "refresh-circle";
1089
- "label": "refresh-circle";
1090
- }, {
1091
- "value": "tag";
1092
- "label": "tag";
1093
- }, {
1094
- "value": "alarm";
1095
- "label": "alarm";
1096
- }, {
1097
- "value": "clipboard";
1098
- "label": "clipboard";
1099
- }, {
1100
- "value": "edit-box";
1101
- "label": "edit-box";
1102
- }, {
1103
- "value": "location-pin";
1104
- "label": "location-pin";
1105
- }, {
1106
- "value": "refresh";
1107
- "label": "refresh";
1108
- }, {
1109
- "value": "time";
1110
- "label": "time";
1111
- }, {
1112
- "value": "arrow-back";
1113
- "label": "arrow-back";
1114
- }, {
1115
- "value": "clock";
1116
- "label": "clock";
1117
- }, {
1118
- "value": "edit-line";
1119
- "label": "edit-line";
1120
- }, {
1121
- "value": "lock";
1122
- "label": "lock";
1123
- }, {
1124
- "value": "repeat";
1125
- "label": "repeat";
1126
- }, {
1127
- "value": "tool";
1128
- "label": "tool";
1129
- }, {
1130
- "value": "arrow-down-circle";
1131
- "label": "arrow-down-circle";
1132
- }, {
1133
- "value": "close-circle";
1134
- "label": "close-circle";
1135
- }, {
1136
- "value": "email";
1137
- "label": "email";
1138
- }, {
1139
- "value": "map";
1140
- "label": "map";
1141
- }, {
1142
- "value": "restricted";
1143
- "label": "restricted";
1144
- }, {
1145
- "value": "trending-down";
1146
- "label": "trending-down";
1147
- }, {
1148
- "value": "arrow-down";
1149
- "label": "arrow-down";
1150
- }, {
1151
- "value": "close-square";
1152
- "label": "close-square";
1153
- }, {
1154
- "value": "emoji-happy";
1155
- "label": "emoji-happy";
1156
- }, {
1157
- "value": "message-circle";
1158
- "label": "message-circle";
1159
- }, {
1160
- "value": "rotate";
1161
- "label": "rotate";
1162
- }, {
1163
- "value": "trending-up";
1164
- "label": "trending-up";
1165
- }, {
1166
- "value": "arrow-next";
1167
- "label": "arrow-next";
1168
- }, {
1169
- "value": "close";
1170
- "label": "close";
1171
- }, {
1172
- "value": "emoji-sad";
1173
- "label": "emoji-sad";
1123
+ "value": "only-this-one";
1124
+ "label": "Specific dates";
1174
1125
  }, {
1175
- "value": "message-square";
1176
- "label": "message-square";
1177
- }, {
1178
- "value": "search-no";
1179
- "label": "search-no";
1180
- }, {
1181
- "value": "triangle";
1182
- "label": "triangle";
1183
- }, {
1184
- "value": "arrow-up-circle";
1185
- "label": "arrow-up-circle";
1186
- }, {
1187
- "value": "code";
1188
- "label": "code";
1189
- }, {
1190
- "value": "external-link";
1191
- "label": "external-link";
1192
- }, {
1193
- "value": "mic-off";
1194
- "label": "mic-off";
1195
- }, {
1196
- "value": "search";
1197
- "label": "search";
1198
- }, {
1199
- "value": "unlock";
1200
- "label": "unlock";
1201
- }, {
1202
- "value": "arrow-up";
1203
- "label": "arrow-up";
1204
- }, {
1205
- "value": "coffee";
1206
- "label": "coffee";
1207
- }, {
1208
- "value": "fav-heart";
1209
- "label": "fav-heart";
1210
- }, {
1211
- "value": "mic-on";
1212
- "label": "mic-on";
1213
- }, {
1214
- "value": "selector-checked";
1215
- "label": "selector-checked";
1216
- }, {
1217
- "value": "upload-cloud";
1218
- "label": "upload-cloud";
1219
- }, {
1220
- "value": "attachment";
1221
- "label": "attachment";
1222
- }, {
1223
- "value": "command";
1224
- "label": "command";
1225
- }, {
1226
- "value": "flag";
1227
- "label": "flag";
1228
- }, {
1229
- "value": "minus-circle";
1230
- "label": "minus-circle";
1231
- }, {
1232
- "value": "selector-circle-filled";
1233
- "label": "selector-circle-filled";
1234
- }, {
1235
- "value": "upload";
1236
- "label": "upload";
1237
- }, {
1238
- "value": "award-badge";
1239
- "label": "award-badge";
1240
- }, {
1241
- "value": "corner-down-left";
1242
- "label": "corner-down-left";
1243
- }, {
1244
- "value": "flip-01";
1245
- "label": "flip-01";
1246
- }, {
1247
- "value": "minus-square";
1248
- "label": "minus-square";
1249
- }, {
1250
- "value": "selector-circle";
1251
- "label": "selector-circle";
1252
- }, {
1253
- "value": "user-add";
1254
- "label": "user-add";
1255
- }, {
1256
- "value": "binoculars";
1257
- "label": "binoculars";
1258
- }, {
1259
- "value": "corner-down-right";
1260
- "label": "corner-down-right";
1261
- }, {
1262
- "value": "flip-02";
1263
- "label": "flip-02";
1264
- }, {
1265
- "value": "money-sign";
1266
- "label": "money-sign";
1267
- }, {
1268
- "value": "send";
1269
- "label": "send";
1270
- }, {
1271
- "value": "user-delete";
1272
- "label": "user-delete";
1273
- }, {
1274
- "value": "bolt";
1275
- "label": "bolt";
1276
- }, {
1277
- "value": "corner-left-down";
1278
- "label": "corner-left-down";
1279
- }, {
1280
- "value": "folder";
1281
- "label": "folder";
1282
- }, {
1283
- "value": "more-horizontal";
1284
- "label": "more-horizontal";
1285
- }, {
1286
- "value": "settings-filled";
1287
- "label": "settings-filled";
1288
- }, {
1289
- "value": "user";
1290
- "label": "user";
1291
- }, {
1292
- "value": "book-open";
1293
- "label": "book-open";
1294
- }, {
1295
- "value": "corner-left-up";
1296
- "label": "corner-left-up";
1297
- }, {
1298
- "value": "globe";
1299
- "label": "globe";
1300
- }, {
1301
- "value": "more-vertical";
1302
- "label": "more-vertical";
1303
- }, {
1304
- "value": "settings";
1305
- "label": "settings";
1306
- }, {
1307
- "value": "users";
1308
- "label": "users";
1309
- }, {
1310
- "value": "book";
1311
- "label": "book";
1312
- }, {
1313
- "value": "corner-right-down";
1314
- "label": "corner-right-down";
1315
- }, {
1316
- "value": "hash-tag";
1317
- "label": "hash-tag";
1318
- }, {
1319
- "value": "notification-off";
1320
- "label": "notification-off";
1321
- }, {
1322
- "value": "share";
1323
- "label": "share";
1324
- }, {
1325
- "value": "video-off";
1326
- "label": "video-off";
1327
- }, {
1328
- "value": "bookmark";
1329
- "label": "bookmark";
1330
- }, {
1331
- "value": "corner-right-up";
1332
- "label": "corner-right-up";
1333
- }, {
1334
- "value": "headphones";
1335
- "label": "headphones";
1336
- }, {
1337
- "value": "notification-on";
1338
- "label": "notification-on";
1339
- }, {
1340
- "value": "shopping-bag";
1341
- "label": "shopping-bag";
1342
- }, {
1343
- "value": "video";
1344
- "label": "video";
1345
- }, {
1346
- "value": "calendar-add";
1347
- "label": "calendar-add";
1348
- }, {
1349
- "value": "corner-up-left";
1350
- "label": "corner-up-left";
1351
- }, {
1352
- "value": "help-buoy";
1353
- "label": "help-buoy";
1354
- }, {
1355
- "value": "object";
1356
- "label": "object";
1357
- }, {
1358
- "value": "shopping-cart";
1359
- "label": "shopping-cart";
1360
- }, {
1361
- "value": "warning";
1362
- "label": "warning";
1363
- }, {
1364
- "value": "calendar";
1365
- "label": "calendar";
1366
- }, {
1367
- "value": "corner-up-right";
1368
- "label": "corner-up-right";
1369
- }, {
1370
- "value": "help-circle";
1371
- "label": "help-circle";
1372
- }, {
1373
- "value": "pause-circle";
1374
- "label": "pause-circle";
1375
- }, {
1376
- "value": "sort-filter-down";
1377
- "label": "sort-filter-down";
1378
- }, {
1379
- "value": "wifi";
1380
- "label": "wifi";
1381
- }, {
1382
- "value": "camera";
1383
- "label": "camera";
1384
- }, {
1385
- "value": "crop";
1386
- "label": "crop";
1387
- }, {
1388
- "value": "home";
1389
- "label": "home";
1390
- }, {
1391
- "value": "phone-unavailable";
1392
- "label": "phone-unavailable";
1393
- }, {
1394
- "value": "sort-filter-up";
1395
- "label": "sort-filter-up";
1396
- }, {
1397
- "value": "zoom-in";
1398
- "label": "zoom-in";
1399
- }, {
1400
- "value": "cellphone";
1401
- "label": "cellphone";
1402
- }, {
1403
- "value": "delete";
1404
- "label": "delete";
1405
- }, {
1406
- "value": "info";
1407
- "label": "info";
1408
- }, {
1409
- "value": "phone";
1410
- "label": "phone";
1411
- }, {
1412
- "value": "sound-off";
1413
- "label": "sound-off";
1414
- }, {
1415
- "value": "zoom-out";
1416
- "label": "zoom-out";
1417
- }, {
1418
- "value": "checkmark";
1419
- "label": "checkmark";
1420
- }, {
1421
- "value": "document-blank";
1422
- "label": "document-blank";
1423
- }, {
1424
- "value": "jump";
1425
- "label": "jump";
1426
- }, {
1427
- "value": "photo";
1428
- "label": "photo";
1429
- }, {
1430
- "value": "sound-on";
1431
- "label": "sound-on";
1432
- }, {
1433
- "value": "chevron-down";
1434
- "label": "chevron-down";
1435
- }, {
1436
- "value": "document-new";
1437
- "label": "document-new";
1438
- }, {
1439
- "value": "layers";
1440
- "label": "layers";
1441
- }, {
1442
- "value": "picked";
1443
- "label": "picked";
1444
- }, {
1445
- "value": "star-filled";
1446
- "label": "star-filled";
1447
- }];
1448
- };
1449
- };
1450
- };
1451
- }
1452
- type CreateCalendarEventTypeEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayloadSchema>;
1453
- }
1454
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1455
- interface CreateCalendarEventTypeEmitTargetAndPayload {
1456
- /** Source. */
1457
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1458
- 'payload': SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayload;
1459
- }
1460
- interface CreateCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1461
- id: 'createCalendarEventTypeEmitTargetAndPayload';
1462
- version: 'v2021_05_19';
1463
- namespace: 'Calendar';
1464
- name: '';
1465
- fields: {
1466
- /** Source. */
1467
- 'source': {
1468
- label: 'Source';
1469
- type: 'schema';
1470
- options: {
1471
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1472
- };
1473
- };
1474
- /** . */
1475
- 'payload': {
1476
- type: 'schema';
1477
- isRequired: true;
1478
- options: {
1479
- schema: SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayloadSchema;
1480
- };
1481
- };
1482
- };
1483
- }
1484
- type CreateCalendarEventTypeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitTargetAndPayloadSchema>;
1485
- }
1486
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1487
- interface CreateCalendarEventTypeResponsePayload {
1488
- 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
1489
- }
1490
- interface CreateCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
1491
- id: 'createCalendarEventTypeResponsePayload';
1492
- version: 'v2021_05_19';
1493
- namespace: 'Calendar';
1494
- name: '';
1495
- fields: {
1496
- /** . */
1497
- 'calendarEventType': {
1498
- type: 'schema';
1499
- isRequired: true;
1500
- options: {
1501
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
1502
- };
1503
- };
1504
- };
1505
- }
1506
- type CreateCalendarEventTypeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema>;
1507
- }
1508
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1509
- interface DeleteCalendarEmitTarget {
1510
- 'organizationId': string;
1511
- 'calendarId': string;
1512
- }
1513
- interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1514
- id: 'deleteCalendarEmitTarget';
1515
- version: 'v2021_05_19';
1516
- namespace: 'Calendar';
1517
- name: '';
1518
- fields: {
1519
- /** . */
1520
- 'organizationId': {
1521
- type: 'id';
1522
- isRequired: true;
1523
- options: undefined;
1524
- };
1525
- /** . */
1526
- 'calendarId': {
1527
- type: 'id';
1528
- isRequired: true;
1529
- options: undefined;
1530
- };
1531
- };
1532
- }
1533
- type DeleteCalendarEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema>;
1534
- }
1535
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1536
- interface DeleteCalendarEmitTargetAndPayload {
1537
- /** Source. */
1538
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1539
- 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1540
- }
1541
- interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1542
- id: 'deleteCalendarEmitTargetAndPayload';
1543
- version: 'v2021_05_19';
1544
- namespace: 'Calendar';
1545
- name: '';
1546
- fields: {
1547
- /** Source. */
1548
- 'source': {
1549
- label: 'Source';
1550
- type: 'schema';
1551
- options: {
1552
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1553
- };
1554
- };
1555
- /** . */
1556
- 'target': {
1557
- type: 'schema';
1558
- isRequired: true;
1559
- options: {
1560
- schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1561
- };
1562
- };
1563
- };
1564
- }
1565
- type DeleteCalendarEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema>;
1566
- }
1567
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1568
- interface DeleteCalendarResponsePayload {
1569
- 'totalDeleted'?: number | undefined | null;
1570
- }
1571
- interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1572
- id: 'deleteCalendarResponsePayload';
1573
- version: 'v2021_05_19';
1574
- namespace: 'Calendar';
1575
- name: '';
1576
- fields: {
1577
- /** . */
1578
- 'totalDeleted': {
1579
- type: 'number';
1580
- options: undefined;
1581
- };
1582
- };
1583
- }
1584
- type DeleteCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema>;
1585
- }
1586
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1587
- interface DidCancelCalendarEventEmitTarget {
1588
- 'locationId': string;
1589
- 'calendarEventId': string;
1590
- }
1591
- interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1592
- id: 'didCancelCalendarEventEmitTarget';
1593
- version: 'v2021_05_19';
1594
- namespace: 'Calendar';
1595
- name: '';
1596
- fields: {
1597
- /** . */
1598
- 'locationId': {
1599
- type: 'id';
1600
- isRequired: true;
1601
- options: undefined;
1602
- };
1603
- /** . */
1604
- 'calendarEventId': {
1605
- type: 'id';
1606
- isRequired: true;
1607
- options: undefined;
1608
- };
1609
- };
1610
- }
1611
- type DidCancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema>;
1612
- }
1613
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1614
- interface DidCancelCalendarEventEmitPayload {
1615
- 'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
1616
- }
1617
- interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1618
- id: 'didCancelCalendarEventEmitPayload';
1619
- version: 'v2021_05_19';
1620
- namespace: 'Calendar';
1621
- name: '';
1622
- fields: {
1623
- /** . */
1624
- 'cancelStrategy': {
1625
- type: 'select';
1626
- isRequired: true;
1627
- options: {
1628
- choices: [{
1629
- "value": "only-this-one";
1630
- "label": "Specific dates";
1631
- }, {
1632
- "value": "all-going-forward";
1633
- "label": "This and all going forward";
1126
+ "value": "all-going-forward";
1127
+ "label": "This and all going forward";
1634
1128
  }, {
1635
1129
  "value": "all";
1636
1130
  "label": "All";
@@ -1798,6 +1292,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1798
1292
  }
1799
1293
  type GetAvailableTimeSlotsEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTargetSchema>;
1800
1294
  }
1295
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1296
+ interface GetAvailableTimeSlotsEmitTargetAndPayload {
1297
+ /** Source. */
1298
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1299
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTarget;
1300
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayload;
1301
+ }
1302
+ interface GetAvailableTimeSlotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1303
+ id: 'getAvailableTimeSlotsEmitTargetAndPayload';
1304
+ version: 'v2021_05_19';
1305
+ namespace: 'Calendar';
1306
+ name: '';
1307
+ fields: {
1308
+ /** Source. */
1309
+ 'source': {
1310
+ label: 'Source';
1311
+ type: 'schema';
1312
+ options: {
1313
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1314
+ };
1315
+ };
1316
+ /** . */
1317
+ 'target': {
1318
+ type: 'schema';
1319
+ isRequired: true;
1320
+ options: {
1321
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTargetSchema;
1322
+ };
1323
+ };
1324
+ /** . */
1325
+ 'payload': {
1326
+ type: 'schema';
1327
+ isRequired: true;
1328
+ options: {
1329
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema;
1330
+ };
1331
+ };
1332
+ };
1333
+ }
1334
+ type GetAvailableTimeSlotsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTargetAndPayloadSchema>;
1335
+ }
1801
1336
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1802
1337
  interface Teammates {
1803
1338
  'personId': string;
@@ -1853,39 +1388,564 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1853
1388
  /** . */
1854
1389
  'calculationMode': {
1855
1390
  type: 'select';
1856
- isRequired: true;
1391
+ isRequired: true;
1392
+ options: {
1393
+ choices: [{
1394
+ "value": "intersect";
1395
+ "label": "Intersect";
1396
+ }, {
1397
+ "value": "contiguous";
1398
+ "label": "Contiguous";
1399
+ }];
1400
+ };
1401
+ };
1402
+ /** . */
1403
+ 'teammates': {
1404
+ type: 'schema';
1405
+ isRequired: true;
1406
+ isArray: true;
1407
+ options: {
1408
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesSchema;
1409
+ };
1410
+ };
1411
+ };
1412
+ }
1413
+ type GetAvailableTimeSlotsEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema>;
1414
+ }
1415
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1416
+ interface GetAvailableTimeSlotsResponsePayload {
1417
+ 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
1418
+ }
1419
+ interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
1420
+ id: 'getAvailableTimeSlotsResponsePayload';
1421
+ version: 'v2021_05_19';
1422
+ namespace: 'Calendar';
1423
+ name: '';
1424
+ fields: {
1425
+ /** . */
1426
+ 'times': {
1427
+ type: 'schema';
1428
+ isRequired: true;
1429
+ isArray: true;
1430
+ minArrayLength: 0;
1431
+ options: {
1432
+ schema: SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema;
1433
+ };
1434
+ };
1435
+ };
1436
+ }
1437
+ type GetAvailableTimeSlotsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema>;
1438
+ }
1439
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1440
+ interface TeammatesTimeslots {
1441
+ 'personId': string;
1442
+ 'startDateTimeMs': number;
1443
+ }
1444
+ interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1445
+ id: 'teammatesTimeslots';
1446
+ version: 'v2021_05_19';
1447
+ namespace: 'Calendar';
1448
+ name: '';
1449
+ fields: {
1450
+ /** . */
1451
+ 'personId': {
1452
+ type: 'id';
1453
+ isRequired: true;
1454
+ options: undefined;
1455
+ };
1456
+ /** . */
1457
+ 'startDateTimeMs': {
1458
+ type: 'number';
1459
+ isRequired: true;
1460
+ options: undefined;
1461
+ };
1462
+ };
1463
+ }
1464
+ type TeammatesTimeslotsEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema>;
1465
+ }
1466
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1467
+ interface Timeslots {
1468
+ 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1469
+ }
1470
+ interface TimeslotsSchema extends SpruceSchema.Schema {
1471
+ id: 'timeslots';
1472
+ version: 'v2021_05_19';
1473
+ namespace: 'Calendar';
1474
+ name: '';
1475
+ fields: {
1476
+ /** . */
1477
+ 'slots': {
1478
+ type: 'schema';
1479
+ isRequired: true;
1480
+ isArray: true;
1481
+ options: {
1482
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
1483
+ };
1484
+ };
1485
+ };
1486
+ }
1487
+ type TimeslotsEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema>;
1488
+ }
1489
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1490
+ interface CreateCalendarEventTypeEmitPayload {
1491
+ 'name': string;
1492
+ 'slug': string;
1493
+ 'viewControllerId'?: string | undefined | null;
1494
+ 'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
1495
+ }
1496
+ interface CreateCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
1497
+ id: 'createCalendarEventTypeEmitPayload';
1498
+ version: 'v2021_05_19';
1499
+ namespace: 'Calendar';
1500
+ name: '';
1501
+ fields: {
1502
+ /** . */
1503
+ 'name': {
1504
+ type: 'text';
1505
+ isRequired: true;
1506
+ options: undefined;
1507
+ };
1508
+ /** . */
1509
+ 'slug': {
1510
+ type: 'text';
1511
+ isRequired: true;
1512
+ options: undefined;
1513
+ };
1514
+ /** . */
1515
+ 'viewControllerId': {
1516
+ type: 'id';
1517
+ options: undefined;
1518
+ };
1519
+ /** . */
1520
+ 'lineIcon': {
1521
+ type: 'select';
1857
1522
  options: {
1858
1523
  choices: [{
1859
- "value": "intersect";
1860
- "label": "Intersect";
1524
+ "value": "sprucebot";
1525
+ "label": "sprucebot";
1526
+ }, {
1527
+ "value": "add-circle";
1528
+ "label": "add-circle";
1529
+ }, {
1530
+ "value": "chevron-left";
1531
+ "label": "chevron-left";
1532
+ }, {
1533
+ "value": "document-text";
1534
+ "label": "document-text";
1535
+ }, {
1536
+ "value": "link-angle";
1537
+ "label": "link-angle";
1538
+ }, {
1539
+ "value": "play-circle";
1540
+ "label": "play-circle";
1541
+ }, {
1542
+ "value": "star";
1543
+ "label": "star";
1544
+ }, {
1545
+ "value": "add-square";
1546
+ "label": "add-square";
1547
+ }, {
1548
+ "value": "chevron-right";
1549
+ "label": "chevron-right";
1550
+ }, {
1551
+ "value": "download-cloud";
1552
+ "label": "download-cloud";
1553
+ }, {
1554
+ "value": "link-flat";
1555
+ "label": "link-flat";
1556
+ }, {
1557
+ "value": "present";
1558
+ "label": "present";
1559
+ }, {
1560
+ "value": "sun";
1561
+ "label": "sun";
1562
+ }, {
1563
+ "value": "add";
1564
+ "label": "add";
1565
+ }, {
1566
+ "value": "chevron-up";
1567
+ "label": "chevron-up";
1568
+ }, {
1569
+ "value": "download";
1570
+ "label": "download";
1571
+ }, {
1572
+ "value": "loader";
1573
+ "label": "loader";
1574
+ }, {
1575
+ "value": "refresh-circle";
1576
+ "label": "refresh-circle";
1577
+ }, {
1578
+ "value": "tag";
1579
+ "label": "tag";
1580
+ }, {
1581
+ "value": "alarm";
1582
+ "label": "alarm";
1583
+ }, {
1584
+ "value": "clipboard";
1585
+ "label": "clipboard";
1586
+ }, {
1587
+ "value": "edit-box";
1588
+ "label": "edit-box";
1589
+ }, {
1590
+ "value": "location-pin";
1591
+ "label": "location-pin";
1592
+ }, {
1593
+ "value": "refresh";
1594
+ "label": "refresh";
1595
+ }, {
1596
+ "value": "time";
1597
+ "label": "time";
1598
+ }, {
1599
+ "value": "arrow-back";
1600
+ "label": "arrow-back";
1601
+ }, {
1602
+ "value": "clock";
1603
+ "label": "clock";
1604
+ }, {
1605
+ "value": "edit-line";
1606
+ "label": "edit-line";
1607
+ }, {
1608
+ "value": "lock";
1609
+ "label": "lock";
1610
+ }, {
1611
+ "value": "repeat";
1612
+ "label": "repeat";
1613
+ }, {
1614
+ "value": "tool";
1615
+ "label": "tool";
1616
+ }, {
1617
+ "value": "arrow-down-circle";
1618
+ "label": "arrow-down-circle";
1619
+ }, {
1620
+ "value": "close-circle";
1621
+ "label": "close-circle";
1622
+ }, {
1623
+ "value": "email";
1624
+ "label": "email";
1625
+ }, {
1626
+ "value": "map";
1627
+ "label": "map";
1628
+ }, {
1629
+ "value": "restricted";
1630
+ "label": "restricted";
1631
+ }, {
1632
+ "value": "trending-down";
1633
+ "label": "trending-down";
1634
+ }, {
1635
+ "value": "arrow-down";
1636
+ "label": "arrow-down";
1637
+ }, {
1638
+ "value": "close-square";
1639
+ "label": "close-square";
1640
+ }, {
1641
+ "value": "emoji-happy";
1642
+ "label": "emoji-happy";
1643
+ }, {
1644
+ "value": "message-circle";
1645
+ "label": "message-circle";
1646
+ }, {
1647
+ "value": "rotate";
1648
+ "label": "rotate";
1649
+ }, {
1650
+ "value": "trending-up";
1651
+ "label": "trending-up";
1652
+ }, {
1653
+ "value": "arrow-next";
1654
+ "label": "arrow-next";
1655
+ }, {
1656
+ "value": "close";
1657
+ "label": "close";
1658
+ }, {
1659
+ "value": "emoji-sad";
1660
+ "label": "emoji-sad";
1661
+ }, {
1662
+ "value": "message-square";
1663
+ "label": "message-square";
1664
+ }, {
1665
+ "value": "search-no";
1666
+ "label": "search-no";
1667
+ }, {
1668
+ "value": "triangle";
1669
+ "label": "triangle";
1670
+ }, {
1671
+ "value": "arrow-up-circle";
1672
+ "label": "arrow-up-circle";
1673
+ }, {
1674
+ "value": "code";
1675
+ "label": "code";
1676
+ }, {
1677
+ "value": "external-link";
1678
+ "label": "external-link";
1679
+ }, {
1680
+ "value": "mic-off";
1681
+ "label": "mic-off";
1682
+ }, {
1683
+ "value": "search";
1684
+ "label": "search";
1685
+ }, {
1686
+ "value": "unlock";
1687
+ "label": "unlock";
1688
+ }, {
1689
+ "value": "arrow-up";
1690
+ "label": "arrow-up";
1691
+ }, {
1692
+ "value": "coffee";
1693
+ "label": "coffee";
1694
+ }, {
1695
+ "value": "fav-heart";
1696
+ "label": "fav-heart";
1697
+ }, {
1698
+ "value": "mic-on";
1699
+ "label": "mic-on";
1700
+ }, {
1701
+ "value": "selector-checked";
1702
+ "label": "selector-checked";
1703
+ }, {
1704
+ "value": "upload-cloud";
1705
+ "label": "upload-cloud";
1706
+ }, {
1707
+ "value": "attachment";
1708
+ "label": "attachment";
1709
+ }, {
1710
+ "value": "command";
1711
+ "label": "command";
1712
+ }, {
1713
+ "value": "flag";
1714
+ "label": "flag";
1715
+ }, {
1716
+ "value": "minus-circle";
1717
+ "label": "minus-circle";
1718
+ }, {
1719
+ "value": "selector-circle-filled";
1720
+ "label": "selector-circle-filled";
1721
+ }, {
1722
+ "value": "upload";
1723
+ "label": "upload";
1724
+ }, {
1725
+ "value": "award-badge";
1726
+ "label": "award-badge";
1727
+ }, {
1728
+ "value": "corner-down-left";
1729
+ "label": "corner-down-left";
1730
+ }, {
1731
+ "value": "flip-01";
1732
+ "label": "flip-01";
1733
+ }, {
1734
+ "value": "minus-square";
1735
+ "label": "minus-square";
1736
+ }, {
1737
+ "value": "selector-circle";
1738
+ "label": "selector-circle";
1739
+ }, {
1740
+ "value": "user-add";
1741
+ "label": "user-add";
1742
+ }, {
1743
+ "value": "binoculars";
1744
+ "label": "binoculars";
1745
+ }, {
1746
+ "value": "corner-down-right";
1747
+ "label": "corner-down-right";
1748
+ }, {
1749
+ "value": "flip-02";
1750
+ "label": "flip-02";
1751
+ }, {
1752
+ "value": "money-sign";
1753
+ "label": "money-sign";
1754
+ }, {
1755
+ "value": "send";
1756
+ "label": "send";
1757
+ }, {
1758
+ "value": "user-delete";
1759
+ "label": "user-delete";
1760
+ }, {
1761
+ "value": "bolt";
1762
+ "label": "bolt";
1763
+ }, {
1764
+ "value": "corner-left-down";
1765
+ "label": "corner-left-down";
1766
+ }, {
1767
+ "value": "folder";
1768
+ "label": "folder";
1769
+ }, {
1770
+ "value": "more-horizontal";
1771
+ "label": "more-horizontal";
1772
+ }, {
1773
+ "value": "settings-filled";
1774
+ "label": "settings-filled";
1775
+ }, {
1776
+ "value": "user";
1777
+ "label": "user";
1861
1778
  }, {
1862
- "value": "contiguous";
1863
- "label": "Contiguous";
1779
+ "value": "book-open";
1780
+ "label": "book-open";
1781
+ }, {
1782
+ "value": "corner-left-up";
1783
+ "label": "corner-left-up";
1784
+ }, {
1785
+ "value": "globe";
1786
+ "label": "globe";
1787
+ }, {
1788
+ "value": "more-vertical";
1789
+ "label": "more-vertical";
1790
+ }, {
1791
+ "value": "settings";
1792
+ "label": "settings";
1793
+ }, {
1794
+ "value": "users";
1795
+ "label": "users";
1796
+ }, {
1797
+ "value": "book";
1798
+ "label": "book";
1799
+ }, {
1800
+ "value": "corner-right-down";
1801
+ "label": "corner-right-down";
1802
+ }, {
1803
+ "value": "hash-tag";
1804
+ "label": "hash-tag";
1805
+ }, {
1806
+ "value": "notification-off";
1807
+ "label": "notification-off";
1808
+ }, {
1809
+ "value": "share";
1810
+ "label": "share";
1811
+ }, {
1812
+ "value": "video-off";
1813
+ "label": "video-off";
1814
+ }, {
1815
+ "value": "bookmark";
1816
+ "label": "bookmark";
1817
+ }, {
1818
+ "value": "corner-right-up";
1819
+ "label": "corner-right-up";
1820
+ }, {
1821
+ "value": "headphones";
1822
+ "label": "headphones";
1823
+ }, {
1824
+ "value": "notification-on";
1825
+ "label": "notification-on";
1826
+ }, {
1827
+ "value": "shopping-bag";
1828
+ "label": "shopping-bag";
1829
+ }, {
1830
+ "value": "video";
1831
+ "label": "video";
1832
+ }, {
1833
+ "value": "calendar-add";
1834
+ "label": "calendar-add";
1835
+ }, {
1836
+ "value": "corner-up-left";
1837
+ "label": "corner-up-left";
1838
+ }, {
1839
+ "value": "help-buoy";
1840
+ "label": "help-buoy";
1841
+ }, {
1842
+ "value": "object";
1843
+ "label": "object";
1844
+ }, {
1845
+ "value": "shopping-cart";
1846
+ "label": "shopping-cart";
1847
+ }, {
1848
+ "value": "warning";
1849
+ "label": "warning";
1850
+ }, {
1851
+ "value": "calendar";
1852
+ "label": "calendar";
1853
+ }, {
1854
+ "value": "corner-up-right";
1855
+ "label": "corner-up-right";
1856
+ }, {
1857
+ "value": "help-circle";
1858
+ "label": "help-circle";
1859
+ }, {
1860
+ "value": "pause-circle";
1861
+ "label": "pause-circle";
1862
+ }, {
1863
+ "value": "sort-filter-down";
1864
+ "label": "sort-filter-down";
1865
+ }, {
1866
+ "value": "wifi";
1867
+ "label": "wifi";
1868
+ }, {
1869
+ "value": "camera";
1870
+ "label": "camera";
1871
+ }, {
1872
+ "value": "crop";
1873
+ "label": "crop";
1874
+ }, {
1875
+ "value": "home";
1876
+ "label": "home";
1877
+ }, {
1878
+ "value": "phone-unavailable";
1879
+ "label": "phone-unavailable";
1880
+ }, {
1881
+ "value": "sort-filter-up";
1882
+ "label": "sort-filter-up";
1883
+ }, {
1884
+ "value": "zoom-in";
1885
+ "label": "zoom-in";
1886
+ }, {
1887
+ "value": "cellphone";
1888
+ "label": "cellphone";
1889
+ }, {
1890
+ "value": "delete";
1891
+ "label": "delete";
1892
+ }, {
1893
+ "value": "info";
1894
+ "label": "info";
1895
+ }, {
1896
+ "value": "phone";
1897
+ "label": "phone";
1898
+ }, {
1899
+ "value": "sound-off";
1900
+ "label": "sound-off";
1901
+ }, {
1902
+ "value": "zoom-out";
1903
+ "label": "zoom-out";
1904
+ }, {
1905
+ "value": "checkmark";
1906
+ "label": "checkmark";
1907
+ }, {
1908
+ "value": "document-blank";
1909
+ "label": "document-blank";
1910
+ }, {
1911
+ "value": "jump";
1912
+ "label": "jump";
1913
+ }, {
1914
+ "value": "photo";
1915
+ "label": "photo";
1916
+ }, {
1917
+ "value": "sound-on";
1918
+ "label": "sound-on";
1919
+ }, {
1920
+ "value": "chevron-down";
1921
+ "label": "chevron-down";
1922
+ }, {
1923
+ "value": "document-new";
1924
+ "label": "document-new";
1925
+ }, {
1926
+ "value": "layers";
1927
+ "label": "layers";
1928
+ }, {
1929
+ "value": "picked";
1930
+ "label": "picked";
1931
+ }, {
1932
+ "value": "star-filled";
1933
+ "label": "star-filled";
1864
1934
  }];
1865
1935
  };
1866
1936
  };
1867
- /** . */
1868
- 'teammates': {
1869
- type: 'schema';
1870
- isRequired: true;
1871
- isArray: true;
1872
- options: {
1873
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesSchema;
1874
- };
1875
- };
1876
1937
  };
1877
1938
  }
1878
- type GetAvailableTimeSlotsEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema>;
1939
+ type CreateCalendarEventTypeEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayloadSchema>;
1879
1940
  }
1880
1941
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1881
- interface GetAvailableTimeSlotsEmitTargetAndPayload {
1942
+ interface CreateCalendarEventTypeEmitTargetAndPayload {
1882
1943
  /** Source. */
1883
1944
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1884
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTarget;
1885
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayload;
1945
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayload;
1886
1946
  }
1887
- interface GetAvailableTimeSlotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1888
- id: 'getAvailableTimeSlotsEmitTargetAndPayload';
1947
+ interface CreateCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1948
+ id: 'createCalendarEventTypeEmitTargetAndPayload';
1889
1949
  version: 'v2021_05_19';
1890
1950
  namespace: 'Calendar';
1891
1951
  name: '';
@@ -1899,98 +1959,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1899
1959
  };
1900
1960
  };
1901
1961
  /** . */
1902
- 'target': {
1903
- type: 'schema';
1904
- isRequired: true;
1905
- options: {
1906
- schema: SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTargetSchema;
1907
- };
1908
- };
1909
- /** . */
1910
1962
  'payload': {
1911
1963
  type: 'schema';
1912
1964
  isRequired: true;
1913
1965
  options: {
1914
- schema: SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema;
1915
- };
1916
- };
1917
- };
1918
- }
1919
- type GetAvailableTimeSlotsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitTargetAndPayloadSchema>;
1920
- }
1921
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1922
- interface TeammatesTimeslots {
1923
- 'personId': string;
1924
- 'startDateTimeMs': number;
1925
- }
1926
- interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1927
- id: 'teammatesTimeslots';
1928
- version: 'v2021_05_19';
1929
- namespace: 'Calendar';
1930
- name: '';
1931
- fields: {
1932
- /** . */
1933
- 'personId': {
1934
- type: 'id';
1935
- isRequired: true;
1936
- options: undefined;
1937
- };
1938
- /** . */
1939
- 'startDateTimeMs': {
1940
- type: 'number';
1941
- isRequired: true;
1942
- options: undefined;
1943
- };
1944
- };
1945
- }
1946
- type TeammatesTimeslotsEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema>;
1947
- }
1948
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1949
- interface Timeslots {
1950
- 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1951
- }
1952
- interface TimeslotsSchema extends SpruceSchema.Schema {
1953
- id: 'timeslots';
1954
- version: 'v2021_05_19';
1955
- namespace: 'Calendar';
1956
- name: '';
1957
- fields: {
1958
- /** . */
1959
- 'slots': {
1960
- type: 'schema';
1961
- isRequired: true;
1962
- isArray: true;
1963
- options: {
1964
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
1966
+ schema: SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitPayloadSchema;
1965
1967
  };
1966
1968
  };
1967
1969
  };
1968
1970
  }
1969
- type TimeslotsEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema>;
1971
+ type CreateCalendarEventTypeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeEmitTargetAndPayloadSchema>;
1970
1972
  }
1971
1973
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1972
- interface GetAvailableTimeSlotsResponsePayload {
1973
- 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
1974
+ interface CreateCalendarEventTypeResponsePayload {
1975
+ 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
1974
1976
  }
1975
- interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
1976
- id: 'getAvailableTimeSlotsResponsePayload';
1977
+ interface CreateCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
1978
+ id: 'createCalendarEventTypeResponsePayload';
1977
1979
  version: 'v2021_05_19';
1978
1980
  namespace: 'Calendar';
1979
1981
  name: '';
1980
1982
  fields: {
1981
1983
  /** . */
1982
- 'times': {
1984
+ 'calendarEventType': {
1983
1985
  type: 'schema';
1984
1986
  isRequired: true;
1985
- isArray: true;
1986
- minArrayLength: 0;
1987
1987
  options: {
1988
- schema: SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema;
1988
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
1989
1989
  };
1990
1990
  };
1991
1991
  };
1992
1992
  }
1993
- type GetAvailableTimeSlotsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema>;
1993
+ type CreateCalendarEventTypeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema>;
1994
1994
  }
1995
1995
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1996
1996
  interface GetCalendarEmitTarget {