adamo-types 2.0.9-sit → 2.0.9-uat
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/common/channel/user.channel.d.ts +19 -0
- package/dist/common/channel/user.channel.js +23 -0
- package/dist/common/edge-bss/saleperson/index.d.ts +1 -0
- package/dist/common/edge-bss/saleperson/index.js +17 -0
- package/dist/common/edge-bss/saleperson/req/saleperson.entity.d.ts +20 -0
- package/dist/common/edge-bss/saleperson/req/saleperson.entity.js +22 -0
- package/dist/common/edge-sms/contract/index.d.ts +2 -0
- package/dist/common/edge-sms/contract/index.js +18 -0
- package/dist/common/edge-sms/contract/req/create.entity.d.ts +5 -0
- package/dist/common/edge-sms/contract/req/create.entity.js +10 -0
- package/dist/common/edge-sms/contract/res/response.entity.d.ts +4 -0
- package/dist/common/edge-sms/contract/res/response.entity.js +10 -0
- package/dist/common/edge-sms/index.d.ts +1 -0
- package/dist/common/edge-sms/index.js +17 -0
- package/dist/common/edge-zoho/sale-process/req/delete.entity.d.ts +3 -0
- package/dist/common/edge-zoho/sale-process/req/delete.entity.js +10 -0
- package/dist/common/number-pool/constants/index.entity.d.ts +52 -0
- package/dist/common/number-pool/constants/index.entity.js +57 -0
- package/dist/common/number-pool/index.d.ts +2 -0
- package/dist/common/number-pool/index.js +18 -0
- package/dist/common/number-pool/req/index.entity.d.ts +3 -0
- package/dist/common/number-pool/req/index.entity.js +10 -0
- package/dist/common/number-pool/res/index.entity.d.ts +0 -0
- package/dist/common/number-pool/res/index.entity.js +1 -0
- package/dist/database/aggrupation-transactions.entity.d.ts +11 -0
- package/dist/database/aggrupation-transactions.entity.js +59 -0
- package/dist/database/aggrupation.entity.d.ts +45 -0
- package/dist/database/aggrupation.entity.js +196 -0
- package/dist/database/aggrupations-consent-data.entity.d.ts +12 -0
- package/dist/database/aggrupations-consent-data.entity.js +60 -0
- package/dist/database/aggrupations-file.entity.d.ts +12 -0
- package/dist/database/aggrupations-file.entity.js +60 -0
- package/dist/database/aggrupations-transactions.entity.d.ts +11 -0
- package/dist/database/aggrupations-transactions.entity.js +59 -0
- package/dist/database/agrupation-transactions.entity.d.ts +11 -0
- package/dist/database/agrupation-transactions.entity.js +59 -0
- package/dist/database/customer-product-modification.entity copy.d.ts +34 -0
- package/dist/database/customer-product-modification.entity copy.js +147 -0
- package/dist/database/lead-transactions.entity copy.d.ts +10 -0
- package/dist/database/lead-transactions.entity copy.js +53 -0
- package/dist/database/leads-consent-data.entity copy.d.ts +11 -0
- package/dist/database/leads-consent-data.entity copy.js +53 -0
- package/dist/database/leads-file.entity copy.d.ts +11 -0
- package/dist/database/leads-file.entity copy.js +53 -0
- package/dist/digitel/aggrupation-consent-data.entity.d.ts +10 -0
- package/dist/digitel/aggrupation-consent-data.entity.js +63 -0
- package/dist/digitel/aggrupation-file.entity.d.ts +10 -0
- package/dist/digitel/aggrupation-file.entity.js +10 -0
- package/dist/digitel/aggrupation-transactions.entity.d.ts +9 -0
- package/dist/digitel/aggrupation-transactions.entity.js +51 -0
- package/dist/digitel/lead-file.entity copy.d.ts +10 -0
- package/dist/digitel/lead-file.entity copy.js +6 -0
- package/dist/digitel/lead-transactions.entity copy.d.ts +9 -0
- package/dist/digitel/lead-transactions.entity copy.js +6 -0
- package/dist/sys03/aggrupation/aggrupation-consent-data.entity.d.ts +37 -0
- package/dist/sys03/aggrupation/aggrupation-consent-data.entity.js +141 -0
- package/dist/sys03/aggrupation/aggrupation.constants.d.ts +24 -0
- package/dist/sys03/aggrupation/aggrupation.constants.js +48 -0
- package/dist/sys03/aggrupation/aggrupation.entity copy.d.ts +37 -0
- package/dist/sys03/aggrupation/aggrupation.entity copy.js +128 -0
- package/dist/sys03/aggrupation/aggrupation.entity.d.ts +37 -0
- package/dist/sys03/aggrupation/aggrupation.entity.js +141 -0
- package/dist/sys03/aggrupation/customer-product-modification-process.entity.d.ts +33 -0
- package/dist/sys03/aggrupation/customer-product-modification-process.entity.js +104 -0
- package/dist/sys03/aggrupation/index.d.ts +2 -0
- package/dist/sys03/aggrupation/index.js +18 -0
- package/dist/sys03/aggrupation/simple.entity.d.ts +3 -0
- package/dist/sys03/aggrupation/simple.entity.js +26 -0
- package/dist/sys03/approval/approval.entity.d.ts +5 -5
- package/dist/sys03/customer/customer-product.constants.d.ts +5 -0
- package/dist/sys03/customer/customer-product.constants.js +7 -0
- package/dist/sys03/customer/customer.process.entity.d.ts +13 -0
- package/dist/sys03/customer/customer.process.entity.js +69 -0
- package/dist/sys03/shopping-cart/internal/internal.entity.d.ts +5 -0
- package/dist/sys03/shopping-cart/internal/internal.entity.js +3 -0
- package/dist/sys03/updowngrade/internal.d.ts +10 -0
- package/dist/sys03/updowngrade/internal.js +2 -0
- package/dist/sys03/updowngrade/product-transition.entity.d.ts +41 -0
- package/dist/sys03/updowngrade/product-transition.entity.js +40 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/validators/IsEnum.d.ts +2 -0
- package/dist/validators/IsEnum.js +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum Channel {
|
|
2
|
+
B2B_DIRECT = "B2B_DIRECT",
|
|
3
|
+
B2B_INDIRECT = "B2B_INDIRECT",
|
|
4
|
+
COPS_GROWTH = "COPS_GROWTH",
|
|
5
|
+
D2D_EXTERNOS_B2C = "D2D_EXTERNOS_B2C",
|
|
6
|
+
D2D_INTERNOS_B2C = "D2D_INTERNOS_B2C",
|
|
7
|
+
DEFAULT = "DEFAULT",
|
|
8
|
+
DISTRIBUIDORES_ONLINE = "DISTRIBUIDORES_ONLINE",
|
|
9
|
+
INDIRECT_CHANNEL_B2C = "INDIRECT_CHANNEL_B2C",
|
|
10
|
+
ORDER_ENTRY = "ORDER_ENTRY",
|
|
11
|
+
RETIRADOS_B2B = "RETIRADOS_B2B",
|
|
12
|
+
SOS_GROWTH = "SOS-GROWTH",
|
|
13
|
+
STORES_B2C = "STORES_B2C",
|
|
14
|
+
TELESALES_B12 = "TELESALES_B12",
|
|
15
|
+
TELESALES_SOSMATIC = "TELESALES_SOSMATIC",
|
|
16
|
+
WEB_APOLLO = "WEB_APOLLO",
|
|
17
|
+
WEB_B2B = "WEB_B2B",
|
|
18
|
+
WEB_B2C = "WEB_B2C"
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Channel = void 0;
|
|
4
|
+
var Channel;
|
|
5
|
+
(function (Channel) {
|
|
6
|
+
Channel["B2B_DIRECT"] = "B2B_DIRECT";
|
|
7
|
+
Channel["B2B_INDIRECT"] = "B2B_INDIRECT";
|
|
8
|
+
Channel["COPS_GROWTH"] = "COPS_GROWTH";
|
|
9
|
+
Channel["D2D_EXTERNOS_B2C"] = "D2D_EXTERNOS_B2C";
|
|
10
|
+
Channel["D2D_INTERNOS_B2C"] = "D2D_INTERNOS_B2C";
|
|
11
|
+
Channel["DEFAULT"] = "DEFAULT";
|
|
12
|
+
Channel["DISTRIBUIDORES_ONLINE"] = "DISTRIBUIDORES_ONLINE";
|
|
13
|
+
Channel["INDIRECT_CHANNEL_B2C"] = "INDIRECT_CHANNEL_B2C";
|
|
14
|
+
Channel["ORDER_ENTRY"] = "ORDER_ENTRY";
|
|
15
|
+
Channel["RETIRADOS_B2B"] = "RETIRADOS_B2B";
|
|
16
|
+
Channel["SOS_GROWTH"] = "SOS-GROWTH";
|
|
17
|
+
Channel["STORES_B2C"] = "STORES_B2C";
|
|
18
|
+
Channel["TELESALES_B12"] = "TELESALES_B12";
|
|
19
|
+
Channel["TELESALES_SOSMATIC"] = "TELESALES_SOSMATIC";
|
|
20
|
+
Channel["WEB_APOLLO"] = "WEB_APOLLO";
|
|
21
|
+
Channel["WEB_B2B"] = "WEB_B2B";
|
|
22
|
+
Channel["WEB_B2C"] = "WEB_B2C";
|
|
23
|
+
})(Channel || (exports.Channel = Channel = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './req/saleperson.entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./req/saleperson.entity"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class SalepersonDto {
|
|
2
|
+
area: string;
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
description: string;
|
|
6
|
+
displayOrder: number;
|
|
7
|
+
active: boolean;
|
|
8
|
+
configurationLevel: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class SalepersonRemoveDto {
|
|
11
|
+
list: Salesman[];
|
|
12
|
+
}
|
|
13
|
+
export declare class Salesman {
|
|
14
|
+
name: string;
|
|
15
|
+
displayName: string;
|
|
16
|
+
displayOrder: number;
|
|
17
|
+
description: string;
|
|
18
|
+
active: boolean;
|
|
19
|
+
configurationLevel: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Salesman = exports.SalepersonRemoveDto = exports.SalepersonDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class SalepersonDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { area: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, active: { required: true, type: () => Boolean }, configurationLevel: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.SalepersonDto = SalepersonDto;
|
|
11
|
+
class SalepersonRemoveDto {
|
|
12
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
+
return { list: { required: true, type: () => [require("./saleperson.entity").Salesman] } };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.SalepersonRemoveDto = SalepersonRemoveDto;
|
|
17
|
+
class Salesman {
|
|
18
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
+
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean }, configurationLevel: { required: true, type: () => String } };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Salesman = Salesman;
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./req/create.entity"), exports);
|
|
18
|
+
__exportStar(require("./res/response.entity"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmsContractDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class SmsContractDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { userId: { required: true, type: () => String }, phone: { required: true, type: () => String }, msg: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.SmsContractDto = SmsContractDto;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendSmsResponse = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class SendSmsResponse {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { id: { required: true, type: () => String }, fileName: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.SendSmsResponse = SendSmsResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './contract';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./contract"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SaleProcessSoftDeleteParamsDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class SaleProcessSoftDeleteParamsDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { user: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.SaleProcessSoftDeleteParamsDto = SaleProcessSoftDeleteParamsDto;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare enum Province {
|
|
2
|
+
LA_CORUNA = "La Coruna",
|
|
3
|
+
ALAVA = "Alava",
|
|
4
|
+
ALBACETE = "Albacete",
|
|
5
|
+
ALACANTE = "Alacante",
|
|
6
|
+
ALMERIA = "Almeria",
|
|
7
|
+
ASTURIAS = "Asturias",
|
|
8
|
+
AVILA = "Avila",
|
|
9
|
+
BADAJOZ = "Badajoz",
|
|
10
|
+
BALEARIC_ISLANDS = "Balearic Islands",
|
|
11
|
+
BARCELONA = "Barcelona",
|
|
12
|
+
BISCAY = "Biscay",
|
|
13
|
+
BURGOS = "Burgos",
|
|
14
|
+
CACERES = "Caceres",
|
|
15
|
+
CADIZ = "Cadiz",
|
|
16
|
+
CANTABRIA = "Cantabria",
|
|
17
|
+
CASTELLON = "Castellon",
|
|
18
|
+
CIUDAD_REAL = "Ciudad Real",
|
|
19
|
+
CORDOBA = "Cordoba",
|
|
20
|
+
CUENCA = "Cuenca",
|
|
21
|
+
GUIPUZCOA = "Guipuzcoa",
|
|
22
|
+
GERONA = "Gerona",
|
|
23
|
+
GRANADA = "Granada",
|
|
24
|
+
GUADALAJARA = "Guadalajara",
|
|
25
|
+
HUELVA = "Huelva",
|
|
26
|
+
HUESCA = "Huesca",
|
|
27
|
+
JAEN = "Jaen",
|
|
28
|
+
LA_RIOJA = "La Rioja",
|
|
29
|
+
LAS_PALMAS = "Las Palmas",
|
|
30
|
+
LEON = "Leon",
|
|
31
|
+
Lleida = "Lleida",
|
|
32
|
+
LUGO = "Lugo",
|
|
33
|
+
MADRID = "Madrid",
|
|
34
|
+
MALAGA = "Malaga",
|
|
35
|
+
MURCIA = "Murcia",
|
|
36
|
+
NAVARRA = "Navarra",
|
|
37
|
+
ORENSE = "Orense",
|
|
38
|
+
PALENCIA = "Palencia",
|
|
39
|
+
PONTEVEDRA = "Pontevedra",
|
|
40
|
+
SALAMANCA = "Salamanca",
|
|
41
|
+
SANTA_CRUZ_DE_TENERIFE = "Santa Cruz de Tenerife",
|
|
42
|
+
SEGOVIA = "Segovia",
|
|
43
|
+
SEVILLA = "Sevilla",
|
|
44
|
+
SORIA = "Soria",
|
|
45
|
+
TARRAGONA = "Tarragona",
|
|
46
|
+
TERUEL = "Teruel",
|
|
47
|
+
TOLEDO = "Toledo",
|
|
48
|
+
VALENCIA = "Valencia",
|
|
49
|
+
VALLADOLID = "Valladolid",
|
|
50
|
+
ZAMORA = "Zamora",
|
|
51
|
+
ZARAGOZA = "Zaragoza"
|
|
52
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Province = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
var Province;
|
|
6
|
+
(function (Province) {
|
|
7
|
+
Province["LA_CORUNA"] = "La Coruna";
|
|
8
|
+
Province["ALAVA"] = "Alava";
|
|
9
|
+
Province["ALBACETE"] = "Albacete";
|
|
10
|
+
Province["ALACANTE"] = "Alacante";
|
|
11
|
+
Province["ALMERIA"] = "Almeria";
|
|
12
|
+
Province["ASTURIAS"] = "Asturias";
|
|
13
|
+
Province["AVILA"] = "Avila";
|
|
14
|
+
Province["BADAJOZ"] = "Badajoz";
|
|
15
|
+
Province["BALEARIC_ISLANDS"] = "Balearic Islands";
|
|
16
|
+
Province["BARCELONA"] = "Barcelona";
|
|
17
|
+
Province["BISCAY"] = "Biscay";
|
|
18
|
+
Province["BURGOS"] = "Burgos";
|
|
19
|
+
Province["CACERES"] = "Caceres";
|
|
20
|
+
Province["CADIZ"] = "Cadiz";
|
|
21
|
+
Province["CANTABRIA"] = "Cantabria";
|
|
22
|
+
Province["CASTELLON"] = "Castellon";
|
|
23
|
+
Province["CIUDAD_REAL"] = "Ciudad Real";
|
|
24
|
+
Province["CORDOBA"] = "Cordoba";
|
|
25
|
+
Province["CUENCA"] = "Cuenca";
|
|
26
|
+
Province["GUIPUZCOA"] = "Guipuzcoa";
|
|
27
|
+
Province["GERONA"] = "Gerona";
|
|
28
|
+
Province["GRANADA"] = "Granada";
|
|
29
|
+
Province["GUADALAJARA"] = "Guadalajara";
|
|
30
|
+
Province["HUELVA"] = "Huelva";
|
|
31
|
+
Province["HUESCA"] = "Huesca";
|
|
32
|
+
Province["JAEN"] = "Jaen";
|
|
33
|
+
Province["LA_RIOJA"] = "La Rioja";
|
|
34
|
+
Province["LAS_PALMAS"] = "Las Palmas";
|
|
35
|
+
Province["LEON"] = "Leon";
|
|
36
|
+
Province["Lleida"] = "Lleida";
|
|
37
|
+
Province["LUGO"] = "Lugo";
|
|
38
|
+
Province["MADRID"] = "Madrid";
|
|
39
|
+
Province["MALAGA"] = "Malaga";
|
|
40
|
+
Province["MURCIA"] = "Murcia";
|
|
41
|
+
Province["NAVARRA"] = "Navarra";
|
|
42
|
+
Province["ORENSE"] = "Orense";
|
|
43
|
+
Province["PALENCIA"] = "Palencia";
|
|
44
|
+
Province["PONTEVEDRA"] = "Pontevedra";
|
|
45
|
+
Province["SALAMANCA"] = "Salamanca";
|
|
46
|
+
Province["SANTA_CRUZ_DE_TENERIFE"] = "Santa Cruz de Tenerife";
|
|
47
|
+
Province["SEGOVIA"] = "Segovia";
|
|
48
|
+
Province["SEVILLA"] = "Sevilla";
|
|
49
|
+
Province["SORIA"] = "Soria";
|
|
50
|
+
Province["TARRAGONA"] = "Tarragona";
|
|
51
|
+
Province["TERUEL"] = "Teruel";
|
|
52
|
+
Province["TOLEDO"] = "Toledo";
|
|
53
|
+
Province["VALENCIA"] = "Valencia";
|
|
54
|
+
Province["VALLADOLID"] = "Valladolid";
|
|
55
|
+
Province["ZAMORA"] = "Zamora";
|
|
56
|
+
Province["ZARAGOZA"] = "Zaragoza";
|
|
57
|
+
})(Province || (exports.Province = Province = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./req/index.entity"), exports);
|
|
18
|
+
__exportStar(require("./constants/index.entity"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReserveNumberDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class ReserveNumberDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { number: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ReserveNumberDto = ReserveNumberDto;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import openapi = require("@nestjs/swagger");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AggrupationEntity } from './aggrupation.entity';
|
|
2
|
+
export declare class AggrupationTransactionEntity {
|
|
3
|
+
id?: number;
|
|
4
|
+
aggrupationId?: number;
|
|
5
|
+
aggrupation?: AggrupationEntity;
|
|
6
|
+
dtsTransactionId?: string;
|
|
7
|
+
createdBy?: string;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
updatedBy?: string;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.AggrupationTransactionEntity = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const PrimaryGeneratedColumn_1 = require("typeorm/decorator/columns/PrimaryGeneratedColumn");
|
|
15
|
+
const Entity_1 = require("typeorm/decorator/entity/Entity");
|
|
16
|
+
const Column_1 = require("typeorm/decorator/columns/Column");
|
|
17
|
+
const aggrupation_entity_1 = require("./aggrupation.entity");
|
|
18
|
+
const ManyToOne_1 = require("typeorm/decorator/relations/ManyToOne");
|
|
19
|
+
let AggrupationTransactionEntity = class AggrupationTransactionEntity {
|
|
20
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
21
|
+
return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationEntity }, dtsTransactionId: { required: false, type: () => String }, createdBy: { required: false, type: () => String }, createdAt: { required: false, type: () => Date }, updatedBy: { required: false, type: () => String }, updatedAt: { required: false, type: () => Date } };
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.AggrupationTransactionEntity = AggrupationTransactionEntity;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, PrimaryGeneratedColumn_1.PrimaryGeneratedColumn)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], AggrupationTransactionEntity.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, Column_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], AggrupationTransactionEntity.prototype, "aggrupationId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, ManyToOne_1.ManyToOne)(() => aggrupation_entity_1.AggrupationEntity, (aggrupation) => aggrupation.transaction),
|
|
35
|
+
__metadata("design:type", aggrupation_entity_1.AggrupationEntity)
|
|
36
|
+
], AggrupationTransactionEntity.prototype, "aggrupation", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, Column_1.Column)({ nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], AggrupationTransactionEntity.prototype, "dtsTransactionId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, Column_1.Column)({ nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AggrupationTransactionEntity.prototype, "createdBy", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP' }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], AggrupationTransactionEntity.prototype, "createdAt", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, Column_1.Column)({ nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], AggrupationTransactionEntity.prototype, "updatedBy", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], AggrupationTransactionEntity.prototype, "updatedAt", void 0);
|
|
57
|
+
exports.AggrupationTransactionEntity = AggrupationTransactionEntity = __decorate([
|
|
58
|
+
(0, Entity_1.Entity)({ name: 'aggrupations-transactions' })
|
|
59
|
+
], AggrupationTransactionEntity);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AggrupationsConsentDataEntity } from './aggrupations-consent-data.entity';
|
|
2
|
+
import { AggrupationTransactionEntity } from './aggrupations-transactions.entity';
|
|
3
|
+
import { AggrupationFileEntity } from './aggrupations-file.entity';
|
|
4
|
+
export declare class AggrupationEntity {
|
|
5
|
+
id?: number;
|
|
6
|
+
data?: AggrupationDataEntity[];
|
|
7
|
+
consent?: AggrupationsConsentDataEntity[];
|
|
8
|
+
transaction?: AggrupationTransactionEntity[];
|
|
9
|
+
file?: AggrupationFileEntity[];
|
|
10
|
+
customerId: string;
|
|
11
|
+
status: string;
|
|
12
|
+
shoppingCartId: string;
|
|
13
|
+
channel: string;
|
|
14
|
+
customerVulnerable: boolean;
|
|
15
|
+
digitelCircuitType: string;
|
|
16
|
+
contractId?: string;
|
|
17
|
+
createdBy: string;
|
|
18
|
+
createdAt?: Date;
|
|
19
|
+
updatedBy?: string;
|
|
20
|
+
updatedAt?: Date;
|
|
21
|
+
}
|
|
22
|
+
export declare class AggrupationDataEntity {
|
|
23
|
+
id?: number;
|
|
24
|
+
aggrupationId?: number;
|
|
25
|
+
aggrupation?: AggrupationEntity;
|
|
26
|
+
status: string;
|
|
27
|
+
shoppingCartId: string;
|
|
28
|
+
channel: string;
|
|
29
|
+
customerVulnerable: boolean;
|
|
30
|
+
digitelCircuitType: string;
|
|
31
|
+
contractId?: string;
|
|
32
|
+
createdBy: string;
|
|
33
|
+
createdAt?: Date;
|
|
34
|
+
}
|
|
35
|
+
export declare class AggrupationProcessEntity {
|
|
36
|
+
id?: number;
|
|
37
|
+
aggrupationId?: number;
|
|
38
|
+
aggrupation?: AggrupationEntity;
|
|
39
|
+
customerProcessId: number;
|
|
40
|
+
customerProcessType: string;
|
|
41
|
+
createdBy: string;
|
|
42
|
+
createdAt?: Date;
|
|
43
|
+
updatedBy?: string;
|
|
44
|
+
updatedAt?: Date;
|
|
45
|
+
}
|