adamo-types 2.1.35-sit → 2.1.37-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.
@@ -18,6 +18,7 @@ export declare enum CustomerProductActionType {
18
18
  MIGRATE_ONLY_MOBILES = "MIGRATE_ONLY_MOBILES",
19
19
  MIGRATE_SHARED_MOBILES = "MIGRATE_SHARED_MOBILES",
20
20
  SEE_DETAILS = "SEE_DETAILS",
21
+ SEE_USAGE = "SEE_USAGE",
21
22
  SIM_CHANGE = "SIM_CHANGE",
22
23
  STOP_CHANGE_OF_ADDRESS = "STOP_CHANGE_OF_ADDRESS",
23
24
  TERMINATE = "TERMINATE"
@@ -23,6 +23,7 @@ var CustomerProductActionType;
23
23
  CustomerProductActionType["MIGRATE_ONLY_MOBILES"] = "MIGRATE_ONLY_MOBILES";
24
24
  CustomerProductActionType["MIGRATE_SHARED_MOBILES"] = "MIGRATE_SHARED_MOBILES";
25
25
  CustomerProductActionType["SEE_DETAILS"] = "SEE_DETAILS";
26
+ CustomerProductActionType["SEE_USAGE"] = "SEE_USAGE";
26
27
  CustomerProductActionType["SIM_CHANGE"] = "SIM_CHANGE";
27
28
  CustomerProductActionType["STOP_CHANGE_OF_ADDRESS"] = "STOP_CHANGE_OF_ADDRESS";
28
29
  CustomerProductActionType["TERMINATE"] = "TERMINATE";
@@ -52,8 +53,9 @@ exports.CustomerProductActionTypeDisplayOrder = {
52
53
  [CustomerProductActionType.TERMINATE]: 9,
53
54
  [CustomerProductActionType.EXTRA]: 10,
54
55
  [CustomerProductActionType.SEE_DETAILS]: 11,
55
- [CustomerProductActionType.CONFIG]: 12,
56
- [CustomerProductActionType.SIM_CHANGE]: 13
56
+ [CustomerProductActionType.SEE_USAGE]: 12,
57
+ [CustomerProductActionType.CONFIG]: 13,
58
+ [CustomerProductActionType.SIM_CHANGE]: 14
57
59
  };
58
60
  exports.CustomerProductTypeToServiceCharacteristicName = {
59
61
  [constants_1.ShoppingCartProductType.FIBER]: ['SERVICE_ADDRESS'],
@@ -67,6 +67,7 @@ export declare const E_INVALID_IBAN_LENGTH = "E_INVALID_IBAN_LENGTH";
67
67
  export declare const E_INVALID_IBAN_FORMAT = "E_INVALID_IBAN_FORMAT";
68
68
  export declare const E_INVALID_IBAN_MOD = "E_INVALID_IBAN_MOD";
69
69
  export declare const E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = "E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE";
70
+ export declare const E_INVALID_PAGE = "E_INVALID_PAGE";
70
71
  export declare const E_FETCH_INDIVIDUAL_PARTIES = "E_FETCH_INDIVIDUAL_PARTIES";
71
72
  export declare const E_FETCH_ORGANIZATION_PARTIES = "E_FETCH_ORGANIZATION_PARTIES";
72
73
  export declare const E_FETCH_PRODUCT_INVENTORY = "E_FETCH_PRODUCT_INVENTORY";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_CREATE_PAYMENT = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = exports.E_FETCH_ADDRESS = exports.E_CREATE_ADDRESS = exports.E_FIBER_NOT_AVAILABLE_FOR_THIS_NETWORK = exports.E_UPDATE_SHOPPING_CART_CONFIGURATION = exports.E_CIF_VALIDATION = exports.E_NIE_VALIDATION = exports.E_DNI_VALIDATION = exports.E_SET_SHOPPING_CART_PROMOTIONS = exports.E_SET_SHOPPING_CART_CONTRACT = exports.E_FETCH_AVAILABLE_NUMBERS_FROM_POOL = exports.E_PROVINCE_WITHOUT_PREFIXES = exports.E_SERVER = exports.E_CONNECTION_REFUSED = exports.E_VALIDATION = exports.E_BODY_NOT_OBJECT = exports.E_BODY_NOT_ARRAY = exports.E_BODY_NOT_PROVIDED = exports.E_NO_CHANNEL_SELECTED = exports.E_CHANGE_CHANNEL = exports.E_SERVICE_UNAVAILABLE = exports.E_JIRA = exports.E_TASK4WORK = exports.E_INFONOVA = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PERSIST_SHOPPING_CART = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = exports.E_FETCH_SHOPPING_CART_TRANSITION_ONLY_MOBILES = exports.E_FETCH_SHOPPING_CART_MODIFICATION = exports.E_FETCH_SHOPPING_CART_CONFIGURATION = exports.E_FETCH_SHOPPING_CART_SUMMARY = exports.E_FETCH_SHOPPING_CART_AVAILABLE_EXTRAS = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCT = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCTS = exports.E_FETCH_PRODUCT_OFFERINGS = exports.E_FORBIDDEN = exports.E_TIMEOUT = void 0;
4
- exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_WITHOUT_APARTMENTS = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_TOO_MANY_REQUESTS = exports.E_UNAUTHORIZED = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_IMPLEMENTED = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_DELETE_PAYMENT_METHOD = exports.E_FETCH_PAYMENT_METHOD = exports.E_DELETE_MANDATE = exports.E_FETCH_MANDATE = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = void 0;
5
- exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SERVICE_CHARACTERISTIC_NOT_AVAILABLE = exports.E_SERVICE_CHARACTERISTIC_VALUE_MANDATORY = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_BI_SALES_EXTRACTION = exports.E_FETCH_AVAILABLE_CHARGES_AND_CREDITS = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = void 0;
6
- exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_SEARCH_TRANSFERED_PRODUCTS = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = void 0;
4
+ exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_WITHOUT_APARTMENTS = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_TOO_MANY_REQUESTS = exports.E_UNAUTHORIZED = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_IMPLEMENTED = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_DELETE_PAYMENT_METHOD = exports.E_FETCH_PAYMENT_METHOD = exports.E_DELETE_MANDATE = exports.E_FETCH_MANDATE = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_INVALID_PAGE = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = void 0;
5
+ exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SERVICE_CHARACTERISTIC_NOT_AVAILABLE = exports.E_SERVICE_CHARACTERISTIC_VALUE_MANDATORY = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_BI_SALES_EXTRACTION = exports.E_FETCH_AVAILABLE_CHARGES_AND_CREDITS = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = void 0;
6
+ exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_SEARCH_TRANSFERED_PRODUCTS = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = void 0;
7
7
  exports.E_TIMEOUT = 'E_TIMEOUT';
8
8
  exports.E_FORBIDDEN = 'E_FORBIDDEN';
9
9
  exports.E_FETCH_PRODUCT_OFFERINGS = 'E_FETCH_PRODUCT_OFFERINGS';
@@ -73,6 +73,7 @@ exports.E_INVALID_IBAN_LENGTH = 'E_INVALID_IBAN_LENGTH';
73
73
  exports.E_INVALID_IBAN_FORMAT = 'E_INVALID_IBAN_FORMAT';
74
74
  exports.E_INVALID_IBAN_MOD = 'E_INVALID_IBAN_MOD';
75
75
  exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = 'E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE';
76
+ exports.E_INVALID_PAGE = 'E_INVALID_PAGE';
76
77
  exports.E_FETCH_INDIVIDUAL_PARTIES = 'E_FETCH_INDIVIDUAL_PARTIES';
77
78
  exports.E_FETCH_ORGANIZATION_PARTIES = 'E_FETCH_ORGANIZATION_PARTIES';
78
79
  exports.E_FETCH_PRODUCT_INVENTORY = 'E_FETCH_PRODUCT_INVENTORY';
@@ -1,3 +1,4 @@
1
1
  export declare const E_IOSMVNA = "E_IOSMVNA";
2
2
  export declare const E_IOSMVNA_CREATE_SIM = "E_IOSMVNA_CREATE_SIM";
3
3
  export declare const E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = "E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER";
4
+ export declare const E_IOSMVNA_INVALID_DATES_FILTER = "E_IOSMVNA_INVALID_DATES_FILTER";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = exports.E_IOSMVNA_CREATE_SIM = exports.E_IOSMVNA = void 0;
3
+ exports.E_IOSMVNA_INVALID_DATES_FILTER = 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
6
  exports.E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = 'E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER';
7
+ exports.E_IOSMVNA_INVALID_DATES_FILTER = 'E_IOSMVNA_INVALID_DATES_FILTER';
@@ -6,27 +6,22 @@ import { CustomerProductTransitionStep } from '../customer-product-multiple-tran
6
6
  import { ApartmentDto } from '../address';
7
7
  import { CheckProductTransitionGroupOptionFiberDto, CheckProductTransitionGroupOptionMobileDto, CheckProductTransitionGroupOptionVoipDto, ProductTransitionGroupOptionValues } from '../updowngrade';
8
8
  import { CustomerAccountAddressDto } from './customer-account-address.entity';
9
- export declare class CustomerBundleProductDto extends CustomerProductServiceDataDto {
10
- id: string;
11
- name: string;
12
- instanceName?: string;
13
- displayName: string;
14
- displayDescription?: string;
15
- }
16
- export declare class CustomerBundleDto {
9
+ export declare class CustomerBundleOrCustomerBundleProductDto extends CustomerProductServiceDataDto {
17
10
  id: string;
18
11
  customerId: string;
19
12
  name: string;
13
+ instanceName?: string;
14
+ bundle: boolean;
20
15
  displayName: string;
21
16
  displayDescription?: string;
22
17
  contract?: CustomerProductCharacteristicDto;
23
18
  characteristics?: CustomerProductCharacteristicDto[];
24
- products: CustomerBundleProductDto[];
19
+ products: CustomerBundleOrCustomerBundleProductDto[];
25
20
  }
26
21
  export declare class CustomerProductWithApartmentAndAddressDto {
27
22
  apartment?: ApartmentDto;
28
23
  address?: CustomerAccountAddressDto;
29
- product: CustomerBundleDto;
24
+ product: CustomerBundleOrCustomerBundleProductDto;
30
25
  }
31
26
  export declare class CustomerProductTransitionCombinationDto implements ProductTransitionGroupOptionValues {
32
27
  groupId: number;
@@ -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.CustomerProductWithApartmentAndAddressDto = exports.CustomerBundleDto = exports.CustomerBundleProductDto = void 0;
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.CustomerBundleOrCustomerBundleProductDto = 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");
@@ -17,21 +17,15 @@ const class_transformer_1 = require("class-transformer");
17
17
  const class_validator_1 = require("class-validator");
18
18
  const customer_constants_1 = require("./customer.constants");
19
19
  const updowngrade_1 = require("../updowngrade");
20
- class CustomerBundleProductDto extends customer_1.CustomerProductServiceDataDto {
20
+ class CustomerBundleOrCustomerBundleProductDto extends customer_1.CustomerProductServiceDataDto {
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, instanceName: { required: false, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: false, type: () => String } };
22
+ return { id: { required: true, type: () => String }, customerId: { required: true, type: () => String }, name: { required: true, type: () => String }, instanceName: { required: false, type: () => String }, bundle: { required: true, type: () => Boolean }, displayName: { required: true, type: () => String }, displayDescription: { required: false, type: () => String }, contract: { required: false, type: () => require("../../bss/customer/customer-product.entity").CustomerProductCharacteristicDto }, characteristics: { required: false, type: () => [require("../../bss/customer/customer-product.entity").CustomerProductCharacteristicDto] }, products: { required: true, type: () => [require("./customer-product.entity").CustomerBundleOrCustomerBundleProductDto] } };
23
23
  }
24
24
  }
25
- exports.CustomerBundleProductDto = CustomerBundleProductDto;
26
- class CustomerBundleDto {
27
- static _OPENAPI_METADATA_FACTORY() {
28
- return { id: { required: true, type: () => String }, customerId: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: false, type: () => String }, contract: { required: false, type: () => require("../../bss/customer/customer-product.entity").CustomerProductCharacteristicDto }, characteristics: { required: false, type: () => [require("../../bss/customer/customer-product.entity").CustomerProductCharacteristicDto] }, products: { required: true, type: () => [require("./customer-product.entity").CustomerBundleProductDto] } };
29
- }
30
- }
31
- exports.CustomerBundleDto = CustomerBundleDto;
25
+ exports.CustomerBundleOrCustomerBundleProductDto = CustomerBundleOrCustomerBundleProductDto;
32
26
  class CustomerProductWithApartmentAndAddressDto {
33
27
  static _OPENAPI_METADATA_FACTORY() {
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 } };
28
+ 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").CustomerBundleOrCustomerBundleProductDto } };
35
29
  }
36
30
  }
