@livetiles/reach-plugin-types 0.5.0-preview.1032 → 0.5.0-preview.1034

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 (2) hide show
  1. package/lib/index.d.ts +146 -124
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1554,47 +1554,48 @@ declare module "libs/reach/util/common/src/user/Organization" {
1554
1554
  }
1555
1555
  declare module "libs/reach/util/common/src/user/Group" {
1556
1556
  import { Account } from "libs/reach/util/common/src/user/Account";
1557
- import { GroupBase, GroupRoleNames, GroupRoles } from "libs/reach/util/common/src/user/User";
1557
+ import { GroupBase, GroupRoleNames, GroupRoles, GroupUser } from "libs/reach/util/common/src/user/User";
1558
1558
  export interface UserRoleAssignment {
1559
- userId: string;
1560
1559
  role: GroupRoles;
1560
+ userId: string;
1561
1561
  }
1562
1562
  export interface GroupSummary extends GroupBase {
1563
- description: string;
1563
+ allowPosts?: boolean;
1564
+ allowPublicAccess?: boolean;
1564
1565
  availableChannelIds?: string[];
1565
- defaultChannelIds?: string[];
1566
- mandatoryChannelIds?: string[];
1567
1566
  availableKeywordIds?: string[];
1567
+ defaultChannelIds?: string[];
1568
1568
  defaultKeywordIds?: string[];
1569
+ description: string;
1570
+ mandatoryChannelIds?: string[];
1569
1571
  mandatoryKeywordIds?: string[];
1570
- allowPosts?: boolean;
1571
- allowPublicAccess?: boolean;
1572
1572
  }
1573
1573
  export interface GroupStatistics {
1574
- readerCount: number;
1574
+ adminCount: number;
1575
1575
  authorCount: number;
1576
1576
  editorCount: number;
1577
- adminCount: number;
1577
+ eventsCount: number;
1578
1578
  newsCount: number;
1579
1579
  pagesCount: number;
1580
- eventsCount: number;
1580
+ readerCount: number;
1581
1581
  }
1582
1582
  export interface Group extends GroupSummary {
1583
1583
  rules: GroupRules;
1584
1584
  statistics: GroupStatistics;
1585
1585
  users: UserRoleAssignment[];
1586
1586
  }
1587
- export interface NestedGroup extends Group {
1588
- parentId: string;
1587
+ export interface NestedGroup extends Omit<Group, 'users'> {
1589
1588
  isParent: boolean;
1589
+ parentId: string;
1590
+ users: GroupUser[];
1590
1591
  }
1591
1592
  export type GroupRules = {
1592
1593
  [K in GroupRoleNames]?: GroupRule;
1593
1594
  };
1594
1595
  export interface GroupRule {
1595
- includeNonDirectoryUsers?: boolean;
1596
- includeDirectoryUsers?: boolean;
1597
1596
  adGroups?: Account[];
1597
+ includeDirectoryUsers?: boolean;
1598
+ includeNonDirectoryUsers?: boolean;
1598
1599
  }
1599
1600
  }
1600
1601
  declare module "libs/reach/util/common/src/user/UserInfo" {
@@ -2097,7 +2098,8 @@ declare module "libs/reach/util/common/src/content/EventItem" {
2097
2098
  export enum EventResponse {
2098
2099
  NotSet = 0,
2099
2100
  Registered = 1,
2100
- Declined = 2
2101
+ Declined = 2,
2102
+ WaitingList = 3
2101
2103
  }
2102
2104
  export interface EventItem extends SchedulableItem {
2103
2105
  startDate?: string;
@@ -2117,6 +2119,7 @@ declare module "libs/reach/util/common/src/content/EventItem" {
2117
2119
  isAllDayEvent?: boolean;
2118
2120
  }
2119
2121
  export interface EventRegistrationSettings {
2122
+ enableWaitingList?: boolean;
2120
2123
  enabled?: boolean;
2121
2124
  showParticipantsToEverybody?: boolean;
2122
2125
  deadline?: string;
@@ -2522,7 +2525,9 @@ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2522
2525
  embeddedAudio = "embedded-audio",
2523
2526
  languageChange = "language-change",
2524
2527
  eventRegistration = "event-registration",
2528
+ eventWaitingList = "event-waiting-list",
2525
2529
  eventSeriesRegistration = "event-series-registration",
2530
+ eventSeriesWaitingList = "event-series-waiting-list",
2526
2531
  translateContent = "translate-content",
2527
2532
  downloadFile = "download-file",
2528
2533
  embeddedIframe = "embedded-iframe",
@@ -7744,26 +7749,27 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
7744
7749
  }>;
7745
7750
  }
7746
7751
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
7747
- import { FC } from 'react';
7748
7752
  import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
7753
+ import { FC } from 'react';
7749
7754
  export const EventLocationInfo: FC<{
7750
- locations: EventLocation[];
7751
- itemId: string;
7752
7755
  className?: string;
7756
+ itemId: string;
7757
+ locations: EventLocation[];
7758
+ noWrap?: boolean;
7753
7759
  }>;
7754
7760
  export const EventPeopleInfo: FC<{
7755
- item: EventItem;
7761
+ className?: string;
7756
7762
  hideAnnouncer?: boolean;
7757
- showFirstContactOnly?: boolean;
7763
+ item: EventItem;
7758
7764
  labelResourceKey?: string;
7759
- className?: string;
7765
+ showFirstContactOnly?: boolean;
7760
7766
  }>;
7761
7767
  export const EventChannelsDisplay: FC<{
7762
- item: EventItem;
7763
- language: string;
7764
- className?: string;
7765
7768
  allowFilterByChannels?: boolean;
7766
7769
  channelBackgroundColor?: string;
7770
+ className?: string;
7771
+ item: EventItem;
7772
+ language: string;
7767
7773
  onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
7768
7774
  }>;
7769
7775
  export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
@@ -7814,31 +7820,15 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7814
7820
  className?: string;
7815
7821
  }>;
7816
7822
  }
7817
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext" {
7818
- import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
7819
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7820
- import { EventResponse } from "libs/reach/util/common/src/index";
7821
- export interface EventUserRegistrationContextType {
7822
- item: EventItem;
7823
- answers: PollQuestionAnswer[];
7824
- hasMissingAnswers: boolean;
7825
- isLoading: boolean;
7826
- submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
7827
- reset: () => Promise<void>;
7828
- onBehalfOfUpn: string;
7829
- hasPollContext: boolean;
7830
- eventResponse: EventResponse;
7831
- setEventResponse: (response: EventResponse) => unknown;
7832
- seatsInfo: EventRegistrationSeatsInfo;
7833
- }
7834
- export interface EventLocationWithLeftSeats extends EventLocation {
7835
- seatsLeft: number;
7836
- }
7837
- export interface EventRegistrationSeatsInfo {
7838
- hasAnySeatsLeft: boolean;
7839
- locations?: EventLocationWithLeftSeats[];
7840
- }
7841
- export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7823
+ declare module "libs/reach/feature/content/src/events/eventUtils" {
7824
+ import { MessageDescriptor } from 'react-intl';
7825
+ import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7826
+ import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7827
+ export function getLocationQuestionId(item: EventItem): string;
7828
+ export function getLocationPollDefinitions(item: EventItem, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, any>) => string, result?: PollResult, isOnBehalfOf?: boolean): {
7829
+ question?: PollQuestion;
7830
+ translations?: TranslationItem[];
7831
+ };
7842
7832
  }
