@pushwoosh/rpc-v2-http-api-data 0.1.417 → 0.1.418

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
@@ -5136,6 +5136,10 @@ export const data = {
5136
5136
  "type": {
5137
5137
  "type": "pushwoosh.export_messages.v2.TaskType"
5138
5138
  },
5139
+ "types": {
5140
+ "type": "pushwoosh.export_messages.v2.TaskType",
5141
+ "array": true
5142
+ },
5139
5143
  "application": {
5140
5144
  "type": "string"
5141
5145
  },
@@ -5144,6 +5148,9 @@ export const data = {
5144
5148
  },
5145
5149
  "messageId": {
5146
5150
  "type": "number"
5151
+ },
5152
+ "campaign": {
5153
+ "type": "string"
5147
5154
  }
5148
5155
  }
5149
5156
  },
@@ -5184,6 +5191,21 @@ export const data = {
5184
5191
  "exportJourneysHistory": {
5185
5192
  "type": "pushwoosh.export_messages.v2.ExportJourneysHistoryArgs"
5186
5193
  },
5194
+ "exportMessageRecipients": {
5195
+ "type": "pushwoosh.export_messages.v2.ExportMessageRecipientsArgs"
5196
+ },
5197
+ "exportMessageClicksDevices": {
5198
+ "type": "pushwoosh.export_messages.v2.ExportMessageClicksDevicesArgs"
5199
+ },
5200
+ "exportMessageEventTriggeredDevices": {
5201
+ "type": "pushwoosh.export_messages.v2.ExportMessageEventTriggeredDevicesArgs"
5202
+ },
5203
+ "exportMessageErrorsDevices": {
5204
+ "type": "pushwoosh.export_messages.v2.ExportMessageErrorsDevicesArgs"
5205
+ },
5206
+ "createSegmentFromMessage": {
5207
+ "type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs"
5208
+ },
5187
5209
  "failedTask": {
5188
5210
  "type": "pushwoosh.export_messages.v2.TaskFailed"
5189
5211
  },
@@ -5207,6 +5229,21 @@ export const data = {
5207
5229
  },
5208
5230
  "exportJourneysHistoryResult": {
5209
5231
  "type": "pushwoosh.export_messages.v2.ExportJourneysHistoryResult"
5232
+ },
5233
+ "exportMessageRecipientsResult": {
5234
+ "type": "pushwoosh.export_messages.v2.ExportMessageRecipientsResult"
5235
+ },
5236
+ "exportMessageClicksDevicesResult": {
5237
+ "type": "pushwoosh.export_messages.v2.ExportMessageClicksDevicesResult"
5238
+ },
5239
+ "exportMessageEventTriggeredDevicesResult": {
5240
+ "type": "pushwoosh.export_messages.v2.ExportMessageEventTriggeredDevicesResult"
5241
+ },
5242
+ "exportMessageErrorsDevicesResult": {
5243
+ "type": "pushwoosh.export_messages.v2.ExportMessageErrorsDevicesResult"
5244
+ },
5245
+ "createSegmentFromMessageResult": {
5246
+ "type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult"
5210
5247
  }
5211
5248
  },
5212
5249
  "oneofs": {
@@ -5218,7 +5255,12 @@ export const data = {
5218
5255
  "exportRichMediaFormValues",
5219
5256
  "applySegmentToMessage",
5220
5257
  "exportRichMediaRecipients",
5221
- "exportJourneysHistory"
5258
+ "exportJourneysHistory",
5259
+ "exportMessageRecipients",
5260
+ "exportMessageClicksDevices",
5261
+ "exportMessageEventTriggeredDevices",
5262
+ "exportMessageErrorsDevices",
5263
+ "createSegmentFromMessage"
5222
5264
  ]
5223
5265
  },
5224
5266
  "result": {
@@ -5230,7 +5272,12 @@ export const data = {
5230
5272
  "exportRichMediaFormValuesResult",
5231
5273
  "applySegmentToMessageResult",
5232
5274
  "exportRichMediaRecipientsResult",
5233
- "exportJourneysHistoryResult"
5275
+ "exportJourneysHistoryResult",
5276
+ "exportMessageRecipientsResult",
5277
+ "exportMessageClicksDevicesResult",
5278
+ "exportMessageEventTriggeredDevicesResult",
5279
+ "exportMessageErrorsDevicesResult",
5280
+ "createSegmentFromMessageResult"
5234
5281
  ]
5235
5282
  }
5236
5283
  }
