@seatsio/seatsio-types 3.5.0 → 3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -722,11 +722,22 @@ export type SimplePricing = {
722
722
  category: CategoryKey;
723
723
  originalPrice?: number;
724
724
  price: number;
725
+ channels?: ChannelPricing[];
725
726
  };
726
727
  export type MultiLevelPricing = {
727
728
  category: number | string;
728
729
  ticketTypes: TicketType[];
729
730
  };
731
+ export type ChannelPricing = (SimpleChannelPricing | MultiLevelChannelPricing);
732
+ export type SimpleChannelPricing = {
733
+ channel: string;
734
+ originalPrice?: number;
735
+ price: number;
736
+ };
737
+ export type MultiLevelChannelPricing = {
738
+ channel: string;
739
+ ticketTypes: TicketType[];
740
+ };
730
741
  export type TicketType = {
731
742
  ticketType: string;
732
743
  originalPrice?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seatsio/seatsio-types",
3
3
  "description": "Type definitions for Seats.io",
4
- "version": "3.5.0",
4
+ "version": "3.6.0",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [