adamo-types 2.1.38-uat → 2.1.39-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.
@@ -123,7 +123,8 @@ export declare enum Templates {
123
123
  RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE = "RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE",
124
124
  WEB_ORDER_CLIENT_TEMPLATE = "WEB_ORDER_CLIENT_TEMPLATE",
125
125
  WEB_PRE_ORDER_CLIENT_TEMPLATE = "WEB_PRE_ORDER_CLIENT_TEMPLATE",
126
- CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE = "CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE"
126
+ CUSTOMER_PRODUCT_ESIM_CHANGE_EMAIL_TEMPLATE = "CUSTOMER_PRODUCT_ESIM_CHANGE_EMAIL_TEMPLATE",
127
+ CUSTOMER_PRODUCT_ESIM_CHANGE_SMS_TEMPLATE = "CUSTOMER_PRODUCT_ESIM_CHANGE_SMS_TEMPLATE"
127
128
  }
128
129
  export declare enum StorageDropdown {
129
130
  APPROVAL_VALIDATION_TYPES = "APPROVAL_VALIDATION_TYPES"
@@ -149,7 +149,8 @@ var Templates;
149
149
  Templates["RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE"] = "RETAIL_BATCH_HUB_NOTIFICATION_TEMPLATE";
150
150
  Templates["WEB_ORDER_CLIENT_TEMPLATE"] = "WEB_ORDER_CLIENT_TEMPLATE";
151
151
  Templates["WEB_PRE_ORDER_CLIENT_TEMPLATE"] = "WEB_PRE_ORDER_CLIENT_TEMPLATE";
152
- Templates["CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE"] = "CUSTOMER_PRODUCT_ESIM_CHANGE_TEMPLATE";
152
+ Templates["CUSTOMER_PRODUCT_ESIM_CHANGE_EMAIL_TEMPLATE"] = "CUSTOMER_PRODUCT_ESIM_CHANGE_EMAIL_TEMPLATE";
153
+ Templates["CUSTOMER_PRODUCT_ESIM_CHANGE_SMS_TEMPLATE"] = "CUSTOMER_PRODUCT_ESIM_CHANGE_SMS_TEMPLATE";
153
154
  })(Templates || (exports.Templates = Templates = {}));
154
155
  var StorageDropdown;