7843
7833
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7844
7834
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
@@ -7853,40 +7843,58 @@ declare module "libs/reach/feature/content/src/common/detail/events/eventUtils"
7853
7843
  isPastDeadline: boolean;
7854
7844
  };
7855
7845
  }
7846
+ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7847
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7848
+ import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
7849
+ import { EventResponse } from "libs/reach/util/common/src/index";
7850
+ export function useEventRegistrationApi(): {
7851
+ setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
7852
+ getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
7853
+ getParticipants: (eventId: string) => Promise<EventParticipant[]>;
7854
+ };
7855
+ }
7856
7856
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton" {
7857
- import { FC } from 'react';
7858
7857
  import { PrimaryButton } from 'office-ui-fabric-react';
7858
+ import { FC } from 'react';
7859
7859
  export const EventRegistrationButton: FC<{
7860
- isRegistered: boolean;
7861
- eventId: string;
7862
- disabled?: boolean;
7863
7860
  className?: string;
7861
+ disabled?: boolean;
7862
+ eventId: string;
7863
+ infoMessageResourceKey?: string;
7864
+ isRegistered: boolean;
7865
+ isWaitingList: boolean;
7866
+ isWaitingListEnabled?: boolean;
7864
7867
  onClick?: () => void;
7865
7868
  showInfoMessage?: boolean;
7866
- infoMessageResourceKey?: string;
7867
7869
  }>;
