adamo-types 2.1.29 → 2.1.31-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.
Files changed (34) hide show
  1. package/dist/bss/bearingpoint/lookup/option.entity.d.ts +2 -0
  2. package/dist/bss/bearingpoint/lookup/option.entity.js +1 -1
  3. package/dist/bss/customer/customer.constants.d.ts +5 -3
  4. package/dist/bss/customer/customer.constants.js +8 -4
  5. package/dist/common/constants/common.constants.d.ts +2 -1
  6. package/dist/common/constants/common.constants.js +1 -0
  7. package/dist/common/constants/customer-mobile-product-sim-change.error.constants.d.ts +4 -0
  8. package/dist/common/constants/customer-mobile-product-sim-change.error.constants.js +7 -0
  9. package/dist/common/constants/index.d.ts +2 -0
  10. package/dist/common/constants/index.js +2 -0
  11. package/dist/common/constants/iosmvna.error.constants.d.ts +2 -0
  12. package/dist/common/constants/iosmvna.error.constants.js +5 -0
  13. package/dist/common/constants/not-found.error.constants.d.ts +1 -0
  14. package/dist/common/constants/not-found.error.constants.js +3 -2
  15. package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +4 -10
  16. package/dist/common/edge-zoho/sale-process/req/patch.entity.js +24 -44
  17. package/dist/sys03/common/common.entity.d.ts +3 -0
  18. package/dist/sys03/common/common.entity.js +7 -1
  19. package/dist/sys03/customer-product-sim-change/customer-product-sim-change.constants.d.ts +8 -0
  20. package/dist/sys03/customer-product-sim-change/customer-product-sim-change.constants.js +12 -0
  21. package/dist/sys03/customer-product-sim-change/customer-product-sim-change.entity.d.ts +30 -0
  22. package/dist/sys03/customer-product-sim-change/customer-product-sim-change.entity.js +67 -0
  23. package/dist/sys03/customer-product-sim-change/index.d.ts +2 -0
  24. package/dist/sys03/customer-product-sim-change/index.js +18 -0
  25. package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.d.ts +32 -0
  26. package/dist/sys03/customer-suma-product/customer-suma-mobile-product.entity.js +36 -0
  27. package/dist/sys03/customer-suma-product/index.d.ts +1 -0
  28. package/dist/sys03/customer-suma-product/index.js +17 -0
  29. package/dist/tsconfig.build.tsbuildinfo +1 -1
  30. package/dist/zoho/constants/zoho.constants.d.ts +0 -6
  31. package/dist/zoho/constants/zoho.constants.js +1 -8
  32. package/dist/zoho/sale-process/address-search.entity.d.ts +2 -2
  33. package/dist/zoho/sale-process/address-search.entity.js +3 -3
  34. package/package.json +2 -2
@@ -8,4 +8,6 @@ export declare class BpLookupOptionDto {
8
8
  parentArea?: string;
9
9
  parentName?: string;
10
10
  configurationLevel: string;
11
+ _translations?: Record<string, any>;
12
+ parameters?: Record<string, any>;
11
13
  }
@@ -4,7 +4,7 @@ exports.BpLookupOptionDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class BpLookupOptionDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { area: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, active: { required: true, type: () => Boolean }, description: { required: true, type: () => String }, parentArea: { required: false, type: () => String }, parentName: { required: false, type: () => String }, configurationLevel: { required: true, type: () => String } };
7
+ return { area: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, active: { required: true, type: () => Boolean }, description: { required: true, type: () => String }, parentArea: { required: false, type: () => String }, parentName: { required: false, type: () => String }, configurationLevel: { required: true, type: () => String }, _translations: { required: false, type: () => Object }, parameters: { required: false, type: () => Object } };
8
8
  }
9
9
  }
10
10
  exports.BpLookupOptionDto = BpLookupOptionDto;
@@ -8,15 +8,17 @@ export declare enum ContactMediumType {
8
8
  UNKNOWN = "UNKNOWN"
9
9
  }
10
10
  export declare enum CustomerProductActionType {
11
- EXTRA = "EXTRA",
11
+ CANCEL_CHANGE_OF_ADDRESS = "CANCEL_CHANGE_OF_ADDRESS",
12
12
  CHANGE = "CHANGE",
13
13
  CHANGE_OF_ADDRESS = "CHANGE_OF_ADDRESS",
14
14
  CONTINUE_CHANGE_OF_ADDRESS = "CONTINUE_CHANGE_OF_ADDRESS",
15
- CANCEL_CHANGE_OF_ADDRESS = "CANCEL_CHANGE_OF_ADDRESS",
16
- STOP_CHANGE_OF_ADDRESS = "STOP_CHANGE_OF_ADDRESS",
15
+ EXTRA = "EXTRA",
17
16
  MIGRATE = "MIGRATE",
18
17
  MIGRATE_ONLY_MOBILES = "MIGRATE_ONLY_MOBILES",
19
18
  MIGRATE_SHARED_MOBILES = "MIGRATE_SHARED_MOBILES",
19
+ SEE_DETAILS = "SEE_DETAILS",
20
+ SIM_CHANGE = "SIM_CHANGE",
21
+ STOP_CHANGE_OF_ADDRESS = "STOP_CHANGE_OF_ADDRESS",
20
22
  TERMINATE = "TERMINATE"
21
23
  }
