@pushwoosh/rpc-v2-http-api-data 0.2.103 → 0.2.105
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 +4 -0
- package/media_files.d.ts +7 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -15361,6 +15361,10 @@ export const data = {
|
|
|
15361
15361
|
},
|
|
15362
15362
|
"searchByName": {
|
|
15363
15363
|
"type": "string"
|
|
15364
|
+
},
|
|
15365
|
+
"extensions": {
|
|
15366
|
+
"type": "string",
|
|
15367
|
+
"array": true
|
|
15364
15368
|
}
|
|
15365
15369
|
}
|
|
15366
15370
|
},
|
package/media_files.d.ts
CHANGED
|
@@ -69,6 +69,13 @@ export type ListMediaFilesRequest = {
|
|
|
69
69
|
* substring (case-insensitive, like %search_by_name%). Empty means no filter.
|
|
70
70
|
*/
|
|
71
71
|
searchByName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* extensions keeps only files whose stored path ends with one of these image
|
|
74
|
+
* extensions ("jpg" or ".jpg", case-insensitive). Empty means no filter.
|
|
75
|
+
* Callers that can only consume some formats (MMS attachments take jpg/jpeg/png/gif)
|
|
76
|
+
* must filter here rather than client-side, so page size and total stay honest.
|
|
77
|
+
*/
|
|
78
|
+
extensions?: string[];
|
|
72
79
|
};
|
|
73
80
|
export type ListMediaFilesResponse = {
|
|
74
81
|
files: MediaFile[];
|