@brightinteractive/platform-api 0.1.37 → 0.1.39

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.
@@ -25,7 +25,8 @@ export interface AiImageGenerationsRequest {
25
25
  promptUpsampling?: boolean;
26
26
  seed?: number | null;
27
27
  safetyTolerance?: number;
28
- outputFormat?: string;
28
+ outputFormat?: AiImageGenerationsRequest.OutputFormatEnum;
29
+ numberOfImages?: number;
29
30
  }
30
31
  export declare namespace AiImageGenerationsRequest {
31
32
  type AspectRatioEnum = '3:7' | '9:16' | '10:16' | '2:3' | '3:4' | '4:5' | '1:1' | '5:4' | '4:3' | '3:2' | '16:10' | '16:9' | '7:3';
@@ -44,4 +45,9 @@ export declare namespace AiImageGenerationsRequest {
44
45
  _169: AspectRatioEnum;
45
46
  _73: AspectRatioEnum;
46
47
  };
48
+ type OutputFormatEnum = 'png' | 'jpeg';
49
+ const OutputFormatEnum: {
50
+ Png: OutputFormatEnum;
51
+ Jpeg: OutputFormatEnum;
52
+ };
47
53
  }
@@ -15,7 +15,7 @@ export interface AiImageGenerationsResponseResult {
15
15
  */
16
16
  id: string;
17
17
  /**
18
- * Url linking to the response image
18
+ * List of URLs linking to the response images
19
19
  */
20
- imageUrl: string;
20
+ imageUrls: Array<string>;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightinteractive/platform-api",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.10",
6
6
  "@angular/core": "^19.2.10"