adamo-types 2.1.32-sit → 2.1.34-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 +2 -2
- package/dist/common/constants/common.constants.js +2 -2
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.d.ts +10 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.js +15 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.d.ts +63 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.js +239 -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'],
|
|
@@ -114,8 +114,8 @@ export declare enum MicroserviceType {
|
|
|
114
114
|
}
|
|
115
115
|
export declare enum Templates {
|
|
116
116
|
ADMIN_NOTIFICATION_TEMPLATE = "ADMIN_NOTIFICATION_TEMPLATE",
|
|
117
|
-
|
|
118
|
-
|
|
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",
|
|
119
119
|
INVOICE_B2B_CORPORATE_TEMPLATE = "INVOICE_B2B_CORPORATE_TEMPLATE",
|
|
120
120
|
INVOICE_B2B_PYMES_TEMPLATE = "INVOICE_B2B_PYMES_TEMPLATE",
|
|
121
121
|
INVOICE_B2B_TEMPLATE = "INVOICE_B2B_TEMPLATE",
|
|
@@ -140,8 +140,8 @@ var MicroserviceType;
|
|
|
140
140
|
var Templates;
|
|
141
141
|
(function (Templates) {
|
|
142
142
|
Templates["ADMIN_NOTIFICATION_TEMPLATE"] = "ADMIN_NOTIFICATION_TEMPLATE";
|
|
143
|
-
Templates["
|
|
144
|
-
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";
|
|
145
145
|
Templates["INVOICE_B2B_CORPORATE_TEMPLATE"] = "INVOICE_B2B_CORPORATE_TEMPLATE";
|
|
146
146
|
Templates["INVOICE_B2B_PYMES_TEMPLATE"] = "INVOICE_B2B_PYMES_TEMPLATE";
|
|
147
147
|
Templates["INVOICE_B2B_TEMPLATE"] = "INVOICE_B2B_TEMPLATE";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CustomerSumaMobileProductForwardingCallType {
|
|
2
|
+
NONE = "NONE",
|
|
3
|
+
ALWAYS = "ALWAYS",
|
|
4
|
+
CUSTOM = "CUSTOM"
|
|
5
|
+
}
|
|
6
|
+
export declare enum CustomerSumaMobileProductCustomForwardingCallType {
|
|
7
|
+
WHEN_BUSY = "WHEN_BUSY",
|
|
8
|
+
WHEN_UNREACHABLE = "WHEN_UNREACHABLE",
|
|
9
|
+
WHEN_NO_ANSWER = "WHEN_NO_ANSWER"
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomerSumaMobileProductCustomForwardingCallType = exports.CustomerSumaMobileProductForwardingCallType = void 0;
|
|
4
|
+
var CustomerSumaMobileProductForwardingCallType;
|
|
5
|
+
(function (CustomerSumaMobileProductForwardingCallType) {
|
|
6
|
+
CustomerSumaMobileProductForwardingCallType["NONE"] = "NONE";
|
|
7
|
+
CustomerSumaMobileProductForwardingCallType["ALWAYS"] = "ALWAYS";
|
|
8
|
+
CustomerSumaMobileProductForwardingCallType["CUSTOM"] = "CUSTOM";
|
|
9
|
+
})(CustomerSumaMobileProductForwardingCallType || (exports.CustomerSumaMobileProductForwardingCallType = CustomerSumaMobileProductForwardingCallType = {}));
|
|
10
|
+
var CustomerSumaMobileProductCustomForwardingCallType;
|
|
11
|
+
(function (CustomerSumaMobileProductCustomForwardingCallType) {
|
|
12
|
+
CustomerSumaMobileProductCustomForwardingCallType["WHEN_BUSY"] = "WHEN_BUSY";
|
|
13
|
+
CustomerSumaMobileProductCustomForwardingCallType["WHEN_UNREACHABLE"] = "WHEN_UNREACHABLE";
|
|
14
|
+
CustomerSumaMobileProductCustomForwardingCallType["WHEN_NO_ANSWER"] = "WHEN_NO_ANSWER";
|
|
15
|
+
})(CustomerSumaMobileProductCustomForwardingCallType || (exports.CustomerSumaMobileProductCustomForwardingCallType = CustomerSumaMobileProductCustomForwardingCallType = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomerBundleProductDto } from '../customer/customer-product.entity';
|
|
2
|
+
import { CustomerSumaMobileProductCustomForwardingCallType, CustomerSumaMobileProductForwardingCallType } from './customer-suma-mobile-product.constants';
|
|
2
3
|
export declare class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
|
|
3
4
|
amount: string;
|
|
4
5
|
expiresAt: Date;
|
|
@@ -29,4 +30,66 @@ 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 CustomerSumaMobileProductConfigCustomCallsForwardingDto_base: import("@nestjs/common").Type<Partial<CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto>>;
|
|
43
|
+
export declare class CustomerSumaMobileProductConfigCustomCallsForwardingDto extends CustomerSumaMobileProductConfigCustomCallsForwardingDto_base {
|
|
44
|
+
type: CustomerSumaMobileProductCustomForwardingCallType;
|
|
45
|
+
}
|
|
46
|
+
export declare class CustomerSumaMobileProductConfigCallsForwardingDto {
|
|
47
|
+
type: CustomerSumaMobileProductForwardingCallType;
|
|
48
|
+
phoneNumber?: string;
|
|
49
|
+
custom?: CustomerSumaMobileProductConfigCustomCallsForwardingDto[];
|
|
50
|
+
}
|
|
51
|
+
export declare class UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto {
|
|
52
|
+
type: CustomerSumaMobileProductCustomForwardingCallType;
|
|
53
|
+
timeout?: number;
|
|
54
|
+
voiceMail: boolean;
|
|
55
|
+
phoneNumber?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
58
|
+
type: CustomerSumaMobileProductForwardingCallType;
|
|
59
|
+
phoneNumber?: string;
|
|
60
|
+
custom?: UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class CustomerSumaMobileProductConfigCallsDto {
|
|
63
|
+
blockOutgoingCalls: boolean;
|
|
64
|
+
blockPremiumInformationCalls: boolean;
|
|
65
|
+
blockPremiumEntertainmentCalls: boolean;
|
|
66
|
+
blockInternationalCalls: boolean;
|
|
67
|
+
blockCallsToLandlines: boolean;
|
|
68
|
+
blockCallsToMobiles: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare class CustomerSumaMobileProductConfigDataDto {
|
|
71
|
+
allowData: boolean;
|
|
72
|
+
enableLte: boolean;
|
|
73
|
+
enableInternet: boolean;
|
|
74
|
+
enable5G: boolean;
|
|
75
|
+
}
|
|
76
|
+
export declare class CustomerSumaMobileProductConfigOthersDto {
|
|
77
|
+
allowIncomingSms: boolean;
|
|
78
|
+
allowOutgoingSms: boolean;
|
|
79
|
+
blockRoamingIncomingCalls: boolean;
|
|
80
|
+
blockRoamingOutgoingCalls: boolean;
|
|
81
|
+
blockRoamingData: boolean;
|
|
82
|
+
}
|
|
83
|
+
export declare class CustomerSumaMobileProductConfigDto {
|
|
84
|
+
callsForwarding: CustomerSumaMobileProductConfigCallsForwardingDto;
|
|
85
|
+
calls: CustomerSumaMobileProductConfigCallsDto;
|
|
86
|
+
data: CustomerSumaMobileProductConfigDataDto;
|
|
87
|
+
others: CustomerSumaMobileProductConfigOthersDto;
|
|
88
|
+
}
|
|
89
|
+
export declare class UpdateCustomerSumaMobileProductConfigReqDto {
|
|
90
|
+
callsForwarding: UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto;
|
|
91
|
+
calls: CustomerSumaMobileProductConfigCallsDto;
|
|
92
|
+
data: CustomerSumaMobileProductConfigDataDto;
|
|
93
|
+
others: CustomerSumaMobileProductConfigOthersDto;
|
|
94
|
+
}
|
|
32
95
|
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.UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto = exports.CustomerSumaMobileProductConfigCallsForwardingDto = exports.CustomerSumaMobileProductConfigCustomCallsForwardingDto = 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,228 @@ 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 CustomerSumaMobileProductConfigCustomCallsForwardingDto extends (0, swagger_1.PartialType)(CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto) {
|
|
69
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
70
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductCustomForwardingCallType } };
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.CustomerSumaMobileProductConfigCustomCallsForwardingDto = CustomerSumaMobileProductConfigCustomCallsForwardingDto;
|
|
74
|
+
class CustomerSumaMobileProductConfigCallsForwardingDto {
|
|
75
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
76
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductForwardingCallType }, phoneNumber: { required: false, type: () => String }, custom: { required: false, type: () => [require("./customer-suma-mobile-product.entity").CustomerSumaMobileProductConfigCustomCallsForwardingDto] } };
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.CustomerSumaMobileProductConfigCallsForwardingDto = CustomerSumaMobileProductConfigCallsForwardingDto;
|
|
80
|
+
class UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto {
|
|
81
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
82
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductCustomForwardingCallType }, timeout: { required: false, type: () => Number }, voiceMail: { required: true, type: () => Boolean }, phoneNumber: { required: false, type: () => String } };
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto = UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto;
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsEnum)(customer_suma_mobile_product_constants_1.CustomerSumaMobileProductCustomForwardingCallType),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto.prototype, "type", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
92
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductCustomForwardingCallType.WHEN_NO_ANSWER;
|
|
93
|
+
}),
|
|
94
|
+
(0, class_validator_1.IsInt)(),
|
|
95
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
|
+
__metadata("design:type", Number)
|
|
97
|
+
], UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto.prototype, "timeout", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsBoolean)(),
|
|
100
|
+
__metadata("design:type", Boolean)
|
|
101
|
+
], UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto.prototype, "voiceMail", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
104
|
+
return o.voiceMail === false;
|
|
105
|
+
}),
|
|
106
|
+
(0, class_validator_1.IsString)(),
|
|
107
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
108
|
+
(0, _validators_1.IsNotBlank)(),
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto.prototype, "phoneNumber", void 0);
|
|
112
|
+
class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
113
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
114
|
+
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductForwardingCallType }, phoneNumber: { required: false, type: () => String }, custom: { required: false, type: () => [require("./customer-suma-mobile-product.entity").UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto], minItems: 1 } };
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto = UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto;
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, class_validator_1.IsEnum)(customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "type", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
124
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.ALWAYS;
|
|
125
|
+
}),
|
|
126
|
+
(0, class_validator_1.IsString)(),
|
|
127
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
128
|
+
(0, _validators_1.IsNotBlank)(),
|
|
129
|
+
(0, class_validator_1.IsOptional)(),
|
|
130
|
+
__metadata("design:type", String)
|
|
131
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "phoneNumber", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, class_validator_1.ValidateIf)((o) => {
|
|
134
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.CUSTOM;
|
|
135
|
+
}),
|
|
136
|
+
(0, class_validator_1.IsArray)(),
|
|
137
|
+
(0, class_validator_1.IsDefined)(),
|
|
138
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
139
|
+
(0, class_validator_1.ValidateNested)(),
|
|
140
|
+
(0, class_transformer_1.Type)(() => UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto),
|
|
141
|
+
(0, class_validator_1.IsOptional)(),
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "custom", void 0);
|
|
144
|
+
class CustomerSumaMobileProductConfigCallsDto {
|
|
145
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
146
|
+
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 } };
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.CustomerSumaMobileProductConfigCallsDto = CustomerSumaMobileProductConfigCallsDto;
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_validator_1.IsBoolean)(),
|
|
152
|
+
__metadata("design:type", Boolean)
|
|
153
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockOutgoingCalls", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, class_validator_1.IsBoolean)(),
|
|
156
|
+
__metadata("design:type", Boolean)
|
|
157
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockPremiumInformationCalls", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, class_validator_1.IsBoolean)(),
|
|
160
|
+
__metadata("design:type", Boolean)
|
|
161
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockPremiumEntertainmentCalls", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, class_validator_1.IsBoolean)(),
|
|
164
|
+
__metadata("design:type", Boolean)
|
|
165
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockInternationalCalls", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, class_validator_1.IsBoolean)(),
|
|
168
|
+
__metadata("design:type", Boolean)
|
|
169
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockCallsToLandlines", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, class_validator_1.IsBoolean)(),
|
|
172
|
+
__metadata("design:type", Boolean)
|
|
173
|
+
], CustomerSumaMobileProductConfigCallsDto.prototype, "blockCallsToMobiles", void 0);
|
|
174
|
+
class CustomerSumaMobileProductConfigDataDto {
|
|
175
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
176
|
+
return { allowData: { required: true, type: () => Boolean }, enableLte: { required: true, type: () => Boolean }, enableInternet: { required: true, type: () => Boolean }, enable5G: { required: true, type: () => Boolean } };
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
exports.CustomerSumaMobileProductConfigDataDto = CustomerSumaMobileProductConfigDataDto;
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, class_validator_1.IsBoolean)(),
|
|
182
|
+
__metadata("design:type", Boolean)
|
|
183
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "allowData", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, class_validator_1.IsBoolean)(),
|
|
186
|
+
__metadata("design:type", Boolean)
|
|
187
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enableLte", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, class_validator_1.IsBoolean)(),
|
|
190
|
+
__metadata("design:type", Boolean)
|
|
191
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enableInternet", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, class_validator_1.IsBoolean)(),
|
|
194
|
+
(0, class_validator_1.IsOptional)(),
|
|
195
|
+
__metadata("design:type", Boolean)
|
|
196
|
+
], CustomerSumaMobileProductConfigDataDto.prototype, "enable5G", void 0);
|
|
197
|
+
class CustomerSumaMobileProductConfigOthersDto {
|
|
198
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
199
|
+
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 } };
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
exports.CustomerSumaMobileProductConfigOthersDto = CustomerSumaMobileProductConfigOthersDto;
|
|
203
|
+
__decorate([
|
|
204
|
+
(0, class_validator_1.IsBoolean)(),
|
|
205
|
+
__metadata("design:type", Boolean)
|
|
206
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "allowIncomingSms", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
(0, class_validator_1.IsBoolean)(),
|
|
209
|
+
__metadata("design:type", Boolean)
|
|
210
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "allowOutgoingSms", void 0);
|
|
211
|
+
__decorate([
|
|
212
|
+
(0, class_validator_1.IsBoolean)(),
|
|
213
|
+
__metadata("design:type", Boolean)
|
|
214
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingIncomingCalls", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
(0, class_validator_1.IsBoolean)(),
|
|
217
|
+
__metadata("design:type", Boolean)
|
|
218
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingOutgoingCalls", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
(0, class_validator_1.IsBoolean)(),
|
|
221
|
+
__metadata("design:type", Boolean)
|
|
222
|
+
], CustomerSumaMobileProductConfigOthersDto.prototype, "blockRoamingData", void 0);
|
|
223
|
+
class CustomerSumaMobileProductConfigDto {
|
|
224
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
225
|
+
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 } };
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.CustomerSumaMobileProductConfigDto = CustomerSumaMobileProductConfigDto;
|
|
229
|
+
__decorate([
|
|
230
|
+
(0, class_validator_1.ValidateNested)(),
|
|
231
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsForwardingDto),
|
|
232
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsForwardingDto)
|
|
233
|
+
], CustomerSumaMobileProductConfigDto.prototype, "callsForwarding", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, class_validator_1.ValidateNested)(),
|
|
236
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsDto),
|
|
237
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsDto)
|
|
238
|
+
], CustomerSumaMobileProductConfigDto.prototype, "calls", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, class_validator_1.ValidateNested)(),
|
|
241
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigDataDto),
|
|
242
|
+
__metadata("design:type", CustomerSumaMobileProductConfigDataDto)
|
|
243
|
+
], CustomerSumaMobileProductConfigDto.prototype, "data", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, class_validator_1.ValidateNested)(),
|
|
246
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigOthersDto),
|
|
247
|
+
__metadata("design:type", CustomerSumaMobileProductConfigOthersDto)
|
|
248
|
+
], CustomerSumaMobileProductConfigDto.prototype, "others", void 0);
|
|
249
|
+
class UpdateCustomerSumaMobileProductConfigReqDto {
|
|
250
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
251
|
+
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 } };
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
exports.UpdateCustomerSumaMobileProductConfigReqDto = UpdateCustomerSumaMobileProductConfigReqDto;
|
|
255
|
+
__decorate([
|
|
256
|
+
(0, class_validator_1.ValidateNested)(),
|
|
257
|
+
(0, class_transformer_1.Type)(() => UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto),
|
|
258
|
+
__metadata("design:type", UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto)
|
|
259
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "callsForwarding", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, class_validator_1.ValidateNested)(),
|
|
262
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigCallsDto),
|
|
263
|
+
__metadata("design:type", CustomerSumaMobileProductConfigCallsDto)
|
|
264
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "calls", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, class_validator_1.ValidateNested)(),
|
|
267
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigDataDto),
|
|
268
|
+
__metadata("design:type", CustomerSumaMobileProductConfigDataDto)
|
|
269
|
+
], UpdateCustomerSumaMobileProductConfigReqDto.prototype, "data", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
(0, class_validator_1.ValidateNested)(),
|
|
272
|
+
(0, class_transformer_1.Type)(() => CustomerSumaMobileProductConfigOthersDto),
|
|
273
|
+
__metadata("design:type", CustomerSumaMobileProductConfigOthersDto)
|
|
274
|
+
], 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);
|