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

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,12 +218,15 @@ export type EmailContent_Raw = {
218
218
  html: Record<string, string>;
219
219
  };
220
220
  export type EmailContent_kind_unlayer = {
221
+ $: 'unlayer';
221
222
  unlayer: EmailContent_Unlayer;
222
223
  };
223
224
  export type EmailContent_kind_pushwoosh = {
225
+ $: 'pushwoosh';
224
226
  pushwoosh: EmailContent_Pushwoosh;
225
227
  };
226
228
  export type EmailContent_kind_raw = {
229
+ $: 'raw';
227
230
  raw: EmailContent_Raw;
228
231
  };
229
232
  export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw;
package/api_tokens.d.ts CHANGED
@@ -82,21 +82,27 @@ export type GrantRightOnApplicationRequest_MessageGroups = {
82
82
  applicationGroupCode: string;
83
83
  };
84
84
  export type GrantRightOnApplicationRequest_kind_modifyAccount = {
85
+ $: 'modifyAccount';
85
86
  modifyAccount: GrantRightOnApplicationRequest_ModifyAccount;
86
87
  };
87
88
  export type GrantRightOnApplicationRequest_kind_modifyApplication = {
89
+ $: 'modifyApplication';
88
90
  modifyApplication: GrantRightOnApplicationRequest_ModifyApplication;
89
91
  };
90
92
  export type GrantRightOnApplicationRequest_kind_modifyTag = {
93
+ $: 'modifyTag';
91
94
  modifyTag: GrantRightOnApplicationRequest_ModifyTag;
92
95
  };
93
96
  export type GrantRightOnApplicationRequest_kind_modifyMessage = {
97
+ $: 'modifyMessage';
94
98
  modifyMessage: GrantRightOnApplicationRequest_ModifyMessage;
95
99
  };
96
100
  export type GrantRightOnApplicationRequest_kind_messageApplications = {
101
+ $: 'messageApplications';
97
102
  messageApplications: GrantRightOnApplicationRequest_MessageApplications;
98
103
  };
99
104
  export type GrantRightOnApplicationRequest_kind_messageGroups = {
105
+ $: 'messageGroups';
100
106
  messageGroups: GrantRightOnApplicationRequest_MessageGroups;
101
107
  };
102
108
  export type GrantRightOnApplicationRequest_kind = GrantRightOnApplicationRequest_kind_modifyAccount | GrantRightOnApplicationRequest_kind_modifyApplication | GrantRightOnApplicationRequest_kind_modifyTag | GrantRightOnApplicationRequest_kind_modifyMessage | GrantRightOnApplicationRequest_kind_messageApplications | GrantRightOnApplicationRequest_kind_messageGroups;
@@ -71,39 +71,51 @@ export type FirefoxConfiguration = {
71
71
  firefoxFcmServiceAccount: string;
72
72
  };
73
73
  export type ConfigurationRequest_kind_iosTokenConfiguration = {
74
+ $: 'iosTokenConfiguration';
74
75
  iosTokenConfiguration: IOSTokenConfiguration;
75
76
  };
76
77
  export type ConfigurationRequest_kind_androidConfiguration = {
78
+ $: 'androidConfiguration';
77
79
  androidConfiguration: AndroidConfiguration;
78
80
  };
79
81
  export type ConfigurationRequest_kind_chromeConfiguration = {
82
+ $: 'chromeConfiguration';
80
83
  chromeConfiguration: ChromeConfiguration;
81
84
  };
82
85
  export type ConfigurationRequest_kind_emailConfiguration = {
86
+ $: 'emailConfiguration';
83
87
  emailConfiguration: EmailConfiguration;
84
88
  };
85
89
  export type ConfigurationRequest_kind_xiaomiConfiguration = {
90
+ $: 'xiaomiConfiguration';
86
91
  xiaomiConfiguration: XiaomiConfiguration;
87
92
  };
88
93
  export type ConfigurationRequest_kind_huaweiConfiguration = {
94
+ $: 'huaweiConfiguration';
89
95
  huaweiConfiguration: HuaweiConfiguration;
90
96
  };
91
97
  export type ConfigurationRequest_kind_safariConfiguration = {
98
+ $: 'safariConfiguration';
92
99
  safariConfiguration: SafariConfiguration;
93
100
  };
94
101
  export type ConfigurationRequest_kind_windowsConfiguration = {
102
+ $: 'windowsConfiguration';
95
103
  windowsConfiguration: WindowsConfiguration;
96
104
  };
97
105
  export type ConfigurationRequest_kind_amazonConfiguration = {
106
+ $: 'amazonConfiguration';
98
107
  amazonConfiguration: AmazonConfiguration;
99
108
  };
100
109
  export type ConfigurationRequest_kind_osxConfiguration = {
110
+ $: 'osxConfiguration';
101
111
  osxConfiguration: OSXConfiguration;
102
112
  };
103
113
  export type ConfigurationRequest_kind_iosConfiguration = {
114
+ $: 'iosConfiguration';
104
115
  iosConfiguration: IOSConfiguration;
105
116
  };
