@pushwoosh/rpc-v2-http-api-data 0.1.613 → 0.1.615
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/applications_alerts.d.ts +17 -0
- package/applications_alerts.js +2 -0
- package/data.js +70 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ApplicationsAlertsService {
|
|
2
|
+
List(request: ListRequest): Promise<ListResponse>;
|
|
3
|
+
}
|
|
4
|
+
export type AlertType = 'INFO' | 'WARNING' | 'ERROR';
|
|
5
|
+
export type AlertError = 'ALERT_ERROR_UNSPECIFIED' | 'SUBSCRIBERS_QUOTA_ALMOST_REACHED' | 'EMAIL_QUOTA_ALMOST_REACHED' | 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED';
|
|
6
|
+
export type Alert = {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
type: AlertType;
|
|
10
|
+
error: AlertError;
|
|
11
|
+
};
|
|
12
|
+
export type ListRequest = {
|
|
13
|
+
application?: string;
|
|
14
|
+
};
|
|
15
|
+
export type ListResponse = {
|
|
16
|
+
alerts: Alert[];
|
|
17
|
+
};
|
package/data.js
CHANGED
|
@@ -2142,6 +2142,76 @@ export const data = {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
2144
|
},
|
|
2145
|
+
"pushwoosh.rpc_v2.applications_alerts.ApplicationsAlertsService": {
|
|
2146
|
+
"type": "S",
|
|
2147
|
+
"key": "applicationsAlerts",
|
|
2148
|
+
"methods": {
|
|
2149
|
+
"List": {
|
|
2150
|
+
"request": "pushwoosh.rpc_v2.applications_alerts.ListRequest",
|
|
2151
|
+
"response": "pushwoosh.rpc_v2.applications_alerts.ListResponse",
|
|
2152
|
+
"method": "get",
|
|
2153
|
+
"path": "/api/v2/applications_alerts/list"
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
"pushwoosh.rpc_v2.applications_alerts.AlertType": {
|
|
2158
|
+
"type": "E",
|
|
2159
|
+
"values": [
|
|
2160
|
+
"INFO",
|
|
2161
|
+
"WARNING",
|
|
2162
|
+
"ERROR"
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
2165
|
+
"pushwoosh.rpc_v2.applications_alerts.AlertError": {
|
|
2166
|
+
"type": "E",
|
|
2167
|
+
"values": [
|
|
2168
|
+
"ALERT_ERROR_UNSPECIFIED",
|
|
2169
|
+
"SUBSCRIBERS_QUOTA_ALMOST_REACHED",
|
|
2170
|
+
"EMAIL_QUOTA_ALMOST_REACHED",
|
|
2171
|
+
"EMAIL_QUOTA_REACHED",
|
|
2172
|
+
"SUSPENDED_ACCOUNT",
|
|
2173
|
+
"MANUALLY_SUSPENDED_ACCOUNT",
|
|
2174
|
+
"APPLE_CERTIFICATE_EXPIRED",
|
|
2175
|
+
"PAYMENT_FAILED",
|
|
2176
|
+
"PLATFORM_DISABLED",
|
|
2177
|
+
"PAYMENT_OVERDUE",
|
|
2178
|
+
"PAYMENT_ATTEMPT_FAILED"
|
|
2179
|
+
]
|
|
2180
|
+
},
|
|
2181
|
+
"pushwoosh.rpc_v2.applications_alerts.Alert": {
|
|
2182
|
+
"type": "I",
|
|
2183
|
+
"fields": {
|
|
2184
|
+
"name": {
|
|
2185
|
+
"type": "string"
|
|
2186
|
+
},
|
|
2187
|
+
"description": {
|
|
2188
|
+
"type": "string"
|
|
2189
|
+
},
|
|
2190
|
+
"type": {
|
|
2191
|
+
"type": "pushwoosh.rpc_v2.applications_alerts.AlertType"
|
|
2192
|
+
},
|
|
2193
|
+
"error": {
|
|
2194
|
+
"type": "pushwoosh.rpc_v2.applications_alerts.AlertError"
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
"pushwoosh.rpc_v2.applications_alerts.ListRequest": {
|
|
2199
|
+
"type": "I",
|
|
2200
|
+
"fields": {
|
|
2201
|
+
"application": {
|
|
2202
|
+
"type": "string"
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
"pushwoosh.rpc_v2.applications_alerts.ListResponse": {
|
|
2207
|
+
"type": "I",
|
|
2208
|
+
"fields": {
|
|
2209
|
+
"alerts": {
|
|
2210
|
+
"type": "pushwoosh.rpc_v2.applications_alerts.Alert",
|
|
2211
|
+
"array": true
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2145
2215
|
"pushwoosh.rpc_v2.applications_configurations.ApplicationsConfigurationsService": {
|
|
2146
2216
|
"type": "S",
|
|
2147
2217
|
"key": "applicationsConfigurations",
|
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ApiTokensService as pushwoosh_rpc_v2_api_tokens_ApiTokensService } from
|
|
|
7
7
|
import { ApplicationsService as pushwoosh_rpc_v2_applications_ApplicationsService } from './applications';
|
|
8
8
|
import { ApplicationEmailFromsService as pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService } from './applications_email_froms';
|
|
9
9
|
import { ApplicationSoundsService as pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService } from './applications_sounds';
|
|
10
|
+
import { ApplicationsAlertsService as pushwoosh_rpc_v2_applications_alerts_ApplicationsAlertsService } from './applications_alerts';
|
|
10
11
|
import { ApplicationsConfigurationsService as pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService } from './applications_configurations';
|
|
11
12
|
import { ApplicationsGroupsService as pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService } from './applications_groups';
|
|
12
13
|
import { ApplicationsInfoService as pushwoosh_rpc_v2_applications_info_ApplicationsInfoService } from './applications_info';
|
|
@@ -55,6 +56,7 @@ export type API = {
|
|
|
55
56
|
applications: pushwoosh_rpc_v2_applications_ApplicationsService;
|
|
56
57
|
applicationEmailFroms: pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService;
|
|
57
58
|
applicationSounds: pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService;
|
|
59
|
+
applicationsAlerts: pushwoosh_rpc_v2_applications_alerts_ApplicationsAlertsService;
|
|
58
60
|
applicationsConfigurations: pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService;
|
|
59
61
|
applicationsGroups: pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService;
|
|
60
62
|
applicationsInfo: pushwoosh_rpc_v2_applications_info_ApplicationsInfoService;
|