adamo-types 2.0.84-sit → 2.0.85-sit
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/constants/common.error.constants.d.ts +1 -0
- package/dist/common/constants/common.error.constants.js +2 -1
- package/dist/common/edge-zoho/sale-process/req/create.entity.d.ts +0 -7
- package/dist/common/edge-zoho/sale-process/req/create.entity.js +5 -33
- package/dist/database/lead/index.d.ts +1 -1
- package/dist/database/lead/index.js +1 -1
- package/dist/database/lead/lead-file.entity.d.ts +17 -0
- package/dist/database/lead/{leads-file.entity.js → lead-file.entity.js} +20 -20
- package/dist/database/lead/lead.entity.d.ts +3 -2
- package/dist/database/lead/lead.entity.js +3 -3
- package/dist/sys03/approval/approval.entity.d.ts +0 -4
- package/dist/sys03/approval/approval.entity.js +1 -19
- package/dist/sys03/sale-process/index.d.ts +1 -0
- package/dist/sys03/sale-process/index.js +1 -0
- package/dist/sys03/sale-process/sale-process.entity.d.ts +2 -0
- package/dist/sys03/sale-process/sale-process.entity.js +7 -1
- package/dist/sys03/sale-process/sale-process.file.entity.d.ts +28 -0
- package/dist/sys03/sale-process/sale-process.file.entity.js +89 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/sale-process/index.d.ts +0 -1
- package/dist/zoho/sale-process/index.js +0 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +2 -2
- package/dist/zoho/sale-process/sale-process.entity.js +1 -9
- package/package.json +1 -1
- package/dist/database/lead/leads-file.entity.d.ts +0 -11
- package/dist/digitel/lead-file.entity.d.ts +0 -10
- package/dist/digitel/lead-file.entity.js +0 -10
- package/dist/zoho/sale-process/file.entity.d.ts +0 -12
- package/dist/zoho/sale-process/file.entity.js +0 -10
|
@@ -6,7 +6,6 @@ export * from './business-identification.entity';
|
|
|
6
6
|
export * from './business-info.entity';
|
|
7
7
|
export * from './customer-identification.entity';
|
|
8
8
|
export * from './customer.entity';
|
|
9
|
-
export * from './file.entity';
|
|
10
9
|
export * from './sale-process.entity';
|
|
11
10
|
export * from './sms.entity';
|
|
12
11
|
export * from './user.entity';
|
|
@@ -22,7 +22,6 @@ __exportStar(require("./business-identification.entity"), exports);
|
|
|
22
22
|
__exportStar(require("./business-info.entity"), exports);
|
|
23
23
|
__exportStar(require("./customer-identification.entity"), exports);
|
|
24
24
|
__exportStar(require("./customer.entity"), exports);
|
|
25
|
-
__exportStar(require("./file.entity"), exports);
|
|
26
25
|
__exportStar(require("./sale-process.entity"), exports);
|
|
27
26
|
__exportStar(require("./sms.entity"), exports);
|
|
28
27
|
__exportStar(require("./user.entity"), exports);
|
|
@@ -4,12 +4,12 @@ import { AddressSearchDto } from './address-search.entity';
|
|
|
4
4
|
import { BillingInfoDto } from './billing-info.entity';
|
|
5
5
|
import { BusinessInfoDto } from './business-info.entity';
|
|
6
6
|
import { CustomerDto } from './customer.entity';
|
|
7
|
-
import { FileDto } from './file.entity';
|
|
8
7
|
import { SmsDto } from './sms.entity';
|
|
9
8
|
import { UserDto } from './user.entity';
|
|
10
9
|
import { ConsentDataDto } from 'src/digitel/consent-data.entity';
|
|
11
10
|
import { DigitelCircuitType } from '../../bss/constants';
|
|
12
11
|
import { ExistingCustomerBehaviourType } from '../../sys03/common';
|
|
12
|
+
import { SaleProcessFileDto } from '../../sys03/sale-process/sale-process.file.entity';
|
|
13
13
|
export declare class SaleProcessDto {
|
|
14
14
|
id?: number;
|
|
15
15
|
phone: string;
|
|
@@ -40,7 +40,7 @@ export declare class SaleProcessDto {
|
|
|
40
40
|
sms?: SmsDto;
|
|
41
41
|
customerAccountBehaviour?: ExistingCustomerBehaviourType;
|
|
42
42
|
additionalContacts?: AdditionalContactDto[];
|
|
43
|
-
files?:
|
|
43
|
+
files?: SaleProcessFileDto[];
|
|
44
44
|
consents?: ConsentDataDto[];
|
|
45
45
|
digitelCircuitType?: DigitelCircuitType;
|
|
46
46
|
}
|
|
@@ -19,14 +19,13 @@ const address_search_entity_1 = require("./address-search.entity");
|
|
|
19
19
|
const billing_info_entity_1 = require("./billing-info.entity");
|
|
20
20
|
const business_info_entity_1 = require("./business-info.entity");
|
|
21
21
|
const customer_entity_1 = require("./customer.entity");
|
|
22
|
-
const file_entity_1 = require("./file.entity");
|
|
23
22
|
const sms_entity_1 = require("./sms.entity");
|
|
24
23
|
const user_entity_1 = require("./user.entity");
|
|
25
24
|
const constants_1 = require("../../bss/constants");
|
|
26
25
|
const common_1 = require("../../sys03/common");
|
|
27
26
|
class SaleProcessDto {
|
|
28
27
|
static _OPENAPI_METADATA_FACTORY() {
|
|
29
|
-
return { id: { required: false, type: () => Number }, phone: { required: true, type: () => String }, mobilePhone: { required: false, type: () => String }, owner: { required: false, type: () => require("./user.entity").UserDto }, source: { required: true, type: () => String }, updatedBy: { required: false, type: () => require("./user.entity").UserDto }, addressSearch: { required: false, type: () => require("./address-search.entity").AddressSearchDto }, customer: { required: false, type: () => require("./customer.entity").CustomerDto }, businessInfo: { required: false, type: () => require("./business-info.entity").BusinessInfoDto }, billingInfo: { required: false, type: () => require("./billing-info.entity").BillingInfoDto }, status: { required: true, type: () => String }, campaign: { required: false, type: () => String }, shoppingCartId: { required: false, type: () => String }, notes: { required: false, type: () => String }, internalNotes: { required: false, type: () => String }, callbackLeadId: { required: false, type: () => String }, token: { required: false, type: () => String }, selectedBundle: { required: false, type: () => String }, createdAt: { required: false, type: () => String }, updatedAt: { required: false, type: () => String }, iban: { required: false, type: () => String }, ibanValidationId: { required: false, type: () => String }, fiberhoodId: { required: false, type: () => Number }, ambassador: { required: false, type: () => Boolean }, paymentMethodAdded: { required: false, type: () => String }, callType: { required: false, enum: require("../constants/zoho.constants").SaleProcessCallType }, sms: { required: false, type: () => require("./sms.entity").SmsDto }, customerAccountBehaviour: { required: false, enum: require("../../sys03/common/common.constants").ExistingCustomerBehaviourType }, additionalContacts: { required: false, type: () => [require("./additonal-contact.entity").AdditionalContactDto] }, files: { required: false, type: () => [require("
|
|
28
|
+
return { id: { required: false, type: () => Number }, phone: { required: true, type: () => String }, mobilePhone: { required: false, type: () => String }, owner: { required: false, type: () => require("./user.entity").UserDto }, source: { required: true, type: () => String }, updatedBy: { required: false, type: () => require("./user.entity").UserDto }, addressSearch: { required: false, type: () => require("./address-search.entity").AddressSearchDto }, customer: { required: false, type: () => require("./customer.entity").CustomerDto }, businessInfo: { required: false, type: () => require("./business-info.entity").BusinessInfoDto }, billingInfo: { required: false, type: () => require("./billing-info.entity").BillingInfoDto }, status: { required: true, type: () => String }, campaign: { required: false, type: () => String }, shoppingCartId: { required: false, type: () => String }, notes: { required: false, type: () => String }, internalNotes: { required: false, type: () => String }, callbackLeadId: { required: false, type: () => String }, token: { required: false, type: () => String }, selectedBundle: { required: false, type: () => String }, createdAt: { required: false, type: () => String }, updatedAt: { required: false, type: () => String }, iban: { required: false, type: () => String }, ibanValidationId: { required: false, type: () => String }, fiberhoodId: { required: false, type: () => Number }, ambassador: { required: false, type: () => Boolean }, paymentMethodAdded: { required: false, type: () => String }, callType: { required: false, enum: require("../constants/zoho.constants").SaleProcessCallType }, sms: { required: false, type: () => require("./sms.entity").SmsDto }, customerAccountBehaviour: { required: false, enum: require("../../sys03/common/common.constants").ExistingCustomerBehaviourType }, additionalContacts: { required: false, type: () => [require("./additonal-contact.entity").AdditionalContactDto] }, files: { required: false, type: () => [require("../../sys03/sale-process/sale-process.file.entity").SaleProcessFileDto] }, consents: { required: false, type: () => [require("../../digitel/consent-data.entity").ConsentDataDto] }, digitelCircuitType: { required: false, enum: require("../../bss/constants/bp.constants").DigitelCircuitType } };
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
exports.SaleProcessDto = SaleProcessDto;
|
|
@@ -191,13 +190,6 @@ __decorate([
|
|
|
191
190
|
(0, class_validator_1.IsOptional)(),
|
|
192
191
|
__metadata("design:type", Array)
|
|
193
192
|
], SaleProcessDto.prototype, "additionalContacts", void 0);
|
|
194
|
-
__decorate([
|
|
195
|
-
(0, class_validator_1.IsArray)(),
|
|
196
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
197
|
-
(0, class_transformer_1.Type)(() => file_entity_1.FileDto),
|
|
198
|
-
(0, class_validator_1.IsOptional)(),
|
|
199
|
-
__metadata("design:type", Array)
|
|
200
|
-
], SaleProcessDto.prototype, "files", void 0);
|
|
201
193
|
__decorate([
|
|
202
194
|
(0, class_validator_1.IsArray)(),
|
|
203
195
|
(0, class_validator_1.IsOptional)(),
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeadsFileDto = void 0;
|
|
4
|
-
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class LeadsFileDto {
|
|
6
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => Number }, documentId: { required: false, type: () => String }, fileName: { required: false, type: () => String }, contentType: { required: false, type: () => String }, type: { required: false, type: () => String }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.LeadsFileDto = LeadsFileDto;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BpCustomerAccountDocumentType } from '../../bss/constants';
|
|
2
|
-
export declare class FileDto {
|
|
3
|
-
id?: number;
|
|
4
|
-
lead?: number;
|
|
5
|
-
documentId?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
fileName: string;
|
|
8
|
-
contentType?: string;
|
|
9
|
-
type: BpCustomerAccountDocumentType;
|
|
10
|
-
comment?: string;
|
|
11
|
-
transactionId?: string;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileDto = void 0;
|
|
4
|
-
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class FileDto {
|
|
6
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => Number }, documentId: { required: false, type: () => String }, url: { required: false, type: () => String }, fileName: { required: true, type: () => String }, contentType: { required: false, type: () => String }, type: { required: true, enum: require("../../bss/constants/bp.constants").BpCustomerAccountDocumentType }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.FileDto = FileDto;
|