106
117
  export type ConfigurationRequest_kind_firefoxConfiguration = {
118
+ $: 'firefoxConfiguration';
107
119
  firefoxConfiguration: FirefoxConfiguration;
108
120
  };
109
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;
package/events.d.ts CHANGED
@@ -91,21 +91,27 @@ export type ListOfValues = {
91
91
  values: string[];
92
92
  };
93
93
  export type Value_kind_string = {
94
+ $: 'string';
94
95
  string: string;
95
96
  };
96
97
  export type Value_kind_integer = {
98
+ $: 'integer';
97
99
  integer: number;
98
100
  };
99
101
  export type Value_kind_float = {
102
+ $: 'float';
100
103
  float: number;
101
104
  };
102
105
  export type Value_kind_bool = {
106
+ $: 'bool';
103
107
  bool: boolean;
104
108
  };
105
109
  export type Value_kind_list = {
110
+ $: 'list';
106
111
  list: ListOfValues;
107
112
  };
108
113
  export type Value_kind_timestamp = {
114
+ $: 'timestamp';
109
115
  timestamp: Date;
110
116
  };
111
117
  export type Value_kind = Value_kind_string | Value_kind_integer | Value_kind_float | Value_kind_bool | Value_kind_list | Value_kind_timestamp;
package/filters.d.ts CHANGED
@@ -38,9 +38,11 @@ export type Filter_Compiling = {
38
38
  totalWhatsapp: number;
39
39
  };
40
40
  export type Filter_type_compiling = {
41
+ $: 'compiling';
41
42
  compiling: Filter_Compiling;
42
43
  };
43
44
  export type Filter_type_empty = {
45
+ $: 'empty';
44
46
  empty: {};
45
47
  };
46
48
  export type Filter_type = Filter_type_compiling | Filter_type_empty;
package/google_api.d.ts CHANGED
@@ -3,21 +3,27 @@ export type Http = {
3
3
  fullyDecodeReservedExpansion: boolean;
4
4
  };
5
5
  export type HttpRule_pattern_get = {
6
+ $: 'get';
6
7
  get: string;
7
8
  };
8
9
  export type HttpRule_pattern_put = {
10
+ $: 'put';
9
11
  put: string;
10
12
  };
11
13
  export type HttpRule_pattern_post = {
14
+ $: 'post';
12
15
  post: string;
13
16
  };
14
17
  export type HttpRule_pattern_delete = {
18
+ $: 'delete';
15
19
  delete: string;
16
20
  };
17
21
  export type HttpRule_pattern_patch = {
22
+ $: 'patch';
18
23
  patch: string;
19
24
  };
20
25
  export type HttpRule_pattern_custom = {
26
+ $: 'custom';
21
27
  custom: CustomHttpPattern;
22
28
  };
23
29
  export type HttpRule_pattern = HttpRule_pattern_get | HttpRule_pattern_put | HttpRule_pattern_post | HttpRule_pattern_delete | HttpRule_pattern_patch | HttpRule_pattern_custom;
@@ -195,21 +195,27 @@ export type Struct = {
195
195
  fields: Record<string, Value>;
196
196
  };
197
197
  export type Value_kind_nullValue = {
198
+ $: 'nullValue';
198
199
  nullValue: NullValue;
199
200
  };
200
201
  export type Value_kind_numberValue = {
202
+ $: 'numberValue';
201
203
  numberValue: number;
202
204
  };
203
205
  export type Value_kind_stringValue = {
206
+ $: 'stringValue';
204
207
  stringValue: string;
205
208
  };
206
209
  export type Value_kind_boolValue = {
210
+ $: 'boolValue';
207
211
  boolValue: boolean;
208
212
  };
209
213
  export type Value_kind_structValue = {
214
+ $: 'structValue';
210
215
  structValue: Struct;
211
216
  };
212
217
  export type Value_kind_listValue = {
218
+ $: 'listValue';
213
219
  listValue: ListValue;
214
220
  };
215
221
  export type Value_kind = Value_kind_nullValue | Value_kind_numberValue | Value_kind_stringValue | Value_kind_boolValue | Value_kind_structValue | Value_kind_listValue;
package/messages.d.ts CHANGED
@@ -24,9 +24,11 @@ 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';
27
28
  pushInfo: PushInfo;
28
29
  };
29
30
  export type Message_info_emailInfo = {
31
+ $: 'emailInfo';
30
32
  emailInfo: EmailInfo;
31
33
  };
32
34
  export type Message_info = Message_info_pushInfo | Message_info_emailInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.403",
3
+ "version": "0.1.404",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -7,9 +7,11 @@ export interface MessagingService {
7
7
  NotifyStream(request: NotifyStreamRequest): Promise<NotifyStreamResponse>;
8
8
  }
9
9
  export type NotifyRequest_kind_segment = {
10
+ $: 'segment';
10
11
  segment: NotifySegment;
11
12
  };
12
13
  export type NotifyRequest_kind_transactional = {
14
+ $: 'transactional';
13
15
  transactional: NotifyTransactional;
14
16
  };
15
17
  export type NotifyRequest_kind = NotifyRequest_kind_segment | NotifyRequest_kind_transactional;
