@wix/auto_sdk_calendar_events 1.0.31 → 1.0.32

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.
Files changed (36) hide show
  1. package/build/{calendar-v3-event-events.universal-oZbWDSxX.d.mts → cjs/calendar-v3-event-events.universal-CLDnUCNu.d.ts} +153 -153
  2. package/build/{internal → cjs}/index.d.ts +2 -2
  3. package/build/{internal → cjs}/index.js +8 -8
  4. package/build/cjs/index.js.map +1 -0
  5. package/build/{internal → cjs}/meta.d.ts +1 -1
  6. package/build/{calendar-v3-event-events.universal-oZbWDSxX.d.ts → es/calendar-v3-event-events.universal-CLDnUCNu.d.mts} +153 -153
  7. package/build/{internal → es}/index.d.mts +2 -2
  8. package/build/{index.mjs → es/index.mjs} +8 -8
  9. package/build/es/index.mjs.map +1 -0
  10. package/build/{internal → es}/meta.d.mts +1 -1
  11. package/build/es/package.json +3 -0
  12. package/build/internal/{calendar-v3-event-events.universal-oZbWDSxX.d.ts → cjs/calendar-v3-event-events.universal-CLDnUCNu.d.ts} +153 -153
  13. package/build/{index.d.ts → internal/cjs/index.d.ts} +2 -2
  14. package/build/{index.js → internal/cjs/index.js} +8 -8
  15. package/build/internal/cjs/index.js.map +1 -0
  16. package/build/{meta.d.ts → internal/cjs/meta.d.ts} +1 -1
  17. package/build/internal/cjs/meta.js.map +1 -0
  18. package/build/internal/{calendar-v3-event-events.universal-oZbWDSxX.d.mts → es/calendar-v3-event-events.universal-CLDnUCNu.d.mts} +153 -153
  19. package/build/{index.d.mts → internal/es/index.d.mts} +2 -2
  20. package/build/internal/{index.mjs → es/index.mjs} +8 -8
  21. package/build/internal/es/index.mjs.map +1 -0
  22. package/build/{meta.d.mts → internal/es/meta.d.mts} +1 -1
  23. package/build/internal/es/meta.mjs.map +1 -0
  24. package/package.json +10 -10
  25. package/build/index.js.map +0 -1
  26. package/build/index.mjs.map +0 -1
  27. package/build/internal/index.js.map +0 -1
  28. package/build/internal/index.mjs.map +0 -1
  29. package/build/meta.js.map +0 -1
  30. package/build/meta.mjs.map +0 -1
  31. /package/build/{internal → cjs}/meta.js +0 -0
  32. /package/build/{internal → cjs}/meta.js.map +0 -0
  33. /package/build/{internal → es}/meta.mjs +0 -0
  34. /package/build/{internal → es}/meta.mjs.map +0 -0
  35. /package/build/{meta.js → internal/cjs/meta.js} +0 -0
  36. /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/calendar-v3-event-events.http.ts","../../../src/calendar-v3-event-events.meta.ts"],"sourcesContent":["export * from './src/calendar-v3-event-events.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCalendarEventsV3EventsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-3',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/calendar/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/_api/calendar/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n {\n srcPath: '/_api/calendar/v3/ro/events',\n destPath: '/v3/events',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/calendar/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/calendar/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n ],\n _: [\n {\n srcPath: '/_api/calendar/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/_api/calendar/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/calendar/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/_api/calendar/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/participant-events-3',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/calendar/v3/events/memberId',\n destPath: '/v3/events/memberId',\n },\n {\n srcPath: '/_api/calendar/v3/events/contactId',\n destPath: '/v3/events/contactId',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/calendar/v3/events/contactId',\n destPath: '/v3/events/contactId',\n },\n {\n srcPath: '/calendar/v3/events/memberId',\n destPath: '/v3/events/memberId',\n },\n ],\n _: [\n {\n srcPath: '/_api/calendar/v3/events/memberId',\n destPath: '/v3/events/memberId',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/calendar/v3/events/memberId',\n destPath: '/v3/events/memberId',\n },\n {\n srcPath: '/_api/calendar/v3/events/contactId',\n destPath: '/v3/events/contactId',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_calendar_events';\n\n/**\n * Retrieves a list of events filtered by the participant's\n * [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)\n * ID.\n *\n *\n * You can't set `toLocalDate` to a value that's more than a full year after\n * `fromLocalDate`.\n */\nexport function listEventsByContactId(\n payload: object\n): RequestOptionsFactory<any> {\n function __listEventsByContactId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'GET' as any,\n methodFqn:\n 'wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByContactId',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({\n protoPath: '/v3/events/contactId/{contactId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.start.utcDate' },\n { path: 'events.end.utcDate' },\n { path: 'events.adjustedStart.utcDate' },\n { path: 'events.adjustedEnd.utcDate' },\n { path: 'events.recurrenceRule.until.utcDate' },\n { path: 'events.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByContactId;\n}\n\n/**\n * Retrieves a list of events filtered by the participant's\n * [member](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction)\n * ID.\n *\n *\n * You can't set `toLocalDate` to a value that's more than a full year after\n * `fromLocalDate`.\n */\nexport function listEventsByMemberId(\n payload: object\n): RequestOptionsFactory<any> {\n function __listEventsByMemberId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'GET' as any,\n methodFqn:\n 'wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarParticipanteventsV3ParticipantEventsServiceUrl({\n protoPath: '/v3/events/memberId/{memberId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.start.utcDate' },\n { path: 'events.end.utcDate' },\n { path: 'events.adjustedStart.utcDate' },\n { path: 'events.adjustedEnd.utcDate' },\n { path: 'events.recurrenceRule.until.utcDate' },\n { path: 'events.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByMemberId;\n}\n\n/** Retrieves an event. */\nexport function getEvent(payload: object): RequestOptionsFactory<any> {\n function __getEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.GetEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/{eventId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEvent;\n}\n\n/** Retrieves a list of events by their IDs. */\nexport function listEvents(payload: object): RequestOptionsFactory<any> {\n function __listEvents({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.ListEvents',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.start.utcDate' },\n { path: 'events.end.utcDate' },\n { path: 'events.adjustedStart.utcDate' },\n { path: 'events.adjustedEnd.utcDate' },\n { path: 'events.recurrenceRule.until.utcDate' },\n { path: 'events.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEvents;\n}\n\n/**\n * Creates a query to retrieve a list of events.\n *\n * The `queryEvents()` function builds a query to retrieve a list of events and returns an `EventsQueryBuilder` object.\n *\n * 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/events/events-query-builder/find) function.\n *\n * You can refine the query by chaining `EventsQueryBuilder` functions onto the query. `EventsQueryBuilder` functions enable you to sort, filter, and control the results that `queryEvents()` returns.\n *\n * `queryEvents()` runs with the following `EventsQueryBuilder` default that you can override:\n *\n * + `limit` is `50`.\n * + Sorted by `event.start` in ascending order.\n *\n * The functions that are chained to `queryEvents()` are applied in the order they are called.\n *\n * The following `EventsQueryBuilder` functions are supported for the `queryEvents()` function. For a full description of the events object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/events-query-result/items) property in `EventsQueryResult`.\n *\n */\nexport function queryEvents(payload: object): RequestOptionsFactory<any> {\n function __queryEvents({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.QueryEvents',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.start.utcDate' },\n { path: 'events.end.utcDate' },\n { path: 'events.adjustedStart.utcDate' },\n { path: 'events.adjustedEnd.utcDate' },\n { path: 'events.recurrenceRule.until.utcDate' },\n { path: 'events.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryEvents;\n}\n\n/**\n * Creates an event.\n *\n *\n * If you provide `recurrenceRule`, an event with `{\"recurrenceType\": \"MASTER\"}` is created. Then, you can't set `start.localDate` to a past date, though the time can be earlier on the same day. You can, however, create single-occurrence events for past dates.\n *\n * You can't create an event with `recurrenceType` set to `INSTANCE` or `EXCEPTION`. `INSTANCE` events are generated automatically based on the recurrence rule in the relevant `MASTER` event. `EXCEPTION` events are automatically created when you [update](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/update-event) an `INSTANCE` event, which changes its `recurrenceType` to `EXCEPTION`.\n */\nexport function createEvent(payload: object): RequestOptionsFactory<any> {\n function __createEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.CreateEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createEvent;\n}\n\n/**\n * Creates multiple events in bulk.\n *\n *\n * If you provide `recurrenceRule`, an event with `{\"recurrenceType\": \"MASTER\"}` is\n * created. Then, you can't set `start.localDate` to a past date, though the time can be\n * earlier on the same day. You can, however, create single-occurrence events for\n * past dates.\n *\n * You can't create an event with `recurrenceType` set to `INSTANCE` or `EXCEPTION`.\n * `INSTANCE` events are generated automatically based on the recurrence rule in the\n * relevant `MASTER` event. `EXCEPTION` events are automatically created when you\n * [update](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/update-event)\n * an `INSTANCE` event, which changes its `recurrenceType` to `EXCEPTION`.\n */\nexport function bulkCreateEvent(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'events.fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'events.event.createdDate' },\n { path: 'events.event.updatedDate' },\n { path: 'events.event.start.utcDate' },\n { path: 'events.event.end.utcDate' },\n { path: 'events.event.adjustedStart.utcDate' },\n { path: 'events.event.adjustedEnd.utcDate' },\n { path: 'events.event.recurrenceRule.until.utcDate' },\n { path: 'events.event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.BulkCreateEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/bulk/events/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.start.utcDate' },\n { path: 'results.item.end.utcDate' },\n { path: 'results.item.adjustedStart.utcDate' },\n { path: 'results.item.adjustedEnd.utcDate' },\n { path: 'results.item.recurrenceRule.until.utcDate' },\n { path: 'results.item.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateEvent;\n}\n\n/**\n * Updates an event.\n *\n *\n * When updating an event with `{\"recurrenceType\": \"INSTANCE\"}`, the\n * `recurrenceType` automatically changes to `EXCEPTION`.\n *\n * When updating an event with `{\"recurrenceType\": \"MASTER\"}`:\n * + Past `INSTANCE` and `EXCEPTION` events remain unchanged.\n * + For future `INSTANCE` events, all relevant fields are updated.\n * + For future `EXCEPTION` events, only changes to the `inheritedFields` are\n * applied, while other fields remain unchanged.\n */\nexport function updateEvent(payload: object): RequestOptionsFactory<any> {\n function __updateEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'PATCH' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.UpdateEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/{event.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateEvent;\n}\n\n/**\n * Updates multiple events in bulk.\n *\n *\n * When updating an event with `{\"recurrenceType\": \"INSTANCE\"}`, the\n * `recurrenceType` automatically changes to `EXCEPTION`.\n *\n * When updating an event with `{\"recurrenceType\": \"MASTER\"}`:\n * + Past `INSTANCE` and `EXCEPTION` events remain unchanged.\n * + For future `INSTANCE` events, all relevant fields are updated.\n * + For future `EXCEPTION` events, only changes to the `inheritedFields` are\n * applied, while other fields remain unchanged.\n */\nexport function bulkUpdateEvent(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'events.fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'events.event.createdDate' },\n { path: 'events.event.updatedDate' },\n { path: 'events.event.start.utcDate' },\n { path: 'events.event.end.utcDate' },\n { path: 'events.event.adjustedStart.utcDate' },\n { path: 'events.event.adjustedEnd.utcDate' },\n { path: 'events.event.recurrenceRule.until.utcDate' },\n { path: 'events.event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.BulkUpdateEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/bulk/events/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.start.utcDate' },\n { path: 'results.item.end.utcDate' },\n { path: 'results.item.adjustedStart.utcDate' },\n { path: 'results.item.adjustedEnd.utcDate' },\n { path: 'results.item.recurrenceRule.until.utcDate' },\n { path: 'results.item.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateEvent;\n}\n\n/**\n * Restores the event's default values from the relevant schedule or `MASTER`\n * event.\n *\n *\n * You must provide `fields` to specify which `inheritedFields` are restored.\n *\n * For example, if you've created an event that takes place in a non-default\n * location with a custom title and capacity, but you want to reset only title\n * and capacity to default values without affecting the location, provide the\n * event ID and set `fields` to `[\"TITLE\", \"CAPACITY\"]`.\n *\n * Refer to the [default values article](https://dev.wix.com/docs/sdk/backend-modules/calendar/default-values)\n * for more information.\n */\nexport function restoreEventDefaults(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreEventDefaults({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.RestoreEventDefaults',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/{eventId}/restore-defaults',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreEventDefaults;\n}\n\n/**\n * Splits a recurring `MASTER` event into 2 separate `MASTER` events.\n *\n *\n * You must provide a `splitLocalDate` that's in the future and after the `start`\n * date of the next `INSTANCE` or `EXCEPTION` event in the series. Additionally,\n * there must be another `INSTANCE` or `EXCEPTION` event following this next event,\n * as the changes wouldn't affect any event without a subsequent occurrence.\n *\n * If you want to modify a `MASTER` event with the changes already applying to\n * the very next event, use\n * [updateEvent()](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/update-event)\n * instead, as this preserves past events and only modifies future events.\n *\n * The main consequences are:\n * - **The original `MASTER` event is shortened**. Its `recurrenceRule.until.localDate`\n * is updated to `end.localDate` of the latest `INSTANCE` or `EXCEPTION`\n * event starting before `splitLocalDate`. If an `INSTANCE` or `EXCEPTION` event\n * starts before but ends after `splitLocalDate`, `until.localDate` is set\n * to value that's later than `splitLocalDate`.\n * - **A new `MASTER` event is created**, starting from the first event that\n * begins after `splitLocalDate`.\n * - **Existing `INSTANCE` and `EXCEPTION` events that occur after the split are updated**.\n * Their `recurringEventId` is set to the ID of the newly created `MASTER` event.\n */\nexport function splitRecurringEvent(\n payload: object\n): RequestOptionsFactory<any> {\n function __splitRecurringEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.SplitRecurringEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/{recurringEventId}/split',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'updatedRecurringEventEndingBeforeSplit.createdDate' },\n { path: 'updatedRecurringEventEndingBeforeSplit.updatedDate' },\n { path: 'updatedRecurringEventEndingBeforeSplit.start.utcDate' },\n { path: 'updatedRecurringEventEndingBeforeSplit.end.utcDate' },\n {\n path: 'updatedRecurringEventEndingBeforeSplit.adjustedStart.utcDate',\n },\n {\n path: 'updatedRecurringEventEndingBeforeSplit.adjustedEnd.utcDate',\n },\n {\n path: 'updatedRecurringEventEndingBeforeSplit.recurrenceRule.until.utcDate',\n },\n {\n path: 'updatedRecurringEventEndingBeforeSplit.recurrenceRule.adjustedUntil.utcDate',\n },\n { path: 'newRecurringEventStartingFromSplit.createdDate' },\n { path: 'newRecurringEventStartingFromSplit.updatedDate' },\n { path: 'newRecurringEventStartingFromSplit.start.utcDate' },\n { path: 'newRecurringEventStartingFromSplit.end.utcDate' },\n {\n path: 'newRecurringEventStartingFromSplit.adjustedStart.utcDate',\n },\n {\n path: 'newRecurringEventStartingFromSplit.adjustedEnd.utcDate',\n },\n {\n path: 'newRecurringEventStartingFromSplit.recurrenceRule.until.utcDate',\n },\n {\n path: 'newRecurringEventStartingFromSplit.recurrenceRule.adjustedUntil.utcDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __splitRecurringEvent;\n}\n\n/** Cancels an event. */\nexport function cancelEvent(payload: object): RequestOptionsFactory<any> {\n function __cancelEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.CancelEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/events/{eventId}/cancel',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.start.utcDate' },\n { path: 'event.end.utcDate' },\n { path: 'event.adjustedStart.utcDate' },\n { path: 'event.adjustedEnd.utcDate' },\n { path: 'event.recurrenceRule.until.utcDate' },\n { path: 'event.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cancelEvent;\n}\n\n/** Cancels multiple events in bulk. */\nexport function bulkCancelEvent(payload: object): RequestOptionsFactory<any> {\n function __bulkCancelEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.calendar.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.calendar.events.v3.EventsService.BulkCancelEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixCalendarEventsV3EventsServiceUrl({\n protoPath: '/v3/bulk/events/cancel',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.start.utcDate' },\n { path: 'results.item.end.utcDate' },\n { path: 'results.item.adjustedStart.utcDate' },\n { path: 'results.item.adjustedEnd.utcDate' },\n { path: 'results.item.recurrenceRule.until.utcDate' },\n { path: 'results.item.recurrenceRule.adjustedUntil.utcDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCancelEvent;\n}\n","import * as ambassadorWixCalendarV3Event from './calendar-v3-event-events.http.js';\nimport * as ambassadorWixCalendarV3EventTypes from './calendar-v3-event-events.types.js';\nimport * as ambassadorWixCalendarV3EventUniversalTypes from './calendar-v3-event-events.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function listEventsByContactId(): __PublicMethodMetaInfo<\n 'GET',\n { contactId: string },\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsByContactIdRequest,\n ambassadorWixCalendarV3EventTypes.ListEventsByContactIdRequest,\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsByContactIdResponse,\n ambassadorWixCalendarV3EventTypes.ListEventsByContactIdResponse\n> {\n const payload = { contactId: ':contactId' } as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.listEventsByContactId(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/events/contactId/{contactId}',\n pathParams: { contactId: 'contactId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listEventsByMemberId(): __PublicMethodMetaInfo<\n 'GET',\n { memberId: string },\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsByMemberIdRequest,\n ambassadorWixCalendarV3EventTypes.ListEventsByMemberIdRequest,\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsByMemberIdResponse,\n ambassadorWixCalendarV3EventTypes.ListEventsByMemberIdResponse\n> {\n const payload = { memberId: ':memberId' } as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.listEventsByMemberId(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/events/memberId/{memberId}',\n pathParams: { memberId: 'memberId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getEvent(): __PublicMethodMetaInfo<\n 'GET',\n { eventId: string },\n ambassadorWixCalendarV3EventUniversalTypes.GetEventRequest,\n ambassadorWixCalendarV3EventTypes.GetEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.GetEventResponse,\n ambassadorWixCalendarV3EventTypes.GetEventResponse\n> {\n const payload = { eventId: ':eventId' } as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.getEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/events/{eventId}',\n pathParams: { eventId: 'eventId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listEvents(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsRequest,\n ambassadorWixCalendarV3EventTypes.ListEventsRequest,\n ambassadorWixCalendarV3EventUniversalTypes.ListEventsResponse,\n ambassadorWixCalendarV3EventTypes.ListEventsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.listEvents(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/events',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryEvents(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.QueryEventsRequest,\n ambassadorWixCalendarV3EventTypes.QueryEventsRequest,\n ambassadorWixCalendarV3EventUniversalTypes.QueryEventsResponse,\n ambassadorWixCalendarV3EventTypes.QueryEventsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.queryEvents(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/events/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createEvent(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.CreateEventRequest,\n ambassadorWixCalendarV3EventTypes.CreateEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.CreateEventResponse,\n ambassadorWixCalendarV3EventTypes.CreateEventResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.createEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/events',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateEvent(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.BulkCreateEventRequest,\n ambassadorWixCalendarV3EventTypes.BulkCreateEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.BulkCreateEventResponse,\n ambassadorWixCalendarV3EventTypes.BulkCreateEventResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.bulkCreateEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/events/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateEvent(): __PublicMethodMetaInfo<\n 'PATCH',\n { eventId: string },\n ambassadorWixCalendarV3EventUniversalTypes.UpdateEventRequest,\n ambassadorWixCalendarV3EventTypes.UpdateEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.UpdateEventResponse,\n ambassadorWixCalendarV3EventTypes.UpdateEventResponse\n> {\n const payload = { event: { id: ':eventId' } } as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.updateEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/events/{event.id}',\n pathParams: { eventId: 'eventId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateEvent(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.BulkUpdateEventRequest,\n ambassadorWixCalendarV3EventTypes.BulkUpdateEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.BulkUpdateEventResponse,\n ambassadorWixCalendarV3EventTypes.BulkUpdateEventResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.bulkUpdateEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/events/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function restoreEventDefaults(): __PublicMethodMetaInfo<\n 'POST',\n { eventId: string },\n ambassadorWixCalendarV3EventUniversalTypes.RestoreEventDefaultsRequest,\n ambassadorWixCalendarV3EventTypes.RestoreEventDefaultsRequest,\n ambassadorWixCalendarV3EventUniversalTypes.RestoreEventDefaultsResponse,\n ambassadorWixCalendarV3EventTypes.RestoreEventDefaultsResponse\n> {\n const payload = { eventId: ':eventId' } as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.restoreEventDefaults(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/events/{eventId}/restore-defaults',\n pathParams: { eventId: 'eventId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function splitRecurringEvent(): __PublicMethodMetaInfo<\n 'POST',\n { recurringEventId: string },\n ambassadorWixCalendarV3EventUniversalTypes.SplitRecurringEventRequest,\n ambassadorWixCalendarV3EventTypes.SplitRecurringEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.SplitRecurringEventResponse,\n ambassadorWixCalendarV3EventTypes.SplitRecurringEventResponse\n> {\n const payload = { recurringEventId: ':recurringEventId' } as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.splitRecurringEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/events/{recurringEventId}/split',\n pathParams: { recurringEventId: 'recurringEventId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function cancelEvent(): __PublicMethodMetaInfo<\n 'POST',\n { eventId: string },\n ambassadorWixCalendarV3EventUniversalTypes.CancelEventRequest,\n ambassadorWixCalendarV3EventTypes.CancelEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.CancelEventResponse,\n ambassadorWixCalendarV3EventTypes.CancelEventResponse\n> {\n const payload = { eventId: ':eventId' } as any;\n\n const getRequestOptions = ambassadorWixCalendarV3Event.cancelEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/events/{eventId}/cancel',\n pathParams: { eventId: 'eventId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCancelEvent(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCalendarV3EventUniversalTypes.BulkCancelEventRequest,\n ambassadorWixCalendarV3EventTypes.BulkCancelEventRequest,\n ambassadorWixCalendarV3EventUniversalTypes.BulkCancelEventResponse,\n ambassadorWixCalendarV3EventTypes.BulkCancelEventResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCalendarV3Event.bulkCancelEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/events/cancel',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,uBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,mBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;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AAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,SAAS,UAAU;AAAA,IACjC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACyB,gBAAgB,OAAO;AAEtD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCancelEvent","bulkCreateEvent","bulkUpdateEvent","cancelEvent","createEvent","getEvent","listEvents","listEventsByContactId","listEventsByMemberId","queryEvents","restoreEventDefaults","splitRecurringEvent","updateEvent","import_timestamp","import_rest_modules","payload","listEventsByContactId","listEventsByMemberId","getEvent","listEvents","queryEvents","createEvent","bulkCreateEvent","updateEvent","bulkUpdateEvent","restoreEventDefaults","splitRecurringEvent","cancelEvent","bulkCancelEvent"]}
@@ -669,6 +669,158 @@ interface EventUpdatedWithMetadata {
669
669
  */
670
670
  participantNotification?: ParticipantNotification;
671
671
  }
672
+ interface UpdateScheduleWithFixedBusinessResourceIdRequest {
673
+ /** @format GUID */
674
+ metaSiteId?: string;
675
+ /** @format GUID */
676
+ currentBusinessResourceId?: string;
677
+ migrateBusinessConferenceId?: boolean;
678
+ }
679
+ interface UpdateScheduleWithFixedBusinessResourceIdResponse {
680
+ }
681
+ interface UpdateEventsWithFixedBusinessResourceIdRequest {
682
+ /** @format GUID */
683
+ metaSiteId?: string;
684
+ /** @format GUID */
685
+ currentBusinessResourceId?: string;
686
+ migrateBusinessConferenceId?: boolean;
687
+ }
688
+ interface UpdateEventsWithFixedBusinessResourceIdResponse {
689
+ }
690
+ interface DomainEvent extends DomainEventBodyOneOf {
691
+ createdEvent?: EntityCreatedEvent;
692
+ updatedEvent?: EntityUpdatedEvent;
693
+ deletedEvent?: EntityDeletedEvent;
694
+ actionEvent?: ActionEvent;
695
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
696
+ _id?: string;
697
+ /**
698
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
699
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
700
+ */
701
+ entityFqdn?: string;
702
+ /**
703
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
704
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
705
+ */
706
+ slug?: string;
707
+ /** ID of the entity associated with the event. */
708
+ entityId?: string;
709
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
710
+ eventTime?: Date | null;
711
+ /**
712
+ * Whether the event was triggered as a result of a privacy regulation application
713
+ * (for example, GDPR).
714
+ */
715
+ triggeredByAnonymizeRequest?: boolean | null;
716
+ /** If present, indicates the action that triggered the event. */
717
+ originatedFrom?: string | null;
718
+ /**
719
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
720
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
721
+ */
722
+ entityEventSequence?: string | null;
723
+ }
724
+ /** @oneof */
725
+ interface DomainEventBodyOneOf {
726
+ createdEvent?: EntityCreatedEvent;
727
+ updatedEvent?: EntityUpdatedEvent;
728
+ deletedEvent?: EntityDeletedEvent;
729
+ actionEvent?: ActionEvent;
730
+ }
731
+ interface EntityCreatedEvent {
732
+ entity?: string;
733
+ }
734
+ interface RestoreInfo {
735
+ deletedDate?: Date | null;
736
+ }
737
+ interface EntityUpdatedEvent {
738
+ /**
739
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
740
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
741
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
742
+ */
743
+ currentEntity?: string;
744
+ }
745
+ interface EntityDeletedEvent {
746
+ /** Entity that was deleted. */
747
+ deletedEntity?: string | null;
748
+ }
749
+ interface ActionEvent {
750
+ body?: string;
751
+ }
752
+ interface MessageEnvelope {
753
+ /**
754
+ * App instance ID.
755
+ * @format GUID
756
+ */
757
+ instanceId?: string | null;
758
+ /**
759
+ * Event type.
760
+ * @maxLength 150
761
+ */
762
+ eventType?: string;
763
+ /** The identification type and identity data. */
764
+ identity?: IdentificationData;
765
+ /** Stringify payload. */
766
+ data?: string;
767
+ }
768
+ interface IdentificationData extends IdentificationDataIdOneOf {
769
+ /**
770
+ * ID of a site visitor that has not logged in to the site.
771
+ * @format GUID
772
+ */
773
+ anonymousVisitorId?: string;
774
+ /**
775
+ * ID of a site visitor that has logged in to the site.
776
+ * @format GUID
777
+ */
778
+ memberId?: string;
779
+ /**
780
+ * ID of a Wix user (site owner, contributor, etc.).
781
+ * @format GUID
782
+ */
783
+ wixUserId?: string;
784
+ /**
785
+ * ID of an app.
786
+ * @format GUID
787
+ */
788
+ appId?: string;
789
+ /** @readonly */
790
+ identityType?: WebhookIdentityTypeWithLiterals;
791
+ }
792
+ /** @oneof */
793
+ interface IdentificationDataIdOneOf {
794
+ /**
795
+ * ID of a site visitor that has not logged in to the site.
796
+ * @format GUID
797
+ */
798
+ anonymousVisitorId?: string;
799
+ /**
800
+ * ID of a site visitor that has logged in to the site.
801
+ * @format GUID
802
+ */
803
+ memberId?: string;
804
+ /**
805
+ * ID of a Wix user (site owner, contributor, etc.).
806
+ * @format GUID
807
+ */
808
+ wixUserId?: string;
809
+ /**
810
+ * ID of an app.
811
+ * @format GUID
812
+ */
813
+ appId?: string;
814
+ }
815
+ declare enum WebhookIdentityType {
816
+ UNKNOWN = "UNKNOWN",
817
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
818
+ MEMBER = "MEMBER",
819
+ WIX_USER = "WIX_USER",
820
+ APP = "APP"
821
+ }
822
+ /** @enumType */
823
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
672
824
  interface ListEventsByContactIdRequest {
673
825
  /**
674
826
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -1109,158 +1261,6 @@ interface SiteCloned {
1109
1261
  }
1110
1262
  interface Empty {
1111
1263
  }
1112
- interface DomainEvent extends DomainEventBodyOneOf {
1113
- createdEvent?: EntityCreatedEvent;
1114
- updatedEvent?: EntityUpdatedEvent;
1115
- deletedEvent?: EntityDeletedEvent;
1116
- actionEvent?: ActionEvent;
1117
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1118
- _id?: string;
1119
- /**
1120
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1121
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1122
- */
1123
- entityFqdn?: string;
1124
- /**
1125
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
1126
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1127
- */
1128
- slug?: string;
1129
- /** ID of the entity associated with the event. */
1130
- entityId?: string;
1131
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1132
- eventTime?: Date | null;
1133
- /**
1134
- * Whether the event was triggered as a result of a privacy regulation application
1135
- * (for example, GDPR).
1136
- */
1137
- triggeredByAnonymizeRequest?: boolean | null;
1138
- /** If present, indicates the action that triggered the event. */
1139
- originatedFrom?: string | null;
1140
- /**
1141
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1142
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1143
- */
1144
- entityEventSequence?: string | null;
1145
- }
1146
- /** @oneof */
1147
- interface DomainEventBodyOneOf {
1148
- createdEvent?: EntityCreatedEvent;
1149
- updatedEvent?: EntityUpdatedEvent;
1150
- deletedEvent?: EntityDeletedEvent;
1151
- actionEvent?: ActionEvent;
1152
- }
1153
- interface EntityCreatedEvent {
1154
- entity?: string;
1155
- }
1156
- interface RestoreInfo {
1157
- deletedDate?: Date | null;
1158
- }
1159
- interface EntityUpdatedEvent {
1160
- /**
1161
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1162
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1163
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1164
- */
1165
- currentEntity?: string;
1166
- }
1167
- interface EntityDeletedEvent {
1168
- /** Entity that was deleted. */
1169
- deletedEntity?: string | null;
1170
- }
1171
- interface ActionEvent {
1172
- body?: string;
1173
- }
1174
- interface MessageEnvelope {
1175
- /**
1176
- * App instance ID.
1177
- * @format GUID
1178
- */
1179
- instanceId?: string | null;
1180
- /**
1181
- * Event type.
1182
- * @maxLength 150
1183
- */
1184
- eventType?: string;
1185
- /** The identification type and identity data. */
1186
- identity?: IdentificationData;
1187
- /** Stringify payload. */
1188
- data?: string;
1189
- }
1190
- interface IdentificationData extends IdentificationDataIdOneOf {
1191
- /**
1192
- * ID of a site visitor that has not logged in to the site.
1193
- * @format GUID
1194
- */
1195
- anonymousVisitorId?: string;
1196
- /**
1197
- * ID of a site visitor that has logged in to the site.
1198
- * @format GUID
1199
- */
1200
- memberId?: string;
1201
- /**
1202
- * ID of a Wix user (site owner, contributor, etc.).
1203
- * @format GUID
1204
- */
1205
- wixUserId?: string;
1206
- /**
1207
- * ID of an app.
1208
- * @format GUID
1209
- */
1210
- appId?: string;
1211
- /** @readonly */
1212
- identityType?: WebhookIdentityTypeWithLiterals;
1213
- }
1214
- /** @oneof */
1215
- interface IdentificationDataIdOneOf {
1216
- /**
1217
- * ID of a site visitor that has not logged in to the site.
1218
- * @format GUID
1219
- */
1220
- anonymousVisitorId?: string;
1221
- /**
1222
- * ID of a site visitor that has logged in to the site.
1223
- * @format GUID
1224
- */
1225
- memberId?: string;
1226
- /**
1227
- * ID of a Wix user (site owner, contributor, etc.).
1228
- * @format GUID
1229
- */
1230
- wixUserId?: string;
1231
- /**
1232
- * ID of an app.
1233
- * @format GUID
1234
- */
1235
- appId?: string;
1236
- }
1237
- declare enum WebhookIdentityType {
1238
- UNKNOWN = "UNKNOWN",
1239
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1240
- MEMBER = "MEMBER",
1241
- WIX_USER = "WIX_USER",
1242
- APP = "APP"
1243
- }
1244
- /** @enumType */
1245
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1246
- interface UpdateScheduleWithFixedBusinessResourceIdRequest {
1247
- /** @format GUID */
1248
- metaSiteId?: string;
1249
- /** @format GUID */
1250
- currentBusinessResourceId?: string;
1251
- migrateBusinessConferenceId?: boolean;
1252
- }
1253
- interface UpdateScheduleWithFixedBusinessResourceIdResponse {
1254
- }
1255
- interface UpdateEventsWithFixedBusinessResourceIdRequest {
1256
- /** @format GUID */
1257
- metaSiteId?: string;
1258
- /** @format GUID */
1259
- currentBusinessResourceId?: string;
1260
- migrateBusinessConferenceId?: boolean;
1261
- }
1262
- interface UpdateEventsWithFixedBusinessResourceIdResponse {
1263
- }
1264
1264
  interface GetEventRequest {
1265
1265
  /**
1266
1266
  * ID of the event to retrieve.
@@ -2486,4 +2486,4 @@ interface BulkCancelEventOptions {
2486
2486
  timeZone?: string | null;
2487
2487
  }
2488
2488
 
2489
- export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type DomainEvent as aA, type DomainEventBodyOneOf as aB, type EntityCreatedEvent as aC, type RestoreInfo as aD, type EntityUpdatedEvent as aE, type EntityDeletedEvent as aF, type ActionEvent as aG, type MessageEnvelope as aH, type IdentificationData as aI, type IdentificationDataIdOneOf as aJ, type UpdateScheduleWithFixedBusinessResourceIdRequest as aK, type UpdateScheduleWithFixedBusinessResourceIdResponse as aL, type UpdateEventsWithFixedBusinessResourceIdRequest as aM, type UpdateEventsWithFixedBusinessResourceIdResponse as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type ListEventsByContactIdRequest as aa, type CommonCursorPaging as ab, type CommonCursorPagingMetadata as ac, type CommonCursors as ad, type ListEventsByMemberIdRequest as ae, type SitePropertiesNotification as af, type SitePropertiesEvent as ag, type Properties as ah, type Categories as ai, type Locale as aj, type Address as ak, type AddressHint as al, type GeoCoordinates as am, type BusinessSchedule as an, type TimePeriod as ao, type SpecialHourPeriod as ap, type Multilingual as aq, type SupportedLanguage as ar, type ConsentPolicy as as, type Translation as at, type ChangeContext as au, type ChangeContextPayloadOneOf as av, type PropertiesChange as aw, type SiteCreated as ax, type SiteCloned as ay, type Empty as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };
2489
+ export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type GeoCoordinates as aA, type BusinessSchedule as aB, type TimePeriod as aC, type SpecialHourPeriod as aD, type Multilingual as aE, type SupportedLanguage as aF, type ConsentPolicy as aG, type Translation as aH, type ChangeContext as aI, type ChangeContextPayloadOneOf as aJ, type PropertiesChange as aK, type SiteCreated as aL, type SiteCloned as aM, type Empty as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type UpdateScheduleWithFixedBusinessResourceIdRequest as aa, type UpdateScheduleWithFixedBusinessResourceIdResponse as ab, type UpdateEventsWithFixedBusinessResourceIdRequest as ac, type UpdateEventsWithFixedBusinessResourceIdResponse as ad, type DomainEvent as ae, type DomainEventBodyOneOf as af, type EntityCreatedEvent as ag, type RestoreInfo as ah, type EntityUpdatedEvent as ai, type EntityDeletedEvent as aj, type ActionEvent as ak, type MessageEnvelope as al, type IdentificationData as am, type IdentificationDataIdOneOf as an, type ListEventsByContactIdRequest as ao, type CommonCursorPaging as ap, type CommonCursorPagingMetadata as aq, type CommonCursors as ar, type ListEventsByMemberIdRequest as as, type SitePropertiesNotification as at, type SitePropertiesEvent as au, type Properties as av, type Categories as aw, type Locale as ax, type Address as ay, type AddressHint as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { L as ListEventsByContactIdOptions, a as ListEventsByContactIdResponse, b as ListEventsByMemberIdOptions, c as ListEventsByMemberIdResponse, G as GetEventOptions, E as Event, d as ListEventsOptions, e as ListEventsResponse, Q as QueryEventsOptions, f as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, g as BulkCreateEventResponse, U as UpdateEvent, h as UpdateEventOptions, i as BulkUpdateEventRequestMaskedEvent, j as BulkUpdateEventOptions, k as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, l as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, m as SplitRecurringEventResponse, n as CancelEventOptions, o as CancelEventResponse, p as BulkCancelEventOptions, q as BulkCancelEventResponse, r as EventCancelledEnvelope, s as EventCreatedEnvelope, t as EventRecurringSplitEnvelope, u as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-oZbWDSxX.mjs';
3
- export { aG as ActionEvent, ak as Address, al as AddressHint, b4 as ApplicationError, bf as BaseEventMetadata, b5 as BulkActionMetadata, be as BulkCancelEventRequest, b1 as BulkCreateEventRequest, b2 as BulkEventResult, b8 as BulkUpdateEventRequest, an as BusinessSchedule, bd as CancelEventRequest, ai as Categories, au as ChangeContext, av as ChangeContextPayloadOneOf, ab as CommonCursorPaging, ac as CommonCursorPagingMetadata, ad as CommonCursors, a3 as CommonIdentificationData, a4 as CommonIdentificationDataIdOneOf, a1 as ConferencingDetails, as as ConsentPolicy, a$ as CreateEventRequest, b0 as CreateEventResponse, aV as CursorPaging, aX as CursorPagingMetadata, aS as CursorQuery, aT as CursorQueryPagingMethodOneOf, aY as Cursors, D as Day, K as DayOfWeek, aA as DomainEvent, aB as DomainEventBodyOneOf, az as Empty, aC as EntityCreatedEvent, aF as EntityDeletedEvent, aE as EntityUpdatedEvent, a7 as EventCancelled, bg as EventMetadata, a9 as EventUpdatedWithMetadata, bh as EventsQueryResult, a5 as ExtendedFields, H as Field, x as Frequency, am as GeoCoordinates, aO as GetEventRequest, aP as GetEventResponse, aI as IdentificationData, aJ as IdentificationDataIdOneOf, I as IdentityType, b3 as ItemMetadata, aa as ListEventsByContactIdRequest, ae as ListEventsByMemberIdRequest, aQ as ListEventsRequest, aZ as ListRecurringEventInstancesHistoryRequest, a_ as ListRecurringEventInstancesHistoryResponse, aj as Locale, Y as Location, y as LocationType, aH as MessageEnvelope, aq as Multilingual, a0 as Participant, a8 as ParticipantNotification, $ as Participants, P as ParticipantsStatus, a2 as Permission, J as PlacementType, ah as Properties, aw as PropertiesChange, aR as QueryEventsRequest, aW as QueryEventsResponse, X as RecurrenceRule, w as RecurrenceType, a6 as RecurringEventSplit, O as RequestedFields, N as ResolutionMethod, _ as Resource, bb as RestoreEventDefaultsRequest, aD as RestoreInfo, z as Role, ay as SiteCloned, ax as SiteCreated, ag as SitePropertiesEvent, af as SitePropertiesNotification, V as SortOrder, aU as Sorting, ap as SpecialHourPeriod, bc as SplitRecurringEventRequest, v as Status, ar as SupportedLanguage, ao as TimePeriod, at as Translation, T as Transparency, A as Type, b9 as UpdateEventParticipantsRequest, ba as UpdateEventParticipantsResponse, b6 as UpdateEventRequest, b7 as UpdateEventResponse, aM as UpdateEventsWithFixedBusinessResourceIdRequest, aN as UpdateEventsWithFixedBusinessResourceIdResponse, aK as UpdateScheduleWithFixedBusinessResourceIdRequest, aL as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-oZbWDSxX.mjs';
2
+ import { L as ListEventsByContactIdOptions, a as ListEventsByContactIdResponse, b as ListEventsByMemberIdOptions, c as ListEventsByMemberIdResponse, G as GetEventOptions, E as Event, d as ListEventsOptions, e as ListEventsResponse, Q as QueryEventsOptions, f as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, g as BulkCreateEventResponse, U as UpdateEvent, h as UpdateEventOptions, i as BulkUpdateEventRequestMaskedEvent, j as BulkUpdateEventOptions, k as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, l as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, m as SplitRecurringEventResponse, n as CancelEventOptions, o as CancelEventResponse, p as BulkCancelEventOptions, q as BulkCancelEventResponse, r as EventCancelledEnvelope, s as EventCreatedEnvelope, t as EventRecurringSplitEnvelope, u as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-CLDnUCNu.mjs';
3
+ export { ak as ActionEvent, ay as Address, az as AddressHint, b4 as ApplicationError, bf as BaseEventMetadata, b5 as BulkActionMetadata, be as BulkCancelEventRequest, b1 as BulkCreateEventRequest, b2 as BulkEventResult, b8 as BulkUpdateEventRequest, aB as BusinessSchedule, bd as CancelEventRequest, aw as Categories, aI as ChangeContext, aJ as ChangeContextPayloadOneOf, ap as CommonCursorPaging, aq as CommonCursorPagingMetadata, ar as CommonCursors, a3 as CommonIdentificationData, a4 as CommonIdentificationDataIdOneOf, a1 as ConferencingDetails, aG as ConsentPolicy, a$ as CreateEventRequest, b0 as CreateEventResponse, aV as CursorPaging, aX as CursorPagingMetadata, aS as CursorQuery, aT as CursorQueryPagingMethodOneOf, aY as Cursors, D as Day, K as DayOfWeek, ae as DomainEvent, af as DomainEventBodyOneOf, aN as Empty, ag as EntityCreatedEvent, aj as EntityDeletedEvent, ai as EntityUpdatedEvent, a7 as EventCancelled, bg as EventMetadata, a9 as EventUpdatedWithMetadata, bh as EventsQueryResult, a5 as ExtendedFields, H as Field, x as Frequency, aA as GeoCoordinates, aO as GetEventRequest, aP as GetEventResponse, am as IdentificationData, an as IdentificationDataIdOneOf, I as IdentityType, b3 as ItemMetadata, ao as ListEventsByContactIdRequest, as as ListEventsByMemberIdRequest, aQ as ListEventsRequest, aZ as ListRecurringEventInstancesHistoryRequest, a_ as ListRecurringEventInstancesHistoryResponse, ax as Locale, Y as Location, y as LocationType, al as MessageEnvelope, aE as Multilingual, a0 as Participant, a8 as ParticipantNotification, $ as Participants, P as ParticipantsStatus, a2 as Permission, J as PlacementType, av as Properties, aK as PropertiesChange, aR as QueryEventsRequest, aW as QueryEventsResponse, X as RecurrenceRule, w as RecurrenceType, a6 as RecurringEventSplit, O as RequestedFields, N as ResolutionMethod, _ as Resource, bb as RestoreEventDefaultsRequest, ah as RestoreInfo, z as Role, aM as SiteCloned, aL as SiteCreated, au as SitePropertiesEvent, at as SitePropertiesNotification, V as SortOrder, aU as Sorting, aD as SpecialHourPeriod, bc as SplitRecurringEventRequest, v as Status, aF as SupportedLanguage, aC as TimePeriod, aH as Translation, T as Transparency, A as Type, b9 as UpdateEventParticipantsRequest, ba as UpdateEventParticipantsResponse, b6 as UpdateEventRequest, b7 as UpdateEventResponse, ac as UpdateEventsWithFixedBusinessResourceIdRequest, ad as UpdateEventsWithFixedBusinessResourceIdResponse, aa as UpdateScheduleWithFixedBusinessResourceIdRequest, ab as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-CLDnUCNu.mjs';
4
4
 
5
5
  declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
6
6
  interface ListEventsByContactIdSignature {
@@ -731,6 +731,14 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
731
731
  IdentityType2["WIX_USER"] = "WIX_USER";
732
732
  return IdentityType2;
733
733
  })(IdentityType || {});
734
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
735
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
736
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
737
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
738
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
739
+ WebhookIdentityType2["APP"] = "APP";
740
+ return WebhookIdentityType2;
741
+ })(WebhookIdentityType || {});
734
742
  var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
735
743
  PlacementType2["BEFORE"] = "BEFORE";
736
744
  PlacementType2["AFTER"] = "AFTER";
@@ -753,14 +761,6 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
753
761
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
754
762
  return ResolutionMethod2;
755
763
  })(ResolutionMethod || {});
756
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
757
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
758
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
759
- WebhookIdentityType2["MEMBER"] = "MEMBER";
760
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
761
- WebhookIdentityType2["APP"] = "APP";
762
- return WebhookIdentityType2;
763
- })(WebhookIdentityType || {});
764
764
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
765
765
  RequestedFields2["UNKNOWN_REQUESTED_FIELDS"] = "UNKNOWN_REQUESTED_FIELDS";
766
766
  RequestedFields2["PI_FIELDS"] = "PI_FIELDS";