@pushwoosh/rpc-v2-http-api-data 0.2.362 → 0.2.364
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 +45 -0
- package/events.d.ts +13 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -14668,6 +14668,13 @@ export const data = {
|
|
|
14668
14668
|
}
|
|
14669
14669
|
}
|
|
14670
14670
|
},
|
|
14671
|
+
"pushwoosh.rpc_v2.events.Attribution": {
|
|
14672
|
+
"type": "E",
|
|
14673
|
+
"values": [
|
|
14674
|
+
"ATTRIBUTION_SDK_HASH",
|
|
14675
|
+
"ATTRIBUTION_LAST_CLICK"
|
|
14676
|
+
]
|
|
14677
|
+
},
|
|
14671
14678
|
"pushwoosh.rpc_v2.events.TimeInterval": {
|
|
14672
14679
|
"type": "E",
|
|
14673
14680
|
"values": [
|
|
@@ -14771,6 +14778,15 @@ export const data = {
|
|
|
14771
14778
|
"attributeConditions": {
|
|
14772
14779
|
"type": "pushwoosh.rpc_v2.events.AttributeCondition",
|
|
14773
14780
|
"array": true
|
|
14781
|
+
},
|
|
14782
|
+
"messageCode": {
|
|
14783
|
+
"type": "string"
|
|
14784
|
+
},
|
|
14785
|
+
"campaign": {
|
|
14786
|
+
"type": "string"
|
|
14787
|
+
},
|
|
14788
|
+
"attribution": {
|
|
14789
|
+
"type": "pushwoosh.rpc_v2.events.Attribution"
|
|
14774
14790
|
}
|
|
14775
14791
|
}
|
|
14776
14792
|
},
|
|
@@ -14819,6 +14835,9 @@ export const data = {
|
|
|
14819
14835
|
"platforms": {
|
|
14820
14836
|
"type": "number",
|
|
14821
14837
|
"array": true
|
|
14838
|
+
},
|
|
14839
|
+
"attribution": {
|
|
14840
|
+
"type": "pushwoosh.rpc_v2.events.Attribution"
|
|
14822
14841
|
}
|
|
14823
14842
|
}
|
|
14824
14843
|
},
|
|
@@ -16468,6 +16487,10 @@ export const data = {
|
|
|
16468
16487
|
},
|
|
16469
16488
|
"dateTo": {
|
|
16470
16489
|
"type": "Date"
|
|
16490
|
+
},
|
|
16491
|
+
"platforms": {
|
|
16492
|
+
"type": "number",
|
|
16493
|
+
"array": true
|
|
16471
16494
|
}
|
|
16472
16495
|
}
|
|
16473
16496
|
},
|
|
@@ -17130,6 +17153,28 @@ export const data = {
|
|
|
17130
17153
|
}
|
|
17131
17154
|
}
|
|
17132
17155
|
},
|
|
17156
|
+
"pushwoosh.export_messages.v2.CountControlGroupRequest": {
|
|
17157
|
+
"type": "I",
|
|
17158
|
+
"fields": {
|
|
17159
|
+
"application": {
|
|
17160
|
+
"type": "string"
|
|
17161
|
+
},
|
|
17162
|
+
"controlGroup": {
|
|
17163
|
+
"type": "string"
|
|
17164
|
+
}
|
|
17165
|
+
}
|
|
17166
|
+
},
|
|
17167
|
+
"pushwoosh.export_messages.v2.CountControlGroupResponse": {
|
|
17168
|
+
"type": "I",
|
|
17169
|
+
"fields": {
|
|
17170
|
+
"totalUsers": {
|
|
17171
|
+
"type": "number"
|
|
17172
|
+
},
|
|
17173
|
+
"controlGroupUsers": {
|
|
17174
|
+
"type": "number"
|
|
17175
|
+
}
|
|
17176
|
+
}
|
|
17177
|
+
},
|
|
17133
17178
|
"pushwoosh.rpc.external_segments.v3.ExternalSegmentsService_Create_FieldViolations": {
|
|
17134
17179
|
"type": "E",
|
|
17135
17180
|
"values": [
|
package/events.d.ts
CHANGED
|
@@ -160,6 +160,11 @@ export type GetTriggeredCountResponse_Count = {
|
|
|
160
160
|
export type GetTriggeredCountResponse = {
|
|
161
161
|
count: Record<string, GetTriggeredCountResponse_Count>;
|
|
162
162
|
};
|
|
163
|
+
export type Attribution =
|
|
164
|
+
/** An event counts for the message whose hash the SDK stamped on it. */
|
|
165
|
+
'ATTRIBUTION_SDK_HASH'
|
|
166
|
+
/** An event counts for the message of the user's last click within the 72 hours before it. */
|
|
167
|
+
| 'ATTRIBUTION_LAST_CLICK';
|
|
163
168
|
export type TimeInterval = 'TIME_INTERVAL_UNSPECIFIED' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH';
|
|
164
169
|
export type ListOfValues = {
|
|
165
170
|
values: string[];
|
|
@@ -209,6 +214,12 @@ export type GetDetailedStatisticsRequest = {
|
|
|
209
214
|
interval?: TimeInterval;
|
|
210
215
|
/** Filter triggers to those whose attributes match these conditions. */
|
|
211
216
|
attributeConditions?: AttributeCondition[];
|
|
217
|
+
/** Message code to attribute event triggers to a single send; requires attribution ATTRIBUTION_LAST_CLICK. */
|
|
218
|
+
messageCode?: string;
|
|
219
|
+
/** Campaign code to attribute event triggers to a whole campaign; requires attribution ATTRIBUTION_LAST_CLICK. */
|
|
220
|
+
campaign?: string;
|
|
221
|
+
/** How triggers are tied to a message or campaign; the default counts every trigger of the event. */
|
|
222
|
+
attribution?: Attribution;
|
|
212
223
|
};
|
|
213
224
|
export type GetDetailedStatisticsResponse_TriggeredCount = {
|
|
214
225
|
timestamp: Date;
|
|
@@ -230,6 +241,8 @@ export type GetTotalStatisticsRequest = {
|
|
|
230
241
|
campaign?: string;
|
|
231
242
|
/** Platform ids to count events on; empty counts every platform. */
|
|
232
243
|
platforms?: number[];
|
|
244
|
+
/** How triggers are tied to message_code or campaign; the default trusts the hash the SDK stamped on the event. */
|
|
245
|
+
attribution?: Attribution;
|
|
233
246
|
};
|
|
234
247
|
export type GetTotalStatisticsResponse_EventTriggeredCount = {
|
|
235
248
|
event: string;
|