@pushwoosh/rpc-v2-http-api-data 0.2.42 → 0.2.44

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
@@ -14857,6 +14857,9 @@ export const data = {
14857
14857
  "parentUuid": {
14858
14858
  "type": "string",
14859
14859
  "optional": true
14860
+ },
14861
+ "searchByName": {
14862
+ "type": "string"
14860
14863
  }
14861
14864
  }
14862
14865
  },
package/media_files.d.ts CHANGED
@@ -67,6 +67,11 @@ export type ListMediaFilesRequest = {
67
67
  * original image; when empty, returns only originals (no variants).
68
68
  */
69
69
  parentUuid?: string;
70
+ /**
71
+ * search_by_name filters the listing to files whose filename contains this
72
+ * substring (case-insensitive, like %search_by_name%). Empty means no filter.
73
+ */
74
+ searchByName?: string;
70
75
  };
71
76
  export type ListMediaFilesResponse = {
72
77
  files: MediaFile[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.42",
3
+ "version": "0.2.44",
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
@@ -252,7 +252,7 @@ export type CreateResponse = {
252
252
  export type CreateNativeRequest = {
253
253
  /** Name of Rich Media. */
254
254
  name?: string;
255
- /** Content of native-config.json: json object with displayName and the matching display block. */
255
+ /** Content of native-config.json: json object with displayType and the matching display block. */
256
256
  content?: string;
257
257
  /** Json object of localizations keyed by language code, e.g. {"en": {...}}. */
258
258
  localization?: string;
@@ -268,7 +268,7 @@ export type UpdateNativeRequest = {
268
268
  code?: string;
269
269
  /** Name of Rich Media. */
270
270
  name?: string;
271
- /** Content of native-config.json: json object with displayName and the matching display block. */
271
+ /** Content of native-config.json: json object with displayType and the matching display block. */
272
272
  content?: string;
273
273
  /** Json object of localizations keyed by language code, e.g. {"en": {...}}. */
274
274
  localization?: string;