@rokt/dcui-orchestrator 0.0.2-rc.5 → 0.0.2-rc.7

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.
Files changed (65) hide show
  1. package/dist/extensions/minimized-bottomsheet/src/hooks/useScrollTrap.d.ts +2 -0
  2. package/dist/index.cjs +38 -28
  3. package/dist/index.js +39 -29
  4. package/dist/libraries/dcui-components/src/components/child-layout-handler/child-layout-handler.d.ts +5 -0
  5. package/dist/libraries/dcui-components/src/components/child-layout-handler/index.d.ts +1 -0
  6. package/dist/libraries/dcui-components/src/components/copy-to-clipboard-button/copy-to-clipboard-button.d.ts +48 -0
  7. package/dist/libraries/dcui-components/src/components/copy-to-clipboard-button/factory.d.ts +2 -0
  8. package/dist/libraries/dcui-components/src/components/copy-to-clipboard-button/index.d.ts +2 -0
  9. package/dist/libraries/dcui-components/src/components/index.d.ts +2 -0
  10. package/dist/libraries/dcui-components/src/components/partner-event-button-trigger/factory.d.ts +2 -0
  11. package/dist/libraries/dcui-components/src/components/partner-event-button-trigger/index.d.ts +2 -0
  12. package/dist/libraries/dcui-components/src/components/partner-event-button-trigger/partner-event-button-trigger.d.ts +6 -0
  13. package/dist/libraries/dcui-components/src/contexts/index.d.ts +1 -0
  14. package/dist/libraries/dcui-components/src/contexts/schema-version-context.d.ts +2 -0
  15. package/dist/libraries/domain/src/behaviors/child-layout.d.ts +6 -0
  16. package/dist/libraries/domain/src/behaviors/global-actions.d.ts +3 -1
  17. package/dist/libraries/domain/src/behaviors/index.d.ts +1 -0
  18. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +14 -2
  19. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  20. package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +4 -0
  21. package/dist/libraries/domain/src/models/layout/layout-child-layout.d.ts +8 -0
  22. package/dist/libraries/domain/src/models/layout/layout-variant.d.ts +3 -1
  23. package/dist/libraries/domain/src/models/partner-event.d.ts +1 -1
  24. package/dist/libraries/domain/src/models/plugin/index.d.ts +1 -0
  25. package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +6 -2
  26. package/dist/libraries/domain/src/models/plugin/plugin-layout-child.d.ts +9 -0
  27. package/dist/libraries/domain/src/models/plugin/plugin-layout-variant.d.ts +2 -0
  28. package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +3 -0
  29. package/dist/libraries/module-connector/src/main.d.ts +3 -3
  30. package/dist/libraries/module-connector/src/models/module-attributes.d.ts +3 -1
  31. package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +5 -3
  32. package/dist/libraries/module-connector/src/models/module.d.ts +1 -1
  33. package/dist/libraries/orchestrator/src/actions/index.d.ts +2 -2
  34. package/dist/modules/add-to-cart/src/models/state/index.d.ts +0 -1
  35. package/dist/modules/add-to-cart/src/reducers/index.d.ts +5 -3
  36. package/dist/modules/add-to-cart/src/sagas/index.d.ts +1 -0
  37. package/dist/modules/instant-purchase/src/channels/channel.d.ts +3 -3
  38. package/dist/modules/instant-purchase/src/components/drop-down/drop-down.d.ts +7 -6
  39. package/dist/modules/instant-purchase/src/components/image-gallery/image-gallery.d.ts +28 -0
  40. package/dist/modules/instant-purchase/src/hooks/index.d.ts +1 -0
  41. package/dist/modules/instant-purchase/src/hooks/use-image-mapper.d.ts +2 -0
  42. package/dist/modules/instant-purchase/src/reducers/index.d.ts +4 -3
  43. package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +2 -0
  44. package/dist/modules/instant-purchase/src/sagas/index.d.ts +1 -0
  45. package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +8 -3
  46. package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +6 -4
  47. package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +1 -0
  48. package/dist/modules/standard-marketing/src/reducers/index.d.ts +8 -4
  49. package/dist/modules/standard-marketing/src/sagas/error-codes.d.ts +2 -0
  50. package/dist/modules/standard-marketing/src/sagas/index.d.ts +1 -0
  51. package/dist/modules/standard-marketing/src/sagas/offer-engagement/channels.d.ts +8 -1
  52. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +4 -3
  53. package/package.json +1 -1
  54. package/dist/modules/add-to-cart/src/models/state/static-data.d.ts +0 -5
  55. package/dist/modules/add-to-cart/src/reducers/static-data/index.d.ts +0 -1
  56. package/dist/modules/add-to-cart/src/reducers/static-data/reducer.d.ts +0 -4
  57. package/dist/modules/instant-purchase/src/models/index.d.ts +0 -1
  58. package/dist/modules/instant-purchase/src/models/state/index.d.ts +0 -1
  59. package/dist/modules/instant-purchase/src/models/state/static-data.d.ts +0 -5
  60. package/dist/modules/instant-purchase/src/reducers/static-data/index.d.ts +0 -1
  61. package/dist/modules/instant-purchase/src/reducers/static-data/reducer.d.ts +0 -4
  62. package/dist/modules/layouts-xp-sandbox/src/reducers/mock/index.d.ts +0 -1
  63. package/dist/modules/layouts-xp-sandbox/src/reducers/mock/reducer.d.ts +0 -9
  64. package/dist/modules/standard-marketing/src/reducers/mock/index.d.ts +0 -1
  65. package/dist/modules/standard-marketing/src/reducers/mock/reducer.d.ts +0 -9
