adamo-types 2.0.83-sit → 2.0.85-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/common/common.entity.d.ts +3 -4
- package/dist/common/common.entity.js +8 -8
- package/dist/common/constants/common.error.constants.d.ts +1 -0
- package/dist/common/constants/common.error.constants.js +2 -1
- package/dist/common/edge-zoho/sale-process/req/create.entity.d.ts +0 -7
- package/dist/common/edge-zoho/sale-process/req/create.entity.js +5 -33
- package/dist/database/lead/index.d.ts +1 -1
- package/dist/database/lead/index.js +1 -1
- package/dist/database/lead/lead-file.entity.d.ts +17 -0
- package/dist/database/lead/{leads-file.entity.js → lead-file.entity.js} +20 -20
- package/dist/database/lead/lead.entity.d.ts +3 -2
- package/dist/database/lead/lead.entity.js +3 -3
- package/dist/sys03/approval/approval.entity.d.ts +0 -4
- package/dist/sys03/approval/approval.entity.js +1 -19
- package/dist/sys03/sale-process/index.d.ts +1 -0
- package/dist/sys03/sale-process/index.js +1 -0
- package/dist/sys03/sale-process/internal/internal.entity.d.ts +0 -15
- package/dist/sys03/sale-process/internal/internal.entity.js +1 -7
- package/dist/sys03/sale-process/sale-process.entity.d.ts +19 -5
- package/dist/sys03/sale-process/sale-process.entity.js +43 -25
- package/dist/sys03/sale-process/sale-process.file.entity.d.ts +28 -0
- package/dist/sys03/sale-process/sale-process.file.entity.js +89 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/sale-process/index.d.ts +0 -1
- package/dist/zoho/sale-process/index.js +0 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +2 -2
- package/dist/zoho/sale-process/sale-process.entity.js +1 -9
- package/package.json +1 -1
- package/dist/database/lead/leads-file.entity.d.ts +0 -11
- package/dist/digitel/lead-file.entity.d.ts +0 -10
- package/dist/digitel/lead-file.entity.js +0 -10
- package/dist/zoho/sale-process/file.entity.d.ts +0 -12
- package/dist/zoho/sale-process/file.entity.js +0 -10
|
@@ -23,11 +23,10 @@ export declare class SortByQueryDto {
|
|
|
23
23
|
declare const PaginationAndSortByQueryDto_base: import("@nestjs/common").Type<PaginationQueryDto & SortByQueryDto>;
|
|
24
24
|
export declare class PaginationAndSortByQueryDto extends PaginationAndSortByQueryDto_base {
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
27
|
-
records: T[];
|
|
26
|
+
export declare class DashboardTotalDto {
|
|
28
27
|
total: number;
|
|
29
28
|
}
|
|
30
|
-
export declare class
|
|
31
|
-
|
|
29
|
+
export declare class DashboardGenericDto<T> extends DashboardTotalDto {
|
|
30
|
+
records: T[];
|
|
32
31
|
}
|
|
33
32
|
export {};
|
|
@@ -9,7 +9,7 @@ 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.DashboardGenericDto = exports.DashboardTotalDto = exports.PaginationAndSortByQueryDto = exports.SortByQueryDto = exports.SortByPairDto = exports.PaginationQueryDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const _validators_1 = require("../validators/index");
|
|
@@ -103,19 +103,19 @@ class PaginationAndSortByQueryDto extends (0, swagger_1.IntersectionType)(Pagina
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
exports.PaginationAndSortByQueryDto = PaginationAndSortByQueryDto;
|
|
106
|
-
class
|
|
106
|
+
class DashboardTotalDto {
|
|
107
107
|
static _OPENAPI_METADATA_FACTORY() {
|
|
108
108
|
return { total: { required: true, type: () => Number } };
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
+
exports.DashboardTotalDto = DashboardTotalDto;
|
|
112
|
+
class DashboardGenericDto extends DashboardTotalDto {
|
|
113
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
114
|
+
return {};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
111
117
|
exports.DashboardGenericDto = DashboardGenericDto;
|
|
112
118
|
__decorate([
|
|
113
119
|
(0, swagger_1.ApiHideProperty)(),
|
|
114
120
|
__metadata("design:type", Array)
|
|
115
121
|
], DashboardGenericDto.prototype, "records", void 0);
|
|
116
|
-
class DashboardCountDto {
|
|
117
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
118
|
-
return { count: { required: true, type: () => Number } };
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
exports.DashboardCountDto = DashboardCountDto;
|
|
@@ -190,3 +190,4 @@ export declare const E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MI
|
|
|
190
190
|
export declare const E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = "E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING";
|
|
191
191
|
export declare const E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = "E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT";
|
|
192
192
|
export declare const E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = "E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE";
|
|
193
|
+
export declare const E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = "E_SALE_PROCESS_FILE_WITHOUT_APPROVAL";
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_FETCH_ADDRESS = exports.E_CREATE_ADDRESS = exports.E_FIBER_NOT_AVAILABLE_FOR_THIS_NETWORK = exports.E_UPDATE_SHOPPING_CART_CONFIGURATION = exports.E_CIF_VALIDATION = exports.E_NIE_VALIDATION = exports.E_DNI_VALIDATION = exports.E_SET_SHOPPING_CART_PROMOTIONS = exports.E_SET_SHOPPING_CART_CONTRACT = exports.E_FETCH_AVAILABLE_NUMBERS_FROM_POOL = exports.E_PROVINCE_WITHOUT_PREFIXES = exports.E_SERVER = exports.E_CONNECTION_REFUSED = exports.E_VALIDATION = exports.E_BODY_NOT_OBJECT = exports.E_BODY_NOT_ARRAY = exports.E_BODY_NOT_PROVIDED = exports.E_NO_CHANNEL_SELECTED = exports.E_CHANGE_CHANNEL = exports.E_SERVICE_UNAVAILABLE = exports.E_INVALID_USER_CREDENTIALS = exports.E_INFONOVA = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PERSIST_SHOPPING_CART = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = exports.E_FETCH_SHOPPING_CART_TRANSITION_ONLY_MOBILES = exports.E_FETCH_SHOPPING_CART_MODIFICATION = exports.E_FETCH_SHOPPING_CART_CONFIGURATION = exports.E_FETCH_SHOPPING_CART_SUMMARY = exports.E_FETCH_SHOPPING_CART_AVAILABLE_EXTRAS = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCT = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCTS = exports.E_FETCH_PRODUCT_OFFERINGS = exports.E_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_ENTRAID_LOGIN = exports.E_LOGIN = exports.E_TIMEOUT = void 0;
|
|
4
4
|
exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_FETCH_CHANNEL_USERS = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_CREATE_PAYMENT = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = void 0;
|
|
5
5
|
exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_UNKNOWN_COMPANY_TYPE = exports.E_SALE_PROCESS_UNKNOWN_CUSTOMER_TYPE = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_INFO = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_RESIDENTIAL_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_WITHOUT_CHANGES = exports.E_SALE_PROCESS_WITHOUT_IBAN_VALIDATION_ID = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_SALE_PROCESS_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_NOT_FOUND_WITHOUT_CHANNELS = exports.E_USER_WITHOUT_CHANNELS = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_IMPLEMENTED = exports.E_NOT_BASE_BUNDLE = void 0;
|
|
6
|
-
exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = void 0;
|
|
6
|
+
exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = void 0;
|
|
7
7
|
exports.E_TIMEOUT = 'E_TIMEOUT';
|
|
8
8
|
exports.E_LOGIN = 'E_LOGIN';
|
|
9
9
|
exports.E_ENTRAID_LOGIN = 'E_ENTRAID_LOGIN';
|
|
@@ -196,3 +196,4 @@ exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = 'E_SH
|
|
|
196
196
|
exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = 'E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING';
|
|
197
197
|
exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = 'E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT';
|
|
198
198
|
exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = 'E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE';
|
|
199
|
+
exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = 'E_SALE_PROCESS_FILE_WITHOUT_APPROVAL';
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { BpCustomerAccountDocumentType } from '../../../../bss/constants';
|
|
2
1
|
import { AdditionalContactMediumType, AdditionalContactRoleType, SaleProcessCallType } from '../../../../zoho/constants';
|
|
3
2
|
import { UtmDto } from '../../../../zoho/sale-process';
|
|
4
|
-
export declare class ArsSaleProcessDocumentDto {
|
|
5
|
-
fileName: string;
|
|
6
|
-
type: BpCustomerAccountDocumentType;
|
|
7
|
-
comment?: string;
|
|
8
|
-
transactionId?: string;
|
|
9
|
-
}
|
|
10
3
|
export declare class ArsSaleProcessAdditionalContactDto {
|
|
11
4
|
partyId?: string;
|
|
12
5
|
firstName: string;
|
|
@@ -9,40 +9,12 @@ 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.ArsSaleProcessCreateDto = exports.ArsSaleProcessAdditionalContactMediumDto = exports.ArsSaleProcessAdditionalContactDto =
|
|
12
|
+
exports.ArsSaleProcessCreateDto = exports.ArsSaleProcessAdditionalContactMediumDto = exports.ArsSaleProcessAdditionalContactDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
|
-
const constants_1 = require("../../../../
|
|
15
|
-
const constants_2 = require("../../../../zoho/constants");
|
|
14
|
+
const constants_1 = require("../../../../zoho/constants");
|
|
16
15
|
const class_transformer_1 = require("class-transformer");
|
|
17
16
|
const class_validator_1 = require("class-validator");
|
|
18
17
|
const sale_process_1 = require("../../../../zoho/sale-process");
|
|
19
|
-
class ArsSaleProcessDocumentDto {
|
|
20
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
21
|
-
return { fileName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").BpCustomerAccountDocumentType }, comment: { required: false, type: () => String, maxLength: 1000 }, transactionId: { required: false, type: () => String, maxLength: 1000 } };
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.ArsSaleProcessDocumentDto = ArsSaleProcessDocumentDto;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ArsSaleProcessDocumentDto.prototype, "fileName", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsEnum)(constants_1.BpCustomerAccountDocumentType),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], ArsSaleProcessDocumentDto.prototype, "type", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0, class_validator_1.MaxLength)(1000),
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], ArsSaleProcessDocumentDto.prototype, "comment", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.MaxLength)(1000),
|
|
43
|
-
(0, class_validator_1.IsOptional)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], ArsSaleProcessDocumentDto.prototype, "transactionId", void 0);
|
|
46
18
|
class ArsSaleProcessAdditionalContactDto {
|
|
47
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
48
20
|
return { partyId: { required: false, type: () => String }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, role: { required: true, enum: require("../../../../zoho/constants/zoho.constants").AdditionalContactRoleType }, contactMediums: { required: true, type: () => [require("./create.entity").ArsSaleProcessAdditionalContactMediumDto], minItems: 1, minItems: 1, maxItems: 6 } };
|
|
@@ -66,7 +38,7 @@ __decorate([
|
|
|
66
38
|
__metadata("design:type", String)
|
|
67
39
|
], ArsSaleProcessAdditionalContactDto.prototype, "lastName", void 0);
|
|
68
40
|
__decorate([
|
|
69
|
-
(0, class_validator_1.IsEnum)(
|
|
41
|
+
(0, class_validator_1.IsEnum)(constants_1.AdditionalContactRoleType),
|
|
70
42
|
__metadata("design:type", String)
|
|
71
43
|
], ArsSaleProcessAdditionalContactDto.prototype, "role", void 0);
|
|
72
44
|
__decorate([
|
|
@@ -90,7 +62,7 @@ __decorate([
|
|
|
90
62
|
__metadata("design:type", String)
|
|
91
63
|
], ArsSaleProcessAdditionalContactMediumDto.prototype, "id", void 0);
|
|
92
64
|
__decorate([
|
|
93
|
-
(0, class_validator_1.IsEnum)(
|
|
65
|
+
(0, class_validator_1.IsEnum)(constants_1.AdditionalContactMediumType),
|
|
94
66
|
__metadata("design:type", String)
|
|
95
67
|
], ArsSaleProcessAdditionalContactMediumDto.prototype, "type", void 0);
|
|
96
68
|
__decorate([
|
|
@@ -126,7 +98,7 @@ __decorate([
|
|
|
126
98
|
__metadata("design:type", String)
|
|
127
99
|
], ArsSaleProcessCreateDto.prototype, "campaign", void 0);
|
|
128
100
|
__decorate([
|
|
129
|
-
(0, class_validator_1.IsEnum)(
|
|
101
|
+
(0, class_validator_1.IsEnum)(constants_1.SaleProcessCallType),
|
|
130
102
|
(0, class_validator_1.IsOptional)(),
|
|
131
103
|
__metadata("design:type", String)
|
|
132
104
|
], ArsSaleProcessCreateDto.prototype, "callType", void 0);
|
|
@@ -20,4 +20,4 @@ __exportStar(require("./lead-transactions.entity"), exports);
|
|
|
20
20
|
__exportStar(require("./lead.entity"), exports);
|
|
21
21
|
__exportStar(require("./leads-additional-contact.entity"), exports);
|
|
22
22
|
__exportStar(require("./leads-consent-data.entity"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./lead-file.entity"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateLeadReferenceEntity, LeadEntity } from './lead.entity';
|
|
2
|
+
export declare class LeadFileEntity {
|
|
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
|
+
}
|
|
12
|
+
type CreateLeadFileEntityBase = Pick<LeadFileEntity, 'fileName' | 'contentType' | 'type' | 'comment' | 'transactionId'>;
|
|
13
|
+
export interface CreateLeadFileEntity extends CreateLeadFileEntityBase {
|
|
14
|
+
lead: CreateLeadReferenceEntity;
|
|
15
|
+
}
|
|
16
|
+
export type UpdateLeadFileEntity = Pick<LeadFileEntity, 'documentId' | 'fileName' | 'contentType' | 'type' | 'comment' | 'transactionId'>;
|
|
17
|
+
export {};
|
|
@@ -9,49 +9,49 @@ 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.LeadFileEntity = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const lead_entity_1 = require("./lead.entity");
|
|
16
|
-
let
|
|
16
|
+
let LeadFileEntity = class LeadFileEntity {
|
|
17
17
|
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
-
return { id: { required:
|
|
18
|
+
return { id: { required: true, type: () => Number }, lead: { required: true, type: () => require("./lead.entity").LeadEntity }, documentId: { required: false, type: () => String }, fileName: { required: true, type: () => String }, contentType: { required: true, type: () => String }, type: { required: true, type: () => String }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
21
|
+
exports.LeadFileEntity = LeadFileEntity;
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
|
-
],
|
|
25
|
+
], LeadFileEntity.prototype, "id", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, typeorm_1.ManyToOne)(() => lead_entity_1.LeadEntity),
|
|
28
28
|
(0, typeorm_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
|
|
29
29
|
__metadata("design:type", lead_entity_1.LeadEntity)
|
|
30
|
-
],
|
|
30
|
+
], LeadFileEntity.prototype, "lead", void 0);
|
|
31
31
|
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ nullable:
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
34
|
+
], LeadFileEntity.prototype, "documentId", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ nullable: false }),
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 256, nullable: false }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
],
|
|
38
|
+
], LeadFileEntity.prototype, "fileName", void 0);
|
|
39
39
|
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ nullable: false }),
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 256, nullable: false }),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
42
|
+
], LeadFileEntity.prototype, "contentType", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ nullable: false }),
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 256, nullable: false }),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
|
-
],
|
|
46
|
+
], LeadFileEntity.prototype, "type", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
49
49
|
__metadata("design:type", String)
|
|
50
|
-
],
|
|
50
|
+
], LeadFileEntity.prototype, "comment", void 0);
|
|
51
51
|
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
53
53
|
__metadata("design:type", String)
|
|
54
|
-
],
|
|
55
|
-
exports.
|
|
54
|
+
], LeadFileEntity.prototype, "transactionId", void 0);
|
|
55
|
+
exports.LeadFileEntity = LeadFileEntity = __decorate([
|
|
56
56
|
(0, typeorm_1.Entity)({ name: 'leads-file' })
|
|
57
|
-
],
|
|
57
|
+
], LeadFileEntity);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LeadsAdditionalContact } from './leads-additional-contact.entity';
|
|
2
|
-
import {
|
|
2
|
+
import { LeadFileEntity } from './lead-file.entity';
|
|
3
3
|
import { LeadsConsentData } from './leads-consent-data.entity';
|
|
4
4
|
import { ApprovalEntity } from './approval.entity';
|
|
5
5
|
declare class LeadSharedColumns {
|
|
@@ -92,10 +92,11 @@ export declare class LeadColumns extends LeadSharedColumns {
|
|
|
92
92
|
export declare class LeadEntity extends LeadColumns {
|
|
93
93
|
data?: LeadDataEntity[];
|
|
94
94
|
approvals?: ApprovalEntity[];
|
|
95
|
-
files?:
|
|
95
|
+
files?: LeadFileEntity[];
|
|
96
96
|
additionalContacts?: LeadsAdditionalContact[];
|
|
97
97
|
consents?: LeadsConsentData[];
|
|
98
98
|
}
|
|
99
|
+
export type CreateLeadReferenceEntity = Pick<LeadEntity, 'id'>;
|
|
99
100
|
declare class LeadDataColumns extends LeadSharedColumns {
|
|
100
101
|
}
|
|
101
102
|
export declare class LeadDataEntity extends LeadDataColumns {
|
|
@@ -13,7 +13,7 @@ exports.LeadDataZohoEntity = exports.SaleEntity = exports.LeadDataEntity = expor
|
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const leads_additional_contact_entity_1 = require("./leads-additional-contact.entity");
|
|
16
|
-
const
|
|
16
|
+
const lead_file_entity_1 = require("./lead-file.entity");
|
|
17
17
|
const leads_consent_data_entity_1 = require("./leads-consent-data.entity");
|
|
18
18
|
const approval_entity_1 = require("./approval.entity");
|
|
19
19
|
class 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("./
|
|
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("./leads-additional-contact.entity").LeadsAdditionalContact] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").LeadsConsentData] } };
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
exports.LeadEntity = LeadEntity;
|
|
@@ -374,7 +374,7 @@ __decorate([
|
|
|
374
374
|
__metadata("design:type", Array)
|
|
375
375
|
], LeadEntity.prototype, "approvals", void 0);
|
|
376
376
|
__decorate([
|
|
377
|
-
(0, typeorm_1.OneToMany)(() =>
|
|
377
|
+
(0, typeorm_1.OneToMany)(() => lead_file_entity_1.LeadFileEntity, (data) => data.lead),
|
|
378
378
|
__metadata("design:type", Array)
|
|
379
379
|
], LeadEntity.prototype, "files", void 0);
|
|
380
380
|
__decorate([
|
|
@@ -20,10 +20,6 @@ export declare class DashboardApprovalFilterDto extends PaginationQueryDto {
|
|
|
20
20
|
approved?: 'all' | 'true' | 'false';
|
|
21
21
|
validation?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare class ApprovalFilterDto extends PaginationQueryDto {
|
|
24
|
-
saleProcessId: number;
|
|
25
|
-
ibanValidationId: string;
|
|
26
|
-
}
|
|
27
23
|
export declare class ApprovalValidationDataFilterDto extends PaginationQueryDto {
|
|
28
24
|
}
|
|
29
25
|
export declare class ApprovalIndividualIdentificationDto extends CustomerIdentificationDto {
|
|
@@ -9,7 +9,7 @@ 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.CreateApprovalValidationDataDto = exports.ApprovalValidationDataDtoBuilder = exports.ApprovalValidationDataDto = exports.UpdateApprovalSaleProcessIbanValidationDto = exports.UpdateApprovalSaleProcessActiveCustomerContactMediumValidationDto = exports.UpdateApprovalSaleProcessDto = exports.PatchApprovalValidationDataDto = exports.PatchApprovalDataDto = exports.UpdateApprovalDataDto = exports.PartialCreateApprovalDataDto = exports.CreateApprovalDataDto = exports.ApprovalWithGroupsDto = exports.ApprovalDataGroupDto = exports.ApprovalDataDtoBuilder = exports.ApprovalDataDto = exports.ApprovalDataCustomerDto = exports.UpdateApprovalDto = exports.UpdateApprovalBusinessDto = exports.UpdateApprovalBillingDto = exports.UpdateApprovalCustomerDto = exports.PartialCreateApprovalDto = exports.CreateApprovalDto = exports.ApprovalDto = exports.ApprovalBillingDtoBuilder = exports.ApprovalBillingDto = exports.ApprovalBusinessDtoBuilder = exports.ApprovalBusinessDto = exports.ApprovalCustomerDtoBuilder = exports.ApprovalCustomerDto = exports.ApprovalOrganizationIdentificationDto = exports.ApprovalIndividualIdentificationDto = exports.ApprovalValidationDataFilterDto = exports.
|
|
12
|
+
exports.CreateApprovalValidationDataDto = exports.ApprovalValidationDataDtoBuilder = exports.ApprovalValidationDataDto = exports.UpdateApprovalSaleProcessIbanValidationDto = exports.UpdateApprovalSaleProcessActiveCustomerContactMediumValidationDto = exports.UpdateApprovalSaleProcessDto = exports.PatchApprovalValidationDataDto = exports.PatchApprovalDataDto = exports.UpdateApprovalDataDto = exports.PartialCreateApprovalDataDto = exports.CreateApprovalDataDto = exports.ApprovalWithGroupsDto = exports.ApprovalDataGroupDto = exports.ApprovalDataDtoBuilder = exports.ApprovalDataDto = exports.ApprovalDataCustomerDto = exports.UpdateApprovalDto = exports.UpdateApprovalBusinessDto = exports.UpdateApprovalBillingDto = exports.UpdateApprovalCustomerDto = exports.PartialCreateApprovalDto = exports.CreateApprovalDto = exports.ApprovalDto = exports.ApprovalBillingDtoBuilder = exports.ApprovalBillingDto = exports.ApprovalBusinessDtoBuilder = exports.ApprovalBusinessDto = exports.ApprovalCustomerDtoBuilder = exports.ApprovalCustomerDto = exports.ApprovalOrganizationIdentificationDto = exports.ApprovalIndividualIdentificationDto = exports.ApprovalValidationDataFilterDto = exports.DashboardApprovalFilterDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const constants_1 = require("../../common/constants");
|
|
@@ -109,24 +109,6 @@ __decorate([
|
|
|
109
109
|
(0, class_validator_1.IsOptional)(),
|
|
110
110
|
__metadata("design:type", String)
|
|
111
111
|
], DashboardApprovalFilterDto.prototype, "validation", void 0);
|
|
112
|
-
class ApprovalFilterDto extends common_entity_1.PaginationQueryDto {
|
|
113
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
114
|
-
return { saleProcessId: { required: true, type: () => Number, minimum: 1 }, ibanValidationId: { required: true, type: () => String } };
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
exports.ApprovalFilterDto = ApprovalFilterDto;
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, class_validator_1.IsInt)(),
|
|
120
|
-
(0, class_validator_1.Min)(1),
|
|
121
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
122
|
-
__metadata("design:type", Number)
|
|
123
|
-
], ApprovalFilterDto.prototype, "saleProcessId", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, class_validator_1.IsString)(),
|
|
126
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
127
|
-
(0, _validators_1.IsNotBlank)(),
|
|
128
|
-
__metadata("design:type", String)
|
|
129
|
-
], ApprovalFilterDto.prototype, "ibanValidationId", void 0);
|
|
130
112
|
class ApprovalValidationDataFilterDto extends common_entity_1.PaginationQueryDto {
|
|
131
113
|
static _OPENAPI_METADATA_FACTORY() {
|
|
132
114
|
return {};
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./internal/internal.entity"), exports);
|
|
18
18
|
__exportStar(require("./sale-process.credit-bureau-validation.entity"), exports);
|
|
19
19
|
__exportStar(require("./sale-process.entity"), exports);
|
|
20
|
+
__exportStar(require("./sale-process.file.entity"), exports);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BpCustomerAccountDocumentType } from '../../../bss/constants';
|
|
2
|
-
import { CustomerType } from '../../../common/constants';
|
|
3
2
|
import { ShoppingCartSummaryBundleProductResDto, ShoppingCartSummaryCharacteristicResDto, ShoppingCartSummaryPriceResDto } from '../../shopping-cart';
|
|
4
3
|
export interface SaleProcessDocument {
|
|
5
4
|
id?: string;
|
|
@@ -10,20 +9,6 @@ export interface SaleProcessDocument {
|
|
|
10
9
|
type: BpCustomerAccountDocumentType;
|
|
11
10
|
comment?: string;
|
|
12
11
|
}
|
|
13
|
-
export declare class DashboardFilterDto {
|
|
14
|
-
page?: number;
|
|
15
|
-
id?: number;
|
|
16
|
-
limit?: number;
|
|
17
|
-
phone?: string;
|
|
18
|
-
smsPhone?: string;
|
|
19
|
-
dateFrom?: string;
|
|
20
|
-
dateTo?: string;
|
|
21
|
-
lastChangeMadeBy?: string;
|
|
22
|
-
status?: string[];
|
|
23
|
-
lastChannel?: string[];
|
|
24
|
-
customerType?: CustomerType;
|
|
25
|
-
customerId?: string;
|
|
26
|
-
}
|
|
27
12
|
export declare class SaleProcessScoringStatusSalesArea {
|
|
28
13
|
status: string;
|
|
29
14
|
salesArea: string;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebPreOrderClientPayloadDto = exports.WebOrderClientPayloadDto = exports.WebOrderClientCustomerDto = exports.WebOrderClientVoipProductDto = exports.WebOrderClientMobileProductDto = exports.WebOrderClientMobileProductPortinDto = exports.SaleProcessScoringStatusSalesArea =
|
|
3
|
+
exports.WebPreOrderClientPayloadDto = exports.WebOrderClientPayloadDto = exports.WebOrderClientCustomerDto = exports.WebOrderClientVoipProductDto = exports.WebOrderClientMobileProductDto = exports.WebOrderClientMobileProductPortinDto = exports.SaleProcessScoringStatusSalesArea = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
const shopping_cart_1 = require("../../shopping-cart");
|
|
6
|
-
class DashboardFilterDto {
|
|
7
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
8
|
-
return { page: { required: false, type: () => Number }, id: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, phone: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => [String] }, lastChannel: { required: false, type: () => [String] }, customerType: { required: false, enum: require("../../../common/constants/common.constants").CustomerType }, customerId: { required: false, type: () => String } };
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.DashboardFilterDto = DashboardFilterDto;
|
|
12
6
|
class SaleProcessScoringStatusSalesArea {
|
|
13
7
|
static _OPENAPI_METADATA_FACTORY() {
|
|
14
8
|
return { status: { required: true, type: () => String }, salesArea: { required: true, type: () => String } };
|
|
@@ -2,19 +2,33 @@ import { SaleProcessApprovalValidation } from '../constants';
|
|
|
2
2
|
import { ApprovalIndividualIdentificationDto } from '../approval';
|
|
3
3
|
import { PaginationQueryDto } from '../../common/common.entity';
|
|
4
4
|
import { CustomerType } from '../../common/constants';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class SaleProcessFiltersDto extends PaginationQueryDto {
|
|
6
6
|
id?: number;
|
|
7
|
+
statuses?: string[];
|
|
8
|
+
channels?: string[];
|
|
9
|
+
updatedBy?: string;
|
|
7
10
|
phone?: string;
|
|
8
|
-
|
|
11
|
+
mobilePhone?: string;
|
|
9
12
|
dateFrom?: string;
|
|
10
13
|
dateTo?: string;
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
customerId?: string;
|
|
15
|
+
customerType?: CustomerType;
|
|
16
|
+
identificationNumber?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class SaleProcessFiltersQueryDto extends PaginationQueryDto {
|
|
19
|
+
id?: number;
|
|
13
20
|
status?: string;
|
|
14
21
|
channel?: string;
|
|
15
|
-
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
phone?: string;
|
|
24
|
+
mobilePhone?: string;
|
|
25
|
+
dateFrom?: string;
|
|
26
|
+
dateTo?: string;
|
|
16
27
|
customerType?: CustomerType;
|
|
17
28
|
customerId?: string;
|
|
29
|
+
identificationNumber?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class SaleProcessFilesFiltersQueryDto extends PaginationQueryDto {
|
|
18
32
|
}
|
|
19
33
|
export declare class CreateApprovalDataBaseDto {
|
|
20
34
|
validation: SaleProcessApprovalValidation;
|
|
@@ -9,7 +9,7 @@ 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.SaleProcessSaleDto = exports.SaleProcessSaleIbanValidationDto = exports.SaleProcessCacheJobRetryDto = exports.CreateSaleProcessApprovalDto = exports.CreateApprovalDataIbanValidationRejectedDto = exports.CreateApprovalDataIbanValidationRejectedBillingDto = exports.CreateApprovalDataBaseDto = exports.
|
|
12
|
+
exports.SaleProcessSaleDto = exports.SaleProcessSaleIbanValidationDto = exports.SaleProcessCacheJobRetryDto = exports.CreateSaleProcessApprovalDto = exports.CreateApprovalDataIbanValidationRejectedDto = exports.CreateApprovalDataIbanValidationRejectedBillingDto = exports.CreateApprovalDataBaseDto = exports.SaleProcessFilesFiltersQueryDto = exports.SaleProcessFiltersQueryDto = exports.SaleProcessFiltersDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -18,81 +18,99 @@ const _validators_1 = require("../../validators/index");
|
|
|
18
18
|
const approval_1 = require("../approval");
|
|
19
19
|
const common_entity_1 = require("../../common/common.entity");
|
|
20
20
|
const constants_2 = require("../../common/constants");
|
|
21
|
-
class
|
|
21
|
+
class SaleProcessFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
22
22
|
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
-
return { id: { required: false, type: () => Number
|
|
23
|
+
return { id: { required: false, type: () => Number }, statuses: { required: false, type: () => [String] }, channels: { required: false, type: () => [String] }, updatedBy: { required: false, type: () => String }, phone: { required: false, type: () => String }, mobilePhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, customerId: { required: false, type: () => String }, customerType: { required: false, enum: require("../../common/constants/common.constants").CustomerType }, identificationNumber: { required: false, type: () => String } };
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
exports.
|
|
26
|
+
exports.SaleProcessFiltersDto = SaleProcessFiltersDto;
|
|
27
|
+
class SaleProcessFiltersQueryDto extends common_entity_1.PaginationQueryDto {
|
|
28
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
29
|
+
return { id: { required: false, type: () => Number, minimum: 1 }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, updatedBy: { required: false, type: () => String }, phone: { required: false, type: () => String }, mobilePhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, customerType: { required: false, enum: require("../../common/constants/common.constants").CustomerType }, customerId: { required: false, type: () => String }, identificationNumber: { required: false, type: () => String } };
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.SaleProcessFiltersQueryDto = SaleProcessFiltersQueryDto;
|
|
27
33
|
__decorate([
|
|
28
34
|
(0, class_validator_1.IsInt)(),
|
|
29
35
|
(0, class_validator_1.Min)(1),
|
|
30
36
|
(0, class_validator_1.IsOptional)(),
|
|
31
37
|
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
32
38
|
__metadata("design:type", Number)
|
|
33
|
-
],
|
|
39
|
+
], SaleProcessFiltersQueryDto.prototype, "id", void 0);
|
|
34
40
|
__decorate([
|
|
35
41
|
(0, class_validator_1.IsString)(),
|
|
36
42
|
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, _validators_1.IsNotBlank)(),
|
|
37
44
|
(0, class_validator_1.IsOptional)(),
|
|
38
45
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
46
|
+
], SaleProcessFiltersQueryDto.prototype, "status", void 0);
|
|
40
47
|
__decorate([
|
|
41
48
|
(0, class_validator_1.IsString)(),
|
|
42
49
|
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
+
(0, _validators_1.IsNotBlank)(),
|
|
43
51
|
(0, class_validator_1.IsOptional)(),
|
|
44
52
|
__metadata("design:type", String)
|
|
45
|
-
],
|
|
53
|
+
], SaleProcessFiltersQueryDto.prototype, "channel", void 0);
|
|
46
54
|
__decorate([
|
|
47
|
-
(0, class_validator_1.
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
48
56
|
(0, class_validator_1.IsNotEmpty)(),
|
|
57
|
+
(0, _validators_1.IsNotBlank)(),
|
|
49
58
|
(0, class_validator_1.IsOptional)(),
|
|
50
59
|
__metadata("design:type", String)
|
|
51
|
-
],
|
|
60
|
+
], SaleProcessFiltersQueryDto.prototype, "updatedBy", void 0);
|
|
52
61
|
__decorate([
|
|
53
|
-
(0, class_validator_1.
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
54
63
|
(0, class_validator_1.IsNotEmpty)(),
|
|
64
|
+
(0, _validators_1.IsNotBlank)(),
|
|
55
65
|
(0, class_validator_1.IsOptional)(),
|
|
56
66
|
__metadata("design:type", String)
|
|
57
|
-
],
|
|
67
|
+
], SaleProcessFiltersQueryDto.prototype, "phone", void 0);
|
|
58
68
|
__decorate([
|
|
59
69
|
(0, class_validator_1.IsString)(),
|
|
60
70
|
(0, class_validator_1.IsNotEmpty)(),
|
|
71
|
+
(0, _validators_1.IsNotBlank)(),
|
|
61
72
|
(0, class_validator_1.IsOptional)(),
|
|
62
73
|
__metadata("design:type", String)
|
|
63
|
-
],
|
|
74
|
+
], SaleProcessFiltersQueryDto.prototype, "mobilePhone", void 0);
|
|
64
75
|
__decorate([
|
|
65
|
-
(0, class_validator_1.
|
|
76
|
+
(0, class_validator_1.IsDateString)(),
|
|
66
77
|
(0, class_validator_1.IsNotEmpty)(),
|
|
78
|
+
(0, _validators_1.IsNotBlank)(),
|
|
67
79
|
(0, class_validator_1.IsOptional)(),
|
|
68
80
|
__metadata("design:type", String)
|
|
69
|
-
],
|
|
81
|
+
], SaleProcessFiltersQueryDto.prototype, "dateFrom", void 0);
|
|
70
82
|
__decorate([
|
|
71
|
-
(0, class_validator_1.
|
|
83
|
+
(0, class_validator_1.IsDateString)(),
|
|
72
84
|
(0, class_validator_1.IsNotEmpty)(),
|
|
85
|
+
(0, _validators_1.IsNotBlank)(),
|
|
73
86
|
(0, class_validator_1.IsOptional)(),
|
|
74
87
|
__metadata("design:type", String)
|
|
75
|
-
],
|
|
88
|
+
], SaleProcessFiltersQueryDto.prototype, "dateTo", void 0);
|
|
76
89
|
__decorate([
|
|
77
|
-
(0, class_validator_1.
|
|
90
|
+
(0, class_validator_1.IsEnum)(constants_2.CustomerType),
|
|
78
91
|
(0, class_validator_1.IsOptional)(),
|
|
79
92
|
__metadata("design:type", String)
|
|
80
|
-
],
|
|
93
|
+
], SaleProcessFiltersQueryDto.prototype, "customerType", void 0);
|
|
81
94
|
__decorate([
|
|
82
95
|
(0, class_validator_1.IsString)(),
|
|
96
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
97
|
+
(0, _validators_1.IsNotBlank)(),
|
|
83
98
|
(0, class_validator_1.IsOptional)(),
|
|
84
99
|
__metadata("design:type", String)
|
|
85
|
-
],
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, class_validator_1.IsEnum)(constants_2.CustomerType),
|
|
88
|
-
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], DashboardSaleProcessesQueryDto.prototype, "customerType", void 0);
|
|
100
|
+
], SaleProcessFiltersQueryDto.prototype, "customerId", void 0);
|
|
91
101
|
__decorate([
|
|
92
102
|
(0, class_validator_1.IsString)(),
|
|
103
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
104
|
+
(0, _validators_1.IsNotBlank)(),
|
|
93
105
|
(0, class_validator_1.IsOptional)(),
|
|
94
106
|
__metadata("design:type", String)
|
|
95
|
-
],
|
|
107
|
+
], SaleProcessFiltersQueryDto.prototype, "identificationNumber", void 0);
|
|
108
|
+
class SaleProcessFilesFiltersQueryDto extends common_entity_1.PaginationQueryDto {
|
|
109
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
110
|
+
return {};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.SaleProcessFilesFiltersQueryDto = SaleProcessFilesFiltersQueryDto;
|
|
96
114
|
class CreateApprovalDataBaseDto {
|
|
97
115
|
static _OPENAPI_METADATA_FACTORY() {
|
|
98
116
|
return { validation: { required: true, enum: require("../constants/sys03.constants").SaleProcessApprovalValidation } };
|