cecon-interfaces 1.9.96 → 1.9.98

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.
@@ -1,6 +1,6 @@
1
1
  import { EFrom, IInfo } from '../../general';
2
2
  import { ENatipaySaleChannel } from '../../natipay';
3
- import { EFeePayer, EOperationType, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
3
+ import { EFeePayer, EOperationType, EReleaseStatus, ETax, ETransactionProvider, ETransactionStatus } from '../enums';
4
4
  import { ITransaction } from '../interfaces';
5
5
  import { FeeDetailEntity } from './fee-detail.entity';
6
6
  import { TransactionPayerEntity } from './payer.entity';
@@ -14,7 +14,7 @@ export declare class TransactionEntity implements ITransaction {
14
14
  externalOrderReference: string;
15
15
  feeDetails: FeeDetailEntity[];
16
16
  feePayer: EFeePayer;
17
- from: EFrom;
17
+ from: EFrom | ETax;
18
18
  id: string;
19
19
  receipt: string | null;
20
20
  moneyReleaseDate: Date | null;
@@ -9,3 +9,4 @@ export { ETransactionStatus } from './transaction-status.enum';
9
9
  export { ETransactionProvider } from './provider.enum';
10
10
  export { ETransactionOperation } from './transaction-operation.enum';
11
11
  export { EFeePayer } from './fee-payer.enum';
12
+ export { ETax } from './tax.enum';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EFeePayer = exports.ETransactionOperation = exports.ETransactionProvider = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatus = exports.EMpStatusDetail = void 0;
3
+ exports.ETax = exports.EFeePayer = exports.ETransactionOperation = exports.ETransactionProvider = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatus = exports.EMpStatusDetail = void 0;
4
4
  var mp_status_detail_enum_1 = require("./mp-status-detail.enum");
5
5
  Object.defineProperty(exports, "EMpStatusDetail", { enumerable: true, get: function () { return mp_status_detail_enum_1.EMpStatusDetail; } });
6
6
  var mp_status_enum_1 = require("./mp-status.enum");
@@ -24,3 +24,5 @@ var transaction_operation_enum_1 = require("./transaction-operation.enum");
24
24
  Object.defineProperty(exports, "ETransactionOperation", { enumerable: true, get: function () { return transaction_operation_enum_1.ETransactionOperation; } });
25
25
  var fee_payer_enum_1 = require("./fee-payer.enum");
26
26
  Object.defineProperty(exports, "EFeePayer", { enumerable: true, get: function () { return fee_payer_enum_1.EFeePayer; } });
27
+ var tax_enum_1 = require("./tax.enum");
28
+ Object.defineProperty(exports, "ETax", { enumerable: true, get: function () { return tax_enum_1.ETax; } });
@@ -1,7 +1,6 @@
1
1
  export declare enum EOperationType {
2
2
  INVESTMENT = "investment",
3
3
  REGULAR_PAYMENT = "regular_payment",
4
- MONEY_TRANSFER = "money_transfer",
5
4
  RECURRING_PAYMENT = "recurring_payment",
6
5
  ACCOUNT_FUND = "account_fund",
7
6
  PAYMENT_ADDITION = "payment_addition",
@@ -6,7 +6,6 @@ var EOperationType;
6
6
  // mp enums :
7
7
  EOperationType["INVESTMENT"] = "investment";
8
8
  EOperationType["REGULAR_PAYMENT"] = "regular_payment";
9
- EOperationType["MONEY_TRANSFER"] = "money_transfer";
10
9
  EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
11
10
  EOperationType["ACCOUNT_FUND"] = "account_fund";
12
11
  EOperationType["PAYMENT_ADDITION"] = "payment_addition";
@@ -0,0 +1,5 @@
1
+ export declare enum ETax {
2
+ WITHDRAW_TAX = "WITHDRAW_TAX",
3
+ WITHDRAW_SCHEDULED_TAX = "WITHDRAW_SCHEDULED_TAX",
4
+ ACCOUNT_MAINTENANCE = "ACCOUNT_MAINTENANCE"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ETax = void 0;
4
+ var ETax;
5
+ (function (ETax) {
6
+ ETax["WITHDRAW_TAX"] = "WITHDRAW_TAX";
7
+ ETax["WITHDRAW_SCHEDULED_TAX"] = "WITHDRAW_SCHEDULED_TAX";
8
+ ETax["ACCOUNT_MAINTENANCE"] = "ACCOUNT_MAINTENANCE";
9
+ })(ETax || (exports.ETax = ETax = {}));
@@ -1,6 +1,6 @@
1
1
  import { EFrom, IInfo } from '../../general';
2
2
  import { ENatipaySaleChannel } from '../../natipay/orders/enums';
3
- import { EFeePayer, EOperationType, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
3
+ import { EFeePayer, EOperationType, EReleaseStatus, ETax, ETransactionProvider, ETransactionStatus } from '../enums';
4
4
  import { ITransactionBalance } from './i-balance';
5
5
  import { IFeeDetail } from './i-fee-detail';
6
6
  import { ITransactionPayer } from './i-payer';
@@ -19,7 +19,7 @@ export interface ITransaction {
19
19
  * - PLATFORM: A taxa é paga pela plataforma.
20
20
  */
21
21
  feePayer: EFeePayer;
22
- from: EFrom;
22
+ from: EFrom | ETax;
23
23
  id: string;
24
24
  moneyReleaseDate: Date | null;
25
25
  moneyReleaseStatus: EReleaseStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.96",
3
+ "version": "1.9.98",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",