@pushwoosh/rpc-v2-http-api-data 0.1.404 → 0.1.406

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/accounts.d.ts CHANGED
@@ -218,22 +218,23 @@ export type EmailContent_Raw = {
218
218
  html: Record<string, string>;
219
219
  };
220
220
  export type EmailContent_kind_unlayer = {
221
- $: 'unlayer';
222
- unlayer: EmailContent_Unlayer;
221
+ type: 'unlayer';
222
+ data: EmailContent_Unlayer;
223
223
  };
224
224
  export type EmailContent_kind_pushwoosh = {
225
- $: 'pushwoosh';
226
- pushwoosh: EmailContent_Pushwoosh;
225
+ type: 'pushwoosh';
226
+ data: EmailContent_Pushwoosh;
227
227
  };
228
228
  export type EmailContent_kind_raw = {
229
- $: 'raw';
230
- raw: EmailContent_Raw;
229
+ type: 'raw';
230
+ data: EmailContent_Raw;
231
231
  };
232
232
  export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw;
233
233
  export type EmailContent = {
234
234
  senderInfo: EmailContent_SenderInfo;
235
235
  subject: Record<string, string>;
236
- } & EmailContent_kind;
236
+ kind: EmailContent_kind;
237
+ };
237
238
  export type GetEmailTemplateRequest = {
238
239
  code?: string;
239
240
  };
package/api_tokens.d.ts CHANGED
@@ -82,31 +82,33 @@ export type GrantRightOnApplicationRequest_MessageGroups = {
82
82
  applicationGroupCode: string;
83
83
  };
84
84
  export type GrantRightOnApplicationRequest_kind_modifyAccount = {
85
- $: 'modifyAccount';
86
- modifyAccount: GrantRightOnApplicationRequest_ModifyAccount;
85
+ type: 'modifyAccount';
86
+ data: GrantRightOnApplicationRequest_ModifyAccount;
87
87
  };
88
88
  export type GrantRightOnApplicationRequest_kind_modifyApplication = {
89
- $: 'modifyApplication';
90
- modifyApplication: GrantRightOnApplicationRequest_ModifyApplication;
89
+ type: 'modifyApplication';
90
+ data: GrantRightOnApplicationRequest_ModifyApplication;
91
91
  };
92
92
  export type GrantRightOnApplicationRequest_kind_modifyTag = {
93
- $: 'modifyTag';
94
- modifyTag: GrantRightOnApplicationRequest_ModifyTag;
93
+ type: 'modifyTag';
94
+ data: GrantRightOnApplicationRequest_ModifyTag;
95
95
  };
96
96
  export type GrantRightOnApplicationRequest_kind_modifyMessage = {
97
- $: 'modifyMessage';
98
- modifyMessage: GrantRightOnApplicationRequest_ModifyMessage;
97
+ type: 'modifyMessage';
98
+ data: GrantRightOnApplicationRequest_ModifyMessage;
99
99
  };
100
100
  export type GrantRightOnApplicationRequest_kind_messageApplications = {
101
- $: 'messageApplications';
102
- messageApplications: GrantRightOnApplicationRequest_MessageApplications;
101
+ type: 'messageApplications';
102
+ data: GrantRightOnApplicationRequest_MessageApplications;
103
103
  };
104
104
  export type GrantRightOnApplicationRequest_kind_messageGroups = {
105
- $: 'messageGroups';
106
- messageGroups: GrantRightOnApplicationRequest_MessageGroups;
105
+ type: 'messageGroups';
106
+ data: GrantRightOnApplicationRequest_MessageGroups;
107
107
  };
108
108
  export type GrantRightOnApplicationRequest_kind = GrantRightOnApplicationRequest_kind_modifyAccount | GrantRightOnApplicationRequest_kind_modifyApplication | GrantRightOnApplicationRequest_kind_modifyTag | GrantRightOnApplicationRequest_kind_modifyMessage | GrantRightOnApplicationRequest_kind_messageApplications | GrantRightOnApplicationRequest_kind_messageGroups;
109
- export type GrantRightOnApplicationRequest = {} & GrantRightOnApplicationRequest_kind;
109
+ export type GrantRightOnApplicationRequest = {
110
+ kind: GrantRightOnApplicationRequest_kind;
111
+ };
110
112
  export type GrantRightOnApplicationResponse = {};
