@wix/bookings 1.0.230 → 1.0.231

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 (43) 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 +7 -7
  8. package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
  9. package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +7 -7
  10. package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +1796 -0
  11. package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +594 -6
  12. package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  13. package/build/cjs/src/bookings-v1-category.http.d.ts +4 -4
  14. package/build/cjs/src/bookings-v1-category.http.js.map +1 -1
  15. package/build/cjs/src/bookings-v1-category.public.d.ts +6 -6
  16. package/build/cjs/src/bookings-v1-category.public.js +13 -13
  17. package/build/cjs/src/bookings-v1-category.public.js.map +1 -1
  18. package/build/cjs/src/bookings-v1-category.types.d.ts +15 -0
  19. package/build/cjs/src/bookings-v1-category.universal.d.ts +24 -8
  20. package/build/cjs/src/bookings-v1-category.universal.js +9 -9
  21. package/build/cjs/src/bookings-v1-category.universal.js.map +1 -1
  22. package/build/es/index.d.ts +2 -2
  23. package/build/es/index.js +2 -2
  24. package/build/es/index.js.map +1 -1
  25. package/build/es/index.typings.d.ts +2 -2
  26. package/build/es/index.typings.js +2 -2
  27. package/build/es/index.typings.js.map +1 -1
  28. package/build/es/src/bookings-catalog-v1-resource.http.d.ts +7 -7
  29. package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
  30. package/build/es/src/bookings-catalog-v1-resource.public.d.ts +7 -7
  31. package/build/es/src/bookings-catalog-v1-resource.types.d.ts +1796 -0
  32. package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +594 -6
  33. package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  34. package/build/es/src/bookings-v1-category.http.d.ts +4 -4
  35. package/build/es/src/bookings-v1-category.http.js.map +1 -1
  36. package/build/es/src/bookings-v1-category.public.d.ts +6 -6
  37. package/build/es/src/bookings-v1-category.public.js +9 -9
  38. package/build/es/src/bookings-v1-category.public.js.map +1 -1
  39. package/build/es/src/bookings-v1-category.types.d.ts +15 -0
  40. package/build/es/src/bookings-v1-category.universal.d.ts +24 -8
  41. package/build/es/src/bookings-v1-category.universal.js +4 -4
  42. package/build/es/src/bookings-v1-category.universal.js.map +1 -1
  43. package/package.json +2 -2
@@ -930,3 +930,1799 @@ export interface UnLinkResourceFromOwnerResponse {
930
930
  /** The updated resource. */
931
931
  resource?: Resource;
932
932
  }
