@pushwoosh/rpc-v2-http-api-data 0.1.575 → 0.1.577

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
@@ -3049,7 +3049,6 @@ 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",
3053
3052
  "INVALID_IE_BADGE",
3054
3053
  "PRESET_NOT_FOUND",
3055
3054
  "FREQUENCY_CAPPING_NOT_ALLOWED",
@@ -3176,8 +3175,7 @@ export const data = {
3176
3175
  "EMAIL",
3177
3176
  "BAIDU_ANDROID",
3178
3177
  "HUAWEI_ANDROID",
3179
- "SMS",
3180
- "XIAOMI"
3178
+ "SMS"
3181
3179
  ]
3182
3180
  },
3183
3181
  "pushwoosh.channels.messagingApi.v2.NotifySegment": {
@@ -3512,9 +3510,6 @@ export const data = {
3512
3510
  "liveActivity": {
3513
3511
  "type": "pushwoosh.channels.messagingApi.v2.LiveActivity"
3514
3512
  },
3515
- "openAction": {
3516
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3517
- },
3518
3513
  "inbox": {
3519
3514
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3520
3515
  }
@@ -3574,9 +3569,6 @@ export const data = {
3574
3569
  "groupId": {
3575
3570
  "type": "string"
3576
3571
  },
3577
- "openAction": {
3578
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3579
- },
3580
3572
  "inbox": {
3581
3573
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3582
3574
  }
@@ -3618,9 +3610,6 @@ export const data = {
3618
3610
  "buttonUrl2": {
3619
3611
  "type": "string"
3620
3612
  },
3621
- "openAction": {
3622
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3623
- },
3624
3613
  "inbox": {
3625
3614
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3626
3615
  }
@@ -3641,9 +3630,6 @@ export const data = {
3641
3630
  "rootParams": {
3642
3631
  "type": "object"
3643
3632
  },
3644
- "openAction": {
3645
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3646
- },
3647
3633
  "inbox": {
3648
3634
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3649
3635
  }
@@ -3668,9 +3654,6 @@ export const data = {
3668
3654
  "type": "string",
3669
3655
  "array": true
3670
3656
  },
3671
- "openAction": {
3672
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3673
- },
3674
3657
  "inbox": {
3675
3658
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3676
3659
  }
@@ -3703,11 +3686,11 @@ export const data = {
3703
3686
  "rootParams": {
3704
3687
  "type": "object"
3705
3688
  },
3706
- "openAction": {
3707
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3708
- },
3709
3689
  "inbox": {
3710
3690
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3691
+ },
3692
+ "subtitle": {
3693
+ "type": "string"
3711
3694
  }
3712
3695
  }
3713
3696
  },
@@ -3744,9 +3727,6 @@ export const data = {
3744
3727
  "priority": {
3745
3728
  "type": "pushwoosh.channels.messagingApi.v2.NotificationPriority"
3746
3729
  },
3747
- "openAction": {
3748
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3749
- },
3750
3730
  "inbox": {
3751
3731
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3752
3732
  }
@@ -3806,9 +3786,6 @@ export const data = {
3806
3786
  "groupId": {
3807
3787
  "type": "string"
3808
3788
  },
3809
- "openAction": {
3810
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3811
- },
3812
3789
  "inbox": {
3813
3790
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3814
3791
  }
@@ -3868,44 +3845,6 @@ export const data = {
3868
3845
  "groupId": {
3869
3846
  "type": "string"
3870
3847
  },
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
- },
3909
3848
  "inbox": {
3910
3849
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
3911
3850
  }
@@ -3920,8 +3859,8 @@ export const data = {
3920
3859
  "iconBadge": {
3921
3860
  "type": "string"
3922
3861
  },
3923
- "openAction": {
3924
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3862
+ "body": {
3863
+ "type": "string"
3925
3864
  },
3926
3865
  "inbox": {
3927
3866
  "type": "pushwoosh.channels.messagingApi.v2.Inbox"
@@ -3981,9 +3920,6 @@ export const data = {
3981
3920
  },
3982
3921
  "timeToLive": {
3983
3922
  "type": "Duration"
3984
- },
3985
- "openAction": {
3986
- "type": "pushwoosh.channels.messagingApi.v2.OpenAction"
3987
3923
  }
3988
3924
  },
3989
3925
  "oneofs": {
@@ -4033,9 +3969,6 @@ export const data = {
4033
3969
  "huaweiAndroid": {
4034
3970
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesHuaweiAndroid"
4035
3971
  },
4036
- "xiaomi": {
4037
- "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesXiaomi"
4038
- },
4039
3972
  "ie": {
4040
3973
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesIE"
4041
3974
  },
@@ -4074,6 +4007,13 @@ export const data = {
4074
4007
  },
4075
4008
  "customData": {
4076
4009
  "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"
4077
4017
  }
4078
4018
  },
4079
4019
  "oneofs": {
@@ -7846,24 +7786,6 @@ export const data = {
7846
7786
  "type": "S",
7847
7787
  "key": "integrations",
7848
7788
  "methods": {
7849
- "GetPropertiesNames": {
7850
- "request": "pushwoosh.rpc_v2.integrations.GetPropertiesNamesRequest",
7851
- "response": "pushwoosh.rpc_v2.integrations.GetPropertiesNamesResponse",
7852
- "method": "get",
7853
- "path": "/api/integrations:get_properties_names"
7854
- },
7855
- "GetProperties": {
7856
- "request": "pushwoosh.rpc_v2.integrations.GetPropertiesRequest",
7857
- "response": "pushwoosh.rpc_v2.integrations.GetPropertiesResponse",
7858
- "method": "get",
7859
- "path": "/api/integrations:get_properties"
7860
- },
7861
- "CreateProperties": {
7862
- "request": "pushwoosh.rpc_v2.integrations.CreatePropertiesRequest",
7863
- "response": "pushwoosh.rpc_v2.integrations.CreatePropertiesResponse",
7864
- "method": "post",
7865
- "path": "/api/integrations:create_properties"
7866
- },
7867
7789
  "ListIntegrationsConfiguration": {
7868
7790
  "request": "pushwoosh.rpc_v2.integrations.ListIntegrationsConfigurationRequest",
7869
7791
  "response": "pushwoosh.rpc_v2.integrations.ListIntegrationsConfigurationResponse",
@@ -7923,62 +7845,6 @@ export const data = {
7923
7845
  "WEBHOOK"
7924
7846
  ]
7925
7847
  },
7926
- "pushwoosh.rpc_v2.integrations.GetPropertiesNamesRequest": {
7927
- "type": "I",
7928
- "fields": {
7929
- "integration": {
7930
- "type": "pushwoosh.rpc_v2.integrations.Integration"
7931
- }
7932
- }
7933
- },
7934
- "pushwoosh.rpc_v2.integrations.GetPropertiesNamesResponse": {
7935
- "type": "I",
7936
- "fields": {
7937
- "fields": {
7938
- "type": "string",
7939
- "array": true
7940
- }
7941
- }
7942
- },
7943
- "pushwoosh.rpc_v2.integrations.GetPropertiesRequest": {
7944
- "type": "I",
7945
- "fields": {
7946
- "application": {
7947
- "type": "string"
7948
- },
7949
- "integration": {
7950
- "type": "pushwoosh.rpc_v2.integrations.Integration"
7951
- }
7952
- }
7953
- },
7954
- "pushwoosh.rpc_v2.integrations.GetPropertiesResponse": {
7955
- "type": "I",
7956
- "fields": {
7957
- "fields": {
7958
- "type": "string",
7959
- "mapKeyType": "string"
7960
- }
7961
- }
7962
- },
7963
- "pushwoosh.rpc_v2.integrations.CreatePropertiesRequest": {
7964
- "type": "I",
7965
- "fields": {
7966
- "fields": {
7967
- "type": "string",
7968
- "mapKeyType": "string"
7969
- },
7970
- "application": {
7971
- "type": "string"
7972
- },
7973
- "integration": {
7974
- "type": "pushwoosh.rpc_v2.integrations.Integration"
7975
- }
7976
- }
7977
- },
7978
- "pushwoosh.rpc_v2.integrations.CreatePropertiesResponse": {
7979
- "type": "I",
7980
- "fields": {}
7981
- },
7982
7848
  "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
7983
7849
  "type": "I",
7984
7850
  "fields": {
package/integrations.d.ts CHANGED
@@ -1,7 +1,4 @@
1
1
  export interface IntegrationsService {
2
- GetPropertiesNames(request: GetPropertiesNamesRequest): Promise<GetPropertiesNamesResponse>;
3
- GetProperties(request: GetPropertiesRequest): Promise<GetPropertiesResponse>;
4
- CreateProperties(request: CreatePropertiesRequest): Promise<CreatePropertiesResponse>;
5
2
  ListIntegrationsConfiguration(request: ListIntegrationsConfigurationRequest): Promise<ListIntegrationsConfigurationResponse>;
6
3
  GetWebhookConfiguration(request: GetWebhookConfigurationRequest): Promise<GetWebhookConfigurationResponse>;
7
4
  CreateWebhookConfiguration(request: CreateWebhookConfigurationRequest): Promise<CreateWebhookConfigurationResponse>;
@@ -12,25 +9,6 @@ export interface IntegrationsService {
12
9
  ImportSegmentPiano(request: ImportSegmentPianoRequest): Promise<ImportSegmentPianoResponse>;
13
10
  }
14
11
  export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK';
15
- export type GetPropertiesNamesRequest = {
16
- integration?: Integration;
17
- };
18
- export type GetPropertiesNamesResponse = {
19
- fields: string[];
20
- };
21
- export type GetPropertiesRequest = {
22
- application?: string;
23
- integration?: Integration;
24
- };
25
- export type GetPropertiesResponse = {
26
- fields: Record<string, string>;
27
- };
28
- export type CreatePropertiesRequest = {
29
- fields?: Record<string, string>;
30
- application?: string;
31
- integration?: Integration;
32
- };
33
- export type CreatePropertiesResponse = {};
34
12
  export type ImportSegmentPianoRequest = {
35
13
  application?: string;
36
14
  segmentKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.575",
3
+ "version": "0.1.577",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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_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';
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';
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' | 'XIAOMI';
38
+ export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS';
39
39
  export type NotifySegment_target_code = {
40
40
  type: 'code';
41
41
  data: string;
@@ -179,7 +179,6 @@ export type Content_PlatformPropertiesIos = {
179
179
  interruptionLevel: string;
180
180
  rootParams: object;
181
181
  liveActivity: LiveActivity;
182
- openAction: OpenAction;
183
182
  inbox: Inbox;
184
183
  };
185
184
  export type Content_PlatformPropertiesAndroid = {
@@ -200,7 +199,6 @@ export type Content_PlatformPropertiesAndroid = {
200
199
  customIcon: string;
201
200
  priority: NotificationPriority;
202
201
  groupId: string;
203
- openAction: OpenAction;
204
202
  inbox: Inbox;
205
203
  };
206
204
  export type Content_PlatformPropertiesChrome = {
@@ -215,7 +213,6 @@ export type Content_PlatformPropertiesChrome = {
215
213
  buttonUrl1: string;
216
214
  buttonText2: string;
217
215
  buttonUrl2: string;
218
- openAction: OpenAction;
219
216
  inbox: Inbox;
220
217
  };
221
218
  export type Content_PlatformPropertiesFirefox = {
@@ -223,7 +220,6 @@ export type Content_PlatformPropertiesFirefox = {
223
220
  body: string;
224
221
  icon: string;
225
222
  rootParams: object;
226
- openAction: OpenAction;
227
223
  inbox: Inbox;
228
224
  };
229
225
  export type Content_PlatformPropertiesSafari = {
@@ -232,7 +228,6 @@ export type Content_PlatformPropertiesSafari = {
232
228
  timeToLive: Duration;
233
229
  action: string;
234
230
  urlArguments: string[];
235
- openAction: OpenAction;
236
231
  inbox: Inbox;
237
232
  };
238
233
  export type Content_PlatformPropertiesMacOS = {
@@ -244,8 +239,8 @@ export type Content_PlatformPropertiesMacOS = {
244
239
  soundEnabled: boolean;
245
240
  badges: string;
246
241
  rootParams: object;
247
- openAction: OpenAction;
248
242
  inbox: Inbox;
243
+ subtitle: string;
249
244
  };
250
245
  export type Content_PlatformPropertiesAmazon = {
251
246
  title: string;
@@ -258,7 +253,6 @@ export type Content_PlatformPropertiesAmazon = {
258
253
  icon: string;
259
254
  customIcon: string;
260
255
  priority: NotificationPriority;
261
- openAction: OpenAction;
262
256
  inbox: Inbox;
263
257
  };
264
258
  export type Content_PlatformPropertiesBaiduAndroid = {
@@ -279,7 +273,6 @@ export type Content_PlatformPropertiesBaiduAndroid = {
279
273
  customIcon: string;
280
274
  priority: NotificationPriority;
281
275
  groupId: string;
282
- openAction: OpenAction;
283
276
  inbox: Inbox;
284
277
  };
285
278
  export type Content_PlatformPropertiesHuaweiAndroid = {
@@ -300,25 +293,12 @@ export type Content_PlatformPropertiesHuaweiAndroid = {
300
293
  customIcon: string;
301
294
  priority: NotificationPriority;
302
295
  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;
316
296
  inbox: Inbox;
317
297
  };
318
298
  export type Content_PlatformPropertiesIE = {
319
299
  title: string;
320
300
  iconBadge: string;
321
- openAction: OpenAction;
301
+ body: string;
322
302
  inbox: Inbox;
323
303
  };
324
304
  export type Content_PlatformPropertiesWindows_Raw = {
@@ -345,7 +325,6 @@ export type Content_PlatformPropertiesWindows = {
345
325
  tag: string;
346
326
  cache: boolean;
347
327
  timeToLive: Duration;
348
- openAction: OpenAction;
349
328
  content: Content_PlatformPropertiesWindows_content;
350
329
  };
351
330
  export type Content_PlatformPropertiesEmail = {};
@@ -360,7 +339,6 @@ export type Content = {
360
339
  firefox: Content_PlatformPropertiesFirefox;
361
340
  baiduAndroid: Content_PlatformPropertiesBaiduAndroid;
362
341
  huaweiAndroid: Content_PlatformPropertiesHuaweiAndroid;
363
- xiaomi: Content_PlatformPropertiesXiaomi;
364
342
  ie: Content_PlatformPropertiesIE;
365
343
  windows: Content_PlatformPropertiesWindows;
366
344
  };
@@ -381,5 +359,7 @@ export type Payload = {
381
359
  metaData: object;
382
360
  dynamicContentPlaceholders: Record<string, string>;
383
361
  customData: object;
362
+ openAction: OpenAction;
363
+ openActions: Record<number, OpenAction>;
384
364
  kind: Payload_kind;
385
365
  };