@wix/auto_sdk_events_wix-events-v-2 1.0.57 → 1.0.58

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 (37) hide show
  1. package/build/cjs/index.d.ts +13 -3
  2. package/build/cjs/index.js +146 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +23 -2
  5. package/build/cjs/index.typings.js +137 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +6 -3
  8. package/build/cjs/meta.js +102 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +13 -3
  11. package/build/es/index.mjs +145 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +23 -2
  14. package/build/es/index.typings.mjs +136 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +6 -3
  17. package/build/es/meta.mjs +101 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +13 -3
  20. package/build/internal/cjs/index.js +146 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +23 -2
  23. package/build/internal/cjs/index.typings.js +137 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +6 -3
  26. package/build/internal/cjs/meta.js +102 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +13 -3
  29. package/build/internal/es/index.mjs +145 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +23 -2
  32. package/build/internal/es/index.typings.mjs +136 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +6 -3
  35. package/build/internal/es/meta.mjs +101 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Event, CreateEventOptions, CreateEventApplicationErrors, CreateEventValidationErrors, CloneEventOptions, CloneEventResponse, UpdateEventOptions, UpdateEventApplicationErrors, UpdateEventValidationErrors, PublishDraftEventOptions, PublishDraftEventResponse, PublishDraftEventApplicationErrors, CancelEventOptions, CancelEventResponse, CancelEventApplicationErrors, BulkCancelEventsByFilterOptions, DeleteEventResponse, BulkDeleteEventsByFilterOptions, QueryEventsOptions, EventsQueryBuilder, CountEventsByStatusOptions, CountEventsByStatusResponse, CountEventsByStatusApplicationErrors, GetEventOptions, GetEventBySlugOptions, GetEventBySlugResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, AgendaSettings, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, Badge, BadgeList, BadgeTypeType, BadgeTypeTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkCancelEventsByFilterRequest, BulkCancelEventsByFilterResponse, BulkDeleteEventsByFilterRequest, BulkDeleteEventsByFilterResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarUrls, CancelEventRequest, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CloneEventFromOtherSiteRequest, CloneEventFromOtherSiteResponse, CloneEventRequest, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, ConferenceTypeType, ConferenceTypeTypeWithLiterals, CountEventsByStatusRequest, CreateEventRequest, CreateEventResponse, Crop, CropWithLiterals, CursorPaging, Cursors, DateAndTimeSettings, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteEventRequest, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCanceled, EventCategories, EventCategory, EventCloned, EventData, EventDisplaySettings, EventEnded, EventMetadata, EventPublished, EventReminder, EventStarted, EventsMoney, EventsQueryResult, ExportEventsRequest, ExportEventsResponse, ExternalRegistration, FacetCounts, Feed, FileData, FileSource, FileSourceDataOneOf, FindEventRequest, FindEventRequestFindByOneOf, FindEventResponse, FontSizeData, FontType, FontTypeWithLiterals, Form, FormMessages, Formatted, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetEventBySlugRequest, GetEventRequest, GetEventResponse, Gradient, GuestListSettings, GuestTypeType, GuestTypeTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialRegistrationTypeType, InitialRegistrationTypeTypeWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListEventsByCategoryRequest, ListEventsByCategoryResponse, ListUserEventsRequest, ListUserEventsResponse, ListValue, Location, LocationType, LocationTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftEventRequest, QueryEventsApplicationErrors, QueryEventsRequest, QueryEventsResponse, QueryV2, QueryV2PagingMethodOneOf, RecurrenceStatusStatus, RecurrenceStatusStatusWithLiterals, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatusStatus, RegistrationStatusStatusWithLiterals, RegistrationTypeType, RegistrationTypeTypeWithLiterals, Rel, Relation, RelationWithLiterals, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponseType, ResponseTypeWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpConfirmationMessages, RsvpFormMessages, RsvpFormMessagesNegativeResponseConfirmation, RsvpFormMessagesPositiveResponseConfirmation, RsvpRegistration, Rsvps, SeoSchema, SeoSettings, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Summaries, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxSettings, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Tickets, TicketsConfirmationMessages, TicketsRegistration, TicketsUnavailableMessages, TimeDuration, Type, TypeWithLiterals, UpdateEventRequest, UpdateEventResponse, UserFilter, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
