@meaple-com/types 1.0.5 → 2.0.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 CHANGED
@@ -71,6 +71,14 @@ type ExternalAnalyticsProps = {
71
71
 
72
72
  type EventType = 'DRAFT' | 'PUBLISHED' | 'PRIVATE';
73
73
 
74
+ type EventAgePolicyType =
75
+ | 'EIGHTEEN_AND_OVER'
76
+ | 'SIXTEEN_WITH_GUARDIAN'
77
+ | 'SIXTEEN_WITH_AUTHORIZATION'
78
+ | 'FOURTEEN_WITH_GUARDIAN'
79
+ | 'FOURTEEN_WITH_AUTHORIZATION'
80
+ | 'ALL_AGES';
81
+
74
82
  type EventReviewStats = {
75
83
  averageRating: number | null;
76
84
  totalReviews: number;
@@ -93,7 +101,8 @@ type EventProps = {
93
101
  canceledAt: string | null;
94
102
  address?: AddressProps | null;
95
103
  image: FileProps | null;
96
- legalAgeRequired: boolean;
104
+ agePolicyType: EventAgePolicyType | null;
105
+ minorsAuthFile: FileProps | null;
97
106
  contact?: EventContact;
98
107
  categories: CategoryProps[];
99
108
  tags?: TagProps[];
@@ -378,7 +387,8 @@ type OrderEventProps = Pick<
378
387
  | 'id'
379
388
  | 'name'
380
389
  | 'slug'
381
- | 'legalAgeRequired'
390
+ | 'agePolicyType'
391
+ | 'minorsAuthFile'
382
392
  | 'hasTicketInsurance'
383
393
  | 'startsAt'
384
394
  | 'opensAt'
@@ -681,4 +691,4 @@ type GetMeUserProps = Pick<
681
691
  | 'avatar'
682
692
  >;
683
693
 
684
- export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreatedOrderEventProps, CreatedOrderGroupProps, CreatedOrderItemProps, CreatedOrderItemTicketProps, CreatedOrderOrderProps, CreatedOrderProps, EventContact, EventProps, EventReviewStats, ExternalAnalyticsProps, FileProps, FindEventItemProps, FindEventProductEventProps, FindEventProductItemProps, FindEventProductsProps, FindEventTagItemProps, FindEventTicketGroupProps, FindEventTicketItemProps, FindEventTicketsEventProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetMeUserProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderEventProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TagProps, TicketCustomField, TicketCustomFieldType, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketEventProps, UserTicketItemTicketProps, UserTicketProps };
694
+ export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreatedOrderEventProps, CreatedOrderGroupProps, CreatedOrderItemProps, CreatedOrderItemTicketProps, CreatedOrderOrderProps, CreatedOrderProps, EventAgePolicyType, EventContact, EventProps, EventReviewStats, ExternalAnalyticsProps, FileProps, FindEventItemProps, FindEventProductEventProps, FindEventProductItemProps, FindEventProductsProps, FindEventTagItemProps, FindEventTicketGroupProps, FindEventTicketItemProps, FindEventTicketsEventProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetMeUserProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderEventProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TagProps, TicketCustomField, TicketCustomFieldType, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketEventProps, UserTicketItemTicketProps, UserTicketProps };
package/dist/index.d.ts CHANGED
@@ -71,6 +71,14 @@ type ExternalAnalyticsProps = {
71
71
 
72
72
  type EventType = 'DRAFT' | 'PUBLISHED' | 'PRIVATE';
73
73
 
74
+ type EventAgePolicyType =
75
+ | 'EIGHTEEN_AND_OVER'
76
+ | 'SIXTEEN_WITH_GUARDIAN'
77
+ | 'SIXTEEN_WITH_AUTHORIZATION'
78
+ | 'FOURTEEN_WITH_GUARDIAN'
79
+ | 'FOURTEEN_WITH_AUTHORIZATION'
80
+ | 'ALL_AGES';
81
+
74
82
  type EventReviewStats = {
75
83
  averageRating: number | null;
76
84
  totalReviews: number;
@@ -93,7 +101,8 @@ type EventProps = {
93
101
  canceledAt: string | null;
94
102
  address?: AddressProps | null;
95
103
  image: FileProps | null;
96
- legalAgeRequired: boolean;
104
+ agePolicyType: EventAgePolicyType | null;
105
+ minorsAuthFile: FileProps | null;
97
106
  contact?: EventContact;
98
107
  categories: CategoryProps[];
99
108
  tags?: TagProps[];
@@ -378,7 +387,8 @@ type OrderEventProps = Pick<
378
387
  | 'id'
379
388
  | 'name'
380
389
  | 'slug'
381
- | 'legalAgeRequired'
390
+ | 'agePolicyType'
391
+ | 'minorsAuthFile'
382
392
  | 'hasTicketInsurance'
383
393
  | 'startsAt'
384
394
  | 'opensAt'
@@ -681,4 +691,4 @@ type GetMeUserProps = Pick<
681
691
  | 'avatar'
682
692
  >;
683
693
 
684
- export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreatedOrderEventProps, CreatedOrderGroupProps, CreatedOrderItemProps, CreatedOrderItemTicketProps, CreatedOrderOrderProps, CreatedOrderProps, EventContact, EventProps, EventReviewStats, ExternalAnalyticsProps, FileProps, FindEventItemProps, FindEventProductEventProps, FindEventProductItemProps, FindEventProductsProps, FindEventTagItemProps, FindEventTicketGroupProps, FindEventTicketItemProps, FindEventTicketsEventProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetMeUserProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderEventProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TagProps, TicketCustomField, TicketCustomFieldType, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketEventProps, UserTicketItemTicketProps, UserTicketProps };
694
+ export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreatedOrderEventProps, CreatedOrderGroupProps, CreatedOrderItemProps, CreatedOrderItemTicketProps, CreatedOrderOrderProps, CreatedOrderProps, EventAgePolicyType, EventContact, EventProps, EventReviewStats, ExternalAnalyticsProps, FileProps, FindEventItemProps, FindEventProductEventProps, FindEventProductItemProps, FindEventProductsProps, FindEventTagItemProps, FindEventTicketGroupProps, FindEventTicketItemProps, FindEventTicketsEventProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetMeUserProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderEventProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TagProps, TicketCustomField, TicketCustomFieldType, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketEventProps, UserTicketItemTicketProps, UserTicketProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meaple-com/types",
3
- "version": "1.0.5",
3
+ "version": "2.0.0",
4
4
  "description": "TypeScript types for Meaple SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",