@pushwoosh/rpc-v2-http-api-data 0.2.328 → 0.2.330

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/data.js CHANGED
@@ -30856,10 +30856,12 @@ export const data = {
30856
30856
  "type": "pushwoosh.rpc_v2.rich_medias.ListRequest.ListView"
30857
30857
  },
30858
30858
  "withMetrics": {
30859
- "type": "boolean"
30859
+ "type": "boolean",
30860
+ "optional": true
30860
30861
  },
30861
30862
  "withContent": {
30862
- "type": "boolean"
30863
+ "type": "boolean",
30864
+ "optional": true
30863
30865
  },
30864
30866
  "searchByCategory": {
30865
30867
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.328",
3
+ "version": "0.2.330",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/rich_medias.d.ts CHANGED
@@ -109,7 +109,9 @@ export type ListRequest = {
109
109
  /** Application code (format XXXXX-XXXXX); scopes metrics. */
110
110
  application?: string;
111
111
  viewType?: ListRequest_ListView;
112
+ /** Include last-month metrics per item. Defaults to true when omitted. */
112
113
  withMetrics?: boolean;
114
+ /** Include HTML content and params per item (heavy). Defaults to true when omitted. */
113
115
  withContent?: boolean;
114
116
  /** Restrict to rich medias in these categories. */
115
117
  searchByCategory?: string[];
@@ -118,6 +120,7 @@ export type ListRequest = {
118
120
  orderBy?: ListRequest_OrderBy;
119
121
  orderType?: ListRequest_OrderType;
120
122
  page?: number;
123
+ /** Defaults to 100 when omitted. */
121
124
  perPage?: number;
122
125
  };
123
126
  export type ListResponse_Item = {