@putiikkipalvelu/storefront-sdk 0.7.3 → 0.7.4

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.cts CHANGED
@@ -362,6 +362,10 @@ interface ProductTicketInfo {
362
362
  requiresHolder: boolean;
363
363
  /** Maximum uses per ticket (0 = unlimited) */
364
364
  maxUses: number;
365
+ /** Ticket sales start (ISO 8601), null = sales open immediately */
366
+ salesStart: string | null;
367
+ /** Ticket sales end (ISO 8601), null = sales never end */
368
+ salesEnd: string | null;
365
369
  }
366
370
  interface ProductDetail extends Omit<Product, "variations"> {
367
371
  /** Product weight in kg (for shipping calculations) */
@@ -496,6 +500,8 @@ interface CartValidationChanges {
496
500
  quantityAdjusted: number;
497
501
  /** Number of items with changed price */
498
502
  priceChanged: number;
503
+ /** Number of ticket items removed because sales window is not open or has ended */
504
+ ticketSalesWindowRemoved: number;
499
505
  /** Whether discount code was removed */
500
506
  discountCouponRemoved: boolean;
501
507
  /** Reason why discount was removed (only present if discountCouponRemoved is true) */
package/dist/index.d.ts CHANGED
@@ -362,6 +362,10 @@ interface ProductTicketInfo {
362
362
  requiresHolder: boolean;
363
363
  /** Maximum uses per ticket (0 = unlimited) */
364
364
  maxUses: number;
365
+ /** Ticket sales start (ISO 8601), null = sales open immediately */
366
+ salesStart: string | null;
367
+ /** Ticket sales end (ISO 8601), null = sales never end */
368
+ salesEnd: string | null;
365
369
  }
366
370
  interface ProductDetail extends Omit<Product, "variations"> {
367
371
  /** Product weight in kg (for shipping calculations) */
@@ -496,6 +500,8 @@ interface CartValidationChanges {
496
500
  quantityAdjusted: number;
497
501
  /** Number of items with changed price */
498
502
  priceChanged: number;
503
+ /** Number of ticket items removed because sales window is not open or has ended */
504
+ ticketSalesWindowRemoved: number;
499
505
  /** Whether discount code was removed */
500
506
  discountCouponRemoved: boolean;
501
507
  /** Reason why discount was removed (only present if discountCouponRemoved is true) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putiikkipalvelu/storefront-sdk",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "TypeScript SDK for Putiikkipalvelu Storefront API",
5
5
  "author": "Putiikkipalvelu",
6
6
  "license": "MIT",