@pushwoosh/rpc-v2-http-api-data 0.1.669 → 0.1.671
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 +171 -16
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +53 -6
- package/pushwoosh_export_messages_v2.d.ts +33 -5
package/data.js
CHANGED
|
@@ -3514,7 +3514,9 @@ export const data = {
|
|
|
3514
3514
|
"SMS",
|
|
3515
3515
|
"WEB",
|
|
3516
3516
|
"WHATS_APP",
|
|
3517
|
-
"LINE"
|
|
3517
|
+
"LINE",
|
|
3518
|
+
"KAKAO",
|
|
3519
|
+
"TELEGRAM"
|
|
3518
3520
|
]
|
|
3519
3521
|
},
|
|
3520
3522
|
"pushwoosh.channels.messagingApi.v2.NotifySegment": {
|
|
@@ -3542,11 +3544,24 @@ export const data = {
|
|
|
3542
3544
|
"payload": {
|
|
3543
3545
|
"type": "pushwoosh.channels.messagingApi.v2.Payload"
|
|
3544
3546
|
},
|
|
3547
|
+
"emailPayload": {
|
|
3548
|
+
"type": "pushwoosh.channels.messagingApi.v2.EmailPayload"
|
|
3549
|
+
},
|
|
3545
3550
|
"frequencyCapping": {
|
|
3546
3551
|
"type": "pushwoosh.channels.messagingApi.v2.FrequencyCapping"
|
|
3547
3552
|
},
|
|
3548
3553
|
"campaign": {
|
|
3549
3554
|
"type": "string"
|
|
3555
|
+
},
|
|
3556
|
+
"sendRate": {
|
|
3557
|
+
"type": "pushwoosh.channels.messagingApi.v2.SendRate"
|
|
3558
|
+
},
|
|
3559
|
+
"metaData": {
|
|
3560
|
+
"type": "object"
|
|
3561
|
+
},
|
|
3562
|
+
"dynamicContentPlaceholders": {
|
|
3563
|
+
"type": "string",
|
|
3564
|
+
"mapKeyType": "string"
|
|
3550
3565
|
}
|
|
3551
3566
|
},
|
|
3552
3567
|
"oneofs": {
|
|
@@ -3556,6 +3571,12 @@ export const data = {
|
|
|
3556
3571
|
"expression",
|
|
3557
3572
|
"filterExpression"
|
|
3558
3573
|
]
|
|
3574
|
+
},
|
|
3575
|
+
"messagePayload": {
|
|
3576
|
+
"oneof": [
|
|
3577
|
+
"payload",
|
|
3578
|
+
"emailPayload"
|
|
3579
|
+
]
|
|
3559
3580
|
}
|
|
3560
3581
|
}
|
|
3561
3582
|
},
|
|
@@ -3614,6 +3635,9 @@ export const data = {
|
|
|
3614
3635
|
"payload": {
|
|
3615
3636
|
"type": "pushwoosh.channels.messagingApi.v2.Payload"
|
|
3616
3637
|
},
|
|
3638
|
+
"emailPayload": {
|
|
3639
|
+
"type": "pushwoosh.channels.messagingApi.v2.EmailPayload"
|
|
3640
|
+
},
|
|
3617
3641
|
"returnUnknownIdentifiers": {
|
|
3618
3642
|
"type": "boolean"
|
|
3619
3643
|
},
|
|
@@ -3622,6 +3646,16 @@ export const data = {
|
|
|
3622
3646
|
},
|
|
3623
3647
|
"campaign": {
|
|
3624
3648
|
"type": "string"
|
|
3649
|
+
},
|
|
3650
|
+
"sendRate": {
|
|
3651
|
+
"type": "pushwoosh.channels.messagingApi.v2.SendRate"
|
|
3652
|
+
},
|
|
3653
|
+
"metaData": {
|
|
3654
|
+
"type": "object"
|
|
3655
|
+
},
|
|
3656
|
+
"dynamicContentPlaceholders": {
|
|
3657
|
+
"type": "string",
|
|
3658
|
+
"mapKeyType": "string"
|
|
3625
3659
|
}
|
|
3626
3660
|
},
|
|
3627
3661
|
"oneofs": {
|
|
@@ -3632,6 +3666,12 @@ export const data = {
|
|
|
3632
3666
|
"users",
|
|
3633
3667
|
"pushTokens"
|
|
3634
3668
|
]
|
|
3669
|
+
},
|
|
3670
|
+
"messagePayload": {
|
|
3671
|
+
"oneof": [
|
|
3672
|
+
"payload",
|
|
3673
|
+
"emailPayload"
|
|
3674
|
+
]
|
|
3635
3675
|
}
|
|
3636
3676
|
}
|
|
3637
3677
|
},
|
|
@@ -3686,6 +3726,20 @@ export const data = {
|
|
|
3686
3726
|
}
|
|
3687
3727
|
}
|
|
3688
3728
|
},
|
|
3729
|
+
"pushwoosh.channels.messagingApi.v2.SendRate": {
|
|
3730
|
+
"type": "I",
|
|
3731
|
+
"fields": {
|
|
3732
|
+
"value": {
|
|
3733
|
+
"type": "number"
|
|
3734
|
+
},
|
|
3735
|
+
"bucket": {
|
|
3736
|
+
"type": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"avoid": {
|
|
3739
|
+
"type": "boolean"
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
},
|
|
3689
3743
|
"pushwoosh.channels.messagingApi.v2.DeliveryPriority": {
|
|
3690
3744
|
"type": "E",
|
|
3691
3745
|
"values": [
|
|
@@ -4270,13 +4324,17 @@ export const data = {
|
|
|
4270
4324
|
}
|
|
4271
4325
|
}
|
|
4272
4326
|
},
|
|
4273
|
-
"pushwoosh.channels.messagingApi.v2.Content.
|
|
4327
|
+
"pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesSMS": {
|
|
4274
4328
|
"type": "I",
|
|
4275
4329
|
"fields": {}
|
|
4276
4330
|
},
|
|
4277
|
-
"pushwoosh.channels.messagingApi.v2.Content.
|
|
4331
|
+
"pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram": {
|
|
4278
4332
|
"type": "I",
|
|
4279
|
-
"fields": {
|
|
4333
|
+
"fields": {
|
|
4334
|
+
"body": {
|
|
4335
|
+
"type": "string"
|
|
4336
|
+
}
|
|
4337
|
+
}
|
|
4280
4338
|
},
|
|
4281
4339
|
"pushwoosh.channels.messagingApi.v2.Content": {
|
|
4282
4340
|
"type": "I",
|
|
@@ -4313,6 +4371,9 @@ export const data = {
|
|
|
4313
4371
|
},
|
|
4314
4372
|
"windows": {
|
|
4315
4373
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesWindows"
|
|
4374
|
+
},
|
|
4375
|
+
"telegram": {
|
|
4376
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
|
|
4316
4377
|
}
|
|
4317
4378
|
}
|
|
4318
4379
|
},
|
|
@@ -4337,13 +4398,6 @@ export const data = {
|
|
|
4337
4398
|
"silent": {
|
|
4338
4399
|
"type": "boolean"
|
|
4339
4400
|
},
|
|
4340
|
-
"metaData": {
|
|
4341
|
-
"type": "object"
|
|
4342
|
-
},
|
|
4343
|
-
"dynamicContentPlaceholders": {
|
|
4344
|
-
"type": "string",
|
|
4345
|
-
"mapKeyType": "string"
|
|
4346
|
-
},
|
|
4347
4401
|
"customData": {
|
|
4348
4402
|
"type": "object"
|
|
4349
4403
|
},
|
|
@@ -4364,6 +4418,56 @@ export const data = {
|
|
|
4364
4418
|
}
|
|
4365
4419
|
}
|
|
4366
4420
|
},
|
|
4421
|
+
"pushwoosh.channels.messagingApi.v2.EmailPayload.Attachment": {
|
|
4422
|
+
"type": "I",
|
|
4423
|
+
"fields": {
|
|
4424
|
+
"name": {
|
|
4425
|
+
"type": "string"
|
|
4426
|
+
},
|
|
4427
|
+
"content": {
|
|
4428
|
+
"type": "string"
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
},
|
|
4432
|
+
"pushwoosh.channels.messagingApi.v2.EmailPayload.Address": {
|
|
4433
|
+
"type": "I",
|
|
4434
|
+
"fields": {
|
|
4435
|
+
"name": {
|
|
4436
|
+
"type": "string"
|
|
4437
|
+
},
|
|
4438
|
+
"email": {
|
|
4439
|
+
"type": "string"
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
},
|
|
4443
|
+
"pushwoosh.channels.messagingApi.v2.EmailPayload": {
|
|
4444
|
+
"type": "I",
|
|
4445
|
+
"fields": {
|
|
4446
|
+
"subject": {
|
|
4447
|
+
"type": "string",
|
|
4448
|
+
"mapKeyType": "string"
|
|
4449
|
+
},
|
|
4450
|
+
"body": {
|
|
4451
|
+
"type": "string"
|
|
4452
|
+
},
|
|
4453
|
+
"attachments": {
|
|
4454
|
+
"type": "pushwoosh.channels.messagingApi.v2.EmailPayload.Attachment",
|
|
4455
|
+
"array": true
|
|
4456
|
+
},
|
|
4457
|
+
"listUnsubscribe": {
|
|
4458
|
+
"type": "string"
|
|
4459
|
+
},
|
|
4460
|
+
"from": {
|
|
4461
|
+
"type": "pushwoosh.channels.messagingApi.v2.EmailPayload.Address"
|
|
4462
|
+
},
|
|
4463
|
+
"replyTo": {
|
|
4464
|
+
"type": "pushwoosh.channels.messagingApi.v2.EmailPayload.Address"
|
|
4465
|
+
},
|
|
4466
|
+
"emailTemplate": {
|
|
4467
|
+
"type": "string"
|
|
4468
|
+
}
|
|
4469
|
+
}
|
|
4470
|
+
},
|
|
4367
4471
|
"pushwoosh.rpc_v2.cloud_pages.CloudPagesService": {
|
|
4368
4472
|
"type": "S",
|
|
4369
4473
|
"key": "cloudPages",
|
|
@@ -6089,7 +6193,8 @@ export const data = {
|
|
|
6089
6193
|
"TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE",
|
|
6090
6194
|
"TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST",
|
|
6091
6195
|
"TASK_TYPE_EXPORT_JOURNEY_USERS_LIST",
|
|
6092
|
-
"TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS"
|
|
6196
|
+
"TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS",
|
|
6197
|
+
"TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS"
|
|
6093
6198
|
]
|
|
6094
6199
|
},
|
|
6095
6200
|
"pushwoosh.export_messages.v2.ExportRequest": {
|
|
@@ -6157,6 +6262,9 @@ export const data = {
|
|
|
6157
6262
|
},
|
|
6158
6263
|
"exportJourneyPointsStatistics": {
|
|
6159
6264
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointsStatisticsArgs"
|
|
6265
|
+
},
|
|
6266
|
+
"exportJourneyGoalUsers": {
|
|
6267
|
+
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersArgs"
|
|
6160
6268
|
}
|
|
6161
6269
|
},
|
|
6162
6270
|
"oneofs": {
|
|
@@ -6181,7 +6289,8 @@ export const data = {
|
|
|
6181
6289
|
"createSegmentFromMessage",
|
|
6182
6290
|
"updateSegmentInsightsList",
|
|
6183
6291
|
"exportJourneyUsersList",
|
|
6184
|
-
"exportJourneyPointsStatistics"
|
|
6292
|
+
"exportJourneyPointsStatistics",
|
|
6293
|
+
"exportJourneyGoalUsers"
|
|
6185
6294
|
]
|
|
6186
6295
|
}
|
|
6187
6296
|
}
|
|
@@ -6310,6 +6419,9 @@ export const data = {
|
|
|
6310
6419
|
},
|
|
6311
6420
|
"exportJourneyPointsStatisticsResult": {
|
|
6312
6421
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointsStatisticsResult"
|
|
6422
|
+
},
|
|
6423
|
+
"exportJourneyGoalUsersResult": {
|
|
6424
|
+
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersResult"
|
|
6313
6425
|
}
|
|
6314
6426
|
},
|
|
6315
6427
|
"oneofs": {
|
|
@@ -6335,7 +6447,8 @@ export const data = {
|
|
|
6335
6447
|
"createSegmentFromMessageResult",
|
|
6336
6448
|
"updateSegmentInsightsListResult",
|
|
6337
6449
|
"exportJourneyUsersListResult",
|
|
6338
|
-
"exportJourneyPointsStatisticsResult"
|
|
6450
|
+
"exportJourneyPointsStatisticsResult",
|
|
6451
|
+
"exportJourneyGoalUsersResult"
|
|
6339
6452
|
]
|
|
6340
6453
|
}
|
|
6341
6454
|
}
|
|
@@ -6364,6 +6477,12 @@ export const data = {
|
|
|
6364
6477
|
},
|
|
6365
6478
|
"messageCode": {
|
|
6366
6479
|
"type": "string"
|
|
6480
|
+
},
|
|
6481
|
+
"journey": {
|
|
6482
|
+
"type": "string"
|
|
6483
|
+
},
|
|
6484
|
+
"event": {
|
|
6485
|
+
"type": "string"
|
|
6367
6486
|
}
|
|
6368
6487
|
}
|
|
6369
6488
|
},
|
|
@@ -6427,6 +6546,9 @@ export const data = {
|
|
|
6427
6546
|
"exportJourneyPointsStatistics": {
|
|
6428
6547
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointsStatisticsArgs"
|
|
6429
6548
|
},
|
|
6549
|
+
"exportJourneyGoalUsers": {
|
|
6550
|
+
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersArgs"
|
|
6551
|
+
},
|
|
6430
6552
|
"failedTask": {
|
|
6431
6553
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
6432
6554
|
},
|
|
@@ -6477,6 +6599,9 @@ export const data = {
|
|
|
6477
6599
|
},
|
|
6478
6600
|
"exportJourneyPointsStatisticsResult": {
|
|
6479
6601
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointsStatisticsResult"
|
|
6602
|
+
},
|
|
6603
|
+
"exportJourneyGoalUsersResult": {
|
|
6604
|
+
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersResult"
|
|
6480
6605
|
}
|
|
6481
6606
|
},
|
|
6482
6607
|
"oneofs": {
|
|
@@ -6497,7 +6622,8 @@ export const data = {
|
|
|
6497
6622
|
"updateSegmentInsightsList",
|
|
6498
6623
|
"exportBouncedEmails",
|
|
6499
6624
|
"exportJourneyUsersList",
|
|
6500
|
-
"exportJourneyPointsStatistics"
|
|
6625
|
+
"exportJourneyPointsStatistics",
|
|
6626
|
+
"exportJourneyGoalUsers"
|
|
6501
6627
|
]
|
|
6502
6628
|
},
|
|
6503
6629
|
"result": {
|
|
@@ -6518,7 +6644,8 @@ export const data = {
|
|
|
6518
6644
|
"updateSegmentInsightsListResult",
|
|
6519
6645
|
"exportBouncedEmailsResult",
|
|
6520
6646
|
"exportJourneyUsersListResult",
|
|
6521
|
-
"exportJourneyPointsStatisticsResult"
|
|
6647
|
+
"exportJourneyPointsStatisticsResult",
|
|
6648
|
+
"exportJourneyGoalUsersResult"
|
|
6522
6649
|
]
|
|
6523
6650
|
}
|
|
6524
6651
|
}
|
|
@@ -7405,6 +7532,34 @@ export const data = {
|
|
|
7405
7532
|
}
|
|
7406
7533
|
}
|
|
7407
7534
|
},
|
|
7535
|
+
"pushwoosh.export_messages.v2.ExportJourneyGoalUsersArgs": {
|
|
7536
|
+
"type": "I",
|
|
7537
|
+
"fields": {
|
|
7538
|
+
"application": {
|
|
7539
|
+
"type": "string"
|
|
7540
|
+
},
|
|
7541
|
+
"journey": {
|
|
7542
|
+
"type": "string"
|
|
7543
|
+
},
|
|
7544
|
+
"event": {
|
|
7545
|
+
"type": "string"
|
|
7546
|
+
},
|
|
7547
|
+
"dateFrom": {
|
|
7548
|
+
"type": "Date"
|
|
7549
|
+
},
|
|
7550
|
+
"dateTo": {
|
|
7551
|
+
"type": "Date"
|
|
7552
|
+
}
|
|
7553
|
+
}
|
|
7554
|
+
},
|
|
7555
|
+
"pushwoosh.export_messages.v2.ExportJourneyGoalUsersResult": {
|
|
7556
|
+
"type": "I",
|
|
7557
|
+
"fields": {
|
|
7558
|
+
"file": {
|
|
7559
|
+
"type": "string"
|
|
7560
|
+
}
|
|
7561
|
+
}
|
|
7562
|
+
},
|
|
7408
7563
|
"pushwoosh.rpc_v2.filters.FiltersService": {
|
|
7409
7564
|
"type": "S",
|
|
7410
7565
|
"key": "filters",
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export type NotifyResult = {
|
|
|
34
34
|
messageCode: string;
|
|
35
35
|
unknownIdentifiers: string[];
|
|
36
36
|
};
|
|
37
|
-
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE';
|
|
37
|
+
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE' | 'KAKAO' | 'TELEGRAM';
|
|
38
38
|
export type NotifySegment_target_code = {
|
|
39
39
|
type: 'code';
|
|
40
40
|
data: string;
|
|
@@ -48,14 +48,26 @@ export type NotifySegment_target_filterExpression = {
|
|
|
48
48
|
data: pushwoosh_objects_filters_v1_FilterExpression;
|
|
49
49
|
};
|
|
50
50
|
export type NotifySegment_target = NotifySegment_target_code | NotifySegment_target_expression | NotifySegment_target_filterExpression;
|
|
51
|
+
export type NotifySegment_messagePayload_payload = {
|
|
52
|
+
type: 'payload';
|
|
53
|
+
data: Payload;
|
|
54
|
+
};
|
|
55
|
+
export type NotifySegment_messagePayload_emailPayload = {
|
|
56
|
+
type: 'emailPayload';
|
|
57
|
+
data: EmailPayload;
|
|
58
|
+
};
|
|
59
|
+
export type NotifySegment_messagePayload = NotifySegment_messagePayload_payload | NotifySegment_messagePayload_emailPayload;
|
|
51
60
|
export type NotifySegment = {
|
|
52
61
|
schedule: Schedule;
|
|
53
62
|
application: string;
|
|
54
63
|
platforms: Platform[];
|
|
55
|
-
payload: Payload;
|
|
56
64
|
frequencyCapping: FrequencyCapping;
|
|
57
65
|
campaign: string;
|
|
66
|
+
sendRate: SendRate;
|
|
67
|
+
metaData: object;
|
|
68
|
+
dynamicContentPlaceholders: Record<string, string>;
|
|
58
69
|
target: NotifySegment_target;
|
|
70
|
+
messagePayload: NotifySegment_messagePayload;
|
|
59
71
|
};
|
|
60
72
|
export type NotifyTransactional_HwidsList = {
|
|
61
73
|
list: string[];
|
|
@@ -83,15 +95,27 @@ export type NotifyTransactional_target_pushTokens = {
|
|
|
83
95
|
data: NotifyTransactional_PushTokensList;
|
|
84
96
|
};
|
|
85
97
|
export type NotifyTransactional_target = NotifyTransactional_target_testDevices | NotifyTransactional_target_hwids | NotifyTransactional_target_users | NotifyTransactional_target_pushTokens;
|
|
98
|
+
export type NotifyTransactional_messagePayload_payload = {
|
|
99
|
+
type: 'payload';
|
|
100
|
+
data: Payload;
|
|
101
|
+
};
|
|
102
|
+
export type NotifyTransactional_messagePayload_emailPayload = {
|
|
103
|
+
type: 'emailPayload';
|
|
104
|
+
data: EmailPayload;
|
|
105
|
+
};
|
|
106
|
+
export type NotifyTransactional_messagePayload = NotifyTransactional_messagePayload_payload | NotifyTransactional_messagePayload_emailPayload;
|
|
86
107
|
export type NotifyTransactional = {
|
|
87
108
|
schedule: Schedule;
|
|
88
109
|
application: string;
|
|
89
110
|
platforms: Platform[];
|
|
90
|
-
payload: Payload;
|
|
91
111
|
returnUnknownIdentifiers: boolean;
|
|
92
112
|
frequencyCapping: FrequencyCapping;
|
|
93
113
|
campaign: string;
|
|
114
|
+
sendRate: SendRate;
|
|
115
|
+
metaData: object;
|
|
116
|
+
dynamicContentPlaceholders: Record<string, string>;
|
|
94
117
|
target: NotifyTransactional_target;
|
|
118
|
+
messagePayload: NotifyTransactional_messagePayload;
|
|
95
119
|
};
|
|
96
120
|
export type Schedule_PastTimezonesBehaviour = 'PAST_TIMEZONES_BEHAVIOUR_DEFAULT' | 'PAST_TIMEZONES_BEHAVIOUR_SEND_IMMEDIATELY' | 'PAST_TIMEZONES_BEHAVIOUR_DO_NOT_SEND' | 'PAST_TIMEZONES_BEHAVIOUR_NEXT_DAY';
|
|
97
121
|
export type Schedule_sendDate_at = {
|
|
@@ -114,6 +138,11 @@ export type FrequencyCapping = {
|
|
|
114
138
|
exclude: boolean;
|
|
115
139
|
avoid: boolean;
|
|
116
140
|
};
|
|
141
|
+
export type SendRate = {
|
|
142
|
+
value: number;
|
|
143
|
+
bucket: string;
|
|
144
|
+
avoid: boolean;
|
|
145
|
+
};
|
|
117
146
|
export type DeliveryPriority = 'NORMAL' | 'HIGH';
|
|
118
147
|
export type NotificationPriority = 'PRIORITY_UNSPECIFIED' | 'PRIORITY_MIN' | 'PRIORITY_LOW' | 'PRIORITY_DEFAULT' | 'PRIORITY_HIGH' | 'PRIORITY_MAX';
|
|
119
148
|
export type LiveActivity = {
|
|
@@ -326,8 +355,10 @@ export type Content_PlatformPropertiesWindows = {
|
|
|
326
355
|
timeToLive: Duration;
|
|
327
356
|
content: Content_PlatformPropertiesWindows_content;
|
|
328
357
|
};
|
|
329
|
-
export type Content_PlatformPropertiesEmail = {};
|
|
330
358
|
export type Content_PlatformPropertiesSMS = {};
|
|
359
|
+
export type Content_PlatformPropertiesTelegram = {
|
|
360
|
+
body: string;
|
|
361
|
+
};
|
|
331
362
|
export type Content = {
|
|
332
363
|
ios: Content_PlatformPropertiesIos;
|
|
333
364
|
android: Content_PlatformPropertiesAndroid;
|
|
@@ -340,6 +371,7 @@ export type Content = {
|
|
|
340
371
|
huaweiAndroid: Content_PlatformPropertiesHuaweiAndroid;
|
|
341
372
|
ie: Content_PlatformPropertiesIE;
|
|
342
373
|
windows: Content_PlatformPropertiesWindows;
|
|
374
|
+
telegram: Content_PlatformPropertiesTelegram;
|
|
343
375
|
};
|
|
344
376
|
export type LocalizedContent = {
|
|
345
377
|
localizedContent: Record<string, Content>;
|
|
@@ -355,10 +387,25 @@ export type Payload_kind_silent = {
|
|
|
355
387
|
export type Payload_kind = Payload_kind_content | Payload_kind_silent;
|
|
356
388
|
export type Payload = {
|
|
357
389
|
preset: string;
|
|
358
|
-
metaData: object;
|
|
359
|
-
dynamicContentPlaceholders: Record<string, string>;
|
|
360
390
|
customData: object;
|
|
361
391
|
openAction: OpenAction;
|
|
362
392
|
openActions: Record<number, OpenAction>;
|
|
363
393
|
kind: Payload_kind;
|
|
364
394
|
};
|
|
395
|
+
export type EmailPayload_Attachment = {
|
|
396
|
+
name: string;
|
|
397
|
+
content: string;
|
|
398
|
+
};
|
|
399
|
+
export type EmailPayload_Address = {
|
|
400
|
+
name: string;
|
|
401
|
+
email: string;
|
|
402
|
+
};
|
|
403
|
+
export type EmailPayload = {
|
|
404
|
+
subject: Record<string, string>;
|
|
405
|
+
body: string;
|
|
406
|
+
attachments: EmailPayload_Attachment[];
|
|
407
|
+
listUnsubscribe: string;
|
|
408
|
+
from: EmailPayload_Address;
|
|
409
|
+
replyTo: EmailPayload_Address;
|
|
410
|
+
emailTemplate: string;
|
|
411
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS';
|
|
1
|
+
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' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS';
|
|
2
2
|
export type ExportRequest_args_trackingLogCsv = {
|
|
3
3
|
type: 'trackingLogCsv';
|
|
4
4
|
data: TrackingLogCSVArgs;
|
|
@@ -79,7 +79,11 @@ export type ExportRequest_args_exportJourneyPointsStatistics = {
|
|
|
79
79
|
type: 'exportJourneyPointsStatistics';
|
|
80
80
|
data: ExportJourneyPointsStatisticsArgs;
|
|
81
81
|
};
|
|
82
|
-
export type
|
|
82
|
+
export type ExportRequest_args_exportJourneyGoalUsers = {
|
|
83
|
+
type: 'exportJourneyGoalUsers';
|
|
84
|
+
data: ExportJourneyGoalUsersArgs;
|
|
85
|
+
};
|
|
86
|
+
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 | ExportRequest_args_updateSegmentInsightsList | ExportRequest_args_exportJourneyUsersList | ExportRequest_args_exportJourneyPointsStatistics | ExportRequest_args_exportJourneyGoalUsers;
|
|
83
87
|
export type ExportRequest = {
|
|
84
88
|
type?: TaskType;
|
|
85
89
|
args: ExportRequest_args;
|
|
@@ -186,7 +190,11 @@ export type ResultResponse_result_exportJourneyPointsStatisticsResult = {
|
|
|
186
190
|
type: 'exportJourneyPointsStatisticsResult';
|
|
187
191
|
data: ExportJourneyPointsStatisticsResult;
|
|
188
192
|
};
|
|
189
|
-
export type
|
|
193
|
+
export type ResultResponse_result_exportJourneyGoalUsersResult = {
|
|
194
|
+
type: 'exportJourneyGoalUsersResult';
|
|
195
|
+
data: ExportJourneyGoalUsersResult;
|
|
196
|
+
};
|
|
197
|
+
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 | ResultResponse_result_updateSegmentInsightsListResult | ResultResponse_result_exportJourneyUsersListResult | ResultResponse_result_exportJourneyPointsStatisticsResult | ResultResponse_result_exportJourneyGoalUsersResult;
|
|
190
198
|
export type ResultResponse = {
|
|
191
199
|
type: TaskType;
|
|
192
200
|
result: ResultResponse_result;
|
|
@@ -199,6 +207,8 @@ export type GetLastTasksRequest = {
|
|
|
199
207
|
messageId?: number;
|
|
200
208
|
campaign?: string;
|
|
201
209
|
messageCode?: string;
|
|
210
|
+
journey?: string;
|
|
211
|
+
event?: string;
|
|
202
212
|
};
|
|
203
213
|
export type TaskInfo_args_trackingLogCsv = {
|
|
204
214
|
type: 'trackingLogCsv';
|
|
@@ -264,7 +274,11 @@ export type TaskInfo_args_exportJourneyPointsStatistics = {
|
|
|
264
274
|
type: 'exportJourneyPointsStatistics';
|
|
265
275
|
data: ExportJourneyPointsStatisticsArgs;
|
|
266
276
|
};
|
|
267
|
-
export type
|
|
277
|
+
export type TaskInfo_args_exportJourneyGoalUsers = {
|
|
278
|
+
type: 'exportJourneyGoalUsers';
|
|
279
|
+
data: ExportJourneyGoalUsersArgs;
|
|
280
|
+
};
|
|
281
|
+
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 | TaskInfo_args_updateSegmentInsightsList | TaskInfo_args_exportBouncedEmails | TaskInfo_args_exportJourneyUsersList | TaskInfo_args_exportJourneyPointsStatistics | TaskInfo_args_exportJourneyGoalUsers;
|
|
268
282
|
export type TaskInfo_result_failedTask = {
|
|
269
283
|
type: 'failedTask';
|
|
270
284
|
data: TaskFailed;
|
|
@@ -333,7 +347,11 @@ export type TaskInfo_result_exportJourneyPointsStatisticsResult = {
|
|
|
333
347
|
type: 'exportJourneyPointsStatisticsResult';
|
|
334
348
|
data: ExportJourneyPointsStatisticsResult;
|
|
335
349
|
};
|
|
336
|
-
export type
|
|
350
|
+
export type TaskInfo_result_exportJourneyGoalUsersResult = {
|
|
351
|
+
type: 'exportJourneyGoalUsersResult';
|
|
352
|
+
data: ExportJourneyGoalUsersResult;
|
|
353
|
+
};
|
|
354
|
+
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 | TaskInfo_result_updateSegmentInsightsListResult | TaskInfo_result_exportBouncedEmailsResult | TaskInfo_result_exportJourneyUsersListResult | TaskInfo_result_exportJourneyPointsStatisticsResult | TaskInfo_result_exportJourneyGoalUsersResult;
|
|
337
355
|
export type TaskInfo = {
|
|
338
356
|
id: number;
|
|
339
357
|
timestamp: string;
|
|
@@ -614,3 +632,13 @@ export type ExportJourneyPointsStatisticsArgs = {
|
|
|
614
632
|
export type ExportJourneyPointsStatisticsResult = {
|
|
615
633
|
file: string;
|
|
616
634
|
};
|
|
635
|
+
export type ExportJourneyGoalUsersArgs = {
|
|
636
|
+
application: string;
|
|
637
|
+
journey: string;
|
|
638
|
+
event: string;
|
|
639
|
+
dateFrom: Date;
|
|
640
|
+
dateTo: Date;
|
|
641
|
+
};
|
|
642
|
+
export type ExportJourneyGoalUsersResult = {
|
|
643
|
+
file: string;
|
|
644
|
+
};
|