adamo-types 2.0.54 → 2.0.56-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 (58) hide show
  1. package/dist/admin/user/index.d.ts +2 -1
  2. package/dist/admin/user/index.js +2 -1
  3. package/dist/admin/user/user.constants.d.ts +19 -0
  4. package/dist/admin/user/user.constants.js +25 -0
  5. package/dist/admin/user/user.entity.d.ts +26 -0
  6. package/dist/admin/user/user.entity.js +91 -0
  7. package/dist/bss/bearingpoint/auth.entity.d.ts +2 -3
  8. package/dist/bss/bearingpoint/auth.entity.js +1 -1
  9. package/dist/bss/bearingpoint/billing/billing.constants.d.ts +5 -0
  10. package/dist/bss/bearingpoint/billing/billing.constants.js +9 -0
  11. package/dist/bss/bearingpoint/billing/customer-bill.entity.d.ts +2 -1
  12. package/dist/bss/bearingpoint/billing/customer-bill.entity.js +1 -1
  13. package/dist/bss/bearingpoint/billing/index.d.ts +1 -0
  14. package/dist/bss/bearingpoint/billing/index.js +1 -0
  15. package/dist/bss/billing/billing.constants.d.ts +2 -1
  16. package/dist/bss/billing/billing.constants.js +4 -3
  17. package/dist/bss/constants/bp.constants.d.ts +3 -3
  18. package/dist/bss/constants/bp.constants.js +3 -3
  19. package/dist/bss/constants/bss.constants.d.ts +2 -1
  20. package/dist/bss/constants/bss.constants.js +7 -1
  21. package/dist/bss/login/res/login.entity.d.ts +0 -1
  22. package/dist/bss/login/res/login.entity.js +1 -1
  23. package/dist/common/constants/error.constants.d.ts +5 -1
  24. package/dist/common/constants/error.constants.js +10 -6
  25. package/dist/common/constants/not-found.error.constants.d.ts +1 -0
  26. package/dist/common/constants/not-found.error.constants.js +2 -1
  27. package/dist/common/edge-bss/index.d.ts +0 -1
  28. package/dist/common/edge-bss/index.js +0 -1
  29. package/dist/common/edge-bss/user/req/user.entity.d.ts +2 -3
  30. package/dist/common/edge-bss/user/req/user.entity.js +1 -1
  31. package/dist/common/user/user.entity.d.ts +3 -2
  32. package/dist/database/auth.entity.d.ts +14 -10
  33. package/dist/database/auth.entity.js +77 -61
  34. package/dist/database/index.d.ts +0 -1
  35. package/dist/database/index.js +0 -1
  36. package/dist/sys03/user/index.d.ts +1 -0
  37. package/dist/{admin/constants → sys03/user}/index.js +1 -1
  38. package/dist/sys03/user/user.entity.d.ts +86 -0
  39. package/dist/sys03/user/user.entity.js +198 -0
  40. package/dist/tsconfig.build.tsbuildinfo +1 -1
  41. package/package.json +2 -2
  42. package/dist/admin/constants/admin.constants.d.ts +0 -15
  43. package/dist/admin/constants/admin.constants.js +0 -21
  44. package/dist/admin/constants/index.d.ts +0 -1
  45. package/dist/admin/user/create/index.d.ts +0 -2
  46. package/dist/admin/user/create/index.js +0 -18
  47. package/dist/admin/user/create/internal/creation-process.d.ts +0 -25
  48. package/dist/admin/user/create/internal/creation-process.js +0 -25
  49. package/dist/admin/user/create/req/create.entity.d.ts +0 -52
  50. package/dist/admin/user/create/req/create.entity.js +0 -235
  51. package/dist/common/edge-bss/login/index.d.ts +0 -2
  52. package/dist/common/edge-bss/login/index.js +0 -18
  53. package/dist/common/edge-bss/login/req/login.entity.d.ts +0 -4
  54. package/dist/common/edge-bss/login/req/login.entity.js +0 -30
  55. package/dist/common/edge-bss/login/res/login.entity.d.ts +0 -6
  56. package/dist/common/edge-bss/login/res/login.entity.js +0 -10
  57. package/dist/database/user.entity.d.ts +0 -5
  58. package/dist/database/user.entity.js +0 -35
