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.
Files changed (83) hide show
  1. package/dist/common/channel/user.channel.d.ts +19 -0
  2. package/dist/common/channel/user.channel.js +23 -0
  3. package/dist/common/edge-bss/saleperson/index.d.ts +1 -0
  4. package/dist/common/edge-bss/saleperson/index.js +17 -0
  5. package/dist/common/edge-bss/saleperson/req/saleperson.entity.d.ts +20 -0
  6. package/dist/common/edge-bss/saleperson/req/saleperson.entity.js +22 -0
  7. package/dist/common/edge-sms/contract/index.d.ts +2 -0
  8. package/dist/common/edge-sms/contract/index.js +18 -0
  9. package/dist/common/edge-sms/contract/req/create.entity.d.ts +5 -0
  10. package/dist/common/edge-sms/contract/req/create.entity.js +10 -0
  11. package/dist/common/edge-sms/contract/res/response.entity.d.ts +4 -0
  12. package/dist/common/edge-sms/contract/res/response.entity.js +10 -0
  13. package/dist/common/edge-sms/index.d.ts +1 -0
  14. package/dist/common/edge-sms/index.js +17 -0
  15. package/dist/common/edge-zoho/sale-process/req/delete.entity.d.ts +3 -0
  16. package/dist/common/edge-zoho/sale-process/req/delete.entity.js +10 -0
  17. package/dist/common/number-pool/constants/index.entity.d.ts +52 -0
  18. package/dist/common/number-pool/constants/index.entity.js +57 -0
  19. package/dist/common/number-pool/index.d.ts +2 -0
  20. package/dist/common/number-pool/index.js +18 -0
  21. package/dist/common/number-pool/req/index.entity.d.ts +3 -0
  22. package/dist/common/number-pool/req/index.entity.js +10 -0
  23. package/dist/common/number-pool/res/index.entity.d.ts +0 -0
  24. package/dist/common/number-pool/res/index.entity.js +1 -0
  25. package/dist/database/aggrupation-transactions.entity.d.ts +11 -0
  26. package/dist/database/aggrupation-transactions.entity.js +59 -0
  27. package/dist/database/aggrupation.entity.d.ts +45 -0
  28. package/dist/database/aggrupation.entity.js +196 -0
  29. package/dist/database/aggrupations-consent-data.entity.d.ts +12 -0
  30. package/dist/database/aggrupations-consent-data.entity.js +60 -0
  31. package/dist/database/aggrupations-file.entity.d.ts +12 -0
  32. package/dist/database/aggrupations-file.entity.js +60 -0
  33. package/dist/database/aggrupations-transactions.entity.d.ts +11 -0
  34. package/dist/database/aggrupations-transactions.entity.js +59 -0
  35. package/dist/database/agrupation-transactions.entity.d.ts +11 -0
  36. package/dist/database/agrupation-transactions.entity.js +59 -0
  37. package/dist/database/customer-product-modification.entity copy.d.ts +34 -0
  38. package/dist/database/customer-product-modification.entity copy.js +147 -0
  39. package/dist/database/lead-transactions.entity copy.d.ts +10 -0
  40. package/dist/database/lead-transactions.entity copy.js +53 -0
  41. package/dist/database/leads-consent-data.entity copy.d.ts +11 -0
  42. package/dist/database/leads-consent-data.entity copy.js +53 -0
  43. package/dist/database/leads-file.entity copy.d.ts +11 -0
  44. package/dist/database/leads-file.entity copy.js +53 -0
  45. package/dist/digitel/aggrupation-consent-data.entity.d.ts +10 -0
  46. package/dist/digitel/aggrupation-consent-data.entity.js +63 -0
  47. package/dist/digitel/aggrupation-file.entity.d.ts +10 -0
  48. package/dist/digitel/aggrupation-file.entity.js +10 -0
  49. package/dist/digitel/aggrupation-transactions.entity.d.ts +9 -0
  50. package/dist/digitel/aggrupation-transactions.entity.js +51 -0
  51. package/dist/digitel/lead-file.entity copy.d.ts +10 -0
  52. package/dist/digitel/lead-file.entity copy.js +6 -0
  53. package/dist/digitel/lead-transactions.entity copy.d.ts +9 -0
  54. package/dist/digitel/lead-transactions.entity copy.js +6 -0
  55. package/dist/sys03/aggrupation/aggrupation-consent-data.entity.d.ts +37 -0
  56. package/dist/sys03/aggrupation/aggrupation-consent-data.entity.js +141 -0
  57. package/dist/sys03/aggrupation/aggrupation.constants.d.ts +24 -0
  58. package/dist/sys03/aggrupation/aggrupation.constants.js +48 -0
  59. package/dist/sys03/aggrupation/aggrupation.entity copy.d.ts +37 -0
  60. package/dist/sys03/aggrupation/aggrupation.entity copy.js +128 -0
  61. package/dist/sys03/aggrupation/aggrupation.entity.d.ts +37 -0
  62. package/dist/sys03/aggrupation/aggrupation.entity.js +141 -0
  63. package/dist/sys03/aggrupation/customer-product-modification-process.entity.d.ts +33 -0
  64. package/dist/sys03/aggrupation/customer-product-modification-process.entity.js +104 -0
  65. package/dist/sys03/aggrupation/index.d.ts +2 -0
  66. package/dist/sys03/aggrupation/index.js +18 -0
  67. package/dist/sys03/aggrupation/simple.entity.d.ts +3 -0
  68. package/dist/sys03/aggrupation/simple.entity.js +26 -0
  69. package/dist/sys03/approval/approval.entity.d.ts +5 -5
  70. package/dist/sys03/customer/customer-product.constants.d.ts +5 -0
  71. package/dist/sys03/customer/customer-product.constants.js +7 -0
  72. package/dist/sys03/customer/customer.process.entity.d.ts +13 -0
  73. package/dist/sys03/customer/customer.process.entity.js +69 -0
  74. package/dist/sys03/shopping-cart/internal/internal.entity.d.ts +5 -0
  75. package/dist/sys03/shopping-cart/internal/internal.entity.js +3 -0
  76. package/dist/sys03/updowngrade/internal.d.ts +10 -0
  77. package/dist/sys03/updowngrade/internal.js +2 -0
  78. package/dist/sys03/updowngrade/product-transition.entity.d.ts +41 -0
  79. package/dist/sys03/updowngrade/product-transition.entity.js +40 -0
  80. package/dist/tsconfig.build.tsbuildinfo +1 -1
  81. package/dist/validators/IsEnum.d.ts +2 -0
  82. package/dist/validators/IsEnum.js +19 -0
  83. package/package.json +1 -1