155
156
  (function (StorageDropdown) {
@@ -2,3 +2,4 @@ export declare const E_CUSTOMER_PRODUCT_NOT_MOBILE = "E_CUSTOMER_PRODUCT_NOT_MOB
2
2
  export declare const E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE = "E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE";
3
3
  export declare const E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND";
4
4
  export declare const E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE = "E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE";
5
+ export declare const E_CUSTOMER_PRODUCT_SIM_CHANGE_SIM_CODE_UNDEFINED = "E_CUSTOMER_PRODUCT_SIM_CHANGE_SIM_CODE_UNDEFINED";
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
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;
3
+ exports.E_CUSTOMER_PRODUCT_SIM_CHANGE_SIM_CODE_UNDEFINED = 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
4
  exports.E_CUSTOMER_PRODUCT_NOT_MOBILE = 'E_CUSTOMER_PRODUCT_NOT_MOBILE';
5
5
  exports.E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE = 'E_CUSTOMER_PRODUCT_MOBILE_MSISDN_NOT_AVAILABLE';
6
6
  exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_FOUND';
7
7
  exports.E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE = 'E_CUSTOMER_PRODUCT_MOBILE_SUBSCRIPTION_NOT_ACTIVE';
8
+ exports.E_CUSTOMER_PRODUCT_SIM_CHANGE_SIM_CODE_UNDEFINED = 'E_CUSTOMER_PRODUCT_SIM_CHANGE_SIM_CODE_UNDEFINED';
@@ -6,6 +6,7 @@ export * from './digitel.error.constants';
6
6
  export * from './error.constants';
7
7
  export * from './iban-validation.error.constants';
8
8
  export * from './iosmvna.error.constants';
9
+ export * from './message-media.error.constants';
9
10
  export * from './not-found.error.constants';
10
11
  export * from './sale-process.error.constants';
11
12
  export * from './updowngrade.error.constants';
@@ -22,6 +22,7 @@ __exportStar(require("./digitel.error.constants"), exports);
22
22
  __exportStar(require("./error.constants"), exports);
23
23
  __exportStar(require("./iban-validation.error.constants"), exports);
24
24
  __exportStar(require("./iosmvna.error.constants"), exports);
25
+ __exportStar(require("./message-media.error.constants"), exports);
25
26
  __exportStar(require("./not-found.error.constants"), exports);
26
27
  __exportStar(require("./sale-process.error.constants"), exports);
27
28
  __exportStar(require("./updowngrade.error.constants"), exports);
@@ -1,4 +1,5 @@
1
1
  export declare const E_IOSMVNA = "E_IOSMVNA";
2
2
  export declare const E_IOSMVNA_CREATE_SIM = "E_IOSMVNA_CREATE_SIM";
3
+ export declare const E_IOSMVNA_EMPTY_SIM_POOL = "E_IOSMVNA_EMPTY_SIM_POOL";
3
4
  export declare const E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = "E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER";
4
5
  export declare const E_IOSMVNA_INVALID_DATES_FILTER = "E_IOSMVNA_INVALID_DATES_FILTER";
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.E_IOSMVNA_INVALID_DATES_FILTER = 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_EMPTY_SIM_POOL = exports.E_IOSMVNA_CREATE_SIM = exports.E_IOSMVNA = void 0;
4
4
  exports.E_IOSMVNA = 'E_IOSMVNA';
5
5
  exports.E_IOSMVNA_CREATE_SIM = 'E_IOSMVNA_CREATE_SIM';
6
+ exports.E_IOSMVNA_EMPTY_SIM_POOL = 'E_IOSMVNA_EMPTY_SIM_POOL';
6
7
  exports.E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER = 'E_IOSMVNA_CALL_FORWARDING_PHONE_NUMBER';
7
8
  exports.E_IOSMVNA_INVALID_DATES_FILTER = 'E_IOSMVNA_INVALID_DATES_FILTER';
@@ -0,0 +1,2 @@
1
+ export declare const E_MESSAGE_MEDIA = "E_MESSAGE_MEDIA";
2
+ export declare const E_MESSAGE_MEDIA_INVALID_CREDENTIALS = "E_MESSAGE_MEDIA_INVALID_CREDENTIALS";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.E_MESSAGE_MEDIA_INVALID_CREDENTIALS = exports.E_MESSAGE_MEDIA = void 0;
4
+ exports.E_MESSAGE_MEDIA = 'E_MESSAGE_MEDIA';
5
+ exports.E_MESSAGE_MEDIA_INVALID_CREDENTIALS = 'E_MESSAGE_MEDIA_INVALID_CREDENTIALS';
@@ -216,7 +216,7 @@ export declare const JiraError: {
216
216
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
217
217
  stackTraceLimit: number;
218
218
  };
219
- export declare const MsgMediaError: {
219
+ export declare const MessageMediaError: {
220
220
  new (errorArgs: ErrorArgs): {
221
221
  code: string;
222
222
  source: MicroserviceType;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TesaError = exports.SftpError = exports.SendGridError = exports.OtrsError = exports.MsgMediaError = exports.JiraError = exports.IosmvnaError = exports.GrupoAireError = exports.FtpError = exports.DigitelError = exports.AmsError = exports.RetailBatchHubError = exports.DigitelBridgeError = exports.DbBridgeError = exports.BssBridgeError = exports.ArsEventEdgeError = exports.ArsEdgeError = exports.AcsEdgeError = void 0;
3
+ exports.TesaError = exports.SftpError = exports.SendGridError = exports.OtrsError = exports.MessageMediaError = exports.JiraError = exports.IosmvnaError = exports.GrupoAireError = exports.FtpError = exports.DigitelError = exports.AmsError = exports.RetailBatchHubError = exports.DigitelBridgeError = exports.DbBridgeError = exports.BssBridgeError = exports.ArsEventEdgeError = exports.ArsEdgeError = exports.AcsEdgeError = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  const constants_1 = require("../constants");
6
6
  const exception_entity_1 = require("./exception.entity");
@@ -60,7 +60,7 @@ exports.FtpError = createErrorFactory({ name: 'FtpError', source: constants_1.Mi
60
60
  exports.GrupoAireError = createErrorFactory({ name: 'GrupoAireError', source: constants_1.MicroserviceType.GRUPO_AIRE });
61
61
  exports.IosmvnaError = createErrorFactory({ name: 'IosmvnaError', source: constants_1.MicroserviceType.IOSMVNA });
62
62
  exports.JiraError = createErrorFactory({ name: 'JiraError', source: constants_1.MicroserviceType.JIRA });
63
- exports.MsgMediaError = createErrorFactory({ name: 'MsgMediaError', source: constants_1.MicroserviceType.MESSAGE_MEDIA });
63
+ exports.MessageMediaError = createErrorFactory({ name: 'MessageMediaError', source: constants_1.MicroserviceType.MESSAGE_MEDIA });
64
64
  exports.OtrsError = createErrorFactory({ name: 'OtrsError', source: constants_1.MicroserviceType.OTRS });
65
65
  exports.SendGridError = createErrorFactory({ name: 'SendGridError', source: constants_1.MicroserviceType.SENDGRID });
66
66
  exports.SftpError = createErrorFactory({ name: 'SftpError', source: constants_1.MicroserviceType.SFTP });
@@ -20,6 +20,14 @@ export declare class SendCustomerProductSimChangeDto {
20
20
  notificationEmail: string;
21
21
  notificationMobilePhone: string;
22
22
  }
23
+ export declare class SendCustomerProductSimChangeNotificationDetailsDto {
24
+ value: string;
25
+ error: boolean;
26
+ }
27
+ export declare class SendCustomerProductSimChangeNotificationsDto {
28
+ sms: SendCustomerProductSimChangeNotificationDetailsDto;
29
+ email: SendCustomerProductSimChangeNotificationDetailsDto;
30
+ }
23
31
  declare const CreateCustomerProductSimChangeDto_base: import("@nestjs/common").Type<Pick<CustomerProductSimChangeDto, "product" | "customerId" | "status" | "msisdn" | "notificationEmail" | "notificationMobilePhone" | "subscriptionId">>;
24
32
  export declare class CreateCustomerProductSimChangeDto extends CreateCustomerProductSimChangeDto_base {
25
33
  created: CreateProcessAuditFieldsDto;
@@ -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.PatchCustomerProductSimChangeDto = exports.CreateCustomerProductSimChangeDto = exports.SendCustomerProductSimChangeDto = exports.CustomerProductSimChangeDto = void 0;
12
+ exports.PatchCustomerProductSimChangeDto = exports.CreateCustomerProductSimChangeDto = exports.SendCustomerProductSimChangeNotificationsDto = exports.SendCustomerProductSimChangeNotificationDetailsDto = exports.SendCustomerProductSimChangeDto = exports.CustomerProductSimChangeDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const class_validator_1 = require("class-validator");
@@ -37,6 +37,18 @@ __decorate([
37
37
  (0, _validators_1.IsNotBlank)(),
38
38
  __metadata("design:type", String)
39
39
  ], SendCustomerProductSimChangeDto.prototype, "notificationMobilePhone", void 0);
40
+ class SendCustomerProductSimChangeNotificationDetailsDto {
41
+ static _OPENAPI_METADATA_FACTORY() {
42
+ return { value: { required: true, type: () => String }, error: { required: true, type: () => Boolean } };
43
+ }
44
+ }
45
+ exports.SendCustomerProductSimChangeNotificationDetailsDto = SendCustomerProductSimChangeNotificationDetailsDto;
46
+ class SendCustomerProductSimChangeNotificationsDto {
47
+ static _OPENAPI_METADATA_FACTORY() {
48
+ return { sms: { required: true, type: () => require("./customer-product-sim-change.entity").SendCustomerProductSimChangeNotificationDetailsDto }, email: { required: true, type: () => require("./customer-product-sim-change.entity").SendCustomerProductSimChangeNotificationDetailsDto } };
49
+ }
50
+ }
51
+ exports.SendCustomerProductSimChangeNotificationsDto = SendCustomerProductSimChangeNotificationsDto;
40
52
  class CreateCustomerProductSimChangeDto extends (0, swagger_1.PickType)(CustomerProductSimChangeDto, [
41
53
  'customerId',
42
54
  'product',