@fiado/type-kit 3.188.0 → 3.190.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/bin/index.d.ts +2 -0
- package/bin/index.js +7 -1
- package/bin/loanConfig/dtos/Parameter.d.ts +0 -2
- package/bin/loanConfig/dtos/Parameter.js +0 -6
- package/bin/loanConfig/dtos/responses/ParameterResponse.d.ts +0 -2
- package/bin/loanConfig/index.d.ts +0 -1
- package/bin/loanConfig/index.js +0 -1
- package/bin/retailCards/dtos/requests/AssignCardRequest.d.ts +6 -0
- package/bin/retailCards/dtos/requests/AssignCardRequest.js +30 -0
- package/bin/retailCards/dtos/requests/CancelCardRequest.d.ts +5 -0
- package/bin/retailCards/dtos/requests/CancelCardRequest.js +22 -0
- package/bin/retailCards/dtos/requests/RegisterCardBatchRequest.d.ts +7 -0
- package/bin/retailCards/dtos/requests/RegisterCardBatchRequest.js +38 -0
- package/bin/retailCards/dtos/responses/CardBatchResponse.d.ts +17 -0
- package/bin/retailCards/dtos/responses/CardBatchResponse.js +2 -0
- package/bin/retailCards/dtos/responses/RetailCardResponse.d.ts +12 -0
- package/bin/retailCards/dtos/responses/RetailCardResponse.js +2 -0
- package/bin/retailCards/dtos/responses/StockAlertItem.d.ts +7 -0
- package/bin/retailCards/dtos/responses/StockAlertItem.js +2 -0
- package/bin/retailCards/dtos/responses/StockAlertsResponse.d.ts +5 -0
- package/bin/retailCards/dtos/responses/StockAlertsResponse.js +2 -0
- package/bin/retailCards/enums/CardBatchStatusEnum.d.ts +17 -0
- package/bin/retailCards/enums/CardBatchStatusEnum.js +21 -0
- package/bin/retailCards/enums/CardCancelReasonEnum.d.ts +13 -0
- package/bin/retailCards/enums/CardCancelReasonEnum.js +17 -0
- package/bin/retailCards/enums/RetailCardStatusEnum.d.ts +13 -0
- package/bin/retailCards/enums/RetailCardStatusEnum.js +17 -0
- package/bin/retailCards/events/CardBatchReceivedV1.d.ts +9 -0
- package/bin/retailCards/events/CardBatchReceivedV1.js +2 -0
- package/bin/retailCards/events/RetailCardAssignedV1.d.ts +10 -0
- package/bin/retailCards/events/RetailCardAssignedV1.js +2 -0
- package/bin/retailCards/events/RetailCardCancelledV1.d.ts +9 -0
- package/bin/retailCards/events/RetailCardCancelledV1.js +2 -0
- package/bin/retailCards/events/RetailCardReleasedV1.d.ts +7 -0
- package/bin/retailCards/events/RetailCardReleasedV1.js +2 -0
- package/bin/retailCards/index.d.ts +14 -0
- package/bin/retailCards/index.js +33 -0
- package/bin/retailCatalog/constants/SkuPattern.d.ts +2 -0
- package/bin/retailCatalog/constants/SkuPattern.js +5 -0
- package/bin/retailCatalog/dtos/InventoryItem.d.ts +20 -0
- package/bin/retailCatalog/dtos/InventoryItem.js +11 -0
- package/bin/retailCatalog/dtos/Product.d.ts +34 -0
- package/bin/retailCatalog/dtos/Product.js +11 -0
- package/bin/retailCatalog/dtos/requests/ChangeInventoryStatusRequest.d.ts +8 -0
- package/bin/retailCatalog/dtos/requests/ChangeInventoryStatusRequest.js +25 -0
- package/bin/retailCatalog/dtos/requests/CreateProductRequest.d.ts +22 -0
- package/bin/retailCatalog/dtos/requests/CreateProductRequest.js +98 -0
- package/bin/retailCatalog/dtos/requests/ListProductsQuery.d.ts +9 -0
- package/bin/retailCatalog/dtos/requests/ListProductsQuery.js +39 -0
- package/bin/retailCatalog/dtos/requests/RegisterInventoryRequest.d.ts +5 -0
- package/bin/retailCatalog/dtos/requests/RegisterInventoryRequest.js +27 -0
- package/bin/retailCatalog/dtos/requests/TransferInventoryRequest.d.ts +4 -0
- package/bin/retailCatalog/dtos/requests/TransferInventoryRequest.js +21 -0
- package/bin/retailCatalog/dtos/requests/UpdateProductRequest.d.ts +21 -0
- package/bin/retailCatalog/dtos/requests/UpdateProductRequest.js +100 -0
- package/bin/retailCatalog/dtos/requests/UpdateProductStatusRequest.d.ts +5 -0
- package/bin/retailCatalog/dtos/requests/UpdateProductStatusRequest.js +22 -0
- package/bin/retailCatalog/dtos/responses/ImportCsvFailure.d.ts +5 -0
- package/bin/retailCatalog/dtos/responses/ImportCsvFailure.js +7 -0
- package/bin/retailCatalog/dtos/responses/ImportCsvResult.d.ts +6 -0
- package/bin/retailCatalog/dtos/responses/ImportCsvResult.js +7 -0
- package/bin/retailCatalog/dtos/responses/InventoryItemResponse.d.ts +3 -0
- package/bin/retailCatalog/dtos/responses/InventoryItemResponse.js +2 -0
- package/bin/retailCatalog/dtos/responses/ProductResponse.d.ts +3 -0
- package/bin/retailCatalog/dtos/responses/ProductResponse.js +2 -0
- package/bin/retailCatalog/dtos/validation/ValidateInventoryResponse.d.ts +11 -0
- package/bin/retailCatalog/dtos/validation/ValidateInventoryResponse.js +10 -0
- package/bin/retailCatalog/dtos/validation/ValidateProductResponse.d.ts +20 -0
- package/bin/retailCatalog/dtos/validation/ValidateProductResponse.js +11 -0
- package/bin/retailCatalog/enums/InventoryItemStatusEnum.d.ts +18 -0
- package/bin/retailCatalog/enums/InventoryItemStatusEnum.js +22 -0
- package/bin/retailCatalog/enums/MdmLockModeEnum.d.ts +17 -0
- package/bin/retailCatalog/enums/MdmLockModeEnum.js +21 -0
- package/bin/retailCatalog/enums/MdmProviderEnum.d.ts +11 -0
- package/bin/retailCatalog/enums/MdmProviderEnum.js +15 -0
- package/bin/retailCatalog/enums/ProductStatusEnum.d.ts +13 -0
- package/bin/retailCatalog/enums/ProductStatusEnum.js +17 -0
- package/bin/retailCatalog/enums/ProductTierEnum.d.ts +15 -0
- package/bin/retailCatalog/enums/ProductTierEnum.js +19 -0
- package/bin/retailCatalog/index.d.ts +22 -0
- package/bin/retailCatalog/index.js +44 -0
- package/bin/retailCatalog/validators/IsMdmCoherentConstraint.d.ts +10 -0
- package/bin/retailCatalog/validators/IsMdmCoherentConstraint.js +31 -0
- package/package.json +1 -1
- package/src/index.ts +6 -0
- package/src/loanConfig/dtos/Parameter.ts +0 -5
- package/src/loanConfig/dtos/responses/ParameterResponse.ts +0 -2
- package/src/loanConfig/index.ts +0 -1
- package/src/retailCards/dtos/requests/AssignCardRequest.ts +14 -0
- package/src/retailCards/dtos/requests/CancelCardRequest.ts +8 -0
- package/src/retailCards/dtos/requests/RegisterCardBatchRequest.ts +21 -0
- package/src/retailCards/dtos/responses/CardBatchResponse.ts +18 -0
- package/src/retailCards/dtos/responses/RetailCardResponse.ts +13 -0
- package/src/retailCards/dtos/responses/StockAlertItem.ts +7 -0
- package/src/retailCards/dtos/responses/StockAlertsResponse.ts +6 -0
- package/src/retailCards/enums/CardBatchStatusEnum.ts +17 -0
- package/src/retailCards/enums/CardCancelReasonEnum.ts +13 -0
- package/src/retailCards/enums/RetailCardStatusEnum.ts +13 -0
- package/src/retailCards/events/CardBatchReceivedV1.ts +9 -0
- package/src/retailCards/events/RetailCardAssignedV1.ts +10 -0
- package/src/retailCards/events/RetailCardCancelledV1.ts +10 -0
- package/src/retailCards/events/RetailCardReleasedV1.ts +7 -0
- package/src/retailCards/index.ts +20 -0
- package/src/retailCatalog/constants/SkuPattern.ts +2 -0
- package/src/retailCatalog/dtos/InventoryItem.ts +21 -0
- package/src/retailCatalog/dtos/Product.ts +35 -0
- package/src/retailCatalog/dtos/requests/ChangeInventoryStatusRequest.ts +11 -0
- package/src/retailCatalog/dtos/requests/CreateProductRequest.ts +81 -0
- package/src/retailCatalog/dtos/requests/ListProductsQuery.ts +22 -0
- package/src/retailCatalog/dtos/requests/RegisterInventoryRequest.ts +12 -0
- package/src/retailCatalog/dtos/requests/TransferInventoryRequest.ts +7 -0
- package/src/retailCatalog/dtos/requests/UpdateProductRequest.ts +82 -0
- package/src/retailCatalog/dtos/requests/UpdateProductStatusRequest.ts +8 -0
- package/src/retailCatalog/dtos/responses/ImportCsvFailure.ts +5 -0
- package/src/retailCatalog/dtos/responses/ImportCsvResult.ts +7 -0
- package/src/retailCatalog/dtos/responses/InventoryItemResponse.ts +4 -0
- package/src/retailCatalog/dtos/responses/ProductResponse.ts +4 -0
- package/src/retailCatalog/dtos/validation/ValidateInventoryResponse.ts +12 -0
- package/src/retailCatalog/dtos/validation/ValidateProductResponse.ts +21 -0
- package/src/retailCatalog/enums/InventoryItemStatusEnum.ts +18 -0
- package/src/retailCatalog/enums/MdmLockModeEnum.ts +17 -0
- package/src/retailCatalog/enums/MdmProviderEnum.ts +11 -0
- package/src/retailCatalog/enums/ProductStatusEnum.ts +13 -0
- package/src/retailCatalog/enums/ProductTierEnum.ts +15 -0
- package/src/retailCatalog/index.ts +34 -0
- package/src/retailCatalog/validators/IsMdmCoherentConstraint.ts +25 -0
- package/src/loanConfig/enums/ModifiableByRoleEnum.ts +0 -11
package/bin/index.d.ts
CHANGED
|
@@ -89,6 +89,8 @@ export * as Modelias from './modelias';
|
|
|
89
89
|
export * as NetworkConnector from './networkConnector';
|
|
90
90
|
export * as EmailVerification from './emailVerification';
|
|
91
91
|
export * as RetailOrg from './retailOrg';
|
|
92
|
+
export * as RetailCatalog from './retailCatalog';
|
|
93
|
+
export * as RetailCards from './retailCards';
|
|
92
94
|
export * as LoanConfig from './loanConfig';
|
|
93
95
|
export * as LoanOfferings from './loanOfferings';
|
|
94
96
|
export * as LoanCollectorAssignment from './loanCollectorAssignment';
|
package/bin/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Device = exports.Observations = exports.IssuanceBusiness = exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BenefitCenter = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.TransactionAnalytics = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.UserTags = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.AppContent = exports.App = exports.Offices = exports.Places = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = exports.Crypto = void 0;
|
|
40
|
-
exports.LoanCollectorAssignment = exports.LoanOfferings = exports.LoanConfig = exports.RetailOrg = exports.EmailVerification = exports.NetworkConnector = exports.Modelias = exports.TotpSecurity = exports.Passport = exports.WalletFunding = exports.Remittance = exports.PlatformRbac = exports.CognitoBackofficeConnector = exports.TwilioConnector = exports.MessagesConnector = exports.Mdm = exports.MilestoneBusiness = exports.CirculoCredito = exports.CreditStatements = exports.Sentry = exports.AiEngine = exports.Funnel = exports.TeamsConnector = exports.PlatformErrorEvents = exports.CustomerFile = exports.CreditBackoffice = exports.CreditDashboard = exports.CreditEngine = exports.Credit = exports.ComissionBusiness = exports.ReferralBusiness = exports.ZendeskMessaging = exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = exports.Collector = exports.Pricelist = exports.Company = exports.Services = exports.AccountIssuanceBusiness = exports.AppSelectionData = void 0;
|
|
40
|
+
exports.LoanCollectorAssignment = exports.LoanOfferings = exports.LoanConfig = exports.RetailCards = exports.RetailCatalog = exports.RetailOrg = exports.EmailVerification = exports.NetworkConnector = exports.Modelias = exports.TotpSecurity = exports.Passport = exports.WalletFunding = exports.Remittance = exports.PlatformRbac = exports.CognitoBackofficeConnector = exports.TwilioConnector = exports.MessagesConnector = exports.Mdm = exports.MilestoneBusiness = exports.CirculoCredito = exports.CreditStatements = exports.Sentry = exports.AiEngine = exports.Funnel = exports.TeamsConnector = exports.PlatformErrorEvents = exports.CustomerFile = exports.CreditBackoffice = exports.CreditDashboard = exports.CreditEngine = exports.Credit = exports.ComissionBusiness = exports.ReferralBusiness = exports.ZendeskMessaging = exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = exports.Collector = exports.Pricelist = exports.Company = exports.Services = exports.AccountIssuanceBusiness = exports.AppSelectionData = void 0;
|
|
41
41
|
exports.Crypto = __importStar(require("./crypto"));
|
|
42
42
|
exports.Account = __importStar(require("./account"));
|
|
43
43
|
exports.Activity = __importStar(require("./activity"));
|
|
@@ -143,6 +143,12 @@ exports.EmailVerification = __importStar(require("./emailVerification"));
|
|
|
143
143
|
// RetailOrg: DTOs/enums del lambda retail-org-business (SureKeep Fase 1 — pista Retail).
|
|
144
144
|
// Dominio de retailers → zonas → tiendas → usuarios retail.
|
|
145
145
|
exports.RetailOrg = __importStar(require("./retailOrg"));
|
|
146
|
+
// RetailCatalog: DTOs/enums del lambda retail-catalog-business (comp 05 — catálogo de productos
|
|
147
|
+
// por SKU + inventario por IMEI; SureKeep Fase 1 — pista Retail).
|
|
148
|
+
exports.RetailCatalog = __importStar(require("./retailCatalog"));
|
|
149
|
+
// RetailCards: DTOs/enums del lambda retail-cards-business (comp 06 — tarjetas físicas PCF:
|
|
150
|
+
// lotes, stock y asignación; SureKeep Fase 1 — pista Retail).
|
|
151
|
+
exports.RetailCards = __importStar(require("./retailCards"));
|
|
146
152
|
// LoanConfig: DTOs/enums del lambda loan-config-business (comp 09 — parámetros operativos del SOFOM).
|
|
147
153
|
exports.LoanConfig = __importStar(require("./loanConfig"));
|
|
148
154
|
// LoanOfferings: DTOs/enums del lambda loan-offerings-business (comp 07 — planes de crédito,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ModifiableByRoleEnum } from '../enums/ModifiableByRoleEnum';
|
|
2
1
|
import { ParameterTypeEnum } from '../enums/ParameterTypeEnum';
|
|
3
2
|
import { ParameterValueTypeEnum } from '../enums/ParameterValueTypeEnum';
|
|
4
3
|
/**
|
|
@@ -14,7 +13,6 @@ export declare class Parameter {
|
|
|
14
13
|
valueType: ParameterValueTypeEnum;
|
|
15
14
|
defaultValue: string;
|
|
16
15
|
description: string;
|
|
17
|
-
modifiableBy: ModifiableByRoleEnum;
|
|
18
16
|
lastModifiedByUserId: string;
|
|
19
17
|
createdBy: string;
|
|
20
18
|
updatedBy: string;
|
|
@@ -13,7 +13,6 @@ exports.Parameter = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const regex_1 = require("../../helpers/constans/regex");
|
|
16
|
-
const ModifiableByRoleEnum_1 = require("../enums/ModifiableByRoleEnum");
|
|
17
16
|
const ParameterTypeEnum_1 = require("../enums/ParameterTypeEnum");
|
|
18
17
|
const ParameterValueTypeEnum_1 = require("../enums/ParameterValueTypeEnum");
|
|
19
18
|
/**
|
|
@@ -59,11 +58,6 @@ __decorate([
|
|
|
59
58
|
(0, class_validator_1.IsString)(),
|
|
60
59
|
__metadata("design:type", String)
|
|
61
60
|
], Parameter.prototype, "description", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_transformer_1.Expose)(),
|
|
64
|
-
(0, class_validator_1.IsEnum)(ModifiableByRoleEnum_1.ModifiableByRoleEnum),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], Parameter.prototype, "modifiableBy", void 0);
|
|
67
61
|
__decorate([
|
|
68
62
|
(0, class_transformer_1.Expose)(),
|
|
69
63
|
(0, class_validator_1.IsString)(),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ModifiableByRoleEnum } from '../../enums/ModifiableByRoleEnum';
|
|
2
1
|
import { ParameterTypeEnum } from '../../enums/ParameterTypeEnum';
|
|
3
2
|
import { ParameterValueTypeEnum } from '../../enums/ParameterValueTypeEnum';
|
|
4
3
|
/** Shape de salida de un parámetro. `effectiveValue` = value ?? defaultValue. */
|
|
@@ -11,7 +10,6 @@ export interface ParameterResponse {
|
|
|
11
10
|
valueType: ParameterValueTypeEnum;
|
|
12
11
|
defaultValue: string;
|
|
13
12
|
description: string;
|
|
14
|
-
modifiableBy: ModifiableByRoleEnum;
|
|
15
13
|
lastModifiedByUserId: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './enums/ParameterTypeEnum';
|
|
2
2
|
export * from './enums/ParameterValueTypeEnum';
|
|
3
|
-
export * from './enums/ModifiableByRoleEnum';
|
|
4
3
|
export * from './dtos/Parameter';
|
|
5
4
|
export * from './dtos/requests/UpdateParameterRequest';
|
|
6
5
|
export * from './dtos/requests/BulkUpdateParametersRequest';
|
package/bin/loanConfig/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./enums/ParameterTypeEnum"), exports);
|
|
18
18
|
__exportStar(require("./enums/ParameterValueTypeEnum"), exports);
|
|
19
|
-
__exportStar(require("./enums/ModifiableByRoleEnum"), exports);
|
|
20
19
|
// Entity DTOs
|
|
21
20
|
__exportStar(require("./dtos/Parameter"), exports);
|
|
22
21
|
// Request DTOs
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AssignCardRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/** Body de la asignación de una tarjeta física a un cliente. */
|
|
15
|
+
class AssignCardRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.AssignCardRequest = AssignCardRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], AssignCardRequest.prototype, "assignedToCustomerId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], AssignCardRequest.prototype, "assignedByUserId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], AssignCardRequest.prototype, "creditId", void 0);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CancelCardRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const CardCancelReasonEnum_1 = require("../../enums/CardCancelReasonEnum");
|
|
15
|
+
/** Body de la cancelación (anulación) de una tarjeta física. */
|
|
16
|
+
class CancelCardRequest {
|
|
17
|
+
}
|
|
18
|
+
exports.CancelCardRequest = CancelCardRequest;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsEnum)(CardCancelReasonEnum_1.CardCancelReasonEnum),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CancelCardRequest.prototype, "reason", void 0);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RegisterCardBatchRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/** Body del registro (recepción) de un lote de tarjetas para una tienda. */
|
|
15
|
+
class RegisterCardBatchRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.RegisterCardBatchRequest = RegisterCardBatchRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], RegisterCardBatchRequest.prototype, "storeId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsInt)(),
|
|
24
|
+
(0, class_validator_1.Min)(1),
|
|
25
|
+
(0, class_validator_1.Max)(1000),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], RegisterCardBatchRequest.prototype, "totalCards", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.ArrayMaxSize)(1000),
|
|
31
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], RegisterCardBatchRequest.prototype, "cardNumbers", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], RegisterCardBatchRequest.prototype, "notes", void 0);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CardBatchStatusEnum } from '../../enums/CardBatchStatusEnum';
|
|
2
|
+
/** Representación de un lote de tarjetas hacia el cliente. */
|
|
3
|
+
export interface CardBatchResponse {
|
|
4
|
+
batchId: string;
|
|
5
|
+
retailerId: string;
|
|
6
|
+
storeId: string;
|
|
7
|
+
totalCards: number;
|
|
8
|
+
expectedCardCount: number;
|
|
9
|
+
loadedCount: number;
|
|
10
|
+
availableCount: number;
|
|
11
|
+
assignedCount: number;
|
|
12
|
+
cancelledCount: number;
|
|
13
|
+
status: CardBatchStatusEnum;
|
|
14
|
+
receivedAt: string;
|
|
15
|
+
receivedByUserId: string;
|
|
16
|
+
notes: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RetailCardStatusEnum } from '../../enums/RetailCardStatusEnum';
|
|
2
|
+
/** Representación de una tarjeta física hacia el cliente. */
|
|
3
|
+
export interface RetailCardResponse {
|
|
4
|
+
cardNumber: string;
|
|
5
|
+
retailerId: string;
|
|
6
|
+
batchId: string;
|
|
7
|
+
storeId: string;
|
|
8
|
+
status: RetailCardStatusEnum;
|
|
9
|
+
assignedToCustomerId: string | null;
|
|
10
|
+
assignedAt: string | null;
|
|
11
|
+
assignedByUserId: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Estado de un lote de tarjetas.
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*
|
|
5
|
+
* @property {string} RECEIVING - Transitorio, carga en curso (DEC-004/DEC-008).
|
|
6
|
+
* @property {string} RECEIVED - Carga completada, lote atado a una tienda (happy-path F1).
|
|
7
|
+
* @property {string} FAILED - Terminal, la carga del lote falló (DEC-004/DEC-008).
|
|
8
|
+
* @property {string} DISTRIBUTED - Reservado F1 — lote centralizado repartido a varias tiendas (TD-008).
|
|
9
|
+
* @property {string} CLOSED - Reservado F1 — cierre manual del lote (TD-008).
|
|
10
|
+
*/
|
|
11
|
+
export declare enum CardBatchStatusEnum {
|
|
12
|
+
RECEIVING = "RECEIVING",
|
|
13
|
+
RECEIVED = "RECEIVED",
|
|
14
|
+
FAILED = "FAILED",
|
|
15
|
+
DISTRIBUTED = "DISTRIBUTED",
|
|
16
|
+
CLOSED = "CLOSED"
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardBatchStatusEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Estado de un lote de tarjetas.
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*
|
|
8
|
+
* @property {string} RECEIVING - Transitorio, carga en curso (DEC-004/DEC-008).
|
|
9
|
+
* @property {string} RECEIVED - Carga completada, lote atado a una tienda (happy-path F1).
|
|
10
|
+
* @property {string} FAILED - Terminal, la carga del lote falló (DEC-004/DEC-008).
|
|
11
|
+
* @property {string} DISTRIBUTED - Reservado F1 — lote centralizado repartido a varias tiendas (TD-008).
|
|
12
|
+
* @property {string} CLOSED - Reservado F1 — cierre manual del lote (TD-008).
|
|
13
|
+
*/
|
|
14
|
+
var CardBatchStatusEnum;
|
|
15
|
+
(function (CardBatchStatusEnum) {
|
|
16
|
+
CardBatchStatusEnum["RECEIVING"] = "RECEIVING";
|
|
17
|
+
CardBatchStatusEnum["RECEIVED"] = "RECEIVED";
|
|
18
|
+
CardBatchStatusEnum["FAILED"] = "FAILED";
|
|
19
|
+
CardBatchStatusEnum["DISTRIBUTED"] = "DISTRIBUTED";
|
|
20
|
+
CardBatchStatusEnum["CLOSED"] = "CLOSED";
|
|
21
|
+
})(CardBatchStatusEnum || (exports.CardBatchStatusEnum = CardBatchStatusEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motivo de cancelación de una tarjeta física.
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*
|
|
5
|
+
* @property {string} PLASTIC_DAMAGED - Plástico dañado.
|
|
6
|
+
* @property {string} LOST - Tarjeta perdida.
|
|
7
|
+
* @property {string} THEFT_REPORTED - Robo reportado.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum CardCancelReasonEnum {
|
|
10
|
+
PLASTIC_DAMAGED = "PLASTIC_DAMAGED",
|
|
11
|
+
LOST = "LOST",
|
|
12
|
+
THEFT_REPORTED = "THEFT_REPORTED"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardCancelReasonEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Motivo de cancelación de una tarjeta física.
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*
|
|
8
|
+
* @property {string} PLASTIC_DAMAGED - Plástico dañado.
|
|
9
|
+
* @property {string} LOST - Tarjeta perdida.
|
|
10
|
+
* @property {string} THEFT_REPORTED - Robo reportado.
|
|
11
|
+
*/
|
|
12
|
+
var CardCancelReasonEnum;
|
|
13
|
+
(function (CardCancelReasonEnum) {
|
|
14
|
+
CardCancelReasonEnum["PLASTIC_DAMAGED"] = "PLASTIC_DAMAGED";
|
|
15
|
+
CardCancelReasonEnum["LOST"] = "LOST";
|
|
16
|
+
CardCancelReasonEnum["THEFT_REPORTED"] = "THEFT_REPORTED";
|
|
17
|
+
})(CardCancelReasonEnum || (exports.CardCancelReasonEnum = CardCancelReasonEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Estado de una tarjeta física individual.
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*
|
|
5
|
+
* @property {string} AVAILABLE - Cargada en stock, disponible para asignar.
|
|
6
|
+
* @property {string} ASSIGNED - Asignada a un cliente.
|
|
7
|
+
* @property {string} CANCELLED - Anulada (plástico dañado, pérdida o robo). Estado terminal.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum RetailCardStatusEnum {
|
|
10
|
+
AVAILABLE = "AVAILABLE",
|
|
11
|
+
ASSIGNED = "ASSIGNED",
|
|
12
|
+
CANCELLED = "CANCELLED"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetailCardStatusEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Estado de una tarjeta física individual.
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*
|
|
8
|
+
* @property {string} AVAILABLE - Cargada en stock, disponible para asignar.
|
|
9
|
+
* @property {string} ASSIGNED - Asignada a un cliente.
|
|
10
|
+
* @property {string} CANCELLED - Anulada (plástico dañado, pérdida o robo). Estado terminal.
|
|
11
|
+
*/
|
|
12
|
+
var RetailCardStatusEnum;
|
|
13
|
+
(function (RetailCardStatusEnum) {
|
|
14
|
+
RetailCardStatusEnum["AVAILABLE"] = "AVAILABLE";
|
|
15
|
+
RetailCardStatusEnum["ASSIGNED"] = "ASSIGNED";
|
|
16
|
+
RetailCardStatusEnum["CANCELLED"] = "CANCELLED";
|
|
17
|
+
})(RetailCardStatusEnum || (exports.RetailCardStatusEnum = RetailCardStatusEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Emitido cuando una tarjeta se asigna a un cliente. */
|
|
2
|
+
export interface RetailCardAssignedV1 {
|
|
3
|
+
cardNumber: string;
|
|
4
|
+
retailerId: string;
|
|
5
|
+
storeId: string;
|
|
6
|
+
assignedToCustomerId: string;
|
|
7
|
+
assignedByUserId: string;
|
|
8
|
+
creditId?: string;
|
|
9
|
+
occurredAt: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CardCancelReasonEnum } from '../enums/CardCancelReasonEnum';
|
|
2
|
+
/** Emitido cuando una tarjeta se cancela (anula). */
|
|
3
|
+
export interface RetailCardCancelledV1 {
|
|
4
|
+
cardNumber: string;
|
|
5
|
+
retailerId: string;
|
|
6
|
+
storeId: string;
|
|
7
|
+
reason: CardCancelReasonEnum;
|
|
8
|
+
occurredAt: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './enums/RetailCardStatusEnum';
|
|
2
|
+
export * from './enums/CardBatchStatusEnum';
|
|
3
|
+
export * from './enums/CardCancelReasonEnum';
|
|
4
|
+
export * from './dtos/requests/RegisterCardBatchRequest';
|
|
5
|
+
export * from './dtos/requests/CancelCardRequest';
|
|
6
|
+
export * from './dtos/requests/AssignCardRequest';
|
|
7
|
+
export * from './dtos/responses/CardBatchResponse';
|
|
8
|
+
export * from './dtos/responses/RetailCardResponse';
|
|
9
|
+
export * from './dtos/responses/StockAlertItem';
|
|
10
|
+
export * from './dtos/responses/StockAlertsResponse';
|
|
11
|
+
export * from './events/CardBatchReceivedV1';
|
|
12
|
+
export * from './events/RetailCardAssignedV1';
|
|
13
|
+
export * from './events/RetailCardReleasedV1';
|
|
14
|
+
export * from './events/RetailCardCancelledV1';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enums/RetailCardStatusEnum"), exports);
|
|
18
|
+
__exportStar(require("./enums/CardBatchStatusEnum"), exports);
|
|
19
|
+
__exportStar(require("./enums/CardCancelReasonEnum"), exports);
|
|
20
|
+
// Request DTOs (input validado por endpoint)
|
|
21
|
+
__exportStar(require("./dtos/requests/RegisterCardBatchRequest"), exports);
|
|
22
|
+
__exportStar(require("./dtos/requests/CancelCardRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/requests/AssignCardRequest"), exports);
|
|
24
|
+
// Response DTOs
|
|
25
|
+
__exportStar(require("./dtos/responses/CardBatchResponse"), exports);
|
|
26
|
+
__exportStar(require("./dtos/responses/RetailCardResponse"), exports);
|
|
27
|
+
__exportStar(require("./dtos/responses/StockAlertItem"), exports);
|
|
28
|
+
__exportStar(require("./dtos/responses/StockAlertsResponse"), exports);
|
|
29
|
+
// Contratos de eventos (PascalCase + sufijo V1)
|
|
30
|
+
__exportStar(require("./events/CardBatchReceivedV1"), exports);
|
|
31
|
+
__exportStar(require("./events/RetailCardAssignedV1"), exports);
|
|
32
|
+
__exportStar(require("./events/RetailCardReleasedV1"), exports);
|
|
33
|
+
__exportStar(require("./events/RetailCardCancelledV1"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InventoryItemStatusEnum } from '../enums/InventoryItemStatusEnum';
|
|
2
|
+
/**
|
|
3
|
+
* InventoryItem — unidad física de inventario identificada por IMEI
|
|
4
|
+
* (lambda retail-catalog-business, SureKeep Fase 1 — pista Retail).
|
|
5
|
+
* Representación de salida/datos: sin decoradores class-validator.
|
|
6
|
+
*/
|
|
7
|
+
export declare class InventoryItem {
|
|
8
|
+
imei: string;
|
|
9
|
+
retailerId: string;
|
|
10
|
+
productId: string;
|
|
11
|
+
storeId: string;
|
|
12
|
+
status: InventoryItemStatusEnum;
|
|
13
|
+
receivedAt: string;
|
|
14
|
+
soldAt: string | null;
|
|
15
|
+
soldToCustomerId: string | null;
|
|
16
|
+
createdBy: string;
|
|
17
|
+
updatedBy: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InventoryItem = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* InventoryItem — unidad física de inventario identificada por IMEI
|
|
6
|
+
* (lambda retail-catalog-business, SureKeep Fase 1 — pista Retail).
|
|
7
|
+
* Representación de salida/datos: sin decoradores class-validator.
|
|
8
|
+
*/
|
|
9
|
+
class InventoryItem {
|
|
10
|
+
}
|
|
11
|
+
exports.InventoryItem = InventoryItem;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { MdmLockModeEnum } from '../enums/MdmLockModeEnum';
|
|
2
|
+
import { MdmProviderEnum } from '../enums/MdmProviderEnum';
|
|
3
|
+
import { ProductStatusEnum } from '../enums/ProductStatusEnum';
|
|
4
|
+
import { ProductTierEnum } from '../enums/ProductTierEnum';
|
|
5
|
+
/**
|
|
6
|
+
* Product — aggregate root del catálogo del dominio `retailCatalog`
|
|
7
|
+
* (lambda retail-catalog-business, SureKeep Fase 1 — pista Retail).
|
|
8
|
+
* Representación de salida/datos: sin decoradores class-validator.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Product {
|
|
11
|
+
productId: string;
|
|
12
|
+
retailerId: string;
|
|
13
|
+
sku: string;
|
|
14
|
+
externalId: string | null;
|
|
15
|
+
brand: string;
|
|
16
|
+
model: string;
|
|
17
|
+
capacity: string;
|
|
18
|
+
color: string;
|
|
19
|
+
description: string;
|
|
20
|
+
specs: Record<string, unknown> | null;
|
|
21
|
+
imageUrl: string | null;
|
|
22
|
+
tier: ProductTierEnum;
|
|
23
|
+
basePriceCents: number;
|
|
24
|
+
listPriceCents: number | null;
|
|
25
|
+
eligibleFinanciers: string[];
|
|
26
|
+
mdmEnabled: boolean;
|
|
27
|
+
mdmProvider: MdmProviderEnum | null;
|
|
28
|
+
mdmLockMode: MdmLockModeEnum | null;
|
|
29
|
+
status: ProductStatusEnum;
|
|
30
|
+
createdBy: string;
|
|
31
|
+
updatedBy: string;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Product = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Product — aggregate root del catálogo del dominio `retailCatalog`
|
|
6
|
+
* (lambda retail-catalog-business, SureKeep Fase 1 — pista Retail).
|
|
7
|
+
* Representación de salida/datos: sin decoradores class-validator.
|
|
8
|
+
*/
|
|
9
|
+
class Product {
|
|
10
|
+
}
|
|
11
|
+
exports.Product = Product;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InventoryItemStatusEnum } from '../../enums/InventoryItemStatusEnum';
|
|
2
|
+
/**
|
|
3
|
+
* Body de PUT /retailers/:retailerId/inventory/:imei/status — cambio manual de estado.
|
|
4
|
+
* Acotado a RETURNED | DAMAGED (los otros estados los mueve la máquina de venta, no el operador).
|
|
5
|
+
*/
|
|
6
|
+
export declare class ChangeInventoryStatusRequest {
|
|
7
|
+
status: InventoryItemStatusEnum.RETURNED | InventoryItemStatusEnum.DAMAGED;
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ChangeInventoryStatusRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const InventoryItemStatusEnum_1 = require("../../enums/InventoryItemStatusEnum");
|
|
15
|
+
/**
|
|
16
|
+
* Body de PUT /retailers/:retailerId/inventory/:imei/status — cambio manual de estado.
|
|
17
|
+
* Acotado a RETURNED | DAMAGED (los otros estados los mueve la máquina de venta, no el operador).
|
|
18
|
+
*/
|
|
19
|
+
class ChangeInventoryStatusRequest {
|
|
20
|
+
}
|
|
21
|
+
exports.ChangeInventoryStatusRequest = ChangeInventoryStatusRequest;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsIn)([InventoryItemStatusEnum_1.InventoryItemStatusEnum.RETURNED, InventoryItemStatusEnum_1.InventoryItemStatusEnum.DAMAGED]),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ChangeInventoryStatusRequest.prototype, "status", void 0);
|