@@ -1,8 +1,9 @@
1
1
  import { GlobalActions, OfferEngagement } from '../../../../../libraries/domain/src/behaviors';
2
2
  import { Log } from '../../../../../libraries/domain/src/models';
3
3
  import { GlobalGateway } from '../../../../../libraries/module-connector/src/main';
4
- import { CallEffect, PutEffect } from 'redux-saga/effects';
5
- import { ChildPluginResult } from './channels';
4
+ import { CallEffect, CancelledEffect, ChannelTakeEffect, PutEffect, TakeEffect } from 'redux-saga/effects';
5
+ import { ChildPluginResult, RealtimeFulfillmentEvent } from './channels';
6
6
  import { EventChannel } from 'redux-saga';
7
- export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void): Generator<import("redux-saga/effects").ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
7
+ export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void): Generator<ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
8
+ export declare function listenForRealtimeFulfillmentEvent(gateway: GlobalGateway, logger: (log: Log) => void): Generator<TakeEffect | CallEffect | CancelledEffect | PutEffect | ChannelTakeEffect<RealtimeFulfillmentEvent>, void, RealtimeFulfillmentEvent>;
8
9
  export declare function processOfferResponse(gateway: GlobalGateway, logger: (log: Log) => void, action: OfferEngagement): Generator<CallEffect | PutEffect, void, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.0.2-rc.5",
3
+ "version": "0.0.2-rc.7",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -1,5 +0,0 @@
1
- import { PluginOffer } from '../../../../../libraries/domain/src/models';
2
- export type StaticData = null | {
3
- offer: PluginOffer;
4
- position: number;
5
- };
@@ -1 +0,0 @@
1
- export * from './reducer';
@@ -1,4 +0,0 @@
1
- import { AnyAction } from '@reduxjs/toolkit';
2
- import { StaticData } from '../../models';
3
- export declare function makeInitialStaticData(): StaticData;
4
- export declare function staticDataReducer(state: StaticData | undefined, _action: AnyAction): StaticData;
@@ -1 +0,0 @@
1
- export * from './state';
@@ -1 +0,0 @@
1
- export * from './static-data';
@@ -1,5 +0,0 @@
1
- import { PluginOffer } from '../../../../../libraries/domain/src/models';
2
- export type StaticData = null | {
3
- offer: PluginOffer;
4
- position: number;
5
- };
@@ -1 +0,0 @@
1
- export * from './reducer';
@@ -1,4 +0,0 @@
1
- import { AnyAction } from '@reduxjs/toolkit';
2
- import { StaticData } from '../../models';
3
- export declare function makeInitialStaticData(): StaticData;
4
- export declare function staticDataReducer(state: StaticData | undefined, _action: AnyAction): StaticData;
@@ -1 +0,0 @@
1
- export * from './reducer';
@@ -1,9 +0,0 @@
1
- import { AnyAction } from '@reduxjs/toolkit';
2
- export type MockState = null;
3
- export declare function makeInitialMockState(): MockState;
4
- export declare const MOCK_UPDATE = "MOCK/UPDATE";
5
- export type MockUpdateAction = {
6
- type: typeof MOCK_UPDATE;
7
- };
8
- export type MockActions = MockUpdateAction;
9
- export declare function mockReducer(state: MockState | undefined, action: AnyAction): MockState;
@@ -1 +0,0 @@
1
- export * from './reducer';
@@ -1,9 +0,0 @@
1
- import { AnyAction } from '@reduxjs/toolkit';
2
- export type MockState = null;
3
- export declare function makeInitialMockState(): MockState;
4
- export declare const MOCK_UPDATE = "MOCK/UPDATE";
5
- export type MockUpdateAction = {
6
- type: typeof MOCK_UPDATE;
7
- };
8
- export type MockActions = MockUpdateAction;
9
- export declare function mockReducer(state: MockState | undefined, action: AnyAction): MockState;