@rokt/dcui-orchestrator 0.0.2-rc.7 → 0.0.2-rc.8
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/index.cjs +11 -11
- package/dist/index.js +3 -3
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +1 -0
- package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +4 -0
- package/dist/libraries/domain/src/models/signals.d.ts +7 -1
- package/dist/libraries/layout-renderer-utils/src/actions/custom-states.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +1 -2
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -2
- package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +1 -0
- package/dist/libraries/orchestrator/src/actions/offer-lifecycle.d.ts +1 -0
- package/node_modules/@rokt/plugin/interface/child-plugin-factory.d.ts +1 -0
- package/node_modules/@rokt/plugin/interface/rdn.d.ts +1 -0
- package/node_modules/@rokt/plugin/package.json +1 -1
- package/package.json +2 -2
|
@@ -15,6 +15,7 @@ export interface OfferEngagementFulfillmentPayload {
|
|
|
15
15
|
export interface OfferEngagementUrlPayload extends PluginCreativeUrlResponseOption {
|
|
16
16
|
accountID: string;
|
|
17
17
|
referralCreativeID?: string;
|
|
18
|
+
creativeInstanceGuid?: string;
|
|
18
19
|
}
|
|
19
20
|
export type OfferEngagementCaptureOnlyPayload = PluginCreativeCaptureOnlyResponseOption;
|
|
20
21
|
export type OfferEngagementExternalPayload = PluginCreativeExternalResponseOption;
|
|
@@ -14,6 +14,7 @@ export interface PluginCreativeFulfillmentResponseOption {
|
|
|
14
14
|
isPositive: boolean;
|
|
15
15
|
url?: string;
|
|
16
16
|
urlBehavior?: PluginUrlBehavior;
|
|
17
|
+
creativeInstanceGuid?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface PluginCreativeUrlResponseOption {
|
|
19
20
|
id: string;
|
|
@@ -28,6 +29,7 @@ export interface PluginCreativeUrlResponseOption {
|
|
|
28
29
|
urlBehavior?: PluginUrlBehavior;
|
|
29
30
|
conversionType?: PluginConversionType;
|
|
30
31
|
rclid?: string;
|
|
32
|
+
creativeInstanceGuid?: string;
|
|
31
33
|
}
|
|
32
34
|
export interface PluginCreativeCaptureOnlyResponseOption {
|
|
33
35
|
id: string;
|
|
@@ -40,6 +42,7 @@ export interface PluginCreativeCaptureOnlyResponseOption {
|
|
|
40
42
|
isPositive: boolean;
|
|
41
43
|
url?: string;
|
|
42
44
|
urlBehavior?: PluginUrlBehavior;
|
|
45
|
+
creativeInstanceGuid?: string;
|
|
43
46
|
}
|
|
44
47
|
export interface PluginCreativeExternalResponseOption {
|
|
45
48
|
id: string;
|
|
@@ -48,6 +51,7 @@ export interface PluginCreativeExternalResponseOption {
|
|
|
48
51
|
signalType: PluginSignalType;
|
|
49
52
|
isPositive: boolean;
|
|
50
53
|
externalKey?: string;
|
|
54
|
+
creativeInstanceGuid?: string;
|
|
51
55
|
}
|
|
52
56
|
export declare function makePluginResponseOption(data?: Partial<PluginCreativeResponseOption>): PluginCreativeResponseOption;
|
|
53
57
|
export declare function makeUrlPluginResponseOption(data?: Partial<PluginCreativeUrlResponseOption>): PluginCreativeUrlResponseOption;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PluginCreativeResponseActionType } from './plugin';
|
|
2
|
-
export type Signals = CoreSignals | CartSignals
|
|
2
|
+
export type Signals = (CoreSignals | CartSignals) & {
|
|
3
|
+
creativeInstanceGuid?: string;
|
|
4
|
+
};
|
|
3
5
|
export type CoreSignals = LoadStart | LoadComplete | Activation | Impression | Response | Dismissal | UserInteraction | InstantPurchaseDismissal;
|
|
4
6
|
export type ResponseActionPayload = CaptureOnlyAction | UrlAction | ExternalAction | FulfillmentAction;
|
|
5
7
|
export type CartSignals = CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure | CartItemQuantitySelected;
|
|
@@ -83,16 +85,20 @@ export interface UserInteraction {
|
|
|
83
85
|
}
|
|
84
86
|
export interface CaptureOnlyAction {
|
|
85
87
|
name: PluginCreativeResponseActionType.CaptureOnly;
|
|
88
|
+
creativeInstanceGuid?: string;
|
|
86
89
|
}
|
|
87
90
|
export interface UrlAction {
|
|
88
91
|
name: PluginCreativeResponseActionType.Url;
|
|
89
92
|
transformedTrafficURL: string;
|
|
93
|
+
creativeInstanceGuid?: string;
|
|
90
94
|
}
|
|
91
95
|
export interface FulfillmentAction {
|
|
92
96
|
name: PluginCreativeResponseActionType.Fulfillment;
|
|
97
|
+
creativeInstanceGuid?: string;
|
|
93
98
|
}
|
|
94
99
|
export interface ExternalAction {
|
|
95
100
|
name: PluginCreativeResponseActionType.External;
|
|
96
101
|
externalKey: string;
|
|
102
|
+
creativeInstanceGuid?: string;
|
|
97
103
|
}
|
|
98
104
|
export declare const REPEATABLE_SIGNALS: ReadonlyArray<RepeatableSignal['name']>;
|
|
@@ -3,7 +3,6 @@ import { BottomSheetProps } from './types';
|
|
|
3
3
|
type BottomSheetContainerProps = {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
schema: BottomSheetProps['schema'];
|
|
6
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
7
6
|
testId?: string;
|
|
8
7
|
};
|
|
9
8
|
/**The BottomSheet is a display node that is pinned to the bottom of the viewport.
|
|
@@ -12,6 +11,6 @@ type BottomSheetContainerProps = {
|
|
|
12
11
|
* *Where can we use this: __outer layout__*
|
|
13
12
|
*/
|
|
14
13
|
export declare function BottomSheet(props: BottomSheetProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const BottomSheetContainer: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const BottomSheetContainer: React.ForwardRefExoticComponent<BottomSheetContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
15
|
export declare function handleBottomSheetTransition<RefElement extends HTMLElement>(element: RefElement): () => void;
|
|
17
16
|
export {};
|
|
@@ -3,7 +3,6 @@ import { OverlayProps } from './types';
|
|
|
3
3
|
type OverlayContainerProps = {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
schema: OverlayProps['schema'];
|
|
6
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
7
6
|
testId?: string;
|
|
8
7
|
};
|
|
9
8
|
/**The Overlay is a display node that suits various purposes,
|
|
@@ -15,5 +14,5 @@ type OverlayContainerProps = {
|
|
|
15
14
|
* *Where can we use this: __outer layout__*
|
|
16
15
|
*/
|
|
17
16
|
export declare function Overlay(props: OverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare const OverlayContainer: React.ForwardRefExoticComponent<
|
|
17
|
+
export declare const OverlayContainer: React.ForwardRefExoticComponent<OverlayContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
18
|
export {};
|
|
@@ -4,6 +4,7 @@ export type CreateChildPluginOptions = {
|
|
|
4
4
|
url?: string;
|
|
5
5
|
name?: string;
|
|
6
6
|
config?: BasicObject;
|
|
7
|
+
targetElementSelector?: string;
|
|
7
8
|
};
|
|
8
9
|
export interface ChildPluginFactoryInterface {
|
|
9
10
|
create<T extends BasicObject>(options: CreateChildPluginOptions): ChildPluginInterface<T>;
|
|
@@ -9,6 +9,7 @@ export type IssueSignalOptions = {
|
|
|
9
9
|
objectData?: Record<string, string>;
|
|
10
10
|
overrideTimestamp?: Date;
|
|
11
11
|
transformedTrafficURL?: string;
|
|
12
|
+
creativeInstanceGuid?: string;
|
|
12
13
|
};
|
|
13
14
|
export interface RDNInterface {
|
|
14
15
|
issueSignal(eventType: string, parentGuid: string, options?: IssueSignalOptions): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokt/dcui-orchestrator",
|
|
3
|
-
"version": "0.0.2-rc.
|
|
3
|
+
"version": "0.0.2-rc.8",
|
|
4
4
|
"description": "Rokt's DCUI rendering process",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@rokt/dcui-layout-schema": "1.7.0-lnp907-alpha",
|
|
20
20
|
"@rokt/kit": "^6.6.4",
|
|
21
|
-
"@rokt/plugin": "^5.
|
|
21
|
+
"@rokt/plugin": "^5.9.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@rokt/partner-integration": "^4.7.0",
|