@pushwoosh/rpc-v2-http-api-data 0.2.260 → 0.2.262
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_configurations.d.ts +9 -1
- package/data.js +19 -1
- package/package.json +1 -1
- package/presets.d.ts +7 -0
|
@@ -106,6 +106,10 @@ export type TelegramConfiguration = {
|
|
|
106
106
|
export type ViberConfiguration = {
|
|
107
107
|
viberAuthToken: string;
|
|
108
108
|
};
|
|
109
|
+
export type FBMessengerConfiguration = {
|
|
110
|
+
fbMessengerPageId: string;
|
|
111
|
+
fbMessengerPageAccessToken: string;
|
|
112
|
+
};
|
|
109
113
|
export type WebConfiguration = {
|
|
110
114
|
webVapidPublicKey: string;
|
|
111
115
|
webVapidPrivateKey: string;
|
|
@@ -339,7 +343,11 @@ export type ConfigurationRequest_kind_viberConfiguration = {
|
|
|
339
343
|
type: 'viberConfiguration';
|
|
340
344
|
data: ViberConfiguration;
|
|
341
345
|
};
|
|
342
|
-
export type
|
|
346
|
+
export type ConfigurationRequest_kind_fbMessengerConfiguration = {
|
|
347
|
+
type: 'fbMessengerConfiguration';
|
|
348
|
+
data: FBMessengerConfiguration;
|
|
349
|
+
};
|
|
350
|
+
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_iosPasskitConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration | ConfigurationRequest_kind_googleWalletConfiguration | ConfigurationRequest_kind_smsConfiguration | ConfigurationRequest_kind_viberConfiguration | ConfigurationRequest_kind_fbMessengerConfiguration;
|
|
343
351
|
export type ConfigurationRequest = {
|
|
344
352
|
/** Application code (format XXXXX-XXXXX) whose platform/channel to configure. */
|
|
345
353
|
code?: string;
|
package/data.js
CHANGED
|
@@ -6244,6 +6244,17 @@ export const data = {
|
|
|
6244
6244
|
}
|
|
6245
6245
|
}
|
|
6246
6246
|
},
|
|
6247
|
+
"pushwoosh.rpc_v2.applications_configurations.FBMessengerConfiguration": {
|
|
6248
|
+
"type": "I",
|
|
6249
|
+
"fields": {
|
|
6250
|
+
"fbMessengerPageId": {
|
|
6251
|
+
"type": "string"
|
|
6252
|
+
},
|
|
6253
|
+
"fbMessengerPageAccessToken": {
|
|
6254
|
+
"type": "string"
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
},
|
|
6247
6258
|
"pushwoosh.rpc_v2.applications_configurations.WebConfiguration": {
|
|
6248
6259
|
"type": "I",
|
|
6249
6260
|
"fields": {
|
|
@@ -6576,6 +6587,9 @@ export const data = {
|
|
|
6576
6587
|
},
|
|
6577
6588
|
"viberConfiguration": {
|
|
6578
6589
|
"type": "pushwoosh.rpc_v2.applications_configurations.ViberConfiguration"
|
|
6590
|
+
},
|
|
6591
|
+
"fbMessengerConfiguration": {
|
|
6592
|
+
"type": "pushwoosh.rpc_v2.applications_configurations.FBMessengerConfiguration"
|
|
6579
6593
|
}
|
|
6580
6594
|
},
|
|
6581
6595
|
"oneofs": {
|
|
@@ -6602,7 +6616,8 @@ export const data = {
|
|
|
6602
6616
|
"telegramConfiguration",
|
|
6603
6617
|
"googleWalletConfiguration",
|
|
6604
6618
|
"smsConfiguration",
|
|
6605
|
-
"viberConfiguration"
|
|
6619
|
+
"viberConfiguration",
|
|
6620
|
+
"fbMessengerConfiguration"
|
|
6606
6621
|
]
|
|
6607
6622
|
}
|
|
6608
6623
|
}
|
|
@@ -28261,6 +28276,9 @@ export const data = {
|
|
|
28261
28276
|
},
|
|
28262
28277
|
"contentSource": {
|
|
28263
28278
|
"type": "pushwoosh.rpc_v2.presets.ContentSource"
|
|
28279
|
+
},
|
|
28280
|
+
"contentVersionNo": {
|
|
28281
|
+
"type": "number"
|
|
28264
28282
|
}
|
|
28265
28283
|
}
|
|
28266
28284
|
},
|
package/package.json
CHANGED
package/presets.d.ts
CHANGED
|
@@ -182,6 +182,13 @@ export type Preset = {
|
|
|
182
182
|
huaweiAndroidSilent: boolean;
|
|
183
183
|
/** The recipe the content was assembled from; unset on a hand-written preset. */
|
|
184
184
|
contentSource: ContentSource;
|
|
185
|
+
/**
|
|
186
|
+
* Number of the newest stored content version; 0 when the item has none. Compare it with
|
|
187
|
+
* the version an approval request was decided on: a lower one means the decision predates
|
|
188
|
+
* the content, which is what the send gate looks at. Filled only for accounts that run
|
|
189
|
+
* content approval.
|
|
190
|
+
*/
|
|
191
|
+
contentVersionNo: number;
|
|
185
192
|
};
|
|
186
193
|
export type ListPresetsResponse = {
|
|
187
194
|
presets: Preset[];
|