@@ -1 +1,2 @@
1
- export * from './create';
1
+ export * from './user.constants';
2
+ export * from './user.entity';
@@ -14,4 +14,5 @@ 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("./create"), exports);
17
+ __exportStar(require("./user.constants"), exports);
18
+ __exportStar(require("./user.entity"), exports);
@@ -0,0 +1,19 @@
1
+ export declare enum AdminCreateUserStageType {
2
+ SALESMAN = "SALESMAN action",
3
+ SALESMAN_CREATE = "create salesman within Infonova",
4
+ SALESMAN_DELETE = "inactivate salesman in Infonova",
5
+ ARS = "ARS action",
6
+ ARS_CREATE = "create user within ARS",
7
+ ARS_ASSIGN_WOKGROUPS = "assign user workgroups within ARS",
8
+ ARS_DELETE = "inactivate user in ARS"
9
+ }
10
+ export declare enum UserRoleType {
11
+ ADMIN = "admin",
12
+ MANAGER = "manager",
13
+ OPERATOR = "operator"
14
+ }
15
+ export declare enum AdminCreateUserActionType {
16
+ CREATE = "C",
17
+ DELETE = "D",
18
+ NO_ACTION = ""
19
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminCreateUserActionType = exports.UserRoleType = exports.AdminCreateUserStageType = void 0;
4
+ var AdminCreateUserStageType;
5
+ (function (AdminCreateUserStageType) {
6
+ AdminCreateUserStageType["SALESMAN"] = "SALESMAN action";
7
+ AdminCreateUserStageType["SALESMAN_CREATE"] = "create salesman within Infonova";
8
+ AdminCreateUserStageType["SALESMAN_DELETE"] = "inactivate salesman in Infonova";
9
+ AdminCreateUserStageType["ARS"] = "ARS action";
10
+ AdminCreateUserStageType["ARS_CREATE"] = "create user within ARS";
11
+ AdminCreateUserStageType["ARS_ASSIGN_WOKGROUPS"] = "assign user workgroups within ARS";
12
+ AdminCreateUserStageType["ARS_DELETE"] = "inactivate user in ARS";
13
+ })(AdminCreateUserStageType || (exports.AdminCreateUserStageType = AdminCreateUserStageType = {}));
14
+ var UserRoleType;
15
+ (function (UserRoleType) {
16
+ UserRoleType["ADMIN"] = "admin";
17
+ UserRoleType["MANAGER"] = "manager";
18
+ UserRoleType["OPERATOR"] = "operator";
19
+ })(UserRoleType || (exports.UserRoleType = UserRoleType = {}));
20
+ var AdminCreateUserActionType;
21
+ (function (AdminCreateUserActionType) {
22
+ AdminCreateUserActionType["CREATE"] = "C";
23
+ AdminCreateUserActionType["DELETE"] = "D";
24
+ AdminCreateUserActionType["NO_ACTION"] = "";
25
+ })(AdminCreateUserActionType || (exports.AdminCreateUserActionType = AdminCreateUserActionType = {}));
@@ -0,0 +1,26 @@
1
+ import { AdminCreateUserActionType, AdminCreateUserStageType, UserRoleType } from './user.constants';
2
+ export declare class AdminCreateUserStageDto {
3
+ stage: AdminCreateUserStageType;
4
+ error: boolean;
5
+ output?: unknown;
6
+ }
7
+ export declare class AdminCreateUserResDto {
8
+ input: AdminCreateUserDto;
9
+ stages: AdminCreateUserStageDto[];
10
+ }
11
+ export declare class AdminCreateUserCsvDto {
12
+ username: string;
13
+ arsAction: AdminCreateUserActionType;
14
+ arsRole: UserRoleType;
15
+ arsWorkgroup: string;
16
+ arsTenant: string;
17
+ salesmanAction: AdminCreateUserActionType;
18
+ }
19
+ export declare class AdminCreateUserDto {
20
+ username: string;
21
+ arsAction: AdminCreateUserActionType;
22
+ arsRole: UserRoleType;
23
+ arsWorkgroups: string[];
24
+ arsTenants: string[];
25
+ salesmanAction: AdminCreateUserActionType;
26
+ }
@@ -0,0 +1,91 @@
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.AdminCreateUserDto = exports.AdminCreateUserCsvDto = exports.AdminCreateUserResDto = exports.AdminCreateUserStageDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const class_validator_1 = require("class-validator");
15
+ const _validators_1 = require("../../validators/index");
16
+ const class_transformer_1 = require("class-transformer");
17
+ const constants_1 = require("../../common/constants");
18
+ const user_constants_1 = require("./user.constants");
19
+ class AdminCreateUserStageDto {
20
+ static _OPENAPI_METADATA_FACTORY() {
21
+ return { stage: { required: true, enum: require("./user.constants").AdminCreateUserStageType }, error: { required: true, type: () => Boolean }, output: { required: false, type: () => Object } };
22
+ }
23
+ }
24
+ exports.AdminCreateUserStageDto = AdminCreateUserStageDto;
25
+ class AdminCreateUserResDto {
26
+ static _OPENAPI_METADATA_FACTORY() {
27
+ return { input: { required: true, type: () => require("./user.entity").AdminCreateUserDto }, stages: { required: true, type: () => [require("./user.entity").AdminCreateUserStageDto] } };
28
+ }
29
+ }
30
+ exports.AdminCreateUserResDto = AdminCreateUserResDto;
31
+ class AdminCreateUserCsvDto {
32
+ static _OPENAPI_METADATA_FACTORY() {
33
+ return { username: { required: true, type: () => String }, arsAction: { required: true, enum: require("./user.constants").AdminCreateUserActionType }, arsRole: { required: true, enum: require("./user.constants").UserRoleType }, arsWorkgroup: { required: true, type: () => String }, arsTenant: { required: true, type: () => String }, salesmanAction: { required: true, enum: require("./user.constants").AdminCreateUserActionType } };
34
+ }
35
+ }
36
+ exports.AdminCreateUserCsvDto = AdminCreateUserCsvDto;
37
+ __decorate([
38
+ (0, class_validator_1.IsNotEmpty)(),
39
+ (0, _validators_1.IsNotBlank)(),
40
+ (0, class_validator_1.IsString)(),
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", String)
43
+ ], AdminCreateUserCsvDto.prototype, "username", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsEnum)(user_constants_1.AdminCreateUserActionType),
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", String)
48
+ ], AdminCreateUserCsvDto.prototype, "arsAction", void 0);
49
+ __decorate([
50
+ (0, class_validator_1.ValidateIf)((o) => o.arsAction === user_constants_1.AdminCreateUserActionType.CREATE),
51
+ (0, class_validator_1.IsEnum)(user_constants_1.UserRoleType),
52
+ (0, class_validator_1.IsDefined)(),
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", String)
55
+ ], AdminCreateUserCsvDto.prototype, "arsRole", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.ValidateIf)((o) => o.arsAction === user_constants_1.AdminCreateUserActionType.CREATE),
58
+ (0, class_validator_1.IsString)(),
59
+ (0, class_validator_1.IsNotEmpty)(),
60
+ (0, _validators_1.IsNotBlank)(),
61
+ (0, class_transformer_1.Expose)(),
62
+ __metadata("design:type", String)
63
+ ], AdminCreateUserCsvDto.prototype, "arsWorkgroup", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.ValidateIf)((o) => o.arsAction === user_constants_1.AdminCreateUserActionType.CREATE),
66
+ (0, class_validator_1.IsString)(),
67
+ (0, class_validator_1.IsNotEmpty)(),
68
+ (0, _validators_1.IsNotBlank)(),
69
+ (0, class_transformer_1.Expose)(),
70
+ (0, class_transformer_1.Transform)(({ value, obj }) => {
71
+ if ((!value || value === '') && obj.arsAction === user_constants_1.AdminCreateUserActionType.CREATE) {
72
+ if (obj.arsRole === user_constants_1.UserRoleType.ADMIN) {
73
+ return [constants_1.ArsTenant.SYS03, constants_1.ArsTenant.ADMIN].join(',');
74
+ }
75
+ return constants_1.ArsTenant.SYS03;
76
+ }
77
+ return value;
78
+ }),
79
+ __metadata("design:type", String)
80
+ ], AdminCreateUserCsvDto.prototype, "arsTenant", void 0);
81
+ __decorate([
82
+ (0, class_validator_1.IsEnum)(user_constants_1.AdminCreateUserActionType),
83
+ (0, class_transformer_1.Expose)(),
84
+ __metadata("design:type", String)
85
+ ], AdminCreateUserCsvDto.prototype, "salesmanAction", void 0);
86
+ class AdminCreateUserDto {
87
+ static _OPENAPI_METADATA_FACTORY() {
88
+ return { username: { required: true, type: () => String }, arsAction: { required: true, enum: require("./user.constants").AdminCreateUserActionType }, arsRole: { required: true, enum: require("./user.constants").UserRoleType }, arsWorkgroups: { required: true, type: () => [String] }, arsTenants: { required: true, type: () => [String] }, salesmanAction: { required: true, enum: require("./user.constants").AdminCreateUserActionType } };
89
+ }
90
+ }
91
+ exports.AdminCreateUserDto = AdminCreateUserDto;
@@ -1,5 +1,4 @@
1
- import { Language } from '../../admin/constants';
2
- import { PartyType, UserState } from '..';
1
+ import { PartyType, PreferredLanguage, UserState } from '..';
3
2
  export declare class BpOAuthCredentialDto {
4
3
  access_token: string;
5
4
  expires_in: number;
@@ -24,7 +23,7 @@ export declare class BpUserDto {
24
23
  name: string;
25
24
  state: UserState;
26
25
  email: string;
27
- language: Language;
26
+ language: PreferredLanguage;
28
27
  relatedParty: BpUserRelatedPartyDto;
29
28
  userAccessMappings: BpUserAccessMappingDto[];
30
29
  tenantGroupAccessMappings?: BpUserAccessMappingDto[];
@@ -22,7 +22,7 @@ class BpUserAccessMappingDto {
22
22
  exports.BpUserAccessMappingDto = BpUserAccessMappingDto;
23
23
  class BpUserDto {
24
24
  static _OPENAPI_METADATA_FACTORY() {
25
- return { name: { required: true, type: () => String }, state: { required: true, enum: require("../constants/bp.constants").UserState }, email: { required: true, type: () => String }, language: { required: true, enum: require("../../admin/constants/admin.constants").Language }, relatedParty: { required: true, type: () => require("./auth.entity").BpUserRelatedPartyDto }, userAccessMappings: { required: true, type: () => [require("./auth.entity").BpUserAccessMappingDto] }, tenantGroupAccessMappings: { required: false, type: () => [require("./auth.entity").BpUserAccessMappingDto] } };
25
+ return { name: { required: true, type: () => String }, state: { required: true, enum: require("../constants/bp.constants").UserState }, email: { required: true, type: () => String }, language: { required: true, enum: require("../constants/bp.constants").PreferredLanguage }, relatedParty: { required: true, type: () => require("./auth.entity").BpUserRelatedPartyDto }, userAccessMappings: { required: true, type: () => [require("./auth.entity").BpUserAccessMappingDto] }, tenantGroupAccessMappings: { required: false, type: () => [require("./auth.entity").BpUserAccessMappingDto] } };
26
26
  }
27
27
  }
28
28
  exports.BpUserDto = BpUserDto;
@@ -0,0 +1,5 @@
1
+ export declare enum BpCustomerBillCategoryType {
2
+ AD_HOC = "AdHoc",
3
+ NORMAL = "Normal",
4
+ INTERIM = "Interim"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BpCustomerBillCategoryType = void 0;
4
+ var BpCustomerBillCategoryType;
5
+ (function (BpCustomerBillCategoryType) {
6
+ BpCustomerBillCategoryType["AD_HOC"] = "AdHoc";
7
+ BpCustomerBillCategoryType["NORMAL"] = "Normal";
8
+ BpCustomerBillCategoryType["INTERIM"] = "Interim";
9
+ })(BpCustomerBillCategoryType || (exports.BpCustomerBillCategoryType = BpCustomerBillCategoryType = {}));
@@ -1,5 +1,6 @@
1
1
  import { Timezone } from '../../constants';
2
2
  import { BpChargeValueDto, BpValidForDto } from '../common';
3
+ import { BpCustomerBillCategoryType } from './billing.constants';
3
4
  export declare class BpCustomerBillConfigurationDto {
4
5
  scaleNonUsage: number;
5
6
  scaleUsage: number;
@@ -11,7 +12,7 @@ export declare class BpCustomerBillDto {
11
12
  billingAccount: string;
12
13
  runType: string;
13
14
  state: string;
14
- category: string;
15
+ category: BpCustomerBillCategoryType;
15
16
  billDate: string;
16
17
  dueDate: string;
17
18
  validFor: BpValidForDto;
@@ -10,7 +10,7 @@ class BpCustomerBillConfigurationDto {
10
10
  exports.BpCustomerBillConfigurationDto = BpCustomerBillConfigurationDto;
11
11
  class BpCustomerBillDto {
12
12
  static _OPENAPI_METADATA_FACTORY() {
13
- return { id: { required: true, type: () => String }, billNo: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, runType: { required: true, type: () => String }, state: { required: true, type: () => String }, category: { required: true, type: () => String }, billDate: { required: true, type: () => String }, dueDate: { required: true, type: () => String }, validFor: { required: true, type: () => require("../common/common.entity").BpValidForDto }, billingPeriod: { required: true, type: () => String }, taxExcludedAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, taxIncludedAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, billingCycle: { required: true, type: () => String }, final: { required: true, type: () => Boolean }, latest: { required: true, type: () => Boolean }, detailsAvailable: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, timezone: { required: true, enum: require("../../constants/bp.constants").Timezone }, customerBillConfiguration: { required: true, type: () => require("./customer-bill.entity").BpCustomerBillConfigurationDto }, externalTaxCalculated: { required: true, type: () => Boolean }, suppressionCalculationAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, documentId: { required: true, type: () => String } };
13
+ return { id: { required: true, type: () => String }, billNo: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, runType: { required: true, type: () => String }, state: { required: true, type: () => String }, category: { required: true, enum: require("./billing.constants").BpCustomerBillCategoryType }, billDate: { required: true, type: () => String }, dueDate: { required: true, type: () => String }, validFor: { required: true, type: () => require("../common/common.entity").BpValidForDto }, billingPeriod: { required: true, type: () => String }, taxExcludedAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, taxIncludedAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, billingCycle: { required: true, type: () => String }, final: { required: true, type: () => Boolean }, latest: { required: true, type: () => Boolean }, detailsAvailable: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, timezone: { required: true, enum: require("../../constants/bp.constants").Timezone }, customerBillConfiguration: { required: true, type: () => require("./customer-bill.entity").BpCustomerBillConfigurationDto }, externalTaxCalculated: { required: true, type: () => Boolean }, suppressionCalculationAmount: { required: true, type: () => require("../common/common.entity").BpChargeValueDto }, documentId: { required: true, type: () => String } };
14
14
  }
15
15
  }
16
16
  exports.BpCustomerBillDto = BpCustomerBillDto;
@@ -2,6 +2,7 @@ export * from './bill-receiver.entity';
2
2
  export * from './billing-account-state.entity';
3
3
  export * from './billing-account.entity';
4
4
  export * from './billing-cycle-assignment.entity';
5
+ export * from './billing.constants';
5
6
  export * from './credit-profile.entity';
6
7
  export * from './customer-bill-details.entity';
7
8
  export * from './customer-bill.entity';
@@ -18,6 +18,7 @@ __exportStar(require("./bill-receiver.entity"), exports);
18
18
  __exportStar(require("./billing-account-state.entity"), exports);
19
19
  __exportStar(require("./billing-account.entity"), exports);
20
20
  __exportStar(require("./billing-cycle-assignment.entity"), exports);
21
+ __exportStar(require("./billing.constants"), exports);
21
22
  __exportStar(require("./credit-profile.entity"), exports);
22
23
  __exportStar(require("./customer-bill-details.entity"), exports);
23
24
  __exportStar(require("./customer-bill.entity"), exports);
@@ -1,3 +1,4 @@
1
+ import { BpCustomerBillCategoryType } from '..';
1
2
  export declare enum BillType {
2
3
  REGULAR = "REGULAR",
3
4
  CREDIT_NOTE = "CREDIT_NOTE",
@@ -11,5 +12,5 @@ export declare enum BillState {
11
12
  PAID = "PAID",
12
13
  UNKNOWN = "UNKNOWN"
13
14
  }
14
- export declare const BpBillCategoryToBillType: Record<string, BillType>;
15
+ export declare const BpBillCategoryToBillType: Record<BpCustomerBillCategoryType, BillType>;
15
16
  export declare const BpBillStateToBillState: Record<string, BillState>;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BpBillStateToBillState = exports.BpBillCategoryToBillType = exports.BillState = exports.BillType = void 0;
4
+ const __1 = require("..");
4
5
  var BillType;
5
6
  (function (BillType) {
6
7
  BillType["REGULAR"] = "REGULAR";
@@ -17,9 +18,9 @@ var BillState;
17
18
  BillState["UNKNOWN"] = "UNKNOWN";
18
19
  })(BillState || (exports.BillState = BillState = {}));
19
20
  exports.BpBillCategoryToBillType = {
20
- Normal: BillType.REGULAR,
21
- AdHoc: BillType.CREDIT_NOTE,
22
- Interim: BillType.INTERIM
21
+ [__1.BpCustomerBillCategoryType.NORMAL]: BillType.REGULAR,
22
+ [__1.BpCustomerBillCategoryType.AD_HOC]: BillType.CREDIT_NOTE,
23
+ [__1.BpCustomerBillCategoryType.INTERIM]: BillType.INTERIM
23
24
  };
24
25
  exports.BpBillStateToBillState = {
25
26
  Cancelled: BillState.CANCELLED,
@@ -155,9 +155,9 @@ export declare enum EntityType {
155
155
  CUSTOMER_ACCOUNT = "CustomerAccount"
156
156
  }
157
157
  export declare enum PreferredLanguage {
158
- ES = "es",
159
- EN = "en",
160
- CA = "ca"
158
+ SPANISH = "es",
159
+ ENGLISH = "en",
160
+ CATALAN = "ca"
161
161
  }
162
162
  export declare enum Timezone {
163
163
  EUROPE_MADRID = "Europe/Madrid",
@@ -191,9 +191,9 @@ var EntityType;
191
191
  })(EntityType || (exports.EntityType = EntityType = {}));
192
192
  var PreferredLanguage;
193
193
  (function (PreferredLanguage) {
194
- PreferredLanguage["ES"] = "es";
195
- PreferredLanguage["EN"] = "en";
196
- PreferredLanguage["CA"] = "ca";
194
+ PreferredLanguage["SPANISH"] = "es";
195
+ PreferredLanguage["ENGLISH"] = "en";
196
+ PreferredLanguage["CATALAN"] = "ca";
197
197
  })(PreferredLanguage || (exports.PreferredLanguage = PreferredLanguage = {}));
198
198
  var Timezone;
199
199
  (function (Timezone) {
@@ -62,7 +62,8 @@ export declare enum CacheKeyType {
62
62
  SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = "shopping-cart-promotions-and-contracts",
63
63
  SHOPPING_CART_SUMMARY = "shopping-cart-summary",
64
64
  SHOPPING_CART_SUMMARY_V2 = "v2:shopping-cart-summary",
65
- TARIFF_MODEL = "tariff-model"
65
+ TARIFF_MODEL = "tariff-model",
66
+ USER_PERMISSIONS = "user-permissions"
66
67
  }
67
68
  export declare const CacheKeyTypeTtl: Record<CacheKeyType, number>;
68
69
  export declare enum ShoppingCartProductAction {
@@ -36,6 +36,10 @@ exports.BpMessageToI18n = [
36
36
  {
37
37
  regexp: /Address with id (.*) not found\./i,
38
38
  i18n: constants_1.E_ADDRESS_NOT_FOUND
39
+ },
40
+ {
41
+ regexp: /User with name (.*) not found\./i,
42
+ i18n: constants_1.E_USER_NOT_FOUND
39
43
  }
40
44
  ];
41
45
  var BssChargeType;
@@ -95,6 +99,7 @@ var CacheKeyType;
95
99
  CacheKeyType["SHOPPING_CART_SUMMARY"] = "shopping-cart-summary";
96
100
  CacheKeyType["SHOPPING_CART_SUMMARY_V2"] = "v2:shopping-cart-summary";
97
101
  CacheKeyType["TARIFF_MODEL"] = "tariff-model";
102
+ CacheKeyType["USER_PERMISSIONS"] = "user-permissions";
98
103
  })(CacheKeyType || (exports.CacheKeyType = CacheKeyType = {}));
99
104
  exports.CacheKeyTypeTtl = {
100
105
  [CacheKeyType.AMS_ADDRESS]: 1000 * 60 * 60,
@@ -143,7 +148,8 @@ exports.CacheKeyTypeTtl = {
143
148
  [CacheKeyType.SHOPPING_CART_PROMOTIONS_AND_CONTRACTS]: 1000 * 60 * 60 * 24,
144
149
  [CacheKeyType.SHOPPING_CART_SUMMARY]: 1000 * 60 * 60 * 24,
145
150
  [CacheKeyType.SHOPPING_CART_SUMMARY_V2]: 1000 * 60 * 60 * 24,
146
- [CacheKeyType.TARIFF_MODEL]: 0
151
+ [CacheKeyType.TARIFF_MODEL]: 0,
152
+ [CacheKeyType.USER_PERMISSIONS]: 1000 * 60
147
153
  };
148
154
  var ShoppingCartProductAction;
149
155
  (function (ShoppingCartProductAction) {
@@ -1,7 +1,6 @@
1
1
  import { BpOAuthCredentialDto } from '../../bearingpoint';
2
2
  export declare class BssUserLoginResDto {
3
3
  credential: BpOAuthCredentialDto;
4
- channels: string[];
5
4
  userInfo: BssUserInfoDto;
6
5
  }
7
6
  export declare class BssUserInfoDto {
@@ -4,7 +4,7 @@ exports.BssUserInfoDto = exports.BssUserLoginResDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class BssUserLoginResDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { credential: { required: true, type: () => require("../../bearingpoint/auth.entity").BpOAuthCredentialDto }, channels: { required: true, type: () => [String] }, userInfo: { required: true, type: () => require("./login.entity").BssUserInfoDto } };
7
+ return { credential: { required: true, type: () => require("../../bearingpoint/auth.entity").BpOAuthCredentialDto }, userInfo: { required: true, type: () => require("./login.entity").BssUserInfoDto } };
8
8
  }
9
9
  }
10
10
  exports.BssUserLoginResDto = BssUserLoginResDto;
@@ -1,5 +1,6 @@
1
1
  export declare const E_TIMEOUT = "E_TIMEOUT";
2
2
  export declare const E_LOGIN = "E_LOGIN";
3
+ export declare const E_ENTRAID_LOGIN = "E_ENTRAID_LOGIN";
3
4
  export declare const E_ASSIGN_CHANNELS = "E_ASSIGN_CHANNELS";
4
5
  export declare const E_UPDATE_PASSWORD = "E_UPDATE_PASSWORD";
5
6
  export declare const E_CREATE_USER = "E_CREATE_USER";
@@ -21,7 +22,9 @@ export declare const E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = "E_BUNDLE_CO
21
22
  export declare const E_EMPTY_SHOPPING_CART = "E_EMPTY_SHOPPING_CART";
22
23
  export declare const E_UPDATE_SHOPPING_CART_EXTRAS = "E_UPDATE_SHOPPING_CART_EXTRAS";
23
24
  export declare const E_BP_INTERNAL_SERVER_ERROR = "E_BP_INTERNAL_SERVER_ERROR";
24
- export declare const E_BP = "E_BP";
25
+ export declare const E_INFONOVA = "E_INFONOVA";
26
+ export declare const E_INVALID_USER_CREDENTIALS = "E_INVALID_USER_CREDENTIALS";
27
+ export declare const E_SERVICE_UNAVAILABLE = "E_SERVICE_UNAVAILABLE";
25
28
  export declare const E_CHANGE_CHANNEL = "E_CHANGE_CHANNEL";
26
29
  export declare const E_NO_CHANNEL_SELECTED = "E_NO_CHANNEL_SELECTED";
27
30
  export declare const E_BODY_NOT_PROVIDED = "E_BODY_NOT_PROVIDED";
@@ -106,6 +109,7 @@ export declare const E_NOT_IMPLEMENTED = "E_NOT_IMPLEMENTED";
106
109
  export declare const E_FETCH_SHOPPING_CART_FEATURES = "E_FETCH_SHOPPING_CART_FEATURES";
107
110
  export declare const E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = "E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS";
108
111
  export declare const E_USER_WITHOUT_CHANNELS = "E_USER_WITHOUT_CHANNELS";
112
+ export declare const E_USER_NOT_FOUND_WITHOUT_CHANNELS = "E_USER_NOT_FOUND_WITHOUT_CHANNELS";
109
113
  export declare const E_UNAUTHORIZED = "E_UNAUTHORIZED";
110
114
  export declare const E_FETCH_USER_CHANNELS = "E_FETCH_USER_CHANNELS";
111
115
  export declare const E_UPLOAD_SALE_PROCESS_CONTRACT = "E_UPLOAD_SALE_PROCESS_CONTRACT";
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_CUSTOMER_ACCOUNT = exports.E_FETCH_CUSTOMER_ACCOUNT = 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_BP = 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_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_LOGIN = exports.E_TIMEOUT = void 0;
4
- exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = 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_FETCH_CHANNEL_USERS = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = 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 = void 0;
5
- exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_UNKNOWN_COMPANY_TYPE = exports.E_SALE_PROCESS_UNKNOWN_CUSTOMER_TYPE = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_INFO = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_RESIDENTIAL_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_WITHOUT_CHANGES = exports.E_SALE_PROCESS_WITHOUT_IBAN_VALIDATION_ID = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_SALE_PROCESS_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_WITHOUT_CHANNELS = 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_INVALID_SALE_PROCESS_STATUS = void 0;
6
- 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_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TERMINATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = 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_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FILTERS_REQUIRED = exports.E_SEARCH_CUSTOMERS = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = void 0;
7
- exports.E_CUSTOMER_AGGRUPATION_UNHAPPY_RUNNING = exports.E_CUSTOMER_AGGRUPATION_HAPPY_RUNNING = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_STEP_UNSTARTED = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_ELIGES = exports.E_REVIEW_ELIGES_TO_ELIGES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_MULTIPLE_FIBER_BUNDLES = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_DEACTIVATE = exports.E_REVIEW_MULTIPLE_FIBER_BUNDLES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_DEACTIVATE_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = 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 = void 0;
3
+ exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_CUSTOMER_ACCOUNT = exports.E_FETCH_CUSTOMER_ACCOUNT = 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_INVALID_USER_CREDENTIALS = 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_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_ENTRAID_LOGIN = exports.E_LOGIN = exports.E_TIMEOUT = void 0;
4
+ exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = 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_FETCH_CHANNEL_USERS = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = 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_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = void 0;
5
+ exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_UNKNOWN_COMPANY_TYPE = exports.E_SALE_PROCESS_UNKNOWN_CUSTOMER_TYPE = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_INFO = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_RESIDENTIAL_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_WITHOUT_CHANGES = exports.E_SALE_PROCESS_WITHOUT_IBAN_VALIDATION_ID = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_SALE_PROCESS_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_NOT_FOUND_WITHOUT_CHANNELS = exports.E_USER_WITHOUT_CHANNELS = 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_INVALID_SALE_PROCESS_STATUS = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = void 0;
6
+ exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TERMINATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = 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_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FILTERS_REQUIRED = exports.E_SEARCH_CUSTOMERS = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = void 0;
7
+ exports.E_CUSTOMER_AGGRUPATION_UNHAPPY_RUNNING = exports.E_CUSTOMER_AGGRUPATION_HAPPY_RUNNING = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_STEP_UNSTARTED = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_ELIGES = exports.E_REVIEW_ELIGES_TO_ELIGES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_MULTIPLE_FIBER_BUNDLES = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_DEACTIVATE = exports.E_REVIEW_MULTIPLE_FIBER_BUNDLES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_DEACTIVATE_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = 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 = void 0;
8
8
  exports.E_TIMEOUT = 'E_TIMEOUT';
9
9
  exports.E_LOGIN = 'E_LOGIN';
10
+ exports.E_ENTRAID_LOGIN = 'E_ENTRAID_LOGIN';
10
11
  exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
11
12
  exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
12
13
  exports.E_CREATE_USER = 'E_CREATE_USER';
@@ -28,7 +29,9 @@ exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = 'E_BUNDLE_CONFIGURATION_A
28
29
  exports.E_EMPTY_SHOPPING_CART = 'E_EMPTY_SHOPPING_CART';
29
30
  exports.E_UPDATE_SHOPPING_CART_EXTRAS = 'E_UPDATE_SHOPPING_CART_EXTRAS';
30
31
  exports.E_BP_INTERNAL_SERVER_ERROR = 'E_BP_INTERNAL_SERVER_ERROR';
31
- exports.E_BP = 'E_BP';
32
+ exports.E_INFONOVA = 'E_INFONOVA';
33
+ exports.E_INVALID_USER_CREDENTIALS = 'E_INVALID_USER_CREDENTIALS';
34
+ exports.E_SERVICE_UNAVAILABLE = 'E_SERVICE_UNAVAILABLE';
32
35
  exports.E_CHANGE_CHANNEL = 'E_CHANGE_CHANNEL';
33
36
  exports.E_NO_CHANNEL_SELECTED = 'E_NO_CHANNEL_SELECTED';
34
37
  exports.E_BODY_NOT_PROVIDED = 'E_BODY_NOT_PROVIDED';
@@ -113,6 +116,7 @@ exports.E_NOT_IMPLEMENTED = 'E_NOT_IMPLEMENTED';
113
116
  exports.E_FETCH_SHOPPING_CART_FEATURES = 'E_FETCH_SHOPPING_CART_FEATURES';
114
117
  exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = 'E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS';
115
118
  exports.E_USER_WITHOUT_CHANNELS = 'E_USER_WITHOUT_CHANNELS';
119
+ exports.E_USER_NOT_FOUND_WITHOUT_CHANNELS = 'E_USER_NOT_FOUND_WITHOUT_CHANNELS';
116
120
  exports.E_UNAUTHORIZED = 'E_UNAUTHORIZED';
117
121
  exports.E_FETCH_USER_CHANNELS = 'E_FETCH_USER_CHANNELS';
118
122
  exports.E_UPLOAD_SALE_PROCESS_CONTRACT = 'E_UPLOAD_SALE_PROCESS_CONTRACT';
@@ -27,5 +27,6 @@ export declare const E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = "E_PRODUCT
27
27
  export declare const E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = "E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND";
28
28
  export declare const E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = "E_PRODUCT_TRANSITION_GROUP_NOT_FOUND";
29
29
  export declare const E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = "E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND";
30
+ export declare const E_USER_NOT_FOUND = "E_USER_NOT_FOUND";
30
31
  export declare const E_WORKGROUP_NOT_FOUND = "E_WORKGROUP_NOT_FOUND";
31
32
  export declare const E_ZIP_ADDRESSES_NOT_FOUND = "E_ZIP_ADDRESSES_NOT_FOUND";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_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;
3
+ exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_USER_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_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
4
  exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
5
5
  exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
6
6
  exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
@@ -30,5 +30,6 @@ exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = 'E_PRODUCT_CHARACTERISI
30
30
  exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = 'E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND';
31
31
  exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = 'E_PRODUCT_TRANSITION_GROUP_NOT_FOUND';
32
32
  exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = 'E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND';
33
+ exports.E_USER_NOT_FOUND = 'E_USER_NOT_FOUND';
33
34
  exports.E_WORKGROUP_NOT_FOUND = 'E_WORKGROUP_NOT_FOUND';
34
35
  exports.E_ZIP_ADDRESSES_NOT_FOUND = 'E_ZIP_ADDRESSES_NOT_FOUND';
@@ -2,6 +2,5 @@ export * from './address';
2
2
  export * from './billing';
3
3
  export * from './channel';
4
4
  export * from './customer';
5
- export * from './login';
6
5
  export * from './shopping-cart';
7
6
  export * from './user';
@@ -18,6 +18,5 @@ __exportStar(require("./address"), exports);
18
18
  __exportStar(require("./billing"), exports);
19
19
  __exportStar(require("./channel"), exports);
20
20
  __exportStar(require("./customer"), exports);
21
- __exportStar(require("./login"), exports);
22
21
  __exportStar(require("./shopping-cart"), exports);
23
22
  __exportStar(require("./user"), exports);
@@ -1,10 +1,9 @@
1
- import { UserState } from '../../../../bss/constants';
2
- import { Language } from '../../../../admin/constants';
1
+ import { PreferredLanguage, UserState } from '../../../../bss/constants';
3
2
  export declare class ArsUserDto {
4
3
  name: string;
5
4
  state: UserState;
6
5
  email: string;
7
- language: Language;
6
+ language: PreferredLanguage;
8
7
  userAccessMappings?: UserAccessMappingDto[];
9
8
  relatedParty: UserRelatedPartyDto;
10
9
  }
@@ -4,7 +4,7 @@ exports.ArsUserPasswordDto = exports.UserRelatedPartyDto = exports.UserAccessMap
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class ArsUserDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { name: { required: true, type: () => String }, state: { required: true, enum: require("../../../../bss/constants/bp.constants").UserState }, email: { required: true, type: () => String }, language: { required: true, enum: require("../../../../admin/constants/admin.constants").Language }, userAccessMappings: { required: false, type: () => [require("./user.entity").UserAccessMappingDto] }, relatedParty: { required: true, type: () => require("./user.entity").UserRelatedPartyDto } };
7
+ return { name: { required: true, type: () => String }, state: { required: true, enum: require("../../../../bss/constants/bp.constants").UserState }, email: { required: true, type: () => String }, language: { required: true, enum: require("../../../../bss/constants/bp.constants").PreferredLanguage }, userAccessMappings: { required: false, type: () => [require("./user.entity").UserAccessMappingDto] }, relatedParty: { required: true, type: () => require("./user.entity").UserRelatedPartyDto } };
8
8
  }
9
9
  }
10
10
  exports.ArsUserDto = ArsUserDto;
@@ -1,4 +1,4 @@
1
- import { Role } from '../../admin/constants';
1
+ import { UserRoleType } from '../../admin/user';
2
2
  import { BssUserInfoDto } from '../../bss/login';
3
3
  export interface AuditUser {
4
4
  username: string;
@@ -7,9 +7,10 @@ export interface AuditUser {
7
7
  }
8
8
  export interface UserJwt extends AuditUser {
9
9
  id: number;
10
+ entraIdOid?: string;
10
11
  channels: string[];
11
12
  tenants: string[];
12
- role: Role;
13
+ role: UserRoleType;
13
14
  iat: number;
14
15
  exp: number;
15
16
  userInfo: BssUserInfoDto;