adamo-types 2.0.72 → 2.0.73-fix.0
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.
- package/dist/bss/bearingpoint/billing/billing-account.entity.d.ts +1 -0
- package/dist/bss/bearingpoint/charge-inventory/charge-inventory.constants.d.ts +4 -0
- package/dist/bss/bearingpoint/charge-inventory/charge-inventory.constants.js +8 -0
- package/dist/bss/bearingpoint/charge-inventory/charge-inventory.entity.d.ts +2 -1
- package/dist/bss/bearingpoint/charge-inventory/charge-inventory.entity.js +1 -1
- package/dist/bss/bearingpoint/charge-inventory/index.d.ts +1 -0
- package/dist/bss/bearingpoint/charge-inventory/index.js +1 -0
- package/dist/bss/bearingpoint/product-offering/product-inventory.entity.d.ts +27 -16
- package/dist/bss/bearingpoint/product-offering/product-inventory.entity.js +0 -31
- package/dist/bss/bearingpoint/product-offering/product.constants.d.ts +14 -0
- package/dist/bss/bearingpoint/product-offering/product.constants.js +26 -1
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.d.ts +5 -4
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.js +2 -1
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart.entity.d.ts +1 -1
- package/dist/bss/bearingpoint/task/task.constants.d.ts +12 -11
- package/dist/bss/bearingpoint/task/task.constants.js +43 -37
- package/dist/bss/bearingpoint/task/task.entity.d.ts +30 -21
- package/dist/bss/bearingpoint/task/task.entity.js +1 -37
- package/dist/bss/charge/charge.constants.d.ts +5 -0
- package/dist/bss/charge/charge.constants.js +7 -1
- package/dist/bss/charge/charge.entity.d.ts +2 -1
- package/dist/bss/charge/charge.entity.js +1 -1
- package/dist/bss/constants/bp.constants.d.ts +12 -3
- package/dist/bss/constants/bp.constants.js +32 -9
- package/dist/bss/constants/bss.constants.js +8 -0
- package/dist/bss/customer/customer-product.entity.d.ts +12 -2
- package/dist/bss/customer/customer-product.entity.js +10 -3
- package/dist/bss/customer/customer-work-task.entity.d.ts +113 -0
- package/dist/bss/customer/customer-work-task.entity.js +64 -0
- package/dist/bss/customer/customer.constants.d.ts +4 -0
- package/dist/bss/customer/customer.constants.js +6 -1
- package/dist/bss/customer/customer.entity.d.ts +28 -1
- package/dist/bss/customer/customer.entity.js +125 -2
- package/dist/bss/customer/index.d.ts +1 -0
- package/dist/bss/customer/index.js +1 -0
- package/dist/bss/order/order.entity.d.ts +1 -0
- package/dist/bss/order/order.entity.js +1 -1
- package/dist/bss/product/index.d.ts +1 -0
- package/dist/bss/product/index.js +1 -0
- package/dist/bss/product/product-order.entity.d.ts +17 -0
- package/dist/bss/product/product-order.entity.js +36 -0
- package/dist/bss/product/product.constants.d.ts +16 -3
- package/dist/bss/product/product.constants.js +25 -15
- package/dist/bss/product/product.entity.d.ts +3 -3
- package/dist/bss/product/product.entity.js +3 -3
- package/dist/bss/task/task.entity.d.ts +25 -4
- package/dist/bss/task/task.entity.js +34 -4
- package/dist/common/common.entity.d.ts +13 -4
- package/dist/common/common.entity.js +10 -10
- package/dist/common/constants/common.constants.d.ts +2 -12
- package/dist/common/constants/common.constants.js +1 -0
- package/dist/common/constants/common.error.constants.d.ts +6 -0
- package/dist/common/constants/common.error.constants.js +10 -4
- package/dist/common/constants/customer.error.constants.d.ts +4 -0
- package/dist/common/constants/customer.error.constants.js +6 -1
- package/dist/common/constants/not-found.error.constants.d.ts +3 -0
- package/dist/common/constants/not-found.error.constants.js +4 -1
- package/dist/common/constants/updowngrade.error.constants.d.ts +1 -0
- package/dist/common/constants/updowngrade.error.constants.js +3 -2
- package/dist/common/edge-bss/shopping-cart/req/other.entity.d.ts +0 -5
- package/dist/common/edge-bss/shopping-cart/req/other.entity.js +3 -16
- package/dist/common/edge-zoho/sale-process/req/create.entity.d.ts +0 -7
- package/dist/common/edge-zoho/sale-process/req/create.entity.js +5 -33
- package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +3 -2
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +3 -2
- package/dist/common/helpers/helpers.d.ts +1 -0
- package/dist/common/helpers/helpers.js +5 -1
- package/dist/database/lead/index.d.ts +1 -1
- package/dist/database/lead/index.js +1 -1
- package/dist/database/lead/lead-file.entity.d.ts +17 -0
- package/dist/database/lead/{leads-file.entity.js → lead-file.entity.js} +20 -20
- package/dist/database/lead/lead.entity.d.ts +3 -5
- package/dist/database/lead/lead.entity.js +4 -16
- package/dist/digitel/circuit-request.entity.d.ts +11 -0
- package/dist/digitel/circuit-request.entity.js +8 -2
- package/dist/digitel/pdf.entity.d.ts +5 -0
- package/dist/sys03/approval/approval.entity.d.ts +0 -4
- package/dist/sys03/approval/approval.entity.js +1 -19
- package/dist/sys03/bureau-validation/bureau-validation.entity.d.ts +1 -1
- package/dist/sys03/charge/charge.constants.d.ts +6 -0
- package/dist/sys03/charge/charge.constants.js +10 -0
- package/dist/sys03/charge/index.d.ts +1 -0
- package/dist/sys03/charge/index.js +1 -0
- package/dist/sys03/common/common.constants.d.ts +4 -0
- package/dist/sys03/common/common.constants.js +6 -1
- package/dist/sys03/constants/sys03.constants.d.ts +3 -1
- package/dist/sys03/constants/sys03.constants.js +8 -4
- package/dist/sys03/customer/customer-account-note.entity.d.ts +1 -1
- package/dist/sys03/customer/customer-account.entitty.d.ts +2 -2
- package/dist/sys03/customer/customer-billing-account.entity.d.ts +1 -0
- package/dist/sys03/customer/customer-billing-account.entity.js +1 -1
- package/dist/sys03/inventory/product/product.entity.d.ts +2 -2
- package/dist/sys03/inventory/product/product.entity.js +1 -1
- package/dist/sys03/sale-process/index.d.ts +1 -0
- package/dist/sys03/sale-process/index.js +1 -0
- package/dist/sys03/sale-process/internal/internal.entity.d.ts +0 -19
- package/dist/sys03/sale-process/internal/internal.entity.js +1 -7
- package/dist/sys03/sale-process/sale-process.entity.d.ts +19 -5
- package/dist/sys03/sale-process/sale-process.entity.js +43 -25
- package/dist/sys03/sale-process/sale-process.file.entity.d.ts +28 -0
- package/dist/sys03/sale-process/sale-process.file.entity.js +89 -0
- package/dist/sys03/shopping-cart/index.d.ts +1 -0
- package/dist/sys03/shopping-cart/index.js +1 -0
- package/dist/sys03/shopping-cart/shopping-cart-extras.entity.d.ts +4 -0
- package/dist/sys03/shopping-cart/shopping-cart-extras.entity.js +10 -0
- package/dist/sys03/shopping-cart/shopping-cart-summary.entity.d.ts +15 -0
- package/dist/sys03/shopping-cart/shopping-cart-summary.entity.js +14 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/validators/TransformBoolean.d.ts +1 -0
- package/dist/validators/TransformBoolean.js +14 -0
- package/dist/validators/index.d.ts +1 -0
- package/dist/validators/index.js +1 -0
- package/dist/zoho/constants/zoho.constants.d.ts +0 -4
- package/dist/zoho/constants/zoho.constants.js +1 -6
- package/dist/zoho/sale-process/index.d.ts +0 -1
- package/dist/zoho/sale-process/index.js +0 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +5 -7
- package/dist/zoho/sale-process/sale-process.entity.js +3 -27
- package/package.json +2 -2
- package/dist/database/lead/leads-file.entity.d.ts +0 -11
- package/dist/digitel/lead-file.entity.d.ts +0 -10
- package/dist/digitel/lead-file.entity.js +0 -10
- package/dist/zoho/sale-process/file.entity.d.ts +0 -12
- package/dist/zoho/sale-process/file.entity.js +0 -10
|
@@ -35,6 +35,7 @@ export interface BpBillingAccount {
|
|
|
35
35
|
preferredLanguage: BpAccountPreferredLanguageType;
|
|
36
36
|
timezone: BpTimezoneType;
|
|
37
37
|
creationDate: string;
|
|
38
|
+
parameters?: Record<string, string>;
|
|
38
39
|
}
|
|
39
40
|
export interface BpCreateBillingAccount extends Omit<BpBillingAccount, 'id' | 'state' | 'creditProfile' | 'customerBillDetails' | 'creationDate'> {
|
|
40
41
|
customerBillDetails: BpCreateCustomerBillDetails;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BpBillingStateType = void 0;
|
|
4
|
+
var BpBillingStateType;
|
|
5
|
+
(function (BpBillingStateType) {
|
|
6
|
+
BpBillingStateType["COMPLETED"] = "Completed";
|
|
7
|
+
BpBillingStateType["IN_PROGRESS"] = "InProgress";
|
|
8
|
+
})(BpBillingStateType || (exports.BpBillingStateType = BpBillingStateType = {}));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BpValidFor } from '../common';
|
|
2
|
+
import { BpBillingStateType } from './charge-inventory.constants';
|
|
2
3
|
declare class BpChargeInventoryDto {
|
|
3
4
|
id: string;
|
|
4
5
|
billingAccount: string;
|
|
5
6
|
product?: string;
|
|
6
7
|
characteristic: string;
|
|
7
8
|
name: string;
|
|
8
|
-
billingState:
|
|
9
|
+
billingState: BpBillingStateType;
|
|
9
10
|
userAssigned: boolean;
|
|
10
11
|
adjustedNetAmount?: string;
|
|
11
12
|
adjustedGrossAmount?: string;
|
|
@@ -4,7 +4,7 @@ exports.BpRecurringChargeInventoryDto = exports.BpOnceOnlyChargeInventoryDto = v
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class BpChargeInventoryDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, product: { required: false, type: () => String }, characteristic: { required: true, type: () => String }, name: { required: true, type: () => String }, billingState: { required: true,
|
|
7
|
+
return { id: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, product: { required: false, type: () => String }, characteristic: { required: true, type: () => String }, name: { required: true, type: () => String }, billingState: { required: true, enum: require("./charge-inventory.constants").BpBillingStateType }, userAssigned: { required: true, type: () => Boolean }, adjustedNetAmount: { required: false, type: () => String }, adjustedGrossAmount: { required: false, type: () => String }, adjustedInvoiceText: { required: false, type: () => String }, billingEngine: { required: true, type: () => String } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
class BpOnceOnlyChargeInventoryDto extends BpChargeInventoryDto {
|
|
@@ -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("./charge-inventory.constants"), exports);
|
|
17
18
|
__exportStar(require("./charge-inventory.entity"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BpProductOrderType } from '../../constants';
|
|
2
2
|
import { ShoppingCartProductDto } from '../shopping-cart';
|
|
3
3
|
import { BpInventoryProductRelationship, BpValidFor } from '../common';
|
|
4
|
-
import { BpProductInventoryCharacteristicStateType, BpProductOrderStateType } from './product.constants';
|
|
5
|
-
export
|
|
4
|
+
import { BpProductInventoryCharacteristicStateType, BpProductInventoryCompletenessStateType, BpProductInventoryStateType, BpProductOrderStateType } from './product.constants';
|
|
5
|
+
export interface BpProductInventoryCharacteristic {
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
8
8
|
state: BpProductInventoryCharacteristicStateType;
|
|
@@ -11,27 +11,27 @@ export declare class BpProductInventoryCharacteristicDto {
|
|
|
11
11
|
export interface BpProductInventoryProductRelationship extends BpInventoryProductRelationship {
|
|
12
12
|
product: string;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export interface BpProductInventoryServiceRelationship {
|
|
15
15
|
product: string;
|
|
16
16
|
relatedService: string;
|
|
17
17
|
type: string;
|
|
18
18
|
state: string;
|
|
19
19
|
validFor?: BpValidFor;
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export interface BpProductInventory {
|
|
22
22
|
id: string;
|
|
23
23
|
instanceName?: string;
|
|
24
24
|
billingAccount: string;
|
|
25
25
|
bundle?: boolean;
|
|
26
26
|
wholesale?: boolean;
|
|
27
27
|
wholesaleAgreement?: boolean;
|
|
28
|
-
state?:
|
|
29
|
-
completenessState?:
|
|
28
|
+
state?: BpProductInventoryStateType;
|
|
29
|
+
completenessState?: BpProductInventoryCompletenessStateType;
|
|
30
30
|
productOffering?: string;
|
|
31
31
|
displayName?: string;
|
|
32
|
-
productCharacteristics?:
|
|
32
|
+
productCharacteristics?: BpProductInventoryCharacteristic[];
|
|
33
33
|
productRelationships?: BpProductInventoryProductRelationship[];
|
|
34
|
-
serviceRelationships?:
|
|
34
|
+
serviceRelationships?: BpProductInventoryServiceRelationship[];
|
|
35
35
|
validFor?: BpValidFor;
|
|
36
36
|
searchableServiceCharacteristicValues?: string[];
|
|
37
37
|
searchableServiceCharacteristics?: Record<string, string[]>;
|
|
@@ -41,19 +41,30 @@ export declare class BpProductInventoryDto {
|
|
|
41
41
|
excludeFromBillingIfNoChargesArePresent?: boolean;
|
|
42
42
|
parameters?: Record<string, string>;
|
|
43
43
|
}
|
|
44
|
-
export
|
|
44
|
+
export interface BpProductOrderItem {
|
|
45
45
|
id: string;
|
|
46
46
|
state: BpProductOrderStateType;
|
|
47
47
|
product: ShoppingCartProductDto;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
49
|
+
export interface BpProductOrder {
|
|
50
50
|
id: string;
|
|
51
|
-
|
|
52
|
-
user: string;
|
|
51
|
+
description: string;
|
|
53
52
|
state: BpProductOrderStateType;
|
|
53
|
+
cancelable: boolean;
|
|
54
|
+
changeable: boolean;
|
|
55
|
+
priority: number;
|
|
56
|
+
operator: string;
|
|
57
|
+
user: string;
|
|
58
|
+
userType: string;
|
|
59
|
+
orderDate: string;
|
|
60
|
+
RequestedCompletionDate?: string;
|
|
61
|
+
expectedCompletionDate?: string;
|
|
54
62
|
billingAccount: string;
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
sourceBillingAccount?: string;
|
|
64
|
+
version: string;
|
|
65
|
+
orderItems: BpProductOrderItem[];
|
|
66
|
+
type: BpProductOrderType;
|
|
67
|
+
managed: boolean;
|
|
68
|
+
channel?: string;
|
|
57
69
|
parameters: Record<string, string>;
|
|
58
|
-
expectedCompletionDate?: string;
|
|
59
70
|
}
|
|
@@ -1,34 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BpProductOrderDto = exports.BpProductOrderItemDto = exports.BpProductInventoryDto = exports.BpProductInventoryServiceRelationshipDto = exports.BpProductInventoryCharacteristicDto = void 0;
|
|
4
3
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class BpProductInventoryCharacteristicDto {
|
|
6
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, state: { required: true, enum: require("./product.constants").BpProductInventoryCharacteristicStateType }, validFor: { required: true, type: () => Object } };
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.BpProductInventoryCharacteristicDto = BpProductInventoryCharacteristicDto;
|
|
11
|
-
class BpProductInventoryServiceRelationshipDto {
|
|
12
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { product: { required: true, type: () => String }, relatedService: { required: true, type: () => String }, type: { required: true, type: () => String }, state: { required: true, type: () => String }, validFor: { required: false, type: () => Object } };
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.BpProductInventoryServiceRelationshipDto = BpProductInventoryServiceRelationshipDto;
|
|
17
|
-
class BpProductInventoryDto {
|
|
18
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { id: { required: true, type: () => String }, instanceName: { required: false, type: () => String }, billingAccount: { required: true, type: () => String }, bundle: { required: false, type: () => Boolean }, wholesale: { required: false, type: () => Boolean }, wholesaleAgreement: { required: false, type: () => Boolean }, state: { required: false, type: () => String }, completenessState: { required: false, type: () => String }, productOffering: { required: false, type: () => String }, displayName: { required: false, type: () => String }, productCharacteristics: { required: false, type: () => [require("./product-inventory.entity").BpProductInventoryCharacteristicDto] }, productRelationships: { required: false, type: () => [Object] }, serviceRelationships: { required: false, type: () => [require("./product-inventory.entity").BpProductInventoryServiceRelationshipDto] }, validFor: { required: false, type: () => Object }, searchableServiceCharacteristicValues: { required: false, type: () => [String] }, searchableServiceCharacteristics: { required: false, type: () => Object }, serviceIdentifiers: { required: false, type: () => [String] }, activation: { required: false, type: () => String }, termination: { required: false, type: () => String }, excludeFromBillingIfNoChargesArePresent: { required: false, type: () => Boolean }, parameters: { required: false, type: () => Object } };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.BpProductInventoryDto = BpProductInventoryDto;
|
|
23
|
-
class BpProductOrderItemDto {
|
|
24
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
25
|
-
return { id: { required: true, type: () => String }, state: { required: true, enum: require("./product.constants").BpProductOrderStateType }, product: { required: true, type: () => require("../shopping-cart/shopping-cart-product.entity").ShoppingCartProductDto } };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.BpProductOrderItemDto = BpProductOrderItemDto;
|
|
29
|
-
class BpProductOrderDto {
|
|
30
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
-
return { id: { required: true, type: () => String }, channel: { required: true, type: () => String }, user: { required: true, type: () => String }, state: { required: true, enum: require("./product.constants").BpProductOrderStateType }, billingAccount: { required: true, type: () => String }, type: { required: true, enum: require("../../constants/bp.constants").ProductOrderType }, orderItems: { required: true, type: () => [require("./product-inventory.entity").BpProductOrderItemDto] }, parameters: { required: true, type: () => Object }, expectedCompletionDate: { required: false, type: () => String } };
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.BpProductOrderDto = BpProductOrderDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProductInventoryCompletenessStateType, ProductInventoryStateType } from '../../product';
|
|
1
2
|
export declare enum BpProductOrderStateType {
|
|
2
3
|
ACKNOWLEDGED = "Acknowledged",
|
|
3
4
|
CANCELLATION_IN_PROGRESS = "CancellationInProgress",
|
|
@@ -14,3 +15,16 @@ export declare enum BpChangePathType {
|
|
|
14
15
|
UPGRADE = "Upgrade",
|
|
15
16
|
DOWNGRADE = "Downgrade"
|
|
16
17
|
}
|
|
18
|
+
export declare enum BpProductInventoryStateType {
|
|
19
|
+
NEW = "New",
|
|
20
|
+
ACTIVE = "Active",
|
|
21
|
+
DISCONNECTED = "Disconnected"
|
|
22
|
+
}
|
|
23
|
+
export declare const BpProductInventoryStateTypeToProductInventoryStateType: Record<BpProductInventoryStateType, ProductInventoryStateType>;
|
|
24
|
+
export declare const ProductInventoryStateTypeToBpProductInventoryState: unknown;
|
|
25
|
+
export declare enum BpProductInventoryCompletenessStateType {
|
|
26
|
+
BROKEN = "Broken",
|
|
27
|
+
COMPLETE = "Complete",
|
|
28
|
+
IN_PROGRESS = "InProgress"
|
|
29
|
+
}
|
|
30
|
+
export declare const BpProductInventoryCompletenessStateTypeToProductInventoryCompletenessStateType: Record<BpProductInventoryCompletenessStateType, ProductInventoryCompletenessStateType>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BpChangePathType = exports.BpProductInventoryCharacteristicStateType = exports.BpProductOrderStateType = void 0;
|
|
3
|
+
exports.BpProductInventoryCompletenessStateTypeToProductInventoryCompletenessStateType = exports.BpProductInventoryCompletenessStateType = exports.ProductInventoryStateTypeToBpProductInventoryState = exports.BpProductInventoryStateTypeToProductInventoryStateType = exports.BpProductInventoryStateType = exports.BpChangePathType = exports.BpProductInventoryCharacteristicStateType = exports.BpProductOrderStateType = void 0;
|
|
4
|
+
const product_1 = require("../../product");
|
|
5
|
+
const helpers_1 = require("../../../common/helpers/helpers");
|
|
4
6
|
var BpProductOrderStateType;
|
|
5
7
|
(function (BpProductOrderStateType) {
|
|
6
8
|
BpProductOrderStateType["ACKNOWLEDGED"] = "Acknowledged";
|
|
@@ -20,3 +22,26 @@ var BpChangePathType;
|
|
|
20
22
|
BpChangePathType["UPGRADE"] = "Upgrade";
|
|
21
23
|
BpChangePathType["DOWNGRADE"] = "Downgrade";
|
|
22
24
|
})(BpChangePathType || (exports.BpChangePathType = BpChangePathType = {}));
|
|
25
|
+
var BpProductInventoryStateType;
|
|
26
|
+
(function (BpProductInventoryStateType) {
|
|
27
|
+
BpProductInventoryStateType["NEW"] = "New";
|
|
28
|
+
BpProductInventoryStateType["ACTIVE"] = "Active";
|
|
29
|
+
BpProductInventoryStateType["DISCONNECTED"] = "Disconnected";
|
|
30
|
+
})(BpProductInventoryStateType || (exports.BpProductInventoryStateType = BpProductInventoryStateType = {}));
|
|
31
|
+
exports.BpProductInventoryStateTypeToProductInventoryStateType = {
|
|
32
|
+
[BpProductInventoryStateType.NEW]: product_1.ProductInventoryStateType.PENDING_ACTIVATE,
|
|
33
|
+
[BpProductInventoryStateType.ACTIVE]: product_1.ProductInventoryStateType.ACTIVE,
|
|
34
|
+
[BpProductInventoryStateType.DISCONNECTED]: product_1.ProductInventoryStateType.TERMINATED
|
|
35
|
+
};
|
|
36
|
+
exports.ProductInventoryStateTypeToBpProductInventoryState = (0, helpers_1.invertEnum)({ enumObject: exports.BpProductInventoryStateTypeToProductInventoryStateType });
|
|
37
|
+
var BpProductInventoryCompletenessStateType;
|
|
38
|
+
(function (BpProductInventoryCompletenessStateType) {
|
|
39
|
+
BpProductInventoryCompletenessStateType["BROKEN"] = "Broken";
|
|
40
|
+
BpProductInventoryCompletenessStateType["COMPLETE"] = "Complete";
|
|
41
|
+
BpProductInventoryCompletenessStateType["IN_PROGRESS"] = "InProgress";
|
|
42
|
+
})(BpProductInventoryCompletenessStateType || (exports.BpProductInventoryCompletenessStateType = BpProductInventoryCompletenessStateType = {}));
|
|
43
|
+
exports.BpProductInventoryCompletenessStateTypeToProductInventoryCompletenessStateType = {
|
|
44
|
+
[BpProductInventoryCompletenessStateType.BROKEN]: product_1.ProductInventoryCompletenessStateType.BROKEN,
|
|
45
|
+
[BpProductInventoryCompletenessStateType.COMPLETE]: product_1.ProductInventoryCompletenessStateType.COMPLETED,
|
|
46
|
+
[BpProductInventoryCompletenessStateType.IN_PROGRESS]: product_1.ProductInventoryCompletenessStateType.IN_PROGRESS
|
|
47
|
+
};
|
|
@@ -10,7 +10,8 @@ export declare enum ShoppingCartParametersShoppingCartProcess {
|
|
|
10
10
|
TRANSITION_SHARED_MOBILES = "transition-shared-mobiles",
|
|
11
11
|
CHANGE_OF_ADDRESS = "change-of-address",
|
|
12
12
|
CONTINUE_CHANGE_OF_ADDRESS = "continue-change-of-address",
|
|
13
|
-
CANCEL_CHANGE_OF_ADDRESS = "cancel-change-of-address"
|
|
13
|
+
CANCEL_CHANGE_OF_ADDRESS = "cancel-change-of-address",
|
|
14
|
+
AGGRUPATION = "aggrupation"
|
|
14
15
|
}
|
|
15
16
|
export declare enum ShoppingCartParametersShoppingCartReplicaType {
|
|
16
17
|
ORIGINAL_TO_UNBUNDLE = "original-to-unbundle",
|
|
@@ -25,10 +26,12 @@ export declare class ShoppingCartEntityParametersDto {
|
|
|
25
26
|
originalServiceCharacteristics?: string;
|
|
26
27
|
}
|
|
27
28
|
export declare class ShoppingCartParametersDto {
|
|
29
|
+
cartCreatedBy?: string;
|
|
30
|
+
referenceCartCreatedBy?: string;
|
|
31
|
+
readonly salesPerson?: string;
|
|
28
32
|
addressInfo?: string;
|
|
29
33
|
apartmentId?: string;
|
|
30
34
|
block?: string;
|
|
31
|
-
cartCreatedBy?: string;
|
|
32
35
|
city?: string;
|
|
33
36
|
competition?: string;
|
|
34
37
|
country?: string;
|
|
@@ -39,7 +42,6 @@ export declare class ShoppingCartParametersDto {
|
|
|
39
42
|
floor?: string;
|
|
40
43
|
lat?: string;
|
|
41
44
|
lng?: string;
|
|
42
|
-
migrationCartCreatedBy?: string;
|
|
43
45
|
municipality?: string;
|
|
44
46
|
network?: string;
|
|
45
47
|
postcode?: string;
|
|
@@ -48,7 +50,6 @@ export declare class ShoppingCartParametersDto {
|
|
|
48
50
|
province?: string;
|
|
49
51
|
salesAreaId?: string;
|
|
50
52
|
salesAreaName?: string;
|
|
51
|
-
salesPerson?: string;
|
|
52
53
|
serviceable?: string;
|
|
53
54
|
serviceableAge?: string;
|
|
54
55
|
serviceableStatus?: string;
|
|
@@ -15,6 +15,7 @@ var ShoppingCartParametersShoppingCartProcess;
|
|
|
15
15
|
ShoppingCartParametersShoppingCartProcess["CHANGE_OF_ADDRESS"] = "change-of-address";
|
|
16
16
|
ShoppingCartParametersShoppingCartProcess["CONTINUE_CHANGE_OF_ADDRESS"] = "continue-change-of-address";
|
|
17
17
|
ShoppingCartParametersShoppingCartProcess["CANCEL_CHANGE_OF_ADDRESS"] = "cancel-change-of-address";
|
|
18
|
+
ShoppingCartParametersShoppingCartProcess["AGGRUPATION"] = "aggrupation";
|
|
18
19
|
})(ShoppingCartParametersShoppingCartProcess || (exports.ShoppingCartParametersShoppingCartProcess = ShoppingCartParametersShoppingCartProcess = {}));
|
|
19
20
|
var ShoppingCartParametersShoppingCartReplicaType;
|
|
20
21
|
(function (ShoppingCartParametersShoppingCartReplicaType) {
|
|
@@ -32,7 +33,7 @@ class ShoppingCartEntityParametersDto {
|
|
|
32
33
|
exports.ShoppingCartEntityParametersDto = ShoppingCartEntityParametersDto;
|
|
33
34
|
class ShoppingCartParametersDto {
|
|
34
35
|
static _OPENAPI_METADATA_FACTORY() {
|
|
35
|
-
return {
|
|
36
|
+
return { cartCreatedBy: { required: false, type: () => String }, referenceCartCreatedBy: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, block: { required: false, type: () => String }, city: { required: false, type: () => String }, competition: { required: false, type: () => String }, country: { required: false, type: () => String }, customerType: { required: false, type: () => String }, door: { required: false, type: () => String }, entrance: { required: false, type: () => String }, fiberhood: { required: false, type: () => String }, floor: { required: false, type: () => String }, lat: { required: false, type: () => String }, lng: { required: false, type: () => String }, municipality: { required: false, type: () => String }, network: { required: false, type: () => String }, postcode: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, projectId: { required: false, type: () => String }, province: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, salesAreaName: { required: false, type: () => String }, serviceable: { required: false, type: () => String }, serviceableAge: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, streetAddressId: { required: false, type: () => String }, streetName: { required: false, type: () => String }, streetNumber: { required: false, type: () => String }, streetType: { required: false, type: () => String }, technology: { required: false, type: () => String }, shoppingCartProcess: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartProcess }, shoppingCartReplicaType: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartReplicaType }, originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalSourceProduct: { required: false, type: () => String }, originalProductOffering: { required: false, type: () => String }, originalReason: { required: false, type: () => String }, originalProducts: { required: false, type: () => String }, originalProductCharacteristics: { required: false, type: () => String }, originalServices: { required: false, type: () => String }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String }, referenceProductServiceCharacteristicName: { required: false, type: () => String }, referenceProductServiceCharacteristicValue: { required: false, type: () => String }, referenceInstanceAction: { required: false, enum: require("../../../sys03/customer/customer.constants").CustomerProductInstanceAction }, referenceProductMobileServiceProfile: { required: false, type: () => String } };
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
exports.ShoppingCartParametersDto = ShoppingCartParametersDto;
|
|
@@ -3,7 +3,7 @@ import { ShoppingCartProductDto } from './shopping-cart-product.entity';
|
|
|
3
3
|
export declare class ShoppingCartDto {
|
|
4
4
|
id?: string;
|
|
5
5
|
draftId?: string;
|
|
6
|
-
user?: string;
|
|
6
|
+
readonly user?: string;
|
|
7
7
|
chargeDate?: string;
|
|
8
8
|
targetDate?: string;
|
|
9
9
|
requestedCompletionDate?: string;
|
|
@@ -4,33 +4,34 @@ export declare enum BpTaskStateType {
|
|
|
4
4
|
IN_PROGRESS = "InProgress",
|
|
5
5
|
RESOLVED = "Resolved"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
7
|
+
export declare enum BpTaskParametersType {
|
|
8
8
|
BILLING = "Facturaci\u00F3n",
|
|
9
9
|
COMERCIAL = "Comercial"
|
|
10
10
|
}
|
|
11
|
-
export declare enum
|
|
11
|
+
export declare enum BpTaskParametersSubType {
|
|
12
12
|
MODIFY_CONTRACTED_SERVICE = "Modificar el servicio contratado",
|
|
13
13
|
CHANGE_OF_ADDRESS = "Cambio de domicilio"
|
|
14
14
|
}
|
|
15
|
-
export declare enum
|
|
15
|
+
export declare enum BpTaskParametersContactType {
|
|
16
16
|
NOTE_OTHERS = "Nota / Otros",
|
|
17
17
|
INBOUND_CALL = "Llamada entrante"
|
|
18
18
|
}
|
|
19
|
-
export declare enum
|
|
19
|
+
export declare enum BpTaskParametersCategoryType {
|
|
20
20
|
INTERVENTION = "Actuaci\u00F3n"
|
|
21
21
|
}
|
|
22
|
-
export declare enum
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
export declare enum BpTaskPriorityType {
|
|
23
|
+
CRITICAL = 1,
|
|
24
|
+
HIGH = 2,
|
|
25
|
+
MEDIUM = 3,
|
|
26
|
+
LOW = 4
|
|
27
27
|
}
|
|
28
|
-
export declare
|
|
28
|
+
export declare const BpTaskPriorityTypeToString: Record<BpTaskPriorityType, string>;
|
|
29
|
+
export declare enum BpTaskDefinitionType {
|
|
29
30
|
BILLING_ADDRESS_CHANGE = "BILLING_ADDRESS_CHANGE",
|
|
30
31
|
COMERCIAL_MODIFY_WITH_SERVICE = "COMMERCIAL_MODIFY_CON_SERVICE",
|
|
31
32
|
HUB_EVENT_SEND_ERROR_RESPONSE = "HUB_EVENT_SEND_ERROR_RESPONSE"
|
|
32
33
|
}
|
|
33
|
-
export declare enum
|
|
34
|
+
export declare enum BpResolveTasksResolutionActionType {
|
|
34
35
|
CLOSED = "Closed successfully"
|
|
35
36
|
}
|
|
36
37
|
export declare enum BpRelatedProductOrderRelationType {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BpRelatedProductOrderRelationType = exports.
|
|
3
|
+
exports.BpRelatedProductOrderRelationType = exports.BpResolveTasksResolutionActionType = exports.BpTaskDefinitionType = exports.BpTaskPriorityTypeToString = exports.BpTaskPriorityType = exports.BpTaskParametersCategoryType = exports.BpTaskParametersContactType = exports.BpTaskParametersSubType = exports.BpTaskParametersType = exports.BpTaskStateType = void 0;
|
|
4
4
|
var BpTaskStateType;
|
|
5
5
|
(function (BpTaskStateType) {
|
|
6
6
|
BpTaskStateType["ACKNOWLEDGED"] = "Acknowledged";
|
|
@@ -8,42 +8,48 @@ var BpTaskStateType;
|
|
|
8
8
|
BpTaskStateType["IN_PROGRESS"] = "InProgress";
|
|
9
9
|
BpTaskStateType["RESOLVED"] = "Resolved";
|
|
10
10
|
})(BpTaskStateType || (exports.BpTaskStateType = BpTaskStateType = {}));
|
|
11
|
-
var
|
|
12
|
-
(function (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})(
|
|
16
|
-
var
|
|
17
|
-
(function (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})(
|
|
21
|
-
var
|
|
22
|
-
(function (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(
|
|
26
|
-
var
|
|
27
|
-
(function (
|
|
28
|
-
|
|
29
|
-
})(
|
|
30
|
-
var
|
|
31
|
-
(function (
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
var
|
|
44
|
-
(function (
|
|
45
|
-
|
|
46
|
-
|
|
11
|
+
var BpTaskParametersType;
|
|
12
|
+
(function (BpTaskParametersType) {
|
|
13
|
+
BpTaskParametersType["BILLING"] = "Facturaci\u00F3n";
|
|
14
|
+
BpTaskParametersType["COMERCIAL"] = "Comercial";
|
|
15
|
+
})(BpTaskParametersType || (exports.BpTaskParametersType = BpTaskParametersType = {}));
|
|
16
|
+
var BpTaskParametersSubType;
|
|
17
|
+
(function (BpTaskParametersSubType) {
|
|
18
|
+
BpTaskParametersSubType["MODIFY_CONTRACTED_SERVICE"] = "Modificar el servicio contratado";
|
|
19
|
+
BpTaskParametersSubType["CHANGE_OF_ADDRESS"] = "Cambio de domicilio";
|
|
20
|
+
})(BpTaskParametersSubType || (exports.BpTaskParametersSubType = BpTaskParametersSubType = {}));
|
|
21
|
+
var BpTaskParametersContactType;
|
|
22
|
+
(function (BpTaskParametersContactType) {
|
|
23
|
+
BpTaskParametersContactType["NOTE_OTHERS"] = "Nota / Otros";
|
|
24
|
+
BpTaskParametersContactType["INBOUND_CALL"] = "Llamada entrante";
|
|
25
|
+
})(BpTaskParametersContactType || (exports.BpTaskParametersContactType = BpTaskParametersContactType = {}));
|
|
26
|
+
var BpTaskParametersCategoryType;
|
|
27
|
+
(function (BpTaskParametersCategoryType) {
|
|
28
|
+
BpTaskParametersCategoryType["INTERVENTION"] = "Actuaci\u00F3n";
|
|
29
|
+
})(BpTaskParametersCategoryType || (exports.BpTaskParametersCategoryType = BpTaskParametersCategoryType = {}));
|
|
30
|
+
var BpTaskPriorityType;
|
|
31
|
+
(function (BpTaskPriorityType) {
|
|
32
|
+
BpTaskPriorityType[BpTaskPriorityType["CRITICAL"] = 1] = "CRITICAL";
|
|
33
|
+
BpTaskPriorityType[BpTaskPriorityType["HIGH"] = 2] = "HIGH";
|
|
34
|
+
BpTaskPriorityType[BpTaskPriorityType["MEDIUM"] = 3] = "MEDIUM";
|
|
35
|
+
BpTaskPriorityType[BpTaskPriorityType["LOW"] = 4] = "LOW";
|
|
36
|
+
})(BpTaskPriorityType || (exports.BpTaskPriorityType = BpTaskPriorityType = {}));
|
|
37
|
+
exports.BpTaskPriorityTypeToString = {
|
|
38
|
+
[BpTaskPriorityType.CRITICAL]: 'Critical',
|
|
39
|
+
[BpTaskPriorityType.HIGH]: 'High',
|
|
40
|
+
[BpTaskPriorityType.MEDIUM]: 'Medium',
|
|
41
|
+
[BpTaskPriorityType.LOW]: 'Low'
|
|
42
|
+
};
|
|
43
|
+
var BpTaskDefinitionType;
|
|
44
|
+
(function (BpTaskDefinitionType) {
|
|
45
|
+
BpTaskDefinitionType["BILLING_ADDRESS_CHANGE"] = "BILLING_ADDRESS_CHANGE";
|
|
46
|
+
BpTaskDefinitionType["COMERCIAL_MODIFY_WITH_SERVICE"] = "COMMERCIAL_MODIFY_CON_SERVICE";
|
|
47
|
+
BpTaskDefinitionType["HUB_EVENT_SEND_ERROR_RESPONSE"] = "HUB_EVENT_SEND_ERROR_RESPONSE";
|
|
48
|
+
})(BpTaskDefinitionType || (exports.BpTaskDefinitionType = BpTaskDefinitionType = {}));
|
|
49
|
+
var BpResolveTasksResolutionActionType;
|
|
50
|
+
(function (BpResolveTasksResolutionActionType) {
|
|
51
|
+
BpResolveTasksResolutionActionType["CLOSED"] = "Closed successfully";
|
|
52
|
+
})(BpResolveTasksResolutionActionType || (exports.BpResolveTasksResolutionActionType = BpResolveTasksResolutionActionType = {}));
|
|
47
53
|
var BpRelatedProductOrderRelationType;
|
|
48
54
|
(function (BpRelatedProductOrderRelationType) {
|
|
49
55
|
BpRelatedProductOrderRelationType["REFERENCE"] = "reference";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { BpRelatedProductOrderRelationType,
|
|
2
|
-
export
|
|
1
|
+
import { BpRelatedProductOrderRelationType, BpTaskDefinitionType, BpTaskPriorityType, BpResolveTasksResolutionActionType, BpTaskStateType } from './task.constants';
|
|
2
|
+
export interface BpTaskParameters {
|
|
3
3
|
dueDate: string;
|
|
4
4
|
creationDate: string;
|
|
5
5
|
description: string;
|
|
6
6
|
billingAccountId: string;
|
|
7
|
-
priority:
|
|
8
|
-
type: BpTaskParameterType;
|
|
7
|
+
priority: string;
|
|
9
8
|
firstName?: string;
|
|
10
9
|
lastName?: string;
|
|
11
10
|
usersEmailAddress?: string;
|
|
12
11
|
requiredInOtrs?: string;
|
|
13
12
|
otrsQueueName?: string;
|
|
14
|
-
contact:
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
contact: string;
|
|
14
|
+
type: string;
|
|
15
|
+
subType: string;
|
|
16
|
+
category: string;
|
|
17
17
|
operatorId?: string;
|
|
18
18
|
SERVICE_NAME?: string;
|
|
19
19
|
PROCESS_DATA?: string;
|
|
@@ -42,24 +42,32 @@ export declare class BpTaskParametersDto {
|
|
|
42
42
|
restRequestHttpMethod?: string;
|
|
43
43
|
restResponseStatusText?: string;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
type BpCreateTaskParameters = Pick<BpTaskParameters, 'description' | 'billingAccountId' | 'operatorId' | 'dueDate' | 'creationDate' | 'priority' | 'category' | 'contact' | 'type' | 'subType'>;
|
|
46
|
+
export interface BpTaskRelatedProductOrder {
|
|
46
47
|
id: string;
|
|
47
48
|
relationType: BpRelatedProductOrderRelationType;
|
|
48
49
|
}
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
export type BpCreateTaskRelatedProductOrder = Pick<BpTaskRelatedProductOrder, 'id'>;
|
|
51
|
+
export interface BpTask {
|
|
52
|
+
id: string;
|
|
53
|
+
taskDefinition: BpTaskDefinitionType;
|
|
54
|
+
creator: string;
|
|
53
55
|
assignee?: string;
|
|
54
56
|
billingAccount: string;
|
|
55
|
-
state
|
|
56
|
-
priority:
|
|
57
|
-
creationDate
|
|
57
|
+
state: BpTaskStateType;
|
|
58
|
+
priority: BpTaskPriorityType;
|
|
59
|
+
creationDate: string;
|
|
58
60
|
category?: string;
|
|
59
61
|
tags: string[];
|
|
60
|
-
relatedProductOrders?:
|
|
61
|
-
parameters:
|
|
62
|
+
relatedProductOrders?: BpTaskRelatedProductOrder[];
|
|
63
|
+
parameters: BpTaskParameters;
|
|
64
|
+
}
|
|
65
|
+
type BpCreateTaskBase = Pick<BpTask, 'taskDefinition' | 'creator' | 'assignee' | 'billingAccount' | 'priority' | 'tags'>;
|
|
66
|
+
export interface BpCreateTask extends BpCreateTaskBase {
|
|
67
|
+
relatedProductOrders?: BpCreateTaskRelatedProductOrder[];
|
|
68
|
+
parameters?: BpCreateTaskParameters;
|
|
62
69
|
}
|
|
70
|
+
export type BpPatchTask = Pick<BpTask, 'assignee' | 'state'>;
|
|
63
71
|
export declare class BpTaskNoteDto {
|
|
64
72
|
id: string;
|
|
65
73
|
task: string;
|
|
@@ -68,12 +76,12 @@ export declare class BpTaskNoteDto {
|
|
|
68
76
|
creator: string;
|
|
69
77
|
creationDate: string;
|
|
70
78
|
}
|
|
71
|
-
export
|
|
79
|
+
export interface BpResolveTasks {
|
|
72
80
|
resolutionNote: string;
|
|
73
|
-
resolutionAction:
|
|
81
|
+
resolutionAction: BpResolveTasksResolutionActionType;
|
|
74
82
|
tasks: string[];
|
|
75
83
|
}
|
|
76
|
-
export
|
|
84
|
+
export interface BpResolveTasksRes {
|
|
77
85
|
enqueuedTasks: number;
|
|
78
86
|
totalTasks: number;
|
|
79
87
|
failedTasks: number;
|
|
@@ -81,7 +89,7 @@ export declare class BpTaskResolveResDto {
|
|
|
81
89
|
resolvedTasks: number;
|
|
82
90
|
notFoundTasks: number;
|
|
83
91
|
}
|
|
84
|
-
export
|
|
92
|
+
export interface BpTaskDefinition {
|
|
85
93
|
name: string;
|
|
86
94
|
displayName: string;
|
|
87
95
|
description: string;
|
|
@@ -95,3 +103,4 @@ export declare class BpTaskDefinitionDto {
|
|
|
95
103
|
configurationLevel: string;
|
|
96
104
|
active: boolean;
|
|
97
105
|
}
|
|
106
|
+
export {};
|
|
@@ -1,46 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BpTaskNoteDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class BpTaskParametersDto {
|
|
6
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { dueDate: { required: true, type: () => String }, creationDate: { required: true, type: () => String }, description: { required: true, type: () => String }, billingAccountId: { required: true, type: () => String }, priority: { required: true, type: () => Object }, type: { required: true, enum: require("./task.constants").BpTaskParameterType }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, usersEmailAddress: { required: false, type: () => String }, requiredInOtrs: { required: false, type: () => String }, otrsQueueName: { required: false, type: () => String }, contact: { required: true, enum: require("./task.constants").BpTaskParameterContactTypes }, subType: { required: true, enum: require("./task.constants").BpTaskParameterSubType }, category: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterCategoryTypes }, operatorId: { required: false, type: () => String }, SERVICE_NAME: { required: false, type: () => String }, PROCESS_DATA: { required: false, type: () => String }, BILLING_ACCOUNT_ID: { required: false, type: () => String }, EXTERNAL_ID: { required: false, type: () => String }, PROCESS_QUEUE: { required: false, type: () => String }, ERROR_MSG: { required: false, type: () => String }, REQUEST_TYPE: { required: false, type: () => String }, PROVISIONING_ORDER_ID: { required: false, type: () => String }, SERVICE_STATUS: { required: false, type: () => String }, PROCESS_STEP: { required: false, type: () => String }, requestId: { required: false, type: () => String }, triggerSystemId: { required: false, type: () => String }, triggerSystemKey: { required: false, type: () => String }, logHandlerServiceAlias: { required: false, type: () => String }, commandId: { required: false, type: () => String }, errorMsg: { required: false, type: () => String }, observerLookupName: { required: false, type: () => String }, restRequestBody: { required: false, type: () => String }, restResponseBody: { required: false, type: () => String }, restRequestTargetSystem: { required: false, type: () => String }, restRequestTargetUrl: { required: false, type: () => String }, responseHandlerServiceAlias: { required: false, type: () => String }, restRequestContentType: { required: false, type: () => String }, restResponseStatusCode: { required: false, type: () => String }, restRequestHttpMethod: { required: false, type: () => String }, restResponseStatusText: { required: false, type: () => String } };
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.BpTaskParametersDto = BpTaskParametersDto;
|
|
11
|
-
class BpRelatedProductOrderDto {
|
|
12
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { id: { required: true, type: () => String }, relationType: { required: true, type: () => String, enum: require("./task.constants").BpRelatedProductOrderRelationType } };
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.BpRelatedProductOrderDto = BpRelatedProductOrderDto;
|
|
17
|
-
class BpTaskDto {
|
|
18
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { id: { required: false, type: () => String }, taskDefinition: { required: true, enum: require("./task.constants").BpTaskDefinitionTypes }, creator: { required: false, type: () => String }, assignee: { required: false, type: () => String }, billingAccount: { required: true, type: () => String }, state: { required: false, enum: require("./task.constants").BpTaskStateType }, priority: { required: true, enum: require("./task.constants").BpTaskPriority }, creationDate: { required: false, type: () => String }, category: { required: false, type: () => String }, tags: { required: true, type: () => [String] }, relatedProductOrders: { required: false, type: () => [require("./task.entity").BpRelatedProductOrderDto] }, parameters: { required: true, type: () => require("./task.entity").BpTaskParametersDto } };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.BpTaskDto = BpTaskDto;
|
|
23
5
|
class BpTaskNoteDto {
|
|
24
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
25
7
|
return { id: { required: true, type: () => String }, task: { required: true, type: () => String }, text: { required: true, type: () => String }, createdForState: { required: false, enum: require("./task.constants").BpTaskStateType }, creator: { required: true, type: () => String }, creationDate: { required: true, type: () => String } };
|
|
26
8
|
}
|
|
27
9
|
}
|
|
28
10
|
exports.BpTaskNoteDto = BpTaskNoteDto;
|
|
29
|
-
class BpTaskResolveDto {
|
|
30
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
-
return { resolutionNote: { required: true, type: () => String }, resolutionAction: { required: true, type: () => String, enum: require("./task.constants").BpTaskResolveResolutionActionTypes }, tasks: { required: true, type: () => [String] } };
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.BpTaskResolveDto = BpTaskResolveDto;
|
|
35
|
-
class BpTaskResolveResDto {
|
|
36
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
37
|
-
return { enqueuedTasks: { required: true, type: () => Number }, totalTasks: { required: true, type: () => Number }, failedTasks: { required: true, type: () => Number }, succeededTasks: { required: true, type: () => Number }, resolvedTasks: { required: true, type: () => Number }, notFoundTasks: { required: true, type: () => Number } };
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.BpTaskResolveResDto = BpTaskResolveResDto;
|
|
41
|
-
class BpTaskDefinitionDto {
|
|
42
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
43
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, template: { required: true, type: () => String }, category: { required: true, type: () => String }, priority: { required: true, type: () => Number }, approvalRequired: { required: true, type: () => Boolean }, manual: { required: true, type: () => Boolean }, slaTimeInHours: { required: true, type: () => Number }, resolutionActions: { required: true, type: () => [String] }, configurationLevel: { required: true, type: () => String }, active: { required: true, type: () => Boolean } };
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.BpTaskDefinitionDto = BpTaskDefinitionDto;
|
|
@@ -4,3 +4,8 @@ export declare enum ChargeAndCreditType {
|
|
|
4
4
|
ONCE_ONLY_CHARGE = "ONCE_ONLY_CHARGE",
|
|
5
5
|
RECURRING_CHARGE = "RECURRING_CHARGE"
|
|
6
6
|
}
|
|
7
|
+
export declare enum ChargeAndCreditBillingStateType {
|
|
8
|
+
COMPLETED = "COMPLETED",
|
|
9
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
10
|
+
UNKNOWN = "UNKNOWN"
|
|
11
|
+
}
|