tonightpass 0.0.251 → 0.0.253
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 +144 -79
- package/dist/index.d.ts +144 -79
- 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
|
@@ -137,8 +137,71 @@ type UserPost = Base & {
|
|
|
137
137
|
};
|
|
138
138
|
type UserPostEndpoints = Endpoint<"GET", "/users/@:username/posts", ArrayResult<UserPost>, ArrayOptions<UserPost>> | Endpoint<"GET", "/users/@:username/posts/:postId", UserPost> | Endpoint<"POST", "/users/~me/posts", UserPost, CreateUserPostDto> | Endpoint<"PUT", "/users/~me/posts/:postId", UserPost, UpdateUserPostDto> | Endpoint<"DELETE", "/users/~me/posts/:postId", void, undefined> | UserPostCommentEndpoints | UserPostRepostEndpoints | UserPostViewEndpoints | UserPostMediaEndpoints;
|
|
139
139
|
|
|
140
|
+
declare enum Currency {
|
|
141
|
+
EUR = "EUR",
|
|
142
|
+
USD = "USD",
|
|
143
|
+
GBP = "GBP",
|
|
144
|
+
BGN = "BGN",
|
|
145
|
+
CZK = "CZK",
|
|
146
|
+
DKK = "DKK",
|
|
147
|
+
HUF = "HUF",
|
|
148
|
+
PLN = "PLN",
|
|
149
|
+
RON = "RON",
|
|
150
|
+
SEK = "SEK",
|
|
151
|
+
CHF = "CHF",
|
|
152
|
+
NOK = "NOK",
|
|
153
|
+
ISK = "ISK",
|
|
154
|
+
TRY = "TRY",
|
|
155
|
+
RUB = "RUB",
|
|
156
|
+
UAH = "UAH",
|
|
157
|
+
BAM = "BAM",
|
|
158
|
+
MKD = "MKD",
|
|
159
|
+
ALL = "ALL",
|
|
160
|
+
RSD = "RSD",
|
|
161
|
+
MDL = "MDL",
|
|
162
|
+
GEL = "GEL",
|
|
163
|
+
BYN = "BYN"
|
|
164
|
+
}
|
|
165
|
+
type ExchangeRates = {
|
|
166
|
+
base: Currency.EUR;
|
|
167
|
+
rates: Record<Currency, number>;
|
|
168
|
+
updatedAt: Date;
|
|
169
|
+
};
|
|
170
|
+
type CurrencyConversion = {
|
|
171
|
+
from: Currency;
|
|
172
|
+
to: Currency;
|
|
173
|
+
amount: number;
|
|
174
|
+
};
|
|
175
|
+
type CurrencyConversionResult = {
|
|
176
|
+
originalAmount: number;
|
|
177
|
+
originalCurrency: Currency;
|
|
178
|
+
convertedAmount: number;
|
|
179
|
+
targetCurrency: Currency;
|
|
180
|
+
exchangeRate: number;
|
|
181
|
+
convertedAt: Date;
|
|
182
|
+
};
|
|
183
|
+
type CurrenciesEndpoints = Endpoint<"GET", "/currencies/rates", ExchangeRates> | Endpoint<"POST", "/currencies/convert", CurrencyConversionResult, CurrencyConversion>;
|
|
184
|
+
|
|
185
|
+
type OrderItem = {
|
|
186
|
+
ticketId: string;
|
|
187
|
+
ticketName: string;
|
|
188
|
+
quantity: number;
|
|
189
|
+
unitAmount: number;
|
|
190
|
+
totalAmount: number;
|
|
191
|
+
};
|
|
192
|
+
declare enum OrderTransferStatus {
|
|
193
|
+
Completed = "completed",
|
|
194
|
+
Pending = "pending",
|
|
195
|
+
Transferred = "transferred"
|
|
196
|
+
}
|
|
140
197
|
type Order = Base & {
|
|
141
|
-
|
|
198
|
+
paymentIntent: Stripe__default.PaymentIntent;
|
|
199
|
+
items: OrderItem[];
|
|
200
|
+
currency: Currency;
|
|
201
|
+
subtotal: number;
|
|
202
|
+
fee: number;
|
|
203
|
+
total: number;
|
|
204
|
+
transferStatus: OrderTransferStatus;
|
|
142
205
|
user: UserProfile;
|
|
143
206
|
};
|
|
144
207
|
type OrderEndpoints = Endpoint<"GET", "/orders", ArrayResult<Order>, ArrayOptions<Order>> | Endpoint<"GET", "/orders/:orderId", Order>;
|
|
@@ -367,17 +430,31 @@ type CareersOffice = {
|
|
|
367
430
|
city: string | null;
|
|
368
431
|
countryIso: string | null;
|
|
369
432
|
};
|
|
433
|
+
declare enum CareersJobStatus {
|
|
434
|
+
All = "ALL",
|
|
435
|
+
Online = "ONLINE",
|
|
436
|
+
Archived = "ARCHIVED"
|
|
437
|
+
}
|
|
438
|
+
declare enum CareersWorkplaceType {
|
|
439
|
+
Onsite = "ONSITE",
|
|
440
|
+
Remote = "REMOTE",
|
|
441
|
+
Hybrid = "HYBRID"
|
|
442
|
+
}
|
|
443
|
+
declare enum CareersRemoteType {
|
|
444
|
+
Anywhere = "ANYWHERE",
|
|
445
|
+
Country = "COUNTRY"
|
|
446
|
+
}
|
|
370
447
|
type CareersJob = {
|
|
371
448
|
id: number;
|
|
372
449
|
createdAt: string;
|
|
373
450
|
lastUpdatedAt: string;
|
|
374
451
|
externalId: null | string;
|
|
375
452
|
title: string;
|
|
376
|
-
status:
|
|
453
|
+
status: CareersJobStatus;
|
|
377
454
|
remote: boolean;
|
|
378
455
|
office: CareersOffice;
|
|
379
|
-
workplaceType:
|
|
380
|
-
remoteType?:
|
|
456
|
+
workplaceType: CareersWorkplaceType;
|
|
457
|
+
remoteType?: CareersRemoteType;
|
|
381
458
|
description?: string;
|
|
382
459
|
categoryId?: number;
|
|
383
460
|
employmentTypeId?: number;
|
|
@@ -394,30 +471,30 @@ type CareersEmploymentType = {
|
|
|
394
471
|
name: string;
|
|
395
472
|
slug: string;
|
|
396
473
|
};
|
|
397
|
-
type
|
|
398
|
-
|
|
399
|
-
}> | Endpoint<"GET", "/careers/employmentTypes", CareersEmploymentType[], {
|
|
400
|
-
language?: string;
|
|
401
|
-
}> | Endpoint<"GET", "/careers/jobs", CareersJob[], {
|
|
402
|
-
page?: number;
|
|
403
|
-
pageSize?: number;
|
|
404
|
-
createdAtGte: string;
|
|
474
|
+
type CareersJobsOptions = ArrayOptions<CareersJob> & {
|
|
475
|
+
createdAtGte?: string;
|
|
405
476
|
createdAtLt?: string;
|
|
406
477
|
updatedAtGte?: string;
|
|
407
478
|
updatedAtLt?: string;
|
|
408
|
-
status?:
|
|
479
|
+
status?: CareersJobStatus;
|
|
409
480
|
content?: boolean;
|
|
410
481
|
titleLike?: string;
|
|
411
482
|
countryCode?: string;
|
|
412
483
|
externalId?: string;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
}> | Endpoint<"GET", "/careers/offices", CareersOffice[], {
|
|
416
|
-
page?: number;
|
|
417
|
-
pageSize?: number;
|
|
484
|
+
};
|
|
485
|
+
type CareersOfficesOptions = ArrayOptions<CareersOffice> & {
|
|
418
486
|
countryCode?: string;
|
|
419
487
|
cityNameLike?: string;
|
|
420
|
-
}
|
|
488
|
+
};
|
|
489
|
+
type CareersCategoriesOptions = ArrayOptions<CareersCategory> & {
|
|
490
|
+
language?: string;
|
|
491
|
+
};
|
|
492
|
+
type CareersEmploymentTypesOptions = ArrayOptions<CareersEmploymentType> & {
|
|
493
|
+
language?: string;
|
|
494
|
+
};
|
|
495
|
+
type CareerEndpoints = Endpoint<"GET", "/careers/categories", ArrayResult<CareersCategory>, CareersCategoriesOptions> | Endpoint<"GET", "/careers/employmentTypes", ArrayResult<CareersEmploymentType>, CareersEmploymentTypesOptions> | Endpoint<"GET", "/careers/jobs", ArrayResult<CareersJob>, CareersJobsOptions> | Endpoint<"GET", "/careers/jobs/:jobId", CareersJob, {
|
|
496
|
+
jobId: number;
|
|
497
|
+
}> | Endpoint<"GET", "/careers/offices", ArrayResult<CareersOffice>, CareersOfficesOptions>;
|
|
421
498
|
|
|
422
499
|
declare enum ChannelMessageReportReason {
|
|
423
500
|
Dislike = "dislike",
|
|
@@ -496,51 +573,6 @@ type UserChannelCountOptions = {
|
|
|
496
573
|
};
|
|
497
574
|
type ChannelEndpoints = Endpoint<"GET", "/channels/~me", ArrayResult<Channel>, ArrayOptions<Channel>> | Endpoint<"GET", "/channels/:organizationSlug", ArrayResult<Channel>, ArrayOptions<Channel>> | Endpoint<"GET", "/users/~me/channels/count", number, UserChannelCountOptions> | Endpoint<"GET", "/users/@:organizationSlug/channels/count", number, UserChannelCountOptions> | Endpoint<"GET", "/channels/~me/:channelId", Channel> | Endpoint<"GET", "/channels/:organizationSlug/:channelId", Channel> | Endpoint<"POST", "/channels/~me", Channel, CreateChannelDto> | Endpoint<"POST", "/channels/:organizationSlug", Channel, CreateChannelDto> | Endpoint<"PUT", "/channels/~me/:channelId", Channel, UpdateChannelDto> | Endpoint<"PUT", "/channels/:organizationSlug/:channelId", Channel, UpdateChannelDto> | Endpoint<"DELETE", "/channels/~me/:channelId", void, undefined> | Endpoint<"DELETE", "/channels/:organizationSlug/:channelId", void, undefined> | Endpoint<"POST", "/channels/~me/:channelId/participants", void, AddParticipantDto> | Endpoint<"POST", "/channels/:organizationSlug/:channelId/participants", void, AddParticipantDto> | Endpoint<"DELETE", "/channels/~me/:channelId/participants/:username", void, undefined> | Endpoint<"DELETE", "/channels/:organizationSlug/:channelId/participants/:username", void, undefined> | Endpoint<"GET", "/channels/~me/:channelId/members", ArrayResult<ChannelMember>, ArrayOptions<ChannelMember>> | Endpoint<"GET", "/channels/:organizationSlug/:channelId/members", ArrayResult<ChannelMember>, ArrayOptions<ChannelMember>>;
|
|
498
575
|
|
|
499
|
-
declare enum Currency {
|
|
500
|
-
EUR = "EUR",
|
|
501
|
-
USD = "USD",
|
|
502
|
-
GBP = "GBP",
|
|
503
|
-
BGN = "BGN",
|
|
504
|
-
CZK = "CZK",
|
|
505
|
-
DKK = "DKK",
|
|
506
|
-
HUF = "HUF",
|
|
507
|
-
PLN = "PLN",
|
|
508
|
-
RON = "RON",
|
|
509
|
-
SEK = "SEK",
|
|
510
|
-
CHF = "CHF",
|
|
511
|
-
NOK = "NOK",
|
|
512
|
-
ISK = "ISK",
|
|
513
|
-
TRY = "TRY",
|
|
514
|
-
RUB = "RUB",
|
|
515
|
-
UAH = "UAH",
|
|
516
|
-
BAM = "BAM",
|
|
517
|
-
MKD = "MKD",
|
|
518
|
-
ALL = "ALL",
|
|
519
|
-
RSD = "RSD",
|
|
520
|
-
MDL = "MDL",
|
|
521
|
-
GEL = "GEL",
|
|
522
|
-
BYN = "BYN"
|
|
523
|
-
}
|
|
524
|
-
type ExchangeRates = {
|
|
525
|
-
base: Currency.EUR;
|
|
526
|
-
rates: Record<Currency, number>;
|
|
527
|
-
updatedAt: Date;
|
|
528
|
-
};
|
|
529
|
-
type CurrencyConversion = {
|
|
530
|
-
from: Currency;
|
|
531
|
-
to: Currency;
|
|
532
|
-
amount: number;
|
|
533
|
-
};
|
|
534
|
-
type CurrencyConversionResult = {
|
|
535
|
-
originalAmount: number;
|
|
536
|
-
originalCurrency: Currency;
|
|
537
|
-
convertedAmount: number;
|
|
538
|
-
targetCurrency: Currency;
|
|
539
|
-
exchangeRate: number;
|
|
540
|
-
convertedAt: Date;
|
|
541
|
-
};
|
|
542
|
-
type CurrenciesEndpoints = Endpoint<"GET", "/currencies/rates", ExchangeRates> | Endpoint<"POST", "/currencies/convert", CurrencyConversionResult, CurrencyConversion>;
|
|
543
|
-
|
|
544
576
|
declare enum ErrorType {
|
|
545
577
|
AuthEmailAlreadyExists = "auth.email-already-exists",
|
|
546
578
|
AuthUsernameAlreadyExists = "auth.username-already-exists",
|
|
@@ -721,7 +753,7 @@ declare enum OrganizationEventStyleType {
|
|
|
721
753
|
Food = "food",
|
|
722
754
|
Art = "art"
|
|
723
755
|
}
|
|
724
|
-
type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle
|
|
756
|
+
type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", ArrayResult<OrganizationEventStyle>, ArrayOptions<OrganizationEventStyle>> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle>;
|
|
725
757
|
|
|
726
758
|
type OrganizationEventViewOptions = {
|
|
727
759
|
events: string | string[];
|
|
@@ -961,6 +993,35 @@ type OrganizationBilling = {
|
|
|
961
993
|
vatRate: number;
|
|
962
994
|
};
|
|
963
995
|
type OrganizationBillingAccount = Stripe__default.Account;
|
|
996
|
+
declare enum OrganizationPayoutStatus {
|
|
997
|
+
Paid = "paid",
|
|
998
|
+
Pending = "pending",
|
|
999
|
+
InTransit = "in_transit",
|
|
1000
|
+
Failed = "failed",
|
|
1001
|
+
Canceled = "canceled"
|
|
1002
|
+
}
|
|
1003
|
+
type OrganizationBillingBalance = {
|
|
1004
|
+
balance: {
|
|
1005
|
+
amount: number;
|
|
1006
|
+
currency: Currency;
|
|
1007
|
+
}[];
|
|
1008
|
+
pending: {
|
|
1009
|
+
amount: number;
|
|
1010
|
+
currency: Currency;
|
|
1011
|
+
}[];
|
|
1012
|
+
payouts: {
|
|
1013
|
+
id: string;
|
|
1014
|
+
amount: number;
|
|
1015
|
+
currency: Currency;
|
|
1016
|
+
status: OrganizationPayoutStatus;
|
|
1017
|
+
arrival_date: number;
|
|
1018
|
+
}[];
|
|
1019
|
+
};
|
|
1020
|
+
type OrganizationBillingPendingRevenue = {
|
|
1021
|
+
amount: number;
|
|
1022
|
+
count: number;
|
|
1023
|
+
currency: Currency;
|
|
1024
|
+
}[];
|
|
964
1025
|
type OrganizationIdentity = OrganizationProfile;
|
|
965
1026
|
declare enum OrganizationFileType {
|
|
966
1027
|
Avatar = "avatar",
|
|
@@ -969,7 +1030,7 @@ declare enum OrganizationFileType {
|
|
|
969
1030
|
type OrganizationEndpoints = Endpoint<"GET", "/organizations/search", Organization[], {
|
|
970
1031
|
q: string;
|
|
971
1032
|
limit?: number;
|
|
972
|
-
}> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
|
|
1033
|
+
}> | Endpoint<"GET", "/organizations", ArrayResult<Organization>, ArrayOptions<Organization>> | Endpoint<"GET", "/organizations/@:organizationSlug", Organization> | Endpoint<"POST", "/organizations", Organization, CreateOrganizationDto> | Endpoint<"PUT", "/organizations/@:organizationSlug", Organization, UpdateOrganizationDto> | Endpoint<"DELETE", "/organizations/@:organizationSlug", Organization, undefined> | Endpoint<"POST", "/organizations/@:organizationSlug/files/:organizationFileType", string, FormData> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/account", OrganizationBillingAccount> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/link", void> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/balance", OrganizationBillingBalance> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/pending", OrganizationBillingPendingRevenue> | Endpoint<"GET", "/organizations/@:organizationSlug/billing/dashboard", void> | OrganizationEventEndpoints | OrganizationMembersEndpoints | OrganizationAnalyticsEndpoints | OrganizationCustomersEndpoints | OrganizationOrdersEndpoints;
|
|
973
1034
|
|
|
974
1035
|
type PlaceCountry = Base & {
|
|
975
1036
|
geonameId: number;
|
|
@@ -1640,17 +1701,17 @@ declare function sdk<T>(builder: (client: Client) => T): (client: Client) => T;
|
|
|
1640
1701
|
|
|
1641
1702
|
declare const careers: (client: Client) => {
|
|
1642
1703
|
categories: {
|
|
1643
|
-
getAll: (query?: Query<"/careers/categories">) => Promise<CareersCategory
|
|
1704
|
+
getAll: (query?: Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
|
|
1644
1705
|
};
|
|
1645
1706
|
employmentTypes: {
|
|
1646
|
-
getAll: (query?: Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType
|
|
1707
|
+
getAll: (query?: Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
|
|
1647
1708
|
};
|
|
1648
1709
|
jobs: {
|
|
1649
|
-
getAll: (query?: Query<"/careers/jobs">) => Promise<CareersJob
|
|
1710
|
+
getAll: (query?: Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
|
|
1650
1711
|
get: (jobId: number) => Promise<CareersJob>;
|
|
1651
1712
|
};
|
|
1652
1713
|
offices: {
|
|
1653
|
-
getAll: (query?: Query<"/careers/offices">) => Promise<CareersOffice
|
|
1714
|
+
getAll: (query?: Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
|
|
1654
1715
|
};
|
|
1655
1716
|
};
|
|
1656
1717
|
|
|
@@ -1760,6 +1821,8 @@ declare const organizations: (client: Client) => {
|
|
|
1760
1821
|
billing: {
|
|
1761
1822
|
account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
|
|
1762
1823
|
link: (organizationSlug: string) => void;
|
|
1824
|
+
balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
|
|
1825
|
+
pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
|
|
1763
1826
|
dashboard: (organizationSlug: string) => void;
|
|
1764
1827
|
};
|
|
1765
1828
|
events: {
|
|
@@ -1779,11 +1842,11 @@ declare const organizations: (client: Client) => {
|
|
|
1779
1842
|
create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
|
|
1780
1843
|
};
|
|
1781
1844
|
styles: {
|
|
1782
|
-
getAll: () => Promise<OrganizationEventStyle
|
|
1845
|
+
getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
|
|
1783
1846
|
get: (styleSlug: string) => Promise<OrganizationEventStyle>;
|
|
1784
1847
|
create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
|
|
1785
1848
|
update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
|
|
1786
|
-
delete: (styleSlug: string) => Promise<OrganizationEventStyle
|
|
1849
|
+
delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
|
|
1787
1850
|
};
|
|
1788
1851
|
tickets: {
|
|
1789
1852
|
getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
|
|
@@ -1943,17 +2006,17 @@ declare class TonightPass {
|
|
|
1943
2006
|
};
|
|
1944
2007
|
readonly careers: {
|
|
1945
2008
|
categories: {
|
|
1946
|
-
getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<CareersCategory
|
|
2009
|
+
getAll: (query?: pathcat.Query<"/careers/categories">) => Promise<ArrayResult<CareersCategory>>;
|
|
1947
2010
|
};
|
|
1948
2011
|
employmentTypes: {
|
|
1949
|
-
getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<CareersEmploymentType
|
|
2012
|
+
getAll: (query?: pathcat.Query<"/careers/employmentTypes">) => Promise<ArrayResult<CareersEmploymentType>>;
|
|
1950
2013
|
};
|
|
1951
2014
|
jobs: {
|
|
1952
|
-
getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<CareersJob
|
|
2015
|
+
getAll: (query?: pathcat.Query<"/careers/jobs">) => Promise<ArrayResult<CareersJob>>;
|
|
1953
2016
|
get: (jobId: number) => Promise<CareersJob>;
|
|
1954
2017
|
};
|
|
1955
2018
|
offices: {
|
|
1956
|
-
getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<CareersOffice
|
|
2019
|
+
getAll: (query?: pathcat.Query<"/careers/offices">) => Promise<ArrayResult<CareersOffice>>;
|
|
1957
2020
|
};
|
|
1958
2021
|
};
|
|
1959
2022
|
readonly channels: {
|
|
@@ -2029,6 +2092,8 @@ declare class TonightPass {
|
|
|
2029
2092
|
billing: {
|
|
2030
2093
|
account: (organizationSlug: string) => Promise<Stripe.Stripe.Account>;
|
|
2031
2094
|
link: (organizationSlug: string) => void;
|
|
2095
|
+
balance: (organizationSlug: string) => Promise<OrganizationBillingBalance>;
|
|
2096
|
+
pending: (organizationSlug: string) => Promise<OrganizationBillingPendingRevenue>;
|
|
2032
2097
|
dashboard: (organizationSlug: string) => void;
|
|
2033
2098
|
};
|
|
2034
2099
|
events: {
|
|
@@ -2048,11 +2113,11 @@ declare class TonightPass {
|
|
|
2048
2113
|
create: (organizationSlug: string, eventSlug: string, data: CreateOrganizationEventOrderDto) => Promise<Order>;
|
|
2049
2114
|
};
|
|
2050
2115
|
styles: {
|
|
2051
|
-
getAll: () => Promise<OrganizationEventStyle
|
|
2116
|
+
getAll: (query?: pathcat.Query<"/organizations/events/styles">) => Promise<ArrayResult<OrganizationEventStyle>>;
|
|
2052
2117
|
get: (styleSlug: string) => Promise<OrganizationEventStyle>;
|
|
2053
2118
|
create: (data: CreateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
|
|
2054
2119
|
update: (styleSlug: string, data: UpdateOrganizationEventStyleDto) => Promise<OrganizationEventStyle>;
|
|
2055
|
-
delete: (styleSlug: string) => Promise<OrganizationEventStyle
|
|
2120
|
+
delete: (styleSlug: string) => Promise<OrganizationEventStyle>;
|
|
2056
2121
|
};
|
|
2057
2122
|
tickets: {
|
|
2058
2123
|
getAll: (organizationSlug: string, eventSlug: string) => Promise<OrganizationEventTicket[]>;
|
|
@@ -2340,4 +2405,4 @@ declare function channelsWS(options?: Partial<WebSocketClientOptions>): {
|
|
|
2340
2405
|
client: ChannelWebSocketClient;
|
|
2341
2406
|
};
|
|
2342
2407
|
|
|
2343
|
-
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type CacheStore, type CareerEndpoints, type CareersCategory, type CareersEmploymentType, type CareersJob, type CareersOffice, type Channel, type ChannelDeleteEvent, type ChannelEndpoints, type ChannelMember, type ChannelMemberJoinEvent, type ChannelMemberLeaveEvent, ChannelMemberRole, type ChannelMessage, type ChannelMessageCreateEvent, type ChannelMessageDeleteEvent, type ChannelMessageEndpoints, type ChannelMessageReaction, type ChannelMessageReadByEntry, ChannelMessageReportReason, type ChannelMessageUpdateEvent, type ChannelParticipant, ChannelStatus, ChannelType, type ChannelUpdateEvent, ChannelWebSocketClient, type ChannelWebSocketEvent, Client, type ClientOptions, ContentOrAttachmentsConstraint, CreateApiKeyDto, CreateChannelDto, CreateChannelMessageDto, CreateLocationDto, CreateOrganizationDto, CreateOrganizationEventDto, type CreateOrganizationEventInput, CreateOrganizationEventOrderDto, CreateOrganizationEventStyleDto, CreateOrganizationEventTicketDto, type CreateOrganizationEventTicketInput, CreateOrganizationIdentityDto, CreateOrganizationMemberDto, CreateOrganizationMemberInvitationLinkDto, CreateUserDto, CreateUserIdentityDto, CreateUserPostCommentDto, CreateUserPostDto, CreateUserPostRepostDto, type CurrenciesEndpoints, Currency, type CurrencyConversion, type CurrencyConversionResult, DEFAULT_API_URL, type DeepPartial, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type Location$1 as Location, MemoryCacheStore, type MemorySnapshot, type NearbyCitiesOptions, type NotificationEndpoints, OAuth2Provider, type Order, type OrderEndpoints, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationCustomer, type OrganizationCustomerMetadata, type OrganizationCustomersEndpoints, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type ProxyEndpoints, type ProxyMediaOptions, type ProxyMediaResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type SitemapCounts, type SitemapEndpoints, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, UpdateApiKeyDto, UpdateChannelDto, UpdateChannelMessageDto, UpdateLocationDto, UpdateOrganizationDto, UpdateOrganizationEventDto, UpdateOrganizationEventStyleDto, UpdateOrganizationEventTicketDto, UpdateOrganizationIdentityDto, UpdateOrganizationMemberDto, UpdateUserDto, UpdateUserPostCommentDto, UpdateUserPostDto, type User, type UserBooking, type UserBookingEndpoints, type UserBookingTicket, type UserBookingTicketEndpoints, type UserBookingWithoutTickets, type UserChannelCountOptions, type UserConnection, type UserConnectionClient, type UserConnectionDevice, type UserConnectionOS, type UserCustomer, type UserCustomerMetadata, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, UserNotificationType, type UserOAuthProvider, type UserPost, type UserPostComment, type UserPostCommentEndpoints, type UserPostEndpoints, type UserPostMedia, type UserPostMediaEndpoints, UserPostMediaType, type UserPostRepost, type UserPostRepostEndpoints, type UserPostViewEndpoints, type UserPostViewOptions, type UserPostViewResult, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, users };
|
|
2408
|
+
export { type APIRequestOptions, type APIResponse, AcceptOrganizationMemberInvitationDto, AddParticipantDto, AddReactionDto, type AddRoadmapReactionBody, type AnalyticsOptions, type ApiKey, type ApiKeyEndpoints, ApiKeyTier, ApiKeyType, type ArrayFilterOptions, type ArrayOptions, type ArrayPaginationOptions, type ArrayResult, type ArraySortOptions, AtLeastOneMedia, AtLeastOneMediaConstraint, AtLeastOneMediaOnUpdate, AtLeastOneMediaOnUpdateConstraint, type AuthEndpoints, AuthFlow, type AuthMethod, type AuthResponse, type Base, BaseOrganizationEventDto, type BaseProfile, type BaseProfileMetadata, type Body, type CacheEntry, CacheManager, type CacheOptions, type CacheStore, type CareerEndpoints, type CareersCategoriesOptions, type CareersCategory, type CareersEmploymentType, type CareersEmploymentTypesOptions, type CareersJob, CareersJobStatus, type CareersJobsOptions, type CareersOffice, type CareersOfficesOptions, CareersRemoteType, CareersWorkplaceType, type Channel, type ChannelDeleteEvent, type ChannelEndpoints, type ChannelMember, type ChannelMemberJoinEvent, type ChannelMemberLeaveEvent, ChannelMemberRole, type ChannelMessage, type ChannelMessageCreateEvent, type ChannelMessageDeleteEvent, type ChannelMessageEndpoints, type ChannelMessageReaction, type ChannelMessageReadByEntry, ChannelMessageReportReason, type ChannelMessageUpdateEvent, type ChannelParticipant, ChannelStatus, ChannelType, type ChannelUpdateEvent, ChannelWebSocketClient, type ChannelWebSocketEvent, Client, type ClientOptions, ContentOrAttachmentsConstraint, CreateApiKeyDto, CreateChannelDto, CreateChannelMessageDto, CreateLocationDto, CreateOrganizationDto, CreateOrganizationEventDto, type CreateOrganizationEventInput, CreateOrganizationEventOrderDto, CreateOrganizationEventStyleDto, CreateOrganizationEventTicketDto, type CreateOrganizationEventTicketInput, CreateOrganizationIdentityDto, CreateOrganizationMemberDto, CreateOrganizationMemberInvitationLinkDto, CreateUserDto, CreateUserIdentityDto, CreateUserPostCommentDto, CreateUserPostDto, CreateUserPostRepostDto, type CurrenciesEndpoints, Currency, type CurrencyConversion, type CurrencyConversionResult, DEFAULT_API_URL, type DeepPartial, type Distance, type Endpoint, type Endpoints, ErrorType, type ErroredAPIResponse, type EventAnalyticsOptions, type ExchangeRates, type ExcludeBase, type ExternalContact, type ExternalOffer, type ExternalSource, type FeedEndpoints, type FeedPost, FeedType, type FileObject, type GeoPoint, GeoPointDto, type GeoSearchAggregation, GoogleOneTapDto, type Health, type HealthEndpoints, type HealthMemory, Language, type Location$1 as Location, MemoryCacheStore, type MemorySnapshot, type NearbyCitiesOptions, type NotificationEndpoints, OAuth2Provider, type Order, type OrderEndpoints, type OrderItem, OrderTransferStatus, type Organization, type OrganizationAnalyticsEndpoints, type OrganizationAnalyticsOverview, type OrganizationBilling, type OrganizationBillingAccount, type OrganizationBillingBalance, type OrganizationBillingPendingRevenue, type OrganizationCustomer, type OrganizationCustomerMetadata, type OrganizationCustomersEndpoints, type OrganizationEndpoints, type OrganizationEvent, type OrganizationEventAnalytics, type OrganizationEventArrayOptions, type OrganizationEventCalendar, type OrganizationEventEndpoints, OrganizationEventFileType, type OrganizationEventNearbyOptions, type OrganizationEventOrderEndpoints, type OrganizationEventRequestResponse, OrganizationEventStatus, type OrganizationEventStyle, type OrganizationEventStyleEndpoints, OrganizationEventStyleType, type OrganizationEventTicket, OrganizationEventTicketCategory, type OrganizationEventTicketEndpoints, OrganizationEventTicketType, OrganizationEventType, type OrganizationEventViewEndpoints, type OrganizationEventViewOptions, type OrganizationEventViewResult, OrganizationEventVisibilityType, OrganizationFileType, type OrganizationIdentity, type OrganizationMember, OrganizationMemberRole, OrganizationMemberRolePower, OrganizationMemberStatus, type OrganizationMembersEndpoints, type OrganizationOrder, type OrganizationOrdersEndpoints, OrganizationPayoutStatus, type OrganizationProfile, type OrganizationProfileMetadata, type OrganizationToken, OrganizationTokenType, type PathsFor, type PlaceCity, type PlaceCountry, type PlaceEndpoints, type Profile, type ProfileEndpoints, type ProfileMetadata, ProfileType, type PromisedAPIResponse, type PromisedResponse, type ProxyEndpoints, type ProxyMediaOptions, type ProxyMediaResponse, type QueryParams, REGEX, ROADMAP_REACTIONS, RecoveryDto, RecoveryResetDto, type RecoveryResponse, ReportChannelMessageDto, type Response, type ResponseFor, type RoadmapEndpoints, type RoadmapFeature, RoadmapFeatureStatus, type RoadmapReaction, type RoadmapReactionCounts, type SSEEndpoints, type SearchOrganizationEventsOptions, type SearchPlacesOptions, type SearchProfilesOptions, SignInUserDto, type SitemapCounts, type SitemapEndpoints, type StringifiedQuery, type StringifiedQueryValue, type SuccessfulAPIResponse, TonightPass, TonightPassAPIError, type TypingStartEvent, type TypingStopEvent, UpdateApiKeyDto, UpdateChannelDto, UpdateChannelMessageDto, UpdateLocationDto, UpdateOrganizationDto, UpdateOrganizationEventDto, UpdateOrganizationEventStyleDto, UpdateOrganizationEventTicketDto, UpdateOrganizationIdentityDto, UpdateOrganizationMemberDto, UpdateUserDto, UpdateUserPostCommentDto, UpdateUserPostDto, type User, type UserBooking, type UserBookingEndpoints, type UserBookingTicket, type UserBookingTicketEndpoints, type UserBookingWithoutTickets, type UserChannelCountOptions, type UserConnection, type UserConnectionClient, type UserConnectionDevice, type UserConnectionOS, type UserCustomer, type UserCustomerMetadata, type UserEndpoints, UserFileType, type UserIdentifier, type UserIdentity, UserIdentityGender, type UserNotification, type UserNotificationBase, type UserNotificationEndpoints, type UserNotificationFollow, UserNotificationType, type UserOAuthProvider, type UserPost, type UserPostComment, type UserPostCommentEndpoints, type UserPostEndpoints, type UserPostMedia, type UserPostMediaEndpoints, UserPostMediaType, type UserPostRepost, type UserPostRepostEndpoints, type UserPostViewEndpoints, type UserPostViewOptions, type UserPostViewResult, UserPostVisibility, type UserPreferences, type UserProfile, type UserProfileMetadata, UserRole, UserRolePower, type UserToken, UserTokenType, VerifyEmailConfirmDto, type VerifyEmailResponse, WebSocketClient, type WebSocketClientOptions, type WebSocketConnectOptions, type WebSocketEndpoint, type WebSocketEndpoints, type WebSocketEvent, type WebSocketEventHandler, type WebSocketOptionsFor, type WebSocketPath, type WebSocketPaths, type WebSocketPathsFor, type WebhookEndpoints, apiKeys, auth, buildFileFormData, careers, channels, channelsWS, currencies, feed, health, isBrowser, isMemberRoleAtLeast, normalizeAddress, notifications, orders, organizations, places, profiles, request, roadmap, sdk, sitemaps, users };
|