2
+ import { Event, CreateEventOptions, CreateEventApplicationErrors, CreateEventValidationErrors, CloneEventOptions, CloneEventResponse, UpdateEventOptions, UpdateEventApplicationErrors, UpdateEventValidationErrors, PublishDraftEventOptions, PublishDraftEventResponse, PublishDraftEventApplicationErrors, CancelEventOptions, CancelEventResponse, CancelEventApplicationErrors, BulkCancelEventsByFilterOptions, DeleteEventResponse, BulkDeleteEventsByFilterOptions, QueryEventsOptions, EventsQueryBuilder, CountEventsByStatusOptions, CountEventsByStatusResponse, CountEventsByStatusApplicationErrors, ListEventsByCategoryOptions, ListEventsByCategoryResponse, GetEventOptions, GetEventBySlugOptions, GetEventBySlugResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope } from './index.typings.js';
3
+ export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, AgendaSettings, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, Badge, BadgeList, BadgeTypeType, BadgeTypeTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkCancelEventsByFilterRequest, BulkCancelEventsByFilterResponse, BulkDeleteEventsByFilterRequest, BulkDeleteEventsByFilterResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarUrls, CancelEventRequest, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CloneEventFromOtherSiteRequest, CloneEventFromOtherSiteResponse, CloneEventRequest, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, ConferenceTypeType, ConferenceTypeTypeWithLiterals, CountEventsByStatusRequest, CreateEventRequest, CreateEventResponse, Crop, CropWithLiterals, CursorPaging, Cursors, DateAndTimeSettings, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteEventRequest, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCanceled, EventCategories, EventCategory, EventCloned, EventData, EventDisplaySettings, EventEnded, EventMetadata, EventPublished, EventReminder, EventStarted, EventsMoney, EventsQueryResult, ExportEventsRequest, ExportEventsResponse, ExternalRegistration, FacetCounts, Feed, FileData, FileSource, FileSourceDataOneOf, FindEventRequest, FindEventRequestFindByOneOf, FindEventResponse, FontSizeData, FontType, FontTypeWithLiterals, Form, FormMessages, Formatted, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetEventBySlugRequest, GetEventRequest, GetEventResponse, Gradient, GuestListSettings, GuestTypeType, GuestTypeTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialRegistrationTypeType, InitialRegistrationTypeTypeWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListEventsByCategoryRequest, ListUserEventsRequest, ListUserEventsResponse, ListValue, Location, LocationType, LocationTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftEventRequest, QueryEventsApplicationErrors, QueryEventsRequest, QueryEventsResponse, QueryV2, QueryV2PagingMethodOneOf, RecurrenceStatusStatus, RecurrenceStatusStatusWithLiterals, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatusStatus, RegistrationStatusStatusWithLiterals, RegistrationTypeType, RegistrationTypeTypeWithLiterals, Rel, Relation, RelationWithLiterals, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponseType, ResponseTypeWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpConfirmationMessages, RsvpFormMessages, RsvpFormMessagesNegativeResponseConfirmation, RsvpFormMessagesPositiveResponseConfirmation, RsvpRegistration, Rsvps, SeoSchema, SeoSettings, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Summaries, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxSettings, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Tickets, TicketsConfirmationMessages, TicketsRegistration, TicketsUnavailableMessages, TimeDuration, Type, TypeWithLiterals, UpdateEventRequest, UpdateEventResponse, UserFilter, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
6
6
  interface CreateEventSignature {
@@ -129,6 +129,15 @@ interface CountEventsByStatusSignature {
129
129
  __applicationErrorsType?: CountEventsByStatusApplicationErrors;
130
130
  }>;
131
131
  }