7868
7870
  export const RegisterButton: import("styled-components").StyledComponent<typeof PrimaryButton, import("styled-components").DefaultTheme, {
7869
7871
  isRegistered?: boolean;
7870
7872
  }, never>;
7871
7873
  }
7872
- declare module "libs/reach/feature/content/src/events/eventUtils" {
7873
- import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7874
- import { MessageDescriptor } from 'react-intl';
7875
- import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7876
- export function getLocationQuestionId(item: EventItem): string;
7877
- export function getLocationPollDefinitions(item: EventItem, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, any>) => string, result?: PollResult, isOnBehalfOf?: boolean): {
7878
- question?: PollQuestion;
7879
- translations?: TranslationItem[];
7880
- };
7881
- }
7882
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationLocationSeatsInfo" {
7883
- import { FC } from 'react';
7884
- import { EventLocationWithLeftSeats } from "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext";
7885
- export const EventRegistrationLocationSeatsInfo: FC<{
7874
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext" {
7875
+ import { EventItem, EventLocation, EventResponse, PollQuestionAnswer } from "libs/reach/util/common/src/index";
7876
+ export interface EventUserRegistrationContextType {
7877
+ answers: PollQuestionAnswer[];
7878
+ eventResponse: EventResponse;
7879
+ hasMissingAnswers: boolean;
7880
+ hasPollContext: boolean;
7881
+ isLoading: boolean;
7882
+ isLoadingPollResult: boolean;
7883
+ item: EventItem;
7884
+ onBehalfOfUpn: string;
7885
+ reset: () => Promise<void>;
7886
+ seatsInfo: EventRegistrationSeatsInfo;
7887
+ setEventResponse: (response: EventResponse) => unknown;
7888
+ submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
7889
+ }
7890
+ export interface EventLocationWithLeftSeats extends EventLocation {
7891
+ seatsLeft: number;
7892
+ }
7893
+ export interface EventRegistrationSeatsInfo {
7886
7894
  hasAnySeatsLeft: boolean;
7887
- locations: EventLocationWithLeftSeats[];
7888
- className?: string;
7889
- }>;
7895
+ locations?: EventLocationWithLeftSeats[];
7896
+ }
7897
+ export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7890
7898
  }
7891
7899
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription" {
7892
7900
  export const EventRegistrationInfoDescription: import("styled-components").StyledComponent<import("react").FC<{
@@ -7897,62 +7905,65 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7897
7905
  dir?: string;
7898
7906
  }>, import("styled-components").DefaultTheme, {}, never>;
7899
7907
  }
7900
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
7901
- import { FC } from 'react';
7902
- export const EventRegistrationRegisterStatusInfo: FC<{
7903
- isRegistered: boolean;
7904
- onBehalfOfUpn: string;
7905
- className?: string;
7906
- }>;
7907
- }
7908
7908
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationDeadlineInfo" {
7909
7909
  import { FC } from 'react';
7910
7910
  import { EventItem } from "libs/reach/util/common/src/index";
7911
7911
  export const EventRegistrationDeadlineInfo: FC<{
7912
- item: EventItem;
7913
- isRegistered: boolean;
7914
7912
  className?: string;
7913
+ isRegistered: boolean;
7914
+ item: EventItem;
7915
7915
  }>;
7916
7916
  }
7917
7917
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationFullSeriesDialog" {
7918
7918
  import { FC } from 'react';
7919
7919
  import { EventItem } from "libs/reach/util/common/src/index";
7920
7920
  export const EventUserRegistrationFullSeriesDialog: FC<{
7921
- item: EventItem;
7922
- visible: boolean;
7923
7921
  isRegistered: boolean;
7922
+ isWaitingList: boolean;
7923
+ isWaitingListEnabled?: boolean;
7924
+ item: EventItem;
7924
7925
  onClick: (doRegister: boolean) => unknown;
7925
7926
  onDismiss: () => unknown;
7927
+ visible: boolean;
7926
7928
  }>;
7927
7929
  }
