adamo-types 2.1.27-sit → 2.1.28-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.
@@ -4,16 +4,17 @@ export declare const E_APPROVAL_DATA_NOT_FOUND = "E_APPROVAL_DATA_NOT_FOUND";
4
4
  export declare const E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = "E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND";
5
5
  export declare const E_APPROVAL_NOT_FOUND = "E_APPROVAL_NOT_FOUND";
6
6
  export declare const E_AREA_ADDRESSES_NOT_FOUND = "E_AREA_ADDRESSES_NOT_FOUND";
7
- export declare const E_AUTH_NOT_FOUND = "E_AUTH_NOT_FOUND";
8
7
  export declare const E_AUTH_CLIENT_NOT_FOUND = "E_AUTH_CLIENT_NOT_FOUND";
8
+ export declare const E_AUTH_NOT_FOUND = "E_AUTH_NOT_FOUND";
9
9
  export declare const E_AUTH_WORKGROUP_NOT_FOUND = "E_AUTH_WORKGROUP_NOT_FOUND";
10
10
  export declare const E_BATCH_PROCESS_DEFINITION_NOT_FOUND = "E_BATCH_PROCESS_DEFINITION_NOT_FOUND";
11
11
  export declare const E_BUNDLE_PRODUCTS_NOT_FOUND = "E_BUNDLE_PRODUCTS_NOT_FOUND";
12
12
  export declare const E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = "E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND";
13
13
  export declare const E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND";
14
- export declare const E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND";
15
- export declare const E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND";
16
14
  export declare const E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND";
15
+ export declare const E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND";
16
+ export declare const E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND";
17
+ export declare const E_BUNDLES_PRODUCTS_WITHOUT_VOIP_PRODUCT_NOT_FOUND = "E_BUNDLES_PRODUCTS_WITHOUT_VOIP_PRODUCT_NOT_FOUND";
17
18
  export declare const E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = "E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND";
18
19
  export declare const E_CONFIGURATION_NOT_FOUND = "E_CONFIGURATION_NOT_FOUND";
19
20
  export declare const E_CUSTOMER_AGGRUPATION_NOT_FOUND = "E_CUSTOMER_AGGRUPATION_NOT_FOUND";
@@ -1,23 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.E_TEMPLATE_NOT_FOUND = exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_JIRA_ISSUE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = exports.E_DIGITEL_DEFAULT_USER_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_DOCUMENT_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_WORKGROUP_NOT_FOUND = exports.E_AUTH_CLIENT_NOT_FOUND = exports.E_AUTH_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
4
- exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = void 0;
3
+ exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_JIRA_ISSUE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = exports.E_DIGITEL_DEFAULT_USER_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_DOCUMENT_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_WORKGROUP_NOT_FOUND = exports.E_AUTH_NOT_FOUND = exports.E_AUTH_CLIENT_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
4
+ exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = exports.E_TEMPLATE_NOT_FOUND = void 0;
5
5
  exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
6
6
  exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
7
7
  exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
8
8
  exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = 'E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND';
9
9
  exports.E_APPROVAL_NOT_FOUND = 'E_APPROVAL_NOT_FOUND';
10
10
  exports.E_AREA_ADDRESSES_NOT_FOUND = 'E_AREA_ADDRESSES_NOT_FOUND';
11
- exports.E_AUTH_NOT_FOUND = 'E_AUTH_NOT_FOUND';
12
11
  exports.E_AUTH_CLIENT_NOT_FOUND = 'E_AUTH_CLIENT_NOT_FOUND';
12
+ exports.E_AUTH_NOT_FOUND = 'E_AUTH_NOT_FOUND';
13
13
  exports.E_AUTH_WORKGROUP_NOT_FOUND = 'E_AUTH_WORKGROUP_NOT_FOUND';
14
14
  exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = 'E_BATCH_PROCESS_DEFINITION_NOT_FOUND';
15
15
  exports.E_BUNDLE_PRODUCTS_NOT_FOUND = 'E_BUNDLE_PRODUCTS_NOT_FOUND';
16
16
  exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = 'E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND';
17
17
  exports.E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND';
18
- exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND';
19
- exports.E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND';
20
18
  exports.E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND';
19
+ exports.E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND';
20
+ exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND';
21
+ exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_PRODUCT_NOT_FOUND = 'E_BUNDLES_PRODUCTS_WITHOUT_VOIP_PRODUCT_NOT_FOUND';
21
22
  exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = 'E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND';
22
23
  exports.E_CONFIGURATION_NOT_FOUND = 'E_CONFIGURATION_NOT_FOUND';
23
24
  exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = 'E_CUSTOMER_AGGRUPATION_NOT_FOUND';
@@ -4,6 +4,9 @@ import { Builder } from '../../common/helpers/helpers';
4
4
  import { BpCustomerAccountDocumentType } from '../../bss/constants';
5
5
  import { BureauValidationIdentificationType, BureauValidationRetailStatus } from '../bureau-validation';
6
6
  import { CheckProductTransitionGroupOptionFiberDto, CheckProductTransitionGroupOptionMobileDto, CheckProductTransitionGroupOptionVoipDto } from '../updowngrade';
