@ticketlayer/backstage 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +33 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -0
- package/dist/generated/types.d.ts +142 -6
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -3936,6 +3936,7 @@ export interface components {
|
|
|
3936
3936
|
name: string;
|
|
3937
3937
|
slug: string;
|
|
3938
3938
|
plan: string;
|
|
3939
|
+
template: string | null;
|
|
3939
3940
|
apiVersion: string;
|
|
3940
3941
|
};
|
|
3941
3942
|
owner: {
|
|
@@ -3960,6 +3961,7 @@ export interface components {
|
|
|
3960
3961
|
};
|
|
3961
3962
|
SignUpRequest: {
|
|
3962
3963
|
organisationName: string;
|
|
3964
|
+
templateName?: "venue" | "platform" | "developer";
|
|
3963
3965
|
};
|
|
3964
3966
|
GetMeResponse: {
|
|
3965
3967
|
user: components["schemas"]["MeUser"];
|
|
@@ -4403,11 +4405,20 @@ export interface components {
|
|
|
4403
4405
|
organisationId: string;
|
|
4404
4406
|
accountId: string;
|
|
4405
4407
|
name: string;
|
|
4408
|
+
subtitle: string | null;
|
|
4406
4409
|
description?: string;
|
|
4410
|
+
shortDescription: string | null;
|
|
4407
4411
|
status: "draft" | "published" | "on_sale" | "sold_out" | "completed" | "cancelled";
|
|
4412
|
+
images: components["schemas"]["EventImages"];
|
|
4413
|
+
imageUrl: string | null;
|
|
4414
|
+
heroImageUrl: string | null;
|
|
4415
|
+
presentation: components["schemas"]["EventPresentation"];
|
|
4408
4416
|
venueId?: string;
|
|
4417
|
+
venueName: string | null;
|
|
4409
4418
|
timezone: string;
|
|
4410
4419
|
rules: components["schemas"]["ListingRules"];
|
|
4420
|
+
ticketTypes: components["schemas"]["EventTicketType"][];
|
|
4421
|
+
defaultPriceSchemeId: string | null;
|
|
4411
4422
|
occurrenceCount: number;
|
|
4412
4423
|
ticketCount: number;
|
|
4413
4424
|
productCount: number;
|
|
@@ -4415,8 +4426,38 @@ export interface components {
|
|
|
4415
4426
|
isDeleted: boolean;
|
|
4416
4427
|
createdAt: string;
|
|
4417
4428
|
updatedAt: string;
|
|
4429
|
+
contentUpdatedAt: string;
|
|
4418
4430
|
createdBy?: string;
|
|
4419
4431
|
};
|
|
4432
|
+
EventImages: {
|
|
4433
|
+
card: components["schemas"]["EventImage"];
|
|
4434
|
+
hero: components["schemas"]["EventImage"];
|
|
4435
|
+
};
|
|
4436
|
+
EventImage: {
|
|
4437
|
+
url: string;
|
|
4438
|
+
width: number | null;
|
|
4439
|
+
height: number | null;
|
|
4440
|
+
alt: string | null;
|
|
4441
|
+
contentType: string | null;
|
|
4442
|
+
} | null;
|
|
4443
|
+
EventPresentation: {
|
|
4444
|
+
heroLayout?: {
|
|
4445
|
+
type: "hero" | "cinema";
|
|
4446
|
+
size: "small" | "medium" | "large";
|
|
4447
|
+
};
|
|
4448
|
+
cinemaGradient?: {
|
|
4449
|
+
strength: 20 | 50 | 70;
|
|
4450
|
+
position: "bottom" | "center";
|
|
4451
|
+
};
|
|
4452
|
+
twoColumnSplit?: [
|
|
4453
|
+
number,
|
|
4454
|
+
number
|
|
4455
|
+
];
|
|
4456
|
+
navbar?: {
|
|
4457
|
+
transparent?: boolean;
|
|
4458
|
+
};
|
|
4459
|
+
buttonSize?: "small" | "medium" | "large";
|
|
4460
|
+
} | null;
|
|
4420
4461
|
ListingRules: {
|
|
4421
4462
|
discoverable: components["schemas"]["ListingRule"];
|
|
4422
4463
|
visible: components["schemas"]["ListingRule"];
|
|
@@ -4431,9 +4472,16 @@ export interface components {
|
|
|
4431
4472
|
until: string | null;
|
|
4432
4473
|
audience: string | null;
|
|
4433
4474
|
};
|
|
4475
|
+
EventTicketType: {
|
|
4476
|
+
id: string;
|
|
4477
|
+
name: string;
|
|
4478
|
+
description?: string;
|
|
4479
|
+
displayOrder: number;
|
|
4480
|
+
requiredBenefit?: string;
|
|
4481
|
+
};
|
|
4434
4482
|
ListEventsResponse: {
|
|
4435
4483
|
events: components["schemas"]["EventInChannel"][];
|
|
4436
|
-
pagination: components["schemas"]["
|
|
4484
|
+
pagination: components["schemas"]["EventListPagination"];
|
|
4437
4485
|
channel: components["schemas"]["ChannelContext"];
|
|
4438
4486
|
};
|
|
4439
4487
|
EventInChannel: {
|
|
@@ -4441,11 +4489,20 @@ export interface components {
|
|
|
4441
4489
|
organisationId: string;
|
|
4442
4490
|
accountId: string;
|
|
4443
4491
|
name: string;
|
|
4492
|
+
subtitle: string | null;
|
|
4444
4493
|
description?: string;
|
|
4494
|
+
shortDescription: string | null;
|
|
4445
4495
|
status: "draft" | "published" | "on_sale" | "sold_out" | "completed" | "cancelled";
|
|
4496
|
+
images: components["schemas"]["EventImages"];
|
|
4497
|
+
imageUrl: string | null;
|
|
4498
|
+
heroImageUrl: string | null;
|
|
4499
|
+
presentation: components["schemas"]["EventPresentation"];
|
|
4446
4500
|
venueId?: string;
|
|
4501
|
+
venueName: string | null;
|
|
4447
4502
|
timezone: string;
|
|
4448
4503
|
rules: components["schemas"]["ListingRules"];
|
|
4504
|
+
ticketTypes: components["schemas"]["EventTicketType"][];
|
|
4505
|
+
defaultPriceSchemeId: string | null;
|
|
4449
4506
|
occurrenceCount: number;
|
|
4450
4507
|
ticketCount: number;
|
|
4451
4508
|
productCount: number;
|
|
@@ -4453,8 +4510,12 @@ export interface components {
|
|
|
4453
4510
|
isDeleted: boolean;
|
|
4454
4511
|
createdAt: string;
|
|
4455
4512
|
updatedAt: string;
|
|
4513
|
+
contentUpdatedAt: string;
|
|
4456
4514
|
createdBy?: string;
|
|
4457
4515
|
listing: components["schemas"]["ChannelListingContext"];
|
|
4516
|
+
occurrences?: components["schemas"]["EventOccurrenceSummary"][];
|
|
4517
|
+
occurrencesTruncated?: boolean;
|
|
4518
|
+
venue?: components["schemas"]["EventVenue"];
|
|
4458
4519
|
};
|
|
4459
4520
|
ChannelListingContext: {
|
|
4460
4521
|
id: string;
|
|
@@ -4467,13 +4528,41 @@ export interface components {
|
|
|
4467
4528
|
currency: string | null;
|
|
4468
4529
|
nextOccurrenceAt: string | null;
|
|
4469
4530
|
} | null;
|
|
4470
|
-
|
|
4531
|
+
EventOccurrenceSummary: {
|
|
4532
|
+
id: string;
|
|
4533
|
+
startsAt: string | null;
|
|
4534
|
+
endsAt: string | null;
|
|
4535
|
+
timezone: string;
|
|
4536
|
+
startDate: string;
|
|
4537
|
+
startTime: string;
|
|
4538
|
+
endDate: string;
|
|
4539
|
+
endTime: string;
|
|
4540
|
+
status: "draft" | "on_sale" | "sold_out" | "completed" | "cancelled";
|
|
4541
|
+
venueId: string | null;
|
|
4542
|
+
venueName: string | null;
|
|
4543
|
+
};
|
|
4544
|
+
EventVenue: {
|
|
4545
|
+
id: string;
|
|
4546
|
+
name: string;
|
|
4547
|
+
streetAddress: string | null;
|
|
4548
|
+
city: string | null;
|
|
4549
|
+
country: string | null;
|
|
4550
|
+
coordinates: components["schemas"]["EventVenueCoordinates"];
|
|
4551
|
+
timezone: string;
|
|
4552
|
+
website: string | null;
|
|
4553
|
+
} | null;
|
|
4554
|
+
EventVenueCoordinates: {
|
|
4555
|
+
latitude: number;
|
|
4556
|
+
longitude: number;
|
|
4557
|
+
} | null;
|
|
4558
|
+
EventListPagination: {
|
|
4471
4559
|
page: number;
|
|
4472
4560
|
limit: number;
|
|
4473
4561
|
total: number;
|
|
4474
4562
|
totalPages: number;
|
|
4475
4563
|
hasNext: boolean;
|
|
4476
4564
|
hasPrev: boolean;
|
|
4565
|
+
nextCursor: string | null;
|
|
4477
4566
|
};
|
|
4478
4567
|
ChannelContext: {
|
|
4479
4568
|
id: string;
|
|
@@ -4588,6 +4677,14 @@ export interface components {
|
|
|
4588
4677
|
eventOccurrences: components["schemas"]["EventOccurrence"][];
|
|
4589
4678
|
pagination: components["schemas"]["Pagination"];
|
|
4590
4679
|
};
|
|
4680
|
+
Pagination: {
|
|
4681
|
+
page: number;
|
|
4682
|
+
limit: number;
|
|
4683
|
+
total: number;
|
|
4684
|
+
totalPages: number;
|
|
4685
|
+
hasNext: boolean;
|
|
4686
|
+
hasPrev: boolean;
|
|
4687
|
+
};
|
|
4591
4688
|
GetEventOccurrenceResponse: {
|
|
4592
4689
|
eventOccurrence: components["schemas"]["EventOccurrence"];
|
|
4593
4690
|
};
|
|
@@ -6027,13 +6124,21 @@ export interface components {
|
|
|
6027
6124
|
};
|
|
6028
6125
|
ThemeDesign: {
|
|
6029
6126
|
heroLayout?: {
|
|
6030
|
-
type: "
|
|
6127
|
+
type: "hero" | "cinema";
|
|
6031
6128
|
size: "small" | "medium" | "large";
|
|
6032
6129
|
};
|
|
6033
6130
|
cinemaGradient?: {
|
|
6034
|
-
strength:
|
|
6131
|
+
strength: 20 | 50 | 70;
|
|
6035
6132
|
position: "bottom" | "center";
|
|
6036
6133
|
};
|
|
6134
|
+
twoColumnSplit?: [
|
|
6135
|
+
number,
|
|
6136
|
+
number
|
|
6137
|
+
];
|
|
6138
|
+
navbar?: {
|
|
6139
|
+
transparent?: boolean;
|
|
6140
|
+
};
|
|
6141
|
+
buttonSize?: "small" | "medium" | "large";
|
|
6037
6142
|
} | null;
|
|
6038
6143
|
BrandResponse: {
|
|
6039
6144
|
brand: components["schemas"]["Brand"];
|
|
@@ -6081,13 +6186,21 @@ export interface components {
|
|
|
6081
6186
|
};
|
|
6082
6187
|
ThemeDesignInput: {
|
|
6083
6188
|
heroLayout?: {
|
|
6084
|
-
type: "
|
|
6189
|
+
type: "hero" | "cinema";
|
|
6085
6190
|
size: "small" | "medium" | "large";
|
|
6086
6191
|
};
|
|
6087
6192
|
cinemaGradient?: {
|
|
6088
|
-
strength:
|
|
6193
|
+
strength: 20 | 50 | 70;
|
|
6089
6194
|
position: "bottom" | "center";
|
|
6090
6195
|
};
|
|
6196
|
+
twoColumnSplit?: [
|
|
6197
|
+
number,
|
|
6198
|
+
number
|
|
6199
|
+
];
|
|
6200
|
+
navbar?: {
|
|
6201
|
+
transparent?: boolean;
|
|
6202
|
+
};
|
|
6203
|
+
buttonSize?: "small" | "medium" | "large";
|
|
6091
6204
|
} & {
|
|
6092
6205
|
[key: string]: unknown;
|
|
6093
6206
|
};
|
|
@@ -6390,6 +6503,8 @@ export interface components {
|
|
|
6390
6503
|
storageBucket: string | null;
|
|
6391
6504
|
storageKey: string;
|
|
6392
6505
|
url: string;
|
|
6506
|
+
signedUrl: string | null;
|
|
6507
|
+
signedUrlExpiresAt: string | null;
|
|
6393
6508
|
cdn: boolean;
|
|
6394
6509
|
cdnUrl: string | null;
|
|
6395
6510
|
visibility: string;
|
|
@@ -10423,6 +10538,10 @@ export interface operations {
|
|
|
10423
10538
|
status?: "draft" | "published" | "on_sale" | "sold_out" | "completed" | "cancelled";
|
|
10424
10539
|
venueId?: string;
|
|
10425
10540
|
accountId?: string;
|
|
10541
|
+
updatedSince?: string;
|
|
10542
|
+
cursor?: string;
|
|
10543
|
+
include?: ("occurrences" | "venue" | "prices")[];
|
|
10544
|
+
visibility?: "discoverable" | "visible";
|
|
10426
10545
|
expand?: string;
|
|
10427
10546
|
page?: string;
|
|
10428
10547
|
limit?: string;
|
|
@@ -10483,6 +10602,14 @@ export interface operations {
|
|
|
10483
10602
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
10484
10603
|
};
|
|
10485
10604
|
};
|
|
10605
|
+
501: {
|
|
10606
|
+
headers: {
|
|
10607
|
+
[name: string]: unknown;
|
|
10608
|
+
};
|
|
10609
|
+
content: {
|
|
10610
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10611
|
+
};
|
|
10612
|
+
};
|
|
10486
10613
|
};
|
|
10487
10614
|
};
|
|
10488
10615
|
createEvent: {
|
|
@@ -10612,6 +10739,7 @@ export interface operations {
|
|
|
10612
10739
|
getEvent: {
|
|
10613
10740
|
parameters: {
|
|
10614
10741
|
query?: {
|
|
10742
|
+
include?: ("occurrences" | "venue" | "prices")[];
|
|
10615
10743
|
expand?: string;
|
|
10616
10744
|
};
|
|
10617
10745
|
header?: {
|
|
@@ -10672,6 +10800,14 @@ export interface operations {
|
|
|
10672
10800
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
10673
10801
|
};
|
|
10674
10802
|
};
|
|
10803
|
+
501: {
|
|
10804
|
+
headers: {
|
|
10805
|
+
[name: string]: unknown;
|
|
10806
|
+
};
|
|
10807
|
+
content: {
|
|
10808
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10809
|
+
};
|
|
10810
|
+
};
|
|
10675
10811
|
};
|
|
10676
10812
|
};
|
|
10677
10813
|
deleteEvent: {
|