@pushwoosh/rpc-v2-http-api-data 0.2.368 → 0.2.370

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 CHANGED
@@ -15851,6 +15851,7 @@ export const data = {
15851
15851
  "RSS",
15852
15852
  "SYSTEM",
15853
15853
  "TWITTER",
15854
+ "LIVE_ACTIVITY_API",
15854
15855
  "WHATSAPP_API",
15855
15856
  "SMS_API"
15856
15857
  ]
@@ -16527,9 +16528,19 @@ export const data = {
16527
16528
  "platforms": {
16528
16529
  "type": "number",
16529
16530
  "array": true
16531
+ },
16532
+ "attribution": {
16533
+ "type": "pushwoosh.export_messages.v2.EventAttribution"
16530
16534
  }
16531
16535
  }
16532
16536
  },
16537
+ "pushwoosh.export_messages.v2.EventAttribution": {
16538
+ "type": "E",
16539
+ "values": [
16540
+ "EVENT_ATTRIBUTION_SDK_HASH",
16541
+ "EVENT_ATTRIBUTION_LAST_CLICK"
16542
+ ]
16543
+ },
16533
16544
  "pushwoosh.export_messages.v2.ExportMessageEventTriggeredDevicesResult": {
16534
16545
  "type": "I",
16535
16546
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.368",
3
+ "version": "0.2.370",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -586,8 +586,8 @@ export type Source = 'SOURCE_UNSPECIFIED'
586
586
  | 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
587
587
  /** deprecated */
588
588
  | 'TWITTER'
589
- /** 15 and 16 are skipped on purpose: numbering mirrors statistics-api's type.Source. */
590
- | 'WHATSAPP_API' | 'SMS_API';
589
+ /** 15 is skipped on purpose: numbering mirrors statistics-api's type.Source. */
590
+ | 'LIVE_ACTIVITY_API' | 'WHATSAPP_API' | 'SMS_API';
591
591
  export type MessageStatus = 'MESSAGE_STATUS_UNSPECIFIED' | 'MESSAGE_STATUS_CANCELED' | 'MESSAGE_STATUS_CREATING' | 'MESSAGE_STATUS_DONE' | 'MESSAGE_STATUS_FAIL' | 'MESSAGE_STATUS_PENDING' | 'MESSAGE_STATUS_PROCESSING' | 'MESSAGE_STATUS_WAITING';
592
592
  export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'MARKETING' | 'TRANSACTIONAL';
593
593
  /** Channel of the messages listing; values mirror statistics-api's MessageHistoryChannel. */
@@ -818,7 +818,14 @@ export type ExportMessageEventTriggeredDevicesArgs = {
818
818
  dateFrom: Date;
819
819
  dateTo: Date;
820
820
  platforms: number[];
821
- };
821
+ attribution: EventAttribution;
822
+ };
823
+ /** EventAttribution mirrors event-statistics: which message an event counts for. */
824
+ export type EventAttribution =
825
+ /** The message whose hash the SDK stamped on the event. */
826
+ 'EVENT_ATTRIBUTION_SDK_HASH'
827
+ /** The message of the user's last click within the 72 hours before the event. */
828
+ | 'EVENT_ATTRIBUTION_LAST_CLICK';
822
829
  export type ExportMessageEventTriggeredDevicesResult = {
823
830
  file: string;
824
831
  /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */