@aepstore-dev/contracts 1.66.0 → 1.68.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/gen/products.d.ts +11 -4
- package/gen/products.js +1 -1
- package/gen/products.ts +614 -607
- package/package.json +1 -1
- package/proto/products.proto +29 -20
package/gen/products.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ export interface ProductMedia {
|
|
|
40
40
|
id: string;
|
|
41
41
|
url: string;
|
|
42
42
|
type: MediaType;
|
|
43
|
+
fileName: string;
|
|
44
|
+
fileSize: number;
|
|
45
|
+
mimeType: string;
|
|
43
46
|
}
|
|
44
47
|
export interface Attachment {
|
|
45
48
|
id: string;
|
|
@@ -136,6 +139,8 @@ export interface ProductAttachment {
|
|
|
136
139
|
id: string;
|
|
137
140
|
fileName: string;
|
|
138
141
|
fileSize: number;
|
|
142
|
+
url: string;
|
|
143
|
+
mimeType: string;
|
|
139
144
|
}
|
|
140
145
|
/** Compact product shape for "related products" — only the fields a card needs. */
|
|
141
146
|
export interface RelatedProduct {
|
|
@@ -264,8 +269,10 @@ export interface FavoriteRequest {
|
|
|
264
269
|
productId: string;
|
|
265
270
|
}
|
|
266
271
|
export interface MediaFile {
|
|
267
|
-
|
|
268
|
-
|
|
272
|
+
fileName: string;
|
|
273
|
+
fileSize: number;
|
|
274
|
+
mimeType: string;
|
|
275
|
+
storageKey: string;
|
|
269
276
|
}
|
|
270
277
|
export interface SaveMediaMetadataRequest {
|
|
271
278
|
id: string;
|
|
@@ -274,10 +281,10 @@ export interface SaveMediaMetadataRequest {
|
|
|
274
281
|
uploadId: string;
|
|
275
282
|
}
|
|
276
283
|
export interface AttachmentMeta {
|
|
277
|
-
|
|
278
|
-
fileKey: string;
|
|
284
|
+
storageKey: string;
|
|
279
285
|
fileName: string;
|
|
280
286
|
fileSize: number;
|
|
287
|
+
mimeType: string;
|
|
281
288
|
}
|
|
282
289
|
export interface SaveAttachmentMetadataRequest {
|
|
283
290
|
id: string;
|
package/gen/products.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: products.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.PRODUCTS_SERVICE_NAME = exports.PRODUCTS_V1_PACKAGE_NAME = exports.MediaType = exports.ModerationStatus = exports.ProductStatus = exports.protobufPackage = void 0;
|