tonightpass 0.0.256 → 0.0.258

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.ts CHANGED
@@ -137,31 +137,158 @@ 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
+ /**
141
+ * All currencies supported by Stripe for card payments.
142
+ * Source: https://docs.stripe.com/currencies#presentment-currencies
143
+ */
140
144
  declare enum Currency {
141
- EUR = "EUR",
142
145
  USD = "USD",
146
+ EUR = "EUR",
143
147
  GBP = "GBP",
148
+ ARS = "ARS",
149
+ AWG = "AWG",
150
+ BBD = "BBD",
151
+ BMD = "BMD",
152
+ BOB = "BOB",
153
+ BRL = "BRL",
154
+ BSD = "BSD",
155
+ BZD = "BZD",
156
+ CAD = "CAD",
157
+ CLP = "CLP",
158
+ COP = "COP",
159
+ CRC = "CRC",
160
+ DOP = "DOP",
161
+ FKP = "FKP",
162
+ GTQ = "GTQ",
163
+ GYD = "GYD",
164
+ HNL = "HNL",
165
+ HTG = "HTG",
166
+ JMD = "JMD",
167
+ KYD = "KYD",
168
+ MXN = "MXN",
169
+ NIO = "NIO",
170
+ PAB = "PAB",
171
+ PEN = "PEN",
172
+ PYG = "PYG",
173
+ SRD = "SRD",
174
+ TTD = "TTD",
175
+ UYU = "UYU",
176
+ XCD = "XCD",
177
+ ALL = "ALL",
178
+ BAM = "BAM",
144
179
  BGN = "BGN",
180
+ BYN = "BYN",
181
+ CHF = "CHF",
145
182
  CZK = "CZK",
146
183
  DKK = "DKK",
184
+ GEL = "GEL",
185
+ GIP = "GIP",
147
186
  HUF = "HUF",
187
+ ISK = "ISK",
188
+ MDL = "MDL",
189
+ MKD = "MKD",
190
+ NOK = "NOK",
148
191
  PLN = "PLN",
149
192
  RON = "RON",
193
+ RSD = "RSD",
194
+ RUB = "RUB",
150
195
  SEK = "SEK",
151
- CHF = "CHF",
152
- NOK = "NOK",
153
- ISK = "ISK",
154
196
  TRY = "TRY",
155
- RUB = "RUB",
156
197
  UAH = "UAH",
157
- BAM = "BAM",
158
- MKD = "MKD",
159
- ALL = "ALL",
160
- RSD = "RSD",
161
- MDL = "MDL",
162
- GEL = "GEL",
163
- BYN = "BYN"
198
+ AED = "AED",
199
+ AFN = "AFN",
200
+ AMD = "AMD",
201
+ AZN = "AZN",
202
+ BDT = "BDT",
203
+ BND = "BND",
204
+ CNY = "CNY",
205
+ HKD = "HKD",
206
+ IDR = "IDR",
207
+ ILS = "ILS",
208
+ INR = "INR",
209
+ JPY = "JPY",
210
+ KGS = "KGS",
211
+ KHR = "KHR",
212
+ KRW = "KRW",
213
+ KZT = "KZT",
214
+ LAK = "LAK",
215
+ LBP = "LBP",
216
+ LKR = "LKR",
217
+ MMK = "MMK",
218
+ MNT = "MNT",
219
+ MOP = "MOP",
220
+ MVR = "MVR",
221
+ MYR = "MYR",
222
+ NPR = "NPR",
223
+ PHP = "PHP",
224
+ PKR = "PKR",
225
+ QAR = "QAR",
226
+ SAR = "SAR",
227
+ SGD = "SGD",
228
+ THB = "THB",
229
+ TJS = "TJS",
230
+ TWD = "TWD",
231
+ UZS = "UZS",
232
+ VND = "VND",
233
+ YER = "YER",
234
+ AOA = "AOA",
235
+ BWP = "BWP",
236
+ CDF = "CDF",
237
+ CVE = "CVE",
238
+ DJF = "DJF",
239
+ DZD = "DZD",
240
+ EGP = "EGP",
241
+ ETB = "ETB",
242
+ GMD = "GMD",
243
+ GNF = "GNF",
244
+ KES = "KES",
245
+ KMF = "KMF",
246
+ LRD = "LRD",
247
+ LSL = "LSL",
248
+ MAD = "MAD",
249
+ MGA = "MGA",
250
+ MUR = "MUR",
251
+ MWK = "MWK",
252
+ MZN = "MZN",
253
+ NAD = "NAD",
254
+ NGN = "NGN",
255
+ RWF = "RWF",
256
+ SCR = "SCR",
257
+ SHP = "SHP",
258
+ SLE = "SLE",
259
+ SOS = "SOS",
260
+ STD = "STD",
261
+ SZL = "SZL",
262
+ TZS = "TZS",
263
+ UGX = "UGX",
264
+ XAF = "XAF",
265
+ XOF = "XOF",
266
+ ZAR = "ZAR",
267
+ ZMW = "ZMW",
268
+ ANG = "ANG",
269
+ AUD = "AUD",
270
+ BIF = "BIF",
271
+ FJD = "FJD",
272
+ NZD = "NZD",
273
+ PGK = "PGK",
274
+ SBD = "SBD",
275
+ TOP = "TOP",
276
+ VUV = "VUV",
277
+ WST = "WST",
278
+ XCG = "XCG",
279
+ XPF = "XPF"
164
280
  }