7928
- declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7929
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7930
- import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
7931
- import { EventResponse } from "libs/reach/util/common/src/index";
7932
- export function useEventRegistrationApi(): {
7933
- setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
7934
- getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
7935
- getParticipants: (eventId: string) => Promise<EventParticipant[]>;
7936
- };
7930
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationLocationSeatsInfo" {
7931
+ import { FC } from 'react';
7932
+ import { EventLocationWithLeftSeats } from "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext";
7933
+ export const EventRegistrationLocationSeatsInfo: FC<{
7934
+ className?: string;
7935
+ hasAnySeatsLeft: boolean;
7936
+ isHidden: boolean;
7937
+ locations: EventLocationWithLeftSeats[];
7938
+ }>;
7939
+ }
7940
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
7941
+ import { FC } from 'react';
7942
+ export const EventRegistrationRegisterStatusInfo: FC<{
7943
+ className?: string;
7944
+ isRegistered: boolean;
7945
+ isWaitingList: boolean;
7946
+ onBehalfOfUpn: string;
7947
+ }>;
7937
7948
  }
7938
7949
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7939
7950
  import { FC } from 'react';
7940
7951
  import { EventResponse } from "libs/reach/util/common/src/index";
7941
7952
  export const EventUserRegistration: FC<{
7953
+ className?: string;
7942
7954
  disabled?: boolean;
7943
7955
  hideInfoMessage?: boolean;
7944
- onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7945
7956
  onRegistrationRedirect?: (url: string) => void;
7946
- className?: string;
7957
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7947
7958
  }>;
7948
7959
  }
7949
7960
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration" {
7950
7961
  import { FC } from 'react';
7951
7962
  import { EventItem, LanguageDirection } from "libs/reach/util/common/src/index";
7952
7963
  export const EventCardUserRegistration: FC<{
7953
- item: EventItem;
7954
- disabled?: boolean;
7955
7964
  className?: string;
7965
+ disabled?: boolean;
7966
+ item: EventItem;
7956
7967
  languageDirection?: LanguageDirection;
7957
7968
  onRegistrationRedirect?: (url: string) => void;
7958
7969
  }>;
@@ -8976,6 +8987,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8976
8987
  }>;
8977
8988
  export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8978
8989
  }
8990
+ declare module "libs/reach/feature/content/src/events/index" {
8991
+ export * from "libs/reach/feature/content/src/events/EventLocationLink";
8992
+ export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
8993
+ export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
8994
+ export * from "libs/reach/feature/content/src/events/eventUtils";
8995
+ export * from "libs/reach/feature/content/src/events/list/EventCard";
8996
+ export * from "libs/reach/feature/content/src/events/useEventsApi";
8997
+ }
8979
8998
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8980
8999
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8981
9000
  export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
@@ -9193,38 +9212,30 @@ declare module "libs/reach/feature/content/src/pages/index" {
9193
9212
  export * from "libs/reach/feature/content/src/pages/utils";
9194
9213
  export * from "libs/reach/feature/content/src/pages/DocumentDownloadButton";
9195
9214
  }
9196
- declare module "libs/reach/feature/content/src/events/index" {
9197
- export * from "libs/reach/feature/content/src/events/EventLocationLink";
9198
- export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
9199
- export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
9200
- export * from "libs/reach/feature/content/src/events/eventUtils";
9201
- export * from "libs/reach/feature/content/src/events/list/EventCard";
9202
- export * from "libs/reach/feature/content/src/events/useEventsApi";
9203
- }
9204
9215
  declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
9205
- import { FC, MouseEvent, ReactNode } from 'react';
9206
9216
  import { Channel, EventItem } from "libs/reach/util/common/src/index";
9217
+ import { FC, MouseEvent, ReactNode } from 'react';
9207
9218
  import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9208
9219
  interface StyleDefinition {
9209
9220
  backgroundColor?: string;
9210
- noShadow?: boolean;
9211
- channelsBackgroundColor?: string;
9212
9221
  bannerContainerDefaultWidth?: number;
9222
+ channelsBackgroundColor?: string;
9223
+ noShadow?: boolean;
9213
9224
  showPlaceholderIfNoBannerInfo?: boolean;
9214
9225
  }
