@pushwoosh/rpc-v2-http-api-data 0.2.336 → 0.2.337
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.
|
@@ -42,7 +42,7 @@ export interface ApplicationsControlGroupService {
|
|
|
42
42
|
GetControlGroupCalculationStatus: ApplicationsControlGroupService_GetControlGroupCalculationStatus;
|
|
43
43
|
/** Returns the precomputed Control-vs-Treatment analytics for one control group. Only the default group has analytics: the nightly job still measures one hold-out per application, so any other group comes back empty until it learns about groups. */
|
|
44
44
|
GetControlGroupAnalytics: ApplicationsControlGroupService_GetControlGroupAnalytics;
|
|
45
|
-
/** Reports for each user id whether it is held out by one control group right now. Membership is computed from the id, so this answers without
|
|
45
|
+
/** Reports for each user id whether it is held out by one control group right now. Membership is computed from the id, so this answers without exporting the base: use it to check the users of a send or an import instead of exporting the whole group. A group scoped to countries holds a user out only if one of their devices is in those countries. */
|
|
46
46
|
CheckControlGroupMembership: ApplicationsControlGroupService_CheckControlGroupMembership;
|
|
47
47
|
}
|
|
48
48
|
export type TaskStatus = 'TASK_STATUS_UNSPECIFIED' | 'TASK_STATUS_NOT_STARTED' | 'TASK_STATUS_IN_PROGRESS' | 'TASK_STATUS_COMPLETED';
|
|
@@ -222,7 +222,8 @@ export type CheckControlGroupMembershipRequest = {
|
|
|
222
222
|
controlGroupCode?: string;
|
|
223
223
|
/**
|
|
224
224
|
* User ids to check, at most 1000 per call. An id the application has never
|
|
225
|
-
* seen is answered
|
|
225
|
+
* seen is answered from the id alone, unless the group is scoped to countries:
|
|
226
|
+
* such an id has no device in them and comes back false.
|
|
226
227
|
*/
|
|
227
228
|
userIds?: string[];
|
|
228
229
|
};
|
package/data.js
CHANGED
|
@@ -15485,7 +15485,8 @@ export const data = {
|
|
|
15485
15485
|
"EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS",
|
|
15486
15486
|
"EXPORT_MESSAGE_PROPERTY_CLICKS",
|
|
15487
15487
|
"EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED",
|
|
15488
|
-
"EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE"
|
|
15488
|
+
"EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE",
|
|
15489
|
+
"EXPORT_MESSAGE_PROPERTY_CAMPAIGN_NAME"
|
|
15489
15490
|
]
|
|
15490
15491
|
},
|
|
15491
15492
|
"pushwoosh.export_messages.v2.Source": {
|
|
@@ -15531,6 +15532,18 @@ export const data = {
|
|
|
15531
15532
|
"TRANSACTIONAL"
|
|
15532
15533
|
]
|
|
15533
15534
|
},
|
|
15535
|
+
"pushwoosh.export_messages.v2.MessageHistoryChannel": {
|
|
15536
|
+
"type": "E",
|
|
15537
|
+
"values": [
|
|
15538
|
+
"MESSAGE_HISTORY_CHANNEL_UNSPECIFIED",
|
|
15539
|
+
"MESSAGE_HISTORY_CHANNEL_PUSH",
|
|
15540
|
+
"MESSAGE_HISTORY_CHANNEL_INBOX",
|
|
15541
|
+
"MESSAGE_HISTORY_CHANNEL_EMAIL",
|
|
15542
|
+
"MESSAGE_HISTORY_CHANNEL_SMS",
|
|
15543
|
+
"MESSAGE_HISTORY_CHANNEL_WHATSAPP",
|
|
15544
|
+
"MESSAGE_HISTORY_CHANNEL_FB_MESSENGER"
|
|
15545
|
+
]
|
|
15546
|
+
},
|
|
15534
15547
|
"pushwoosh.export_messages.v2.ApplySegmentExportType": {
|
|
15535
15548
|
"type": "E",
|
|
15536
15549
|
"values": [
|
|
@@ -15585,6 +15598,9 @@ export const data = {
|
|
|
15585
15598
|
},
|
|
15586
15599
|
"messageCode": {
|
|
15587
15600
|
"type": "string"
|
|
15601
|
+
},
|
|
15602
|
+
"channel": {
|
|
15603
|
+
"type": "pushwoosh.export_messages.v2.MessageHistoryChannel"
|
|
15588
15604
|
}
|
|
15589
15605
|
}
|
|
15590
15606
|
},
|
|
@@ -16069,7 +16085,8 @@ export const data = {
|
|
|
16069
16085
|
"values": [
|
|
16070
16086
|
"sends",
|
|
16071
16087
|
"deliveries",
|
|
16072
|
-
"opens"
|
|
16088
|
+
"opens",
|
|
16089
|
+
"holdout"
|
|
16073
16090
|
]
|
|
16074
16091
|
},
|
|
16075
16092
|
"pushwoosh.export_messages.v2.ExportMessageRecipientsArgs": {
|
package/package.json
CHANGED
|
@@ -580,7 +580,7 @@ export type TrackingLogCSVResult = {
|
|
|
580
580
|
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
581
581
|
fileUrl: string;
|
|
582
582
|
};
|
|
583
|
-
export type ExportMessageProperty = 'EXPORT_MESSAGE_PROPERTY_UNSPECIFIED' | 'EXPORT_MESSAGE_PROPERTY_ID' | 'EXPORT_MESSAGE_PROPERTY_TIMESTAMP' | 'EXPORT_MESSAGE_PROPERTY_CONTENT' | 'EXPORT_MESSAGE_PROPERTY_TITLE' | 'EXPORT_MESSAGE_PROPERTY_APPLICATIONS' | 'EXPORT_MESSAGE_PROPERTY_STATUS' | 'EXPORT_MESSAGE_PROPERTY_PLATFORMS' | 'EXPORT_MESSAGE_PROPERTY_SOURCE' | 'EXPORT_MESSAGE_PROPERTY_FILTER' | 'EXPORT_MESSAGE_PROPERTY_SUBSCRIPTION_SEGMENTS' | 'EXPORT_MESSAGE_PROPERTY_SENT' | 'EXPORT_MESSAGE_PROPERTY_OPENED' | 'EXPORT_MESSAGE_PROPERTY_ERRORS' | 'EXPORT_MESSAGE_PROPERTY_RECIPIENTS' | 'EXPORT_MESSAGE_PROPERTY_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_OPENED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED' | 'EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE';
|
|
583
|
+
export type ExportMessageProperty = 'EXPORT_MESSAGE_PROPERTY_UNSPECIFIED' | 'EXPORT_MESSAGE_PROPERTY_ID' | 'EXPORT_MESSAGE_PROPERTY_TIMESTAMP' | 'EXPORT_MESSAGE_PROPERTY_CONTENT' | 'EXPORT_MESSAGE_PROPERTY_TITLE' | 'EXPORT_MESSAGE_PROPERTY_APPLICATIONS' | 'EXPORT_MESSAGE_PROPERTY_STATUS' | 'EXPORT_MESSAGE_PROPERTY_PLATFORMS' | 'EXPORT_MESSAGE_PROPERTY_SOURCE' | 'EXPORT_MESSAGE_PROPERTY_FILTER' | 'EXPORT_MESSAGE_PROPERTY_SUBSCRIPTION_SEGMENTS' | 'EXPORT_MESSAGE_PROPERTY_SENT' | 'EXPORT_MESSAGE_PROPERTY_OPENED' | 'EXPORT_MESSAGE_PROPERTY_ERRORS' | 'EXPORT_MESSAGE_PROPERTY_RECIPIENTS' | 'EXPORT_MESSAGE_PROPERTY_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_OPENED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED' | 'EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE' | 'EXPORT_MESSAGE_PROPERTY_CAMPAIGN_NAME';
|
|
584
584
|
export type Source = 'SOURCE_UNSPECIFIED'
|
|
585
585
|
/** deprecated */
|
|
586
586
|
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
@@ -590,6 +590,8 @@ export type Source = 'SOURCE_UNSPECIFIED'
|
|
|
590
590
|
| '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
|
+
/** Channel of the messages listing; values mirror statistics-api's MessageHistoryChannel. */
|
|
594
|
+
export type MessageHistoryChannel = 'MESSAGE_HISTORY_CHANNEL_UNSPECIFIED' | 'MESSAGE_HISTORY_CHANNEL_PUSH' | 'MESSAGE_HISTORY_CHANNEL_INBOX' | 'MESSAGE_HISTORY_CHANNEL_EMAIL' | 'MESSAGE_HISTORY_CHANNEL_SMS' | 'MESSAGE_HISTORY_CHANNEL_WHATSAPP' | 'MESSAGE_HISTORY_CHANNEL_FB_MESSENGER';
|
|
593
595
|
export type ApplySegmentExportType = 'APPLY_SEGMENT_EXPORT_TYPE_UNSPECIFIED' | 'ALL' | 'OPEN' | 'NOT_OPEN';
|
|
594
596
|
export type DateRange = {
|
|
595
597
|
/** date format yyyy-mm-dd */
|
|
@@ -607,6 +609,7 @@ export type GetMessageHistoryFilters = {
|
|
|
607
609
|
campaigns: string[];
|
|
608
610
|
messageId: number;
|
|
609
611
|
messageCode: string;
|
|
612
|
+
channel: MessageHistoryChannel;
|
|
610
613
|
};
|
|
611
614
|
export type ExportMessagesV2Args = {
|
|
612
615
|
search: string;
|
|
@@ -778,7 +781,9 @@ export type ExportJourneyPointUsersResult = {
|
|
|
778
781
|
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
779
782
|
fileUrl: string;
|
|
780
783
|
};
|
|
781
|
-
export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens'
|
|
784
|
+
export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens'
|
|
785
|
+
/** Users a control group held out of the message: the 1028 cut, nothing was sent to them. */
|
|
786
|
+
| 'holdout';
|
|
782
787
|
export type ExportMessageRecipientsArgs = {
|
|
783
788
|
messageId: number;
|
|
784
789
|
campaign: string;
|