111
113
  export type GrantMessageRightAllRequest = {
112
114
  code?: string;
@@ -71,57 +71,58 @@ export type FirefoxConfiguration = {
71
71
  firefoxFcmServiceAccount: string;
72
72
  };
73
73
  export type ConfigurationRequest_kind_iosTokenConfiguration = {
74
- $: 'iosTokenConfiguration';
75
- iosTokenConfiguration: IOSTokenConfiguration;
74
+ type: 'iosTokenConfiguration';
75
+ data: IOSTokenConfiguration;
76
76
  };
77
77
  export type ConfigurationRequest_kind_androidConfiguration = {
78
- $: 'androidConfiguration';
79
- androidConfiguration: AndroidConfiguration;
78
+ type: 'androidConfiguration';
79
+ data: AndroidConfiguration;
80
80
  };
81
81
  export type ConfigurationRequest_kind_chromeConfiguration = {
82
- $: 'chromeConfiguration';
83
- chromeConfiguration: ChromeConfiguration;
82
+ type: 'chromeConfiguration';
83
+ data: ChromeConfiguration;
84
84
  };
85
85
  export type ConfigurationRequest_kind_emailConfiguration = {
86
- $: 'emailConfiguration';
87
- emailConfiguration: EmailConfiguration;
86
+ type: 'emailConfiguration';
87
+ data: EmailConfiguration;
88
88
  };
89
89
  export type ConfigurationRequest_kind_xiaomiConfiguration = {
90
- $: 'xiaomiConfiguration';
91
- xiaomiConfiguration: XiaomiConfiguration;
90
+ type: 'xiaomiConfiguration';
91
+ data: XiaomiConfiguration;
92
92
  };
93
93
  export type ConfigurationRequest_kind_huaweiConfiguration = {
94
- $: 'huaweiConfiguration';
95
- huaweiConfiguration: HuaweiConfiguration;
94
+ type: 'huaweiConfiguration';
95
+ data: HuaweiConfiguration;
96
96
  };
97
97
  export type ConfigurationRequest_kind_safariConfiguration = {
98
- $: 'safariConfiguration';
99
- safariConfiguration: SafariConfiguration;
98
+ type: 'safariConfiguration';
99
+ data: SafariConfiguration;
100
100
  };
101
101
  export type ConfigurationRequest_kind_windowsConfiguration = {
102
- $: 'windowsConfiguration';
103
- windowsConfiguration: WindowsConfiguration;
102
+ type: 'windowsConfiguration';
103
+ data: WindowsConfiguration;
104
104
  };
105
105
  export type ConfigurationRequest_kind_amazonConfiguration = {
106
- $: 'amazonConfiguration';
107
- amazonConfiguration: AmazonConfiguration;
106
+ type: 'amazonConfiguration';
107
+ data: AmazonConfiguration;
108
108
  };
109
109
  export type ConfigurationRequest_kind_osxConfiguration = {
110
- $: 'osxConfiguration';
111
- osxConfiguration: OSXConfiguration;
110
+ type: 'osxConfiguration';
111
+ data: OSXConfiguration;
112
112
  };
113
113
  export type ConfigurationRequest_kind_iosConfiguration = {
114
- $: 'iosConfiguration';
115
- iosConfiguration: IOSConfiguration;
114
+ type: 'iosConfiguration';
115
+ data: IOSConfiguration;
116
116
  };
117
117
  export type ConfigurationRequest_kind_firefoxConfiguration = {
118
- $: 'firefoxConfiguration';
119
- firefoxConfiguration: FirefoxConfiguration;
118
+ type: 'firefoxConfiguration';
119
+ data: FirefoxConfiguration;
120
120
  };
121
121
  export type ConfigurationRequest_kind = ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_xiaomiConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_firefoxConfiguration;
122
122
  export type ConfigurationRequest = {
123
123
  code?: string;
124
- } & ConfigurationRequest_kind;
124
+ kind: ConfigurationRequest_kind;
125
+ };
125
126
  export type ConfigurationResponse = {};
