adamo-types 2.0.111-uat → 2.0.113-sit
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/admin/email/email.entity.d.ts +1 -0
- package/dist/admin/email/email.entity.js +1 -1
- package/dist/bss/customer/customer-work-task.entity.d.ts +11 -0
- package/dist/bss/customer/customer-work-task.entity.js +8 -2
- package/dist/bss/customer/customer.entity.d.ts +1 -1
- package/dist/bss/product/product.entity.d.ts +5 -5
- package/dist/bss/task/task.entity.d.ts +1 -1
- package/dist/common/constants/not-found.error.constants.d.ts +22 -20
- package/dist/common/constants/not-found.error.constants.js +23 -21
- package/dist/database/ars/dependency.entity.d.ts +2 -8
- package/dist/database/ars/dependency.entity.js +17 -24
- package/dist/database/ars/dropdown.entity.d.ts +13 -8
- package/dist/database/ars/dropdown.entity.js +49 -46
- package/dist/database/lead/lead.entity.d.ts +2 -2
- package/dist/database/lead/lead.entity.js +2 -2
- package/dist/database/lead/leads-consent-data.entity.d.ts +15 -10
- package/dist/database/lead/leads-consent-data.entity.js +21 -21
- package/dist/sys03/approval/approval.entity.d.ts +4 -4
- package/dist/sys03/bureau-validation/bureau-validation.entity.d.ts +1 -1
- package/dist/sys03/common/common.entity.d.ts +4 -0
- package/dist/sys03/common/common.entity.js +8 -1
- package/dist/sys03/customer/customer-account-address.entity.d.ts +1 -1
- package/dist/sys03/customer/customer-account-note.entity.d.ts +1 -1
- package/dist/sys03/customer/customer-account-summary.entity.d.ts +1 -0
- package/dist/sys03/customer/customer-account-summary.entity.js +1 -1
- package/dist/sys03/customer/customer-account.entitty.js +8 -2
- package/dist/sys03/customer/customer.entity.d.ts +3 -15
- package/dist/sys03/customer/customer.entity.js +1 -7
- package/dist/sys03/customer-handover-process/cusotmer-handover-process-credit-bureau-validation.entity.js +3 -1
- package/dist/sys03/customer-handover-process/customer-handover-process-additional-contact.entity.d.ts +1 -1
- package/dist/sys03/customer-handover-process/customer-handover-process-file.entity.d.ts +2 -2
- package/dist/sys03/customer-handover-process/customer-handover-process-file.entity.js +6 -1
- package/dist/sys03/customer-handover-process/customer-handover-process.entity.d.ts +4 -4
- package/dist/sys03/customer-product-change-of-address-process/customer-product-change-of-address-process.entity.d.ts +1 -1
- package/dist/sys03/customer-product-change-of-address-process/customer-product-change-of-address-process.entity.js +3 -1
- package/dist/sys03/sale-process/sale-process.consent-data.entity.d.ts +15 -0
- package/dist/sys03/sale-process/sale-process.consent-data.entity.js +24 -0
- package/dist/sys03/sale-process/sale-process.file.entity.d.ts +2 -2
- package/dist/sys03/storage/index.d.ts +1 -1
- package/dist/sys03/storage/index.js +1 -1
- package/dist/sys03/storage/storage.constants.d.ts +6 -0
- package/dist/sys03/storage/storage.constants.js +10 -0
- package/dist/sys03/storage/storage.entity.d.ts +68 -0
- package/dist/sys03/storage/storage.entity.js +144 -1
- package/dist/sys03/updowngrade/bundle-type-configuration.entity.d.ts +1 -1
- package/dist/sys03/updowngrade/product-transition-group.entity.d.ts +4 -4
- package/dist/sys03/updowngrade/product-transition-group.entity.js +5 -1
- package/dist/sys03/user/user.entity.d.ts +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +2 -2
- package/dist/zoho/sale-process/sale-process.entity.js +1 -6
- package/package.json +1 -1
- package/dist/admin/storage/dropdown/req.entity.d.ts +0 -19
- package/dist/admin/storage/dropdown/req.entity.js +0 -93
- package/dist/admin/storage/index.d.ts +0 -1
- package/dist/admin/storage/index.js +0 -17
- package/dist/digitel/consent-data.entity.d.ts +0 -10
- package/dist/digitel/consent-data.entity.js +0 -10
- package/dist/sys03/storage/res/index.d.ts +0 -1
- package/dist/sys03/storage/res/index.js +0 -17
- package/dist/sys03/storage/res/onther.entity.d.ts +0 -14
- package/dist/sys03/storage/res/onther.entity.js +0 -16
|
@@ -10,7 +10,7 @@ class AdminNotificationPayloadDto {
|
|
|
10
10
|
exports.AdminNotificationPayloadDto = AdminNotificationPayloadDto;
|
|
11
11
|
class BatchProcessNotificationPayloadDto {
|
|
12
12
|
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { env: { required: false, type: () => String }, subtitle: { required: true, type: () => String }, body: { required: false, type: () => String }, message: { required: true, type: () => String } };
|
|
13
|
+
return { env: { required: false, type: () => String }, subtitle: { required: true, type: () => String }, body: { required: false, type: () => String }, message: { required: true, type: () => String }, elapsed: { required: true, type: () => String } };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.BatchProcessNotificationPayloadDto = BatchProcessNotificationPayloadDto;
|
|
@@ -152,6 +152,16 @@ export declare class CustomerGrupoAireWorkTaskDetailsDto {
|
|
|
152
152
|
networkData: CustomerGrupoAireWorkTaskDetailsNetworkDataDto;
|
|
153
153
|
requests: CustomerGrupoAireWorkTaskDetailsRequestDto[];
|
|
154
154
|
}
|
|
155
|
+
export declare class CustomerGrupoAireWorkTaskIssueDto {
|
|
156
|
+
id: string;
|
|
157
|
+
code: string;
|
|
158
|
+
status: string;
|
|
159
|
+
typeDescription: string;
|
|
160
|
+
openedAt: Date;
|
|
161
|
+
openObservation: string;
|
|
162
|
+
closedAt: Date;
|
|
163
|
+
closeObservation: string;
|
|
164
|
+
}
|
|
155
165
|
export declare class CustomerGrupoAireWorkTaskDto {
|
|
156
166
|
id: string;
|
|
157
167
|
status: string;
|
|
@@ -166,4 +176,5 @@ export declare class CustomerGrupoAireWorkTaskDto {
|
|
|
166
176
|
iua: string;
|
|
167
177
|
description: string;
|
|
168
178
|
details: CustomerGrupoAireWorkTaskDetailsDto;
|
|
179
|
+
issues?: CustomerGrupoAireWorkTaskIssueDto[];
|
|
169
180
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerGrupoAireWorkTaskDto = exports.CustomerGrupoAireWorkTaskDetailsDto = exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = exports.CustomerGrupoAireWorkTaskDetailsRequestDto = exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
3
|
+
exports.CustomerGrupoAireWorkTaskDto = exports.CustomerGrupoAireWorkTaskIssueDto = exports.CustomerGrupoAireWorkTaskDetailsDto = exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = exports.CustomerGrupoAireWorkTaskDetailsRequestDto = exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class CustomerWorkTaskFormFieldDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -98,9 +98,15 @@ class CustomerGrupoAireWorkTaskDetailsDto {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
exports.CustomerGrupoAireWorkTaskDetailsDto = CustomerGrupoAireWorkTaskDetailsDto;
|
|
101
|
+
class CustomerGrupoAireWorkTaskIssueDto {
|
|
102
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
103
|
+
return { id: { required: true, type: () => String }, code: { required: true, type: () => String }, status: { required: true, type: () => String }, typeDescription: { required: true, type: () => String }, openedAt: { required: true, type: () => Date }, openObservation: { required: true, type: () => String }, closedAt: { required: true, type: () => Date }, closeObservation: { required: true, type: () => String } };
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.CustomerGrupoAireWorkTaskIssueDto = CustomerGrupoAireWorkTaskIssueDto;
|
|
101
107
|
class CustomerGrupoAireWorkTaskDto {
|
|
102
108
|
static _OPENAPI_METADATA_FACTORY() {
|
|
103
|
-
return { id: { required: true, type: () => String }, status: { required: true, type: () => String }, modality: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, activatedAt: { required: true, type: () => Date }, installedAt: { required: true, type: () => Date }, endedAt: { required: true, type: () => Date }, province: { required: true, type: () => String }, operator: { required: true, type: () => String }, administrativeNumber: { required: true, type: () => String }, iua: { required: true, type: () => String }, description: { required: true, type: () => String }, details: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsDto } };
|
|
109
|
+
return { id: { required: true, type: () => String }, status: { required: true, type: () => String }, modality: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, activatedAt: { required: true, type: () => Date }, installedAt: { required: true, type: () => Date }, endedAt: { required: true, type: () => Date }, province: { required: true, type: () => String }, operator: { required: true, type: () => String }, administrativeNumber: { required: true, type: () => String }, iua: { required: true, type: () => String }, description: { required: true, type: () => String }, details: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsDto }, issues: { required: false, type: () => [require("./customer-work-task.entity").CustomerGrupoAireWorkTaskIssueDto] } };
|
|
104
110
|
}
|
|
105
111
|
}
|
|
106
112
|
exports.CustomerGrupoAireWorkTaskDto = CustomerGrupoAireWorkTaskDto;
|
|
@@ -105,7 +105,7 @@ export declare class CustomerCharacteristicDto {
|
|
|
105
105
|
endDate: string;
|
|
106
106
|
netCharge?: string;
|
|
107
107
|
}
|
|
108
|
-
declare const CreateCustomerCharacteristicDto_base: import("@nestjs/common").Type<Pick<CustomerCharacteristicDto, "name" | "customerAccountId"> & Partial<Pick<CustomerCharacteristicDto,
|
|
108
|
+
declare const CreateCustomerCharacteristicDto_base: import("@nestjs/common").Type<Pick<CustomerCharacteristicDto, "name" | "customerAccountId"> & Partial<Pick<CustomerCharacteristicDto, "invoiceText" | "startDate" | "endDate" | "netCharge">>>;
|
|
109
109
|
export declare class CreateCustomerCharacteristicDto extends CreateCustomerCharacteristicDto_base {
|
|
110
110
|
}
|
|
111
111
|
export declare class CustomerFinancialBalancesDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BpOnceOnlyCharge, BpRecurringCharge, BpTerminationCharge } from '../bearingpoint/charge-catalog';
|
|
2
2
|
import { BssChargeType } from '../constants';
|
|
3
3
|
import { ShoppingCartProductType } from '../../common/constants';
|
|
4
|
-
import {
|
|
4
|
+
import { ProductServiceDependencyDto } from '../../sys03/storage';
|
|
5
5
|
import { ProductInventoryCharacteristicStateType, ProductInventoryCompletenessStateType, ProductInventoryRelationshipType, ProductInventoryStateType } from './product.constants';
|
|
6
6
|
import { ShoppingCartParametersDto } from '../bearingpoint/shopping-cart';
|
|
7
7
|
import { Builder } from '../../common/helpers/helpers';
|
|
@@ -18,10 +18,10 @@ export interface DependencyGroup {
|
|
|
18
18
|
notSelected: DependencySubGroup;
|
|
19
19
|
}
|
|
20
20
|
export interface DependencySubGroup {
|
|
21
|
-
items:
|
|
22
|
-
requires:
|
|
23
|
-
excludes:
|
|
24
|
-
includes:
|
|
21
|
+
items: ProductServiceDependencyDto[];
|
|
22
|
+
requires: ProductServiceDependencyDto[];
|
|
23
|
+
excludes: ProductServiceDependencyDto[];
|
|
24
|
+
includes: ProductServiceDependencyDto[];
|
|
25
25
|
requiresName: string[];
|
|
26
26
|
excludesName: string[];
|
|
27
27
|
includesName: string[];
|
|
@@ -20,7 +20,7 @@ export declare class TaskDto extends BaseTaskDto {
|
|
|
20
20
|
contact: string;
|
|
21
21
|
otrsQueueName: string;
|
|
22
22
|
}
|
|
23
|
-
declare const CreateTaskDto_base: import("@nestjs/common").Type<Pick<TaskDto, "
|
|
23
|
+
declare const CreateTaskDto_base: import("@nestjs/common").Type<Pick<TaskDto, "customerAccountId" | "type" | "description" | "createdBy" | "dueDate" | "category" | "contact" | "subType" | "tags" | "definition" | "assignedTo">>;
|
|
24
24
|
export declare class CreateTaskDto extends CreateTaskDto_base {
|
|
25
25
|
relatedProductOrders?: string[];
|
|
26
26
|
}
|
|
@@ -7,37 +7,39 @@ export declare const E_AREA_ADDRESSES_NOT_FOUND = "E_AREA_ADDRESSES_NOT_FOUND";
|
|
|
7
7
|
export declare const E_AUTH_NOT_FOUND = "E_AUTH_NOT_FOUND";
|
|
8
8
|
export declare const E_BATCH_PROCESS_DEFINITION_NOT_FOUND = "E_BATCH_PROCESS_DEFINITION_NOT_FOUND";
|
|
9
9
|
export declare const E_BUNDLE_PRODUCTS_NOT_FOUND = "E_BUNDLE_PRODUCTS_NOT_FOUND";
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = "E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND";
|
|
11
|
+
export declare const E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND";
|
|
12
|
+
export declare const E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = "E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND";
|
|
13
|
+
export declare const E_CONFIGURATION_NOT_FOUND = "E_CONFIGURATION_NOT_FOUND";
|
|
11
14
|
export declare const E_CUSTOMER_AGGRUPATION_NOT_FOUND = "E_CUSTOMER_AGGRUPATION_NOT_FOUND";
|
|
15
|
+
export declare const E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = "E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND";
|
|
16
|
+
export declare const E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = "E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND";
|
|
17
|
+
export declare const E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = "E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND";
|
|
18
|
+
export declare const E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = "E_CUSTOMER_HANDOVER_FILE_NOT_FOUND";
|
|
19
|
+
export declare const E_CUSTOMER_HANDOVER_NOT_FOUND = "E_CUSTOMER_HANDOVER_NOT_FOUND";
|
|
12
20
|
export declare const E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = "E_CUSTOMER_NEW_EXTRAS_NOT_FOUND";
|
|
21
|
+
export declare const E_CUSTOMER_NOT_FOUND = "E_CUSTOMER_NOT_FOUND";
|
|
22
|
+
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND";
|
|
13
23
|
export declare const E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = "E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND";
|
|
24
|
+
export declare const E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = "E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND";
|
|
14
25
|
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND";
|
|
15
|
-
export declare const E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND";
|
|
16
26
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND";
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = "E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND";
|
|
21
|
-
export declare const E_CONFIGURATION_NOT_FOUND = "E_CONFIGURATION_NOT_FOUND";
|
|
27
|
+
export declare const E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND";
|
|
28
|
+
export declare const E_DROPDOWN_DATA_NOT_FOUND = "E_DROPDOWN_DATA_NOT_FOUND";
|
|
29
|
+
export declare const E_DROPDOWN_NOT_FOUND = "E_DROPDOWN_NOT_FOUND";
|
|
22
30
|
export declare const E_LEAD_FILE_NOT_FOUND = "E_LEAD_FILE_NOT_FOUND";
|
|
23
31
|
export declare const E_LEAD_NOT_FOUND = "E_LEAD_NOT_FOUND";
|
|
24
|
-
export declare const E_SALE_PROCESS_NOT_FOUND = "E_SALE_PROCESS_NOT_FOUND";
|
|
25
32
|
export declare const E_NOT_FOUND = "E_NOT_FOUND";
|
|
26
|
-
export declare const
|
|
33
|
+
export declare const E_NUMBER_FROM_POOL_NOT_FOUND = "E_NUMBER_FROM_POOL_NOT_FOUND";
|
|
27
34
|
export declare const E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = "E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND";
|
|
28
35
|
export declare const E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = "E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND";
|
|
29
|
-
export declare const E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = "E_PRODUCT_TRANSITION_GROUP_NOT_FOUND";
|
|
30
36
|
export declare const E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = "E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND";
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const E_CUSTOMER_HANDOVER_NOT_FOUND = "E_CUSTOMER_HANDOVER_NOT_FOUND";
|
|
35
|
-
export declare const E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = "E_CUSTOMER_HANDOVER_FILE_NOT_FOUND";
|
|
36
|
-
export declare const E_NUMBER_FROM_POOL_NOT_FOUND = "E_NUMBER_FROM_POOL_NOT_FOUND";
|
|
37
|
-
export declare const E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = "E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND";
|
|
38
|
-
export declare const E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = "E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND";
|
|
39
|
-
export declare const E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = "E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND";
|
|
40
|
-
export declare const E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = "E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND";
|
|
37
|
+
export declare const E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = "E_PRODUCT_TRANSITION_GROUP_NOT_FOUND";
|
|
38
|
+
export declare const E_SALE_PROCESS_NOT_FOUND = "E_SALE_PROCESS_NOT_FOUND";
|
|
39
|
+
export declare const E_SHOPPING_CART_NOT_FOUND = "E_SHOPPING_CART_NOT_FOUND";
|
|
41
40
|
export declare const E_TASK_NOT_FOUND = "E_TASK_NOT_FOUND";
|
|
42
41
|
export declare const E_TEMPLATE_NOT_FOUND = "E_TEMPLATE_NOT_FOUND";
|
|
42
|
+
export declare const E_USER_NOT_FOUND = "E_USER_NOT_FOUND";
|
|
43
43
|
export declare const E_WORK_ORDER_NOT_FOUND = "E_WORK_ORDER_NOT_FOUND";
|
|
44
|
+
export declare const E_WORKGROUP_NOT_FOUND = "E_WORKGROUP_NOT_FOUND";
|
|
45
|
+
export declare const E_ZIP_ADDRESSES_NOT_FOUND = "E_ZIP_ADDRESSES_NOT_FOUND";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_WORK_ORDER_NOT_FOUND = exports.
|
|
3
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = exports.E_TEMPLATE_NOT_FOUND = exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
|
|
4
4
|
exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
|
|
5
5
|
exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
|
|
6
6
|
exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
|
|
@@ -10,37 +10,39 @@ exports.E_AREA_ADDRESSES_NOT_FOUND = 'E_AREA_ADDRESSES_NOT_FOUND';
|
|
|
10
10
|
exports.E_AUTH_NOT_FOUND = 'E_AUTH_NOT_FOUND';
|
|
11
11
|
exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = 'E_BATCH_PROCESS_DEFINITION_NOT_FOUND';
|
|
12
12
|
exports.E_BUNDLE_PRODUCTS_NOT_FOUND = 'E_BUNDLE_PRODUCTS_NOT_FOUND';
|
|
13
|
-
exports.
|
|
13
|
+
exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = 'E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND';
|
|
14
|
+
exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND';
|
|
15
|
+
exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = 'E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND';
|
|
16
|
+
exports.E_CONFIGURATION_NOT_FOUND = 'E_CONFIGURATION_NOT_FOUND';
|
|
14
17
|
exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = 'E_CUSTOMER_AGGRUPATION_NOT_FOUND';
|
|
18
|
+
exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = 'E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND';
|
|
19
|
+
exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = 'E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND';
|
|
20
|
+
exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = 'E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND';
|
|
21
|
+
exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = 'E_CUSTOMER_HANDOVER_FILE_NOT_FOUND';
|
|
22
|
+
exports.E_CUSTOMER_HANDOVER_NOT_FOUND = 'E_CUSTOMER_HANDOVER_NOT_FOUND';
|
|
15
23
|
exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = 'E_CUSTOMER_NEW_EXTRAS_NOT_FOUND';
|
|
24
|
+
exports.E_CUSTOMER_NOT_FOUND = 'E_CUSTOMER_NOT_FOUND';
|
|
25
|
+
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND';
|
|
16
26
|
exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND';
|
|
27
|
+
exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = 'E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND';
|
|
17
28
|
exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND';
|
|
18
|
-
exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND';
|
|
19
29
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND';
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = 'E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND';
|
|
24
|
-
exports.E_CONFIGURATION_NOT_FOUND = 'E_CONFIGURATION_NOT_FOUND';
|
|
30
|
+
exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND';
|
|
31
|
+
exports.E_DROPDOWN_DATA_NOT_FOUND = 'E_DROPDOWN_DATA_NOT_FOUND';
|
|
32
|
+
exports.E_DROPDOWN_NOT_FOUND = 'E_DROPDOWN_NOT_FOUND';
|
|
25
33
|
exports.E_LEAD_FILE_NOT_FOUND = 'E_LEAD_FILE_NOT_FOUND';
|
|
26
34
|
exports.E_LEAD_NOT_FOUND = 'E_LEAD_NOT_FOUND';
|
|
27
|
-
exports.E_SALE_PROCESS_NOT_FOUND = 'E_SALE_PROCESS_NOT_FOUND';
|
|
28
35
|
exports.E_NOT_FOUND = 'E_NOT_FOUND';
|
|
29
|
-
exports.
|
|
36
|
+
exports.E_NUMBER_FROM_POOL_NOT_FOUND = 'E_NUMBER_FROM_POOL_NOT_FOUND';
|
|
30
37
|
exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = 'E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND';
|
|
31
38
|
exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = 'E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND';
|
|
32
|
-
exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = 'E_PRODUCT_TRANSITION_GROUP_NOT_FOUND';
|
|
33
39
|
exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = 'E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND';
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.E_CUSTOMER_HANDOVER_NOT_FOUND = 'E_CUSTOMER_HANDOVER_NOT_FOUND';
|
|
38
|
-
exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = 'E_CUSTOMER_HANDOVER_FILE_NOT_FOUND';
|
|
39
|
-
exports.E_NUMBER_FROM_POOL_NOT_FOUND = 'E_NUMBER_FROM_POOL_NOT_FOUND';
|
|
40
|
-
exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = 'E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND';
|
|
41
|
-
exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = 'E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND';
|
|
42
|
-
exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = 'E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND';
|
|
43
|
-
exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = 'E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND';
|
|
40
|
+
exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = 'E_PRODUCT_TRANSITION_GROUP_NOT_FOUND';
|
|
41
|
+
exports.E_SALE_PROCESS_NOT_FOUND = 'E_SALE_PROCESS_NOT_FOUND';
|
|
42
|
+
exports.E_SHOPPING_CART_NOT_FOUND = 'E_SHOPPING_CART_NOT_FOUND';
|
|
44
43
|
exports.E_TASK_NOT_FOUND = 'E_TASK_NOT_FOUND';
|
|
45
44
|
exports.E_TEMPLATE_NOT_FOUND = 'E_TEMPLATE_NOT_FOUND';
|
|
45
|
+
exports.E_USER_NOT_FOUND = 'E_USER_NOT_FOUND';
|
|
46
46
|
exports.E_WORK_ORDER_NOT_FOUND = 'E_WORK_ORDER_NOT_FOUND';
|
|
47
|
+
exports.E_WORKGROUP_NOT_FOUND = 'E_WORKGROUP_NOT_FOUND';
|
|
48
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = 'E_ZIP_ADDRESSES_NOT_FOUND';
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
INCLUDES = "Includes",
|
|
3
|
-
REQUIRES = "Requires",
|
|
4
|
-
EXCLUDES = "Excludes",
|
|
5
|
-
OPTIONAL = "Optional"
|
|
6
|
-
}
|
|
7
|
-
export declare class DependencyDto {
|
|
1
|
+
export declare class DependencyEntity {
|
|
8
2
|
id: number;
|
|
9
3
|
feature: string;
|
|
10
4
|
source: string;
|
|
@@ -12,7 +6,7 @@ export declare class DependencyDto {
|
|
|
12
6
|
target: string;
|
|
13
7
|
targetValue: string;
|
|
14
8
|
selected: boolean;
|
|
15
|
-
action:
|
|
9
|
+
action: string;
|
|
16
10
|
active: boolean;
|
|
17
11
|
createdAt: Date;
|
|
18
12
|
updatedAt: Date;
|
|
@@ -9,66 +9,59 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.DependencyEntity = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
|
|
16
|
-
(function (DependencyActionType) {
|
|
17
|
-
DependencyActionType["INCLUDES"] = "Includes";
|
|
18
|
-
DependencyActionType["REQUIRES"] = "Requires";
|
|
19
|
-
DependencyActionType["EXCLUDES"] = "Excludes";
|
|
20
|
-
DependencyActionType["OPTIONAL"] = "Optional";
|
|
21
|
-
})(DependencyActionType || (exports.DependencyActionType = DependencyActionType = {}));
|
|
22
|
-
let DependencyDto = class DependencyDto {
|
|
15
|
+
let DependencyEntity = class DependencyEntity {
|
|
23
16
|
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
-
return { id: { required: true, type: () => Number }, feature: { required: true, type: () => String }, source: { required: true, type: () => String }, sourceValue: { required: true, type: () => String }, target: { required: true, type: () => String }, targetValue: { required: true, type: () => String }, selected: { required: true, type: () => Boolean }, action: { required: true,
|
|
17
|
+
return { id: { required: true, type: () => Number }, feature: { required: true, type: () => String }, source: { required: true, type: () => String }, sourceValue: { required: true, type: () => String }, target: { required: true, type: () => String }, targetValue: { required: true, type: () => String }, selected: { required: true, type: () => Boolean }, action: { required: true, type: () => String }, active: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => Date }, updatedAt: { required: true, type: () => Date } };
|
|
25
18
|
}
|
|
26
19
|
};
|
|
27
|
-
exports.
|
|
20
|
+
exports.DependencyEntity = DependencyEntity;
|
|
28
21
|
__decorate([
|
|
29
22
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
30
23
|
__metadata("design:type", Number)
|
|
31
|
-
],
|
|
24
|
+
], DependencyEntity.prototype, "id", void 0);
|
|
32
25
|
__decorate([
|
|
33
26
|
(0, typeorm_1.Column)(),
|
|
34
27
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
28
|
+
], DependencyEntity.prototype, "feature", void 0);
|
|
36
29
|
__decorate([
|
|
37
30
|
(0, typeorm_1.Column)(),
|
|
38
31
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
32
|
+
], DependencyEntity.prototype, "source", void 0);
|
|
40
33
|
__decorate([
|
|
41
34
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
35
|
__metadata("design:type", String)
|
|
43
|
-
],
|
|
36
|
+
], DependencyEntity.prototype, "sourceValue", void 0);
|
|
44
37
|
__decorate([
|
|
45
38
|
(0, typeorm_1.Column)(),
|
|
46
39
|
__metadata("design:type", String)
|
|
47
|
-
],
|
|
40
|
+
], DependencyEntity.prototype, "target", void 0);
|
|
48
41
|
__decorate([
|
|
49
42
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
50
43
|
__metadata("design:type", String)
|
|
51
|
-
],
|
|
44
|
+
], DependencyEntity.prototype, "targetValue", void 0);
|
|
52
45
|
__decorate([
|
|
53
46
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
54
47
|
__metadata("design:type", Boolean)
|
|
55
|
-
],
|
|
48
|
+
], DependencyEntity.prototype, "selected", void 0);
|
|
56
49
|
__decorate([
|
|
57
50
|
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
58
51
|
__metadata("design:type", String)
|
|
59
|
-
],
|
|
52
|
+
], DependencyEntity.prototype, "action", void 0);
|
|
60
53
|
__decorate([
|
|
61
54
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
62
55
|
__metadata("design:type", Boolean)
|
|
63
|
-
],
|
|
56
|
+
], DependencyEntity.prototype, "active", void 0);
|
|
64
57
|
__decorate([
|
|
65
58
|
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
66
59
|
__metadata("design:type", Date)
|
|
67
|
-
],
|
|
60
|
+
], DependencyEntity.prototype, "createdAt", void 0);
|
|
68
61
|
__decorate([
|
|
69
62
|
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
70
63
|
__metadata("design:type", Date)
|
|
71
|
-
],
|
|
72
|
-
exports.
|
|
64
|
+
], DependencyEntity.prototype, "updatedAt", void 0);
|
|
65
|
+
exports.DependencyEntity = DependencyEntity = __decorate([
|
|
73
66
|
(0, typeorm_1.Entity)({ name: 'dependencies' })
|
|
74
|
-
],
|
|
67
|
+
], DependencyEntity);
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
export declare class
|
|
2
|
-
id
|
|
1
|
+
export declare class DropdownEntity {
|
|
2
|
+
id: number;
|
|
3
3
|
name: string;
|
|
4
|
-
description
|
|
4
|
+
description?: string;
|
|
5
5
|
active: boolean;
|
|
6
6
|
createdAt: Date;
|
|
7
7
|
createdBy?: string;
|
|
8
8
|
updatedAt: Date;
|
|
9
9
|
updatedBy?: string;
|
|
10
|
-
data?:
|
|
10
|
+
data?: DropdownDataEntity[];
|
|
11
11
|
}
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
export type CreateDropdownEntity = Pick<DropdownEntity, 'name' | 'description' | 'active' | 'createdBy'>;
|
|
13
|
+
export type UpdateDropdownEntity = Partial<Pick<DropdownEntity, 'description' | 'active' | 'updatedBy'>>;
|
|
14
|
+
export declare class DropdownDataEntity {
|
|
15
|
+
id: number;
|
|
16
|
+
dropdownId: number;
|
|
17
|
+
dropdown?: DropdownEntity;
|
|
15
18
|
value: string;
|
|
16
19
|
displayName: string;
|
|
17
|
-
active
|
|
20
|
+
active: boolean;
|
|
18
21
|
createdAt: Date;
|
|
19
22
|
createdBy?: string;
|
|
20
23
|
updatedAt: Date;
|
|
21
24
|
updatedBy?: string;
|
|
22
25
|
}
|
|
26
|
+
export type CreateDropdownDataEntity = Pick<DropdownDataEntity, 'dropdownId' | 'value' | 'displayName' | 'active' | 'createdBy'>;
|
|
27
|
+
export type UpdateDropdownDataEntity = Partial<Pick<DropdownDataEntity, 'value' | 'displayName' | 'active' | 'updatedBy'>>;
|
|
@@ -9,97 +9,100 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.DropdownDataEntity = exports.DropdownEntity = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
let
|
|
15
|
+
let DropdownEntity = class DropdownEntity {
|
|
16
16
|
static _OPENAPI_METADATA_FACTORY() {
|
|
17
|
-
return { id: { required:
|
|
17
|
+
return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, description: { required: false, type: () => String }, active: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => Date }, createdBy: { required: false, type: () => String }, updatedAt: { required: true, type: () => Date }, updatedBy: { required: false, type: () => String }, data: { required: false, type: () => [require("./dropdown.entity").DropdownDataEntity] } };
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
exports.
|
|
20
|
+
exports.DropdownEntity = DropdownEntity;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
|
-
],
|
|
24
|
+
], DropdownEntity.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)(),
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, unique: true, nullable: false }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
28
|
+
], DropdownEntity.prototype, "name", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
32
|
+
], DropdownEntity.prototype, "description", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
35
35
|
__metadata("design:type", Boolean)
|
|
36
|
-
],
|
|
36
|
+
], DropdownEntity.prototype, "active", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
|
|
39
39
|
__metadata("design:type", Date)
|
|
40
|
-
],
|
|
40
|
+
], DropdownEntity.prototype, "createdAt", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
],
|
|
44
|
+
], DropdownEntity.prototype, "createdBy", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
|
|
47
47
|
__metadata("design:type", Date)
|
|
48
|
-
],
|
|
48
|
+
], DropdownEntity.prototype, "updatedAt", void 0);
|
|
49
49
|
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
|
-
],
|
|
52
|
+
], DropdownEntity.prototype, "updatedBy", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.OneToMany)(() =>
|
|
54
|
+
(0, typeorm_1.OneToMany)(() => DropdownDataEntity, (data) => data.dropdown),
|
|
55
55
|
__metadata("design:type", Array)
|
|
56
|
-
],
|
|
57
|
-
exports.
|
|
56
|
+
], DropdownEntity.prototype, "data", void 0);
|
|
57
|
+
exports.DropdownEntity = DropdownEntity = __decorate([
|
|
58
58
|
(0, typeorm_1.Entity)({ name: 'dropdown' })
|
|
59
|
-
],
|
|
60
|
-
let
|
|
59
|
+
], DropdownEntity);
|
|
60
|
+
let DropdownDataEntity = class DropdownDataEntity {
|
|
61
61
|
static _OPENAPI_METADATA_FACTORY() {
|
|
62
|
-
return { id: { required:
|
|
62
|
+
return { id: { required: true, type: () => Number }, dropdownId: { required: true, type: () => Number }, dropdown: { required: false, type: () => require("./dropdown.entity").DropdownEntity }, value: { required: true, type: () => String }, displayName: { required: true, type: () => String }, active: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => Date }, createdBy: { required: false, type: () => String }, updatedAt: { required: true, type: () => Date }, updatedBy: { required: false, type: () => String } };
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
exports.
|
|
65
|
+
exports.DropdownDataEntity = DropdownDataEntity;
|
|
66
66
|
__decorate([
|
|
67
67
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
68
68
|
__metadata("design:type", Number)
|
|
69
|
-
],
|
|
69
|
+
], DropdownDataEntity.prototype, "id", void 0);
|
|
70
70
|
__decorate([
|
|
71
|
-
(0, typeorm_1.
|
|
72
|
-
(
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], DropdownDataEntity.prototype, "dropdownId", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.ManyToOne)(() => DropdownEntity, (dropdown) => dropdown.data),
|
|
76
|
+
__metadata("design:type", DropdownEntity)
|
|
77
|
+
], DropdownDataEntity.prototype, "dropdown", void 0);
|
|
75
78
|
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)(),
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
77
80
|
__metadata("design:type", String)
|
|
78
|
-
],
|
|
81
|
+
], DropdownDataEntity.prototype, "value", void 0);
|
|
79
82
|
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
83
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
81
84
|
__metadata("design:type", String)
|
|
82
|
-
],
|
|
85
|
+
], DropdownDataEntity.prototype, "displayName", void 0);
|
|
83
86
|
__decorate([
|
|
84
87
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
85
88
|
__metadata("design:type", Boolean)
|
|
86
|
-
],
|
|
89
|
+
], DropdownDataEntity.prototype, "active", void 0);
|
|
87
90
|
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
91
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP' }),
|
|
89
92
|
__metadata("design:type", Date)
|
|
90
|
-
],
|
|
93
|
+
], DropdownDataEntity.prototype, "createdAt", void 0);
|
|
91
94
|
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
95
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
93
96
|
__metadata("design:type", String)
|
|
94
|
-
],
|
|
97
|
+
], DropdownDataEntity.prototype, "createdBy", void 0);
|
|
95
98
|
__decorate([
|
|
96
|
-
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
99
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: false, default: 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
|
|
97
100
|
__metadata("design:type", Date)
|
|
98
|
-
],
|
|
101
|
+
], DropdownDataEntity.prototype, "updatedAt", void 0);
|
|
99
102
|
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
103
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
101
104
|
__metadata("design:type", String)
|
|
102
|
-
],
|
|
103
|
-
exports.
|
|
104
|
-
(0, typeorm_1.Entity)({ name: '
|
|
105
|
-
],
|
|
105
|
+
], DropdownDataEntity.prototype, "updatedBy", void 0);
|
|
106
|
+
exports.DropdownDataEntity = DropdownDataEntity = __decorate([
|
|
107
|
+
(0, typeorm_1.Entity)({ name: 'dropdown-data' })
|
|
108
|
+
], DropdownDataEntity);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LeadAdditionalContactEntity } from './lead-additional-contact.entity';
|
|
2
2
|
import { LeadFileEntity } from './lead-file.entity';
|
|
3
|
-
import {
|
|
3
|
+
import { LeadConsentDataEntity } from './leads-consent-data.entity';
|
|
4
4
|
import { ApprovalEntity } from './approval.entity';
|
|
5
5
|
declare class LeadSharedColumns {
|
|
6
6
|
id?: number;
|
|
@@ -94,7 +94,7 @@ export declare class LeadEntity extends LeadColumns {
|
|
|
94
94
|
approvals?: ApprovalEntity[];
|
|
95
95
|
files?: LeadFileEntity[];
|
|
96
96
|
additionalContacts?: LeadAdditionalContactEntity[];
|
|
97
|
-
consents?:
|
|
97
|
+
consents?: LeadConsentDataEntity[];
|
|
98
98
|
}
|
|
99
99
|
export type CreateLeadReferenceEntity = Pick<LeadEntity, 'id'>;
|
|
100
100
|
declare class LeadDataColumns extends LeadSharedColumns {
|
|
@@ -361,7 +361,7 @@ __decorate([
|
|
|
361
361
|
], LeadColumns.prototype, "updateByUserChannel", void 0);
|
|
362
362
|
let LeadEntity = class LeadEntity extends LeadColumns {
|
|
363
363
|
static _OPENAPI_METADATA_FACTORY() {
|
|
364
|
-
return { data: { required: false, type: () => [require("./lead.entity").LeadDataEntity] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalEntity] }, files: { required: false, type: () => [require("./lead-file.entity").LeadFileEntity] }, additionalContacts: { required: false, type: () => [require("./lead-additional-contact.entity").LeadAdditionalContactEntity] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").
|
|
364
|
+
return { data: { required: false, type: () => [require("./lead.entity").LeadDataEntity] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalEntity] }, files: { required: false, type: () => [require("./lead-file.entity").LeadFileEntity] }, additionalContacts: { required: false, type: () => [require("./lead-additional-contact.entity").LeadAdditionalContactEntity] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").LeadConsentDataEntity] } };
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
exports.LeadEntity = LeadEntity;
|
|
@@ -382,7 +382,7 @@ __decorate([
|
|
|
382
382
|
__metadata("design:type", Array)
|
|
383
383
|
], LeadEntity.prototype, "additionalContacts", void 0);
|
|
384
384
|
__decorate([
|
|
385
|
-
(0, typeorm_1.OneToMany)(() => leads_consent_data_entity_1.
|
|
385
|
+
(0, typeorm_1.OneToMany)(() => leads_consent_data_entity_1.LeadConsentDataEntity, (data) => data.lead),
|
|
386
386
|
__metadata("design:type", Array)
|
|
387
387
|
], LeadEntity.prototype, "consents", void 0);
|
|
388
388
|
exports.LeadEntity = LeadEntity = __decorate([
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { LeadEntity } from './lead.entity';
|
|
2
|
-
export declare class
|
|
3
|
-
id
|
|
4
|
-
lead
|
|
5
|
-
dtsTransactionId
|
|
6
|
-
dtsRecipientId
|
|
7
|
-
dtsCheckId
|
|
8
|
-
checked
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { CreateLeadReferenceEntity, LeadEntity } from './lead.entity';
|
|
2
|
+
export declare class LeadConsentDataEntity {
|
|
3
|
+
id: number;
|
|
4
|
+
lead: LeadEntity;
|
|
5
|
+
dtsTransactionId: string;
|
|
6
|
+
dtsRecipientId: string;
|
|
7
|
+
dtsCheckId: string;
|
|
8
|
+
checked: boolean;
|
|
9
|
+
type?: string;
|
|
10
|
+
createdAt: Date;
|
|
11
11
|
}
|
|
12
|
+
type CreateLeadConsentDataEntityBase = Pick<LeadConsentDataEntity, 'dtsTransactionId' | 'dtsRecipientId' | 'dtsCheckId' | 'checked' | 'type'>;
|
|
13
|
+
export interface CreateLeadConsentDataEntity extends CreateLeadConsentDataEntityBase {
|
|
14
|
+
lead: CreateLeadReferenceEntity;
|
|
15
|
+
}
|
|
16
|
+
export {};
|