tonightpass 0.0.266 → 0.1.0
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 +68 -24
- package/dist/index.d.ts +68 -24
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -359,32 +359,27 @@ type Order = Base & {
|
|
|
359
359
|
};
|
|
360
360
|
type OrderEndpoints = Endpoint<"GET", "/orders", ArrayResult<Order>, ArrayOptions<Order>> | Endpoint<"GET", "/orders/:orderId", Order> | Endpoint<"GET", "/orders/:orderId/invoice", string>;
|
|
361
361
|
|
|
362
|
+
type AnalyticsMetric = {
|
|
363
|
+
current: number;
|
|
364
|
+
previous: number;
|
|
365
|
+
percentageChange: number | null;
|
|
366
|
+
};
|
|
367
|
+
type AnalyticsChartPoint = {
|
|
368
|
+
date: string;
|
|
369
|
+
revenues: number;
|
|
370
|
+
orders: number;
|
|
371
|
+
ticketsSold: number;
|
|
372
|
+
};
|
|
362
373
|
type OrganizationAnalyticsOverview = {
|
|
363
374
|
metrics: {
|
|
364
|
-
totalRevenue:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
percentageChange: number;
|
|
368
|
-
};
|
|
369
|
-
totalOrders: {
|
|
370
|
-
current: number;
|
|
371
|
-
previous: number;
|
|
372
|
-
percentageChange: number;
|
|
373
|
-
};
|
|
374
|
-
totalTicketsSold: {
|
|
375
|
-
current: number;
|
|
376
|
-
previous: number;
|
|
377
|
-
percentageChange: number;
|
|
378
|
-
};
|
|
375
|
+
totalRevenue: AnalyticsMetric;
|
|
376
|
+
totalOrders: AnalyticsMetric;
|
|
377
|
+
totalTicketsSold: AnalyticsMetric;
|
|
379
378
|
activeEvents: number;
|
|
380
379
|
};
|
|
381
|
-
chartData: {
|
|
382
|
-
date: string;
|
|
383
|
-
revenues: number;
|
|
384
|
-
orders: number;
|
|
385
|
-
ticketsSold: number;
|
|
380
|
+
chartData: (AnalyticsChartPoint & {
|
|
386
381
|
events: number;
|
|
387
|
-
}[];
|
|
382
|
+
})[];
|
|
388
383
|
};
|
|
389
384
|
type OrganizationEventAnalytics = {
|
|
390
385
|
event: OrganizationEvent;
|
|
@@ -397,6 +392,17 @@ type OrganizationEventAnalytics = {
|
|
|
397
392
|
totalTicketsSold: number;
|
|
398
393
|
};
|
|
399
394
|
};
|
|
395
|
+
type OrganizationEventAnalyticsOverview = {
|
|
396
|
+
metrics: {
|
|
397
|
+
totalRevenue: AnalyticsMetric;
|
|
398
|
+
totalOrders: AnalyticsMetric;
|
|
399
|
+
totalTicketsSold: AnalyticsMetric;
|
|
400
|
+
views: AnalyticsMetric;
|
|
401
|
+
};
|
|
402
|
+
chartData: (AnalyticsChartPoint & {
|
|
403
|
+
views: number;
|
|
404
|
+
})[];
|
|
405
|
+
};
|
|
400
406
|
type AnalyticsOptions = {
|
|
401
407
|
period?: "7d" | "30d" | "90d" | "12m";
|
|
402
408
|
startDate?: string;
|
|
@@ -405,7 +411,7 @@ type AnalyticsOptions = {
|
|
|
405
411
|
type EventAnalyticsOptions = AnalyticsOptions & {
|
|
406
412
|
status?: "upcoming" | "past" | "all";
|
|
407
413
|
};
|
|
408
|
-
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/@:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions>;
|
|
414
|
+
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/@:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events/:eventSlug/analytics/overview", OrganizationEventAnalyticsOverview, AnalyticsOptions>;
|
|
409
415
|
|
|
410
416
|
declare enum ProfileType {
|
|
411
417
|
User = "user",
|
|
@@ -442,6 +448,8 @@ type BaseProfileMetadata = {
|
|
|
442
448
|
};
|
|
443
449
|
type UserProfileMetadata = BaseProfileMetadata & {
|
|
444
450
|
hasPassPlus: boolean;
|
|
451
|
+
/** True once the account has been anonymized; used to noindex the profile. */
|
|
452
|
+
isAnonymized: boolean;
|
|
445
453
|
};
|
|
446
454
|
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
447
455
|
eventsCount: number;
|
|
@@ -981,6 +989,8 @@ type User = Base & {
|
|
|
981
989
|
oauthProviders: UserOAuthProvider[];
|
|
982
990
|
isVerified: boolean;
|
|
983
991
|
isOfficial: boolean;
|
|
992
|
+
/** Set while a self-service deletion is pending its grace period. */
|
|
993
|
+
deletionRequestedAt?: Date | null;
|
|
984
994
|
};
|
|
985
995
|
type UserIdentifier = {
|
|
986
996
|
email?: string;
|
|
@@ -989,6 +999,31 @@ type UserIdentifier = {
|
|
|
989
999
|
phoneNumberVerified?: boolean;
|
|
990
1000
|
username: string;
|
|
991
1001
|
};
|
|
1002
|
+
/**
|
|
1003
|
+
* Returned when a user requests deletion of their account. The account enters
|
|
1004
|
+
* a grace period and is only anonymized once `scheduledAt` is reached.
|
|
1005
|
+
*/
|
|
1006
|
+
type UserDeletionResponse = {
|
|
1007
|
+
requestedAt: Date;
|
|
1008
|
+
scheduledAt: Date;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* Reason a deletion request was rejected. Each blocker lists what the user must
|
|
1012
|
+
* resolve before the account can be deleted.
|
|
1013
|
+
*/
|
|
1014
|
+
declare enum UserDeletionBlockerType {
|
|
1015
|
+
OrganizationMembership = "organization_membership",
|
|
1016
|
+
UpcomingBooking = "upcoming_booking",
|
|
1017
|
+
PendingRefundOrTransfer = "pending_refund_or_transfer"
|
|
1018
|
+
}
|
|
1019
|
+
/** Why the user is deleting their account (collected for retention analytics). */
|
|
1020
|
+
declare enum UserDeletionReason {
|
|
1021
|
+
NotUsing = "not_using",
|
|
1022
|
+
TooManyEmails = "too_many_emails",
|
|
1023
|
+
PrivacyConcerns = "privacy_concerns",
|
|
1024
|
+
FoundAlternative = "found_alternative",
|
|
1025
|
+
Other = "other"
|
|
1026
|
+
}
|
|
992
1027
|
type UserIdentity = UserProfile & {
|
|
993
1028
|
firstName: string;
|
|
994
1029
|
lastName: string;
|
|
@@ -1060,7 +1095,7 @@ type UserEndpoints = Endpoint<"GET", "/users", User[]> | Endpoint<"GET", "/users
|
|
|
1060
1095
|
}, {
|
|
1061
1096
|
identifier: boolean;
|
|
1062
1097
|
suggestions?: boolean;
|
|
1063
|
-
}> | Endpoint<"PUT", "/users/@:userId", User, UpdateUserDto> | Endpoint<"POST", "/users/@:userId/files/:userFileType", string, FormData> | Endpoint<"POST", "/users/files/:userFileType", string, FormData> | UserBookingEndpoints | UserNotificationEndpoints | UserPostEndpoints;
|
|
1098
|
+
}> | Endpoint<"PUT", "/users/@:userId", User, UpdateUserDto> | Endpoint<"DELETE", "/users/~me", UserDeletionResponse, DeleteUserDto> | Endpoint<"POST", "/users/~me/restore", User> | Endpoint<"POST", "/users/@:userId/files/:userFileType", string, FormData> | Endpoint<"POST", "/users/files/:userFileType", string, FormData> | UserBookingEndpoints | UserNotificationEndpoints | UserPostEndpoints;
|
|
1064
1099
|
|
|
1065
1100
|
declare enum OAuth2Provider {
|
|
1066
1101
|
Google = "google",
|
|
@@ -1881,6 +1916,11 @@ declare class CreateUserIdentityDto {
|
|
|
1881
1916
|
links?: string[];
|
|
1882
1917
|
}
|
|
1883
1918
|
|
|
1919
|
+
declare class DeleteUserDto {
|
|
1920
|
+
reason: UserDeletionReason;
|
|
1921
|
+
comment?: string;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1884
1924
|
declare class GoogleOneTapDto {
|
|
1885
1925
|
credential: string;
|
|
1886
1926
|
}
|
|
@@ -2504,6 +2544,8 @@ declare const users: (client: Client) => {
|
|
|
2504
2544
|
suggestions?: string[];
|
|
2505
2545
|
}>;
|
|
2506
2546
|
update: (userId: string, data: UpdateUserDto) => Promise<User>;
|
|
2547
|
+
requestDeletion: (data: DeleteUserDto) => Promise<UserDeletionResponse>;
|
|
2548
|
+
restore: () => Promise<User>;
|
|
2507
2549
|
uploadFile: (userId: string, userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2508
2550
|
uploadTempFile: (userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2509
2551
|
bookings: {
|
|
@@ -2791,6 +2833,8 @@ declare class TonightPass {
|
|
|
2791
2833
|
suggestions?: string[];
|
|
2792
2834
|
}>;
|
|
2793
2835
|
update: (userId: string, data: UpdateUserDto) => Promise<User>;
|
|
2836
|
+
requestDeletion: (data: DeleteUserDto) => Promise<UserDeletionResponse>;
|
|
2837
|
+
restore: () => Promise<User>;
|
|
2794
2838
|
uploadFile: (userId: string, userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2795
2839
|
uploadTempFile: (userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2796
2840
|
bookings: {
|
|
@@ -2995,4 +3039,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
2995
3039
|
client: ChannelWebSocketClient;
|
|
2996
3040
|
};
|
|
2997
3041
|
|
|
2998
|
-
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, type Artist, type ArtistEndpoints, type ArtistSoundcloudBadges, type ArtistSoundcloudData, type ArtistSoundcloudWebProfile, type ArtistTonightPassData, type ArtistTrack, type ArtistWithTracks, 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, CancelOrganizationEventDto, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type CartTicket, 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, 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, EventArtistDto, type EventArtistRef, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type FormatPriceOptions, type GeoPoint, GeoPointDto, type GeoSearchAggregation, type GetArtistOptions, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type ListArtistEventsOptions, type ListPlaceCountriesOptions, type ListTopArtistsOptions, 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, OrderRefundStatus, type OrderTotals, 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, OrganizationEventCancelledBy, type OrganizationEventEndpoints, OrganizationEventFileType, OrganizationEventLifecycleStatus, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventPromoCode, type OrganizationEventPromoCodeEndpoints, OrganizationEventPromoCodeType, type OrganizationEventPromoCodeValidation, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStatusInput, 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 OrganizationNotification, type OrganizationNotificationBase, type OrganizationNotificationEndpoints, OrganizationNotificationType, type OrganizationNotificationWithActor, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, PostponeOrganizationEventDto, 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, RescheduleOrganizationEventDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchArtistsOptions, 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, type UserNotificationOrganizationEventCancelled, type UserNotificationOrganizationEventPostponed, type UserNotificationOrganizationEventRescheduled, 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, artists, auth, buildFileFormData, calculateOrderTotal, calculateTicketFee, calculateTicketFeeWithCurrency, careers, channels, channelsWS, computeOrganizationEventStatus, currencies, feed, formatCurrencyLabel, formatPrice, fromSmallestUnit, getCurrencySymbol, getMinimumChargeableAmount, health, isBrowser, isMemberRoleAtLeast, isZeroDecimalCurrency, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, toSmallestUnit, users };
|
|
3042
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsChartPoint, type AnalyticsMetric, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, type Artist, type ArtistEndpoints, type ArtistSoundcloudBadges, type ArtistSoundcloudData, type ArtistSoundcloudWebProfile, type ArtistTonightPassData, type ArtistTrack, type ArtistWithTracks, 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, CancelOrganizationEventDto, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type CartTicket, 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, 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, DeleteUserDto, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, EventArtistDto, type EventArtistRef, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type FormatPriceOptions, type GeoPoint, GeoPointDto, type GeoSearchAggregation, type GetArtistOptions, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type ListArtistEventsOptions, type ListPlaceCountriesOptions, type ListTopArtistsOptions, 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, OrderRefundStatus, type OrderTotals, 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 OrganizationEventAnalyticsOverview, type OrganizationEventArrayOptions, type OrganizationEventCalendar, OrganizationEventCancelledBy, type OrganizationEventEndpoints, OrganizationEventFileType, OrganizationEventLifecycleStatus, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventPromoCode, type OrganizationEventPromoCodeEndpoints, OrganizationEventPromoCodeType, type OrganizationEventPromoCodeValidation, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStatusInput, 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 OrganizationNotification, type OrganizationNotificationBase, type OrganizationNotificationEndpoints, OrganizationNotificationType, type OrganizationNotificationWithActor, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, PostponeOrganizationEventDto, 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, RescheduleOrganizationEventDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchArtistsOptions, 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, UserDeletionBlockerType, UserDeletionReason, type UserDeletionResponse, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, type UserNotificationOrganizationEventCancelled, type UserNotificationOrganizationEventPostponed, type UserNotificationOrganizationEventRescheduled, 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, artists, auth, buildFileFormData, calculateOrderTotal, calculateTicketFee, calculateTicketFeeWithCurrency, careers, channels, channelsWS, computeOrganizationEventStatus, currencies, feed, formatCurrencyLabel, formatPrice, fromSmallestUnit, getCurrencySymbol, getMinimumChargeableAmount, health, isBrowser, isMemberRoleAtLeast, isZeroDecimalCurrency, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, toSmallestUnit, users };
|
package/dist/index.d.ts
CHANGED
|
@@ -359,32 +359,27 @@ type Order = Base & {
|
|
|
359
359
|
};
|
|
360
360
|
type OrderEndpoints = Endpoint<"GET", "/orders", ArrayResult<Order>, ArrayOptions<Order>> | Endpoint<"GET", "/orders/:orderId", Order> | Endpoint<"GET", "/orders/:orderId/invoice", string>;
|
|
361
361
|
|
|
362
|
+
type AnalyticsMetric = {
|
|
363
|
+
current: number;
|
|
364
|
+
previous: number;
|
|
365
|
+
percentageChange: number | null;
|
|
366
|
+
};
|
|
367
|
+
type AnalyticsChartPoint = {
|
|
368
|
+
date: string;
|
|
369
|
+
revenues: number;
|
|
370
|
+
orders: number;
|
|
371
|
+
ticketsSold: number;
|
|
372
|
+
};
|
|
362
373
|
type OrganizationAnalyticsOverview = {
|
|
363
374
|
metrics: {
|
|
364
|
-
totalRevenue:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
percentageChange: number;
|
|
368
|
-
};
|
|
369
|
-
totalOrders: {
|
|
370
|
-
current: number;
|
|
371
|
-
previous: number;
|
|
372
|
-
percentageChange: number;
|
|
373
|
-
};
|
|
374
|
-
totalTicketsSold: {
|
|
375
|
-
current: number;
|
|
376
|
-
previous: number;
|
|
377
|
-
percentageChange: number;
|
|
378
|
-
};
|
|
375
|
+
totalRevenue: AnalyticsMetric;
|
|
376
|
+
totalOrders: AnalyticsMetric;
|
|
377
|
+
totalTicketsSold: AnalyticsMetric;
|
|
379
378
|
activeEvents: number;
|
|
380
379
|
};
|
|
381
|
-
chartData: {
|
|
382
|
-
date: string;
|
|
383
|
-
revenues: number;
|
|
384
|
-
orders: number;
|
|
385
|
-
ticketsSold: number;
|
|
380
|
+
chartData: (AnalyticsChartPoint & {
|
|
386
381
|
events: number;
|
|
387
|
-
}[];
|
|
382
|
+
})[];
|
|
388
383
|
};
|
|
389
384
|
type OrganizationEventAnalytics = {
|
|
390
385
|
event: OrganizationEvent;
|
|
@@ -397,6 +392,17 @@ type OrganizationEventAnalytics = {
|
|
|
397
392
|
totalTicketsSold: number;
|
|
398
393
|
};
|
|
399
394
|
};
|
|
395
|
+
type OrganizationEventAnalyticsOverview = {
|
|
396
|
+
metrics: {
|
|
397
|
+
totalRevenue: AnalyticsMetric;
|
|
398
|
+
totalOrders: AnalyticsMetric;
|
|
399
|
+
totalTicketsSold: AnalyticsMetric;
|
|
400
|
+
views: AnalyticsMetric;
|
|
401
|
+
};
|
|
402
|
+
chartData: (AnalyticsChartPoint & {
|
|
403
|
+
views: number;
|
|
404
|
+
})[];
|
|
405
|
+
};
|
|
400
406
|
type AnalyticsOptions = {
|
|
401
407
|
period?: "7d" | "30d" | "90d" | "12m";
|
|
402
408
|
startDate?: string;
|
|
@@ -405,7 +411,7 @@ type AnalyticsOptions = {
|
|
|
405
411
|
type EventAnalyticsOptions = AnalyticsOptions & {
|
|
406
412
|
status?: "upcoming" | "past" | "all";
|
|
407
413
|
};
|
|
408
|
-
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/@:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions>;
|
|
414
|
+
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/@:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions> | Endpoint<"GET", "/organizations/@:organizationSlug/events/:eventSlug/analytics/overview", OrganizationEventAnalyticsOverview, AnalyticsOptions>;
|
|
409
415
|
|
|
410
416
|
declare enum ProfileType {
|
|
411
417
|
User = "user",
|
|
@@ -442,6 +448,8 @@ type BaseProfileMetadata = {
|
|
|
442
448
|
};
|
|
443
449
|
type UserProfileMetadata = BaseProfileMetadata & {
|
|
444
450
|
hasPassPlus: boolean;
|
|
451
|
+
/** True once the account has been anonymized; used to noindex the profile. */
|
|
452
|
+
isAnonymized: boolean;
|
|
445
453
|
};
|
|
446
454
|
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
447
455
|
eventsCount: number;
|
|
@@ -981,6 +989,8 @@ type User = Base & {
|
|
|
981
989
|
oauthProviders: UserOAuthProvider[];
|
|
982
990
|
isVerified: boolean;
|
|
983
991
|
isOfficial: boolean;
|
|
992
|
+
/** Set while a self-service deletion is pending its grace period. */
|
|
993
|
+
deletionRequestedAt?: Date | null;
|
|
984
994
|
};
|
|
985
995
|
type UserIdentifier = {
|
|
986
996
|
email?: string;
|
|
@@ -989,6 +999,31 @@ type UserIdentifier = {
|
|
|
989
999
|
phoneNumberVerified?: boolean;
|
|
990
1000
|
username: string;
|
|
991
1001
|
};
|
|
1002
|
+
/**
|
|
1003
|
+
* Returned when a user requests deletion of their account. The account enters
|
|
1004
|
+
* a grace period and is only anonymized once `scheduledAt` is reached.
|
|
1005
|
+
*/
|
|
1006
|
+
type UserDeletionResponse = {
|
|
1007
|
+
requestedAt: Date;
|
|
1008
|
+
scheduledAt: Date;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* Reason a deletion request was rejected. Each blocker lists what the user must
|
|
1012
|
+
* resolve before the account can be deleted.
|
|
1013
|
+
*/
|
|
1014
|
+
declare enum UserDeletionBlockerType {
|
|
1015
|
+
OrganizationMembership = "organization_membership",
|
|
1016
|
+
UpcomingBooking = "upcoming_booking",
|
|
1017
|
+
PendingRefundOrTransfer = "pending_refund_or_transfer"
|
|
1018
|
+
}
|
|
1019
|
+
/** Why the user is deleting their account (collected for retention analytics). */
|
|
1020
|
+
declare enum UserDeletionReason {
|
|
1021
|
+
NotUsing = "not_using",
|
|
1022
|
+
TooManyEmails = "too_many_emails",
|
|
1023
|
+
PrivacyConcerns = "privacy_concerns",
|
|
1024
|
+
FoundAlternative = "found_alternative",
|
|
1025
|
+
Other = "other"
|
|
1026
|
+
}
|
|
992
1027
|
type UserIdentity = UserProfile & {
|
|
993
1028
|
firstName: string;
|
|
994
1029
|
lastName: string;
|
|
@@ -1060,7 +1095,7 @@ type UserEndpoints = Endpoint<"GET", "/users", User[]> | Endpoint<"GET", "/users
|
|
|
1060
1095
|
}, {
|
|
1061
1096
|
identifier: boolean;
|
|
1062
1097
|
suggestions?: boolean;
|
|
1063
|
-
}> | Endpoint<"PUT", "/users/@:userId", User, UpdateUserDto> | Endpoint<"POST", "/users/@:userId/files/:userFileType", string, FormData> | Endpoint<"POST", "/users/files/:userFileType", string, FormData> | UserBookingEndpoints | UserNotificationEndpoints | UserPostEndpoints;
|
|
1098
|
+
}> | Endpoint<"PUT", "/users/@:userId", User, UpdateUserDto> | Endpoint<"DELETE", "/users/~me", UserDeletionResponse, DeleteUserDto> | Endpoint<"POST", "/users/~me/restore", User> | Endpoint<"POST", "/users/@:userId/files/:userFileType", string, FormData> | Endpoint<"POST", "/users/files/:userFileType", string, FormData> | UserBookingEndpoints | UserNotificationEndpoints | UserPostEndpoints;
|
|
1064
1099
|
|
|
1065
1100
|
declare enum OAuth2Provider {
|
|
1066
1101
|
Google = "google",
|
|
@@ -1881,6 +1916,11 @@ declare class CreateUserIdentityDto {
|
|
|
1881
1916
|
links?: string[];
|
|
1882
1917
|
}
|
|
1883
1918
|
|
|
1919
|
+
declare class DeleteUserDto {
|
|
1920
|
+
reason: UserDeletionReason;
|
|
1921
|
+
comment?: string;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1884
1924
|
declare class GoogleOneTapDto {
|
|
1885
1925
|
credential: string;
|
|
1886
1926
|
}
|
|
@@ -2504,6 +2544,8 @@ declare const users: (client: Client) => {
|
|
|
2504
2544
|
suggestions?: string[];
|
|
2505
2545
|
}>;
|
|
2506
2546
|
update: (userId: string, data: UpdateUserDto) => Promise<User>;
|
|
2547
|
+
requestDeletion: (data: DeleteUserDto) => Promise<UserDeletionResponse>;
|
|
2548
|
+
restore: () => Promise<User>;
|
|
2507
2549
|
uploadFile: (userId: string, userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2508
2550
|
uploadTempFile: (userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2509
2551
|
bookings: {
|
|
@@ -2791,6 +2833,8 @@ declare class TonightPass {
|
|
|
2791
2833
|
suggestions?: string[];
|
|
2792
2834
|
}>;
|
|
2793
2835
|
update: (userId: string, data: UpdateUserDto) => Promise<User>;
|
|
2836
|
+
requestDeletion: (data: DeleteUserDto) => Promise<UserDeletionResponse>;
|
|
2837
|
+
restore: () => Promise<User>;
|
|
2794
2838
|
uploadFile: (userId: string, userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2795
2839
|
uploadTempFile: (userFileType: UserFileType, file: File | FileObject) => Promise<string>;
|
|
2796
2840
|
bookings: {
|
|
@@ -2995,4 +3039,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
2995
3039
|
client: ChannelWebSocketClient;
|
|
2996
3040
|
};
|
|
2997
3041
|
|
|
2998
|
-
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, type Artist, type ArtistEndpoints, type ArtistSoundcloudBadges, type ArtistSoundcloudData, type ArtistSoundcloudWebProfile, type ArtistTonightPassData, type ArtistTrack, type ArtistWithTracks, 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, CancelOrganizationEventDto, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type CartTicket, 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, 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, EventArtistDto, type EventArtistRef, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type FormatPriceOptions, type GeoPoint, GeoPointDto, type GeoSearchAggregation, type GetArtistOptions, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type ListArtistEventsOptions, type ListPlaceCountriesOptions, type ListTopArtistsOptions, 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, OrderRefundStatus, type OrderTotals, 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, OrganizationEventCancelledBy, type OrganizationEventEndpoints, OrganizationEventFileType, OrganizationEventLifecycleStatus, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventPromoCode, type OrganizationEventPromoCodeEndpoints, OrganizationEventPromoCodeType, type OrganizationEventPromoCodeValidation, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStatusInput, 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 OrganizationNotification, type OrganizationNotificationBase, type OrganizationNotificationEndpoints, OrganizationNotificationType, type OrganizationNotificationWithActor, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, PostponeOrganizationEventDto, 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, RescheduleOrganizationEventDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchArtistsOptions, 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, type UserNotificationOrganizationEventCancelled, type UserNotificationOrganizationEventPostponed, type UserNotificationOrganizationEventRescheduled, 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, artists, auth, buildFileFormData, calculateOrderTotal, calculateTicketFee, calculateTicketFeeWithCurrency, careers, channels, channelsWS, computeOrganizationEventStatus, currencies, feed, formatCurrencyLabel, formatPrice, fromSmallestUnit, getCurrencySymbol, getMinimumChargeableAmount, health, isBrowser, isMemberRoleAtLeast, isZeroDecimalCurrency, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, toSmallestUnit, users };
|
|
3042
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsChartPoint, type AnalyticsMetric, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, type Artist, type ArtistEndpoints, type ArtistSoundcloudBadges, type ArtistSoundcloudData, type ArtistSoundcloudWebProfile, type ArtistTonightPassData, type ArtistTrack, type ArtistWithTracks, 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, CancelOrganizationEventDto, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type CartTicket, 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, 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, DeleteUserDto, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, EventArtistDto, type EventArtistRef, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type FormatPriceOptions, type GeoPoint, GeoPointDto, type GeoSearchAggregation, type GetArtistOptions, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type ListArtistEventsOptions, type ListPlaceCountriesOptions, type ListTopArtistsOptions, 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, OrderRefundStatus, type OrderTotals, 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 OrganizationEventAnalyticsOverview, type OrganizationEventArrayOptions, type OrganizationEventCalendar, OrganizationEventCancelledBy, type OrganizationEventEndpoints, OrganizationEventFileType, OrganizationEventLifecycleStatus, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventPromoCode, type OrganizationEventPromoCodeEndpoints, OrganizationEventPromoCodeType, type OrganizationEventPromoCodeValidation, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStatusInput, 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 OrganizationNotification, type OrganizationNotificationBase, type OrganizationNotificationEndpoints, OrganizationNotificationType, type OrganizationNotificationWithActor, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, PostponeOrganizationEventDto, 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, RescheduleOrganizationEventDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchArtistsOptions, 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, UserDeletionBlockerType, UserDeletionReason, type UserDeletionResponse, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, type UserNotificationOrganizationEventCancelled, type UserNotificationOrganizationEventPostponed, type UserNotificationOrganizationEventRescheduled, 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, artists, auth, buildFileFormData, calculateOrderTotal, calculateTicketFee, calculateTicketFeeWithCurrency, careers, channels, channelsWS, computeOrganizationEventStatus, currencies, feed, formatCurrencyLabel, formatPrice, fromSmallestUnit, getCurrencySymbol, getMinimumChargeableAmount, health, isBrowser, isMemberRoleAtLeast, isZeroDecimalCurrency, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, toSmallestUnit, users };
|