281
+ /**
282
+ * Zero-decimal currencies have no minor units (no cents).
283
+ * Amounts are specified in the major unit directly (e.g., 500 JPY = 500 yen).
284
+ * Source: https://docs.stripe.com/currencies#zero-decimal
285
+ */
286
+ declare const ZERO_DECIMAL_CURRENCIES: Currency[];
287
+ /**
288
+ * Minimum charge amounts per currency (in smallest unit).
289
+ * Source: https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts
290
+ */
291
+ declare const MINIMUM_CHARGE_AMOUNTS: Partial<Record<Currency, number>>;
165
292
  type ExchangeRates = {
166
293
  base: Currency.EUR;
167
294
  rates: Record<Currency, number>;
@@ -836,6 +963,7 @@ type OrganizationEvent = Base & {
836
963
  organization: OrganizationProfile;
837
964
  type: OrganizationEventType;
838
965
  visibility: OrganizationEventVisibilityType;
966
+ currency: Currency;
839
967
  flyers: string[];
840
968
  trailers: string[];
841
969
  location: Location$1;
@@ -893,7 +1021,6 @@ type ExternalOffer = {
893
1021
  name: string;
894
1022
  description?: string;
895
1023
  price: number;
896
- currency: string;
897
1024
  available: boolean;
898
1025
  };
899
1026
  type ExternalContact = {
@@ -1128,7 +1255,6 @@ type RoadmapFeature = {
1128
1255
  date?: string;
1129
1256
  };
1130
1257
  type AddRoadmapReactionBody = {
1131
- featureId: string;
1132
1258
  reaction: RoadmapReaction;
1133
1259
  };
1134
1260
  type RoadmapEndpoints = Endpoint<"GET", "/roadmap/reactions/:featureId", RoadmapReactionCounts, {
@@ -1383,7 +1509,6 @@ declare class CreateOrganizationEventTicketDto implements CreateOrganizationEven
1383
1509
  quantity: number;
1384
1510
  type: OrganizationEventTicketType;
1385
1511
  category: OrganizationEventTicketCategory;
1386
- currency: Currency;
1387
1512
  isVisible: boolean;
1388
1513
  isFeesIncluded: boolean;
1389
1514
  startAt?: Date;
@@ -1398,7 +1523,6 @@ declare class UpdateOrganizationEventTicketDto implements DeepPartial<CreateOrga
1398
1523
  quantity?: number;
1399
1524
  type?: OrganizationEventTicketType;
1400
1525
  category?: OrganizationEventTicketCategory;
1401
- currency?: Currency;
1402
1526
  isVisible?: boolean;
1403
1527
  isFeesIncluded?: boolean;
1404
1528
  startAt?: Date;
@@ -1421,6 +1545,7 @@ declare class BaseOrganizationEventDto {
1421
1545
  description: string;
1422
1546
  type: OrganizationEventType;
1423
1547
  visibility: OrganizationEventVisibilityType;
1548
+ currency: Currency;
1424
1549
  flyers: string[];
1425
1550
  trailers: string[];
1426
1551
  location: CreateLocationDto;
@@ -1705,10 +1830,10 @@ type ClientOptions = {
1705
1830
  readonly cache?: CacheOptions;
1706
1831
  };
1707
1832
  declare class Client {
1708
- private options;
1709
1833
  private apiKey?;
1710
1834
  private accessToken?;
1711
1835
  private cacheManager?;
1836
+ baseURL: string;
1712
1837
  readonly url: (path: string, params: Query<string>) => string;
1713
1838
  constructor(options: ClientOptions);
1714
1839
  setOptions(options: ClientOptions): void;
@@ -1841,6 +1966,23 @@ declare const orders: (client: Client) => {
1841
1966
  get: (orderId: string) => Promise<Order>;
1842
1967
  };
1843
1968
 
1969
+ /**
1970
+ * Check if a currency is zero-decimal (no minor units).
1971
+ * For zero-decimal currencies, amounts are in the major unit (e.g., 500 JPY = 500 yen).
1972
+ */
1973
+ declare function isZeroDecimalCurrency(currency: Currency): boolean;
1974
+ /**
1975
+ * Convert a human-readable price to the smallest currency unit for Stripe.
1976
+ * For EUR/USD: 15.00 → 1500 (cents)
1977
+ * For JPY: 500 → 500 (yen, already smallest unit)
1978
+ */
1979
+ declare function toSmallestUnit(amount: number, currency: Currency): number;
1980
+ /**
1981
+ * Convert from smallest currency unit to human-readable price.
1982
+ * For EUR/USD: 1500 → 15.00
1983
+ * For JPY: 500 → 500
1984
+ */
1985
+ declare function fromSmallestUnit(amount: number, currency: Currency): number;
1844
1986
  type StripeFees = {
1845
1987
  transactionFee: number;
1846
1988
  europeRate: number;
@@ -1859,36 +2001,43 @@ type BillingParameters = {
1859
2001
  locality: BillingLocality;
1860
2002
  };
1861
2003
  /**
1862
- * Minimum commission TonightPass charges per ticket (in euros).
2004
+ * Minimum commission TonightPass charges per ticket (in EUR cents).
1863
2005
  */
1864
- declare const MINIMUM_COMMISSION = 0.95;
2006
+ declare const MINIMUM_COMMISSION = 95;
1865
2007
  /**
1866
- * Minimum amount (in cents) that can be charged via Stripe.
1867
- * Below this threshold, the order total is rounded up to this value
1868
- * so the platform fee is always covered.
1869
- * Derived from MINIMUM_COMMISSION.
2008
+ * Default minimum chargeable amount (in smallest currency unit).
2009
+ * Used as fallback when the currency has no specific Stripe minimum.
1870
2010
  */
1871
- declare const MINIMUM_CHARGEABLE_AMOUNT: number;
2011
+ declare const MINIMUM_CHARGEABLE_AMOUNT = 95;
1872
2012
  declare const DEFAULT_STRIPE_FEES: StripeFees;
1873
2013
  declare const DEFAULT_TONIGHTPASS_FEES: TonightPassFees;
1874
2014
  declare const DEFAULT_BILLING_PARAMETERS: BillingParameters;
1875
2015
  /**
1876
- * Calculate the platform fee for a ticket (in cents).
1877
- * @param ticketPrice - Ticket price in cents
2016
+ * Get the minimum chargeable amount for a currency (in smallest unit).
2017
+ * Falls back to the Stripe minimum for the currency, or MINIMUM_COMMISSION.
2018
+ */
2019
+ declare function getMinimumChargeableAmount(currency: Currency): number;
2020
+ /**
2021
+ * Calculate the platform fee for a ticket (in smallest currency unit).
2022
+ * @param ticketPrice - Ticket price in smallest unit (cents, yen, etc.)
1878
2023
  * @param isFeesIncluded - Whether fees are included in the ticket price
1879
2024
  * @param stripeFees - Stripe fee configuration
1880
2025
  * @param tonightPassFees - TonightPass fee configuration
1881
2026
  * @param params - Billing parameters (locality)
1882
- * @returns Fee amount in cents
2027
+ * @returns Fee amount in smallest currency unit
1883
2028
  */
1884
2029
  declare function calculateTicketFee(ticketPrice: number, isFeesIncluded: boolean, stripeFees?: StripeFees, tonightPassFees?: TonightPassFees, params?: BillingParameters): number;
1885
2030
  /**
1886
2031
  * Applies the minimum chargeable amount rule after a discount.
1887
2032
  * - If total is 0 → stays 0 (free order)
1888
- * - If total is between 1 and MINIMUM_CHARGEABLE_AMOUNT-1 → rounds up to MINIMUM_CHARGEABLE_AMOUNT
2033
+ * - If total > 0 but below the minimum → rounds up to minimum
1889
2034
  * - Otherwise → unchanged
2035
+ *
2036
+ * @param total - Order total in smallest currency unit
2037
+ * @param minimumAmount - Minimum chargeable amount in the same currency unit
2038
+ * (use getMinimumChargeableAmount or convert MINIMUM_COMMISSION via exchange rates)
1890
2039
  */
1891
- declare function applyMinimumChargeableAmount(total: number): number;
2040
+ declare function applyMinimumChargeableAmount(total: number, minimumAmount?: number): number;
1892
2041
 
1893
2042
  declare const isBrowser: boolean;
1894
2043
 
@@ -2529,4 +2678,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
2529
2678
  client: ChannelWebSocketClient;
2530
2679
  };
2531
2680
 
2532
- 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 };
2681
+ 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_CHARGE_AMOUNTS, 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, ZERO_DECIMAL_CURRENCIES, apiKeys, applyMinimumChargeableAmount, auth, buildFileFormData, calculateTicketFee, careers, channels, channelsWS, currencies, feed, fromSmallestUnit, getMinimumChargeableAmount, health, isBrowser, isMemberRoleAtLeast, isZeroDecimalCurrency, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, toSmallestUnit, users };