tonightpass 0.0.251 → 0.0.252

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,8 +137,26 @@ 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
+ type OrderItem = {
141
+ ticketId: string;
142
+ ticketName: string;
143
+ quantity: number;
144
+ unitAmount: number;
145
+ totalAmount: number;
146
+ };
147
+ declare enum OrderTransferStatus {
148
+ Completed = "completed",
149
+ Pending = "pending",
150
+ Transferred = "transferred"
151
+ }
140
152
  type Order = Base & {
141
- invoice: Stripe__default.Invoice;
153
+ paymentIntent: Stripe__default.PaymentIntent;
154
+ items: OrderItem[];
155
+ currency: string;
156
+ subtotal: number;
157
+ fee: number;
158
+ total: number;
159
+ transferStatus: OrderTransferStatus;
142
160
  user: UserProfile;
143
161
  };
144
162
  type OrderEndpoints = Endpoint<"GET", "/orders", ArrayResult<Order>, ArrayOptions<Order>> | Endpoint<"GET", "/orders/:orderId", Order>;
@@ -367,17 +385,31 @@ type CareersOffice = {
367
385
  city: string | null;
368
386
  countryIso: string | null;
369
387
  };
388
+ declare enum CareersJobStatus {
389
+ All = "ALL",
390
+ Online = "ONLINE",
391
+ Archived = "ARCHIVED"
392
+ }
393
+ declare enum CareersWorkplaceType {
394
+ Onsite = "ONSITE",
395
+ Remote = "REMOTE",
396
+ Hybrid = "HYBRID"
397
+ }
398
+ declare enum CareersRemoteType {
399
+ Anywhere = "ANYWHERE",
400
+ Country = "COUNTRY"
401
+ }
370
402
  type CareersJob = {
371
403
  id: number;
372
404
  createdAt: string;
373
405
  lastUpdatedAt: string;
374
406
  externalId: null | string;
375
407
  title: string;
376
- status: "ALL" | "ONLINE" | "ARCHIVED";
408
+ status: CareersJobStatus;
377
409
  remote: boolean;
378
410
  office: CareersOffice;
379
- workplaceType: "ONSITE" | "REMOTE" | "HYBRID";
380
- remoteType?: "ANYWHERE" | "COUNTRY";
411
+ workplaceType: CareersWorkplaceType;
412
+ remoteType?: CareersRemoteType;
381
413
  description?: string;
382
414
  categoryId?: number;
383
415
  employmentTypeId?: number;
@@ -394,30 +426,30 @@ type CareersEmploymentType = {
394
426
  name: string;
395
427
  slug: string;
396
428
  };
397
- type CareerEndpoints = Endpoint<"GET", "/careers/categories", CareersCategory[], {
398
- language?: string;
399
- }> | Endpoint<"GET", "/careers/employmentTypes", CareersEmploymentType[], {
400
- language?: string;
401
- }> | Endpoint<"GET", "/careers/jobs", CareersJob[], {
402
- page?: number;
403
- pageSize?: number;
404
- createdAtGte: string;
429
+ type CareersJobsOptions = ArrayOptions<CareersJob> & {
430
+ createdAtGte?: string;
405
431
  createdAtLt?: string;
406
432
  updatedAtGte?: string;
407
433
  updatedAtLt?: string;
408
- status?: "ALL" | "ONLINE" | "ARCHIVED";
434
+ status?: CareersJobStatus;
409
435
  content?: boolean;
410
436
  titleLike?: string;
411
437
  countryCode?: string;
412
438
  externalId?: string;
413
- }> | Endpoint<"GET", "/careers/jobs/:jobId", CareersJob, {
414
- jobId: number;
415
- }> | Endpoint<"GET", "/careers/offices", CareersOffice[], {
416
- page?: number;
417
- pageSize?: number;
439
+ };
440
+ type CareersOfficesOptions = ArrayOptions<CareersOffice> & {
418
441
  countryCode?: string;
419
442
  cityNameLike?: string;
420
- }>;
443
+ };
444
+ type CareersCategoriesOptions = ArrayOptions<CareersCategory> & {
445
+ language?: string;
446
+ };
447
+ type CareersEmploymentTypesOptions = ArrayOptions<CareersEmploymentType> & {
448
+ language?: string;
449
+ };
450
+ type CareerEndpoints = Endpoint<"GET", "/careers/categories", ArrayResult<CareersCategory>, CareersCategoriesOptions> | Endpoint<"GET", "/careers/employmentTypes", ArrayResult<CareersEmploymentType>, CareersEmploymentTypesOptions> | Endpoint<"GET", "/careers/jobs", ArrayResult<CareersJob>, CareersJobsOptions> | Endpoint<"GET", "/careers/jobs/:jobId", CareersJob, {
451
+ jobId: number;
452
+ }> | Endpoint<"GET", "/careers/offices", ArrayResult<CareersOffice>, CareersOfficesOptions>;
421
453
 
422
454
  declare enum ChannelMessageReportReason {
423
455
  Dislike = "dislike",
@@ -721,7 +753,7 @@ declare enum OrganizationEventStyleType {
721
753
  Food = "food",
722
754
  Art = "art"
723
755
  }
724
- type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
756
+ type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", ArrayResult<OrganizationEventStyle>, ArrayOptions<OrganizationEventStyle>> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle>;
725
757
 
726
758
  type OrganizationEventViewOptions = {
727
759
  events: string | string[];
@@ -961,6 +993,27 @@ type OrganizationBilling = {
961
993
  vatRate: number;
962
994
  };
963
995
  type OrganizationBillingAccount = Stripe__default.Account;
996
+ type OrganizationBillingBalance = {
997
+ balance: {
998
+ amount: number;
999
+ currency: string;
1000
+ }[];
1001
+ pending: {
1002
+ amount: number;
1003
+ currency: string;
1004
+ }[];
1005
+ payouts: {
1006
+ id: string;
1007
+ amount: number;
1008
+ currency: string;
1009
+ status: string;
1010
+ arrival_date: number;
1011
+ }[];
1012
+ };
1013
+ type OrganizationBillingPendingRevenue = {
1014
+ amount: number;
1015
+ count: number;
1016
+ };
964
1017
  type OrganizationIdentity = OrganizationProfile;
965
1018
  declare enum OrganizationFileType {
966
1019
  Avatar = "avatar",
@@ -969,7 +1022,7 @@ declare enum OrganizationFileType {
969
1022
  type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organization[], {
970
1023
  q: string;
971
1024
  limit?: number;
972
- }> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
1025
+ }> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/balance", OrganizationBillingBalance> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/pending", OrganizationBillingPendingRevenue> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
973
1026
 
974
1027
  type PlaceCountry = Base & {
975
1028
  geonameId: number;
@@ -1640,17 +1693,17 @@ declare function sdk<T>(builder: (client: Client) => T): (client: Client) => T;
1640
1693
 
1641
1694
  declare const careers: (client: Client) => {
1642
1695
  categories: {
1643
- getAll: (query?: Query<"/careers/categories">) => Promise<CareersCategory[]>;
1696
+ getAll: (query?: Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
1644
1697
  };
1645
1698
  employmentTypes: {
1646
- getAll: (query?: Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType[]>;
1699
+ getAll: (query?: Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
1647
1700
  };
1648
1701
  jobs: {
1649
- getAll: (query?: Query<"/careers/jobs">) => Promise<CareersJob[]>;
1702
+ getAll: (query?: Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
1650
1703
  get: (jobId: number) => Promise<CareersJob>;
1651
1704
  };
1652
1705
  offices: {
1653
- getAll: (query?: Query<"/careers/offices">) => Promise<CareersOffice[]>;
1706
+ getAll: (query?: Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
1654
1707
  };
1655
1708
  };
1656
1709
 
@@ -1760,6 +1813,8 @@ declare const organizations: (client: Client) => {
1760
1813
  billing: {
1761
1814
  account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
1762
1815
  link: (organizationSlug: string) => void;
1816
+ balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
1817
+ pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
1763
1818
  dashboard: (organizationSlug: string) => void;
1764
1819
  };
1765
1820
  events: {
@@ -1779,11 +1834,11 @@ declare const organizations: (client: Client) => {
1779
1834
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
1780
1835
  };
1781
1836
  styles: {
1782
- getAll: () => Promise<OrganizationEventStyle[]>;
1837
+ getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
1783
1838
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
1784
1839
  create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
1785
1840
  update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
1786
- delete: (styleSlug: string) => Promise<OrganizationEventStyle[]>;
1841
+ delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
1787
1842
  };
1788
1843
  tickets: {
1789
1844
  getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
@@ -1943,17 +1998,17 @@ declare class TonightPass {
1943
1998
  };
1944
1999
  readonly careers: {
1945
2000
  categories: {
1946
- getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<CareersCategory[]>;
2001
+ getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
1947
2002
  };
1948
2003
  employmentTypes: {
1949
- getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType[]>;
2004
+ getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
1950
2005
  };
1951
2006
  jobs: {
1952
- getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<CareersJob[]>;
2007
+ getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
1953
2008
  get: (jobId: number) => Promise<CareersJob>;
1954
2009
  };
1955
2010
  offices: {
1956
- getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<CareersOffice[]>;
2011
+ getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
1957
2012
  };
1958
2013
  };
1959
2014
  readonly channels: {
@@ -2029,6 +2084,8 @@ declare class TonightPass {
2029
2084
  billing: {
2030
2085
  account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
2031
2086
  link: (organizationSlug: string) => void;
2087
+ balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
2088
+ pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
2032
2089
  dashboard: (organizationSlug: string) => void;
2033
2090
  };
2034
2091
  events: {
@@ -2048,11 +2105,11 @@ declare class TonightPass {
2048
2105
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
2049
2106
  };
2050
2107
  styles: {
2051
- getAll: () => Promise<OrganizationEventStyle[]>;
2108
+ getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
2052
2109
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
2053
2110
  create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
2054
2111
  update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
2055
- delete: (styleSlug: string) => Promise<OrganizationEventStyle[]>;
2112
+ delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
2056
2113
  };
2057
2114
  tickets: {
2058
2115
  getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
@@ -2340,4 +2397,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
2340
2397
  client: ChannelWebSocketClient;
2341
2398
  };
2342
2399
 
2343
- 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 CareersCategory, type CareersEmploymentType, type CareersJob, type CareersOffice, 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 Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -137,8 +137,26 @@ 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
+ type OrderItem = {
141
+ ticketId: string;
142
+ ticketName: string;
143
+ quantity: number;
144
+ unitAmount: number;
145
+ totalAmount: number;
146
+ };
147
+ declare enum OrderTransferStatus {
148
+ Completed = "completed",
149
+ Pending = "pending",
150
+ Transferred = "transferred"
151
+ }
140
152
  type Order = Base & {
141
- invoice: Stripe__default.Invoice;
153
+ paymentIntent: Stripe__default.PaymentIntent;
154
+ items: OrderItem[];
155
+ currency: string;
156
+ subtotal: number;
157
+ fee: number;
158
+ total: number;
159
+ transferStatus: OrderTransferStatus;
142
160
  user: UserProfile;
143
161
  };
144
162
  type OrderEndpoints = Endpoint<"GET", "/orders", ArrayResult<Order>, ArrayOptions<Order>> | Endpoint<"GET", "/orders/:orderId", Order>;
@@ -367,17 +385,31 @@ type CareersOffice = {
367
385
  city: string | null;
368
386
  countryIso: string | null;
369
387
  };
388
+ declare enum CareersJobStatus {
389
+ All = "ALL",
390
+ Online = "ONLINE",
391
+ Archived = "ARCHIVED"
392
+ }
393
+ declare enum CareersWorkplaceType {
394
+ Onsite = "ONSITE",
395
+ Remote = "REMOTE",
396
+ Hybrid = "HYBRID"
397
+ }
398
+ declare enum CareersRemoteType {
399
+ Anywhere = "ANYWHERE",
400
+ Country = "COUNTRY"
401
+ }
370
402
  type CareersJob = {
371
403
  id: number;
372
404
  createdAt: string;
373
405
  lastUpdatedAt: string;
374
406
  externalId: null | string;
375
407
  title: string;
376
- status: "ALL" | "ONLINE" | "ARCHIVED";
408
+ status: CareersJobStatus;
377
409
  remote: boolean;
378
410
  office: CareersOffice;
379
- workplaceType: "ONSITE" | "REMOTE" | "HYBRID";
380
- remoteType?: "ANYWHERE" | "COUNTRY";
411
+ workplaceType: CareersWorkplaceType;
412
+ remoteType?: CareersRemoteType;
381
413
  description?: string;
382
414
  categoryId?: number;
383
415
  employmentTypeId?: number;
@@ -394,30 +426,30 @@ type CareersEmploymentType = {
394
426
  name: string;
395
427
  slug: string;
396
428
  };
397
- type CareerEndpoints = Endpoint<"GET", "/careers/categories", CareersCategory[], {
398
- language?: string;
399
- }> | Endpoint<"GET", "/careers/employmentTypes", CareersEmploymentType[], {
400
- language?: string;
401
- }> | Endpoint<"GET", "/careers/jobs", CareersJob[], {
402
- page?: number;
403
- pageSize?: number;
404
- createdAtGte: string;
429
+ type CareersJobsOptions = ArrayOptions<CareersJob> & {
430
+ createdAtGte?: string;
405
431
  createdAtLt?: string;
406
432
  updatedAtGte?: string;
407
433
  updatedAtLt?: string;
408
- status?: "ALL" | "ONLINE" | "ARCHIVED";
434
+ status?: CareersJobStatus;
409
435
  content?: boolean;
410
436
  titleLike?: string;
411
437
  countryCode?: string;
412
438
  externalId?: string;
413
- }> | Endpoint<"GET", "/careers/jobs/:jobId", CareersJob, {
414
- jobId: number;
415
- }> | Endpoint<"GET", "/careers/offices", CareersOffice[], {
416
- page?: number;
417
- pageSize?: number;
439
+ };
440
+ type CareersOfficesOptions = ArrayOptions<CareersOffice> & {
418
441
  countryCode?: string;
419
442
  cityNameLike?: string;
420
- }>;
443
+ };
444
+ type CareersCategoriesOptions = ArrayOptions<CareersCategory> & {
445
+ language?: string;
446
+ };
447
+ type CareersEmploymentTypesOptions = ArrayOptions<CareersEmploymentType> & {
448
+ language?: string;
449
+ };
450
+ type CareerEndpoints = Endpoint<"GET", "/careers/categories", ArrayResult<CareersCategory>, CareersCategoriesOptions> | Endpoint<"GET", "/careers/employmentTypes", ArrayResult<CareersEmploymentType>, CareersEmploymentTypesOptions> | Endpoint<"GET", "/careers/jobs", ArrayResult<CareersJob>, CareersJobsOptions> | Endpoint<"GET", "/careers/jobs/:jobId", CareersJob, {
451
+ jobId: number;
452
+ }> | Endpoint<"GET", "/careers/offices", ArrayResult<CareersOffice>, CareersOfficesOptions>;
421
453
 
422
454
  declare enum ChannelMessageReportReason {
423
455
  Dislike = "dislike",
@@ -721,7 +753,7 @@ declare enum OrganizationEventStyleType {
721
753
  Food = "food",
722
754
  Art = "art"
723
755
  }
724
- type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
756
+ type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", ArrayResult<OrganizationEventStyle>, ArrayOptions<OrganizationEventStyle>> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle>;
725
757
 
726
758
  type OrganizationEventViewOptions = {
727
759
  events: string | string[];
@@ -961,6 +993,27 @@ type OrganizationBilling = {
961
993
  vatRate: number;
962
994
  };
963
995
  type OrganizationBillingAccount = Stripe__default.Account;
996
+ type OrganizationBillingBalance = {
997
+ balance: {
998
+ amount: number;
999
+ currency: string;
1000
+ }[];
1001
+ pending: {
1002
+ amount: number;
1003
+ currency: string;
1004
+ }[];
1005
+ payouts: {
1006
+ id: string;
1007
+ amount: number;
1008
+ currency: string;
1009
+ status: string;
1010
+ arrival_date: number;
1011
+ }[];
1012
+ };
1013
+ type OrganizationBillingPendingRevenue = {
1014
+ amount: number;
1015
+ count: number;
1016
+ };
964
1017
  type OrganizationIdentity = OrganizationProfile;
965
1018
  declare enum OrganizationFileType {
966
1019
  Avatar = "avatar",
@@ -969,7 +1022,7 @@ declare enum OrganizationFileType {
969
1022
  type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organization[], {
970
1023
  q: string;
971
1024
  limit?: number;
972
- }> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
1025
+ }> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/balance", OrganizationBillingBalance> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/pending", OrganizationBillingPendingRevenue> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
973
1026
 
974
1027
  type PlaceCountry = Base & {
975
1028
  geonameId: number;
@@ -1640,17 +1693,17 @@ declare function sdk<T>(builder: (client: Client) => T): (client: Client) => T;
1640
1693
 
1641
1694
  declare const careers: (client: Client) => {
1642
1695
  categories: {
1643
- getAll: (query?: Query<"/careers/categories">) => Promise<CareersCategory[]>;
1696
+ getAll: (query?: Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
1644
1697
  };
1645
1698
  employmentTypes: {
1646
- getAll: (query?: Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType[]>;
1699
+ getAll: (query?: Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
1647
1700
  };
1648
1701
  jobs: {
1649
- getAll: (query?: Query<"/careers/jobs">) => Promise<CareersJob[]>;
1702
+ getAll: (query?: Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
1650
1703
  get: (jobId: number) => Promise<CareersJob>;
1651
1704
  };
1652
1705
  offices: {
1653
- getAll: (query?: Query<"/careers/offices">) => Promise<CareersOffice[]>;
1706
+ getAll: (query?: Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
1654
1707
  };
1655
1708
  };
1656
1709
 
@@ -1760,6 +1813,8 @@ declare const organizations: (client: Client) => {
1760
1813
  billing: {
1761
1814
  account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
1762
1815
  link: (organizationSlug: string) => void;
1816
+ balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
1817
+ pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
1763
1818
  dashboard: (organizationSlug: string) => void;
1764
1819
  };
1765
1820
  events: {
@@ -1779,11 +1834,11 @@ declare const organizations: (client: Client) => {
1779
1834
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
1780
1835
  };
1781
1836
  styles: {
1782
- getAll: () => Promise<OrganizationEventStyle[]>;
1837
+ getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
1783
1838
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
1784
1839
  create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
1785
1840
  update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
1786
- delete: (styleSlug: string) => Promise<OrganizationEventStyle[]>;
1841
+ delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
1787
1842
  };
1788
1843
  tickets: {
1789
1844
  getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
@@ -1943,17 +1998,17 @@ declare class TonightPass {
1943
1998
  };
1944
1999
  readonly careers: {
1945
2000
  categories: {
1946
- getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<CareersCategory[]>;
2001
+ getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
1947
2002
  };
1948
2003
  employmentTypes: {
1949
- getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType[]>;
2004
+ getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
1950
2005
  };
1951
2006
  jobs: {
1952
- getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<CareersJob[]>;
2007
+ getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
1953
2008
  get: (jobId: number) => Promise<CareersJob>;
1954
2009
  };
1955
2010
  offices: {
1956
- getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<CareersOffice[]>;
2011
+ getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
1957
2012
  };
1958
2013
  };
1959
2014
  readonly channels: {
@@ -2029,6 +2084,8 @@ declare class TonightPass {
2029
2084
  billing: {
2030
2085
  account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
2031
2086
  link: (organizationSlug: string) => void;
2087
+ balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
2088
+ pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
2032
2089
  dashboard: (organizationSlug: string) => void;
2033
2090
  };
2034
2091
  events: {
@@ -2048,11 +2105,11 @@ declare class TonightPass {
2048
2105
  create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
2049
2106
  };
2050
2107
  styles: {
2051
- getAll: () => Promise<OrganizationEventStyle[]>;
2108
+ getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
2052
2109
  get: (styleSlug: string) => Promise<OrganizationEventStyle>;
2053
2110
  create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
2054
2111
  update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
2055
- delete: (styleSlug: string) => Promise<OrganizationEventStyle[]>;
2112
+ delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
2056
2113
  };
2057
2114
  tickets: {
2058
2115
  getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
@@ -2340,4 +2397,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
2340
2397
  client: ChannelWebSocketClient;
2341
2398
  };
2342
2399
 
2343
- 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 CareersCategory, type CareersEmploymentType, type CareersJob, type CareersOffice, 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 Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, 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 };
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 };