@wix/auto_sdk_calendar_participations 1.0.0
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.context.d.ts +25 -0
- package/build/cjs/src/calendar-v3-participation-participations.context.js +30 -0
- package/build/cjs/src/calendar-v3-participation-participations.context.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.http.d.ts +29 -0
- package/build/cjs/src/calendar-v3-participation-participations.http.js +204 -0
- package/build/cjs/src/calendar-v3-participation-participations.http.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.meta.d.ts +23 -0
- package/build/cjs/src/calendar-v3-participation-participations.meta.js +123 -0
- package/build/cjs/src/calendar-v3-participation-participations.meta.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.public.d.ts +67 -0
- package/build/cjs/src/calendar-v3-participation-participations.public.js +73 -0
- package/build/cjs/src/calendar-v3-participation-participations.public.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.types.d.ts +364 -0
- package/build/cjs/src/calendar-v3-participation-participations.types.js +19 -0
- package/build/cjs/src/calendar-v3-participation-participations.types.js.map +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.universal.d.ts +674 -0
- package/build/cjs/src/calendar-v3-participation-participations.universal.js +291 -0
- package/build/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/calendar-v3-participation-participations.context.d.ts +25 -0
- package/build/es/src/calendar-v3-participation-participations.context.js +25 -0
- package/build/es/src/calendar-v3-participation-participations.context.js.map +1 -0
- package/build/es/src/calendar-v3-participation-participations.http.d.ts +29 -0
- package/build/es/src/calendar-v3-participation-participations.http.js +196 -0
- package/build/es/src/calendar-v3-participation-participations.http.js.map +1 -0
- package/build/es/src/calendar-v3-participation-participations.meta.d.ts +23 -0
- package/build/es/src/calendar-v3-participation-participations.meta.js +92 -0
- package/build/es/src/calendar-v3-participation-participations.meta.js.map +1 -0
- package/build/es/src/calendar-v3-participation-participations.public.d.ts +67 -0
- package/build/es/src/calendar-v3-participation-participations.public.js +63 -0
- package/build/es/src/calendar-v3-participation-participations.public.js.map +1 -0
- package/build/es/src/calendar-v3-participation-participations.types.d.ts +364 -0
- package/build/es/src/calendar-v3-participation-participations.types.js +16 -0
- package/build/es/src/calendar-v3-participation-participations.types.js.map +1 -0
- package/build/es/src/calendar-v3-participation-participations.universal.d.ts +674 -0
- package/build/es/src/calendar-v3-participation-participations.universal.js +260 -0
- package/build/es/src/calendar-v3-participation-participations.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.context.d.ts +25 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.context.js +30 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.context.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.http.d.ts +29 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.http.js +204 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.http.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.meta.d.ts +23 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.meta.js +123 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.meta.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.public.d.ts +67 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.public.js +73 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.public.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.d.ts +364 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.js +19 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.js.map +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.d.ts +674 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js +291 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.context.d.ts +25 -0
- package/build/internal/es/src/calendar-v3-participation-participations.context.js +25 -0
- package/build/internal/es/src/calendar-v3-participation-participations.context.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.http.d.ts +29 -0
- package/build/internal/es/src/calendar-v3-participation-participations.http.js +196 -0
- package/build/internal/es/src/calendar-v3-participation-participations.http.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.meta.d.ts +23 -0
- package/build/internal/es/src/calendar-v3-participation-participations.meta.js +92 -0
- package/build/internal/es/src/calendar-v3-participation-participations.meta.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.public.d.ts +67 -0
- package/build/internal/es/src/calendar-v3-participation-participations.public.js +63 -0
- package/build/internal/es/src/calendar-v3-participation-participations.public.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.types.d.ts +364 -0
- package/build/internal/es/src/calendar-v3-participation-participations.types.js +16 -0
- package/build/internal/es/src/calendar-v3-participation-participations.types.js.map +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.universal.d.ts +674 -0
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js +260 -0
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `participation` object represents the relationship between a participant and
|
|
3
|
+
* an [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
4
|
+
* or [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object).
|
|
5
|
+
* It includes details about the participant, whether the participation status is confirmed or
|
|
6
|
+
* pending, which app owns the relevant event or schedule, and allows for custom data extensions.
|
|
7
|
+
*/
|
|
8
|
+
export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
9
|
+
/**
|
|
10
|
+
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
11
|
+
* associated with the participation.
|
|
12
|
+
*/
|
|
13
|
+
scheduleId?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
16
|
+
* associated with the participation.
|
|
17
|
+
*/
|
|
18
|
+
eventId?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Participation ID.
|
|
21
|
+
* @readonly
|
|
22
|
+
*/
|
|
23
|
+
_id?: string | null;
|
|
24
|
+
/** External ID. */
|
|
25
|
+
externalId?: string | null;
|
|
26
|
+
/** Information about the participant. */
|
|
27
|
+
participant?: Participant;
|
|
28
|
+
/**
|
|
29
|
+
* Party size of the group or `1` for individuals.
|
|
30
|
+
*
|
|
31
|
+
* Min: `1`
|
|
32
|
+
* Max: `1000`
|
|
33
|
+
*/
|
|
34
|
+
partySize?: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Status of the party's participation in the event. Depending on your
|
|
37
|
+
* implementation, confirmation may be handled by the business owner or the customer.
|
|
38
|
+
*
|
|
39
|
+
* Supported values:
|
|
40
|
+
* + `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).
|
|
41
|
+
* + `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).
|
|
42
|
+
*
|
|
43
|
+
* Default: `CONFIRMED`
|
|
44
|
+
*/
|
|
45
|
+
status?: Status;
|
|
46
|
+
/**
|
|
47
|
+
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
48
|
+
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
49
|
+
* that the related
|
|
50
|
+
* [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
51
|
+
* belongs to.
|
|
52
|
+
* @readonly
|
|
53
|
+
*/
|
|
54
|
+
appId?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Revision number, which increments by 1 each time the participation is updated.
|
|
57
|
+
* To prevent conflicting changes, the current revision must be passed when updating the participation.
|
|
58
|
+
* Ignored when creating a participation.
|
|
59
|
+
* @readonly
|
|
60
|
+
*/
|
|
61
|
+
revision?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
64
|
+
* @readonly
|
|
65
|
+
*/
|
|
66
|
+
_createdDate?: Date | null;
|
|
67
|
+
/**
|
|
68
|
+
* Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
69
|
+
* @readonly
|
|
70
|
+
*/
|
|
71
|
+
_updatedDate?: Date | null;
|
|
72
|
+
/** Extensions enabling applications or users to save custom data related to the participation. */
|
|
73
|
+
extendedFields?: ExtendedFields;
|
|
74
|
+
}
|
|
75
|
+
/** @oneof */
|
|
76
|
+
export interface ParticipationParticipatedItemOneOf {
|
|
77
|
+
/**
|
|
78
|
+
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
79
|
+
* associated with the participation.
|
|
80
|
+
*/
|
|
81
|
+
scheduleId?: string | null;
|
|
82
|
+
/**
|
|
83
|
+
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
84
|
+
* associated with the participation.
|
|
85
|
+
*/
|
|
86
|
+
eventId?: string | null;
|
|
87
|
+
}
|
|
88
|
+
export interface Participant {
|
|
89
|
+
/**
|
|
90
|
+
* Participant name.
|
|
91
|
+
*
|
|
92
|
+
* Min: 1 character
|
|
93
|
+
* Max: 200 characters
|
|
94
|
+
*/
|
|
95
|
+
name?: string | null;
|
|
96
|
+
/** Participant's phone number. */
|
|
97
|
+
phone?: string | null;
|
|
98
|
+
/** Participant's email address. */
|
|
99
|
+
email?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* [Contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
102
|
+
* ID of the participant.
|
|
103
|
+
*/
|
|
104
|
+
contactId?: string | null;
|
|
105
|
+
}
|
|
106
|
+
export declare enum Status {
|
|
107
|
+
/** The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
108
|
+
CONFIRMED = "CONFIRMED",
|
|
109
|
+
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
110
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
111
|
+
}
|
|
112
|
+
export interface ExtendedFields {
|
|
113
|
+
/**
|
|
114
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
115
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
116
|
+
*
|
|
117
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
118
|
+
*
|
|
119
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
120
|
+
*/
|
|
121
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
122
|
+
}
|
|
123
|
+
export interface GetParticipationRequest {
|
|
124
|
+
/** ID of the `participation` object to retrieve. */
|
|
125
|
+
participationId: string | null;
|
|
126
|
+
}
|
|
127
|
+
export interface GetParticipationResponse {
|
|
128
|
+
/** Retrieved `participation` object. */
|
|
129
|
+
participation?: Participation;
|
|
130
|
+
}
|
|
131
|
+
export interface QueryParticipationsRequest {
|
|
132
|
+
/** Query containing filters and paging. */
|
|
133
|
+
query?: CursorQuery;
|
|
134
|
+
}
|
|
135
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
136
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
137
|
+
cursorPaging?: CursorPaging;
|
|
138
|
+
/**
|
|
139
|
+
* Filter object in the following format:
|
|
140
|
+
* `"filter" : {
|
|
141
|
+
* "fieldName1": "value1",
|
|
142
|
+
* "fieldName2":{"$operator":"value2"}
|
|
143
|
+
* }`
|
|
144
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
145
|
+
*/
|
|
146
|
+
filter?: Record<string, any> | null;
|
|
147
|
+
}
|
|
148
|
+
/** @oneof */
|
|
149
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
150
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
151
|
+
cursorPaging?: CursorPaging;
|
|
152
|
+
}
|
|
153
|
+
export interface CursorPaging {
|
|
154
|
+
/** Number of participations to load. */
|
|
155
|
+
limit?: number | null;
|
|
156
|
+
/**
|
|
157
|
+
* Pointer to the next or previous page in the list of results.
|
|
158
|
+
*
|
|
159
|
+
* You can get the relevant cursor token
|
|
160
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
161
|
+
* Not relevant for the first request.
|
|
162
|
+
*/
|
|
163
|
+
cursor?: string | null;
|
|
164
|
+
}
|
|
165
|
+
export interface QueryParticipationsResponse {
|
|
166
|
+
/** Retrieved `participation` objects matching the provided query. */
|
|
167
|
+
participations?: Participation[];
|
|
168
|
+
/** Paging metadata. */
|
|
169
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
170
|
+
}
|
|
171
|
+
export interface CursorPagingMetadata {
|
|
172
|
+
/** Number of items returned in the response. */
|
|
173
|
+
count?: number | null;
|
|
174
|
+
/** Offset that was requested. */
|
|
175
|
+
cursors?: Cursors;
|
|
176
|
+
/**
|
|
177
|
+
* Indicates if there are more results after the current page.
|
|
178
|
+
* If `true`, another page of results can be retrieved.
|
|
179
|
+
* If `false`, this is the last page.
|
|
180
|
+
*/
|
|
181
|
+
hasNext?: boolean | null;
|
|
182
|
+
}
|
|
183
|
+
export interface Cursors {
|
|
184
|
+
/** Cursor pointing to next page in the list of results. */
|
|
185
|
+
next?: string | null;
|
|
186
|
+
/** Cursor pointing to previous page in the list of results. */
|
|
187
|
+
prev?: string | null;
|
|
188
|
+
}
|
|
189
|
+
export interface CreateParticipationRequest {
|
|
190
|
+
/** `participation` object to create. */
|
|
191
|
+
participation: Participation;
|
|
192
|
+
/**
|
|
193
|
+
* Idempotency key guaranteeing that you don't create the same `participation`
|
|
194
|
+
* object more than once.
|
|
195
|
+
*/
|
|
196
|
+
idempotencyKey?: string | null;
|
|
197
|
+
}
|
|
198
|
+
export interface CreateParticipationResponse {
|
|
199
|
+
/** Created `participation` object. */
|
|
200
|
+
participation?: Participation;
|
|
201
|
+
}
|
|
202
|
+
export interface UpdateParticipationRequest {
|
|
203
|
+
/** `participation` object to update. */
|
|
204
|
+
participation: Participation;
|
|
205
|
+
}
|
|
206
|
+
export interface UpdateParticipationResponse {
|
|
207
|
+
/** Updated `participation` object. */
|
|
208
|
+
participation?: Participation;
|
|
209
|
+
}
|
|
210
|
+
/** Deprecated. Use the standard ParticipationUpdated event instead, which also includes the modified fields. */
|
|
211
|
+
export interface ParticipationUpdatedWithMetadata {
|
|
212
|
+
/** The updated participation. */
|
|
213
|
+
participation?: Participation;
|
|
214
|
+
}
|
|
215
|
+
export interface DeleteParticipationRequest {
|
|
216
|
+
/** ID of `participation` object to delete. */
|
|
217
|
+
participationId: string | null;
|
|
218
|
+
}
|
|
219
|
+
export interface DeleteParticipationResponse {
|
|
220
|
+
}
|
|
221
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
222
|
+
createdEvent?: EntityCreatedEvent;
|
|
223
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
224
|
+
deletedEvent?: EntityDeletedEvent;
|
|
225
|
+
actionEvent?: ActionEvent;
|
|
226
|
+
/**
|
|
227
|
+
* Unique event ID.
|
|
228
|
+
* Allows clients to ignore duplicate webhooks.
|
|
229
|
+
*/
|
|
230
|
+
_id?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Assumes actions are also always typed to an entity_type
|
|
233
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
234
|
+
*/
|
|
235
|
+
entityFqdn?: string;
|
|
236
|
+
/**
|
|
237
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
238
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
239
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
240
|
+
*/
|
|
241
|
+
slug?: string;
|
|
242
|
+
/** ID of the entity associated with the event. */
|
|
243
|
+
entityId?: string;
|
|
244
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
245
|
+
eventTime?: Date | null;
|
|
246
|
+
/**
|
|
247
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
248
|
+
* (for example, GDPR).
|
|
249
|
+
*/
|
|
250
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
251
|
+
/** If present, indicates the action that triggered the event. */
|
|
252
|
+
originatedFrom?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
255
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
256
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
257
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
258
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
259
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
260
|
+
*/
|
|
261
|
+
entityEventSequence?: string | null;
|
|
262
|
+
}
|
|
263
|
+
/** @oneof */
|
|
264
|
+
export interface DomainEventBodyOneOf {
|
|
265
|
+
createdEvent?: EntityCreatedEvent;
|
|
266
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
267
|
+
deletedEvent?: EntityDeletedEvent;
|
|
268
|
+
actionEvent?: ActionEvent;
|
|
269
|
+
}
|
|
270
|
+
export interface EntityCreatedEvent {
|
|
271
|
+
entity?: string;
|
|
272
|
+
}
|
|
273
|
+
export interface RestoreInfo {
|
|
274
|
+
deletedDate?: Date | null;
|
|
275
|
+
}
|
|
276
|
+
export interface EntityUpdatedEvent {
|
|
277
|
+
/**
|
|
278
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
279
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
280
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
281
|
+
*/
|
|
282
|
+
currentEntity?: string;
|
|
283
|
+
}
|
|
284
|
+
export interface EntityDeletedEvent {
|
|
285
|
+
/** Entity that was deleted */
|
|
286
|
+
deletedEntity?: string | null;
|
|
287
|
+
}
|
|
288
|
+
export interface ActionEvent {
|
|
289
|
+
body?: string;
|
|
290
|
+
}
|
|
291
|
+
export interface Empty {
|
|
292
|
+
}
|
|
293
|
+
export interface SumParticipationsPartySizeByScheduleIdRequest {
|
|
294
|
+
/** The schedule IDs. */
|
|
295
|
+
scheduleIds?: string[] | null;
|
|
296
|
+
}
|
|
297
|
+
export interface SumParticipationsPartySizeByScheduleIdResponse {
|
|
298
|
+
/** The sum of party size by schedule ID. */
|
|
299
|
+
partySizeSumByScheduleId?: PartySizeSumByScheduleId[];
|
|
300
|
+
}
|
|
301
|
+
export interface PartySizeSumByScheduleId {
|
|
302
|
+
/** The ID of the schedule. */
|
|
303
|
+
scheduleId?: string | null;
|
|
304
|
+
/** The sum of the participations party size. */
|
|
305
|
+
partySizeSum?: number | null;
|
|
306
|
+
}
|
|
307
|
+
export interface MessageEnvelope {
|
|
308
|
+
/** App instance ID. */
|
|
309
|
+
instanceId?: string | null;
|
|
310
|
+
/** Event type. */
|
|
311
|
+
eventType?: string;
|
|
312
|
+
/** The identification type and identity data. */
|
|
313
|
+
identity?: IdentificationData;
|
|
314
|
+
/** Stringify payload. */
|
|
315
|
+
data?: string;
|
|
316
|
+
}
|
|
317
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
318
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
319
|
+
anonymousVisitorId?: string;
|
|
320
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
321
|
+
memberId?: string;
|
|
322
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
323
|
+
wixUserId?: string;
|
|
324
|
+
/** ID of an app. */
|
|
325
|
+
appId?: string;
|
|
326
|
+
/** @readonly */
|
|
327
|
+
identityType?: WebhookIdentityType;
|
|
328
|
+
}
|
|
329
|
+
/** @oneof */
|
|
330
|
+
export interface IdentificationDataIdOneOf {
|
|
331
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
332
|
+
anonymousVisitorId?: string;
|
|
333
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
334
|
+
memberId?: string;
|
|
335
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
336
|
+
wixUserId?: string;
|
|
337
|
+
/** ID of an app. */
|
|
338
|
+
appId?: string;
|
|
339
|
+
}
|
|
340
|
+
export declare enum WebhookIdentityType {
|
|
341
|
+
UNKNOWN = "UNKNOWN",
|
|
342
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
343
|
+
MEMBER = "MEMBER",
|
|
344
|
+
WIX_USER = "WIX_USER",
|
|
345
|
+
APP = "APP"
|
|
346
|
+
}
|
|
347
|
+
export interface ParticipationNonNullableFields {
|
|
348
|
+
status: Status;
|
|
349
|
+
}
|
|
350
|
+
export interface GetParticipationResponseNonNullableFields {
|
|
351
|
+
participation?: ParticipationNonNullableFields;
|
|
352
|
+
}
|
|
353
|
+
export interface QueryParticipationsResponseNonNullableFields {
|
|
354
|
+
participations: ParticipationNonNullableFields[];
|
|
355
|
+
}
|
|
356
|
+
export interface CreateParticipationResponseNonNullableFields {
|
|
357
|
+
participation?: ParticipationNonNullableFields;
|
|
358
|
+
}
|
|
359
|
+
export interface UpdateParticipationResponseNonNullableFields {
|
|
360
|
+
participation?: ParticipationNonNullableFields;
|
|
361
|
+
}
|
|
362
|
+
export interface BaseEventMetadata {
|
|
363
|
+
/** App instance ID. */
|
|
364
|
+
instanceId?: string | null;
|
|
365
|
+
/** Event type. */
|
|
366
|
+
eventType?: string;
|
|
367
|
+
/** The identification type and identity data. */
|
|
368
|
+
identity?: IdentificationData;
|
|
369
|
+
}
|
|
370
|
+
export interface EventMetadata extends BaseEventMetadata {
|
|
371
|
+
/**
|
|
372
|
+
* Unique event ID.
|
|
373
|
+
* Allows clients to ignore duplicate webhooks.
|
|
374
|
+
*/
|
|
375
|
+
_id?: string;
|
|
376
|
+
/**
|
|
377
|
+
* Assumes actions are also always typed to an entity_type
|
|
378
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
379
|
+
*/
|
|
380
|
+
entityFqdn?: string;
|
|
381
|
+
/**
|
|
382
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
383
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
384
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
385
|
+
*/
|
|
386
|
+
slug?: string;
|
|
387
|
+
/** ID of the entity associated with the event. */
|
|
388
|
+
entityId?: string;
|
|
389
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
390
|
+
eventTime?: Date | null;
|
|
391
|
+
/**
|
|
392
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
393
|
+
* (for example, GDPR).
|
|
394
|
+
*/
|
|
395
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
396
|
+
/** If present, indicates the action that triggered the event. */
|
|
397
|
+
originatedFrom?: string | null;
|
|
398
|
+
/**
|
|
399
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
400
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
401
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
402
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
403
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
404
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
405
|
+
*/
|
|
406
|
+
entityEventSequence?: string | null;
|
|
407
|
+
}
|
|
408
|
+
export interface ParticipationCreatedEnvelope {
|
|
409
|
+
entity: Participation;
|
|
410
|
+
metadata: EventMetadata;
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Triggered when a `participation` object is created.
|
|
414
|
+
* @permissionScope Manage Calendars
|
|
415
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
416
|
+
* @permissionScope Manage Bookings
|
|
417
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
418
|
+
* @permissionScope Manage Bookings - all permissions
|
|
419
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
420
|
+
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
421
|
+
* @webhook
|
|
422
|
+
* @eventType wix.calendar.v3.participation_created
|
|
423
|
+
* @documentationMaturity preview
|
|
424
|
+
*/
|
|
425
|
+
export declare function onParticipationCreated(handler: (event: ParticipationCreatedEnvelope) => void | Promise<void>): void;
|
|
426
|
+
export interface ParticipationDeletedEnvelope {
|
|
427
|
+
metadata: EventMetadata;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Triggered when a `participation` object is deleted.
|
|
431
|
+
* @permissionScope Manage Calendars
|
|
432
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
433
|
+
* @permissionScope Manage Bookings
|
|
434
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
435
|
+
* @permissionScope Manage Bookings - all permissions
|
|
436
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
437
|
+
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
438
|
+
* @webhook
|
|
439
|
+
* @eventType wix.calendar.v3.participation_deleted
|
|
440
|
+
* @documentationMaturity preview
|
|
441
|
+
*/
|
|
442
|
+
export declare function onParticipationDeleted(handler: (event: ParticipationDeletedEnvelope) => void | Promise<void>): void;
|
|
443
|
+
export interface ParticipationUpdatedEnvelope {
|
|
444
|
+
entity: Participation;
|
|
445
|
+
metadata: EventMetadata;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Triggered when a `participation` object is updated.
|
|
449
|
+
* @permissionScope Manage Calendars
|
|
450
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
451
|
+
* @permissionScope Manage Bookings
|
|
452
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
453
|
+
* @permissionScope Manage Bookings - all permissions
|
|
454
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
455
|
+
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
456
|
+
* @webhook
|
|
457
|
+
* @eventType wix.calendar.v3.participation_updated
|
|
458
|
+
* @documentationMaturity preview
|
|
459
|
+
*/
|
|
460
|
+
export declare function onParticipationUpdated(handler: (event: ParticipationUpdatedEnvelope) => void | Promise<void>): void;
|
|
461
|
+
/**
|
|
462
|
+
* Retrieves a `participation` object.
|
|
463
|
+
* @param participationId - ID of the `participation` object to retrieve.
|
|
464
|
+
* @public
|
|
465
|
+
* @documentationMaturity preview
|
|
466
|
+
* @requiredField participationId
|
|
467
|
+
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
468
|
+
* @permissionScope Manage Calendars
|
|
469
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
470
|
+
* @permissionScope Manage Bookings
|
|
471
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
472
|
+
* @permissionScope Manage Bookings - all permissions
|
|
473
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
474
|
+
* @applicableIdentity APP
|
|
475
|
+
* @returns Retrieved `participation` object.
|
|
476
|
+
* @fqn wix.calendar.participations.v3.ParticipationsService.GetParticipation
|
|
477
|
+
*/
|
|
478
|
+
export declare function getParticipation(participationId: string | null): Promise<Participation & ParticipationNonNullableFields>;
|
|
479
|
+
/**
|
|
480
|
+
* Creates a query to retrieve a list of participations.
|
|
481
|
+
*
|
|
482
|
+
* The `queryParticipations()` function builds a query to retrieve a list of participations and returns a `ParticipationsQueryBuilder` object.
|
|
483
|
+
*
|
|
484
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-builder/find) function.
|
|
485
|
+
*
|
|
486
|
+
* You can refine the query by chaining `ParticipationsQueryBuilder` functions onto the query. `ParticipationsQueryBuilder` functions enable you to sort, filter, and control the results that `queryParticipations()` returns.
|
|
487
|
+
*
|
|
488
|
+
* `queryParticipations()` runs with the following `ParticipationsQueryBuilder` default that you can override:
|
|
489
|
+
*
|
|
490
|
+
* + `limit` is `50`.
|
|
491
|
+
* + Sorted by `createdDate` in ascending order.
|
|
492
|
+
*
|
|
493
|
+
* The functions that are chained to `queryParticipations()` are applied in the order they are called.
|
|
494
|
+
*
|
|
495
|
+
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
496
|
+
*
|
|
497
|
+
* @public
|
|
498
|
+
* @documentationMaturity preview
|
|
499
|
+
* @permissionScope Manage Calendars
|
|
500
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
501
|
+
* @permissionScope Manage Bookings
|
|
502
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
503
|
+
* @permissionScope Manage Bookings - all permissions
|
|
504
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
505
|
+
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
506
|
+
* @applicableIdentity APP
|
|
507
|
+
* @fqn wix.calendar.participations.v3.ParticipationsService.QueryParticipations
|
|
508
|
+
*/
|
|
509
|
+
export declare function queryParticipations(): ParticipationsQueryBuilder;
|
|
510
|
+
interface QueryCursorResult {
|
|
511
|
+
cursors: Cursors;
|
|
512
|
+
hasNext: () => boolean;
|
|
513
|
+
hasPrev: () => boolean;
|
|
514
|
+
length: number;
|
|
515
|
+
pageSize: number;
|
|
516
|
+
}
|
|
517
|
+
export interface ParticipationsQueryResult extends QueryCursorResult {
|
|
518
|
+
items: Participation[];
|
|
519
|
+
query: ParticipationsQueryBuilder;
|
|
520
|
+
next: () => Promise<ParticipationsQueryResult>;
|
|
521
|
+
prev: () => Promise<ParticipationsQueryResult>;
|
|
522
|
+
}
|
|
523
|
+
export interface ParticipationsQueryBuilder {
|
|
524
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
525
|
+
* @param value - Value to compare against.
|
|
526
|
+
* @documentationMaturity preview
|
|
527
|
+
*/
|
|
528
|
+
eq: (propertyName: 'scheduleId' | 'eventId' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
529
|
+
/** @documentationMaturity preview */
|
|
530
|
+
in: (propertyName: 'scheduleId' | 'eventId' | '_id' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
531
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
532
|
+
* @documentationMaturity preview
|
|
533
|
+
*/
|
|
534
|
+
limit: (limit: number) => ParticipationsQueryBuilder;
|
|
535
|
+
/** @param cursor - A pointer to specific record
|
|
536
|
+
* @documentationMaturity preview
|
|
537
|
+
*/
|
|
538
|
+
skipTo: (cursor: string) => ParticipationsQueryBuilder;
|
|
539
|
+
/** @documentationMaturity preview */
|
|
540
|
+
find: () => Promise<ParticipationsQueryResult>;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Creates a `participation` object for a schedule or event.
|
|
544
|
+
* @param participation - `participation` object to create.
|
|
545
|
+
* @public
|
|
546
|
+
* @documentationMaturity preview
|
|
547
|
+
* @requiredField participation
|
|
548
|
+
* @requiredField participation.participant
|
|
549
|
+
* @requiredField participation.participant.name
|
|
550
|
+
* @requiredField participation.partySize
|
|
551
|
+
* @permissionId CALENDAR.PARTICIPATION_CREATE
|
|
552
|
+
* @permissionScope Manage Calendars
|
|
553
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
554
|
+
* @permissionScope Manage Bookings
|
|
555
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
556
|
+
* @permissionScope Manage Bookings - all permissions
|
|
557
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
558
|
+
* @applicableIdentity APP
|
|
559
|
+
* @returns Created `participation` object.
|
|
560
|
+
* @fqn wix.calendar.participations.v3.ParticipationsService.CreateParticipation
|
|
561
|
+
*/
|
|
562
|
+
export declare function createParticipation(participation: Participation, options?: CreateParticipationOptions): Promise<Participation & ParticipationNonNullableFields>;
|
|
563
|
+
export interface CreateParticipationOptions {
|
|
564
|
+
/**
|
|
565
|
+
* Idempotency key guaranteeing that you don't create the same `participation`
|
|
566
|
+
* object more than once.
|
|
567
|
+
*/
|
|
568
|
+
idempotencyKey?: string | null;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Updates a `participation` object.
|
|
572
|
+
* @param _id - Participation ID.
|
|
573
|
+
* @public
|
|
574
|
+
* @documentationMaturity preview
|
|
575
|
+
* @requiredField _id
|
|
576
|
+
* @requiredField participation
|
|
577
|
+
* @requiredField participation.revision
|
|
578
|
+
* @permissionId CALENDAR.PARTICIPATION_UPDATE
|
|
579
|
+
* @permissionScope Manage Calendars
|
|
580
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
581
|
+
* @permissionScope Manage Bookings
|
|
582
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
583
|
+
* @permissionScope Manage Bookings - all permissions
|
|
584
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
585
|
+
* @applicableIdentity APP
|
|
586
|
+
* @returns Updated `participation` object.
|
|
587
|
+
* @fqn wix.calendar.participations.v3.ParticipationsService.UpdateParticipation
|
|
588
|
+
*/
|
|
589
|
+
export declare function updateParticipation(_id: string | null, participation: UpdateParticipation): Promise<Participation & ParticipationNonNullableFields>;
|
|
590
|
+
export interface UpdateParticipation {
|
|
591
|
+
/**
|
|
592
|
+
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
593
|
+
* associated with the participation.
|
|
594
|
+
*/
|
|
595
|
+
scheduleId?: string | null;
|
|
596
|
+
/**
|
|
597
|
+
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
598
|
+
* associated with the participation.
|
|
599
|
+
*/
|
|
600
|
+
eventId?: string | null;
|
|
601
|
+
/**
|
|
602
|
+
* Participation ID.
|
|
603
|
+
* @readonly
|
|
604
|
+
*/
|
|
605
|
+
_id?: string | null;
|
|
606
|
+
/** External ID. */
|
|
607
|
+
externalId?: string | null;
|
|
608
|
+
/** Information about the participant. */
|
|
609
|
+
participant?: Participant;
|
|
610
|
+
/**
|
|
611
|
+
* Party size of the group or `1` for individuals.
|
|
612
|
+
*
|
|
613
|
+
* Min: `1`
|
|
614
|
+
* Max: `1000`
|
|
615
|
+
*/
|
|
616
|
+
partySize?: number | null;
|
|
617
|
+
/**
|
|
618
|
+
* Status of the party's participation in the event. Depending on your
|
|
619
|
+
* implementation, confirmation may be handled by the business owner or the customer.
|
|
620
|
+
*
|
|
621
|
+
* Supported values:
|
|
622
|
+
* + `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).
|
|
623
|
+
* + `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).
|
|
624
|
+
*
|
|
625
|
+
* Default: `CONFIRMED`
|
|
626
|
+
*/
|
|
627
|
+
status?: Status;
|
|
628
|
+
/**
|
|
629
|
+
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
630
|
+
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
631
|
+
* that the related
|
|
632
|
+
* [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
633
|
+
* belongs to.
|
|
634
|
+
* @readonly
|
|
635
|
+
*/
|
|
636
|
+
appId?: string | null;
|
|
637
|
+
/**
|
|
638
|
+
* Revision number, which increments by 1 each time the participation is updated.
|
|
639
|
+
* To prevent conflicting changes, the current revision must be passed when updating the participation.
|
|
640
|
+
* Ignored when creating a participation.
|
|
641
|
+
* @readonly
|
|
642
|
+
*/
|
|
643
|
+
revision?: string | null;
|
|
644
|
+
/**
|
|
645
|
+
* Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
646
|
+
* @readonly
|
|
647
|
+
*/
|
|
648
|
+
_createdDate?: Date | null;
|
|
649
|
+
/**
|
|
650
|
+
* Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
651
|
+
* @readonly
|
|
652
|
+
*/
|
|
653
|
+
_updatedDate?: Date | null;
|
|
654
|
+
/** Extensions enabling applications or users to save custom data related to the participation. */
|
|
655
|
+
extendedFields?: ExtendedFields;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* Deletes a `participation` object.
|
|
659
|
+
* @param participationId - ID of `participation` object to delete.
|
|
660
|
+
* @public
|
|
661
|
+
* @documentationMaturity preview
|
|
662
|
+
* @requiredField participationId
|
|
663
|
+
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
664
|
+
* @permissionScope Manage Calendars
|
|
665
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
666
|
+
* @permissionScope Manage Bookings
|
|
667
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
668
|
+
* @permissionScope Manage Bookings - all permissions
|
|
669
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
670
|
+
* @applicableIdentity APP
|
|
671
|
+
* @fqn wix.calendar.participations.v3.ParticipationsService.DeleteParticipation
|
|
672
|
+
*/
|
|
673
|
+
export declare function deleteParticipation(participationId: string | null): Promise<void>;
|
|
674
|
+
export {};
|