22
24
  export declare enum CustomerProcessType {
@@ -13,15 +13,17 @@ var ContactMediumType;
13
13
  })(ContactMediumType || (exports.ContactMediumType = ContactMediumType = {}));
14
14
  var CustomerProductActionType;
15
15
  (function (CustomerProductActionType) {
16
- CustomerProductActionType["EXTRA"] = "EXTRA";
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
19
  CustomerProductActionType["CONTINUE_CHANGE_OF_ADDRESS"] = "CONTINUE_CHANGE_OF_ADDRESS";
20
- CustomerProductActionType["CANCEL_CHANGE_OF_ADDRESS"] = "CANCEL_CHANGE_OF_ADDRESS";
21
- CustomerProductActionType["STOP_CHANGE_OF_ADDRESS"] = "STOP_CHANGE_OF_ADDRESS";
20
+ CustomerProductActionType["EXTRA"] = "EXTRA";
22
21
  CustomerProductActionType["MIGRATE"] = "MIGRATE";
23
22
  CustomerProductActionType["MIGRATE_ONLY_MOBILES"] = "MIGRATE_ONLY_MOBILES";
24
23
  CustomerProductActionType["MIGRATE_SHARED_MOBILES"] = "MIGRATE_SHARED_MOBILES";
24
+ CustomerProductActionType["SEE_DETAILS"] = "SEE_DETAILS";
25
+ CustomerProductActionType["SIM_CHANGE"] = "SIM_CHANGE";
26
+ CustomerProductActionType["STOP_CHANGE_OF_ADDRESS"] = "STOP_CHANGE_OF_ADDRESS";
25
27
  CustomerProductActionType["TERMINATE"] = "TERMINATE";
26
28
  })(CustomerProductActionType || (exports.CustomerProductActionType = CustomerProductActionType = {}));
27
29
  var CustomerProcessType;
@@ -47,7 +49,9 @@ exports.CustomerProductActionTypeDisplayOrder = {
47
49
  [CustomerProductActionType.CANCEL_CHANGE_OF_ADDRESS]: 7,
48
50
  [CustomerProductActionType.STOP_CHANGE_OF_ADDRESS]: 8,
49
51
  [CustomerProductActionType.TERMINATE]: 9,
50
- [CustomerProductActionType.EXTRA]: 10
52
+ [CustomerProductActionType.EXTRA]: 10,
53
+ [CustomerProductActionType.SEE_DETAILS]: 11,
54
+ [CustomerProductActionType.SIM_CHANGE]: 12
51
55
  };
52
56
  exports.CustomerProductTypeToServiceCharacteristicName = {
53
57
  [constants_1.ShoppingCartProductType.FIBER]: ['SERVICE_ADDRESS'],
@@ -121,7 +121,8 @@ export declare enum Templates {
121
121
  INVOICE_B2C_TEMPLATE = "INVOICE_B2C_TEMPLATE",
122
122
  RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE = "RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE",
123
123
  WEB_ORDER_CLIENT_TEMPLATE = "WEB_ORDER_CLIENT_TEMPLATE",
124
- WEB_PRE_ORDER_CLIENT_TEMPLATE = "WEB_PRE_ORDER_CLIENT_TEMPLATE"
124
+ WEB_PRE_ORDER_CLIENT_TEMPLATE = "WEB_PRE_ORDER_CLIENT_TEMPLATE",
125
+ CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE = "CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE"
125
126
  }
126
127
  export declare enum StorageDropdown {
127
128
  APPROVAL_VALIDATION_TYPES = "APPROVAL_VALIDATION_TYPES"
@@ -148,6 +148,7 @@ var Templates;
148
148
  Templates["RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE"] = "RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE";
149
149
  Templates["WEB_ORDER_CLIENT_TEMPLATE"] = "WEB_ORDER_CLIENT_TEMPLATE";
150
150
  Templates["WEB_PRE_ORDER_CLIENT_TEMPLATE"] = "WEB_PRE_ORDER_CLIENT_TEMPLATE";
151
+ Templates["CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE"] = "CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE";
151
152
  })(Templates || (exports.Templates = Templates = {}));
152
153
  var StorageDropdown;
