tonightpass 0.0.252 → 0.0.254

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -137,6 +137,75 @@ type UserPost = Base & {
137
137
  };
138
138
  type UserPostEndpoints = Endpoint<"GET", "/users/@:username/posts", ArrayResult<UserPost>, ArrayOptions<UserPost>> | Endpoint<"GET", "/users/@:username/posts/:postId", UserPost> | Endpoint<"POST", "/users/~me/posts", UserPost, CreateUserPostDto> | Endpoint<"PUT", "/users/~me/posts/:postId", UserPost, UpdateUserPostDto> | Endpoint<"DELETE", "/users/~me/posts/:postId", void, undefined> | UserPostCommentEndpoints | UserPostRepostEndpoints | UserPostViewEndpoints | UserPostMediaEndpoints;
139
139
 
140
+ declare enum Currency {
141
+ EUR = "EUR",
142
+ USD = "USD",
143
+ GBP = "GBP",
144
+ BGN = "BGN",
145
+ CZK = "CZK",
146
+ DKK = "DKK",
147
+ HUF = "HUF",
148
+ PLN = "PLN",
149
+ RON = "RON",
150
+ SEK = "SEK",
151
+ CHF = "CHF",
152
+ NOK = "NOK",
153
+ ISK = "ISK",
154
+ TRY = "TRY",
155
+ RUB = "RUB",
156
+ UAH = "UAH",
157
+ BAM = "BAM",
158
+ MKD = "MKD",
159
+ ALL = "ALL",
160
+ RSD = "RSD",
161
+ MDL = "MDL",
162
+ GEL = "GEL",
163
+ BYN = "BYN"
164
+ }
165
+ type ExchangeRates = {
166
+ base: Currency.EUR;
167
+ rates: Record<Currency, number>;
168
+ updatedAt: Date;
169
+ };
170
+ type CurrencyConversion = {
171
+ from: Currency;
172
+ to: Currency;
173
+ amount: number;
174
+ };
175
+ type CurrencyConversionResult = {
176
+ originalAmount: number;
177
+ originalCurrency: Currency;
178
+ convertedAmount: number;
179
+ targetCurrency: Currency;
180
+ exchangeRate: number;
181
+ convertedAt: Date;
182
+ };
183
+ type CurrenciesEndpoints = Endpoint<"GET", "/currencies/rates", ExchangeRates> | Endpoint<"POST", "/currencies/convert", CurrencyConversionResult, CurrencyConversion>;
184
+
185
+ type OrganizationEventPromoCode = Base & {
186
+ code: string;
187
+ type: OrganizationEventPromoCodeType;
188
+ value: number;
189
+ maxUses?: number;
190
+ usedCount: number;
191
+ isActive: boolean;
192
+ minCartAmount?: number;
193
+ expiresAt?: Date;
194
+ ticketIds?: string[];
195
+ };
196
+ declare enum OrganizationEventPromoCodeType {
197
+ Percentage = "percentage",
198
+ Fixed = "fixed"
199
+ }
200
+ type OrganizationEventPromoCodeValidation = {
201
+ valid: boolean;
202
+ promoCode?: OrganizationEventPromoCode;
203
+ message?: string;
204
+ };
205
+ type OrganizationEventPromoCodeEndpoints = Endpoint<"GET", "/organizations/@:organizationSlug/events/:eventSlug/promo-codes", ArrayResult<OrganizationEventPromoCode>, ArrayOptions<OrganizationEventPromoCode>> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/promo-codes", OrganizationEventPromoCode, CreateOrganizationEventPromoCodeDto> | Endpoint<"PUT", "/organizations/@:organizationSlug/events/:eventSlug/promo-codes/:promoCodeId", OrganizationEventPromoCode, UpdateOrganizationEventPromoCodeDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug/events/:eventSlug/promo-codes/:promoCodeId", OrganizationEventPromoCode, null> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/promo-codes/validate", OrganizationEventPromoCodeValidation, {
206
+ code: string;
207
+ }>;
208
+
140
209
  type OrderItem = {
141
210
  ticketId: string;
142
211
  ticketName: string;
@@ -149,11 +218,18 @@ declare enum OrderTransferStatus {
149
218
  Pending = "pending",
150
219
  Transferred = "transferred"
151
220
  }
221
+ type OrderDiscount = {
222
+ code: string;
223
+ type: OrganizationEventPromoCodeType;
224
+ value: number;
225
+ amount: number;
226
+ };
152
227
  type Order = Base & {
153
228
  paymentIntent: Stripe__default.PaymentIntent;
154
229
  items: OrderItem[];
155
- currency: string;
230
+ currency: Currency;
156
231
  subtotal: number;
232
+ discount?: OrderDiscount;
157
233
  fee: number;
158
234
  total: number;
159
235
  transferStatus: OrderTransferStatus;
@@ -528,51 +604,6 @@ type UserChannelCountOptions = {
528
604
  };
529
605
  type ChannelEndpoints = Endpoint<"GET", "/channels/~me", ArrayResult<Channel>, ArrayOptions<Channel>> | Endpoint<"GET", "/channels/:organizationSlug", ArrayResult<Channel>, ArrayOptions<Channel>> | Endpoint<"GET", "/users/~me/channels/count", number, UserChannelCountOptions> | Endpoint<"GET", "/users/@:organizationSlug/channels/count", number, UserChannelCountOptions> | Endpoint<"GET", "/channels/~me/:channelId", Channel> | Endpoint<"GET", "/channels/:organizationSlug/:channelId", Channel> | Endpoint<"POST", "/channels/~me", Channel, CreateChannelDto> | Endpoint<"POST", "/channels/:organizationSlug", Channel, CreateChannelDto> | Endpoint<"PUT", "/channels/~me/:channelId", Channel, UpdateChannelDto> | Endpoint<"PUT", "/channels/:organizationSlug/:channelId", Channel, UpdateChannelDto> | Endpoint<"DELETE", "/channels/~me/:channelId", void, undefined> | Endpoint<"DELETE", "/channels/:organizationSlug/:channelId", void, undefined> | Endpoint<"POST", "/channels/~me/:channelId/participants", void, AddParticipantDto> | Endpoint<"POST", "/channels/:organizationSlug/:channelId/participants", void, AddParticipantDto> | Endpoint<"DELETE", "/channels/~me/:channelId/participants/:username", void, undefined> | Endpoint<"DELETE", "/channels/:organizationSlug/:channelId/participants/:username", void, undefined> | Endpoint<"GET", "/channels/~me/:channelId/members", ArrayResult<ChannelMember>, ArrayOptions<ChannelMember>> | Endpoint<"GET", "/channels/:organizationSlug/:channelId/members", ArrayResult<ChannelMember>, ArrayOptions<ChannelMember>>;
530
606
 
531
- declare enum Currency {
532
- EUR = "EUR",
533
- USD = "USD",
534
- GBP = "GBP",
535
- BGN = "BGN",
536
- CZK = "CZK",
537
- DKK = "DKK",
538
- HUF = "HUF",
539
- PLN = "PLN",
540
- RON = "RON",
541
- SEK = "SEK",
542
- CHF = "CHF",
543
- NOK = "NOK",
544
- ISK = "ISK",
545
- TRY = "TRY",
546
- RUB = "RUB",
547
- UAH = "UAH",
548
- BAM = "BAM",
549
- MKD = "MKD",
550
- ALL = "ALL",
551
- RSD = "RSD",
552
- MDL = "MDL",
553
- GEL = "GEL",
554
- BYN = "BYN"
555
- }
556
- type ExchangeRates = {
557
- base: Currency.EUR;
558
- rates: Record<Currency, number>;
559
- updatedAt: Date;
560
- };
561
- type CurrencyConversion = {
562
- from: Currency;
563
- to: Currency;
564
- amount: number;
565
- };
566
- type CurrencyConversionResult = {
567
- originalAmount: number;
568
- originalCurrency: Currency;
569
- convertedAmount: number;
570
- targetCurrency: Currency;
571
- exchangeRate: number;
572
- convertedAt: Date;
573
- };
574
- type CurrenciesEndpoints = Endpoint<"GET", "/currencies/rates", ExchangeRates> | Endpoint<"POST", "/currencies/convert", CurrencyConversionResult, CurrencyConversion>;
575
-
576
607
  declare enum ErrorType {
577
608
  AuthEmailAlreadyExists = "auth.email-already-exists",
578
609
  AuthUsernameAlreadyExists = "auth.username-already-exists",
@@ -895,7 +926,7 @@ type SearchOrganizationEventsOptions = ArrayOptions<OrganizationEvent> & {
895
926
  type OrganizationEventCalendar = {
896
927
  [date: string]: OrganizationEvent[];
897
928
  };
898
- type OrganizationEventEndpoints = Endpoint<"GET", "/organizations/events/search", ArrayResult<OrganizationEvent>, SearchOrganizationEventsOptions> | Endpoint<"GET", "/organizations/events/calendar/:year/:month", OrganizationEventCalendar> | Endpoint<"GET", "/organizations/events", ArrayResult<OrganizationEvent>, OrganizationEventArrayOptions> | Endpoint<"GET", "/organizations/events/suggestions", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/events/nearby", ArrayResult<OrganizationEvent>, OrganizationEventNearbyOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events", ArrayResult<OrganizationEvent>, OrganizationEventArrayOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/@:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"PUT", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent, null> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/files/:eventFileType", string, FormData> | Endpoint<"POST", "/events/files/:eventFileType", string, FormData> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/request", OrganizationEventRequestResponse> | OrganizationEventOrderEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints | OrganizationEventViewEndpoints;
929
+ type OrganizationEventEndpoints = Endpoint<"GET", "/organizations/events/search", ArrayResult<OrganizationEvent>, SearchOrganizationEventsOptions> | Endpoint<"GET", "/organizations/events/calendar/:year/:month", OrganizationEventCalendar> | Endpoint<"GET", "/organizations/events", ArrayResult<OrganizationEvent>, OrganizationEventArrayOptions> | Endpoint<"GET", "/organizations/events/suggestions", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/events/nearby", ArrayResult<OrganizationEvent>, OrganizationEventNearbyOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events", ArrayResult<OrganizationEvent>, OrganizationEventArrayOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/@:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"PUT", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug/events/:eventSlug", OrganizationEvent, null> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/files/:eventFileType", string, FormData> | Endpoint<"POST", "/events/files/:eventFileType", string, FormData> | Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/request", OrganizationEventRequestResponse> | OrganizationEventOrderEndpoints | OrganizationEventPromoCodeEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints | OrganizationEventViewEndpoints;
899
930
 
900
931
  type OrganizationAnalyticsOverview = {
901
932
  metrics: {
@@ -993,27 +1024,35 @@ type OrganizationBilling = {
993
1024
  vatRate: number;
994
1025
  };
995
1026
  type OrganizationBillingAccount = Stripe__default.Account;
1027
+ declare enum OrganizationPayoutStatus {
1028
+ Paid = "paid",
1029
+ Pending = "pending",
1030
+ InTransit = "in_transit",
1031
+ Failed = "failed",
1032
+ Canceled = "canceled"
1033
+ }
996
1034
  type OrganizationBillingBalance = {
997
1035
  balance: {
998
1036
  amount: number;
999
- currency: string;
1037
+ currency: Currency;
1000
1038
  }[];
1001
1039
  pending: {
1002
1040
  amount: number;
1003
- currency: string;
1041
+ currency: Currency;
1004
1042
  }[];
1005
1043
  payouts: {
1006
1044
  id: string;
1007
1045
  amount: number;
1008
- currency: string;
1009
- status: string;
1046
+ currency: Currency;
1047
+ status: OrganizationPayoutStatus;
1010
1048
  arrival_date: number;
1011
1049
  }[];
1012
1050
  };
1013
1051
  type OrganizationBillingPendingRevenue = {
1014
1052
  amount: number;
1015
1053
  count: number;
1016
- };
1054
+ currency: Currency;
1055
+ }[];
1017
1056
  type OrganizationIdentity = OrganizationProfile;
1018
1057
  declare enum OrganizationFileType {
1019
1058
  Avatar = "avatar",
@@ -1394,6 +1433,29 @@ declare class CreateOrganizationEventDto extends BaseOrganizationEventDto implem
1394
1433
 
1395
1434
  declare class CreateOrganizationEventOrderDto {
1396
1435
  cart: string[];
1436
+ promoCode?: string;
1437
+ }
1438
+
1439
+ declare class CreateOrganizationEventPromoCodeDto {
1440
+ code: string;
1441
+ type: OrganizationEventPromoCodeType;
1442
+ value: number;
1443
+ maxUses?: number;
1444
+ isActive?: boolean;
1445
+ minCartAmount?: number;
1446
+ expiresAt?: Date;
1447
+ ticketIds?: string[];
1448
+ }
1449
+
1450
+ declare class UpdateOrganizationEventPromoCodeDto {
1451
+ code?: string;
1452
+ type?: OrganizationEventPromoCodeType;
1453
+ value?: number;
1454
+ maxUses?: number;
1455
+ isActive?: boolean;
1456
+ minCartAmount?: number;
1457
+ expiresAt?: Date;
1458
+ ticketIds?: string[];
1397
1459
  }
1398
1460
 
1399
1461
  declare class AtLeastOneMediaOnUpdateConstraint implements ValidatorConstraintInterface {
@@ -1778,7 +1840,57 @@ declare const orders: (client: Client) => {
1778
1840
  get: (orderId: string) => Promise<Order>;
1779
1841
  };
1780
1842
 
1843
+ type StripeFees = {
1844
+ transactionFee: number;
1845
+ europeRate: number;
1846
+ nonEuropeRate: number;
1847
+ connectRate: number;
1848
+ };
1849
+ type TonightPassFees = {
1850
+ percentage: number;
1851
+ minimumCommission: number;
1852
+ };
1853
+ declare enum BillingLocality {
1854
+ Europe = "Europe",
1855
+ NonEurope = "Non Europe"
1856
+ }
1857
+ type BillingParameters = {
1858
+ locality: BillingLocality;
1859
+ };
1860
+ /**
1861
+ * Minimum commission TonightPass charges per ticket (in euros).
1862
+ */
1863
+ declare const MINIMUM_COMMISSION = 0.95;
1864
+ /**
1865
+ * Minimum amount (in cents) that can be charged via Stripe.
1866
+ * Below this threshold, the order total is rounded up to this value
1867
+ * so the platform fee is always covered.
1868
+ * Derived from MINIMUM_COMMISSION.
1869
+ */
1870
+ declare const MINIMUM_CHARGEABLE_AMOUNT: number;
1871
+ declare const DEFAULT_STRIPE_FEES: StripeFees;
1872
+ declare const DEFAULT_TONIGHTPASS_FEES: TonightPassFees;
1873
+ declare const DEFAULT_BILLING_PARAMETERS: BillingParameters;
1874
+ /**
1875
+ * Calculate the platform fee for a ticket (in cents).
1876
+ * @param ticketPrice - Ticket price in cents
1877
+ * @param isFeesIncluded - Whether fees are included in the ticket price
1878
+ * @param stripeFees - Stripe fee configuration
1879
+ * @param tonightPassFees - TonightPass fee configuration
1880
+ * @param params - Billing parameters (locality)
1881
+ * @returns Fee amount in cents
1882
+ */
1883
+ declare function calculateTicketFee(ticketPrice: number, isFeesIncluded: boolean, stripeFees?: StripeFees, tonightPassFees?: TonightPassFees, params?: BillingParameters): number;
1884
+ /**
1885
+ * Applies the minimum chargeable amount rule after a discount.
1886
+ * - If total is 0 → stays 0 (free order)
1887
+ * - If total is between 1 and MINIMUM_CHARGEABLE_AMOUNT-1 → rounds up to MINIMUM_CHARGEABLE_AMOUNT
1888
+ * - Otherwise → unchanged
1889
+ */
1890
+ declare function applyMinimumChargeableAmount(total: number): number;
1891
+
1781
1892
  declare const isBrowser: boolean;
1893
+
1782
1894
  /**
1783
1895
  * File object with uri/name/type structure
1784
1896
  */
@@ -1794,6 +1906,7 @@ type FileObject = {
1794
1906
  * @returns FormData object with the file(s) appended
1795
1907
  */
1796
1908
  declare function buildFileFormData(key: string, files: File | File[] | FileList | FileObject | FileObject[]): FormData;
1909
+
1797
1910
  /**
1798
1911
  * Check if a member role has at least the specified minimum role level
1799
1912
  * @param memberRole - The member's current role
@@ -1833,6 +1946,13 @@ declare const organizations: (client: Client) => {
1833
1946
  orders: {
1834
1947
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
1835
1948
  };
1949
+ promoCodes: {
1950
+ getAll: (organizationSlug: string, eventSlug: string, options?: ArrayOptions<OrganizationEventPromoCode>) => Promise<ArrayResult<OrganizationEventPromoCode>>;
1951
+ create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventPromoCodeDto) => Promise<OrganizationEventPromoCode>;
1952
+ update: (organizationSlug: string, eventSlug: string, promoCodeId: string, data: UpdateOrganizationEventPromoCodeDto) => Promise<OrganizationEventPromoCode>;
1953
+ delete: (organizationSlug: string, eventSlug: string, promoCodeId: string) => Promise<OrganizationEventPromoCode>;
1954
+ validate: (organizationSlug: string, eventSlug: string, code: string) => Promise<OrganizationEventPromoCodeValidation>;
1955
+ };
1836
1956
  styles: {
1837
1957
  getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
1838
1958
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
@@ -2104,6 +2224,13 @@ declare class TonightPass {
2104
2224
  orders: {
2105
2225
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
2106
2226
  };
2227
+ promoCodes: {
2228
+ getAll: (organizationSlug: string, eventSlug: string, options?: ArrayOptions<OrganizationEventPromoCode>) => Promise<ArrayResult<OrganizationEventPromoCode>>;
2229
+ create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventPromoCodeDto) => Promise<OrganizationEventPromoCode>;
2230
+ update: (organizationSlug: string, eventSlug: string, promoCodeId: string, data: UpdateOrganizationEventPromoCodeDto) => Promise<OrganizationEventPromoCode>;
2231
+ delete: (organizationSlug: string, eventSlug: string, promoCodeId: string) => Promise<OrganizationEventPromoCode>;
2232
+ validate: (organizationSlug: string, eventSlug: string, code: string) => Promise<OrganizationEventPromoCodeValidation>;
2233
+ };
2107
2234
  styles: {
2108
2235
  getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
2109
2236
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
@@ -2397,4 +2524,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
2397
2524
  client: ChannelWebSocketClient;
2398
2525
  };
2399
2526
 
2400
- export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type CacheStore, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type Channel, type ChannelDeleteEvent, type ChannelEndpoints, type ChannelMember, type ChannelMemberJoinEvent, type ChannelMemberLeaveEvent, ChannelMemberRole, type ChannelMessage, type ChannelMessageCreateEvent, type ChannelMessageDeleteEvent, type ChannelMessageEndpoints, type ChannelMessageReaction, type ChannelMessageReadByEntry, ChannelMessageReportReason, type ChannelMessageUpdateEvent, type ChannelParticipant, ChannelStatus, ChannelType, type ChannelUpdateEvent, ChannelWebSocketClient, type ChannelWebSocketEvent, Client, type ClientOptions, ContentOrAttachmentsConstraint, CreateApiKeyDto, CreateChannelDto, CreateChannelMessageDto, CreateLocationDto, CreateOrganizationDto, CreateOrganizationEventDto, type CreateOrganizationEventInput, CreateOrganizationEventOrderDto, CreateOrganizationEventStyleDto, CreateOrganizationEventTicketDto, type CreateOrganizationEventTicketInput, CreateOrganizationIdentityDto, CreateOrganizationMemberDto, CreateOrganizationMemberInvitationLinkDto, CreateUserDto, CreateUserIdentityDto, CreateUserPostCommentDto, CreateUserPostDto, CreateUserPostRepostDto, type CurrenciesEndpoints, Currency, type CurrencyConversion, type CurrencyConversionResult, DEFAULT_API_URL, type DeepPartial, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type Location$1 as Location, MemoryCacheStore, type MemorySnapshot, type NearbyCitiesOptions, type NotificationEndpoints, OAuth2Provider, type Order, type OrderEndpoints, type OrderItem, OrderTransferStatus, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationBillingBalance, type OrganizationBillingPendingRevenue, type OrganizationCustomer, type OrganizationCustomerMetadata, type OrganizationCustomersEndpoints, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type ProxyEndpoints, type ProxyMediaOptions, type ProxyMediaResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type SitemapCounts, type SitemapEndpoints, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, UpdateApiKeyDto, UpdateChannelDto, UpdateChannelMessageDto, UpdateLocationDto, UpdateOrganizationDto, UpdateOrganizationEventDto, UpdateOrganizationEventStyleDto, UpdateOrganizationEventTicketDto, UpdateOrganizationIdentityDto, UpdateOrganizationMemberDto, UpdateUserDto, UpdateUserPostCommentDto, UpdateUserPostDto, type User, type UserBooking, type UserBookingEndpoints, type UserBookingTicket, type UserBookingTicketEndpoints, type UserBookingWithoutTickets, type UserChannelCountOptions, type UserConnection, type UserConnectionClient, type UserConnectionDevice, type UserConnectionOS, type UserCustomer, type UserCustomerMetadata, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, UserNotificationType, type UserOAuthProvider, type UserPost, type UserPostComment, type UserPostCommentEndpoints, type UserPostEndpoints, type UserPostMedia, type UserPostMediaEndpoints, UserPostMediaType, type UserPostRepost, type UserPostRepostEndpoints, type UserPostViewEndpoints, type UserPostViewOptions, type UserPostViewResult, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, users };
2527
+ export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, BillingLocality, type BillingParameters, type Body, type CacheEntry, CacheManager, type CacheOptions, type CacheStore, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type Channel, type ChannelDeleteEvent, type ChannelEndpoints, type ChannelMember, type ChannelMemberJoinEvent, type ChannelMemberLeaveEvent, ChannelMemberRole, type ChannelMessage, type ChannelMessageCreateEvent, type ChannelMessageDeleteEvent, type ChannelMessageEndpoints, type ChannelMessageReaction, type ChannelMessageReadByEntry, ChannelMessageReportReason, type ChannelMessageUpdateEvent, type ChannelParticipant, ChannelStatus, ChannelType, type ChannelUpdateEvent, ChannelWebSocketClient, type ChannelWebSocketEvent, Client, type ClientOptions, ContentOrAttachmentsConstraint, CreateApiKeyDto, CreateChannelDto, CreateChannelMessageDto, CreateLocationDto, CreateOrganizationDto, CreateOrganizationEventDto, type CreateOrganizationEventInput, CreateOrganizationEventOrderDto, CreateOrganizationEventPromoCodeDto, CreateOrganizationEventStyleDto, CreateOrganizationEventTicketDto, type CreateOrganizationEventTicketInput, CreateOrganizationIdentityDto, CreateOrganizationMemberDto, CreateOrganizationMemberInvitationLinkDto, CreateUserDto, CreateUserIdentityDto, CreateUserPostCommentDto, CreateUserPostDto, CreateUserPostRepostDto, type CurrenciesEndpoints, Currency, type CurrencyConversion, type CurrencyConversionResult, DEFAULT_API_URL, DEFAULT_BILLING_PARAMETERS, DEFAULT_STRIPE_FEES, DEFAULT_TONIGHTPASS_FEES, type DeepPartial, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type Location$1 as Location, MINIMUM_CHARGEABLE_AMOUNT, MINIMUM_COMMISSION, MemoryCacheStore, type MemorySnapshot, type NearbyCitiesOptions, type NotificationEndpoints, OAuth2Provider, type Order, type OrderDiscount, type OrderEndpoints, type OrderItem, OrderTransferStatus, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationBillingBalance, type OrganizationBillingPendingRevenue, type OrganizationCustomer, type OrganizationCustomerMetadata, type OrganizationCustomersEndpoints, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventPromoCode, type OrganizationEventPromoCodeEndpoints, OrganizationEventPromoCodeType, type OrganizationEventPromoCodeValidation, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type ProxyEndpoints, type ProxyMediaOptions, type ProxyMediaResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type SitemapCounts, type SitemapEndpoints, type StringifiedQuery, type StringifiedQueryValue, type StripeFees, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TonightPassFees, type TypingStartEvent, type TypingStopEvent, UpdateApiKeyDto, UpdateChannelDto, UpdateChannelMessageDto, UpdateLocationDto, UpdateOrganizationDto, UpdateOrganizationEventDto, UpdateOrganizationEventPromoCodeDto, UpdateOrganizationEventStyleDto, UpdateOrganizationEventTicketDto, UpdateOrganizationIdentityDto, UpdateOrganizationMemberDto, UpdateUserDto, UpdateUserPostCommentDto, UpdateUserPostDto, type User, type UserBooking, type UserBookingEndpoints, type UserBookingTicket, type UserBookingTicketEndpoints, type UserBookingWithoutTickets, type UserChannelCountOptions, type UserConnection, type UserConnectionClient, type UserConnectionDevice, type UserConnectionOS, type UserCustomer, type UserCustomerMetadata, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, UserNotificationType, type UserOAuthProvider, type UserPost, type UserPostComment, type UserPostCommentEndpoints, type UserPostEndpoints, type UserPostMedia, type UserPostMediaEndpoints, UserPostMediaType, type UserPostRepost, type UserPostRepostEndpoints, type UserPostViewEndpoints, type UserPostViewOptions, type UserPostViewResult, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, applyMinimumChargeableAmount, auth, buildFileFormData, calculateTicketFee, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, users };