@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +6 -8
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +1 -35
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +7 -8
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +13 -19
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +1489 -0
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +517 -28
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +9 -72
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.http.d.ts +4 -4
- package/build/cjs/src/bookings-v1-category.http.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.public.d.ts +6 -6
- package/build/cjs/src/bookings-v1-category.public.js +13 -13
- package/build/cjs/src/bookings-v1-category.public.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.types.d.ts +15 -0
- package/build/cjs/src/bookings-v1-category.universal.d.ts +24 -8
- package/build/cjs/src/bookings-v1-category.universal.js +9 -9
- package/build/cjs/src/bookings-v1-category.universal.js.map +1 -1
- package/build/es/index.d.ts +2 -2
- package/build/es/index.js +2 -2
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +2 -2
- package/build/es/index.typings.js +2 -2
- package/build/es/index.typings.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.http.d.ts +6 -8
- package/build/es/src/bookings-catalog-v1-resource.http.js +0 -33
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +7 -8
- package/build/es/src/bookings-catalog-v1-resource.public.js +9 -14
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.types.d.ts +1489 -0
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +517 -28
- package/build/es/src/bookings-catalog-v1-resource.universal.js +4 -66
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-v1-category.http.d.ts +4 -4
- package/build/es/src/bookings-v1-category.http.js.map +1 -1
- package/build/es/src/bookings-v1-category.public.d.ts +6 -6
- package/build/es/src/bookings-v1-category.public.js +9 -9
- package/build/es/src/bookings-v1-category.public.js.map +1 -1
- package/build/es/src/bookings-v1-category.types.d.ts +15 -0
- package/build/es/src/bookings-v1-category.universal.d.ts +24 -8
- package/build/es/src/bookings-v1-category.universal.js +4 -4
- package/build/es/src/bookings-v1-category.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -924,20 +924,513 @@ export interface UnLinkResourceFromOwnerResponse {
|
|
|
924
924
|
/** The updated resource. */
|
|
925
925
|
resource?: Resource;
|
|
926
926
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
927
|
+
export interface QueryResourcesResponseNonNullableFields {
|
|
928
|
+
resources: {
|
|
929
|
+
images: string;
|
|
930
|
+
schedules: {
|
|
931
|
+
_id: string;
|
|
932
|
+
intervals: {
|
|
933
|
+
_id: string;
|
|
934
|
+
interval?: {
|
|
935
|
+
daysOfWeek: Day;
|
|
936
|
+
duration: number;
|
|
937
|
+
};
|
|
938
|
+
affectedSchedules: {
|
|
939
|
+
scheduleId: string;
|
|
940
|
+
transparency: Transparency;
|
|
941
|
+
scheduleOwnerId: string;
|
|
942
|
+
}[];
|
|
943
|
+
intervalType: RecurringIntervalType;
|
|
944
|
+
}[];
|
|
945
|
+
location?: {
|
|
946
|
+
locationType: LocationType;
|
|
947
|
+
customAddress?: {
|
|
948
|
+
streetAddress?: {
|
|
949
|
+
number: string;
|
|
950
|
+
name: string;
|
|
951
|
+
apt: string;
|
|
952
|
+
};
|
|
953
|
+
subdivisions: {
|
|
954
|
+
code: string;
|
|
955
|
+
name: string;
|
|
956
|
+
}[];
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
rate?: {
|
|
960
|
+
labeledPriceOptions?: {
|
|
961
|
+
amount: string;
|
|
962
|
+
currency: string;
|
|
963
|
+
downPayAmount: string;
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
availability?: {
|
|
967
|
+
linkedSchedules: {
|
|
968
|
+
scheduleId: string;
|
|
969
|
+
transparency: Transparency;
|
|
970
|
+
scheduleOwnerId: string;
|
|
971
|
+
}[];
|
|
972
|
+
constraints?: {
|
|
973
|
+
slotDurations: number[];
|
|
974
|
+
timeBetweenSlots: number;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
totalNumberOfParticipants: number;
|
|
978
|
+
participants: {
|
|
979
|
+
_id: string;
|
|
980
|
+
partySize: number;
|
|
981
|
+
approvalStatus: ApprovalStatus;
|
|
982
|
+
inherited: boolean;
|
|
983
|
+
}[];
|
|
984
|
+
status: ScheduleStatus;
|
|
985
|
+
version: number;
|
|
986
|
+
inheritedFields: string[];
|
|
987
|
+
conferenceProvider?: {
|
|
988
|
+
providerId: string;
|
|
989
|
+
};
|
|
990
|
+
calendarConference?: {
|
|
991
|
+
_id: string;
|
|
992
|
+
externalId: string;
|
|
993
|
+
providerId: string;
|
|
994
|
+
hostUrl: string;
|
|
995
|
+
guestUrl: string;
|
|
996
|
+
conferenceType: ConferenceType;
|
|
997
|
+
};
|
|
998
|
+
}[];
|
|
999
|
+
status: ResourceStatus;
|
|
1000
|
+
}[];
|
|
1001
|
+
}
|
|
1002
|
+
export interface CreateResourceResponseNonNullableFields {
|
|
1003
|
+
resource?: {
|
|
1004
|
+
images: string;
|
|
1005
|
+
schedules: {
|
|
1006
|
+
_id: string;
|
|
1007
|
+
intervals: {
|
|
1008
|
+
_id: string;
|
|
1009
|
+
interval?: {
|
|
1010
|
+
daysOfWeek: Day;
|
|
1011
|
+
duration: number;
|
|
1012
|
+
};
|
|
1013
|
+
affectedSchedules: {
|
|
1014
|
+
scheduleId: string;
|
|
1015
|
+
transparency: Transparency;
|
|
1016
|
+
scheduleOwnerId: string;
|
|
1017
|
+
}[];
|
|
1018
|
+
intervalType: RecurringIntervalType;
|
|
1019
|
+
}[];
|
|
1020
|
+
location?: {
|
|
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
|
+
};
|
|
1034
|
+
rate?: {
|
|
1035
|
+
labeledPriceOptions?: {
|
|
1036
|
+
amount: string;
|
|
1037
|
+
currency: string;
|
|
1038
|
+
downPayAmount: string;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
availability?: {
|
|
1042
|
+
linkedSchedules: {
|
|
1043
|
+
scheduleId: string;
|
|
1044
|
+
transparency: Transparency;
|
|
1045
|
+
scheduleOwnerId: string;
|
|
1046
|
+
}[];
|
|
1047
|
+
constraints?: {
|
|
1048
|
+
slotDurations: number[];
|
|
1049
|
+
timeBetweenSlots: number;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
totalNumberOfParticipants: number;
|
|
1053
|
+
participants: {
|
|
1054
|
+
_id: string;
|
|
1055
|
+
partySize: number;
|
|
1056
|
+
approvalStatus: ApprovalStatus;
|
|
1057
|
+
inherited: boolean;
|
|
1058
|
+
}[];
|
|
1059
|
+
status: ScheduleStatus;
|
|
1060
|
+
version: number;
|
|
1061
|
+
inheritedFields: string[];
|
|
1062
|
+
conferenceProvider?: {
|
|
1063
|
+
providerId: string;
|
|
1064
|
+
};
|
|
1065
|
+
calendarConference?: {
|
|
1066
|
+
_id: string;
|
|
1067
|
+
externalId: string;
|
|
1068
|
+
providerId: string;
|
|
1069
|
+
hostUrl: string;
|
|
1070
|
+
guestUrl: string;
|
|
1071
|
+
conferenceType: ConferenceType;
|
|
1072
|
+
};
|
|
1073
|
+
}[];
|
|
1074
|
+
status: ResourceStatus;
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
1077
|
+
export interface UpdateResourceResponseNonNullableFields {
|
|
1078
|
+
resource?: {
|
|
1079
|
+
images: string;
|
|
1080
|
+
schedules: {
|
|
1081
|
+
_id: string;
|
|
1082
|
+
intervals: {
|
|
1083
|
+
_id: string;
|
|
1084
|
+
interval?: {
|
|
1085
|
+
daysOfWeek: Day;
|
|
1086
|
+
duration: number;
|
|
1087
|
+
};
|
|
1088
|
+
affectedSchedules: {
|
|
1089
|
+
scheduleId: string;
|
|
1090
|
+
transparency: Transparency;
|
|
1091
|
+
scheduleOwnerId: string;
|
|
1092
|
+
}[];
|
|
1093
|
+
intervalType: RecurringIntervalType;
|
|
1094
|
+
}[];
|
|
1095
|
+
location?: {
|
|
1096
|
+
locationType: LocationType;
|
|
1097
|
+
customAddress?: {
|
|
1098
|
+
streetAddress?: {
|
|
1099
|
+
number: string;
|
|
1100
|
+
name: string;
|
|
1101
|
+
apt: string;
|
|
1102
|
+
};
|
|
1103
|
+
subdivisions: {
|
|
1104
|
+
code: string;
|
|
1105
|
+
name: string;
|
|
1106
|
+
}[];
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
rate?: {
|
|
1110
|
+
labeledPriceOptions?: {
|
|
1111
|
+
amount: string;
|
|
1112
|
+
currency: string;
|
|
1113
|
+
downPayAmount: string;
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
availability?: {
|
|
1117
|
+
linkedSchedules: {
|
|
1118
|
+
scheduleId: string;
|
|
1119
|
+
transparency: Transparency;
|
|
1120
|
+
scheduleOwnerId: string;
|
|
1121
|
+
}[];
|
|
1122
|
+
constraints?: {
|
|
1123
|
+
slotDurations: number[];
|
|
1124
|
+
timeBetweenSlots: number;
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
totalNumberOfParticipants: number;
|
|
1128
|
+
participants: {
|
|
1129
|
+
_id: string;
|
|
1130
|
+
partySize: number;
|
|
1131
|
+
approvalStatus: ApprovalStatus;
|
|
1132
|
+
inherited: boolean;
|
|
1133
|
+
}[];
|
|
1134
|
+
status: ScheduleStatus;
|
|
1135
|
+
version: number;
|
|
1136
|
+
inheritedFields: string[];
|
|
1137
|
+
conferenceProvider?: {
|
|
1138
|
+
providerId: string;
|
|
1139
|
+
};
|
|
1140
|
+
calendarConference?: {
|
|
1141
|
+
_id: string;
|
|
1142
|
+
externalId: string;
|
|
1143
|
+
providerId: string;
|
|
1144
|
+
hostUrl: string;
|
|
1145
|
+
guestUrl: string;
|
|
1146
|
+
conferenceType: ConferenceType;
|
|
1147
|
+
};
|
|
1148
|
+
}[];
|
|
1149
|
+
status: ResourceStatus;
|
|
1150
|
+
};
|
|
1151
|
+
schedules?: {
|
|
1152
|
+
created: {
|
|
1153
|
+
_id: string;
|
|
1154
|
+
intervals: {
|
|
1155
|
+
_id: string;
|
|
1156
|
+
interval?: {
|
|
1157
|
+
daysOfWeek: Day;
|
|
1158
|
+
duration: number;
|
|
1159
|
+
};
|
|
1160
|
+
affectedSchedules: {
|
|
1161
|
+
scheduleId: string;
|
|
1162
|
+
transparency: Transparency;
|
|
1163
|
+
scheduleOwnerId: string;
|
|
1164
|
+
}[];
|
|
1165
|
+
intervalType: RecurringIntervalType;
|
|
1166
|
+
}[];
|
|
1167
|
+
location?: {
|
|
1168
|
+
locationType: LocationType;
|
|
1169
|
+
customAddress?: {
|
|
1170
|
+
streetAddress?: {
|
|
1171
|
+
number: string;
|
|
1172
|
+
name: string;
|
|
1173
|
+
apt: string;
|
|
1174
|
+
};
|
|
1175
|
+
subdivisions: {
|
|
1176
|
+
code: string;
|
|
1177
|
+
name: string;
|
|
1178
|
+
}[];
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
rate?: {
|
|
1182
|
+
labeledPriceOptions?: {
|
|
1183
|
+
amount: string;
|
|
1184
|
+
currency: string;
|
|
1185
|
+
downPayAmount: string;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
availability?: {
|
|
1189
|
+
linkedSchedules: {
|
|
1190
|
+
scheduleId: string;
|
|
1191
|
+
transparency: Transparency;
|
|
1192
|
+
scheduleOwnerId: string;
|
|
1193
|
+
}[];
|
|
1194
|
+
constraints?: {
|
|
1195
|
+
slotDurations: number[];
|
|
1196
|
+
timeBetweenSlots: number;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
totalNumberOfParticipants: number;
|
|
1200
|
+
participants: {
|
|
1201
|
+
_id: string;
|
|
1202
|
+
partySize: number;
|
|
1203
|
+
approvalStatus: ApprovalStatus;
|
|
1204
|
+
inherited: boolean;
|
|
1205
|
+
}[];
|
|
1206
|
+
status: ScheduleStatus;
|
|
1207
|
+
version: number;
|
|
1208
|
+
inheritedFields: string[];
|
|
1209
|
+
conferenceProvider?: {
|
|
1210
|
+
providerId: string;
|
|
1211
|
+
};
|
|
1212
|
+
calendarConference?: {
|
|
1213
|
+
_id: string;
|
|
1214
|
+
externalId: string;
|
|
1215
|
+
providerId: string;
|
|
1216
|
+
hostUrl: string;
|
|
1217
|
+
guestUrl: string;
|
|
1218
|
+
conferenceType: ConferenceType;
|
|
1219
|
+
};
|
|
1220
|
+
}[];
|
|
1221
|
+
updated: {
|
|
1222
|
+
_id: string;
|
|
1223
|
+
intervals: {
|
|
1224
|
+
_id: string;
|
|
1225
|
+
interval?: {
|
|
1226
|
+
daysOfWeek: Day;
|
|
1227
|
+
duration: number;
|
|
1228
|
+
};
|
|
1229
|
+
affectedSchedules: {
|
|
1230
|
+
scheduleId: string;
|
|
1231
|
+
transparency: Transparency;
|
|
1232
|
+
scheduleOwnerId: string;
|
|
1233
|
+
}[];
|
|
1234
|
+
intervalType: RecurringIntervalType;
|
|
1235
|
+
}[];
|
|
1236
|
+
location?: {
|
|
1237
|
+
locationType: LocationType;
|
|
1238
|
+
customAddress?: {
|
|
1239
|
+
streetAddress?: {
|
|
1240
|
+
number: string;
|
|
1241
|
+
name: string;
|
|
1242
|
+
apt: string;
|
|
1243
|
+
};
|
|
1244
|
+
subdivisions: {
|
|
1245
|
+
code: string;
|
|
1246
|
+
name: string;
|
|
1247
|
+
}[];
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
rate?: {
|
|
1251
|
+
labeledPriceOptions?: {
|
|
1252
|
+
amount: string;
|
|
1253
|
+
currency: string;
|
|
1254
|
+
downPayAmount: string;
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
availability?: {
|
|
1258
|
+
linkedSchedules: {
|
|
1259
|
+
scheduleId: string;
|
|
1260
|
+
transparency: Transparency;
|
|
1261
|
+
scheduleOwnerId: string;
|
|
1262
|
+
}[];
|
|
1263
|
+
constraints?: {
|
|
1264
|
+
slotDurations: number[];
|
|
1265
|
+
timeBetweenSlots: number;
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
totalNumberOfParticipants: number;
|
|
1269
|
+
participants: {
|
|
1270
|
+
_id: string;
|
|
1271
|
+
partySize: number;
|
|
1272
|
+
approvalStatus: ApprovalStatus;
|
|
1273
|
+
inherited: boolean;
|
|
1274
|
+
}[];
|
|
1275
|
+
status: ScheduleStatus;
|
|
1276
|
+
version: number;
|
|
1277
|
+
inheritedFields: string[];
|
|
1278
|
+
conferenceProvider?: {
|
|
1279
|
+
providerId: string;
|
|
1280
|
+
};
|
|
1281
|
+
calendarConference?: {
|
|
1282
|
+
_id: string;
|
|
1283
|
+
externalId: string;
|
|
1284
|
+
providerId: string;
|
|
1285
|
+
hostUrl: string;
|
|
1286
|
+
guestUrl: string;
|
|
1287
|
+
conferenceType: ConferenceType;
|
|
1288
|
+
};
|
|
1289
|
+
}[];
|
|
1290
|
+
cancelled: {
|
|
1291
|
+
_id: string;
|
|
1292
|
+
intervals: {
|
|
1293
|
+
_id: string;
|
|
1294
|
+
interval?: {
|
|
1295
|
+
daysOfWeek: Day;
|
|
1296
|
+
duration: number;
|
|
1297
|
+
};
|
|
1298
|
+
affectedSchedules: {
|
|
1299
|
+
scheduleId: string;
|
|
1300
|
+
transparency: Transparency;
|
|
1301
|
+
scheduleOwnerId: string;
|
|
1302
|
+
}[];
|
|
1303
|
+
intervalType: RecurringIntervalType;
|
|
1304
|
+
}[];
|
|
1305
|
+
location?: {
|
|
1306
|
+
locationType: LocationType;
|
|
1307
|
+
customAddress?: {
|
|
1308
|
+
streetAddress?: {
|
|
1309
|
+
number: string;
|
|
1310
|
+
name: string;
|
|
1311
|
+
apt: string;
|
|
1312
|
+
};
|
|
1313
|
+
subdivisions: {
|
|
1314
|
+
code: string;
|
|
1315
|
+
name: string;
|
|
1316
|
+
}[];
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
rate?: {
|
|
1320
|
+
labeledPriceOptions?: {
|
|
1321
|
+
amount: string;
|
|
1322
|
+
currency: string;
|
|
1323
|
+
downPayAmount: string;
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
availability?: {
|
|
1327
|
+
linkedSchedules: {
|
|
1328
|
+
scheduleId: string;
|
|
1329
|
+
transparency: Transparency;
|
|
1330
|
+
scheduleOwnerId: string;
|
|
1331
|
+
}[];
|
|
1332
|
+
constraints?: {
|
|
1333
|
+
slotDurations: number[];
|
|
1334
|
+
timeBetweenSlots: number;
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
totalNumberOfParticipants: number;
|
|
1338
|
+
participants: {
|
|
1339
|
+
_id: string;
|
|
1340
|
+
partySize: number;
|
|
1341
|
+
approvalStatus: ApprovalStatus;
|
|
1342
|
+
inherited: boolean;
|
|
1343
|
+
}[];
|
|
1344
|
+
status: ScheduleStatus;
|
|
1345
|
+
version: number;
|
|
1346
|
+
inheritedFields: string[];
|
|
1347
|
+
conferenceProvider?: {
|
|
1348
|
+
providerId: string;
|
|
1349
|
+
};
|
|
1350
|
+
calendarConference?: {
|
|
1351
|
+
_id: string;
|
|
1352
|
+
externalId: string;
|
|
1353
|
+
providerId: string;
|
|
1354
|
+
hostUrl: string;
|
|
1355
|
+
guestUrl: string;
|
|
1356
|
+
conferenceType: ConferenceType;
|
|
1357
|
+
};
|
|
1358
|
+
}[];
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
export interface UpdateScheduleResponseNonNullableFields {
|
|
1362
|
+
schedule?: {
|
|
1363
|
+
_id: string;
|
|
1364
|
+
intervals: {
|
|
1365
|
+
_id: string;
|
|
1366
|
+
interval?: {
|
|
1367
|
+
daysOfWeek: Day;
|
|
1368
|
+
duration: number;
|
|
1369
|
+
};
|
|
1370
|
+
affectedSchedules: {
|
|
1371
|
+
scheduleId: string;
|
|
1372
|
+
transparency: Transparency;
|
|
1373
|
+
scheduleOwnerId: string;
|
|
1374
|
+
}[];
|
|
1375
|
+
intervalType: RecurringIntervalType;
|
|
1376
|
+
}[];
|
|
1377
|
+
location?: {
|
|
1378
|
+
locationType: LocationType;
|
|
1379
|
+
customAddress?: {
|
|
1380
|
+
streetAddress?: {
|
|
1381
|
+
number: string;
|
|
1382
|
+
name: string;
|
|
1383
|
+
apt: string;
|
|
1384
|
+
};
|
|
1385
|
+
subdivisions: {
|
|
1386
|
+
code: string;
|
|
1387
|
+
name: string;
|
|
1388
|
+
}[];
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
rate?: {
|
|
1392
|
+
labeledPriceOptions?: {
|
|
1393
|
+
amount: string;
|
|
1394
|
+
currency: string;
|
|
1395
|
+
downPayAmount: string;
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
availability?: {
|
|
1399
|
+
linkedSchedules: {
|
|
1400
|
+
scheduleId: string;
|
|
1401
|
+
transparency: Transparency;
|
|
1402
|
+
scheduleOwnerId: string;
|
|
1403
|
+
}[];
|
|
1404
|
+
constraints?: {
|
|
1405
|
+
slotDurations: number[];
|
|
1406
|
+
timeBetweenSlots: number;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
totalNumberOfParticipants: number;
|
|
1410
|
+
participants: {
|
|
1411
|
+
_id: string;
|
|
1412
|
+
partySize: number;
|
|
1413
|
+
approvalStatus: ApprovalStatus;
|
|
1414
|
+
inherited: boolean;
|
|
1415
|
+
}[];
|
|
1416
|
+
status: ScheduleStatus;
|
|
1417
|
+
version: number;
|
|
1418
|
+
inheritedFields: string[];
|
|
1419
|
+
conferenceProvider?: {
|
|
1420
|
+
providerId: string;
|
|
1421
|
+
};
|
|
1422
|
+
calendarConference?: {
|
|
1423
|
+
_id: string;
|
|
1424
|
+
externalId: string;
|
|
1425
|
+
providerId: string;
|
|
1426
|
+
hostUrl: string;
|
|
1427
|
+
guestUrl: string;
|
|
1428
|
+
conferenceType: ConferenceType;
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
export interface DeleteResourceResponseNonNullableFields {
|
|
1433
|
+
_id: string;
|
|
941
1434
|
}
|
|
942
1435
|
/**
|
|
943
1436
|
* Retrieves a list of the resources according to the specified filters and paging.
|
|
@@ -971,8 +1464,8 @@ export interface ListOptions {
|
|
|
971
1464
|
* @applicableIdentity MEMBER
|
|
972
1465
|
* @applicableIdentity VISITOR
|
|
973
1466
|
*/
|
|
974
|
-
export declare function
|
|
975
|
-
export interface
|
|
1467
|
+
export declare function queryResources(options?: QueryResourcesOptions): Promise<QueryResourcesResponse & QueryResourcesResponseNonNullableFields>;
|
|
1468
|
+
export interface QueryResourcesOptions {
|
|
976
1469
|
query?: QueryV2;
|
|
977
1470
|
}
|
|
978
1471
|
/**
|
|
@@ -1026,8 +1519,8 @@ export interface QueryOptions {
|
|
|
1026
1519
|
* @permissionScope Manage Bookings
|
|
1027
1520
|
* @applicableIdentity APP
|
|
1028
1521
|
*/
|
|
1029
|
-
export declare function
|
|
1030
|
-
export interface
|
|
1522
|
+
export declare function createResources(resource: Resource, options?: CreateResourcesOptions): Promise<CreateResourceResponse & CreateResourceResponseNonNullableFields>;
|
|
1523
|
+
export interface CreateResourcesOptions {
|
|
1031
1524
|
/**
|
|
1032
1525
|
* List of schedules to be assigned for the created resource. Currently only a single schedule is allowed.
|
|
1033
1526
|
* If provided, any schedules in the resource entity will be ignored.
|
|
@@ -1063,8 +1556,8 @@ export interface CreateOptions {
|
|
|
1063
1556
|
* @permissionScope Manage Bookings
|
|
1064
1557
|
* @applicableIdentity APP
|
|
1065
1558
|
*/
|
|
1066
|
-
export declare function
|
|
1067
|
-
export interface
|
|
1559
|
+
export declare function updateResources(_id: string | null, options?: UpdateResourcesOptions): Promise<UpdateResourceResponse & UpdateResourceResponseNonNullableFields>;
|
|
1560
|
+
export interface UpdateResourcesOptions {
|
|
1068
1561
|
resource: {
|
|
1069
1562
|
/**
|
|
1070
1563
|
* Resource ID.
|
|
@@ -1079,17 +1572,13 @@ export interface UpdateOptions {
|
|
|
1079
1572
|
phone?: string | null;
|
|
1080
1573
|
/** Resource description. */
|
|
1081
1574
|
description?: string | null;
|
|
1082
|
-
/**
|
|
1083
|
-
* @internal
|
|
1084
|
-
* @internal */
|
|
1575
|
+
/** @internal */
|
|
1085
1576
|
tag?: string | null;
|
|
1086
1577
|
/** Resource tags. Tags are used to identify, group, and filter the different types of resources. For example, 'staff' or 'room'. */
|
|
1087
1578
|
tags?: string[] | null;
|
|
1088
1579
|
/** Resource images. */
|
|
1089
1580
|
images?: string[];
|
|
1090
|
-
/**
|
|
1091
|
-
* @internal
|
|
1092
|
-
* @internal */
|
|
1581
|
+
/** @internal */
|
|
1093
1582
|
schedules?: Schedule[];
|
|
1094
1583
|
/**
|
|
1095
1584
|
* List of IDs of schedules owned by this resource.
|
|
@@ -1180,7 +1669,7 @@ export interface UpdateOptions {
|
|
|
1180
1669
|
* @permissionScope Manage Bookings
|
|
1181
1670
|
* @applicableIdentity APP
|
|
1182
1671
|
*/
|
|
1183
|
-
export declare function updateSchedule(resourceId: string | null, options?: UpdateScheduleOptions): Promise<UpdateScheduleResponse>;
|
|
1672
|
+
export declare function updateSchedule(resourceId: string | null, options?: UpdateScheduleOptions): Promise<UpdateScheduleResponse & UpdateScheduleResponseNonNullableFields>;
|
|
1184
1673
|
export interface UpdateScheduleOptions {
|
|
1185
1674
|
/** Fieldmask for schedule */
|
|
1186
1675
|
fieldmask?: string[];
|
|
@@ -1218,4 +1707,4 @@ export interface UpdateScheduleOptions {
|
|
|
1218
1707
|
* @permissionScope Manage Bookings
|
|
1219
1708
|
* @applicableIdentity APP
|
|
1220
1709
|
*/
|
|
1221
|
-
export declare function
|
|
1710
|
+
export declare function deleteResources(_id: string): Promise<DeleteResourceResponse & DeleteResourceResponseNonNullableFields>;
|