@pisell/pisellos 0.10.36 → 0.10.38

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.
@@ -535,7 +535,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
535
535
  generateIdempotencyToken(): string;
536
536
  syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
537
537
  createOrder(params: CommitOrderParams['query']): {
538
- type: "virtual" | "appointment_booking";
538
+ type: "appointment_booking" | "virtual";
539
539
  platform: string;
540
540
  sales_channel: string;
541
541
  order_sales_channel: string;
@@ -28,6 +28,8 @@ export interface SmallTicketItem {
28
28
  value: string;
29
29
  size?: number;
30
30
  align?: string;
31
+ product_uid?: string | number;
32
+ booking_uid?: string | number;
31
33
  }
32
34
  export interface SmallTicketProduct {
33
35
  product_title: string;
@@ -53,11 +55,7 @@ export interface SmallTicketProduct {
53
55
  variant?: string;
54
56
  combinations?: any[];
55
57
  }
56
- export interface SmallTicketBookingSnapshot extends Record<string, any> {
57
- product_uid?: string | number;
58
- booking_uid?: string | number;
59
- }
60
- export type SmallTicketAppointment = SmallTicketItem[] | SmallTicketBookingSnapshot[];
58
+ export type SmallTicketAppointment = SmallTicketItem[];
61
59
  export interface SmallTicketLocaleData {
62
60
  base_data: Record<string, any>;
63
61
  products: SmallTicketProduct[];