tonightpass 0.0.217 → 0.0.219
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 +104 -50
- package/dist/index.d.ts +104 -50
- 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
|
@@ -450,11 +450,73 @@ type UserBookingWithoutTickets = Omit<UserBooking, "tickets">;
|
|
|
450
450
|
type UserBooking = Base & {
|
|
451
451
|
tickets: UserBookingTicket[];
|
|
452
452
|
order: Order;
|
|
453
|
-
|
|
453
|
+
customer: OrganizationCustomer;
|
|
454
454
|
event: OrganizationEvent;
|
|
455
455
|
};
|
|
456
456
|
type UserBookingEndpoints = Endpoint<"GET", "/users/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/@me/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/:userId/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/bookings/:bookingId", UserBooking> | Endpoint<"GET", "/users/@me/bookings/:bookingId", UserBooking> | UserBookingTicketEndpoints;
|
|
457
457
|
|
|
458
|
+
declare enum ProfileType {
|
|
459
|
+
User = "user",
|
|
460
|
+
Organization = "organization"
|
|
461
|
+
}
|
|
462
|
+
type BaseProfile = {
|
|
463
|
+
type: ProfileType;
|
|
464
|
+
slug: string;
|
|
465
|
+
displayName: string;
|
|
466
|
+
description?: string;
|
|
467
|
+
avatarUrl?: string;
|
|
468
|
+
bannerUrl?: string;
|
|
469
|
+
links: string[];
|
|
470
|
+
metadata: ProfileMetadata;
|
|
471
|
+
createdAt: Date;
|
|
472
|
+
};
|
|
473
|
+
type UserProfile = BaseProfile & {
|
|
474
|
+
type: ProfileType.User;
|
|
475
|
+
metadata: UserProfileMetadata;
|
|
476
|
+
};
|
|
477
|
+
type OrganizationProfile = BaseProfile & {
|
|
478
|
+
type: ProfileType.Organization;
|
|
479
|
+
metadata: OrganizationProfileMetadata;
|
|
480
|
+
};
|
|
481
|
+
type Profile = UserProfile | OrganizationProfile;
|
|
482
|
+
type BaseProfileMetadata = {
|
|
483
|
+
followersCount: number;
|
|
484
|
+
isFollower: boolean;
|
|
485
|
+
isFollowing: boolean;
|
|
486
|
+
isBlocked: boolean;
|
|
487
|
+
hasBlocked: boolean;
|
|
488
|
+
canDM: boolean;
|
|
489
|
+
isOfficial: boolean;
|
|
490
|
+
};
|
|
491
|
+
type UserProfileMetadata = BaseProfileMetadata & {
|
|
492
|
+
hasPassPlus: boolean;
|
|
493
|
+
};
|
|
494
|
+
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
495
|
+
eventsCount: number;
|
|
496
|
+
viewsCount: number;
|
|
497
|
+
membersCount: number;
|
|
498
|
+
};
|
|
499
|
+
type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
|
|
500
|
+
type SearchProfilesOptions = ArrayOptions<Profile> & {
|
|
501
|
+
q: string;
|
|
502
|
+
};
|
|
503
|
+
type ProfileEndpoints = Endpoint<"GET", "/profiles", ArrayResult<Profile>, ArrayOptions<Profile>> | Endpoint<"GET", "/profiles/search", ArrayResult<Profile>, SearchProfilesOptions> | Endpoint<"GET", "/profiles/:username", Profile> | Endpoint<"GET", "/profiles/@me/relationships/suggestions", ArrayResult<Profile>, ArrayOptions<OrganizationProfile | UserProfile>> | Endpoint<"GET", "/profiles/:username/relationships/followers", ArrayResult<UserProfile>, ArrayOptions<UserProfile>> | Endpoint<"POST", "/profiles/:username/relationships/follow", boolean, null> | Endpoint<"POST", "/profiles/:username/relationships/unfollow", boolean, null>;
|
|
504
|
+
|
|
505
|
+
type UserCustomer = UserProfile & {
|
|
506
|
+
email?: string;
|
|
507
|
+
phoneNumber?: string;
|
|
508
|
+
firstName: string;
|
|
509
|
+
lastName: string;
|
|
510
|
+
fullName: string;
|
|
511
|
+
metadata: UserCustomerMetadata;
|
|
512
|
+
};
|
|
513
|
+
type UserCustomerMetadata = UserProfileMetadata & {
|
|
514
|
+
bookingsCount: number;
|
|
515
|
+
eventsAttendedCount: number;
|
|
516
|
+
totalSpent: number;
|
|
517
|
+
lastBookingAt?: Date;
|
|
518
|
+
};
|
|
519
|
+
|
|
458
520
|
type UserToken = Omit<Base, "updatedAt"> & {
|
|
459
521
|
type: UserTokenType;
|
|
460
522
|
value: string;
|
|
@@ -1070,6 +1132,22 @@ type EventAnalyticsOptions = AnalyticsOptions & {
|
|
|
1070
1132
|
};
|
|
1071
1133
|
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions>;
|
|
1072
1134
|
|
|
1135
|
+
type OrganizationCustomer = UserProfile & {
|
|
1136
|
+
email?: string;
|
|
1137
|
+
phoneNumber?: string;
|
|
1138
|
+
firstName: string;
|
|
1139
|
+
lastName: string;
|
|
1140
|
+
fullName: string;
|
|
1141
|
+
metadata: OrganizationCustomerMetadata;
|
|
1142
|
+
};
|
|
1143
|
+
type OrganizationCustomerMetadata = UserProfileMetadata & {
|
|
1144
|
+
bookingsCount: number;
|
|
1145
|
+
eventsAttendedCount: number;
|
|
1146
|
+
totalSpent: number;
|
|
1147
|
+
lastBookingAt?: Date;
|
|
1148
|
+
};
|
|
1149
|
+
type OrganizationCustomersEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/customers", ArrayResult<OrganizationCustomer>, ArrayOptions<OrganizationCustomer>> | Endpoint<"GET", "/organizations/:organizationSlug/customers/:username", OrganizationCustomer>;
|
|
1150
|
+
|
|
1073
1151
|
type OrganizationToken = Omit<Base, "updatedAt"> & {
|
|
1074
1152
|
type: OrganizationTokenType;
|
|
1075
1153
|
value: string;
|
|
@@ -1101,6 +1179,11 @@ declare enum OrganizationMemberRole {
|
|
|
1101
1179
|
}
|
|
1102
1180
|
type OrganizationMembersEndpoints = Endpoint<"GET", "/organizations/members/@me", ArrayResult<OrganizationMember>, ArrayOptions<OrganizationMember>> | Endpoint<"GET", "/organizations/:organizationSlug/members", ArrayResult<OrganizationMember>, ArrayOptions<OrganizationMember>> | Endpoint<"POST", "/organizations/:organizationSlug/members", OrganizationMember, CreateOrganizationMemberDto> | Endpoint<"PUT", "/organizations/:organizationSlug/members/:username", OrganizationMember, UpdateOrganizationMemberDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/:username", OrganizationMember[], null> | Endpoint<"GET", "/organizations/:organizationSlug/members/invitations/links", ArrayResult<OrganizationToken>, ArrayOptions<OrganizationToken>> | Endpoint<"POST", "/organizations/:organizationSlug/members/invitations/links", OrganizationToken, CreateOrganizationMemberInvitationLinkDto> | Endpoint<"POST", "/organizations/:organizationSlug/members/invitations/accept", OrganizationMember, AcceptOrganizationMemberInvitationDto> | Endpoint<"PUT", "/organizations/:organizationSlug/members/@me/accept", OrganizationMember, null> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/@me/reject", null, null> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/@me", null, null>;
|
|
1103
1181
|
|
|
1182
|
+
type OrganizationOrder = Omit<Order, "user"> & {
|
|
1183
|
+
customer: OrganizationCustomer;
|
|
1184
|
+
};
|
|
1185
|
+
type OrganizationOrdersEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/orders", ArrayResult<OrganizationOrder>, ArrayOptions<OrganizationOrder>> | Endpoint<"GET", "/organizations/:organizationSlug/orders/:orderId", OrganizationOrder> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/orders", ArrayResult<OrganizationOrder>, ArrayOptions<OrganizationOrder>>;
|
|
1186
|
+
|
|
1104
1187
|
type Organization = Base & {
|
|
1105
1188
|
slug: string;
|
|
1106
1189
|
identity: OrganizationIdentity;
|
|
@@ -1124,54 +1207,7 @@ declare enum OrganizationFileType {
|
|
|
1124
1207
|
type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organization[], {
|
|
1125
1208
|
q: string;
|
|
1126
1209
|
limit?: number;
|
|
1127
|
-
}> | 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, null> | 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;
|
|
1128
|
-
|
|
1129
|
-
declare enum ProfileType {
|
|
1130
|
-
User = "user",
|
|
1131
|
-
Organization = "organization"
|
|
1132
|
-
}
|
|
1133
|
-
type BaseProfile = {
|
|
1134
|
-
type: ProfileType;
|
|
1135
|
-
slug: string;
|
|
1136
|
-
displayName: string;
|
|
1137
|
-
description?: string;
|
|
1138
|
-
avatarUrl?: string;
|
|
1139
|
-
bannerUrl?: string;
|
|
1140
|
-
links: string[];
|
|
1141
|
-
metadata: ProfileMetadata;
|
|
1142
|
-
createdAt: Date;
|
|
1143
|
-
};
|
|
1144
|
-
type UserProfile = BaseProfile & {
|
|
1145
|
-
type: ProfileType.User;
|
|
1146
|
-
metadata: UserProfileMetadata;
|
|
1147
|
-
};
|
|
1148
|
-
type OrganizationProfile = BaseProfile & {
|
|
1149
|
-
type: ProfileType.Organization;
|
|
1150
|
-
metadata: OrganizationProfileMetadata;
|
|
1151
|
-
};
|
|
1152
|
-
type Profile = UserProfile | OrganizationProfile;
|
|
1153
|
-
type BaseProfileMetadata = {
|
|
1154
|
-
followersCount: number;
|
|
1155
|
-
isFollower: boolean;
|
|
1156
|
-
isFollowing: boolean;
|
|
1157
|
-
isBlocked: boolean;
|
|
1158
|
-
hasBlocked: boolean;
|
|
1159
|
-
canDM: boolean;
|
|
1160
|
-
isOfficial: boolean;
|
|
1161
|
-
};
|
|
1162
|
-
type UserProfileMetadata = BaseProfileMetadata & {
|
|
1163
|
-
hasPassPlus: boolean;
|
|
1164
|
-
};
|
|
1165
|
-
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
1166
|
-
eventsCount: number;
|
|
1167
|
-
viewsCount: number;
|
|
1168
|
-
membersCount: number;
|
|
1169
|
-
};
|
|
1170
|
-
type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
|
|
1171
|
-
type SearchProfilesOptions = ArrayOptions<Profile> & {
|
|
1172
|
-
q: string;
|
|
1173
|
-
};
|
|
1174
|
-
type ProfileEndpoints = Endpoint<"GET", "/profiles", ArrayResult<Profile>, ArrayOptions<Profile>> | Endpoint<"GET", "/profiles/search", ArrayResult<Profile>, SearchProfilesOptions> | Endpoint<"GET", "/profiles/:username", Profile> | Endpoint<"GET", "/profiles/@me/relationships/suggestions", ArrayResult<Profile>, ArrayOptions<OrganizationProfile | UserProfile>> | Endpoint<"GET", "/profiles/:username/relationships/followers", ArrayResult<UserProfile>, ArrayOptions<UserProfile>> | Endpoint<"POST", "/profiles/:username/relationships/follow", boolean, null> | Endpoint<"POST", "/profiles/:username/relationships/unfollow", boolean, null>;
|
|
1210
|
+
}> | 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, null> | 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;
|
|
1175
1211
|
|
|
1176
1212
|
type WebhookEndpoints = Endpoint<"POST", "/webhooks/stripe", boolean, Stripe__default.Event>;
|
|
1177
1213
|
|
|
@@ -1494,6 +1530,15 @@ declare const organizations: (client: Client) => {
|
|
|
1494
1530
|
reject: (organizationSlug: string) => Promise<null>;
|
|
1495
1531
|
leave: (organizationSlug: string) => Promise<null>;
|
|
1496
1532
|
};
|
|
1533
|
+
customers: {
|
|
1534
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationCustomer>>;
|
|
1535
|
+
get: (organizationSlug: string, username: string) => Promise<OrganizationCustomer>;
|
|
1536
|
+
};
|
|
1537
|
+
orders: {
|
|
1538
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1539
|
+
get: (organizationSlug: string, orderId: string) => Promise<OrganizationOrder>;
|
|
1540
|
+
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1541
|
+
};
|
|
1497
1542
|
};
|
|
1498
1543
|
|
|
1499
1544
|
declare const profiles: (client: Client) => {
|
|
@@ -1728,6 +1773,15 @@ declare class TonightPass {
|
|
|
1728
1773
|
reject: (organizationSlug: string) => Promise<null>;
|
|
1729
1774
|
leave: (organizationSlug: string) => Promise<null>;
|
|
1730
1775
|
};
|
|
1776
|
+
customers: {
|
|
1777
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationCustomer>>;
|
|
1778
|
+
get: (organizationSlug: string, username: string) => Promise<OrganizationCustomer>;
|
|
1779
|
+
};
|
|
1780
|
+
orders: {
|
|
1781
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1782
|
+
get: (organizationSlug: string, orderId: string) => Promise<OrganizationOrder>;
|
|
1783
|
+
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1784
|
+
};
|
|
1731
1785
|
};
|
|
1732
1786
|
readonly profiles: {
|
|
1733
1787
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -1957,4 +2011,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
1957
2011
|
client: ChannelWebSocketClient;
|
|
1958
2012
|
};
|
|
1959
2013
|
|
|
1960
|
-
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, type AuthMethod, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, 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, type 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 FeedEndpoints, type FeedPost, FeedType, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, Language, type Location$1 as Location, type NotificationEndpoints, OAuth2Provider, type Order, type OrderEndpoints, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventOrderEndpoints, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type SearchOrganizationEventsOptions, type SearchProfilesOptions, SignInUserDto, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, type 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 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, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, type UserToken, UserTokenType, 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, notifications, orders, organizations, profiles, request, sdk, users };
|
|
2014
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, type AuthMethod, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, 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, type 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 FeedEndpoints, type FeedPost, FeedType, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, Language, type Location$1 as Location, 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 OrganizationEventOrderEndpoints, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type SearchOrganizationEventsOptions, type SearchProfilesOptions, SignInUserDto, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, type 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, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, type UserToken, UserTokenType, 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, notifications, orders, organizations, profiles, request, sdk, users };
|
package/dist/index.d.ts
CHANGED
|
@@ -450,11 +450,73 @@ type UserBookingWithoutTickets = Omit<UserBooking, "tickets">;
|
|
|
450
450
|
type UserBooking = Base & {
|
|
451
451
|
tickets: UserBookingTicket[];
|
|
452
452
|
order: Order;
|
|
453
|
-
|
|
453
|
+
customer: OrganizationCustomer;
|
|
454
454
|
event: OrganizationEvent;
|
|
455
455
|
};
|
|
456
456
|
type UserBookingEndpoints = Endpoint<"GET", "/users/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/@me/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/:userId/bookings", ArrayResult<UserBooking>, ArrayOptions<UserBooking>> | Endpoint<"GET", "/users/bookings/:bookingId", UserBooking> | Endpoint<"GET", "/users/@me/bookings/:bookingId", UserBooking> | UserBookingTicketEndpoints;
|
|
457
457
|
|
|
458
|
+
declare enum ProfileType {
|
|
459
|
+
User = "user",
|
|
460
|
+
Organization = "organization"
|
|
461
|
+
}
|
|
462
|
+
type BaseProfile = {
|
|
463
|
+
type: ProfileType;
|
|
464
|
+
slug: string;
|
|
465
|
+
displayName: string;
|
|
466
|
+
description?: string;
|
|
467
|
+
avatarUrl?: string;
|
|
468
|
+
bannerUrl?: string;
|
|
469
|
+
links: string[];
|
|
470
|
+
metadata: ProfileMetadata;
|
|
471
|
+
createdAt: Date;
|
|
472
|
+
};
|
|
473
|
+
type UserProfile = BaseProfile & {
|
|
474
|
+
type: ProfileType.User;
|
|
475
|
+
metadata: UserProfileMetadata;
|
|
476
|
+
};
|
|
477
|
+
type OrganizationProfile = BaseProfile & {
|
|
478
|
+
type: ProfileType.Organization;
|
|
479
|
+
metadata: OrganizationProfileMetadata;
|
|
480
|
+
};
|
|
481
|
+
type Profile = UserProfile | OrganizationProfile;
|
|
482
|
+
type BaseProfileMetadata = {
|
|
483
|
+
followersCount: number;
|
|
484
|
+
isFollower: boolean;
|
|
485
|
+
isFollowing: boolean;
|
|
486
|
+
isBlocked: boolean;
|
|
487
|
+
hasBlocked: boolean;
|
|
488
|
+
canDM: boolean;
|
|
489
|
+
isOfficial: boolean;
|
|
490
|
+
};
|
|
491
|
+
type UserProfileMetadata = BaseProfileMetadata & {
|
|
492
|
+
hasPassPlus: boolean;
|
|
493
|
+
};
|
|
494
|
+
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
495
|
+
eventsCount: number;
|
|
496
|
+
viewsCount: number;
|
|
497
|
+
membersCount: number;
|
|
498
|
+
};
|
|
499
|
+
type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
|
|
500
|
+
type SearchProfilesOptions = ArrayOptions<Profile> & {
|
|
501
|
+
q: string;
|
|
502
|
+
};
|
|
503
|
+
type ProfileEndpoints = Endpoint<"GET", "/profiles", ArrayResult<Profile>, ArrayOptions<Profile>> | Endpoint<"GET", "/profiles/search", ArrayResult<Profile>, SearchProfilesOptions> | Endpoint<"GET", "/profiles/:username", Profile> | Endpoint<"GET", "/profiles/@me/relationships/suggestions", ArrayResult<Profile>, ArrayOptions<OrganizationProfile | UserProfile>> | Endpoint<"GET", "/profiles/:username/relationships/followers", ArrayResult<UserProfile>, ArrayOptions<UserProfile>> | Endpoint<"POST", "/profiles/:username/relationships/follow", boolean, null> | Endpoint<"POST", "/profiles/:username/relationships/unfollow", boolean, null>;
|
|
504
|
+
|
|
505
|
+
type UserCustomer = UserProfile & {
|
|
506
|
+
email?: string;
|
|
507
|
+
phoneNumber?: string;
|
|
508
|
+
firstName: string;
|
|
509
|
+
lastName: string;
|
|
510
|
+
fullName: string;
|
|
511
|
+
metadata: UserCustomerMetadata;
|
|
512
|
+
};
|
|
513
|
+
type UserCustomerMetadata = UserProfileMetadata & {
|
|
514
|
+
bookingsCount: number;
|
|
515
|
+
eventsAttendedCount: number;
|
|
516
|
+
totalSpent: number;
|
|
517
|
+
lastBookingAt?: Date;
|
|
518
|
+
};
|
|
519
|
+
|
|
458
520
|
type UserToken = Omit<Base, "updatedAt"> & {
|
|
459
521
|
type: UserTokenType;
|
|
460
522
|
value: string;
|
|
@@ -1070,6 +1132,22 @@ type EventAnalyticsOptions = AnalyticsOptions & {
|
|
|
1070
1132
|
};
|
|
1071
1133
|
type OrganizationAnalyticsEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/analytics/overview", OrganizationAnalyticsOverview, AnalyticsOptions> | Endpoint<"GET", "/organizations/:organizationSlug/analytics/events", ArrayResult<OrganizationEventAnalytics>, ArrayOptions<OrganizationEventAnalytics> & EventAnalyticsOptions>;
|
|
1072
1134
|
|
|
1135
|
+
type OrganizationCustomer = UserProfile & {
|
|
1136
|
+
email?: string;
|
|
1137
|
+
phoneNumber?: string;
|
|
1138
|
+
firstName: string;
|
|
1139
|
+
lastName: string;
|
|
1140
|
+
fullName: string;
|
|
1141
|
+
metadata: OrganizationCustomerMetadata;
|
|
1142
|
+
};
|
|
1143
|
+
type OrganizationCustomerMetadata = UserProfileMetadata & {
|
|
1144
|
+
bookingsCount: number;
|
|
1145
|
+
eventsAttendedCount: number;
|
|
1146
|
+
totalSpent: number;
|
|
1147
|
+
lastBookingAt?: Date;
|
|
1148
|
+
};
|
|
1149
|
+
type OrganizationCustomersEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/customers", ArrayResult<OrganizationCustomer>, ArrayOptions<OrganizationCustomer>> | Endpoint<"GET", "/organizations/:organizationSlug/customers/:username", OrganizationCustomer>;
|
|
1150
|
+
|
|
1073
1151
|
type OrganizationToken = Omit<Base, "updatedAt"> & {
|
|
1074
1152
|
type: OrganizationTokenType;
|
|
1075
1153
|
value: string;
|
|
@@ -1101,6 +1179,11 @@ declare enum OrganizationMemberRole {
|
|
|
1101
1179
|
}
|
|
1102
1180
|
type OrganizationMembersEndpoints = Endpoint<"GET", "/organizations/members/@me", ArrayResult<OrganizationMember>, ArrayOptions<OrganizationMember>> | Endpoint<"GET", "/organizations/:organizationSlug/members", ArrayResult<OrganizationMember>, ArrayOptions<OrganizationMember>> | Endpoint<"POST", "/organizations/:organizationSlug/members", OrganizationMember, CreateOrganizationMemberDto> | Endpoint<"PUT", "/organizations/:organizationSlug/members/:username", OrganizationMember, UpdateOrganizationMemberDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/:username", OrganizationMember[], null> | Endpoint<"GET", "/organizations/:organizationSlug/members/invitations/links", ArrayResult<OrganizationToken>, ArrayOptions<OrganizationToken>> | Endpoint<"POST", "/organizations/:organizationSlug/members/invitations/links", OrganizationToken, CreateOrganizationMemberInvitationLinkDto> | Endpoint<"POST", "/organizations/:organizationSlug/members/invitations/accept", OrganizationMember, AcceptOrganizationMemberInvitationDto> | Endpoint<"PUT", "/organizations/:organizationSlug/members/@me/accept", OrganizationMember, null> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/@me/reject", null, null> | Endpoint<"DELETE", "/organizations/:organizationSlug/members/@me", null, null>;
|
|
1103
1181
|
|
|
1182
|
+
type OrganizationOrder = Omit<Order, "user"> & {
|
|
1183
|
+
customer: OrganizationCustomer;
|
|
1184
|
+
};
|
|
1185
|
+
type OrganizationOrdersEndpoints = Endpoint<"GET", "/organizations/:organizationSlug/orders", ArrayResult<OrganizationOrder>, ArrayOptions<OrganizationOrder>> | Endpoint<"GET", "/organizations/:organizationSlug/orders/:orderId", OrganizationOrder> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/orders", ArrayResult<OrganizationOrder>, ArrayOptions<OrganizationOrder>>;
|
|
1186
|
+
|
|
1104
1187
|
type Organization = Base & {
|
|
1105
1188
|
slug: string;
|
|
1106
1189
|
identity: OrganizationIdentity;
|
|
@@ -1124,54 +1207,7 @@ declare enum OrganizationFileType {
|
|
|
1124
1207
|
type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organization[], {
|
|
1125
1208
|
q: string;
|
|
1126
1209
|
limit?: number;
|
|
1127
|
-
}> | 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, null> | 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;
|
|
1128
|
-
|
|
1129
|
-
declare enum ProfileType {
|
|
1130
|
-
User = "user",
|
|
1131
|
-
Organization = "organization"
|
|
1132
|
-
}
|
|
1133
|
-
type BaseProfile = {
|
|
1134
|
-
type: ProfileType;
|
|
1135
|
-
slug: string;
|
|
1136
|
-
displayName: string;
|
|
1137
|
-
description?: string;
|
|
1138
|
-
avatarUrl?: string;
|
|
1139
|
-
bannerUrl?: string;
|
|
1140
|
-
links: string[];
|
|
1141
|
-
metadata: ProfileMetadata;
|
|
1142
|
-
createdAt: Date;
|
|
1143
|
-
};
|
|
1144
|
-
type UserProfile = BaseProfile & {
|
|
1145
|
-
type: ProfileType.User;
|
|
1146
|
-
metadata: UserProfileMetadata;
|
|
1147
|
-
};
|
|
1148
|
-
type OrganizationProfile = BaseProfile & {
|
|
1149
|
-
type: ProfileType.Organization;
|
|
1150
|
-
metadata: OrganizationProfileMetadata;
|
|
1151
|
-
};
|
|
1152
|
-
type Profile = UserProfile | OrganizationProfile;
|
|
1153
|
-
type BaseProfileMetadata = {
|
|
1154
|
-
followersCount: number;
|
|
1155
|
-
isFollower: boolean;
|
|
1156
|
-
isFollowing: boolean;
|
|
1157
|
-
isBlocked: boolean;
|
|
1158
|
-
hasBlocked: boolean;
|
|
1159
|
-
canDM: boolean;
|
|
1160
|
-
isOfficial: boolean;
|
|
1161
|
-
};
|
|
1162
|
-
type UserProfileMetadata = BaseProfileMetadata & {
|
|
1163
|
-
hasPassPlus: boolean;
|
|
1164
|
-
};
|
|
1165
|
-
type OrganizationProfileMetadata = BaseProfileMetadata & {
|
|
1166
|
-
eventsCount: number;
|
|
1167
|
-
viewsCount: number;
|
|
1168
|
-
membersCount: number;
|
|
1169
|
-
};
|
|
1170
|
-
type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
|
|
1171
|
-
type SearchProfilesOptions = ArrayOptions<Profile> & {
|
|
1172
|
-
q: string;
|
|
1173
|
-
};
|
|
1174
|
-
type ProfileEndpoints = Endpoint<"GET", "/profiles", ArrayResult<Profile>, ArrayOptions<Profile>> | Endpoint<"GET", "/profiles/search", ArrayResult<Profile>, SearchProfilesOptions> | Endpoint<"GET", "/profiles/:username", Profile> | Endpoint<"GET", "/profiles/@me/relationships/suggestions", ArrayResult<Profile>, ArrayOptions<OrganizationProfile | UserProfile>> | Endpoint<"GET", "/profiles/:username/relationships/followers", ArrayResult<UserProfile>, ArrayOptions<UserProfile>> | Endpoint<"POST", "/profiles/:username/relationships/follow", boolean, null> | Endpoint<"POST", "/profiles/:username/relationships/unfollow", boolean, null>;
|
|
1210
|
+
}> | 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, null> | 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;
|
|
1175
1211
|
|
|
1176
1212
|
type WebhookEndpoints = Endpoint<"POST", "/webhooks/stripe", boolean, Stripe__default.Event>;
|
|
1177
1213
|
|
|
@@ -1494,6 +1530,15 @@ declare const organizations: (client: Client) => {
|
|
|
1494
1530
|
reject: (organizationSlug: string) => Promise<null>;
|
|
1495
1531
|
leave: (organizationSlug: string) => Promise<null>;
|
|
1496
1532
|
};
|
|
1533
|
+
customers: {
|
|
1534
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationCustomer>>;
|
|
1535
|
+
get: (organizationSlug: string, username: string) => Promise<OrganizationCustomer>;
|
|
1536
|
+
};
|
|
1537
|
+
orders: {
|
|
1538
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1539
|
+
get: (organizationSlug: string, orderId: string) => Promise<OrganizationOrder>;
|
|
1540
|
+
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1541
|
+
};
|
|
1497
1542
|
};
|
|
1498
1543
|
|
|
1499
1544
|
declare const profiles: (client: Client) => {
|
|
@@ -1728,6 +1773,15 @@ declare class TonightPass {
|
|
|
1728
1773
|
reject: (organizationSlug: string) => Promise<null>;
|
|
1729
1774
|
leave: (organizationSlug: string) => Promise<null>;
|
|
1730
1775
|
};
|
|
1776
|
+
customers: {
|
|
1777
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationCustomer>>;
|
|
1778
|
+
get: (organizationSlug: string, username: string) => Promise<OrganizationCustomer>;
|
|
1779
|
+
};
|
|
1780
|
+
orders: {
|
|
1781
|
+
getAll: (organizationSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1782
|
+
get: (organizationSlug: string, orderId: string) => Promise<OrganizationOrder>;
|
|
1783
|
+
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1784
|
+
};
|
|
1731
1785
|
};
|
|
1732
1786
|
readonly profiles: {
|
|
1733
1787
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -1957,4 +2011,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
1957
2011
|
client: ChannelWebSocketClient;
|
|
1958
2012
|
};
|
|
1959
2013
|
|
|
1960
|
-
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, type AuthMethod, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, 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, type 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 FeedEndpoints, type FeedPost, FeedType, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, Language, type Location$1 as Location, type NotificationEndpoints, OAuth2Provider, type Order, type OrderEndpoints, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventOrderEndpoints, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type SearchOrganizationEventsOptions, type SearchProfilesOptions, SignInUserDto, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, type 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 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, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, type UserToken, UserTokenType, 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, notifications, orders, organizations, profiles, request, sdk, users };
|
|
2014
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, type AuthMethod, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, 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, type 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 FeedEndpoints, type FeedPost, FeedType, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, Language, type Location$1 as Location, 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 OrganizationEventOrderEndpoints, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type SearchOrganizationEventsOptions, type SearchProfilesOptions, SignInUserDto, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, type 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, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, type UserToken, UserTokenType, 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, notifications, orders, organizations, profiles, request, sdk, users };
|