@pushwoosh/rpc-v2-http-api-data 0.1.882 → 0.1.884
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/account_groups.d.ts +9 -0
- package/account_invites.d.ts +2 -0
- package/account_overview.d.ts +21 -0
- package/account_users.d.ts +3 -0
- package/accounts.d.ts +29 -0
- package/accounts_get_auth_info.d.ts +4 -0
- package/api_tokens.d.ts +1 -0
- package/applications.d.ts +7 -0
- package/applications_alerts.d.ts +7 -1
- package/applications_groups.d.ts +2 -0
- package/applications_statistics.d.ts +28 -0
- package/categories.d.ts +1 -0
- package/cloud_pages.d.ts +2 -0
- package/data.js +297 -1287
- package/deeplinks.d.ts +3 -0
- package/devices.d.ts +5 -0
- package/email_categories.d.ts +1 -0
- package/emails_configurations.d.ts +1 -0
- package/events.d.ts +3 -0
- package/filters.d.ts +28 -0
- package/inapp_messages.d.ts +13 -0
- package/integrations.d.ts +38 -0
- package/ios_categories.d.ts +1 -0
- package/kakao_presets.d.ts +2 -0
- package/line_presets.d.ts +5 -0
- package/messages.d.ts +15 -2
- package/package.json +1 -1
- package/presets.d.ts +71 -0
- package/pushwoosh_accounts_alerts_v1.d.ts +2 -0
- package/pushwoosh_channels_messagingApi_v2.d.ts +51 -2
- package/pushwoosh_export_messages_v2.d.ts +17 -2
- package/pushwoosh_objects_filters_v1.d.ts +70 -11
- package/pushwoosh_objects_restrictionValues_v1.d.ts +86 -427
- package/pushwoosh_rpc_errors_v3.d.ts +20 -0
- package/pushwoosh_rpc_popup_forms_contents_v3.d.ts +48 -0
- package/pushwoosh_rpc_segments_v3.d.ts +54 -0
- package/referral_partners.d.ts +1 -0
- package/rich_medias.d.ts +6 -0
- package/sms_presets.d.ts +5 -0
- package/statistics_dashboards_widgets.d.ts +291 -3
- package/tags.d.ts +3 -0
- package/test_devices.d.ts +37 -0
- package/types.d.ts +6 -0
- package/whatsapp.d.ts +10 -0
- package/whatsapp_presets.d.ts +3 -0
package/account_groups.d.ts
CHANGED
|
@@ -24,11 +24,13 @@ export type ListRequest = {
|
|
|
24
24
|
perPage?: number;
|
|
25
25
|
orderBy?: ListRequest_OrderBy;
|
|
26
26
|
orderDirection?: ListRequest_OrderDirection;
|
|
27
|
+
/** like '%name%' */
|
|
27
28
|
searchByName?: string;
|
|
28
29
|
};
|
|
29
30
|
export type ListResponse_AccountGroup = {
|
|
30
31
|
name: string;
|
|
31
32
|
rights: Record<string, boolean>;
|
|
33
|
+
/** the number of the members belongs to the group */
|
|
32
34
|
memberCount: number;
|
|
33
35
|
};
|
|
34
36
|
export type ListResponse = {
|
|
@@ -39,16 +41,19 @@ export type ListResponse = {
|
|
|
39
41
|
};
|
|
40
42
|
export type CreateRequest = {
|
|
41
43
|
name?: string;
|
|
44
|
+
/** right name => enabled */
|
|
42
45
|
rights?: Record<string, boolean>;
|
|
43
46
|
};
|
|
44
47
|
export type CreateResponse = {};
|
|
45
48
|
export type UpdateRequest = {
|
|
46
49
|
name?: string;
|
|
50
|
+
/** right name => enabled */
|
|
47
51
|
rights?: Record<string, boolean>;
|
|
48
52
|
};
|
|
49
53
|
export type UpdateResponse = {};
|
|
50
54
|
export type DeleteRequest = {
|
|
51
55
|
name?: string;
|
|
56
|
+
/** contains group name, all users will be reassigned to this group */
|
|
52
57
|
reassignGroup?: string;
|
|
53
58
|
};
|
|
54
59
|
export type DeleteResponse = {};
|
|
@@ -65,14 +70,18 @@ export type ListGroupMembersResponse = {
|
|
|
65
70
|
};
|
|
66
71
|
export type UpdateGroupMembersRequest = {
|
|
67
72
|
name?: string;
|
|
73
|
+
/** username/email => enabled */
|
|
68
74
|
members?: Record<string, boolean>;
|
|
69
75
|
};
|
|
70
76
|
export type UpdateGroupMembersResponse = {};
|
|
71
77
|
export type UpdateUserMembershipRequest = {
|
|
78
|
+
/** username/email */
|
|
72
79
|
username?: string;
|
|
80
|
+
/** contains account group names in which the user must be a member */
|
|
73
81
|
groupMembership?: string[];
|
|
74
82
|
};
|
|
75
83
|
export type UpdateUserMembershipResponse = {
|
|
84
|
+
/** contains account group names in which the user is a member */
|
|
76
85
|
groupMembership: string[];
|
|
77
86
|
};
|
|
78
87
|
export type GetRequest = {
|
package/account_invites.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export type ListRequest = {
|
|
|
16
16
|
perPage?: number;
|
|
17
17
|
orderBy?: ListRequest_OrderBy;
|
|
18
18
|
orderDirection?: ListRequest_OrderDirection;
|
|
19
|
+
/** like '%email%' */
|
|
19
20
|
searchByEmail?: string;
|
|
20
21
|
};
|
|
21
22
|
export type ListResponse_Invite = {
|
|
@@ -35,6 +36,7 @@ export type ResendRequest = {
|
|
|
35
36
|
};
|
|
36
37
|
export type ResendResponse = {};
|
|
37
38
|
export type CreateRequest = {
|
|
39
|
+
/** name of the account group */
|
|
38
40
|
group?: string;
|
|
39
41
|
email?: string;
|
|
40
42
|
};
|
package/account_overview.d.ts
CHANGED
|
@@ -4,39 +4,50 @@ export interface AccountOverviewService {
|
|
|
4
4
|
GetAccountEntitiesOverview: AccountOverviewService_GetAccountEntitiesOverview;
|
|
5
5
|
}
|
|
6
6
|
export type GetAccountEntitiesOverviewRequest = {};
|
|
7
|
+
/** Basic account information */
|
|
7
8
|
export type GetAccountEntitiesOverviewResponse_AccountInfo = {
|
|
8
9
|
name: string;
|
|
9
10
|
};
|
|
10
11
|
export type GetAccountEntitiesOverviewResponse_ApplicationsSummary_ApplicationInfo = {
|
|
11
12
|
title: string;
|
|
13
|
+
/** list of platform IDs configured */
|
|
12
14
|
configuredPlatforms: number[];
|
|
15
|
+
/** total push-enabled subscribers */
|
|
13
16
|
totalSubscribers: number;
|
|
14
17
|
isDemo: boolean;
|
|
18
|
+
/** entities summary for application */
|
|
15
19
|
entities: GetAccountEntitiesOverviewResponse_EntitiesOverview;
|
|
16
20
|
};
|
|
21
|
+
/** Applications summary */
|
|
17
22
|
export type GetAccountEntitiesOverviewResponse_ApplicationsSummary = {
|
|
18
23
|
totalCount: number;
|
|
19
24
|
applications: GetAccountEntitiesOverviewResponse_ApplicationsSummary_ApplicationInfo[];
|
|
20
25
|
};
|
|
26
|
+
/** Users and groups */
|
|
21
27
|
export type GetAccountEntitiesOverviewResponse_UsersSummary = {
|
|
22
28
|
totalUsers: number;
|
|
23
29
|
totalGroups: number;
|
|
24
30
|
};
|
|
25
31
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_MessagesSummary_MessageInfo = {
|
|
32
|
+
/** message name/title/content preview */
|
|
26
33
|
name: string;
|
|
34
|
+
/** "push" or "email" */
|
|
27
35
|
type: string;
|
|
28
36
|
status: string;
|
|
29
37
|
};
|
|
38
|
+
/** Messages */
|
|
30
39
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_MessagesSummary = {
|
|
31
40
|
total: number;
|
|
32
41
|
pushCount: number;
|
|
33
42
|
emailCount: number;
|
|
43
|
+
/** latest messages for overview */
|
|
34
44
|
recentMessages: GetAccountEntitiesOverviewResponse_EntitiesOverview_MessagesSummary_MessageInfo[];
|
|
35
45
|
};
|
|
36
46
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_CampaignsSummary_CampaignInfo = {
|
|
37
47
|
name: string;
|
|
38
48
|
description: string;
|
|
39
49
|
};
|
|
50
|
+
/** Campaigns */
|
|
40
51
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_CampaignsSummary = {
|
|
41
52
|
total: number;
|
|
42
53
|
campaigns: GetAccountEntitiesOverviewResponse_EntitiesOverview_CampaignsSummary_CampaignInfo[];
|
|
@@ -44,6 +55,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_CampaignsSummary
|
|
|
44
55
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_PresetsSummary_PresetInfo = {
|
|
45
56
|
name: string;
|
|
46
57
|
};
|
|
58
|
+
/** Presets */
|
|
47
59
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_PresetsSummary = {
|
|
48
60
|
total: number;
|
|
49
61
|
pushPresets: number;
|
|
@@ -57,6 +69,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_PresetsSummary =
|
|
|
57
69
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_RichMediasSummary_RichMediaInfo = {
|
|
58
70
|
name: string;
|
|
59
71
|
};
|
|
72
|
+
/** Rich Media */
|
|
60
73
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_RichMediasSummary = {
|
|
61
74
|
total: number;
|
|
62
75
|
richMedias: GetAccountEntitiesOverviewResponse_EntitiesOverview_RichMediasSummary_RichMediaInfo[];
|
|
@@ -65,6 +78,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_EmailTemplatesSu
|
|
|
65
78
|
name: string;
|
|
66
79
|
label: string;
|
|
67
80
|
};
|
|
81
|
+
/** Email Templates */
|
|
68
82
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_EmailTemplatesSummary = {
|
|
69
83
|
total: number;
|
|
70
84
|
emailTemplates: GetAccountEntitiesOverviewResponse_EntitiesOverview_EmailTemplatesSummary_EmailTemplateInfo[];
|
|
@@ -73,6 +87,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_InAppMessagesSum
|
|
|
73
87
|
name: string;
|
|
74
88
|
status: string;
|
|
75
89
|
};
|
|
90
|
+
/** InApp Messages */
|
|
76
91
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_InAppMessagesSummary = {
|
|
77
92
|
total: number;
|
|
78
93
|
inappMessages: GetAccountEntitiesOverviewResponse_EntitiesOverview_InAppMessagesSummary_InAppMessageInfo[];
|
|
@@ -81,6 +96,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_EventsSummary_Ev
|
|
|
81
96
|
name: string;
|
|
82
97
|
description: string;
|
|
83
98
|
};
|
|
99
|
+
/** Events */
|
|
84
100
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_EventsSummary = {
|
|
85
101
|
total: number;
|
|
86
102
|
events: GetAccountEntitiesOverviewResponse_EntitiesOverview_EventsSummary_EventInfo[];
|
|
@@ -89,6 +105,7 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_GeozonesSummary_
|
|
|
89
105
|
name: string;
|
|
90
106
|
isActive: boolean;
|
|
91
107
|
};
|
|
108
|
+
/** Geozones */
|
|
92
109
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_GeozonesSummary = {
|
|
93
110
|
total: number;
|
|
94
111
|
geozones: GetAccountEntitiesOverviewResponse_EntitiesOverview_GeozonesSummary_GeozoneInfo[];
|
|
@@ -98,10 +115,12 @@ export type GetAccountEntitiesOverviewResponse_EntitiesOverview_CustomerJourneys
|
|
|
98
115
|
title: string;
|
|
99
116
|
status: number;
|
|
100
117
|
};
|
|
118
|
+
/** Customer Journeys */
|
|
101
119
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview_CustomerJourneysSummary = {
|
|
102
120
|
total: number;
|
|
103
121
|
customerJourneys: GetAccountEntitiesOverviewResponse_EntitiesOverview_CustomerJourneysSummary_CustomerJourneyInfo[];
|
|
104
122
|
};
|
|
123
|
+
/** Entities with names and details */
|
|
105
124
|
export type GetAccountEntitiesOverviewResponse_EntitiesOverview = {
|
|
106
125
|
messages: GetAccountEntitiesOverviewResponse_EntitiesOverview_MessagesSummary;
|
|
107
126
|
campaigns: GetAccountEntitiesOverviewResponse_EntitiesOverview_CampaignsSummary;
|
|
@@ -117,6 +136,7 @@ export type GetAccountEntitiesOverviewResponse_TagsSummary_TagInfo = {
|
|
|
117
136
|
name: string;
|
|
118
137
|
type: string;
|
|
119
138
|
};
|
|
139
|
+
/** Tags */
|
|
120
140
|
export type GetAccountEntitiesOverviewResponse_TagsSummary = {
|
|
121
141
|
total: number;
|
|
122
142
|
tags: GetAccountEntitiesOverviewResponse_TagsSummary_TagInfo[];
|
|
@@ -124,6 +144,7 @@ export type GetAccountEntitiesOverviewResponse_TagsSummary = {
|
|
|
124
144
|
export type GetAccountEntitiesOverviewResponse_SegmentsSummary_FilterInfo = {
|
|
125
145
|
name: string;
|
|
126
146
|
};
|
|
147
|
+
/** Filters (Segments) */
|
|
127
148
|
export type GetAccountEntitiesOverviewResponse_SegmentsSummary = {
|
|
128
149
|
total: number;
|
|
129
150
|
filters: GetAccountEntitiesOverviewResponse_SegmentsSummary_FilterInfo[];
|
package/account_users.d.ts
CHANGED
|
@@ -12,11 +12,14 @@ export type ListRequest = {
|
|
|
12
12
|
perPage?: number;
|
|
13
13
|
orderBy?: ListRequest_OrderBy;
|
|
14
14
|
orderDirection?: ListRequest_OrderDirection;
|
|
15
|
+
/** like '%email%' */
|
|
15
16
|
searchByEmail?: string;
|
|
17
|
+
/** users who has given group membership */
|
|
16
18
|
searchByGroup?: string;
|
|
17
19
|
};
|
|
18
20
|
export type ListResponse_AccountUser = {
|
|
19
21
|
email: string;
|
|
22
|
+
/** map with groups with IsMember flag: "Admins": true, "Marketing": false, ...etc */
|
|
20
23
|
userGroups: Record<string, boolean>;
|
|
21
24
|
};
|
|
22
25
|
export type ListResponse = {
|
package/accounts.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export interface AccountsService {
|
|
|
34
34
|
GetAuthHistory: AccountsService_GetAuthHistory;
|
|
35
35
|
}
|
|
36
36
|
export type GetEmailStatisticCountRequest = {
|
|
37
|
+
/** only for billing usage, optional */
|
|
37
38
|
dateFrom?: Date;
|
|
38
39
|
dateTo?: Date;
|
|
39
40
|
};
|
|
@@ -45,9 +46,11 @@ export type GetEmailStatisticCountResponse = {
|
|
|
45
46
|
freeEmailQuota: number;
|
|
46
47
|
freeEmailLimit: number;
|
|
47
48
|
billingMonthEmailSendsStat: number;
|
|
49
|
+
/** calculates only if date in request given */
|
|
48
50
|
requestDateEmailStat: number;
|
|
49
51
|
};
|
|
50
52
|
export type GetActiveDevicesCountRequest = {
|
|
53
|
+
/** only for billing usage, optional */
|
|
51
54
|
dateFrom?: Date;
|
|
52
55
|
dateTo?: Date;
|
|
53
56
|
};
|
|
@@ -55,6 +58,7 @@ export type GetActiveDevicesCountResponse = {
|
|
|
55
58
|
monthlyActiveDevices: number;
|
|
56
59
|
calendarMonthlyActiveDevices: number;
|
|
57
60
|
previousMonthActiveDevices: number;
|
|
61
|
+
/** calculates only if date in request given */
|
|
58
62
|
requestDateActiveDevices: number;
|
|
59
63
|
};
|
|
60
64
|
export type GetSubscribersCountRequest = {
|
|
@@ -65,6 +69,7 @@ export type GetSubscribersCountResponse = {
|
|
|
65
69
|
pushDisabled: number;
|
|
66
70
|
};
|
|
67
71
|
export type GetActiveUsersCountRequest = {
|
|
72
|
+
/** only for billing usage, optional */
|
|
68
73
|
dateFrom?: Date;
|
|
69
74
|
dateTo?: Date;
|
|
70
75
|
};
|
|
@@ -72,6 +77,7 @@ export type GetActiveUsersCountResponse = {
|
|
|
72
77
|
monthlyActiveUsers: number;
|
|
73
78
|
calendarMonthlyActiveUsers: number;
|
|
74
79
|
previousMonthActiveUsers: number;
|
|
80
|
+
/** calculates only if date in request given */
|
|
75
81
|
requestDateActiveUsers: number;
|
|
76
82
|
};
|
|
77
83
|
export type SetDebugModeRequest = {
|
|
@@ -99,6 +105,7 @@ export type UpdateOnboardingInfoRequest_answer_list = {
|
|
|
99
105
|
export type UpdateOnboardingInfoRequest = {
|
|
100
106
|
plan?: string;
|
|
101
107
|
step?: string;
|
|
108
|
+
/** map[string][]string. survey questions->answers map */
|
|
102
109
|
survey?: Record<string, UpdateOnboardingInfoRequest_answer_list>;
|
|
103
110
|
};
|
|
104
111
|
export type UpdateOnboardingInfoResponse = {};
|
|
@@ -107,6 +114,7 @@ export type GetTotalEmailSubscribersCountResponse = {
|
|
|
107
114
|
totalEmailSubscribers: number;
|
|
108
115
|
};
|
|
109
116
|
export type GetUnifiedMAUCountRequest = {
|
|
117
|
+
/** if date range is not valid or empty - calendar month is the default date range */
|
|
110
118
|
dateFrom?: Date;
|
|
111
119
|
dateTo?: Date;
|
|
112
120
|
};
|
|
@@ -189,6 +197,7 @@ export type ListChildRequest = {
|
|
|
189
197
|
orderDirection?: ListChildRequest_OrderDirection;
|
|
190
198
|
page?: number;
|
|
191
199
|
perPage?: number;
|
|
200
|
+
/** like %name% */
|
|
192
201
|
searchByName?: string;
|
|
193
202
|
};
|
|
194
203
|
export type ListChildResponse_ChildAccount = {
|
|
@@ -208,6 +217,7 @@ export type GetAuthHistoryRequest = {
|
|
|
208
217
|
orderDirection?: GetAuthHistoryRequest_OrderDirection;
|
|
209
218
|
page?: number;
|
|
210
219
|
perPage?: number;
|
|
220
|
+
/** like '%email%' */
|
|
211
221
|
searchByEmail?: string;
|
|
212
222
|
};
|
|
213
223
|
export type GetAuthHistoryResponse_AuthRecord_AuthStatus = 'SUCCESS' | 'FAILED';
|
|
@@ -301,26 +311,39 @@ export type EmailContent_SenderInfo = {
|
|
|
301
311
|
replyTo: EmailContent_SenderInfo_Address;
|
|
302
312
|
};
|
|
303
313
|
export type EmailContent_Unlayer = {
|
|
314
|
+
/** Raw html */
|
|
304
315
|
html: string;
|
|
316
|
+
/** Localization map {"en": {"variable":"value"}...} */
|
|
305
317
|
localizationData: object;
|
|
318
|
+
/** Unlayer specific config */
|
|
306
319
|
editorConfig: object;
|
|
307
320
|
};
|
|
308
321
|
export type EmailContent_Pushwoosh = {
|
|
322
|
+
/** Raw html */
|
|
309
323
|
html: string;
|
|
324
|
+
/** Localization map {"en": {"variable":"value"}...} */
|
|
310
325
|
localizationData: object;
|
|
311
326
|
};
|
|
312
327
|
export type EmailContent_Raw = {
|
|
328
|
+
/** html map {"en": "html_content"...} */
|
|
313
329
|
html: Record<string, string>;
|
|
314
330
|
};
|
|
315
331
|
export type EmailContent_Mjml = {
|
|
332
|
+
/** Raw html */
|
|
316
333
|
html: string;
|
|
334
|
+
/** Localization map {"en": {"variable":"value"}...} */
|
|
317
335
|
localizationData: object;
|
|
336
|
+
/** MJML template source */
|
|
318
337
|
mjml: string;
|
|
338
|
+
/** MJML editor settings */
|
|
319
339
|
settings: object;
|
|
320
340
|
};
|
|
321
341
|
export type EmailContent_Smartcards = {
|
|
342
|
+
/** Raw html */
|
|
322
343
|
html: string;
|
|
344
|
+
/** Localization map {"en": {"variable":"value"}...} */
|
|
323
345
|
localizationData: object;
|
|
346
|
+
/** Smartcards editor content */
|
|
324
347
|
content: object;
|
|
325
348
|
};
|
|
326
349
|
export type EmailContent_kind_unlayer = {
|
|
@@ -346,6 +369,7 @@ export type EmailContent_kind_smartcards = {
|
|
|
346
369
|
export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw | EmailContent_kind_mjml | EmailContent_kind_smartcards;
|
|
347
370
|
export type EmailContent = {
|
|
348
371
|
senderInfo: EmailContent_SenderInfo;
|
|
372
|
+
/** subject map {"en": "subject_content"...} */
|
|
349
373
|
subject: Record<string, string>;
|
|
350
374
|
kind: EmailContent_kind;
|
|
351
375
|
};
|
|
@@ -363,9 +387,13 @@ export type ListEmailTemplatesRequest = {
|
|
|
363
387
|
orderDirection?: ListEmailTemplatesRequest_OrderDirection;
|
|
364
388
|
page?: number;
|
|
365
389
|
perPage?: number;
|
|
390
|
+
/** like %name% */
|
|
366
391
|
searchByName?: string;
|
|
392
|
+
/** like %label% */
|
|
367
393
|
searchByLabel?: string;
|
|
394
|
+
/** uses eq for label search */
|
|
368
395
|
strictSearchByLabel?: boolean;
|
|
396
|
+
/** in ['category'] */
|
|
369
397
|
searchByCategory?: string[];
|
|
370
398
|
};
|
|
371
399
|
export type ListEmailTemplatesResponse = {
|
|
@@ -406,6 +434,7 @@ export type MigrateRequest_SenderInfo = {
|
|
|
406
434
|
export type MigrateRequest = {
|
|
407
435
|
code?: string;
|
|
408
436
|
application?: string;
|
|
437
|
+
/** subject map {"en": "subject_content"...} */
|
|
409
438
|
subject?: Record<string, string>;
|
|
410
439
|
senderInfo?: MigrateRequest_SenderInfo;
|
|
411
440
|
categories?: string[];
|
|
@@ -2,6 +2,10 @@ import { RpcMethod } from './commonTypes';
|
|
|
2
2
|
import { BillingAddress as pushwoosh_rpc_v2_accounts_BillingAddress } from './accounts';
|
|
3
3
|
import { RestrictionValue as pushwoosh_objects_restrictionValues_v1_RestrictionValue } from './pushwoosh_objects_restrictionValues_v1';
|
|
4
4
|
export type GetAuthInfoService_GetAuthInfo = RpcMethod<GetAuthInfoRequest, GetAuthInfoResponse>;
|
|
5
|
+
/**
|
|
6
|
+
* Прям отдельный сервис под этот один запрос. Потому что он страшный и должен быть разобран.
|
|
7
|
+
* Пока что просто переношу как есть.
|
|
8
|
+
*/
|
|
5
9
|
export interface GetAuthInfoService {
|
|
6
10
|
GetAuthInfo: GetAuthInfoService_GetAuthInfo;
|
|
7
11
|
}
|
package/api_tokens.d.ts
CHANGED
package/applications.d.ts
CHANGED
|
@@ -129,17 +129,20 @@ export type SendEmailVerificationRequest = {
|
|
|
129
129
|
export type SendEmailVerificationResponse = {};
|
|
130
130
|
export type AccountGroupPermissions = {
|
|
131
131
|
groupName: string;
|
|
132
|
+
/** ace rights */
|
|
132
133
|
see: boolean;
|
|
133
134
|
modify: boolean;
|
|
134
135
|
send: boolean;
|
|
135
136
|
};
|
|
136
137
|
export type GetAccountGroupPermissionsRequest = {
|
|
138
|
+
/** application code */
|
|
137
139
|
code?: string;
|
|
138
140
|
};
|
|
139
141
|
export type GetAccountGroupPermissionsResponse = {
|
|
140
142
|
permissions: AccountGroupPermissions[];
|
|
141
143
|
};
|
|
142
144
|
export type SaveAccountGroupPermissionsRequest = {
|
|
145
|
+
/** application code */
|
|
143
146
|
code?: string;
|
|
144
147
|
permissions?: AccountGroupPermissions[];
|
|
145
148
|
};
|
|
@@ -152,10 +155,14 @@ export type GetControlGroupSettingsRequest = {
|
|
|
152
155
|
export type GetControlGroupSettingsResponse = {
|
|
153
156
|
percentage: number;
|
|
154
157
|
enabled: boolean;
|
|
158
|
+
/** All users in the application */
|
|
155
159
|
totalUsers: number;
|
|
160
|
+
/** Users with PW_ControlGroup = true */
|
|
156
161
|
controlGroupUsers: number;
|
|
157
162
|
calculationStatus: ControlGroupTaskStatus;
|
|
163
|
+
/** Last time control group settings were modified */
|
|
158
164
|
lastModifiedAt: Date;
|
|
165
|
+
/** Email of user who last modified settings */
|
|
159
166
|
lastModifiedBy: string;
|
|
160
167
|
};
|
|
161
168
|
export type UpdateControlGroupPercentageRequest = {
|
package/applications_alerts.d.ts
CHANGED
|
@@ -4,7 +4,13 @@ export interface ApplicationsAlertsService {
|
|
|
4
4
|
List: ApplicationsAlertsService_List;
|
|
5
5
|
}
|
|
6
6
|
export type AlertType = 'INFO' | 'WARNING' | 'ERROR';
|
|
7
|
-
export type AlertError = 'ALERT_ERROR_UNSPECIFIED'
|
|
7
|
+
export type AlertError = 'ALERT_ERROR_UNSPECIFIED'
|
|
8
|
+
/** warnings */
|
|
9
|
+
| 'SUBSCRIBERS_QUOTA_ALMOST_REACHED' | 'EMAIL_QUOTA_ALMOST_REACHED'
|
|
10
|
+
/** errors */
|
|
11
|
+
| 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED' | 'EMAIL_CONFIGURATION_NOT_COMPLETED'
|
|
12
|
+
/** recommendation */
|
|
13
|
+
| 'SDK_INTEGRATION' | 'THIRD_PARTY_INTEGRATION';
|
|
8
14
|
export type Alert = {
|
|
9
15
|
name: string;
|
|
10
16
|
description: string;
|
package/applications_groups.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export type ListApplicationsGroupsResponse = {
|
|
|
41
41
|
};
|
|
42
42
|
export type CreateApplicationsGroupRequest = {
|
|
43
43
|
title?: string;
|
|
44
|
+
/** priority is determined by the order of the apps (highest first) */
|
|
44
45
|
applications?: string[];
|
|
45
46
|
};
|
|
46
47
|
export type CreateApplicationsGroupResponse = {
|
|
@@ -49,6 +50,7 @@ export type CreateApplicationsGroupResponse = {
|
|
|
49
50
|
export type UpdateApplicationsGroupRequest = {
|
|
50
51
|
code?: string;
|
|
51
52
|
title?: string;
|
|
53
|
+
/** priority is determined by the order of the apps (highest first) */
|
|
52
54
|
applications?: string[];
|
|
53
55
|
};
|
|
54
56
|
export type UpdateApplicationsGroupResponse = {};
|
|
@@ -6,55 +6,83 @@ export type ApplicationsStatisticsService_GetPushApplicationStatistics = RpcMeth
|
|
|
6
6
|
export type ApplicationsStatisticsService_GetEmailApplicationStatistics = RpcMethod<GetEmailApplicationStatisticsRequest, GetEmailApplicationStatisticsResponse>;
|
|
7
7
|
export interface ApplicationsStatisticsService {
|
|
8
8
|
GetUsersStatistics: ApplicationsStatisticsService_GetUsersStatistics;
|
|
9
|
+
/** GetMAUStatistics returns mau statistics with time series data */
|
|
9
10
|
GetMAUStatistics: ApplicationsStatisticsService_GetMAUStatistics;
|
|
11
|
+
/** GetDAUStatistics returns dau statistics with time series data */
|
|
10
12
|
GetDAUStatistics: ApplicationsStatisticsService_GetDAUStatistics;
|
|
13
|
+
/** GetPushApplicationStatistics returns push application statistics with time series data */
|
|
11
14
|
GetPushApplicationStatistics: ApplicationsStatisticsService_GetPushApplicationStatistics;
|
|
15
|
+
/** GetEmailApplicationStatistics returns email application statistics with time series data */
|
|
12
16
|
GetEmailApplicationStatistics: ApplicationsStatisticsService_GetEmailApplicationStatistics;
|
|
13
17
|
}
|
|
14
18
|
export type TimeInterval = 'TIME_INTERVAL_UNSPECIFIED' | 'TIME_INTERVAL_HOUR' | 'TIME_INTERVAL_DAY' | 'TIME_INTERVAL_WEEK' | 'TIME_INTERVAL_MONTH';
|
|
15
19
|
export type GetUsersStatisticsRequest = {
|
|
20
|
+
/** Application Code */
|
|
16
21
|
application?: string;
|
|
17
22
|
};
|
|
18
23
|
export type GetUsersStatisticsResponse = {
|
|
24
|
+
/** Time points for the series */
|
|
19
25
|
timestamps: Date[];
|
|
26
|
+
/** Total users for each timestamp */
|
|
20
27
|
usersCount: number[];
|
|
28
|
+
/** Time interval for grouping data */
|
|
21
29
|
interval: TimeInterval;
|
|
22
30
|
};
|
|
23
31
|
export type GetMAUStatisticsRequest = {
|
|
32
|
+
/** Application Code */
|
|
24
33
|
application?: string;
|
|
25
34
|
};
|
|
26
35
|
export type GetMAUStatisticsResponse = {
|
|
36
|
+
/** Time points for the series */
|
|
27
37
|
timestamps: Date[];
|
|
38
|
+
/** monthly active users for each timestamp */
|
|
28
39
|
usersCount: number[];
|
|
29
40
|
};
|
|
30
41
|
export type GetDAUStatisticsRequest = {
|
|
42
|
+
/** Application Code */
|
|
31
43
|
application?: string;
|
|
32
44
|
};
|
|
33
45
|
export type GetDAUStatisticsResponse = {
|
|
46
|
+
/** Time points for the series */
|
|
34
47
|
timestamps: Date[];
|
|
48
|
+
/** daily active users for each timestamp */
|
|
35
49
|
usersCount: number[];
|
|
36
50
|
};
|
|
37
51
|
export type GetPushApplicationStatisticsRequest = {
|
|
52
|
+
/** Application Code */
|
|
38
53
|
application?: string;
|
|
39
54
|
};
|
|
40
55
|
export type PlatformStatistics = {
|
|
56
|
+
/** Platform name */
|
|
41
57
|
platform: string;
|
|
58
|
+
/** Values for each timestamp */
|
|
42
59
|
values: number[];
|
|
43
60
|
};
|
|
44
61
|
export type GetPushApplicationStatisticsResponse = {
|
|
62
|
+
/** Time points for the series */
|
|
45
63
|
timestamps: Date[];
|
|
64
|
+
/** Total devices for each timestamp by platform */
|
|
46
65
|
totalDevices: PlatformStatistics[];
|
|
66
|
+
/** Total sends for each timestamp by platform */
|
|
47
67
|
sends: PlatformStatistics[];
|
|
68
|
+
/** Open rate for each timestamp by platform */
|
|
48
69
|
openRate: PlatformStatistics[];
|
|
70
|
+
/** Time interval for grouping data */
|
|
49
71
|
interval: TimeInterval;
|
|
50
72
|
};
|
|
51
73
|
export type GetEmailApplicationStatisticsRequest = {
|
|
74
|
+
/** Application Code */
|
|
52
75
|
application?: string;
|
|
53
76
|
};
|
|
54
77
|
export type GetEmailApplicationStatisticsResponse = {
|
|
78
|
+
/** Time points for the series */
|
|
55
79
|
timestamps: Date[];
|
|
80
|
+
/** Total devices for each timestamp by platform */
|
|
56
81
|
totalDevices: PlatformStatistics[];
|
|
82
|
+
/** Total sends for each timestamp by platform */
|
|
57
83
|
sends: PlatformStatistics[];
|
|
84
|
+
/** Open rate for each timestamp by platform */
|
|
58
85
|
openRate: PlatformStatistics[];
|
|
86
|
+
/** Time interval for grouping data */
|
|
59
87
|
interval: TimeInterval;
|
|
60
88
|
};
|
package/categories.d.ts
CHANGED
package/cloud_pages.d.ts
CHANGED
|
@@ -21,7 +21,9 @@ export type ListCloudPagesRequest = {
|
|
|
21
21
|
orderDirection?: ListCloudPagesRequest_OrderDirection;
|
|
22
22
|
page?: number;
|
|
23
23
|
perPage?: number;
|
|
24
|
+
/** like %name% */
|
|
24
25
|
searchByName?: string;
|
|
26
|
+
/** in ['category'] */
|
|
25
27
|
searchByCategory?: string[];
|
|
26
28
|
};
|
|
27
29
|
export type CloudPage = {
|