cecon-interfaces 1.8.12 → 1.8.13
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/esm2022/natipay/company/entities/fee-from.entity.mjs +2 -1
- package/dist/esm2022/natipay/company/entities/fee-sale-channel.entity.mjs +5 -4
- package/dist/esm2022/natipay/company/entities/sponsor-fee.entity.mjs +2 -1
- package/dist/esm2022/natipay/company/interfaces/i-fee-channel.mjs +1 -1
- package/dist/esm2022/natipay/company/interfaces/i-fee-from.mjs +1 -1
- package/dist/esm2022/natipay/company/interfaces/i-sponsor-fee.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/company/entities/fee-from.entity.d.ts +1 -0
- package/dist/natipay/company/entities/fee-from.entity.js +1 -0
- package/dist/natipay/company/entities/fee-sale-channel.entity.d.ts +5 -4
- package/dist/natipay/company/entities/fee-sale-channel.entity.js +1 -0
- package/dist/natipay/company/entities/sponsor-fee.entity.d.ts +1 -0
- package/dist/natipay/company/entities/sponsor-fee.entity.js +1 -0
- package/dist/natipay/company/interfaces/i-fee-channel.d.ts +2 -1
- package/dist/natipay/company/interfaces/i-fee-from.d.ts +3 -2
- package/dist/natipay/company/interfaces/i-sponsor-fee.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -10,6 +10,7 @@ var FeeFromEntity = /** @class */ (function () {
|
|
10
10
|
this.amountMode = transaction_1.EAmountMode.PERCENTAGE;
|
11
11
|
this.feePayer = fee_payer_enum_1.EFeePayer.PLATFORM;
|
12
12
|
this.from = general_1.EFrom.DEFAULT;
|
13
|
+
this.id = '';
|
13
14
|
this.operationType = transaction_1.EOperationType.NATIPAY;
|
14
15
|
if (data) {
|
15
16
|
for (var key in data) {
|
@@ -1,11 +1,12 @@
|
|
1
|
-
import { ENatipaySaleChannel } from
|
2
|
-
import { EAmountMode, EOperationType } from
|
3
|
-
import { EFeePayer } from
|
4
|
-
import { IFeeSaleChannel } from
|
1
|
+
import { ENatipaySaleChannel } from "../..";
|
2
|
+
import { EAmountMode, EOperationType } from "../../../transaction";
|
3
|
+
import { EFeePayer } from "../../../transaction/enums/fee-payer.enum";
|
4
|
+
import { IFeeSaleChannel } from "../interfaces";
|
5
5
|
export declare class FeeSaleChannelEntity implements IFeeSaleChannel {
|
6
6
|
amount: number;
|
7
7
|
amountMode: EAmountMode;
|
8
8
|
feePayer: EFeePayer;
|
9
|
+
id: string;
|
9
10
|
operationType: EOperationType;
|
10
11
|
saleChannel: ENatipaySaleChannel;
|
11
12
|
constructor(data?: Partial<FeeSaleChannelEntity>);
|
@@ -9,6 +9,7 @@ var FeeSaleChannelEntity = /** @class */ (function () {
|
|
9
9
|
this.amount = 0;
|
10
10
|
this.amountMode = transaction_1.EAmountMode.PERCENTAGE;
|
11
11
|
this.feePayer = fee_payer_enum_1.EFeePayer.PLATFORM;
|
12
|
+
this.id = '';
|
12
13
|
this.operationType = transaction_1.EOperationType.NATIPAY;
|
13
14
|
this.saleChannel = __1.ENatipaySaleChannel.DEFAULT;
|
14
15
|
if (data) {
|
@@ -3,6 +3,7 @@ import { NatipayFeeEntity } from './natipay-fee.entity';
|
|
3
3
|
export declare class NatipaySponsorFeeEntity extends NatipayFeeEntity implements INatipaySponsorFee {
|
4
4
|
companyId: string;
|
5
5
|
containerId: string;
|
6
|
+
id: string;
|
6
7
|
sponsorName: string | null;
|
7
8
|
constructor(data?: Partial<NatipaySponsorFeeEntity>);
|
8
9
|
}
|
@@ -4,7 +4,8 @@ import { EFeePayer } from '../../../transaction/enums/fee-payer.enum';
|
|
4
4
|
export interface IFeeSaleChannel {
|
5
5
|
amount: number;
|
6
6
|
amountMode: EAmountMode;
|
7
|
+
feePayer: EFeePayer;
|
8
|
+
id: string;
|
7
9
|
operationType: EOperationType;
|
8
10
|
saleChannel: ENatipaySaleChannel;
|
9
|
-
feePayer: EFeePayer;
|
10
11
|
}
|
@@ -4,7 +4,8 @@ import { EFeePayer } from '../../../transaction/enums/fee-payer.enum';
|
|
4
4
|
export interface IFeeFrom {
|
5
5
|
amount: number;
|
6
6
|
amountMode: EAmountMode;
|
7
|
-
operationType: EOperationType;
|
8
|
-
from: EFrom;
|
9
7
|
feePayer: EFeePayer;
|
8
|
+
from: EFrom;
|
9
|
+
id: string;
|
10
|
+
operationType: EOperationType;
|
10
11
|
}
|
package/dist/package.json
CHANGED