@@ -33,12 +35,15 @@ export type NotifyResult = {
33
35
  };
34
36
  export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'XIAOMI';
35
37
  export type NotifySegment_target_code = {
38
+ $: 'code';
36
39
  code: string;
37
40
  };
38
41
  export type NotifySegment_target_expression = {
42
+ $: 'expression';
39
43
  expression: string;
40
44
  };
41
45
  export type NotifySegment_target_filterExpression = {
46
+ $: 'filterExpression';
42
47
  filterExpression: pushwoosh_objects_filters_v1_FilterExpression;
43
48
  };
44
49
  export type NotifySegment_target = NotifySegment_target_code | NotifySegment_target_expression | NotifySegment_target_filterExpression;
@@ -60,15 +65,19 @@ export type NotifyTransactional_PushTokensList = {
60
65
  list: string[];
61
66
  };
62
67
  export type NotifyTransactional_target_testDevices = {
68
+ $: 'testDevices';
63
69
  testDevices: boolean;
64
70
  };
65
71
  export type NotifyTransactional_target_hwids = {
72
+ $: 'hwids';
66
73
  hwids: NotifyTransactional_HwidsList;
67
74
  };
68
75
  export type NotifyTransactional_target_users = {
76
+ $: 'users';
69
77
  users: NotifyTransactional_UsersList;
70
78
  };
71
79
  export type NotifyTransactional_target_pushTokens = {
80
+ $: 'pushTokens';
72
81
  pushTokens: NotifyTransactional_PushTokensList;
73
82
  };
74
83
  export type NotifyTransactional_target = NotifyTransactional_target_testDevices | NotifyTransactional_target_hwids | NotifyTransactional_target_users | NotifyTransactional_target_pushTokens;
@@ -83,9 +92,11 @@ export type NotifyTransactional = {
83
92
  } & NotifyTransactional_target;
84
93
  export type Schedule_PastTimezonesBehaviour = 'PAST_TIMEZONES_BEHAVIOUR_DEFAULT' | 'PAST_TIMEZONES_BEHAVIOUR_SEND_IMMEDIATELY' | 'PAST_TIMEZONES_BEHAVIOUR_DO_NOT_SEND' | 'PAST_TIMEZONES_BEHAVIOUR_NEXT_DAY';
85
94
  export type Schedule_sendDate_at = {
95
+ $: 'at';
86
96
  at: Date;
87
97
  };
88
98
  export type Schedule_sendDate_after = {
99
+ $: 'after';
89
100
  after: Duration;
90
101
  };
91
102
  export type Schedule_sendDate = Schedule_sendDate_at | Schedule_sendDate_after;
@@ -112,9 +123,11 @@ export type Link = {
112
123
  shortener: Link_Shortener;
113
124
  };
114
125
  export type RichMedia_kind_code = {
126
+ $: 'code';
115
127
  code: string;
116
128
  };
117
129
  export type RichMedia_kind_url = {
130
+ $: 'url';
118
131
  url: string;
119
132
  };
120
133
  export type RichMedia_kind = RichMedia_kind_code | RichMedia_kind_url;
@@ -124,12 +137,15 @@ export type DeepLink = {
124
137
  params: Record<string, string>;
125
138
  };
126
139
  export type OpenAction_kind_richMedia = {
140
+ $: 'richMedia';
127
141
  richMedia: RichMedia;
128
142
  };
129
143
  export type OpenAction_kind_deepLink = {
144
+ $: 'deepLink';
130
145
  deepLink: DeepLink;
131
146
  };
132
147
  export type OpenAction_kind_link = {
148
+ $: 'link';
133
149
  link: Link;
134
150
  };
135
151
  export type OpenAction_kind = OpenAction_kind_richMedia | OpenAction_kind_deepLink | OpenAction_kind_link;
@@ -318,9 +334,11 @@ export type Content_PlatformPropertiesWindows_Template = {
318
334
  };
319
335
  export type Content_PlatformPropertiesWindows_Type = 'TILE' | 'TOAST' | 'BADGE';
320
336
  export type Content_PlatformPropertiesWindows_content_raw = {
337
+ $: 'raw';
321
338
  raw: Content_PlatformPropertiesWindows_Raw;
322
339
  };
323
340
  export type Content_PlatformPropertiesWindows_content_template = {
341
+ $: 'template';
324
342
  template: Content_PlatformPropertiesWindows_Template;
325
343
  };
326
344
  export type Content_PlatformPropertiesWindows_content = Content_PlatformPropertiesWindows_content_raw | Content_PlatformPropertiesWindows_content_template;
@@ -352,9 +370,11 @@ export type LocalizedContent = {
352
370
  localizedContent: Record<string, Content>;
353
371
  };
354
372
  export type Payload_kind_content = {
373
+ $: 'content';
355
374
  content: LocalizedContent;
356
375
  };
357
376
  export type Payload_kind_silent = {
377
+ $: 'silent';
358
378
  silent: boolean;
359
379
  };
360
380
  export type Payload_kind = Payload_kind_content | Payload_kind_silent;