adamo-types 2.1.21-sit → 2.1.22-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/bss/constants/bss.constants.js +4 -0
- package/dist/common/constants/billing.error.constants.d.ts +1 -0
- package/dist/common/constants/billing.error.constants.js +2 -1
- package/dist/common/constants/customer.error.constants.d.ts +2 -2
- package/dist/common/constants/customer.error.constants.js +3 -3
- package/dist/common/constants/iban-validation.error.constants.d.ts +5 -0
- package/dist/common/constants/iban-validation.error.constants.js +8 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/constants/index.js +1 -0
- package/dist/digitel/status-dic.d.ts +2 -2
- package/dist/digitel/status-dic.js +16 -16
- package/dist/sys03/aggrupation/aggrupation.constants.d.ts +5 -4
- package/dist/sys03/aggrupation/aggrupation.constants.js +52 -51
- package/dist/sys03/aggrupation/aggrupation.entity.d.ts +28 -13
- package/dist/sys03/aggrupation/aggrupation.entity.js +29 -11
- package/dist/sys03/customer/customer-billing-account.entity.d.ts +7 -3
- package/dist/sys03/customer/customer-billing-account.entity.js +24 -5
- package/dist/sys03/customer/customer-billing-payment-method.entity.js +2 -2
- package/dist/sys03/customer/customer-product.entity.d.ts +2 -1
- package/dist/sys03/customer/customer-product.entity.js +4 -4
- package/dist/sys03/customer-new-extras-process/customer-new-extras-process.constants.d.ts +1 -0
- package/dist/sys03/customer-new-extras-process/customer-new-extras-process.constants.js +1 -1
- package/dist/sys03/customer-new-extras-process/customer-new-extras-process.entity.d.ts +1 -0
- package/dist/sys03/customer-new-extras-process/customer-new-extras-process.entity.js +1 -1
- package/dist/sys03/customer-product-deactivation-process/customer-product-deactivation-process.constants.d.ts +1 -0
- package/dist/sys03/customer-product-deactivation-process/customer-product-deactivation-process.constants.js +1 -1
- package/dist/sys03/customer-product-deactivation-process/customer-product-deactivation-process.entity.d.ts +1 -0
- package/dist/sys03/customer-product-deactivation-process/customer-product-deactivation-process.entity.js +1 -1
- package/dist/sys03/customer-product-modification-process/customer-product-modification-process.constants.d.ts +1 -0
- package/dist/sys03/customer-product-modification-process/customer-product-modification-process.constants.js +1 -1
- package/dist/sys03/customer-product-modification-process/customer-product-modification-process.entity.d.ts +1 -0
- package/dist/sys03/customer-product-modification-process/customer-product-modification-process.entity.js +1 -1
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.constants.d.ts +1 -0
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.constants.js +1 -1
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.d.ts +1 -0
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.js +1 -1
- package/dist/sys03/customer-product-transition-process/customer-product-transition-process.constants.d.ts +1 -0
- package/dist/sys03/customer-product-transition-process/customer-product-transition-process.constants.js +1 -1
- package/dist/sys03/customer-product-transition-process/customer-product-transition-process.entity.d.ts +1 -0
- 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
|
@@ -63,6 +63,10 @@ exports.BpMessageToI18n = [
|
|
|
63
63
|
{
|
|
64
64
|
regexp: /No se ha podido encontrar creator con valor (.*)\./i,
|
|
65
65
|
i18n: constants_1.E_USER_NOT_FOUND
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
regexp: /Billing cycle with name '.*' is locked for new billing accounts\./i,
|
|
69
|
+
i18n: constants_1.E_BILLING_CYCLE_LOCKED
|
|
66
70
|
}
|
|
67
71
|
];
|
|
68
72
|
var BssChargeType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const E_BILLING_CYCLE_LOCKED = "E_BILLING_CYCLE_LOCKED";
|
|
1
2
|
export declare const E_CREATE_BILLING_ACCOUNT = "E_CREATE_BILLING_ACCOUNT";
|
|
2
3
|
export declare const E_FETCH_BILLING_ACCOUNT = "E_FETCH_BILLING_ACCOUNT";
|
|
3
4
|
export declare const E_FETCH_BILLING_ACCOUNT_DETAILS = "E_FETCH_BILLING_ACCOUNT_DETAILS";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_UPDATE_BILLING_CYCLE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_BILLING_CYCLES = exports.E_FETCH_BILLING_CYCLE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_FETCH_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = void 0;
|
|
3
|
+
exports.E_UPDATE_BILLING_CYCLE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_BILLING_CYCLES = exports.E_FETCH_BILLING_CYCLE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_FETCH_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_BILLING_CYCLE_LOCKED = void 0;
|
|
4
|
+
exports.E_BILLING_CYCLE_LOCKED = 'E_BILLING_CYCLE_LOCKED';
|
|
4
5
|
exports.E_CREATE_BILLING_ACCOUNT = 'E_CREATE_BILLING_ACCOUNT';
|
|
5
6
|
exports.E_FETCH_BILLING_ACCOUNT = 'E_FETCH_BILLING_ACCOUNT';
|
|
6
7
|
exports.E_FETCH_BILLING_ACCOUNT_DETAILS = 'E_FETCH_BILLING_ACCOUNT_DETAILS';
|
|
@@ -19,8 +19,8 @@ export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED
|
|
|
19
19
|
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP";
|
|
20
20
|
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL";
|
|
21
21
|
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS";
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
22
|
+
export declare const E_CUSTOMER_PRODUCT_DEACTIVATION_PROCESS_FORBIDDEN_STATUS_ACTION = "E_CUSTOMER_PRODUCT_DEACTIVATION_PROCESS_FORBIDDEN_STATUS_ACTION";
|
|
23
|
+
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_FORBIDDEN_STATUS_ACTION = "E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_FORBIDDEN_STATUS_ACTION";
|
|
24
24
|
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS";
|
|
25
25
|
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = "E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING";
|
|
26
26
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_FETCH_CUSTOMERS = exports.E_FETCH_CUSTOMER_WORK_TASKS = exports.E_FETCH_CUSTOMER_PRODUCTS_MOBILE_PROVIDER = exports.E_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FETCH_CUSTOMER_DOCUMENTS = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_FETCH_CUSTOMER_ACCOUNT = exports.E_DOWNLOAD_CUSTOMER_DOCUMENT = exports.E_DELETE_CUSTOMER_DOCUMENT = exports.E_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY = exports.E_CUSTOMER_UNKNOWN_OWNER_RELATED_PARTY = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_NEX_EXTRAS_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_TERMINATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.
|
|
3
|
+
exports.E_FETCH_CUSTOMERS = exports.E_FETCH_CUSTOMER_WORK_TASKS = exports.E_FETCH_CUSTOMER_PRODUCTS_MOBILE_PROVIDER = exports.E_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FETCH_CUSTOMER_DOCUMENTS = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_FETCH_CUSTOMER_ACCOUNT = exports.E_DOWNLOAD_CUSTOMER_DOCUMENT = exports.E_DELETE_CUSTOMER_DOCUMENT = exports.E_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY = exports.E_CUSTOMER_UNKNOWN_OWNER_RELATED_PARTY = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_NEX_EXTRAS_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_TERMINATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_PROCESS_FORBIDDEN_STATUS_ACTION = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_ORGANIZATION_OWNER_WITHOUT_CONTACT_PARTY = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_HANDOVER_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_HANDOVER_EXISTS_WITH_STATUS = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CUSTOMER_AGGRUPATION_UNHAPPY_RUNNING = exports.E_CUSTOMER_AGGRUPATION_HAPPY_RUNNING = exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = exports.E_CREATE_CUSTOMER_ACCOUNT_PRODUCT_TRANSFER = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_CREATE_CUSTOMER_ACCOUNT = void 0;
|
|
4
4
|
exports.E_DELETE_CUSTOMER_AGGRUPATION_PROCESS = exports.E_CUSTOMER_HAS_DEBT = exports.E_CUSTOMER_HAS_DRAFT_ORDER = exports.E_CUSTOMERS_TO_CHECK_LIMIT_REACHED = exports.E_REVIEW_CREATED_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_WITHOUT_SIGNATURE = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_MULTIPLE_FIBER_BUNDLES = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_DEACTIVATE = exports.E_REVIEW_MULTIPLE_FIBER_BUNDLES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_DEACTIVATE_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_CUSTOMER_BILLING_NEXT_BILLING_PERIOD_NOT_ALLOWED = exports.E_CHANGE_CUSTOMER_BILLING_DELIVERY_METHOD_NOT_ALLOWED = exports.E_CHANGE_CUSTOMER_BILLING_PAYMENT_METHOD_NOT_ALLOWED = exports.E_CHANGE_CUSTOMER_BILLING_PAYMENT_METHOD = exports.E_CUSTOMER_TYPE_WITHOUT_BILLING_CYCLE = exports.E_UPLOAD_CUSTOMER_DOCUMENT = exports.E_UPDATE_CUSTOMER_POSTAL_AND_BILLING_ADDRESS_FROM_APARTMENT_ID = exports.E_UPDATE_CUSTOMER_DOCUMENT = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_SEARCH_CUSTOMERS = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_WITHOUT_SIGNATURE = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = void 0;
|
|
5
5
|
exports.E_CREATE_CUSTOMER_ACCOUNT = 'E_CREATE_CUSTOMER_ACCOUNT';
|
|
6
6
|
exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = 'E_CREATE_CUSTOMER_ACCOUNT_HISTORY';
|
|
@@ -23,8 +23,8 @@ exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED = 'E_CUSTOME
|
|
|
23
23
|
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP';
|
|
24
24
|
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL';
|
|
25
25
|
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS';
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
26
|
+
exports.E_CUSTOMER_PRODUCT_DEACTIVATION_PROCESS_FORBIDDEN_STATUS_ACTION = 'E_CUSTOMER_PRODUCT_DEACTIVATION_PROCESS_FORBIDDEN_STATUS_ACTION';
|
|
27
|
+
exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_FORBIDDEN_STATUS_ACTION = 'E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_FORBIDDEN_STATUS_ACTION';
|
|
28
28
|
exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS';
|
|
29
29
|
exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = 'E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING';
|
|
30
30
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const E_IBAN_VALIDATION_ERROR = "E_IBAN_VALIDATION_ERROR";
|
|
2
|
+
export declare const E_IBAN_VALIDATION_PENDING = "E_IBAN_VALIDATION_PENDING";
|
|
3
|
+
export declare const E_IBAN_VALIDATION_REJECTED = "E_IBAN_VALIDATION_REJECTED";
|
|
4
|
+
export declare const E_IBAN_VALIDATION_UNHANDLED_STATUS = "E_IBAN_VALIDATION_UNHANDLED_STATUS";
|
|
5
|
+
export declare const E_IBAN_VALIDATION_UNSUPPORTED = "E_IBAN_VALIDATION_UNSUPPORTED";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.E_IBAN_VALIDATION_UNSUPPORTED = exports.E_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_IBAN_VALIDATION_REJECTED = exports.E_IBAN_VALIDATION_PENDING = exports.E_IBAN_VALIDATION_ERROR = void 0;
|
|
4
|
+
exports.E_IBAN_VALIDATION_ERROR = 'E_IBAN_VALIDATION_ERROR';
|
|
5
|
+
exports.E_IBAN_VALIDATION_PENDING = 'E_IBAN_VALIDATION_PENDING';
|
|
6
|
+
exports.E_IBAN_VALIDATION_REJECTED = 'E_IBAN_VALIDATION_REJECTED';
|
|
7
|
+
exports.E_IBAN_VALIDATION_UNHANDLED_STATUS = 'E_IBAN_VALIDATION_UNHANDLED_STATUS';
|
|
8
|
+
exports.E_IBAN_VALIDATION_UNSUPPORTED = 'E_IBAN_VALIDATION_UNSUPPORTED';
|
|
@@ -2,6 +2,7 @@ export * from './billing.error.constants';
|
|
|
2
2
|
export * from './bundle-type-configuration.error.constants';
|
|
3
3
|
export * from './common.constants';
|
|
4
4
|
export * from './error.constants';
|
|
5
|
+
export * from './iban-validation.error.constants';
|
|
5
6
|
export * from './not-found.error.constants';
|
|
6
7
|
export * from './updowngrade.error.constants';
|
|
7
8
|
export * from './user.error.constants';
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./billing.error.constants"), exports);
|
|
|
18
18
|
__exportStar(require("./bundle-type-configuration.error.constants"), exports);
|
|
19
19
|
__exportStar(require("./common.constants"), exports);
|
|
20
20
|
__exportStar(require("./error.constants"), exports);
|
|
21
|
+
__exportStar(require("./iban-validation.error.constants"), exports);
|
|
21
22
|
__exportStar(require("./not-found.error.constants"), exports);
|
|
22
23
|
__exportStar(require("./updowngrade.error.constants"), exports);
|
|
23
24
|
__exportStar(require("./user.error.constants"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomerAggrupationStatus } from '../sys03/aggrupation';
|
|
2
2
|
import { SaleProcessStatusType } from '../zoho/constants';
|
|
3
3
|
export declare const DigitelStatusDic: Record<string, SaleProcessStatusType>;
|
|
4
|
-
export declare const DigitelExtensionsStatusDic: Record<string,
|
|
4
|
+
export declare const DigitelExtensionsStatusDic: Record<string, CustomerAggrupationStatus>;
|
|
@@ -23,20 +23,20 @@ exports.DigitelStatusDic = {
|
|
|
23
23
|
completed: constants_1.SaleProcessStatusType.COMPLETED
|
|
24
24
|
};
|
|
25
25
|
exports.DigitelExtensionsStatusDic = {
|
|
26
|
-
Certification: aggrupation_1.
|
|
27
|
-
Signed: aggrupation_1.
|
|
28
|
-
Failed: aggrupation_1.
|
|
29
|
-
Created: aggrupation_1.
|
|
30
|
-
CreatedWithErrors: aggrupation_1.
|
|
31
|
-
Launched: aggrupation_1.
|
|
32
|
-
'Sms sent': aggrupation_1.
|
|
33
|
-
'Contract document viewed': aggrupation_1.
|
|
34
|
-
'Contract accepted': aggrupation_1.
|
|
35
|
-
'Contract documents signed': aggrupation_1.
|
|
36
|
-
'Pin validation expired': aggrupation_1.
|
|
37
|
-
Error: aggrupation_1.
|
|
38
|
-
Success: aggrupation_1.
|
|
39
|
-
Expired: aggrupation_1.
|
|
40
|
-
Canceled: aggrupation_1.
|
|
41
|
-
Rejected: aggrupation_1.
|
|
26
|
+
Certification: aggrupation_1.CustomerAggrupationStatus.DIGITEL_CERTIFICATION,
|
|
27
|
+
Signed: aggrupation_1.CustomerAggrupationStatus.DIGITEL_SIGNED,
|
|
28
|
+
Failed: aggrupation_1.CustomerAggrupationStatus.DIGITEL_FAILED,
|
|
29
|
+
Created: aggrupation_1.CustomerAggrupationStatus.DIGITEL_CREATED,
|
|
30
|
+
CreatedWithErrors: aggrupation_1.CustomerAggrupationStatus.DIGITEL_CREATED_WITH_ERRORS,
|
|
31
|
+
Launched: aggrupation_1.CustomerAggrupationStatus.DIGITEL_LAUNCHED,
|
|
32
|
+
'Sms sent': aggrupation_1.CustomerAggrupationStatus.DIGITEL_SMS_SENT,
|
|
33
|
+
'Contract document viewed': aggrupation_1.CustomerAggrupationStatus.DIGITEL_DOCUMENT_VIEWED,
|
|
34
|
+
'Contract accepted': aggrupation_1.CustomerAggrupationStatus.DIGITEL_PIN_REQUESTED,
|
|
35
|
+
'Contract documents signed': aggrupation_1.CustomerAggrupationStatus.DIGITEL_DOCUMENTS_SIGNED,
|
|
36
|
+
'Pin validation expired': aggrupation_1.CustomerAggrupationStatus.DIGITEL_PIN_EXPIRED,
|
|
37
|
+
Error: aggrupation_1.CustomerAggrupationStatus.DIGITEL_ERROR,
|
|
38
|
+
Success: aggrupation_1.CustomerAggrupationStatus.DIGITEL_SUCCESS,
|
|
39
|
+
Expired: aggrupation_1.CustomerAggrupationStatus.DIGITEL_EXPIRED,
|
|
40
|
+
Canceled: aggrupation_1.CustomerAggrupationStatus.DIGITEL_CANCELLED,
|
|
41
|
+
Rejected: aggrupation_1.CustomerAggrupationStatus.DIGITEL_REJECTED
|
|
42
42
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum CustomerAggrupationStatus {
|
|
2
2
|
FRESH = "fresh",
|
|
3
3
|
GROUPED = "grouped",
|
|
4
4
|
UNGROUPED = "ungrouped",
|
|
@@ -20,13 +20,14 @@ export declare enum AggrupationStatus {
|
|
|
20
20
|
DIGITEL_SUCCESS = "digitel-success",
|
|
21
21
|
CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED = "customer-account-documents-handled",
|
|
22
22
|
PROCESSES_SENT = "processes-sent",
|
|
23
|
+
PROCESSES_SENT_WITH_ERRORS = "processes-sent-with-errors",
|
|
23
24
|
COMPLETED = "completed"
|
|
24
25
|
}
|
|
25
|
-
export declare enum
|
|
26
|
+
export declare enum CustomerAggrupationProcessStatus {
|
|
26
27
|
GROUPED = "grouped",
|
|
27
28
|
BROKEN = "broken",
|
|
28
29
|
SENT = "sent",
|
|
29
30
|
COMPLETED = "completed"
|
|
30
31
|
}
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const CUSTOMER_AGGRUPATION_CREATION_DISABLED_STATUS: CustomerAggrupationStatus[];
|
|
33
|
+
export declare const CUSTOMER_AGGRUPATION_CREATION_ENABLED_STATUS: CustomerAggrupationStatus[];
|
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
exports.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
3
|
+
exports.CUSTOMER_AGGRUPATION_CREATION_ENABLED_STATUS = exports.CUSTOMER_AGGRUPATION_CREATION_DISABLED_STATUS = exports.CustomerAggrupationProcessStatus = exports.CustomerAggrupationStatus = void 0;
|
|
4
|
+
var CustomerAggrupationStatus;
|
|
5
|
+
(function (CustomerAggrupationStatus) {
|
|
6
|
+
CustomerAggrupationStatus["FRESH"] = "fresh";
|
|
7
|
+
CustomerAggrupationStatus["GROUPED"] = "grouped";
|
|
8
|
+
CustomerAggrupationStatus["UNGROUPED"] = "ungrouped";
|
|
9
|
+
CustomerAggrupationStatus["DIGITEL_CANCELLED"] = "digitel-canceled";
|
|
10
|
+
CustomerAggrupationStatus["DIGITEL_CERTIFICATION"] = "digitel-certification";
|
|
11
|
+
CustomerAggrupationStatus["DIGITEL_CREATED"] = "digitel-created";
|
|
12
|
+
CustomerAggrupationStatus["DIGITEL_CREATED_WITH_ERRORS"] = "digitel-created-with-errors";
|
|
13
|
+
CustomerAggrupationStatus["DIGITEL_DOCUMENT_VIEWED"] = "digitel-document-viewed";
|
|
14
|
+
CustomerAggrupationStatus["DIGITEL_DOCUMENTS_SIGNED"] = "digitel-documents-signed";
|
|
15
|
+
CustomerAggrupationStatus["DIGITEL_ERROR"] = "digitel-error";
|
|
16
|
+
CustomerAggrupationStatus["DIGITEL_EXPIRED"] = "digitel-expired";
|
|
17
|
+
CustomerAggrupationStatus["DIGITEL_FAILED"] = "digitel-failed";
|
|
18
|
+
CustomerAggrupationStatus["DIGITEL_LAUNCHED"] = "digitel-launched";
|
|
19
|
+
CustomerAggrupationStatus["DIGITEL_PIN_EXPIRED"] = "digitel-pin-expired";
|
|
20
|
+
CustomerAggrupationStatus["DIGITEL_PIN_REQUESTED"] = "digitel-pin-requested";
|
|
21
|
+
CustomerAggrupationStatus["DIGITEL_REJECTED"] = "digitel-rejected";
|
|
22
|
+
CustomerAggrupationStatus["DIGITEL_SIGNED"] = "digitel-signed";
|
|
23
|
+
CustomerAggrupationStatus["DIGITEL_SMS_SENT"] = "digitel-msg-sent";
|
|
24
|
+
CustomerAggrupationStatus["DIGITEL_SUCCESS"] = "digitel-success";
|
|
25
|
+
CustomerAggrupationStatus["CUSTOMER_ACCOUNT_DOCUMENTS_HANDLED"] = "customer-account-documents-handled";
|
|
26
|
+
CustomerAggrupationStatus["PROCESSES_SENT"] = "processes-sent";
|
|
27
|
+
CustomerAggrupationStatus["PROCESSES_SENT_WITH_ERRORS"] = "processes-sent-with-errors";
|
|
28
|
+
CustomerAggrupationStatus["COMPLETED"] = "completed";
|
|
29
|
+
})(CustomerAggrupationStatus || (exports.CustomerAggrupationStatus = CustomerAggrupationStatus = {}));
|
|
30
|
+
var CustomerAggrupationProcessStatus;
|
|
31
|
+
(function (CustomerAggrupationProcessStatus) {
|
|
32
|
+
CustomerAggrupationProcessStatus["GROUPED"] = "grouped";
|
|
33
|
+
CustomerAggrupationProcessStatus["BROKEN"] = "broken";
|
|
34
|
+
CustomerAggrupationProcessStatus["SENT"] = "sent";
|
|
35
|
+
CustomerAggrupationProcessStatus["COMPLETED"] = "completed";
|
|
36
|
+
})(CustomerAggrupationProcessStatus || (exports.CustomerAggrupationProcessStatus = CustomerAggrupationProcessStatus = {}));
|
|
37
|
+
exports.CUSTOMER_AGGRUPATION_CREATION_DISABLED_STATUS = [
|
|
38
|
+
CustomerAggrupationStatus.DIGITEL_CERTIFICATION,
|
|
39
|
+
CustomerAggrupationStatus.DIGITEL_CREATED,
|
|
40
|
+
CustomerAggrupationStatus.DIGITEL_DOCUMENT_VIEWED,
|
|
41
|
+
CustomerAggrupationStatus.DIGITEL_DOCUMENTS_SIGNED,
|
|
42
|
+
CustomerAggrupationStatus.DIGITEL_LAUNCHED,
|
|
43
|
+
CustomerAggrupationStatus.DIGITEL_PIN_REQUESTED,
|
|
44
|
+
CustomerAggrupationStatus.DIGITEL_SIGNED,
|
|
45
|
+
CustomerAggrupationStatus.DIGITEL_SMS_SENT,
|
|
46
|
+
CustomerAggrupationStatus.DIGITEL_SUCCESS
|
|
46
47
|
];
|
|
47
|
-
exports.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
exports.CUSTOMER_AGGRUPATION_CREATION_ENABLED_STATUS = [
|
|
49
|
+
CustomerAggrupationStatus.DIGITEL_CANCELLED,
|
|
50
|
+
CustomerAggrupationStatus.DIGITEL_CREATED_WITH_ERRORS,
|
|
51
|
+
CustomerAggrupationStatus.DIGITEL_ERROR,
|
|
52
|
+
CustomerAggrupationStatus.DIGITEL_EXPIRED,
|
|
53
|
+
CustomerAggrupationStatus.DIGITEL_FAILED,
|
|
54
|
+
CustomerAggrupationStatus.DIGITEL_PIN_EXPIRED,
|
|
55
|
+
CustomerAggrupationStatus.DIGITEL_REJECTED
|
|
55
56
|
];
|
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
import { CustomerProcessType } from '../../bss/customer/customer.constants';
|
|
2
2
|
import { PaginationQueryDto } from '../../common/common.entity';
|
|
3
3
|
import { ArsDocumentDto, AuditFieldsDto, CreateAuditFieldsDto, GenericFileDto } from '../common';
|
|
4
|
-
import {
|
|
4
|
+
import { CustomerAggrupationProcessStatus, CustomerAggrupationStatus } from './aggrupation.constants';
|
|
5
5
|
import { DigitelCircuitType } from '../../bss/constants';
|
|
6
|
+
export declare class AggrupationProcessDto {
|
|
7
|
+
id: number;
|
|
8
|
+
aggrupationId: number;
|
|
9
|
+
aggrupation?: AggrupationDto;
|
|
10
|
+
customerProcessId: number;
|
|
11
|
+
customerProcessType: CustomerProcessType;
|
|
12
|
+
status?: CustomerAggrupationProcessStatus;
|
|
13
|
+
created: AuditFieldsDto;
|
|
14
|
+
}
|
|
15
|
+
declare const CustomerAggrupationSubmitProcessErrorDto_base: import("@nestjs/common").Type<Pick<AggrupationProcessDto, "customerProcessId" | "customerProcessType">>;
|
|
16
|
+
export declare class CustomerAggrupationSubmitProcessErrorDto extends CustomerAggrupationSubmitProcessErrorDto_base {
|
|
17
|
+
error: any;
|
|
18
|
+
}
|
|
19
|
+
declare const CustomerAggrupationSubmitProcessResDto_base: import("@nestjs/common").Type<Pick<AggrupationProcessDto, "id" | "status"> & Pick<CustomerAggrupationSubmitProcessErrorDto, "customerProcessId" | "customerProcessType"> & Partial<Pick<CustomerAggrupationSubmitProcessErrorDto, "error">>>;
|
|
20
|
+
export declare class CustomerAggrupationSubmitProcessResDto extends CustomerAggrupationSubmitProcessResDto_base {
|
|
21
|
+
}
|
|
22
|
+
export declare class CustomerAggrupationSubmitProcessesResDto {
|
|
23
|
+
newExtrasProcesses: CustomerAggrupationSubmitProcessResDto[];
|
|
24
|
+
deactivationProcesses: CustomerAggrupationSubmitProcessResDto[];
|
|
25
|
+
modificationProcesses: CustomerAggrupationSubmitProcessResDto[];
|
|
26
|
+
transitionProcesses: CustomerAggrupationSubmitProcessResDto[];
|
|
27
|
+
multipleTransitionProcesses: CustomerAggrupationSubmitProcessResDto[];
|
|
28
|
+
}
|
|
6
29
|
export declare class AggrupationDto {
|
|
7
30
|
id?: number;
|
|
8
31
|
customerId: string;
|
|
9
|
-
status?:
|
|
32
|
+
status?: CustomerAggrupationStatus;
|
|
10
33
|
shoppingCartId?: string;
|
|
11
34
|
channel: string;
|
|
12
35
|
customerVulnerable: boolean;
|
|
@@ -14,25 +37,17 @@ export declare class AggrupationDto {
|
|
|
14
37
|
contractId?: string;
|
|
15
38
|
contractUrl?: string;
|
|
16
39
|
files?: GenericFileDto[];
|
|
40
|
+
submitErrors?: CustomerAggrupationSubmitProcessErrorDto[];
|
|
17
41
|
created: AuditFieldsDto;
|
|
18
42
|
updated?: AuditFieldsDto;
|
|
19
43
|
}
|
|
20
|
-
export declare class AggrupationProcessDto {
|
|
21
|
-
id: number;
|
|
22
|
-
aggrupationId: number;
|
|
23
|
-
aggrupation?: AggrupationDto;
|
|
24
|
-
customerProcessId: number;
|
|
25
|
-
customerProcessType: CustomerProcessType;
|
|
26
|
-
status?: AggrupationProcessStatus;
|
|
27
|
-
created: AuditFieldsDto;
|
|
28
|
-
}
|
|
29
44
|
declare const CreateAggrupationProcessDto_base: import("@nestjs/common").Type<Pick<AggrupationProcessDto, "aggrupationId" | "customerProcessId" | "customerProcessType">>;
|
|
30
45
|
export declare class CreateAggrupationProcessDto extends CreateAggrupationProcessDto_base {
|
|
31
|
-
status:
|
|
46
|
+
status: CustomerAggrupationProcessStatus;
|
|
32
47
|
created: CreateAuditFieldsDto;
|
|
33
48
|
}
|
|
34
49
|
export declare class PatchAggrupationProcessDto {
|
|
35
|
-
status:
|
|
50
|
+
status: CustomerAggrupationProcessStatus;
|
|
36
51
|
}
|
|
37
52
|
export declare class AggrupationFiltersDto extends PaginationQueryDto {
|
|
38
53
|
customerId?: string;
|
|
@@ -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.ArsAggrupationDocumentDto = exports.AggrupationFiltersDto = exports.PatchAggrupationProcessDto = exports.CreateAggrupationProcessDto = exports.
|
|
12
|
+
exports.ArsAggrupationDocumentDto = exports.AggrupationFiltersDto = exports.PatchAggrupationProcessDto = exports.CreateAggrupationProcessDto = exports.AggrupationDto = exports.CustomerAggrupationSubmitProcessesResDto = exports.CustomerAggrupationSubmitProcessResDto = exports.CustomerAggrupationSubmitProcessErrorDto = exports.AggrupationProcessDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const common_entity_1 = require("../../common/common.entity");
|
|
15
15
|
const common_1 = require("../common");
|
|
@@ -19,9 +19,33 @@ const _validators_1 = require("../../validators/index");
|
|
|
19
19
|
const constants_1 = require("../../bss/constants");
|
|
20
20
|
const class_transformer_1 = require("class-transformer");
|
|
21
21
|
const swagger_1 = require("@nestjs/swagger");
|
|
22
|
+
class AggrupationProcessDto {
|
|
23
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
+
return { id: { required: true, type: () => Number }, aggrupationId: { required: true, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationDto }, customerProcessId: { required: true, type: () => Number }, customerProcessType: { required: true, enum: require("../../bss/customer/customer.constants").CustomerProcessType }, status: { required: false, enum: require("./aggrupation.constants").CustomerAggrupationProcessStatus }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto } };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.AggrupationProcessDto = AggrupationProcessDto;
|
|
28
|
+
class CustomerAggrupationSubmitProcessErrorDto extends (0, swagger_1.PickType)(AggrupationProcessDto, ['customerProcessId', 'customerProcessType']) {
|
|
29
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
30
|
+
return { error: { required: true, type: () => Object } };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.CustomerAggrupationSubmitProcessErrorDto = CustomerAggrupationSubmitProcessErrorDto;
|
|
34
|
+
class CustomerAggrupationSubmitProcessResDto extends (0, swagger_1.IntersectionType)((0, swagger_1.PickType)(AggrupationProcessDto, ['id', 'status']), (0, swagger_1.PickType)(CustomerAggrupationSubmitProcessErrorDto, ['customerProcessId', 'customerProcessType']), (0, swagger_1.PartialType)((0, swagger_1.PickType)(CustomerAggrupationSubmitProcessErrorDto, ['error']))) {
|
|
35
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.CustomerAggrupationSubmitProcessResDto = CustomerAggrupationSubmitProcessResDto;
|
|
40
|
+
class CustomerAggrupationSubmitProcessesResDto {
|
|
41
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
42
|
+
return { newExtrasProcesses: { required: true, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessResDto] }, deactivationProcesses: { required: true, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessResDto] }, modificationProcesses: { required: true, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessResDto] }, transitionProcesses: { required: true, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessResDto] }, multipleTransitionProcesses: { required: true, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessResDto] } };
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CustomerAggrupationSubmitProcessesResDto = CustomerAggrupationSubmitProcessesResDto;
|
|
22
46
|
class AggrupationDto {
|
|
23
47
|
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
-
return { id: { required: false, type: () => Number }, customerId: { required: true, type: () => String }, status: { required: false, enum: require("./aggrupation.constants").
|
|
48
|
+
return { id: { required: false, type: () => Number }, customerId: { required: true, type: () => String }, status: { required: false, enum: require("./aggrupation.constants").CustomerAggrupationStatus }, shoppingCartId: { required: false, type: () => String }, channel: { required: true, type: () => String }, customerVulnerable: { required: true, type: () => Boolean }, digitelCircuitType: { required: true, enum: require("../../bss/constants/bp.constants").DigitelCircuitType }, contractId: { required: false, type: () => String }, contractUrl: { required: false, type: () => String }, files: { required: false, type: () => [require("../common/common.entity").GenericFileDto] }, submitErrors: { required: false, type: () => [require("./aggrupation.entity").CustomerAggrupationSubmitProcessErrorDto] }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto }, updated: { required: false, type: () => require("../common/common.entity").AuditFieldsDto } };
|
|
25
49
|
}
|
|
26
50
|
}
|
|
27
51
|
exports.AggrupationDto = AggrupationDto;
|
|
@@ -38,7 +62,7 @@ __decorate([
|
|
|
38
62
|
], AggrupationDto.prototype, "customerId", void 0);
|
|
39
63
|
__decorate([
|
|
40
64
|
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_validator_1.IsEnum)(aggrupation_constants_1.
|
|
65
|
+
(0, class_validator_1.IsEnum)(aggrupation_constants_1.CustomerAggrupationStatus),
|
|
42
66
|
__metadata("design:type", String)
|
|
43
67
|
], AggrupationDto.prototype, "status", void 0);
|
|
44
68
|
__decorate([
|
|
@@ -80,25 +104,19 @@ __decorate([
|
|
|
80
104
|
(0, class_validator_1.IsOptional)(),
|
|
81
105
|
__metadata("design:type", Array)
|
|
82
106
|
], AggrupationDto.prototype, "files", void 0);
|
|
83
|
-
class AggrupationProcessDto {
|
|
84
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
85
|
-
return { id: { required: true, type: () => Number }, aggrupationId: { required: true, type: () => Number }, aggrupation: { required: false, type: () => require("./aggrupation.entity").AggrupationDto }, customerProcessId: { required: true, type: () => Number }, customerProcessType: { required: true, enum: require("../../bss/customer/customer.constants").CustomerProcessType }, status: { required: false, enum: require("./aggrupation.constants").AggrupationProcessStatus }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto } };
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.AggrupationProcessDto = AggrupationProcessDto;
|
|
89
107
|
class CreateAggrupationProcessDto extends (0, swagger_1.PickType)(AggrupationProcessDto, [
|
|
90
108
|
'aggrupationId',
|
|
91
109
|
'customerProcessId',
|
|
92
110
|
'customerProcessType'
|
|
93
111
|
]) {
|
|
94
112
|
static _OPENAPI_METADATA_FACTORY() {
|
|
95
|
-
return { status: { required: true, enum: require("./aggrupation.constants").
|
|
113
|
+
return { status: { required: true, enum: require("./aggrupation.constants").CustomerAggrupationProcessStatus }, created: { required: true, type: () => require("../common/common.entity").CreateAuditFieldsDto } };
|
|
96
114
|
}
|
|
97
115
|
}
|
|
98
116
|
exports.CreateAggrupationProcessDto = CreateAggrupationProcessDto;
|
|
99
117
|
class PatchAggrupationProcessDto {
|
|
100
118
|
static _OPENAPI_METADATA_FACTORY() {
|
|
101
|
-
return { status: { required: true, enum: require("./aggrupation.constants").
|
|
119
|
+
return { status: { required: true, enum: require("./aggrupation.constants").CustomerAggrupationProcessStatus } };
|
|
102
120
|
}
|
|
103
121
|
}
|
|
104
122
|
exports.PatchAggrupationProcessDto = PatchAggrupationProcessDto;
|
|
@@ -26,7 +26,9 @@ export declare class CustomerBillingAccountBillDetailsDto {
|
|
|
26
26
|
deliveryInterval: number;
|
|
27
27
|
deliveryMethod: DeliveryMethod;
|
|
28
28
|
electronicInvoiceType?: string;
|
|
29
|
-
|
|
29
|
+
electronicInvoiceAccountingOffice?: string;
|
|
30
|
+
electronicInvoiceAdministrativeBody?: string;
|
|
31
|
+
electronicInvoiceProcessingUnit?: string;
|
|
30
32
|
daysUntilPayment?: number;
|
|
31
33
|
dueDateShift?: number;
|
|
32
34
|
nextBillingPeriod: string;
|
|
@@ -35,7 +37,7 @@ export declare class CustomerBillingAccountBillDetailsDto {
|
|
|
35
37
|
declare const CreateCustomerBillingAccountBillDetailsDto_base: import("@nestjs/common").Type<Pick<CustomerBillingAccountBillDetailsDto, "deliveryMethod">>;
|
|
36
38
|
export declare class CreateCustomerBillingAccountBillDetailsDto extends CreateCustomerBillingAccountBillDetailsDto_base {
|
|
37
39
|
}
|
|
38
|
-
declare const PatchCustomerBillingAccountBillDetailsDto_base: import("@nestjs/common").Type<Partial<Pick<CustomerBillingAccountBillDetailsDto, "deliveryMethod" | "deliveryInterval" | "electronicInvoiceType" | "
|
|
40
|
+
declare const PatchCustomerBillingAccountBillDetailsDto_base: import("@nestjs/common").Type<Partial<Pick<CustomerBillingAccountBillDetailsDto, "deliveryMethod" | "deliveryInterval" | "electronicInvoiceType" | "electronicInvoiceAccountingOffice" | "electronicInvoiceAdministrativeBody" | "electronicInvoiceProcessingUnit" | "daysUntilPayment" | "dueDateShift">>>;
|
|
39
41
|
export declare class PatchCustomerBillingAccountBillDetailsDto extends PatchCustomerBillingAccountBillDetailsDto_base {
|
|
40
42
|
}
|
|
41
43
|
export declare class CustomerBillingAccountBillingCycleDto {
|
|
@@ -106,7 +108,9 @@ export declare class UpdateCustomerBillingAccountInvoiceDetailsReqDto {
|
|
|
106
108
|
deliveryInterval: number;
|
|
107
109
|
deliveryMethod: DeliveryMethod;
|
|
108
110
|
electronicInvoiceType: string;
|
|
109
|
-
|
|
111
|
+
electronicInvoiceAccountingOffice: string;
|
|
112
|
+
electronicInvoiceAdministrativeBody: string;
|
|
113
|
+
electronicInvoiceProcessingUnit: string;
|
|
110
114
|
nextBillingPeriod: string;
|
|
111
115
|
}
|
|
112
116
|
export declare class UpdateCustomerBillingAccountAdditionalDetailsReqDto {
|
|
@@ -22,6 +22,7 @@ const customer_account_entitty_1 = require("./customer-account.entitty");
|
|
|
22
22
|
const class_transformer_1 = require("class-transformer");
|
|
23
23
|
const customer_account_address_entity_1 = require("./customer-account-address.entity");
|
|
24
24
|
const _validators_1 = require("../../validators/index");
|
|
25
|
+
const DIR3_FIELD_REGEXP = /^[A-Z]{2}[0-9]{7}|[A-Z]{1}[0-9]{8}$/;
|
|
25
26
|
class CustomerBillingAccountBillReceiverDto {
|
|
26
27
|
static _OPENAPI_METADATA_FACTORY() {
|
|
27
28
|
return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, deliveryAddress: { required: true, type: () => String }, deliveryAddressData: { required: false, type: () => require("./customer-account-address.entity").CustomerAccountAddressDto } };
|
|
@@ -59,7 +60,7 @@ class CustomerBillingAccountBillReceiverDtoBuilder extends helpers_1.Builder {
|
|
|
59
60
|
exports.CustomerBillingAccountBillReceiverDtoBuilder = CustomerBillingAccountBillReceiverDtoBuilder;
|
|
60
61
|
class CustomerBillingAccountBillDetailsDto {
|
|
61
62
|
static _OPENAPI_METADATA_FACTORY() {
|
|
62
|
-
return { displayItemized: { required: true, type: () => Boolean }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, deliveryInterval: { required: true, type: () => Number }, deliveryMethod: { required: true, enum: require("../../bss/constants/bp.constants").DeliveryMethod }, electronicInvoiceType: { required: false, type: () => String },
|
|
63
|
+
return { displayItemized: { required: true, type: () => Boolean }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, deliveryInterval: { required: true, type: () => Number }, deliveryMethod: { required: true, enum: require("../../bss/constants/bp.constants").DeliveryMethod }, electronicInvoiceType: { required: false, type: () => String }, electronicInvoiceAccountingOffice: { required: false, type: () => String }, electronicInvoiceAdministrativeBody: { required: false, type: () => String }, electronicInvoiceProcessingUnit: { required: false, type: () => String }, daysUntilPayment: { required: false, type: () => Number }, dueDateShift: { required: false, type: () => Number }, nextBillingPeriod: { required: true, type: () => String }, nextBillingPeriodOptions: { required: true, type: () => [require("../storage/storage.entity").DropdownOptionDto] } };
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
exports.CustomerBillingAccountBillDetailsDto = CustomerBillingAccountBillDetailsDto;
|
|
@@ -75,7 +76,9 @@ class PatchCustomerBillingAccountBillDetailsDto extends (0, swagger_1.PartialTyp
|
|
|
75
76
|
'dueDateShift',
|
|
76
77
|
'daysUntilPayment',
|
|
77
78
|
'electronicInvoiceType',
|
|
78
|
-
'
|
|
79
|
+
'electronicInvoiceAccountingOffice',
|
|
80
|
+
'electronicInvoiceAdministrativeBody',
|
|
81
|
+
'electronicInvoiceProcessingUnit'
|
|
79
82
|
])) {
|
|
80
83
|
static _OPENAPI_METADATA_FACTORY() {
|
|
81
84
|
return {};
|
|
@@ -214,7 +217,7 @@ __decorate([
|
|
|
214
217
|
], UpdateCustomerBillingAccountBillReceiverDeliveryContactReqDto.prototype, "deliveryAddressData", void 0);
|
|
215
218
|
class UpdateCustomerBillingAccountInvoiceDetailsReqDto {
|
|
216
219
|
static _OPENAPI_METADATA_FACTORY() {
|
|
217
|
-
return { billingCycle: { required: true, type: () => String }, deliveryInterval: { required: true, type: () => Number, minimum: 0 }, deliveryMethod: { required: true, enum: require("../../bss/constants/bp.constants").DeliveryMethod }, electronicInvoiceType: { required: true, type: () => String },
|
|
220
|
+
return { billingCycle: { required: true, type: () => String }, deliveryInterval: { required: true, type: () => Number, minimum: 0 }, deliveryMethod: { required: true, enum: require("../../bss/constants/bp.constants").DeliveryMethod }, electronicInvoiceType: { required: true, type: () => String }, electronicInvoiceAccountingOffice: { required: true, type: () => String, pattern: "DIR3_FIELD_REGEXP" }, electronicInvoiceAdministrativeBody: { required: true, type: () => String, pattern: "DIR3_FIELD_REGEXP" }, electronicInvoiceProcessingUnit: { required: true, type: () => String, pattern: "DIR3_FIELD_REGEXP" }, nextBillingPeriod: { required: true, type: () => String, pattern: "/^[0-9]{4}-[0-9]{2}$/" } };
|
|
218
221
|
}
|
|
219
222
|
}
|
|
220
223
|
exports.UpdateCustomerBillingAccountInvoiceDetailsReqDto = UpdateCustomerBillingAccountInvoiceDetailsReqDto;
|
|
@@ -245,9 +248,25 @@ __decorate([
|
|
|
245
248
|
(0, class_validator_1.IsString)(),
|
|
246
249
|
(0, class_validator_1.IsNotEmpty)(),
|
|
247
250
|
(0, _validators_1.IsNotBlank)(),
|
|
248
|
-
(0, class_validator_1.Matches)(
|
|
251
|
+
(0, class_validator_1.Matches)(DIR3_FIELD_REGEXP),
|
|
249
252
|
__metadata("design:type", String)
|
|
250
|
-
], UpdateCustomerBillingAccountInvoiceDetailsReqDto.prototype, "
|
|
253
|
+
], UpdateCustomerBillingAccountInvoiceDetailsReqDto.prototype, "electronicInvoiceAccountingOffice", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, class_validator_1.ValidateIf)((o) => o.deliveryMethod === constants_1.DeliveryMethod.ELECTRONIC_INVOICE),
|
|
256
|
+
(0, class_validator_1.IsString)(),
|
|
257
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
258
|
+
(0, _validators_1.IsNotBlank)(),
|
|
259
|
+
(0, class_validator_1.Matches)(DIR3_FIELD_REGEXP),
|
|
260
|
+
__metadata("design:type", String)
|
|
261
|
+
], UpdateCustomerBillingAccountInvoiceDetailsReqDto.prototype, "electronicInvoiceAdministrativeBody", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, class_validator_1.ValidateIf)((o) => o.deliveryMethod === constants_1.DeliveryMethod.ELECTRONIC_INVOICE),
|
|
264
|
+
(0, class_validator_1.IsString)(),
|
|
265
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
266
|
+
(0, _validators_1.IsNotBlank)(),
|
|
267
|
+
(0, class_validator_1.Matches)(DIR3_FIELD_REGEXP),
|
|
268
|
+
__metadata("design:type", String)
|
|
269
|
+
], UpdateCustomerBillingAccountInvoiceDetailsReqDto.prototype, "electronicInvoiceProcessingUnit", void 0);
|
|
251
270
|
__decorate([
|
|
252
271
|
(0, class_validator_1.IsString)(),
|
|
253
272
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -28,7 +28,7 @@ class CreateCustomerBillingDirectDebitPaymentMethodDto extends (0, swagger_1.Int
|
|
|
28
28
|
exports.CreateCustomerBillingDirectDebitPaymentMethodDto = CreateCustomerBillingDirectDebitPaymentMethodDto;
|
|
29
29
|
class CreateCustomerBillingDirectDebitPaymentMethodReqDto {
|
|
30
30
|
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
-
return { owner: { required: true, type: () => String }, iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" }, bic: { required: true, type: () => String, pattern: "/^[A-
|
|
31
|
+
return { owner: { required: true, type: () => String }, iban: { required: true, type: () => String, pattern: "/^[A-Za-z0-9]+$/" }, bic: { required: true, type: () => String, pattern: "/^[A-Z][A-Z0-9]{7}$|^[A-Z][A-Z0-9]{10}$/" } };
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.CreateCustomerBillingDirectDebitPaymentMethodReqDto = CreateCustomerBillingDirectDebitPaymentMethodReqDto;
|
|
@@ -49,6 +49,6 @@ __decorate([
|
|
|
49
49
|
(0, class_validator_1.IsString)(),
|
|
50
50
|
(0, class_validator_1.IsNotEmpty)(),
|
|
51
51
|
(0, _validators_1.IsNotBlank)(),
|
|
52
|
-
(0, class_validator_1.Matches)(/^[A-
|
|
52
|
+
(0, class_validator_1.Matches)(/^[A-Z][A-Z0-9]{7}$|^[A-Z][A-Z0-9]{10}$/),
|
|
53
53
|
__metadata("design:type", String)
|
|
54
54
|
], CreateCustomerBillingDirectDebitPaymentMethodReqDto.prototype, "bic", void 0);
|
|
@@ -23,8 +23,9 @@ export declare class CustomerBundleDto {
|
|
|
23
23
|
characteristics?: CustomerProductCharacteristicDto[];
|
|
24
24
|
products: CustomerBundleProductDto[];
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class CustomerProductWithApartmentAndAddressDto {
|
|
27
27
|
apartment?: ApartmentDto;
|
|
28
|
+
address?: CustomerAccountAddressDto;
|
|
28
29
|
product: CustomerBundleDto;
|
|
29
30
|
}
|
|
30
31
|
export declare class CustomerProductTransitionCombinationDto implements ProductTransitionGroupOptionValues {
|
|
@@ -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.CreateCustomerProductTransferDto = exports.TerminateCustomerProductDto = exports.CheckCustomerProductTransitionWithAdditionalBundleResDto = exports.CheckCustomerProductActionResDto = exports.CustomerProductTransitionWithAdditionalBundleStepResDto = exports.CheckCustomerProductTransitionWithMultipleBundlesDto = exports.CheckCustomerProductModificationDto = exports.CheckCustomerProductModificationBundleDto = exports.CheckCustomerProductModificationProductGroupDto = exports.CheckCustomerProductModificationProductDto = exports.CheckCustomerProductModificationProductInstanceDto = exports.CustomerProductMultipleTransitionDto = exports.CustomerProductMultipleTransitionBundleDto = exports.CustomerProductModificationDto = exports.CustomerProductModificationBundleDto = exports.CustomerProductModificationProductGroupDto = exports.CustomerProductModificationProductDto = exports.CustomerProductModificationProductInstanceDto = exports.CheckCustomerProductTransitionDto = exports.CustomerProductTransitionCombinationDto = exports.
|
|
12
|
+
exports.CreateCustomerProductTransferDto = exports.TerminateCustomerProductDto = exports.CheckCustomerProductTransitionWithAdditionalBundleResDto = exports.CheckCustomerProductActionResDto = exports.CustomerProductTransitionWithAdditionalBundleStepResDto = exports.CheckCustomerProductTransitionWithMultipleBundlesDto = exports.CheckCustomerProductModificationDto = exports.CheckCustomerProductModificationBundleDto = exports.CheckCustomerProductModificationProductGroupDto = exports.CheckCustomerProductModificationProductDto = exports.CheckCustomerProductModificationProductInstanceDto = exports.CustomerProductMultipleTransitionDto = exports.CustomerProductMultipleTransitionBundleDto = exports.CustomerProductModificationDto = exports.CustomerProductModificationBundleDto = exports.CustomerProductModificationProductGroupDto = exports.CustomerProductModificationProductDto = exports.CustomerProductModificationProductInstanceDto = exports.CheckCustomerProductTransitionDto = exports.CustomerProductTransitionCombinationDto = exports.CustomerProductWithApartmentAndAddressDto = exports.CustomerBundleDto = exports.CustomerBundleProductDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const customer_1 = require("../../bss/customer");
|
|
15
15
|
const _validators_1 = require("../../validators/index");
|
|
@@ -29,12 +29,12 @@ class CustomerBundleDto {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
exports.CustomerBundleDto = CustomerBundleDto;
|
|
32
|
-
class
|
|
32
|
+
class CustomerProductWithApartmentAndAddressDto {
|
|
33
33
|
static _OPENAPI_METADATA_FACTORY() {
|
|
34
|
-
return { apartment: { required: false, type: () => require("../address/address.entity").ApartmentDto }, product: { required: true, type: () => require("./customer-product.entity").CustomerBundleDto } };
|
|
34
|
+
return { apartment: { required: false, type: () => require("../address/address.entity").ApartmentDto }, address: { required: false, type: () => require("./customer-account-address.entity").CustomerAccountAddressDto }, product: { required: true, type: () => require("./customer-product.entity").CustomerBundleDto } };
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
exports.
|
|
37
|
+
exports.CustomerProductWithApartmentAndAddressDto = CustomerProductWithApartmentAndAddressDto;
|
|
38
38
|
class CustomerProductTransitionCombinationDto {
|
|
39
39
|
static _OPENAPI_METADATA_FACTORY() {
|
|
40
40
|
return { groupId: { required: true, type: () => Number, minimum: 0 }, fiber: { required: false, type: () => require("../updowngrade/product-transition-group.entity").CheckProductTransitionGroupOptionFiberDto }, voip: { required: true, type: () => require("../updowngrade/product-transition-group.entity").CheckProductTransitionGroupOptionVoipDto }, mobile: { required: true, type: () => require("../updowngrade/product-transition-group.entity").CheckProductTransitionGroupOptionMobileDto } };
|