tonightpass 0.0.240 → 0.0.242
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 +92 -6
- package/dist/index.d.ts +92 -6
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pathcat from 'pathcat';
|
|
2
|
-
import {
|
|
2
|
+
import { Query, ParamValue } from 'pathcat';
|
|
3
3
|
export * from 'pathcat';
|
|
4
4
|
import { Options, Response as Response$1 } from 'redaxios';
|
|
5
5
|
import * as Stripe from 'stripe';
|
|
@@ -53,7 +53,13 @@ type Endpoint<M extends Options["method"], Path extends string, Res, Body = unde
|
|
|
53
53
|
res: Res;
|
|
54
54
|
body: Body;
|
|
55
55
|
};
|
|
56
|
-
type
|
|
56
|
+
type SSEEndpoints = Extract<Endpoints, {
|
|
57
|
+
method: "GET";
|
|
58
|
+
}> extends infer E ? E extends {
|
|
59
|
+
res: ReadableStream<infer _>;
|
|
60
|
+
path: infer P;
|
|
61
|
+
} ? P : never : never;
|
|
62
|
+
type Endpoints = ApiKeyEndpoints | AuthEndpoints | CareerEndpoints | ChannelEndpoints | ChannelMessageEndpoints | CurrenciesEndpoints | FeedEndpoints | HealthEndpoints | OrderEndpoints | OrganizationEndpoints | PlaceEndpoints | ProfileEndpoints | RoadmapEndpoints | UserEndpoints | WebhookEndpoints | NotificationEndpoints;
|
|
57
63
|
|
|
58
64
|
declare enum ApiKeyTier {
|
|
59
65
|
PUBLIC = "public",
|
|
@@ -744,7 +750,14 @@ declare enum OrganizationEventStyleType {
|
|
|
744
750
|
}
|
|
745
751
|
type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
|
|
746
752
|
|
|
747
|
-
type
|
|
753
|
+
type OrganizationEventViewOptions = {
|
|
754
|
+
events: string | string[];
|
|
755
|
+
};
|
|
756
|
+
type OrganizationEventViewResult = {
|
|
757
|
+
eventId: string;
|
|
758
|
+
viewsCount: number;
|
|
759
|
+
};
|
|
760
|
+
type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"GET", "/organizations/events/views/stream", ReadableStream<OrganizationEventViewResult>, OrganizationEventViewOptions>;
|
|
748
761
|
|
|
749
762
|
type OrganizationEventTicket = Base & {
|
|
750
763
|
name: string;
|
|
@@ -797,6 +810,7 @@ type OrganizationEvent = Base & {
|
|
|
797
810
|
sessionsCount: number;
|
|
798
811
|
totalViewsCount: number;
|
|
799
812
|
averageViewsPerSessionCount: number;
|
|
813
|
+
hypeCount: number;
|
|
800
814
|
startAt: Date;
|
|
801
815
|
endAt: Date;
|
|
802
816
|
};
|
|
@@ -842,6 +856,8 @@ type OrganizationEventArrayOptions = ArrayOptions<OrganizationEvent> & {
|
|
|
842
856
|
status?: OrganizationEventStatus | OrganizationEventStatus[];
|
|
843
857
|
types?: OrganizationEventType | OrganizationEventType[];
|
|
844
858
|
styles?: string | string[];
|
|
859
|
+
city?: string;
|
|
860
|
+
country?: string;
|
|
845
861
|
};
|
|
846
862
|
type SearchOrganizationEventsOptions = ArrayOptions<OrganizationEvent> & {
|
|
847
863
|
q: string;
|
|
@@ -961,6 +977,45 @@ type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organizati
|
|
|
961
977
|
limit?: number;
|
|
962
978
|
}> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
|
|
963
979
|
|
|
980
|
+
type PlaceCountry = Base & {
|
|
981
|
+
geonameId: number;
|
|
982
|
+
name: string;
|
|
983
|
+
code: string;
|
|
984
|
+
isoAlpha3: string;
|
|
985
|
+
slug: string;
|
|
986
|
+
continent: string;
|
|
987
|
+
continentName: string;
|
|
988
|
+
capital: string;
|
|
989
|
+
population: number;
|
|
990
|
+
areaInSqKm: number;
|
|
991
|
+
languages: string;
|
|
992
|
+
currencyCode: string;
|
|
993
|
+
north: number;
|
|
994
|
+
south: number;
|
|
995
|
+
east: number;
|
|
996
|
+
west: number;
|
|
997
|
+
};
|
|
998
|
+
type PlaceCity = Base & {
|
|
999
|
+
geonameId: number;
|
|
1000
|
+
name: string;
|
|
1001
|
+
asciiName: string;
|
|
1002
|
+
country: string;
|
|
1003
|
+
countryCode: string;
|
|
1004
|
+
region: string;
|
|
1005
|
+
department: string;
|
|
1006
|
+
latitude: number;
|
|
1007
|
+
longitude: number;
|
|
1008
|
+
population: number;
|
|
1009
|
+
timezone: string;
|
|
1010
|
+
isCapital: boolean;
|
|
1011
|
+
citySlug: string;
|
|
1012
|
+
countrySlug: string;
|
|
1013
|
+
};
|
|
1014
|
+
type SearchPlacesOptions = ArrayOptions<PlaceCity> & {
|
|
1015
|
+
q: string;
|
|
1016
|
+
};
|
|
1017
|
+
type PlaceEndpoints = Endpoint<"GET", "/places/countries", ArrayResult<PlaceCountry>, ArrayOptions<PlaceCountry>> | Endpoint<"GET", "/places/countries/:countrySlug", PlaceCountry> | Endpoint<"GET", "/places/countries/:countrySlug/cities", ArrayResult<PlaceCity>, ArrayOptions<PlaceCity>> | Endpoint<"GET", "/places/countries/:countrySlug/cities/:citySlug", PlaceCity | ExcludeBase<PlaceCity>> | Endpoint<"GET", "/places/cities", ArrayResult<PlaceCity>, ArrayOptions<PlaceCity>> | Endpoint<"GET", "/places/cities/search", ArrayResult<PlaceCity>, SearchPlacesOptions>;
|
|
1018
|
+
|
|
964
1019
|
declare const ROADMAP_REACTIONS: readonly ["👍", "❤️", "🎉", "👀", "🚀"];
|
|
965
1020
|
type RoadmapReaction = (typeof ROADMAP_REACTIONS)[number];
|
|
966
1021
|
type RoadmapReactionCounts = {
|
|
@@ -1183,7 +1238,7 @@ declare class AtLeastOneMediaConstraint implements ValidatorConstraintInterface
|
|
|
1183
1238
|
defaultMessage(): string;
|
|
1184
1239
|
}
|
|
1185
1240
|
declare function AtLeastOneMedia(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
|
|
1186
|
-
type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount"> & {
|
|
1241
|
+
type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount" | "hypeCount"> & {
|
|
1187
1242
|
slug?: string;
|
|
1188
1243
|
styles: string[];
|
|
1189
1244
|
tickets: CreateOrganizationEventTicketInput[];
|
|
@@ -1436,7 +1491,7 @@ declare class Client {
|
|
|
1436
1491
|
private apiKey?;
|
|
1437
1492
|
private accessToken?;
|
|
1438
1493
|
private cacheManager?;
|
|
1439
|
-
readonly url: (path: string, params:
|
|
1494
|
+
readonly url: (path: string, params: Query<string>) => string;
|
|
1440
1495
|
constructor(options: ClientOptions);
|
|
1441
1496
|
setOptions(options: ClientOptions): void;
|
|
1442
1497
|
setAccessToken(accessToken: string | undefined): void;
|
|
@@ -1639,6 +1694,7 @@ declare const organizations: (client: Client) => {
|
|
|
1639
1694
|
};
|
|
1640
1695
|
views: {
|
|
1641
1696
|
record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
|
|
1697
|
+
getStreamUrl: (options: OrganizationEventViewOptions) => string;
|
|
1642
1698
|
};
|
|
1643
1699
|
};
|
|
1644
1700
|
members: {
|
|
@@ -1667,6 +1723,21 @@ declare const organizations: (client: Client) => {
|
|
|
1667
1723
|
};
|
|
1668
1724
|
};
|
|
1669
1725
|
|
|
1726
|
+
declare const places: (client: Client) => {
|
|
1727
|
+
countries: {
|
|
1728
|
+
getAll: (options?: ArrayOptions<PlaceCountry>) => Promise<ArrayResult<PlaceCountry>>;
|
|
1729
|
+
get: (countrySlug: string) => Promise<PlaceCountry>;
|
|
1730
|
+
cities: {
|
|
1731
|
+
getAll: (countrySlug: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1732
|
+
get: (countrySlug: string, citySlug: string) => Promise<PlaceCity | ExcludeBase<PlaceCity>>;
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
cities: {
|
|
1736
|
+
getAll: (options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1737
|
+
search: (query: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1670
1741
|
declare const profiles: (client: Client) => {
|
|
1671
1742
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
1672
1743
|
search: (query: string, options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -1889,6 +1960,7 @@ declare class TonightPass {
|
|
|
1889
1960
|
};
|
|
1890
1961
|
views: {
|
|
1891
1962
|
record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
|
|
1963
|
+
getStreamUrl: (options: OrganizationEventViewOptions) => string;
|
|
1892
1964
|
};
|
|
1893
1965
|
};
|
|
1894
1966
|
members: {
|
|
@@ -1916,6 +1988,20 @@ declare class TonightPass {
|
|
|
1916
1988
|
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1917
1989
|
};
|
|
1918
1990
|
};
|
|
1991
|
+
readonly places: {
|
|
1992
|
+
countries: {
|
|
1993
|
+
getAll: (options?: ArrayOptions<PlaceCountry>) => Promise<ArrayResult<PlaceCountry>>;
|
|
1994
|
+
get: (countrySlug: string) => Promise<PlaceCountry>;
|
|
1995
|
+
cities: {
|
|
1996
|
+
getAll: (countrySlug: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1997
|
+
get: (countrySlug: string, citySlug: string) => Promise<PlaceCity | ExcludeBase<PlaceCity>>;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
cities: {
|
|
2001
|
+
getAll: (options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
2002
|
+
search: (query: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
1919
2005
|
readonly profiles: {
|
|
1920
2006
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
1921
2007
|
search: (query: string, options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -2147,4 +2233,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
2147
2233
|
client: ChannelWebSocketClient;
|
|
2148
2234
|
};
|
|
2149
2235
|
|
|
2150
|
-
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type 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 FileObject, 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, OrganizationMemberRolePower, 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, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, 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, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, profiles, request, roadmap, sdk, users };
|
|
2236
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type 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 FileObject, 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, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type 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, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, users };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pathcat from 'pathcat';
|
|
2
|
-
import {
|
|
2
|
+
import { Query, ParamValue } from 'pathcat';
|
|
3
3
|
export * from 'pathcat';
|
|
4
4
|
import { Options, Response as Response$1 } from 'redaxios';
|
|
5
5
|
import * as Stripe from 'stripe';
|
|
@@ -53,7 +53,13 @@ type Endpoint<M extends Options["method"], Path extends string, Res, Body = unde
|
|
|
53
53
|
res: Res;
|
|
54
54
|
body: Body;
|
|
55
55
|
};
|
|
56
|
-
type
|
|
56
|
+
type SSEEndpoints = Extract<Endpoints, {
|
|
57
|
+
method: "GET";
|
|
58
|
+
}> extends infer E ? E extends {
|
|
59
|
+
res: ReadableStream<infer _>;
|
|
60
|
+
path: infer P;
|
|
61
|
+
} ? P : never : never;
|
|
62
|
+
type Endpoints = ApiKeyEndpoints | AuthEndpoints | CareerEndpoints | ChannelEndpoints | ChannelMessageEndpoints | CurrenciesEndpoints | FeedEndpoints | HealthEndpoints | OrderEndpoints | OrganizationEndpoints | PlaceEndpoints | ProfileEndpoints | RoadmapEndpoints | UserEndpoints | WebhookEndpoints | NotificationEndpoints;
|
|
57
63
|
|
|
58
64
|
declare enum ApiKeyTier {
|
|
59
65
|
PUBLIC = "public",
|
|
@@ -744,7 +750,14 @@ declare enum OrganizationEventStyleType {
|
|
|
744
750
|
}
|
|
745
751
|
type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
|
|
746
752
|
|
|
747
|
-
type
|
|
753
|
+
type OrganizationEventViewOptions = {
|
|
754
|
+
events: string | string[];
|
|
755
|
+
};
|
|
756
|
+
type OrganizationEventViewResult = {
|
|
757
|
+
eventId: string;
|
|
758
|
+
viewsCount: number;
|
|
759
|
+
};
|
|
760
|
+
type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"GET", "/organizations/events/views/stream", ReadableStream<OrganizationEventViewResult>, OrganizationEventViewOptions>;
|
|
748
761
|
|
|
749
762
|
type OrganizationEventTicket = Base & {
|
|
750
763
|
name: string;
|
|
@@ -797,6 +810,7 @@ type OrganizationEvent = Base & {
|
|
|
797
810
|
sessionsCount: number;
|
|
798
811
|
totalViewsCount: number;
|
|
799
812
|
averageViewsPerSessionCount: number;
|
|
813
|
+
hypeCount: number;
|
|
800
814
|
startAt: Date;
|
|
801
815
|
endAt: Date;
|
|
802
816
|
};
|
|
@@ -842,6 +856,8 @@ type OrganizationEventArrayOptions = ArrayOptions<OrganizationEvent> & {
|
|
|
842
856
|
status?: OrganizationEventStatus | OrganizationEventStatus[];
|
|
843
857
|
types?: OrganizationEventType | OrganizationEventType[];
|
|
844
858
|
styles?: string | string[];
|
|
859
|
+
city?: string;
|
|
860
|
+
country?: string;
|
|
845
861
|
};
|
|
846
862
|
type SearchOrganizationEventsOptions = ArrayOptions<OrganizationEvent> & {
|
|
847
863
|
q: string;
|
|
@@ -961,6 +977,45 @@ type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organizati
|
|
|
961
977
|
limit?: number;
|
|
962
978
|
}> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
|
|
963
979
|
|
|
980
|
+
type PlaceCountry = Base & {
|
|
981
|
+
geonameId: number;
|
|
982
|
+
name: string;
|
|
983
|
+
code: string;
|
|
984
|
+
isoAlpha3: string;
|
|
985
|
+
slug: string;
|
|
986
|
+
continent: string;
|
|
987
|
+
continentName: string;
|
|
988
|
+
capital: string;
|
|
989
|
+
population: number;
|
|
990
|
+
areaInSqKm: number;
|
|
991
|
+
languages: string;
|
|
992
|
+
currencyCode: string;
|
|
993
|
+
north: number;
|
|
994
|
+
south: number;
|
|
995
|
+
east: number;
|
|
996
|
+
west: number;
|
|
997
|
+
};
|
|
998
|
+
type PlaceCity = Base & {
|
|
999
|
+
geonameId: number;
|
|
1000
|
+
name: string;
|
|
1001
|
+
asciiName: string;
|
|
1002
|
+
country: string;
|
|
1003
|
+
countryCode: string;
|
|
1004
|
+
region: string;
|
|
1005
|
+
department: string;
|
|
1006
|
+
latitude: number;
|
|
1007
|
+
longitude: number;
|
|
1008
|
+
population: number;
|
|
1009
|
+
timezone: string;
|
|
1010
|
+
isCapital: boolean;
|
|
1011
|
+
citySlug: string;
|
|
1012
|
+
countrySlug: string;
|
|
1013
|
+
};
|
|
1014
|
+
type SearchPlacesOptions = ArrayOptions<PlaceCity> & {
|
|
1015
|
+
q: string;
|
|
1016
|
+
};
|
|
1017
|
+
type PlaceEndpoints = Endpoint<"GET", "/places/countries", ArrayResult<PlaceCountry>, ArrayOptions<PlaceCountry>> | Endpoint<"GET", "/places/countries/:countrySlug", PlaceCountry> | Endpoint<"GET", "/places/countries/:countrySlug/cities", ArrayResult<PlaceCity>, ArrayOptions<PlaceCity>> | Endpoint<"GET", "/places/countries/:countrySlug/cities/:citySlug", PlaceCity | ExcludeBase<PlaceCity>> | Endpoint<"GET", "/places/cities", ArrayResult<PlaceCity>, ArrayOptions<PlaceCity>> | Endpoint<"GET", "/places/cities/search", ArrayResult<PlaceCity>, SearchPlacesOptions>;
|
|
1018
|
+
|
|
964
1019
|
declare const ROADMAP_REACTIONS: readonly ["👍", "❤️", "🎉", "👀", "🚀"];
|
|
965
1020
|
type RoadmapReaction = (typeof ROADMAP_REACTIONS)[number];
|
|
966
1021
|
type RoadmapReactionCounts = {
|
|
@@ -1183,7 +1238,7 @@ declare class AtLeastOneMediaConstraint implements ValidatorConstraintInterface
|
|
|
1183
1238
|
defaultMessage(): string;
|
|
1184
1239
|
}
|
|
1185
1240
|
declare function AtLeastOneMedia(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
|
|
1186
|
-
type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount"> & {
|
|
1241
|
+
type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount" | "hypeCount"> & {
|
|
1187
1242
|
slug?: string;
|
|
1188
1243
|
styles: string[];
|
|
1189
1244
|
tickets: CreateOrganizationEventTicketInput[];
|
|
@@ -1436,7 +1491,7 @@ declare class Client {
|
|
|
1436
1491
|
private apiKey?;
|
|
1437
1492
|
private accessToken?;
|
|
1438
1493
|
private cacheManager?;
|
|
1439
|
-
readonly url: (path: string, params:
|
|
1494
|
+
readonly url: (path: string, params: Query<string>) => string;
|
|
1440
1495
|
constructor(options: ClientOptions);
|
|
1441
1496
|
setOptions(options: ClientOptions): void;
|
|
1442
1497
|
setAccessToken(accessToken: string | undefined): void;
|
|
@@ -1639,6 +1694,7 @@ declare const organizations: (client: Client) => {
|
|
|
1639
1694
|
};
|
|
1640
1695
|
views: {
|
|
1641
1696
|
record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
|
|
1697
|
+
getStreamUrl: (options: OrganizationEventViewOptions) => string;
|
|
1642
1698
|
};
|
|
1643
1699
|
};
|
|
1644
1700
|
members: {
|
|
@@ -1667,6 +1723,21 @@ declare const organizations: (client: Client) => {
|
|
|
1667
1723
|
};
|
|
1668
1724
|
};
|
|
1669
1725
|
|
|
1726
|
+
declare const places: (client: Client) => {
|
|
1727
|
+
countries: {
|
|
1728
|
+
getAll: (options?: ArrayOptions<PlaceCountry>) => Promise<ArrayResult<PlaceCountry>>;
|
|
1729
|
+
get: (countrySlug: string) => Promise<PlaceCountry>;
|
|
1730
|
+
cities: {
|
|
1731
|
+
getAll: (countrySlug: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1732
|
+
get: (countrySlug: string, citySlug: string) => Promise<PlaceCity | ExcludeBase<PlaceCity>>;
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
cities: {
|
|
1736
|
+
getAll: (options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1737
|
+
search: (query: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1670
1741
|
declare const profiles: (client: Client) => {
|
|
1671
1742
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
1672
1743
|
search: (query: string, options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -1889,6 +1960,7 @@ declare class TonightPass {
|
|
|
1889
1960
|
};
|
|
1890
1961
|
views: {
|
|
1891
1962
|
record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
|
|
1963
|
+
getStreamUrl: (options: OrganizationEventViewOptions) => string;
|
|
1892
1964
|
};
|
|
1893
1965
|
};
|
|
1894
1966
|
members: {
|
|
@@ -1916,6 +1988,20 @@ declare class TonightPass {
|
|
|
1916
1988
|
getAllByEvent: (organizationSlug: string, eventSlug: string) => Promise<ArrayResult<OrganizationOrder>>;
|
|
1917
1989
|
};
|
|
1918
1990
|
};
|
|
1991
|
+
readonly places: {
|
|
1992
|
+
countries: {
|
|
1993
|
+
getAll: (options?: ArrayOptions<PlaceCountry>) => Promise<ArrayResult<PlaceCountry>>;
|
|
1994
|
+
get: (countrySlug: string) => Promise<PlaceCountry>;
|
|
1995
|
+
cities: {
|
|
1996
|
+
getAll: (countrySlug: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
1997
|
+
get: (countrySlug: string, citySlug: string) => Promise<PlaceCity | ExcludeBase<PlaceCity>>;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
cities: {
|
|
2001
|
+
getAll: (options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
2002
|
+
search: (query: string, options?: ArrayOptions<PlaceCity>) => Promise<ArrayResult<PlaceCity>>;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
1919
2005
|
readonly profiles: {
|
|
1920
2006
|
getAll: (options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
1921
2007
|
search: (query: string, options?: ArrayOptions<Profile>) => Promise<ArrayResult<Profile>>;
|
|
@@ -2147,4 +2233,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
2147
2233
|
client: ChannelWebSocketClient;
|
|
2148
2234
|
};
|
|
2149
2235
|
|
|
2150
|
-
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type 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 FileObject, 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, OrganizationMemberRolePower, 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, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, 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, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, profiles, request, roadmap, sdk, users };
|
|
2236
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type 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 FileObject, 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, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type 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, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, users };
|