cecon-interfaces 2.0.2 → 2.0.3

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.
@@ -4,6 +4,6 @@ export interface IPixKey {
4
4
  type: EPixKeyType;
5
5
  doc: string;
6
6
  name: string;
7
- description: string;
7
+ description: string | null;
8
8
  isDefault: boolean;
9
9
  }
@@ -7,6 +7,7 @@ export declare class WithDrawRequestEntity implements IWithdrawRequest {
7
7
  createdAt: Date;
8
8
  data: string | null;
9
9
  id: string;
10
+ isRecurring: boolean;
10
11
  liveMode: boolean;
11
12
  name: string;
12
13
  natiInfo: IInfo;
@@ -10,6 +10,7 @@ var WithDrawRequestEntity = /** @class */ (function () {
10
10
  this.createdAt = new Date();
11
11
  this.data = null;
12
12
  this.id = '';
13
+ this.isRecurring = false;
13
14
  this.liveMode = false;
14
15
  this.name = '';
15
16
  this.natiInfo = new general_1.InfoEntity();
@@ -1,11 +1,15 @@
1
- import { IInfo, IPixKey } from "../../general";
2
- import { EPixValidation, EWithdrawStatus, EWithdrawType } from "../enums";
1
+ import { IInfo, IPixKey } from '../../general';
2
+ import { EPixValidation, EWithdrawStatus, EWithdrawType } from '../enums';
3
3
  export interface IWithdrawRequest {
4
4
  amount: number;
5
5
  approvedAt: Date | null;
6
6
  createdAt: Date;
7
7
  data: string | null;
8
8
  id: string;
9
+ /**
10
+ * Indica se o saque é recorrente, ou seja, será realizado sempre o mesmo saque na mesma data (ex: mensal).
11
+ */
12
+ isRecurring?: boolean;
9
13
  liveMode: boolean;
10
14
  name: string;
11
15
  natiInfo: IInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",