@pushwoosh/rpc-v2-http-api-data 0.1.414 → 0.1.417
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/applications.d.ts +0 -15
- package/applications_email_froms.d.ts +15 -0
- package/applications_sounds.d.ts +10 -0
- package/applications_sounds.js +2 -0
- package/data.js +46 -14
- package/index.d.ts +4 -2
- package/package.json +1 -1
- package/pushwoosh_statistics_exportservice_v2.d.ts +0 -490
- /package/{pushwoosh_statistics_exportservice_v2.js → applications_email_froms.js} +0 -0
package/applications.d.ts
CHANGED
|
@@ -96,18 +96,3 @@ export type SendEmailVerificationRequest = {
|
|
|
96
96
|
description?: string;
|
|
97
97
|
};
|
|
98
98
|
export type SendEmailVerificationResponse = {};
|
|
99
|
-
export interface EmailFromService {
|
|
100
|
-
List(request: ListRequest): Promise<ListResponse>;
|
|
101
|
-
Use(request: UseRequest): Promise<UseResponse>;
|
|
102
|
-
}
|
|
103
|
-
export type ListRequest = {
|
|
104
|
-
application?: string;
|
|
105
|
-
};
|
|
106
|
-
export type ListResponse = {
|
|
107
|
-
emails: string[];
|
|
108
|
-
};
|
|
109
|
-
export type UseRequest = {
|
|
110
|
-
application?: string;
|
|
111
|
-
email?: string;
|
|
112
|
-
};
|
|
113
|
-
export type UseResponse = {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ApplicationEmailFromsService {
|
|
2
|
+
List(request: ListRequest): Promise<ListResponse>;
|
|
3
|
+
Use(request: UseRequest): Promise<UseResponse>;
|
|
4
|
+
}
|
|
5
|
+
export type ListRequest = {
|
|
6
|
+
application?: string;
|
|
7
|
+
};
|
|
8
|
+
export type ListResponse = {
|
|
9
|
+
emails: string[];
|
|
10
|
+
};
|
|
11
|
+
export type UseRequest = {
|
|
12
|
+
application?: string;
|
|
13
|
+
email?: string;
|
|
14
|
+
};
|
|
15
|
+
export type UseResponse = {};
|
package/data.js
CHANGED
|
@@ -1643,25 +1643,25 @@ export const data = {
|
|
|
1643
1643
|
"type": "I",
|
|
1644
1644
|
"fields": {}
|
|
1645
1645
|
},
|
|
1646
|
-
"pushwoosh.rpc_v2.applications.
|
|
1646
|
+
"pushwoosh.rpc_v2.applications.email_froms.ApplicationEmailFromsService": {
|
|
1647
1647
|
"type": "S",
|
|
1648
|
-
"key": "
|
|
1648
|
+
"key": "applicationEmailFroms",
|
|
1649
1649
|
"methods": {
|
|
1650
1650
|
"List": {
|
|
1651
|
-
"request": "pushwoosh.rpc_v2.applications.ListRequest",
|
|
1652
|
-
"response": "pushwoosh.rpc_v2.applications.ListResponse",
|
|
1651
|
+
"request": "pushwoosh.rpc_v2.applications.email_froms.ListRequest",
|
|
1652
|
+
"response": "pushwoosh.rpc_v2.applications.email_froms.ListResponse",
|
|
1653
1653
|
"method": "get",
|
|
1654
|
-
"path": "/api/
|
|
1654
|
+
"path": "/api/application_email_froms/{application}"
|
|
1655
1655
|
},
|
|
1656
1656
|
"Use": {
|
|
1657
|
-
"request": "pushwoosh.rpc_v2.applications.UseRequest",
|
|
1658
|
-
"response": "pushwoosh.rpc_v2.applications.UseResponse",
|
|
1657
|
+
"request": "pushwoosh.rpc_v2.applications.email_froms.UseRequest",
|
|
1658
|
+
"response": "pushwoosh.rpc_v2.applications.email_froms.UseResponse",
|
|
1659
1659
|
"method": "post",
|
|
1660
|
-
"path": "/api/
|
|
1660
|
+
"path": "/api/application_email_froms"
|
|
1661
1661
|
}
|
|
1662
1662
|
}
|
|
1663
1663
|
},
|
|
1664
|
-
"pushwoosh.rpc_v2.applications.ListRequest": {
|
|
1664
|
+
"pushwoosh.rpc_v2.applications.email_froms.ListRequest": {
|
|
1665
1665
|
"type": "I",
|
|
1666
1666
|
"fields": {
|
|
1667
1667
|
"application": {
|
|
@@ -1669,7 +1669,7 @@ export const data = {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
}
|
|
1671
1671
|
},
|
|
1672
|
-
"pushwoosh.rpc_v2.applications.ListResponse": {
|
|
1672
|
+
"pushwoosh.rpc_v2.applications.email_froms.ListResponse": {
|
|
1673
1673
|
"type": "I",
|
|
1674
1674
|
"fields": {
|
|
1675
1675
|
"emails": {
|
|
@@ -1678,7 +1678,7 @@ export const data = {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
1680
|
},
|
|
1681
|
-
"pushwoosh.rpc_v2.applications.UseRequest": {
|
|
1681
|
+
"pushwoosh.rpc_v2.applications.email_froms.UseRequest": {
|
|
1682
1682
|
"type": "I",
|
|
1683
1683
|
"fields": {
|
|
1684
1684
|
"application": {
|
|
@@ -1689,10 +1689,42 @@ export const data = {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
}
|
|
1691
1691
|
},
|
|
1692
|
-
"pushwoosh.rpc_v2.applications.UseResponse": {
|
|
1692
|
+
"pushwoosh.rpc_v2.applications.email_froms.UseResponse": {
|
|
1693
1693
|
"type": "I",
|
|
1694
1694
|
"fields": {}
|
|
1695
1695
|
},
|
|
1696
|
+
"pushwoosh.rpc_v2.applications.sounds.ApplicationSoundsService": {
|
|
1697
|
+
"type": "S",
|
|
1698
|
+
"key": "applicationSounds",
|
|
1699
|
+
"methods": {
|
|
1700
|
+
"Get": {
|
|
1701
|
+
"request": "pushwoosh.rpc_v2.applications.sounds.GetRequest",
|
|
1702
|
+
"response": "pushwoosh.rpc_v2.applications.sounds.GetResponse",
|
|
1703
|
+
"method": "get",
|
|
1704
|
+
"path": "/api/application_sounds/{application}"
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"pushwoosh.rpc_v2.applications.sounds.GetRequest": {
|
|
1709
|
+
"type": "I",
|
|
1710
|
+
"fields": {
|
|
1711
|
+
"application": {
|
|
1712
|
+
"type": "string"
|
|
1713
|
+
},
|
|
1714
|
+
"platform": {
|
|
1715
|
+
"type": "number"
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
"pushwoosh.rpc_v2.applications.sounds.GetResponse": {
|
|
1720
|
+
"type": "I",
|
|
1721
|
+
"fields": {
|
|
1722
|
+
"sounds": {
|
|
1723
|
+
"type": "string",
|
|
1724
|
+
"array": true
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1696
1728
|
"pushwoosh.rpc_v2.applications_configurations.ApplicationsConfigurationsService": {
|
|
1697
1729
|
"type": "S",
|
|
1698
1730
|
"key": "applicationsConfigurations",
|
|
@@ -4851,7 +4883,7 @@ export const data = {
|
|
|
4851
4883
|
"Export": {
|
|
4852
4884
|
"request": "pushwoosh.export_messages.v2.ExportRequest",
|
|
4853
4885
|
"response": "pushwoosh.export_messages.v2.ExportResponse",
|
|
4854
|
-
"method": "
|
|
4886
|
+
"method": "post",
|
|
4855
4887
|
"path": "/api/export_messages/export"
|
|
4856
4888
|
},
|
|
4857
4889
|
"Status": {
|
|
@@ -4869,7 +4901,7 @@ export const data = {
|
|
|
4869
4901
|
"GetLastTasks": {
|
|
4870
4902
|
"request": "pushwoosh.export_messages.v2.GetLastTasksRequest",
|
|
4871
4903
|
"response": "pushwoosh.export_messages.v2.GetLastTasksResponse",
|
|
4872
|
-
"method": "
|
|
4904
|
+
"method": "post",
|
|
4873
4905
|
"path": "/api/export_messages/lastTasks"
|
|
4874
4906
|
}
|
|
4875
4907
|
}
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ import { AccountsService as pushwoosh_rpc_v2_accounts_AccountsService } from './
|
|
|
4
4
|
import { GetAuthInfoService as pushwoosh_rpc_v2_accounts_get_auth_info_GetAuthInfoService } from './accounts_get_auth_info';
|
|
5
5
|
import { ApiTokensService as pushwoosh_rpc_v2_api_tokens_ApiTokensService } from './api_tokens';
|
|
6
6
|
import { ApplicationsService as pushwoosh_rpc_v2_applications_ApplicationsService } from './applications';
|
|
7
|
-
import {
|
|
7
|
+
import { ApplicationEmailFromsService as pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService } from './applications_email_froms';
|
|
8
|
+
import { ApplicationSoundsService as pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService } from './applications_sounds';
|
|
8
9
|
import { ApplicationsConfigurationsService as pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService } from './applications_configurations';
|
|
9
10
|
import { ApplicationsGroupsService as pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService } from './applications_groups';
|
|
10
11
|
import { ApplicationsInfoService as pushwoosh_rpc_v2_applications_info_ApplicationsInfoService } from './applications_info';
|
|
@@ -46,7 +47,8 @@ export type API = {
|
|
|
46
47
|
getAuthInfo: pushwoosh_rpc_v2_accounts_get_auth_info_GetAuthInfoService;
|
|
47
48
|
apiTokens: pushwoosh_rpc_v2_api_tokens_ApiTokensService;
|
|
48
49
|
applications: pushwoosh_rpc_v2_applications_ApplicationsService;
|
|
49
|
-
|
|
50
|
+
applicationEmailFroms: pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService;
|
|
51
|
+
applicationSounds: pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService;
|
|
50
52
|
applicationsConfigurations: pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService;
|
|
51
53
|
applicationsGroups: pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService;
|
|
52
54
|
applicationsInfo: pushwoosh_rpc_v2_applications_info_ApplicationsInfoService;
|
package/package.json
CHANGED
|
@@ -1,490 +0,0 @@
|
|
|
1
|
-
export type ExportRequest_args_trackingLogCsv = {
|
|
2
|
-
type: 'trackingLogCsv';
|
|
3
|
-
data: TrackingLogCSVArgs;
|
|
4
|
-
};
|
|
5
|
-
export type ExportRequest_args_exportMessagesV2 = {
|
|
6
|
-
type: 'exportMessagesV2';
|
|
7
|
-
data: ExportMessagesV2Args;
|
|
8
|
-
};
|
|
9
|
-
export type ExportRequest_args_exportUnregisteredDevices = {
|
|
10
|
-
type: 'exportUnregisteredDevices';
|
|
11
|
-
data: ExportUnregisteredDevicesArgs;
|
|
12
|
-
};
|
|
13
|
-
export type ExportRequest_args_exportRichMediaFormValues = {
|
|
14
|
-
type: 'exportRichMediaFormValues';
|
|
15
|
-
data: ExportRichMediaFormValuesArgs;
|
|
16
|
-
};
|
|
17
|
-
export type ExportRequest_args_applySegmentToMessage = {
|
|
18
|
-
type: 'applySegmentToMessage';
|
|
19
|
-
data: ApplySegmentToMessageArgs;
|
|
20
|
-
};
|
|
21
|
-
export type ExportRequest_args_exportApplySegmentToMessage = {
|
|
22
|
-
type: 'exportApplySegmentToMessage';
|
|
23
|
-
data: ExportApplySegmentToMessageArgs;
|
|
24
|
-
};
|
|
25
|
-
export type ExportRequest_args_calculateRetention = {
|
|
26
|
-
type: 'calculateRetention';
|
|
27
|
-
data: CalculateRetentionArgs;
|
|
28
|
-
};
|
|
29
|
-
export type ExportRequest_args_applySegmentToMetric = {
|
|
30
|
-
type: 'applySegmentToMetric';
|
|
31
|
-
data: ApplySegmentToMetricArgs;
|
|
32
|
-
};
|
|
33
|
-
export type ExportRequest_args_exportRichMediaRecipients = {
|
|
34
|
-
type: 'exportRichMediaRecipients';
|
|
35
|
-
data: ExportRichMediaRecipientsArgs;
|
|
36
|
-
};
|
|
37
|
-
export type ExportRequest_args_exportBouncedEmails = {
|
|
38
|
-
type: 'exportBouncedEmails';
|
|
39
|
-
data: ExportBouncedEmailsArgs;
|
|
40
|
-
};
|
|
41
|
-
export type ExportRequest_args_exportJourneysHistory = {
|
|
42
|
-
type: 'exportJourneysHistory';
|
|
43
|
-
data: ExportJourneysHistoryArgs;
|
|
44
|
-
};
|
|
45
|
-
export type ExportRequest_args_exportJourneyPointUsers = {
|
|
46
|
-
type: 'exportJourneyPointUsers';
|
|
47
|
-
data: ExportJourneyPointUsersArgs;
|
|
48
|
-
};
|
|
49
|
-
export type ExportRequest_args_exportMessageRecipients = {
|
|
50
|
-
type: 'exportMessageRecipients';
|
|
51
|
-
data: ExportMessageRecipientsArgs;
|
|
52
|
-
};
|
|
53
|
-
export type ExportRequest_args_exportMessageClicksDevices = {
|
|
54
|
-
type: 'exportMessageClicksDevices';
|
|
55
|
-
data: ExportMessageClicksDevicesArgs;
|
|
56
|
-
};
|
|
57
|
-
export type ExportRequest_args_exportMessageEventTriggeredDevices = {
|
|
58
|
-
type: 'exportMessageEventTriggeredDevices';
|
|
59
|
-
data: ExportMessageEventTriggeredDevicesArgs;
|
|
60
|
-
};
|
|
61
|
-
export type ExportRequest_args_exportMessageErrorDevices = {
|
|
62
|
-
type: 'exportMessageErrorDevices';
|
|
63
|
-
data: ExportMessageErrorsDevicesArgs;
|
|
64
|
-
};
|
|
65
|
-
export type ExportRequest_args_createSegmentFromMessage = {
|
|
66
|
-
type: 'createSegmentFromMessage';
|
|
67
|
-
data: CreateSegmentFromMessageArgs;
|
|
68
|
-
};
|
|
69
|
-
export type ExportRequest_args = ExportRequest_args_trackingLogCsv | ExportRequest_args_exportMessagesV2 | ExportRequest_args_exportUnregisteredDevices | ExportRequest_args_exportRichMediaFormValues | ExportRequest_args_applySegmentToMessage | ExportRequest_args_exportApplySegmentToMessage | ExportRequest_args_calculateRetention | ExportRequest_args_applySegmentToMetric | ExportRequest_args_exportRichMediaRecipients | ExportRequest_args_exportBouncedEmails | ExportRequest_args_exportJourneysHistory | ExportRequest_args_exportJourneyPointUsers | ExportRequest_args_exportMessageRecipients | ExportRequest_args_exportMessageClicksDevices | ExportRequest_args_exportMessageEventTriggeredDevices | ExportRequest_args_exportMessageErrorDevices | ExportRequest_args_createSegmentFromMessage;
|
|
70
|
-
export type ExportRequest = {
|
|
71
|
-
type: TaskType;
|
|
72
|
-
args: ExportRequest_args;
|
|
73
|
-
};
|
|
74
|
-
export type ExportResponse = {
|
|
75
|
-
uid: number;
|
|
76
|
-
};
|
|
77
|
-
export type DeleteRequest = {
|
|
78
|
-
uid: number;
|
|
79
|
-
};
|
|
80
|
-
export type DeleteResponse = {};
|
|
81
|
-
export type StatusRequest = {
|
|
82
|
-
uid: number;
|
|
83
|
-
};
|
|
84
|
-
export type Status = 'STATUS_UNSPECIFIED' | 'STATUS_PENDING' | 'STATUS_SUCCESS' | 'STATUS_FAILED';
|
|
85
|
-
export type StatusResponse = {
|
|
86
|
-
status: Status;
|
|
87
|
-
progress: number;
|
|
88
|
-
};
|
|
89
|
-
export type ResultRequest = {
|
|
90
|
-
uid: number;
|
|
91
|
-
};
|
|
92
|
-
export type ResultResponse_result_failedTask = {
|
|
93
|
-
type: 'failedTask';
|
|
94
|
-
data: TaskFailed;
|
|
95
|
-
};
|
|
96
|
-
export type ResultResponse_result_trackingLogResult = {
|
|
97
|
-
type: 'trackingLogResult';
|
|
98
|
-
data: TrackingLogCSVResult;
|
|
99
|
-
};
|
|
100
|
-
export type ResultResponse_result_exportMessagesV2Result = {
|
|
101
|
-
type: 'exportMessagesV2Result';
|
|
102
|
-
data: ExportMessagesV2Result;
|
|
103
|
-
};
|
|
104
|
-
export type ResultResponse_result_exportUnregisteredDevicesResult = {
|
|
105
|
-
type: 'exportUnregisteredDevicesResult';
|
|
106
|
-
data: ExportUnregisteredDevicesResult;
|
|
107
|
-
};
|
|
108
|
-
export type ResultResponse_result_exportRichMediaFormValuesResult = {
|
|
109
|
-
type: 'exportRichMediaFormValuesResult';
|
|
110
|
-
data: ExportRichMediaFormValuesResult;
|
|
111
|
-
};
|
|
112
|
-
export type ResultResponse_result_applySegmentToMessageResult = {
|
|
113
|
-
type: 'applySegmentToMessageResult';
|
|
114
|
-
data: ApplySegmentToMessageResult;
|
|
115
|
-
};
|
|
116
|
-
export type ResultResponse_result_exportApplySegmentToMessageResult = {
|
|
117
|
-
type: 'exportApplySegmentToMessageResult';
|
|
118
|
-
data: ExportApplySegmentToMessageResult;
|
|
119
|
-
};
|
|
120
|
-
export type ResultResponse_result_calculateRetentionResult = {
|
|
121
|
-
type: 'calculateRetentionResult';
|
|
122
|
-
data: CalculateRetentionResult;
|
|
123
|
-
};
|
|
124
|
-
export type ResultResponse_result_applySegmentToMetricResult = {
|
|
125
|
-
type: 'applySegmentToMetricResult';
|
|
126
|
-
data: ApplySegmentToMetricResult;
|
|
127
|
-
};
|
|
128
|
-
export type ResultResponse_result_exportRichMediaRecipientsResult = {
|
|
129
|
-
type: 'exportRichMediaRecipientsResult';
|
|
130
|
-
data: ExportRichMediaRecipientsResult;
|
|
131
|
-
};
|
|
132
|
-
export type ResultResponse_result_exportBouncedEmailsResult = {
|
|
133
|
-
type: 'exportBouncedEmailsResult';
|
|
134
|
-
data: ExportBouncedEmailsResult;
|
|
135
|
-
};
|
|
136
|
-
export type ResultResponse_result_exportJourneysHistoryResult = {
|
|
137
|
-
type: 'exportJourneysHistoryResult';
|
|
138
|
-
data: ExportJourneysHistoryResult;
|
|
139
|
-
};
|
|
140
|
-
export type ResultResponse_result_exportJourneyPointUsersResult = {
|
|
141
|
-
type: 'exportJourneyPointUsersResult';
|
|
142
|
-
data: ExportJourneyPointUsersResult;
|
|
143
|
-
};
|
|
144
|
-
export type ResultResponse_result_exportMessageRecipientsResult = {
|
|
145
|
-
type: 'exportMessageRecipientsResult';
|
|
146
|
-
data: ExportMessageRecipientsResult;
|
|
147
|
-
};
|
|
148
|
-
export type ResultResponse_result_exportMessageClicksDevicesResult = {
|
|
149
|
-
type: 'exportMessageClicksDevicesResult';
|
|
150
|
-
data: ExportMessageClicksDevicesResult;
|
|
151
|
-
};
|
|
152
|
-
export type ResultResponse_result_exportMessageEventTriggeredDevicesResult = {
|
|
153
|
-
type: 'exportMessageEventTriggeredDevicesResult';
|
|
154
|
-
data: ExportMessageEventTriggeredDevicesResult;
|
|
155
|
-
};
|
|
156
|
-
export type ResultResponse_result_exportMessageErrorDevicesResult = {
|
|
157
|
-
type: 'exportMessageErrorDevicesResult';
|
|
158
|
-
data: ExportMessageErrorsDevicesResult;
|
|
159
|
-
};
|
|
160
|
-
export type ResultResponse_result_createSegmentFromMessageResult = {
|
|
161
|
-
type: 'createSegmentFromMessageResult';
|
|
162
|
-
data: CreateSegmentFromMessageResult;
|
|
163
|
-
};
|
|
164
|
-
export type ResultResponse_result = ResultResponse_result_failedTask | ResultResponse_result_trackingLogResult | ResultResponse_result_exportMessagesV2Result | ResultResponse_result_exportUnregisteredDevicesResult | ResultResponse_result_exportRichMediaFormValuesResult | ResultResponse_result_applySegmentToMessageResult | ResultResponse_result_exportApplySegmentToMessageResult | ResultResponse_result_calculateRetentionResult | ResultResponse_result_applySegmentToMetricResult | ResultResponse_result_exportRichMediaRecipientsResult | ResultResponse_result_exportBouncedEmailsResult | ResultResponse_result_exportJourneysHistoryResult | ResultResponse_result_exportJourneyPointUsersResult | ResultResponse_result_exportMessageRecipientsResult | ResultResponse_result_exportMessageClicksDevicesResult | ResultResponse_result_exportMessageEventTriggeredDevicesResult | ResultResponse_result_exportMessageErrorDevicesResult | ResultResponse_result_createSegmentFromMessageResult;
|
|
165
|
-
export type ResultResponse = {
|
|
166
|
-
type: TaskType;
|
|
167
|
-
result: ResultResponse_result;
|
|
168
|
-
};
|
|
169
|
-
export type GetLastTasksRequest = {
|
|
170
|
-
type: TaskType;
|
|
171
|
-
application: string;
|
|
172
|
-
limit: number;
|
|
173
|
-
messageId: number;
|
|
174
|
-
};
|
|
175
|
-
export type TaskInfo_args_trackingLogCsv = {
|
|
176
|
-
type: 'trackingLogCsv';
|
|
177
|
-
data: TrackingLogCSVArgs;
|
|
178
|
-
};
|
|
179
|
-
export type TaskInfo_args_exportMessagesV2 = {
|
|
180
|
-
type: 'exportMessagesV2';
|
|
181
|
-
data: ExportMessagesV2Args;
|
|
182
|
-
};
|
|
183
|
-
export type TaskInfo_args_exportUnregisteredDevices = {
|
|
184
|
-
type: 'exportUnregisteredDevices';
|
|
185
|
-
data: ExportUnregisteredDevicesArgs;
|
|
186
|
-
};
|
|
187
|
-
export type TaskInfo_args_exportRichMediaFormValues = {
|
|
188
|
-
type: 'exportRichMediaFormValues';
|
|
189
|
-
data: ExportRichMediaFormValuesArgs;
|
|
190
|
-
};
|
|
191
|
-
export type TaskInfo_args_applySegmentToMessage = {
|
|
192
|
-
type: 'applySegmentToMessage';
|
|
193
|
-
data: ApplySegmentToMessageArgs;
|
|
194
|
-
};
|
|
195
|
-
export type TaskInfo_args_exportRichMediaRecipients = {
|
|
196
|
-
type: 'exportRichMediaRecipients';
|
|
197
|
-
data: ExportRichMediaRecipientsArgs;
|
|
198
|
-
};
|
|
199
|
-
export type TaskInfo_args_exportJourneysHistory = {
|
|
200
|
-
type: 'exportJourneysHistory';
|
|
201
|
-
data: ExportJourneysHistoryArgs;
|
|
202
|
-
};
|
|
203
|
-
export type TaskInfo_args = TaskInfo_args_trackingLogCsv | TaskInfo_args_exportMessagesV2 | TaskInfo_args_exportUnregisteredDevices | TaskInfo_args_exportRichMediaFormValues | TaskInfo_args_applySegmentToMessage | TaskInfo_args_exportRichMediaRecipients | TaskInfo_args_exportJourneysHistory;
|
|
204
|
-
export type TaskInfo_result_failedTask = {
|
|
205
|
-
type: 'failedTask';
|
|
206
|
-
data: TaskFailed;
|
|
207
|
-
};
|
|
208
|
-
export type TaskInfo_result_trackingLogResult = {
|
|
209
|
-
type: 'trackingLogResult';
|
|
210
|
-
data: TrackingLogCSVResult;
|
|
211
|
-
};
|
|
212
|
-
export type TaskInfo_result_exportMessagesV2Result = {
|
|
213
|
-
type: 'exportMessagesV2Result';
|
|
214
|
-
data: ExportMessagesV2Result;
|
|
215
|
-
};
|
|
216
|
-
export type TaskInfo_result_exportUnregisteredDevicesResult = {
|
|
217
|
-
type: 'exportUnregisteredDevicesResult';
|
|
218
|
-
data: ExportUnregisteredDevicesResult;
|
|
219
|
-
};
|
|
220
|
-
export type TaskInfo_result_exportRichMediaFormValuesResult = {
|
|
221
|
-
type: 'exportRichMediaFormValuesResult';
|
|
222
|
-
data: ExportRichMediaFormValuesResult;
|
|
223
|
-
};
|
|
224
|
-
export type TaskInfo_result_applySegmentToMessageResult = {
|
|
225
|
-
type: 'applySegmentToMessageResult';
|
|
226
|
-
data: ApplySegmentToMessageResult;
|
|
227
|
-
};
|
|
228
|
-
export type TaskInfo_result_exportRichMediaRecipientsResult = {
|
|
229
|
-
type: 'exportRichMediaRecipientsResult';
|
|
230
|
-
data: ExportRichMediaRecipientsResult;
|
|
231
|
-
};
|
|
232
|
-
export type TaskInfo_result_exportJourneysHistoryResult = {
|
|
233
|
-
type: 'exportJourneysHistoryResult';
|
|
234
|
-
data: ExportJourneysHistoryResult;
|
|
235
|
-
};
|
|
236
|
-
export type TaskInfo_result = TaskInfo_result_failedTask | TaskInfo_result_trackingLogResult | TaskInfo_result_exportMessagesV2Result | TaskInfo_result_exportUnregisteredDevicesResult | TaskInfo_result_exportRichMediaFormValuesResult | TaskInfo_result_applySegmentToMessageResult | TaskInfo_result_exportRichMediaRecipientsResult | TaskInfo_result_exportJourneysHistoryResult;
|
|
237
|
-
export type TaskInfo = {
|
|
238
|
-
id: number;
|
|
239
|
-
timestamp: string;
|
|
240
|
-
status: Status;
|
|
241
|
-
exportSegment: Record<string, string>;
|
|
242
|
-
args: TaskInfo_args;
|
|
243
|
-
result: TaskInfo_result;
|
|
244
|
-
};
|
|
245
|
-
export type GetLastTasksResponse = {
|
|
246
|
-
tasks: TaskInfo[];
|
|
247
|
-
};
|
|
248
|
-
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV' | 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES' | 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION' | 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE';
|
|
249
|
-
export type TaskFailed = {};
|
|
250
|
-
export type TrackingLogCSVArgs = {
|
|
251
|
-
messageId: number;
|
|
252
|
-
messageCode: string;
|
|
253
|
-
campaignCode: string;
|
|
254
|
-
hwid: string;
|
|
255
|
-
dateFrom: string;
|
|
256
|
-
dateTo: string;
|
|
257
|
-
userId: string;
|
|
258
|
-
applicationCode: string;
|
|
259
|
-
limit: number;
|
|
260
|
-
};
|
|
261
|
-
export type TrackingLogCSVResult = {
|
|
262
|
-
file: string;
|
|
263
|
-
};
|
|
264
|
-
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';
|
|
265
|
-
export type Source = 'SOURCE_UNSPECIFIED' | 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM' | 'TWITTER';
|
|
266
|
-
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';
|
|
267
|
-
export type ApplySegmentExportType = 'APPLY_SEGMENT_EXPORT_TYPE_UNSPECIFIED' | 'ALL' | 'OPEN' | 'NOT_OPEN';
|
|
268
|
-
export type DateRange = {
|
|
269
|
-
dateFrom: string;
|
|
270
|
-
dateTo: string;
|
|
271
|
-
};
|
|
272
|
-
export type GetMessageHistoryFilters = {
|
|
273
|
-
statuses: MessageStatus[];
|
|
274
|
-
platforms: number[];
|
|
275
|
-
sentDate: DateRange;
|
|
276
|
-
createdDate: DateRange;
|
|
277
|
-
createdVia: Source[];
|
|
278
|
-
segments: string[];
|
|
279
|
-
campaigns: string[];
|
|
280
|
-
messageId: number;
|
|
281
|
-
messageCode: string;
|
|
282
|
-
};
|
|
283
|
-
export type ExportMessagesV2Args = {
|
|
284
|
-
search: string;
|
|
285
|
-
applicationCode: string;
|
|
286
|
-
appGroupCode: string;
|
|
287
|
-
filters: GetMessageHistoryFilters;
|
|
288
|
-
properties: ExportMessageProperty[];
|
|
289
|
-
};
|
|
290
|
-
export type ExportMessagesV2Result = {
|
|
291
|
-
file: string;
|
|
292
|
-
};
|
|
293
|
-
export type ExportUnregisteredDevicesArgs = {
|
|
294
|
-
applicationCode: string;
|
|
295
|
-
timestampFrom: string;
|
|
296
|
-
timestampTo: string;
|
|
297
|
-
};
|
|
298
|
-
export type ExportUnregisteredDevicesResult = {
|
|
299
|
-
file: string;
|
|
300
|
-
};
|
|
301
|
-
export type ExportRichMediaFormValuesArgs = {
|
|
302
|
-
applicationCode: string;
|
|
303
|
-
richMediaCode: string;
|
|
304
|
-
elementId: string;
|
|
305
|
-
};
|
|
306
|
-
export type ExportRichMediaFormValuesResult = {
|
|
307
|
-
file: string;
|
|
308
|
-
};
|
|
309
|
-
export type ApplySegmentToMessageArgs = {
|
|
310
|
-
application: string;
|
|
311
|
-
filter: string;
|
|
312
|
-
messageId: number;
|
|
313
|
-
};
|
|
314
|
-
export type MessageMetric = {
|
|
315
|
-
sends: number;
|
|
316
|
-
opens: number;
|
|
317
|
-
ctr: number;
|
|
318
|
-
platform: number;
|
|
319
|
-
};
|
|
320
|
-
export type ApplySegmentToMessageResult = {
|
|
321
|
-
metrics: MessageMetric[];
|
|
322
|
-
};
|
|
323
|
-
export type ApplySegmentToMessageLastTaskParams = {
|
|
324
|
-
messageId: number;
|
|
325
|
-
};
|
|
326
|
-
export type ExportApplySegmentToMessageArgs = {
|
|
327
|
-
application: string;
|
|
328
|
-
filter: string;
|
|
329
|
-
messageId: number;
|
|
330
|
-
};
|
|
331
|
-
export type ExportApplySegmentToMessageResult = {
|
|
332
|
-
file: string;
|
|
333
|
-
};
|
|
334
|
-
export type CalculateRetentionArgs = {
|
|
335
|
-
application: string;
|
|
336
|
-
dateFrom: Date;
|
|
337
|
-
dateTo: Date;
|
|
338
|
-
initialEvent: string;
|
|
339
|
-
targetEvent: string;
|
|
340
|
-
};
|
|
341
|
-
export type CalculateRetentionResult_Row = {
|
|
342
|
-
cells: number[];
|
|
343
|
-
};
|
|
344
|
-
export type CalculateRetentionResult = {
|
|
345
|
-
dates: Date[];
|
|
346
|
-
initialEventTriggered: number[];
|
|
347
|
-
rowsCount: CalculateRetentionResult_Row[];
|
|
348
|
-
rowsPercent: CalculateRetentionResult_Row[];
|
|
349
|
-
linearChartData: number[];
|
|
350
|
-
};
|
|
351
|
-
export type ExportRichMediaRecipientsArgs_RichMediaSendChannel = 'RichMediaSendChannel_UNDEFINED' | 'IN_APP' | 'CJ' | 'PUSH';
|
|
352
|
-
export type ExportRichMediaRecipientsArgs_RichMediaFilters = {
|
|
353
|
-
dateFrom: Date;
|
|
354
|
-
dateTo: Date;
|
|
355
|
-
sendChannels: ExportRichMediaRecipientsArgs_RichMediaSendChannel[];
|
|
356
|
-
platforms: number[];
|
|
357
|
-
messageCode: string;
|
|
358
|
-
campaignCode: string;
|
|
359
|
-
inAppCode: string;
|
|
360
|
-
};
|
|
361
|
-
export type ExportRichMediaRecipientsArgs = {
|
|
362
|
-
applicationCode: string;
|
|
363
|
-
richMediaCode: string;
|
|
364
|
-
filters: ExportRichMediaRecipientsArgs_RichMediaFilters;
|
|
365
|
-
};
|
|
366
|
-
export type ExportRichMediaRecipientsResult = {
|
|
367
|
-
file: string;
|
|
368
|
-
};
|
|
369
|
-
export type SegmentMetricType = 'SegmentMetricType_UNKNOWN' | 'EventTriggeredTimeseries';
|
|
370
|
-
export type ApplySegmentToMetricArgs = {
|
|
371
|
-
application: string;
|
|
372
|
-
filter: string;
|
|
373
|
-
event: string;
|
|
374
|
-
metricType: SegmentMetricType;
|
|
375
|
-
dateFrom: string;
|
|
376
|
-
dateTo: string;
|
|
377
|
-
};
|
|
378
|
-
export type TimeseriesRow = {
|
|
379
|
-
timestamp: string;
|
|
380
|
-
platform: number;
|
|
381
|
-
value: number;
|
|
382
|
-
};
|
|
383
|
-
export type ApplySegmentToMetricResult_EventTriggeredTimeseries = {
|
|
384
|
-
rows: TimeseriesRow[];
|
|
385
|
-
};
|
|
386
|
-
export type ApplySegmentToMetricResult_result_eventTriggeredTimeseries = {
|
|
387
|
-
type: 'eventTriggeredTimeseries';
|
|
388
|
-
data: ApplySegmentToMetricResult_EventTriggeredTimeseries;
|
|
389
|
-
};
|
|
390
|
-
export type ApplySegmentToMetricResult_result = ApplySegmentToMetricResult_result_eventTriggeredTimeseries;
|
|
391
|
-
export type ApplySegmentToMetricResult = {
|
|
392
|
-
file: string;
|
|
393
|
-
result: ApplySegmentToMetricResult_result;
|
|
394
|
-
};
|
|
395
|
-
export type ExportBouncedEmailsArgs_Type = 'all' | 'complaints' | 'soft_bounces' | 'hard_bounces';
|
|
396
|
-
export type ExportBouncedEmailsArgs = {
|
|
397
|
-
messageId: number;
|
|
398
|
-
campaign: string;
|
|
399
|
-
application: string;
|
|
400
|
-
type: ExportBouncedEmailsArgs_Type;
|
|
401
|
-
dateFrom: Date;
|
|
402
|
-
dateTo: Date;
|
|
403
|
-
};
|
|
404
|
-
export type ExportBouncedEmailsResult = {
|
|
405
|
-
file: string;
|
|
406
|
-
};
|
|
407
|
-
export type ExportJourneysHistoryArgs = {
|
|
408
|
-
application: string;
|
|
409
|
-
filterTitle: string;
|
|
410
|
-
categories: string[];
|
|
411
|
-
statuses: number[];
|
|
412
|
-
campaignTypes: number[];
|
|
413
|
-
dateFrom: Date;
|
|
414
|
-
dateTo: Date;
|
|
415
|
-
};
|
|
416
|
-
export type ExportJourneysHistoryResult = {
|
|
417
|
-
file: string;
|
|
418
|
-
};
|
|
419
|
-
export type ExportJourneyPointUsersArgs = {
|
|
420
|
-
journeyUuid: string;
|
|
421
|
-
pointUuid: string;
|
|
422
|
-
dateFrom: Date;
|
|
423
|
-
dateTo: Date;
|
|
424
|
-
};
|
|
425
|
-
export type ExportJourneyPointUsersResult = {
|
|
426
|
-
file: string;
|
|
427
|
-
};
|
|
428
|
-
export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens';
|
|
429
|
-
export type ExportMessageRecipientsArgs = {
|
|
430
|
-
messageId: number;
|
|
431
|
-
campaign: string;
|
|
432
|
-
application: string;
|
|
433
|
-
type: ExportMessageRecipientsArgs_Type;
|
|
434
|
-
dateFrom: Date;
|
|
435
|
-
dateTo: Date;
|
|
436
|
-
};
|
|
437
|
-
export type ExportMessageRecipientsResult = {
|
|
438
|
-
file: string;
|
|
439
|
-
};
|
|
440
|
-
export type ExportMessageClicksDevicesArgs = {
|
|
441
|
-
messageId: number;
|
|
442
|
-
campaign: string;
|
|
443
|
-
linkTemplate: string;
|
|
444
|
-
application: string;
|
|
445
|
-
dateFrom: Date;
|
|
446
|
-
dateTo: Date;
|
|
447
|
-
};
|
|
448
|
-
export type ExportMessageClicksDevicesResult = {
|
|
449
|
-
file: string;
|
|
450
|
-
};
|
|
451
|
-
export type ExportMessageEventTriggeredDevicesArgs = {
|
|
452
|
-
messageId: number;
|
|
453
|
-
campaign: string;
|
|
454
|
-
event: string;
|
|
455
|
-
application: string;
|
|
456
|
-
dateFrom: Date;
|
|
457
|
-
dateTo: Date;
|
|
458
|
-
};
|
|
459
|
-
export type ExportMessageEventTriggeredDevicesResult = {
|
|
460
|
-
file: string;
|
|
461
|
-
};
|
|
462
|
-
export type ExportMessageErrorsDevicesArgs = {
|
|
463
|
-
messageId: number;
|
|
464
|
-
campaign: string;
|
|
465
|
-
statusCode: number;
|
|
466
|
-
application: string;
|
|
467
|
-
platform: number;
|
|
468
|
-
dateFrom: Date;
|
|
469
|
-
dateTo: Date;
|
|
470
|
-
};
|
|
471
|
-
export type ExportMessageErrorsDevicesResult = {
|
|
472
|
-
file: string;
|
|
473
|
-
};
|
|
474
|
-
export type CreateSegmentFromMessageArgs_Type = 'send_devices' | 'delivered_devices' | 'opened_devices' | 'link_clicked_devices' | 'event_triggered_devices' | 'send_with_error_devices' | 'send_with_email_error_devices';
|
|
475
|
-
export type CreateSegmentFromMessageArgs_EmailErrorType = 'complaints' | 'soft_bounces' | 'hard_bounces';
|
|
476
|
-
export type CreateSegmentFromMessageArgs = {
|
|
477
|
-
messageId: number;
|
|
478
|
-
campaign: string;
|
|
479
|
-
statusCode: number;
|
|
480
|
-
linkTemplate: string;
|
|
481
|
-
event: string;
|
|
482
|
-
application: string;
|
|
483
|
-
type: CreateSegmentFromMessageArgs_Type;
|
|
484
|
-
emailErrorType: CreateSegmentFromMessageArgs_EmailErrorType;
|
|
485
|
-
dateFrom: Date;
|
|
486
|
-
dateTo: Date;
|
|
487
|
-
};
|
|
488
|
-
export type CreateSegmentFromMessageResult = {
|
|
489
|
-
segment: string;
|
|
490
|
-
};
|
|
File without changes
|