adamo-types 2.1.31-sit → 2.1.33-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/customer/customer.constants.d.ts +1 -0
- package/dist/bss/customer/customer.constants.js +3 -1
- package/dist/common/constants/common.constants.d.ts +4 -3
- package/dist/common/constants/common.constants.js +4 -3
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.d.ts +7 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.js +11 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.d.ts +53 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.js +206 -1
- package/dist/sys03/customer-suma-product/index.d.ts +1 -0
- package/dist/sys03/customer-suma-product/index.js +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/common/edge-mm/index.d.ts +0 -1
- package/dist/common/edge-mm/index.js +0 -17
- package/dist/common/edge-mm/information/index.d.ts +0 -2
- package/dist/common/edge-mm/information/index.js +0 -18
- package/dist/common/edge-mm/information/req/information.entity.d.ts +0 -14
- package/dist/common/edge-mm/information/req/information.entity.js +0 -22
- package/dist/common/edge-mm/information/res/res-information.entity.d.ts +0 -20
- package/dist/common/edge-mm/information/res/res-information.entity.js +0 -16
|
@@ -11,6 +11,7 @@ export declare enum CustomerProductActionType {
|
|
|
11
11
|
CANCEL_CHANGE_OF_ADDRESS = "CANCEL_CHANGE_OF_ADDRESS",
|
|
12
12
|
CHANGE = "CHANGE",
|
|
13
13
|
CHANGE_OF_ADDRESS = "CHANGE_OF_ADDRESS",
|
|
14
|
+
CONFIG = "CONFIG",
|
|
14
15
|
CONTINUE_CHANGE_OF_ADDRESS = "CONTINUE_CHANGE_OF_ADDRESS",
|
|
15
16
|
EXTRA = "EXTRA",
|
|
16
17
|
MIGRATE = "MIGRATE",
|
|
@@ -16,6 +16,7 @@ var CustomerProductActionType;
|
|
|
16
16
|
CustomerProductActionType["CANCEL_CHANGE_OF_ADDRESS"] = "CANCEL_CHANGE_OF_ADDRESS";
|
|
17
17
|
CustomerProductActionType["CHANGE"] = "CHANGE";
|
|
18
18
|
CustomerProductActionType["CHANGE_OF_ADDRESS"] = "CHANGE_OF_ADDRESS";
|
|
19
|
+
CustomerProductActionType["CONFIG"] = "CONFIG";
|
|
19
20
|
CustomerProductActionType["CONTINUE_CHANGE_OF_ADDRESS"] = "CONTINUE_CHANGE_OF_ADDRESS";
|
|
20
21
|
CustomerProductActionType["EXTRA"] = "EXTRA";
|
|
21
22
|
CustomerProductActionType["MIGRATE"] = "MIGRATE";
|
|
@@ -51,7 +52,8 @@ exports.CustomerProductActionTypeDisplayOrder = {
|
|
|
51
52
|
[CustomerProductActionType.TERMINATE]: 9,
|
|
52
53
|
[CustomerProductActionType.EXTRA]: 10,
|
|
53
54
|
[CustomerProductActionType.SEE_DETAILS]: 11,
|
|
54
|
-
[CustomerProductActionType.
|
|
55
|
+
[CustomerProductActionType.CONFIG]: 12,
|
|
56
|
+
[CustomerProductActionType.SIM_CHANGE]: 13
|
|
55
57
|
};
|
|
56
58
|
exports.CustomerProductTypeToServiceCharacteristicName = {
|
|
57
59
|
[constants_1.ShoppingCartProductType.FIBER]: ['SERVICE_ADDRESS'],
|
|
@@ -44,14 +44,15 @@ export declare enum StorageConfiguration {
|
|
|
44
44
|
CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS = "CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS",
|
|
45
45
|
DEPENDENCY_GROUPS = "DEPENDENCY_GROUPS",
|
|
46
46
|
DIGITEL_CIRCUITS_CONFIG = "DIGITEL_CIRCUITS_CONFIG",
|
|
47
|
-
DIGITEL_SIGN_FLOWS_CONFIG = "DIGITEL_SIGN_FLOWS_CONFIG",
|
|
48
47
|
DIGITEL_CLAUSES_CONFIG = "GDPR_CLAUSES",
|
|
49
48
|
DIGITEL_CONTRACT_CHANNELS_B2B = "DIGITEL_CONTRACT_CHANNELS_B2B",
|
|
50
49
|
DIGITEL_CONTRACT_CHANNELS_B2C = "DIGITEL_CONTRACT_CHANNELS_B2C",
|
|
51
50
|
DIGITEL_DEFAULT_USERS_PHONE = "DIGITEL_DEFAULT_USERS_PHONE",
|
|
51
|
+
DIGITEL_SIGN_FLOWS_CONFIG = "DIGITEL_SIGN_FLOWS_CONFIG",
|
|
52
52
|
FORBIDDEN_SALE_PROCESS_STATUSES = "FORBIDDEN_SALE_PROCESS_STATUSES",
|
|
53
53
|
IBAN_SUPPORTED_COUNTRIES = "IBAN_SUPPORTED_COUNTRIES",
|
|
54
54
|
IBAN_VALIDATION_CHANNELS = "IBAN_VALIDATION_CHANNELS",
|
|
55
|
+
LOCKED_SALE_PROCESS_STATUSES = "LOCKED_SALE_PROCESS_STATUSES",
|
|
55
56
|
PROCESS_PENDING_IBAN_VALIDATION_SALE_PROCESSES_JOB = "PROCESS_PENDING_IBAN_VALIDATION_SALE_PROCESSES_JOB",
|
|
56
57
|
PRODUCTS_MANDATORY_DOCUMENTS = "PRODUCTS_MANDATORY_DOCUMENTS",
|
|
57
58
|
PROMOTION_GROUPS = "PROMOTION_GROUPS",
|
|
@@ -113,8 +114,8 @@ export declare enum MicroserviceType {
|
|
|
113
114
|
}
|
|
114
115
|
export declare enum Templates {
|
|
115
116
|
ADMIN_NOTIFICATION_TEMPLATE = "ADMIN_NOTIFICATION_TEMPLATE",
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
B2B_SALE_PROCESS_WELCOME_SMS_TEMPLATE = "B2B_SALE_PROCESS_WELCOME_SMS_TEMPLATE",
|
|
118
|
+
B2C_SALE_PROCESS_WELCOME_SMS_TEMPLATE = "B2C_SALE_PROCESS_WELCOME_SMS_TEMPLATE",
|
|
118
119
|
INVOICE_B2B_CORPORATE_TEMPLATE = "INVOICE_B2B_CORPORATE_TEMPLATE",
|
|
119
120
|
INVOICE_B2B_PYMES_TEMPLATE = "INVOICE_B2B_PYMES_TEMPLATE",
|
|
120
121
|
INVOICE_B2B_TEMPLATE = "INVOICE_B2B_TEMPLATE",
|
|
@@ -65,14 +65,15 @@ var StorageConfiguration;
|
|
|
65
65
|
StorageConfiguration["CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS"] = "CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS";
|
|
66
66
|
StorageConfiguration["DEPENDENCY_GROUPS"] = "DEPENDENCY_GROUPS";
|
|
67
67
|
StorageConfiguration["DIGITEL_CIRCUITS_CONFIG"] = "DIGITEL_CIRCUITS_CONFIG";
|
|
68
|
-
StorageConfiguration["DIGITEL_SIGN_FLOWS_CONFIG"] = "DIGITEL_SIGN_FLOWS_CONFIG";
|
|
69
68
|
StorageConfiguration["DIGITEL_CLAUSES_CONFIG"] = "GDPR_CLAUSES";
|
|
70
69
|
StorageConfiguration["DIGITEL_CONTRACT_CHANNELS_B2B"] = "DIGITEL_CONTRACT_CHANNELS_B2B";
|
|
71
70
|
StorageConfiguration["DIGITEL_CONTRACT_CHANNELS_B2C"] = "DIGITEL_CONTRACT_CHANNELS_B2C";
|
|
72
71
|
StorageConfiguration["DIGITEL_DEFAULT_USERS_PHONE"] = "DIGITEL_DEFAULT_USERS_PHONE";
|
|
72
|
+
StorageConfiguration["DIGITEL_SIGN_FLOWS_CONFIG"] = "DIGITEL_SIGN_FLOWS_CONFIG";
|
|
73
73
|
StorageConfiguration["FORBIDDEN_SALE_PROCESS_STATUSES"] = "FORBIDDEN_SALE_PROCESS_STATUSES";
|
|
74
74
|
StorageConfiguration["IBAN_SUPPORTED_COUNTRIES"] = "IBAN_SUPPORTED_COUNTRIES";
|
|
75
75
|
StorageConfiguration["IBAN_VALIDATION_CHANNELS"] = "IBAN_VALIDATION_CHANNELS";
|
|
76
|
+
StorageConfiguration["LOCKED_SALE_PROCESS_STATUSES"] = "LOCKED_SALE_PROCESS_STATUSES";
|
|
76
77
|
StorageConfiguration["PROCESS_PENDING_IBAN_VALIDATION_SALE_PROCESSES_JOB"] = "PROCESS_PENDING_IBAN_VALIDATION_SALE_PROCESSES_JOB";
|
|
77
78
|
StorageConfiguration["PRODUCTS_MANDATORY_DOCUMENTS"] = "PRODUCTS_MANDATORY_DOCUMENTS";
|
|
78
79
|
StorageConfiguration["PROMOTION_GROUPS"] = "PROMOTION_GROUPS";
|
|
@@ -139,8 +140,8 @@ var MicroserviceType;
|
|
|
139
140
|
var Templates;
|
|
140
141
|
(function (Templates) {
|
|
141
142
|
Templates["ADMIN_NOTIFICATION_TEMPLATE"] = "ADMIN_NOTIFICATION_TEMPLATE";
|
|
142
|
-
Templates["
|
|
143
|
-
Templates["
|
|
143
|
+
Templates["B2B_SALE_PROCESS_WELCOME_SMS_TEMPLATE"] = "B2B_SALE_PROCESS_WELCOME_SMS_TEMPLATE";
|
|
144
|
+
Templates["B2C_SALE_PROCESS_WELCOME_SMS_TEMPLATE"] = "B2C_SALE_PROCESS_WELCOME_SMS_TEMPLATE";
|
|
144
145
|
Templates["INVOICE_B2B_CORPORATE_TEMPLATE"] = "INVOICE_B2B_CORPORATE_TEMPLATE";
|
|
145
146
|
Templates["INVOICE_B2B_PYMES_TEMPLATE"] = "INVOICE_B2B_PYMES_TEMPLATE";
|
|
146
147
|
Templates["INVOICE_B2B_TEMPLATE"] = "INVOICE_B2B_TEMPLATE";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomerSumaMobileProductForwardingCallType = void 0;
|
|
4
|
+
var CustomerSumaMobileProductForwardingCallType;
|
|
5
|
+
(function (CustomerSumaMobileProductForwardingCallType) {
|
|
6
|
+
CustomerSumaMobileProductForwardingCallType["NONE"] = "NONE";
|
|
7
|
+
CustomerSumaMobileProductForwardingCallType["ALWAYS"] = "ALWAYS";
|
|
8
|
+
CustomerSumaMobileProductForwardingCallType["WHEN_BUSY"] = "WHEN_BUSY";
|
|
9
|
+
CustomerSumaMobileProductForwardingCallType["WHEN_UNREACHABLE"] = "WHEN_UNREACHABLE";
|
|
10
|
+
CustomerSumaMobileProductForwardingCallType["WHEN_NO_ANSWER"] = "WHEN_NO_ANSWER";
|
|
11
|
+
})(CustomerSumaMobileProductForwardingCallType || (exports.CustomerSumaMobileProductForwardingCallType = CustomerSumaMobileProductForwardingCallType = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomerBundleProductDto } from '../customer/customer-product.entity';
|
|
2
|
+
import { CustomerSumaMobileProductForwardingCallType } from './customer-suma-mobile-product.constants';
|
|
2
3
|
export declare class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
|
|
3
4
|
amount: string;
|
|
4
5
|
expiresAt: Date;
|
|
@@ -29,4 +30,56 @@ export declare class CustomerSumaMobileProductDetailsDto extends CustomerSumaMob
|
|
|
29
30
|
subscription: CustomerSumaMobileProductSubscriptionDetailsDto;
|
|
30
31
|
sim: CustomerSumaMobileProductSimDetailsDto;
|
|
31
32
|
}
|
|
33
|
+
export declare class CustomerSumaMobileProductConfigCallForwardingDto {
|
|
34
|
+
phoneNumber: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto extends CustomerSumaMobileProductConfigCallForwardingDto {
|
|
37
|
+
voiceMail: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto extends CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto {
|
|
40
|
+
timeout: number;
|
|
41
|
+
}
|
|
42
|
+
declare const CustomerSumaMobileProductConfigCallsForwardingDto_base: import("@nestjs/common").Type<Partial<CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto>>;
|
|
43
|
+
export declare class CustomerSumaMobileProductConfigCallsForwardingDto extends CustomerSumaMobileProductConfigCallsForwardingDto_base {
|
|
44
|
+
type: CustomerSumaMobileProductForwardingCallType;
|
|
45
|
+
}
|
|
46
|
+
export declare class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
47
|
+
type: CustomerSumaMobileProductForwardingCallType;
|
|
48
|
+
phoneNumber: string;
|
|
49
|
+
voiceMail?: boolean;
|
|
50
|
+
timeout?: number;
|
|
51
|
+
}
|
|
52
|
+
export declare class CustomerSumaMobileProductConfigCallsDto {
|
|
53
|
+
blockOutgoingCalls: boolean;
|
|
54
|
+
blockPremiumInformationCalls: boolean;
|
|
55
|
+
blockPremiumEntertainmentCalls: boolean;
|
|
56
|
+
blockInternationalCalls: boolean;
|
|
57
|
+
blockCallsToLandlines: boolean;
|
|
58
|
+
blockCallsToMobiles: boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare class CustomerSumaMobileProductConfigDataDto {
|
|
61
|
+
allowData: boolean;
|
|
62
|
+
enableLte: boolean;
|
|
63
|
+
enableInternet: boolean;
|
|
64
|
+
enable5G: boolean;
|
|
65
|
+
}
|
|
66
|
+
export declare class CustomerSumaMobileProductConfigOthersDto {
|
|
67
|
+
allowIncomingSms: boolean;
|
|
68
|
+
allowOutgoingSms: boolean;
|
|
69
|
+
blockRoamingIncomingCalls: boolean;
|
|
70
|
+
blockRoamingOutgoingCalls: boolean;
|
|
71
|
+
blockRoamingData: boolean;
|
|
72
|
+
}
|
|
73
|
+
export declare class CustomerSumaMobileProductConfigDto {
|
|
74
|
+
callsForwarding: CustomerSumaMobileProductConfigCallsForwardingDto;
|
|
75
|
+
calls: CustomerSumaMobileProductConfigCallsDto;
|
|
76
|
+
data: CustomerSumaMobileProductConfigDataDto;
|
|
77
|
+
others: CustomerSumaMobileProductConfigOthersDto;
|
|
78
|
+
}
|
|
79
|
+
export declare class UpdateCustomerSumaMobileProductConfigReqDto {
|
|
80
|
+
callsForwarding: UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto;
|
|
81
|
+
calls: CustomerSumaMobileProductConfigCallsDto;
|
|
82
|
+
data: CustomerSumaMobileProductConfigDataDto;
|
|
83
|
+
others: CustomerSumaMobileProductConfigOthersDto;
|
|
84
|
+
}
|
|
32
85
|
export {};
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerSumaMobileProductDetailsDto = exports.CustomerSumaMobileProductSimDetailsDto = exports.CustomerSumaMobileProductSubscriptionDetailsDto = exports.CustomerSumaMobileProductSubscriptionBalanceDetailsDto = void 0;
|
|
12
|
+
exports.UpdateCustomerSumaMobileProductConfigReqDto = exports.CustomerSumaMobileProductConfigDto = exports.CustomerSumaMobileProductConfigOthersDto = exports.CustomerSumaMobileProductConfigDataDto = exports.CustomerSumaMobileProductConfigCallsDto = exports.UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto = exports.CustomerSumaMobileProductConfigCallsForwardingDto = exports.CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto = exports.CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto = exports.CustomerSumaMobileProductConfigCallForwardingDto = exports.CustomerSumaMobileProductDetailsDto = exports.CustomerSumaMobileProductSimDetailsDto = exports.CustomerSumaMobileProductSubscriptionDetailsDto = exports.CustomerSumaMobileProductSubscriptionBalanceDetailsDto = void 0;
|
|
4
13
|
const openapi = require("@nestjs/swagger");
|
|
5
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
6
15
|
const customer_product_entity_1 = require("../customer/customer-product.entity");
|
|
16
|
+
const customer_suma_mobile_product_constants_1 = require("./customer-suma-mobile-product.constants");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const class_transformer_1 = require("class-transformer");
|
|
19
|
+
const _validators_1 = require("../../validators/index");
|
|
7
20
|
class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
|
|
8
21
|
static _OPENAPI_METADATA_FACTORY() {
|
|
9
22
|
return { amount: { required: true, type: () => String }, expiresAt: { required: true, type: () => Date } };
|
|
@@ -34,3 +47,195 @@ class CustomerSumaMobileProductDetailsDto extends (0, swagger_1.PickType)(custom
|
|
|
34
47
|
}
|
|
35
48
|
}
|
|
36
49
|
exports.CustomerSumaMobileProductDetailsDto = CustomerSumaMobileProductDetailsDto;
|
|
50
|
+
class CustomerSumaMobileProductConfigCallForwardingDto {
|
|
51
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
52
|
+
return { phoneNumber: { required: true, type: () => String } };
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.CustomerSumaMobileProductConfigCallForwardingDto = CustomerSumaMobileProductConfigCallForwardingDto;
|
|
56
|
+
class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto extends CustomerSumaMobileProductConfigCallForwardingDto {
|
|
57
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
58
|
+
return { voiceMail: { required: true, type: () => Boolean } };
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto = CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto;
|
|
62
|
+
class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto extends CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto {
|
|
63
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
64
|
+
return { timeout: { required: true, type: () => Number } };
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto = CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto;
|
|
68
|
+
class CustomerSumaMobileProductConfigCallsForwardingDto extends (0, swagger_1.PartialType)(CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto) {
|
|
69
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
70
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductForwardingCallType } };
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.CustomerSumaMobileProductConfigCallsForwardingDto = CustomerSumaMobileProductConfigCallsForwardingDto;
|
|
74
|
+
class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
75
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
76
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductForwardingCallType }, phoneNumber: { required: true, type: () => String }, voiceMail: { required: false, type: () => Boolean }, timeout: { required: false, type: () => Number } };
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto = UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsEnum)(customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "type", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
86
|
+
return (o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.ALWAYS ||
|
|
87
|
+
(o.type !== customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.NONE && o.voiceMail === false));
|
|
88
|
+
}),
|
|
89
|
+
(0, class_validator_1.IsString)(),
|
|
90
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
91
|
+
(0, _validators_1.IsNotBlank)(),
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "phoneNumber", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
97
|
+
return o.type !== customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.NONE && o.type !== customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.ALWAYS;
|
|
98
|
+
}),
|
|
99
|
+
(0, class_validator_1.IsBoolean)(),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
__metadata("design:type", Boolean)
|
|
102
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "voiceMail", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
105
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.WHEN_NO_ANSWER;
|
|
106
|
+
}),
|
|
107
|
+
(0, class_validator_1.IsInt)(),
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
__metadata("design:type", Number)
|
|
110
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "timeout", void 0);
|
|
111
|
+
class CustomerSumaMobileProductConfigCallsDto {
|
|
112
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
113
|
+
return { blockOutgoingCalls: { required: true, type: () => Boolean }, blockPremiumInformationCalls: { required: true, type: () => Boolean }, blockPremiumEntertainmentCalls: { required: true, type: () => Boolean }, blockInternationalCalls: { required: true, type: () => Boolean }, blockCallsToLandlines: { required: true, type: () => Boolean }, blockCallsToMobiles: { required: true, type: () => Boolean } };
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.CustomerSumaMobileProductConfigCallsDto = CustomerSumaMobileProductConfigCallsDto;
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_validator_1.IsBoolean)(),
|
|
119
|
+
__metadata("design:type", Boolean)
|
|
120
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockOutgoingCalls", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_validator_1.IsBoolean)(),
|
|
123
|
+
__metadata("design:type", Boolean)
|
|
124
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockPremiumInformationCalls", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_validator_1.IsBoolean)(),
|
|
127
|
+
__metadata("design:type", Boolean)
|
|
128
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockPremiumEntertainmentCalls", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsBoolean)(),
|
|
131
|
+
__metadata("design:type", Boolean)
|
|
132
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockInternationalCalls", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_validator_1.IsBoolean)(),
|
|
135
|
+
__metadata("design:type", Boolean)
|
|
136
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockCallsToLandlines", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_validator_1.IsBoolean)(),
|
|
139
|
+
__metadata("design:type", Boolean)
|
|
140
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockCallsToMobiles", void 0);
|
|
141
|
+
class CustomerSumaMobileProductConfigDataDto {
|
|
142
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
143
|
+
return { allowData: { required: true, type: () => Boolean }, enableLte: { required: true, type: () => Boolean }, enableInternet: { required: true, type: () => Boolean }, enable5G: { required: true, type: () => Boolean } };
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.CustomerSumaMobileProductConfigDataDto = CustomerSumaMobileProductConfigDataDto;
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, class_validator_1.IsBoolean)(),
|
|
149
|
+
__metadata("design:type", Boolean)
|
|
150
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "allowData", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, class_validator_1.IsBoolean)(),
|
|
153
|
+
__metadata("design:type", Boolean)
|
|
154
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enableLte", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, class_validator_1.IsBoolean)(),
|
|
157
|
+
__metadata("design:type", Boolean)
|
|
158
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enableInternet", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, class_validator_1.IsBoolean)(),
|
|
161
|
+
(0, class_validator_1.IsOptional)(),
|
|
162
|
+
__metadata("design:type", Boolean)
|
|
163
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enable5G", void 0);
|
|
164
|
+
class CustomerSumaMobileProductConfigOthersDto {
|
|
165
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
166
|
+
return { allowIncomingSms: { required: true, type: () => Boolean }, allowOutgoingSms: { required: true, type: () => Boolean }, blockRoamingIncomingCalls: { required: true, type: () => Boolean }, blockRoamingOutgoingCalls: { required: true, type: () => Boolean }, blockRoamingData: { required: true, type: () => Boolean } };
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.CustomerSumaMobileProductConfigOthersDto = CustomerSumaMobileProductConfigOthersDto;
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, class_validator_1.IsBoolean)(),
|
|
172
|
+
__metadata("design:type", Boolean)
|
|
173
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "allowIncomingSms", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, class_validator_1.IsBoolean)(),
|
|
176
|
+
__metadata("design:type", Boolean)
|
|
177
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "allowOutgoingSms", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, class_validator_1.IsBoolean)(),
|
|
180
|
+
__metadata("design:type", Boolean)
|
|
181
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingIncomingCalls", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, class_validator_1.IsBoolean)(),
|
|
184
|
+
__metadata("design:type", Boolean)
|
|
185
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingOutgoingCalls", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, class_validator_1.IsBoolean)(),
|
|
188
|
+
__metadata("design:type", Boolean)
|
|
189
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingData", void 0);
|
|
190
|
+
class CustomerSumaMobileProductConfigDto {
|
|
191
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
192
|
+
return { callsForwarding: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigCallsForwardingDto }, calls: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigCallsDto }, data: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigDataDto }, others: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigOthersDto } };
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.CustomerSumaMobileProductConfigDto = CustomerSumaMobileProductConfigDto;
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, class_validator_1.ValidateNested)(),
|
|
198
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsForwardingDto),
|
|
199
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsForwardingDto)
|
|
200
|
+
], CustomerSumaMobileProductConfigDto.prototype, "callsForwarding", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, class_validator_1.ValidateNested)(),
|
|
203
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsDto),
|
|
204
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsDto)
|
|
205
|
+
], CustomerSumaMobileProductConfigDto.prototype, "calls", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, class_validator_1.ValidateNested)(),
|
|
208
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigDataDto),
|
|
209
|
+
__metadata("design:type", CustomerSumaMobileProductConfigDataDto)
|
|
210
|
+
], CustomerSumaMobileProductConfigDto.prototype, "data", void 0);
|
|
211
|
+
__decorate([
|
|
212
|
+
(0, class_validator_1.ValidateNested)(),
|
|
213
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigOthersDto),
|
|
214
|
+
__metadata("design:type", CustomerSumaMobileProductConfigOthersDto)
|
|
215
|
+
], CustomerSumaMobileProductConfigDto.prototype, "others", void 0);
|
|
216
|
+
class UpdateCustomerSumaMobileProductConfigReqDto {
|
|
217
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
218
|
+
return { callsForwarding: { required: true, type: () => require("./customer-suma-mobile-product.entity").UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto }, calls: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigCallsDto }, data: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigDataDto }, others: { required: true, type: () => require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigOthersDto } };
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
exports.UpdateCustomerSumaMobileProductConfigReqDto = UpdateCustomerSumaMobileProductConfigReqDto;
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, class_validator_1.ValidateNested)(),
|
|
224
|
+
(0, class_transformer_1.Type)(() => UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto),
|
|
225
|
+
__metadata("design:type", UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto)
|
|
226
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "callsForwarding", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, class_validator_1.ValidateNested)(),
|
|
229
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsDto),
|
|
230
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsDto)
|
|
231
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "calls", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, class_validator_1.ValidateNested)(),
|
|
234
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigDataDto),
|
|
235
|
+
__metadata("design:type", CustomerSumaMobileProductConfigDataDto)
|
|
236
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "data", void 0);
|
|
237
|
+
__decorate([
|
|
238
|
+
(0, class_validator_1.ValidateNested)(),
|
|
239
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigOthersDto),
|
|
240
|
+
__metadata("design:type", CustomerSumaMobileProductConfigOthersDto)
|
|
241
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "others", void 0);
|
|
@@ -14,4 +14,5 @@ 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("./customer-suma-mobile-product.constants"), exports);
|
|
17
18
|
__exportStar(require("./customer-suma-mobile-product.entity"), exports);
|