@pushwoosh/rpc-v2-http-api-data 0.2.420 → 0.2.421

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 (2) hide show
  1. package/events.d.ts +2 -2
  2. package/package.json +1 -1
package/events.d.ts CHANGED
@@ -40,7 +40,7 @@ export interface EventsService {
40
40
  DismissRevenueSuggestions: EventsService_DismissRevenueSuggestions;
41
41
  /** Returns the events counted as conversions on the Conversions board, PW_Conversion first, each with its revenue attributes when it tracks revenue. */
42
42
  GetConversionEvents: EventsService_GetConversionEvents;
43
- /** Replaces the list of events counted as conversions on the Conversions board. Events left out of the request stop counting; PW_Conversion is always kept. Revenue attributes of an event are set through Update (revenue_mapping). A newly listed event is scheduled for a history recalculation. */
43
+ /** Replaces the list of events counted as conversions on the Conversions board. Events left out of the request stop counting; PW_Conversion is always kept. Each event's revenue_mapping is saved in the same call: unset leaves its revenue attributes as they are, empty makes it a conversion without revenue. A newly listed event or changed revenue attributes schedule a history recalculation. */
44
44
  SaveConversionEvents: EventsService_SaveConversionEvents;
45
45
  }
46
46
  export type GetEventRequest = {
@@ -285,7 +285,7 @@ export type GetRevenueStatisticsResponse = {
285
285
  export type ConversionEvent = {
286
286
  /** Name of the application's event that counts as a conversion. */
287
287
  name: string;
288
- /** Where the event keeps its amount and currency; unset for an event counted without revenue. */
288
+ /** Where the event keeps its amount and currency; unset for an event counted without revenue. In SaveConversionEvents unset leaves the stored attributes as they are and empty clears them. */
289
289
  revenueMapping: RevenueMapping;
290
290
  /** PW_Conversion: always listed, always tracks revenue, cannot be removed. */
291
291
  isDefault: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.420",
3
+ "version": "0.2.421",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",