933
+ export interface ListResourcesResponseNonNullableFields {
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
+ metadata?: {
1235
+ items: number;
1236
+ offset: number;
1237
+ totalCount: number;
1238
+ };
1239
+ }
1240
+ export interface QueryResourcesResponseNonNullableFields {
1241
+ resources: {
1242
+ images: {
1243
+ id: string;
1244
+ url: string;
1245
+ height: number;
1246
+ width: number;
1247
+ }[];
1248
+ schedules: {
1249
+ id: string;
1250
+ intervals: {
1251
+ id: string;
1252
+ interval?: {
1253
+ daysOfWeek: Day;
1254
+ duration: number;
1255
+ };
1256
+ affectedSchedules: {
1257
+ scheduleId: string;
1258
+ transparency: Transparency;
1259
+ scheduleOwnerId: string;
1260
+ }[];
1261
+ intervalType: RecurringIntervalType;
1262
+ }[];
1263
+ location?: {
1264
+ locationType: LocationType;
1265
+ customAddress?: {
1266
+ streetAddress?: {
1267
+ number: string;
1268
+ name: string;
1269
+ apt: string;
1270
+ };
1271
+ subdivisions: {
1272
+ code: string;
1273
+ name: string;
1274
+ }[];
1275
+ };
1276
+ businessLocation?: {
1277
+ name: string;
1278
+ default: boolean;
1279
+ status: LocationStatus;
1280
+ locationType: LocationsLocationType;
1281
+ address?: {
1282
+ streetAddress?: {
1283
+ number: string;
1284
+ name: string;
1285
+ apt: string;
1286
+ };
1287
+ };
1288
+ businessSchedule?: {
1289
+ periods: {
1290
+ openDay: DayOfWeek;
1291
+ openTime: string;
1292
+ closeDay: DayOfWeek;
1293
+ closeTime: string;
1294
+ }[];
1295
+ specialHourPeriod: {
1296
+ startDate: string;
1297
+ endDate: string;
1298
+ isClosed: boolean;
1299
+ comment: string;
1300
+ }[];
1301
+ };
1302
+ archived: boolean;
1303
+ };
1304
+ };
1305
+ rate?: {
1306
+ labeledPriceOptions?: {
1307
+ amount: string;
1308
+ currency: string;
1309
+ downPayAmount: string;
1310
+ };
1311
+ defaultVariedPrice?: {
1312
+ amount: string;
1313
+ currency: string;
1314
+ downPayAmount: string;
1315
+ };
1316
+ };
1317
+ availability?: {
1318
+ linkedSchedules: {
1319
+ scheduleId: string;
1320
+ transparency: Transparency;
1321
+ scheduleOwnerId: string;
1322
+ }[];
1323
+ constraints?: {
1324
+ slotDurations: number[];
1325
+ timeBetweenSlots: number;
1326
+ };
1327
+ locations: {
1328
+ locationType: LocationType;
1329
+ customAddress?: {
1330
+ streetAddress?: {
1331
+ number: string;
1332
+ name: string;
1333
+ apt: string;
1334
+ };
1335
+ subdivisions: {
1336
+ code: string;
1337
+ name: string;
1338
+ }[];
1339
+ };
1340
+ businessLocation?: {
1341
+ name: string;
1342
+ default: boolean;
1343
+ status: LocationStatus;
1344
+ locationType: LocationsLocationType;
1345
+ address?: {
1346
+ streetAddress?: {
1347
+ number: string;
1348
+ name: string;
1349
+ apt: string;
1350
+ };
1351
+ };
1352
+ businessSchedule?: {
1353
+ periods: {
1354
+ openDay: DayOfWeek;
1355
+ openTime: string;
1356
+ closeDay: DayOfWeek;
1357
+ closeTime: string;
1358
+ }[];
1359
+ specialHourPeriod: {
1360
+ startDate: string;
1361
+ endDate: string;
1362
+ isClosed: boolean;
1363
+ comment: string;
1364
+ }[];
1365
+ };
1366
+ archived: boolean;
1367
+ };
1368
+ }[];
1369
+ };
1370
+ totalNumberOfParticipants: number;
1371
+ participants: {
1372
+ id: string;
1373
+ partySize: number;
1374
+ approvalStatus: ApprovalStatus;
1375
+ inherited: boolean;
1376
+ }[];
1377
+ status: ScheduleStatus;
1378
+ version: number;
1379
+ inheritedFields: string[];
1380
+ conferenceProvider?: {
1381
+ providerId: string;
1382
+ };
1383
+ calendarConference?: {
1384
+ id: string;
1385
+ externalId: string;
1386
+ providerId: string;
1387
+ hostUrl: string;
1388
+ guestUrl: string;
1389
+ conferenceType: ConferenceType;
1390
+ };
1391
+ }[];
1392
+ status: ResourceStatus;
1393
+ businessLocation?: {
1394
+ locationId: string;
1395
+ };
1396
+ eventsSchedule?: {
1397
+ id: string;
1398
+ intervals: {
1399
+ id: string;
1400
+ interval?: {
1401
+ daysOfWeek: Day;
1402
+ duration: number;
1403
+ };
1404
+ affectedSchedules: {
1405
+ scheduleId: string;
1406
+ transparency: Transparency;
1407
+ scheduleOwnerId: string;
1408
+ }[];
1409
+ intervalType: RecurringIntervalType;
1410
+ }[];
1411
+ location?: {
1412
+ locationType: LocationType;
1413
+ customAddress?: {
1414
+ streetAddress?: {
1415
+ number: string;
1416
+ name: string;
1417
+ apt: string;
1418
+ };
1419
+ subdivisions: {
1420
+ code: string;
1421
+ name: string;
1422
+ }[];
1423
+ };
1424
+ businessLocation?: {
1425
+ name: string;
1426
+ default: boolean;
1427
+ status: LocationStatus;
1428
+ locationType: LocationsLocationType;
1429
+ address?: {
1430
+ streetAddress?: {
1431
+ number: string;
1432
+ name: string;
1433
+ apt: string;
1434
+ };
1435
+ };
1436
+ businessSchedule?: {
1437
+ periods: {
1438
+ openDay: DayOfWeek;
1439
+ openTime: string;
1440
+ closeDay: DayOfWeek;
1441
+ closeTime: string;
1442
+ }[];
1443
+ specialHourPeriod: {
1444
+ startDate: string;
1445
+ endDate: string;
1446
+ isClosed: boolean;
1447
+ comment: string;
1448
+ }[];
1449
+ };
1450
+ archived: boolean;
1451
+ };
1452
+ };
1453
+ rate?: {
1454
+ labeledPriceOptions?: {
1455
+ amount: string;
1456
+ currency: string;
1457
+ downPayAmount: string;
1458
+ };
1459
+ defaultVariedPrice?: {
1460
+ amount: string;
1461
+ currency: string;
1462
+ downPayAmount: string;
1463
+ };
1464
+ };
1465
+ availability?: {
1466
+ linkedSchedules: {
1467
+ scheduleId: string;
1468
+ transparency: Transparency;
1469
+ scheduleOwnerId: string;
1470
+ }[];
1471
+ constraints?: {
1472
+ slotDurations: number[];
1473
+ timeBetweenSlots: number;
1474
+ };
1475
+ locations: {
1476
+ locationType: LocationType;
1477
+ customAddress?: {
1478
+ streetAddress?: {
1479
+ number: string;
1480
+ name: string;
1481
+ apt: string;
1482
+ };
1483
+ subdivisions: {
1484
+ code: string;
1485
+ name: string;
1486
+ }[];
1487
+ };
1488
+ businessLocation?: {
1489
+ name: string;
1490
+ default: boolean;
1491
+ status: LocationStatus;
1492
+ locationType: LocationsLocationType;
1493
+ address?: {
1494
+ streetAddress?: {
1495
+ number: string;
1496
+ name: string;
1497
+ apt: string;
1498
+ };
1499
+ };
1500
+ businessSchedule?: {
1501
+ periods: {
1502
+ openDay: DayOfWeek;
1503
+ openTime: string;
1504
+ closeDay: DayOfWeek;
1505
+ closeTime: string;
1506
+ }[];
1507
+ specialHourPeriod: {
1508
+ startDate: string;
1509
+ endDate: string;
1510
+ isClosed: boolean;
1511
+ comment: string;
1512
+ }[];
1513
+ };
1514
+ archived: boolean;
1515
+ };
1516
+ }[];
1517
+ };
1518
+ totalNumberOfParticipants: number;
1519
+ participants: {
1520
+ id: string;
1521
+ partySize: number;
1522
+ approvalStatus: ApprovalStatus;
1523
+ inherited: boolean;
1524
+ }[];
1525
+ status: ScheduleStatus;
1526
+ version: number;
1527
+ inheritedFields: string[];
1528
+ conferenceProvider?: {
1529
+ providerId: string;
1530
+ };
1531
+ calendarConference?: {
1532
+ id: string;
1533
+ externalId: string;
1534
+ providerId: string;
1535
+ hostUrl: string;
1536
+ guestUrl: string;
1537
+ conferenceType: ConferenceType;
1538
+ };
1539
+ };
1540
+ }[];
1541
+ }
1542
+ export interface CreateResourceResponseNonNullableFields {
1543
+ resource?: {
1544
+ images: {
1545
+ id: string;
1546
+ url: string;
1547
+ height: number;
1548
+ width: number;
1549
+ }[];
1550
+ schedules: {
1551
+ id: string;
1552
+ intervals: {
1553
+ id: string;
1554
+ interval?: {
1555
+ daysOfWeek: Day;
1556
+ duration: number;
1557
+ };
1558
+ affectedSchedules: {
1559
+ scheduleId: string;
1560
+ transparency: Transparency;
1561
+ scheduleOwnerId: string;
1562
+ }[];
1563
+ intervalType: RecurringIntervalType;
1564
+ }[];
1565
+ location?: {
1566
+ locationType: LocationType;
1567
+ customAddress?: {
1568
+ streetAddress?: {
1569
+ number: string;
1570
+ name: string;
1571
+ apt: string;
1572
+ };
1573
+ subdivisions: {
1574
+ code: string;
1575
+ name: string;
1576
+ }[];
1577
+ };
1578
+ businessLocation?: {
1579
+ name: string;
1580
+ default: boolean;
1581
+ status: LocationStatus;
1582
+ locationType: LocationsLocationType;
1583
+ address?: {
1584
+ streetAddress?: {
1585
+ number: string;
1586
+ name: string;
1587
+ apt: string;
1588
+ };
1589
+ };
1590
+ businessSchedule?: {
1591
+ periods: {
1592
+ openDay: DayOfWeek;
1593
+ openTime: string;
1594
+ closeDay: DayOfWeek;
1595
+ closeTime: string;
1596
+ }[];
1597
+ specialHourPeriod: {
1598
+ startDate: string;
1599
+ endDate: string;
1600
+ isClosed: boolean;
1601
+ comment: string;
1602
+ }[];
1603
+ };
1604
+ archived: boolean;
1605
+ };
1606
+ };
1607
+ rate?: {
1608
+ labeledPriceOptions?: {
1609
+ amount: string;
1610
+ currency: string;
1611
+ downPayAmount: string;
1612
+ };
1613
+ defaultVariedPrice?: {
1614
+ amount: string;
1615
+ currency: string;
1616
+ downPayAmount: string;
1617
+ };
1618
+ };
1619
+ availability?: {
1620
+ linkedSchedules: {
1621
+ scheduleId: string;
1622
+ transparency: Transparency;
1623
+ scheduleOwnerId: string;
1624
+ }[];
1625
+ constraints?: {
1626
+ slotDurations: number[];
1627
+ timeBetweenSlots: number;
1628
+ };
1629
+ locations: {
1630
+ locationType: LocationType;
1631
+ customAddress?: {
1632
+ streetAddress?: {
1633
+ number: string;
1634
+ name: string;
1635
+ apt: string;
1636
+ };
1637
+ subdivisions: {
1638
+ code: string;
1639
+ name: string;
1640
+ }[];
1641
+ };
1642
+ businessLocation?: {
1643
+ name: string;
1644
+ default: boolean;
1645
+ status: LocationStatus;
1646
+ locationType: LocationsLocationType;
1647
+ address?: {
1648
+ streetAddress?: {
1649
+ number: string;
1650
+ name: string;
1651
+ apt: string;
1652
+ };
1653
+ };
1654
+ businessSchedule?: {
1655
+ periods: {
1656
+ openDay: DayOfWeek;
1657
+ openTime: string;
1658
+ closeDay: DayOfWeek;
1659
+ closeTime: string;
1660
+ }[];
1661
+ specialHourPeriod: {
1662
+ startDate: string;
1663
+ endDate: string;
1664
+ isClosed: boolean;
1665
+ comment: string;
1666
+ }[];
1667
+ };
1668
+ archived: boolean;
1669
+ };
1670
+ }[];
1671
+ };
1672
+ totalNumberOfParticipants: number;
1673
+ participants: {
1674
+ id: string;
1675
+ partySize: number;
1676
+ approvalStatus: ApprovalStatus;
1677
+ inherited: boolean;
1678
+ }[];
1679
+ status: ScheduleStatus;
1680
+ version: number;
1681
+ inheritedFields: string[];
1682
+ conferenceProvider?: {
1683
+ providerId: string;
1684
+ };
1685
+ calendarConference?: {
1686
+ id: string;
1687
+ externalId: string;
1688
+ providerId: string;
1689
+ hostUrl: string;
1690
+ guestUrl: string;
1691
+ conferenceType: ConferenceType;
1692
+ };
1693
+ }[];
1694
+ status: ResourceStatus;
1695
+ businessLocation?: {
1696
+ locationId: string;
1697
+ };
1698
+ eventsSchedule?: {
1699
+ id: string;
1700
+ intervals: {
1701
+ id: string;
1702
+ interval?: {
1703
+ daysOfWeek: Day;
1704
+ duration: number;
1705
+ };
1706
+ affectedSchedules: {
1707
+ scheduleId: string;
1708
+ transparency: Transparency;
1709
+ scheduleOwnerId: string;
1710
+ }[];
1711
+ intervalType: RecurringIntervalType;
1712
+ }[];
1713
+ location?: {
1714
+ locationType: LocationType;
1715
+ customAddress?: {
1716
+ streetAddress?: {
1717
+ number: string;
1718
+ name: string;
1719
+ apt: string;
1720
+ };
1721
+ subdivisions: {
1722
+ code: string;
1723
+ name: string;
1724
+ }[];
1725
+ };
1726
+ businessLocation?: {
1727
+ name: string;
1728
+ default: boolean;
1729
+ status: LocationStatus;
1730
+ locationType: LocationsLocationType;
1731
+ address?: {
1732
+ streetAddress?: {
1733
+ number: string;
1734
+ name: string;
1735
+ apt: string;
1736
+ };
1737
+ };
1738
+ businessSchedule?: {
1739
+ periods: {
1740
+ openDay: DayOfWeek;
1741
+ openTime: string;
1742
+ closeDay: DayOfWeek;
1743
+ closeTime: string;
1744
+ }[];
1745
+ specialHourPeriod: {
1746
+ startDate: string;
1747
+ endDate: string;
1748
+ isClosed: boolean;
1749
+ comment: string;
1750
+ }[];
1751
+ };
1752
+ archived: boolean;
1753
+ };
1754
+ };
1755
+ rate?: {
1756
+ labeledPriceOptions?: {
1757
+ amount: string;
1758
+ currency: string;
1759
+ downPayAmount: string;
1760
+ };
1761
+ defaultVariedPrice?: {
1762
+ amount: string;
1763
+ currency: string;
1764
+ downPayAmount: string;
1765
+ };
1766
+ };
1767
+ availability?: {
1768
+ linkedSchedules: {
1769
+ scheduleId: string;
1770
+ transparency: Transparency;
1771
+ scheduleOwnerId: string;
1772
+ }[];
1773
+ constraints?: {
1774
+ slotDurations: number[];
1775
+ timeBetweenSlots: number;
1776
+ };
1777
+ locations: {
1778
+ locationType: LocationType;
1779
+ customAddress?: {
1780
+ streetAddress?: {
1781
+ number: string;
1782
+ name: string;
1783
+ apt: string;
1784
+ };
1785
+ subdivisions: {
1786
+ code: string;
1787
+ name: string;
1788
+ }[];
1789
+ };
1790
+ businessLocation?: {
1791
+ name: string;
1792
+ default: boolean;
1793
+ status: LocationStatus;
1794
+ locationType: LocationsLocationType;
1795
+ address?: {
1796
+ streetAddress?: {
1797
+ number: string;
1798
+ name: string;
1799
+ apt: string;
1800
+ };
1801
+ };
1802
+ businessSchedule?: {
1803
+ periods: {
1804
+ openDay: DayOfWeek;
1805
+ openTime: string;
1806
+ closeDay: DayOfWeek;
1807
+ closeTime: string;
1808
+ }[];
1809
+ specialHourPeriod: {
1810
+ startDate: string;
1811
+ endDate: string;
1812
+ isClosed: boolean;
1813
+ comment: string;
1814
+ }[];
1815
+ };
1816
+ archived: boolean;
1817
+ };
1818
+ }[];
1819
+ };
1820
+ totalNumberOfParticipants: number;
1821
+ participants: {
1822
+ id: string;
1823
+ partySize: number;
1824
+ approvalStatus: ApprovalStatus;
1825
+ inherited: boolean;
1826
+ }[];
1827
+ status: ScheduleStatus;
1828
+ version: number;
1829
+ inheritedFields: string[];
1830
+ conferenceProvider?: {
1831
+ providerId: string;
1832
+ };
1833
+ calendarConference?: {
1834
+ id: string;
1835
+ externalId: string;
1836
+ providerId: string;
1837
+ hostUrl: string;
1838
+ guestUrl: string;
1839
+ conferenceType: ConferenceType;
1840
+ };
1841
+ };
1842
+ };
1843
+ }
1844
+ export interface UpdateResourceResponseNonNullableFields {
1845
+ resource?: {
1846
+ images: {
1847
+ id: string;
1848
+ url: string;
1849
+ height: number;
1850
+ width: number;
1851
+ }[];
1852
+ schedules: {
1853
+ id: string;
1854
+ intervals: {
1855
+ id: string;
1856
+ interval?: {
1857
+ daysOfWeek: Day;
1858
+ duration: number;
1859
+ };
1860
+ affectedSchedules: {
1861
+ scheduleId: string;
1862
+ transparency: Transparency;
1863
+ scheduleOwnerId: string;
1864
+ }[];
1865
+ intervalType: RecurringIntervalType;
1866
+ }[];
1867
+ location?: {
1868
+ locationType: LocationType;
1869
+ customAddress?: {
1870
+ streetAddress?: {
1871
+ number: string;
1872
+ name: string;
1873
+ apt: string;
1874
+ };
1875
+ subdivisions: {
1876
+ code: string;
1877
+ name: string;
1878
+ }[];
1879
+ };
1880
+ businessLocation?: {
1881
+ name: string;
1882
+ default: boolean;
1883
+ status: LocationStatus;
1884
+ locationType: LocationsLocationType;
1885
+ address?: {
1886
+ streetAddress?: {
1887
+ number: string;
1888
+ name: string;
1889
+ apt: string;
1890
+ };
1891
+ };
1892
+ businessSchedule?: {
1893
+ periods: {
1894
+ openDay: DayOfWeek;
1895
+ openTime: string;
1896
+ closeDay: DayOfWeek;
1897
+ closeTime: string;
1898
+ }[];
1899
+ specialHourPeriod: {
1900
+ startDate: string;
1901
+ endDate: string;
1902
+ isClosed: boolean;
1903
+ comment: string;
1904
+ }[];
1905
+ };
1906
+ archived: boolean;
1907
+ };
1908
+ };
1909
+ rate?: {
1910
+ labeledPriceOptions?: {
1911
+ amount: string;
1912
+ currency: string;
1913
+ downPayAmount: string;
1914
+ };
1915
+ defaultVariedPrice?: {
1916
+ amount: string;
1917
+ currency: string;
1918
+ downPayAmount: string;
1919
+ };
1920
+ };
1921
+ availability?: {
1922
+ linkedSchedules: {
1923
+ scheduleId: string;
1924
+ transparency: Transparency;
1925
+ scheduleOwnerId: string;
1926
+ }[];
1927
+ constraints?: {
1928
+ slotDurations: number[];
1929
+ timeBetweenSlots: number;
1930
+ };
1931
+ locations: {
1932
+ locationType: LocationType;
1933
+ customAddress?: {
1934
+ streetAddress?: {
1935
+ number: string;
1936
+ name: string;
1937
+ apt: string;
1938
+ };
1939
+ subdivisions: {
1940
+ code: string;
1941
+ name: string;
1942
+ }[];
1943
+ };
1944
+ businessLocation?: {
1945
+ name: string;
1946
+ default: boolean;
1947
+ status: LocationStatus;
1948
+ locationType: LocationsLocationType;
1949
+ address?: {
1950
+ streetAddress?: {
1951
+ number: string;
1952
+ name: string;
1953
+ apt: string;
1954
+ };
1955
+ };
1956
+ businessSchedule?: {
1957
+ periods: {
1958
+ openDay: DayOfWeek;
1959
+ openTime: string;
1960
+ closeDay: DayOfWeek;
1961
+ closeTime: string;
1962
+ }[];
1963
+ specialHourPeriod: {
1964
+ startDate: string;
1965
+ endDate: string;
1966
+ isClosed: boolean;
1967
+ comment: string;
1968
+ }[];
1969
+ };
1970
+ archived: boolean;
1971
+ };
1972
+ }[];
1973
+ };
1974
+ totalNumberOfParticipants: number;
1975
+ participants: {
1976
+ id: string;
1977
+ partySize: number;
1978
+ approvalStatus: ApprovalStatus;
1979
+ inherited: boolean;
1980
+ }[];
1981
+ status: ScheduleStatus;
1982
+ version: number;
1983
+ inheritedFields: string[];
1984
+ conferenceProvider?: {
1985
+ providerId: string;
1986
+ };
1987
+ calendarConference?: {
1988
+ id: string;
1989
+ externalId: string;
1990
+ providerId: string;
1991
+ hostUrl: string;
1992
+ guestUrl: string;
1993
+ conferenceType: ConferenceType;
1994
+ };
1995
+ }[];
1996
+ status: ResourceStatus;
1997
+ businessLocation?: {
1998
+ locationId: string;
1999
+ };
2000
+ eventsSchedule?: {
2001
+ id: string;
2002
+ intervals: {
2003
+ id: string;
2004
+ interval?: {
2005
+ daysOfWeek: Day;
2006
+ duration: number;
2007
+ };
2008
+ affectedSchedules: {
2009
+ scheduleId: string;
2010
+ transparency: Transparency;
2011
+ scheduleOwnerId: string;
2012
+ }[];
2013
+ intervalType: RecurringIntervalType;
2014
+ }[];
2015
+ location?: {
2016
+ locationType: LocationType;
2017
+ customAddress?: {
2018
+ streetAddress?: {
2019
+ number: string;
2020
+ name: string;
2021
+ apt: string;
2022
+ };
2023
+ subdivisions: {
2024
+ code: string;
2025
+ name: string;
2026
+ }[];
2027
+ };
2028
+ businessLocation?: {
2029
+ name: string;
2030
+ default: boolean;
2031
+ status: LocationStatus;
2032
+ locationType: LocationsLocationType;
2033
+ address?: {
2034
+ streetAddress?: {
2035
+ number: string;
2036
+ name: string;
2037
+ apt: string;
2038
+ };
2039
+ };
2040
+ businessSchedule?: {
2041
+ periods: {
2042
+ openDay: DayOfWeek;
2043
+ openTime: string;
2044
+ closeDay: DayOfWeek;
2045
+ closeTime: string;
2046
+ }[];
2047
+ specialHourPeriod: {
2048
+ startDate: string;
2049
+ endDate: string;
2050
+ isClosed: boolean;
2051
+ comment: string;
2052
+ }[];
2053
+ };
2054
+ archived: boolean;
2055
+ };
2056
+ };
2057
+ rate?: {
2058
+ labeledPriceOptions?: {
2059
+ amount: string;
2060
+ currency: string;
2061
+ downPayAmount: string;
2062
+ };
2063
+ defaultVariedPrice?: {
2064
+ amount: string;
2065
+ currency: string;
2066
+ downPayAmount: string;
2067
+ };
2068
+ };
2069
+ availability?: {
2070
+ linkedSchedules: {
2071
+ scheduleId: string;
2072
+ transparency: Transparency;
2073
+ scheduleOwnerId: string;
2074
+ }[];
2075
+ constraints?: {
2076
+ slotDurations: number[];
2077
+ timeBetweenSlots: number;
2078
+ };
2079
+ locations: {
2080
+ locationType: LocationType;
2081
+ customAddress?: {
2082
+ streetAddress?: {
2083
+ number: string;
2084
+ name: string;
2085
+ apt: string;
2086
+ };
2087
+ subdivisions: {
2088
+ code: string;
2089
+ name: string;
2090
+ }[];
2091
+ };
2092
+ businessLocation?: {
2093
+ name: string;
2094
+ default: boolean;
2095
+ status: LocationStatus;
2096
+ locationType: LocationsLocationType;
2097
+ address?: {
2098
+ streetAddress?: {
2099
+ number: string;
2100
+ name: string;
2101
+ apt: string;
2102
+ };
2103
+ };
2104
+ businessSchedule?: {
2105
+ periods: {
2106
+ openDay: DayOfWeek;
2107
+ openTime: string;
2108
+ closeDay: DayOfWeek;
2109
+ closeTime: string;
2110
+ }[];
2111
+ specialHourPeriod: {
2112
+ startDate: string;
2113
+ endDate: string;
2114
+ isClosed: boolean;
2115
+ comment: string;
2116
+ }[];
2117
+ };
2118
+ archived: boolean;
2119
+ };
2120
+ }[];
2121
+ };
2122
+ totalNumberOfParticipants: number;
2123
+ participants: {
2124
+ id: string;
2125
+ partySize: number;
2126
+ approvalStatus: ApprovalStatus;
2127
+ inherited: boolean;
2128
+ }[];
2129
+ status: ScheduleStatus;
2130
+ version: number;
2131
+ inheritedFields: string[];
2132
+ conferenceProvider?: {
2133
+ providerId: string;
2134
+ };
2135
+ calendarConference?: {
2136
+ id: string;
2137
+ externalId: string;
2138
+ providerId: string;
2139
+ hostUrl: string;
2140
+ guestUrl: string;
2141
+ conferenceType: ConferenceType;
2142
+ };
2143
+ };
2144
+ };
2145
+ schedules?: {
2146
+ created: {
2147
+ id: string;
2148
+ intervals: {
2149
+ id: string;
2150
+ interval?: {
2151
+ daysOfWeek: Day;
2152
+ duration: number;
2153
+ };
2154
+ affectedSchedules: {
2155
+ scheduleId: string;
2156
+ transparency: Transparency;
2157
+ scheduleOwnerId: string;
2158
+ }[];
2159
+ intervalType: RecurringIntervalType;
2160
+ }[];
2161
+ location?: {
2162
+ locationType: LocationType;
2163
+ customAddress?: {
2164
+ streetAddress?: {
2165
+ number: string;
2166
+ name: string;
2167
+ apt: string;
2168
+ };
2169
+ subdivisions: {
2170
+ code: string;
2171
+ name: string;
2172
+ }[];
2173
+ };
2174
+ businessLocation?: {
2175
+ name: string;
2176
+ default: boolean;
2177
+ status: LocationStatus;
2178
+ locationType: LocationsLocationType;
2179
+ address?: {
2180
+ streetAddress?: {
2181
+ number: string;
2182
+ name: string;
2183
+ apt: string;
2184
+ };
2185
+ };
2186
+ businessSchedule?: {
2187
+ periods: {
2188
+ openDay: DayOfWeek;
2189
+ openTime: string;
2190
+ closeDay: DayOfWeek;
2191
+ closeTime: string;
2192
+ }[];
2193
+ specialHourPeriod: {
2194
+ startDate: string;
2195
+ endDate: string;
2196
+ isClosed: boolean;
2197
+ comment: string;
2198
+ }[];
2199
+ };
2200
+ archived: boolean;
2201
+ };
2202
+ };
2203
+ rate?: {
2204
+ labeledPriceOptions?: {
2205
+ amount: string;
2206
+ currency: string;
2207
+ downPayAmount: string;
2208
+ };
2209
+ defaultVariedPrice?: {
2210
+ amount: string;
2211
+ currency: string;
2212
+ downPayAmount: string;
2213
+ };
2214
+ };
2215
+ availability?: {
2216
+ linkedSchedules: {
2217
+ scheduleId: string;
2218
+ transparency: Transparency;
2219
+ scheduleOwnerId: string;
2220
+ }[];
2221
+ constraints?: {
2222
+ slotDurations: number[];
2223
+ timeBetweenSlots: number;
2224
+ };
2225
+ locations: {
2226
+ locationType: LocationType;
2227
+ customAddress?: {
2228
+ streetAddress?: {
2229
+ number: string;
2230
+ name: string;
2231
+ apt: string;
2232
+ };
2233
+ subdivisions: {
2234
+ code: string;
2235
+ name: string;
2236
+ }[];
2237
+ };
2238
+ businessLocation?: {
2239
+ name: string;
2240
+ default: boolean;
2241
+ status: LocationStatus;
2242
+ locationType: LocationsLocationType;
2243
+ address?: {
2244
+ streetAddress?: {
2245
+ number: string;
2246
+ name: string;
2247
+ apt: string;
2248
+ };
2249
+ };
2250
+ businessSchedule?: {
2251
+ periods: {
2252
+ openDay: DayOfWeek;
2253
+ openTime: string;
2254
+ closeDay: DayOfWeek;
2255
+ closeTime: string;
2256
+ }[];
2257
+ specialHourPeriod: {
2258
+ startDate: string;
2259
+ endDate: string;
2260
+ isClosed: boolean;
2261
+ comment: string;
2262
+ }[];
2263
+ };
2264
+ archived: boolean;
2265
+ };
2266
+ }[];
2267
+ };
2268
+ totalNumberOfParticipants: number;
2269
+ participants: {
2270
+ id: string;
2271
+ partySize: number;
2272
+ approvalStatus: ApprovalStatus;
2273
+ inherited: boolean;
2274
+ }[];
2275
+ status: ScheduleStatus;
2276
+ version: number;
2277
+ inheritedFields: string[];
2278
+ conferenceProvider?: {
2279
+ providerId: string;
2280
+ };
2281
+ calendarConference?: {
2282
+ id: string;
2283
+ externalId: string;
2284
+ providerId: string;
2285
+ hostUrl: string;
2286
+ guestUrl: string;
2287
+ conferenceType: ConferenceType;
2288
+ };
2289
+ }[];
2290
+ updated: {
2291
+ id: string;
2292
+ intervals: {
2293
+ id: string;
2294
+ interval?: {
2295
+ daysOfWeek: Day;
2296
+ duration: number;
2297
+ };
2298
+ affectedSchedules: {
2299
+ scheduleId: string;
2300
+ transparency: Transparency;
2301
+ scheduleOwnerId: string;
2302
+ }[];
2303
+ intervalType: RecurringIntervalType;
2304
+ }[];
2305
+ location?: {
2306
+ locationType: LocationType;
2307
+ customAddress?: {
2308
+ streetAddress?: {
2309
+ number: string;
2310
+ name: string;
2311
+ apt: string;
2312
+ };
2313
+ subdivisions: {
2314
+ code: string;
2315
+ name: string;
2316
+ }[];
2317
+ };
2318
+ businessLocation?: {
2319
+ name: string;
2320
+ default: boolean;
2321
+ status: LocationStatus;
2322
+ locationType: LocationsLocationType;
2323
+ address?: {
2324
+ streetAddress?: {
2325
+ number: string;
2326
+ name: string;
2327
+ apt: string;
2328
+ };
2329
+ };
2330
+ businessSchedule?: {
2331
+ periods: {
2332
+ openDay: DayOfWeek;
2333
+ openTime: string;
2334
+ closeDay: DayOfWeek;
2335
+ closeTime: string;
2336
+ }[];
2337
+ specialHourPeriod: {
2338
+ startDate: string;
2339
+ endDate: string;
2340
+ isClosed: boolean;
2341
+ comment: string;
2342
+ }[];
2343
+ };
2344
+ archived: boolean;
2345
+ };
2346
+ };
2347
+ rate?: {
2348
+ labeledPriceOptions?: {
2349
+ amount: string;
2350
+ currency: string;
2351
+ downPayAmount: string;
2352
+ };
2353
+ defaultVariedPrice?: {
2354
+ amount: string;
2355
+ currency: string;
2356
+ downPayAmount: string;
2357
+ };
2358
+ };
2359
+ availability?: {
2360
+ linkedSchedules: {
2361
+ scheduleId: string;
2362
+ transparency: Transparency;
2363
+ scheduleOwnerId: string;
2364
+ }[];
2365
+ constraints?: {
2366
+ slotDurations: number[];
2367
+ timeBetweenSlots: number;
2368
+ };
2369
+ locations: {
2370
+ locationType: LocationType;
2371
+ customAddress?: {
2372
+ streetAddress?: {
2373
+ number: string;
2374
+ name: string;
2375
+ apt: string;
2376
+ };
2377
+ subdivisions: {
2378
+ code: string;
2379
+ name: string;
2380
+ }[];
2381
+ };
2382
+ businessLocation?: {
2383
+ name: string;
2384
+ default: boolean;
2385
+ status: LocationStatus;
2386
+ locationType: LocationsLocationType;
2387
+ address?: {
2388
+ streetAddress?: {
2389
+ number: string;
2390
+ name: string;
2391
+ apt: string;
2392
+ };
2393
+ };
2394
+ businessSchedule?: {
2395
+ periods: {
2396
+ openDay: DayOfWeek;
2397
+ openTime: string;
2398
+ closeDay: DayOfWeek;
2399
+ closeTime: string;
2400
+ }[];
2401
+ specialHourPeriod: {
2402
+ startDate: string;
2403
+ endDate: string;
2404
+ isClosed: boolean;
2405
+ comment: string;
2406
+ }[];
2407
+ };
2408
+ archived: boolean;
2409
+ };
2410
+ }[];
2411
+ };
2412
+ totalNumberOfParticipants: number;
2413
+ participants: {
2414
+ id: string;
2415
+ partySize: number;
2416
+ approvalStatus: ApprovalStatus;
2417
+ inherited: boolean;
2418
+ }[];
2419
+ status: ScheduleStatus;
2420
+ version: number;
2421
+ inheritedFields: string[];
2422
+ conferenceProvider?: {
2423
+ providerId: string;
2424
+ };
2425
+ calendarConference?: {
2426
+ id: string;
2427
+ externalId: string;
2428
+ providerId: string;
2429
+ hostUrl: string;
2430
+ guestUrl: string;
2431
+ conferenceType: ConferenceType;
2432
+ };
2433
+ }[];
2434
+ cancelled: {
2435
+ id: string;
2436
+ intervals: {
2437
+ id: string;
2438
+ interval?: {
2439
+ daysOfWeek: Day;
2440
+ duration: number;
2441
+ };
2442
+ affectedSchedules: {
2443
+ scheduleId: string;
2444
+ transparency: Transparency;
2445
+ scheduleOwnerId: string;
2446
+ }[];
2447
+ intervalType: RecurringIntervalType;
2448
+ }[];
2449
+ location?: {
2450
+ locationType: LocationType;
2451
+ customAddress?: {
2452
+ streetAddress?: {
2453
+ number: string;
2454
+ name: string;
2455
+ apt: string;
2456
+ };
2457
+ subdivisions: {
2458
+ code: string;
2459
+ name: string;
2460
+ }[];
2461
+ };
2462
+ businessLocation?: {
2463
+ name: string;
2464
+ default: boolean;
2465
+ status: LocationStatus;
2466
+ locationType: LocationsLocationType;
2467
+ address?: {
2468
+ streetAddress?: {
2469
+ number: string;
2470
+ name: string;
2471
+ apt: string;
2472
+ };
2473
+ };
2474
+ businessSchedule?: {
2475
+ periods: {
2476
+ openDay: DayOfWeek;
2477
+ openTime: string;
2478
+ closeDay: DayOfWeek;
2479
+ closeTime: string;
2480
+ }[];
2481
+ specialHourPeriod: {
2482
+ startDate: string;
2483
+ endDate: string;
2484
+ isClosed: boolean;
2485
+ comment: string;
2486
+ }[];
2487
+ };
2488
+ archived: boolean;
2489
+ };
2490
+ };
2491
+ rate?: {
2492
+ labeledPriceOptions?: {
2493
+ amount: string;
2494
+ currency: string;
2495
+ downPayAmount: string;
2496
+ };
2497
+ defaultVariedPrice?: {
2498
+ amount: string;
2499
+ currency: string;
2500
+ downPayAmount: string;
2501
+ };
2502
+ };
2503
+ availability?: {
2504
+ linkedSchedules: {
2505
+ scheduleId: string;
2506
+ transparency: Transparency;
2507
+ scheduleOwnerId: string;
2508
+ }[];
2509
+ constraints?: {
2510
+ slotDurations: number[];
2511
+ timeBetweenSlots: number;
2512
+ };
2513
+ locations: {
2514
+ locationType: LocationType;
2515
+ customAddress?: {
2516
+ streetAddress?: {
2517
+ number: string;
2518
+ name: string;
2519
+ apt: string;
2520
+ };
2521
+ subdivisions: {
2522
+ code: string;
2523
+ name: string;
2524
+ }[];
2525
+ };
2526
+ businessLocation?: {
2527
+ name: string;
2528
+ default: boolean;
2529
+ status: LocationStatus;
2530
+ locationType: LocationsLocationType;
2531
+ address?: {
2532
+ streetAddress?: {
2533
+ number: string;
2534
+ name: string;
2535
+ apt: string;
2536
+ };
2537
+ };
2538
+ businessSchedule?: {
2539
+ periods: {
2540
+ openDay: DayOfWeek;
2541
+ openTime: string;
2542
+ closeDay: DayOfWeek;
2543
+ closeTime: string;
2544
+ }[];
2545
+ specialHourPeriod: {
2546
+ startDate: string;
2547
+ endDate: string;
2548
+ isClosed: boolean;
2549
+ comment: string;
2550
+ }[];
2551
+ };
2552
+ archived: boolean;
2553
+ };
2554
+ }[];
2555
+ };
2556
+ totalNumberOfParticipants: number;
2557
+ participants: {
2558
+ id: string;
2559
+ partySize: number;
2560
+ approvalStatus: ApprovalStatus;
2561
+ inherited: boolean;
2562
+ }[];
2563
+ status: ScheduleStatus;
2564
+ version: number;
2565
+ inheritedFields: string[];
2566
+ conferenceProvider?: {
2567
+ providerId: string;
2568
+ };
2569
+ calendarConference?: {
2570
+ id: string;
2571
+ externalId: string;
2572
+ providerId: string;
2573
+ hostUrl: string;
2574
+ guestUrl: string;
2575
+ conferenceType: ConferenceType;
2576
+ };
2577
+ }[];
2578
+ };
2579
+ }
2580
+ export interface UpdateScheduleResponseNonNullableFields {
2581
+ schedule?: {
2582
+ id: string;
2583
+ intervals: {
2584
+ id: string;
2585
+ interval?: {
2586
+ daysOfWeek: Day;
2587
+ duration: number;
2588
+ };
2589
+ affectedSchedules: {
2590
+ scheduleId: string;
2591
+ transparency: Transparency;
2592
+ scheduleOwnerId: string;
2593
+ }[];
2594
+ intervalType: RecurringIntervalType;
2595
+ }[];
2596
+ location?: {
2597
+ locationType: LocationType;
2598
+ customAddress?: {
2599
+ streetAddress?: {
2600
+ number: string;
2601
+ name: string;
2602
+ apt: string;
2603
+ };
2604
+ subdivisions: {
2605
+ code: string;
2606
+ name: string;
2607
+ }[];
2608
+ };
2609
+ businessLocation?: {
2610
+ name: string;
2611
+ default: boolean;
2612
+ status: LocationStatus;
2613
+ locationType: LocationsLocationType;
2614
+ address?: {
2615
+ streetAddress?: {
2616
+ number: string;
2617
+ name: string;
2618
+ apt: string;
2619
+ };
2620
+ };
2621
+ businessSchedule?: {
2622
+ periods: {
2623
+ openDay: DayOfWeek;
2624
+ openTime: string;
2625
+ closeDay: DayOfWeek;
2626
+ closeTime: string;
2627
+ }[];
2628
+ specialHourPeriod: {
2629
+ startDate: string;
2630
+ endDate: string;
2631
+ isClosed: boolean;
2632
+ comment: string;
2633
+ }[];
2634
+ };
2635
+ archived: boolean;
2636
+ };
2637
+ };
2638
+ rate?: {
2639
+ labeledPriceOptions?: {
2640
+ amount: string;
2641
+ currency: string;
2642
+ downPayAmount: string;
2643
+ };
2644
+ defaultVariedPrice?: {
2645
+ amount: string;
2646
+ currency: string;
2647
+ downPayAmount: string;
2648
+ };
2649
+ };
2650
+ availability?: {
2651
+ linkedSchedules: {
2652
+ scheduleId: string;
2653
+ transparency: Transparency;
2654
+ scheduleOwnerId: string;
2655
+ }[];
2656
+ constraints?: {
2657
+ slotDurations: number[];
2658
+ timeBetweenSlots: number;
2659
+ };
2660
+ locations: {
2661
+ locationType: LocationType;
2662
+ customAddress?: {
2663
+ streetAddress?: {
2664
+ number: string;
2665
+ name: string;
2666
+ apt: string;
2667
+ };
2668
+ subdivisions: {
2669
+ code: string;
2670
+ name: string;
2671
+ }[];
2672
+ };
2673
+ businessLocation?: {
2674
+ name: string;
2675
+ default: boolean;
2676
+ status: LocationStatus;
2677
+ locationType: LocationsLocationType;
2678
+ address?: {
2679
+ streetAddress?: {
2680
+ number: string;
2681
+ name: string;
2682
+ apt: string;
2683
+ };
2684
+ };
2685
+ businessSchedule?: {
2686
+ periods: {
2687
+ openDay: DayOfWeek;
2688
+ openTime: string;
2689
+ closeDay: DayOfWeek;
2690
+ closeTime: string;
2691
+ }[];
2692
+ specialHourPeriod: {
2693
+ startDate: string;
2694
+ endDate: string;
2695
+ isClosed: boolean;
2696
+ comment: string;
2697
+ }[];
2698
+ };
2699
+ archived: boolean;
2700
+ };
2701
+ }[];
2702
+ };
2703
+ totalNumberOfParticipants: number;
2704
+ participants: {
2705
+ id: string;
2706
+ partySize: number;
2707
+ approvalStatus: ApprovalStatus;
2708
+ inherited: boolean;
2709
+ }[];
2710
+ status: ScheduleStatus;
2711
+ version: number;
2712
+ inheritedFields: string[];
2713
+ conferenceProvider?: {
2714
+ providerId: string;
2715
+ };
2716
+ calendarConference?: {
2717
+ id: string;
2718
+ externalId: string;
2719
+ providerId: string;
2720
+ hostUrl: string;
2721
+ guestUrl: string;
2722
+ conferenceType: ConferenceType;
2723
+ };
2724
+ };
2725
+ }
2726
+ export interface DeleteResourceResponseNonNullableFields {
2727
+ id: string;
2728
+ }