37
31
  exports.CustomerProductWithApartmentAndAddressDto = CustomerProductWithApartmentAndAddressDto;
@@ -0,0 +1,35 @@
1
+ import { PaginationQueryDto } from '../../common/common.entity';
2
+ import { CustomerSumaMobileProductCommunicationDirectionType } from './customer-suma-mobile-product.constants';
3
+ export declare class CustomerSumaMobileProductUsageDataCommonFiltersReqDto {
4
+ dateFrom?: string;
5
+ dateTo?: string;
6
+ }
7
+ export declare class CustomerSumaMobileProductUsageDetailsFiltersReqDto {
8
+ dateFrom: string;
9
+ dateTo: string;
10
+ }
11
+ declare const CustomerSumaMobileProductUsageDataDetailsFiltersReqDto_base: import("@nestjs/common").Type<PaginationQueryDto & CustomerSumaMobileProductUsageDetailsFiltersReqDto>;
12
+ export declare class CustomerSumaMobileProductUsageDataDetailsFiltersReqDto extends CustomerSumaMobileProductUsageDataDetailsFiltersReqDto_base {
13
+ }
14
+ export declare class CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto extends CustomerSumaMobileProductUsageDataDetailsFiltersReqDto {
15
+ direction: CustomerSumaMobileProductCommunicationDirectionType;
16
+ }
17
+ export declare class CustomerSumaMobileProductUsageDataTotalsSummaryDto {
18
+ usage: string;
19
+ amountCharged: string;
20
+ }
21
+ export declare class CustomerSumaMobileProductUsageDataTotalsDto {
22
+ data: CustomerSumaMobileProductUsageDataTotalsSummaryDto;
23
+ voice: CustomerSumaMobileProductUsageDataTotalsSummaryDto;
24
+ sms: CustomerSumaMobileProductUsageDataTotalsSummaryDto;
25
+ }
26
+ export declare class CustomerSumaMobileProductUsageDetailsDto {
27
+ id: string;
28
+ productName?: string;
29
+ destination?: string;
30
+ destinationPattern: string;
31
+ createdAt: string;
32
+ usage: string;
33
+ amountCharged: string;
34
+ }
35
+ export {};
@@ -0,0 +1,94 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CustomerSumaMobileProductUsageDetailsDto = exports.CustomerSumaMobileProductUsageDataTotalsDto = exports.CustomerSumaMobileProductUsageDataTotalsSummaryDto = exports.CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto = exports.CustomerSumaMobileProductUsageDataDetailsFiltersReqDto = exports.CustomerSumaMobileProductUsageDetailsFiltersReqDto = exports.CustomerSumaMobileProductUsageDataCommonFiltersReqDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const common_entity_1 = require("../../common/common.entity");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const _validators_1 = require("../../validators/index");
17
+ const class_validator_1 = require("class-validator");
18
+ const customer_suma_mobile_product_constants_1 = require("./customer-suma-mobile-product.constants");
19
+ class CustomerSumaMobileProductUsageDataCommonFiltersReqDto {
20
+ static _OPENAPI_METADATA_FACTORY() {
21
+ return { dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String } };
22
+ }
23
+ }
24
+ exports.CustomerSumaMobileProductUsageDataCommonFiltersReqDto = CustomerSumaMobileProductUsageDataCommonFiltersReqDto;
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ (0, _validators_1.IsNotBlank)(),
29
+ (0, class_validator_1.IsISO8601)({ strict: true }),
30
+ (0, class_validator_1.IsOptional)(),
31
+ __metadata("design:type", String)
32
+ ], CustomerSumaMobileProductUsageDataCommonFiltersReqDto.prototype, "dateFrom", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsString)(),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ (0, _validators_1.IsNotBlank)(),
37
+ (0, class_validator_1.IsISO8601)({ strict: true }),
38
+ (0, class_validator_1.IsOptional)(),
39
+ __metadata("design:type", String)
40
+ ], CustomerSumaMobileProductUsageDataCommonFiltersReqDto.prototype, "dateTo", void 0);
41
+ class CustomerSumaMobileProductUsageDetailsFiltersReqDto {
42
+ static _OPENAPI_METADATA_FACTORY() {
43
+ return { dateFrom: { required: true, type: () => String }, dateTo: { required: true, type: () => String } };
44
+ }
45
+ }
46
+ exports.CustomerSumaMobileProductUsageDetailsFiltersReqDto = CustomerSumaMobileProductUsageDetailsFiltersReqDto;
47
+ __decorate([
48
+ (0, class_validator_1.IsString)(),
49
+ (0, class_validator_1.IsNotEmpty)(),
50
+ (0, _validators_1.IsNotBlank)(),
51
+ (0, class_validator_1.IsISO8601)({ strict: true }),
52
+ __metadata("design:type", String)
53
+ ], CustomerSumaMobileProductUsageDetailsFiltersReqDto.prototype, "dateFrom", void 0);
54
+ __decorate([
55
+ (0, class_validator_1.IsString)(),
56
+ (0, class_validator_1.IsNotEmpty)(),
57
+ (0, _validators_1.IsNotBlank)(),
58
+ (0, class_validator_1.IsISO8601)({ strict: true }),
59
+ __metadata("design:type", String)
60
+ ], CustomerSumaMobileProductUsageDetailsFiltersReqDto.prototype, "dateTo", void 0);
61
+ class CustomerSumaMobileProductUsageDataDetailsFiltersReqDto extends (0, swagger_1.IntersectionType)(CustomerSumaMobileProductUsageDetailsFiltersReqDto, common_entity_1.PaginationQueryDto) {
62
+ static _OPENAPI_METADATA_FACTORY() {
63
+ return {};
64
+ }
65
+ }
66
+ exports.CustomerSumaMobileProductUsageDataDetailsFiltersReqDto = CustomerSumaMobileProductUsageDataDetailsFiltersReqDto;
67
+ class CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto extends CustomerSumaMobileProductUsageDataDetailsFiltersReqDto {
68
+ static _OPENAPI_METADATA_FACTORY() {
69
+ return { direction: { required: true, enum: require("./customer-suma-mobile-product.constants").CustomerSumaMobileProductCommunicationDirectionType } };
70
+ }
71
+ }
72
+ exports.CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto = CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto;
73
+ __decorate([
74
+ (0, class_validator_1.IsEnum)(customer_suma_mobile_product_constants_1.CustomerSumaMobileProductCommunicationDirectionType),
75
+ __metadata("design:type", String)
76
+ ], CustomerSumaMobileProductUsageVoiceAndSmsDetailsFiltersReqDto.prototype, "direction", void 0);
77
+ class CustomerSumaMobileProductUsageDataTotalsSummaryDto {
78
+ static _OPENAPI_METADATA_FACTORY() {
79
+ return { usage: { required: true, type: () => String }, amountCharged: { required: true, type: () => String } };
80
+ }
81
+ }
82
+ exports.CustomerSumaMobileProductUsageDataTotalsSummaryDto = CustomerSumaMobileProductUsageDataTotalsSummaryDto;
83
+ class CustomerSumaMobileProductUsageDataTotalsDto {
84
+ static _OPENAPI_METADATA_FACTORY() {
85
+ return { data: { required: true, type: () => require("./customer-suma-mobile-product-usage-data.entity").CustomerSumaMobileProductUsageDataTotalsSummaryDto }, voice: { required: true, type: () => require("./customer-suma-mobile-product-usage-data.entity").CustomerSumaMobileProductUsageDataTotalsSummaryDto }, sms: { required: true, type: () => require("./customer-suma-mobile-product-usage-data.entity").CustomerSumaMobileProductUsageDataTotalsSummaryDto } };
86
+ }
87
+ }
88
+ exports.CustomerSumaMobileProductUsageDataTotalsDto = CustomerSumaMobileProductUsageDataTotalsDto;
89
+ class CustomerSumaMobileProductUsageDetailsDto {
90
+ static _OPENAPI_METADATA_FACTORY() {
91
+ return { id: { required: true, type: () => String }, productName: { required: false, type: () => String }, destination: { required: false, type: () => String }, destinationPattern: { required: true, type: () => String }, createdAt: { required: true, type: () => String }, usage: { required: true, type: () => String }, amountCharged: { required: true, type: () => String } };
92
+ }
93
+ }
94
+ exports.CustomerSumaMobileProductUsageDetailsDto = CustomerSumaMobileProductUsageDetailsDto;
@@ -8,3 +8,7 @@ export declare enum CustomerSumaMobileProductCustomForwardingCallType {
8
8
  WHEN_UNREACHABLE = "WHEN_UNREACHABLE",
9
9
  WHEN_NO_ANSWER = "WHEN_NO_ANSWER"
10
10
  }
