@rokt/dcui-orchestrator 0.2.1-rc.83 → 0.2.1-rc.84
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/extensions/address-form/src/actions/forms.d.ts +11 -0
- package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
- package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
- package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
- package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
- package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
- package/dist/extensions/address-form/src/index.d.ts +3 -0
- package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
- package/dist/extensions/address-form/src/models/index.d.ts +1 -0
- package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
- package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
- package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
- package/dist/{libraries/orchestrator → extensions/address-form}/src/sagas/cart-service/sagas.d.ts +5 -12
- package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
- package/dist/extensions/address-form/src/types.d.ts +63 -0
- package/dist/extensions/address-form/src/utils.d.ts +15 -0
- package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
- package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
- package/dist/index.cjs +97 -36
- package/dist/index.js +100 -39
- package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
- package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
- package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
- package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
- package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
- package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
- package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
- package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
- package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
- package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +7 -12
- package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
- package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
- package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
- package/dist/libraries/domain/src/behaviors/global-actions.d.ts +15 -1
- package/dist/libraries/domain/src/behaviors/index.d.ts +5 -0
- package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +2 -1
- package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +36 -3
- package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
- package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
- package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
- package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
- package/dist/libraries/domain/src/models/index.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
- package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
- package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
- package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
- package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
- package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
- package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
- package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
- package/dist/libraries/domain/src/models/signals.d.ts +14 -6
- package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
- package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
- package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
- package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
- package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
- package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
- package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
- package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +4 -13
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
- package/dist/libraries/module-connector/src/main.d.ts +1 -1
- package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
- package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
- package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
- package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
- package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
- package/dist/libraries/module-utils/src/index.d.ts +5 -0
- package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
- package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
- package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
- package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
- package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
- package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
- package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
- package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
- package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
- package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
- package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
- package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
- package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
- package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
- package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
- package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
- package/dist/modules/add-to-cart/src/sagas/index.d.ts +9 -0
- package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
- package/dist/modules/add-to-cart/src/selectors/index.d.ts +1 -1
- package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
- package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
- package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +47 -2
- package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
- package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +1 -1
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
- package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
- package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +68 -1
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/index.d.ts +15 -2
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
- package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
- package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
- package/dist/modules/instant-purchase/src/sagas/index.d.ts +14 -1
- package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -81
- package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
- package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
- package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
- package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
- package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
- package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
- package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
- package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +9 -0
- package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
- package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
- package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
- package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
- package/dist/modules/standard-marketing/src/sagas/index.d.ts +9 -0
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
- package/node_modules/@rokt/partner-integration/README.md +85 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
- package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/package.json +34 -0
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
- package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
- package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
- package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
- package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
- package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
- package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
- package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
- package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
- package/node_modules/@rokt/plugin/package.json +15 -16
- package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
- package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
- package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
- package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
- package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
- package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
- package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
- package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
- package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
- package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
- package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
- package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
- package/package.json +8 -7
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
- package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
- package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
- package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
- package/node_modules/@rokt/plugin/lib/context.js +0 -95
- package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
- package/node_modules/@rokt/plugin/lib/debug.js +0 -36
- package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/display.js +0 -81
- package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
- package/node_modules/@rokt/plugin/lib/error.js +0 -35
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
- package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
- package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
- package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
- package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
- package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
- package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
- package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
- package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
- package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
- package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
- package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/theme.js +0 -8
- package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
- package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
- package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
- /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
- /package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +0 -0
- /package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/constants.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LayoutEvent } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export declare const LAYOUT_EVENT = "GLOBAL/LAYOUT_EVENT";
|
|
3
|
+
export interface LayoutEventAction {
|
|
4
|
+
type: typeof LAYOUT_EVENT;
|
|
5
|
+
payload: LayoutEventPayload;
|
|
6
|
+
}
|
|
7
|
+
export interface LayoutEventPayload {
|
|
8
|
+
event: LayoutEvent;
|
|
9
|
+
/**
|
|
10
|
+
* The layout-variant slot the event originated from, used to scope the
|
|
11
|
+
* `firedEvents` state per slot. Injected by the store proxy from the offer
|
|
12
|
+
* context; absent for outer-layout events, which fall back to the `root`
|
|
13
|
+
* bucket.
|
|
14
|
+
*/
|
|
15
|
+
offerPositionIndex?: number;
|
|
16
|
+
creativeInstanceGuid?: string;
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fulfillment, PluginCreativeFulfillmentResponseOption, PluginCreativeExternalResponseOption, PluginCreativeCaptureOnlyResponseOption, PluginCreativeUrlResponseOption } from '../models';
|
|
1
|
+
import { Fulfillment, PluginCreativeFulfillmentResponseOption, PluginCreativeExternalResponseOption, PluginCreativeResponseOption, PluginOffer, PluginCreativeCaptureOnlyResponseOption, PluginCreativeUrlResponseOption } from '../models';
|
|
2
2
|
export declare const OFFER_ENGAGEMENT = "GLOBAL/OFFER_ENGAGEMENT";
|
|
3
3
|
export interface OfferEngagement {
|
|
4
4
|
type: typeof OFFER_ENGAGEMENT;
|
|
@@ -47,3 +47,4 @@ export declare function isRealTimeReferralOnly(response: OfferEngagementPayload
|
|
|
47
47
|
};
|
|
48
48
|
export declare function makeCaptureOnlyOfferEngagementPayload(offerPayload?: Partial<OfferEngagementCaptureOnlyPayload>): OfferEngagementCaptureOnlyPayload;
|
|
49
49
|
export declare function makeUrlOfferEngagementPayload(offerPayload?: Partial<OfferEngagementUrlPayload>): OfferEngagementUrlPayload;
|
|
50
|
+
export declare function makeResponsePayload(offer: PluginOffer, response: Exclude<PluginCreativeResponseOption, PluginCreativeExternalResponseOption>, openLinks?: string | null): OfferEngagementPayload;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reports a diagnostic to the host plugin's error service from anywhere a
|
|
3
|
+
* global dispatch is available. The constant matches the store-level
|
|
4
|
+
* `ERROR/REPORT` action (like DISMISS_OVERLAY), so every store's existing
|
|
5
|
+
* error saga picks it up with no per-store translation: the orchestrator and
|
|
6
|
+
* child renderer handle it directly, and the GlobalStoreProxy passes
|
|
7
|
+
* non-offer-specific actions through to the orchestrator store verbatim.
|
|
8
|
+
*/
|
|
9
|
+
export declare const REPORT_ERROR = "ERROR/REPORT";
|
|
10
|
+
/**
|
|
11
|
+
* Deliberately narrower than @rokt/plugin's ErrorLevel: the error saga
|
|
12
|
+
* treats `ERROR` as placement-fatal (it dispatches PLACEMENT_FAILURE and
|
|
13
|
+
* closes the plugin), which a component-originated diagnostic must never
|
|
14
|
+
* trigger. Fatal errors belong to the saga/store layer, not this behavior.
|
|
15
|
+
*/
|
|
16
|
+
export type ReportErrorLevel = 'INFO' | 'WARNING';
|
|
17
|
+
export interface ReportErrorPayload {
|
|
18
|
+
level: ReportErrorLevel;
|
|
19
|
+
code?: string;
|
|
20
|
+
message?: string;
|
|
21
|
+
additionalInformation?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
export interface ReportError {
|
|
24
|
+
type: typeof REPORT_ERROR;
|
|
25
|
+
payload: ReportErrorPayload;
|
|
26
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { OutboundPartnerEvent, PluginCartItem,
|
|
1
|
+
import { CartItemPayload, InstantPurchaseWsdkPayload, ItemDetail, OutboundPartnerEvent, PluginCartItem, Shipping, InitiateDevicePayEventPayload, PrepareDevicePayEventPayload, PartnerUpsellItemInstantPurchasePayload, InstantPurchaseInitiateTaxAndShippingEventPayload } from '../models';
|
|
2
2
|
export declare const SEND_PARTNER = "GLOBAL/SEND_PARTNER";
|
|
3
3
|
export type OutboundInstantPurchaseEventPayload = {
|
|
4
4
|
name: 'CART_ITEM_INSTANT_PURCHASE';
|
|
5
5
|
body: Record<string, PluginCartItem | null>;
|
|
6
6
|
};
|
|
7
|
+
export type OutboundUpsellItemInstantPurchaseEventPayload = {
|
|
8
|
+
name: 'UPSELL_ITEM_INSTANT_PURCHASE';
|
|
9
|
+
body: PartnerUpsellItemInstantPurchasePayload;
|
|
10
|
+
};
|
|
7
11
|
export type OutboundRealtimeOfferFulfillmentReferralEventPayload = {
|
|
8
12
|
name: 'REALTIME_OFFER_FULFILLMENT_REFERRAL';
|
|
9
13
|
body: {
|
|
@@ -29,6 +33,10 @@ export type OutboundUpdateCartEventPayload = {
|
|
|
29
33
|
name: 'V2_CART_ITEM_UPDATED';
|
|
30
34
|
body: Record<string, PluginCartItem | null>;
|
|
31
35
|
};
|
|
36
|
+
export type OutboundUpdateCartItemMessageEventPayload = {
|
|
37
|
+
name: 'UPDATE_CART_ITEM_MESSAGE';
|
|
38
|
+
body: Record<string, PluginCartItem | null>;
|
|
39
|
+
};
|
|
32
40
|
export type OutboundUpsellCreativeSentEventPayload = {
|
|
33
41
|
name: 'UPSELL_CREATIVE_SENT';
|
|
34
42
|
body: {
|
|
@@ -37,18 +45,43 @@ export type OutboundUpsellCreativeSentEventPayload = {
|
|
|
37
45
|
description: string;
|
|
38
46
|
};
|
|
39
47
|
};
|
|
48
|
+
export type OutboundDeliveryDetailsSentEventPayload = {
|
|
49
|
+
name: 'DELIVERY_DETAILS_SENT';
|
|
50
|
+
body: {
|
|
51
|
+
shipping: Shipping;
|
|
52
|
+
itemDetail: ItemDetail;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
40
55
|
export type OutboundInstantPurchaseWsdkEventPayload = {
|
|
41
56
|
name: 'INITIATE_INSTANT_PURCHASE_EVENT';
|
|
42
57
|
body: InstantPurchaseWsdkPayload;
|
|
43
58
|
};
|
|
59
|
+
export type OutboundInstantPurchaseTaxAndShippingEventPayload = {
|
|
60
|
+
name: 'INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT';
|
|
61
|
+
body: InstantPurchaseInitiateTaxAndShippingEventPayload;
|
|
62
|
+
};
|
|
44
63
|
export type OutboundCartItemEventPayload = {
|
|
45
64
|
name: 'INITIATE_CART_ITEM_EVENT';
|
|
46
65
|
body: CartItemPayload;
|
|
47
66
|
};
|
|
48
|
-
export type
|
|
67
|
+
export type OutboundPrepareDevicePayEventPayload = {
|
|
68
|
+
name: 'PREPARE_DEVICE_PAY_EVENT';
|
|
69
|
+
body: PrepareDevicePayEventPayload;
|
|
70
|
+
};
|
|
71
|
+
export type OutboundDevicePayEventPayload = {
|
|
72
|
+
name: 'INITIATE_DEVICE_PAY_EVENT';
|
|
73
|
+
body: InitiateDevicePayEventPayload;
|
|
74
|
+
};
|
|
75
|
+
export type OutboundAbortDevicePayEventPayload = {
|
|
76
|
+
name: 'ABORT_DEVICE_PAY_EVENT';
|
|
77
|
+
};
|
|
78
|
+
export type OutboundCompleteDevicePayEventPayload = {
|
|
79
|
+
name: 'COMPLETE_DEVICE_PAY_EVENT';
|
|
80
|
+
};
|
|
81
|
+
export type OutboundPartnerEventPayload<EventType extends OutboundPartnerEvent> = EventType extends 'REALTIME_OFFER_FULFILLMENT_REFERRAL' ? OutboundRealtimeOfferFulfillmentReferralEventPayload : EventType extends 'REALTIME_OFFER_FULFILLMENT_CONVERSION' ? OutboundRealtimeOfferFulfillmentConversionEventPayload : EventType extends 'REALTIME_OFFER_FULFILLMENT_SUCCESS' ? OutboundRealtimeOfferFulfillmentSuccessEventPayload : EventType extends 'V2_CART_ITEM_UPDATED' | 'UPDATE_CART_ITEM_MESSAGE' | 'CART_ITEM_INSTANT_PURCHASE' | 'UPSELL_ITEM_INSTANT_PURCHASE' | 'UPSELL_CREATIVE_SENT' | 'INITIATE_INSTANT_PURCHASE_EVENT' | 'INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT' | 'INITIATE_CART_ITEM_EVENT' | 'DELIVERY_DETAILS_SENT' | 'PREPARE_DEVICE_PAY_EVENT' | 'INITIATE_DEVICE_PAY_EVENT' | 'ABORT_DEVICE_PAY_EVENT' | 'COMPLETE_DEVICE_PAY_EVENT' ? never : {
|
|
49
82
|
name: EventType;
|
|
50
83
|
};
|
|
51
84
|
export type SendPartner<EventType extends OutboundPartnerEvent> = {
|
|
52
85
|
type: typeof SEND_PARTNER;
|
|
53
|
-
payload: OutboundPartnerEventPayload<EventType> | OutboundUpdateCartEventPayload | OutboundInstantPurchaseEventPayload | OutboundUpsellCreativeSentEventPayload | OutboundInstantPurchaseWsdkEventPayload | OutboundCartItemEventPayload;
|
|
86
|
+
payload: OutboundPartnerEventPayload<EventType> | OutboundUpdateCartEventPayload | OutboundUpdateCartItemMessageEventPayload | OutboundInstantPurchaseEventPayload | OutboundUpsellItemInstantPurchaseEventPayload | OutboundUpsellCreativeSentEventPayload | OutboundInstantPurchaseWsdkEventPayload | OutboundInstantPurchaseTaxAndShippingEventPayload | OutboundCartItemEventPayload | OutboundDeliveryDetailsSentEventPayload | OutboundPrepareDevicePayEventPayload | OutboundDevicePayEventPayload | OutboundAbortDevicePayEventPayload | OutboundCompleteDevicePayEventPayload;
|
|
54
87
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LayoutAction, LayoutVariantAction, OuterLayoutAction } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { PluginOffer } from '../models';
|
|
3
|
+
export declare const TRIGGER_ACTION = "GLOBAL/TRIGGER_ACTION";
|
|
4
|
+
/**
|
|
5
|
+
* Actions a trigger (e.g. a layout timer or button) can carry. A trigger may
|
|
6
|
+
* originate in any of the three layout contexts, so the channel accepts the
|
|
7
|
+
* union of all their action sets rather than assuming one stays a superset of
|
|
8
|
+
* the others. This keeps producers in every context assignable even if the
|
|
9
|
+
* sets diverge in future schema versions.
|
|
10
|
+
*/
|
|
11
|
+
export type TriggerableAction = LayoutAction | OuterLayoutAction | LayoutVariantAction;
|
|
12
|
+
export interface TriggerAction {
|
|
13
|
+
type: typeof TRIGGER_ACTION;
|
|
14
|
+
payload: {
|
|
15
|
+
action: TriggerableAction;
|
|
16
|
+
offer?: PluginOffer;
|
|
17
|
+
offerPositionIndex?: number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { InputValidation } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Runtime state for a single form field. Mirrors the field-level concepts in
|
|
4
|
+
* the DCUI forms design: the current value, the value it was initialised with
|
|
5
|
+
* (used to derive `dirty`), the active validation error message, and the
|
|
6
|
+
* interaction/validation flags.
|
|
7
|
+
*/
|
|
8
|
+
export interface FormFieldState {
|
|
9
|
+
/** The current value entered by the user. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** The value the field was registered with (used to derive `dirty`). */
|
|
12
|
+
defaultValue: string;
|
|
13
|
+
/** The active validation error message, or '' when there is no error. */
|
|
14
|
+
error: string;
|
|
15
|
+
/** Whether the field has received focus at least once. */
|
|
16
|
+
touched: boolean;
|
|
17
|
+
/** Whether validation has run on this field at least once. */
|
|
18
|
+
validated: boolean;
|
|
19
|
+
/** Result of the last validation run. Only meaningful when `validated`. */
|
|
20
|
+
valid: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the prerequisite for SHOWING validation errors has been met: the
|
|
23
|
+
* form was submitted (VALIDATE_FORM_FIELDS) or the user changed the value
|
|
24
|
+
* in a validating mode. Validity itself is computed eagerly (so `is-valid`
|
|
25
|
+
* predicates and button enablement work for prefilled fields), but error
|
|
26
|
+
* styling/messages and the `is-invalid` predicate stay hidden until this
|
|
27
|
+
* flips — a prefilled-but-invalid default must not render errors at first
|
|
28
|
+
* paint, matching Angular/Formik display gating.
|
|
29
|
+
*/
|
|
30
|
+
errorVisible: boolean;
|
|
31
|
+
/** The validation rules registered for this field. */
|
|
32
|
+
validations: InputValidation[];
|
|
33
|
+
/**
|
|
34
|
+
* How many mounted inputs are currently registered on this field. A field
|
|
35
|
+
* whose count drops to 0 is inactive (a tombstone): it stops participating
|
|
36
|
+
* in validation, FormState predicates and templates, but retains its value
|
|
37
|
+
* so a re-mounting input (e.g. behind a When or a breakpoint flip between
|
|
38
|
+
* duplicated subtrees) restores what the user typed. Duplicated inputs
|
|
39
|
+
* sharing a field key keep the field active until the last one unmounts.
|
|
40
|
+
*/
|
|
41
|
+
registrationCount: number;
|
|
42
|
+
}
|
|
43
|
+
/** Whether the field currently has at least one mounted input registered. */
|
|
44
|
+
export declare function isFormFieldActive(field: FormFieldState): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the field's validation errors should currently be SHOWN. The single
|
|
47
|
+
* display-gate predicate shared by the input's error rendering, the
|
|
48
|
+
* `is-invalid` When predicate, and the error template projection, so the
|
|
49
|
+
* built-in and custom error surfaces can never disagree.
|
|
50
|
+
*/
|
|
51
|
+
export declare function isFormFieldErrorVisible(field: FormFieldState): boolean;
|
|
52
|
+
/** All fields within a single form, keyed by `field_key`. */
|
|
53
|
+
export type FormState = Record<string, FormFieldState>;
|
|
54
|
+
/** All forms within a single scope, keyed by `form_key`. */
|
|
55
|
+
export type FormStatesState = Record<string, FormState>;
|
|
56
|
+
export declare function makeInitialFormFieldState(data?: Partial<FormFieldState>): FormFieldState;
|
|
57
|
+
/**
|
|
58
|
+
* Runs the supplied validations against a value and returns the first failing
|
|
59
|
+
* validator's message, or '' when the value passes all validations. Pure — used
|
|
60
|
+
* by both the form-state reducer and the ActionButton's pre-dispatch gating so
|
|
61
|
+
* the two never diverge.
|
|
62
|
+
*
|
|
63
|
+
* Only `Required` can fail an empty value; the other validators apply solely
|
|
64
|
+
* when a value is present (matching HTML5 constraint validation, Angular, and
|
|
65
|
+
* Formik/Yup). This is what makes an optional-but-validated field
|
|
66
|
+
* expressible: a Pattern-only email field passes while blank and validates
|
|
67
|
+
* once the user types.
|
|
68
|
+
*/
|
|
69
|
+
export declare function firstValidationError(value: string, validations?: InputValidation[]): string;
|
|
70
|
+
/** A resolved reference to a single field within a form. */
|
|
71
|
+
export interface FormFieldRef {
|
|
72
|
+
formKey: string;
|
|
73
|
+
fieldKey: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Resolves a list of `validates` entries against the current form state into
|
|
77
|
+
* concrete field references. An entry is either a bare form key
|
|
78
|
+
* (`"ShippingForm"` — every ACTIVE field in that form; inactive tombstones
|
|
79
|
+
* are excluded so a field hidden by a When cannot block validation) or a
|
|
80
|
+
* dot-notation field key (`"ShippingForm.email"` — that single field,
|
|
81
|
+
* returned regardless of active status so callers can distinguish "hidden"
|
|
82
|
+
* from "never existed"). Shared by the reducer (to set errors) and the
|
|
83
|
+
* ActionButton (to gate dispatch) so both resolve entries identically.
|
|
84
|
+
*/
|
|
85
|
+
export declare function resolveFormFieldRefs(formStates: FormStatesState, entries: string[]): FormFieldRef[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DomainStateKey } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { DomainStateKey, LayoutEvent } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { FormStatesState } from './form-state';
|
|
2
3
|
export interface GlobalState {
|
|
3
4
|
breakpoint: {
|
|
4
5
|
breakpoints: Record<string, number>;
|
|
@@ -12,5 +13,7 @@ export interface GlobalState {
|
|
|
12
13
|
};
|
|
13
14
|
customStates: Record<string, number>;
|
|
14
15
|
domainStates: Partial<Record<DomainStateKey, number>>;
|
|
16
|
+
firedEvents: Partial<Record<LayoutEvent, boolean>>;
|
|
17
|
+
formStates: FormStatesState;
|
|
15
18
|
}
|
|
16
19
|
export declare function makeGlobalState(state?: Partial<GlobalState>): GlobalState;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, ChildRootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { Fonts } from '@rokt/plugin';
|
|
2
3
|
import { LayoutOffer } from './layout-offer';
|
|
3
4
|
export interface LayoutChildConfig<ChildRootLayoutSchema> {
|
|
4
5
|
instanceGuid: string;
|
|
@@ -9,5 +10,6 @@ export interface LayoutChildConfig<ChildRootLayoutSchema> {
|
|
|
9
10
|
content?: {
|
|
10
11
|
text: Record<string, string>;
|
|
11
12
|
};
|
|
13
|
+
fonts?: Fonts;
|
|
12
14
|
}
|
|
13
15
|
export declare function makeLayoutChildConfig(data?: Partial<LayoutChildConfig<ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>>>): LayoutChildConfig<ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, RootSchemaModel } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, LayoutAction, LayoutTimer, RootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
2
|
import { LayoutSlot } from './layout-slot';
|
|
3
3
|
export interface LayoutConfig<LayoutSchema, RootLayoutSchema> {
|
|
4
4
|
slots: Array<LayoutSlot<LayoutSchema>>;
|
|
@@ -6,4 +6,4 @@ export interface LayoutConfig<LayoutSchema, RootLayoutSchema> {
|
|
|
6
6
|
layoutSchemaVersion: string;
|
|
7
7
|
outerLayoutSchema: string | RootLayoutSchema;
|
|
8
8
|
}
|
|
9
|
-
export declare function makeLayoutConfig(data?: Partial<LayoutConfig<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
9
|
+
export declare function makeLayoutConfig(data?: Partial<LayoutConfig<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>>): LayoutConfig<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LayoutCreative } from './layout-creative';
|
|
2
2
|
import { LayoutCatalogItem } from './layout-catalog-item';
|
|
3
|
+
import { LayoutTransactionData } from './layout-transaction-data';
|
|
3
4
|
export interface LayoutOffer {
|
|
4
5
|
campaignId: string;
|
|
5
6
|
accountId: string;
|
|
@@ -7,5 +8,6 @@ export interface LayoutOffer {
|
|
|
7
8
|
creative: LayoutCreative;
|
|
8
9
|
metadata: Record<string, string>;
|
|
9
10
|
catalogItems?: Array<LayoutCatalogItem>;
|
|
11
|
+
transactionData?: LayoutTransactionData;
|
|
10
12
|
}
|
|
11
13
|
export declare function makeLayoutOffer(data?: Partial<LayoutOffer>): LayoutOffer;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const enum LayoutSignalType {
|
|
2
2
|
SignalResponse = "SignalResponse",
|
|
3
3
|
SignalGatedResponse = "SignalGatedResponse",
|
|
4
|
-
SignalSecondaryResponse = "SignalSecondaryResponse"
|
|
4
|
+
SignalSecondaryResponse = "SignalSecondaryResponse",
|
|
5
|
+
SignalOptInResponse = "SignalOptInResponse",
|
|
6
|
+
SignalOptOutResponse = "SignalOptOutResponse"
|
|
5
7
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const enum LayoutPaymentMethodType {
|
|
2
|
+
Unspecified = "UNSPECIFIED",
|
|
3
|
+
Other = "OTHER",
|
|
4
|
+
Card = "CARD",
|
|
5
|
+
PayPal = "PAYPAL",
|
|
6
|
+
ApplePay = "APPLE_PAY",
|
|
7
|
+
GooglePay = "GOOGLE_PAY",
|
|
8
|
+
Afterpay = "AFTERPAY"
|
|
9
|
+
}
|
|
10
|
+
export interface LayoutPaymentMethodInfo {
|
|
11
|
+
type: LayoutPaymentMethodType;
|
|
12
|
+
}
|
|
13
|
+
export interface LayoutAddress {
|
|
14
|
+
address1: string;
|
|
15
|
+
address2?: string;
|
|
16
|
+
city: string;
|
|
17
|
+
state: string;
|
|
18
|
+
country: string;
|
|
19
|
+
zip?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface LayoutTransactionData {
|
|
23
|
+
shippingAddress?: LayoutAddress;
|
|
24
|
+
billingAddress?: LayoutAddress;
|
|
25
|
+
paymentType?: string;
|
|
26
|
+
supportedPaymentMethods?: LayoutPaymentMethodInfo[];
|
|
27
|
+
isPartnerManagedPurchase: boolean;
|
|
28
|
+
partnerPaymentReference?: string;
|
|
29
|
+
confirmationRef?: string;
|
|
30
|
+
metadata?: Record<string, string>;
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type CatalogOutboundPartnerEvent = 'V2_CART_ITEM_UPDATED' | 'CART_ITEM_INSTANT_PURCHASE';
|
|
2
|
-
export type OfferOutboundPartnerEvent = CatalogOutboundPartnerEvent | 'OFFER_ENGAGEMENT' | 'POSITIVE_ENGAGEMENT' | 'UPSELL_CREATIVE_SENT' | 'REALTIME_OFFER_FULFILLMENT_REFERRAL' | 'REALTIME_OFFER_FULFILLMENT_CONVERSION' | 'REALTIME_OFFER_FULFILLMENT_SUCCESS' | 'INITIATE_INSTANT_PURCHASE_EVENT' | 'INITIATE_CART_ITEM_EVENT';
|
|
1
|
+
export type CatalogOutboundPartnerEvent = 'V2_CART_ITEM_UPDATED' | 'UPDATE_CART_ITEM_MESSAGE' | 'CART_ITEM_INSTANT_PURCHASE' | 'UPSELL_ITEM_INSTANT_PURCHASE' | 'DELIVERY_DETAILS_SENT';
|
|
2
|
+
export type OfferOutboundPartnerEvent = CatalogOutboundPartnerEvent | 'OFFER_ENGAGEMENT' | 'POSITIVE_ENGAGEMENT' | 'UPSELL_CREATIVE_SENT' | 'REALTIME_OFFER_FULFILLMENT_REFERRAL' | 'REALTIME_OFFER_FULFILLMENT_CONVERSION' | 'REALTIME_OFFER_FULFILLMENT_SUCCESS' | 'INITIATE_INSTANT_PURCHASE_EVENT' | 'INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT' | 'INITIATE_CART_ITEM_EVENT' | 'PREPARE_DEVICE_PAY_EVENT' | 'INITIATE_DEVICE_PAY_EVENT' | 'ABORT_DEVICE_PAY_EVENT' | 'COMPLETE_DEVICE_PAY_EVENT';
|
|
3
3
|
export type OutboundPartnerEvent = OfferOutboundPartnerEvent | 'PLACEMENT_CLOSED' | 'PLACEMENT_COMPLETED' | 'PLACEMENT_INTERACTIVE' | 'PLACEMENT_FAILURE';
|
|
4
4
|
export declare function isOutboundPartnerEvent(value: unknown): value is OutboundPartnerEvent;
|
|
5
5
|
export declare function isOfferOutboundPartnerEvent(value: unknown): value is OfferOutboundPartnerEvent;
|
|
@@ -11,6 +11,8 @@ export * from './plugin-url-behavior';
|
|
|
11
11
|
export * from './plugin-layout-variant';
|
|
12
12
|
export * from './plugin-creative-icon';
|
|
13
13
|
export * from './plugin-catalog-item';
|
|
14
|
+
export * from './plugin-catalog-item-group';
|
|
15
|
+
export * from './plugin-transaction-data';
|
|
14
16
|
export * from './plugin-cart-item';
|
|
15
17
|
export * from './plugin-static-data';
|
|
16
18
|
export * from './plugin-child-layout-model';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface CatalogItemGroupOption {
|
|
2
|
+
label: string;
|
|
3
|
+
catalogItemIds: string[];
|
|
4
|
+
metadata: Record<string, unknown>;
|
|
5
|
+
}
|
|
6
|
+
export interface CatalogItemGroupAttribute {
|
|
7
|
+
attributeId: string;
|
|
8
|
+
label: string;
|
|
9
|
+
options: CatalogItemGroupOption[];
|
|
10
|
+
metadata: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export interface CatalogItemGroup {
|
|
13
|
+
groupId: string;
|
|
14
|
+
catalogItemIds: string[];
|
|
15
|
+
attributes: CatalogItemGroupAttribute[];
|
|
16
|
+
metadata: Record<string, unknown>;
|
|
17
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, ChildRootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { Fonts } from '@rokt/plugin';
|
|
2
3
|
import { PluginOffer } from './plugin-offer';
|
|
3
4
|
export interface PluginChildLayoutModel<ChildRootLayoutSchema = ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>> {
|
|
4
5
|
instanceGuid: string;
|
|
@@ -9,6 +10,7 @@ export interface PluginChildLayoutModel<ChildRootLayoutSchema = ChildRootSchemaM
|
|
|
9
10
|
content?: {
|
|
10
11
|
text?: Record<string, string>;
|
|
11
12
|
};
|
|
13
|
+
fonts?: Fonts;
|
|
12
14
|
}
|
|
13
15
|
export declare function makeChildLayoutRootSchemaModel(data?: Partial<ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>>): ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>;
|
|
14
16
|
export declare function makePluginChildLayoutModel(data?: Partial<PluginChildLayoutModel>): PluginChildLayoutModel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutSchemaModel, RootSchemaModel, LayoutDisplayPreset, LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { LayoutSchemaModel, RootSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutAction, LayoutTimer, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
2
|
import { PluginSlot } from './plugin-slot';
|
|
3
3
|
export interface PluginModel<LayoutSchema, RootLayoutSchema> {
|
|
4
4
|
slots: Array<PluginSlot<LayoutSchema>>;
|
|
@@ -6,5 +6,5 @@ export interface PluginModel<LayoutSchema, RootLayoutSchema> {
|
|
|
6
6
|
layoutSchemaVersion: string;
|
|
7
7
|
outerLayoutSchema: RootLayoutSchema;
|
|
8
8
|
}
|
|
9
|
-
export declare function makeRootSchemaModel(data?: Partial<RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
10
|
-
export declare function makePluginModel(data?: Partial<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
9
|
+
export declare function makeRootSchemaModel(data?: Partial<RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>): RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>;
|
|
10
|
+
export declare function makePluginModel(data?: Partial<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>>): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PluginCreative } from './plugin-creative';
|
|
2
2
|
import { PluginCatalogItem } from './plugin-catalog-item';
|
|
3
|
+
import { CatalogItemGroup } from './plugin-catalog-item-group';
|
|
4
|
+
import { TransactionData } from './plugin-transaction-data';
|
|
3
5
|
export interface PluginOffer {
|
|
4
6
|
campaignId: string;
|
|
5
7
|
accountId: string;
|
|
@@ -7,6 +9,8 @@ export interface PluginOffer {
|
|
|
7
9
|
creative: PluginCreative;
|
|
8
10
|
metadata: Record<string, string>;
|
|
9
11
|
catalogItems?: Array<PluginCatalogItem>;
|
|
12
|
+
catalogItemGroup?: CatalogItemGroup;
|
|
13
|
+
transactionData?: TransactionData;
|
|
10
14
|
content?: {
|
|
11
15
|
text?: Record<string, string>;
|
|
12
16
|
};
|
|
@@ -2,5 +2,8 @@ export declare const enum PluginSignalType {
|
|
|
2
2
|
SignalResponse = "SignalResponse",
|
|
3
3
|
SignalGatedResponse = "SignalGatedResponse",
|
|
4
4
|
SignalSecondaryResponse = "SignalSecondaryResponse",
|
|
5
|
-
SignalProductItemResponse = "SignalProductItemResponse"
|
|
5
|
+
SignalProductItemResponse = "SignalProductItemResponse",
|
|
6
|
+
SignalOptInResponse = "SignalOptInResponse",
|
|
7
|
+
SignalOptOutResponse = "SignalOptOutResponse"
|
|
6
8
|
}
|
|
9
|
+
export declare function getValidSignalResponseType(signalType: PluginSignalType): PluginSignalType.SignalGatedResponse | PluginSignalType.SignalOptInResponse | PluginSignalType.SignalOptOutResponse | PluginSignalType.SignalResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum PaymentMethodType {
|
|
2
|
+
Unspecified = 0,
|
|
3
|
+
Other = 1,
|
|
4
|
+
Card = 2,
|
|
5
|
+
PayPal = 3,
|
|
6
|
+
ApplePay = 4,
|
|
7
|
+
GooglePay = 5,
|
|
8
|
+
Afterpay = 6
|
|
9
|
+
}
|
|
10
|
+
export interface PaymentMethodInfo {
|
|
11
|
+
type: PaymentMethodType;
|
|
12
|
+
}
|
|
13
|
+
export interface Address {
|
|
14
|
+
address1: string;
|
|
15
|
+
address2?: string;
|
|
16
|
+
city: string;
|
|
17
|
+
state: string;
|
|
18
|
+
country: string;
|
|
19
|
+
zip?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface TransactionData {
|
|
23
|
+
shippingAddress?: Address;
|
|
24
|
+
billingAddress?: Address;
|
|
25
|
+
paymentType?: string;
|
|
26
|
+
supportedPaymentMethods?: PaymentMethodInfo[];
|
|
27
|
+
isPartnerManagedPurchase: boolean;
|
|
28
|
+
partnerPaymentReference?: string;
|
|
29
|
+
confirmationRef?: string;
|
|
30
|
+
metadata?: Record<string, string>;
|
|
31
|
+
}
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
import { PaymentProvider } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { LayoutPaymentMethodType } from './layout/layout-transaction-data';
|
|
3
|
+
/**
|
|
4
|
+
* Models for the payload structure for sending an EXTERNAL
|
|
5
|
+
* upsell item instant purchase event.
|
|
6
|
+
* This is used for *partner-managed* purchase events.
|
|
7
|
+
*/
|
|
8
|
+
export interface PartnerUpsellItem {
|
|
9
|
+
sku: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
unitPrice: number;
|
|
12
|
+
totalPrice: number;
|
|
13
|
+
currency: string;
|
|
14
|
+
partnerData?: Record<string, unknown>;
|
|
15
|
+
}
|
|
16
|
+
export interface PartnerUpsellItemInstantPurchasePayload {
|
|
17
|
+
upsellItems: PartnerUpsellItem[];
|
|
18
|
+
totalPrice: number;
|
|
19
|
+
currency: string;
|
|
20
|
+
orderConfirmationId: string;
|
|
21
|
+
partnerData?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Models for the payload structure for sending an INTERNAL
|
|
25
|
+
* upsell item instant purchase event.
|
|
26
|
+
* This is used for *Rokt-managed* purchase events.
|
|
27
|
+
*/
|
|
1
28
|
export interface UpsellItem {
|
|
2
29
|
cartItemId: string;
|
|
3
30
|
catalogItemId: string;
|
|
@@ -5,6 +32,7 @@ export interface UpsellItem {
|
|
|
5
32
|
unitPrice: number;
|
|
6
33
|
totalPrice: number;
|
|
7
34
|
currency: string;
|
|
35
|
+
title?: string;
|
|
8
36
|
}
|
|
9
37
|
export interface InstantPurchaseWsdkPayload {
|
|
10
38
|
totalUpsellPrice: number;
|
|
@@ -33,3 +61,29 @@ export interface ShippingAttributes {
|
|
|
33
61
|
countryCode: string;
|
|
34
62
|
postalCode: string;
|
|
35
63
|
}
|
|
64
|
+
export interface PrepareDevicePayEventPayload {
|
|
65
|
+
stripeAccountId?: string;
|
|
66
|
+
merchantName?: string;
|
|
67
|
+
countryCode?: string;
|
|
68
|
+
currency?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface InitiateDevicePayEventPayload {
|
|
71
|
+
totalUpsellPrice: number;
|
|
72
|
+
currency: string;
|
|
73
|
+
upsellItems: UpsellItem[];
|
|
74
|
+
paymentDetails: {
|
|
75
|
+
paymentProvider: PaymentProvider;
|
|
76
|
+
paymentMethod?: LayoutPaymentMethodType;
|
|
77
|
+
};
|
|
78
|
+
fulfillmentDetails?: {
|
|
79
|
+
shippingAttributes?: Partial<ShippingAttributes>;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface InstantPurchaseInitiateTaxAndShippingEventPayload {
|
|
83
|
+
totalUpsellPrice: number;
|
|
84
|
+
currency: string;
|
|
85
|
+
upsellItems: UpsellItem[];
|
|
86
|
+
fulfillmentDetails: {
|
|
87
|
+
shippingAttributes: Partial<ShippingAttributes>;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -2,10 +2,10 @@ import { PluginCreativeResponseActionType } from './plugin';
|
|
|
2
2
|
export type Signals = (CoreSignals | CartSignals) & {
|
|
3
3
|
creativeInstanceGuid?: string;
|
|
4
4
|
};
|
|
5
|
-
export type CoreSignals = LoadStart | LoadComplete | Activation | Impression | Viewed | Response | Dismissal | UserInteraction | InstantPurchaseDismissal | ProductItemResponse;
|
|
5
|
+
export type CoreSignals = LoadStart | LoadComplete | Activation | Impression | Viewed | RenderGeometry | Response | Dismissal | UserInteraction | InstantPurchaseDismissal | ProductItemResponse;
|
|
6
6
|
export type ResponseActionPayload = CaptureOnlyAction | UrlAction | ExternalAction | FulfillmentAction;
|
|
7
7
|
export type CartSignals = CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure | CartItemQuantitySelected;
|
|
8
|
-
export type UniqueSignal = LoadStart | LoadComplete | Activation | Impression | Viewed | Response | Dismissal | InstantPurchaseDismissal | CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure;
|
|
8
|
+
export type UniqueSignal = LoadStart | LoadComplete | Activation | Impression | Viewed | RenderGeometry | Response | Dismissal | InstantPurchaseDismissal | CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure;
|
|
9
9
|
export declare enum InitiatedBy {
|
|
10
10
|
DCUI = "DCUI",
|
|
11
11
|
Partner = "partner"
|
|
@@ -29,6 +29,14 @@ export interface Viewed {
|
|
|
29
29
|
supportedByBrowser: boolean;
|
|
30
30
|
inferred: boolean;
|
|
31
31
|
}
|
|
32
|
+
export interface RenderGeometry {
|
|
33
|
+
name: 'SignalRenderGeometry';
|
|
34
|
+
parentGuid: string;
|
|
35
|
+
objectData: {
|
|
36
|
+
widthPx: number;
|
|
37
|
+
heightPx: number;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
32
40
|
export interface Dismissal {
|
|
33
41
|
name: 'SignalDismissal';
|
|
34
42
|
parentGuid: string;
|
|
@@ -40,7 +48,7 @@ export interface LoadStart {
|
|
|
40
48
|
overrideTimestamp: Date;
|
|
41
49
|
}
|
|
42
50
|
export interface Response {
|
|
43
|
-
name: 'SignalResponse' | 'SignalGatedResponse';
|
|
51
|
+
name: 'SignalResponse' | 'SignalGatedResponse' | 'SignalOptInResponse' | 'SignalOptOutResponse';
|
|
44
52
|
parentGuid: string;
|
|
45
53
|
responseActionPayload: ResponseActionPayload;
|
|
46
54
|
}
|
|
@@ -91,8 +99,8 @@ export interface UserInteraction {
|
|
|
91
99
|
objectData?: {
|
|
92
100
|
startTimestamp?: string;
|
|
93
101
|
endTimestamp?: string;
|
|
94
|
-
cardIndex?:
|
|
95
|
-
lastCardIndex?:
|
|
102
|
+
cardIndex?: string;
|
|
103
|
+
lastCardIndex?: string;
|
|
96
104
|
};
|
|
97
105
|
}
|
|
98
106
|
export interface ProductItemResponse {
|
|
@@ -123,4 +131,4 @@ export interface ExternalAction {
|
|
|
123
131
|
externalKey: string;
|
|
124
132
|
creativeInstanceGuid?: string;
|
|
125
133
|
}
|
|
126
|
-
export declare const REPEATABLE_SIGNALS: ReadonlyArray<RepeatableSignal['name']>;
|
|
134
|
+
export declare const REPEATABLE_SIGNALS: ReadonlyArray<RepeatableSignal['name'] | 'SignalOptInResponse' | 'SignalOptOutResponse'>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OuterLayoutDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Reducer-level action type dispatched directly to the orchestrator's
|
|
4
|
+
* domain-states reducer. Distinct from the global 'GLOBAL/SET_DOMAIN_STATE'
|
|
5
|
+
* action in @rokt/domain/behaviors which is routed through global dispatch.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SET_DOMAIN_STATE_REDUCER: "DOMAIN_STATES/SET";
|
|
8
|
+
export interface SetDomainStateReducer {
|
|
9
|
+
type: typeof SET_DOMAIN_STATE_REDUCER;
|
|
10
|
+
payload: {
|
|
11
|
+
key: OuterLayoutDomainStateKey;
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
}
|