@passly-nl/data 1.4.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +48 -26
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +147 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/adapter/EventAdapter.ts +10 -1
- package/src/adapter/OrderAdapter.ts +3 -2
- package/src/adapter/ProductAdapter.ts +3 -1
- package/src/adapter/PublicShopAdapter.ts +10 -1
- package/src/adapter/ReservationAdapter.ts +4 -2
- package/src/dto/event/EventDto.ts +11 -1
- package/src/dto/event/ShopElementButtonDto.ts +3 -2
- package/src/dto/event/ShopElementDividerDto.ts +3 -2
- package/src/dto/event/ShopElementDto.ts +12 -2
- package/src/dto/event/ShopElementHeadingDto.ts +3 -3
- package/src/dto/event/ShopElementInformationDto.ts +3 -2
- package/src/dto/event/ShopElementNoticeDto.ts +3 -3
- package/src/dto/event/ShopElementProductDto.ts +3 -2
- package/src/dto/event/ShopElementTextDto.ts +3 -2
- package/src/dto/order/OrderProductDto.ts +12 -1
- package/src/dto/product/ProductDto.ts +21 -1
- package/src/dto/publicShop/PublicShopElementButtonDto.ts +3 -2
- package/src/dto/publicShop/PublicShopElementDividerDto.ts +3 -2
- package/src/dto/publicShop/PublicShopElementDto.ts +12 -2
- package/src/dto/publicShop/PublicShopElementHeadingDto.ts +3 -3
- package/src/dto/publicShop/PublicShopElementInformationDto.ts +3 -2
- package/src/dto/publicShop/PublicShopElementNoticeDto.ts +3 -3
- package/src/dto/publicShop/PublicShopElementProductDto.ts +3 -2
- package/src/dto/publicShop/PublicShopElementTextDto.ts +3 -2
- package/src/dto/publicShop/PublicShopEventDto.ts +11 -1
- package/src/dto/publicShop/PublicShopProductDto.ts +11 -1
- package/src/dto/reservation/ReservationProductDto.ts +23 -2
- package/src/service/MerchantEventProductService.ts +3 -2
- package/src/service/MerchantEventProductsService.ts +5 -2
- package/src/service/PublicShopService.ts +17 -2
- package/src/types/event.ts +4 -0
- package/src/types/product.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -179,6 +179,7 @@ type NoticeType = "primary" | "danger" | "info" | "success" | "warning";
|
|
|
179
179
|
//#region src/types/event.d.ts
|
|
180
180
|
type EventStatus = "active" | "concluded" | "happening" | "in_sale" | "pending";
|
|
181
181
|
type EventStatisticsStatus = "active" | "concluded" | "upcoming";
|
|
182
|
+
type ShopElementPage = "main" | "add_ons";
|
|
182
183
|
type ShopElementType = "button" | "divider" | "heading" | "information" | "notice" | "product" | "text";
|
|
183
184
|
type ShopAddressMode = "full" | "city" | "postal_code_number";
|
|
184
185
|
type ShopFieldRequirement = "disabled" | "enabled" | "required";
|
|
@@ -227,7 +228,7 @@ type PaymentProviderType = "mollie" | "manual";
|
|
|
227
228
|
type TransactionStatus = "canceled" | "expired" | "failed" | "paid" | "pending" | "setup";
|
|
228
229
|
//#endregion
|
|
229
230
|
//#region src/types/product.d.ts
|
|
230
|
-
type ProductType = "ticket";
|
|
231
|
+
type ProductType = "add_on" | "ticket";
|
|
231
232
|
type ProductAvailability = "available" | "paused" | "upcoming" | "ended" | "sold_out";
|
|
232
233
|
//#endregion
|
|
233
234
|
//#region src/types/publicShop.d.ts
|
|
@@ -646,6 +647,8 @@ declare class EventDto {
|
|
|
646
647
|
set name(value: string);
|
|
647
648
|
get description(): string;
|
|
648
649
|
set description(value: string);
|
|
650
|
+
get descriptionPlaintext(): string;
|
|
651
|
+
set descriptionPlaintext(value: string);
|
|
649
652
|
get startsOn(): DateTime;
|
|
650
653
|
set startsOn(value: DateTime);
|
|
651
654
|
get endsOn(): DateTime;
|
|
@@ -662,7 +665,7 @@ declare class EventDto {
|
|
|
662
665
|
set createdOn(value: DateTime);
|
|
663
666
|
get updatedOn(): DateTime;
|
|
664
667
|
set updatedOn(value: DateTime);
|
|
665
|
-
constructor(id: string, name: string, description: string, startsOn: DateTime, endsOn: DateTime, minimumAge: number, status: EventStatus, address: AddressDto, headerFile: PictureDto | null, createdOn: DateTime, updatedOn: DateTime);
|
|
668
|
+
constructor(id: string, name: string, description: string, descriptionPlaintext: string, startsOn: DateTime, endsOn: DateTime, minimumAge: number, status: EventStatus, address: AddressDto, headerFile: PictureDto | null, createdOn: DateTime, updatedOn: DateTime);
|
|
666
669
|
}
|
|
667
670
|
//#endregion
|
|
668
671
|
//#region src/dto/event/ShopDesignDto.d.ts
|
|
@@ -722,9 +725,11 @@ declare abstract class ShopElementDto {
|
|
|
722
725
|
#private;
|
|
723
726
|
get id(): string;
|
|
724
727
|
set id(value: string);
|
|
728
|
+
get page(): ShopElementPage;
|
|
729
|
+
set page(value: ShopElementPage);
|
|
725
730
|
get type(): ShopElementType;
|
|
726
731
|
set type(value: ShopElementType);
|
|
727
|
-
protected constructor(id: string, type: ShopElementType);
|
|
732
|
+
protected constructor(id: string, type: ShopElementType, page: ShopElementPage);
|
|
728
733
|
}
|
|
729
734
|
//#endregion
|
|
730
735
|
//#region src/dto/event/ShopElementButtonDto.d.ts
|
|
@@ -736,7 +741,7 @@ declare class ShopElementButtonDto extends ShopElementDto {
|
|
|
736
741
|
set text(value: string);
|
|
737
742
|
get url(): string;
|
|
738
743
|
set url(value: string);
|
|
739
|
-
constructor(id: string, icon: FluxIconName | null, text: string, url: string);
|
|
744
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName | null, text: string, url: string);
|
|
740
745
|
}
|
|
741
746
|
//#endregion
|
|
742
747
|
//#region src/dto/event/ShopElementDividerDto.d.ts
|
|
@@ -746,7 +751,7 @@ declare class ShopElementDividerDto extends ShopElementDto {
|
|
|
746
751
|
set icon(value: FluxIconName | null);
|
|
747
752
|
get text(): string | null;
|
|
748
753
|
set text(value: string | null);
|
|
749
|
-
constructor(id: string, icon: FluxIconName | null, text: string | null);
|
|
754
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName | null, text: string | null);
|
|
750
755
|
}
|
|
751
756
|
//#endregion
|
|
752
757
|
//#region src/dto/event/ShopElementHeadingDto.d.ts
|
|
@@ -756,12 +761,12 @@ declare class ShopElementHeadingDto extends ShopElementDto {
|
|
|
756
761
|
set headingLevel(value: HeadingLevel);
|
|
757
762
|
get title(): string;
|
|
758
763
|
set title(value: string);
|
|
759
|
-
constructor(id: string, headingLevel: HeadingLevel, title: string);
|
|
764
|
+
constructor(id: string, page: ShopElementPage, headingLevel: HeadingLevel, title: string);
|
|
760
765
|
}
|
|
761
766
|
//#endregion
|
|
762
767
|
//#region src/dto/event/ShopElementInformationDto.d.ts
|
|
763
768
|
declare class ShopElementInformationDto extends ShopElementDto {
|
|
764
|
-
constructor(id: string);
|
|
769
|
+
constructor(id: string, page: ShopElementPage);
|
|
765
770
|
}
|
|
766
771
|
//#endregion
|
|
767
772
|
//#region src/dto/event/ShopElementNoticeDto.d.ts
|
|
@@ -775,7 +780,7 @@ declare class ShopElementNoticeDto extends ShopElementDto {
|
|
|
775
780
|
set title(value: string | null);
|
|
776
781
|
get text(): string;
|
|
777
782
|
set text(value: string);
|
|
778
|
-
constructor(id: string, icon: FluxIconName, noticeType: NoticeType, title: string | null, text: string);
|
|
783
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName, noticeType: NoticeType, title: string | null, text: string);
|
|
779
784
|
}
|
|
780
785
|
//#endregion
|
|
781
786
|
//#region src/dto/event/ShopElementProductDto.d.ts
|
|
@@ -783,7 +788,7 @@ declare class ShopElementProductDto extends ShopElementDto {
|
|
|
783
788
|
#private;
|
|
784
789
|
get product(): ProductDto;
|
|
785
790
|
set product(value: ProductDto);
|
|
786
|
-
constructor(id: string, product: ProductDto);
|
|
791
|
+
constructor(id: string, page: ShopElementPage, product: ProductDto);
|
|
787
792
|
}
|
|
788
793
|
//#endregion
|
|
789
794
|
//#region src/dto/event/ShopElementTextDto.d.ts
|
|
@@ -791,7 +796,7 @@ declare class ShopElementTextDto extends ShopElementDto {
|
|
|
791
796
|
#private;
|
|
792
797
|
get text(): string;
|
|
793
798
|
set text(value: string);
|
|
794
|
-
constructor(id: string, text: string);
|
|
799
|
+
constructor(id: string, page: ShopElementPage, text: string);
|
|
795
800
|
}
|
|
796
801
|
//#endregion
|
|
797
802
|
//#region src/dto/event/StockOverviewDto.d.ts
|
|
@@ -1367,7 +1372,9 @@ declare class OrderProductDto {
|
|
|
1367
1372
|
set description(value: string);
|
|
1368
1373
|
get image(): PictureDto | null;
|
|
1369
1374
|
set image(value: PictureDto | null);
|
|
1370
|
-
|
|
1375
|
+
get type(): ProductType;
|
|
1376
|
+
set type(value: ProductType);
|
|
1377
|
+
constructor(id: string, name: string, description: string, image: PictureDto | null, type: ProductType);
|
|
1371
1378
|
}
|
|
1372
1379
|
//#endregion
|
|
1373
1380
|
//#region src/dto/payment/CostDto.d.ts
|
|
@@ -1447,6 +1454,8 @@ declare class ProductDto {
|
|
|
1447
1454
|
set name(value: string);
|
|
1448
1455
|
get description(): string;
|
|
1449
1456
|
set description(value: string);
|
|
1457
|
+
get descriptionPlaintext(): string;
|
|
1458
|
+
set descriptionPlaintext(value: string);
|
|
1450
1459
|
get price(): CostDto;
|
|
1451
1460
|
set price(value: CostDto);
|
|
1452
1461
|
get maxQuantity(): number;
|
|
@@ -1455,6 +1464,8 @@ declare class ProductDto {
|
|
|
1455
1464
|
set isActive(value: boolean);
|
|
1456
1465
|
get isPersonalizationRequired(): boolean;
|
|
1457
1466
|
set isPersonalizationRequired(value: boolean);
|
|
1467
|
+
get isScannable(): boolean;
|
|
1468
|
+
set isScannable(value: boolean);
|
|
1458
1469
|
get isSwappable(): boolean;
|
|
1459
1470
|
set isSwappable(value: boolean);
|
|
1460
1471
|
get isTimeslotted(): boolean;
|
|
@@ -1483,7 +1494,7 @@ declare class ProductDto {
|
|
|
1483
1494
|
set availability(value: ProductAvailability);
|
|
1484
1495
|
get sold(): number;
|
|
1485
1496
|
set sold(value: number);
|
|
1486
|
-
constructor(id: string, type: ProductType, name: string, description: string, price: CostDto, maxQuantity: number, isActive: boolean, isPersonalizationRequired: boolean, isSwappable: boolean, isTimeslotted: boolean, timeSlots: TimeSlotDto[], remainingStock: number, stock: StockPoolDto, hasSales: boolean, image: PictureDto, images: PictureDto[], ticketsReleasedOn: DateTime | null, showWhenUnavailable: boolean, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null, availability: ProductAvailability, sold: number);
|
|
1497
|
+
constructor(id: string, type: ProductType, name: string, description: string, descriptionPlaintext: string, price: CostDto, maxQuantity: number, isActive: boolean, isPersonalizationRequired: boolean, isSwappable: boolean, isTimeslotted: boolean, timeSlots: TimeSlotDto[], remainingStock: number, stock: StockPoolDto, hasSales: boolean, image: PictureDto, images: PictureDto[], ticketsReleasedOn: DateTime | null, showWhenUnavailable: boolean, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null, availability: ProductAvailability, sold: number, isScannable?: boolean);
|
|
1487
1498
|
}
|
|
1488
1499
|
//#endregion
|
|
1489
1500
|
//#region src/dto/publicPay/PublicPaymentMethodDto.d.ts
|
|
@@ -1561,9 +1572,11 @@ declare abstract class PublicShopElementDto {
|
|
|
1561
1572
|
#private;
|
|
1562
1573
|
get id(): string;
|
|
1563
1574
|
set id(value: string);
|
|
1575
|
+
get page(): ShopElementPage;
|
|
1576
|
+
set page(value: ShopElementPage);
|
|
1564
1577
|
get type(): PublicShopElementType;
|
|
1565
1578
|
set type(value: PublicShopElementType);
|
|
1566
|
-
protected constructor(id: string, type: PublicShopElementType);
|
|
1579
|
+
protected constructor(id: string, type: PublicShopElementType, page: ShopElementPage);
|
|
1567
1580
|
}
|
|
1568
1581
|
//#endregion
|
|
1569
1582
|
//#region src/dto/publicShop/PublicShopElementButtonDto.d.ts
|
|
@@ -1575,7 +1588,7 @@ declare class PublicShopElementButtonDto extends PublicShopElementDto {
|
|
|
1575
1588
|
set text(value: string);
|
|
1576
1589
|
get url(): string;
|
|
1577
1590
|
set url(value: string);
|
|
1578
|
-
constructor(id: string, icon: FluxIconName | null, text: string, url: string);
|
|
1591
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName | null, text: string, url: string);
|
|
1579
1592
|
}
|
|
1580
1593
|
//#endregion
|
|
1581
1594
|
//#region src/dto/publicShop/PublicShopElementDividerDto.d.ts
|
|
@@ -1585,7 +1598,7 @@ declare class PublicShopElementDividerDto extends PublicShopElementDto {
|
|
|
1585
1598
|
set icon(value: FluxIconName | null);
|
|
1586
1599
|
get text(): string | null;
|
|
1587
1600
|
set text(value: string | null);
|
|
1588
|
-
constructor(id: string, icon: FluxIconName | null, text: string | null);
|
|
1601
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName | null, text: string | null);
|
|
1589
1602
|
}
|
|
1590
1603
|
//#endregion
|
|
1591
1604
|
//#region src/dto/publicShop/PublicShopElementHeadingDto.d.ts
|
|
@@ -1595,12 +1608,12 @@ declare class PublicShopElementHeadingDto extends PublicShopElementDto {
|
|
|
1595
1608
|
set headingLevel(value: HeadingLevel);
|
|
1596
1609
|
get title(): string;
|
|
1597
1610
|
set title(value: string);
|
|
1598
|
-
constructor(id: string, headingLevel: HeadingLevel, title: string);
|
|
1611
|
+
constructor(id: string, page: ShopElementPage, headingLevel: HeadingLevel, title: string);
|
|
1599
1612
|
}
|
|
1600
1613
|
//#endregion
|
|
1601
1614
|
//#region src/dto/publicShop/PublicShopElementInformationDto.d.ts
|
|
1602
1615
|
declare class PublicShopElementInformationDto extends PublicShopElementDto {
|
|
1603
|
-
constructor(id: string);
|
|
1616
|
+
constructor(id: string, page: ShopElementPage);
|
|
1604
1617
|
}
|
|
1605
1618
|
//#endregion
|
|
1606
1619
|
//#region src/dto/publicShop/PublicShopElementNoticeDto.d.ts
|
|
@@ -1614,7 +1627,7 @@ declare class PublicShopElementNoticeDto extends PublicShopElementDto {
|
|
|
1614
1627
|
set title(value: string | null);
|
|
1615
1628
|
get text(): string;
|
|
1616
1629
|
set text(value: string);
|
|
1617
|
-
constructor(id: string, icon: FluxIconName, noticeType: NoticeType, title: string | null, text: string);
|
|
1630
|
+
constructor(id: string, page: ShopElementPage, icon: FluxIconName, noticeType: NoticeType, title: string | null, text: string);
|
|
1618
1631
|
}
|
|
1619
1632
|
//#endregion
|
|
1620
1633
|
//#region src/dto/publicShop/PublicShopElementProductDto.d.ts
|
|
@@ -1622,7 +1635,7 @@ declare class PublicShopElementProductDto extends PublicShopElementDto {
|
|
|
1622
1635
|
#private;
|
|
1623
1636
|
get product(): PublicShopProductDto;
|
|
1624
1637
|
set product(value: PublicShopProductDto);
|
|
1625
|
-
constructor(id: string, product: PublicShopProductDto);
|
|
1638
|
+
constructor(id: string, page: ShopElementPage, product: PublicShopProductDto);
|
|
1626
1639
|
}
|
|
1627
1640
|
//#endregion
|
|
1628
1641
|
//#region src/dto/publicShop/PublicShopElementTextDto.d.ts
|
|
@@ -1630,7 +1643,7 @@ declare class PublicShopElementTextDto extends PublicShopElementDto {
|
|
|
1630
1643
|
#private;
|
|
1631
1644
|
get text(): string;
|
|
1632
1645
|
set text(value: string);
|
|
1633
|
-
constructor(id: string, text: string);
|
|
1646
|
+
constructor(id: string, page: ShopElementPage, text: string);
|
|
1634
1647
|
}
|
|
1635
1648
|
//#endregion
|
|
1636
1649
|
//#region src/dto/publicShop/PublicShopEventDto.d.ts
|
|
@@ -1642,6 +1655,8 @@ declare class PublicShopEventDto {
|
|
|
1642
1655
|
set name(value: string);
|
|
1643
1656
|
get description(): string;
|
|
1644
1657
|
set description(value: string);
|
|
1658
|
+
get descriptionPlaintext(): string;
|
|
1659
|
+
set descriptionPlaintext(value: string);
|
|
1645
1660
|
get status(): EventStatus;
|
|
1646
1661
|
set status(value: EventStatus);
|
|
1647
1662
|
get address(): AddressDto;
|
|
@@ -1654,7 +1669,7 @@ declare class PublicShopEventDto {
|
|
|
1654
1669
|
set startsOn(value: DateTime);
|
|
1655
1670
|
get endsOn(): DateTime;
|
|
1656
1671
|
set endsOn(value: DateTime);
|
|
1657
|
-
constructor(id: string, name: string, description: string, status: EventStatus, address: AddressDto, headerFile: PictureDto | null, minimumAge: number, startsOn: DateTime, endsOn: DateTime);
|
|
1672
|
+
constructor(id: string, name: string, description: string, descriptionPlaintext: string, status: EventStatus, address: AddressDto, headerFile: PictureDto | null, minimumAge: number, startsOn: DateTime, endsOn: DateTime);
|
|
1658
1673
|
}
|
|
1659
1674
|
//#endregion
|
|
1660
1675
|
//#region src/dto/publicShop/PublicShopMerchantDto.d.ts
|
|
@@ -1678,6 +1693,8 @@ declare class PublicShopProductDto {
|
|
|
1678
1693
|
set name(value: string);
|
|
1679
1694
|
get description(): string;
|
|
1680
1695
|
set description(value: string);
|
|
1696
|
+
get descriptionPlaintext(): string;
|
|
1697
|
+
set descriptionPlaintext(value: string);
|
|
1681
1698
|
get price(): CostDto;
|
|
1682
1699
|
set price(value: CostDto);
|
|
1683
1700
|
get maxQuantity(): number;
|
|
@@ -1698,7 +1715,7 @@ declare class PublicShopProductDto {
|
|
|
1698
1715
|
set saleStartsOn(value: DateTime | null);
|
|
1699
1716
|
get saleEndsOn(): DateTime | null;
|
|
1700
1717
|
set saleEndsOn(value: DateTime | null);
|
|
1701
|
-
constructor(id: string, type: ProductType, name: string, description: string, price: CostDto, maxQuantity: number, isActive: boolean, isTimeslotted: boolean, timeSlots: PublicShopTimeSlotDto[], image: PictureDto | null, images: PictureDto[], availability: ProductAvailability, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null);
|
|
1718
|
+
constructor(id: string, type: ProductType, name: string, description: string, descriptionPlaintext: string, price: CostDto, maxQuantity: number, isActive: boolean, isTimeslotted: boolean, timeSlots: PublicShopTimeSlotDto[], image: PictureDto | null, images: PictureDto[], availability: ProductAvailability, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null);
|
|
1702
1719
|
}
|
|
1703
1720
|
//#endregion
|
|
1704
1721
|
//#region src/dto/publicShop/PublicShopReservationDto.d.ts
|
|
@@ -1868,7 +1885,11 @@ declare class ReservationProductDto {
|
|
|
1868
1885
|
set description(value: string);
|
|
1869
1886
|
get image(): PictureDto | null;
|
|
1870
1887
|
set image(value: PictureDto | null);
|
|
1871
|
-
|
|
1888
|
+
get price(): CostDto;
|
|
1889
|
+
set price(value: CostDto);
|
|
1890
|
+
get type(): ProductType;
|
|
1891
|
+
set type(value: ProductType);
|
|
1892
|
+
constructor(id: string, name: string, description: string, image: PictureDto | null, price: CostDto, type: ProductType);
|
|
1872
1893
|
}
|
|
1873
1894
|
//#endregion
|
|
1874
1895
|
//#region src/dto/service/ServiceInfoDto.d.ts
|
|
@@ -3310,7 +3331,7 @@ declare class MerchantEventProductService extends BaseService {
|
|
|
3310
3331
|
get(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<ProductDto>>;
|
|
3311
3332
|
postImage(merchantId: string, eventId: string, productId: string, picture: File): Promise<BaseResponse<object>>;
|
|
3312
3333
|
patchGeneral(merchantId: string, eventId: string, productId: string, name: string, description: string | null): Promise<BaseResponse<ProductDto>>;
|
|
3313
|
-
patchSales(merchantId: string, eventId: string, productId: string, price: number, maxQuantity: number, isSwappable: boolean, ticketsReleasedOn: DateTime | null, showWhenUnavailable: boolean, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null): Promise<BaseResponse<ProductDto>>;
|
|
3334
|
+
patchSales(merchantId: string, eventId: string, productId: string, price: number, maxQuantity: number, isSwappable: boolean, ticketsReleasedOn: DateTime | null, showWhenUnavailable: boolean, saleStartsOn: DateTime | null, saleEndsOn: DateTime | null, isScannable?: boolean | null): Promise<BaseResponse<ProductDto>>;
|
|
3314
3335
|
patchValidity(merchantId: string, eventId: string, productId: string, timeSlotIds: string[]): Promise<BaseResponse<ProductDto>>;
|
|
3315
3336
|
patchPause(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<never>>;
|
|
3316
3337
|
patchResume(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<never>>;
|
|
@@ -3321,7 +3342,7 @@ declare class MerchantEventProductService extends BaseService {
|
|
|
3321
3342
|
declare class MerchantEventProductsService extends BaseService {
|
|
3322
3343
|
get(merchantId: string, eventId: string, params: ListParams): Promise<BaseResponse<Paginated<ProductDto>>>;
|
|
3323
3344
|
getSelectOptions(merchantId: string, eventId: string, searchQuery?: string | null, ids?: string[] | null): Promise<BaseResponse<FluxFormSelectEntry[]>>;
|
|
3324
|
-
post(merchantId: string, eventId: string, name: string, description: string, price: number, maxQuantity: number, stock: number | null, stockPoolId: string | null, ticketsReleasedOn?: DateTime | null, timeSlotIds?: string[] | null): Promise<BaseResponse<ProductDto>>;
|
|
3345
|
+
post(merchantId: string, eventId: string, name: string, description: string, price: number, maxQuantity: number, stock: number | null, stockPoolId: string | null, ticketsReleasedOn?: DateTime | null, timeSlotIds?: string[] | null, type?: ProductType, isScannable?: boolean | null): Promise<BaseResponse<ProductDto>>;
|
|
3325
3346
|
}
|
|
3326
3347
|
//#endregion
|
|
3327
3348
|
//#region src/service/MerchantEventService.d.ts
|
|
@@ -3755,6 +3776,7 @@ declare class PublicOrderService extends BaseService {
|
|
|
3755
3776
|
declare class PublicShopService extends BaseService {
|
|
3756
3777
|
get(shopId: string): Promise<BaseResponse<PublicShopDto>>;
|
|
3757
3778
|
buy(shopId: string, reservationId: string, firstName: string, lastName: string, email: string, phoneNumber: string, dateOfBirth: DateTime | null, gender: Gender | null, addressCity: string | null, addressCountry: string | null, addressNumber: string | null, addressPostalCode: string | null, addressStreet: string | null, attribution?: MarketingAttributionDto | null): Promise<BaseResponse<OrderDto>>;
|
|
3779
|
+
putReservationProducts(shopId: string, reservationId: string, products: PublicShopCartProductDto[]): Promise<BaseResponse<ReservationDto>>;
|
|
3758
3780
|
reserve(shopId: string, products: PublicShopCartProductDto[], attribution?: MarketingAttributionDto | null): Promise<BaseResponse<PublicShopReservationDto>>;
|
|
3759
3781
|
}
|
|
3760
3782
|
//#endregion
|
|
@@ -3809,5 +3831,5 @@ declare function export_default$3<T, U>(value: U, adapter: (value: U) => T): T;
|
|
|
3809
3831
|
//#region src/util/optionalArray.d.ts
|
|
3810
3832
|
declare function export_default$4<T>(value: object[], adapter: (value: object) => T): T[] | null;
|
|
3811
3833
|
//#endregion
|
|
3812
|
-
export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, type AiChatMessageCompletedMessageDto, AiChatMessageDto, AiChatMessageRole, AiChatToolCallDto, type AiGenerationStatus, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, type AiUsageOperation, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, type BrowserType, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, type CashFlowEventType, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, type Claim, CommonAdapter, ContentCalendarAdapter, type ContentCalendarGenerationCompletedMessageDto, type ContentCalendarItemChannel, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContentCalendarItemPayload, type ContentCalendarItemSource, type ContentCalendarItemStatus, ContractDto, CostDto, type DailyRevenueChart, type DailyRevenueChartEntry, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, type DiscountCodeEvent, type DiscountCodeType, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, type EmailTemplateEditorBlock, type EmailTemplateEditorButtonBlock, type EmailTemplateEditorCondition, type EmailTemplateEditorContext, type EmailTemplateEditorDividerBlock, type EmailTemplateEditorH1Block, type EmailTemplateEditorHeaderBlock, type EmailTemplateEditorIfBlock, type EmailTemplateEditorLogoBlock, type EmailTemplateEditorParagraphBlock, type EmailTemplateEditorSpacerBlock, type EmailTemplateEditorVariable, type EmailTemplateLanguage, type EmailTemplateType, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter, type EventStatisticsStatus, EventStatisticsStatusDto, EventStatisticsSwapsDto, type EventStatus, type Feature, type FeatureGroup, FileSystemAdapter, type FilterValue, type FilterValueSingle, type Filters, FinanceAdapter, FinanceOverviewDto, FluxAdapter, type Gender, type Granularity, type HeadingLevel, type InsightCardCompletedMessageDto, type InsightCardType, InsightDto, type InsightLanguage, InsightSignalDto, type InsightSignalKind, type InsightStatus, InsightsResponseDto, InvitationDto, InvitationService, InvoiceDto, InvoiceLineDto, type InvoiceLineType, type ListParams, MarketingAttributionAdapter, MarketingAttributionDto, MeService, MerchantAdapter, MerchantAiChatService, MerchantAiSettingsService, MerchantAiUsageService, MerchantBuyerService, MerchantBuyersService, MerchantContractService, MerchantDashboardAdapter, MerchantDashboardKeyMetricsDto, MerchantDashboardService, MerchantDashboardUpcomingEventDto, MerchantDiscountCodeService, MerchantDiscountCodesService, MerchantDto, MerchantEmailTemplateService, MerchantEmailTemplatesService, MerchantEventAppTeamService, MerchantEventAppTeamsService, MerchantEventContentCalendarService, MerchantEventEmailTemplateService, MerchantEventEmailTemplatesService, MerchantEventProductService, MerchantEventProductsService, MerchantEventService, MerchantEventShopService, MerchantEventShopsService, MerchantEventStatisticsBuyersService, MerchantEventStatisticsOperationsService, MerchantEventStatisticsOverviewService, MerchantEventStatisticsSalesService, MerchantEventStockPoolsService, MerchantEventTicketTemplateService, MerchantEventTicketTemplatesService, MerchantEventTimeSlotService, MerchantEventTimeSlotsService, MerchantEventsService, MerchantFinanceInvoiceService, MerchantFinanceInvoicesService, MerchantFinanceService, MerchantOrderService, MerchantOrdersService, MerchantService, MerchantShopService, MerchantShopsService, MerchantStatisticsBuyersService, MerchantStatisticsEventsService, MerchantStatisticsGrowthService, MerchantStatisticsInsightsService, MerchantStatisticsMarketingService, MerchantStatisticsOperationsService, MerchantStatisticsOverviewService, MerchantStatisticsRefundsService, MerchantStatisticsSalesService, MerchantStatisticsService, MerchantSubscriptionDto, MerchantTicketService, MerchantTicketsService, MerchantUserDto, MerchantUserService, MerchantUsersService, MerchantsService, MilestoneDto, type MilestoneType, type NoticeType, type OperatingSystemType, OrderAdapter, OrderDto, OrderLineDto, type OrderOrigin, OrderPaymentProviderDto, OrderProductDto, type OrderRefundStatus, type OrderType, PaymentAdapter, PaymentMethodDto, PaymentProviderDto, type PaymentProviderType, PictureDto, ProductAdapter, type ProductAvailability, ProductDto, type ProductType, PublicOrderService, PublicPayAdapter, PublicPaymentMethodDto, PublicShopAdapter, PublicShopCartProductDto, PublicShopDesignDto, PublicShopDto, PublicShopElementButtonDto, PublicShopElementDividerDto, PublicShopElementDto, PublicShopElementHeadingDto, PublicShopElementInformationDto, PublicShopElementNoticeDto, PublicShopElementProductDto, PublicShopElementTextDto, type PublicShopElementType, PublicShopEventDto, PublicShopMerchantDto, PublicShopProductDto, PublicShopReservationDto, PublicShopReservationProductDetailsDto, PublicShopReservationProductDto, PublicShopService, PublicShopTimeSlotDto, RefundAdapter, RefundDto, RefundInitiatorDto, type RefundReason, type RefundStatus, RefundTicketRefDto, RefundabilityDto, type RefundabilityReason, RenderedMailDto, ReservationAdapter, ReservationDto, ReservationItemDto, ReservationProductDto, ReservationService, type ScanStatus, ServiceAdapter, ServiceInfoDto, ServicesService, type ShopAddressMode, ShopDesignDto, ShopDto, ShopElementButtonDto, ShopElementDividerDto, ShopElementDto, ShopElementHeadingDto, ShopElementInformationDto, ShopElementNoticeDto, ShopElementProductDto, ShopElementTextDto, type ShopElementType, type ShopFieldRequirement, type ShopStatus, ShortlinkAdapter, ShortlinkDto, StatisticsAdapter, StatisticsBuyersAcquisitionSourceDto, StatisticsBuyersAdapter, StatisticsBuyersAgeGenderMatrixDto, StatisticsBuyersCohortRetentionDto, StatisticsBuyersDeviceConversionDto, StatisticsBuyersGeographicDistributionDto, StatisticsBuyersOverviewDto, StatisticsBuyersRankedDto, StatisticsBuyersSpendBucket, StatisticsBuyersSpendBucketsDto, StatisticsChartAdapter, type StatisticsChartDataPoint, StatisticsChartDto, type StatisticsChartSeries, type StatisticsChartSeriesKind, type StatisticsChartValueType, StatisticsEventsAdapter, StatisticsEventsOverviewDto, StatisticsEventsSalesCurveDto, StatisticsEventsSalesCurveEventDto, StatisticsEventsSellOutTimingDto, StatisticsEventsSellOutTimingEventDto, StatisticsEventsTimeToEventBucket, StatisticsEventsTimeToEventDto, StatisticsGrowthAdapter, StatisticsGrowthCmgrDto, StatisticsGrowthOverviewDto, StatisticsInsightsAdapter, StatisticsMarketingAdapter, StatisticsMarketingCampaignDto, StatisticsMarketingOverviewDto, StatisticsMarketingReferrerDto, StatisticsMarketingShortlinkRoiDto, StatisticsMarketingSourceBreakdownDto, StatisticsMarketingSourceFunnelDto, StatisticsMarketingSourceMediumMatrixDto, StatisticsOperationsAdapter, StatisticsOperationsAppTeamDto, StatisticsOperationsNoShowRateDto, StatisticsOperationsNoShowRateEventDto, StatisticsOperationsOverviewDto, StatisticsOperationsScanTimeBucket, StatisticsOperationsScanTimeDistributionDto, StatisticsOperationsStewardDto, StatisticsOperationsStockUtilizationDto, StatisticsOverviewAdapter, StatisticsOverviewBestRevenueMonthDto, StatisticsOverviewCancellationFunnelDto, StatisticsOverviewEventPerformanceDto, StatisticsOverviewEventPerformanceEventDto, StatisticsOverviewEventPerformanceSummaryDto, StatisticsOverviewKPIsDto, StatisticsOverviewKPIsTotalEventsHostedDto, StatisticsOverviewKPIsTotalRevenueDto, StatisticsOverviewKPIsTotalTicketsSoldDto, StatisticsOverviewReservationConversionRateDto, StatisticsOverviewTopShopDto, StatisticsPieChartDto, type StatisticsPieSlice, StatisticsRefundsAdapter, StatisticsRefundsAmountDistributionDto, StatisticsRefundsOverviewDto, StatisticsRefundsTopEventDto, StatisticsRefundsVelocityBucket, StatisticsRefundsVelocityDto, StatisticsSalesAdapter, StatisticsSalesDiscountEfficacyDto, StatisticsSalesFailedTransactionReasonDto, StatisticsSalesLifetimeTotalsDto, StatisticsSalesOrderValueBucket, StatisticsSalesOrderValueDistributionDto, StatisticsSalesPurchaseBehaviorDto, StatisticsSalesRepeatPurchaseVelocityBucket, StatisticsSalesRepeatPurchaseVelocityDto, StatisticsSalesTransactionSuccessRateDto, StatisticsTrendDto, StatusResponseDto, StockOverviewDto, StockOverviewItemDto, StockPoolDto, SubscriptionAdapter, SubscriptionPlanDto, type SubscriptionType, TicketAdapter, TicketDto, TicketTemplateDto, type TicketTemplateType, type TicketValidity, TimeSlotDto, TotpStateDto, TransactionDto, type TransactionStatus, UiSelectOptionsService, UserDto, UserTokenDto, type UserTokenType, VatNumberDto, export_default as buildListQuery, export_default$1 as emptyNull, export_default$2 as jsonBlob, export_default$3 as optional, export_default$4 as optionalArray, parseEmailTemplate, serializeBlocks };
|
|
3834
|
+
export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, type AiChatMessageCompletedMessageDto, AiChatMessageDto, AiChatMessageRole, AiChatToolCallDto, type AiGenerationStatus, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, type AiUsageOperation, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, type BrowserType, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, type CashFlowEventType, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, type Claim, CommonAdapter, ContentCalendarAdapter, type ContentCalendarGenerationCompletedMessageDto, type ContentCalendarItemChannel, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContentCalendarItemPayload, type ContentCalendarItemSource, type ContentCalendarItemStatus, ContractDto, CostDto, type DailyRevenueChart, type DailyRevenueChartEntry, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, type DiscountCodeEvent, type DiscountCodeType, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, type EmailTemplateEditorBlock, type EmailTemplateEditorButtonBlock, type EmailTemplateEditorCondition, type EmailTemplateEditorContext, type EmailTemplateEditorDividerBlock, type EmailTemplateEditorH1Block, type EmailTemplateEditorHeaderBlock, type EmailTemplateEditorIfBlock, type EmailTemplateEditorLogoBlock, type EmailTemplateEditorParagraphBlock, type EmailTemplateEditorSpacerBlock, type EmailTemplateEditorVariable, type EmailTemplateLanguage, type EmailTemplateType, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter, type EventStatisticsStatus, EventStatisticsStatusDto, EventStatisticsSwapsDto, type EventStatus, type Feature, type FeatureGroup, FileSystemAdapter, type FilterValue, type FilterValueSingle, type Filters, FinanceAdapter, FinanceOverviewDto, FluxAdapter, type Gender, type Granularity, type HeadingLevel, type InsightCardCompletedMessageDto, type InsightCardType, InsightDto, type InsightLanguage, InsightSignalDto, type InsightSignalKind, type InsightStatus, InsightsResponseDto, InvitationDto, InvitationService, InvoiceDto, InvoiceLineDto, type InvoiceLineType, type ListParams, MarketingAttributionAdapter, MarketingAttributionDto, MeService, MerchantAdapter, MerchantAiChatService, MerchantAiSettingsService, MerchantAiUsageService, MerchantBuyerService, MerchantBuyersService, MerchantContractService, MerchantDashboardAdapter, MerchantDashboardKeyMetricsDto, MerchantDashboardService, MerchantDashboardUpcomingEventDto, MerchantDiscountCodeService, MerchantDiscountCodesService, MerchantDto, MerchantEmailTemplateService, MerchantEmailTemplatesService, MerchantEventAppTeamService, MerchantEventAppTeamsService, MerchantEventContentCalendarService, MerchantEventEmailTemplateService, MerchantEventEmailTemplatesService, MerchantEventProductService, MerchantEventProductsService, MerchantEventService, MerchantEventShopService, MerchantEventShopsService, MerchantEventStatisticsBuyersService, MerchantEventStatisticsOperationsService, MerchantEventStatisticsOverviewService, MerchantEventStatisticsSalesService, MerchantEventStockPoolsService, MerchantEventTicketTemplateService, MerchantEventTicketTemplatesService, MerchantEventTimeSlotService, MerchantEventTimeSlotsService, MerchantEventsService, MerchantFinanceInvoiceService, MerchantFinanceInvoicesService, MerchantFinanceService, MerchantOrderService, MerchantOrdersService, MerchantService, MerchantShopService, MerchantShopsService, MerchantStatisticsBuyersService, MerchantStatisticsEventsService, MerchantStatisticsGrowthService, MerchantStatisticsInsightsService, MerchantStatisticsMarketingService, MerchantStatisticsOperationsService, MerchantStatisticsOverviewService, MerchantStatisticsRefundsService, MerchantStatisticsSalesService, MerchantStatisticsService, MerchantSubscriptionDto, MerchantTicketService, MerchantTicketsService, MerchantUserDto, MerchantUserService, MerchantUsersService, MerchantsService, MilestoneDto, type MilestoneType, type NoticeType, type OperatingSystemType, OrderAdapter, OrderDto, OrderLineDto, type OrderOrigin, OrderPaymentProviderDto, OrderProductDto, type OrderRefundStatus, type OrderType, PaymentAdapter, PaymentMethodDto, PaymentProviderDto, type PaymentProviderType, PictureDto, ProductAdapter, type ProductAvailability, ProductDto, type ProductType, PublicOrderService, PublicPayAdapter, PublicPaymentMethodDto, PublicShopAdapter, PublicShopCartProductDto, PublicShopDesignDto, PublicShopDto, PublicShopElementButtonDto, PublicShopElementDividerDto, PublicShopElementDto, PublicShopElementHeadingDto, PublicShopElementInformationDto, PublicShopElementNoticeDto, PublicShopElementProductDto, PublicShopElementTextDto, type PublicShopElementType, PublicShopEventDto, PublicShopMerchantDto, PublicShopProductDto, PublicShopReservationDto, PublicShopReservationProductDetailsDto, PublicShopReservationProductDto, PublicShopService, PublicShopTimeSlotDto, RefundAdapter, RefundDto, RefundInitiatorDto, type RefundReason, type RefundStatus, RefundTicketRefDto, RefundabilityDto, type RefundabilityReason, RenderedMailDto, ReservationAdapter, ReservationDto, ReservationItemDto, ReservationProductDto, ReservationService, type ScanStatus, ServiceAdapter, ServiceInfoDto, ServicesService, type ShopAddressMode, ShopDesignDto, ShopDto, ShopElementButtonDto, ShopElementDividerDto, ShopElementDto, ShopElementHeadingDto, ShopElementInformationDto, ShopElementNoticeDto, type ShopElementPage, ShopElementProductDto, ShopElementTextDto, type ShopElementType, type ShopFieldRequirement, type ShopStatus, ShortlinkAdapter, ShortlinkDto, StatisticsAdapter, StatisticsBuyersAcquisitionSourceDto, StatisticsBuyersAdapter, StatisticsBuyersAgeGenderMatrixDto, StatisticsBuyersCohortRetentionDto, StatisticsBuyersDeviceConversionDto, StatisticsBuyersGeographicDistributionDto, StatisticsBuyersOverviewDto, StatisticsBuyersRankedDto, StatisticsBuyersSpendBucket, StatisticsBuyersSpendBucketsDto, StatisticsChartAdapter, type StatisticsChartDataPoint, StatisticsChartDto, type StatisticsChartSeries, type StatisticsChartSeriesKind, type StatisticsChartValueType, StatisticsEventsAdapter, StatisticsEventsOverviewDto, StatisticsEventsSalesCurveDto, StatisticsEventsSalesCurveEventDto, StatisticsEventsSellOutTimingDto, StatisticsEventsSellOutTimingEventDto, StatisticsEventsTimeToEventBucket, StatisticsEventsTimeToEventDto, StatisticsGrowthAdapter, StatisticsGrowthCmgrDto, StatisticsGrowthOverviewDto, StatisticsInsightsAdapter, StatisticsMarketingAdapter, StatisticsMarketingCampaignDto, StatisticsMarketingOverviewDto, StatisticsMarketingReferrerDto, StatisticsMarketingShortlinkRoiDto, StatisticsMarketingSourceBreakdownDto, StatisticsMarketingSourceFunnelDto, StatisticsMarketingSourceMediumMatrixDto, StatisticsOperationsAdapter, StatisticsOperationsAppTeamDto, StatisticsOperationsNoShowRateDto, StatisticsOperationsNoShowRateEventDto, StatisticsOperationsOverviewDto, StatisticsOperationsScanTimeBucket, StatisticsOperationsScanTimeDistributionDto, StatisticsOperationsStewardDto, StatisticsOperationsStockUtilizationDto, StatisticsOverviewAdapter, StatisticsOverviewBestRevenueMonthDto, StatisticsOverviewCancellationFunnelDto, StatisticsOverviewEventPerformanceDto, StatisticsOverviewEventPerformanceEventDto, StatisticsOverviewEventPerformanceSummaryDto, StatisticsOverviewKPIsDto, StatisticsOverviewKPIsTotalEventsHostedDto, StatisticsOverviewKPIsTotalRevenueDto, StatisticsOverviewKPIsTotalTicketsSoldDto, StatisticsOverviewReservationConversionRateDto, StatisticsOverviewTopShopDto, StatisticsPieChartDto, type StatisticsPieSlice, StatisticsRefundsAdapter, StatisticsRefundsAmountDistributionDto, StatisticsRefundsOverviewDto, StatisticsRefundsTopEventDto, StatisticsRefundsVelocityBucket, StatisticsRefundsVelocityDto, StatisticsSalesAdapter, StatisticsSalesDiscountEfficacyDto, StatisticsSalesFailedTransactionReasonDto, StatisticsSalesLifetimeTotalsDto, StatisticsSalesOrderValueBucket, StatisticsSalesOrderValueDistributionDto, StatisticsSalesPurchaseBehaviorDto, StatisticsSalesRepeatPurchaseVelocityBucket, StatisticsSalesRepeatPurchaseVelocityDto, StatisticsSalesTransactionSuccessRateDto, StatisticsTrendDto, StatusResponseDto, StockOverviewDto, StockOverviewItemDto, StockPoolDto, SubscriptionAdapter, SubscriptionPlanDto, type SubscriptionType, TicketAdapter, TicketDto, TicketTemplateDto, type TicketTemplateType, type TicketValidity, TimeSlotDto, TotpStateDto, TransactionDto, type TransactionStatus, UiSelectOptionsService, UserDto, UserTokenDto, type UserTokenType, VatNumberDto, export_default as buildListQuery, export_default$1 as emptyNull, export_default$2 as jsonBlob, export_default$3 as optional, export_default$4 as optionalArray, parseEmailTemplate, serializeBlocks };
|
|
3813
3835
|
//# sourceMappingURL=index.d.mts.map
|