@wix/auto_sdk_calendar_participations 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/calendar-v3-participation-participations.types.d.ts +93 -18
- package/build/cjs/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/cjs/src/calendar-v3-participation-participations.universal.d.ts +117 -21
- package/build/cjs/src/calendar-v3-participation-participations.universal.js +1 -0
- package/build/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/es/src/calendar-v3-participation-participations.types.d.ts +93 -18
- package/build/es/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/es/src/calendar-v3-participation-participations.universal.d.ts +117 -21
- package/build/es/src/calendar-v3-participation-participations.universal.js +1 -0
- package/build/es/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.d.ts +93 -18
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.d.ts +117 -21
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js +1 -0
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/internal/es/src/calendar-v3-participation-participations.types.d.ts +93 -18
- package/build/internal/es/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/internal/es/src/calendar-v3-participation-participations.universal.d.ts +117 -21
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js +1 -0
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -9,19 +9,29 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
9
9
|
/**
|
|
10
10
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
11
11
|
* associated with the participation.
|
|
12
|
+
* @format GUID
|
|
13
|
+
* @immutable
|
|
12
14
|
*/
|
|
13
15
|
scheduleId?: string | null;
|
|
14
16
|
/**
|
|
15
17
|
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
16
18
|
* associated with the participation.
|
|
19
|
+
* @minLength 36
|
|
20
|
+
* @maxLength 250
|
|
21
|
+
* @immutable
|
|
17
22
|
*/
|
|
18
23
|
eventId?: string | null;
|
|
19
24
|
/**
|
|
20
25
|
* Participation ID.
|
|
26
|
+
* @format GUID
|
|
21
27
|
* @readonly
|
|
22
28
|
*/
|
|
23
29
|
id?: string | null;
|
|
24
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* External ID.
|
|
32
|
+
* @format GUID
|
|
33
|
+
* @immutable
|
|
34
|
+
*/
|
|
25
35
|
externalId?: string | null;
|
|
26
36
|
/** Information about the participant. */
|
|
27
37
|
participant?: Participant;
|
|
@@ -30,6 +40,8 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
30
40
|
*
|
|
31
41
|
* Min: `1`
|
|
32
42
|
* Max: `1000`
|
|
43
|
+
* @min 1
|
|
44
|
+
* @max 1000
|
|
33
45
|
*/
|
|
34
46
|
partySize?: number | null;
|
|
35
47
|
/**
|
|
@@ -49,6 +61,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
49
61
|
* that the related
|
|
50
62
|
* [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
51
63
|
* belongs to.
|
|
64
|
+
* @format GUID
|
|
52
65
|
* @readonly
|
|
53
66
|
*/
|
|
54
67
|
appId?: string | null;
|
|
@@ -77,11 +90,16 @@ export interface ParticipationParticipatedItemOneOf {
|
|
|
77
90
|
/**
|
|
78
91
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
79
92
|
* associated with the participation.
|
|
93
|
+
* @format GUID
|
|
94
|
+
* @immutable
|
|
80
95
|
*/
|
|
81
96
|
scheduleId?: string | null;
|
|
82
97
|
/**
|
|
83
98
|
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
84
99
|
* associated with the participation.
|
|
100
|
+
* @minLength 36
|
|
101
|
+
* @maxLength 250
|
|
102
|
+
* @immutable
|
|
85
103
|
*/
|
|
86
104
|
eventId?: string | null;
|
|
87
105
|
}
|
|
@@ -91,15 +109,24 @@ export interface Participant {
|
|
|
91
109
|
*
|
|
92
110
|
* Min: 1 character
|
|
93
111
|
* Max: 200 characters
|
|
112
|
+
* @minLength 1
|
|
113
|
+
* @maxLength 200
|
|
94
114
|
*/
|
|
95
115
|
name?: string | null;
|
|
96
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Participant's phone number.
|
|
118
|
+
* @format PHONE
|
|
119
|
+
*/
|
|
97
120
|
phone?: string | null;
|
|
98
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Participant's email address.
|
|
123
|
+
* @format EMAIL
|
|
124
|
+
*/
|
|
99
125
|
email?: string | null;
|
|
100
126
|
/**
|
|
101
127
|
* [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
102
128
|
* ID of the parcipant.
|
|
129
|
+
* @format GUID
|
|
103
130
|
*/
|
|
104
131
|
contactId?: string | null;
|
|
105
132
|
}
|
|
@@ -121,7 +148,10 @@ export interface ExtendedFields {
|
|
|
121
148
|
namespaces?: Record<string, Record<string, any>>;
|
|
122
149
|
}
|
|
123
150
|
export interface GetParticipationRequest {
|
|
124
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of the `participation` object to retrieve.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
125
155
|
participationId: string | null;
|
|
126
156
|
}
|
|
127
157
|
export interface GetParticipationResponse {
|
|
@@ -151,7 +181,11 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
151
181
|
cursorPaging?: CursorPaging;
|
|
152
182
|
}
|
|
153
183
|
export interface CursorPaging {
|
|
154
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Number of participations to load.
|
|
186
|
+
* @min 1
|
|
187
|
+
* @max 100
|
|
188
|
+
*/
|
|
155
189
|
limit?: number | null;
|
|
156
190
|
/**
|
|
157
191
|
* Pointer to the next or previous page in the list of results.
|
|
@@ -192,6 +226,7 @@ export interface CreateParticipationRequest {
|
|
|
192
226
|
/**
|
|
193
227
|
* Idempotency key guaranteeing that you don't create the same `participation`
|
|
194
228
|
* object more than once.
|
|
229
|
+
* @format GUID
|
|
195
230
|
*/
|
|
196
231
|
idempotencyKey?: string | null;
|
|
197
232
|
}
|
|
@@ -208,7 +243,10 @@ export interface UpdateParticipationResponse {
|
|
|
208
243
|
participation?: Participation;
|
|
209
244
|
}
|
|
210
245
|
export interface DeleteParticipationRequest {
|
|
211
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* ID of `participation` object to delete.
|
|
248
|
+
* @format GUID
|
|
249
|
+
*/
|
|
212
250
|
participationId: string | null;
|
|
213
251
|
}
|
|
214
252
|
export interface DeleteParticipationResponse {
|
|
@@ -288,7 +326,11 @@ export interface ActionEvent {
|
|
|
288
326
|
export interface Empty {
|
|
289
327
|
}
|
|
290
328
|
export interface SumParticipationsPartySizeByScheduleIdRequest {
|
|
291
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* The schedule IDs.
|
|
331
|
+
* @format GUID
|
|
332
|
+
* @maxSize 100
|
|
333
|
+
*/
|
|
292
334
|
scheduleIds?: string[] | null;
|
|
293
335
|
}
|
|
294
336
|
export interface SumParticipationsPartySizeByScheduleIdResponse {
|
|
@@ -296,15 +338,24 @@ export interface SumParticipationsPartySizeByScheduleIdResponse {
|
|
|
296
338
|
partySizeSumByScheduleId?: PartySizeSumByScheduleId[];
|
|
297
339
|
}
|
|
298
340
|
export interface PartySizeSumByScheduleId {
|
|
299
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* The ID of the schedule.
|
|
343
|
+
* @format GUID
|
|
344
|
+
*/
|
|
300
345
|
scheduleId?: string | null;
|
|
301
346
|
/** The sum of the participations party size. */
|
|
302
347
|
partySizeSum?: number | null;
|
|
303
348
|
}
|
|
304
349
|
export interface MessageEnvelope {
|
|
305
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* App instance ID.
|
|
352
|
+
* @format GUID
|
|
353
|
+
*/
|
|
306
354
|
instanceId?: string | null;
|
|
307
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* Event type.
|
|
357
|
+
* @maxLength 150
|
|
358
|
+
*/
|
|
308
359
|
eventType?: string;
|
|
309
360
|
/** The identification type and identity data. */
|
|
310
361
|
identity?: IdentificationData;
|
|
@@ -312,26 +363,50 @@ export interface MessageEnvelope {
|
|
|
312
363
|
data?: string;
|
|
313
364
|
}
|
|
314
365
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
315
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* ID of a site visitor that has not logged in to the site.
|
|
368
|
+
* @format GUID
|
|
369
|
+
*/
|
|
316
370
|
anonymousVisitorId?: string;
|
|
317
|
-
/**
|
|
371
|
+
/**
|
|
372
|
+
* ID of a site visitor that has logged in to the site.
|
|
373
|
+
* @format GUID
|
|
374
|
+
*/
|
|
318
375
|
memberId?: string;
|
|
319
|
-
/**
|
|
376
|
+
/**
|
|
377
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
378
|
+
* @format GUID
|
|
379
|
+
*/
|
|
320
380
|
wixUserId?: string;
|
|
321
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* ID of an app.
|
|
383
|
+
* @format GUID
|
|
384
|
+
*/
|
|
322
385
|
appId?: string;
|
|
323
386
|
/** @readonly */
|
|
324
387
|
identityType?: WebhookIdentityType;
|
|
325
388
|
}
|
|
326
389
|
/** @oneof */
|
|
327
390
|
export interface IdentificationDataIdOneOf {
|
|
328
|
-
/**
|
|
391
|
+
/**
|
|
392
|
+
* ID of a site visitor that has not logged in to the site.
|
|
393
|
+
* @format GUID
|
|
394
|
+
*/
|
|
329
395
|
anonymousVisitorId?: string;
|
|
330
|
-
/**
|
|
396
|
+
/**
|
|
397
|
+
* ID of a site visitor that has logged in to the site.
|
|
398
|
+
* @format GUID
|
|
399
|
+
*/
|
|
331
400
|
memberId?: string;
|
|
332
|
-
/**
|
|
401
|
+
/**
|
|
402
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
403
|
+
* @format GUID
|
|
404
|
+
*/
|
|
333
405
|
wixUserId?: string;
|
|
334
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* ID of an app.
|
|
408
|
+
* @format GUID
|
|
409
|
+
*/
|
|
335
410
|
appId?: string;
|
|
336
411
|
}
|
|
337
412
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA+SD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -9,19 +9,29 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
9
9
|
/**
|
|
10
10
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
11
11
|
* associated with the participation.
|
|
12
|
+
* @format GUID
|
|
13
|
+
* @immutable
|
|
12
14
|
*/
|
|
13
15
|
scheduleId?: string | null;
|
|
14
16
|
/**
|
|
15
17
|
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
16
18
|
* associated with the participation.
|
|
19
|
+
* @minLength 36
|
|
20
|
+
* @maxLength 250
|
|
21
|
+
* @immutable
|
|
17
22
|
*/
|
|
18
23
|
eventId?: string | null;
|
|
19
24
|
/**
|
|
20
25
|
* Participation ID.
|
|
26
|
+
* @format GUID
|
|
21
27
|
* @readonly
|
|
22
28
|
*/
|
|
23
29
|
_id?: string | null;
|
|
24
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* External ID.
|
|
32
|
+
* @format GUID
|
|
33
|
+
* @immutable
|
|
34
|
+
*/
|
|
25
35
|
externalId?: string | null;
|
|
26
36
|
/** Information about the participant. */
|
|
27
37
|
participant?: Participant;
|
|
@@ -30,6 +40,8 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
30
40
|
*
|
|
31
41
|
* Min: `1`
|
|
32
42
|
* Max: `1000`
|
|
43
|
+
* @min 1
|
|
44
|
+
* @max 1000
|
|
33
45
|
*/
|
|
34
46
|
partySize?: number | null;
|
|
35
47
|
/**
|
|
@@ -49,6 +61,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
49
61
|
* that the related
|
|
50
62
|
* [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
51
63
|
* belongs to.
|
|
64
|
+
* @format GUID
|
|
52
65
|
* @readonly
|
|
53
66
|
*/
|
|
54
67
|
appId?: string | null;
|
|
@@ -77,11 +90,16 @@ export interface ParticipationParticipatedItemOneOf {
|
|
|
77
90
|
/**
|
|
78
91
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
79
92
|
* associated with the participation.
|
|
93
|
+
* @format GUID
|
|
94
|
+
* @immutable
|
|
80
95
|
*/
|
|
81
96
|
scheduleId?: string | null;
|
|
82
97
|
/**
|
|
83
98
|
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
84
99
|
* associated with the participation.
|
|
100
|
+
* @minLength 36
|
|
101
|
+
* @maxLength 250
|
|
102
|
+
* @immutable
|
|
85
103
|
*/
|
|
86
104
|
eventId?: string | null;
|
|
87
105
|
}
|
|
@@ -91,15 +109,24 @@ export interface Participant {
|
|
|
91
109
|
*
|
|
92
110
|
* Min: 1 character
|
|
93
111
|
* Max: 200 characters
|
|
112
|
+
* @minLength 1
|
|
113
|
+
* @maxLength 200
|
|
94
114
|
*/
|
|
95
115
|
name?: string | null;
|
|
96
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Participant's phone number.
|
|
118
|
+
* @format PHONE
|
|
119
|
+
*/
|
|
97
120
|
phone?: string | null;
|
|
98
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Participant's email address.
|
|
123
|
+
* @format EMAIL
|
|
124
|
+
*/
|
|
99
125
|
email?: string | null;
|
|
100
126
|
/**
|
|
101
127
|
* [Contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
102
128
|
* ID of the participant.
|
|
129
|
+
* @format GUID
|
|
103
130
|
*/
|
|
104
131
|
contactId?: string | null;
|
|
105
132
|
}
|
|
@@ -121,7 +148,10 @@ export interface ExtendedFields {
|
|
|
121
148
|
namespaces?: Record<string, Record<string, any>>;
|
|
122
149
|
}
|
|
123
150
|
export interface GetParticipationRequest {
|
|
124
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of the `participation` object to retrieve.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
125
155
|
participationId: string | null;
|
|
126
156
|
}
|
|
127
157
|
export interface GetParticipationResponse {
|
|
@@ -151,7 +181,11 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
151
181
|
cursorPaging?: CursorPaging;
|
|
152
182
|
}
|
|
153
183
|
export interface CursorPaging {
|
|
154
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Number of participations to load.
|
|
186
|
+
* @min 1
|
|
187
|
+
* @max 100
|
|
188
|
+
*/
|
|
155
189
|
limit?: number | null;
|
|
156
190
|
/**
|
|
157
191
|
* Pointer to the next or previous page in the list of results.
|
|
@@ -192,6 +226,7 @@ export interface CreateParticipationRequest {
|
|
|
192
226
|
/**
|
|
193
227
|
* Idempotency key guaranteeing that you don't create the same `participation`
|
|
194
228
|
* object more than once.
|
|
229
|
+
* @format GUID
|
|
195
230
|
*/
|
|
196
231
|
idempotencyKey?: string | null;
|
|
197
232
|
}
|
|
@@ -208,7 +243,10 @@ export interface UpdateParticipationResponse {
|
|
|
208
243
|
participation?: Participation;
|
|
209
244
|
}
|
|
210
245
|
export interface DeleteParticipationRequest {
|
|
211
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* ID of `participation` object to delete.
|
|
248
|
+
* @format GUID
|
|
249
|
+
*/
|
|
212
250
|
participationId: string | null;
|
|
213
251
|
}
|
|
214
252
|
export interface DeleteParticipationResponse {
|
|
@@ -286,7 +324,11 @@ export interface ActionEvent {
|
|
|
286
324
|
export interface Empty {
|
|
287
325
|
}
|
|
288
326
|
export interface SumParticipationsPartySizeByScheduleIdRequest {
|
|
289
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* The schedule IDs.
|
|
329
|
+
* @format GUID
|
|
330
|
+
* @maxSize 100
|
|
331
|
+
*/
|
|
290
332
|
scheduleIds?: string[] | null;
|
|
291
333
|
}
|
|
292
334
|
export interface SumParticipationsPartySizeByScheduleIdResponse {
|
|
@@ -294,15 +336,24 @@ export interface SumParticipationsPartySizeByScheduleIdResponse {
|
|
|
294
336
|
partySizeSumByScheduleId?: PartySizeSumByScheduleId[];
|
|
295
337
|
}
|
|
296
338
|
export interface PartySizeSumByScheduleId {
|
|
297
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* The ID of the schedule.
|
|
341
|
+
* @format GUID
|
|
342
|
+
*/
|
|
298
343
|
scheduleId?: string | null;
|
|
299
344
|
/** The sum of the participations party size. */
|
|
300
345
|
partySizeSum?: number | null;
|
|
301
346
|
}
|
|
302
347
|
export interface MessageEnvelope {
|
|
303
|
-
/**
|
|
348
|
+
/**
|
|
349
|
+
* App instance ID.
|
|
350
|
+
* @format GUID
|
|
351
|
+
*/
|
|
304
352
|
instanceId?: string | null;
|
|
305
|
-
/**
|
|
353
|
+
/**
|
|
354
|
+
* Event type.
|
|
355
|
+
* @maxLength 150
|
|
356
|
+
*/
|
|
306
357
|
eventType?: string;
|
|
307
358
|
/** The identification type and identity data. */
|
|
308
359
|
identity?: IdentificationData;
|
|
@@ -310,26 +361,50 @@ export interface MessageEnvelope {
|
|
|
310
361
|
data?: string;
|
|
311
362
|
}
|
|
312
363
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
313
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* ID of a site visitor that has not logged in to the site.
|
|
366
|
+
* @format GUID
|
|
367
|
+
*/
|
|
314
368
|
anonymousVisitorId?: string;
|
|
315
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* ID of a site visitor that has logged in to the site.
|
|
371
|
+
* @format GUID
|
|
372
|
+
*/
|
|
316
373
|
memberId?: string;
|
|
317
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
376
|
+
* @format GUID
|
|
377
|
+
*/
|
|
318
378
|
wixUserId?: string;
|
|
319
|
-
/**
|
|
379
|
+
/**
|
|
380
|
+
* ID of an app.
|
|
381
|
+
* @format GUID
|
|
382
|
+
*/
|
|
320
383
|
appId?: string;
|
|
321
384
|
/** @readonly */
|
|
322
385
|
identityType?: WebhookIdentityType;
|
|
323
386
|
}
|
|
324
387
|
/** @oneof */
|
|
325
388
|
export interface IdentificationDataIdOneOf {
|
|
326
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* ID of a site visitor that has not logged in to the site.
|
|
391
|
+
* @format GUID
|
|
392
|
+
*/
|
|
327
393
|
anonymousVisitorId?: string;
|
|
328
|
-
/**
|
|
394
|
+
/**
|
|
395
|
+
* ID of a site visitor that has logged in to the site.
|
|
396
|
+
* @format GUID
|
|
397
|
+
*/
|
|
329
398
|
memberId?: string;
|
|
330
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
401
|
+
* @format GUID
|
|
402
|
+
*/
|
|
331
403
|
wixUserId?: string;
|
|
332
|
-
/**
|
|
404
|
+
/**
|
|
405
|
+
* ID of an app.
|
|
406
|
+
* @format GUID
|
|
407
|
+
*/
|
|
333
408
|
appId?: string;
|
|
334
409
|
}
|
|
335
410
|
export declare enum WebhookIdentityType {
|
|
@@ -355,9 +430,15 @@ export interface UpdateParticipationResponseNonNullableFields {
|
|
|
355
430
|
participation?: ParticipationNonNullableFields;
|
|
356
431
|
}
|
|
357
432
|
export interface BaseEventMetadata {
|
|
358
|
-
/**
|
|
433
|
+
/**
|
|
434
|
+
* App instance ID.
|
|
435
|
+
* @format GUID
|
|
436
|
+
*/
|
|
359
437
|
instanceId?: string | null;
|
|
360
|
-
/**
|
|
438
|
+
/**
|
|
439
|
+
* Event type.
|
|
440
|
+
* @maxLength 150
|
|
441
|
+
*/
|
|
361
442
|
eventType?: string;
|
|
362
443
|
/** The identification type and identity data. */
|
|
363
444
|
identity?: IdentificationData;
|
|
@@ -545,6 +626,7 @@ export interface ParticipationsQueryBuilder {
|
|
|
545
626
|
* @requiredField participation
|
|
546
627
|
* @requiredField participation.participant
|
|
547
628
|
* @requiredField participation.participant.name
|
|
629
|
+
* @requiredField participation.participatedItem
|
|
548
630
|
* @requiredField participation.partySize
|
|
549
631
|
* @permissionId CALENDAR.PARTICIPATION_CREATE
|
|
550
632
|
* @permissionScope Manage Calendars
|
|
@@ -562,6 +644,7 @@ export interface CreateParticipationOptions {
|
|
|
562
644
|
/**
|
|
563
645
|
* Idempotency key guaranteeing that you don't create the same `participation`
|
|
564
646
|
* object more than once.
|
|
647
|
+
* @format GUID
|
|
565
648
|
*/
|
|
566
649
|
idempotencyKey?: string | null;
|
|
567
650
|
}
|
|
@@ -589,19 +672,29 @@ export interface UpdateParticipation {
|
|
|
589
672
|
/**
|
|
590
673
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
591
674
|
* associated with the participation.
|
|
675
|
+
* @format GUID
|
|
676
|
+
* @immutable
|
|
592
677
|
*/
|
|
593
678
|
scheduleId?: string | null;
|
|
594
679
|
/**
|
|
595
680
|
* ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
596
681
|
* associated with the participation.
|
|
682
|
+
* @minLength 36
|
|
683
|
+
* @maxLength 250
|
|
684
|
+
* @immutable
|
|
597
685
|
*/
|
|
598
686
|
eventId?: string | null;
|
|
599
687
|
/**
|
|
600
688
|
* Participation ID.
|
|
689
|
+
* @format GUID
|
|
601
690
|
* @readonly
|
|
602
691
|
*/
|
|
603
692
|
_id?: string | null;
|
|
604
|
-
/**
|
|
693
|
+
/**
|
|
694
|
+
* External ID.
|
|
695
|
+
* @format GUID
|
|
696
|
+
* @immutable
|
|
697
|
+
*/
|
|
605
698
|
externalId?: string | null;
|
|
606
699
|
/** Information about the participant. */
|
|
607
700
|
participant?: Participant;
|
|
@@ -610,6 +703,8 @@ export interface UpdateParticipation {
|
|
|
610
703
|
*
|
|
611
704
|
* Min: `1`
|
|
612
705
|
* Max: `1000`
|
|
706
|
+
* @min 1
|
|
707
|
+
* @max 1000
|
|
613
708
|
*/
|
|
614
709
|
partySize?: number | null;
|
|
615
710
|
/**
|
|
@@ -629,6 +724,7 @@ export interface UpdateParticipation {
|
|
|
629
724
|
* that the related
|
|
630
725
|
* [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
631
726
|
* belongs to.
|
|
727
|
+
* @format GUID
|
|
632
728
|
* @readonly
|
|
633
729
|
*/
|
|
634
730
|
appId?: string | null;
|
|
@@ -166,6 +166,7 @@ exports.queryParticipations = queryParticipations;
|
|
|
166
166
|
* @requiredField participation
|
|
167
167
|
* @requiredField participation.participant
|
|
168
168
|
* @requiredField participation.participant.name
|
|
169
|
+
* @requiredField participation.participatedItem
|
|
169
170
|
* @requiredField participation.partySize
|
|
170
171
|
* @permissionId CALENDAR.PARTICIPATION_CREATE
|
|
171
172
|
* @permissionScope Manage Calendars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;AA0I3G,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA6SD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAgJD;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,gBAAgB,CACpC,eAA8B;IAE9B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAA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