@wix/auto_sdk_calendar_events 1.0.37 → 1.0.39
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 +4 -4
- package/build/cjs/index.js +42 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -1
- package/build/cjs/index.typings.js +39 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +39 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +42 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -1
- package/build/es/index.typings.mjs +39 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +39 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +42 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -1
- package/build/internal/cjs/index.typings.js +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +39 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +42 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -1
- package/build/internal/es/index.typings.mjs +39 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +39 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1837,11 +1837,13 @@ interface BulkCancelEventResponse {
|
|
|
1837
1837
|
/** Total successes and failures. */
|
|
1838
1838
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1839
1839
|
}
|
|
1840
|
+
/** @docsIgnore */
|
|
1840
1841
|
type CancelEventApplicationErrors = {
|
|
1841
1842
|
code?: 'EVENT_ALREADY_CANCELLED';
|
|
1842
1843
|
description?: string;
|
|
1843
1844
|
data?: Record<string, any>;
|
|
1844
1845
|
};
|
|
1846
|
+
/** @docsIgnore */
|
|
1845
1847
|
type BulkCancelEventApplicationErrors = {
|
|
1846
1848
|
code?: 'EVENT_ALREADY_CANCELLED';
|
|
1847
1849
|
description?: string;
|
|
@@ -2089,7 +2091,6 @@ interface ListEventsByContactIdOptions {
|
|
|
2089
2091
|
* @permissionId CALENDAR.EVENT_READ
|
|
2090
2092
|
* @permissionId CALENDAR.EVENT_READ_PI
|
|
2091
2093
|
* @applicableIdentity APP
|
|
2092
|
-
* @applicableIdentity VISITOR
|
|
2093
2094
|
* @fqn wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId
|
|
2094
2095
|
*/
|
|
2095
2096
|
declare function listEventsByMemberId(memberId: string, options?: ListEventsByMemberIdOptions): Promise<NonNullablePaths<ListEventsByMemberIdResponse, `events` | `events.${number}.status` | `events.${number}.recurrenceType` | `events.${number}.recurrenceRule.frequency` | `events.${number}.transparency` | `events.${number}.location.type` | `events.${number}.participants.status` | `events.${number}.conferencingDetails.type`, 5>>;
|
|
@@ -175,6 +175,9 @@ function listEventsByContactId(payload) {
|
|
|
175
175
|
method: "GET",
|
|
176
176
|
methodFqn: "wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByContactId",
|
|
177
177
|
packageName: PACKAGE_NAME,
|
|
178
|
+
migrationOptions: {
|
|
179
|
+
optInTransformResponse: true
|
|
180
|
+
},
|
|
178
181
|
url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({
|
|
179
182
|
protoPath: "/v3/events/contactId/{contactId}",
|
|
180
183
|
data: payload,
|
|
@@ -208,6 +211,9 @@ function listEventsByMemberId(payload) {
|
|
|
208
211
|
method: "GET",
|
|
209
212
|
methodFqn: "wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId",
|
|
210
213
|
packageName: PACKAGE_NAME,
|
|
214
|
+
migrationOptions: {
|
|
215
|
+
optInTransformResponse: true
|
|
216
|
+
},
|
|
211
217
|
url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({
|
|
212
218
|
protoPath: "/v3/events/memberId/{memberId}",
|
|
213
219
|
data: payload,
|
|
@@ -241,6 +247,9 @@ function getEvent(payload) {
|
|
|
241
247
|
method: "GET",
|
|
242
248
|
methodFqn: "wix.calendar.events.v3.EventsService.GetEvent",
|
|
243
249
|
packageName: PACKAGE_NAME,
|
|
250
|
+
migrationOptions: {
|
|
251
|
+
optInTransformResponse: true
|
|
252
|
+
},
|
|
244
253
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
245
254
|
protoPath: "/v3/events/{eventId}",
|
|
246
255
|
data: payload,
|
|
@@ -274,6 +283,9 @@ function listEvents(payload) {
|
|
|
274
283
|
method: "GET",
|
|
275
284
|
methodFqn: "wix.calendar.events.v3.EventsService.ListEvents",
|
|
276
285
|
packageName: PACKAGE_NAME,
|
|
286
|
+
migrationOptions: {
|
|
287
|
+
optInTransformResponse: true
|
|
288
|
+
},
|
|
277
289
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
278
290
|
protoPath: "/v3/events",
|
|
279
291
|
data: payload,
|
|
@@ -307,6 +319,9 @@ function queryEvents(payload) {
|
|
|
307
319
|
method: "POST",
|
|
308
320
|
methodFqn: "wix.calendar.events.v3.EventsService.QueryEvents",
|
|
309
321
|
packageName: PACKAGE_NAME,
|
|
322
|
+
migrationOptions: {
|
|
323
|
+
optInTransformResponse: true
|
|
324
|
+
},
|
|
310
325
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
311
326
|
protoPath: "/v3/events/query",
|
|
312
327
|
data: payload,
|
|
@@ -359,6 +374,9 @@ function createEvent(payload) {
|
|
|
359
374
|
method: "POST",
|
|
360
375
|
methodFqn: "wix.calendar.events.v3.EventsService.CreateEvent",
|
|
361
376
|
packageName: PACKAGE_NAME,
|
|
377
|
+
migrationOptions: {
|
|
378
|
+
optInTransformResponse: true
|
|
379
|
+
},
|
|
362
380
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
363
381
|
protoPath: "/v3/events",
|
|
364
382
|
data: serializedData,
|
|
@@ -411,6 +429,9 @@ function bulkCreateEvent(payload) {
|
|
|
411
429
|
method: "POST",
|
|
412
430
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkCreateEvent",
|
|
413
431
|
packageName: PACKAGE_NAME,
|
|
432
|
+
migrationOptions: {
|
|
433
|
+
optInTransformResponse: true
|
|
434
|
+
},
|
|
414
435
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
415
436
|
protoPath: "/v3/bulk/events/create",
|
|
416
437
|
data: serializedData,
|
|
@@ -463,6 +484,9 @@ function updateEvent(payload) {
|
|
|
463
484
|
method: "PATCH",
|
|
464
485
|
methodFqn: "wix.calendar.events.v3.EventsService.UpdateEvent",
|
|
465
486
|
packageName: PACKAGE_NAME,
|
|
487
|
+
migrationOptions: {
|
|
488
|
+
optInTransformResponse: true
|
|
489
|
+
},
|
|
466
490
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
467
491
|
protoPath: "/v3/events/{event.id}",
|
|
468
492
|
data: serializedData,
|
|
@@ -515,6 +539,9 @@ function bulkUpdateEvent(payload) {
|
|
|
515
539
|
method: "POST",
|
|
516
540
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkUpdateEvent",
|
|
517
541
|
packageName: PACKAGE_NAME,
|
|
542
|
+
migrationOptions: {
|
|
543
|
+
optInTransformResponse: true
|
|
544
|
+
},
|
|
518
545
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
519
546
|
protoPath: "/v3/bulk/events/update",
|
|
520
547
|
data: serializedData,
|
|
@@ -548,6 +575,9 @@ function restoreEventDefaults(payload) {
|
|
|
548
575
|
method: "POST",
|
|
549
576
|
methodFqn: "wix.calendar.events.v3.EventsService.RestoreEventDefaults",
|
|
550
577
|
packageName: PACKAGE_NAME,
|
|
578
|
+
migrationOptions: {
|
|
579
|
+
optInTransformResponse: true
|
|
580
|
+
},
|
|
551
581
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
552
582
|
protoPath: "/v3/events/{eventId}/restore-defaults",
|
|
553
583
|
data: payload,
|
|
@@ -581,6 +611,9 @@ function splitRecurringEvent(payload) {
|
|
|
581
611
|
method: "POST",
|
|
582
612
|
methodFqn: "wix.calendar.events.v3.EventsService.SplitRecurringEvent",
|
|
583
613
|
packageName: PACKAGE_NAME,
|
|
614
|
+
migrationOptions: {
|
|
615
|
+
optInTransformResponse: true
|
|
616
|
+
},
|
|
584
617
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
585
618
|
protoPath: "/v3/events/{recurringEventId}/split",
|
|
586
619
|
data: payload,
|
|
@@ -638,6 +671,9 @@ function cancelEvent(payload) {
|
|
|
638
671
|
method: "POST",
|
|
639
672
|
methodFqn: "wix.calendar.events.v3.EventsService.CancelEvent",
|
|
640
673
|
packageName: PACKAGE_NAME,
|
|
674
|
+
migrationOptions: {
|
|
675
|
+
optInTransformResponse: true
|
|
676
|
+
},
|
|
641
677
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
642
678
|
protoPath: "/v3/events/{eventId}/cancel",
|
|
643
679
|
data: payload,
|
|
@@ -671,6 +707,9 @@ function bulkCancelEvent(payload) {
|
|
|
671
707
|
method: "POST",
|
|
672
708
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkCancelEvent",
|
|
673
709
|
packageName: PACKAGE_NAME,
|
|
710
|
+
migrationOptions: {
|
|
711
|
+
optInTransformResponse: true
|
|
712
|
+
},
|
|
674
713
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
675
714
|
protoPath: "/v3/bulk/events/cancel",
|
|
676
715
|
data: payload,
|