@passly-nl/data 1.5.0 → 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 +12 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +40 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/adapter/EventAdapter.ts +1 -0
- package/src/adapter/ProductAdapter.ts +1 -0
- package/src/adapter/PublicShopAdapter.ts +2 -0
- package/src/dto/event/EventDto.ts +11 -1
- package/src/dto/product/ProductDto.ts +11 -1
- package/src/dto/publicShop/PublicShopEventDto.ts +11 -1
- package/src/dto/publicShop/PublicShopProductDto.ts +11 -1
package/dist/index.d.mts
CHANGED
|
@@ -647,6 +647,8 @@ declare class EventDto {
|
|
|
647
647
|
set name(value: string);
|
|
648
648
|
get description(): string;
|
|
649
649
|
set description(value: string);
|
|
650
|
+
get descriptionPlaintext(): string;
|
|
651
|
+
set descriptionPlaintext(value: string);
|
|
650
652
|
get startsOn(): DateTime;
|
|
651
653
|
set startsOn(value: DateTime);
|
|
652
654
|
get endsOn(): DateTime;
|
|
@@ -663,7 +665,7 @@ declare class EventDto {
|
|
|
663
665
|
set createdOn(value: DateTime);
|
|
664
666
|
get updatedOn(): DateTime;
|
|
665
667
|
set updatedOn(value: DateTime);
|
|
666
|
-
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);
|
|
667
669
|
}
|
|
668
670
|
//#endregion
|
|
669
671
|
//#region src/dto/event/ShopDesignDto.d.ts
|
|
@@ -1452,6 +1454,8 @@ declare class ProductDto {
|
|
|
1452
1454
|
set name(value: string);
|
|
1453
1455
|
get description(): string;
|
|
1454
1456
|
set description(value: string);
|
|
1457
|
+
get descriptionPlaintext(): string;
|
|
1458
|
+
set descriptionPlaintext(value: string);
|
|
1455
1459
|
get price(): CostDto;
|
|
1456
1460
|
set price(value: CostDto);
|
|
1457
1461
|
get maxQuantity(): number;
|
|
@@ -1490,7 +1494,7 @@ declare class ProductDto {
|
|
|
1490
1494
|
set availability(value: ProductAvailability);
|
|
1491
1495
|
get sold(): number;
|
|
1492
1496
|
set sold(value: number);
|
|
1493
|
-
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, isScannable?: boolean);
|
|
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);
|
|
1494
1498
|
}
|
|
1495
1499
|
//#endregion
|
|
1496
1500
|
//#region src/dto/publicPay/PublicPaymentMethodDto.d.ts
|
|
@@ -1651,6 +1655,8 @@ declare class PublicShopEventDto {
|
|
|
1651
1655
|
set name(value: string);
|
|
1652
1656
|
get description(): string;
|
|
1653
1657
|
set description(value: string);
|
|
1658
|
+
get descriptionPlaintext(): string;
|
|
1659
|
+
set descriptionPlaintext(value: string);
|
|
1654
1660
|
get status(): EventStatus;
|
|
1655
1661
|
set status(value: EventStatus);
|
|
1656
1662
|
get address(): AddressDto;
|
|
@@ -1663,7 +1669,7 @@ declare class PublicShopEventDto {
|
|
|
1663
1669
|
set startsOn(value: DateTime);
|
|
1664
1670
|
get endsOn(): DateTime;
|
|
1665
1671
|
set endsOn(value: DateTime);
|
|
1666
|
-
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);
|
|
1667
1673
|
}
|
|
1668
1674
|
//#endregion
|
|
1669
1675
|
//#region src/dto/publicShop/PublicShopMerchantDto.d.ts
|
|
@@ -1687,6 +1693,8 @@ declare class PublicShopProductDto {
|
|
|
1687
1693
|
set name(value: string);
|
|
1688
1694
|
get description(): string;
|
|
1689
1695
|
set description(value: string);
|
|
1696
|
+
get descriptionPlaintext(): string;
|
|
1697
|
+
set descriptionPlaintext(value: string);
|
|
1690
1698
|
get price(): CostDto;
|
|
1691
1699
|
set price(value: CostDto);
|
|
1692
1700
|
get maxQuantity(): number;
|
|
@@ -1707,7 +1715,7 @@ declare class PublicShopProductDto {
|
|
|
1707
1715
|
set saleStartsOn(value: DateTime | null);
|
|
1708
1716
|
get saleEndsOn(): DateTime | null;
|
|
1709
1717
|
set saleEndsOn(value: DateTime | null);
|
|
1710
|
-
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);
|
|
1711
1719
|
}
|
|
1712
1720
|
//#endregion
|
|
1713
1721
|
//#region src/dto/publicShop/PublicShopReservationDto.d.ts
|