@@ -6028,6 +6075,9 @@ export const data = {
6028
6075
  "application": {
6029
6076
  "type": "string"
6030
6077
  },
6078
+ "name": {
6079
+ "type": "string"
6080
+ },
6031
6081
  "type": {
6032
6082
  "type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs.Type"
6033
6083
  },
@@ -6045,7 +6095,10 @@ export const data = {
6045
6095
  "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult": {
6046
6096
  "type": "I",
6047
6097
  "fields": {
6048
- "segment": {
6098
+ "segmentCode": {
6099
+ "type": "string"
6100
+ },
6101
+ "segmentName": {
6049
6102
  "type": "string"
6050
6103
  }
6051
6104
  }
@@ -7599,6 +7652,15 @@ export const data = {
7599
7652
  }
7600
7653
  }
7601
7654
  },
7655
+ "pushwoosh.rpc_v2.messages.GetDeliveryReportResponse.MailboxErrorType": {
7656
+ "type": "E",
7657
+ "values": [
7658
+ "all",
7659
+ "complaints",
7660
+ "soft_bounces",
7661
+ "hard_bounces"
7662
+ ]
7663
+ },
7602
7664
  "pushwoosh.rpc_v2.messages.GetDeliveryReportResponse.DeliveryReport.ReportError": {
7603
7665
  "type": "I",
7604
7666
  "fields": {
@@ -7613,6 +7675,9 @@ export const data = {
7613
7675
  },
7614
7676
  "statusCode": {
7615
7677
  "type": "number"
7678
+ },
7679
+ "mailboxErrorType": {
7680
+ "type": "pushwoosh.rpc_v2.messages.GetDeliveryReportResponse.MailboxErrorType"
7616
7681
  }
7617
7682
  }
7618
7683
  },
package/messages.d.ts CHANGED
@@ -128,11 +128,13 @@ export type GetDeliveryReportRequest = {
128
128
  messageCode?: string;
129
129
  campaign?: string;
130
130
  };
131
+ export type GetDeliveryReportResponse_MailboxErrorType = 'all' | 'complaints' | 'soft_bounces' | 'hard_bounces';
131
132
  export type GetDeliveryReportResponse_DeliveryReport_ReportError = {
132
133
  error: string;
133
134
  tooltip: string;
134
135
  count: number;
135
136
  statusCode: number;
137
+ mailboxErrorType: GetDeliveryReportResponse_MailboxErrorType;
136
138
  };
137
139
  export type GetDeliveryReportResponse_DeliveryReport = {
138
140
  platform: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.417",
3
+ "version": "0.1.418",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -168,9 +168,11 @@ export type ResultResponse = {
168
168
  };
169
169
  export type GetLastTasksRequest = {
170
170
  type?: TaskType;
171
+ types?: TaskType[];
171
172
  application?: string;
172
173
  limit?: number;
173
174
  messageId?: number;
175
+ campaign?: string;
174
176
  };
175
177
  export type TaskInfo_args_trackingLogCsv = {
176
178
  type: 'trackingLogCsv';
@@ -200,7 +202,27 @@ export type TaskInfo_args_exportJourneysHistory = {
200
202
  type: 'exportJourneysHistory';
201
203
  data: ExportJourneysHistoryArgs;
202
204
  };
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;
205
+ export type TaskInfo_args_exportMessageRecipients = {
206
+ type: 'exportMessageRecipients';
207
+ data: ExportMessageRecipientsArgs;
208
+ };
209
+ export type TaskInfo_args_exportMessageClicksDevices = {
210
+ type: 'exportMessageClicksDevices';
211
+ data: ExportMessageClicksDevicesArgs;
212
+ };
213
+ export type TaskInfo_args_exportMessageEventTriggeredDevices = {
214
+ type: 'exportMessageEventTriggeredDevices';
215
+ data: ExportMessageEventTriggeredDevicesArgs;
216
+ };
217
+ export type TaskInfo_args_exportMessageErrorsDevices = {
218
+ type: 'exportMessageErrorsDevices';
219
+ data: ExportMessageErrorsDevicesArgs;
220
+ };
221
+ export type TaskInfo_args_createSegmentFromMessage = {
222
+ type: 'createSegmentFromMessage';
223
+ data: CreateSegmentFromMessageArgs;
224
+ };
225
+ 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 | TaskInfo_args_exportMessageRecipients | TaskInfo_args_exportMessageClicksDevices | TaskInfo_args_exportMessageEventTriggeredDevices | TaskInfo_args_exportMessageErrorsDevices | TaskInfo_args_createSegmentFromMessage;
204
226
  export type TaskInfo_result_failedTask = {
205
227
  type: 'failedTask';
206
228
  data: TaskFailed;
@@ -233,7 +255,27 @@ export type TaskInfo_result_exportJourneysHistoryResult = {
233
255
  type: 'exportJourneysHistoryResult';
234
256
  data: ExportJourneysHistoryResult;
235
257
  };
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;
258
+ export type TaskInfo_result_exportMessageRecipientsResult = {
259
+ type: 'exportMessageRecipientsResult';
260
+ data: ExportMessageRecipientsResult;
261
+ };
262
+ export type TaskInfo_result_exportMessageClicksDevicesResult = {
263
+ type: 'exportMessageClicksDevicesResult';
264
+ data: ExportMessageClicksDevicesResult;
265
+ };
266
+ export type TaskInfo_result_exportMessageEventTriggeredDevicesResult = {
267
+ type: 'exportMessageEventTriggeredDevicesResult';
268
+ data: ExportMessageEventTriggeredDevicesResult;
269
+ };
270
+ export type TaskInfo_result_exportMessageErrorsDevicesResult = {
271
+ type: 'exportMessageErrorsDevicesResult';
272
+ data: ExportMessageErrorsDevicesResult;
273
+ };
274
+ export type TaskInfo_result_createSegmentFromMessageResult = {
275
+ type: 'createSegmentFromMessageResult';
276
+ data: CreateSegmentFromMessageResult;
277
+ };
278
+ 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 | TaskInfo_result_exportMessageRecipientsResult | TaskInfo_result_exportMessageClicksDevicesResult | TaskInfo_result_exportMessageEventTriggeredDevicesResult | TaskInfo_result_exportMessageErrorsDevicesResult | TaskInfo_result_createSegmentFromMessageResult;
237
279
  export type TaskInfo = {
238
280
  id: number;
239
281
  timestamp: string;
@@ -480,11 +522,13 @@ export type CreateSegmentFromMessageArgs = {
480
522
  linkTemplate: string;
481
523
  event: string;
482
524
  application: string;
525
+ name: string;
483
526
  type: CreateSegmentFromMessageArgs_Type;
484
527
  emailErrorType: CreateSegmentFromMessageArgs_EmailErrorType;
485
528
  dateFrom: Date;
486
529
  dateTo: Date;
487
530
  };
488
531
  export type CreateSegmentFromMessageResult = {
489
- segment: string;
532
+ segmentCode: string;
533
+ segmentName: string;
490
534
  };