@pushwoosh/rpc-v2-http-api-data 0.1.564 → 0.1.566
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 +74 -14
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +26 -6
package/data.js
CHANGED
|
@@ -3049,6 +3049,7 @@ export const data = {
|
|
|
3049
3049
|
"INVALID_CHROME_DURATION",
|
|
3050
3050
|
"INVALID_SAFARI_TIME_TO_LIVE",
|
|
3051
3051
|
"INVALID_AMAZON_TIME_TO_LIVE",
|
|
3052
|
+
"INVALID_XIAOMI_TIME_TO_LIVE",
|
|
3052
3053
|
"INVALID_IE_BADGE",
|
|
3053
3054
|
"PRESET_NOT_FOUND",
|
|
3054
3055
|
"FREQUENCY_CAPPING_NOT_ALLOWED",
|
|
@@ -3175,7 +3176,8 @@ export const data = {
|
|
|
3175
3176
|
"EMAIL",
|
|
3176
3177
|
"BAIDU_ANDROID",
|
|
3177
3178
|
"HUAWEI_ANDROID",
|
|
3178
|
-
"SMS"
|
|
3179
|
+
"SMS",
|
|
3180
|
+
"XIAOMI"
|
|
3179
3181
|
]
|
|
3180
3182
|
},
|
|
3181
3183
|
"pushwoosh.channels.messagingApi.v2.NotifySegment": {
|
|
@@ -3510,6 +3512,9 @@ export const data = {
|
|
|
3510
3512
|
"liveActivity": {
|
|
3511
3513
|
"type": "pushwoosh.channels.messagingApi.v2.LiveActivity"
|
|
3512
3514
|
},
|
|
3515
|
+
"openAction": {
|
|
3516
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3517
|
+
},
|
|
3513
3518
|
"inbox": {
|
|
3514
3519
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3515
3520
|
}
|
|
@@ -3569,6 +3574,9 @@ export const data = {
|
|
|
3569
3574
|
"groupId": {
|
|
3570
3575
|
"type": "string"
|
|
3571
3576
|
},
|
|
3577
|
+
"openAction": {
|
|
3578
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3579
|
+
},
|
|
3572
3580
|
"inbox": {
|
|
3573
3581
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3574
3582
|
}
|
|
@@ -3610,6 +3618,9 @@ export const data = {
|
|
|
3610
3618
|
"buttonUrl2": {
|
|
3611
3619
|
"type": "string"
|
|
3612
3620
|
},
|
|
3621
|
+
"openAction": {
|
|
3622
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3623
|
+
},
|
|
3613
3624
|
"inbox": {
|
|
3614
3625
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3615
3626
|
}
|
|
@@ -3630,6 +3641,9 @@ export const data = {
|
|
|
3630
3641
|
"rootParams": {
|
|
3631
3642
|
"type": "object"
|
|
3632
3643
|
},
|
|
3644
|
+
"openAction": {
|
|
3645
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3646
|
+
},
|
|
3633
3647
|
"inbox": {
|
|
3634
3648
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3635
3649
|
}
|
|
@@ -3654,6 +3668,9 @@ export const data = {
|
|
|
3654
3668
|
"type": "string",
|
|
3655
3669
|
"array": true
|
|
3656
3670
|
},
|
|
3671
|
+
"openAction": {
|
|
3672
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3673
|
+
},
|
|
3657
3674
|
"inbox": {
|
|
3658
3675
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3659
3676
|
}
|
|
@@ -3686,11 +3703,11 @@ export const data = {
|
|
|
3686
3703
|
"rootParams": {
|
|
3687
3704
|
"type": "object"
|
|
3688
3705
|
},
|
|
3706
|
+
"openAction": {
|
|
3707
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3708
|
+
},
|
|
3689
3709
|
"inbox": {
|
|
3690
3710
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3691
|
-
},
|
|
3692
|
-
"subtitle": {
|
|
3693
|
-
"type": "string"
|
|
3694
3711
|
}
|
|
3695
3712
|
}
|
|
3696
3713
|
},
|
|
@@ -3727,6 +3744,9 @@ export const data = {
|
|
|
3727
3744
|
"priority": {
|
|
3728
3745
|
"type": "pushwoosh.channels.messagingApi.v2.NotificationPriority"
|
|
3729
3746
|
},
|
|
3747
|
+
"openAction": {
|
|
3748
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3749
|
+
},
|
|
3730
3750
|
"inbox": {
|
|
3731
3751
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3732
3752
|
}
|
|
@@ -3786,6 +3806,9 @@ export const data = {
|
|
|
3786
3806
|
"groupId": {
|
|
3787
3807
|
"type": "string"
|
|
3788
3808
|
},
|
|
3809
|
+
"openAction": {
|
|
3810
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3811
|
+
},
|
|
3789
3812
|
"inbox": {
|
|
3790
3813
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3791
3814
|
}
|
|
@@ -3845,6 +3868,44 @@ export const data = {
|
|
|
3845
3868
|
"groupId": {
|
|
3846
3869
|
"type": "string"
|
|
3847
3870
|
},
|
|
3871
|
+
"openAction": {
|
|
3872
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3873
|
+
},
|
|
3874
|
+
"inbox": {
|
|
3875
|
+
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
},
|
|
3879
|
+
"pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesXiaomi": {
|
|
3880
|
+
"type": "I",
|
|
3881
|
+
"fields": {
|
|
3882
|
+
"title": {
|
|
3883
|
+
"type": "string"
|
|
3884
|
+
},
|
|
3885
|
+
"body": {
|
|
3886
|
+
"type": "string"
|
|
3887
|
+
},
|
|
3888
|
+
"timeToLive": {
|
|
3889
|
+
"type": "Duration"
|
|
3890
|
+
},
|
|
3891
|
+
"icon": {
|
|
3892
|
+
"type": "string"
|
|
3893
|
+
},
|
|
3894
|
+
"vibration": {
|
|
3895
|
+
"type": "boolean"
|
|
3896
|
+
},
|
|
3897
|
+
"sound": {
|
|
3898
|
+
"type": "string"
|
|
3899
|
+
},
|
|
3900
|
+
"rootParams": {
|
|
3901
|
+
"type": "object"
|
|
3902
|
+
},
|
|
3903
|
+
"groupId": {
|
|
3904
|
+
"type": "string"
|
|
3905
|
+
},
|
|
3906
|
+
"openAction": {
|
|
3907
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3908
|
+
},
|
|
3848
3909
|
"inbox": {
|
|
3849
3910
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
3850
3911
|
}
|
|
@@ -3859,8 +3920,8 @@ export const data = {
|
|
|
3859
3920
|
"iconBadge": {
|
|
3860
3921
|
"type": "string"
|
|
3861
3922
|
},
|
|
3862
|
-
"
|
|
3863
|
-
"type": "
|
|
3923
|
+
"openAction": {
|
|
3924
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3864
3925
|
},
|
|
3865
3926
|
"inbox": {
|
|
3866
3927
|
"type": "pushwoosh.channels.messagingApi.v2.Inbox"
|
|
@@ -3920,6 +3981,9 @@ export const data = {
|
|
|
3920
3981
|
},
|
|
3921
3982
|
"timeToLive": {
|
|
3922
3983
|
"type": "Duration"
|
|
3984
|
+
},
|
|
3985
|
+
"openAction": {
|
|
3986
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
3923
3987
|
}
|
|
3924
3988
|
},
|
|
3925
3989
|
"oneofs": {
|
|
@@ -3969,6 +4033,9 @@ export const data = {
|
|
|
3969
4033
|
"huaweiAndroid": {
|
|
3970
4034
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesHuaweiAndroid"
|
|
3971
4035
|
},
|
|
4036
|
+
"xiaomi": {
|
|
4037
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesXiaomi"
|
|
4038
|
+
},
|
|
3972
4039
|
"ie": {
|
|
3973
4040
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesIE"
|
|
3974
4041
|
},
|
|
@@ -4007,13 +4074,6 @@ export const data = {
|
|
|
4007
4074
|
},
|
|
4008
4075
|
"customData": {
|
|
4009
4076
|
"type": "object"
|
|
4010
|
-
},
|
|
4011
|
-
"openAction": {
|
|
4012
|
-
"type": "pushwoosh.channels.messagingApi.v2.OpenAction"
|
|
4013
|
-
},
|
|
4014
|
-
"openActions": {
|
|
4015
|
-
"type": "pushwoosh.channels.messagingApi.v2.OpenAction",
|
|
4016
|
-
"mapKeyType": "number"
|
|
4017
4077
|
}
|
|
4018
4078
|
},
|
|
4019
4079
|
"oneofs": {
|
|
@@ -5056,7 +5116,7 @@ export const data = {
|
|
|
5056
5116
|
"GetTotalStatistics": {
|
|
5057
5117
|
"request": "pushwoosh.rpc_v2.events.GetTotalStatisticsRequest",
|
|
5058
5118
|
"response": "pushwoosh.rpc_v2.events.GetTotalStatisticsResponse",
|
|
5059
|
-
"method": "
|
|
5119
|
+
"method": "post",
|
|
5060
5120
|
"path": "/api/events:getTotalStatistics"
|
|
5061
5121
|
}
|
|
5062
5122
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Duration } from './commonTypes';
|
|
2
2
|
import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
|
|
3
|
-
export type ErrorReason = 'ERROR_REASON_UNSPECIFIED' | 'EMPTY_REQUEST' | 'EMPTY_SCHEDULE' | 'EMPTY_SEND_DATE' | 'EMPTY_PAYLOAD' | 'SEND_DATE_TOO_FAR_IN_FUTURE' | 'EMPTY_TARGET' | 'SEGMENT_NOT_FOUND' | 'SEGLANG_ERROR' | 'EMPTY_APPLICATION' | 'APPLICATION_NOT_FOUND' | 'INVALID_PAST_TIMEZONES_BEHAVIOUR' | 'EMPTY_HWIDS_LIST' | 'TOO_MANY_HWIDS' | 'EMPTY_USERS_LIST' | 'TOO_MANY_USERS' | 'EMPTY_PUSH_TOKENS_LIST' | 'TOO_MANY_PUSH_TOKENS' | 'TEST_DEVICES_FALSE' | 'TEST_DEVICES_FOLLOW_USER_TIMEZONE' | 'APPLICATION_IS_REQUIRED_FOR_TRANSACTIONAL' | 'NO_RECIPIENTS_FOUND' | 'PAST_TIMEZONES_BEHAVIOUR_NOT_IMPLEMENTED' | 'NO_ACTIVE_TEST_DEVICES' | 'SILENT_UNSUPPORTED_PLATFORM' | 'INVALID_IOS_BADGE' | 'INVALID_ANDROID_BADGE' | 'INVALID_HUAWEI_ANDROID_BADGE' | 'INVALID_BAIDU_ANDROID_BADGE' | 'INVALID_LIVE_ACTIVITY' | 'INVALID_IOS_TIME_TO_LIVE' | 'INVALID_ANDROID_TIME_TO_LIVE' | 'INVALID_HUAWEI_ANDROID_TIME_TO_LIVE' | 'INVALID_BAIDU_ANDROID_TIME_TO_LIVE' | 'INVALID_IOS_INTERRUPTION_LEVEL' | 'INVALID_MAC_OS_BADGE' | 'INVALID_SAFARI_BADGE' | 'INVALID_MAC_OS_TIME_TO_LIVE' | 'INVALID_ANDROID_LED' | 'INVALID_HUAWEI_ANDROID_LED' | 'INVALID_BAIDU_ANDROID_LED' | 'INVALID_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_HUAWEI_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_BAIDU_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_ANDROID_PRIORITY' | 'INVALID_HUAWEI_ANDROID_PRIORITY' | 'INVALID_BAIDU_ANDROID_PRIORITY' | 'INVALID_CHROME_TIME_TO_LIVE' | 'INVALID_CHROME_DURATION' | 'INVALID_SAFARI_TIME_TO_LIVE' | 'INVALID_AMAZON_TIME_TO_LIVE' | 'INVALID_IE_BADGE' | 'PRESET_NOT_FOUND' | 'FREQUENCY_CAPPING_NOT_ALLOWED' | 'INVALID_FREQUENCY_CAPPING_DAYS' | 'INVALID_FREQUENCY_CAPPING_COUNT' | 'CAMPAIGN_NOT_FOUND' | 'INVALID_PLATFORMS' | 'DEEP_LINK_NOT_FOUND' | 'RICH_MEDIA_NOT_FOUND' | 'EMPTY_URL' | 'INVALID_WINDOWS_TIME_TO_LIVE' | 'INVALID_WINDOWS_CONTENT_BASE64' | 'INVALID_WINDOWS_CONTENT_XML' | 'INVALID_WINDOWS_TEMPLATE_NAME' | 'INVALID_WINDOWS_CONTENT_BODY_EMPTY';
|
|
3
|
+
export type ErrorReason = 'ERROR_REASON_UNSPECIFIED' | 'EMPTY_REQUEST' | 'EMPTY_SCHEDULE' | 'EMPTY_SEND_DATE' | 'EMPTY_PAYLOAD' | 'SEND_DATE_TOO_FAR_IN_FUTURE' | 'EMPTY_TARGET' | 'SEGMENT_NOT_FOUND' | 'SEGLANG_ERROR' | 'EMPTY_APPLICATION' | 'APPLICATION_NOT_FOUND' | 'INVALID_PAST_TIMEZONES_BEHAVIOUR' | 'EMPTY_HWIDS_LIST' | 'TOO_MANY_HWIDS' | 'EMPTY_USERS_LIST' | 'TOO_MANY_USERS' | 'EMPTY_PUSH_TOKENS_LIST' | 'TOO_MANY_PUSH_TOKENS' | 'TEST_DEVICES_FALSE' | 'TEST_DEVICES_FOLLOW_USER_TIMEZONE' | 'APPLICATION_IS_REQUIRED_FOR_TRANSACTIONAL' | 'NO_RECIPIENTS_FOUND' | 'PAST_TIMEZONES_BEHAVIOUR_NOT_IMPLEMENTED' | 'NO_ACTIVE_TEST_DEVICES' | 'SILENT_UNSUPPORTED_PLATFORM' | 'INVALID_IOS_BADGE' | 'INVALID_ANDROID_BADGE' | 'INVALID_HUAWEI_ANDROID_BADGE' | 'INVALID_BAIDU_ANDROID_BADGE' | 'INVALID_LIVE_ACTIVITY' | 'INVALID_IOS_TIME_TO_LIVE' | 'INVALID_ANDROID_TIME_TO_LIVE' | 'INVALID_HUAWEI_ANDROID_TIME_TO_LIVE' | 'INVALID_BAIDU_ANDROID_TIME_TO_LIVE' | 'INVALID_IOS_INTERRUPTION_LEVEL' | 'INVALID_MAC_OS_BADGE' | 'INVALID_SAFARI_BADGE' | 'INVALID_MAC_OS_TIME_TO_LIVE' | 'INVALID_ANDROID_LED' | 'INVALID_HUAWEI_ANDROID_LED' | 'INVALID_BAIDU_ANDROID_LED' | 'INVALID_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_HUAWEI_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_BAIDU_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_ANDROID_PRIORITY' | 'INVALID_HUAWEI_ANDROID_PRIORITY' | 'INVALID_BAIDU_ANDROID_PRIORITY' | 'INVALID_CHROME_TIME_TO_LIVE' | 'INVALID_CHROME_DURATION' | 'INVALID_SAFARI_TIME_TO_LIVE' | 'INVALID_AMAZON_TIME_TO_LIVE' | 'INVALID_XIAOMI_TIME_TO_LIVE' | 'INVALID_IE_BADGE' | 'PRESET_NOT_FOUND' | 'FREQUENCY_CAPPING_NOT_ALLOWED' | 'INVALID_FREQUENCY_CAPPING_DAYS' | 'INVALID_FREQUENCY_CAPPING_COUNT' | 'CAMPAIGN_NOT_FOUND' | 'INVALID_PLATFORMS' | 'DEEP_LINK_NOT_FOUND' | 'RICH_MEDIA_NOT_FOUND' | 'EMPTY_URL' | 'INVALID_WINDOWS_TIME_TO_LIVE' | 'INVALID_WINDOWS_CONTENT_BASE64' | 'INVALID_WINDOWS_CONTENT_XML' | 'INVALID_WINDOWS_TEMPLATE_NAME' | 'INVALID_WINDOWS_CONTENT_BODY_EMPTY';
|
|
4
4
|
export interface MessagingService {
|
|
5
5
|
Notify(request: NotifyRequest): Promise<NotifyResponse>;
|
|
6
6
|
NotifyBulk(request: NotifyBulkRequest): Promise<NotifyBulkResponse>;
|
|
@@ -35,7 +35,7 @@ export type NotifyResult = {
|
|
|
35
35
|
messageCode: string;
|
|
36
36
|
unknownIdentifiers: string[];
|
|
37
37
|
};
|
|
38
|
-
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS';
|
|
38
|
+
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'XIAOMI';
|
|
39
39
|
export type NotifySegment_target_code = {
|
|
40
40
|
type: 'code';
|
|
41
41
|
data: string;
|
|
@@ -179,6 +179,7 @@ export type Content_PlatformPropertiesIos = {
|
|
|
179
179
|
interruptionLevel: string;
|
|
180
180
|
rootParams: object;
|
|
181
181
|
liveActivity: LiveActivity;
|
|
182
|
+
openAction: OpenAction;
|
|
182
183
|
inbox: Inbox;
|
|
183
184
|
};
|
|
184
185
|
export type Content_PlatformPropertiesAndroid = {
|
|
@@ -199,6 +200,7 @@ export type Content_PlatformPropertiesAndroid = {
|
|
|
199
200
|
customIcon: string;
|
|
200
201
|
priority: NotificationPriority;
|
|
201
202
|
groupId: string;
|
|
203
|
+
openAction: OpenAction;
|
|
202
204
|
inbox: Inbox;
|
|
203
205
|
};
|
|
204
206
|
export type Content_PlatformPropertiesChrome = {
|
|
@@ -213,6 +215,7 @@ export type Content_PlatformPropertiesChrome = {
|
|
|
213
215
|
buttonUrl1: string;
|
|
214
216
|
buttonText2: string;
|
|
215
217
|
buttonUrl2: string;
|
|
218
|
+
openAction: OpenAction;
|
|
216
219
|
inbox: Inbox;
|
|
217
220
|
};
|
|
218
221
|
export type Content_PlatformPropertiesFirefox = {
|
|
@@ -220,6 +223,7 @@ export type Content_PlatformPropertiesFirefox = {
|
|
|
220
223
|
body: string;
|
|
221
224
|
icon: string;
|
|
222
225
|
rootParams: object;
|
|
226
|
+
openAction: OpenAction;
|
|
223
227
|
inbox: Inbox;
|
|
224
228
|
};
|
|
225
229
|
export type Content_PlatformPropertiesSafari = {
|
|
@@ -228,6 +232,7 @@ export type Content_PlatformPropertiesSafari = {
|
|
|
228
232
|
timeToLive: Duration;
|
|
229
233
|
action: string;
|
|
230
234
|
urlArguments: string[];
|
|
235
|
+
openAction: OpenAction;
|
|
231
236
|
inbox: Inbox;
|
|
232
237
|
};
|
|
233
238
|
export type Content_PlatformPropertiesMacOS = {
|
|
@@ -239,8 +244,8 @@ export type Content_PlatformPropertiesMacOS = {
|
|
|
239
244
|
soundEnabled: boolean;
|
|
240
245
|
badges: string;
|
|
241
246
|
rootParams: object;
|
|
247
|
+
openAction: OpenAction;
|
|
242
248
|
inbox: Inbox;
|
|
243
|
-
subtitle: string;
|
|
244
249
|
};
|
|
245
250
|
export type Content_PlatformPropertiesAmazon = {
|
|
246
251
|
title: string;
|
|
@@ -253,6 +258,7 @@ export type Content_PlatformPropertiesAmazon = {
|
|
|
253
258
|
icon: string;
|
|
254
259
|
customIcon: string;
|
|
255
260
|
priority: NotificationPriority;
|
|
261
|
+
openAction: OpenAction;
|
|
256
262
|
inbox: Inbox;
|
|
257
263
|
};
|
|
258
264
|
export type Content_PlatformPropertiesBaiduAndroid = {
|
|
@@ -273,6 +279,7 @@ export type Content_PlatformPropertiesBaiduAndroid = {
|
|
|
273
279
|
customIcon: string;
|
|
274
280
|
priority: NotificationPriority;
|
|
275
281
|
groupId: string;
|
|
282
|
+
openAction: OpenAction;
|
|
276
283
|
inbox: Inbox;
|
|
277
284
|
};
|
|
278
285
|
export type Content_PlatformPropertiesHuaweiAndroid = {
|
|
@@ -293,12 +300,25 @@ export type Content_PlatformPropertiesHuaweiAndroid = {
|
|
|
293
300
|
customIcon: string;
|
|
294
301
|
priority: NotificationPriority;
|
|
295
302
|
groupId: string;
|
|
303
|
+
openAction: OpenAction;
|
|
304
|
+
inbox: Inbox;
|
|
305
|
+
};
|
|
306
|
+
export type Content_PlatformPropertiesXiaomi = {
|
|
307
|
+
title: string;
|
|
308
|
+
body: string;
|
|
309
|
+
timeToLive: Duration;
|
|
310
|
+
icon: string;
|
|
311
|
+
vibration: boolean;
|
|
312
|
+
sound: string;
|
|
313
|
+
rootParams: object;
|
|
314
|
+
groupId: string;
|
|
315
|
+
openAction: OpenAction;
|
|
296
316
|
inbox: Inbox;
|
|
297
317
|
};
|
|
298
318
|
export type Content_PlatformPropertiesIE = {
|
|
299
319
|
title: string;
|
|
300
320
|
iconBadge: string;
|
|
301
|
-
|
|
321
|
+
openAction: OpenAction;
|
|
302
322
|
inbox: Inbox;
|
|
303
323
|
};
|
|
304
324
|
export type Content_PlatformPropertiesWindows_Raw = {
|
|
@@ -325,6 +345,7 @@ export type Content_PlatformPropertiesWindows = {
|
|
|
325
345
|
tag: string;
|
|
326
346
|
cache: boolean;
|
|
327
347
|
timeToLive: Duration;
|
|
348
|
+
openAction: OpenAction;
|
|
328
349
|
content: Content_PlatformPropertiesWindows_content;
|
|
329
350
|
};
|
|
330
351
|
export type Content_PlatformPropertiesEmail = {};
|
|
@@ -339,6 +360,7 @@ export type Content = {
|
|
|
339
360
|
firefox: Content_PlatformPropertiesFirefox;
|
|
340
361
|
baiduAndroid: Content_PlatformPropertiesBaiduAndroid;
|
|
341
362
|
huaweiAndroid: Content_PlatformPropertiesHuaweiAndroid;
|
|
363
|
+
xiaomi: Content_PlatformPropertiesXiaomi;
|
|
342
364
|
ie: Content_PlatformPropertiesIE;
|
|
343
365
|
windows: Content_PlatformPropertiesWindows;
|
|
344
366
|
};
|
|
@@ -359,7 +381,5 @@ export type Payload = {
|
|
|
359
381
|
metaData: object;
|
|
360
382
|
dynamicContentPlaceholders: Record<string, string>;
|
|
361
383
|
customData: object;
|
|
362
|
-
openAction: OpenAction;
|
|
363
|
-
openActions: Record<number, OpenAction>;
|
|
364
384
|
kind: Payload_kind;
|
|
365
385
|
};
|