@pushwoosh/rpc-v2-http-api-data 0.1.751 → 0.1.753

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.
@@ -86,6 +86,9 @@ export type KakaoConfiguration = {
86
86
  kakaoUserCode: string;
87
87
  kakaoSecretKey: string;
88
88
  };
89
+ export type TelegramConfiguration = {
90
+ telegramApiToken: string;
91
+ };
89
92
  export type WebConfiguration = {
90
93
  webVapidPublicKey: string;
91
94
  webVapidPrivateKey: string;
@@ -159,7 +162,11 @@ export type ConfigurationRequest_kind_kakaoConfiguration = {
159
162
  type: 'kakaoConfiguration';
160
163
  data: KakaoConfiguration;
161
164
  };
162
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration;
165
+ export type ConfigurationRequest_kind_telegramConfiguration = {
166
+ type: 'telegramConfiguration';
167
+ data: TelegramConfiguration;
168
+ };
169
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration;
163
170
  export type ConfigurationRequest = {
164
171
  code?: string;
165
172
  kind: ConfigurationRequest_kind;
package/data.js CHANGED
@@ -1196,8 +1196,7 @@ export const data = {
1196
1196
  "values": [
1197
1197
  "ALERT_TYPE_UNSPECIFIED",
1198
1198
  "ALERT_TYPE_BLOCKING",
1199
- "ALERT_TYPE_DISMISSABLE",
1200
- "ALERT_TYPE_INBOX"
1199
+ "ALERT_TYPE_DISMISSABLE"
1201
1200
  ]
1202
1201
  },
1203
1202
  "pushwoosh.accounts.alerts.v1.AlertStatus": {
@@ -1212,18 +1211,16 @@ export const data = {
1212
1211
  "type": "E",
1213
1212
  "values": [
1214
1213
  "ALERT_SEVERITY_UNSPECIFIED",
1215
- "ALERT_SEVERITY_LOW",
1216
- "ALERT_SEVERITY_MEDIUM",
1217
- "ALERT_SEVERITY_CRITICAL",
1218
- "ALERT_SEVERITY_FATAL"
1214
+ "ALERT_SEVERITY_INFO",
1215
+ "ALERT_SEVERITY_WARNING",
1216
+ "ALERT_SEVERITY_CRITICAL"
1219
1217
  ]
1220
1218
  },
1221
1219
  "pushwoosh.accounts.alerts.v1.OrderBy": {
1222
1220
  "type": "E",
1223
1221
  "values": [
1224
1222
  "ORDER_BY_CREATED",
1225
- "ORDER_BY_SEVERITY",
1226
- "ORDER_BY_EXPIRY"
1223
+ "ORDER_BY_SEVERITY"
1227
1224
  ]
1228
1225
  },
1229
1226
  "pushwoosh.accounts.alerts.v1.OrderDirection": {
@@ -2858,6 +2855,14 @@ export const data = {
2858
2855
  }
2859
2856
  }
2860
2857
  },
2858
+ "pushwoosh.rpc_v2.applications_configurations.TelegramConfiguration": {
2859
+ "type": "I",
2860
+ "fields": {
2861
+ "telegramApiToken": {
2862
+ "type": "string"
2863
+ }
2864
+ }
2865
+ },
2861
2866
  "pushwoosh.rpc_v2.applications_configurations.WebConfiguration": {
2862
2867
  "type": "I",
2863
2868
  "fields": {
@@ -2928,6 +2933,9 @@ export const data = {
2928
2933
  },
2929
2934
  "kakaoConfiguration": {
2930
2935
  "type": "pushwoosh.rpc_v2.applications_configurations.KakaoConfiguration"
2936
+ },
2937
+ "telegramConfiguration": {
2938
+ "type": "pushwoosh.rpc_v2.applications_configurations.TelegramConfiguration"
2931
2939
  }
2932
2940
  },
2933
2941
  "oneofs": {
@@ -2949,7 +2957,8 @@ export const data = {
2949
2957
  "baiduConfiguration",
2950
2958
  "lineConfiguration",
2951
2959
  "webConfiguration",
2952
- "kakaoConfiguration"
2960
+ "kakaoConfiguration",
2961
+ "telegramConfiguration"
2953
2962
  ]
2954
2963
  }
2955
2964
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.751",
3
+ "version": "0.1.753",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -11,10 +11,10 @@ export type AlertEmail = {
11
11
  to: string;
12
12
  template: string;
13
13
  };
14
- export type AlertType = 'ALERT_TYPE_UNSPECIFIED' | 'ALERT_TYPE_BLOCKING' | 'ALERT_TYPE_DISMISSABLE' | 'ALERT_TYPE_INBOX';
14
+ export type AlertType = 'ALERT_TYPE_UNSPECIFIED' | 'ALERT_TYPE_BLOCKING' | 'ALERT_TYPE_DISMISSABLE';
15
15
  export type AlertStatus = 'ALERT_STATUS_UNSPECIFIED' | 'ALERT_STATUS_READ' | 'ALERT_STATUS_UNREAD';
16
- export type AlertSeverity = 'ALERT_SEVERITY_UNSPECIFIED' | 'ALERT_SEVERITY_LOW' | 'ALERT_SEVERITY_MEDIUM' | 'ALERT_SEVERITY_CRITICAL' | 'ALERT_SEVERITY_FATAL';
17
- export type OrderBy = 'ORDER_BY_CREATED' | 'ORDER_BY_SEVERITY' | 'ORDER_BY_EXPIRY';
16
+ export type AlertSeverity = 'ALERT_SEVERITY_UNSPECIFIED' | 'ALERT_SEVERITY_INFO' | 'ALERT_SEVERITY_WARNING' | 'ALERT_SEVERITY_CRITICAL';
17
+ export type OrderBy = 'ORDER_BY_CREATED' | 'ORDER_BY_SEVERITY';
18
18
  export type OrderDirection = 'ORDER_DIRECTION_DESC' | 'ORDER_DIRECTION_ASC';
19
19
  export type ListRequest = {
20
20
  type?: AlertType;