153
154
  (function (StorageDropdown) {
@@ -0,0 +1,4 @@
1
+ export declare const E_CUSTOMER_PRODUCT_NOT_MOBILE = "E_CUSTOMER_PRODUCT_NOT_MOBILE";
2
+ export declare const E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE = "E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE";
3
+ export declare const E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND";
4
+ export declare const E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE = "E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE = exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE = exports.E_CUSTOMER_PRODUCT_NOT_MOBILE = void 0;
4
+ exports.E_CUSTOMER_PRODUCT_NOT_MOBILE = 'E_CUSTOMER_PRODUCT_NOT_MOBILE';
5
+ exports.E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE = 'E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE';
6
+ exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND';
7
+ exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE = 'E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE';
@@ -1,9 +1,11 @@
1
1
  export * from './billing.error.constants';
2
2
  export * from './bundle-type-configuration.error.constants';
3
+ export * from './customer-mobile-product-sim-change.error.constants';
3
4
  export * from './common.constants';
4
5
  export * from './digitel.error.constants';
5
6
  export * from './error.constants';
6
7
  export * from './iban-validation.error.constants';
8
+ export * from './iosmvna.error.constants';
7
9
  export * from './not-found.error.constants';
8
10
  export * from './sale-process.error.constants';
9
11
  export * from './updowngrade.error.constants';
@@ -16,10 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./billing.error.constants"), exports);
18
18
  __exportStar(require("./bundle-type-configuration.error.constants"), exports);
19
+ __exportStar(require("./customer-mobile-product-sim-change.error.constants"), exports);
19
20
  __exportStar(require("./common.constants"), exports);
20
21
  __exportStar(require("./digitel.error.constants"), exports);
21
22
  __exportStar(require("./error.constants"), exports);
22
23
  __exportStar(require("./iban-validation.error.constants"), exports);
24
+ __exportStar(require("./iosmvna.error.constants"), exports);
23
25
  __exportStar(require("./not-found.error.constants"), exports);
24
26
  __exportStar(require("./sale-process.error.constants"), exports);
25
27
  __exportStar(require("./updowngrade.error.constants"), exports);
@@ -0,0 +1,2 @@
1
+ export declare const E_IOSMVNA = "E_IOSMVNA";
2
+ export declare const E_IOSMVNA_CREATE_SIM = "E_IOSMVNA_CREATE_SIM";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.E_IOSMVNA_CREATE_SIM = exports.E_IOSMVNA = void 0;
4
+ exports.E_IOSMVNA = 'E_IOSMVNA';
5
+ exports.E_IOSMVNA_CREATE_SIM = 'E_IOSMVNA_CREATE_SIM';
@@ -32,6 +32,7 @@ export declare const E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = "E_CUSTOMER_PR
32
32
  export declare const E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND";
33
33
  export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND";
34
34
  export declare const E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND";
35
+ export declare const E_CUSTOMER_PRODUCT_SIM_CHANGE_NOT_FOUND = "E_CUSTOMER_PRODUCT_SIM_CHANGE_NOT_FOUND";
35
36
  export declare const E_DIGITEL_DEFAULT_USER_NOT_FOUND = "E_DIGITEL_DEFAULT_USER_NOT_FOUND";
36
37
  export declare const E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = "E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND";
37
38
  export declare const E_DROPDOWN_DATA_NOT_FOUND = "E_DROPDOWN_DATA_NOT_FOUND";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ 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_SIM_CHANGE_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 = exports.E_TASK_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';
@@ -36,6 +36,7 @@ exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = 'E_CUSTOMER_PRODUCT_FIBER_P
36
36
  exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND';
37
37
  exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND';
38
38
  exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND';
39
+ exports.E_CUSTOMER_PRODUCT_SIM_CHANGE_NOT_FOUND = 'E_CUSTOMER_PRODUCT_SIM_CHANGE_NOT_FOUND';
39
40
  exports.E_DIGITEL_DEFAULT_USER_NOT_FOUND = 'E_DIGITEL_DEFAULT_USER_NOT_FOUND';
40
41
  exports.E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = 'E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND';
41
42
  exports.E_DROPDOWN_DATA_NOT_FOUND = 'E_DROPDOWN_DATA_NOT_FOUND';
@@ -1,6 +1,6 @@
1
1
  import { DigitelCircuitType, BpCustomerAccountIndividualTitleType, BpCustomerAccountPreferredContactTimeType } from '../../../../bss/constants';
2
- import { BusinessCustomerType, CustomerType } from '../../../constants';
3
- import { AddressSearchType, SaleProcessStatusType } from '../../../../zoho/constants';
2
+ import { BusinessCustomerType, CoverageSearchType, CustomerType } from '../../../constants';
3
+ import { SaleProcessStatusType } from '../../../../zoho/constants';
4
4
  import { BusinessIdentificationDto, CustomerIdentificationDto } from '../../../../zoho/sale-process';
5
5
  import { CreateCustomerAccountAddressReqDto } from '../../../../sys03/customer';
6
6
  import { ExistingCustomerBehaviourType } from '../../../../sys03/common';
@@ -111,7 +111,7 @@ export declare class PatchSaleProcessFeaturesSelectedDto {
111
111
  shoppingCartId: string;
112
112
  }
113
113
  export declare class PartialAddressSearchDto {
114
- searchType: AddressSearchType;
114
+ searchType: CoverageSearchType;
115
115
  search: string;
116
116
  googleStreet: string;
117
117
  googleLatitude: string;
@@ -124,14 +124,8 @@ export declare class PartialAddressSelectedDto {
124
124
  coberturaId: string;
125
125
  }
126
126
  export declare class PartialApartmentSelectedDto {
127
- searchType?: AddressSearchType;
128
- search?: string;
129
- coberturaId?: string;
130
127
  coberturaPisoPortaId: string;
131
128
  }
132
- export declare class PartialApartmentSelectedCustomerDto {
133
- serviceAddress: string | number;
134
- }
135
129
  export declare class PartialB2bContactCustomerDto {
136
130
  firstName: string;
137
131
  lastName: string;
@@ -166,10 +160,10 @@ export declare class PatchSaleProcessAddressSelectedDto {
166
160
  export declare class PatchSaleProcessApartmentSelectedDto {
167
161
  status: SaleProcessStatusType;
168
162
  addressSearch: PartialApartmentSelectedDto;
169
- customer: PartialApartmentSelectedCustomerDto;
170
163
  }
171
164
  export declare class PatchSaleProcessNoSaleDto {
172
165
  status: SaleProcessStatusType;
166
+ notes?: string;
173
167
  }
174
168
  export declare class PatchSaleProcessB2bContactDto {
175
169
  status: SaleProcessStatusType;
@@ -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.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.PartialApartmentSelectedCustomerDto = exports.PartialApartmentSelectedDto = exports.PartialAddressSelectedDto = exports.PartialAddressSearchDto = exports.PatchSaleProcessFeaturesSelectedDto = exports.PatchSaleProcessBundleSelectedDto = exports.PatchSaleProcessNoCoverageDto = exports.PatchSaleProcessPersonalDataSavedDto = exports.PatchSaleProcessContractDataSavedDto = exports.PartialSaleProcessBusinessInfoDto = exports.PartialSaleProcessBillingInfoBaseWithIdentificationDto = exports.PartialSaleProcessBillingInfoBaseDto = exports.PartialSaleProcessContractCustomerDto = exports.PartialSaleProcessCustomerBaseWithoutTypeDto = exports.PartialSaleProcessCustomerBaseDto = exports.PartialSaleProcessBillingInfoDto = exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto = exports.PartialSaleProcessDigitelDto = exports.PartialSaleProcessDigitelCustomerDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = exports.PatchSaleProcessBusinessInfoContractDataSavedDto = exports.PatchSaleProcessCustomerContractDataSavedDto = exports.PatchSaleProcessCustomerTypeValidatedDto = exports.PatchSaleProcessCustomerTypeSelectedDto = exports.PartialSaleProcessBusinessDto = exports.PartialSaleProcessCustomerDto = void 0;
12
+ exports.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.PartialApartmentSelectedDto = exports.PartialAddressSelectedDto = exports.PartialAddressSearchDto = exports.PatchSaleProcessFeaturesSelectedDto = exports.PatchSaleProcessBundleSelectedDto = exports.PatchSaleProcessNoCoverageDto = exports.PatchSaleProcessPersonalDataSavedDto = exports.PatchSaleProcessContractDataSavedDto = exports.PartialSaleProcessBusinessInfoDto = exports.PartialSaleProcessBillingInfoBaseWithIdentificationDto = exports.PartialSaleProcessBillingInfoBaseDto = exports.PartialSaleProcessContractCustomerDto = exports.PartialSaleProcessCustomerBaseWithoutTypeDto = exports.PartialSaleProcessCustomerBaseDto = exports.PartialSaleProcessBillingInfoDto = exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto = exports.PartialSaleProcessDigitelDto = exports.PartialSaleProcessDigitelCustomerDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = exports.PatchSaleProcessBusinessInfoContractDataSavedDto = exports.PatchSaleProcessCustomerContractDataSavedDto = exports.PatchSaleProcessCustomerTypeValidatedDto = exports.PatchSaleProcessCustomerTypeSelectedDto = exports.PartialSaleProcessBusinessDto = exports.PartialSaleProcessCustomerDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const constants_1 = require("../../../../bss/constants");
15
15
  const constants_2 = require("../../../constants");
@@ -541,40 +541,40 @@ __decorate([
541
541
  ], PatchSaleProcessFeaturesSelectedDto.prototype, "shoppingCartId", void 0);
542
542
  class PartialAddressSearchDto {
543
543
  static _OPENAPI_METADATA_FACTORY() {
544
- return { searchType: { required: true, enum: require("../../../../zoho/constants/zoho.constants").AddressSearchType }, search: { required: true, type: () => String }, googleStreet: { required: true, type: () => String }, googleLatitude: { required: true, type: () => String }, googleLongitude: { required: true, type: () => String }, googleProvince: { required: false, type: () => String }, googleZip: { required: false, type: () => String }, googleCity: { required: false, type: () => String } };
544
+ return { searchType: { required: true, enum: require("../../../constants/common.constants").CoverageSearchType }, search: { required: true, type: () => String }, googleStreet: { required: true, type: () => String }, googleLatitude: { required: true, type: () => String }, googleLongitude: { required: true, type: () => String }, googleProvince: { required: false, type: () => String }, googleZip: { required: false, type: () => String }, googleCity: { required: false, type: () => String } };
545
545
  }
546
546
  }
547
547
  exports.PartialAddressSearchDto = PartialAddressSearchDto;
548
548
  __decorate([
549
- (0, class_validator_1.IsEnum)(constants_3.AddressSearchType),
549
+ (0, class_validator_1.IsEnum)(constants_2.CoverageSearchType),
550
550
  __metadata("design:type", String)
551
551
  ], PartialAddressSearchDto.prototype, "searchType", void 0);
552
552
  __decorate([
553
- (0, class_validator_1.ValidateIf)((o) => o.searchType !== constants_3.AddressSearchType.COORDS),
553
+ (0, class_validator_1.ValidateIf)((o) => o.searchType !== constants_2.CoverageSearchType.COORDS),
554
554
  (0, class_validator_1.IsString)(),
555
555
  (0, class_validator_1.IsNotEmpty)(),
556
556
  __metadata("design:type", String)
557
557
  ], PartialAddressSearchDto.prototype, "search", void 0);
558
558
  __decorate([
559
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE),
559
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
560
560
  (0, class_validator_1.IsString)(),
561
561
  (0, class_validator_1.IsNotEmpty)(),
562
562
  __metadata("design:type", String)
563
563
  ], PartialAddressSearchDto.prototype, "googleStreet", void 0);
564
564
  __decorate([
565
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE || o.searchType === constants_3.AddressSearchType.COORDS),
565
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE || o.searchType === constants_2.CoverageSearchType.COORDS),
566
566
  (0, class_validator_1.IsString)(),
567
567
  (0, class_validator_1.IsNotEmpty)(),
568
568
  __metadata("design:type", String)
569
569
  ], PartialAddressSearchDto.prototype, "googleLatitude", void 0);
570
570
  __decorate([
571
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE || o.searchType === constants_3.AddressSearchType.COORDS),
571
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE || o.searchType === constants_2.CoverageSearchType.COORDS),
572
572
  (0, class_validator_1.IsString)(),
573
573
  (0, class_validator_1.IsNotEmpty)(),
574
574
  __metadata("design:type", String)
575
575
  ], PartialAddressSearchDto.prototype, "googleLongitude", void 0);
576
576
  __decorate([
577
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE),
577
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
578
578
  (0, class_validator_1.IsString)(),
579
579
  (0, class_validator_1.IsOptional)(),
580
580
  (0, class_transformer_1.Transform)(({ value }) => {
@@ -586,7 +586,7 @@ __decorate([
586
586
  __metadata("design:type", String)
587
587
  ], PartialAddressSearchDto.prototype, "googleProvince", void 0);
588
588
  __decorate([
589
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE),
589
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
590
590
  (0, class_validator_1.IsString)(),
591
591
  (0, class_validator_1.IsOptional)(),
592
592
  (0, class_transformer_1.Transform)(({ value }) => {
@@ -598,7 +598,7 @@ __decorate([
598
598
  __metadata("design:type", String)
599
599
  ], PartialAddressSearchDto.prototype, "googleZip", void 0);
600
600
  __decorate([
601
- (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_3.AddressSearchType.GOOGLE),
601
+ (0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
602
602
  (0, class_validator_1.IsString)(),
603
603
  (0, class_validator_1.IsOptional)(),
604
604
  (0, class_transformer_1.Transform)(({ value }) => {
@@ -616,45 +616,23 @@ class PartialAddressSelectedDto {
616
616
  }
617
617
  exports.PartialAddressSelectedDto = PartialAddressSelectedDto;
618
618
  __decorate([
619
+ (0, class_validator_1.IsString)(),
619
620
  (0, class_validator_1.IsNotEmpty)(),
621
+ (0, _validators_1.IsNotBlank)(),
620
622
  __metadata("design:type", String)
621
623
  ], PartialAddressSelectedDto.prototype, "coberturaId", void 0);
622
624
  class PartialApartmentSelectedDto {
623
625
  static _OPENAPI_METADATA_FACTORY() {
624
- return { searchType: { required: false, enum: require("../../../../zoho/constants/zoho.constants").AddressSearchType }, search: { required: false, type: () => String }, coberturaId: { required: false, type: () => String }, coberturaPisoPortaId: { required: true, type: () => String } };
626
+ return { coberturaPisoPortaId: { required: true, type: () => String } };
625
627
  }
626
628
  }
627
629
  exports.PartialApartmentSelectedDto = PartialApartmentSelectedDto;
628
- __decorate([
629
- (0, class_validator_1.IsEnum)(constants_3.AddressSearchType),
630
- (0, class_validator_1.IsOptional)(),
631
- __metadata("design:type", String)
632
- ], PartialApartmentSelectedDto.prototype, "searchType", void 0);
633
630
  __decorate([
634
631
  (0, class_validator_1.IsString)(),
635
632
  (0, class_validator_1.IsNotEmpty)(),
636
- (0, class_validator_1.IsOptional)(),
637
- __metadata("design:type", String)
638
- ], PartialApartmentSelectedDto.prototype, "search", void 0);
639
- __decorate([
640
- (0, class_validator_1.IsOptional)(),
641
- __metadata("design:type", String)
642
- ], PartialApartmentSelectedDto.prototype, "coberturaId", void 0);
643
- __decorate([
644
- (0, class_validator_1.IsNotEmpty)(),
633
+ (0, _validators_1.IsNotBlank)(),
645
634
  __metadata("design:type", String)
646
635
  ], PartialApartmentSelectedDto.prototype, "coberturaPisoPortaId", void 0);
647
- class PartialApartmentSelectedCustomerDto {
648
- static _OPENAPI_METADATA_FACTORY() {
649
- return { serviceAddress: { required: true, type: () => Object } };
650
- }
651
- }
652
- exports.PartialApartmentSelectedCustomerDto = PartialApartmentSelectedCustomerDto;
653
- __decorate([
654
- (0, class_validator_1.IsString)(),
655
- (0, class_validator_1.IsNotEmpty)(),
656
- __metadata("design:type", Object)
657
- ], PartialApartmentSelectedCustomerDto.prototype, "serviceAddress", void 0);
658
636
  class PartialB2bContactCustomerDto {
659
637
  static _OPENAPI_METADATA_FACTORY() {
660
638
  return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, contactPhone: { required: false, type: () => String } };
@@ -800,7 +778,7 @@ __decorate([
800
778
  ], PatchSaleProcessAddressSelectedDto.prototype, "addressSearch", void 0);
801
779
  class PatchSaleProcessApartmentSelectedDto {
802
780
  static _OPENAPI_METADATA_FACTORY() {
803
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, addressSearch: { required: true, type: () => require("./patch.entity").PartialApartmentSelectedDto }, customer: { required: true, type: () => require("./patch.entity").PartialApartmentSelectedCustomerDto } };
781
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, addressSearch: { required: true, type: () => require("./patch.entity").PartialApartmentSelectedDto } };
804
782
  }
805
783
  }
806
784
  exports.PatchSaleProcessApartmentSelectedDto = PatchSaleProcessApartmentSelectedDto;
@@ -814,15 +792,9 @@ __decorate([
814
792
  (0, class_transformer_1.Type)(() => PartialApartmentSelectedDto),
815
793
  __metadata("design:type", PartialApartmentSelectedDto)
816
794
  ], PatchSaleProcessApartmentSelectedDto.prototype, "addressSearch", void 0);
817
- __decorate([
818
- (0, class_validator_1.IsDefined)(),
819
- (0, class_validator_1.ValidateNested)(),
820
- (0, class_transformer_1.Type)(() => PartialApartmentSelectedCustomerDto),
821
- __metadata("design:type", PartialApartmentSelectedCustomerDto)
822
- ], PatchSaleProcessApartmentSelectedDto.prototype, "customer", void 0);
823
795
  class PatchSaleProcessNoSaleDto {
824
796
  static _OPENAPI_METADATA_FACTORY() {
825
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType } };
797
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, notes: { required: false, type: () => String, maxLength: 1000 } };
826
798
  }
827
799
  }
828
800
  exports.PatchSaleProcessNoSaleDto = PatchSaleProcessNoSaleDto;
@@ -830,6 +802,14 @@ __decorate([
830
802
  (0, class_validator_1.IsEnum)(constants_3.SaleProcessStatusType),
831
803
  __metadata("design:type", String)
832
804
  ], PatchSaleProcessNoSaleDto.prototype, "status", void 0);
805
+ __decorate([
806
+ (0, class_validator_1.IsString)(),
807
+ (0, class_validator_1.IsNotEmpty)(),
808
+ (0, class_validator_1.MaxLength)(1000),
809
+ (0, class_validator_1.IsOptional)(),
810
+ (0, class_transformer_1.Expose)(),
811
+ __metadata("design:type", String)
812
+ ], PatchSaleProcessNoSaleDto.prototype, "notes", void 0);
833
813
  class PatchSaleProcessB2bContactDto {
834
814
  static _OPENAPI_METADATA_FACTORY() {
835
815
  return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: false, type: () => String }, customer: { required: true, type: () => require("./patch.entity").PartialB2bContactCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialB2bContactAddressSearchDto } };
@@ -23,6 +23,9 @@ export declare class AuditFieldsWithValueDto extends AuditFieldsDto {
23
23
  export declare class ProcessAuditFieldsDto extends AuditFieldsDto {
24
24
  inChannel: string;
25
25
  }
26
+ declare const CreateProcessAuditFieldsDto_base: import("@nestjs/common").Type<Pick<ProcessAuditFieldsDto, "by" | "inChannel">>;
27
+ export declare class CreateProcessAuditFieldsDto extends CreateProcessAuditFieldsDto_base {
28
+ }
26
29
  export declare class CustomerProductActionProcessProductDto {
27
30
  id: string;
28
31
  name: string;
@@ -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.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;
12
+ exports.CreditBureauValidationProcessDto = exports.CreditBureauValidationCacheDto = exports.CreditBureauValidationIdentificationDto = exports.ArsDocumentDto = exports.GenericFileDto = exports.CustomerProductTransitionProcessTransitionDto = exports.UpdateCustomerProcessOrderDto = exports.CustomerProcessOrderDto = exports.CustomerProcessStepRelatedProductDto = exports.CustomerProductActionProcessProductDto = exports.CreateProcessAuditFieldsDto = 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");
@@ -58,6 +58,12 @@ class ProcessAuditFieldsDto extends AuditFieldsDto {
58
58
  }
59
59
  }
60
60
  exports.ProcessAuditFieldsDto = ProcessAuditFieldsDto;
61
+ class CreateProcessAuditFieldsDto extends (0, swagger_1.PickType)(ProcessAuditFieldsDto, ['by', 'inChannel']) {
62
+ static _OPENAPI_METADATA_FACTORY() {
63
+ return {};
64
+ }
65
+ }
66
+ exports.CreateProcessAuditFieldsDto = CreateProcessAuditFieldsDto;
61
67
  class CustomerProductActionProcessProductDto {
62
68
  static _OPENAPI_METADATA_FACTORY() {
63
69
  return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String } };
@@ -0,0 +1,8 @@
1
+ export declare enum CustomerProductSimChangeStatusType {
2
+ FRESH = "fresh",
3
+ ORDER_CREATED = "order-created",
4
+ ORDER_APPLIED = "order-applied",
5
+ SIM_CREATED = "sim-created",
6
+ SIM_CODE_CREATED = "sim-code-created",
7
+ ERROR = "error"
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerProductSimChangeStatusType = void 0;
4
+ var CustomerProductSimChangeStatusType;
5
+ (function (CustomerProductSimChangeStatusType) {
6
+ CustomerProductSimChangeStatusType["FRESH"] = "fresh";
7
+ CustomerProductSimChangeStatusType["ORDER_CREATED"] = "order-created";
8
+ CustomerProductSimChangeStatusType["ORDER_APPLIED"] = "order-applied";
9
+ CustomerProductSimChangeStatusType["SIM_CREATED"] = "sim-created";
10
+ CustomerProductSimChangeStatusType["SIM_CODE_CREATED"] = "sim-code-created";
11
+ CustomerProductSimChangeStatusType["ERROR"] = "error";
12
+ })(CustomerProductSimChangeStatusType || (exports.CustomerProductSimChangeStatusType = CustomerProductSimChangeStatusType = {}));
@@ -0,0 +1,30 @@
1
+ import { AuditDateDto, CreateProcessAuditFieldsDto, CustomerProductActionProcessProductDto, ProcessAuditFieldsDto } from '../common';
2
+ import { CustomerProductSimChangeStatusType } from './customer-product-sim-change.constants';
3
+ export declare class CustomerProductSimChangeDto {
4
+ id: number;
5
+ customerId: string;
6
+ product: CustomerProductActionProcessProductDto;
7
+ status: CustomerProductSimChangeStatusType;
8
+ error?: any;
9
+ notificationEmail?: string;
10
+ notificationMobilePhone?: string;
11
+ subscriptionId: string;
12
+ msisdn: string;
13
+ orderId?: string;
14
+ simId?: string;
15
+ simCode?: string;
16
+ created: ProcessAuditFieldsDto;
17
+ updated: AuditDateDto;
18
+ }
19
+ export declare class SendCustomerProductSimChangeDto {
20
+ notificationEmail: string;
21
+ notificationMobilePhone: string;
22
+ }
23
+ declare const CreateCustomerProductSimChangeDto_base: import("@nestjs/common").Type<Pick<CustomerProductSimChangeDto, "product" | "customerId" | "status" | "msisdn" | "notificationEmail" | "notificationMobilePhone" | "subscriptionId">>;
24
+ export declare class CreateCustomerProductSimChangeDto extends CreateCustomerProductSimChangeDto_base {
25
+ created: CreateProcessAuditFieldsDto;
26
+ }
27
+ declare const PatchCustomerProductSimChangeDto_base: import("@nestjs/common").Type<Pick<CustomerProductSimChangeDto, "orderId" | "status" | "error" | "notificationEmail" | "notificationMobilePhone" | "simId" | "simCode">>;
28
+ export declare class PatchCustomerProductSimChangeDto extends PatchCustomerProductSimChangeDto_base {
29
+ }
30
+ export {};
@@ -0,0 +1,67 @@
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.PatchCustomerProductSimChangeDto = exports.CreateCustomerProductSimChangeDto = exports.SendCustomerProductSimChangeDto = exports.CustomerProductSimChangeDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const class_validator_1 = require("class-validator");
16
+ const _validators_1 = require("../../validators/index");
17
+ class CustomerProductSimChangeDto {
18
+ static _OPENAPI_METADATA_FACTORY() {
19
+ return { id: { required: true, type: () => Number }, customerId: { required: true, type: () => String }, product: { required: true, type: () => require("../common/common.entity").CustomerProductActionProcessProductDto }, status: { required: true, enum: require("./customer-product-sim-change.constants").CustomerProductSimChangeStatusType }, error: { required: false, type: () => Object }, notificationEmail: { required: false, type: () => String }, notificationMobilePhone: { required: false, type: () => String }, subscriptionId: { required: true, type: () => String }, msisdn: { required: true, type: () => String }, orderId: { required: false, type: () => String }, simId: { required: false, type: () => String }, simCode: { required: false, type: () => String }, created: { required: true, type: () => require("../common/common.entity").ProcessAuditFieldsDto }, updated: { required: true, type: () => require("../common/common.entity").AuditDateDto } };
20
+ }
21
+ }
22
+ exports.CustomerProductSimChangeDto = CustomerProductSimChangeDto;
23
+ class SendCustomerProductSimChangeDto {
24
+ static _OPENAPI_METADATA_FACTORY() {
25
+ return { notificationEmail: { required: true, type: () => String, format: "email" }, notificationMobilePhone: { required: true, type: () => String } };
26
+ }
27
+ }
28
+ exports.SendCustomerProductSimChangeDto = SendCustomerProductSimChangeDto;
29
+ __decorate([
30
+ (0, class_validator_1.IsEmail)(),
31
+ (0, class_validator_1.IsNotEmpty)(),
32
+ __metadata("design:type", String)
33
+ ], SendCustomerProductSimChangeDto.prototype, "notificationEmail", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsNotEmpty)(),
37
+ (0, _validators_1.IsNotBlank)(),
38
+ __metadata("design:type", String)
39
+ ], SendCustomerProductSimChangeDto.prototype, "notificationMobilePhone", void 0);
40
+ class CreateCustomerProductSimChangeDto extends (0, swagger_1.PickType)(CustomerProductSimChangeDto, [
41
+ 'customerId',
42
+ 'product',
43
+ 'status',
44
+ 'notificationEmail',
45
+ 'notificationMobilePhone',
46
+ 'subscriptionId',
47
+ 'msisdn'
48
+ ]) {
49
+ static _OPENAPI_METADATA_FACTORY() {
50
+ return { created: { required: true, type: () => require("../common/common.entity").CreateProcessAuditFieldsDto } };
51
+ }
52
+ }
53
+ exports.CreateCustomerProductSimChangeDto = CreateCustomerProductSimChangeDto;
54
+ class PatchCustomerProductSimChangeDto extends (0, swagger_1.PickType)(CustomerProductSimChangeDto, [
55
+ 'status',
56
+ 'error',
57
+ 'notificationEmail',
58
+ 'notificationMobilePhone',
59
+ 'orderId',
60
+ 'simId',
61
+ 'simCode'
62
+ ]) {
63
+ static _OPENAPI_METADATA_FACTORY() {
64
+ return {};
65
+ }
66
+ }
67
+ exports.PatchCustomerProductSimChangeDto = PatchCustomerProductSimChangeDto;
@@ -0,0 +1,2 @@
1
+ export * from './customer-product-sim-change.constants';
2
+ export * from './customer-product-sim-change.entity';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./customer-product-sim-change.constants"), exports);
18
+ __exportStar(require("./customer-product-sim-change.entity"), exports);
@@ -0,0 +1,32 @@
1
+ import { CustomerBundleProductDto } from '../customer/customer-product.entity';
2
+ export declare class CustomerSumaMobileProductSubscriptionBalanceDetailsDto {
3
+ amount: string;
4
+ expiresAt: Date;
5
+ }
6
+ export declare class CustomerSumaMobileProductSubscriptionDetailsDto {
7
+ id: string;
8
+ name: string;
9
+ type: string;
10
+ msisdn: string;
11
+ status: string;
12
+ networkStatus: string;
13
+ portabilityStatus: string;
14
+ createdAt: Date;
15
+ activatedAt: Date;
16
+ balance: CustomerSumaMobileProductSubscriptionBalanceDetailsDto;
17
+ }
18
+ export declare class CustomerSumaMobileProductSimDetailsDto {
19
+ id: string;
20
+ status: string;
21
+ pin: string;
22
+ pin2: string;
23
+ puk: string;
24
+ puk2: string;
25
+ }
26
+ declare const CustomerSumaMobileProductDetailsDto_base: import("@nestjs/common").Type<Pick<CustomerBundleProductDto, "name" | "id" | "type" | "displayName" | "displayDescription">>;
27
+ export declare class CustomerSumaMobileProductDetailsDto extends CustomerSumaMobileProductDetailsDto_base {
28
+ customerId: string;
29
+ subscription: CustomerSumaMobileProductSubscriptionDetailsDto;
30
+ sim: CustomerSumaMobileProductSimDetailsDto;
31
+ }
32
+ export {};