@pushwoosh/rpc-v2-http-api-data 0.1.808 → 0.1.809
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_get_auth_info.d.ts +0 -1
- package/data.js +0 -297
- package/index.d.ts +0 -2
- package/package.json +1 -1
- package/tags.d.ts +0 -6
- package/autopushes.d.ts +0 -87
- package/autopushes.js +0 -2
package/data.js
CHANGED
|
@@ -1958,9 +1958,6 @@ export const data = {
|
|
|
1958
1958
|
"testDevicesCount": {
|
|
1959
1959
|
"type": "number"
|
|
1960
1960
|
},
|
|
1961
|
-
"autoPushesCount": {
|
|
1962
|
-
"type": "number"
|
|
1963
|
-
},
|
|
1964
1961
|
"rssFeedsCount": {
|
|
1965
1962
|
"type": "number"
|
|
1966
1963
|
},
|
|
@@ -3958,282 +3955,6 @@ export const data = {
|
|
|
3958
3955
|
}
|
|
3959
3956
|
}
|
|
3960
3957
|
},
|
|
3961
|
-
"pushwoosh.rpc_v2.autopushes.AutopushesService": {
|
|
3962
|
-
"type": "S",
|
|
3963
|
-
"key": "autopushes",
|
|
3964
|
-
"methods": {
|
|
3965
|
-
"List": {
|
|
3966
|
-
"request": "pushwoosh.rpc_v2.autopushes.ListRequest",
|
|
3967
|
-
"response": "pushwoosh.rpc_v2.autopushes.ListResponse",
|
|
3968
|
-
"method": "get",
|
|
3969
|
-
"path": "/api/autopushes"
|
|
3970
|
-
},
|
|
3971
|
-
"Delete": {
|
|
3972
|
-
"request": "pushwoosh.rpc_v2.autopushes.DeleteRequest",
|
|
3973
|
-
"response": "pushwoosh.rpc_v2.autopushes.DeleteResponse",
|
|
3974
|
-
"method": "delete",
|
|
3975
|
-
"path": "/api/autopushes/{code}"
|
|
3976
|
-
},
|
|
3977
|
-
"Get": {
|
|
3978
|
-
"request": "pushwoosh.rpc_v2.autopushes.GetRequest",
|
|
3979
|
-
"response": "pushwoosh.rpc_v2.autopushes.GetResponse",
|
|
3980
|
-
"method": "get",
|
|
3981
|
-
"path": "/api/autopushes/{application}/{code}"
|
|
3982
|
-
},
|
|
3983
|
-
"Create": {
|
|
3984
|
-
"request": "pushwoosh.rpc_v2.autopushes.CreateRequest",
|
|
3985
|
-
"response": "pushwoosh.rpc_v2.autopushes.CreateResponse",
|
|
3986
|
-
"method": "post",
|
|
3987
|
-
"path": "/api/autopushes"
|
|
3988
|
-
},
|
|
3989
|
-
"Update": {
|
|
3990
|
-
"request": "pushwoosh.rpc_v2.autopushes.UpdateRequest",
|
|
3991
|
-
"response": "pushwoosh.rpc_v2.autopushes.UpdateResponse",
|
|
3992
|
-
"method": "put",
|
|
3993
|
-
"path": "/api/autopushes/{code}"
|
|
3994
|
-
}
|
|
3995
|
-
}
|
|
3996
|
-
},
|
|
3997
|
-
"pushwoosh.rpc_v2.autopushes.Schedule": {
|
|
3998
|
-
"type": "I",
|
|
3999
|
-
"fields": {
|
|
4000
|
-
"stopSendDate": {
|
|
4001
|
-
"type": "Date"
|
|
4002
|
-
},
|
|
4003
|
-
"time": {
|
|
4004
|
-
"type": "string"
|
|
4005
|
-
},
|
|
4006
|
-
"daysOfWeek": {
|
|
4007
|
-
"type": "string",
|
|
4008
|
-
"array": true
|
|
4009
|
-
},
|
|
4010
|
-
"daysOfMonth": {
|
|
4011
|
-
"type": "string",
|
|
4012
|
-
"array": true
|
|
4013
|
-
}
|
|
4014
|
-
}
|
|
4015
|
-
},
|
|
4016
|
-
"pushwoosh.rpc_v2.autopushes.Capping": {
|
|
4017
|
-
"type": "I",
|
|
4018
|
-
"fields": {
|
|
4019
|
-
"count": {
|
|
4020
|
-
"type": "number"
|
|
4021
|
-
},
|
|
4022
|
-
"days": {
|
|
4023
|
-
"type": "number"
|
|
4024
|
-
}
|
|
4025
|
-
}
|
|
4026
|
-
},
|
|
4027
|
-
"pushwoosh.rpc_v2.autopushes.Autopush": {
|
|
4028
|
-
"type": "I",
|
|
4029
|
-
"fields": {
|
|
4030
|
-
"code": {
|
|
4031
|
-
"type": "string"
|
|
4032
|
-
},
|
|
4033
|
-
"name": {
|
|
4034
|
-
"type": "string"
|
|
4035
|
-
},
|
|
4036
|
-
"description": {
|
|
4037
|
-
"type": "string"
|
|
4038
|
-
},
|
|
4039
|
-
"preset": {
|
|
4040
|
-
"type": "string"
|
|
4041
|
-
},
|
|
4042
|
-
"filter": {
|
|
4043
|
-
"type": "string"
|
|
4044
|
-
},
|
|
4045
|
-
"application": {
|
|
4046
|
-
"type": "string"
|
|
4047
|
-
},
|
|
4048
|
-
"campaign": {
|
|
4049
|
-
"type": "string"
|
|
4050
|
-
},
|
|
4051
|
-
"useUserTimezone": {
|
|
4052
|
-
"type": "boolean"
|
|
4053
|
-
},
|
|
4054
|
-
"content": {
|
|
4055
|
-
"type": "string"
|
|
4056
|
-
},
|
|
4057
|
-
"schedule": {
|
|
4058
|
-
"type": "pushwoosh.rpc_v2.autopushes.Schedule"
|
|
4059
|
-
},
|
|
4060
|
-
"capping": {
|
|
4061
|
-
"type": "pushwoosh.rpc_v2.autopushes.Capping"
|
|
4062
|
-
},
|
|
4063
|
-
"created": {
|
|
4064
|
-
"type": "Date"
|
|
4065
|
-
}
|
|
4066
|
-
}
|
|
4067
|
-
},
|
|
4068
|
-
"pushwoosh.rpc_v2.autopushes.ListRequest.OrderBy": {
|
|
4069
|
-
"type": "E",
|
|
4070
|
-
"values": [
|
|
4071
|
-
"NAME",
|
|
4072
|
-
"CREATED"
|
|
4073
|
-
]
|
|
4074
|
-
},
|
|
4075
|
-
"pushwoosh.rpc_v2.autopushes.ListRequest.OrderDirection": {
|
|
4076
|
-
"type": "E",
|
|
4077
|
-
"values": [
|
|
4078
|
-
"ASC",
|
|
4079
|
-
"DESC"
|
|
4080
|
-
]
|
|
4081
|
-
},
|
|
4082
|
-
"pushwoosh.rpc_v2.autopushes.ListRequest": {
|
|
4083
|
-
"type": "I",
|
|
4084
|
-
"fields": {
|
|
4085
|
-
"application": {
|
|
4086
|
-
"type": "string"
|
|
4087
|
-
},
|
|
4088
|
-
"page": {
|
|
4089
|
-
"type": "number"
|
|
4090
|
-
},
|
|
4091
|
-
"perPage": {
|
|
4092
|
-
"type": "number"
|
|
4093
|
-
},
|
|
4094
|
-
"orderBy": {
|
|
4095
|
-
"type": "pushwoosh.rpc_v2.autopushes.ListRequest.OrderBy"
|
|
4096
|
-
},
|
|
4097
|
-
"orderDirection": {
|
|
4098
|
-
"type": "pushwoosh.rpc_v2.autopushes.ListRequest.OrderDirection"
|
|
4099
|
-
},
|
|
4100
|
-
"searchByName": {
|
|
4101
|
-
"type": "string"
|
|
4102
|
-
},
|
|
4103
|
-
"searchByCode": {
|
|
4104
|
-
"type": "string"
|
|
4105
|
-
}
|
|
4106
|
-
}
|
|
4107
|
-
},
|
|
4108
|
-
"pushwoosh.rpc_v2.autopushes.ListResponse": {
|
|
4109
|
-
"type": "I",
|
|
4110
|
-
"fields": {
|
|
4111
|
-
"autopushes": {
|
|
4112
|
-
"type": "pushwoosh.rpc_v2.autopushes.Autopush",
|
|
4113
|
-
"array": true
|
|
4114
|
-
},
|
|
4115
|
-
"page": {
|
|
4116
|
-
"type": "number"
|
|
4117
|
-
},
|
|
4118
|
-
"perPage": {
|
|
4119
|
-
"type": "number"
|
|
4120
|
-
},
|
|
4121
|
-
"total": {
|
|
4122
|
-
"type": "number"
|
|
4123
|
-
}
|
|
4124
|
-
}
|
|
4125
|
-
},
|
|
4126
|
-
"pushwoosh.rpc_v2.autopushes.DeleteRequest": {
|
|
4127
|
-
"type": "I",
|
|
4128
|
-
"fields": {
|
|
4129
|
-
"code": {
|
|
4130
|
-
"type": "string"
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
},
|
|
4134
|
-
"pushwoosh.rpc_v2.autopushes.DeleteResponse": {
|
|
4135
|
-
"type": "I",
|
|
4136
|
-
"fields": {}
|
|
4137
|
-
},
|
|
4138
|
-
"pushwoosh.rpc_v2.autopushes.GetRequest": {
|
|
4139
|
-
"type": "I",
|
|
4140
|
-
"fields": {
|
|
4141
|
-
"code": {
|
|
4142
|
-
"type": "string"
|
|
4143
|
-
},
|
|
4144
|
-
"application": {
|
|
4145
|
-
"type": "string"
|
|
4146
|
-
}
|
|
4147
|
-
}
|
|
4148
|
-
},
|
|
4149
|
-
"pushwoosh.rpc_v2.autopushes.GetResponse": {
|
|
4150
|
-
"type": "I",
|
|
4151
|
-
"fields": {
|
|
4152
|
-
"autopush": {
|
|
4153
|
-
"type": "pushwoosh.rpc_v2.autopushes.Autopush"
|
|
4154
|
-
}
|
|
4155
|
-
}
|
|
4156
|
-
},
|
|
4157
|
-
"pushwoosh.rpc_v2.autopushes.CreateRequest": {
|
|
4158
|
-
"type": "I",
|
|
4159
|
-
"fields": {
|
|
4160
|
-
"name": {
|
|
4161
|
-
"type": "string"
|
|
4162
|
-
},
|
|
4163
|
-
"description": {
|
|
4164
|
-
"type": "string"
|
|
4165
|
-
},
|
|
4166
|
-
"preset": {
|
|
4167
|
-
"type": "string"
|
|
4168
|
-
},
|
|
4169
|
-
"filter": {
|
|
4170
|
-
"type": "string"
|
|
4171
|
-
},
|
|
4172
|
-
"application": {
|
|
4173
|
-
"type": "string"
|
|
4174
|
-
},
|
|
4175
|
-
"campaign": {
|
|
4176
|
-
"type": "string"
|
|
4177
|
-
},
|
|
4178
|
-
"useUserTimezone": {
|
|
4179
|
-
"type": "boolean"
|
|
4180
|
-
},
|
|
4181
|
-
"schedule": {
|
|
4182
|
-
"type": "pushwoosh.rpc_v2.autopushes.Schedule"
|
|
4183
|
-
},
|
|
4184
|
-
"capping": {
|
|
4185
|
-
"type": "pushwoosh.rpc_v2.autopushes.Capping"
|
|
4186
|
-
}
|
|
4187
|
-
}
|
|
4188
|
-
},
|
|
4189
|
-
"pushwoosh.rpc_v2.autopushes.CreateResponse": {
|
|
4190
|
-
"type": "I",
|
|
4191
|
-
"fields": {
|
|
4192
|
-
"autopush": {
|
|
4193
|
-
"type": "pushwoosh.rpc_v2.autopushes.Autopush"
|
|
4194
|
-
}
|
|
4195
|
-
}
|
|
4196
|
-
},
|
|
4197
|
-
"pushwoosh.rpc_v2.autopushes.UpdateRequest": {
|
|
4198
|
-
"type": "I",
|
|
4199
|
-
"fields": {
|
|
4200
|
-
"code": {
|
|
4201
|
-
"type": "string"
|
|
4202
|
-
},
|
|
4203
|
-
"name": {
|
|
4204
|
-
"type": "string"
|
|
4205
|
-
},
|
|
4206
|
-
"description": {
|
|
4207
|
-
"type": "string"
|
|
4208
|
-
},
|
|
4209
|
-
"preset": {
|
|
4210
|
-
"type": "string"
|
|
4211
|
-
},
|
|
4212
|
-
"filter": {
|
|
4213
|
-
"type": "string"
|
|
4214
|
-
},
|
|
4215
|
-
"campaign": {
|
|
4216
|
-
"type": "string"
|
|
4217
|
-
},
|
|
4218
|
-
"useUserTimezone": {
|
|
4219
|
-
"type": "boolean"
|
|
4220
|
-
},
|
|
4221
|
-
"schedule": {
|
|
4222
|
-
"type": "pushwoosh.rpc_v2.autopushes.Schedule"
|
|
4223
|
-
},
|
|
4224
|
-
"capping": {
|
|
4225
|
-
"type": "pushwoosh.rpc_v2.autopushes.Capping"
|
|
4226
|
-
}
|
|
4227
|
-
}
|
|
4228
|
-
},
|
|
4229
|
-
"pushwoosh.rpc_v2.autopushes.UpdateResponse": {
|
|
4230
|
-
"type": "I",
|
|
4231
|
-
"fields": {
|
|
4232
|
-
"autopush": {
|
|
4233
|
-
"type": "pushwoosh.rpc_v2.autopushes.Autopush"
|
|
4234
|
-
}
|
|
4235
|
-
}
|
|
4236
|
-
},
|
|
4237
3958
|
"pushwoosh.rpc_v2.campaigns.CampaignsService": {
|
|
4238
3959
|
"type": "S",
|
|
4239
3960
|
"key": "campaigns",
|
|
@@ -23921,20 +23642,6 @@ export const data = {
|
|
|
23921
23642
|
}
|
|
23922
23643
|
}
|
|
23923
23644
|
},
|
|
23924
|
-
"pushwoosh.rpc_v2.tags.GetTagUsageResponse.Autopush": {
|
|
23925
|
-
"type": "I",
|
|
23926
|
-
"fields": {
|
|
23927
|
-
"code": {
|
|
23928
|
-
"type": "string"
|
|
23929
|
-
},
|
|
23930
|
-
"name": {
|
|
23931
|
-
"type": "string"
|
|
23932
|
-
},
|
|
23933
|
-
"status": {
|
|
23934
|
-
"type": "boolean"
|
|
23935
|
-
}
|
|
23936
|
-
}
|
|
23937
|
-
},
|
|
23938
23645
|
"pushwoosh.rpc_v2.tags.GetTagUsageResponse.Filter": {
|
|
23939
23646
|
"type": "I",
|
|
23940
23647
|
"fields": {
|
|
@@ -23957,10 +23664,6 @@ export const data = {
|
|
|
23957
23664
|
"type": "pushwoosh.rpc_v2.tags.GetTagUsageResponse.Inapp",
|
|
23958
23665
|
"array": true
|
|
23959
23666
|
},
|
|
23960
|
-
"autopushes": {
|
|
23961
|
-
"type": "pushwoosh.rpc_v2.tags.GetTagUsageResponse.Autopush",
|
|
23962
|
-
"array": true
|
|
23963
|
-
},
|
|
23964
23667
|
"filters": {
|
|
23965
23668
|
"type": "pushwoosh.rpc_v2.tags.GetTagUsageResponse.Filter",
|
|
23966
23669
|
"array": true
|
package/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ import { ApplicationsConfigurationsService as pushwoosh_rpc_v2_applications_conf
|
|
|
14
14
|
import { ApplicationsGroupsService as pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService } from './applications_groups';
|
|
15
15
|
import { ApplicationsInfoService as pushwoosh_rpc_v2_applications_info_ApplicationsInfoService } from './applications_info';
|
|
16
16
|
import { ApplicationsStatisticsService as pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService } from './applications_statistics';
|
|
17
|
-
import { AutopushesService as pushwoosh_rpc_v2_autopushes_AutopushesService } from './autopushes';
|
|
18
17
|
import { CampaignsService as pushwoosh_rpc_v2_campaigns_CampaignsService } from './campaigns';
|
|
19
18
|
import { CategoriesService as pushwoosh_rpc_v2_categories_CategoriesService } from './categories';
|
|
20
19
|
import { MessagingService as pushwoosh_channels_messagingApi_v2_MessagingService } from './pushwoosh_channels_messagingApi_v2';
|
|
@@ -74,7 +73,6 @@ export type API = {
|
|
|
74
73
|
applicationsGroups: pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService;
|
|
75
74
|
applicationsInfo: pushwoosh_rpc_v2_applications_info_ApplicationsInfoService;
|
|
76
75
|
applicationsStatistics: pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService;
|
|
77
|
-
autopushes: pushwoosh_rpc_v2_autopushes_AutopushesService;
|
|
78
76
|
campaigns: pushwoosh_rpc_v2_campaigns_CampaignsService;
|
|
79
77
|
categories: pushwoosh_rpc_v2_categories_CategoriesService;
|
|
80
78
|
messaging: pushwoosh_channels_messagingApi_v2_MessagingService;
|
package/package.json
CHANGED
package/tags.d.ts
CHANGED
|
@@ -84,11 +84,6 @@ export type GetTagUsageResponse_Inapp = {
|
|
|
84
84
|
name: string;
|
|
85
85
|
status: string;
|
|
86
86
|
};
|
|
87
|
-
export type GetTagUsageResponse_Autopush = {
|
|
88
|
-
code: string;
|
|
89
|
-
name: string;
|
|
90
|
-
status: boolean;
|
|
91
|
-
};
|
|
92
87
|
export type GetTagUsageResponse_Filter = {
|
|
93
88
|
code: string;
|
|
94
89
|
name: string;
|
|
@@ -96,6 +91,5 @@ export type GetTagUsageResponse_Filter = {
|
|
|
96
91
|
export type GetTagUsageResponse = {
|
|
97
92
|
journeys: GetTagUsageResponse_Journey[];
|
|
98
93
|
inapps: GetTagUsageResponse_Inapp[];
|
|
99
|
-
autopushes: GetTagUsageResponse_Autopush[];
|
|
100
94
|
filters: GetTagUsageResponse_Filter[];
|
|
101
95
|
};
|
package/autopushes.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export interface AutopushesService {
|
|
2
|
-
List(request: ListRequest): Promise<ListResponse>;
|
|
3
|
-
Delete(request: DeleteRequest): Promise<DeleteResponse>;
|
|
4
|
-
Get(request: GetRequest): Promise<GetResponse>;
|
|
5
|
-
Create(request: CreateRequest): Promise<CreateResponse>;
|
|
6
|
-
Update(request: UpdateRequest): Promise<UpdateResponse>;
|
|
7
|
-
}
|
|
8
|
-
export type Schedule = {
|
|
9
|
-
stopSendDate: Date;
|
|
10
|
-
time: string;
|
|
11
|
-
daysOfWeek: string[];
|
|
12
|
-
daysOfMonth: string[];
|
|
13
|
-
};
|
|
14
|
-
export type Capping = {
|
|
15
|
-
count: number;
|
|
16
|
-
days: number;
|
|
17
|
-
};
|
|
18
|
-
export type Autopush = {
|
|
19
|
-
code: string;
|
|
20
|
-
name: string;
|
|
21
|
-
description: string;
|
|
22
|
-
preset: string;
|
|
23
|
-
filter: string;
|
|
24
|
-
application: string;
|
|
25
|
-
campaign: string;
|
|
26
|
-
useUserTimezone: boolean;
|
|
27
|
-
content: string;
|
|
28
|
-
schedule: Schedule;
|
|
29
|
-
capping: Capping;
|
|
30
|
-
created: Date;
|
|
31
|
-
};
|
|
32
|
-
export type ListRequest_OrderBy = 'NAME' | 'CREATED';
|
|
33
|
-
export type ListRequest_OrderDirection = 'ASC' | 'DESC';
|
|
34
|
-
export type ListRequest = {
|
|
35
|
-
application?: string;
|
|
36
|
-
page?: number;
|
|
37
|
-
perPage?: number;
|
|
38
|
-
orderBy?: ListRequest_OrderBy;
|
|
39
|
-
orderDirection?: ListRequest_OrderDirection;
|
|
40
|
-
searchByName?: string;
|
|
41
|
-
searchByCode?: string;
|
|
42
|
-
};
|
|
43
|
-
export type ListResponse = {
|
|
44
|
-
autopushes: Autopush[];
|
|
45
|
-
page: number;
|
|
46
|
-
perPage: number;
|
|
47
|
-
total: number;
|
|
48
|
-
};
|
|
49
|
-
export type DeleteRequest = {
|
|
50
|
-
code?: string;
|
|
51
|
-
};
|
|
52
|
-
export type DeleteResponse = {};
|
|
53
|
-
export type GetRequest = {
|
|
54
|
-
code?: string;
|
|
55
|
-
application?: string;
|
|
56
|
-
};
|
|
57
|
-
export type GetResponse = {
|
|
58
|
-
autopush: Autopush;
|
|
59
|
-
};
|
|
60
|
-
export type CreateRequest = {
|
|
61
|
-
name?: string;
|
|
62
|
-
description?: string;
|
|
63
|
-
preset?: string;
|
|
64
|
-
filter?: string;
|
|
65
|
-
application?: string;
|
|
66
|
-
campaign?: string;
|
|
67
|
-
useUserTimezone?: boolean;
|
|
68
|
-
schedule?: Schedule;
|
|
69
|
-
capping?: Capping;
|
|
70
|
-
};
|
|
71
|
-
export type CreateResponse = {
|
|
72
|
-
autopush: Autopush;
|
|
73
|
-
};
|
|
74
|
-
export type UpdateRequest = {
|
|
75
|
-
code?: string;
|
|
76
|
-
name?: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
preset?: string;
|
|
79
|
-
filter?: string;
|
|
80
|
-
campaign?: string;
|
|
81
|
-
useUserTimezone?: boolean;
|
|
82
|
-
schedule?: Schedule;
|
|
83
|
-
capping?: Capping;
|
|
84
|
-
};
|
|
85
|
-
export type UpdateResponse = {
|
|
86
|
-
autopush: Autopush;
|
|
87
|
-
};
|
package/autopushes.js
DELETED