@aepstore-dev/contracts 1.66.0 → 1.67.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.66.0",
3
+ "version": "1.67.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -81,11 +81,14 @@ message Tag {
81
81
  string name = 2;
82
82
  }
83
83
 
84
- message ProductMedia {
85
- string id = 1;
86
- string url = 2;
87
- MediaType type = 3;
88
- }
84
+ message ProductMedia {
85
+ string id = 1;
86
+ string url = 2;
87
+ MediaType type = 3;
88
+ string file_name = 4;
89
+ double file_size = 5;
90
+ string mime_type = 6;
91
+ }
89
92
 
90
93
  message Attachment {
91
94
  string id = 1;
@@ -161,11 +164,13 @@ message Product {
161
164
  repeated ProductAttachment attachments = 33;
162
165
  }
163
166
 
164
- message ProductAttachment {
165
- string id = 1;
166
- string file_name = 2;
167
- double file_size = 3;
168
- }
167
+ message ProductAttachment {
168
+ string id = 1;
169
+ string file_name = 2;
170
+ double file_size = 3;
171
+ string url = 4;
172
+ string mime_type = 5;
173
+ }
169
174
 
170
175
  // Compact product shape for "related products" — only the fields a card needs.
171
176
  message RelatedProduct {
@@ -298,10 +303,13 @@ message FavoriteRequest {
298
303
  // Media / Attachments metadata
299
304
  // =================================================================
300
305
 
301
- message MediaFile {
302
- string url = 1;
303
- MediaType type = 2;
304
- }
306
+ message MediaFile {
307
+ string url = 1;
308
+ MediaType type = 2;
309
+ string file_name = 3;
310
+ double file_size = 4;
311
+ string mime_type = 5;
312
+ }
305
313
 
306
314
  message SaveMediaMetadataRequest {
307
315
  string id = 1;
@@ -310,12 +318,13 @@ message SaveMediaMetadataRequest {
310
318
  string upload_id = 4;
311
319
  }
312
320
 
313
- message AttachmentMeta {
314
- string url = 1;
315
- string file_key = 2;
316
- string file_name = 3;
317
- double file_size = 4;
318
- }
321
+ message AttachmentMeta {
322
+ string url = 1;
323
+ string file_key = 2;
324
+ string file_name = 3;
325
+ double file_size = 4;
326
+ string mime_type = 5;
327
+ }
319
328
 
320
329
  message SaveAttachmentMetadataRequest {
321
330
  string id = 1;