adamo-types 2.1.46-sit → 2.1.47-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/sys03/approval/data.entity.d.ts +63 -0
- package/dist/sys03/approval/data.entity.js +141 -0
- package/dist/sys03/approval/entity.d.ts +60 -0
- package/dist/sys03/approval/entity.js +199 -0
- package/dist/sys03/approval/generic/entity.d.ts +31 -0
- package/dist/sys03/approval/generic/entity.js +41 -0
- package/dist/sys03/approval/generic/index.d.ts +1 -0
- package/dist/sys03/approval/generic/index.js +17 -0
- package/dist/sys03/approval/index.d.ts +5 -1
- package/dist/sys03/approval/index.js +5 -1
- package/dist/sys03/approval/main/entity.d.ts +57 -0
- package/dist/sys03/approval/main/entity.js +112 -0
- package/dist/sys03/approval/main/index.d.ts +1 -0
- package/dist/sys03/approval/main/index.js +17 -0
- package/dist/sys03/approval/validation-data.entity.d.ts +22 -0
- package/dist/sys03/approval/validation-data.entity.js +49 -0
- package/dist/sys03/customer-handover-process/customer-handover-process.entity.d.ts +2 -2
- package/dist/sys03/generic-sale-process/constants.d.ts +1 -0
- package/dist/sys03/generic-sale-process/constants.js +1 -0
- package/dist/sys03/generic-sale-process/entity.d.ts +5 -3
- package/dist/sys03/generic-sale-process/entity.js +7 -4
- package/dist/sys03/sale-process/sale-process.entity.d.ts +2 -2
- package/dist/sys03/sale-process/sale-process.entity.js +4 -4
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/sys03/approval/approval.entity.d.ts +0 -179
- package/dist/sys03/approval/approval.entity.js +0 -504
|
@@ -0,0 +1,112 @@
|
|
|
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.UpdateApprovalSaleProcessIbanValidationDto = exports.UpdateApprovalSaleProcessDto = exports.ApprovalWithGroupsDto = exports.UpdateApprovalDto = exports.UpdateApprovalCustomerDto = exports.PartialCreateApprovalDto = exports.CreateApprovalDto = exports.ApprovalDto = void 0;
|
|
13
|
+
const constants_1 = require("../../constants");
|
|
14
|
+
const entity_1 = require("../entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const class_transformer_1 = require("class-transformer");
|
|
18
|
+
const edge_zoho_1 = require("../../../common/edge-zoho");
|
|
19
|
+
class ApprovalDto {
|
|
20
|
+
id;
|
|
21
|
+
saleProcessId;
|
|
22
|
+
saleProcessIbanValidationId;
|
|
23
|
+
data;
|
|
24
|
+
validationData;
|
|
25
|
+
validations;
|
|
26
|
+
owner;
|
|
27
|
+
channel;
|
|
28
|
+
apartmentId;
|
|
29
|
+
customer;
|
|
30
|
+
billing;
|
|
31
|
+
business;
|
|
32
|
+
shoppingCartId;
|
|
33
|
+
shoppingCartPhones;
|
|
34
|
+
created;
|
|
35
|
+
updated;
|
|
36
|
+
approved;
|
|
37
|
+
}
|
|
38
|
+
exports.ApprovalDto = ApprovalDto;
|
|
39
|
+
class CreateApprovalDto extends (0, swagger_1.OmitType)(ApprovalDto, ['id', 'data', 'approved', 'updated']) {
|
|
40
|
+
}
|
|
41
|
+
exports.CreateApprovalDto = CreateApprovalDto;
|
|
42
|
+
class PartialCreateApprovalDto extends (0, swagger_1.OmitType)(CreateApprovalDto, ['created']) {
|
|
43
|
+
}
|
|
44
|
+
exports.PartialCreateApprovalDto = PartialCreateApprovalDto;
|
|
45
|
+
class UpdateApprovalCustomerDto extends (0, swagger_1.PartialType)((0, swagger_1.PickType)(entity_1.ApprovalCustomerDto, ['title', 'firstName', 'lastName', 'identification', 'phones'])) {
|
|
46
|
+
}
|
|
47
|
+
exports.UpdateApprovalCustomerDto = UpdateApprovalCustomerDto;
|
|
48
|
+
class UpdateApprovalDto extends (0, swagger_1.PartialType)((0, swagger_1.PickType)(ApprovalDto, ['validations', 'approved', 'updated'])) {
|
|
49
|
+
customer;
|
|
50
|
+
billing;
|
|
51
|
+
business;
|
|
52
|
+
saleProcess;
|
|
53
|
+
data;
|
|
54
|
+
}
|
|
55
|
+
exports.UpdateApprovalDto = UpdateApprovalDto;
|
|
56
|
+
class ApprovalWithGroupsDto extends ApprovalDto {
|
|
57
|
+
groups;
|
|
58
|
+
}
|
|
59
|
+
exports.ApprovalWithGroupsDto = ApprovalWithGroupsDto;
|
|
60
|
+
class UpdateApprovalSaleProcessDto {
|
|
61
|
+
validation;
|
|
62
|
+
saleProcess;
|
|
63
|
+
}
|
|
64
|
+
exports.UpdateApprovalSaleProcessDto = UpdateApprovalSaleProcessDto;
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsEnum)(constants_1.SaleProcessApprovalValidation),
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], UpdateApprovalSaleProcessDto.prototype, "validation", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsDefined)(),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", Object)
|
|
74
|
+
], UpdateApprovalSaleProcessDto.prototype, "saleProcess", void 0);
|
|
75
|
+
class UpdateApprovalSaleProcessIbanValidationDto {
|
|
76
|
+
iban;
|
|
77
|
+
billingInfo;
|
|
78
|
+
customer;
|
|
79
|
+
businessInfo;
|
|
80
|
+
}
|
|
81
|
+
exports.UpdateApprovalSaleProcessIbanValidationDto = UpdateApprovalSaleProcessIbanValidationDto;
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsString)(),
|
|
84
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
85
|
+
(0, class_validator_1.Matches)(/^[A-Za-z0-9]+$/),
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], UpdateApprovalSaleProcessIbanValidationDto.prototype, "iban", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsDefined)({ groups: ['person'] }),
|
|
91
|
+
(0, class_validator_1.ValidateNested)({ groups: ['person'] }),
|
|
92
|
+
(0, class_transformer_1.Type)(() => edge_zoho_1.PartialSaleProcessBillingInfoFirstAndLastNameDto),
|
|
93
|
+
(0, class_validator_1.IsOptional)({ groups: ['company'] }),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", edge_zoho_1.PartialSaleProcessBillingInfoFirstAndLastNameDto)
|
|
96
|
+
], UpdateApprovalSaleProcessIbanValidationDto.prototype, "billingInfo", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsDefined)({ groups: ['person'] }),
|
|
99
|
+
(0, class_validator_1.ValidateNested)({ groups: ['person'] }),
|
|
100
|
+
(0, class_transformer_1.Type)(() => edge_zoho_1.PartialSaleProcessCustomerBaseWithoutTypeDto),
|
|
101
|
+
(0, class_validator_1.IsOptional)({ groups: ['company'] }),
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", edge_zoho_1.PartialSaleProcessCustomerBaseWithoutTypeDto)
|
|
104
|
+
], UpdateApprovalSaleProcessIbanValidationDto.prototype, "customer", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_validator_1.IsDefined)({ groups: ['company'] }),
|
|
107
|
+
(0, class_validator_1.ValidateNested)({ groups: ['company'] }),
|
|
108
|
+
(0, class_transformer_1.Type)(() => edge_zoho_1.PartialSaleProcessBillingInfoBaseWithIdentificationDto),
|
|
109
|
+
(0, class_validator_1.IsOptional)({ groups: ['person'] }),
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
__metadata("design:type", edge_zoho_1.PartialSaleProcessBillingInfoBaseWithIdentificationDto)
|
|
112
|
+
], UpdateApprovalSaleProcessIbanValidationDto.prototype, "businessInfo", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entity"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Builder } from '../../common/helpers/helpers';
|
|
2
|
+
import { AuditFieldsDto } from '../common';
|
|
3
|
+
import { SaleProcessApprovalValidation } from '../constants';
|
|
4
|
+
import { PatchApprovalDataDto } from './data.entity';
|
|
5
|
+
export declare class ApprovalValidationDataDto {
|
|
6
|
+
id: number;
|
|
7
|
+
approvalId: number;
|
|
8
|
+
validation: SaleProcessApprovalValidation;
|
|
9
|
+
approved: boolean;
|
|
10
|
+
created: AuditFieldsDto;
|
|
11
|
+
updated?: AuditFieldsDto;
|
|
12
|
+
}
|
|
13
|
+
export declare class ApprovalValidationDataDtoBuilder extends Builder<ApprovalValidationDataDto> {
|
|
14
|
+
setDefaults(): ApprovalValidationDataDto;
|
|
15
|
+
}
|
|
16
|
+
declare const CreateApprovalValidationDataDto_base: import("@nestjs/common").Type<Omit<ApprovalValidationDataDto, "id">>;
|
|
17
|
+
export declare class CreateApprovalValidationDataDto extends CreateApprovalValidationDataDto_base {
|
|
18
|
+
}
|
|
19
|
+
declare const PatchApprovalValidationDataDto_base: import("@nestjs/common").Type<Omit<PatchApprovalDataDto, "notes">>;
|
|
20
|
+
export declare class PatchApprovalValidationDataDto extends PatchApprovalValidationDataDto_base {
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PatchApprovalValidationDataDto = exports.CreateApprovalValidationDataDto = exports.ApprovalValidationDataDtoBuilder = exports.ApprovalValidationDataDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
const helpers_1 = require("../../common/helpers/helpers");
|
|
6
|
+
const faker_1 = require("@faker-js/faker");
|
|
7
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
8
|
+
const common_1 = require("../common");
|
|
9
|
+
const constants_1 = require("../constants");
|
|
10
|
+
const data_entity_1 = require("./data.entity");
|
|
11
|
+
class ApprovalValidationDataDto {
|
|
12
|
+
id;
|
|
13
|
+
approvalId;
|
|
14
|
+
validation;
|
|
15
|
+
approved;
|
|
16
|
+
created;
|
|
17
|
+
updated;
|
|
18
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
+
return { id: { required: true, type: () => Number }, approvalId: { required: true, type: () => Number }, validation: { required: true, enum: require("../constants/sys03.constants").SaleProcessApprovalValidation }, approved: { required: true, type: () => Boolean }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto }, updated: { required: false, type: () => require("../common/common.entity").AuditFieldsDto } };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ApprovalValidationDataDto = ApprovalValidationDataDto;
|
|
23
|
+
class ApprovalValidationDataDtoBuilder extends helpers_1.Builder {
|
|
24
|
+
setDefaults() {
|
|
25
|
+
return {
|
|
26
|
+
id: faker_1.faker.number.int(),
|
|
27
|
+
approvalId: faker_1.faker.number.int(),
|
|
28
|
+
validation: faker_1.faker.helpers.enumValue(constants_1.SaleProcessApprovalValidation),
|
|
29
|
+
approved: undefined,
|
|
30
|
+
created: new common_1.AuditFieldsDtoBuilder().build()
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ApprovalValidationDataDtoBuilder = ApprovalValidationDataDtoBuilder;
|
|
38
|
+
class CreateApprovalValidationDataDto extends (0, swagger_1.OmitType)(ApprovalValidationDataDto, ['id']) {
|
|
39
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
40
|
+
return {};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.CreateApprovalValidationDataDto = CreateApprovalValidationDataDto;
|
|
44
|
+
class PatchApprovalValidationDataDto extends (0, swagger_1.OmitType)(data_entity_1.PatchApprovalDataDto, ['notes']) {
|
|
45
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
46
|
+
return {};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.PatchApprovalValidationDataDto = PatchApprovalValidationDataDto;
|
|
@@ -89,7 +89,7 @@ export declare class CustomerHandoverProcessBillingDto {
|
|
|
89
89
|
declare const CreateCustomerHandoverProcessBillingDto_base: import("@nestjs/common").Type<Pick<CustomerHandoverProcessBillingDto, "firstName" | "lastName" | "paymentMethod">>;
|
|
90
90
|
export declare class CreateCustomerHandoverProcessBillingDto extends CreateCustomerHandoverProcessBillingDto_base {
|
|
91
91
|
}
|
|
92
|
-
declare const UpdateCustomerHandoverProcessBillingDto_base: import("@nestjs/common").Type<Pick<CustomerHandoverProcessBillingDto, "firstName" | "lastName" | "iban" | "deliveryMethod" | "
|
|
92
|
+
declare const UpdateCustomerHandoverProcessBillingDto_base: import("@nestjs/common").Type<Pick<CustomerHandoverProcessBillingDto, "firstName" | "lastName" | "iban" | "deliveryMethod" | "addressId" | "cycle">>;
|
|
93
93
|
export declare class UpdateCustomerHandoverProcessBillingDto extends UpdateCustomerHandoverProcessBillingDto_base {
|
|
94
94
|
}
|
|
95
95
|
export declare class PatchCustomerHandoverProcessBillingReqDto {
|
|
@@ -130,7 +130,7 @@ export declare class CustomerHandoverProcessDto {
|
|
|
130
130
|
created?: ProcessAuditFieldsDto;
|
|
131
131
|
updated?: AuditFieldsDto;
|
|
132
132
|
}
|
|
133
|
-
declare const CreateCustomerHandoverProcessDto_base: import("@nestjs/common").Type<Omit<CustomerHandoverProcessDto, "notes" | "id" | "updated" | "data" | "billing" | "additionalContacts" | "
|
|
133
|
+
declare const CreateCustomerHandoverProcessDto_base: import("@nestjs/common").Type<Omit<CustomerHandoverProcessDto, "notes" | "id" | "updated" | "data" | "billing" | "additionalContacts" | "files" | "activeCustomerId" | "activeCustomerBehaviour" | "handoverCustomerId">>;
|
|
134
134
|
export declare class CreateCustomerHandoverProcessDto extends CreateCustomerHandoverProcessDto_base {
|
|
135
135
|
billing?: CreateCustomerHandoverProcessBillingDto;
|
|
136
136
|
}
|
|
@@ -21,6 +21,7 @@ export declare enum GenericSaleProcessStatus {
|
|
|
21
21
|
NO_SALE = "no-sale",
|
|
22
22
|
PAYMENT_METHOD_CREATED = "payment-method-created",
|
|
23
23
|
PAYMENT_METHOD_UPDATED = "payment-method-updated",
|
|
24
|
+
PENDING_APPROVAL = "pending-approval",
|
|
24
25
|
PENDING_IBAN_VALIDATION = "pending-iban-validation",
|
|
25
26
|
SHOPPING_CART_CONFIGURED = "shopping-cart-configured",
|
|
26
27
|
SHOPPING_CART_SAVED = "shopping-cart-saved"
|
|
@@ -25,6 +25,7 @@ var GenericSaleProcessStatus;
|
|
|
25
25
|
GenericSaleProcessStatus["NO_SALE"] = "no-sale";
|
|
26
26
|
GenericSaleProcessStatus["PAYMENT_METHOD_CREATED"] = "payment-method-created";
|
|
27
27
|
GenericSaleProcessStatus["PAYMENT_METHOD_UPDATED"] = "payment-method-updated";
|
|
28
|
+
GenericSaleProcessStatus["PENDING_APPROVAL"] = "pending-approval";
|
|
28
29
|
GenericSaleProcessStatus["PENDING_IBAN_VALIDATION"] = "pending-iban-validation";
|
|
29
30
|
GenericSaleProcessStatus["SHOPPING_CART_CONFIGURED"] = "shopping-cart-configured";
|
|
30
31
|
GenericSaleProcessStatus["SHOPPING_CART_SAVED"] = "shopping-cart-saved";
|
|
@@ -6,9 +6,7 @@ import { BpCustomerAccountIndividualTitleType, BpCustomerAccountPreferredContact
|
|
|
6
6
|
import { GenericSaleProcessFileDto } from './file.entity';
|
|
7
7
|
import { GenericSaleProcessAdditionalContactDto } from './additional-contact.entity';
|
|
8
8
|
import { CreateCustomerAccountAddressDto, CustomerAccountAddressDto } from '../customer';
|
|
9
|
-
export declare class
|
|
10
|
-
search: string;
|
|
11
|
-
googlePrediction: string;
|
|
9
|
+
export declare class GenericSaleProcessCoverageApartmentDto {
|
|
12
10
|
streetType: string;
|
|
13
11
|
streetName: string;
|
|
14
12
|
streetNumber: string;
|
|
@@ -20,6 +18,10 @@ export declare class GenericSaleProcessCoverageDto {
|
|
|
20
18
|
zip: string;
|
|
21
19
|
city: string;
|
|
22
20
|
}
|
|
21
|
+
export declare class GenericSaleProcessCoverageDto extends GenericSaleProcessCoverageApartmentDto {
|
|
22
|
+
search: string;
|
|
23
|
+
googlePrediction: string;
|
|
24
|
+
}
|
|
23
25
|
export declare class GenericSaleProcessCustomerDto {
|
|
24
26
|
title?: BpCustomerAccountIndividualTitleType;
|
|
25
27
|
firstName: string;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateGenericSaleProcessDto = exports.GenericSaleProcessDto = exports.CreateGenericSaleProcessBillingDto = exports.GenericSaleProcessBillingDto = exports.GenericSaleProcessBusinessDto = exports.CreateGenericSaleProcessCustomerDto = exports.GenericSaleProcessCustomerDto = exports.GenericSaleProcessCoverageDto = void 0;
|
|
3
|
+
exports.CreateGenericSaleProcessDto = exports.GenericSaleProcessDto = exports.CreateGenericSaleProcessBillingDto = exports.GenericSaleProcessBillingDto = exports.GenericSaleProcessBusinessDto = exports.CreateGenericSaleProcessCustomerDto = exports.GenericSaleProcessCustomerDto = exports.GenericSaleProcessCoverageDto = exports.GenericSaleProcessCoverageApartmentDto = void 0;
|
|
4
4
|
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
-
class
|
|
6
|
-
search;
|
|
7
|
-
googlePrediction;
|
|
5
|
+
class GenericSaleProcessCoverageApartmentDto {
|
|
8
6
|
streetType;
|
|
9
7
|
streetName;
|
|
10
8
|
streetNumber;
|
|
@@ -16,6 +14,11 @@ class GenericSaleProcessCoverageDto {
|
|
|
16
14
|
zip;
|
|
17
15
|
city;
|
|
18
16
|
}
|
|
17
|
+
exports.GenericSaleProcessCoverageApartmentDto = GenericSaleProcessCoverageApartmentDto;
|
|
18
|
+
class GenericSaleProcessCoverageDto extends GenericSaleProcessCoverageApartmentDto {
|
|
19
|
+
search;
|
|
20
|
+
googlePrediction;
|
|
21
|
+
}
|
|
19
22
|
exports.GenericSaleProcessCoverageDto = GenericSaleProcessCoverageDto;
|
|
20
23
|
class GenericSaleProcessCustomerDto {
|
|
21
24
|
title;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SaleProcessApprovalValidation } from '../constants';
|
|
2
|
-
import { ApprovalIndividualIdentificationDto } from '../approval';
|
|
3
2
|
import { PaginationQueryDto } from '../../common/common.entity';
|
|
4
3
|
import { CustomerType } from '../../common/constants';
|
|
4
|
+
import { SaleProcessIndividualIdentificationDto } from './identification.entity';
|
|
5
5
|
export declare class CreateSaleProcessDto {
|
|
6
6
|
name: string;
|
|
7
7
|
phone: string;
|
|
@@ -38,7 +38,7 @@ export declare class CreateApprovalDataBaseDto {
|
|
|
38
38
|
export declare class CreateApprovalDataIbanValidationRejectedBillingDto {
|
|
39
39
|
firstName: string;
|
|
40
40
|
lastName: string;
|
|
41
|
-
identification:
|
|
41
|
+
identification: SaleProcessIndividualIdentificationDto;
|
|
42
42
|
}
|
|
43
43
|
export declare class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
|
|
44
44
|
billing: CreateApprovalDataIbanValidationRejectedBillingDto;
|
|
@@ -15,9 +15,9 @@ const class_validator_1 = require("class-validator");
|
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
16
|
const constants_1 = require("../constants");
|
|
17
17
|
const _validators_1 = require("../../validators/index");
|
|
18
|
-
const approval_1 = require("../approval");
|
|
19
18
|
const common_entity_1 = require("../../common/common.entity");
|
|
20
19
|
const constants_2 = require("../../common/constants");
|
|
20
|
+
const identification_entity_1 = require("./identification.entity");
|
|
21
21
|
class CreateSaleProcessDto {
|
|
22
22
|
name;
|
|
23
23
|
phone;
|
|
@@ -164,7 +164,7 @@ class CreateApprovalDataIbanValidationRejectedBillingDto {
|
|
|
164
164
|
lastName;
|
|
165
165
|
identification;
|
|
166
166
|
static _OPENAPI_METADATA_FACTORY() {
|
|
167
|
-
return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, identification: { required: true, type: () => require("
|
|
167
|
+
return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, identification: { required: true, type: () => require("./identification.entity").SaleProcessIndividualIdentificationDto } };
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
exports.CreateApprovalDataIbanValidationRejectedBillingDto = CreateApprovalDataIbanValidationRejectedBillingDto;
|
|
@@ -185,9 +185,9 @@ __decorate([
|
|
|
185
185
|
__decorate([
|
|
186
186
|
(0, class_validator_1.IsDefined)(),
|
|
187
187
|
(0, class_validator_1.ValidateNested)(),
|
|
188
|
-
(0, class_transformer_1.Type)(() =>
|
|
188
|
+
(0, class_transformer_1.Type)(() => identification_entity_1.SaleProcessIndividualIdentificationDto),
|
|
189
189
|
(0, class_transformer_1.Expose)(),
|
|
190
|
-
__metadata("design:type",
|
|
190
|
+
__metadata("design:type", identification_entity_1.SaleProcessIndividualIdentificationDto)
|
|
191
191
|
], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "identification", void 0);
|
|
192
192
|
class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
|
|
193
193
|
billing;
|