adamo-types 2.1.45-uat → 2.1.46-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.d.ts +1 -1
- package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +0 -7
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +1 -35
- package/dist/sys03/generic-sale-process/additional-contact.entity.d.ts +2 -2
- package/dist/sys03/generic-sale-process/additional-contact.entity.js +2 -6
- package/dist/sys03/generic-sale-process/constants.d.ts +19 -5
- package/dist/sys03/generic-sale-process/constants.js +18 -4
- package/dist/sys03/generic-sale-process/credit-bureau-validation.entity.d.ts +9 -0
- package/dist/sys03/generic-sale-process/credit-bureau-validation.entity.js +26 -0
- package/dist/sys03/generic-sale-process/entity.d.ts +11 -5
- package/dist/sys03/generic-sale-process/entity.js +10 -5
- package/dist/sys03/generic-sale-process/index.d.ts +1 -0
- package/dist/sys03/generic-sale-process/index.js +1 -0
- package/dist/sys03/generic-sale-process/patch/contract-data-saved-digitel.entity.d.ts +9 -0
- package/dist/sys03/generic-sale-process/patch/contract-data-saved-digitel.entity.js +44 -0
- package/dist/sys03/generic-sale-process/patch/contract-data-saved.entity.d.ts +40 -0
- package/dist/sys03/generic-sale-process/patch/contract-data-saved.entity.js +233 -0
- package/dist/sys03/generic-sale-process/patch/customer-type-selected.entity.d.ts +1 -1
- package/dist/sys03/generic-sale-process/patch/customer-type-selected.entity.js +5 -5
- package/dist/sys03/generic-sale-process/patch/customer-type-validated.entity.d.ts +1 -1
- package/dist/sys03/generic-sale-process/patch/customer-type-validated.entity.js +3 -3
- package/dist/sys03/generic-sale-process/patch/index.d.ts +3 -0
- package/dist/sys03/generic-sale-process/patch/index.js +3 -0
- package/dist/sys03/generic-sale-process/patch/patch-customer-account-behaviour.entity.d.ts +8 -0
- package/dist/sys03/generic-sale-process/patch/patch-customer-account-behaviour.entity.js +41 -0
- package/dist/sys03/sale-process/{sale-process.credit-bureau-validation.entity.d.ts → credit-bureau-validation.entity.d.ts} +3 -2
- package/dist/sys03/sale-process/{sale-process.credit-bureau-validation.entity.js → credit-bureau-validation.entity.js} +9 -2
- package/dist/sys03/sale-process/index.d.ts +1 -1
- package/dist/sys03/sale-process/index.js +1 -1
- package/dist/sys03/sale-process/patch/contract-data-saved.entity.d.ts +7 -0
- package/dist/sys03/sale-process/patch/contract-data-saved.entity.js +42 -0
- package/dist/sys03/sale-process/patch/index.d.ts +1 -0
- package/dist/sys03/sale-process/patch/index.js +17 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ export declare class ShoppingCartParametersDto {
|
|
|
35
35
|
cartCreatedBy?: string;
|
|
36
36
|
referenceCartCreatedBy?: string;
|
|
37
37
|
readonly salesPerson?: string;
|
|
38
|
-
addressInfo?:
|
|
38
|
+
addressInfo?: 'Present';
|
|
39
39
|
apartmentId?: string;
|
|
40
40
|
gescal37?: string;
|
|
41
41
|
block?: string;
|
|
@@ -21,17 +21,10 @@ export declare class PatchSaleProcessCustomerTypeValidatedDto {
|
|
|
21
21
|
status: SaleProcessStatusType;
|
|
22
22
|
customerAccountBehaviour: ExistingCustomerBehaviourType;
|
|
23
23
|
}
|
|
24
|
-
export declare class PatchSaleProcessCustomerContractDataSavedDto {
|
|
25
|
-
customerType: CustomerType;
|
|
26
|
-
identification: SaleProcessIndividualIdentificationDto;
|
|
27
|
-
}
|
|
28
24
|
export declare class PatchSaleProcessBusinessInfoContractDataSavedDto {
|
|
29
25
|
companyType: BusinessCustomerType;
|
|
30
26
|
identification: SaleProcessCompanyIdentificationDto;
|
|
31
27
|
}
|
|
32
|
-
export declare class PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto {
|
|
33
|
-
customer: PatchSaleProcessCustomerContractDataSavedDto;
|
|
34
|
-
}
|
|
35
28
|
export declare class PartialSaleProcessDigitelCustomerDto {
|
|
36
29
|
customerVulnerable?: boolean;
|
|
37
30
|
}
|
|
@@ -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.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.PartialApartmentSelectedDto = exports.PartialAddressSelectedDto = exports.PartialAddressSearchDto = exports.PatchSaleProcessFeaturesSelectedDto = exports.PatchSaleProcessBundleSelectedDto = exports.PatchSaleProcessNoCoverageDto = exports.PatchSaleProcessPersonalDataSavedDto = exports.PatchSaleProcessContractDataSavedDto = exports.PartialSaleProcessBusinessInfoDto = exports.PartialSaleProcessBillingInfoBaseWithIdentificationDto = exports.PartialSaleProcessBillingInfoBaseDto = exports.PartialSaleProcessContractCustomerDto = exports.PartialSaleProcessCustomerBaseWithoutTypeDto = exports.PartialSaleProcessCustomerBaseDto = exports.PartialSaleProcessBillingInfoDto = exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto = exports.PartialSaleProcessDigitelDto = exports.PartialSaleProcessDigitelCustomerDto = exports.
|
|
12
|
+
exports.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.PartialApartmentSelectedDto = exports.PartialAddressSelectedDto = exports.PartialAddressSearchDto = exports.PatchSaleProcessFeaturesSelectedDto = exports.PatchSaleProcessBundleSelectedDto = exports.PatchSaleProcessNoCoverageDto = exports.PatchSaleProcessPersonalDataSavedDto = exports.PatchSaleProcessContractDataSavedDto = exports.PartialSaleProcessBusinessInfoDto = exports.PartialSaleProcessBillingInfoBaseWithIdentificationDto = exports.PartialSaleProcessBillingInfoBaseDto = exports.PartialSaleProcessContractCustomerDto = exports.PartialSaleProcessCustomerBaseWithoutTypeDto = exports.PartialSaleProcessCustomerBaseDto = exports.PartialSaleProcessBillingInfoDto = exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto = exports.PartialSaleProcessDigitelDto = exports.PartialSaleProcessDigitelCustomerDto = exports.PatchSaleProcessBusinessInfoContractDataSavedDto = exports.PatchSaleProcessCustomerTypeValidatedDto = exports.PatchSaleProcessCustomerTypeSelectedDto = exports.PartialSaleProcessBusinessDto = exports.PartialSaleProcessCustomerDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const constants_1 = require("../../../../bss/constants");
|
|
15
15
|
const constants_2 = require("../../../constants");
|
|
@@ -101,26 +101,6 @@ __decorate([
|
|
|
101
101
|
(0, class_validator_1.IsEnum)(common_1.ExistingCustomerBehaviourType),
|
|
102
102
|
__metadata("design:type", String)
|
|
103
103
|
], PatchSaleProcessCustomerTypeValidatedDto.prototype, "customerAccountBehaviour", void 0);
|
|
104
|
-
class PatchSaleProcessCustomerContractDataSavedDto {
|
|
105
|
-
customerType;
|
|
106
|
-
identification;
|
|
107
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
108
|
-
return { customerType: { required: true, enum: require("../../../constants/common.constants").CustomerType }, identification: { required: true, type: () => require("../../../../sys03/sale-process/identification.entity").SaleProcessIndividualIdentificationDto } };
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.PatchSaleProcessCustomerContractDataSavedDto = PatchSaleProcessCustomerContractDataSavedDto;
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, class_validator_1.IsEnum)(constants_2.CustomerType),
|
|
114
|
-
(0, class_transformer_1.Expose)(),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], PatchSaleProcessCustomerContractDataSavedDto.prototype, "customerType", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, class_validator_1.IsDefined)(),
|
|
119
|
-
(0, class_validator_1.ValidateNested)(),
|
|
120
|
-
(0, class_transformer_1.Type)(() => identification_entity_1.SaleProcessIndividualIdentificationDto),
|
|
121
|
-
(0, class_transformer_1.Expose)(),
|
|
122
|
-
__metadata("design:type", identification_entity_1.SaleProcessIndividualIdentificationDto)
|
|
123
|
-
], PatchSaleProcessCustomerContractDataSavedDto.prototype, "identification", void 0);
|
|
124
104
|
class PatchSaleProcessBusinessInfoContractDataSavedDto {
|
|
125
105
|
companyType;
|
|
126
106
|
identification;
|
|
@@ -142,20 +122,6 @@ __decorate([
|
|
|
142
122
|
(0, class_transformer_1.Expose)(),
|
|
143
123
|
__metadata("design:type", identification_entity_1.SaleProcessCompanyIdentificationDto)
|
|
144
124
|
], PatchSaleProcessBusinessInfoContractDataSavedDto.prototype, "identification", void 0);
|
|
145
|
-
class PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto {
|
|
146
|
-
customer;
|
|
147
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
148
|
-
return { customer: { required: true, type: () => require("./patch.entity").PatchSaleProcessCustomerContractDataSavedDto } };
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
exports.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto;
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, class_validator_1.IsDefined)(),
|
|
154
|
-
(0, class_validator_1.ValidateNested)(),
|
|
155
|
-
(0, class_transformer_1.Type)(() => PatchSaleProcessCustomerContractDataSavedDto),
|
|
156
|
-
(0, class_transformer_1.Expose)(),
|
|
157
|
-
__metadata("design:type", PatchSaleProcessCustomerContractDataSavedDto)
|
|
158
|
-
], PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto.prototype, "customer", void 0);
|
|
159
125
|
class PartialSaleProcessDigitelCustomerDto {
|
|
160
126
|
customerVulnerable;
|
|
161
127
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -34,9 +34,9 @@ declare const CreateGenericSaleProcessAdditionalContactDto_base: import("@nestjs
|
|
|
34
34
|
export declare class CreateGenericSaleProcessAdditionalContactDto extends CreateGenericSaleProcessAdditionalContactDto_base {
|
|
35
35
|
contactMediums: CreateGenericSaleProcessAdditionalContactMediumDto[];
|
|
36
36
|
}
|
|
37
|
-
declare const UpdateGenericSaleProcessAdditionalContactDto_base: import("@nestjs/common").Type<Pick<GenericSaleProcessAdditionalContactDto, "role" | "firstName" | "lastName"
|
|
37
|
+
declare const UpdateGenericSaleProcessAdditionalContactDto_base: import("@nestjs/common").Type<Partial<Pick<GenericSaleProcessAdditionalContactDto, "role" | "firstName" | "lastName" | "partyId">>>;
|
|
38
38
|
export declare class UpdateGenericSaleProcessAdditionalContactDto extends UpdateGenericSaleProcessAdditionalContactDto_base {
|
|
39
|
-
contactMediums
|
|
39
|
+
contactMediums?: CreateOrUpdateGenericSaleProcessAdditionalContactMediumDto[];
|
|
40
40
|
}
|
|
41
41
|
export declare class CreateGenericSaleProcessAdditionalContactReqDto {
|
|
42
42
|
saleProcessId: number;
|
|
@@ -104,14 +104,10 @@ class CreateGenericSaleProcessAdditionalContactDto extends (0, swagger_1.PickTyp
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
exports.CreateGenericSaleProcessAdditionalContactDto = CreateGenericSaleProcessAdditionalContactDto;
|
|
107
|
-
class UpdateGenericSaleProcessAdditionalContactDto extends (0, swagger_1.PickType)(GenericSaleProcessAdditionalContactDto, [
|
|
108
|
-
'firstName',
|
|
109
|
-
'lastName',
|
|
110
|
-
'role'
|
|
111
|
-
]) {
|
|
107
|
+
class UpdateGenericSaleProcessAdditionalContactDto extends (0, swagger_1.PartialType)((0, swagger_1.PickType)(GenericSaleProcessAdditionalContactDto, ['partyId', 'firstName', 'lastName', 'role'])) {
|
|
112
108
|
contactMediums;
|
|
113
109
|
static _OPENAPI_METADATA_FACTORY() {
|
|
114
|
-
return { contactMediums: { required:
|
|
110
|
+
return { contactMediums: { required: false, type: () => [require("./additional-contact.entity").CreateOrUpdateGenericSaleProcessAdditionalContactMediumDto] } };
|
|
115
111
|
}
|
|
116
112
|
}
|
|
117
113
|
exports.UpdateGenericSaleProcessAdditionalContactDto = UpdateGenericSaleProcessAdditionalContactDto;
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
export declare enum GenericSaleProcessStatus {
|
|
2
|
-
FRESH = "fresh",
|
|
3
2
|
ADDRESS_SEARCH = "address-search",
|
|
3
|
+
APPROVED = "approved",
|
|
4
|
+
BILLING_ACCOUNT_CREATED = "billing-account-created",
|
|
5
|
+
BILLING_ACCOUNT_UPDATED = "billing-account-updated",
|
|
4
6
|
BUNDLE_SELECTED = "bundle-selected",
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
COMPLETED = "completed",
|
|
8
|
+
CONTRACT_DATA_SAVED = "contract-data-saved",
|
|
9
|
+
CONTRACT_DATA_VALIDATED = "contract-data-validated",
|
|
10
|
+
CUSTOMER_ACCOUNT_ADDITIONAL_CONTACTS_HANDLED = "customer-account-additional-contacts-handled",
|
|
11
|
+
CUSTOMER_ACCOUNT_CREATED = "customer-account-created",
|
|
12
|
+
CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED = "customer-account-documents-handled",
|
|
13
|
+
CUSTOMER_ACCOUNT_UPDATED = "customer-account-updated",
|
|
7
14
|
CUSTOMER_TYPE_SELECTED = "customer-type-selected",
|
|
8
15
|
CUSTOMER_TYPE_VALIDATED = "customer-type-validated",
|
|
16
|
+
CREDIT_SCORING = "credit-scoring",
|
|
17
|
+
DEBT = "debt",
|
|
9
18
|
EXTRAS_SELECTED = "extras-selected",
|
|
10
19
|
FEATURES_SELECTED = "features-selected",
|
|
11
|
-
|
|
12
|
-
|
|
20
|
+
FRESH = "fresh",
|
|
21
|
+
NO_SALE = "no-sale",
|
|
22
|
+
PAYMENT_METHOD_CREATED = "payment-method-created",
|
|
23
|
+
PAYMENT_METHOD_UPDATED = "payment-method-updated",
|
|
24
|
+
PENDING_IBAN_VALIDATION = "pending-iban-validation",
|
|
25
|
+
SHOPPING_CART_CONFIGURED = "shopping-cart-configured",
|
|
26
|
+
SHOPPING_CART_SAVED = "shopping-cart-saved"
|
|
13
27
|
}
|
|
@@ -3,15 +3,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GenericSaleProcessStatus = void 0;
|
|
4
4
|
var GenericSaleProcessStatus;
|
|
5
5
|
(function (GenericSaleProcessStatus) {
|
|
6
|
-
GenericSaleProcessStatus["FRESH"] = "fresh";
|
|
7
6
|
GenericSaleProcessStatus["ADDRESS_SEARCH"] = "address-search";
|
|
7
|
+
GenericSaleProcessStatus["APPROVED"] = "approved";
|
|
8
|
+
GenericSaleProcessStatus["BILLING_ACCOUNT_CREATED"] = "billing-account-created";
|
|
9
|
+
GenericSaleProcessStatus["BILLING_ACCOUNT_UPDATED"] = "billing-account-updated";
|
|
8
10
|
GenericSaleProcessStatus["BUNDLE_SELECTED"] = "bundle-selected";
|
|
9
|
-
GenericSaleProcessStatus["
|
|
10
|
-
GenericSaleProcessStatus["
|
|
11
|
+
GenericSaleProcessStatus["COMPLETED"] = "completed";
|
|
12
|
+
GenericSaleProcessStatus["CONTRACT_DATA_SAVED"] = "contract-data-saved";
|
|
13
|
+
GenericSaleProcessStatus["CONTRACT_DATA_VALIDATED"] = "contract-data-validated";
|
|
14
|
+
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_ADDITIONAL_CONTACTS_HANDLED"] = "customer-account-additional-contacts-handled";
|
|
15
|
+
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_CREATED"] = "customer-account-created";
|
|
16
|
+
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED"] = "customer-account-documents-handled";
|
|
17
|
+
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_UPDATED"] = "customer-account-updated";
|
|
11
18
|
GenericSaleProcessStatus["CUSTOMER_TYPE_SELECTED"] = "customer-type-selected";
|
|
12
19
|
GenericSaleProcessStatus["CUSTOMER_TYPE_VALIDATED"] = "customer-type-validated";
|
|
20
|
+
GenericSaleProcessStatus["CREDIT_SCORING"] = "credit-scoring";
|
|
21
|
+
GenericSaleProcessStatus["DEBT"] = "debt";
|
|
13
22
|
GenericSaleProcessStatus["EXTRAS_SELECTED"] = "extras-selected";
|
|
14
23
|
GenericSaleProcessStatus["FEATURES_SELECTED"] = "features-selected";
|
|
15
|
-
GenericSaleProcessStatus["
|
|
24
|
+
GenericSaleProcessStatus["FRESH"] = "fresh";
|
|
25
|
+
GenericSaleProcessStatus["NO_SALE"] = "no-sale";
|
|
26
|
+
GenericSaleProcessStatus["PAYMENT_METHOD_CREATED"] = "payment-method-created";
|
|
27
|
+
GenericSaleProcessStatus["PAYMENT_METHOD_UPDATED"] = "payment-method-updated";
|
|
28
|
+
GenericSaleProcessStatus["PENDING_IBAN_VALIDATION"] = "pending-iban-validation";
|
|
16
29
|
GenericSaleProcessStatus["SHOPPING_CART_CONFIGURED"] = "shopping-cart-configured";
|
|
30
|
+
GenericSaleProcessStatus["SHOPPING_CART_SAVED"] = "shopping-cart-saved";
|
|
17
31
|
})(GenericSaleProcessStatus || (exports.GenericSaleProcessStatus = GenericSaleProcessStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateProcessAuditFieldsDto, CreditBureauValidationProcessDto } from '../common';
|
|
2
|
+
export declare class GenericProcessCreditBureauValidationDto extends CreditBureauValidationProcessDto {
|
|
3
|
+
saleProcessId: number;
|
|
4
|
+
}
|
|
5
|
+
declare const CreateGenericSaleProcessCreditBureauValidationDto_base: import("@nestjs/common").Type<Pick<GenericProcessCreditBureauValidationDto, "identification" | "status" | "saleProcessId" | "cache" | "errors">>;
|
|
6
|
+
export declare class CreateGenericSaleProcessCreditBureauValidationDto extends CreateGenericSaleProcessCreditBureauValidationDto_base {
|
|
7
|
+
created: CreateProcessAuditFieldsDto;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateGenericSaleProcessCreditBureauValidationDto = exports.GenericProcessCreditBureauValidationDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
6
|
+
const common_1 = require("../common");
|
|
7
|
+
class GenericProcessCreditBureauValidationDto extends common_1.CreditBureauValidationProcessDto {
|
|
8
|
+
saleProcessId;
|
|
9
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
10
|
+
return { saleProcessId: { required: true, type: () => Number } };
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.GenericProcessCreditBureauValidationDto = GenericProcessCreditBureauValidationDto;
|
|
14
|
+
class CreateGenericSaleProcessCreditBureauValidationDto extends (0, swagger_1.PickType)(GenericProcessCreditBureauValidationDto, [
|
|
15
|
+
'saleProcessId',
|
|
16
|
+
'status',
|
|
17
|
+
'identification',
|
|
18
|
+
'cache',
|
|
19
|
+
'errors'
|
|
20
|
+
]) {
|
|
21
|
+
created;
|
|
22
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
+
return { created: { required: true, type: () => require("../common/common.entity").CreateProcessAuditFieldsDto } };
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.CreateGenericSaleProcessCreditBureauValidationDto = CreateGenericSaleProcessCreditBureauValidationDto;
|
|
@@ -5,6 +5,7 @@ import { BusinessCustomerType, CustomerType } from '../../common/constants';
|
|
|
5
5
|
import { BpCustomerAccountIndividualTitleType, BpCustomerAccountPreferredContactTimeType } from '../../bss/constants';
|
|
6
6
|
import { GenericSaleProcessFileDto } from './file.entity';
|
|
7
7
|
import { GenericSaleProcessAdditionalContactDto } from './additional-contact.entity';
|
|
8
|
+
import { CreateCustomerAccountAddressDto, CustomerAccountAddressDto } from '../customer';
|
|
8
9
|
export declare class GenericSaleProcessCoverageDto {
|
|
9
10
|
search: string;
|
|
10
11
|
googlePrediction: string;
|
|
@@ -24,9 +25,12 @@ export declare class GenericSaleProcessCustomerDto {
|
|
|
24
25
|
firstName: string;
|
|
25
26
|
lastName?: string;
|
|
26
27
|
birthDate?: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
type?: CustomerType;
|
|
29
|
+
vulnerable?: boolean;
|
|
30
|
+
accountId?: string;
|
|
31
|
+
accountBehaviour?: ExistingCustomerBehaviourType;
|
|
32
|
+
postalAddressId?: string;
|
|
33
|
+
postalAddressData?: CustomerAccountAddressDto;
|
|
30
34
|
identification?: SaleProcessIndividualIdentificationDto;
|
|
31
35
|
mobilePhone?: string;
|
|
32
36
|
contactPhone?: string;
|
|
@@ -34,6 +38,7 @@ export declare class GenericSaleProcessCustomerDto {
|
|
|
34
38
|
email?: string;
|
|
35
39
|
preferredContactTime?: BpCustomerAccountPreferredContactTimeType;
|
|
36
40
|
preferredContactLanguage?: string;
|
|
41
|
+
association?: string;
|
|
37
42
|
}
|
|
38
43
|
declare const CreateGenericSaleProcessCustomerDto_base: import("@nestjs/common").Type<Pick<GenericSaleProcessCustomerDto, "firstName" | "contactPhone" | "mobilePhone">>;
|
|
39
44
|
export declare class CreateGenericSaleProcessCustomerDto extends CreateGenericSaleProcessCustomerDto_base {
|
|
@@ -47,8 +52,9 @@ export declare class GenericSaleProcessBusinessDto {
|
|
|
47
52
|
export declare class GenericSaleProcessBillingDto {
|
|
48
53
|
firstName: string;
|
|
49
54
|
lastName?: string;
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
accountId?: string;
|
|
56
|
+
addressId?: string;
|
|
57
|
+
addressData?: CreateCustomerAccountAddressDto;
|
|
52
58
|
iban?: string;
|
|
53
59
|
paymentMethodAdded?: string;
|
|
54
60
|
}
|
|
@@ -22,9 +22,12 @@ class GenericSaleProcessCustomerDto {
|
|
|
22
22
|
firstName;
|
|
23
23
|
lastName;
|
|
24
24
|
birthDate;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
type;
|
|
26
|
+
vulnerable;
|
|
27
|
+
accountId;
|
|
28
|
+
accountBehaviour;
|
|
29
|
+
postalAddressId;
|
|
30
|
+
postalAddressData;
|
|
28
31
|
identification;
|
|
29
32
|
mobilePhone;
|
|
30
33
|
contactPhone;
|
|
@@ -32,6 +35,7 @@ class GenericSaleProcessCustomerDto {
|
|
|
32
35
|
email;
|
|
33
36
|
preferredContactTime;
|
|
34
37
|
preferredContactLanguage;
|
|
38
|
+
association;
|
|
35
39
|
}
|
|
36
40
|
exports.GenericSaleProcessCustomerDto = GenericSaleProcessCustomerDto;
|
|
37
41
|
class CreateGenericSaleProcessCustomerDto extends (0, swagger_1.PickType)(GenericSaleProcessCustomerDto, [
|
|
@@ -51,8 +55,9 @@ exports.GenericSaleProcessBusinessDto = GenericSaleProcessBusinessDto;
|
|
|
51
55
|
class GenericSaleProcessBillingDto {
|
|
52
56
|
firstName;
|
|
53
57
|
lastName;
|
|
54
|
-
|
|
55
|
-
|
|
58
|
+
accountId;
|
|
59
|
+
addressId;
|
|
60
|
+
addressData;
|
|
56
61
|
iban;
|
|
57
62
|
paymentMethodAdded;
|
|
58
63
|
}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./additional-contact.entity"), exports);
|
|
18
18
|
__exportStar(require("./constants"), exports);
|
|
19
|
+
__exportStar(require("./credit-bureau-validation.entity"), exports);
|
|
19
20
|
__exportStar(require("./entity"), exports);
|
|
20
21
|
__exportStar(require("./file.entity"), exports);
|
|
21
22
|
__exportStar(require("./patch"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DigitelCircuitType } from '../../../bss/constants';
|
|
2
|
+
declare class PartialCustomerDto {
|
|
3
|
+
vulnerable: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class PatchGenericSaleProcessContractDataSavedDigitelDto {
|
|
6
|
+
customer: PartialCustomerDto;
|
|
7
|
+
digitelCircuitType: DigitelCircuitType;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
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.PatchGenericSaleProcessContractDataSavedDigitelDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const constants_1 = require("../../../bss/constants");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
class PartialCustomerDto {
|
|
18
|
+
vulnerable;
|
|
19
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
+
return { vulnerable: { required: true, type: () => Boolean } };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsBoolean)(),
|
|
25
|
+
__metadata("design:type", Boolean)
|
|
26
|
+
], PartialCustomerDto.prototype, "vulnerable", void 0);
|
|
27
|
+
class PatchGenericSaleProcessContractDataSavedDigitelDto {
|
|
28
|
+
customer;
|
|
29
|
+
digitelCircuitType;
|
|
30
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
+
return { customer: { required: true, type: () => PartialCustomerDto }, digitelCircuitType: { required: true, enum: require("../../../bss/constants/bp.constants").DigitelCircuitType } };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.PatchGenericSaleProcessContractDataSavedDigitelDto = PatchGenericSaleProcessContractDataSavedDigitelDto;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsDefined)(),
|
|
37
|
+
(0, class_validator_1.ValidateNested)(),
|
|
38
|
+
(0, class_transformer_1.Type)(() => PartialCustomerDto),
|
|
39
|
+
__metadata("design:type", PartialCustomerDto)
|
|
40
|
+
], PatchGenericSaleProcessContractDataSavedDigitelDto.prototype, "customer", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsEnum)(constants_1.DigitelCircuitType),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], PatchGenericSaleProcessContractDataSavedDigitelDto.prototype, "digitelCircuitType", void 0);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { GenericSaleProcessStatus } from '../constants';
|
|
2
|
+
import { BpCustomerAccountIndividualTitleType, BpCustomerAccountPreferredContactTimeType, DigitelCircuitType } from '../../../bss/constants';
|
|
3
|
+
import { CreateCustomerAccountAddressReqDto } from '../../customer';
|
|
4
|
+
import { SaleProcessCompanyIdentificationDto, SaleProcessIndividualIdentificationDto } from '../../sale-process';
|
|
5
|
+
import { BusinessCustomerType } from '../../../common/constants';
|
|
6
|
+
export declare class PartialGenericSaleProcessContractDataSavedCustomerDto {
|
|
7
|
+
title: BpCustomerAccountIndividualTitleType;
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
birthDate: string;
|
|
11
|
+
vulnerable: boolean;
|
|
12
|
+
email: string;
|
|
13
|
+
identification: SaleProcessIndividualIdentificationDto;
|
|
14
|
+
mobilePhone: string;
|
|
15
|
+
contactPhone?: string;
|
|
16
|
+
additionalContactPhone?: string;
|
|
17
|
+
preferredContactTime: BpCustomerAccountPreferredContactTimeType;
|
|
18
|
+
preferredContactLanguage: string;
|
|
19
|
+
association?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class PartialGenericSaleProcessContractDataSavedBusinessDto {
|
|
22
|
+
tradingName: string;
|
|
23
|
+
legalName: string;
|
|
24
|
+
companyType: BusinessCustomerType;
|
|
25
|
+
identification: SaleProcessCompanyIdentificationDto;
|
|
26
|
+
}
|
|
27
|
+
export declare class PartialGenericSaleProcessContractDataSavedBillingDto {
|
|
28
|
+
firstName: string;
|
|
29
|
+
lastName: string;
|
|
30
|
+
iban: string;
|
|
31
|
+
addressData: CreateCustomerAccountAddressReqDto;
|
|
32
|
+
}
|
|
33
|
+
export declare class PatchGenericSaleProcessContractDataSavedDto {
|
|
34
|
+
status: GenericSaleProcessStatus;
|
|
35
|
+
customer: PartialGenericSaleProcessContractDataSavedCustomerDto;
|
|
36
|
+
business?: PartialGenericSaleProcessContractDataSavedBusinessDto;
|
|
37
|
+
billing: PartialGenericSaleProcessContractDataSavedBillingDto;
|
|
38
|
+
digitelCircuitType?: DigitelCircuitType;
|
|
39
|
+
notes?: string;
|
|
40
|
+
}
|