@@ -0,0 +1,147 @@
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.CustomerProductModificationDataEntity = exports.CustomerProductModificationEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let CustomerProductModificationEntity = class CustomerProductModificationEntity {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
18
+ __metadata("design:type", Number)
19
+ ], CustomerProductModificationEntity.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
22
+ __metadata("design:type", String)
23
+ ], CustomerProductModificationEntity.prototype, "customerId", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, unique: true, nullable: false }),
26
+ __metadata("design:type", String)
27
+ ], CustomerProductModificationEntity.prototype, "productId", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
30
+ __metadata("design:type", String)
31
+ ], CustomerProductModificationEntity.prototype, "productName", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
34
+ __metadata("design:type", String)
35
+ ], CustomerProductModificationEntity.prototype, "productDisplayName", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
38
+ __metadata("design:type", String)
39
+ ], CustomerProductModificationEntity.prototype, "status", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.OneToMany)(() => CustomerProductModificationDataEntity, (data) => data.customerProductModification, {
42
+ onDelete: 'CASCADE'
43
+ }),
44
+ __metadata("design:type", Array)
45
+ ], CustomerProductModificationEntity.prototype, "data", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
48
+ __metadata("design:type", String)
49
+ ], CustomerProductModificationEntity.prototype, "shoppingCartId", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
52
+ __metadata("design:type", String)
53
+ ], CustomerProductModificationEntity.prototype, "salesPerson", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
56
+ __metadata("design:type", String)
57
+ ], CustomerProductModificationEntity.prototype, "targetDate", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
60
+ __metadata("design:type", String)
61
+ ], CustomerProductModificationEntity.prototype, "chargeDate", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: 'longtext', nullable: true }),
64
+ __metadata("design:type", String)
65
+ ], CustomerProductModificationEntity.prototype, "notes", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
68
+ __metadata("design:type", String)
69
+ ], CustomerProductModificationEntity.prototype, "createdBy", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
72
+ __metadata("design:type", String)
73
+ ], CustomerProductModificationEntity.prototype, "createdInChannel", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
76
+ __metadata("design:type", Date)
77
+ ], CustomerProductModificationEntity.prototype, "createdAt", void 0);
78
+ __decorate([
79
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
80
+ __metadata("design:type", String)
81
+ ], CustomerProductModificationEntity.prototype, "updatedBy", void 0);
82
+ __decorate([
83
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
84
+ __metadata("design:type", String)
85
+ ], CustomerProductModificationEntity.prototype, "updatedInChannel", void 0);
86
+ __decorate([
87
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
88
+ __metadata("design:type", Date)
89
+ ], CustomerProductModificationEntity.prototype, "updatedAt", void 0);
90
+ CustomerProductModificationEntity = __decorate([
91
+ (0, typeorm_1.Entity)({ name: 'customer-product-modification' })
92
+ ], CustomerProductModificationEntity);
93
+ exports.CustomerProductModificationEntity = CustomerProductModificationEntity;
94
+ let CustomerProductModificationDataEntity = class CustomerProductModificationDataEntity {
95
+ };
96
+ __decorate([
97
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
98
+ __metadata("design:type", Number)
99
+ ], CustomerProductModificationDataEntity.prototype, "id", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
102
+ __metadata("design:type", String)
103
+ ], CustomerProductModificationDataEntity.prototype, "status", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
106
+ __metadata("design:type", Number)
107
+ ], CustomerProductModificationDataEntity.prototype, "customerProductModificationId", void 0);
108
+ __decorate([
109
+ (0, typeorm_1.ManyToOne)(() => CustomerProductModificationEntity, (customerProductModification) => customerProductModification.data),
110
+ __metadata("design:type", CustomerProductModificationEntity)
111
+ ], CustomerProductModificationDataEntity.prototype, "customerProductModification", void 0);
112
+ __decorate([
113
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
114
+ __metadata("design:type", String)
115
+ ], CustomerProductModificationDataEntity.prototype, "shoppingCartId", void 0);
116
+ __decorate([
117
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
118
+ __metadata("design:type", String)
119
+ ], CustomerProductModificationDataEntity.prototype, "salesPerson", void 0);
120
+ __decorate([
121
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
122
+ __metadata("design:type", String)
123
+ ], CustomerProductModificationDataEntity.prototype, "targetDate", void 0);
124
+ __decorate([
125
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
126
+ __metadata("design:type", String)
127
+ ], CustomerProductModificationDataEntity.prototype, "chargeDate", void 0);
128
+ __decorate([
129
+ (0, typeorm_1.Column)({ type: 'longtext', nullable: true }),
130
+ __metadata("design:type", String)
131
+ ], CustomerProductModificationDataEntity.prototype, "notes", void 0);
132
+ __decorate([
133
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
134
+ __metadata("design:type", String)
135
+ ], CustomerProductModificationDataEntity.prototype, "createdBy", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
138
+ __metadata("design:type", String)
139
+ ], CustomerProductModificationDataEntity.prototype, "createdInChannel", void 0);
140
+ __decorate([
141
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
142
+ __metadata("design:type", Date)
143
+ ], CustomerProductModificationDataEntity.prototype, "createdAt", void 0);
144
+ CustomerProductModificationDataEntity = __decorate([
145
+ (0, typeorm_1.Entity)({ name: 'customer-product-modification-data' })
146
+ ], CustomerProductModificationDataEntity);
147
+ exports.CustomerProductModificationDataEntity = CustomerProductModificationDataEntity;
@@ -0,0 +1,10 @@
1
+ import { LeadEntity } from './lead.entity';
2
+ export declare class LeadTransaction {
3
+ id?: number;
4
+ lead?: LeadEntity;
5
+ dtsTransactionId?: string;
6
+ createdBy?: string;
7
+ createdAt?: Date;
8
+ updatedBy?: string;
9
+ updatedAt?: Date;
10
+ }
@@ -0,0 +1,53 @@
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.LeadTransaction = void 0;
13
+ const PrimaryGeneratedColumn_1 = require("typeorm/decorator/columns/PrimaryGeneratedColumn");
14
+ const Entity_1 = require("typeorm/decorator/entity/Entity");
15
+ const lead_entity_1 = require("./lead.entity");
16
+ const JoinColumn_1 = require("typeorm/decorator/relations/JoinColumn");
17
+ const Column_1 = require("typeorm/decorator/columns/Column");
18
+ const OneToOne_1 = require("typeorm/decorator/relations/OneToOne");
19
+ let LeadTransaction = class LeadTransaction {
20
+ };
21
+ exports.LeadTransaction = LeadTransaction;
22
+ __decorate([
23
+ (0, PrimaryGeneratedColumn_1.PrimaryGeneratedColumn)(),
24
+ __metadata("design:type", Number)
25
+ ], LeadTransaction.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, OneToOne_1.OneToOne)(() => lead_entity_1.LeadEntity),
28
+ (0, JoinColumn_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
29
+ __metadata("design:type", lead_entity_1.LeadEntity)
30
+ ], LeadTransaction.prototype, "lead", void 0);
31
+ __decorate([
32
+ (0, Column_1.Column)({ nullable: false }),
33
+ __metadata("design:type", String)
34
+ ], LeadTransaction.prototype, "dtsTransactionId", void 0);
35
+ __decorate([
36
+ (0, Column_1.Column)({ nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], LeadTransaction.prototype, "createdBy", void 0);
39
+ __decorate([
40
+ (0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP' }),
41
+ __metadata("design:type", Date)
42
+ ], LeadTransaction.prototype, "createdAt", void 0);
43
+ __decorate([
44
+ (0, Column_1.Column)({ nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], LeadTransaction.prototype, "updatedBy", void 0);
47
+ __decorate([
48
+ (0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
49
+ __metadata("design:type", Date)
50
+ ], LeadTransaction.prototype, "updatedAt", void 0);
51
+ exports.LeadTransaction = LeadTransaction = __decorate([
52
+ (0, Entity_1.Entity)({ name: 'leads-transactions' })
53
+ ], LeadTransaction);
@@ -0,0 +1,11 @@
1
+ import { LeadEntity } from './lead.entity';
2
+ export declare class LeadsConsentData {
3
+ id?: number;
4
+ lead?: LeadEntity;
5
+ dtsTransactionId?: string;
6
+ dtsRecipientId?: string;
7
+ dtsCheckId?: string;
8
+ checked?: boolean;
9
+ timestamp: Date;
10
+ type: string;
11
+ }
@@ -0,0 +1,53 @@
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.LeadsConsentData = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const lead_entity_1 = require("./lead.entity");
15
+ let LeadsConsentData = class LeadsConsentData {
16
+ };
17
+ exports.LeadsConsentData = LeadsConsentData;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
20
+ __metadata("design:type", Number)
21
+ ], LeadsConsentData.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.ManyToOne)(() => lead_entity_1.LeadEntity),
24
+ (0, typeorm_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
25
+ __metadata("design:type", lead_entity_1.LeadEntity)
26
+ ], LeadsConsentData.prototype, "lead", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], LeadsConsentData.prototype, "dtsTransactionId", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ nullable: false }),
33
+ __metadata("design:type", String)
34
+ ], LeadsConsentData.prototype, "dtsRecipientId", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ nullable: false }),
37
+ __metadata("design:type", String)
38
+ ], LeadsConsentData.prototype, "dtsCheckId", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ nullable: true, type: 'tinyint', default: false }),
41
+ __metadata("design:type", Boolean)
42
+ ], LeadsConsentData.prototype, "checked", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: 'datetime', default: 'CURRENT_TIMESTAMP' }),
45
+ __metadata("design:type", Date)
46
+ ], LeadsConsentData.prototype, "timestamp", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ nullable: true }),
49
+ __metadata("design:type", String)
50
+ ], LeadsConsentData.prototype, "type", void 0);
51
+ exports.LeadsConsentData = LeadsConsentData = __decorate([
52
+ (0, typeorm_1.Entity)({ name: 'leads-consent-data' })
53
+ ], LeadsConsentData);
@@ -0,0 +1,11 @@
1
+ import { LeadEntity } from './lead.entity';
2
+ export declare class LeadsFile {
3
+ id?: number;
4
+ lead: LeadEntity;
5
+ documentId: string;
6
+ fileName: string;
7
+ contentType: string;
8
+ type: string;
9
+ comment: string;
10
+ transactionId?: string;
11
+ }
@@ -0,0 +1,53 @@
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.LeadsFile = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const lead_entity_1 = require("./lead.entity");
15
+ let LeadsFile = class LeadsFile {
16
+ };
17
+ exports.LeadsFile = LeadsFile;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
20
+ __metadata("design:type", Number)
21
+ ], LeadsFile.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.ManyToOne)(() => lead_entity_1.LeadEntity),
24
+ (0, typeorm_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
25
+ __metadata("design:type", lead_entity_1.LeadEntity)
26
+ ], LeadsFile.prototype, "lead", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], LeadsFile.prototype, "documentId", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ nullable: false }),
33
+ __metadata("design:type", String)
34
+ ], LeadsFile.prototype, "fileName", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ nullable: false }),
37
+ __metadata("design:type", String)
38
+ ], LeadsFile.prototype, "contentType", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ nullable: false }),
41
+ __metadata("design:type", String)
42
+ ], LeadsFile.prototype, "type", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], LeadsFile.prototype, "comment", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ nullable: true }),
49
+ __metadata("design:type", String)
50
+ ], LeadsFile.prototype, "transactionId", void 0);
51
+ exports.LeadsFile = LeadsFile = __decorate([
52
+ (0, typeorm_1.Entity)({ name: 'leads-file' })
53
+ ], LeadsFile);
@@ -0,0 +1,10 @@
1
+ export declare class AggrupationsConsentDataDto {
2
+ id?: number;
3
+ aggrupationId: string;
4
+ dtsTransactionId?: string;
5
+ dtsRecipientId?: string;
6
+ dtsCheckId?: string;
7
+ checked: boolean;
8
+ timestamp?: number;
9
+ type: string;
10
+ }
@@ -0,0 +1,63 @@
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.AggrupationsConsentDataDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const class_validator_1 = require("class-validator");
15
+ const _validators_1 = require("../validators/index");
16
+ const class_transformer_1 = require("class-transformer");
17
+ class AggrupationsConsentDataDto {
18
+ static _OPENAPI_METADATA_FACTORY() {
19
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: true, type: () => String }, dtsTransactionId: { required: false, type: () => String }, dtsRecipientId: { required: false, type: () => String }, dtsCheckId: { required: false, type: () => String }, checked: { required: true, type: () => Boolean }, timestamp: { required: false, type: () => Number }, type: { required: true, type: () => String } };
20
+ }
21
+ }
22
+ exports.AggrupationsConsentDataDto = AggrupationsConsentDataDto;
23
+ __decorate([
24
+ (0, class_validator_1.IsInt)(),
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", Number)
27
+ ], AggrupationsConsentDataDto.prototype, "id", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsNumberString)(),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ (0, _validators_1.IsNotBlank)(),
32
+ __metadata("design:type", String)
33
+ ], AggrupationsConsentDataDto.prototype, "aggrupationId", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ (0, _validators_1.IsNotBlank)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], AggrupationsConsentDataDto.prototype, "dtsTransactionId", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsNotEmpty)(),
42
+ (0, _validators_1.IsNotBlank)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", String)
45
+ ], AggrupationsConsentDataDto.prototype, "dtsRecipientId", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsNotEmpty)(),
48
+ (0, _validators_1.IsNotBlank)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ __metadata("design:type", String)
51
+ ], AggrupationsConsentDataDto.prototype, "dtsCheckId", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ (0, class_validator_1.IsBoolean)(),
55
+ (0, class_transformer_1.Transform)(({ value }) => Boolean(value)),
56
+ __metadata("design:type", Boolean)
57
+ ], AggrupationsConsentDataDto.prototype, "checked", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsNotEmpty)(),
60
+ (0, _validators_1.IsNotBlank)(),
61
+ (0, class_validator_1.IsOptional)(),
62
+ __metadata("design:type", String)
63
+ ], AggrupationsConsentDataDto.prototype, "type", void 0);
@@ -0,0 +1,10 @@
1
+ export declare class AggrupationFileDto {
2
+ id?: number;
3
+ aggrupationId?: number;
4
+ documentId?: string;
5
+ fileName?: string;
6
+ contentType?: string;
7
+ type?: string;
8
+ comment?: string;
9
+ transactionId?: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AggrupationFileDto = void 0;
4
+ const openapi = require("@nestjs/swagger");
5
+ class AggrupationFileDto {
6
+ static _OPENAPI_METADATA_FACTORY() {
7
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, documentId: { required: false, type: () => String }, fileName: { required: false, type: () => String }, contentType: { required: false, type: () => String }, type: { required: false, type: () => String }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
8
+ }
9
+ }
10
+ exports.AggrupationFileDto = AggrupationFileDto;
@@ -0,0 +1,9 @@
1
+ export declare class AggrupationTransactionDto {
2
+ id?: number;
3
+ aggrupationId?: string;
4
+ dtsTransactionId?: string;
5
+ createdBy?: string;
6
+ createdAt?: Date;
7
+ updatedBy?: string;
8
+ updatedAt?: Date;
9
+ }
@@ -0,0 +1,51 @@
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.AggrupationTransactionDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const IsNotBlank_1 = require("../validators/IsNotBlank");
15
+ const class_validator_1 = require("class-validator");
16
+ class AggrupationTransactionDto {
17
+ static _OPENAPI_METADATA_FACTORY() {
18
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => String }, 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 } };
19
+ }
20
+ }
21
+ exports.AggrupationTransactionDto = AggrupationTransactionDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsInt)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", Number)
26
+ ], AggrupationTransactionDto.prototype, "id", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumberString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ (0, IsNotBlank_1.IsNotBlank)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ __metadata("design:type", String)
33
+ ], AggrupationTransactionDto.prototype, "aggrupationId", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ (0, IsNotBlank_1.IsNotBlank)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], AggrupationTransactionDto.prototype, "dtsTransactionId", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsNotEmpty)(),
42
+ (0, IsNotBlank_1.IsNotBlank)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", String)
45
+ ], AggrupationTransactionDto.prototype, "createdBy", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsNotEmpty)(),
48
+ (0, IsNotBlank_1.IsNotBlank)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ __metadata("design:type", String)
51
+ ], AggrupationTransactionDto.prototype, "updatedBy", void 0);
@@ -0,0 +1,10 @@
1
+ export declare class LeadsFileDto {
2
+ id?: number;
3
+ lead?: number;
4
+ documentId?: string;
5
+ fileName?: string;
6
+ contentType?: string;
7
+ type?: string;
8
+ comment?: string;
9
+ transactionId?: string;
10
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadsFileDto = void 0;
4
+ class LeadsFileDto {
5
+ }
6
+ exports.LeadsFileDto = LeadsFileDto;
@@ -0,0 +1,9 @@
1
+ export declare class LeadTransactionDto {
2
+ id?: number;
3
+ lead?: number;
4
+ dtsTransactionId?: string;
5
+ createdBy?: string;
6
+ createdAt?: Date;
7
+ updatedBy?: string;
8
+ updatedAt?: Date;
9
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadTransactionDto = void 0;
4
+ class LeadTransactionDto {
5
+ }
6
+ exports.LeadTransactionDto = LeadTransactionDto;
@@ -0,0 +1,37 @@
1
+ import { CustomerProcessType } from '../../bss/customer/customer.constants';
2
+ import { PaginationQueryDto } from '../../common/common.entity';
3
+ import { AuditFieldsDto } from '../common';
4
+ import { AggrupationStatus } from './aggrupation.constants';
5
+ import { DigitelCircuitType } from '../../bss/constants';
6
+ export declare class AggrupationDto {
7
+ id?: number;
8
+ customerId: string;
9
+ status?: AggrupationStatus;
10
+ shoppingCartId?: string;
11
+ channel: string;
12
+ customerVulnerable: boolean;
13
+ digitelCircuitType: DigitelCircuitType;
14
+ contractId?: string;
15
+ created: AuditFieldsDto;
16
+ updated?: AuditFieldsDto;
17
+ }
18
+ export declare class AggrupationProcessDto {
19
+ id?: number;
20
+ aggrupationId: number;
21
+ customerProcessId: number;
22
+ customerProcessType: CustomerProcessType;
23
+ created: AuditFieldsDto;
24
+ updated: AuditFieldsDto;
25
+ }
26
+ export declare class AggrupationFilterDto {
27
+ customerId?: string;
28
+ status: AggrupationStatus;
29
+ }
30
+ export declare class DashboardAggrupationFilterDto extends PaginationQueryDto {
31
+ customerId?: string;
32
+ id?: string;
33
+ dateFrom?: string;
34
+ dateTo?: string;
35
+ status?: string;
36
+ channel?: string;
37
+ }