132
+ declare function listEventsByCategory$1(httpClient: HttpClient): ListEventsByCategorySignature;
133
+ interface ListEventsByCategorySignature {
134
+ /**
135
+ * Retrieves a list of up to 100 events that belong to the same event category.
136
+ * @param - Category ID.
137
+ * @param - Optional fields.
138
+ */
139
+ (categoryId: string, options?: ListEventsByCategoryOptions): Promise<NonNullablePaths<ListEventsByCategoryResponse, `events` | `events.${number}._id` | `events.${number}.location.type` | `events.${number}.dateAndTimeSettings.recurrenceStatus` | `events.${number}.slug` | `events.${number}.status` | `events.${number}.registration.type` | `events.${number}.registration.status` | `events.${number}.registration.rsvp.responseType` | `events.${number}.registration.rsvp.waitlistEnabled` | `events.${number}.registration.tickets.guestsAssignedSeparately` | `events.${number}.registration.tickets.ticketLimitPerOrder` | `events.${number}.registration.allowedGuestTypes` | `events.${number}.registration.initialType` | `events.${number}.registration.registrationPaused` | `events.${number}.registration.registrationDisabled` | `events.${number}.calendarUrls.google` | `events.${number}.calendarUrls.ics` | `events.${number}.summaries.rsvps.totalCount` | `events.${number}.summaries.rsvps.yesCount` | `events.${number}.summaries.rsvps.noCount` | `events.${number}.summaries.rsvps.waitlistCount` | `events.${number}.summaries.tickets.ticketsSold` | `events.${number}.summaries.tickets.currencyLocked` | `events.${number}.summaries.tickets.totalOrders` | `events.${number}.instanceId` | `events.${number}.guestListSettings.displayedPublicly` | `events.${number}.userId` | `events.${number}.onlineConferencing.enabled` | `events.${number}.onlineConferencing.type` | `events.${number}.onlineConferencing.session.hostLink` | `events.${number}.onlineConferencing.session.guestLink` | `events.${number}.seoSettings.slug` | `events.${number}.agendaSettings.enabled`, 6>>;
140
+ }
132
141
  declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
