@pushwoosh/rpc-gateway-ai-assistant 0.1.500 → 0.1.501
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 +50 -0
- package/package.json +1 -1
- package/pushwoosh_aigen_v1.d.ts +20 -0
package/data.js
CHANGED
|
@@ -3403,6 +3403,50 @@ export const data = {
|
|
|
3403
3403
|
},
|
|
3404
3404
|
"height": {
|
|
3405
3405
|
"type": "number"
|
|
3406
|
+
},
|
|
3407
|
+
"file": {
|
|
3408
|
+
"type": "pushwoosh.aigen.v1.AiGenMediaFile"
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"pushwoosh.aigen.v1.AiGenMediaFile": {
|
|
3413
|
+
"type": "I",
|
|
3414
|
+
"fields": {
|
|
3415
|
+
"uuid": {
|
|
3416
|
+
"type": "string"
|
|
3417
|
+
},
|
|
3418
|
+
"filename": {
|
|
3419
|
+
"type": "string"
|
|
3420
|
+
},
|
|
3421
|
+
"url": {
|
|
3422
|
+
"type": "string"
|
|
3423
|
+
},
|
|
3424
|
+
"fileSize": {
|
|
3425
|
+
"type": "number"
|
|
3426
|
+
},
|
|
3427
|
+
"mimeType": {
|
|
3428
|
+
"type": "string"
|
|
3429
|
+
},
|
|
3430
|
+
"createdAt": {
|
|
3431
|
+
"type": "string"
|
|
3432
|
+
},
|
|
3433
|
+
"description": {
|
|
3434
|
+
"type": "string"
|
|
3435
|
+
},
|
|
3436
|
+
"width": {
|
|
3437
|
+
"type": "number"
|
|
3438
|
+
},
|
|
3439
|
+
"height": {
|
|
3440
|
+
"type": "number"
|
|
3441
|
+
},
|
|
3442
|
+
"thumbnailUrl": {
|
|
3443
|
+
"type": "string"
|
|
3444
|
+
},
|
|
3445
|
+
"thumbnailWidth": {
|
|
3446
|
+
"type": "number"
|
|
3447
|
+
},
|
|
3448
|
+
"thumbnailHeight": {
|
|
3449
|
+
"type": "number"
|
|
3406
3450
|
}
|
|
3407
3451
|
}
|
|
3408
3452
|
},
|
|
@@ -3508,6 +3552,9 @@ export const data = {
|
|
|
3508
3552
|
},
|
|
3509
3553
|
"alt": {
|
|
3510
3554
|
"type": "string"
|
|
3555
|
+
},
|
|
3556
|
+
"file": {
|
|
3557
|
+
"type": "pushwoosh.aigen.v1.AiGenMediaFile"
|
|
3511
3558
|
}
|
|
3512
3559
|
}
|
|
3513
3560
|
},
|
|
@@ -3539,6 +3586,9 @@ export const data = {
|
|
|
3539
3586
|
},
|
|
3540
3587
|
"height": {
|
|
3541
3588
|
"type": "number"
|
|
3589
|
+
},
|
|
3590
|
+
"file": {
|
|
3591
|
+
"type": "pushwoosh.aigen.v1.AiGenMediaFile"
|
|
3542
3592
|
}
|
|
3543
3593
|
}
|
|
3544
3594
|
},
|
package/package.json
CHANGED
package/pushwoosh_aigen_v1.d.ts
CHANGED
|
@@ -1034,6 +1034,24 @@ export type AiGenMediaImageResponse = {
|
|
|
1034
1034
|
mediaUuid: string;
|
|
1035
1035
|
width: number;
|
|
1036
1036
|
height: number;
|
|
1037
|
+
/** The whole stored file, so the shared picker hands it to onSelect without a lookup. */
|
|
1038
|
+
file: AiGenMediaFile;
|
|
1039
|
+
};
|
|
1040
|
+
/** AiGenMediaFile mirrors the media-library file (rpc-v2 media_files.MediaFile) as stored. */
|
|
1041
|
+
export type AiGenMediaFile = {
|
|
1042
|
+
uuid: string;
|
|
1043
|
+
filename: string;
|
|
1044
|
+
url: string;
|
|
1045
|
+
fileSize: number;
|
|
1046
|
+
mimeType: string;
|
|
1047
|
+
/** RFC 3339. */
|
|
1048
|
+
createdAt: string;
|
|
1049
|
+
description: string;
|
|
1050
|
+
width: number;
|
|
1051
|
+
height: number;
|
|
1052
|
+
thumbnailUrl: string;
|
|
1053
|
+
thumbnailWidth: number;
|
|
1054
|
+
thumbnailHeight: number;
|
|
1037
1055
|
};
|
|
1038
1056
|
/**
|
|
1039
1057
|
* StockProvider names the upstream catalog. Only Pexels for now; the enum
|
|
@@ -1085,6 +1103,7 @@ export type AiGenStockImportResponse = {
|
|
|
1085
1103
|
height: number;
|
|
1086
1104
|
/** Alt suggested by the provider's metadata; may be empty. */
|
|
1087
1105
|
alt: string;
|
|
1106
|
+
file: AiGenMediaFile;
|
|
1088
1107
|
};
|
|
1089
1108
|
export type AiGenImageImportRequest = {
|
|
1090
1109
|
application: string;
|
|
@@ -1098,6 +1117,7 @@ export type AiGenImageImportResponse = {
|
|
|
1098
1117
|
mediaUuid: string;
|
|
1099
1118
|
width: number;
|
|
1100
1119
|
height: number;
|
|
1120
|
+
file: AiGenMediaFile;
|
|
1101
1121
|
};
|
|
1102
1122
|
export type AiGenImageAltRequest = {
|
|
1103
1123
|
application: string;
|