@wix/bookings 1.0.230 → 1.0.232

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.
Files changed (51) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +3 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +3 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +6 -8
  8. package/build/cjs/src/bookings-catalog-v1-resource.http.js +1 -35
  9. package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
  10. package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +7 -8
  11. package/build/cjs/src/bookings-catalog-v1-resource.public.js +13 -19
  12. package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
  13. package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +1489 -0
  14. package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +517 -28
  15. package/build/cjs/src/bookings-catalog-v1-resource.universal.js +9 -72
  16. package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  17. package/build/cjs/src/bookings-v1-category.http.d.ts +4 -4
  18. package/build/cjs/src/bookings-v1-category.http.js.map +1 -1
  19. package/build/cjs/src/bookings-v1-category.public.d.ts +6 -6
  20. package/build/cjs/src/bookings-v1-category.public.js +13 -13
  21. package/build/cjs/src/bookings-v1-category.public.js.map +1 -1
  22. package/build/cjs/src/bookings-v1-category.types.d.ts +15 -0
  23. package/build/cjs/src/bookings-v1-category.universal.d.ts +24 -8
  24. package/build/cjs/src/bookings-v1-category.universal.js +9 -9
  25. package/build/cjs/src/bookings-v1-category.universal.js.map +1 -1
  26. package/build/es/index.d.ts +2 -2
  27. package/build/es/index.js +2 -2
  28. package/build/es/index.js.map +1 -1
  29. package/build/es/index.typings.d.ts +2 -2
  30. package/build/es/index.typings.js +2 -2
  31. package/build/es/index.typings.js.map +1 -1
  32. package/build/es/src/bookings-catalog-v1-resource.http.d.ts +6 -8
  33. package/build/es/src/bookings-catalog-v1-resource.http.js +0 -33
  34. package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
  35. package/build/es/src/bookings-catalog-v1-resource.public.d.ts +7 -8
  36. package/build/es/src/bookings-catalog-v1-resource.public.js +9 -14
  37. package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
  38. package/build/es/src/bookings-catalog-v1-resource.types.d.ts +1489 -0
  39. package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +517 -28
  40. package/build/es/src/bookings-catalog-v1-resource.universal.js +4 -66
  41. package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  42. package/build/es/src/bookings-v1-category.http.d.ts +4 -4
  43. package/build/es/src/bookings-v1-category.http.js.map +1 -1
  44. package/build/es/src/bookings-v1-category.public.d.ts +6 -6
  45. package/build/es/src/bookings-v1-category.public.js +9 -9
  46. package/build/es/src/bookings-v1-category.public.js.map +1 -1
  47. package/build/es/src/bookings-v1-category.types.d.ts +15 -0
  48. package/build/es/src/bookings-v1-category.universal.d.ts +24 -8
  49. package/build/es/src/bookings-v1-category.universal.js +4 -4
  50. package/build/es/src/bookings-v1-category.universal.js.map +1 -1
  51. package/package.json +2 -2
@@ -930,3 +930,1492 @@ export interface UnLinkResourceFromOwnerResponse {
930
930
  /** The updated resource. */
931
931
  resource?: Resource;
932
932
  }