9215
9226
  interface Props {
9216
- item: EventItem;
9217
9227
  baseRoute: string;
9218
- layoutMode?: ItemTileLayoutMode;
9219
9228
  buttons?: ReactNode;
9220
- openTargetInNewWindow?: boolean;
9221
- onClick?: (event: MouseEvent<unknown>) => unknown;
9229
+ className?: string;
9230
+ item: EventItem;
9231
+ layoutMode?: ItemTileLayoutMode;
9222
9232
  onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
9223
- styleDefinition?: StyleDefinition;
9233
+ onClick?: (event: MouseEvent<unknown>) => unknown;
9234
+ onRegistrationRedirect?: (url: string) => void;
9235
+ openTargetInNewWindow?: boolean;
9224
9236
  showBanner?: boolean;
9225
9237
  showBannerAlwaysOnTheLeft?: boolean;
9226
- onRegistrationRedirect?: (url: string) => void;
9227
- className?: string;
9238
+ styleDefinition?: StyleDefinition;
9228
9239
  }
9229
9240
  export const EventItemTile: FC<Props>;
9230
9241
  }
@@ -9569,22 +9580,20 @@ declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
9569
9580
  }
9570
9581
  declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
9571
9582
  import { FC } from 'react';
9572
- import { PublishableItem } from "libs/reach/util/common/src/index";
9573
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9574
- import { PollQuestion, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
9583
+ import { ItemResourceTypes, PollQuestion, PollQuestionAnswer, PollResult, PublishableItem } from "libs/reach/util/common/src/index";
9575
9584
  import { FeedbackItem } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
9576
9585
  import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9577
9586
  export const PollUserContextProvider: FC<{
9578
- item: PublishableItem;
9579
- onBehalfOfUpn?: string;
9580
- resourceType: ItemResourceTypes;
9581
- language: string;
9582
9587
  getAdditionalQuestions?: (pollResult?: PollResult) => {
9583
9588
  questions: PollQuestion[];
9584
9589
  translations: TranslationItem[];
9585
9590
  };
9586
9591
  getAdditionalUserAnswers?: (records: FeedbackItem[]) => PollQuestionAnswer[];
9587
9592
  getPollResults: (itemId: string) => Promise<PollResult>;
9593
+ item: PublishableItem;
9594
+ language: string;
9595
+ onBehalfOfUpn?: string;
9596
+ resourceType: ItemResourceTypes;
9588
9597
  showResult?: boolean;
9589
9598
  }>;
9590
9599
  }
@@ -9621,9 +9630,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9621
9630
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
9622
9631
  import { FC } from 'react';
9623
9632
  export const EventDetailViewUserRegistration: FC<{
9633
+ className?: string;
9624
9634
  hideInfoMessage?: boolean;
9625
9635
  isReadOnly?: boolean;
9626
- className?: string;
9627
9636
  }>;
9628
9637
  }
9629
9638
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
@@ -10548,10 +10557,16 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10548
10557
  import { Channel } from "libs/reach/util/common/src/index";
10549
10558
  import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10550
10559
  export enum StreamEventResponse {
10551
- NotSet = "NOTSET",
10560
+ NotSet = "NOT_SET",
10552
10561
  Registered = "REGISTERED",
10562
+ WaitingList = "WAITING_LIST",
10553
10563
  Declined = "DECLINED"
10554
10564
  }
10565
+ export enum StreamSeriesRegistrationMode {
10566
+ None = "NONE",
10567
+ FullSeries = "FULL_SERIES",
10568
+ PerInstance = "PER_INSTANCE"
10569
+ }
10555
10570
  export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10556
10571
  }
10557
10572
  export function useStreamItemsQuery<TItem extends StreamItem = StreamItem>(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
@@ -10611,7 +10626,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
10611
10626
  export * from "libs/reach/feature/content/src/posts/utils";
10612
10627
  }
10613
10628
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
10614
- import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
10629
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList, SeriesRegistrationMode } from "libs/reach/util/common/src/index";
10615
10630
  import { Post } from "libs/reach/feature/content/src/posts/index";
10616
10631
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10617
10632
  export enum StreamItemTypes {
@@ -10937,6 +10952,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10937
10952
  };
10938
10953
  }) | (TItem & {
10939
10954
  userResponse: EventResponse;
10955
+ registrationSettings: {
10956
+ seriesMode: SeriesRegistrationMode;
10957
+ enableWaitingList?: boolean;
10958
+ enabled?: boolean;
10959
+ showParticipantsToEverybody?: boolean;
10960
+ deadline?: string;
10961
+ };
10940
10962
  cancelInformation: {
10941
10963
  reasons: {
10942
10964
  [key: string]: string;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1032",
7
+ "version": "0.5.0-preview.1034",
8
8
  "dependencies": {}
9
9
  }