@leatcom/portal-sessions 0.0.100 → 0.0.101

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/README.md CHANGED
@@ -66,6 +66,7 @@ Initiate a new Portal BaseSession as follows:
66
66
  | `cameraFacingMode` | `string` | No | [MediaTrackConstraints](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints) facingMode. Specifies the default camera if applicable (`"user"` (front) or `"environment"` (back)), defaults to `"user"`. |
67
67
  | `enableEmailIdentification` | `boolean` | No | Optional alternative route to identify a contact. |
68
68
  | `enableOnScreenKeyboard` | `boolean` | No | Optional on-screen keyboard. |
69
+ | `enableMarketingPreferences` | `boolean` | No | Optional additional screen to select marketing preferences when registering new contacts. |
69
70
  | `allowMultipleGiftcards` | `boolean` | No | Allow using multiple giftcards in one session. Applies to sessions with `PortalType` `"REDEEM_GIFTCARD"`. |
70
71
  | `amountInCents` | `number` | No | A purchase amount in cents. Applies to sessions with `PortalType` `"REDEEM_GIFTCARD"` and `"PAY_PREPAID"`. |
71
72
  | `onContactLink` | `(contact: ContactResource) => void` | No | Optional callback. Called when a contact is linked to the portal session. |
@@ -64,6 +64,7 @@ declare type PortalSessionProps = {
64
64
  onCreateTransaction?: (creditReceptionId: number) => void;
65
65
  onCreatePrepaidTransaction?: (prepaidTransaction: PrepaidTransaction) => void;
66
66
  primaryIdentificationMethod?: PrimaryIdentificationMethod;
67
+ enableMarketingPreferences?: boolean;
67
68
  };
68
69
 
69
70
  export declare enum PortalType {