cecon-interfaces 1.3.11 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,4 @@
1
- import { EDesenfilaFrom, EDocType } from '../../general';
1
+ import { EDesenfilaFrom, EDocType, IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
2
2
  import { ISponsor } from '../interfaces/i-sponsor';
3
3
  import { ISponsorFee } from '../interfaces/i-sponsor-fee';
4
4
  export declare class SponsorEntity implements ISponsor {
@@ -16,5 +16,8 @@ export declare class SponsorEntity implements ISponsor {
16
16
  internationalCode: string;
17
17
  phoneNumer: string;
18
18
  email: string;
19
+ natiInfo: INatiInfo;
20
+ mobyoInfo: IMobyoInfo;
21
+ desenfilaInfo: IDesenfilaInfo;
19
22
  constructor(data?: Partial<SponsorEntity>);
20
23
  }
@@ -18,6 +18,9 @@ var SponsorEntity = /** @class */ (function () {
18
18
  this.internationalCode = '';
19
19
  this.phoneNumer = '';
20
20
  this.email = '';
21
+ this.natiInfo = new general_1.NatiInfoEntity();
22
+ this.mobyoInfo = new general_1.MobyoInfoEntity();
23
+ this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
21
24
  if (data) {
22
25
  for (var key in data) {
23
26
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,4 +1,4 @@
1
- import { EDesenfilaFrom, EDocType } from '../../general';
1
+ import { EDesenfilaFrom, EDocType, IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
2
2
  import { ISponsorFee } from './i-sponsor-fee';
3
3
  export interface ISponsor {
4
4
  id: string;
@@ -15,4 +15,7 @@ export interface ISponsor {
15
15
  email: string;
16
16
  natiRefId: string | null;
17
17
  mobyoRefId: string | null;
18
+ natiInfo: INatiInfo;
19
+ mobyoInfo: IMobyoInfo;
20
+ desenfilaInfo: IDesenfilaInfo;
18
21
  }
@@ -1,3 +1,4 @@
1
+ import { IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
1
2
  import { EWithdrawRequestStatus } from '../enums';
2
3
  import { IWithdrawRequest } from '../interfaces/i-withdraw-request';
3
4
  export declare class WithDrawRequestEntity implements IWithdrawRequest {
@@ -12,5 +13,8 @@ export declare class WithDrawRequestEntity implements IWithdrawRequest {
12
13
  transactionId: string | null;
13
14
  transferDocumentUrl: string | null;
14
15
  updatedAt: Date;
16
+ natiInfo: INatiInfo;
17
+ mobyoInfo: IMobyoInfo;
18
+ desenfilaInfo: IDesenfilaInfo;
15
19
  constructor(data?: Partial<WithDrawRequestEntity>);
16
20
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WithDrawRequestEntity = void 0;
4
+ var general_1 = require("../../general");
4
5
  var enums_1 = require("../enums");
5
6
  var WithDrawRequestEntity = /** @class */ (function () {
6
7
  // #endregion Properties (11)
@@ -18,6 +19,9 @@ var WithDrawRequestEntity = /** @class */ (function () {
18
19
  this.transactionId = null;
19
20
  this.transferDocumentUrl = null;
20
21
  this.updatedAt = new Date();
22
+ this.natiInfo = new general_1.NatiInfoEntity();
23
+ this.mobyoInfo = new general_1.MobyoInfoEntity();
24
+ this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
21
25
  if (data) {
22
26
  for (var key in data) {
23
27
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,8 +1,7 @@
1
+ import { INatiInfo, IMobyoInfo, IDesenfilaInfo } from '../../general';
1
2
  import { EWithdrawRequestStatus } from '../enums';
2
3
  export interface IWithdrawRequest {
3
4
  amount: number;
4
- containerId: string;
5
- merchantId: string;
6
5
  createdAt: Date;
7
6
  aprovedAt: Date | null;
8
7
  id: string;
@@ -11,4 +10,7 @@ export interface IWithdrawRequest {
11
10
  transactionId: string | null;
12
11
  transferDocumentUrl: string | null;
13
12
  updatedAt: Date;
13
+ natiInfo: INatiInfo;
14
+ mobyoInfo: IMobyoInfo;
15
+ desenfilaInfo: IDesenfilaInfo;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",