@pushwoosh/rpc-gateway-ai-assistant 0.1.505 → 0.1.507

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
@@ -3386,6 +3386,19 @@ export const data = {
3386
3386
  },
3387
3387
  "aspectRatio": {
3388
3388
  "type": "string"
3389
+ },
3390
+ "contextTitle": {
3391
+ "type": "string"
3392
+ },
3393
+ "contextBody": {
3394
+ "type": "string"
3395
+ },
3396
+ "count": {
3397
+ "type": "number"
3398
+ },
3399
+ "referenceMediaUuids": {
3400
+ "type": "string",
3401
+ "array": true
3389
3402
  }
3390
3403
  }
3391
3404
  },
@@ -3406,6 +3419,10 @@ export const data = {
3406
3419
  },
3407
3420
  "file": {
3408
3421
  "type": "pushwoosh.aigen.v1.AiGenMediaFile"
3422
+ },
3423
+ "files": {
3424
+ "type": "pushwoosh.aigen.v1.AiGenMediaFile",
3425
+ "array": true
3409
3426
  }
3410
3427
  }
3411
3428
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.505",
3
+ "version": "0.1.507",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1027,6 +1027,13 @@ export type AiGenMediaImageRequest = {
1027
1027
  * Empty = the generator default.
1028
1028
  */
1029
1029
  aspectRatio: string;
1030
+ /** Title and text of the message the image will go with; optional, each capped server-side. */
1031
+ contextTitle: string;
1032
+ contextBody: string;
1033
+ /** How many variants to generate, 1..4; 0 = 1. Each variant counts against the daily limit. */
1034
+ count: number;
1035
+ /** Up to 10 media-library files of this application the model copies the style of, not the subjects. */
1036
+ referenceMediaUuids: string[];
1030
1037
  };
1031
1038
  export type AiGenMediaImageResponse = {
1032
1039
  /** The stored media file, ready for ContentImage.src / media_uuid. */
@@ -1036,6 +1043,8 @@ export type AiGenMediaImageResponse = {
1036
1043
  height: number;
1037
1044
  /** The whole stored file, so the shared picker hands it to onSelect without a lookup. */
1038
1045
  file: AiGenMediaFile;
1046
+ /** Every stored variant, file first; fewer than asked when the daily limit ran out. */
1047
+ files: AiGenMediaFile[];
1039
1048
  };
1040
1049
  /** AiGenMediaFile mirrors the media-library file (rpc-v2 media_files.MediaFile) as stored. */
1041
1050
  export type AiGenMediaFile = {