adamo-types 2.1.33-sit → 2.1.35-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.d.ts +2 -5
- package/dist/common/common.entity.d.ts +4 -0
- package/dist/common/constants/iosmvna.error.constants.d.ts +1 -0
- package/dist/common/constants/iosmvna.error.constants.js +2 -1
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.d.ts +3 -0
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.constants.js +8 -4
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.d.ts +16 -6
- package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.js +51 -18
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { ShoppingCartItemAction } from './bp.constants';
|
|
2
2
|
import { ProductOrderItemActionType, ProductOrderStateType } from '../product';
|
|
3
3
|
import { BpProductOrderItemActionType, BpProductOrderStateType } from '../bearingpoint';
|
|
4
|
+
import { RegexpWithCode } from '../../common/common.entity';
|
|
4
5
|
export declare const WITHOUT_CONTRACT_KEY = "WITHOUT_CONTRACT";
|
|
5
6
|
export declare enum BpViolations {
|
|
6
7
|
'{javax.validation.constraints.NotNull.message}' = "isNotNull"
|
|
7
8
|
}
|
|
8
|
-
export
|
|
9
|
-
regexp: RegExp;
|
|
10
|
-
i18n: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const BpMessageToI18n: BpMessageRegexp[];
|
|
9
|
+
export declare const BpMessageToI18n: RegexpWithCode[];
|
|
13
10
|
export declare enum BssChargeType {
|
|
14
11
|
INSTALMENT_CHARGE = "INSTALMENT_CHARGE",
|
|
15
12
|
ONCE_ONLY_CHARGE = "ONCE_ONLY_CHARGE",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { PaginateSortType } from './constants';
|
|
2
2
|
import { CustomerAccountAdditionalContactContactMediumType } from '../sys03/customer';
|
|
3
|
+
export interface RegexpWithCode {
|
|
4
|
+
regexp: RegExp;
|
|
5
|
+
i18n: string;
|
|
6
|
+
}
|
|
3
7
|
export interface AuthTokenData {
|
|
4
8
|
access_token: string;
|
|
5
9
|
expires_in: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_IOSMVNA_CREATE_SIM = exports.E_IOSMVNA = void 0;
|
|
3
|
+
exports.E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = exports.E_IOSMVNA_CREATE_SIM = exports.E_IOSMVNA = void 0;
|
|
4
4
|
exports.E_IOSMVNA = 'E_IOSMVNA';
|
|
5
5
|
exports.E_IOSMVNA_CREATE_SIM = 'E_IOSMVNA_CREATE_SIM';
|
|
6
|
+
exports.E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = 'E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare enum CustomerSumaMobileProductForwardingCallType {
|
|
2
2
|
NONE = "NONE",
|
|
3
3
|
ALWAYS = "ALWAYS",
|
|
4
|
+
CUSTOM = "CUSTOM"
|
|
5
|
+
}
|
|
6
|
+
export declare enum CustomerSumaMobileProductCustomForwardingCallType {
|
|
4
7
|
WHEN_BUSY = "WHEN_BUSY",
|
|
5
8
|
WHEN_UNREACHABLE = "WHEN_UNREACHABLE",
|
|
6
9
|
WHEN_NO_ANSWER = "WHEN_NO_ANSWER"
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerSumaMobileProductForwardingCallType = void 0;
|
|
3
|
+
exports.CustomerSumaMobileProductCustomForwardingCallType = exports.CustomerSumaMobileProductForwardingCallType = void 0;
|
|
4
4
|
var CustomerSumaMobileProductForwardingCallType;
|
|
5
5
|
(function (CustomerSumaMobileProductForwardingCallType) {
|
|
6
6
|
CustomerSumaMobileProductForwardingCallType["NONE"] = "NONE";
|
|
7
7
|
CustomerSumaMobileProductForwardingCallType["ALWAYS"] = "ALWAYS";
|
|
8
|
-
CustomerSumaMobileProductForwardingCallType["
|
|
9
|
-
CustomerSumaMobileProductForwardingCallType["WHEN_UNREACHABLE"] = "WHEN_UNREACHABLE";
|
|
10
|
-
CustomerSumaMobileProductForwardingCallType["WHEN_NO_ANSWER"] = "WHEN_NO_ANSWER";
|
|
8
|
+
CustomerSumaMobileProductForwardingCallType["CUSTOM"] = "CUSTOM";
|
|
11
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,5 +1,5 @@
|
|
|
1
1
|
import { CustomerBundleProductDto } from '../customer/customer-product.entity';
|
|
2
|
-
import { CustomerSumaMobileProductForwardingCallType } from './customer-suma-mobile-product.constants';
|
|
2
|
+
import { CustomerSumaMobileProductCustomForwardingCallType, CustomerSumaMobileProductForwardingCallType } from './customer-suma-mobile-product.constants';
|
|
3
3
|
export declare class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
|
|
4
4
|
amount: string;
|
|
5
5
|
expiresAt: Date;
|
|
@@ -39,15 +39,25 @@ export declare class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailD
|
|
|
39
39
|
export declare class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto extends CustomerSumaMobileProductConfigCallForwardingWithVoiceMailDto {
|
|
40
40
|
timeout: number;
|
|
41
41
|
}
|
|
42
|
-
declare const
|
|
43
|
-
export declare class
|
|
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 {
|
|
44
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;
|
|
45
56
|
}
|
|
46
57
|
export declare class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
47
58
|
type: CustomerSumaMobileProductForwardingCallType;
|
|
48
|
-
phoneNumber
|
|
49
|
-
|
|
50
|
-
timeout?: number;
|
|
59
|
+
phoneNumber?: string;
|
|
60
|
+
custom?: UpdateCustomerSumaMobileProductConfigCustomCallsForwardingReqDto[];
|
|
51
61
|
}
|
|
52
62
|
export declare class CustomerSumaMobileProductConfigCallsDto {
|
|
53
63
|
blockOutgoingCalls: boolean;
|
|
@@ -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.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;
|
|
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;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const customer_product_entity_1 = require("../customer/customer-product.entity");
|
|
@@ -65,15 +65,53 @@ class CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto ex
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
exports.CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto = CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto;
|
|
68
|
-
class
|
|
68
|
+
class CustomerSumaMobileProductConfigCustomCallsForwardingDto extends (0, swagger_1.PartialType)(CustomerSumaMobileProductConfigCallForwardingWithVoiceMailAndTimeoutDto) {
|
|
69
69
|
static _OPENAPI_METADATA_FACTORY() {
|
|
70
|
-
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").
|
|
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] } };
|
|
71
77
|
}
|
|
72
78
|
}
|
|
73
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);
|
|
74
112
|
class UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto {
|
|
75
113
|
static _OPENAPI_METADATA_FACTORY() {
|
|
76
|
-
return { type: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductForwardingCallType }, phoneNumber: { required:
|
|
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 } };
|
|
77
115
|
}
|
|
78
116
|
}
|
|
79
117
|
exports.UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto = UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto;
|
|
@@ -83,8 +121,7 @@ __decorate([
|
|
|
83
121
|
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "type", void 0);
|
|
84
122
|
__decorate([
|
|
85
123
|
(0, class_validator_1.ValidateIf)((o) => {
|
|
86
|
-
return
|
|
87
|
-
(o.type !== customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.NONE && o.voiceMail === false));
|
|
124
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.ALWAYS;
|
|
88
125
|
}),
|
|
89
126
|
(0, class_validator_1.IsString)(),
|
|
90
127
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -94,20 +131,16 @@ __decorate([
|
|
|
94
131
|
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "phoneNumber", void 0);
|
|
95
132
|
__decorate([
|
|
96
133
|
(0, class_validator_1.ValidateIf)((o) => {
|
|
97
|
-
return o.type
|
|
134
|
+
return o.type === customer_suma_mobile_product_constants_1.CustomerSumaMobileProductForwardingCallType.CUSTOM;
|
|
98
135
|
}),
|
|
99
|
-
(0, class_validator_1.
|
|
100
|
-
(0, class_validator_1.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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)(),
|
|
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),
|
|
108
141
|
(0, class_validator_1.IsOptional)(),
|
|
109
|
-
__metadata("design:type",
|
|
110
|
-
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], UpdateCustomerSumaMobileProductConfigCallsForwardingReqDto.prototype, "custom", void 0);
|
|
111
144
|
class CustomerSumaMobileProductConfigCallsDto {
|
|
112
145
|
static _OPENAPI_METADATA_FACTORY() {
|
|
113
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 } };
|