133
142
  interface GetEventSignature {
134
143
  /**
@@ -170,6 +179,7 @@ declare const deleteEvent: MaybeContext<BuildRESTFunction<typeof deleteEvent$1>
170
179
  declare const bulkDeleteEventsByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteEventsByFilter$1> & typeof bulkDeleteEventsByFilter$1>;
171
180
  declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
172
181
  declare const countEventsByStatus: MaybeContext<BuildRESTFunction<typeof countEventsByStatus$1> & typeof countEventsByStatus$1>;
182
+ declare const listEventsByCategory: MaybeContext<BuildRESTFunction<typeof listEventsByCategory$1> & typeof listEventsByCategory$1>;
173
183
  declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
174
184
  declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySlug$1> & typeof getEventBySlug$1>;
175
185
  /**
@@ -215,4 +225,4 @@ declare const onEventStarted: BuildEventDefinition<typeof onEventStarted$1> & ty
215
225
  */
216
226
  declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1> & typeof onEventUpdated$1;
217
227
 
218
- export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventApplicationErrors, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusApplicationErrors, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventApplicationErrors, CreateEventOptions, CreateEventValidationErrors, DeleteEventResponse, Event, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, PublishDraftEventApplicationErrors, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventApplicationErrors, UpdateEventOptions, UpdateEventValidationErrors, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
228
+ export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventApplicationErrors, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusApplicationErrors, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventApplicationErrors, CreateEventOptions, CreateEventValidationErrors, DeleteEventResponse, Event, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, ListEventsByCategoryOptions, ListEventsByCategoryResponse, PublishDraftEventApplicationErrors, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventApplicationErrors, UpdateEventOptions, UpdateEventValidationErrors, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, listEventsByCategory, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
@@ -87,6 +87,7 @@ __export(index_exports, {
87
87
  deleteEvent: () => deleteEvent4,
88
88
  getEvent: () => getEvent4,
89
89
  getEventBySlug: () => getEventBySlug4,
90
+ listEventsByCategory: () => listEventsByCategory4,
90
91
  onEventCanceled: () => onEventCanceled2,
91
92
  onEventCloned: () => onEventCloned2,
92
93
  onEventCreated: () => onEventCreated2,
@@ -935,6 +936,88 @@ function countEventsByStatus(payload) {
935
936
  }
936
937
  return __countEventsByStatus;
937
938
  }
939
+ function listEventsByCategory(payload) {
940
+ function __listEventsByCategory({ host }) {
941
+ const metadata = {
942
+ entityFqdn: "wix.events.v3.event",
943
+ method: "GET",
944
+ methodFqn: "wix.events.events.v3.EventManagement.ListEventsByCategory",
945
+ packageName: PACKAGE_NAME,
946
+ migrationOptions: {
947
+ optInTransformResponse: true
948
+ },
949
+ url: resolveWixEventsEventsV3EventManagementUrl({
950
+ protoPath: "/v3/events/category/{categoryId}",
951
+ data: payload,
952
+ host
953
+ }),
954
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
955
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
956
+ {
957
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
958
+ paths: [
959
+ { path: "events.createdDate" },
960
+ { path: "events.updatedDate" },
961
+ { path: "events.publishedDate" },
962
+ { path: "events.dateAndTimeSettings.startDate" },
963
+ { path: "events.dateAndTimeSettings.endDate" },
964
+ {
965
+ path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
966
+ },
967
+ {
968
+ path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
969
+ },
970
+ { path: "events.mainImage.urlExpirationDate" },
971
+ { path: "events.registration.rsvp.startDate" },
972
+ { path: "events.registration.rsvp.endDate" },
973
+ { path: "events.categories.categories.createdDate" },
974
+ { path: "events.description.metadata.createdTimestamp" },
975
+ { path: "events.description.metadata.updatedTimestamp" },
976
+ { path: "events.badges.badges.functionUpdateDate" }
977
+ ]
978
+ },
979
+ {
980
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
981
+ paths: [
982
+ { path: "events.location.address.geocode.latitude" },
983
+ { path: "events.location.address.geocode.longitude" },
984
+ {
985
+ path: "events.description.nodes.galleryData.items.image.media.duration"
986
+ },
987
+ {
988
+ path: "events.description.nodes.galleryData.items.video.media.duration"
989
+ },
990
+ {
991
+ path: "events.description.nodes.galleryData.items.video.thumbnail.duration"
992
+ },
993
+ {
994
+ path: "events.description.nodes.galleryData.options.item.ratio"
995
+ },
996
+ { path: "events.description.nodes.imageData.image.duration" },
997
+ { path: "events.description.nodes.mapData.mapSettings.lat" },
998
+ { path: "events.description.nodes.mapData.mapSettings.lng" },
999
+ { path: "events.description.nodes.pollData.poll.image.duration" },
1000
+ {
1001
+ path: "events.description.nodes.pollData.poll.options.image.duration"
1002
+ },
1003
+ {
1004
+ path: "events.description.nodes.pollData.design.poll.background.image.duration"
1005
+ },
1006
+ { path: "events.description.nodes.appEmbedData.image.duration" },
1007
+ { path: "events.description.nodes.videoData.video.duration" },
1008
+ { path: "events.description.nodes.videoData.thumbnail.duration" },
1009
+ { path: "events.description.nodes.audioData.audio.duration" },
1010
+ {
1011
+ path: "events.description.nodes.audioData.coverImage.duration"
1012
+ }
1013
+ ]
1014
+ }
1015
+ ])
1016
+ };
1017
+ return metadata;
1018
+ }
1019
+ return __listEventsByCategory;
1020
+ }
938
1021
  function getEvent(payload) {
939
1022
  function __getEvent({ host }) {
940
1023
  const metadata = {
@@ -1995,6 +2078,59 @@ async function countEventsByStatus2(options) {
1995
2078
  throw transformedError;
1996
2079
  }
1997
2080
  }
2081
+ async function listEventsByCategory2(categoryId, options) {
2082
+ const { httpClient, sideEffects } = arguments[2];
2083
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2084
+ {
2085
+ categoryId,
2086
+ paging: options?.paging,
2087
+ fields: options?.fields
2088
+ },
2089
+ []
2090
+ );
2091
+ const reqOpts = listEventsByCategory(payload);
2092
+ sideEffects?.onSiteCall?.();
2093
+ try {
2094
+ const result = await httpClient.request(reqOpts);
2095
+ sideEffects?.onSuccess?.(result);
2096
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
2097
+ (0, import_transform_paths2.transformPaths)(result.data, [
2098
+ {
2099
+ transformFn: import_image2.transformRESTImageToSDKImage,
2100
+ paths: [{ path: "events.mainImage" }]
2101
+ },
2102
+ {
2103
+ transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
2104
+ paths: [
2105
+ { path: "events.eventPageUrl" },
2106
+ { path: "events.agendaSettings.pageUrl" }
2107
+ ]
2108
+ },
2109
+ {
2110
+ transformFn: import_address2.transformRESTAddressToSDKAddress,
2111
+ paths: [{ path: "events.location.address" }]
2112
+ }
2113
+ ]),
2114
+ ["events.description"]
2115
+ );
2116
+ } catch (err) {
2117
+ const transformedError = (0, import_transform_error.transformError)(
2118
+ err,
2119
+ {
2120
+ spreadPathsToArguments: {},
2121
+ explicitPathsToArguments: {
2122
+ categoryId: "$[0]",
2123
+ paging: "$[1].paging",
2124
+ fields: "$[1].fields"
2125
+ },
2126
+ singleArgumentUnchanged: false
2127
+ },
2128
+ ["categoryId", "options"]
2129
+ );
2130
+ sideEffects?.onError?.(err);
2131
+ throw transformedError;
2132
+ }
2133
+ }
1998
2134
  async function getEvent2(eventId, options) {
1999
2135
  const { httpClient, sideEffects } = arguments[2];
2000
2136
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
@@ -2162,6 +2298,14 @@ function countEventsByStatus3(httpClient) {
2162
2298
  { httpClient }
2163
2299
  );
2164
2300
  }
