@pushwoosh/rpc-v2-http-api-data 0.1.405 → 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 +6 -6
- package/api_tokens.d.ts +12 -12
- package/applications_configurations.d.ts +24 -24
- package/events.d.ts +12 -12
- package/filters.d.ts +4 -4
- package/google_api.d.ts +12 -12
- package/google_protobuf.d.ts +12 -12
- package/messages.d.ts +4 -4
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +40 -40
- package/pushwoosh_objects_filters_v1.d.ts +306 -306
- package/pushwoosh_objects_restrictionValues_v1.d.ts +216 -216
package/accounts.d.ts
CHANGED
|
@@ -218,16 +218,16 @@ export type EmailContent_Raw = {
|
|
|
218
218
|
html: Record<string, string>;
|
|
219
219
|
};
|
|
220
220
|
export type EmailContent_kind_unlayer = {
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
type: 'unlayer';
|
|
222
|
+
data: EmailContent_Unlayer;
|
|
223
223
|
};
|
|
224
224
|
export type EmailContent_kind_pushwoosh = {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
type: 'pushwoosh';
|
|
226
|
+
data: EmailContent_Pushwoosh;
|
|
227
227
|
};
|
|
228
228
|
export type EmailContent_kind_raw = {
|
|
229
|
-
|
|
230
|
-
|
|
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 = {
|
package/api_tokens.d.ts
CHANGED
|
@@ -82,28 +82,28 @@ export type GrantRightOnApplicationRequest_MessageGroups = {
|
|
|
82
82
|
applicationGroupCode: string;
|
|
83
83
|
};
|
|
84
84
|
export type GrantRightOnApplicationRequest_kind_modifyAccount = {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
type: 'modifyAccount';
|
|
86
|
+
data: GrantRightOnApplicationRequest_ModifyAccount;
|
|
87
87
|
};
|
|
88
88
|
export type GrantRightOnApplicationRequest_kind_modifyApplication = {
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
type: 'modifyApplication';
|
|
90
|
+
data: GrantRightOnApplicationRequest_ModifyApplication;
|
|
91
91
|
};
|
|
92
92
|
export type GrantRightOnApplicationRequest_kind_modifyTag = {
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
type: 'modifyTag';
|
|
94
|
+
data: GrantRightOnApplicationRequest_ModifyTag;
|
|
95
95
|
};
|
|
96
96
|
export type GrantRightOnApplicationRequest_kind_modifyMessage = {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
type: 'modifyMessage';
|
|
98
|
+
data: GrantRightOnApplicationRequest_ModifyMessage;
|
|
99
99
|
};
|
|
100
100
|
export type GrantRightOnApplicationRequest_kind_messageApplications = {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
type: 'messageApplications';
|
|
102
|
+
data: GrantRightOnApplicationRequest_MessageApplications;
|
|
103
103
|
};
|
|
104
104
|
export type GrantRightOnApplicationRequest_kind_messageGroups = {
|
|
105
|
-
|
|
106
|
-
|
|
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
109
|
export type GrantRightOnApplicationRequest = {
|
|
@@ -71,52 +71,52 @@ export type FirefoxConfiguration = {
|
|
|
71
71
|
firefoxFcmServiceAccount: string;
|
|
72
72
|
};
|
|
73
73
|
export type ConfigurationRequest_kind_iosTokenConfiguration = {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
type: 'iosTokenConfiguration';
|
|
75
|
+
data: IOSTokenConfiguration;
|
|
76
76
|
};
|
|
77
77
|
export type ConfigurationRequest_kind_androidConfiguration = {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
type: 'androidConfiguration';
|
|
79
|
+
data: AndroidConfiguration;
|
|
80
80
|
};
|
|
81
81
|
export type ConfigurationRequest_kind_chromeConfiguration = {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
type: 'chromeConfiguration';
|
|
83
|
+
data: ChromeConfiguration;
|
|
84
84
|
};
|
|
85
85
|
export type ConfigurationRequest_kind_emailConfiguration = {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
type: 'emailConfiguration';
|
|
87
|
+
data: EmailConfiguration;
|
|
88
88
|
};
|
|
89
89
|
export type ConfigurationRequest_kind_xiaomiConfiguration = {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
type: 'xiaomiConfiguration';
|
|
91
|
+
data: XiaomiConfiguration;
|
|
92
92
|
};
|
|
93
93
|
export type ConfigurationRequest_kind_huaweiConfiguration = {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
type: 'huaweiConfiguration';
|
|
95
|
+
data: HuaweiConfiguration;
|
|
96
96
|
};
|
|
97
97
|
export type ConfigurationRequest_kind_safariConfiguration = {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
type: 'safariConfiguration';
|
|
99
|
+
data: SafariConfiguration;
|
|
100
100
|
};
|
|
101
101
|
export type ConfigurationRequest_kind_windowsConfiguration = {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
type: 'windowsConfiguration';
|
|
103
|
+
data: WindowsConfiguration;
|
|
104
104
|
};
|
|
105
105
|
export type ConfigurationRequest_kind_amazonConfiguration = {
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
type: 'amazonConfiguration';
|
|
107
|
+
data: AmazonConfiguration;
|
|
108
108
|
};
|
|
109
109
|
export type ConfigurationRequest_kind_osxConfiguration = {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
type: 'osxConfiguration';
|
|
111
|
+
data: OSXConfiguration;
|
|
112
112
|
};
|
|
113
113
|
export type ConfigurationRequest_kind_iosConfiguration = {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
type: 'iosConfiguration';
|
|
115
|
+
data: IOSConfiguration;
|
|
116
116
|
};
|
|
117
117
|
export type ConfigurationRequest_kind_firefoxConfiguration = {
|
|
118
|
-
|
|
119
|
-
|
|
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 = {
|
package/events.d.ts
CHANGED
|
@@ -91,28 +91,28 @@ export type ListOfValues = {
|
|
|
91
91
|
values: string[];
|
|
92
92
|
};
|
|
93
93
|
export type Value_kind_string = {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
type: 'string';
|
|
95
|
+
data: string;
|
|
96
96
|
};
|
|
97
97
|
export type Value_kind_integer = {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
type: 'integer';
|
|
99
|
+
data: number;
|
|
100
100
|
};
|
|
101
101
|
export type Value_kind_float = {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
type: 'float';
|
|
103
|
+
data: number;
|
|
104
104
|
};
|
|
105
105
|
export type Value_kind_bool = {
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
type: 'bool';
|
|
107
|
+
data: boolean;
|
|
108
108
|
};
|
|
109
109
|
export type Value_kind_list = {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
type: 'list';
|
|
111
|
+
data: ListOfValues;
|
|
112
112
|
};
|
|
113
113
|
export type Value_kind_timestamp = {
|
|
114
|
-
|
|
115
|
-
|
|
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
118
|
export type Value = {
|
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
|
-
|
|
42
|
-
|
|
41
|
+
type: 'compiling';
|
|
42
|
+
data: Filter_Compiling;
|
|
43
43
|
};
|
|
44
44
|
export type Filter_type_empty = {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
type: 'empty';
|
|
46
|
+
data: {};
|
|
47
47
|
};
|
|
48
48
|
export type Filter_type = Filter_type_compiling | Filter_type_empty;
|
|
49
49
|
export type Filter = {
|
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
|
-
|
|
7
|
-
|
|
6
|
+
type: 'get';
|
|
7
|
+
data: string;
|
|
8
8
|
};
|
|
9
9
|
export type HttpRule_pattern_put = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type: 'put';
|
|
11
|
+
data: string;
|
|
12
12
|
};
|
|
13
13
|
export type HttpRule_pattern_post = {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
type: 'post';
|
|
15
|
+
data: string;
|
|
16
16
|
};
|
|
17
17
|
export type HttpRule_pattern_delete = {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
type: 'delete';
|
|
19
|
+
data: string;
|
|
20
20
|
};
|
|
21
21
|
export type HttpRule_pattern_patch = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
type: 'patch';
|
|
23
|
+
data: string;
|
|
24
24
|
};
|
|
25
25
|
export type HttpRule_pattern_custom = {
|
|
26
|
-
|
|
27
|
-
|
|
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 = {
|
package/google_protobuf.d.ts
CHANGED
|
@@ -195,28 +195,28 @@ export type Struct = {
|
|
|
195
195
|
fields: Record<string, Value>;
|
|
196
196
|
};
|
|
197
197
|
export type Value_kind_nullValue = {
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
type: 'nullValue';
|
|
199
|
+
data: NullValue;
|
|
200
200
|
};
|
|
201
201
|
export type Value_kind_numberValue = {
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
type: 'numberValue';
|
|
203
|
+
data: number;
|
|
204
204
|
};
|
|
205
205
|
export type Value_kind_stringValue = {
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
type: 'stringValue';
|
|
207
|
+
data: string;
|
|
208
208
|
};
|
|
209
209
|
export type Value_kind_boolValue = {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
type: 'boolValue';
|
|
211
|
+
data: boolean;
|
|
212
212
|
};
|
|
213
213
|
export type Value_kind_structValue = {
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
type: 'structValue';
|
|
215
|
+
data: Struct;
|
|
216
216
|
};
|
|
217
217
|
export type Value_kind_listValue = {
|
|
218
|
-
|
|
219
|
-
|
|
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
222
|
export type 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
|
-
|
|
28
|
-
|
|
27
|
+
type: 'pushInfo';
|
|
28
|
+
data: PushInfo;
|
|
29
29
|
};
|
|
30
30
|
export type Message_info_emailInfo = {
|
|
31
|
-
|
|
32
|
-
|
|
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 = {
|
package/package.json
CHANGED
|
@@ -7,12 +7,12 @@ export interface MessagingService {
|
|
|
7
7
|
NotifyStream(request: NotifyStreamRequest): Promise<NotifyStreamResponse>;
|
|
8
8
|
}
|
|
9
9
|
export type NotifyRequest_kind_segment = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type: 'segment';
|
|
11
|
+
data: NotifySegment;
|
|
12
12
|
};
|
|
13
13
|
export type NotifyRequest_kind_transactional = {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
type: 'transactional';
|
|
15
|
+
data: NotifyTransactional;
|
|
16
16
|
};
|
|
17
17
|
export type NotifyRequest_kind = NotifyRequest_kind_segment | NotifyRequest_kind_transactional;
|
|
18
18
|
export type NotifyRequest = {
|
|
@@ -37,16 +37,16 @@ export type NotifyResult = {
|
|
|
37
37
|
};
|
|
38
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
|
-
|
|
41
|
-
|
|
40
|
+
type: 'code';
|
|
41
|
+
data: string;
|
|
42
42
|
};
|
|
43
43
|
export type NotifySegment_target_expression = {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
type: 'expression';
|
|
45
|
+
data: string;
|
|
46
46
|
};
|
|
47
47
|
export type NotifySegment_target_filterExpression = {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
type: 'filterExpression';
|
|
49
|
+
data: pushwoosh_objects_filters_v1_FilterExpression;
|
|
50
50
|
};
|
|
51
51
|
export type NotifySegment_target = NotifySegment_target_code | NotifySegment_target_expression | NotifySegment_target_filterExpression;
|
|
52
52
|
export type NotifySegment = {
|
|
@@ -68,20 +68,20 @@ export type NotifyTransactional_PushTokensList = {
|
|
|
68
68
|
list: string[];
|
|
69
69
|
};
|
|
70
70
|
export type NotifyTransactional_target_testDevices = {
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
type: 'testDevices';
|
|
72
|
+
data: boolean;
|
|
73
73
|
};
|
|
74
74
|
export type NotifyTransactional_target_hwids = {
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
type: 'hwids';
|
|
76
|
+
data: NotifyTransactional_HwidsList;
|
|
77
77
|
};
|
|
78
78
|
export type NotifyTransactional_target_users = {
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
type: 'users';
|
|
80
|
+
data: NotifyTransactional_UsersList;
|
|
81
81
|
};
|
|
82
82
|
export type NotifyTransactional_target_pushTokens = {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
type: 'pushTokens';
|
|
84
|
+
data: NotifyTransactional_PushTokensList;
|
|
85
85
|
};
|
|
86
86
|
export type NotifyTransactional_target = NotifyTransactional_target_testDevices | NotifyTransactional_target_hwids | NotifyTransactional_target_users | NotifyTransactional_target_pushTokens;
|
|
87
87
|
export type NotifyTransactional = {
|
|
@@ -96,12 +96,12 @@ export type NotifyTransactional = {
|
|
|
96
96
|
};
|
|
97
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';
|
|
98
98
|
export type Schedule_sendDate_at = {
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
type: 'at';
|
|
100
|
+
data: Date;
|
|
101
101
|
};
|
|
102
102
|
export type Schedule_sendDate_after = {
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
type: 'after';
|
|
104
|
+
data: Duration;
|
|
105
105
|
};
|
|
106
106
|
export type Schedule_sendDate = Schedule_sendDate_at | Schedule_sendDate_after;
|
|
107
107
|
export type Schedule = {
|
|
@@ -128,12 +128,12 @@ export type Link = {
|
|
|
128
128
|
shortener: Link_Shortener;
|
|
129
129
|
};
|
|
130
130
|
export type RichMedia_kind_code = {
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
type: 'code';
|
|
132
|
+
data: string;
|
|
133
133
|
};
|
|
134
134
|
export type RichMedia_kind_url = {
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
type: 'url';
|
|
136
|
+
data: string;
|
|
137
137
|
};
|
|
138
138
|
export type RichMedia_kind = RichMedia_kind_code | RichMedia_kind_url;
|
|
139
139
|
export type RichMedia = {
|
|
@@ -144,16 +144,16 @@ export type DeepLink = {
|
|
|
144
144
|
params: Record<string, string>;
|
|
145
145
|
};
|
|
146
146
|
export type OpenAction_kind_richMedia = {
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
type: 'richMedia';
|
|
148
|
+
data: RichMedia;
|
|
149
149
|
};
|
|
150
150
|
export type OpenAction_kind_deepLink = {
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
type: 'deepLink';
|
|
152
|
+
data: DeepLink;
|
|
153
153
|
};
|
|
154
154
|
export type OpenAction_kind_link = {
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
type: 'link';
|
|
156
|
+
data: Link;
|
|
157
157
|
};
|
|
158
158
|
export type OpenAction_kind = OpenAction_kind_richMedia | OpenAction_kind_deepLink | OpenAction_kind_link;
|
|
159
159
|
export type OpenAction = {
|
|
@@ -343,12 +343,12 @@ export type Content_PlatformPropertiesWindows_Template = {
|
|
|
343
343
|
};
|
|
344
344
|
export type Content_PlatformPropertiesWindows_Type = 'TILE' | 'TOAST' | 'BADGE';
|
|
345
345
|
export type Content_PlatformPropertiesWindows_content_raw = {
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
type: 'raw';
|
|
347
|
+
data: Content_PlatformPropertiesWindows_Raw;
|
|
348
348
|
};
|
|
349
349
|
export type Content_PlatformPropertiesWindows_content_template = {
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
type: 'template';
|
|
351
|
+
data: Content_PlatformPropertiesWindows_Template;
|
|
352
352
|
};
|
|
353
353
|
export type Content_PlatformPropertiesWindows_content = Content_PlatformPropertiesWindows_content_raw | Content_PlatformPropertiesWindows_content_template;
|
|
354
354
|
export type Content_PlatformPropertiesWindows = {
|
|
@@ -380,12 +380,12 @@ export type LocalizedContent = {
|
|
|
380
380
|
localizedContent: Record<string, Content>;
|
|
381
381
|
};
|
|
382
382
|
export type Payload_kind_content = {
|
|
383
|
-
|
|
384
|
-
|
|
383
|
+
type: 'content';
|
|
384
|
+
data: LocalizedContent;
|
|
385
385
|
};
|
|
386
386
|
export type Payload_kind_silent = {
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
type: 'silent';
|
|
388
|
+
data: boolean;
|
|
389
389
|
};
|
|
390
390
|
export type Payload_kind = Payload_kind_content | Payload_kind_silent;
|
|
391
391
|
export type Payload = {
|