@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>>;
|
|
@@ -123,6 +123,9 @@ function listEventsByContactId(payload) {
|
|
|
123
123
|
method: "GET",
|
|
124
124
|
methodFqn: "wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByContactId",
|
|
125
125
|
packageName: PACKAGE_NAME,
|
|
126
|
+
migrationOptions: {
|
|
127
|
+
optInTransformResponse: true
|
|
128
|
+
},
|
|
126
129
|
url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({
|
|
127
130
|
protoPath: "/v3/events/contactId/{contactId}",
|
|
128
131
|
data: payload,
|
|
@@ -156,6 +159,9 @@ function listEventsByMemberId(payload) {
|
|
|
156
159
|
method: "GET",
|
|
157
160
|
methodFqn: "wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId",
|
|
158
161
|
packageName: PACKAGE_NAME,
|
|
162
|
+
migrationOptions: {
|
|
163
|
+
optInTransformResponse: true
|
|
164
|
+
},
|
|
159
165
|
url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({
|
|
160
166
|
protoPath: "/v3/events/memberId/{memberId}",
|
|
161
167
|
data: payload,
|
|
@@ -189,6 +195,9 @@ function getEvent(payload) {
|
|
|
189
195
|
method: "GET",
|
|
190
196
|
methodFqn: "wix.calendar.events.v3.EventsService.GetEvent",
|
|
191
197
|
packageName: PACKAGE_NAME,
|
|
198
|
+
migrationOptions: {
|
|
199
|
+
optInTransformResponse: true
|
|
200
|
+
},
|
|
192
201
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
193
202
|
protoPath: "/v3/events/{eventId}",
|
|
194
203
|
data: payload,
|
|
@@ -222,6 +231,9 @@ function listEvents(payload) {
|
|
|
222
231
|
method: "GET",
|
|
223
232
|
methodFqn: "wix.calendar.events.v3.EventsService.ListEvents",
|
|
224
233
|
packageName: PACKAGE_NAME,
|
|
234
|
+
migrationOptions: {
|
|
235
|
+
optInTransformResponse: true
|
|
236
|
+
},
|
|
225
237
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
226
238
|
protoPath: "/v3/events",
|
|
227
239
|
data: payload,
|
|
@@ -255,6 +267,9 @@ function queryEvents(payload) {
|
|
|
255
267
|
method: "POST",
|
|
256
268
|
methodFqn: "wix.calendar.events.v3.EventsService.QueryEvents",
|
|
257
269
|
packageName: PACKAGE_NAME,
|
|
270
|
+
migrationOptions: {
|
|
271
|
+
optInTransformResponse: true
|
|
272
|
+
},
|
|
258
273
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
259
274
|
protoPath: "/v3/events/query",
|
|
260
275
|
data: payload,
|
|
@@ -307,6 +322,9 @@ function createEvent(payload) {
|
|
|
307
322
|
method: "POST",
|
|
308
323
|
methodFqn: "wix.calendar.events.v3.EventsService.CreateEvent",
|
|
309
324
|
packageName: PACKAGE_NAME,
|
|
325
|
+
migrationOptions: {
|
|
326
|
+
optInTransformResponse: true
|
|
327
|
+
},
|
|
310
328
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
311
329
|
protoPath: "/v3/events",
|
|
312
330
|
data: serializedData,
|
|
@@ -359,6 +377,9 @@ function bulkCreateEvent(payload) {
|
|
|
359
377
|
method: "POST",
|
|
360
378
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkCreateEvent",
|
|
361
379
|
packageName: PACKAGE_NAME,
|
|
380
|
+
migrationOptions: {
|
|
381
|
+
optInTransformResponse: true
|
|
382
|
+
},
|
|
362
383
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
363
384
|
protoPath: "/v3/bulk/events/create",
|
|
364
385
|
data: serializedData,
|
|
@@ -411,6 +432,9 @@ function updateEvent(payload) {
|
|
|
411
432
|
method: "PATCH",
|
|
412
433
|
methodFqn: "wix.calendar.events.v3.EventsService.UpdateEvent",
|
|
413
434
|
packageName: PACKAGE_NAME,
|
|
435
|
+
migrationOptions: {
|
|
436
|
+
optInTransformResponse: true
|
|
437
|
+
},
|
|
414
438
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
415
439
|
protoPath: "/v3/events/{event.id}",
|
|
416
440
|
data: serializedData,
|
|
@@ -463,6 +487,9 @@ function bulkUpdateEvent(payload) {
|
|
|
463
487
|
method: "POST",
|
|
464
488
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkUpdateEvent",
|
|
465
489
|
packageName: PACKAGE_NAME,
|
|
490
|
+
migrationOptions: {
|
|
491
|
+
optInTransformResponse: true
|
|
492
|
+
},
|
|
466
493
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
467
494
|
protoPath: "/v3/bulk/events/update",
|
|
468
495
|
data: serializedData,
|
|
@@ -496,6 +523,9 @@ function restoreEventDefaults(payload) {
|
|
|
496
523
|
method: "POST",
|
|
497
524
|
methodFqn: "wix.calendar.events.v3.EventsService.RestoreEventDefaults",
|
|
498
525
|
packageName: PACKAGE_NAME,
|
|
526
|
+
migrationOptions: {
|
|
527
|
+
optInTransformResponse: true
|
|
528
|
+
},
|
|
499
529
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
500
530
|
protoPath: "/v3/events/{eventId}/restore-defaults",
|
|
501
531
|
data: payload,
|
|
@@ -529,6 +559,9 @@ function splitRecurringEvent(payload) {
|
|
|
529
559
|
method: "POST",
|
|
530
560
|
methodFqn: "wix.calendar.events.v3.EventsService.SplitRecurringEvent",
|
|
531
561
|
packageName: PACKAGE_NAME,
|
|
562
|
+
migrationOptions: {
|
|
563
|
+
optInTransformResponse: true
|
|
564
|
+
},
|
|
532
565
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
533
566
|
protoPath: "/v3/events/{recurringEventId}/split",
|
|
534
567
|
data: payload,
|
|
@@ -586,6 +619,9 @@ function cancelEvent(payload) {
|
|
|
586
619
|
method: "POST",
|
|
587
620
|
methodFqn: "wix.calendar.events.v3.EventsService.CancelEvent",
|
|
588
621
|
packageName: PACKAGE_NAME,
|
|
622
|
+
migrationOptions: {
|
|
623
|
+
optInTransformResponse: true
|
|
624
|
+
},
|
|
589
625
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
590
626
|
protoPath: "/v3/events/{eventId}/cancel",
|
|
591
627
|
data: payload,
|
|
@@ -619,6 +655,9 @@ function bulkCancelEvent(payload) {
|
|
|
619
655
|
method: "POST",
|
|
620
656
|
methodFqn: "wix.calendar.events.v3.EventsService.BulkCancelEvent",
|
|
621
657
|
packageName: PACKAGE_NAME,
|
|
658
|
+
migrationOptions: {
|
|
659
|
+
optInTransformResponse: true
|
|
660
|
+
},
|
|
622
661
|
url: resolveWixCalendarEventsV3EventsServiceUrl({
|
|
623
662
|
protoPath: "/v3/bulk/events/cancel",
|
|
624
663
|
data: payload,
|