adamo-types 1.2.74-sit → 1.2.75-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/billing/customer-bill-details.entity.js +1 -1
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-recurring-currency-sum.entity.js +1 -1
- package/dist/bss/product/product.constants.d.ts +1 -1
- package/dist/common/edge-bss/address/req/create.entity.js +1 -1
- package/dist/common/edge-bss/shopping-cart/req/other.entity.js +3 -3
- package/dist/common/edge-bss/shopping-cart/res/other.entity.js +1 -1
- package/dist/common/edge-database/blacklist-address/blacklist-address.entity.d.ts +3 -0
- package/dist/common/edge-database/blacklist-address/blacklist-address.entity.js +10 -0
- package/dist/common/edge-sendgrid/mail/req/mail.entity.d.ts +1 -1
- package/dist/common/edge-zoho/sale-process/req/create.entity.js +1 -1
- package/dist/common/edge-zoho/sale-process/req/other.entity.js +1 -1
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +3 -3
- package/dist/common/edge-zoho/sale-process/res/other.entity.js +1 -1
- package/dist/database/index.d.ts +3 -3
- package/dist/database/index.js +3 -3
- package/dist/digitel/pdf.entity.d.ts +1 -1
- package/dist/digitel/template.contract.entity.d.ts +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/sys03/approval/approval.entity.js +2 -2
- package/dist/sys03/customer/customer-product.entity.js +5 -5
- package/dist/sys03/customer/customer.entity.js +3 -3
- package/dist/sys03/customer-new-extras-process/customer-new-extras-process.entity.js +1 -1
- package/dist/sys03/customer-product-modification-process/customer-product-modification-process.entity.js +1 -1
- package/dist/sys03/customer-product-transition-process/customer-product-transition-process.entity.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/database/acl/user.entity.d.ts +0 -4
- package/dist/database/acl/user.entity.js +0 -33
- package/dist/database/blacklist-address.entity.d.ts +0 -8
- package/dist/database/blacklist-address.entity.js +0 -41
- package/dist/database/channel.entity.d.ts +0 -4
- package/dist/database/channel.entity.js +0 -31
|
@@ -16,7 +16,7 @@ const _validators_1 = require("../../../validators/index");
|
|
|
16
16
|
const class_validator_1 = require("class-validator");
|
|
17
17
|
class BpCustomerBillDetailsDto {
|
|
18
18
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { billingAccount: { required: false, type: () => String }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, deliveryMethod: { required: true, enum: require("../../constants/bp.constants").DeliveryMethod }, interval: { required: true, type: () => Number
|
|
19
|
+
return { billingAccount: { required: false, type: () => String }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, deliveryMethod: { required: true, enum: require("../../constants/bp.constants").DeliveryMethod }, interval: { required: true, type: () => Number }, startMonth: { required: false, type: () => String }, currency: { required: true, type: () => String }, validFor: { required: false, type: () => require("../common/common.entity").BpValidForDto } };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
__decorate([
|
|
@@ -16,7 +16,7 @@ const class_validator_1 = require("class-validator");
|
|
|
16
16
|
const shopping_cart_currency_sum_entity_1 = require("./shopping-cart-currency-sum.entity");
|
|
17
17
|
class ShoppingCartRecurringCurrencySumDto {
|
|
18
18
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { frequency: { required: true, type: () => Number
|
|
19
|
+
return { frequency: { required: true, type: () => Number }, currencySums: { required: true, type: () => [require("./shopping-cart-currency-sum.entity").ShoppingCartCurrencySumDto] } };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
__decorate([
|
|
@@ -12,4 +12,4 @@ export declare enum ProductInventoryItemRelationshipType {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const BpServiceNameToProductType: Record<string, ShoppingCartProductType>;
|
|
14
14
|
export declare const BpProductInventoryStateToProductInventoryState: Record<string, ProductInventoryState>;
|
|
15
|
-
export
|
|
15
|
+
export type ProductInventoryItemCharacteristicStateType = BpProductInventoryCharacteristicStateType;
|
|
@@ -21,7 +21,7 @@ class ArsAddressDto {
|
|
|
21
21
|
this.entrance = '';
|
|
22
22
|
}
|
|
23
23
|
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
-
return { id: { required: false, type: () => String }, country: { required: false, type: () => String }, postcode: { required: true, type: () => String
|
|
24
|
+
return { id: { required: false, type: () => String }, country: { required: false, type: () => String }, postcode: { required: true, type: () => String }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: false, type: () => Object, default: '' }, floor: { required: false, type: () => Object, default: '' }, door: { required: false, type: () => Object, default: '' }, entrance: { required: false, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, competition: { required: false, type: () => String } };
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
__decorate([
|
|
@@ -100,7 +100,7 @@ class UpdateShoppingCartBundlesExtraDto {
|
|
|
100
100
|
exports.UpdateShoppingCartBundlesExtraDto = UpdateShoppingCartBundlesExtraDto;
|
|
101
101
|
class UpdateShoppingCartExtraDto {
|
|
102
102
|
static _OPENAPI_METADATA_FACTORY() {
|
|
103
|
-
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number
|
|
103
|
+
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number } };
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
__decorate([
|
|
@@ -147,7 +147,7 @@ class UpdateShoppingCartContractDto {
|
|
|
147
147
|
exports.UpdateShoppingCartContractDto = UpdateShoppingCartContractDto;
|
|
148
148
|
class UpdateShoppingCartCharacteristicPriceDto {
|
|
149
149
|
static _OPENAPI_METADATA_FACTORY() {
|
|
150
|
-
return { name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, amount: { required: false, type: () => Number }, bindingDate: { required: false, type: () => String
|
|
150
|
+
return { name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, amount: { required: false, type: () => Number }, bindingDate: { required: false, type: () => String } };
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
__decorate([
|
|
@@ -179,7 +179,7 @@ __decorate([
|
|
|
179
179
|
exports.UpdateShoppingCartCharacteristicPriceDto = UpdateShoppingCartCharacteristicPriceDto;
|
|
180
180
|
class UpdateShoppingCartCharacteristicDto {
|
|
181
181
|
static _OPENAPI_METADATA_FACTORY() {
|
|
182
|
-
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number
|
|
182
|
+
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number }, prices: { required: false, type: () => [require("./other.entity").UpdateShoppingCartCharacteristicPriceDto] } };
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
__decorate([
|
|
@@ -171,7 +171,7 @@ class ShoppingCartConfigurationAddressResDto {
|
|
|
171
171
|
this.entrance = '';
|
|
172
172
|
}
|
|
173
173
|
static _OPENAPI_METADATA_FACTORY() {
|
|
174
|
-
return { country: { required: false, type: () => String }, postcode: { required: true, type: () => String
|
|
174
|
+
return { country: { required: false, type: () => String }, postcode: { required: true, type: () => String }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => Object, default: '' }, floor: { required: true, type: () => Object, default: '' }, door: { required: true, type: () => Object, default: '' }, entrance: { required: true, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String } };
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
__decorate([
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ParamSidsDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class ParamSidsDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { sids: { required: true, type: () => [String] } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ParamSidsDto = ParamSidsDto;
|
|
@@ -19,7 +19,7 @@ const sale_process_1 = require("../../../../zoho/sale-process");
|
|
|
19
19
|
const _validators_1 = require("../../../../validators/index");
|
|
20
20
|
class ArsSaleProcessDocumentDto {
|
|
21
21
|
static _OPENAPI_METADATA_FACTORY() {
|
|
22
|
-
return { fileName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").DocumentType }, comment: { required: false, type: () => String
|
|
22
|
+
return { fileName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").DocumentType }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
__decorate([
|
|
@@ -17,7 +17,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
17
17
|
const class_validator_1 = require("class-validator");
|
|
18
18
|
class DashboardQueryDto {
|
|
19
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
-
return { id: { required: false, type: () => Number
|
|
20
|
+
return { id: { required: false, type: () => Number }, page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, phone: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, owner: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, lastChannel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, customerId: { required: false, type: () => String } };
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
__decorate([
|
|
@@ -92,7 +92,7 @@ __decorate([
|
|
|
92
92
|
exports.PatchSaleProcessCustomerTypeValidatedDto = PatchSaleProcessCustomerTypeValidatedDto;
|
|
93
93
|
class PartialSaleProcessBillingInfoDto {
|
|
94
94
|
static _OPENAPI_METADATA_FACTORY() {
|
|
95
|
-
return { firstName: { required: true, type: () => String
|
|
95
|
+
return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, billingAddressData: { required: true, type: () => require("../../../edge-bss/address/req/create.entity").ArsAddressDto } };
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
__decorate([
|
|
@@ -120,7 +120,7 @@ __decorate([
|
|
|
120
120
|
exports.PartialSaleProcessBillingInfoDto = PartialSaleProcessBillingInfoDto;
|
|
121
121
|
class PartialSaleProcessContractCustomerDto {
|
|
122
122
|
static _OPENAPI_METADATA_FACTORY() {
|
|
123
|
-
return { customerType: { required: true, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, title: { required: true, enum: require("../../../../bss/constants/bp.constants").PersonTitle }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, birthDate: { required: true, type: () => String
|
|
123
|
+
return { customerType: { required: true, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, title: { required: true, enum: require("../../../../bss/constants/bp.constants").PersonTitle }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, birthDate: { required: true, type: () => String }, email: { required: true, type: () => String }, contactPhone: { required: false, type: () => String }, additionalContactPhone: { required: false, type: () => String }, identification: { required: true, type: () => require("../../../../zoho/sale-process/customer-identification.entity").CustomerIdentificationDto }, preferredContactTime: { required: true, enum: require("../../../../bss/constants/bp.constants").PreferredContactTime }, customerVulnerable: { required: true, type: () => Boolean }, preferredContactLanguage: { required: false, type: () => String }, customerAssociation: { required: false, type: () => String } };
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
__decorate([
|
|
@@ -252,7 +252,7 @@ __decorate([
|
|
|
252
252
|
exports.PartialSaleProcessBusinessInfoDto = PartialSaleProcessBusinessInfoDto;
|
|
253
253
|
class PatchSaleProcessContractDataSavedDto {
|
|
254
254
|
static _OPENAPI_METADATA_FACTORY() {
|
|
255
|
-
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: true, type: () => String }, iban: { required: true, type: () => String
|
|
255
|
+
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: true, type: () => String }, iban: { required: true, type: () => String }, notes: { required: false, type: () => String }, billingInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBillingInfoDto }, customer: { required: false, type: () => require("./patch.entity").PartialSaleProcessContractCustomerDto }, businessInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBusinessInfoDto }, digitelCircuitType: { required: false, enum: require("../../../../bss/constants/bp.constants").DigitelCircuitType } };
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
__decorate([
|
|
@@ -20,7 +20,7 @@ class DashboardDto {
|
|
|
20
20
|
exports.DashboardDto = DashboardDto;
|
|
21
21
|
class DashboardGenericDto {
|
|
22
22
|
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
-
return { total: { required: true, type: () => Number } };
|
|
23
|
+
return { records: { required: true }, total: { required: true, type: () => Number } };
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
__decorate([
|
package/dist/database/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './approval.entity';
|
|
2
2
|
export * from './auth.entity';
|
|
3
|
-
export * from './blacklist-address.entity';
|
|
4
|
-
export * from './channel.entity';
|
|
5
3
|
export * from './configuration.entity';
|
|
6
4
|
export * from './dependency.entity';
|
|
7
5
|
export * from './dropdown_data.entity';
|
|
8
6
|
export * from './dropdown.entity';
|
|
7
|
+
export * from './lead-transactions.entity';
|
|
9
8
|
export * from './lead.entity';
|
|
10
9
|
export * from './leads-additional-contact-medium.entity';
|
|
11
10
|
export * from './leads-additional-contact.entity';
|
|
11
|
+
export * from './leads-consent-data.entity';
|
|
12
12
|
export * from './leads-data.entity';
|
|
13
13
|
export * from './leads-file.entity';
|
|
14
14
|
export * from './customer-new-extras.entity';
|
package/dist/database/index.js
CHANGED
|
@@ -14,17 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./approval.entity"), exports);
|
|
18
18
|
__exportStar(require("./auth.entity"), exports);
|
|
19
|
-
__exportStar(require("./blacklist-address.entity"), exports);
|
|
20
|
-
__exportStar(require("./channel.entity"), exports);
|
|
21
19
|
__exportStar(require("./configuration.entity"), exports);
|
|
22
20
|
__exportStar(require("./dependency.entity"), exports);
|
|
23
21
|
__exportStar(require("./dropdown_data.entity"), exports);
|
|
24
22
|
__exportStar(require("./dropdown.entity"), exports);
|
|
23
|
+
__exportStar(require("./lead-transactions.entity"), exports);
|
|
25
24
|
__exportStar(require("./lead.entity"), exports);
|
|
26
25
|
__exportStar(require("./leads-additional-contact-medium.entity"), exports);
|
|
27
26
|
__exportStar(require("./leads-additional-contact.entity"), exports);
|
|
27
|
+
__exportStar(require("./leads-consent-data.entity"), exports);
|
|
28
28
|
__exportStar(require("./leads-data.entity"), exports);
|
|
29
29
|
__exportStar(require("./leads-file.entity"), exports);
|
|
30
30
|
__exportStar(require("./customer-new-extras.entity"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SaleProcessDto } from '../zoho/sale-process';
|
|
2
|
-
export
|
|
2
|
+
export type SaleProcessWithPortinOperator = SaleProcessDto & {
|
|
3
3
|
portinOperator: PortInOperator;
|
|
4
4
|
};
|
|
5
5
|
export declare class PortInOperator {
|
|
@@ -98,7 +98,7 @@ export declare enum TemplateB2CField {
|
|
|
98
98
|
MOBILERATE5 = "mobileRate5",
|
|
99
99
|
MOBILEMONTHLYRATE5 = "mobileMonthlyRate5"
|
|
100
100
|
}
|
|
101
|
-
export
|
|
101
|
+
export type TemplateB2CDto = Record<TemplateB2CField, TemplateFieldDto>;
|
|
102
102
|
export declare enum TemplateB2BField {
|
|
103
103
|
SUMMARY_CUSTOMER_BUSINESS_NAME = "summaryCustomerBusinessName",
|
|
104
104
|
SUMMARY_FIBER_PRODUCT_NAME = "summaryFiberProductName",
|
|
@@ -197,8 +197,8 @@ export declare enum TemplateB2BField {
|
|
|
197
197
|
SERVICES_DIGITALSERV_PROMOMONTH = "servicesDigitalServPromoMonth",
|
|
198
198
|
SERVICES_DIGITALSERV_FINALPRICE = "servicesDigitalServFinalPrice"
|
|
199
199
|
}
|
|
200
|
-
export
|
|
201
|
-
export
|
|
200
|
+
export type TemplateBaseB2BDto = Record<TemplateB2BField, TemplateFieldDto>;
|
|
201
|
+
export type TemplateB2BDto = Record<string, TemplateFieldDto>;
|
|
202
202
|
export declare enum TemplateB2CSimDeliveryField {
|
|
203
203
|
SIM_DELIVERY_CUSTOMERNAME = "SimDeliveryCustomerName",
|
|
204
204
|
SIM_DELIVERY_CUSTOMERSURNAME = "SimDeliveryCustomerSurname",
|
|
@@ -222,8 +222,8 @@ export declare enum TemplateB2CSimDeliveryField {
|
|
|
222
222
|
SIM_DELIVERY_MOBILERATE = "SimDeliveryMobileRate0",
|
|
223
223
|
SIM_DELIVERY_MOBILEMONTHLYRATE = "SimDeliverymobileMonthlyRate0"
|
|
224
224
|
}
|
|
225
|
-
export
|
|
226
|
-
export
|
|
225
|
+
export type TemplateBaseB2CSimDeliveryDto = Record<TemplateB2CSimDeliveryField, TemplateFieldDto>;
|
|
226
|
+
export type TemplateB2CSimDeliveryDto = Record<string, TemplateFieldDto>;
|
|
227
227
|
export declare enum TemplateB2BSimDeliveryField {
|
|
228
228
|
SIM_DELIVERY_CUSTOMER_BUSINESS_NAME = "customerBusinessName",
|
|
229
229
|
SIM_DELIVERY_CUSTOMER_ID = "customerId",
|
|
@@ -238,5 +238,5 @@ export declare enum TemplateB2BSimDeliveryField {
|
|
|
238
238
|
SIM_DELIVERY_SIM_LOCALTY = "simLocality",
|
|
239
239
|
SIM_DELIVERY_SIM_POSTAL_CODE = "simPostalCode"
|
|
240
240
|
}
|
|
241
|
-
export
|
|
242
|
-
export
|
|
241
|
+
export type TemplateBaseB2BSimDeliveryDto = Record<TemplateB2BSimDeliveryField, TemplateFieldDto>;
|
|
242
|
+
export type TemplateB2BSimDeliveryDto = Record<string, TemplateFieldDto>;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ const class_validator_1 = require("class-validator");
|
|
|
19
19
|
const approval_entity_1 = require("../../database/approval.entity");
|
|
20
20
|
class DashboardApprovalFilterDto {
|
|
21
21
|
static _OPENAPI_METADATA_FACTORY() {
|
|
22
|
-
return { page: { required: false, type: () => Number
|
|
22
|
+
return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, leadId: { required: false, type: () => Number }, phone: { required: false, type: () => String }, shoppingCartPhone: { required: false, type: () => String }, owner: { required: false, type: () => String }, channel: { required: false, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, id: { required: false, type: () => Number }, approvedBy: { required: false, type: () => String }, approved: { required: false, type: () => Object }, validation: { required: true, type: () => String } };
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
__decorate([
|
|
@@ -148,7 +148,7 @@ class ApprovalWithGroupsDto extends (0, swagger_1.IntersectionType)(approval_ent
|
|
|
148
148
|
exports.ApprovalWithGroupsDto = ApprovalWithGroupsDto;
|
|
149
149
|
class PatchApprovalDataDto {
|
|
150
150
|
static _OPENAPI_METADATA_FACTORY() {
|
|
151
|
-
return { approved: { required: false, type: () => Boolean }, notes: { required: false, type: () => String
|
|
151
|
+
return { approved: { required: false, type: () => Boolean }, notes: { required: false, type: () => String } };
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
__decorate([
|
|
@@ -42,7 +42,7 @@ class CustomerProductWithApartmentDto {
|
|
|
42
42
|
exports.CustomerProductWithApartmentDto = CustomerProductWithApartmentDto;
|
|
43
43
|
class CheckCustomerProductTransitionVoipDto {
|
|
44
44
|
static _OPENAPI_METADATA_FACTORY() {
|
|
45
|
-
return { qty: { required: true, type: () => Number
|
|
45
|
+
return { qty: { required: true, type: () => Number } };
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
__decorate([
|
|
@@ -53,7 +53,7 @@ __decorate([
|
|
|
53
53
|
exports.CheckCustomerProductTransitionVoipDto = CheckCustomerProductTransitionVoipDto;
|
|
54
54
|
class CustomerProductTransitionPayloadDto {
|
|
55
55
|
static _OPENAPI_METADATA_FACTORY() {
|
|
56
|
-
return { groupId: { required: true, type: () => Number
|
|
56
|
+
return { groupId: { required: true, type: () => Number }, voip: { required: true, type: () => require("./customer-product.entity").CheckCustomerProductTransitionVoipDto }, mobileData: { required: true, type: () => Number } };
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
__decorate([
|
|
@@ -148,7 +148,7 @@ __decorate([
|
|
|
148
148
|
exports.CheckCustomerProductModificationProductInstanceDto = CheckCustomerProductModificationProductInstanceDto;
|
|
149
149
|
class CheckCustomerProductModificationProductDto {
|
|
150
150
|
static _OPENAPI_METADATA_FACTORY() {
|
|
151
|
-
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number
|
|
151
|
+
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number }, instances: { required: false, type: () => [require("./customer-product.entity").CheckCustomerProductModificationProductInstanceDto] } };
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
__decorate([
|
|
@@ -172,7 +172,7 @@ __decorate([
|
|
|
172
172
|
exports.CheckCustomerProductModificationProductDto = CheckCustomerProductModificationProductDto;
|
|
173
173
|
class CheckCustomerProductModificationProductGroupDto {
|
|
174
174
|
static _OPENAPI_METADATA_FACTORY() {
|
|
175
|
-
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number
|
|
175
|
+
return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number }, products: { required: true, type: () => [require("./customer-product.entity").CheckCustomerProductModificationProductDto] } };
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
__decorate([
|
|
@@ -261,7 +261,7 @@ __decorate([
|
|
|
261
261
|
exports.CheckCustomerProductModificationDto = CheckCustomerProductModificationDto;
|
|
262
262
|
class TerminateCustomerProductDto {
|
|
263
263
|
static _OPENAPI_METADATA_FACTORY() {
|
|
264
|
-
return { reason: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, notes: { required: false, type: () => String
|
|
264
|
+
return { reason: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, notes: { required: false, type: () => String } };
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
__decorate([
|
|
@@ -26,7 +26,7 @@ class CustomerDto {
|
|
|
26
26
|
exports.CustomerDto = CustomerDto;
|
|
27
27
|
class DashboardCustomersFiltersDto {
|
|
28
28
|
static _OPENAPI_METADATA_FACTORY() {
|
|
29
|
-
return { page: { required: false, type: () => Number
|
|
29
|
+
return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, identificationNumber: { required: false, type: () => String }, mobileNumber: { required: false, type: () => String }, voipNumber: { required: false, type: () => String }, customerId: { required: false, type: () => String }, email: { required: false, type: () => String } };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
__decorate([
|
|
@@ -101,7 +101,7 @@ __decorate([
|
|
|
101
101
|
exports.DashboardCustomersFiltersDto = DashboardCustomersFiltersDto;
|
|
102
102
|
class CustomerNotesFiltersDto {
|
|
103
103
|
static _OPENAPI_METADATA_FACTORY() {
|
|
104
|
-
return { page: { required: false, type: () => Number
|
|
104
|
+
return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number } };
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
__decorate([
|
|
@@ -205,7 +205,7 @@ class CustomerFinanceDto {
|
|
|
205
205
|
exports.CustomerFinanceDto = CustomerFinanceDto;
|
|
206
206
|
class CustomerDashboardFiltersDto {
|
|
207
207
|
static _OPENAPI_METADATA_FACTORY() {
|
|
208
|
-
return { page: { required: false, type: () => Number
|
|
208
|
+
return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, customerId: { required: false, type: () => String }, id: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, createdBy: { required: false, type: () => String }, updatedBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, productDisplayName: { required: false, type: () => String } };
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
__decorate([
|
|
@@ -60,7 +60,7 @@ __decorate([
|
|
|
60
60
|
exports.PatchCustomerNewExtrasProcessStatusWithShoppingCartIdDto = PatchCustomerNewExtrasProcessStatusWithShoppingCartIdDto;
|
|
61
61
|
class PatchCustomerNewExtrasProcessOrderDataSavedDto {
|
|
62
62
|
static _OPENAPI_METADATA_FACTORY() {
|
|
63
|
-
return { status: { required: true, enum: require("./customer-new-extras-process.constants").CustomerNewExtrasProcessStatus }, salesPerson: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: true, type: () => String }, notes: { required: false, type: () => String
|
|
63
|
+
return { status: { required: true, enum: require("./customer-new-extras-process.constants").CustomerNewExtrasProcessStatus }, salesPerson: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: true, type: () => String }, notes: { required: false, type: () => String } };
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
__decorate([
|
|
@@ -60,7 +60,7 @@ __decorate([
|
|
|
60
60
|
exports.PatchCustomerProductModificationProcessStatusWithShoppingCartIdDto = PatchCustomerProductModificationProcessStatusWithShoppingCartIdDto;
|
|
61
61
|
class PatchCustomerProductModificationProcessOrderDataSavedDto {
|
|
62
62
|
static _OPENAPI_METADATA_FACTORY() {
|
|
63
|
-
return { status: { required: true, enum: require("./customer-product-modification-process.constants").CustomerProductModificationProcessStatus }, salesPerson: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: true, type: () => String }, notes: { required: false, type: () => String
|
|
63
|
+
return { status: { required: true, enum: require("./customer-product-modification-process.constants").CustomerProductModificationProcessStatus }, salesPerson: { required: true, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: true, type: () => String }, notes: { required: false, type: () => String } };
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
__decorate([
|
package/dist/sys03/customer-product-transition-process/customer-product-transition-process.entity.js
CHANGED
|
@@ -90,7 +90,7 @@ __decorate([
|
|
|
90
90
|
exports.PatchCustomerProductTransitionProcessStatusWithShoppingCartIdDto = PatchCustomerProductTransitionProcessStatusWithShoppingCartIdDto;
|
|
91
91
|
class PatchCustomerProductTransitionProcessOrderDataSavedDto {
|
|
92
92
|
static _OPENAPI_METADATA_FACTORY() {
|
|
93
|
-
return { status: { required: true, enum: require("./customer-product-transition-process.constants").CustomerProductTransitionProcessStatus }, salesPerson: { required: true, type: () => String }, reason: { required: false, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: false, type: () => String }, notes: { required: false, type: () => String
|
|
93
|
+
return { status: { required: true, enum: require("./customer-product-transition-process.constants").CustomerProductTransitionProcessStatus }, salesPerson: { required: true, type: () => String }, reason: { required: false, type: () => String }, targetDate: { required: true, type: () => String }, chargeDate: { required: false, type: () => String }, notes: { required: false, type: () => String } };
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
__decorate([
|