933
+ export interface QueryResourcesResponseNonNullableFields {
934
+ resources: {
935
+ images: {
936
+ id: string;
937
+ url: string;
938
+ height: number;
939
+ width: number;
940
+ }[];
941
+ schedules: {
942
+ id: string;
943
+ intervals: {
944
+ id: string;
945
+ interval?: {
946
+ daysOfWeek: Day;
947
+ duration: number;
948
+ };
949
+ affectedSchedules: {
950
+ scheduleId: string;
951
+ transparency: Transparency;
952
+ scheduleOwnerId: string;
953
+ }[];
954
+ intervalType: RecurringIntervalType;
955
+ }[];
956
+ location?: {
957
+ locationType: LocationType;
958
+ customAddress?: {
959
+ streetAddress?: {
960
+ number: string;
961
+ name: string;
962
+ apt: string;
963
+ };
964
+ subdivisions: {
965
+ code: string;
966
+ name: string;
967
+ }[];
968
+ };
969
+ businessLocation?: {
970
+ name: string;
971
+ default: boolean;
972
+ status: LocationStatus;
973
+ locationType: LocationsLocationType;
974
+ address?: {
975
+ streetAddress?: {
976
+ number: string;
977
+ name: string;
978
+ apt: string;
979
+ };
980
+ };
981
+ businessSchedule?: {
982
+ periods: {
983
+ openDay: DayOfWeek;
984
+ openTime: string;
985
+ closeDay: DayOfWeek;
986
+ closeTime: string;
987
+ }[];
988
+ specialHourPeriod: {
989
+ startDate: string;
990
+ endDate: string;
991
+ isClosed: boolean;
992
+ comment: string;
993
+ }[];
994
+ };
995
+ archived: boolean;
996
+ };
997
+ };
998
+ rate?: {
999
+ labeledPriceOptions?: {
1000
+ amount: string;
1001
+ currency: string;
1002
+ downPayAmount: string;
1003
+ };
1004
+ defaultVariedPrice?: {
1005
+ amount: string;
1006
+ currency: string;
1007
+ downPayAmount: string;
1008
+ };
1009
+ };
1010
+ availability?: {
1011
+ linkedSchedules: {
1012
+ scheduleId: string;
1013
+ transparency: Transparency;
1014
+ scheduleOwnerId: string;
1015
+ }[];
1016
+ constraints?: {
1017
+ slotDurations: number[];
1018
+ timeBetweenSlots: number;
1019
+ };
1020
+ locations: {
1021
+ locationType: LocationType;
1022
+ customAddress?: {
1023
+ streetAddress?: {
1024
+ number: string;
1025
+ name: string;
1026
+ apt: string;
1027
+ };
1028
+ subdivisions: {
1029
+ code: string;
1030
+ name: string;
1031
+ }[];
1032
+ };
1033
+ businessLocation?: {
1034
+ name: string;
1035
+ default: boolean;
1036
+ status: LocationStatus;
1037
+ locationType: LocationsLocationType;
1038
+ address?: {
1039
+ streetAddress?: {
1040
+ number: string;
1041
+ name: string;
1042
+ apt: string;
1043
+ };
1044
+ };
1045
+ businessSchedule?: {
1046
+ periods: {
1047
+ openDay: DayOfWeek;
1048
+ openTime: string;
1049
+ closeDay: DayOfWeek;
1050
+ closeTime: string;
1051
+ }[];
1052
+ specialHourPeriod: {
1053
+ startDate: string;
1054
+ endDate: string;
1055
+ isClosed: boolean;
1056
+ comment: string;
1057
+ }[];
1058
+ };
1059
+ archived: boolean;
1060
+ };
1061
+ }[];
1062
+ };
1063
+ totalNumberOfParticipants: number;
1064
+ participants: {
1065
+ id: string;
1066
+ partySize: number;
1067
+ approvalStatus: ApprovalStatus;
1068
+ inherited: boolean;
1069
+ }[];
1070
+ status: ScheduleStatus;
1071
+ version: number;
1072
+ inheritedFields: string[];
1073
+ conferenceProvider?: {
1074
+ providerId: string;
1075
+ };
1076
+ calendarConference?: {
1077
+ id: string;
1078
+ externalId: string;
1079
+ providerId: string;
1080
+ hostUrl: string;
1081
+ guestUrl: string;
1082
+ conferenceType: ConferenceType;
1083
+ };
1084
+ }[];
1085
+ status: ResourceStatus;
1086
+ businessLocation?: {
1087
+ locationId: string;
1088
+ };
1089
+ eventsSchedule?: {
1090
+ id: string;
1091
+ intervals: {
1092
+ id: string;
1093
+ interval?: {
1094
+ daysOfWeek: Day;
1095
+ duration: number;
1096
+ };
1097
+ affectedSchedules: {
1098
+ scheduleId: string;
1099
+ transparency: Transparency;
1100
+ scheduleOwnerId: string;
1101
+ }[];
1102
+ intervalType: RecurringIntervalType;
1103
+ }[];
1104
+ location?: {
1105
+ locationType: LocationType;
1106
+ customAddress?: {
1107
+ streetAddress?: {
1108
+ number: string;
1109
+ name: string;
1110
+ apt: string;
1111
+ };
1112
+ subdivisions: {
1113
+ code: string;
1114
+ name: string;
1115
+ }[];
1116
+ };
1117
+ businessLocation?: {
1118
+ name: string;
1119
+ default: boolean;
1120
+ status: LocationStatus;
1121
+ locationType: LocationsLocationType;
1122
+ address?: {
1123
+ streetAddress?: {
1124
+ number: string;
1125
+ name: string;
1126
+ apt: string;
1127
+ };
1128
+ };
1129
+ businessSchedule?: {
1130
+ periods: {
1131
+ openDay: DayOfWeek;
1132
+ openTime: string;
1133
+ closeDay: DayOfWeek;
1134
+ closeTime: string;
1135
+ }[];
1136
+ specialHourPeriod: {
1137
+ startDate: string;
1138
+ endDate: string;
1139
+ isClosed: boolean;
1140
+ comment: string;
1141
+ }[];
1142
+ };
1143
+ archived: boolean;
1144
+ };
1145
+ };
1146
+ rate?: {
1147
+ labeledPriceOptions?: {
1148
+ amount: string;
1149
+ currency: string;
1150
+ downPayAmount: string;
1151
+ };
1152
+ defaultVariedPrice?: {
1153
+ amount: string;
1154
+ currency: string;
1155
+ downPayAmount: string;
1156
+ };
1157
+ };
1158
+ availability?: {
1159
+ linkedSchedules: {
1160
+ scheduleId: string;
1161
+ transparency: Transparency;
1162
+ scheduleOwnerId: string;
1163
+ }[];
1164
+ constraints?: {
1165
+ slotDurations: number[];
1166
+ timeBetweenSlots: number;
1167
+ };
1168
+ locations: {
1169
+ locationType: LocationType;
1170
+ customAddress?: {
1171
+ streetAddress?: {
1172
+ number: string;
1173
+ name: string;
1174
+ apt: string;
1175
+ };
1176
+ subdivisions: {
1177
+ code: string;
1178
+ name: string;
1179
+ }[];
1180
+ };
1181
+ businessLocation?: {
1182
+ name: string;
1183
+ default: boolean;
1184
+ status: LocationStatus;
1185
+ locationType: LocationsLocationType;
1186
+ address?: {
1187
+ streetAddress?: {
1188
+ number: string;
1189
+ name: string;
1190
+ apt: string;
1191
+ };
1192
+ };
1193
+ businessSchedule?: {
1194
+ periods: {
1195
+ openDay: DayOfWeek;
1196
+ openTime: string;
1197
+ closeDay: DayOfWeek;
1198
+ closeTime: string;
1199
+ }[];
1200
+ specialHourPeriod: {
1201
+ startDate: string;
1202
+ endDate: string;
1203
+ isClosed: boolean;
1204
+ comment: string;
1205
+ }[];
1206
+ };
1207
+ archived: boolean;
1208
+ };
1209
+ }[];
1210
+ };
1211
+ totalNumberOfParticipants: number;
1212
+ participants: {
1213
+ id: string;
1214
+ partySize: number;
1215
+ approvalStatus: ApprovalStatus;
1216
+ inherited: boolean;
1217
+ }[];
1218
+ status: ScheduleStatus;
1219
+ version: number;
1220
+ inheritedFields: string[];
1221
+ conferenceProvider?: {
1222
+ providerId: string;
1223
+ };
1224
+ calendarConference?: {
1225
+ id: string;
1226
+ externalId: string;
1227
+ providerId: string;
1228
+ hostUrl: string;
1229
+ guestUrl: string;
1230
+ conferenceType: ConferenceType;
1231
+ };
1232
+ };
1233
+ }[];
1234
+ }
1235
+ export interface CreateResourceResponseNonNullableFields {
1236
+ resource?: {
1237
+ images: {
1238
+ id: string;
1239
+ url: string;
1240
+ height: number;
1241
+ width: number;
1242
+ }[];
1243
+ schedules: {
1244
+ id: string;
1245
+ intervals: {
1246
+ id: string;
1247
+ interval?: {
1248
+ daysOfWeek: Day;
1249
+ duration: number;
1250
+ };
1251
+ affectedSchedules: {
1252
+ scheduleId: string;
1253
+ transparency: Transparency;
1254
+ scheduleOwnerId: string;
1255
+ }[];
1256
+ intervalType: RecurringIntervalType;
1257
+ }[];
1258
+ location?: {
1259
+ locationType: LocationType;
1260
+ customAddress?: {
1261
+ streetAddress?: {
1262
+ number: string;
1263
+ name: string;
1264
+ apt: string;
1265
+ };
1266
+ subdivisions: {
1267
+ code: string;
1268
+ name: string;
1269
+ }[];
1270
+ };
1271
+ businessLocation?: {
1272
+ name: string;
1273
+ default: boolean;
1274
+ status: LocationStatus;
1275
+ locationType: LocationsLocationType;
1276
+ address?: {
1277
+ streetAddress?: {
1278
+ number: string;
1279
+ name: string;
1280
+ apt: string;
1281
+ };
1282
+ };
1283
+ businessSchedule?: {
1284
+ periods: {
1285
+ openDay: DayOfWeek;
1286
+ openTime: string;
1287
+ closeDay: DayOfWeek;
1288
+ closeTime: string;
1289
+ }[];
1290
+ specialHourPeriod: {
1291
+ startDate: string;
1292
+ endDate: string;
1293
+ isClosed: boolean;
1294
+ comment: string;
1295
+ }[];
1296
+ };
1297
+ archived: boolean;
1298
+ };
1299
+ };
1300
+ rate?: {
1301
+ labeledPriceOptions?: {
1302
+ amount: string;
1303
+ currency: string;
1304
+ downPayAmount: string;
1305
+ };
1306
+ defaultVariedPrice?: {
1307
+ amount: string;
1308
+ currency: string;
1309
+ downPayAmount: string;
1310
+ };
1311
+ };
1312
+ availability?: {
1313
+ linkedSchedules: {
1314
+ scheduleId: string;
1315
+ transparency: Transparency;
1316
+ scheduleOwnerId: string;
1317
+ }[];
1318
+ constraints?: {
1319
+ slotDurations: number[];
1320
+ timeBetweenSlots: number;
1321
+ };
1322
+ locations: {
1323
+ locationType: LocationType;
1324
+ customAddress?: {
1325
+ streetAddress?: {
1326
+ number: string;
1327
+ name: string;
1328
+ apt: string;
1329
+ };
1330
+ subdivisions: {
1331
+ code: string;
1332
+ name: string;
1333
+ }[];
1334
+ };
1335
+ businessLocation?: {
1336
+ name: string;
1337
+ default: boolean;
1338
+ status: LocationStatus;
1339
+ locationType: LocationsLocationType;
1340
+ address?: {
1341
+ streetAddress?: {
1342
+ number: string;
1343
+ name: string;
1344
+ apt: string;
1345
+ };
1346
+ };
1347
+ businessSchedule?: {
1348
+ periods: {
1349
+ openDay: DayOfWeek;
1350
+ openTime: string;
1351
+ closeDay: DayOfWeek;
1352
+ closeTime: string;
1353
+ }[];
1354
+ specialHourPeriod: {
1355
+ startDate: string;
1356
+ endDate: string;
1357
+ isClosed: boolean;
1358
+ comment: string;
1359
+ }[];
1360
+ };
1361
+ archived: boolean;
1362
+ };
1363
+ }[];
1364
+ };
1365
+ totalNumberOfParticipants: number;
1366
+ participants: {
1367
+ id: string;
1368
+ partySize: number;
1369
+ approvalStatus: ApprovalStatus;
1370
+ inherited: boolean;
1371
+ }[];
1372
+ status: ScheduleStatus;
1373
+ version: number;
1374
+ inheritedFields: string[];
1375
+ conferenceProvider?: {
1376
+ providerId: string;
1377
+ };
1378
+ calendarConference?: {
1379
+ id: string;
1380
+ externalId: string;
1381
+ providerId: string;
1382
+ hostUrl: string;
1383
+ guestUrl: string;
1384
+ conferenceType: ConferenceType;
1385
+ };
1386
+ }[];
1387
+ status: ResourceStatus;
1388
+ businessLocation?: {
1389
+ locationId: string;
1390
+ };
1391
+ eventsSchedule?: {
1392
+ id: string;
1393
+ intervals: {
1394
+ id: string;
1395
+ interval?: {
1396
+ daysOfWeek: Day;
1397
+ duration: number;
1398
+ };
1399
+ affectedSchedules: {
1400
+ scheduleId: string;
1401
+ transparency: Transparency;
1402
+ scheduleOwnerId: string;
1403
+ }[];
1404
+ intervalType: RecurringIntervalType;
1405
+ }[];
1406
+ location?: {
1407
+ locationType: LocationType;
1408
+ customAddress?: {
1409
+ streetAddress?: {
1410
+ number: string;
1411
+ name: string;
1412
+ apt: string;
1413
+ };
1414
+ subdivisions: {
1415
+ code: string;
1416
+ name: string;
1417
+ }[];
1418
+ };
1419
+ businessLocation?: {
1420
+ name: string;
1421
+ default: boolean;
1422
+ status: LocationStatus;
1423
+ locationType: LocationsLocationType;
1424
+ address?: {
1425
+ streetAddress?: {
1426
+ number: string;
1427
+ name: string;
1428
+ apt: string;
1429
+ };
1430
+ };
1431
+ businessSchedule?: {
1432
+ periods: {
1433
+ openDay: DayOfWeek;
1434
+ openTime: string;
1435
+ closeDay: DayOfWeek;
1436
+ closeTime: string;
1437
+ }[];
1438
+ specialHourPeriod: {
1439
+ startDate: string;
1440
+ endDate: string;
1441
+ isClosed: boolean;
1442
+ comment: string;
1443
+ }[];
1444
+ };
1445
+ archived: boolean;
1446
+ };
1447
+ };
1448
+ rate?: {
1449
+ labeledPriceOptions?: {
1450
+ amount: string;
1451
+ currency: string;
1452
+ downPayAmount: string;
1453
+ };
1454
+ defaultVariedPrice?: {
1455
+ amount: string;
1456
+ currency: string;
1457
+ downPayAmount: string;
1458
+ };
1459
+ };
1460
+ availability?: {
1461
+ linkedSchedules: {
1462
+ scheduleId: string;
1463
+ transparency: Transparency;
1464
+ scheduleOwnerId: string;
1465
+ }[];
1466
+ constraints?: {
1467
+ slotDurations: number[];
1468
+ timeBetweenSlots: number;
1469
+ };
1470
+ locations: {
1471
+ locationType: LocationType;
1472
+ customAddress?: {
1473
+ streetAddress?: {
1474
+ number: string;
1475
+ name: string;
1476
+ apt: string;
1477
+ };
1478
+ subdivisions: {
1479
+ code: string;
1480
+ name: string;
1481
+ }[];
1482
+ };
1483
+ businessLocation?: {
1484
+ name: string;
1485
+ default: boolean;
1486
+ status: LocationStatus;
1487
+ locationType: LocationsLocationType;
1488
+ address?: {
1489
+ streetAddress?: {
1490
+ number: string;
1491
+ name: string;
1492
+ apt: string;
1493
+ };
1494
+ };
1495
+ businessSchedule?: {
1496
+ periods: {
1497
+ openDay: DayOfWeek;
1498
+ openTime: string;
1499
+ closeDay: DayOfWeek;
1500
+ closeTime: string;
1501
+ }[];
1502
+ specialHourPeriod: {
1503
+ startDate: string;
1504
+ endDate: string;
1505
+ isClosed: boolean;
1506
+ comment: string;
1507
+ }[];
1508
+ };
1509
+ archived: boolean;
1510
+ };
1511
+ }[];
1512
+ };
1513
+ totalNumberOfParticipants: number;
1514
+ participants: {
1515
+ id: string;
1516
+ partySize: number;
1517
+ approvalStatus: ApprovalStatus;
1518
+ inherited: boolean;
1519
+ }[];
1520
+ status: ScheduleStatus;
1521
+ version: number;
1522
+ inheritedFields: string[];
1523
+ conferenceProvider?: {
1524
+ providerId: string;
1525
+ };
1526
+ calendarConference?: {
1527
+ id: string;
1528
+ externalId: string;
1529
+ providerId: string;
1530
+ hostUrl: string;
1531
+ guestUrl: string;
1532
+ conferenceType: ConferenceType;
1533
+ };
1534
+ };
1535
+ };
1536
+ }
1537
+ export interface UpdateResourceResponseNonNullableFields {
1538
+ resource?: {
1539
+ images: {
1540
+ id: string;
1541
+ url: string;
1542
+ height: number;
1543
+ width: number;
1544
+ }[];
1545
+ schedules: {
1546
+ id: string;
1547
+ intervals: {
1548
+ id: string;
1549
+ interval?: {
1550
+ daysOfWeek: Day;
1551
+ duration: number;
1552
+ };
1553
+ affectedSchedules: {
1554
+ scheduleId: string;
1555
+ transparency: Transparency;
1556
+ scheduleOwnerId: string;
1557
+ }[];
1558
+ intervalType: RecurringIntervalType;
1559
+ }[];
1560
+ location?: {
1561
+ locationType: LocationType;
1562
+ customAddress?: {
1563
+ streetAddress?: {
1564
+ number: string;
1565
+ name: string;
1566
+ apt: string;
1567
+ };
1568
+ subdivisions: {
1569
+ code: string;
1570
+ name: string;
1571
+ }[];
1572
+ };
1573
+ businessLocation?: {
1574
+ name: string;
1575
+ default: boolean;
1576
+ status: LocationStatus;
1577
+ locationType: LocationsLocationType;
1578
+ address?: {
1579
+ streetAddress?: {
1580
+ number: string;
1581
+ name: string;
1582
+ apt: string;
1583
+ };
1584
+ };
1585
+ businessSchedule?: {
1586
+ periods: {
1587
+ openDay: DayOfWeek;
1588
+ openTime: string;
1589
+ closeDay: DayOfWeek;
1590
+ closeTime: string;
1591
+ }[];
1592
+ specialHourPeriod: {
1593
+ startDate: string;
1594
+ endDate: string;
1595
+ isClosed: boolean;
1596
+ comment: string;
1597
+ }[];
1598
+ };
1599
+ archived: boolean;
1600
+ };
1601
+ };
1602
+ rate?: {
1603
+ labeledPriceOptions?: {
1604
+ amount: string;
1605
+ currency: string;
1606
+ downPayAmount: string;
1607
+ };
1608
+ defaultVariedPrice?: {
1609
+ amount: string;
1610
+ currency: string;
1611
+ downPayAmount: string;
1612
+ };
1613
+ };
1614
+ availability?: {
1615
+ linkedSchedules: {
1616
+ scheduleId: string;
1617
+ transparency: Transparency;
1618
+ scheduleOwnerId: string;
1619
+ }[];
1620
+ constraints?: {
1621
+ slotDurations: number[];
1622
+ timeBetweenSlots: number;
1623
+ };
1624
+ locations: {
1625
+ locationType: LocationType;
1626
+ customAddress?: {
1627
+ streetAddress?: {
1628
+ number: string;
1629
+ name: string;
1630
+ apt: string;
1631
+ };
1632
+ subdivisions: {
1633
+ code: string;
1634
+ name: string;
1635
+ }[];
1636
+ };
1637
+ businessLocation?: {
1638
+ name: string;
1639
+ default: boolean;
1640
+ status: LocationStatus;
1641
+ locationType: LocationsLocationType;
1642
+ address?: {
1643
+ streetAddress?: {
1644
+ number: string;
1645
+ name: string;
1646
+ apt: string;
1647
+ };
1648
+ };
1649
+ businessSchedule?: {
1650
+ periods: {
1651
+ openDay: DayOfWeek;
1652
+ openTime: string;
1653
+ closeDay: DayOfWeek;
1654
+ closeTime: string;
1655
+ }[];
1656
+ specialHourPeriod: {
1657
+ startDate: string;
1658
+ endDate: string;
1659
+ isClosed: boolean;
1660
+ comment: string;
1661
+ }[];
1662
+ };
1663
+ archived: boolean;
1664
+ };
1665
+ }[];
1666
+ };
1667
+ totalNumberOfParticipants: number;
1668
+ participants: {
1669
+ id: string;
1670
+ partySize: number;
1671
+ approvalStatus: ApprovalStatus;
1672
+ inherited: boolean;
1673
+ }[];
1674
+ status: ScheduleStatus;
1675
+ version: number;
1676
+ inheritedFields: string[];
1677
+ conferenceProvider?: {
1678
+ providerId: string;
1679
+ };
1680
+ calendarConference?: {
1681
+ id: string;
1682
+ externalId: string;
1683
+ providerId: string;
1684
+ hostUrl: string;
1685
+ guestUrl: string;
1686
+ conferenceType: ConferenceType;
1687
+ };
1688
+ }[];
1689
+ status: ResourceStatus;
1690
+ businessLocation?: {
1691
+ locationId: string;
1692
+ };
1693
+ eventsSchedule?: {
1694
+ id: string;
1695
+ intervals: {
1696
+ id: string;
1697
+ interval?: {
1698
+ daysOfWeek: Day;
1699
+ duration: number;
1700
+ };
1701
+ affectedSchedules: {
1702
+ scheduleId: string;
1703
+ transparency: Transparency;
1704
+ scheduleOwnerId: string;
1705
+ }[];
1706
+ intervalType: RecurringIntervalType;
1707
+ }[];
1708
+ location?: {
1709
+ locationType: LocationType;
1710
+ customAddress?: {
1711
+ streetAddress?: {
1712
+ number: string;
1713
+ name: string;
1714
+ apt: string;
1715
+ };
1716
+ subdivisions: {
1717
+ code: string;
1718
+ name: string;
1719
+ }[];
1720
+ };
1721
+ businessLocation?: {
1722
+ name: string;
1723
+ default: boolean;
1724
+ status: LocationStatus;
1725
+ locationType: LocationsLocationType;
1726
+ address?: {
1727
+ streetAddress?: {
1728
+ number: string;
1729
+ name: string;
1730
+ apt: string;
1731
+ };
1732
+ };
1733
+ businessSchedule?: {
1734
+ periods: {
1735
+ openDay: DayOfWeek;
1736
+ openTime: string;
1737
+ closeDay: DayOfWeek;
1738
+ closeTime: string;
1739
+ }[];
1740
+ specialHourPeriod: {
1741
+ startDate: string;
1742
+ endDate: string;
1743
+ isClosed: boolean;
1744
+ comment: string;
1745
+ }[];
1746
+ };
1747
+ archived: boolean;
1748
+ };
1749
+ };
1750
+ rate?: {
1751
+ labeledPriceOptions?: {
1752
+ amount: string;
1753
+ currency: string;
1754
+ downPayAmount: string;
1755
+ };
1756
+ defaultVariedPrice?: {
1757
+ amount: string;
1758
+ currency: string;
1759
+ downPayAmount: string;
1760
+ };
1761
+ };
1762
+ availability?: {
1763
+ linkedSchedules: {
1764
+ scheduleId: string;
1765
+ transparency: Transparency;
1766
+ scheduleOwnerId: string;
1767
+ }[];
1768
+ constraints?: {
1769
+ slotDurations: number[];
1770
+ timeBetweenSlots: number;
1771
+ };
1772
+ locations: {
1773
+ locationType: LocationType;
1774
+ customAddress?: {
1775
+ streetAddress?: {
1776
+ number: string;
1777
+ name: string;
1778
+ apt: string;
1779
+ };
1780
+ subdivisions: {
1781
+ code: string;
1782
+ name: string;
1783
+ }[];
1784
+ };
1785
+ businessLocation?: {
1786
+ name: string;
1787
+ default: boolean;
1788
+ status: LocationStatus;
1789
+ locationType: LocationsLocationType;
1790
+ address?: {
1791
+ streetAddress?: {
1792
+ number: string;
1793
+ name: string;
1794
+ apt: string;
1795
+ };
1796
+ };
1797
+ businessSchedule?: {
1798
+ periods: {
1799
+ openDay: DayOfWeek;
1800
+ openTime: string;
1801
+ closeDay: DayOfWeek;
1802
+ closeTime: string;
1803
+ }[];
1804
+ specialHourPeriod: {
1805
+ startDate: string;
1806
+ endDate: string;
1807
+ isClosed: boolean;
1808
+ comment: string;
1809
+ }[];
1810
+ };
1811
+ archived: boolean;
1812
+ };
1813
+ }[];
1814
+ };
1815
+ totalNumberOfParticipants: number;
1816
+ participants: {
1817
+ id: string;
1818
+ partySize: number;
1819
+ approvalStatus: ApprovalStatus;
1820
+ inherited: boolean;
1821
+ }[];
1822
+ status: ScheduleStatus;
1823
+ version: number;
1824
+ inheritedFields: string[];
1825
+ conferenceProvider?: {
1826
+ providerId: string;
1827
+ };
1828
+ calendarConference?: {
1829
+ id: string;
1830
+ externalId: string;
1831
+ providerId: string;
1832
+ hostUrl: string;
1833
+ guestUrl: string;
1834
+ conferenceType: ConferenceType;
1835
+ };
1836
+ };
1837
+ };
1838
+ schedules?: {
1839
+ created: {
1840
+ id: string;
1841
+ intervals: {
1842
+ id: string;
1843
+ interval?: {
1844
+ daysOfWeek: Day;
1845
+ duration: number;
1846
+ };
1847
+ affectedSchedules: {
1848
+ scheduleId: string;
1849
+ transparency: Transparency;
1850
+ scheduleOwnerId: string;
1851
+ }[];
1852
+ intervalType: RecurringIntervalType;
1853
+ }[];
1854
+ location?: {
1855
+ locationType: LocationType;
1856
+ customAddress?: {
1857
+ streetAddress?: {
1858
+ number: string;
1859
+ name: string;
1860
+ apt: string;
1861
+ };
1862
+ subdivisions: {
1863
+ code: string;
1864
+ name: string;
1865
+ }[];
1866
+ };
1867
+ businessLocation?: {
1868
+ name: string;
1869
+ default: boolean;
1870
+ status: LocationStatus;
1871
+ locationType: LocationsLocationType;
1872
+ address?: {
1873
+ streetAddress?: {
1874
+ number: string;
1875
+ name: string;
1876
+ apt: string;
1877
+ };
1878
+ };
1879
+ businessSchedule?: {
1880
+ periods: {
1881
+ openDay: DayOfWeek;
1882
+ openTime: string;
1883
+ closeDay: DayOfWeek;
1884
+ closeTime: string;
1885
+ }[];
1886
+ specialHourPeriod: {
1887
+ startDate: string;
1888
+ endDate: string;
1889
+ isClosed: boolean;
1890
+ comment: string;
1891
+ }[];
1892
+ };
1893
+ archived: boolean;
1894
+ };
1895
+ };
1896
+ rate?: {
1897
+ labeledPriceOptions?: {
1898
+ amount: string;
1899
+ currency: string;
1900
+ downPayAmount: string;
1901
+ };
1902
+ defaultVariedPrice?: {
1903
+ amount: string;
1904
+ currency: string;
1905
+ downPayAmount: string;
1906
+ };
1907
+ };
1908
+ availability?: {
1909
+ linkedSchedules: {
1910
+ scheduleId: string;
1911
+ transparency: Transparency;
1912
+ scheduleOwnerId: string;
1913
+ }[];
1914
+ constraints?: {
1915
+ slotDurations: number[];
1916
+ timeBetweenSlots: number;
1917
+ };
1918
+ locations: {
1919
+ locationType: LocationType;
1920
+ customAddress?: {
1921
+ streetAddress?: {
1922
+ number: string;
1923
+ name: string;
1924
+ apt: string;
1925
+ };
1926
+ subdivisions: {
1927
+ code: string;
1928
+ name: string;
1929
+ }[];
1930
+ };
1931
+ businessLocation?: {
1932
+ name: string;
1933
+ default: boolean;
1934
+ status: LocationStatus;
1935
+ locationType: LocationsLocationType;
1936
+ address?: {
1937
+ streetAddress?: {
1938
+ number: string;
1939
+ name: string;
1940
+ apt: string;
1941
+ };
1942
+ };
1943
+ businessSchedule?: {
1944
+ periods: {
1945
+ openDay: DayOfWeek;
1946
+ openTime: string;
1947
+ closeDay: DayOfWeek;
1948
+ closeTime: string;
1949
+ }[];
1950
+ specialHourPeriod: {
1951
+ startDate: string;
1952
+ endDate: string;
1953
+ isClosed: boolean;
1954
+ comment: string;
1955
+ }[];
1956
+ };
1957
+ archived: boolean;
1958
+ };
1959
+ }[];
1960
+ };
1961
+ totalNumberOfParticipants: number;
1962
+ participants: {
1963
+ id: string;
1964
+ partySize: number;
1965
+ approvalStatus: ApprovalStatus;
1966
+ inherited: boolean;
1967
+ }[];
1968
+ status: ScheduleStatus;
1969
+ version: number;
1970
+ inheritedFields: string[];
1971
+ conferenceProvider?: {
1972
+ providerId: string;
1973
+ };
1974
+ calendarConference?: {
1975
+ id: string;
1976
+ externalId: string;
1977
+ providerId: string;
1978
+ hostUrl: string;
1979
+ guestUrl: string;
1980
+ conferenceType: ConferenceType;
1981
+ };
1982
+ }[];
1983
+ updated: {
1984
+ id: string;
1985
+ intervals: {
1986
+ id: string;
1987
+ interval?: {
1988
+ daysOfWeek: Day;
1989
+ duration: number;
1990
+ };
1991
+ affectedSchedules: {
1992
+ scheduleId: string;
1993
+ transparency: Transparency;
1994
+ scheduleOwnerId: string;
1995
+ }[];
1996
+ intervalType: RecurringIntervalType;
1997
+ }[];
1998
+ location?: {
1999
+ locationType: LocationType;
2000
+ customAddress?: {
2001
+ streetAddress?: {
2002
+ number: string;
2003
+ name: string;
2004
+ apt: string;
2005
+ };
2006
+ subdivisions: {
2007
+ code: string;
2008
+ name: string;
2009
+ }[];
2010
+ };
2011
+ businessLocation?: {
2012
+ name: string;
2013
+ default: boolean;
2014
+ status: LocationStatus;
2015
+ locationType: LocationsLocationType;
2016
+ address?: {
2017
+ streetAddress?: {
2018
+ number: string;
2019
+ name: string;
2020
+ apt: string;
2021
+ };
2022
+ };
2023
+ businessSchedule?: {
2024
+ periods: {
2025
+ openDay: DayOfWeek;
2026
+ openTime: string;
2027
+ closeDay: DayOfWeek;
2028
+ closeTime: string;
2029
+ }[];
2030
+ specialHourPeriod: {
2031
+ startDate: string;
2032
+ endDate: string;
2033
+ isClosed: boolean;
2034
+ comment: string;
2035
+ }[];
2036
+ };
2037
+ archived: boolean;
2038
+ };
2039
+ };
2040
+ rate?: {
2041
+ labeledPriceOptions?: {
2042
+ amount: string;
2043
+ currency: string;
2044
+ downPayAmount: string;
2045
+ };
2046
+ defaultVariedPrice?: {
2047
+ amount: string;
2048
+ currency: string;
2049
+ downPayAmount: string;
2050
+ };
2051
+ };
2052
+ availability?: {
2053
+ linkedSchedules: {
2054
+ scheduleId: string;
2055
+ transparency: Transparency;
2056
+ scheduleOwnerId: string;
2057
+ }[];
2058
+ constraints?: {
2059
+ slotDurations: number[];
2060
+ timeBetweenSlots: number;
2061
+ };
2062
+ locations: {
2063
+ locationType: LocationType;
2064
+ customAddress?: {
2065
+ streetAddress?: {
2066
+ number: string;
2067
+ name: string;
2068
+ apt: string;
2069
+ };
2070
+ subdivisions: {
2071
+ code: string;
2072
+ name: string;
2073
+ }[];
2074
+ };
2075
+ businessLocation?: {
2076
+ name: string;
2077
+ default: boolean;
2078
+ status: LocationStatus;
2079
+ locationType: LocationsLocationType;
2080
+ address?: {
2081
+ streetAddress?: {
2082
+ number: string;
2083
+ name: string;
2084
+ apt: string;
2085
+ };
2086
+ };
2087
+ businessSchedule?: {
2088
+ periods: {
2089
+ openDay: DayOfWeek;
2090
+ openTime: string;
2091
+ closeDay: DayOfWeek;
2092
+ closeTime: string;
2093
+ }[];
2094
+ specialHourPeriod: {
2095
+ startDate: string;
2096
+ endDate: string;
2097
+ isClosed: boolean;
2098
+ comment: string;
2099
+ }[];
2100
+ };
2101
+ archived: boolean;
2102
+ };
2103
+ }[];
2104
+ };
2105
+ totalNumberOfParticipants: number;
2106
+ participants: {
2107
+ id: string;
2108
+ partySize: number;
2109
+ approvalStatus: ApprovalStatus;
2110
+ inherited: boolean;
2111
+ }[];
2112
+ status: ScheduleStatus;
2113
+ version: number;
2114
+ inheritedFields: string[];
2115
+ conferenceProvider?: {
2116
+ providerId: string;
2117
+ };
2118
+ calendarConference?: {
2119
+ id: string;
2120
+ externalId: string;
2121
+ providerId: string;
2122
+ hostUrl: string;
2123
+ guestUrl: string;
2124
+ conferenceType: ConferenceType;
2125
+ };
2126
+ }[];
2127
+ cancelled: {
2128
+ id: string;
2129
+ intervals: {
2130
+ id: string;
2131
+ interval?: {
2132
+ daysOfWeek: Day;
2133
+ duration: number;
2134
+ };
2135
+ affectedSchedules: {
2136
+ scheduleId: string;
2137
+ transparency: Transparency;
2138
+ scheduleOwnerId: string;
2139
+ }[];
2140
+ intervalType: RecurringIntervalType;
2141
+ }[];
2142
+ location?: {
2143
+ locationType: LocationType;
2144
+ customAddress?: {
2145
+ streetAddress?: {
2146
+ number: string;
2147
+ name: string;
2148
+ apt: string;
2149
+ };
2150
+ subdivisions: {
2151
+ code: string;
2152
+ name: string;
2153
+ }[];
2154
+ };
2155
+ businessLocation?: {
2156
+ name: string;
2157
+ default: boolean;
2158
+ status: LocationStatus;
2159
+ locationType: LocationsLocationType;
2160
+ address?: {
2161
+ streetAddress?: {
2162
+ number: string;
2163
+ name: string;
2164
+ apt: string;
2165
+ };
2166
+ };
2167
+ businessSchedule?: {
2168
+ periods: {
2169
+ openDay: DayOfWeek;
2170
+ openTime: string;
2171
+ closeDay: DayOfWeek;
2172
+ closeTime: string;
2173
+ }[];
2174
+ specialHourPeriod: {
2175
+ startDate: string;
2176
+ endDate: string;
2177
+ isClosed: boolean;
2178
+ comment: string;
2179
+ }[];
2180
+ };
2181
+ archived: boolean;
2182
+ };
2183
+ };
2184
+ rate?: {
2185
+ labeledPriceOptions?: {
2186
+ amount: string;
2187
+ currency: string;
2188
+ downPayAmount: string;
2189
+ };
2190
+ defaultVariedPrice?: {
2191
+ amount: string;
2192
+ currency: string;
2193
+ downPayAmount: string;
2194
+ };
2195
+ };
2196
+ availability?: {
2197
+ linkedSchedules: {
2198
+ scheduleId: string;
2199
+ transparency: Transparency;
2200
+ scheduleOwnerId: string;
2201
+ }[];
2202
+ constraints?: {
2203
+ slotDurations: number[];
2204
+ timeBetweenSlots: number;
2205
+ };
2206
+ locations: {
2207
+ locationType: LocationType;
2208
+ customAddress?: {
2209
+ streetAddress?: {
2210
+ number: string;
2211
+ name: string;
2212
+ apt: string;
2213
+ };
2214
+ subdivisions: {
2215
+ code: string;
2216
+ name: string;
2217
+ }[];
2218
+ };
2219
+ businessLocation?: {
2220
+ name: string;
2221
+ default: boolean;
2222
+ status: LocationStatus;
2223
+ locationType: LocationsLocationType;
2224
+ address?: {
2225
+ streetAddress?: {
2226
+ number: string;
2227
+ name: string;
2228
+ apt: string;
2229
+ };
2230
+ };
2231
+ businessSchedule?: {
2232
+ periods: {
2233
+ openDay: DayOfWeek;
2234
+ openTime: string;
2235
+ closeDay: DayOfWeek;
2236
+ closeTime: string;
2237
+ }[];
2238
+ specialHourPeriod: {
2239
+ startDate: string;
2240
+ endDate: string;
2241
+ isClosed: boolean;
2242
+ comment: string;
2243
+ }[];
2244
+ };
2245
+ archived: boolean;
2246
+ };
2247
+ }[];
2248
+ };
2249
+ totalNumberOfParticipants: number;
2250
+ participants: {
2251
+ id: string;
2252
+ partySize: number;
2253
+ approvalStatus: ApprovalStatus;
2254
+ inherited: boolean;
2255
+ }[];
2256
+ status: ScheduleStatus;
2257
+ version: number;
2258
+ inheritedFields: string[];
2259
+ conferenceProvider?: {
2260
+ providerId: string;
2261
+ };
2262
+ calendarConference?: {
2263
+ id: string;
2264
+ externalId: string;
2265
+ providerId: string;
2266
+ hostUrl: string;
2267
+ guestUrl: string;
2268
+ conferenceType: ConferenceType;
2269
+ };
2270
+ }[];
2271
+ };
2272
+ }
2273
+ export interface UpdateScheduleResponseNonNullableFields {
2274
+ schedule?: {
2275
+ id: string;
2276
+ intervals: {
2277
+ id: string;
2278
+ interval?: {
2279
+ daysOfWeek: Day;
2280
+ duration: number;
2281
+ };
2282
+ affectedSchedules: {
2283
+ scheduleId: string;
2284
+ transparency: Transparency;
2285
+ scheduleOwnerId: string;
2286
+ }[];
2287
+ intervalType: RecurringIntervalType;
2288
+ }[];
2289
+ location?: {
2290
+ locationType: LocationType;
2291
+ customAddress?: {
2292
+ streetAddress?: {
2293
+ number: string;
2294
+ name: string;
2295
+ apt: string;
2296
+ };
2297
+ subdivisions: {
2298
+ code: string;
2299
+ name: string;
2300
+ }[];
2301
+ };
2302
+ businessLocation?: {
2303
+ name: string;
2304
+ default: boolean;
2305
+ status: LocationStatus;
2306
+ locationType: LocationsLocationType;
2307
+ address?: {
2308
+ streetAddress?: {
2309
+ number: string;
2310
+ name: string;
2311
+ apt: string;
2312
+ };
2313
+ };
2314
+ businessSchedule?: {
2315
+ periods: {
2316
+ openDay: DayOfWeek;
2317
+ openTime: string;
2318
+ closeDay: DayOfWeek;
2319
+ closeTime: string;
2320
+ }[];
2321
+ specialHourPeriod: {
2322
+ startDate: string;
2323
+ endDate: string;
2324
+ isClosed: boolean;
2325
+ comment: string;
2326
+ }[];
2327
+ };
2328
+ archived: boolean;
2329
+ };
2330
+ };
2331
+ rate?: {
2332
+ labeledPriceOptions?: {
2333
+ amount: string;
2334
+ currency: string;
2335
+ downPayAmount: string;
2336
+ };
2337
+ defaultVariedPrice?: {
2338
+ amount: string;
2339
+ currency: string;
2340
+ downPayAmount: string;
2341
+ };
2342
+ };
2343
+ availability?: {
2344
+ linkedSchedules: {
2345
+ scheduleId: string;
2346
+ transparency: Transparency;
2347
+ scheduleOwnerId: string;
2348
+ }[];
2349
+ constraints?: {
2350
+ slotDurations: number[];
2351
+ timeBetweenSlots: number;
2352
+ };
2353
+ locations: {
2354
+ locationType: LocationType;
2355
+ customAddress?: {
2356
+ streetAddress?: {
2357
+ number: string;
2358
+ name: string;
2359
+ apt: string;
2360
+ };
2361
+ subdivisions: {
2362
+ code: string;
2363
+ name: string;
2364
+ }[];
2365
+ };
2366
+ businessLocation?: {
2367
+ name: string;
2368
+ default: boolean;
2369
+ status: LocationStatus;
2370
+ locationType: LocationsLocationType;
2371
+ address?: {
2372
+ streetAddress?: {
2373
+ number: string;
2374
+ name: string;
2375
+ apt: string;
2376
+ };
2377
+ };
2378
+ businessSchedule?: {
2379
+ periods: {
2380
+ openDay: DayOfWeek;
2381
+ openTime: string;
2382
+ closeDay: DayOfWeek;
2383
+ closeTime: string;
2384
+ }[];
2385
+ specialHourPeriod: {
2386
+ startDate: string;
2387
+ endDate: string;
2388
+ isClosed: boolean;
2389
+ comment: string;
2390
+ }[];
2391
+ };
2392
+ archived: boolean;
2393
+ };
2394
+ }[];
2395
+ };
2396
+ totalNumberOfParticipants: number;
2397
+ participants: {
2398
+ id: string;
2399
+ partySize: number;
2400
+ approvalStatus: ApprovalStatus;
2401
+ inherited: boolean;
2402
+ }[];
2403
+ status: ScheduleStatus;
2404
+ version: number;
2405
+ inheritedFields: string[];
2406
+ conferenceProvider?: {
2407
+ providerId: string;
2408
+ };
2409
+ calendarConference?: {
2410
+ id: string;
2411
+ externalId: string;
2412
+ providerId: string;
2413
+ hostUrl: string;
2414
+ guestUrl: string;
2415
+ conferenceType: ConferenceType;
2416
+ };
2417
+ };
2418
+ }
2419
+ export interface DeleteResourceResponseNonNullableFields {
2420
+ id: string;
2421
+ }