7
+ export declare class AuditDateDto {
8
+ at: Date;
9
+ }
7
10
  export declare class AuditFieldsDto {
8
11
  by?: string;
9
12
  at?: Date;
@@ -9,13 +9,19 @@ 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.CreditBureauValidationProcessDto = exports.CreditBureauValidationCacheDto = exports.CreditBureauValidationIdentificationDto = exports.ArsDocumentDto = exports.GenericFileDto = exports.CustomerProductTransitionProcessTransitionDto = exports.UpdateCustomerProcessOrderDto = exports.CustomerProcessOrderDto = exports.CustomerProcessStepRelatedProductDto = exports.CustomerProductActionProcessProductDto = exports.ProcessAuditFieldsDto = exports.AuditFieldsWithValueDto = exports.AuditFieldsDtoBuilder = exports.CreateAuditFieldsDto = exports.AuditFieldsDto = void 0;
12
+ exports.CreditBureauValidationProcessDto = exports.CreditBureauValidationCacheDto = exports.CreditBureauValidationIdentificationDto = exports.ArsDocumentDto = exports.GenericFileDto = exports.CustomerProductTransitionProcessTransitionDto = exports.UpdateCustomerProcessOrderDto = exports.CustomerProcessOrderDto = exports.CustomerProcessStepRelatedProductDto = exports.CustomerProductActionProcessProductDto = exports.ProcessAuditFieldsDto = exports.AuditFieldsWithValueDto = exports.AuditFieldsDtoBuilder = exports.CreateAuditFieldsDto = exports.AuditFieldsDto = exports.AuditDateDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const helpers_1 = require("../../common/helpers/helpers");
15
15
  const faker_1 = require("@faker-js/faker");
16
16
  const class_validator_1 = require("class-validator");
17
17
  const constants_1 = require("../../bss/constants");
18
18
  const swagger_1 = require("@nestjs/swagger");
19
+ class AuditDateDto {
20
+ static _OPENAPI_METADATA_FACTORY() {
21
+ return { at: { required: true, type: () => Date } };
22
+ }
23
+ }
24
+ exports.AuditDateDto = AuditDateDto;
19
25
  class AuditFieldsDto {
20
26
  static _OPENAPI_METADATA_FACTORY() {
21
27
  return { by: { required: false, type: () => String }, at: { required: false, type: () => Date } };
@@ -1,16 +1,17 @@
1
1
  import { CustomerType } from '../../common/constants';
2
- import { AuditFieldsDto } from '../common';
2
+ import { AuditDateDto } from '../common';
3
3
  export declare class BundleProductsDto {
4
4
  id: number;
5
5
  bundleName: string;
6
+ omitAsDestinationBundle: boolean;
6
7
  availableFrom?: Date;
7
8
  customerType?: CustomerType;
8
9
  fiberProductName?: string;
9
10
  mobileProductName?: string;
10
11
  voipProductName?: string;
11
- created?: AuditFieldsDto;
12
+ created: AuditDateDto;
12
13
  }
13
- declare const CreateBundleProductsDto_base: import("@nestjs/common").Type<Omit<BundleProductsDto, "id" | "created">>;
14
+ declare const CreateBundleProductsDto_base: import("@nestjs/common").Type<Pick<BundleProductsDto, "customerType" | "bundleName" | "omitAsDestinationBundle" | "availableFrom" | "fiberProductName" | "mobileProductName" | "voipProductName">>;
14
15
  export declare class CreateBundleProductsDto extends CreateBundleProductsDto_base {
15
16
  }
16
17
  export {};
@@ -5,11 +5,19 @@ const openapi = require("@nestjs/swagger");
5
5
  const swagger_1 = require("@nestjs/swagger");
6
6
  class BundleProductsDto {
7
7
  static _OPENAPI_METADATA_FACTORY() {
8
- return { id: { required: true, type: () => Number }, bundleName: { required: true, type: () => String }, availableFrom: { required: false, type: () => Date }, customerType: { required: false, enum: require("../../common/constants/common.constants").CustomerType }, fiberProductName: { required: false, type: () => String }, mobileProductName: { required: false, type: () => String }, voipProductName: { required: false, type: () => String }, created: { required: false, type: () => require("../common/common.entity").AuditFieldsDto } };
8
+ return { id: { required: true, type: () => Number }, bundleName: { required: true, type: () => String }, omitAsDestinationBundle: { required: true, type: () => Boolean }, availableFrom: { required: false, type: () => Date }, customerType: { required: false, enum: require("../../common/constants/common.constants").CustomerType }, fiberProductName: { required: false, type: () => String }, mobileProductName: { required: false, type: () => String }, voipProductName: { required: false, type: () => String }, created: { required: true, type: () => require("../common/common.entity").AuditDateDto } };
9
9
  }
10
10
  }
11
11
  exports.BundleProductsDto = BundleProductsDto;
12
- class CreateBundleProductsDto extends (0, swagger_1.OmitType)(BundleProductsDto, ['id', 'created']) {
12
+ class CreateBundleProductsDto extends (0, swagger_1.PickType)(BundleProductsDto, [
13
+ 'bundleName',
14
+ 'omitAsDestinationBundle',
15
+ 'availableFrom',
16
+ 'customerType',
17
+ 'fiberProductName',
18
+ 'mobileProductName',
19
+ 'voipProductName'
20
+ ]) {
13
21
  static _OPENAPI_METADATA_FACTORY() {
14
22
  return {};
15
23
  }