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,196 @@
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.AggrupationProcessEntity = exports.AggrupationDataEntity = exports.AggrupationEntity = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const typeorm_1 = require("typeorm");
15
+ const aggrupations_consent_data_entity_1 = require("./aggrupations-consent-data.entity");
16
+ const aggrupations_transactions_entity_1 = require("./aggrupations-transactions.entity");
17
+ const aggrupations_file_entity_1 = require("./aggrupations-file.entity");
18
+ let AggrupationEntity = class AggrupationEntity {
19
+ static _OPENAPI_METADATA_FACTORY() {
20
+ return { id: { required: false, type: () => Number }, data: { required: false, type: () => [require("./aggrupation.entity").AggrupationDataEntity] }, consent: { required: false, type: () => [require("./aggrupations-consent-data.entity").AggrupationsConsentDataEntity] }, transaction: { required: false, type: () => [require("./aggrupations-transactions.entity").AggrupationTransactionEntity] }, file: { required: false, type: () => [require("./aggrupations-file.entity").AggrupationFileEntity] }, customerId: { required: true, type: () => String }, status: { required: true, type: () => String }, shoppingCartId: { required: true, type: () => String }, channel: { required: true, type: () => String }, customerVulnerable: { required: true, type: () => Boolean }, digitelCircuitType: { required: true, type: () => String }, contractId: { required: false, type: () => String }, createdBy: { required: true, type: () => String }, createdAt: { required: false, type: () => Date }, updatedBy: { required: false, type: () => String }, updatedAt: { required: false, type: () => Date } };
21
+ }
22
+ };
23
+ exports.AggrupationEntity = AggrupationEntity;
24
+ __decorate([
25
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
26
+ __metadata("design:type", Number)
27
+ ], AggrupationEntity.prototype, "id", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.OneToMany)(() => AggrupationDataEntity, (data) => data.aggrupation, {
30
+ onDelete: 'CASCADE'
31
+ }),
32
+ __metadata("design:type", Array)
33
+ ], AggrupationEntity.prototype, "data", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.OneToMany)(() => aggrupations_consent_data_entity_1.AggrupationsConsentDataEntity, (consent) => consent.aggrupation, {
36
+ onDelete: 'CASCADE'
37
+ }),
38
+ __metadata("design:type", Array)
39
+ ], AggrupationEntity.prototype, "consent", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.OneToMany)(() => aggrupations_transactions_entity_1.AggrupationTransactionEntity, (transaction) => transaction.aggrupation, {
42
+ onDelete: 'CASCADE'
43
+ }),
44
+ __metadata("design:type", Array)
45
+ ], AggrupationEntity.prototype, "transaction", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.OneToMany)(() => aggrupations_file_entity_1.AggrupationFileEntity, (file) => file.aggrupation, {
48
+ onDelete: 'CASCADE'
49
+ }),
50
+ __metadata("design:type", Array)
51
+ ], AggrupationEntity.prototype, "file", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
54
+ __metadata("design:type", String)
55
+ ], AggrupationEntity.prototype, "customerId", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
58
+ __metadata("design:type", String)
59
+ ], AggrupationEntity.prototype, "status", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
62
+ __metadata("design:type", String)
63
+ ], AggrupationEntity.prototype, "shoppingCartId", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
66
+ __metadata("design:type", String)
67
+ ], AggrupationEntity.prototype, "channel", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ nullable: true, type: 'tinyint' }),
70
+ __metadata("design:type", Boolean)
71
+ ], AggrupationEntity.prototype, "customerVulnerable", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
74
+ __metadata("design:type", String)
75
+ ], AggrupationEntity.prototype, "digitelCircuitType", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
78
+ __metadata("design:type", String)
79
+ ], AggrupationEntity.prototype, "contractId", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
82
+ __metadata("design:type", String)
83
+ ], AggrupationEntity.prototype, "createdBy", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
86
+ __metadata("design:type", Date)
87
+ ], AggrupationEntity.prototype, "createdAt", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
90
+ __metadata("design:type", String)
91
+ ], AggrupationEntity.prototype, "updatedBy", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
94
+ __metadata("design:type", Date)
95
+ ], AggrupationEntity.prototype, "updatedAt", void 0);
96
+ exports.AggrupationEntity = AggrupationEntity = __decorate([
97
+ (0, typeorm_1.Entity)({ name: 'aggrupation' })
98
+ ], AggrupationEntity);
99
+ let AggrupationDataEntity = class AggrupationDataEntity {
100
+ static _OPENAPI_METADATA_FACTORY() {
101
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationEntity }, status: { required: true, type: () => String }, shoppingCartId: { required: true, type: () => String }, channel: { required: true, type: () => String }, customerVulnerable: { required: true, type: () => Boolean }, digitelCircuitType: { required: true, type: () => String }, contractId: { required: false, type: () => String }, createdBy: { required: true, type: () => String }, createdAt: { required: false, type: () => Date } };
102
+ }
103
+ };
104
+ exports.AggrupationDataEntity = AggrupationDataEntity;
105
+ __decorate([
106
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
107
+ __metadata("design:type", Number)
108
+ ], AggrupationDataEntity.prototype, "id", void 0);
109
+ __decorate([
110
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
111
+ __metadata("design:type", Number)
112
+ ], AggrupationDataEntity.prototype, "aggrupationId", void 0);
113
+ __decorate([
114
+ (0, typeorm_1.ManyToOne)(() => AggrupationEntity, (aggrupation) => aggrupation.data),
115
+ __metadata("design:type", AggrupationEntity)
116
+ ], AggrupationDataEntity.prototype, "aggrupation", void 0);
117
+ __decorate([
118
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
119
+ __metadata("design:type", String)
120
+ ], AggrupationDataEntity.prototype, "status", void 0);
121
+ __decorate([
122
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
123
+ __metadata("design:type", String)
124
+ ], AggrupationDataEntity.prototype, "shoppingCartId", void 0);
125
+ __decorate([
126
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
127
+ __metadata("design:type", String)
128
+ ], AggrupationDataEntity.prototype, "channel", void 0);
129
+ __decorate([
130
+ (0, typeorm_1.Column)({ nullable: true, type: 'tinyint' }),
131
+ __metadata("design:type", Boolean)
132
+ ], AggrupationDataEntity.prototype, "customerVulnerable", void 0);
133
+ __decorate([
134
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
135
+ __metadata("design:type", String)
136
+ ], AggrupationDataEntity.prototype, "digitelCircuitType", void 0);
137
+ __decorate([
138
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
139
+ __metadata("design:type", String)
140
+ ], AggrupationDataEntity.prototype, "contractId", void 0);
141
+ __decorate([
142
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
143
+ __metadata("design:type", String)
144
+ ], AggrupationDataEntity.prototype, "createdBy", void 0);
145
+ __decorate([
146
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
147
+ __metadata("design:type", Date)
148
+ ], AggrupationDataEntity.prototype, "createdAt", void 0);
149
+ exports.AggrupationDataEntity = AggrupationDataEntity = __decorate([
150
+ (0, typeorm_1.Entity)({ name: 'aggrupation-data' })
151
+ ], AggrupationDataEntity);
152
+ let AggrupationProcessEntity = class AggrupationProcessEntity {
153
+ static _OPENAPI_METADATA_FACTORY() {
154
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationEntity }, customerProcessId: { required: true, type: () => Number }, customerProcessType: { required: true, type: () => String }, createdBy: { required: true, type: () => String }, createdAt: { required: false, type: () => Date }, updatedBy: { required: false, type: () => String }, updatedAt: { required: false, type: () => Date } };
155
+ }
156
+ };
157
+ exports.AggrupationProcessEntity = AggrupationProcessEntity;
158
+ __decorate([
159
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
160
+ __metadata("design:type", Number)
161
+ ], AggrupationProcessEntity.prototype, "id", void 0);
162
+ __decorate([
163
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
164
+ __metadata("design:type", Number)
165
+ ], AggrupationProcessEntity.prototype, "aggrupationId", void 0);
166
+ __decorate([
167
+ (0, typeorm_1.ManyToOne)(() => AggrupationEntity, (aggrupation) => aggrupation.data),
168
+ __metadata("design:type", AggrupationEntity)
169
+ ], AggrupationProcessEntity.prototype, "aggrupation", void 0);
170
+ __decorate([
171
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
172
+ __metadata("design:type", Number)
173
+ ], AggrupationProcessEntity.prototype, "customerProcessId", void 0);
174
+ __decorate([
175
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
176
+ __metadata("design:type", String)
177
+ ], AggrupationProcessEntity.prototype, "customerProcessType", void 0);
178
+ __decorate([
179
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
180
+ __metadata("design:type", String)
181
+ ], AggrupationProcessEntity.prototype, "createdBy", void 0);
182
+ __decorate([
183
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
184
+ __metadata("design:type", Date)
185
+ ], AggrupationProcessEntity.prototype, "createdAt", void 0);
186
+ __decorate([
187
+ (0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true, default: null }),
188
+ __metadata("design:type", String)
189
+ ], AggrupationProcessEntity.prototype, "updatedBy", void 0);
190
+ __decorate([
191
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
192
+ __metadata("design:type", Date)
193
+ ], AggrupationProcessEntity.prototype, "updatedAt", void 0);
194
+ exports.AggrupationProcessEntity = AggrupationProcessEntity = __decorate([
195
+ (0, typeorm_1.Entity)({ name: 'agrupation-processes' })
196
+ ], AggrupationProcessEntity);
@@ -0,0 +1,12 @@
1
+ import { AggrupationEntity } from './aggrupation.entity';
2
+ export declare class AggrupationsConsentDataEntity {
3
+ id?: number;
4
+ aggrupationId?: number;
5
+ aggrupation?: AggrupationEntity;
6
+ dtsTransactionId?: string;
7
+ dtsRecipientId?: string;
8
+ dtsCheckId?: string;
9
+ checked?: boolean;
10
+ timestamp: Date;
11
+ type: string;
12
+ }
@@ -0,0 +1,60 @@
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.AggrupationsConsentDataEntity = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const typeorm_1 = require("typeorm");
15
+ const aggrupation_entity_1 = require("./aggrupation.entity");
16
+ let AggrupationsConsentDataEntity = class AggrupationsConsentDataEntity {
17
+ static _OPENAPI_METADATA_FACTORY() {
18
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationEntity }, dtsTransactionId: { required: false, type: () => String }, dtsRecipientId: { required: false, type: () => String }, dtsCheckId: { required: false, type: () => String }, checked: { required: false, type: () => Boolean }, timestamp: { required: true, type: () => Date }, type: { required: true, type: () => String } };
19
+ }
20
+ };
21
+ exports.AggrupationsConsentDataEntity = AggrupationsConsentDataEntity;
22
+ __decorate([
23
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
24
+ __metadata("design:type", Number)
25
+ ], AggrupationsConsentDataEntity.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
28
+ __metadata("design:type", Number)
29
+ ], AggrupationsConsentDataEntity.prototype, "aggrupationId", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.ManyToOne)(() => aggrupation_entity_1.AggrupationEntity, (aggrupation) => aggrupation.consent),
32
+ __metadata("design:type", aggrupation_entity_1.AggrupationEntity)
33
+ ], AggrupationsConsentDataEntity.prototype, "aggrupation", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ nullable: false }),
36
+ __metadata("design:type", String)
37
+ ], AggrupationsConsentDataEntity.prototype, "dtsTransactionId", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ nullable: false }),
40
+ __metadata("design:type", String)
41
+ ], AggrupationsConsentDataEntity.prototype, "dtsRecipientId", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ nullable: false }),
44
+ __metadata("design:type", String)
45
+ ], AggrupationsConsentDataEntity.prototype, "dtsCheckId", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ nullable: true, type: 'tinyint', default: false }),
48
+ __metadata("design:type", Boolean)
49
+ ], AggrupationsConsentDataEntity.prototype, "checked", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: 'datetime', default: 'CURRENT_TIMESTAMP' }),
52
+ __metadata("design:type", Date)
53
+ ], AggrupationsConsentDataEntity.prototype, "timestamp", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ nullable: true }),
56
+ __metadata("design:type", String)
57
+ ], AggrupationsConsentDataEntity.prototype, "type", void 0);
58
+ exports.AggrupationsConsentDataEntity = AggrupationsConsentDataEntity = __decorate([
59
+ (0, typeorm_1.Entity)({ name: 'aggrupations-consent-data' })
60
+ ], AggrupationsConsentDataEntity);
@@ -0,0 +1,12 @@
1
+ import { AggrupationEntity } from './aggrupation.entity';
2
+ export declare class AggrupationFileEntity {
3
+ id?: number;
4
+ aggrupationId?: number;
5
+ aggrupation?: AggrupationEntity;
6
+ documentId: string;
7
+ fileName: string;
8
+ contentType: string;
9
+ type: string;
10
+ comment: string;
11
+ transactionId?: string;
12
+ }
@@ -0,0 +1,60 @@
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.AggrupationFileEntity = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const typeorm_1 = require("typeorm");
15
+ const aggrupation_entity_1 = require("./aggrupation.entity");
16
+ let AggrupationFileEntity = class AggrupationFileEntity {
17
+ static _OPENAPI_METADATA_FACTORY() {
18
+ return { id: { required: false, type: () => Number }, aggrupationId: { required: false, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationEntity }, documentId: { required: true, type: () => String }, fileName: { required: true, type: () => String }, contentType: { required: true, type: () => String }, type: { required: true, type: () => String }, comment: { required: true, type: () => String }, transactionId: { required: false, type: () => String } };
19
+ }
20
+ };
21
+ exports.AggrupationFileEntity = AggrupationFileEntity;
22
+ __decorate([
23
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
24
+ __metadata("design:type", Number)
25
+ ], AggrupationFileEntity.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
28
+ __metadata("design:type", Number)
29
+ ], AggrupationFileEntity.prototype, "aggrupationId", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.ManyToOne)(() => aggrupation_entity_1.AggrupationEntity, (aggrupation) => aggrupation.file),
32
+ __metadata("design:type", aggrupation_entity_1.AggrupationEntity)
33
+ ], AggrupationFileEntity.prototype, "aggrupation", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ nullable: false }),
36
+ __metadata("design:type", String)
37
+ ], AggrupationFileEntity.prototype, "documentId", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ nullable: false }),
40
+ __metadata("design:type", String)
41
+ ], AggrupationFileEntity.prototype, "fileName", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ nullable: false }),
44
+ __metadata("design:type", String)
45
+ ], AggrupationFileEntity.prototype, "contentType", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ nullable: false }),
48
+ __metadata("design:type", String)
49
+ ], AggrupationFileEntity.prototype, "type", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ nullable: true }),
52
+ __metadata("design:type", String)
53
+ ], AggrupationFileEntity.prototype, "comment", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ nullable: true }),
56
+ __metadata("design:type", String)
57
+ ], AggrupationFileEntity.prototype, "transactionId", void 0);
58
+ exports.AggrupationFileEntity = AggrupationFileEntity = __decorate([
59
+ (0, typeorm_1.Entity)({ name: 'aggrupations-file' })
60
+ ], AggrupationFileEntity);
@@ -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,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,34 @@
1
+ export declare class CustomerProductModificationEntity {
2
+ id?: number;
3
+ customerId: string;
4
+ productId: string;
5
+ productName: string;
6
+ productDisplayName: string;
7
+ status: string;
8
+ data?: CustomerProductModificationDataEntity[];
9
+ shoppingCartId: string;
10
+ salesPerson?: string;
11
+ targetDate: string;
12
+ chargeDate: string;
13
+ notes?: string;
14
+ createdBy: string;
15
+ createdInChannel: string;
16
+ createdAt?: Date;
17
+ updatedBy?: string;
18
+ updatedInChannel?: string;
19
+ updatedAt?: Date;
20
+ }
21
+ export declare class CustomerProductModificationDataEntity {
22
+ id?: number;
23
+ status: string;
24
+ customerProductModificationId?: number;
25
+ customerProductModification?: CustomerProductModificationEntity;
26
+ shoppingCartId: string;
27
+ salesPerson?: string;
28
+ targetDate: string;
29
+ chargeDate: string;
30
+ notes?: string;
31
+ createdBy: string;
32
+ createdInChannel: string;
33
+ createdAt?: Date;
34
+ }