11
+ export declare enum CustomerSumaMobileProductCommunicationDirectionType {
12
+ INBOUND = "INBOUND",
13
+ OUTBOUND = "OUTBOUND"
14
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerSumaMobileProductCustomForwardingCallType = exports.CustomerSumaMobileProductForwardingCallType = void 0;
3
+ exports.CustomerSumaMobileProductCommunicationDirectionType = exports.CustomerSumaMobileProductCustomForwardingCallType = exports.CustomerSumaMobileProductForwardingCallType = void 0;
4
4
  var CustomerSumaMobileProductForwardingCallType;
5
5
  (function (CustomerSumaMobileProductForwardingCallType) {
6
6
  CustomerSumaMobileProductForwardingCallType["NONE"] = "NONE";
@@ -13,3 +13,8 @@ var CustomerSumaMobileProductCustomForwardingCallType;
13
13
  CustomerSumaMobileProductCustomForwardingCallType["WHEN_UNREACHABLE"] = "WHEN_UNREACHABLE";
14
14
  CustomerSumaMobileProductCustomForwardingCallType["WHEN_NO_ANSWER"] = "WHEN_NO_ANSWER";
15
15
  })(CustomerSumaMobileProductCustomForwardingCallType || (exports.CustomerSumaMobileProductCustomForwardingCallType = CustomerSumaMobileProductCustomForwardingCallType = {}));
16
+ var CustomerSumaMobileProductCommunicationDirectionType;
17
+ (function (CustomerSumaMobileProductCommunicationDirectionType) {
18
+ CustomerSumaMobileProductCommunicationDirectionType["INBOUND"] = "INBOUND";
19
+ CustomerSumaMobileProductCommunicationDirectionType["OUTBOUND"] = "OUTBOUND";
20
+ })(CustomerSumaMobileProductCommunicationDirectionType || (exports.CustomerSumaMobileProductCommunicationDirectionType = CustomerSumaMobileProductCommunicationDirectionType = {}));
@@ -1,4 +1,4 @@
1
- import { CustomerBundleProductDto } from '../customer/customer-product.entity';
1
+ import { CustomerBundleOrCustomerBundleProductDto } from '../customer/customer-product.entity';
2
2
  import { CustomerSumaMobileProductCustomForwardingCallType, CustomerSumaMobileProductForwardingCallType } from './customer-suma-mobile-product.constants';
3
3
  export declare class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
4
4
  amount: string;
@@ -24,7 +24,7 @@ export declare class CustomerSumaMobileProductSimDetailsDto {
24
24
  puk: string;
25
25
  puk2: string;
26
26
  }
27
- declare const CustomerSumaMobileProductDetailsDto_base: import("@nestjs/common").Type<Pick<CustomerBundleProductDto, "name" | "id" | "type" | "displayName" | "displayDescription">>;
27
+ declare const CustomerSumaMobileProductDetailsDto_base: import("@nestjs/common").Type<Pick<CustomerBundleOrCustomerBundleProductDto, "name" | "id" | "type" | "displayName" | "displayDescription">>;
28
28
  export declare class CustomerSumaMobileProductDetailsDto extends CustomerSumaMobileProductDetailsDto_base {
29
29
  customerId: string;
30
30
  subscription: CustomerSumaMobileProductSubscriptionDetailsDto;
@@ -35,7 +35,7 @@ class CustomerSumaMobileProductSimDetailsDto {
35
35
  }
36
36
  }
37
37
  exports.CustomerSumaMobileProductSimDetailsDto = CustomerSumaMobileProductSimDetailsDto;
38
- class CustomerSumaMobileProductDetailsDto extends (0, swagger_1.PickType)(customer_product_entity_1.CustomerBundleProductDto, [
38
+ class CustomerSumaMobileProductDetailsDto extends (0, swagger_1.PickType)(customer_product_entity_1.CustomerBundleOrCustomerBundleProductDto, [
39
39
  'id',
40
40
  'name',
41
41
  'type',
@@ -1,2 +1,3 @@
1
+ export * from './customer-suma-mobile-product-usage-data.entity';
1
2
  export * from './customer-suma-mobile-product.constants';
2
3
  export * from './customer-suma-mobile-product.entity';
@@ -14,5 +14,6 @@ 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-usage-data.entity"), exports);
17
18
  __exportStar(require("./customer-suma-mobile-product.constants"), exports);
18
19
  __exportStar(require("./customer-suma-mobile-product.entity"), exports);