@wix/bookings 1.0.238 → 1.0.239
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 +4 -45
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +4 -77
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +4 -5
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +3 -9
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +0 -302
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +99 -203
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +21 -115
- package/build/cjs/src/bookings-catalog-v1-resource.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 +4 -45
- package/build/es/src/bookings-catalog-v1-resource.http.js +3 -75
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +4 -5
- package/build/es/src/bookings-catalog-v1-resource.public.js +3 -8
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.types.d.ts +0 -302
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +99 -203
- package/build/es/src/bookings-catalog-v1-resource.universal.js +20 -113
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -930,308 +930,6 @@ 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
933
|
export interface CreateResourceResponseNonNullableFields {
|
|
1236
934
|
resource?: {
|
|
1237
935
|
images: {
|