@rokt/dcui-orchestrator 0.0.4-rc.27 → 0.0.4-rc.29
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 +23 -23
- package/dist/index.js +23 -23
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +6 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +2 -1
- package/dist/libraries/domain/src/models/plugin/plugin-conversion-type.d.ts +2 -1
- package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +4 -0
- package/dist/libraries/plugin-utils/src/translate-config.d.ts +1 -0
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +1 -1
- package/package.json +1 -1
|
@@ -32,5 +32,11 @@ export declare function isRealTimeFulfillmentReferral(response: OfferEngagementP
|
|
|
32
32
|
accountID: string;
|
|
33
33
|
referralCreativeID: string;
|
|
34
34
|
};
|
|
35
|
+
export declare function isRealTimeReferralOnly(response: OfferEngagementPayload | (OfferEngagementPayload & {
|
|
36
|
+
offerPositionIndex: number;
|
|
37
|
+
})): response is OfferEngagementPayload & {
|
|
38
|
+
accountID: string;
|
|
39
|
+
referralCreativeID: string;
|
|
40
|
+
};
|
|
35
41
|
export declare function makeCaptureOnlyOfferEngagementPayload(offerPayload?: Partial<OfferEngagementCaptureOnlyPayload>): OfferEngagementCaptureOnlyPayload;
|
|
36
42
|
export declare function makeUrlOfferEngagementPayload(offerPayload?: Partial<OfferEngagementUrlPayload>): OfferEngagementUrlPayload;
|
|
@@ -71,3 +71,7 @@ export declare function isRealtimeConversionResponseOption(value: unknown): valu
|
|
|
71
71
|
conversionType: PluginConversionType.RealTime;
|
|
72
72
|
rclid: string;
|
|
73
73
|
};
|
|
74
|
+
export declare function isRealtimeReferralOnlyResponseOption(value: unknown): value is (PluginCreativeFulfillmentResponseOption | PluginCreativeUrlResponseOption) & {
|
|
75
|
+
conversionType: PluginConversionType.RealTimeReferral;
|
|
76
|
+
rclid: string;
|
|
77
|
+
};
|
|
@@ -19,6 +19,7 @@ export declare const CREATIVE_RESPONSE_ENUM_MAP: {
|
|
|
19
19
|
conversionType: {
|
|
20
20
|
Default: PluginConversionType;
|
|
21
21
|
RealTime: PluginConversionType;
|
|
22
|
+
RealTimeReferral: PluginConversionType;
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
export declare function makeTranslateErrorLogs(configurationName: string, instanceGuid: string, isChildLayout?: boolean): Error;
|
|
@@ -6,7 +6,7 @@ import { ChildPluginFactoryInterface } from '@rokt/plugin';
|
|
|
6
6
|
import { ChildPluginResult, RealtimeFulfillmentEvent } from './channels';
|
|
7
7
|
import { EventChannel } from 'redux-saga';
|
|
8
8
|
type ChildPlugin = ReturnType<ChildPluginFactoryInterface['create']>;
|
|
9
|
-
export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void, isRealtimeConversion: boolean, realtimeSuccessCallback?: () => Generator<CallEffect<void> | PutEffect, void, void>): Generator<CallEffect<void> | ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
|
|
9
|
+
export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void, isRealtimeConversion: boolean, isRealTimeReferralOnly: boolean, realtimeSuccessCallback?: () => Generator<CallEffect<void> | PutEffect, void, void>): Generator<CallEffect<void> | ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
|
|
10
10
|
export declare function getRealtimeFulfillmentSuccessCallback(gateway: GlobalGateway, logger: (log: Log) => void, payload: OfferEngagementFulfillmentPayload, childPlugin: Pick<ChildPlugin, 'close'>): (() => Generator<CallEffect<void> | PutEffect<{
|
|
11
11
|
type: string;
|
|
12
12
|
payload: {
|