@wix/events 1.0.152 → 1.0.154
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 +3 -3
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +3 -3
- package/build/cjs/index.typings.js +4 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js +4 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +22 -22
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +22 -22
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +4 -4
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +4 -4
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.d.ts +22 -22
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js +22 -22
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +18 -18
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js +18 -18
- package/build/es/index.d.ts +3 -3
- package/build/es/index.js +3 -3
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +3 -3
- package/build/es/index.typings.js +3 -3
- package/build/es/index.typings.js.map +1 -1
- package/build/es/meta.d.ts +3 -3
- package/build/es/meta.js +3 -3
- package/build/es/meta.js.map +1 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +22 -22
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +22 -22
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +4 -4
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +4 -4
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.d.ts +22 -22
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js +22 -22
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +18 -18
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js +18 -18
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * as guests from './src/events-guests-v1-guest.public';
|
|
2
|
+
export * as policies from './src/events-v2-policy.public';
|
|
3
|
+
export * as wixEvents from './src/events-v3-event.public';
|
|
1
4
|
export * as scheduleBookmarks from './src/events-schedule-v1-schedule-item-schedule-bookmarks.public';
|
|
2
5
|
export * as schedule from './src/events-schedule-v1-schedule-item-schedule.public';
|
|
3
6
|
export * as categories from './src/events-v1-category.public';
|
|
@@ -6,6 +9,3 @@ export * as orders from './src/events-v1-order-orders.public';
|
|
|
6
9
|
export * as rsvp from './src/events-v1-rsvp.public';
|
|
7
10
|
export * as tickets from './src/events-v1-ticket.public';
|
|
8
11
|
export * as ticketDefinitions from './src/events-v1-ticket-definition.public';
|
|
9
|
-
export * as guests from './src/events-guests-v1-guest.public';
|
|
10
|
-
export * as policies from './src/events-v2-policy.public';
|
|
11
|
-
export * as wixEvents from './src/events-v3-event.public';
|
package/build/cjs/index.js
CHANGED
|
@@ -23,7 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.ticketDefinitions = exports.tickets = exports.rsvp = exports.orders = exports.checkout = exports.categories = exports.schedule = exports.scheduleBookmarks = exports.wixEvents = exports.policies = exports.guests = void 0;
|
|
27
|
+
exports.guests = __importStar(require("./src/events-guests-v1-guest.public"));
|
|
28
|
+
exports.policies = __importStar(require("./src/events-v2-policy.public"));
|
|
29
|
+
exports.wixEvents = __importStar(require("./src/events-v3-event.public"));
|
|
27
30
|
exports.scheduleBookmarks = __importStar(require("./src/events-schedule-v1-schedule-item-schedule-bookmarks.public"));
|
|
28
31
|
exports.schedule = __importStar(require("./src/events-schedule-v1-schedule-item-schedule.public"));
|
|
29
32
|
exports.categories = __importStar(require("./src/events-v1-category.public"));
|
|
@@ -32,7 +35,4 @@ exports.orders = __importStar(require("./src/events-v1-order-orders.public"));
|
|
|
32
35
|
exports.rsvp = __importStar(require("./src/events-v1-rsvp.public"));
|
|
33
36
|
exports.tickets = __importStar(require("./src/events-v1-ticket.public"));
|
|
34
37
|
exports.ticketDefinitions = __importStar(require("./src/events-v1-ticket-definition.public"));
|
|
35
|
-
exports.guests = __importStar(require("./src/events-guests-v1-guest.public"));
|
|
36
|
-
exports.policies = __importStar(require("./src/events-v2-policy.public"));
|
|
37
|
-
exports.wixEvents = __importStar(require("./src/events-v3-event.public"));
|
|
38
38
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sHAAsG;AACtG,mGAAmF;AACnF,8EAA8D;AAC9D,kFAAkE;AAClE,8EAA8D;AAC9D,oEAAoD;AACpD,yEAAyD;AACzD,8FAA8E
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8EAA8D;AAC9D,0EAA0D;AAC1D,0EAA0D;AAC1D,sHAAsG;AACtG,mGAAmF;AACnF,8EAA8D;AAC9D,kFAAkE;AAClE,8EAA8D;AAC9D,oEAAoD;AACpD,yEAAyD;AACzD,8FAA8E"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * as guests from './src/events-guests-v1-guest.universal';
|
|
2
|
+
export * as policies from './src/events-v2-policy.universal';
|
|
3
|
+
export * as wixEvents from './src/events-v3-event.universal';
|
|
1
4
|
export * as scheduleBookmarks from './src/events-schedule-v1-schedule-item-schedule-bookmarks.universal';
|
|
2
5
|
export * as schedule from './src/events-schedule-v1-schedule-item-schedule.universal';
|
|
3
6
|
export * as categories from './src/events-v1-category.universal';
|
|
@@ -6,6 +9,3 @@ export * as orders from './src/events-v1-order-orders.universal';
|
|
|
6
9
|
export * as rsvp from './src/events-v1-rsvp.universal';
|
|
7
10
|
export * as tickets from './src/events-v1-ticket.universal';
|
|
8
11
|
export * as ticketDefinitions from './src/events-v1-ticket-definition.universal';
|
|
9
|
-
export * as guests from './src/events-guests-v1-guest.universal';
|
|
10
|
-
export * as policies from './src/events-v2-policy.universal';
|
|
11
|
-
export * as wixEvents from './src/events-v3-event.universal';
|
|
@@ -23,7 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.ticketDefinitions = exports.tickets = exports.rsvp = exports.orders = exports.checkout = exports.categories = exports.schedule = exports.scheduleBookmarks = exports.wixEvents = exports.policies = exports.guests = void 0;
|
|
27
|
+
exports.guests = __importStar(require("./src/events-guests-v1-guest.universal"));
|
|
28
|
+
exports.policies = __importStar(require("./src/events-v2-policy.universal"));
|
|
29
|
+
exports.wixEvents = __importStar(require("./src/events-v3-event.universal"));
|
|
27
30
|
exports.scheduleBookmarks = __importStar(require("./src/events-schedule-v1-schedule-item-schedule-bookmarks.universal"));
|
|
28
31
|
exports.schedule = __importStar(require("./src/events-schedule-v1-schedule-item-schedule.universal"));
|
|
29
32
|
exports.categories = __importStar(require("./src/events-v1-category.universal"));
|
|
@@ -32,7 +35,4 @@ exports.orders = __importStar(require("./src/events-v1-order-orders.universal"))
|
|
|
32
35
|
exports.rsvp = __importStar(require("./src/events-v1-rsvp.universal"));
|
|
33
36
|
exports.tickets = __importStar(require("./src/events-v1-ticket.universal"));
|
|
34
37
|
exports.ticketDefinitions = __importStar(require("./src/events-v1-ticket-definition.universal"));
|
|
35
|
-
exports.guests = __importStar(require("./src/events-guests-v1-guest.universal"));
|
|
36
|
-
exports.policies = __importStar(require("./src/events-v2-policy.universal"));
|
|
37
|
-
exports.wixEvents = __importStar(require("./src/events-v3-event.universal"));
|
|
38
38
|
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yHAAyG;AACzG,sGAAsF;AACtF,iFAAiE;AACjE,qFAAqE;AACrE,iFAAiE;AACjE,uEAAuD;AACvD,4EAA4D;AAC5D,iGAAiF
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iFAAiE;AACjE,6EAA6D;AAC7D,6EAA6D;AAC7D,yHAAyG;AACzG,sGAAsF;AACtF,iFAAiE;AACjE,qFAAqE;AACrE,iFAAiE;AACjE,uEAAuD;AACvD,4EAA4D;AAC5D,iGAAiF"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * as guests from './src/events-guests-v1-guest.meta';
|
|
2
|
+
export * as policies from './src/events-v2-policy.meta';
|
|
3
|
+
export * as wixEvents from './src/events-v3-event.meta';
|
|
1
4
|
export * as scheduleBookmarks from './src/events-schedule-v1-schedule-item-schedule-bookmarks.meta';
|
|
2
5
|
export * as schedule from './src/events-schedule-v1-schedule-item-schedule.meta';
|
|
3
6
|
export * as categories from './src/events-v1-category.meta';
|
|
@@ -6,6 +9,3 @@ export * as orders from './src/events-v1-order-orders.meta';
|
|
|
6
9
|
export * as rsvp from './src/events-v1-rsvp.meta';
|
|
7
10
|
export * as tickets from './src/events-v1-ticket.meta';
|
|
8
11
|
export * as ticketDefinitions from './src/events-v1-ticket-definition.meta';
|
|
9
|
-
export * as guests from './src/events-guests-v1-guest.meta';
|
|
10
|
-
export * as policies from './src/events-v2-policy.meta';
|
|
11
|
-
export * as wixEvents from './src/events-v3-event.meta';
|
package/build/cjs/meta.js
CHANGED
|
@@ -23,7 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.ticketDefinitions = exports.tickets = exports.rsvp = exports.orders = exports.checkout = exports.categories = exports.schedule = exports.scheduleBookmarks = exports.wixEvents = exports.policies = exports.guests = void 0;
|
|
27
|
+
exports.guests = __importStar(require("./src/events-guests-v1-guest.meta"));
|
|
28
|
+
exports.policies = __importStar(require("./src/events-v2-policy.meta"));
|
|
29
|
+
exports.wixEvents = __importStar(require("./src/events-v3-event.meta"));
|
|
27
30
|
exports.scheduleBookmarks = __importStar(require("./src/events-schedule-v1-schedule-item-schedule-bookmarks.meta"));
|
|
28
31
|
exports.schedule = __importStar(require("./src/events-schedule-v1-schedule-item-schedule.meta"));
|
|
29
32
|
exports.categories = __importStar(require("./src/events-v1-category.meta"));
|
|
@@ -32,7 +35,4 @@ exports.orders = __importStar(require("./src/events-v1-order-orders.meta"));
|
|
|
32
35
|
exports.rsvp = __importStar(require("./src/events-v1-rsvp.meta"));
|
|
33
36
|
exports.tickets = __importStar(require("./src/events-v1-ticket.meta"));
|
|
34
37
|
exports.ticketDefinitions = __importStar(require("./src/events-v1-ticket-definition.meta"));
|
|
35
|
-
exports.guests = __importStar(require("./src/events-guests-v1-guest.meta"));
|
|
36
|
-
exports.policies = __importStar(require("./src/events-v2-policy.meta"));
|
|
37
|
-
exports.wixEvents = __importStar(require("./src/events-v3-event.meta"));
|
|
38
38
|
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oHAAoG;AACpG,iGAAiF;AACjF,4EAA4D;AAC5D,gFAAgE;AAChE,4EAA4D;AAC5D,kEAAkD;AAClD,uEAAuD;AACvD,4FAA4E
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA4D;AAC5D,wEAAwD;AACxD,wEAAwD;AACxD,oHAAoG;AACpG,iGAAiF;AACjF,4EAA4D;AAC5D,gFAAgE;AAChE,4EAA4D;AAC5D,kEAAkD;AAClD,uEAAuD;AACvD,4FAA4E"}
|
|
@@ -3,8 +3,8 @@ import { AddScheduleItemRequest, AddScheduleItemResponse, CreateBookmarkRequest,
|
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves a list of up to 100 schedule items, with basic filter support.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* >
|
|
6
|
+
* >**Note:**
|
|
7
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
8
8
|
*/
|
|
9
9
|
export declare function listScheduleItems(payload: ListScheduleItemsRequest): RequestOptionsFactory<ListScheduleItemsResponse & ListScheduleItemsResponseNonNullableFields>;
|
|
10
10
|
/**
|
|
@@ -25,72 +25,72 @@ export declare function listScheduleItems(payload: ListScheduleItemsRequest): Re
|
|
|
25
25
|
* - When filter is not specified, returns all schedule items that caller is authorized to read.
|
|
26
26
|
* - When sorting is not specified, defaults to `time_slot.start` and `time_slot.end` in `ASC` order.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
* >
|
|
28
|
+
* >**Note:**
|
|
29
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
30
30
|
*/
|
|
31
31
|
export declare function queryScheduleItems(payload: QueryScheduleItemsRequest): RequestOptionsFactory<QueryScheduleItemsResponse & QueryScheduleItemsResponseNonNullableFields>;
|
|
32
32
|
/**
|
|
33
33
|
* Retrieves schedule item by ID.
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
* >
|
|
35
|
+
* >**Note:**
|
|
36
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
37
37
|
*/
|
|
38
38
|
export declare function getScheduleItem(payload: GetScheduleItemRequest): RequestOptionsFactory<GetScheduleItemResponse & GetScheduleItemResponseNonNullableFields>;
|
|
39
39
|
/**
|
|
40
40
|
* Adds schedule item to the draft schedule. Draft items are not publicly available unless published.
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
* >
|
|
42
|
+
* >**Note:**
|
|
43
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
44
44
|
*/
|
|
45
45
|
export declare function addScheduleItem(payload: AddScheduleItemRequest): RequestOptionsFactory<AddScheduleItemResponse & AddScheduleItemResponseNonNullableFields>;
|
|
46
46
|
/**
|
|
47
47
|
* Updates existing schedule item.
|
|
48
48
|
* All modifications are performed on a draft schedule, even if schedule item has already been published.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
51
|
-
* >
|
|
50
|
+
* >**Note:**
|
|
51
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
52
52
|
*/
|
|
53
53
|
export declare function updateScheduleItem(payload: UpdateScheduleItemRequest): RequestOptionsFactory<UpdateScheduleItemResponse & UpdateScheduleItemResponseNonNullableFields>;
|
|
54
54
|
/**
|
|
55
55
|
* Deletes schedule item from draft schedule.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
58
|
-
* >
|
|
57
|
+
* >**Note:**
|
|
58
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
59
59
|
*/
|
|
60
60
|
export declare function deleteScheduleItem(payload: DeleteScheduleItemRequest): RequestOptionsFactory<DeleteScheduleItemResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* Clears all changes to the draft schedule. (Does not affect the published schedule.)
|
|
63
63
|
*
|
|
64
|
-
*
|
|
65
|
-
* >
|
|
64
|
+
* >**Note:**
|
|
65
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
66
66
|
*/
|
|
67
67
|
export declare function discardDraft(payload: DiscardDraftRequest): RequestOptionsFactory<DiscardDraftResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Publishes the draft schedule.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
72
|
-
* >
|
|
71
|
+
* >**Note:**
|
|
72
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
73
73
|
*/
|
|
74
74
|
export declare function publishDraft(payload: PublishDraftRequest): RequestOptionsFactory<PublishDraftResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Adjusts time of all draft schedule items (per event).
|
|
77
77
|
*
|
|
78
|
-
*
|
|
79
|
-
* >
|
|
78
|
+
* >**Note:**
|
|
79
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
80
80
|
*/
|
|
81
81
|
export declare function rescheduleDraft(payload: RescheduleDraftRequest): RequestOptionsFactory<RescheduleDraftResponse>;
|
|
82
82
|
/**
|
|
83
83
|
* Retrieves a list of bookmarked schedule items for current member.
|
|
84
84
|
*
|
|
85
|
-
*
|
|
86
|
-
* >
|
|
85
|
+
* >**Note:**
|
|
86
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
87
87
|
*/
|
|
88
88
|
export declare function listBookmarks(payload: ListBookmarksRequest): RequestOptionsFactory<ListBookmarksResponse & ListBookmarksResponseNonNullableFields>;
|
|
89
89
|
/**
|
|
90
90
|
* Bookmarks schedule item for current member.
|
|
91
91
|
*
|
|
92
|
-
*
|
|
93
|
-
* >
|
|
92
|
+
* >**Note:**
|
|
93
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
94
94
|
*/
|
|
95
95
|
export declare function createBookmark(payload: CreateBookmarkRequest): RequestOptionsFactory<CreateBookmarkResponse>;
|
|
96
96
|
/** Removes schedule item bookmark from current member. */
|
|
@@ -153,8 +153,8 @@ function resolveWixEventsScheduleScheduleManagementUrl(opts) {
|
|
|
153
153
|
/**
|
|
154
154
|
* Retrieves a list of up to 100 schedule items, with basic filter support.
|
|
155
155
|
*
|
|
156
|
-
*
|
|
157
|
-
* >
|
|
156
|
+
* >**Note:**
|
|
157
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
158
158
|
*/
|
|
159
159
|
function listScheduleItems(payload) {
|
|
160
160
|
function __listScheduleItems({ host }) {
|
|
@@ -209,8 +209,8 @@ exports.listScheduleItems = listScheduleItems;
|
|
|
209
209
|
* - When filter is not specified, returns all schedule items that caller is authorized to read.
|
|
210
210
|
* - When sorting is not specified, defaults to `time_slot.start` and `time_slot.end` in `ASC` order.
|
|
211
211
|
*
|
|
212
|
-
*
|
|
213
|
-
* >
|
|
212
|
+
* >**Note:**
|
|
213
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
214
214
|
*/
|
|
215
215
|
function queryScheduleItems(payload) {
|
|
216
216
|
function __queryScheduleItems({ host }) {
|
|
@@ -244,8 +244,8 @@ exports.queryScheduleItems = queryScheduleItems;
|
|
|
244
244
|
/**
|
|
245
245
|
* Retrieves schedule item by ID.
|
|
246
246
|
*
|
|
247
|
-
*
|
|
248
|
-
* >
|
|
247
|
+
* >**Note:**
|
|
248
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
249
249
|
*/
|
|
250
250
|
function getScheduleItem(payload) {
|
|
251
251
|
function __getScheduleItem({ host }) {
|
|
@@ -283,8 +283,8 @@ exports.getScheduleItem = getScheduleItem;
|
|
|
283
283
|
/**
|
|
284
284
|
* Adds schedule item to the draft schedule. Draft items are not publicly available unless published.
|
|
285
285
|
*
|
|
286
|
-
*
|
|
287
|
-
* >
|
|
286
|
+
* >**Note:**
|
|
287
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
288
288
|
*/
|
|
289
289
|
function addScheduleItem(payload) {
|
|
290
290
|
function __addScheduleItem({ host }) {
|
|
@@ -325,8 +325,8 @@ exports.addScheduleItem = addScheduleItem;
|
|
|
325
325
|
* Updates existing schedule item.
|
|
326
326
|
* All modifications are performed on a draft schedule, even if schedule item has already been published.
|
|
327
327
|
*
|
|
328
|
-
*
|
|
329
|
-
* >
|
|
328
|
+
* >**Note:**
|
|
329
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
330
330
|
*/
|
|
331
331
|
function updateScheduleItem(payload) {
|
|
332
332
|
function __updateScheduleItem({ host }) {
|
|
@@ -370,8 +370,8 @@ exports.updateScheduleItem = updateScheduleItem;
|
|
|
370
370
|
/**
|
|
371
371
|
* Deletes schedule item from draft schedule.
|
|
372
372
|
*
|
|
373
|
-
*
|
|
374
|
-
* >
|
|
373
|
+
* >**Note:**
|
|
374
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
375
375
|
*/
|
|
376
376
|
function deleteScheduleItem(payload) {
|
|
377
377
|
function __deleteScheduleItem({ host }) {
|
|
@@ -394,8 +394,8 @@ exports.deleteScheduleItem = deleteScheduleItem;
|
|
|
394
394
|
/**
|
|
395
395
|
* Clears all changes to the draft schedule. (Does not affect the published schedule.)
|
|
396
396
|
*
|
|
397
|
-
*
|
|
398
|
-
* >
|
|
397
|
+
* >**Note:**
|
|
398
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
399
399
|
*/
|
|
400
400
|
function discardDraft(payload) {
|
|
401
401
|
function __discardDraft({ host }) {
|
|
@@ -418,8 +418,8 @@ exports.discardDraft = discardDraft;
|
|
|
418
418
|
/**
|
|
419
419
|
* Publishes the draft schedule.
|
|
420
420
|
*
|
|
421
|
-
*
|
|
422
|
-
* >
|
|
421
|
+
* >**Note:**
|
|
422
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
423
423
|
*/
|
|
424
424
|
function publishDraft(payload) {
|
|
425
425
|
function __publishDraft({ host }) {
|
|
@@ -442,8 +442,8 @@ exports.publishDraft = publishDraft;
|
|
|
442
442
|
/**
|
|
443
443
|
* Adjusts time of all draft schedule items (per event).
|
|
444
444
|
*
|
|
445
|
-
*
|
|
446
|
-
* >
|
|
445
|
+
* >**Note:**
|
|
446
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
447
447
|
*/
|
|
448
448
|
function rescheduleDraft(payload) {
|
|
449
449
|
function __rescheduleDraft({ host }) {
|
|
@@ -472,8 +472,8 @@ exports.rescheduleDraft = rescheduleDraft;
|
|
|
472
472
|
/**
|
|
473
473
|
* Retrieves a list of bookmarked schedule items for current member.
|
|
474
474
|
*
|
|
475
|
-
*
|
|
476
|
-
* >
|
|
475
|
+
* >**Note:**
|
|
476
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
477
477
|
*/
|
|
478
478
|
function listBookmarks(payload) {
|
|
479
479
|
function __listBookmarks({ host }) {
|
|
@@ -507,8 +507,8 @@ exports.listBookmarks = listBookmarks;
|
|
|
507
507
|
/**
|
|
508
508
|
* Bookmarks schedule item for current member.
|
|
509
509
|
*
|
|
510
|
-
*
|
|
511
|
-
* >
|
|
510
|
+
* >**Note:**
|
|
511
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
512
512
|
*/
|
|
513
513
|
function createBookmark(payload) {
|
|
514
514
|
function __createBookmark({ host }) {
|
|
@@ -417,8 +417,8 @@ type GoogleProtoDuration = any;
|
|
|
417
417
|
/**
|
|
418
418
|
* Retrieves a list of bookmarked schedule items for current member.
|
|
419
419
|
*
|
|
420
|
-
*
|
|
421
|
-
* >
|
|
420
|
+
* >**Note:**
|
|
421
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
422
422
|
* @param eventId - Event ID.
|
|
423
423
|
* @public
|
|
424
424
|
* @documentationMaturity preview
|
|
@@ -429,8 +429,8 @@ export declare function listBookmarks(eventId: string): Promise<ListBookmarksRes
|
|
|
429
429
|
/**
|
|
430
430
|
* Bookmarks schedule item for current member.
|
|
431
431
|
*
|
|
432
|
-
*
|
|
433
|
-
* >
|
|
432
|
+
* >**Note:**
|
|
433
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
434
434
|
* @param itemId - Schedule item ID.
|
|
435
435
|
* @param eventId - Event ID.
|
|
436
436
|
* @public
|
|
@@ -84,8 +84,8 @@ const _listBookmarksResponse = {};
|
|
|
84
84
|
/**
|
|
85
85
|
* Retrieves a list of bookmarked schedule items for current member.
|
|
86
86
|
*
|
|
87
|
-
*
|
|
88
|
-
* >
|
|
87
|
+
* >**Note:**
|
|
88
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
89
89
|
* @param eventId - Event ID.
|
|
90
90
|
* @public
|
|
91
91
|
* @documentationMaturity preview
|
|
@@ -141,8 +141,8 @@ exports.listBookmarks = listBookmarks;
|
|
|
141
141
|
/**
|
|
142
142
|
* Bookmarks schedule item for current member.
|
|
143
143
|
*
|
|
144
|
-
*
|
|
145
|
-
* >
|
|
144
|
+
* >**Note:**
|
|
145
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
146
146
|
* @param itemId - Schedule item ID.
|
|
147
147
|
* @param eventId - Event ID.
|
|
148
148
|
* @public
|
|
@@ -3,8 +3,8 @@ import { AddScheduleItemRequest, AddScheduleItemResponse, CreateBookmarkRequest,
|
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves a list of up to 100 schedule items, with basic filter support.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* >
|
|
6
|
+
* >**Note:**
|
|
7
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
8
8
|
*/
|
|
9
9
|
export declare function listScheduleItems(payload: ListScheduleItemsRequest): RequestOptionsFactory<ListScheduleItemsResponse & ListScheduleItemsResponseNonNullableFields>;
|
|
10
10
|
/**
|
|
@@ -25,72 +25,72 @@ export declare function listScheduleItems(payload: ListScheduleItemsRequest): Re
|
|
|
25
25
|
* - When filter is not specified, returns all schedule items that caller is authorized to read.
|
|
26
26
|
* - When sorting is not specified, defaults to `time_slot.start` and `time_slot.end` in `ASC` order.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
* >
|
|
28
|
+
* >**Note:**
|
|
29
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
30
30
|
*/
|
|
31
31
|
export declare function queryScheduleItems(payload: QueryScheduleItemsRequest): RequestOptionsFactory<QueryScheduleItemsResponse & QueryScheduleItemsResponseNonNullableFields>;
|
|
32
32
|
/**
|
|
33
33
|
* Retrieves schedule item by ID.
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
* >
|
|
35
|
+
* >**Note:**
|
|
36
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
37
37
|
*/
|
|
38
38
|
export declare function getScheduleItem(payload: GetScheduleItemRequest): RequestOptionsFactory<GetScheduleItemResponse & GetScheduleItemResponseNonNullableFields>;
|
|
39
39
|
/**
|
|
40
40
|
* Adds schedule item to the draft schedule. Draft items are not publicly available unless published.
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
* >
|
|
42
|
+
* >**Note:**
|
|
43
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
44
44
|
*/
|
|
45
45
|
export declare function addScheduleItem(payload: AddScheduleItemRequest): RequestOptionsFactory<AddScheduleItemResponse & AddScheduleItemResponseNonNullableFields>;
|
|
46
46
|
/**
|
|
47
47
|
* Updates existing schedule item.
|
|
48
48
|
* All modifications are performed on a draft schedule, even if schedule item has already been published.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
51
|
-
* >
|
|
50
|
+
* >**Note:**
|
|
51
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
52
52
|
*/
|
|
53
53
|
export declare function updateScheduleItem(payload: UpdateScheduleItemRequest): RequestOptionsFactory<UpdateScheduleItemResponse & UpdateScheduleItemResponseNonNullableFields>;
|
|
54
54
|
/**
|
|
55
55
|
* Deletes schedule item from draft schedule.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
58
|
-
* >
|
|
57
|
+
* >**Note:**
|
|
58
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
59
59
|
*/
|
|
60
60
|
export declare function deleteScheduleItem(payload: DeleteScheduleItemRequest): RequestOptionsFactory<DeleteScheduleItemResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* Clears all changes to the draft schedule. (Does not affect the published schedule.)
|
|
63
63
|
*
|
|
64
|
-
*
|
|
65
|
-
* >
|
|
64
|
+
* >**Note:**
|
|
65
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
66
66
|
*/
|
|
67
67
|
export declare function discardDraft(payload: DiscardDraftRequest): RequestOptionsFactory<DiscardDraftResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Publishes the draft schedule.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
72
|
-
* >
|
|
71
|
+
* >**Note:**
|
|
72
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
73
73
|
*/
|
|
74
74
|
export declare function publishDraft(payload: PublishDraftRequest): RequestOptionsFactory<PublishDraftResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Adjusts time of all draft schedule items (per event).
|
|
77
77
|
*
|
|
78
|
-
*
|
|
79
|
-
* >
|
|
78
|
+
* >**Note:**
|
|
79
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
80
80
|
*/
|
|
81
81
|
export declare function rescheduleDraft(payload: RescheduleDraftRequest): RequestOptionsFactory<RescheduleDraftResponse>;
|
|
82
82
|
/**
|
|
83
83
|
* Retrieves a list of bookmarked schedule items for current member.
|
|
84
84
|
*
|
|
85
|
-
*
|
|
86
|
-
* >
|
|
85
|
+
* >**Note:**
|
|
86
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
87
87
|
*/
|
|
88
88
|
export declare function listBookmarks(payload: ListBookmarksRequest): RequestOptionsFactory<ListBookmarksResponse & ListBookmarksResponseNonNullableFields>;
|
|
89
89
|
/**
|
|
90
90
|
* Bookmarks schedule item for current member.
|
|
91
91
|
*
|
|
92
|
-
*
|
|
93
|
-
* >
|
|
92
|
+
* >**Note:**
|
|
93
|
+
* >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
|
|
94
94
|
*/
|
|
95
95
|
export declare function createBookmark(payload: CreateBookmarkRequest): RequestOptionsFactory<CreateBookmarkResponse>;
|
|
96
96
|
/** Removes schedule item bookmark from current member. */
|