adamo-types 2.0.54 → 2.0.55-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.
- package/dist/bss/bearingpoint/billing/billing.constants.d.ts +5 -0
- package/dist/bss/bearingpoint/billing/billing.constants.js +9 -0
- package/dist/bss/bearingpoint/billing/customer-bill.entity.d.ts +2 -1
- package/dist/bss/bearingpoint/billing/customer-bill.entity.js +1 -1
- package/dist/bss/bearingpoint/billing/index.d.ts +1 -0
- package/dist/bss/bearingpoint/billing/index.js +1 -0
- package/dist/bss/billing/billing.constants.d.ts +2 -1
- package/dist/bss/billing/billing.constants.js +4 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -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:
|
|
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,
|
|
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<
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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,
|