126
127
  export type EnablePlatformRequest = {
127
128
  code?: string;
package/events.d.ts CHANGED
@@ -91,31 +91,33 @@ export type ListOfValues = {
91
91
  values: string[];
92
92
  };
93
93
  export type Value_kind_string = {
94
- $: 'string';
95
- string: string;
94
+ type: 'string';
95
+ data: string;
96
96
  };
97
97
  export type Value_kind_integer = {
98
- $: 'integer';
99
- integer: number;
98
+ type: 'integer';
99
+ data: number;
100
100
  };
101
101
  export type Value_kind_float = {
102
- $: 'float';
103
- float: number;
102
+ type: 'float';
103
+ data: number;
104
104
  };
105
105
  export type Value_kind_bool = {
106
- $: 'bool';
107
- bool: boolean;
106
+ type: 'bool';
107
+ data: boolean;
108
108
  };
109
109
  export type Value_kind_list = {
110
- $: 'list';
111
- list: ListOfValues;
110
+ type: 'list';
111
+ data: ListOfValues;
112
112
  };
113
113
  export type Value_kind_timestamp = {
114
- $: 'timestamp';
115
- timestamp: Date;
114
+ type: 'timestamp';
115
+ data: Date;
116
116
  };
117
117
  export type Value_kind = Value_kind_string | Value_kind_integer | Value_kind_float | Value_kind_bool | Value_kind_list | Value_kind_timestamp;
118
- export type Value = {} & Value_kind;
118
+ export type Value = {
119
+ kind: Value_kind;
120
+ };
119
121
  export type AttributeCondition_Operator = 'OPERATOR_UNSPECIFIED' | 'EQ' | 'NOT_EQ' | 'GTE' | 'LTE' | 'BETWEEN' | 'IN' | 'NOT_IN';
120
122
  export type AttributeCondition = {
121
123
  name: string;
package/filters.d.ts CHANGED
@@ -38,12 +38,12 @@ export type Filter_Compiling = {
38
38
  totalWhatsapp: number;
39
39
  };
40
40
  export type Filter_type_compiling = {
41
- $: 'compiling';
42
- compiling: Filter_Compiling;
41
+ type: 'compiling';
42
+ data: Filter_Compiling;
43
43
  };
44
44
  export type Filter_type_empty = {
45
- $: 'empty';
46
- empty: {};
45
+ type: 'empty';
46
+ data: {};
47
47
  };
48
48
  export type Filter_type = Filter_type_compiling | Filter_type_empty;
49
49
  export type Filter = {
@@ -55,7 +55,8 @@ export type Filter = {
55
55
  highspeedReady: boolean;
56
56
  highspeedSubscribersTotal: number;
57
57
  hasRightAceModify: boolean;
58
- } & Filter_type;
58
+ type: Filter_type;
59
+ };
59
60
  export type ListFiltersResponse = {
60
61
  filters: Filter[];
61
62
  page: number;
package/google_api.d.ts CHANGED
@@ -3,28 +3,28 @@ export type Http = {
3
3
  fullyDecodeReservedExpansion: boolean;
4
4
  };
5
5
  export type HttpRule_pattern_get = {
6
- $: 'get';
7
- get: string;
6
+ type: 'get';
7
+ data: string;
8
8
  };
9
9
  export type HttpRule_pattern_put = {
10
- $: 'put';
11
- put: string;
10
+ type: 'put';
11
+ data: string;
12
12
  };
13
13
  export type HttpRule_pattern_post = {
14
- $: 'post';
15
- post: string;
14
+ type: 'post';
15
+ data: string;
16
16
  };
17
17
  export type HttpRule_pattern_delete = {
18
- $: 'delete';
19
- delete: string;
18
+ type: 'delete';
19
+ data: string;
20
20
  };
21
21
  export type HttpRule_pattern_patch = {
22
- $: 'patch';
23
- patch: string;
22
+ type: 'patch';
23
+ data: string;
24
24
  };
25
25
  export type HttpRule_pattern_custom = {
26
- $: 'custom';
27
- custom: CustomHttpPattern;
26
+ type: 'custom';
27
+ data: CustomHttpPattern;
28
28
  };
29
29
  export type HttpRule_pattern = HttpRule_pattern_get | HttpRule_pattern_put | HttpRule_pattern_post | HttpRule_pattern_delete | HttpRule_pattern_patch | HttpRule_pattern_custom;
30
30
  export type HttpRule = {
@@ -32,7 +32,8 @@ export type HttpRule = {
32
32
  body: string;
33
33
  responseBody: string;
34
34
  additionalBindings: HttpRule[];
35
- } & HttpRule_pattern;
35
+ pattern: HttpRule_pattern;
36
+ };
36
37
  export type CustomHttpPattern = {
37
38
  kind: string;
38
39
  path: string;
@@ -195,31 +195,33 @@ export type Struct = {
195
195
  fields: Record<string, Value>;
196
196
  };
197
197
  export type Value_kind_nullValue = {
198
- $: 'nullValue';
199
- nullValue: NullValue;
198
+ type: 'nullValue';
199
+ data: NullValue;
200
200
  };
201
201
  export type Value_kind_numberValue = {
202
- $: 'numberValue';
203
- numberValue: number;
202
+ type: 'numberValue';
203
+ data: number;
204
204
  };
205
205
  export type Value_kind_stringValue = {
206
- $: 'stringValue';
207
- stringValue: string;
206
+ type: 'stringValue';
207
+ data: string;
208
208
  };
209
209
  export type Value_kind_boolValue = {
210
- $: 'boolValue';
211
- boolValue: boolean;
210
+ type: 'boolValue';
211
+ data: boolean;
212
212
  };
213
213
  export type Value_kind_structValue = {
214
- $: 'structValue';
215
- structValue: Struct;
214
+ type: 'structValue';
215
+ data: Struct;
216
216
  };
217
217
  export type Value_kind_listValue = {
218
- $: 'listValue';
219
- listValue: ListValue;
218
+ type: 'listValue';
219
+ data: ListValue;
220
220
  };
221
221
  export type Value_kind = Value_kind_nullValue | Value_kind_numberValue | Value_kind_stringValue | Value_kind_boolValue | Value_kind_structValue | Value_kind_listValue;
222
- export type Value = {} & Value_kind;
222
+ export type Value = {
223
+ kind: Value_kind;
224
+ };
223
225
  export type NullValue = 'NULL_VALUE';
224
226
  export type ListValue = {
225
227
  values: Value[];
package/messages.d.ts CHANGED
@@ -24,12 +24,12 @@ export type EmailInfo = {
24
24
  export type Message_SchedulingType = 'now' | 'device_tz' | 'custom_tz' | 'optimal_time';
25
25
  export type Message_Status = 'status_unknown' | 'creating' | 'waiting' | 'pending' | 'processing' | 'done' | 'canceled' | 'fail';
26
26
  export type Message_info_pushInfo = {
27
- $: 'pushInfo';
28
- pushInfo: PushInfo;
27
+ type: 'pushInfo';
28
+ data: PushInfo;
29
29
  };
30
30
  export type Message_info_emailInfo = {
31
- $: 'emailInfo';
32
- emailInfo: EmailInfo;
31
+ type: 'emailInfo';
32
+ data: EmailInfo;
33
33
  };
34
34
  export type Message_info = Message_info_pushInfo | Message_info_emailInfo;
35
35
  export type Message = {
@@ -43,7 +43,8 @@ export type Message = {
43
43
  createdDate: Date;
44
44
  properties: Record<string, string>;
45
45
  schedulingType: Message_SchedulingType;
46
- } & Message_info;
46
+ info: Message_info;
47
+ };
47
48
  export type ListMessagesRequest_OrderBy = 'NAME' | 'CREATED' | 'SEND_DATE';
48
49
  export type ListMessagesRequest_OrderDirection = 'ASC' | 'DESC';
49
50
  export type ListMessagesRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.404",
3
+ "version": "0.1.406",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -7,15 +7,17 @@ export interface MessagingService {
7
7
  NotifyStream(request: NotifyStreamRequest): Promise<NotifyStreamResponse>;
8
8
  }
9
9
  export type NotifyRequest_kind_segment = {
10
- $: 'segment';
11
- segment: NotifySegment;
10
+ type: 'segment';
11
+ data: NotifySegment;
12
12
  };
13
13
  export type NotifyRequest_kind_transactional = {
14
- $: 'transactional';
15
- transactional: NotifyTransactional;
14
+ type: 'transactional';
15
+ data: NotifyTransactional;
16
16
  };
17
17
  export type NotifyRequest_kind = NotifyRequest_kind_segment | NotifyRequest_kind_transactional;
18
- export type NotifyRequest = {} & NotifyRequest_kind;
18
+ export type NotifyRequest = {
19
+ kind: NotifyRequest_kind;
20
+ };
19
21
  export type NotifyResponse = {
20
22
  result: NotifyResult;
21
23
  };
@@ -35,16 +37,16 @@ export type NotifyResult = {
35
37
  };
36
38
  export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'XIAOMI';
37
39
  export type NotifySegment_target_code = {
38
- $: 'code';
39
- code: string;
40
+ type: 'code';
41
+ data: string;
40
42
  };
41
43
  export type NotifySegment_target_expression = {
42
- $: 'expression';
43
- expression: string;
44
+ type: 'expression';
45
+ data: string;
44
46
  };
45
47
  export type NotifySegment_target_filterExpression = {
46
- $: 'filterExpression';
47
- filterExpression: pushwoosh_objects_filters_v1_FilterExpression;
48
+ type: 'filterExpression';
49
+ data: pushwoosh_objects_filters_v1_FilterExpression;
48
50
  };
49
51
  export type NotifySegment_target = NotifySegment_target_code | NotifySegment_target_expression | NotifySegment_target_filterExpression;
50
52
  export type NotifySegment = {
@@ -54,7 +56,8 @@ export type NotifySegment = {
54
56
  payload: Payload;
55
57
  frequencyCapping: FrequencyCapping;
56
58
  campaign: string;
57
- } & NotifySegment_target;
59
+ target: NotifySegment_target;
60
+ };
58
61
  export type NotifyTransactional_HwidsList = {
59
62
  list: string[];
60
63
  };
@@ -65,20 +68,20 @@ export type NotifyTransactional_PushTokensList = {
65
68
  list: string[];
66
69
  };
67
70
  export type NotifyTransactional_target_testDevices = {
68
- $: 'testDevices';
69
- testDevices: boolean;
71
+ type: 'testDevices';
72
+ data: boolean;
70
73
  };
71
74
  export type NotifyTransactional_target_hwids = {
72
- $: 'hwids';
73
- hwids: NotifyTransactional_HwidsList;
75
+ type: 'hwids';
76
+ data: NotifyTransactional_HwidsList;
74
77
  };
75
78
  export type NotifyTransactional_target_users = {
76
- $: 'users';
77
- users: NotifyTransactional_UsersList;
79
+ type: 'users';
80
+ data: NotifyTransactional_UsersList;
78
81
  };
79
82
  export type NotifyTransactional_target_pushTokens = {
80
- $: 'pushTokens';
81
- pushTokens: NotifyTransactional_PushTokensList;
83
+ type: 'pushTokens';
84
+ data: NotifyTransactional_PushTokensList;
82
85
  };
83
86
  export type NotifyTransactional_target = NotifyTransactional_target_testDevices | NotifyTransactional_target_hwids | NotifyTransactional_target_users | NotifyTransactional_target_pushTokens;
84
87
  export type NotifyTransactional = {
@@ -89,21 +92,23 @@ export type NotifyTransactional = {
89
92
  returnUnknownIdentifiers: boolean;
90
93
  frequencyCapping: FrequencyCapping;
91
94
  campaign: string;
92
- } & NotifyTransactional_target;
95
+ target: NotifyTransactional_target;
96
+ };
93
97
  export type Schedule_PastTimezonesBehaviour = 'PAST_TIMEZONES_BEHAVIOUR_DEFAULT' | 'PAST_TIMEZONES_BEHAVIOUR_SEND_IMMEDIATELY' | 'PAST_TIMEZONES_BEHAVIOUR_DO_NOT_SEND' | 'PAST_TIMEZONES_BEHAVIOUR_NEXT_DAY';
94
98
  export type Schedule_sendDate_at = {
95
- $: 'at';
96
- at: Date;
99
+ type: 'at';
100
+ data: Date;
97
101
  };
98
102
  export type Schedule_sendDate_after = {
99
- $: 'after';
100
- after: Duration;
103
+ type: 'after';
104
+ data: Duration;
101
105
  };
102
106
  export type Schedule_sendDate = Schedule_sendDate_at | Schedule_sendDate_after;
103
107
  export type Schedule = {
104
108
  followUserTimezone: boolean;
105
109
  pastTimezonesBehaviour: Schedule_PastTimezonesBehaviour;
106
- } & Schedule_sendDate;
110
+ sendDate: Schedule_sendDate;
111
+ };
107
112
  export type FrequencyCapping = {
108
113
  days: number;
109
114
  count: number;
@@ -123,33 +128,37 @@ export type Link = {
123
128
  shortener: Link_Shortener;
124
129
  };
125
130
  export type RichMedia_kind_code = {
126
- $: 'code';
127
- code: string;
131
+ type: 'code';
132
+ data: string;
128
133
  };
129
134
  export type RichMedia_kind_url = {
130
- $: 'url';
131
- url: string;
135
+ type: 'url';
136
+ data: string;
132
137
  };
133
138
  export type RichMedia_kind = RichMedia_kind_code | RichMedia_kind_url;
134
- export type RichMedia = {} & RichMedia_kind;
139
+ export type RichMedia = {
140
+ kind: RichMedia_kind;
141
+ };
135
142
  export type DeepLink = {
136
143
  code: string;
137
144
  params: Record<string, string>;
138
145
  };
139
146
  export type OpenAction_kind_richMedia = {
140
- $: 'richMedia';
141
- richMedia: RichMedia;
147
+ type: 'richMedia';
148
+ data: RichMedia;
142
149
  };
143
150
  export type OpenAction_kind_deepLink = {
144
- $: 'deepLink';
145
- deepLink: DeepLink;
151
+ type: 'deepLink';
152
+ data: DeepLink;
146
153
  };
147
154
  export type OpenAction_kind_link = {
148
- $: 'link';
149
- link: Link;
155
+ type: 'link';
156
+ data: Link;
150
157
  };
151
158
  export type OpenAction_kind = OpenAction_kind_richMedia | OpenAction_kind_deepLink | OpenAction_kind_link;
152
- export type OpenAction = {} & OpenAction_kind;
159
+ export type OpenAction = {
160
+ kind: OpenAction_kind;
161
+ };
153
162
  export type Inbox = {
154
163
  imageUrl: string;
155
164
  expirationDate: Date;
@@ -334,12 +343,12 @@ export type Content_PlatformPropertiesWindows_Template = {
334
343
  };
335
344
  export type Content_PlatformPropertiesWindows_Type = 'TILE' | 'TOAST' | 'BADGE';
336
345
  export type Content_PlatformPropertiesWindows_content_raw = {
337
- $: 'raw';
338
- raw: Content_PlatformPropertiesWindows_Raw;
346
+ type: 'raw';
347
+ data: Content_PlatformPropertiesWindows_Raw;
339
348
  };
340
349
  export type Content_PlatformPropertiesWindows_content_template = {
341
- $: 'template';
342
- template: Content_PlatformPropertiesWindows_Template;
350
+ type: 'template';
351
+ data: Content_PlatformPropertiesWindows_Template;
343
352
  };
344
353
  export type Content_PlatformPropertiesWindows_content = Content_PlatformPropertiesWindows_content_raw | Content_PlatformPropertiesWindows_content_template;
345
354
  export type Content_PlatformPropertiesWindows = {
@@ -349,7 +358,8 @@ export type Content_PlatformPropertiesWindows = {
349
358
  timeToLive: Duration;
350
359
  openAction: OpenAction;
351
360
  customData: object;
352
- } & Content_PlatformPropertiesWindows_content;
361
+ content: Content_PlatformPropertiesWindows_content;
362
+ };
353
363
  export type Content_PlatformPropertiesEmail = {};
354
364
  export type Content_PlatformPropertiesSMS = {};
355
365
  export type Content = {
@@ -370,16 +380,17 @@ export type LocalizedContent = {
370
380
  localizedContent: Record<string, Content>;
371
381
  };
372
382
  export type Payload_kind_content = {
373
- $: 'content';
374
- content: LocalizedContent;
383
+ type: 'content';
384
+ data: LocalizedContent;
375
385
  };
376
386
  export type Payload_kind_silent = {
377
- $: 'silent';
378
- silent: boolean;
387
+ type: 'silent';
388
+ data: boolean;
379
389
  };
380
390
  export type Payload_kind = Payload_kind_content | Payload_kind_silent;
381
391
  export type Payload = {
382
392
  preset: string;
383
393
  metaData: object;
384
394
  dynamicContentPlaceholders: Record<string, string>;
385
- } & Payload_kind;
395
+ kind: Payload_kind;
396
+ };