@pushwoosh/rpc-v2-http-api-data 0.2.478 → 0.2.479
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/data.js +3 -0
- package/events.d.ts +4 -2
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -16343,6 +16343,9 @@ export const data = {
|
|
|
16343
16343
|
"events": {
|
|
16344
16344
|
"type": "pushwoosh.rpc_v2.events.ConversionEvent",
|
|
16345
16345
|
"array": true
|
|
16346
|
+
},
|
|
16347
|
+
"configured": {
|
|
16348
|
+
"type": "boolean"
|
|
16346
16349
|
}
|
|
16347
16350
|
}
|
|
16348
16351
|
},
|
package/events.d.ts
CHANGED
|
@@ -335,8 +335,10 @@ export type ConversionEvent = {
|
|
|
335
335
|
isDefault: boolean;
|
|
336
336
|
};
|
|
337
337
|
export type ConversionEvents = {
|
|
338
|
-
/** Events counted as conversions
|
|
338
|
+
/** Events counted as conversions. PW_Conversion is always first, listed even before it exists (configured is false then). */
|
|
339
339
|
events: ConversionEvent[];
|
|
340
|
+
/** The application counts conversions: PW_Conversion exists or another event is a conversion, saved by the user or mapped automatically by post-event-api. False until then. */
|
|
341
|
+
configured: boolean;
|
|
340
342
|
};
|
|
341
343
|
/**
|
|
342
344
|
* RevenueSuggestion is a revenue mapping found by the cron but not enabled yet: the event
|
|
@@ -372,6 +374,6 @@ export type GetConversionEventsRequest = {
|
|
|
372
374
|
export type SaveConversionEventsRequest = {
|
|
373
375
|
/** Application code (format XXXXX-XXXXX). */
|
|
374
376
|
application?: string;
|
|
375
|
-
/** Full replacement of the application's conversion events; events left out stop counting. */
|
|
377
|
+
/** Full replacement of the application's conversion events; events left out stop counting. Saving creates PW_Conversion when the application has none, so an empty list still sets conversions up. */
|
|
376
378
|
events?: ConversionEvent[];
|
|
377
379
|
};
|