tonightpass 0.0.257 → 0.0.259

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,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 = {
@@ -1148,6 +1275,18 @@ type SitemapCounts = {
1148
1275
  };
1149
1276
  type SitemapEndpoints = Endpoint<"GET", "/sitemaps/counts", SitemapCounts>;
1150
1277
 
1278
+ type WeatherForecast = {
1279
+ date: string;
1280
+ tempMin: number;
1281
+ tempMax: number;
1282
+ conditionText: string;
1283
+ conditionIcon: string;
1284
+ conditionCode: number;
1285
+ chanceOfRain: number;
1286
+ windKph: number;
1287
+ };
1288
+ type WeatherEndpoints = Endpoint<"GET", "/weather/forecast", WeatherForecast | null>;
1289
+
1151
1290
  type WebhookEndpoints = Endpoint<"POST", "/webhooks/stripe", boolean, Stripe__default.Event>;
1152
1291
 
1153
1292
  type Base = {
@@ -1238,7 +1377,7 @@ type SSEEndpoints = Extract<Endpoints, {
1238
1377
  res: ReadableStream<infer _>;
1239
1378
  path: infer P;
1240
1379
  } ? P : never : never;
1241
- type Endpoints = ApiKeyEndpoints | AuthEndpoints | CareerEndpoints | ChannelEndpoints | ChannelMessageEndpoints | CurrenciesEndpoints | FeedEndpoints | HealthEndpoints | OrderEndpoints | OrganizationEndpoints | PlaceEndpoints | ProfileEndpoints | ProxyEndpoints | RoadmapEndpoints | SitemapEndpoints | UserEndpoints | WebhookEndpoints | NotificationEndpoints;
1380
+ type Endpoints = ApiKeyEndpoints | AuthEndpoints | CareerEndpoints | ChannelEndpoints | ChannelMessageEndpoints | CurrenciesEndpoints | FeedEndpoints | HealthEndpoints | OrderEndpoints | OrganizationEndpoints | PlaceEndpoints | ProfileEndpoints | ProxyEndpoints | RoadmapEndpoints | SitemapEndpoints | UserEndpoints | WeatherEndpoints | WebhookEndpoints | NotificationEndpoints;
1242
1381
 
1243
1382
  declare enum ApiKeyTier {
1244
1383
  PUBLIC = "public",
@@ -1382,7 +1521,6 @@ declare class CreateOrganizationEventTicketDto implements CreateOrganizationEven
1382
1521
  quantity: number;
1383
1522
  type: OrganizationEventTicketType;
1384
1523
  category: OrganizationEventTicketCategory;
1385
- currency: Currency;
1386
1524
  isVisible: boolean;
1387
1525
  isFeesIncluded: boolean;
1388
1526
  startAt?: Date;
@@ -1397,7 +1535,6 @@ declare class UpdateOrganizationEventTicketDto implements DeepPartial<CreateOrga
1397
1535
  quantity?: number;
1398
1536
  type?: OrganizationEventTicketType;
1399
1537
  category?: OrganizationEventTicketCategory;
1400
- currency?: Currency;
1401
1538
  isVisible?: boolean;
1402
1539
  isFeesIncluded?: boolean;
1403
1540
  startAt?: Date;
@@ -1420,6 +1557,7 @@ declare class BaseOrganizationEventDto {
1420
1557
  description: string;
1421
1558
  type: OrganizationEventType;
1422
1559
  visibility: OrganizationEventVisibilityType;
1560
+ currency: Currency;
1423
1561
  flyers: string[];
1424
1562
  trailers: string[];
1425
1563
  location: CreateLocationDto;
@@ -1707,7 +1845,7 @@ declare class Client {
1707
1845
  private apiKey?;
1708
1846
  private accessToken?;
1709
1847
  private cacheManager?;
1710
- readonly baseURL: string;
1848
+ baseURL: string;
1711
1849
  readonly url: (path: string, params: Query<string>) => string;
1712
1850
  constructor(options: ClientOptions);
1713
1851
  setOptions(options: ClientOptions): void;
@@ -1840,6 +1978,23 @@ declare const orders: (client: Client) => {
1840
1978
  get: (orderId: string) => Promise<Order>;
1841
1979
  };
1842
1980
 
1981
+ /**
1982
+ * Check if a currency is zero-decimal (no minor units).
1983
+ * For zero-decimal currencies, amounts are in the major unit (e.g., 500 JPY = 500 yen).
1984
+ */
1985
+ declare function isZeroDecimalCurrency(currency: Currency): boolean;
1986
+ /**
1987
+ * Convert a human-readable price to the smallest currency unit for Stripe.
1988
+ * For EUR/USD: 15.00 → 1500 (cents)
1989
+ * For JPY: 500 → 500 (yen, already smallest unit)
1990
+ */
1991
+ declare function toSmallestUnit(amount: number, currency: Currency): number;
1992
+ /**
1993
+ * Convert from smallest currency unit to human-readable price.
1994
+ * For EUR/USD: 1500 → 15.00
1995
+ * For JPY: 500 → 500
1996
+ */
1997
+ declare function fromSmallestUnit(amount: number, currency: Currency): number;
1843
1998
  type StripeFees = {
1844
1999
  transactionFee: number;
1845
2000
  europeRate: number;
@@ -1858,36 +2013,43 @@ type BillingParameters = {
1858
2013
  locality: BillingLocality;
1859
2014
  };
1860
2015
  /**
1861
- * Minimum commission TonightPass charges per ticket (in euros).
2016
+ * Minimum commission TonightPass charges per ticket (in EUR cents).
1862
2017
  */
1863
- declare const MINIMUM_COMMISSION = 0.95;
2018
+ declare const MINIMUM_COMMISSION = 95;
1864
2019
  /**
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.
2020
+ * Default minimum chargeable amount (in smallest currency unit).
2021
+ * Used as fallback when the currency has no specific Stripe minimum.
1869
2022
  */
1870
- declare const MINIMUM_CHARGEABLE_AMOUNT: number;
2023
+ declare const MINIMUM_CHARGEABLE_AMOUNT = 95;
1871
2024
  declare const DEFAULT_STRIPE_FEES: StripeFees;
1872
2025
  declare const DEFAULT_TONIGHTPASS_FEES: TonightPassFees;
1873
2026
  declare const DEFAULT_BILLING_PARAMETERS: BillingParameters;
1874
2027
  /**
1875
- * Calculate the platform fee for a ticket (in cents).
1876
- * @param ticketPrice - Ticket price in cents
2028
+ * Get the minimum chargeable amount for a currency (in smallest unit).
2029
+ * Falls back to the Stripe minimum for the currency, or MINIMUM_COMMISSION.
2030
+ */
2031
+ declare function getMinimumChargeableAmount(currency: Currency): number;
2032
+ /**
2033
+ * Calculate the platform fee for a ticket (in smallest currency unit).
2034
+ * @param ticketPrice - Ticket price in smallest unit (cents, yen, etc.)
1877
2035
  * @param isFeesIncluded - Whether fees are included in the ticket price
1878
2036
  * @param stripeFees - Stripe fee configuration
1879
2037
  * @param tonightPassFees - TonightPass fee configuration
1880
2038
  * @param params - Billing parameters (locality)
1881
- * @returns Fee amount in cents
2039
+ * @returns Fee amount in smallest currency unit
1882
2040
  */
1883
2041
  declare function calculateTicketFee(ticketPrice: number, isFeesIncluded: boolean, stripeFees?: StripeFees, tonightPassFees?: TonightPassFees, params?: BillingParameters): number;
1884
2042
  /**
1885
2043
  * Applies the minimum chargeable amount rule after a discount.
1886
2044
  * - 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
2045
+ * - If total > 0 but below the minimum → rounds up to minimum
1888
2046
  * - Otherwise → unchanged
2047
+ *
2048
+ * @param total - Order total in smallest currency unit
2049
+ * @param minimumAmount - Minimum chargeable amount in the same currency unit
2050
+ * (use getMinimumChargeableAmount or convert MINIMUM_COMMISSION via exchange rates)
1889
2051
  */
1890
- declare function applyMinimumChargeableAmount(total: number): number;
2052
+ declare function applyMinimumChargeableAmount(total: number, minimumAmount?: number): number;
1891
2053
 
1892
2054
  declare const isBrowser: boolean;
1893
2055
 
@@ -2528,4 +2690,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
2528
2690
  client: ChannelWebSocketClient;
2529
2691
  };
2530
2692
 
2531
- 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 };
2693
+ 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, type WeatherEndpoints, type WeatherForecast, 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 };