@meaple-com/types 1.0.1 → 1.0.3

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
@@ -404,6 +404,30 @@ type GetOrderProps = {
404
404
  paymentIntent?: PaymentIntentProps;
405
405
  };
406
406
 
407
+ type GetPlatformFeeProps = {
408
+ channelId?: string;
409
+ eventId?: string;
410
+ };
411
+
412
+ type BaseFeeProps = {
413
+ fee: number;
414
+ minFeeAmount: number;
415
+ thresholdAmount: number;
416
+ };
417
+
418
+ type ProcessingFeeProps = {
419
+ fixedFee: number;
420
+ percentageFee: number;
421
+ lessThan: number;
422
+ };
423
+
424
+ type PlatformFeeProps = BaseFeeProps & {
425
+ installmentsFee: number[];
426
+ pos: BaseFeeProps;
427
+ processingFee: Record<string, ProcessingFeeProps>;
428
+ insuranceFee: number;
429
+ };
430
+
407
431
  type TicketFileOutput = 'PNG' | 'PDF';
408
432
 
409
433
  type CreateTicketFileProps = {
@@ -486,4 +510,4 @@ type FindUserEventTicketsProps = {
486
510
  userTickets: UserTicketProps[];
487
511
  };
488
512
 
489
- export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CouponsListProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreateUserProps, CreatedOrderProps, EventContact, EventProductProps, EventProps, ExternalAnalyticsProps, FileProps, FindEventProductsProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, FindUserEventTicketsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserEmailProps, UpdateUserPasswordProps, UpdateUserProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketProps };
513
+ export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CouponsListProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreateUserProps, CreatedOrderProps, EventContact, EventProductProps, EventProps, ExternalAnalyticsProps, FileProps, FindEventProductsProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, FindUserEventTicketsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetOrderProps, GetPlatformFeeProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserEmailProps, UpdateUserPasswordProps, UpdateUserProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketProps };
package/dist/index.d.ts CHANGED
@@ -404,6 +404,30 @@ type GetOrderProps = {
404
404
  paymentIntent?: PaymentIntentProps;
405
405
  };
406
406
 
407
+ type GetPlatformFeeProps = {
408
+ channelId?: string;
409
+ eventId?: string;
410
+ };
411
+
412
+ type BaseFeeProps = {
413
+ fee: number;
414
+ minFeeAmount: number;
415
+ thresholdAmount: number;
416
+ };
417
+
418
+ type ProcessingFeeProps = {
419
+ fixedFee: number;
420
+ percentageFee: number;
421
+ lessThan: number;
422
+ };
423
+
424
+ type PlatformFeeProps = BaseFeeProps & {
425
+ installmentsFee: number[];
426
+ pos: BaseFeeProps;
427
+ processingFee: Record<string, ProcessingFeeProps>;
428
+ insuranceFee: number;
429
+ };
430
+
407
431
  type TicketFileOutput = 'PNG' | 'PDF';
408
432
 
409
433
  type CreateTicketFileProps = {
@@ -486,4 +510,4 @@ type FindUserEventTicketsProps = {
486
510
  userTickets: UserTicketProps[];
487
511
  };
488
512
 
489
- export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CouponsListProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreateUserProps, CreatedOrderProps, EventContact, EventProductProps, EventProps, ExternalAnalyticsProps, FileProps, FindEventProductsProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, FindUserEventTicketsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetOrderProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserEmailProps, UpdateUserPasswordProps, UpdateUserProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketProps };
513
+ export type { AddressProps, BuyerProps, CategoryProps, ChannelProps, ChartCategoryProps, CheckCouponProps, CouponProps, CouponsListProps, CreateEventReminderProps, CreateOrderProps, CreateOrderTicketProps, CreateTicketFileProps, CreateUserProps, CreatedOrderProps, EventContact, EventProductProps, EventProps, ExternalAnalyticsProps, FileProps, FindEventProductsProps, FindEventTicketsProps, FindEventsParams, FindEventsProps, FindUserEventTicketsProps, GaugeProps, GetChannelEventProps, GetChannelEventsProps, GetOrderProps, GetPlatformFeeProps, GetUserEventsProps, GetUserOrdersProps, GroupProps, NominationProps, OrderItemProps, OrderItemTicketProps, OrderProps, PaymentIntentProps, PlatformFeeProps, TicketFileOutput, TicketProps, TransferTicketProps, TransferTicketRecipientProps, UpdateUserEmailProps, UpdateUserPasswordProps, UpdateUserProps, UpdateUserTicketProps, UserOrderItemProps, UserOrderProps, UserProps, UserTicketProps };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './dto/address';\nexport * from './dto/category';\nexport * from './dto/channel';\nexport * from './dto/coupon';\nexport * from './dto/event';\nexport * from './dto/file';\nexport * from './dto/gauge';\nexport * from './dto/order';\nexport * from './dto/ticket';\nexport * from './dto/user';\nexport * from './dto/user-ticket';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './dto/address';\nexport * from './dto/category';\nexport * from './dto/channel';\nexport * from './dto/coupon';\nexport * from './dto/event';\nexport * from './dto/file';\nexport * from './dto/gauge';\nexport * from './dto/order';\nexport * from './dto/payment';\nexport * from './dto/ticket';\nexport * from './dto/user';\nexport * from './dto/user-ticket';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meaple-com/types",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "TypeScript types for Meaple SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",