@pushwoosh/rpc-v2-http-api-data 0.1.405 → 0.1.407
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/data.js +2318 -0
- package/events.d.ts +12 -12
- package/export_messages.d.ts +14 -0
- package/export_messages.js +2 -0
- package/filters.d.ts +4 -4
- package/google_api.d.ts +12 -12
- package/google_protobuf.d.ts +12 -12
- package/index.d.ts +2 -0
- package/messages.d.ts +4 -4
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +40 -40
- package/pushwoosh_export_messages_v2.d.ts +490 -0
- package/pushwoosh_export_messages_v2.js +2 -0
- package/pushwoosh_objects_filters_v1.d.ts +306 -306
- package/pushwoosh_objects_restrictionValues_v1.d.ts +216 -216
- package/pushwoosh_statistics_exportservice_v2.d.ts +490 -0
- package/pushwoosh_statistics_exportservice_v2.js +2 -0
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 = {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExportRequest as pushwoosh_export_messages_v2_ExportRequest } from './pushwoosh_export_messages_v2';
|
|
2
|
+
import { ExportResponse as pushwoosh_export_messages_v2_ExportResponse } from './pushwoosh_export_messages_v2';
|
|
3
|
+
import { StatusRequest as pushwoosh_export_messages_v2_StatusRequest } from './pushwoosh_export_messages_v2';
|
|
4
|
+
import { StatusResponse as pushwoosh_export_messages_v2_StatusResponse } from './pushwoosh_export_messages_v2';
|
|
5
|
+
import { ResultRequest as pushwoosh_export_messages_v2_ResultRequest } from './pushwoosh_export_messages_v2';
|
|
6
|
+
import { ResultResponse as pushwoosh_export_messages_v2_ResultResponse } from './pushwoosh_export_messages_v2';
|
|
7
|
+
import { GetLastTasksRequest as pushwoosh_export_messages_v2_GetLastTasksRequest } from './pushwoosh_export_messages_v2';
|
|
8
|
+
import { GetLastTasksResponse as pushwoosh_export_messages_v2_GetLastTasksResponse } from './pushwoosh_export_messages_v2';
|
|
9
|
+
export interface ExportStatisticsService {
|
|
10
|
+
Export(request: pushwoosh_export_messages_v2_ExportRequest): Promise<pushwoosh_export_messages_v2_ExportResponse>;
|
|
11
|
+
Status(request: pushwoosh_export_messages_v2_StatusRequest): Promise<pushwoosh_export_messages_v2_StatusResponse>;
|
|
12
|
+
Result(request: pushwoosh_export_messages_v2_ResultRequest): Promise<pushwoosh_export_messages_v2_ResultResponse>;
|
|
13
|
+
GetLastTasks(request: pushwoosh_export_messages_v2_GetLastTasksRequest): Promise<pushwoosh_export_messages_v2_GetLastTasksResponse>;
|
|
14
|
+
}
|
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/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { DevicesService as pushwoosh_rpc_v2_devices_DevicesService } from './dev
|
|
|
16
16
|
import { EmailTemplatesService as pushwoosh_rpc_v2_accounts_EmailTemplatesService } from './accounts';
|
|
17
17
|
import { EmailsConfigurationsService as pushwoosh_rpc_v2_emails_configurations_EmailsConfigurationsService } from './emails_configurations';
|
|
18
18
|
import { EventsService as pushwoosh_rpc_v2_events_EventsService } from './events';
|
|
19
|
+
import { ExportStatisticsService as pushwoosh_rpc_v2_export_messages_ExportStatisticsService } from './export_messages';
|
|
19
20
|
import { FiltersService as pushwoosh_rpc_v2_filters_FiltersService } from './filters';
|
|
20
21
|
import { FrequencyCappingService as pushwoosh_rpc_v2_frequency_capping_FrequencyCappingService } from './frequency_capping';
|
|
21
22
|
import { GeozonesService as pushwoosh_rpc_v2_geozones_GeozonesService } from './geozones';
|
|
@@ -56,6 +57,7 @@ export type API = {
|
|
|
56
57
|
emailTemplates: pushwoosh_rpc_v2_accounts_EmailTemplatesService;
|
|
57
58
|
emailsConfigurations: pushwoosh_rpc_v2_emails_configurations_EmailsConfigurationsService;
|
|
58
59
|
events: pushwoosh_rpc_v2_events_EventsService;
|
|
60
|
+
exportStatistics: pushwoosh_rpc_v2_export_messages_ExportStatisticsService;
|
|
59
61
|
filters: pushwoosh_rpc_v2_filters_FiltersService;
|
|
60
62
|
frequencyCapping: pushwoosh_rpc_v2_frequency_capping_FrequencyCappingService;
|
|
61
63
|
geozones: pushwoosh_rpc_v2_geozones_GeozonesService;
|
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 = {
|