@pushwoosh/rpc-v2-http-api-data 0.2.259 → 0.2.261

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.
Files changed (3) hide show
  1. package/data.js +3 -0
  2. package/package.json +1 -1
  3. package/presets.d.ts +7 -0
package/data.js CHANGED
@@ -28261,6 +28261,9 @@ export const data = {
28261
28261
  },
28262
28262
  "contentSource": {
28263
28263
  "type": "pushwoosh.rpc_v2.presets.ContentSource"
28264
+ },
28265
+ "contentVersionNo": {
28266
+ "type": "number"
28264
28267
  }
28265
28268
  }
28266
28269
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.259",
3
+ "version": "0.2.261",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
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[];