@wix/bookings 1.0.242 → 1.0.243
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/src/bookings-catalog-v1-resource.universal.d.ts +13 -13
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +1 -1
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +13 -13
- package/build/es/src/bookings-catalog-v1-resource.universal.js +1 -1
- package/package.json +2 -2
|
@@ -37,12 +37,12 @@ export interface Resource {
|
|
|
37
37
|
scheduleIds?: string[] | null;
|
|
38
38
|
/**
|
|
39
39
|
* Resource status.
|
|
40
|
-
*
|
|
40
|
+
*
|
|
41
41
|
* One of:
|
|
42
42
|
* - `"CREATED"` Default status.
|
|
43
43
|
* - `"DELETED"` The resource was deleted.
|
|
44
44
|
* - `"UPDATED"` The resource was updated.
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
* @readonly
|
|
47
47
|
*/
|
|
48
48
|
status?: ResourceStatus;
|
|
@@ -80,10 +80,7 @@ export interface Schedule {
|
|
|
80
80
|
tags?: string[] | null;
|
|
81
81
|
/** Default location for the schedule's sessions. */
|
|
82
82
|
location?: Location;
|
|
83
|
-
/**
|
|
84
|
-
* Maximum number of participants that can be added to the schedule's sessions.
|
|
85
|
-
* Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
|
|
86
|
-
*/
|
|
83
|
+
/** Maximum number of participants that can be added to the schedule's sessions. Must be at most `1` for schedule whose availability is affected by another schedule. For example, appointment schedules of the Wix Bookings app. */
|
|
87
84
|
capacity?: number | null;
|
|
88
85
|
/**
|
|
89
86
|
* @internal
|
|
@@ -111,6 +108,12 @@ export interface Schedule {
|
|
|
111
108
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
112
109
|
/**
|
|
113
110
|
* Schedule status.
|
|
111
|
+
*
|
|
112
|
+
* One of:
|
|
113
|
+
* - `"CREATED"`
|
|
114
|
+
* - `"CANCELLED"`
|
|
115
|
+
*
|
|
116
|
+
* Default: `"CREATED"`
|
|
114
117
|
* @readonly
|
|
115
118
|
*/
|
|
116
119
|
status?: ScheduleStatus;
|
|
@@ -138,10 +141,7 @@ export interface Schedule {
|
|
|
138
141
|
* @internal
|
|
139
142
|
* @internal */
|
|
140
143
|
conferenceProvider?: ConferenceProvider;
|
|
141
|
-
/**
|
|
142
|
-
* A conference created for the schedule. This is used when a participant is added to a schedule.
|
|
143
|
-
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
144
|
-
*/
|
|
144
|
+
/** A conference created for the schedule. This is used when a participant is added to a schedule. */
|
|
145
145
|
calendarConference?: CalendarConference;
|
|
146
146
|
}
|
|
147
147
|
export interface RecurringInterval {
|
|
@@ -1410,7 +1410,7 @@ export interface CreateResourceOptions {
|
|
|
1410
1410
|
* @public
|
|
1411
1411
|
* @requiredField _id
|
|
1412
1412
|
* @requiredField resource
|
|
1413
|
-
* @param resource -
|
|
1413
|
+
* @param resource - Resource to update.
|
|
1414
1414
|
* @permissionScope Manage Bookings
|
|
1415
1415
|
* @applicableIdentity APP
|
|
1416
1416
|
*/
|
|
@@ -1444,12 +1444,12 @@ export interface UpdateResource {
|
|
|
1444
1444
|
scheduleIds?: string[] | null;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Resource status.
|
|
1447
|
-
*
|
|
1447
|
+
*
|
|
1448
1448
|
* One of:
|
|
1449
1449
|
* - `"CREATED"` Default status.
|
|
1450
1450
|
* - `"DELETED"` The resource was deleted.
|
|
1451
1451
|
* - `"UPDATED"` The resource was updated.
|
|
1452
|
-
*
|
|
1452
|
+
*
|
|
1453
1453
|
* @readonly
|
|
1454
1454
|
*/
|
|
1455
1455
|
status?: ResourceStatus;
|
|
@@ -301,7 +301,7 @@ exports.createResource = createResource;
|
|
|
301
301
|
* @public
|
|
302
302
|
* @requiredField _id
|
|
303
303
|
* @requiredField resource
|
|
304
|
-
* @param resource -
|
|
304
|
+
* @param resource - Resource to update.
|
|
305
305
|
* @permissionScope Manage Bookings
|
|
306
306
|
* @applicableIdentity APP
|
|
307
307
|
*/
|
|
@@ -37,12 +37,12 @@ export interface Resource {
|
|
|
37
37
|
scheduleIds?: string[] | null;
|
|
38
38
|
/**
|
|
39
39
|
* Resource status.
|
|
40
|
-
*
|
|
40
|
+
*
|
|
41
41
|
* One of:
|
|
42
42
|
* - `"CREATED"` Default status.
|
|
43
43
|
* - `"DELETED"` The resource was deleted.
|
|
44
44
|
* - `"UPDATED"` The resource was updated.
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
* @readonly
|
|
47
47
|
*/
|
|
48
48
|
status?: ResourceStatus;
|
|
@@ -80,10 +80,7 @@ export interface Schedule {
|
|
|
80
80
|
tags?: string[] | null;
|
|
81
81
|
/** Default location for the schedule's sessions. */
|
|
82
82
|
location?: Location;
|
|
83
|
-
/**
|
|
84
|
-
* Maximum number of participants that can be added to the schedule's sessions.
|
|
85
|
-
* Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
|
|
86
|
-
*/
|
|
83
|
+
/** Maximum number of participants that can be added to the schedule's sessions. Must be at most `1` for schedule whose availability is affected by another schedule. For example, appointment schedules of the Wix Bookings app. */
|
|
87
84
|
capacity?: number | null;
|
|
88
85
|
/**
|
|
89
86
|
* @internal
|
|
@@ -111,6 +108,12 @@ export interface Schedule {
|
|
|
111
108
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
112
109
|
/**
|
|
113
110
|
* Schedule status.
|
|
111
|
+
*
|
|
112
|
+
* One of:
|
|
113
|
+
* - `"CREATED"`
|
|
114
|
+
* - `"CANCELLED"`
|
|
115
|
+
*
|
|
116
|
+
* Default: `"CREATED"`
|
|
114
117
|
* @readonly
|
|
115
118
|
*/
|
|
116
119
|
status?: ScheduleStatus;
|
|
@@ -138,10 +141,7 @@ export interface Schedule {
|
|
|
138
141
|
* @internal
|
|
139
142
|
* @internal */
|
|
140
143
|
conferenceProvider?: ConferenceProvider;
|
|
141
|
-
/**
|
|
142
|
-
* A conference created for the schedule. This is used when a participant is added to a schedule.
|
|
143
|
-
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
144
|
-
*/
|
|
144
|
+
/** A conference created for the schedule. This is used when a participant is added to a schedule. */
|
|
145
145
|
calendarConference?: CalendarConference;
|
|
146
146
|
}
|
|
147
147
|
export interface RecurringInterval {
|
|
@@ -1410,7 +1410,7 @@ export interface CreateResourceOptions {
|
|
|
1410
1410
|
* @public
|
|
1411
1411
|
* @requiredField _id
|
|
1412
1412
|
* @requiredField resource
|
|
1413
|
-
* @param resource -
|
|
1413
|
+
* @param resource - Resource to update.
|
|
1414
1414
|
* @permissionScope Manage Bookings
|
|
1415
1415
|
* @applicableIdentity APP
|
|
1416
1416
|
*/
|
|
@@ -1444,12 +1444,12 @@ export interface UpdateResource {
|
|
|
1444
1444
|
scheduleIds?: string[] | null;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Resource status.
|
|
1447
|
-
*
|
|
1447
|
+
*
|
|
1448
1448
|
* One of:
|
|
1449
1449
|
* - `"CREATED"` Default status.
|
|
1450
1450
|
* - `"DELETED"` The resource was deleted.
|
|
1451
1451
|
* - `"UPDATED"` The resource was updated.
|
|
1452
|
-
*
|
|
1452
|
+
*
|
|
1453
1453
|
* @readonly
|
|
1454
1454
|
*/
|
|
1455
1455
|
status?: ResourceStatus;
|
|
@@ -278,7 +278,7 @@ export function createResource(resource, options) {
|
|
|
278
278
|
* @public
|
|
279
279
|
* @requiredField _id
|
|
280
280
|
* @requiredField resource
|
|
281
|
-
* @param resource -
|
|
281
|
+
* @param resource - Resource to update.
|
|
282
282
|
* @permissionScope Manage Bookings
|
|
283
283
|
* @applicableIdentity APP
|
|
284
284
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.243",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "98236c598a07e72f13e4cbd0678b99ceba95609d1b5d4c267b16a87e"
|
|
37
37
|
}
|