@leatcom/portal-sessions 0.0.35 → 0.0.37

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.
@@ -109,9 +109,10 @@ export declare type DefaultSessionProps = {
109
109
 
110
110
  declare type Event_2 = {
111
111
  data: {
112
- [p: string]: never;
112
+ [p: string]: any;
113
113
  };
114
114
  type: string;
115
+ created_at: string;
115
116
  };
116
117
  export { Event_2 as Event }
117
118
 
@@ -236,6 +237,7 @@ export declare type PortalSessionProps = {
236
237
  host?: string;
237
238
  apiKey: string;
238
239
  shopUuid: string;
240
+ contactUuid?: string;
239
241
  scannerType?: string;
240
242
  enableRegistration?: boolean;
241
243
  enableEmailIdentification?: boolean;
@@ -243,7 +245,7 @@ export declare type PortalSessionProps = {
243
245
  allowMultipleGiftcards?: boolean;
244
246
  amountInCents?: number;
245
247
  onContactLink?: (contact: ContactResource) => void;
246
- onClaimReward?: (reward: RewardResource) => void;
248
+ onClaimReward?: (reward: RewardResource, transactionUuid?: string) => void;
247
249
  onRedeemVoucher?: (voucher: VoucherResource) => void;
248
250
  onUseGiftcard?: (giftcardTransaction: GiftcardTransactionResource) => void;
249
251
  onCreateTransaction?: (creditReceptionId: number) => void;