@wix/bookings 1.0.0 → 1.0.2
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 +5 -0
- package/build/cjs/index.js +6 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.d.ts +6 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.js +6 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -29
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +7 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.http.d.ts +75 -0
- package/build/cjs/src/bookings-calendar-v1-session.http.js +355 -0
- package/build/cjs/src/bookings-calendar-v1-session.http.js.map +1 -0
- package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +8 -0
- package/build/cjs/src/bookings-calendar-v1-session.public.js +41 -0
- package/build/cjs/src/bookings-calendar-v1-session.public.js.map +1 -0
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +1011 -0
- package/build/cjs/src/bookings-calendar-v1-session.types.js +110 -0
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -0
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +1178 -0
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +437 -0
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -0
- package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +195 -0
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +564 -0
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -0
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +10 -0
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +55 -0
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -0
- package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +931 -0
- package/build/cjs/src/bookings-catalog-v1-resource.types.js +125 -0
- package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +1 -0
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +1201 -0
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +740 -0
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +38 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +117 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +5 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js +22 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +730 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +90 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +786 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +226 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.http.d.ts +123 -0
- package/build/cjs/src/bookings-v2-booking.http.js +305 -0
- package/build/cjs/src/bookings-v2-booking.http.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.public.d.ts +9 -0
- package/build/cjs/src/bookings-v2-booking.public.js +47 -0
- package/build/cjs/src/bookings-v2-booking.public.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.types.d.ts +1594 -0
- package/build/cjs/src/bookings-v2-booking.types.js +99 -0
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +1840 -0
- package/build/cjs/src/bookings-v2-booking.universal.js +561 -0
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.http.d.ts +56 -0
- package/build/cjs/src/bookings-v2-price-info.http.js +164 -0
- package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.public.d.ts +6 -0
- package/build/cjs/src/bookings-v2-price-info.public.js +26 -0
- package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +594 -0
- package/build/cjs/src/bookings-v2-price-info.types.js +79 -0
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +664 -0
- package/build/cjs/src/bookings-v2-price-info.universal.js +274 -0
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -0
- package/build/es/index.d.ts +5 -0
- package/build/es/index.js +5 -0
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.http.d.ts +6 -6
- package/build/es/src/bookings-availability-v1-slot-availability.http.js +6 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -29
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +7 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.http.d.ts +75 -0
- package/build/es/src/bookings-calendar-v1-session.http.js +348 -0
- package/build/es/src/bookings-calendar-v1-session.http.js.map +1 -0
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +8 -0
- package/build/es/src/bookings-calendar-v1-session.public.js +23 -0
- package/build/es/src/bookings-calendar-v1-session.public.js.map +1 -0
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +1011 -0
- package/build/es/src/bookings-calendar-v1-session.types.js +107 -0
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -0
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +1178 -0
- package/build/es/src/bookings-calendar-v1-session.universal.js +411 -0
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -0
- package/build/es/src/bookings-catalog-v1-resource.http.d.ts +195 -0
- package/build/es/src/bookings-catalog-v1-resource.http.js +555 -0
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -0
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +10 -0
- package/build/es/src/bookings-catalog-v1-resource.public.js +33 -0
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -0
- package/build/es/src/bookings-catalog-v1-resource.types.d.ts +931 -0
- package/build/es/src/bookings-catalog-v1-resource.types.js +122 -0
- package/build/es/src/bookings-catalog-v1-resource.types.js.map +1 -0
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +1201 -0
- package/build/es/src/bookings-catalog-v1-resource.universal.js +712 -0
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +38 -0
- package/build/es/src/bookings-reader-v2-extended-booking.http.js +113 -0
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +5 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.js +8 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +730 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +87 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +786 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +203 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -0
- package/build/es/src/bookings-v2-booking.http.d.ts +123 -0
- package/build/es/src/bookings-v2-booking.http.js +297 -0
- package/build/es/src/bookings-v2-booking.http.js.map +1 -0
- package/build/es/src/bookings-v2-booking.public.d.ts +9 -0
- package/build/es/src/bookings-v2-booking.public.js +28 -0
- package/build/es/src/bookings-v2-booking.public.js.map +1 -0
- package/build/es/src/bookings-v2-booking.types.d.ts +1594 -0
- package/build/es/src/bookings-v2-booking.types.js +96 -0
- package/build/es/src/bookings-v2-booking.types.js.map +1 -0
- package/build/es/src/bookings-v2-booking.universal.d.ts +1840 -0
- package/build/es/src/bookings-v2-booking.universal.js +534 -0
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.http.d.ts +56 -0
- package/build/es/src/bookings-v2-price-info.http.js +159 -0
- package/build/es/src/bookings-v2-price-info.http.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.public.d.ts +6 -0
- package/build/es/src/bookings-v2-price-info.public.js +13 -0
- package/build/es/src/bookings-v2-price-info.public.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.types.d.ts +594 -0
- package/build/es/src/bookings-v2-price-info.types.js +76 -0
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.universal.d.ts +664 -0
- package/build/es/src/bookings-v2-price-info.universal.js +250 -0
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._delete = exports.updateSchedule = exports.update = exports.create = exports.query = exports.list = void 0;
|
|
4
|
+
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
+
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
6
|
+
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
+
const _address = { geocode: '_addressLocation' };
|
|
8
|
+
const _addressLocation = {
|
|
9
|
+
latitude: 'google.protobuf.DoubleValue',
|
|
10
|
+
longitude: 'google.protobuf.DoubleValue',
|
|
11
|
+
};
|
|
12
|
+
const _availability = {
|
|
13
|
+
start: 'google.protobuf.Timestamp',
|
|
14
|
+
end: 'google.protobuf.Timestamp',
|
|
15
|
+
locations: '_location',
|
|
16
|
+
};
|
|
17
|
+
const _batchRequest = {
|
|
18
|
+
createRequests: '_createScheduleRequest',
|
|
19
|
+
updateRequests: '_updateScheduleRequest',
|
|
20
|
+
cancelRequests: '_cancelScheduleRequest',
|
|
21
|
+
};
|
|
22
|
+
const _batchResponse = {
|
|
23
|
+
created: '_schedule',
|
|
24
|
+
updated: '_schedule',
|
|
25
|
+
cancelled: '_schedule',
|
|
26
|
+
};
|
|
27
|
+
const _cancelScheduleRequest = { from: 'google.protobuf.Timestamp' };
|
|
28
|
+
const _createResourceRequest = {
|
|
29
|
+
resource: '_resource',
|
|
30
|
+
schedules: '_schedule',
|
|
31
|
+
};
|
|
32
|
+
const _createResourceResponse = { resource: '_resource' };
|
|
33
|
+
const _createScheduleRequest = { schedule: '_schedule' };
|
|
34
|
+
const _deleteResourceRequest = {};
|
|
35
|
+
const _deleteResourceResponse = {};
|
|
36
|
+
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
37
|
+
const _listResourcesRequest = {};
|
|
38
|
+
const _listResourcesResponse = { resources: '_resource' };
|
|
39
|
+
const _location = {
|
|
40
|
+
customAddress: '_address',
|
|
41
|
+
businessLocation: '_locationsLocation',
|
|
42
|
+
};
|
|
43
|
+
const _locationsAddress = { geocode: '_locationsAddressLocation' };
|
|
44
|
+
const _locationsAddressLocation = {
|
|
45
|
+
latitude: 'google.protobuf.DoubleValue',
|
|
46
|
+
longitude: 'google.protobuf.DoubleValue',
|
|
47
|
+
};
|
|
48
|
+
const _locationsLocation = { address: '_locationsAddress' };
|
|
49
|
+
const _queryResourcesRequest = {};
|
|
50
|
+
const _queryResourcesResponse = { resources: '_resource' };
|
|
51
|
+
const _recurringInterval = {
|
|
52
|
+
start: 'google.protobuf.Timestamp',
|
|
53
|
+
end: 'google.protobuf.Timestamp',
|
|
54
|
+
};
|
|
55
|
+
const _resource = { images: '_image', schedules: '_schedule' };
|
|
56
|
+
const _resourceUpdateScheduleRequest = {
|
|
57
|
+
fieldmask: 'google.protobuf.FieldMask',
|
|
58
|
+
schedule: '_schedule',
|
|
59
|
+
};
|
|
60
|
+
const _schedule = {
|
|
61
|
+
firstSessionStart: 'google.protobuf.Timestamp',
|
|
62
|
+
lastSessionEnd: 'google.protobuf.Timestamp',
|
|
63
|
+
created: 'google.protobuf.Timestamp',
|
|
64
|
+
updated: 'google.protobuf.Timestamp',
|
|
65
|
+
intervals: '_recurringInterval',
|
|
66
|
+
location: '_location',
|
|
67
|
+
availability: '_availability',
|
|
68
|
+
};
|
|
69
|
+
const _updateResourceRequest = {
|
|
70
|
+
fieldMask: 'google.protobuf.FieldMask',
|
|
71
|
+
resource: '_resource',
|
|
72
|
+
scheduleActions: '_batchRequest',
|
|
73
|
+
};
|
|
74
|
+
const _updateResourceResponse = {
|
|
75
|
+
resource: '_resource',
|
|
76
|
+
schedules: '_batchResponse',
|
|
77
|
+
};
|
|
78
|
+
const _updateScheduleRequest = {
|
|
79
|
+
fieldMask: 'google.protobuf.FieldMask',
|
|
80
|
+
schedule: '_schedule',
|
|
81
|
+
};
|
|
82
|
+
const _updateScheduleResponse = { schedule: '_schedule' };
|
|
83
|
+
function resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl(opts) {
|
|
84
|
+
const domainToMappings = {
|
|
85
|
+
'api._api_base_domain_': [
|
|
86
|
+
{
|
|
87
|
+
srcPath: '/resources-server',
|
|
88
|
+
destPath: '',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
'bookings._base_domain_': [
|
|
92
|
+
{
|
|
93
|
+
srcPath: '/_api/resources-server',
|
|
94
|
+
destPath: '',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
srcPath: '/internal/resources-server',
|
|
98
|
+
destPath: '/internal',
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
'*.dev.wix-code.com': [
|
|
102
|
+
{
|
|
103
|
+
srcPath: '/_api/resources-server',
|
|
104
|
+
destPath: '',
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
_: [
|
|
108
|
+
{
|
|
109
|
+
srcPath: '/_api/resources-server',
|
|
110
|
+
destPath: '',
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
_base_domain_: [
|
|
114
|
+
{
|
|
115
|
+
srcPath: '/_api/resources-server',
|
|
116
|
+
destPath: '',
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
'www._base_domain_': [
|
|
120
|
+
{
|
|
121
|
+
srcPath: '/_api/resources-server',
|
|
122
|
+
destPath: '',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
srcPath: '/_api/bookings/v1/resources',
|
|
126
|
+
destPath: '/v1/resources',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
srcPath: '/_api/bookings/v1/resources/staff',
|
|
130
|
+
destPath: '/v1/staff',
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
'manage._base_domain_': [
|
|
134
|
+
{
|
|
135
|
+
srcPath: '/_api/resources-server',
|
|
136
|
+
destPath: '',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
srcPath: '/_api/bookings/v1/resources',
|
|
140
|
+
destPath: '/v1/resources',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
srcPath: '/_api/bookings/v1/resources/staff',
|
|
144
|
+
destPath: '/v1/staff',
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
'www.wixapis.com': [
|
|
148
|
+
{
|
|
149
|
+
srcPath: '/bookings/v1/resources',
|
|
150
|
+
destPath: '/v1/resources',
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
'editor._base_domain_': [
|
|
154
|
+
{
|
|
155
|
+
srcPath: '/_api/bookings/v1/resources',
|
|
156
|
+
destPath: '/v1/resources',
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
'blocks._base_domain_': [
|
|
160
|
+
{
|
|
161
|
+
srcPath: '/_api/bookings/v1/resources',
|
|
162
|
+
destPath: '/v1/resources',
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
'create.editorx': [
|
|
166
|
+
{
|
|
167
|
+
srcPath: '/_api/bookings/v1/resources',
|
|
168
|
+
destPath: '/v1/resources',
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
};
|
|
172
|
+
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* > **Deprecation Notice**
|
|
176
|
+
* >
|
|
177
|
+
* > **This endpoint has been replaced with [Query Resource](https://dev.wix.com/api/rest/wix-bookings/resources/list-resources/query-resource) and will be removed on March 31, 2022.**
|
|
178
|
+
* > **If your app uses this endpoint, we recommend updating your code as soon as possible.**
|
|
179
|
+
*
|
|
180
|
+
* Retrieves a list of the resources according to the provided filters and paging.
|
|
181
|
+
* <!--ONLY:REST-->
|
|
182
|
+
* This query is optional. If no query is provided than all non-deleted resources are returned.
|
|
183
|
+
*
|
|
184
|
+
* |Property|Is supported|
|
|
185
|
+
* |--|--|
|
|
186
|
+
* |filter | supports `resource.id`, `resource.tag`, `resource.status`|
|
|
187
|
+
* |paging | supported |
|
|
188
|
+
* |fields | supported |
|
|
189
|
+
* |fieldsets | **not supported** |
|
|
190
|
+
* |sort| **not supported** |
|
|
191
|
+
*
|
|
192
|
+
* > **Permissions**
|
|
193
|
+
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
194
|
+
* <!--END:ONLY:REST-->
|
|
195
|
+
*/
|
|
196
|
+
function list(payload) {
|
|
197
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_listResourcesRequest, {});
|
|
198
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_listResourcesResponse, {
|
|
199
|
+
_address,
|
|
200
|
+
_addressLocation,
|
|
201
|
+
_availability,
|
|
202
|
+
_image,
|
|
203
|
+
_location,
|
|
204
|
+
_locationsAddress,
|
|
205
|
+
_locationsAddressLocation,
|
|
206
|
+
_locationsLocation,
|
|
207
|
+
_recurringInterval,
|
|
208
|
+
_resource,
|
|
209
|
+
_schedule,
|
|
210
|
+
});
|
|
211
|
+
function __list({ host }) {
|
|
212
|
+
const serializedData = toReq(payload);
|
|
213
|
+
const metadata = {
|
|
214
|
+
method: 'GET',
|
|
215
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
|
|
216
|
+
params: metro_runtime_1.toURLSearchParams(serializedData),
|
|
217
|
+
transformResponse: fromRes,
|
|
218
|
+
};
|
|
219
|
+
return metadata;
|
|
220
|
+
}
|
|
221
|
+
__list.fromReq = fromReq;
|
|
222
|
+
return __list;
|
|
223
|
+
}
|
|
224
|
+
exports.list = list;
|
|
225
|
+
/**
|
|
226
|
+
* Retrieves a list of the resources according to the specified filters and paging.
|
|
227
|
+
*
|
|
228
|
+
* The query parameter is optional. If no query is provided than all non-deleted resources are returned.
|
|
229
|
+
*
|
|
230
|
+
* |Property|Is supported|
|
|
231
|
+
* |--|--|
|
|
232
|
+
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
233
|
+
* |paging | supported |
|
|
234
|
+
* |fields | supported |
|
|
235
|
+
* |fieldsets | **not supported** |
|
|
236
|
+
* |sort | **not supported** |
|
|
237
|
+
*
|
|
238
|
+
*
|
|
239
|
+
* >**Notes:**
|
|
240
|
+
* > + The following objects in the `query` parameter are not supported for this query:
|
|
241
|
+
* > - `sort`
|
|
242
|
+
* > - `fieldsets`
|
|
243
|
+
*
|
|
244
|
+
* > **Permissions**
|
|
245
|
+
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
246
|
+
*/
|
|
247
|
+
function query(payload) {
|
|
248
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryResourcesRequest, {});
|
|
249
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_queryResourcesResponse, {
|
|
250
|
+
_address,
|
|
251
|
+
_addressLocation,
|
|
252
|
+
_availability,
|
|
253
|
+
_image,
|
|
254
|
+
_location,
|
|
255
|
+
_locationsAddress,
|
|
256
|
+
_locationsAddressLocation,
|
|
257
|
+
_locationsLocation,
|
|
258
|
+
_recurringInterval,
|
|
259
|
+
_resource,
|
|
260
|
+
_schedule,
|
|
261
|
+
});
|
|
262
|
+
function __query({ host }) {
|
|
263
|
+
const serializedData = toReq(payload);
|
|
264
|
+
const metadata = {
|
|
265
|
+
method: 'POST',
|
|
266
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/query', data: serializedData, host }),
|
|
267
|
+
data: serializedData,
|
|
268
|
+
transformResponse: fromRes,
|
|
269
|
+
};
|
|
270
|
+
return metadata;
|
|
271
|
+
}
|
|
272
|
+
__query.fromReq = fromReq;
|
|
273
|
+
return __query;
|
|
274
|
+
}
|
|
275
|
+
exports.query = query;
|
|
276
|
+
/**
|
|
277
|
+
* Creates a resource.
|
|
278
|
+
* <!--ONLY:VELO
|
|
279
|
+
* The `createResource()` function returns a Promise that resolves to the created resource.
|
|
280
|
+
* <!--END:ONLY:VELO-->
|
|
281
|
+
*
|
|
282
|
+
* Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the `availability.start` property.
|
|
283
|
+
* For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `"WORKING_HOURS"` using the resource's schedule.
|
|
284
|
+
* You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
|
|
285
|
+
*
|
|
286
|
+
* <!--ONLY:VELO
|
|
287
|
+
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
288
|
+
* + If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
|
|
289
|
+
* + If the resource has its own custom working hours, create the resource, then create sessions of type `"WORKING_HOURS"` using the [`createSession()`](wix-bookings-backend.Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
290
|
+
* + You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
291
|
+
*
|
|
292
|
+
* > **Notes:**
|
|
293
|
+
* > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
|
|
294
|
+
* > + The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
|
|
295
|
+
* > + You can only add the business resource's schedule as a linked schedule for a resource.
|
|
296
|
+
* > + A resource can have one schedule only.
|
|
297
|
+
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
298
|
+
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
299
|
+
* <!--END:ONLY:VELO-->
|
|
300
|
+
*
|
|
301
|
+
* <!--ONLY:REST-->
|
|
302
|
+
* Use the following steps to create resources:
|
|
303
|
+
* - Create the resource using including schedule information.
|
|
304
|
+
* - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the in the schedule parameters.
|
|
305
|
+
* - If the resource has its own custom working hours, create sessions of type `"WORKING_HOURS"`. Use the `scheduleId` of the new resource when creating the sessions. These session can be single sessions or recurring sessions. You can have both business hours and custom hours for the same resource schedule.
|
|
306
|
+
*
|
|
307
|
+
* >**Notes:**
|
|
308
|
+
* > + A resource can have one schedule only.
|
|
309
|
+
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
310
|
+
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
311
|
+
*
|
|
312
|
+
*
|
|
313
|
+
*
|
|
314
|
+
* >**Permissions:**
|
|
315
|
+
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
316
|
+
* <!--END:ONLY:REST-->
|
|
317
|
+
*/
|
|
318
|
+
function create(payload) {
|
|
319
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_createResourceRequest, {
|
|
320
|
+
_address,
|
|
321
|
+
_addressLocation,
|
|
322
|
+
_availability,
|
|
323
|
+
_image,
|
|
324
|
+
_location,
|
|
325
|
+
_locationsAddress,
|
|
326
|
+
_locationsAddressLocation,
|
|
327
|
+
_locationsLocation,
|
|
328
|
+
_recurringInterval,
|
|
329
|
+
_resource,
|
|
330
|
+
_schedule,
|
|
331
|
+
});
|
|
332
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_createResourceResponse, {
|
|
333
|
+
_address,
|
|
334
|
+
_addressLocation,
|
|
335
|
+
_availability,
|
|
336
|
+
_image,
|
|
337
|
+
_location,
|
|
338
|
+
_locationsAddress,
|
|
339
|
+
_locationsAddressLocation,
|
|
340
|
+
_locationsLocation,
|
|
341
|
+
_recurringInterval,
|
|
342
|
+
_resource,
|
|
343
|
+
_schedule,
|
|
344
|
+
});
|
|
345
|
+
function __create({ host }) {
|
|
346
|
+
const serializedData = toReq(payload);
|
|
347
|
+
const metadata = {
|
|
348
|
+
method: 'POST',
|
|
349
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
|
|
350
|
+
data: serializedData,
|
|
351
|
+
transformResponse: fromRes,
|
|
352
|
+
};
|
|
353
|
+
return metadata;
|
|
354
|
+
}
|
|
355
|
+
__create.fromReq = fromReq;
|
|
356
|
+
return __create;
|
|
357
|
+
}
|
|
358
|
+
exports.create = create;
|
|
359
|
+
/**
|
|
360
|
+
* Updates a resource.
|
|
361
|
+
* <!--ONLY:VELO
|
|
362
|
+
* The `updateResource()` function returns a Promise that resolves when a resource is updated.
|
|
363
|
+
* Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](wix-bookings-backend/resource/updateresourceschedule).
|
|
364
|
+
*
|
|
365
|
+
* >**Notes:**
|
|
366
|
+
* > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
|
|
367
|
+
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
368
|
+
* <!--END:ONLY:VELO-->
|
|
369
|
+
* <!--ONLY:REST-->
|
|
370
|
+
* Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
|
|
371
|
+
* the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
|
|
372
|
+
*
|
|
373
|
+
* >**Notes:**
|
|
374
|
+
* > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
|
|
375
|
+
* > + When updating a resource's schedule you cannot change the resource tag used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
376
|
+
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
377
|
+
*
|
|
378
|
+
* >**Permissions:**
|
|
379
|
+
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
380
|
+
* <!--END:ONLY:REST-->
|
|
381
|
+
*/
|
|
382
|
+
function update(payload) {
|
|
383
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateResourceRequest, {
|
|
384
|
+
_address,
|
|
385
|
+
_addressLocation,
|
|
386
|
+
_availability,
|
|
387
|
+
_batchRequest,
|
|
388
|
+
_cancelScheduleRequest,
|
|
389
|
+
_createScheduleRequest,
|
|
390
|
+
_image,
|
|
391
|
+
_location,
|
|
392
|
+
_locationsAddress,
|
|
393
|
+
_locationsAddressLocation,
|
|
394
|
+
_locationsLocation,
|
|
395
|
+
_recurringInterval,
|
|
396
|
+
_resource,
|
|
397
|
+
_schedule,
|
|
398
|
+
_updateScheduleRequest,
|
|
399
|
+
});
|
|
400
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_updateResourceResponse, {
|
|
401
|
+
_address,
|
|
402
|
+
_addressLocation,
|
|
403
|
+
_availability,
|
|
404
|
+
_batchResponse,
|
|
405
|
+
_image,
|
|
406
|
+
_location,
|
|
407
|
+
_locationsAddress,
|
|
408
|
+
_locationsAddressLocation,
|
|
409
|
+
_locationsLocation,
|
|
410
|
+
_recurringInterval,
|
|
411
|
+
_resource,
|
|
412
|
+
_schedule,
|
|
413
|
+
});
|
|
414
|
+
function __update({ host }) {
|
|
415
|
+
const serializedData = toReq(payload);
|
|
416
|
+
const metadata = {
|
|
417
|
+
method: 'PATCH',
|
|
418
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{resource.id}', data: serializedData, host }),
|
|
419
|
+
data: serializedData,
|
|
420
|
+
transformResponse: fromRes,
|
|
421
|
+
};
|
|
422
|
+
return metadata;
|
|
423
|
+
}
|
|
424
|
+
__update.fromReq = fromReq;
|
|
425
|
+
return __update;
|
|
426
|
+
}
|
|
427
|
+
exports.update = update;
|
|
428
|
+
/**
|
|
429
|
+
* Updates a resource's schedule
|
|
430
|
+
* <!--ONLY:VELO
|
|
431
|
+
* The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated.
|
|
432
|
+
* Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (wix-bookings-backend/resources/updateresource).
|
|
433
|
+
* The following schedule properties can be updated:
|
|
434
|
+
* + `availability.start`
|
|
435
|
+
* + `availability.linkedSchedules`
|
|
436
|
+
* <!--END:ONLY:VELO-->
|
|
437
|
+
*
|
|
438
|
+
* To update a resource's schedule to remove business hours and add custom hours:
|
|
439
|
+
* <!--ONLY:REST-->
|
|
440
|
+
* + Update the resource's schedule to remove the business's `scheduleId` from the `availability.linkedSchedules` array.
|
|
441
|
+
* + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
442
|
+
* <!--END:ONLY:REST-->
|
|
443
|
+
* <!--ONLY:VELO
|
|
444
|
+
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
445
|
+
* + Use [`createSession()`](wix-bookings-backend.Sessions/createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
446
|
+
* <!--END:ONLY:VELO-->
|
|
447
|
+
*
|
|
448
|
+
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
449
|
+
* <!--ONLY:REST-->
|
|
450
|
+
* + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
451
|
+
* + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
|
|
452
|
+
* You do not have to delete exiting custom sessions. Custom session that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
453
|
+
* <!--END:ONLY:REST-->
|
|
454
|
+
* <!--ONLY:VELO
|
|
455
|
+
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
456
|
+
* + If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `"WORKING_HOURS"`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
457
|
+
*
|
|
458
|
+
* > **Notes:**
|
|
459
|
+
* > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
|
|
460
|
+
* > + A resource can have one schedule only.
|
|
461
|
+
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
462
|
+
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
463
|
+
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
464
|
+
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
465
|
+
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
466
|
+
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
467
|
+
* <!--END:ONLY:VELO-->
|
|
468
|
+
* <!--ONLY:REST-->
|
|
469
|
+
* >**Notes:**
|
|
470
|
+
* > + A resource can have one schedule only.
|
|
471
|
+
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
472
|
+
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
473
|
+
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
474
|
+
*
|
|
475
|
+
*
|
|
476
|
+
*
|
|
477
|
+
* >**Permissions:**
|
|
478
|
+
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
479
|
+
* <!--END:ONLY:REST-->
|
|
480
|
+
*/
|
|
481
|
+
function updateSchedule(payload) {
|
|
482
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_resourceUpdateScheduleRequest, {
|
|
483
|
+
_address,
|
|
484
|
+
_addressLocation,
|
|
485
|
+
_availability,
|
|
486
|
+
_location,
|
|
487
|
+
_locationsAddress,
|
|
488
|
+
_locationsAddressLocation,
|
|
489
|
+
_locationsLocation,
|
|
490
|
+
_recurringInterval,
|
|
491
|
+
_schedule,
|
|
492
|
+
});
|
|
493
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_updateScheduleResponse, {
|
|
494
|
+
_address,
|
|
495
|
+
_addressLocation,
|
|
496
|
+
_availability,
|
|
497
|
+
_location,
|
|
498
|
+
_locationsAddress,
|
|
499
|
+
_locationsAddressLocation,
|
|
500
|
+
_locationsLocation,
|
|
501
|
+
_recurringInterval,
|
|
502
|
+
_schedule,
|
|
503
|
+
});
|
|
504
|
+
function __updateSchedule({ host }) {
|
|
505
|
+
const serializedData = toReq(payload);
|
|
506
|
+
const metadata = {
|
|
507
|
+
method: 'PATCH',
|
|
508
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({
|
|
509
|
+
protoPath: '/v1/resources/{resourceId}/updateSchedule',
|
|
510
|
+
data: serializedData,
|
|
511
|
+
host,
|
|
512
|
+
}),
|
|
513
|
+
data: serializedData,
|
|
514
|
+
transformResponse: fromRes,
|
|
515
|
+
};
|
|
516
|
+
return metadata;
|
|
517
|
+
}
|
|
518
|
+
__updateSchedule.fromReq = fromReq;
|
|
519
|
+
return __updateSchedule;
|
|
520
|
+
}
|
|
521
|
+
exports.updateSchedule = updateSchedule;
|
|
522
|
+
/**
|
|
523
|
+
* Deletes a resource.
|
|
524
|
+
* <!--ONLY:VELO
|
|
525
|
+
* The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
|
|
526
|
+
* <!--END:ONLY:VELO-->
|
|
527
|
+
* Deleting a resource updates its `status` to `"DELETED"`.
|
|
528
|
+
*
|
|
529
|
+
* You cannot delete a resource if it has booked sessions.
|
|
530
|
+
*
|
|
531
|
+
* <!--ONLY:VELO
|
|
532
|
+
* >**Notes:**
|
|
533
|
+
* > + The Bookings app automatically creates a resource with a name and tag of value `"business"``. This resource is used for the business's schedule and working hours and cannot be deleted.
|
|
534
|
+
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
535
|
+
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
536
|
+
* <!--END:ONLY:VELO-->
|
|
537
|
+
*
|
|
538
|
+
* <!--ONLY:REST-->
|
|
539
|
+
* >**Notes:**
|
|
540
|
+
* > + The Bookings app creates a resource with `"business"` in name and tag values. This resource is used for the business's schedule and working hours and cannot be deleted.
|
|
541
|
+
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
542
|
+
*
|
|
543
|
+
* >**Permissions:**
|
|
544
|
+
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
545
|
+
* <!--END:ONLY:REST-->
|
|
546
|
+
*/
|
|
547
|
+
function _delete(payload) {
|
|
548
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteResourceRequest, {});
|
|
549
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_deleteResourceResponse, {});
|
|
550
|
+
function ___delete({ host }) {
|
|
551
|
+
const serializedData = toReq(payload);
|
|
552
|
+
const metadata = {
|
|
553
|
+
method: 'DELETE',
|
|
554
|
+
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{id}', data: serializedData, host }),
|
|
555
|
+
params: metro_runtime_1.toURLSearchParams(serializedData),
|
|
556
|
+
transformResponse: fromRes,
|
|
557
|
+
};
|
|
558
|
+
return metadata;
|
|
559
|
+
}
|
|
560
|
+
___delete.fromReq = fromReq;
|
|
561
|
+
return ___delete;
|
|
562
|
+
}
|
|
563
|
+
exports._delete = _delete;
|
|
564
|
+
//# sourceMappingURL=bookings-catalog-v1-resource.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAkBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAA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MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CACrD,sBAAsB,EACtB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC;IAEtE,SAAS,SAAS,CAAC,EAAE,IAAI,EAAO;QAC9B,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,QAAe;YACvB,GAAG,EAAE,uEAAuE,CAC1E,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAChE;YACD,MAAM,EAAE,iCAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC;IAE5B,OAAO,SAAS,CAAC;AACnB,CAAC;AA1BD,0BA0BC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
+
import { Resource, CreateOptions, ListOptions, QueryOptions, UpdateOptions, UpdateScheduleOptions } from './bookings-catalog-v1-resource.universal';
|
|
3
|
+
export declare function list(httpClient: HttpClient): (options?: ListOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").ListResourcesResponse>;
|
|
4
|
+
export declare function query(httpClient: HttpClient): (options?: QueryOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
|
|
5
|
+
export declare function create(httpClient: HttpClient): (resource: Resource, options?: CreateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
|
|
6
|
+
export declare function update(httpClient: HttpClient): (_id: string | null, options?: UpdateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateResourceResponse>;
|
|
7
|
+
export declare function updateSchedule(httpClient: HttpClient): (resourceId: string | null, options?: UpdateScheduleOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateScheduleResponse>;
|
|
8
|
+
export declare function _delete(httpClient: HttpClient): (_id: string) => Promise<import("./bookings-catalog-v1-resource.universal").DeleteResourceResponse>;
|
|
9
|
+
export { Day, Transparency, RecurringIntervalType, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, ResourceStatus, SortOrder, Event, } from './bookings-catalog-v1-resource.universal';
|
|
10
|
+
export { Resource, Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, Location, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ListResourcesRequest, Query, Sorting, Paging, ListResourcesResponse, QueryMetaData, PagingMetadataV2, Cursors, QueryResourcesRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QueryResourcesResponse, CreateResourceRequest, CreateResourceResponse, ResourceNotification, BatchCreateResourceRequest, BatchCreateResourceResponse, UpdateResourceRequest, BatchRequest, CreateScheduleRequest, UpdateScheduleRequest, ParticipantNotification, CancelScheduleRequest, UpdateResourceResponse, BatchResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, DeleteResourceRequest, DeleteResourceResponse, BatchDeleteResourceRequest, BatchDeleteResourceResponse, LinkResourceToUserRequest, LinkResourceToUserResponse, UnLinkResourceFromOwnerRequest, UnLinkResourceFromOwnerResponse, ListOptions, QueryOptions, CreateOptions, UpdateOptions, UpdateScheduleOptions, } from './bookings-catalog-v1-resource.universal';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Event = exports.SortOrder = exports.ResourceStatus = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports._delete = exports.updateSchedule = exports.update = exports.create = exports.query = exports.list = void 0;
|
|
4
|
+
const bookings_catalog_v1_resource_universal_1 = require("./bookings-catalog-v1-resource.universal");
|
|
5
|
+
function list(httpClient) {
|
|
6
|
+
return (options) => bookings_catalog_v1_resource_universal_1.list(options,
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
{ httpClient });
|
|
9
|
+
}
|
|
10
|
+
exports.list = list;
|
|
11
|
+
function query(httpClient) {
|
|
12
|
+
return (options) => bookings_catalog_v1_resource_universal_1.query(options,
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
{ httpClient });
|
|
15
|
+
}
|
|
16
|
+
exports.query = query;
|
|
17
|
+
function create(httpClient) {
|
|
18
|
+
return (resource, options) => bookings_catalog_v1_resource_universal_1.create(resource, options,
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
{ httpClient });
|
|
21
|
+
}
|
|
22
|
+
exports.create = create;
|
|
23
|
+
function update(httpClient) {
|
|
24
|
+
return (_id, options) => bookings_catalog_v1_resource_universal_1.update(_id, options,
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
{ httpClient });
|
|
27
|
+
}
|
|
28
|
+
exports.update = update;
|
|
29
|
+
function updateSchedule(httpClient) {
|
|
30
|
+
return (resourceId, options) => bookings_catalog_v1_resource_universal_1.updateSchedule(resourceId, options,
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
{ httpClient });
|
|
33
|
+
}
|
|
34
|
+
exports.updateSchedule = updateSchedule;
|
|
35
|
+
function _delete(httpClient) {
|
|
36
|
+
return (_id) => bookings_catalog_v1_resource_universal_1._delete(_id,
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
{ httpClient });
|
|
39
|
+
}
|
|
40
|
+
exports._delete = _delete;
|
|
41
|
+
var bookings_catalog_v1_resource_universal_2 = require("./bookings-catalog-v1-resource.universal");
|
|
42
|
+
Object.defineProperty(exports, "Day", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.Day; } });
|
|
43
|
+
Object.defineProperty(exports, "Transparency", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.Transparency; } });
|
|
44
|
+
Object.defineProperty(exports, "RecurringIntervalType", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.RecurringIntervalType; } });
|
|
45
|
+
Object.defineProperty(exports, "LocationType", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.LocationType; } });
|
|
46
|
+
Object.defineProperty(exports, "LocationStatus", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.LocationStatus; } });
|
|
47
|
+
Object.defineProperty(exports, "LocationsLocationType", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.LocationsLocationType; } });
|
|
48
|
+
Object.defineProperty(exports, "DayOfWeek", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.DayOfWeek; } });
|
|
49
|
+
Object.defineProperty(exports, "ApprovalStatus", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.ApprovalStatus; } });
|
|
50
|
+
Object.defineProperty(exports, "ScheduleStatus", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.ScheduleStatus; } });
|
|
51
|
+
Object.defineProperty(exports, "ConferenceType", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.ConferenceType; } });
|
|
52
|
+
Object.defineProperty(exports, "ResourceStatus", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.ResourceStatus; } });
|
|
53
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.SortOrder; } });
|
|
54
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return bookings_catalog_v1_resource_universal_2.Event; } });
|
|
55
|
+
//# sourceMappingURL=bookings-catalog-v1-resource.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":";;;AACA,qGAakD;AAElD,SAAgB,IAAI,CAAC,UAAsB;IACzC,OAAO,CAAC,OAAqB,EAAE,EAAE,CAC/B,6CAAa,CACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oBAOC;AAED,SAAgB,KAAK,CAAC,UAAsB;IAC1C,OAAO,CAAC,OAAsB,EAAE,EAAE,CAChC,8CAAc,CACZ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sBAOC;AAED,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,QAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,+CAAe,CACb,QAAQ,EACR,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAED,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,GAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,+CAAe,CACb,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,UAAyB,EAAE,OAA+B,EAAE,EAAE,CACpE,uDAAuB,CACrB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,gDAAgB,CACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0BAOC;AAED,mGAckD;AAbhD,6HAA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