@retaila/shared-types 1.1.1 → 1.1.2
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/dist/index.d.mts +883 -0
- package/dist/index.d.ts +883 -16
- package/dist/index.js +389 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +332 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +23 -3
- package/dist/account/index.d.ts +0 -2
- package/dist/account/index.d.ts.map +0 -1
- package/dist/account/index.js +0 -20
- package/dist/account/index.js.map +0 -1
- package/dist/account/types.d.ts +0 -34
- package/dist/account/types.d.ts.map +0 -1
- package/dist/account/types.js +0 -12
- package/dist/account/types.js.map +0 -1
- package/dist/accountBranch/index.d.ts +0 -2
- package/dist/accountBranch/index.d.ts.map +0 -1
- package/dist/accountBranch/index.js +0 -20
- package/dist/accountBranch/index.js.map +0 -1
- package/dist/accountBranch/types.d.ts +0 -53
- package/dist/accountBranch/types.d.ts.map +0 -1
- package/dist/accountBranch/types.js +0 -24
- package/dist/accountBranch/types.js.map +0 -1
- package/dist/accountDeliveryOption/index.d.ts +0 -2
- package/dist/accountDeliveryOption/index.d.ts.map +0 -1
- package/dist/accountDeliveryOption/index.js +0 -20
- package/dist/accountDeliveryOption/index.js.map +0 -1
- package/dist/accountDeliveryOption/types.d.ts +0 -58
- package/dist/accountDeliveryOption/types.d.ts.map +0 -1
- package/dist/accountDeliveryOption/types.js +0 -19
- package/dist/accountDeliveryOption/types.js.map +0 -1
- package/dist/accountDomain/index.d.ts +0 -2
- package/dist/accountDomain/index.d.ts.map +0 -1
- package/dist/accountDomain/index.js +0 -20
- package/dist/accountDomain/index.js.map +0 -1
- package/dist/accountDomain/types.d.ts +0 -23
- package/dist/accountDomain/types.d.ts.map +0 -1
- package/dist/accountDomain/types.js +0 -15
- package/dist/accountDomain/types.js.map +0 -1
- package/dist/accountIntegration/index.d.ts +0 -2
- package/dist/accountIntegration/index.d.ts.map +0 -1
- package/dist/accountIntegration/index.js +0 -20
- package/dist/accountIntegration/index.js.map +0 -1
- package/dist/accountIntegration/types.d.ts +0 -28
- package/dist/accountIntegration/types.d.ts.map +0 -1
- package/dist/accountIntegration/types.js +0 -21
- package/dist/accountIntegration/types.js.map +0 -1
- package/dist/cart/dto.d.ts +0 -97
- package/dist/cart/dto.d.ts.map +0 -1
- package/dist/cart/dto.js +0 -16
- package/dist/cart/dto.js.map +0 -1
- package/dist/cart/index.d.ts +0 -3
- package/dist/cart/index.d.ts.map +0 -1
- package/dist/cart/index.js +0 -21
- package/dist/cart/index.js.map +0 -1
- package/dist/cart/types.d.ts +0 -64
- package/dist/cart/types.d.ts.map +0 -1
- package/dist/cart/types.js +0 -19
- package/dist/cart/types.js.map +0 -1
- package/dist/common/Address.d.ts +0 -13
- package/dist/common/Address.d.ts.map +0 -1
- package/dist/common/Address.js +0 -3
- package/dist/common/Address.js.map +0 -1
- package/dist/common/BaseEntity.d.ts +0 -16
- package/dist/common/BaseEntity.d.ts.map +0 -1
- package/dist/common/BaseEntity.js +0 -4
- package/dist/common/BaseEntity.js.map +0 -1
- package/dist/common/Currency.d.ts +0 -9
- package/dist/common/Currency.d.ts.map +0 -1
- package/dist/common/Currency.js +0 -23
- package/dist/common/Currency.js.map +0 -1
- package/dist/common/Media.d.ts +0 -28
- package/dist/common/Media.d.ts.map +0 -1
- package/dist/common/Media.js +0 -17
- package/dist/common/Media.js.map +0 -1
- package/dist/common/Phone.d.ts +0 -8
- package/dist/common/Phone.d.ts.map +0 -1
- package/dist/common/Phone.js +0 -3
- package/dist/common/Phone.js.map +0 -1
- package/dist/common/index.d.ts +0 -6
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -23
- package/dist/common/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/integration/index.d.ts +0 -2
- package/dist/integration/index.d.ts.map +0 -1
- package/dist/integration/index.js +0 -20
- package/dist/integration/index.js.map +0 -1
- package/dist/integration/types.d.ts +0 -36
- package/dist/integration/types.d.ts.map +0 -1
- package/dist/integration/types.js +0 -27
- package/dist/integration/types.js.map +0 -1
- package/dist/order/dto.d.ts +0 -9
- package/dist/order/dto.d.ts.map +0 -1
- package/dist/order/dto.js +0 -3
- package/dist/order/dto.js.map +0 -1
- package/dist/order/index.d.ts +0 -3
- package/dist/order/index.d.ts.map +0 -1
- package/dist/order/index.js +0 -21
- package/dist/order/index.js.map +0 -1
- package/dist/order/types.d.ts +0 -105
- package/dist/order/types.d.ts.map +0 -1
- package/dist/order/types.js +0 -40
- package/dist/order/types.js.map +0 -1
- package/dist/product/index.d.ts +0 -2
- package/dist/product/index.d.ts.map +0 -1
- package/dist/product/index.js +0 -20
- package/dist/product/index.js.map +0 -1
- package/dist/product/types.d.ts +0 -66
- package/dist/product/types.d.ts.map +0 -1
- package/dist/product/types.js +0 -18
- package/dist/product/types.js.map +0 -1
- package/dist/productAttribute/index.d.ts +0 -2
- package/dist/productAttribute/index.d.ts.map +0 -1
- package/dist/productAttribute/index.js +0 -20
- package/dist/productAttribute/index.js.map +0 -1
- package/dist/productAttribute/types.d.ts +0 -48
- package/dist/productAttribute/types.d.ts.map +0 -1
- package/dist/productAttribute/types.js +0 -22
- package/dist/productAttribute/types.js.map +0 -1
- package/dist/productCategory/index.d.ts +0 -2
- package/dist/productCategory/index.d.ts.map +0 -1
- package/dist/productCategory/index.js +0 -20
- package/dist/productCategory/index.js.map +0 -1
- package/dist/productCategory/types.d.ts +0 -31
- package/dist/productCategory/types.d.ts.map +0 -1
- package/dist/productCategory/types.js +0 -9
- package/dist/productCategory/types.js.map +0 -1
- package/dist/standardCategory/index.d.ts +0 -2
- package/dist/standardCategory/index.d.ts.map +0 -1
- package/dist/standardCategory/index.js +0 -20
- package/dist/standardCategory/index.js.map +0 -1
- package/dist/standardCategory/types.d.ts +0 -32
- package/dist/standardCategory/types.d.ts.map +0 -1
- package/dist/standardCategory/types.js +0 -14
- package/dist/standardCategory/types.js.map +0 -1
- package/dist/storeBanner/index.d.ts +0 -2
- package/dist/storeBanner/index.d.ts.map +0 -1
- package/dist/storeBanner/index.js +0 -20
- package/dist/storeBanner/index.js.map +0 -1
- package/dist/storeBanner/types.d.ts +0 -28
- package/dist/storeBanner/types.d.ts.map +0 -1
- package/dist/storeBanner/types.js +0 -13
- package/dist/storeBanner/types.js.map +0 -1
- package/dist/storePage/index.d.ts +0 -2
- package/dist/storePage/index.d.ts.map +0 -1
- package/dist/storePage/index.js +0 -20
- package/dist/storePage/index.js.map +0 -1
- package/dist/storePage/types.d.ts +0 -37
- package/dist/storePage/types.d.ts.map +0 -1
- package/dist/storePage/types.js +0 -27
- package/dist/storePage/types.js.map +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// shared-types/src/productAttribute/index.ts - Product Attribute entity exports
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
// Types
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/productAttribute/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;;;;;;;;;;;;;;AAEhF,QAAQ;AACR,0CAAwB"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entidad ProductAttribute
|
|
3
|
-
* Define los atributos disponibles que se pueden asignar a las variantes de producto (ej. Color, Talla).
|
|
4
|
-
* Especifica el nombre y tipo del atributo para ayudar en la representación y filtrado.
|
|
5
|
-
*/
|
|
6
|
-
export interface ProductAttribute {
|
|
7
|
-
id: string;
|
|
8
|
-
accountId: string;
|
|
9
|
-
name: string;
|
|
10
|
-
alias: string;
|
|
11
|
-
slug: string;
|
|
12
|
-
type: ProductAttributeType;
|
|
13
|
-
isRequired: boolean;
|
|
14
|
-
suffix: string;
|
|
15
|
-
status: ProductAttributeStatus;
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
deletedAt?: Date | null;
|
|
19
|
-
options: ProductAttributeOption[];
|
|
20
|
-
displayOrder: number;
|
|
21
|
-
}
|
|
22
|
-
export declare enum ProductAttributeStatus {
|
|
23
|
-
ACTIVE = "ACTIVE",
|
|
24
|
-
INACTIVE = "INACTIVE"
|
|
25
|
-
}
|
|
26
|
-
export declare enum ProductAttributeType {
|
|
27
|
-
TEXT = "TEXT",// text input
|
|
28
|
-
NUMBER = "NUMBER",// number input
|
|
29
|
-
COLOR = "COLOR",// Special type for color swatches
|
|
30
|
-
SELECT = "SELECT",// Dropdown list
|
|
31
|
-
BOOLEAN = "BOOLEAN"
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Una opción específica para un atributo (ej. "Talle 42" para el atributo "Talle").
|
|
35
|
-
*/
|
|
36
|
-
export interface ProductAttributeOption {
|
|
37
|
-
id: string;
|
|
38
|
-
accountId: string;
|
|
39
|
-
productAttributeId: string;
|
|
40
|
-
value: string;
|
|
41
|
-
imageId?: string | null;
|
|
42
|
-
order: number;
|
|
43
|
-
createdAt: Date;
|
|
44
|
-
updatedAt: Date;
|
|
45
|
-
deletedAt?: Date | null;
|
|
46
|
-
count: number;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/productAttribute/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,oBAAoB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,sBAAsB,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAGD,oBAAY,oBAAoB;IAC5B,IAAI,SAAS,CAAE,aAAa;IAC5B,MAAM,WAAW,CAAE,eAAe;IAClC,KAAK,UAAU,CAAE,kCAAkC;IACnD,MAAM,WAAW,CAAE,gBAAgB;IACnC,OAAO,YAAY;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Entidad ProductAttribute
|
|
4
|
-
* Define los atributos disponibles que se pueden asignar a las variantes de producto (ej. Color, Talla).
|
|
5
|
-
* Especifica el nombre y tipo del atributo para ayudar en la representación y filtrado.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ProductAttributeType = exports.ProductAttributeStatus = void 0;
|
|
9
|
-
var ProductAttributeStatus;
|
|
10
|
-
(function (ProductAttributeStatus) {
|
|
11
|
-
ProductAttributeStatus["ACTIVE"] = "ACTIVE";
|
|
12
|
-
ProductAttributeStatus["INACTIVE"] = "INACTIVE";
|
|
13
|
-
})(ProductAttributeStatus || (exports.ProductAttributeStatus = ProductAttributeStatus = {}));
|
|
14
|
-
var ProductAttributeType;
|
|
15
|
-
(function (ProductAttributeType) {
|
|
16
|
-
ProductAttributeType["TEXT"] = "TEXT";
|
|
17
|
-
ProductAttributeType["NUMBER"] = "NUMBER";
|
|
18
|
-
ProductAttributeType["COLOR"] = "COLOR";
|
|
19
|
-
ProductAttributeType["SELECT"] = "SELECT";
|
|
20
|
-
ProductAttributeType["BOOLEAN"] = "BOOLEAN";
|
|
21
|
-
})(ProductAttributeType || (exports.ProductAttributeType = ProductAttributeType = {}));
|
|
22
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/productAttribute/types.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAoBH,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,+CAAqB,CAAA;AACvB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAGD,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,yCAAiB,CAAA;IACjB,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;AACvB,CAAC,EANW,oBAAoB,oCAApB,oBAAoB,QAM/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/productCategory/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// shared-types/src/productCategory/index.ts - Product Category entity exports
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
// Types
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/productCategory/index.ts"],"names":[],"mappings":";AAAA,8EAA8E;;;;;;;;;;;;;;;;AAE9E,QAAQ;AACR,0CAAwB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { StandardCategory } from "../standardCategory";
|
|
2
|
-
/**
|
|
3
|
-
* Entidad ProductCategory
|
|
4
|
-
* Define las categorías de productos.
|
|
5
|
-
* Soporta una estructura jerárquica (categorías y subcategorías) mediante el campo parentId.
|
|
6
|
-
* Cada categoría debe estar asociada a una categoría estándar del sistema.
|
|
7
|
-
*/
|
|
8
|
-
export interface ProductCategory {
|
|
9
|
-
id: string;
|
|
10
|
-
accountId: string;
|
|
11
|
-
parentId?: string;
|
|
12
|
-
standardCategoryId: string;
|
|
13
|
-
name: string;
|
|
14
|
-
slug: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
imageId?: string | null;
|
|
17
|
-
order: number;
|
|
18
|
-
isFeatured: boolean;
|
|
19
|
-
status: ProductCategoryStatus;
|
|
20
|
-
createdAt: Date;
|
|
21
|
-
updatedAt: Date;
|
|
22
|
-
deletedAt?: Date | null;
|
|
23
|
-
children: ProductCategory[];
|
|
24
|
-
parent: ProductCategory | null;
|
|
25
|
-
standardCategory: StandardCategory;
|
|
26
|
-
}
|
|
27
|
-
export declare enum ProductCategoryStatus {
|
|
28
|
-
ACTIVE = "ACTIVE",
|
|
29
|
-
INACTIVE = "INACTIVE"
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/productCategory/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AAEH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;CACpC;AAGD,oBAAY,qBAAqB;IAC/B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductCategoryStatus = void 0;
|
|
4
|
-
var ProductCategoryStatus;
|
|
5
|
-
(function (ProductCategoryStatus) {
|
|
6
|
-
ProductCategoryStatus["ACTIVE"] = "ACTIVE";
|
|
7
|
-
ProductCategoryStatus["INACTIVE"] = "INACTIVE";
|
|
8
|
-
})(ProductCategoryStatus || (exports.ProductCategoryStatus = ProductCategoryStatus = {}));
|
|
9
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/productCategory/types.ts"],"names":[],"mappings":";;;AA+BA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACvB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/standardCategory/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// shared-types/src/standardCategory/index.ts - Standard Category entity exports
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
// Types
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/standardCategory/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;;;;;;;;;;;;;;AAEhF,QAAQ;AACR,0CAAwB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entidad StandardCategory
|
|
3
|
-
* Define las categorías estándar de productos.
|
|
4
|
-
* Estas categorías estan pensadas para unificar o agrupar productos de diferentes cuentas.
|
|
5
|
-
*/
|
|
6
|
-
export interface StandardCategory {
|
|
7
|
-
id: string;
|
|
8
|
-
parentId?: string;
|
|
9
|
-
name: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
imageId?: string | null;
|
|
13
|
-
order: number;
|
|
14
|
-
status: StandardCategoryStatus;
|
|
15
|
-
metadata?: {
|
|
16
|
-
icon?: string;
|
|
17
|
-
displayInMenu?: boolean;
|
|
18
|
-
seoTitle?: string;
|
|
19
|
-
seoDescription?: string;
|
|
20
|
-
attributes?: string[];
|
|
21
|
-
};
|
|
22
|
-
createdAt: Date;
|
|
23
|
-
updatedAt: Date;
|
|
24
|
-
deletedAt?: Date | null;
|
|
25
|
-
children: StandardCategory[];
|
|
26
|
-
parent: StandardCategory | null;
|
|
27
|
-
}
|
|
28
|
-
export declare enum StandardCategoryStatus {
|
|
29
|
-
ACTIVE = "ACTIVE",
|
|
30
|
-
INACTIVE = "INACTIVE"
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/standardCategory/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACjC;AAED,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Entidad StandardCategory
|
|
4
|
-
* Define las categorías estándar de productos.
|
|
5
|
-
* Estas categorías estan pensadas para unificar o agrupar productos de diferentes cuentas.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.StandardCategoryStatus = void 0;
|
|
9
|
-
var StandardCategoryStatus;
|
|
10
|
-
(function (StandardCategoryStatus) {
|
|
11
|
-
StandardCategoryStatus["ACTIVE"] = "ACTIVE";
|
|
12
|
-
StandardCategoryStatus["INACTIVE"] = "INACTIVE";
|
|
13
|
-
})(StandardCategoryStatus || (exports.StandardCategoryStatus = StandardCategoryStatus = {}));
|
|
14
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/standardCategory/types.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AA0BH,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,+CAAqB,CAAA;AACvB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storeBanner/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// shared-types/src/storeBanner/index.ts - Store Banner entity exports
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
// Types
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/storeBanner/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;;;;;;;;;;;;;;;;AAEtE,QAAQ;AACR,0CAAwB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entidad StoreBanner
|
|
3
|
-
* Banners para la portada de la web de la tienda
|
|
4
|
-
*/
|
|
5
|
-
import { Media } from "../common";
|
|
6
|
-
export interface StoreBanner {
|
|
7
|
-
id: string;
|
|
8
|
-
accountId: string;
|
|
9
|
-
title: string;
|
|
10
|
-
desktopMediaId: string;
|
|
11
|
-
mobileMediaId?: string | null;
|
|
12
|
-
linkUrl?: string | null;
|
|
13
|
-
altText?: string | null;
|
|
14
|
-
displayOrder: number;
|
|
15
|
-
startDate?: Date | null;
|
|
16
|
-
endDate?: Date | null;
|
|
17
|
-
status: StoreBannerStatus;
|
|
18
|
-
createdAt: Date;
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
deletedAt?: Date | null;
|
|
21
|
-
desktopMedia?: Partial<Media> | null;
|
|
22
|
-
mobileMedia?: Partial<Media> | null;
|
|
23
|
-
}
|
|
24
|
-
export declare enum StoreBannerStatus {
|
|
25
|
-
ACTIVE = "ACTIVE",
|
|
26
|
-
INACTIVE = "INACTIVE"
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/storeBanner/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,YAAY,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;CACrC;AAED,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Entidad StoreBanner
|
|
4
|
-
* Banners para la portada de la web de la tienda
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.StoreBannerStatus = void 0;
|
|
8
|
-
var StoreBannerStatus;
|
|
9
|
-
(function (StoreBannerStatus) {
|
|
10
|
-
StoreBannerStatus["ACTIVE"] = "ACTIVE";
|
|
11
|
-
StoreBannerStatus["INACTIVE"] = "INACTIVE";
|
|
12
|
-
})(StoreBannerStatus || (exports.StoreBannerStatus = StoreBannerStatus = {}));
|
|
13
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/storeBanner/types.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAyBH,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;AACvB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storePage/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC"}
|
package/dist/storePage/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// shared-types/src/storePage/index.ts - Store Page entity exports
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
// Types
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/storePage/index.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;;;;;;;;;;;;AAElE,QAAQ;AACR,0CAAwB"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entidad StorePage
|
|
3
|
-
* Páginas de la web de la tienda
|
|
4
|
-
*/
|
|
5
|
-
export interface StorePage {
|
|
6
|
-
id: string;
|
|
7
|
-
accountId: string;
|
|
8
|
-
type: StorePageType;
|
|
9
|
-
title: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
content?: string | null;
|
|
12
|
-
seoTitle?: string | null;
|
|
13
|
-
seoDescription?: string | null;
|
|
14
|
-
status: StorePageStatus;
|
|
15
|
-
canDelete: boolean;
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
deletedAt?: Date | null;
|
|
19
|
-
}
|
|
20
|
-
export declare enum StorePageStatus {
|
|
21
|
-
PUBLISHED = "PUBLISHED",
|
|
22
|
-
DRAFT = "DRAFT",
|
|
23
|
-
ARCHIVED = "ARCHIVED"
|
|
24
|
-
}
|
|
25
|
-
export declare enum StorePageType {
|
|
26
|
-
ABOUT_US = "ABOUT_US",
|
|
27
|
-
CONTACT = "CONTACT",
|
|
28
|
-
FAQ = "FAQ",
|
|
29
|
-
TERMS_AND_CONDITIONS = "TERMS_AND_CONDITIONS",
|
|
30
|
-
PRIVACY_POLICY = "PRIVACY_POLICY",
|
|
31
|
-
RETURN_POLICY = "RETURN_POLICY",
|
|
32
|
-
SHIPPING_POLICY = "SHIPPING_POLICY",
|
|
33
|
-
BRANCHES = "BRANCHES",
|
|
34
|
-
JOBS = "JOBS",
|
|
35
|
-
OTHER = "OTHER"
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/storePage/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB;AAED,oBAAY,eAAe;IACzB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,oBAAY,aAAa;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
|
package/dist/storePage/types.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Entidad StorePage
|
|
4
|
-
* Páginas de la web de la tienda
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.StorePageType = exports.StorePageStatus = void 0;
|
|
8
|
-
var StorePageStatus;
|
|
9
|
-
(function (StorePageStatus) {
|
|
10
|
-
StorePageStatus["PUBLISHED"] = "PUBLISHED";
|
|
11
|
-
StorePageStatus["DRAFT"] = "DRAFT";
|
|
12
|
-
StorePageStatus["ARCHIVED"] = "ARCHIVED";
|
|
13
|
-
})(StorePageStatus || (exports.StorePageStatus = StorePageStatus = {}));
|
|
14
|
-
var StorePageType;
|
|
15
|
-
(function (StorePageType) {
|
|
16
|
-
StorePageType["ABOUT_US"] = "ABOUT_US";
|
|
17
|
-
StorePageType["CONTACT"] = "CONTACT";
|
|
18
|
-
StorePageType["FAQ"] = "FAQ";
|
|
19
|
-
StorePageType["TERMS_AND_CONDITIONS"] = "TERMS_AND_CONDITIONS";
|
|
20
|
-
StorePageType["PRIVACY_POLICY"] = "PRIVACY_POLICY";
|
|
21
|
-
StorePageType["RETURN_POLICY"] = "RETURN_POLICY";
|
|
22
|
-
StorePageType["SHIPPING_POLICY"] = "SHIPPING_POLICY";
|
|
23
|
-
StorePageType["BRANCHES"] = "BRANCHES";
|
|
24
|
-
StorePageType["JOBS"] = "JOBS";
|
|
25
|
-
StorePageType["OTHER"] = "OTHER";
|
|
26
|
-
})(StorePageType || (exports.StorePageType = StorePageType = {}));
|
|
27
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/storePage/types.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAmBH,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,0CAAuB,CAAA;IACvB,kCAAe,CAAA;IACf,wCAAqB,CAAA;AACvB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,4BAAW,CAAA;IACX,8DAA6C,CAAA;IAC7C,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,oDAAmC,CAAA;IACnC,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;AACjB,CAAC,EAXW,aAAa,6BAAb,aAAa,QAWxB"}
|