cecon-interfaces 1.4.15 → 1.4.16

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.15",
3
+ "version": "1.4.16",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,7 @@
1
- export { TransactionEntity } from './transaction.entity';
2
1
  export { FeeDetailEntity } from './fee-detail.entity';
3
2
  export { TransactionBalanceEntity } from './transaction-balance.entity';
4
- export { TransactionTotalEntity } from './transaction-total.entity';
3
+ export { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
5
4
  export { TransactionPaymentMethodEntity } from './transaction-payment-method.entity';
5
+ export { TransactionResumeEntity } from './transaction-resume.entity';
6
+ export { TransactionTotalEntity } from './transaction-total.entity';
7
+ export { TransactionEntity } from './transaction.entity';
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionPaymentMethodEntity = exports.TransactionTotalEntity = exports.TransactionBalanceEntity = exports.FeeDetailEntity = exports.TransactionEntity = void 0;
4
- var transaction_entity_1 = require("./transaction.entity");
5
- Object.defineProperty(exports, "TransactionEntity", { enumerable: true, get: function () { return transaction_entity_1.TransactionEntity; } });
3
+ exports.TransactionEntity = exports.TransactionTotalEntity = exports.TransactionResumeEntity = exports.TransactionPaymentMethodEntity = exports.TransactionInfoResumeEntity = exports.TransactionBalanceEntity = exports.FeeDetailEntity = void 0;
6
4
  var fee_detail_entity_1 = require("./fee-detail.entity");
7
5
  Object.defineProperty(exports, "FeeDetailEntity", { enumerable: true, get: function () { return fee_detail_entity_1.FeeDetailEntity; } });
8
6
  var transaction_balance_entity_1 = require("./transaction-balance.entity");
9
7
  Object.defineProperty(exports, "TransactionBalanceEntity", { enumerable: true, get: function () { return transaction_balance_entity_1.TransactionBalanceEntity; } });
10
- var transaction_total_entity_1 = require("./transaction-total.entity");
11
- Object.defineProperty(exports, "TransactionTotalEntity", { enumerable: true, get: function () { return transaction_total_entity_1.TransactionTotalEntity; } });
8
+ var transaction_info_resume_entity_1 = require("./transaction-info-resume.entity");
9
+ Object.defineProperty(exports, "TransactionInfoResumeEntity", { enumerable: true, get: function () { return transaction_info_resume_entity_1.TransactionInfoResumeEntity; } });
12
10
  var transaction_payment_method_entity_1 = require("./transaction-payment-method.entity");
13
11
  Object.defineProperty(exports, "TransactionPaymentMethodEntity", { enumerable: true, get: function () { return transaction_payment_method_entity_1.TransactionPaymentMethodEntity; } });
12
+ var transaction_resume_entity_1 = require("./transaction-resume.entity");
13
+ Object.defineProperty(exports, "TransactionResumeEntity", { enumerable: true, get: function () { return transaction_resume_entity_1.TransactionResumeEntity; } });
14
+ var transaction_total_entity_1 = require("./transaction-total.entity");
15
+ Object.defineProperty(exports, "TransactionTotalEntity", { enumerable: true, get: function () { return transaction_total_entity_1.TransactionTotalEntity; } });
16
+ var transaction_entity_1 = require("./transaction.entity");
17
+ Object.defineProperty(exports, "TransactionEntity", { enumerable: true, get: function () { return transaction_entity_1.TransactionEntity; } });
@@ -0,0 +1,7 @@
1
+ import { ITransactionInfoResume } from '../interfaces/i-transaction-info-resume';
2
+ export declare class TransactionInfoResumeEntity implements ITransactionInfoResume {
3
+ companyId: string;
4
+ companyName: string;
5
+ containerId: string;
6
+ constructor(data?: Partial<TransactionInfoResumeEntity>);
7
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionInfoResumeEntity = void 0;
4
+ var TransactionInfoResumeEntity = /** @class */ (function () {
5
+ // #endregion Properties (3)
6
+ // #region Constructors (1)
7
+ function TransactionInfoResumeEntity(data) {
8
+ // #region Properties (3)
9
+ this.companyId = '';
10
+ this.companyName = '';
11
+ this.containerId = '';
12
+ if (data) {
13
+ for (var key in data) {
14
+ if (data.hasOwnProperty(key) && key in this) {
15
+ this[key] = data[key];
16
+ }
17
+ }
18
+ }
19
+ }
20
+ return TransactionInfoResumeEntity;
21
+ }());
22
+ exports.TransactionInfoResumeEntity = TransactionInfoResumeEntity;
@@ -0,0 +1,12 @@
1
+ import { EResumeIntervalType } from '../../resume';
2
+ import { ITransactionResume } from '../interfaces/i-transaction-resume';
3
+ import { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
4
+ export declare class TransactionResumeEntity implements ITransactionResume {
5
+ balance: number;
6
+ createdAt: Date;
7
+ id: string;
8
+ info: TransactionInfoResumeEntity;
9
+ interval: EResumeIntervalType;
10
+ updatedAt: Date;
11
+ constructor(data?: Partial<TransactionResumeEntity>);
12
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionResumeEntity = void 0;
4
+ var resume_1 = require("../../resume");
5
+ var transaction_info_resume_entity_1 = require("./transaction-info-resume.entity");
6
+ var TransactionResumeEntity = /** @class */ (function () {
7
+ // #endregion Properties (6)
8
+ // #region Constructors (1)
9
+ function TransactionResumeEntity(data) {
10
+ // #region Properties (6)
11
+ this.balance = 0;
12
+ this.createdAt = new Date();
13
+ this.id = '';
14
+ this.info = new transaction_info_resume_entity_1.TransactionInfoResumeEntity();
15
+ this.interval = resume_1.EResumeIntervalType.DAY;
16
+ this.updatedAt = new Date();
17
+ if (data) {
18
+ for (var key in data) {
19
+ if (data.hasOwnProperty(key) && key in this) {
20
+ this[key] = data[key];
21
+ }
22
+ }
23
+ }
24
+ }
25
+ return TransactionResumeEntity;
26
+ }());
27
+ exports.TransactionResumeEntity = TransactionResumeEntity;
@@ -0,0 +1,5 @@
1
+ export interface ITransactionInfoResume {
2
+ companyId: string;
3
+ containerId: string;
4
+ companyName: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { EResumeIntervalType } from '../../resume';
2
+ import { ITransactionInfoResume } from './i-transaction-info-resume';
3
+ export interface ITransactionResume {
4
+ balance: number;
5
+ createdAt: Date;
6
+ id: string;
7
+ info: ITransactionInfoResume;
8
+ interval: EResumeIntervalType;
9
+ updatedAt: Date;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  export { ITransactionBalance } from './i-balance';
2
- export { IFeeDetail } from './i-fee-detail';
3
2
  export { IFee } from './i-fee';
3
+ export { IFeeDetail } from './i-fee-detail';
4
4
  export { ITransactionPaymentMethod } from './i-payment-method';
5
5
  export { ITransactionTotal } from './i-total';
6
6
  export { ITransaction } from './i-transaction';
7
+ export { ITransactionInfoResume } from './i-transaction-info-resume';
8
+ export { ITransactionResume } from './i-transaction-resume';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.15",
3
+ "version": "1.4.16",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",