2301
+ function listEventsByCategory3(httpClient) {
2302
+ return (categoryId, options) => listEventsByCategory2(
2303
+ categoryId,
2304
+ options,
2305
+ // @ts-ignore
2306
+ { httpClient }
2307
+ );
2308
+ }
2165
2309
  function getEvent3(httpClient) {
2166
2310
  return (eventId, options) => getEvent2(
2167
2311
  eventId,
@@ -2551,6 +2695,7 @@ var deleteEvent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(de
2551
2695
  var bulkDeleteEventsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteEventsByFilter3);
2552
2696
  var queryEvents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryEvents3);
2553
2697
  var countEventsByStatus4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(countEventsByStatus3);
2698
+ var listEventsByCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listEventsByCategory3);
2554
2699
  var getEvent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getEvent3);
2555
2700
  var getEventBySlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getEventBySlug3);
2556
2701
  var onEventCanceled2 = (0, import_event_definition_modules.createEventModule)(onEventCanceled);
@@ -2631,6 +2776,7 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
2631
2776
  deleteEvent,
2632
2777
  getEvent,
2633
2778
  getEventBySlug,
2779
+ listEventsByCategory,
2634
2780
  onEventCanceled,
2635
2781
  onEventCloned,
2636
2782
  onEventCreated,