adamo-types 2.1.47-sit → 2.1.48-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/edge-zoho/sale-process/req/patch.entity.d.ts +3 -6
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +6 -29
- package/dist/sys03/approval/main/entity.d.ts +3 -2
- package/dist/sys03/approval/main/entity.js +3 -2
- package/dist/sys03/generic-sale-process/constants.d.ts +2 -1
- package/dist/sys03/generic-sale-process/constants.js +2 -1
- package/dist/sys03/generic-sale-process/patch/index.d.ts +2 -1
- package/dist/sys03/generic-sale-process/patch/index.js +2 -1
- package/dist/sys03/generic-sale-process/patch/pending-iban-validation.entity.d.ts +32 -0
- package/dist/sys03/generic-sale-process/patch/pending-iban-validation.entity.js +152 -0
- package/dist/sys03/sale-process/approval.entity.d.ts +17 -0
- package/dist/sys03/sale-process/approval.entity.js +92 -0
- package/dist/sys03/sale-process/index.d.ts +3 -2
- package/dist/sys03/sale-process/index.js +3 -2
- package/dist/sys03/sale-process/patch/contract-data-saved.entity.d.ts +4 -0
- package/dist/sys03/sale-process/patch/contract-data-saved.entity.js +26 -1
- package/dist/sys03/sale-process/sale-process.entity.d.ts +0 -17
- package/dist/sys03/sale-process/sale-process.entity.js +3 -77
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { SaleProcessStatusType } from '../../../../zoho/constants';
|
|
|
4
4
|
import { CreateCustomerAccountAddressReqDto } from '../../../../sys03/customer';
|
|
5
5
|
import { ExistingCustomerBehaviourType } from '../../../../sys03/common';
|
|
6
6
|
import { SaleProcessCompanyIdentificationDto, SaleProcessIndividualIdentificationDto } from '../../../../sys03/sale-process/identification.entity';
|
|
7
|
+
import { PartialSaleProcessBillingFirstAndLastNameDto } from '../../../../sys03/sale-process/patch';
|
|
7
8
|
export declare class PartialSaleProcessCustomerDto {
|
|
8
9
|
customerType: CustomerType;
|
|
9
10
|
identification?: SaleProcessIndividualIdentificationDto;
|
|
@@ -35,11 +36,7 @@ export declare class PartialSaleProcessDigitelDto {
|
|
|
35
36
|
export declare class PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto {
|
|
36
37
|
businessInfo: PatchSaleProcessBusinessInfoContractDataSavedDto;
|
|
37
38
|
}
|
|
38
|
-
export declare class
|
|
39
|
-
firstName: string;
|
|
40
|
-
lastName: string;
|
|
41
|
-
}
|
|
42
|
-
export declare class PartialSaleProcessBillingInfoDto extends PartialSaleProcessBillingInfoFirstAndLastNameDto {
|
|
39
|
+
export declare class PartialSaleProcessBillingInfoDto extends PartialSaleProcessBillingFirstAndLastNameDto {
|
|
43
40
|
billingAddressData: CreateCustomerAccountAddressReqDto;
|
|
44
41
|
}
|
|
45
42
|
export declare class PartialSaleProcessCustomerBaseDto {
|
|
@@ -186,7 +183,7 @@ export declare class PatchSaleProcessNoCoverageWebDto {
|
|
|
186
183
|
}
|
|
187
184
|
export declare class PartialSaleProcessPendingIbanValidationPersonDto {
|
|
188
185
|
iban: string;
|
|
189
|
-
billingInfo:
|
|
186
|
+
billingInfo: PartialSaleProcessBillingFirstAndLastNameDto;
|
|
190
187
|
customer: PartialSaleProcessCustomerBaseWithoutTypeDto;
|
|
191
188
|
}
|
|
192
189
|
export declare class PatchSaleProcessPendingIbanValidationPersonDto extends PartialSaleProcessPendingIbanValidationPersonDto {
|
|
@@ -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.
|
|
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.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");
|
|
@@ -21,6 +21,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
21
21
|
const customer_1 = require("../../../../sys03/customer");
|
|
22
22
|
const common_1 = require("../../../../sys03/common");
|
|
23
23
|
const identification_entity_1 = require("../../../../sys03/sale-process/identification.entity");
|
|
24
|
+
const patch_1 = require("../../../../sys03/sale-process/patch");
|
|
24
25
|
class PartialSaleProcessCustomerDto {
|
|
25
26
|
customerType;
|
|
26
27
|
identification;
|
|
@@ -171,31 +172,7 @@ __decorate([
|
|
|
171
172
|
(0, class_transformer_1.Expose)(),
|
|
172
173
|
__metadata("design:type", PatchSaleProcessBusinessInfoContractDataSavedDto)
|
|
173
174
|
], PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto.prototype, "businessInfo", void 0);
|
|
174
|
-
class
|
|
175
|
-
firstName;
|
|
176
|
-
lastName;
|
|
177
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
178
|
-
return { firstName: { required: true, type: () => String, maxLength: 64 }, lastName: { required: true, type: () => String, maxLength: 64 } };
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = PartialSaleProcessBillingInfoFirstAndLastNameDto;
|
|
182
|
-
__decorate([
|
|
183
|
-
(0, class_validator_1.IsString)(),
|
|
184
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
185
|
-
(0, _validators_1.IsNotBlank)(),
|
|
186
|
-
(0, class_validator_1.MaxLength)(64),
|
|
187
|
-
(0, class_transformer_1.Expose)(),
|
|
188
|
-
__metadata("design:type", String)
|
|
189
|
-
], PartialSaleProcessBillingInfoFirstAndLastNameDto.prototype, "firstName", void 0);
|
|
190
|
-
__decorate([
|
|
191
|
-
(0, class_validator_1.IsString)(),
|
|
192
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
193
|
-
(0, _validators_1.IsNotBlank)(),
|
|
194
|
-
(0, class_validator_1.MaxLength)(64),
|
|
195
|
-
(0, class_transformer_1.Expose)(),
|
|
196
|
-
__metadata("design:type", String)
|
|
197
|
-
], PartialSaleProcessBillingInfoFirstAndLastNameDto.prototype, "lastName", void 0);
|
|
198
|
-
class PartialSaleProcessBillingInfoDto extends PartialSaleProcessBillingInfoFirstAndLastNameDto {
|
|
175
|
+
class PartialSaleProcessBillingInfoDto extends patch_1.PartialSaleProcessBillingFirstAndLastNameDto {
|
|
199
176
|
billingAddressData;
|
|
200
177
|
static _OPENAPI_METADATA_FACTORY() {
|
|
201
178
|
return { billingAddressData: { required: true, type: () => require("../../../../sys03/customer/customer-account-address.entity").CreateCustomerAccountAddressReqDto } };
|
|
@@ -1007,7 +984,7 @@ class PartialSaleProcessPendingIbanValidationPersonDto {
|
|
|
1007
984
|
billingInfo;
|
|
1008
985
|
customer;
|
|
1009
986
|
static _OPENAPI_METADATA_FACTORY() {
|
|
1010
|
-
return { iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" }, billingInfo: { required: true, type: () => require("
|
|
987
|
+
return { iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" }, billingInfo: { required: true, type: () => require("../../../../sys03/sale-process/patch/contract-data-saved.entity").PartialSaleProcessBillingFirstAndLastNameDto }, customer: { required: true, type: () => require("./patch.entity").PartialSaleProcessCustomerBaseWithoutTypeDto } };
|
|
1011
988
|
}
|
|
1012
989
|
}
|
|
1013
990
|
exports.PartialSaleProcessPendingIbanValidationPersonDto = PartialSaleProcessPendingIbanValidationPersonDto;
|
|
@@ -1021,9 +998,9 @@ __decorate([
|
|
|
1021
998
|
__decorate([
|
|
1022
999
|
(0, class_validator_1.IsDefined)(),
|
|
1023
1000
|
(0, class_validator_1.ValidateNested)(),
|
|
1024
|
-
(0, class_transformer_1.Type)(() =>
|
|
1001
|
+
(0, class_transformer_1.Type)(() => patch_1.PartialSaleProcessBillingFirstAndLastNameDto),
|
|
1025
1002
|
(0, class_transformer_1.Expose)(),
|
|
1026
|
-
__metadata("design:type",
|
|
1003
|
+
__metadata("design:type", patch_1.PartialSaleProcessBillingFirstAndLastNameDto)
|
|
1027
1004
|
], PartialSaleProcessPendingIbanValidationPersonDto.prototype, "billingInfo", void 0);
|
|
1028
1005
|
__decorate([
|
|
1029
1006
|
(0, class_validator_1.IsDefined)(),
|
|
@@ -4,7 +4,8 @@ import { ApprovalValidationDataDto } from '../validation-data.entity';
|
|
|
4
4
|
import { ApprovalBillingDto, ApprovalBusinessDto, ApprovalCustomerDto, UpdateApprovalBillingDto, UpdateApprovalBusinessDto } from '../entity';
|
|
5
5
|
import { AuditFieldsDto, AuditFieldsWithValueDto } from '../../common';
|
|
6
6
|
import { SaleProcessDto } from '../../../zoho/sale-process';
|
|
7
|
-
import { PartialSaleProcessBillingInfoBaseWithIdentificationDto,
|
|
7
|
+
import { PartialSaleProcessBillingInfoBaseWithIdentificationDto, PartialSaleProcessCustomerBaseWithoutTypeDto } from '../../../common/edge-zoho';
|
|
8
|
+
import { PartialSaleProcessBillingFirstAndLastNameDto } from '../../sale-process/patch';
|
|
8
9
|
export declare class ApprovalDto {
|
|
9
10
|
id: number;
|
|
10
11
|
saleProcessId: number;
|
|
@@ -50,7 +51,7 @@ export declare class UpdateApprovalSaleProcessDto {
|
|
|
50
51
|
}
|
|
51
52
|
export declare class UpdateApprovalSaleProcessIbanValidationDto {
|
|
52
53
|
iban: string;
|
|
53
|
-
billingInfo?:
|
|
54
|
+
billingInfo?: PartialSaleProcessBillingFirstAndLastNameDto;
|
|
54
55
|
customer?: PartialSaleProcessCustomerBaseWithoutTypeDto;
|
|
55
56
|
businessInfo?: PartialSaleProcessBillingInfoBaseWithIdentificationDto;
|
|
56
57
|
}
|
|
@@ -16,6 +16,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
16
16
|
const class_validator_1 = require("class-validator");
|
|
17
17
|
const class_transformer_1 = require("class-transformer");
|
|
18
18
|
const edge_zoho_1 = require("../../../common/edge-zoho");
|
|
19
|
+
const patch_1 = require("../../sale-process/patch");
|
|
19
20
|
class ApprovalDto {
|
|
20
21
|
id;
|
|
21
22
|
saleProcessId;
|
|
@@ -89,10 +90,10 @@ __decorate([
|
|
|
89
90
|
__decorate([
|
|
90
91
|
(0, class_validator_1.IsDefined)({ groups: ['person'] }),
|
|
91
92
|
(0, class_validator_1.ValidateNested)({ groups: ['person'] }),
|
|
92
|
-
(0, class_transformer_1.Type)(() =>
|
|
93
|
+
(0, class_transformer_1.Type)(() => patch_1.PartialSaleProcessBillingFirstAndLastNameDto),
|
|
93
94
|
(0, class_validator_1.IsOptional)({ groups: ['company'] }),
|
|
94
95
|
(0, class_transformer_1.Expose)(),
|
|
95
|
-
__metadata("design:type",
|
|
96
|
+
__metadata("design:type", patch_1.PartialSaleProcessBillingFirstAndLastNameDto)
|
|
96
97
|
], UpdateApprovalSaleProcessIbanValidationDto.prototype, "billingInfo", void 0);
|
|
97
98
|
__decorate([
|
|
98
99
|
(0, class_validator_1.IsDefined)({ groups: ['person'] }),
|
|
@@ -7,17 +7,18 @@ export declare enum GenericSaleProcessStatus {
|
|
|
7
7
|
COMPLETED = "completed",
|
|
8
8
|
CONTRACT_DATA_SAVED = "contract-data-saved",
|
|
9
9
|
CONTRACT_DATA_VALIDATED = "contract-data-validated",
|
|
10
|
+
CREDIT_SCORING = "credit-scoring",
|
|
10
11
|
CUSTOMER_ACCOUNT_ADDITIONAL_CONTACTS_HANDLED = "customer-account-additional-contacts-handled",
|
|
11
12
|
CUSTOMER_ACCOUNT_CREATED = "customer-account-created",
|
|
12
13
|
CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED = "customer-account-documents-handled",
|
|
13
14
|
CUSTOMER_ACCOUNT_UPDATED = "customer-account-updated",
|
|
14
15
|
CUSTOMER_TYPE_SELECTED = "customer-type-selected",
|
|
15
16
|
CUSTOMER_TYPE_VALIDATED = "customer-type-validated",
|
|
16
|
-
CREDIT_SCORING = "credit-scoring",
|
|
17
17
|
DEBT = "debt",
|
|
18
18
|
EXTRAS_SELECTED = "extras-selected",
|
|
19
19
|
FEATURES_SELECTED = "features-selected",
|
|
20
20
|
FRESH = "fresh",
|
|
21
|
+
IBAN_VALIDATION_FAILED = "iban-validation-failed",
|
|
21
22
|
NO_SALE = "no-sale",
|
|
22
23
|
PAYMENT_METHOD_CREATED = "payment-method-created",
|
|
23
24
|
PAYMENT_METHOD_UPDATED = "payment-method-updated",
|
|
@@ -11,17 +11,18 @@ var GenericSaleProcessStatus;
|
|
|
11
11
|
GenericSaleProcessStatus["COMPLETED"] = "completed";
|
|
12
12
|
GenericSaleProcessStatus["CONTRACT_DATA_SAVED"] = "contract-data-saved";
|
|
13
13
|
GenericSaleProcessStatus["CONTRACT_DATA_VALIDATED"] = "contract-data-validated";
|
|
14
|
+
GenericSaleProcessStatus["CREDIT_SCORING"] = "credit-scoring";
|
|
14
15
|
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_ADDITIONAL_CONTACTS_HANDLED"] = "customer-account-additional-contacts-handled";
|
|
15
16
|
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_CREATED"] = "customer-account-created";
|
|
16
17
|
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED"] = "customer-account-documents-handled";
|
|
17
18
|
GenericSaleProcessStatus["CUSTOMER_ACCOUNT_UPDATED"] = "customer-account-updated";
|
|
18
19
|
GenericSaleProcessStatus["CUSTOMER_TYPE_SELECTED"] = "customer-type-selected";
|
|
19
20
|
GenericSaleProcessStatus["CUSTOMER_TYPE_VALIDATED"] = "customer-type-validated";
|
|
20
|
-
GenericSaleProcessStatus["CREDIT_SCORING"] = "credit-scoring";
|
|
21
21
|
GenericSaleProcessStatus["DEBT"] = "debt";
|
|
22
22
|
GenericSaleProcessStatus["EXTRAS_SELECTED"] = "extras-selected";
|
|
23
23
|
GenericSaleProcessStatus["FEATURES_SELECTED"] = "features-selected";
|
|
24
24
|
GenericSaleProcessStatus["FRESH"] = "fresh";
|
|
25
|
+
GenericSaleProcessStatus["IBAN_VALIDATION_FAILED"] = "iban-validation-failed";
|
|
25
26
|
GenericSaleProcessStatus["NO_SALE"] = "no-sale";
|
|
26
27
|
GenericSaleProcessStatus["PAYMENT_METHOD_CREATED"] = "payment-method-created";
|
|
27
28
|
GenericSaleProcessStatus["PAYMENT_METHOD_UPDATED"] = "payment-method-updated";
|
|
@@ -4,5 +4,6 @@ export * from './contract-data-saved-digitel.entity';
|
|
|
4
4
|
export * from './contract-data-saved.entity';
|
|
5
5
|
export * from './customer-type-selected.entity';
|
|
6
6
|
export * from './customer-type-validated.entity';
|
|
7
|
-
export * from './shopping-cart-updated.entity';
|
|
8
7
|
export * from './patch-customer-account-behaviour.entity';
|
|
8
|
+
export * from './pending-iban-validation.entity';
|
|
9
|
+
export * from './shopping-cart-updated.entity';
|
|
@@ -20,5 +20,6 @@ __exportStar(require("./contract-data-saved-digitel.entity"), exports);
|
|
|
20
20
|
__exportStar(require("./contract-data-saved.entity"), exports);
|
|
21
21
|
__exportStar(require("./customer-type-selected.entity"), exports);
|
|
22
22
|
__exportStar(require("./customer-type-validated.entity"), exports);
|
|
23
|
-
__exportStar(require("./shopping-cart-updated.entity"), exports);
|
|
24
23
|
__exportStar(require("./patch-customer-account-behaviour.entity"), exports);
|
|
24
|
+
__exportStar(require("./pending-iban-validation.entity"), exports);
|
|
25
|
+
__exportStar(require("./shopping-cart-updated.entity"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GenericSaleProcessStatus } from '../constants';
|
|
2
|
+
import { PartialSaleProcessBillingFirstAndLastNameDto } from '../../sale-process/patch';
|
|
3
|
+
import { SaleProcessCompanyIdentificationDto, SaleProcessIndividualIdentificationDto } from '../../sale-process';
|
|
4
|
+
import { BpCustomerAccountIndividualTitleType } from '../../../bss/constants';
|
|
5
|
+
declare class PartialCustomerDto {
|
|
6
|
+
title?: BpCustomerAccountIndividualTitleType;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
identification: SaleProcessIndividualIdentificationDto;
|
|
10
|
+
}
|
|
11
|
+
declare class PartialIndividualBillingDto extends PartialSaleProcessBillingFirstAndLastNameDto {
|
|
12
|
+
iban: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class PatchGenericSaleProcessIndividualPendingIbanValidationDto {
|
|
15
|
+
status: GenericSaleProcessStatus;
|
|
16
|
+
customer: PartialCustomerDto;
|
|
17
|
+
billing: PartialIndividualBillingDto;
|
|
18
|
+
}
|
|
19
|
+
declare class PartialBusinessDto {
|
|
20
|
+
tradingName: string;
|
|
21
|
+
legalName: string;
|
|
22
|
+
identification: SaleProcessCompanyIdentificationDto;
|
|
23
|
+
}
|
|
24
|
+
declare class PartialCompanyBillingDto {
|
|
25
|
+
iban: string;
|
|
26
|
+
}
|
|
27
|
+
export declare class PatchGenericSaleProcessCompanyPendingIbanValidationDto {
|
|
28
|
+
status: GenericSaleProcessStatus;
|
|
29
|
+
business: PartialBusinessDto;
|
|
30
|
+
billing: PartialCompanyBillingDto;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,152 @@
|
|
|
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.PatchGenericSaleProcessCompanyPendingIbanValidationDto = exports.PatchGenericSaleProcessIndividualPendingIbanValidationDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const constants_1 = require("../constants");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const patch_1 = require("../../sale-process/patch");
|
|
18
|
+
const sale_process_1 = require("../../sale-process");
|
|
19
|
+
const _validators_1 = require("../../../validators/index");
|
|
20
|
+
const constants_2 = require("../../../bss/constants");
|
|
21
|
+
class PartialCustomerDto {
|
|
22
|
+
title;
|
|
23
|
+
firstName;
|
|
24
|
+
lastName;
|
|
25
|
+
identification;
|
|
26
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
27
|
+
return { title: { required: false, enum: require("../../../bss/constants/bp.constants").BpCustomerAccountIndividualTitleType }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, identification: { required: true, type: () => require("../../sale-process/identification.entity").SaleProcessIndividualIdentificationDto } };
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(constants_2.BpCustomerAccountIndividualTitleType, { groups: ['residentialOrBussinesWithValue'] }),
|
|
32
|
+
(0, class_validator_1.IsOptional)({ groups: ['bussinesWithoutValue'] }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], PartialCustomerDto.prototype, "title", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)({ always: true }),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)({ always: true }),
|
|
38
|
+
(0, _validators_1.IsNotBlank)({ always: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], PartialCustomerDto.prototype, "firstName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)({ always: true }),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)({ always: true }),
|
|
44
|
+
(0, _validators_1.IsNotBlank)({ always: true }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], PartialCustomerDto.prototype, "lastName", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsDefined)({ always: true }),
|
|
49
|
+
(0, class_validator_1.ValidateNested)({ always: true }),
|
|
50
|
+
(0, class_transformer_1.Type)(() => sale_process_1.SaleProcessIndividualIdentificationDto),
|
|
51
|
+
__metadata("design:type", sale_process_1.SaleProcessIndividualIdentificationDto)
|
|
52
|
+
], PartialCustomerDto.prototype, "identification", void 0);
|
|
53
|
+
class PartialIndividualBillingDto extends patch_1.PartialSaleProcessBillingFirstAndLastNameDto {
|
|
54
|
+
iban;
|
|
55
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
56
|
+
return { iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" } };
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsString)(),
|
|
61
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
62
|
+
(0, class_validator_1.Matches)(/^[A-Za-z0-9]+$/),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], PartialIndividualBillingDto.prototype, "iban", void 0);
|
|
65
|
+
class PatchGenericSaleProcessIndividualPendingIbanValidationDto {
|
|
66
|
+
status;
|
|
67
|
+
customer;
|
|
68
|
+
billing;
|
|
69
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
70
|
+
return { status: { required: true, enum: require("../constants").GenericSaleProcessStatus }, customer: { required: true, type: () => PartialCustomerDto }, billing: { required: true, type: () => PartialIndividualBillingDto } };
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.PatchGenericSaleProcessIndividualPendingIbanValidationDto = PatchGenericSaleProcessIndividualPendingIbanValidationDto;
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsEnum)(constants_1.GenericSaleProcessStatus),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], PatchGenericSaleProcessIndividualPendingIbanValidationDto.prototype, "status", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsDefined)(),
|
|
80
|
+
(0, class_validator_1.ValidateNested)(),
|
|
81
|
+
(0, class_transformer_1.Type)(() => PartialCustomerDto),
|
|
82
|
+
__metadata("design:type", PartialCustomerDto)
|
|
83
|
+
], PatchGenericSaleProcessIndividualPendingIbanValidationDto.prototype, "customer", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsDefined)(),
|
|
86
|
+
(0, class_validator_1.ValidateNested)(),
|
|
87
|
+
(0, class_transformer_1.Type)(() => PartialIndividualBillingDto),
|
|
88
|
+
__metadata("design:type", PartialIndividualBillingDto)
|
|
89
|
+
], PatchGenericSaleProcessIndividualPendingIbanValidationDto.prototype, "billing", void 0);
|
|
90
|
+
class PartialBusinessDto {
|
|
91
|
+
tradingName;
|
|
92
|
+
legalName;
|
|
93
|
+
identification;
|
|
94
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
95
|
+
return { tradingName: { required: true, type: () => String }, legalName: { required: true, type: () => String }, identification: { required: true, type: () => require("../../sale-process/identification.entity").SaleProcessCompanyIdentificationDto } };
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
101
|
+
(0, _validators_1.IsNotBlank)(),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], PartialBusinessDto.prototype, "tradingName", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.IsString)(),
|
|
106
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
107
|
+
(0, _validators_1.IsNotBlank)(),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], PartialBusinessDto.prototype, "legalName", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsDefined)(),
|
|
112
|
+
(0, class_validator_1.ValidateNested)(),
|
|
113
|
+
(0, class_transformer_1.Type)(() => sale_process_1.SaleProcessCompanyIdentificationDto),
|
|
114
|
+
__metadata("design:type", sale_process_1.SaleProcessCompanyIdentificationDto)
|
|
115
|
+
], PartialBusinessDto.prototype, "identification", void 0);
|
|
116
|
+
class PartialCompanyBillingDto {
|
|
117
|
+
iban;
|
|
118
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
119
|
+
return { iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" } };
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
125
|
+
(0, class_validator_1.Matches)(/^[A-Za-z0-9]+$/),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], PartialCompanyBillingDto.prototype, "iban", void 0);
|
|
128
|
+
class PatchGenericSaleProcessCompanyPendingIbanValidationDto {
|
|
129
|
+
status;
|
|
130
|
+
business;
|
|
131
|
+
billing;
|
|
132
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
133
|
+
return { status: { required: true, enum: require("../constants").GenericSaleProcessStatus }, business: { required: true, type: () => PartialBusinessDto }, billing: { required: true, type: () => PartialCompanyBillingDto } };
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.PatchGenericSaleProcessCompanyPendingIbanValidationDto = PatchGenericSaleProcessCompanyPendingIbanValidationDto;
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_validator_1.IsEnum)(constants_1.GenericSaleProcessStatus),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], PatchGenericSaleProcessCompanyPendingIbanValidationDto.prototype, "status", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, class_validator_1.IsDefined)(),
|
|
143
|
+
(0, class_validator_1.ValidateNested)(),
|
|
144
|
+
(0, class_transformer_1.Type)(() => PartialBusinessDto),
|
|
145
|
+
__metadata("design:type", PartialBusinessDto)
|
|
146
|
+
], PatchGenericSaleProcessCompanyPendingIbanValidationDto.prototype, "business", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, class_validator_1.IsDefined)(),
|
|
149
|
+
(0, class_validator_1.ValidateNested)(),
|
|
150
|
+
(0, class_transformer_1.Type)(() => PartialCompanyBillingDto),
|
|
151
|
+
__metadata("design:type", PartialCompanyBillingDto)
|
|
152
|
+
], PatchGenericSaleProcessCompanyPendingIbanValidationDto.prototype, "billing", void 0);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SaleProcessApprovalValidation } from '../constants';
|
|
2
|
+
import { SaleProcessIndividualIdentificationDto } from './identification.entity';
|
|
3
|
+
export declare class CreateApprovalDataBaseDto {
|
|
4
|
+
validation: SaleProcessApprovalValidation;
|
|
5
|
+
}
|
|
6
|
+
export type CreateApprovalDataBase = CreateApprovalDataBaseDto | any;
|
|
7
|
+
export declare class CreateSaleProcessApprovalDto {
|
|
8
|
+
data: CreateApprovalDataBaseDto[];
|
|
9
|
+
}
|
|
10
|
+
export declare class CreateApprovalDataIbanValidationRejectedBillingDto {
|
|
11
|
+
firstName: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
identification: SaleProcessIndividualIdentificationDto;
|
|
14
|
+
}
|
|
15
|
+
export declare class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
|
|
16
|
+
billing: CreateApprovalDataIbanValidationRejectedBillingDto;
|
|
17
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.CreateApprovalDataIbanValidationRejectedDto = exports.CreateApprovalDataIbanValidationRejectedBillingDto = exports.CreateSaleProcessApprovalDto = exports.CreateApprovalDataBaseDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const constants_1 = require("../constants");
|
|
15
|
+
const _validators_1 = require("../../validators/index");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const identification_entity_1 = require("./identification.entity");
|
|
19
|
+
class CreateApprovalDataBaseDto {
|
|
20
|
+
validation;
|
|
21
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
22
|
+
return { validation: { required: true, enum: require("../constants/sys03.constants").SaleProcessApprovalValidation } };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.CreateApprovalDataBaseDto = CreateApprovalDataBaseDto;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsEnum)(constants_1.SaleProcessApprovalValidation),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateApprovalDataBaseDto.prototype, "validation", void 0);
|
|
31
|
+
class CreateSaleProcessApprovalDto {
|
|
32
|
+
data;
|
|
33
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
34
|
+
return { data: { required: true, type: () => [require("./approval.entity").CreateApprovalDataBaseDto], minItems: 1 } };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.CreateSaleProcessApprovalDto = CreateSaleProcessApprovalDto;
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsDefined)(),
|
|
40
|
+
(0, class_validator_1.IsArray)(),
|
|
41
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
42
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
43
|
+
(0, class_transformer_1.Type)(() => CreateApprovalDataBaseDto),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], CreateSaleProcessApprovalDto.prototype, "data", void 0);
|
|
47
|
+
class CreateApprovalDataIbanValidationRejectedBillingDto {
|
|
48
|
+
firstName;
|
|
49
|
+
lastName;
|
|
50
|
+
identification;
|
|
51
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
52
|
+
return { firstName: { required: true, type: () => String, maxLength: 64 }, lastName: { required: true, type: () => String, maxLength: 64 }, identification: { required: true, type: () => require("./identification.entity").SaleProcessIndividualIdentificationDto } };
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.CreateApprovalDataIbanValidationRejectedBillingDto = CreateApprovalDataIbanValidationRejectedBillingDto;
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
59
|
+
(0, _validators_1.IsNotBlank)(),
|
|
60
|
+
(0, class_validator_1.MaxLength)(64),
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "firstName", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsString)(),
|
|
66
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
67
|
+
(0, _validators_1.IsNotBlank)(),
|
|
68
|
+
(0, class_validator_1.MaxLength)(64),
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "lastName", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsDefined)(),
|
|
74
|
+
(0, class_validator_1.ValidateNested)(),
|
|
75
|
+
(0, class_transformer_1.Type)(() => identification_entity_1.SaleProcessIndividualIdentificationDto),
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
__metadata("design:type", identification_entity_1.SaleProcessIndividualIdentificationDto)
|
|
78
|
+
], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "identification", void 0);
|
|
79
|
+
class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
|
|
80
|
+
billing;
|
|
81
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
82
|
+
return { billing: { required: true, type: () => require("./approval.entity").CreateApprovalDataIbanValidationRejectedBillingDto } };
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.CreateApprovalDataIbanValidationRejectedDto = CreateApprovalDataIbanValidationRejectedDto;
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsDefined)(),
|
|
88
|
+
(0, class_validator_1.ValidateNested)(),
|
|
89
|
+
(0, class_transformer_1.Type)(() => CreateApprovalDataIbanValidationRejectedBillingDto),
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", CreateApprovalDataIbanValidationRejectedBillingDto)
|
|
92
|
+
], CreateApprovalDataIbanValidationRejectedDto.prototype, "billing", void 0);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './internal/internal.entity';
|
|
2
|
+
export * from './approval.entity';
|
|
3
|
+
export * from './credit-bureau-validation.entity';
|
|
2
4
|
export * from './identification.entity';
|
|
3
|
-
export * from './sale-process.consent-data.entity';
|
|
4
5
|
export * from './constants';
|
|
5
|
-
export * from './
|
|
6
|
+
export * from './sale-process.consent-data.entity';
|
|
6
7
|
export * from './sale-process.entity';
|
|
7
8
|
export * from './sale-process.file.entity';
|
|
8
9
|
export * from './sale-process.sign-flow.entity';
|
|
@@ -15,10 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./internal/internal.entity"), exports);
|
|
18
|
+
__exportStar(require("./approval.entity"), exports);
|
|
19
|
+
__exportStar(require("./credit-bureau-validation.entity"), exports);
|
|
18
20
|
__exportStar(require("./identification.entity"), exports);
|
|
19
|
-
__exportStar(require("./sale-process.consent-data.entity"), exports);
|
|
20
21
|
__exportStar(require("./constants"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./sale-process.consent-data.entity"), exports);
|
|
22
23
|
__exportStar(require("./sale-process.entity"), exports);
|
|
23
24
|
__exportStar(require("./sale-process.file.entity"), exports);
|
|
24
25
|
__exportStar(require("./sale-process.sign-flow.entity"), exports);
|
|
@@ -5,3 +5,7 @@ export declare class PartialCustomerDto {
|
|
|
5
5
|
export declare class PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto {
|
|
6
6
|
customer: PartialCustomerDto;
|
|
7
7
|
}
|
|
8
|
+
export declare class PartialSaleProcessBillingFirstAndLastNameDto {
|
|
9
|
+
firstName: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
}
|
|
@@ -9,11 +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.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = exports.PartialCustomerDto = void 0;
|
|
12
|
+
exports.PartialSaleProcessBillingFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = exports.PartialCustomerDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const identification_entity_1 = require("../identification.entity");
|
|
17
|
+
const _validators_1 = require("../../../validators/index");
|
|
17
18
|
class PartialCustomerDto {
|
|
18
19
|
identification;
|
|
19
20
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -40,3 +41,27 @@ __decorate([
|
|
|
40
41
|
(0, class_transformer_1.Type)(() => PartialCustomerDto),
|
|
41
42
|
__metadata("design:type", PartialCustomerDto)
|
|
42
43
|
], PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto.prototype, "customer", void 0);
|
|
44
|
+
class PartialSaleProcessBillingFirstAndLastNameDto {
|
|
45
|
+
firstName;
|
|
46
|
+
lastName;
|
|
47
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
48
|
+
return { firstName: { required: true, type: () => String, maxLength: 64 }, lastName: { required: true, type: () => String, maxLength: 64 } };
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.PartialSaleProcessBillingFirstAndLastNameDto = PartialSaleProcessBillingFirstAndLastNameDto;
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
55
|
+
(0, _validators_1.IsNotBlank)(),
|
|
56
|
+
(0, class_validator_1.MaxLength)(64),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], PartialSaleProcessBillingFirstAndLastNameDto.prototype, "firstName", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, _validators_1.IsNotBlank)(),
|
|
64
|
+
(0, class_validator_1.MaxLength)(64),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], PartialSaleProcessBillingFirstAndLastNameDto.prototype, "lastName", void 0);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { SaleProcessApprovalValidation } from '../constants';
|
|
2
1
|
import { PaginationQueryDto } from '../../common/common.entity';
|
|
3
2
|
import { CustomerType } from '../../common/constants';
|
|
4
|
-
import { SaleProcessIndividualIdentificationDto } from './identification.entity';
|
|
5
3
|
export declare class CreateSaleProcessDto {
|
|
6
4
|
name: string;
|
|
7
5
|
phone: string;
|
|
@@ -32,21 +30,6 @@ export declare class SaleProcessFiltersQueryDto extends PaginationQueryDto {
|
|
|
32
30
|
customerId?: string;
|
|
33
31
|
identificationNumber?: string;
|
|
34
32
|
}
|
|
35
|
-
export declare class CreateApprovalDataBaseDto {
|
|
36
|
-
validation: SaleProcessApprovalValidation;
|
|
37
|
-
}
|
|
38
|
-
export declare class CreateApprovalDataIbanValidationRejectedBillingDto {
|
|
39
|
-
firstName: string;
|
|
40
|
-
lastName: string;
|
|
41
|
-
identification: SaleProcessIndividualIdentificationDto;
|
|
42
|
-
}
|
|
43
|
-
export declare class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
|
|
44
|
-
billing: CreateApprovalDataIbanValidationRejectedBillingDto;
|
|
45
|
-
}
|
|
46
|
-
export type CreateApprovalDataBase = CreateApprovalDataBaseDto | any;
|
|
47
|
-
export declare class CreateSaleProcessApprovalDto {
|
|
48
|
-
data: CreateApprovalDataBaseDto[];
|
|
49
|
-
}
|
|
50
33
|
export declare class SaleProcessCacheJobRetryDto {
|
|
51
34
|
retries: number;
|
|
52
35
|
firstRetryDate: string;
|