cecon-interfaces 1.6.89 → 1.6.90

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.6.89",
3
+ "version": "1.6.90",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3,6 +3,7 @@ import { IPayioDistributorResponsible } from '../interfaces/i-distributor-respon
3
3
  export declare class PayioDistributorResponsibleEntity implements IPayioDistributorResponsible {
4
4
  doc: string;
5
5
  docType: EDocType;
6
+ documentFileUrl: string;
6
7
  email: string;
7
8
  internationalCode: string;
8
9
  name: string;
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioDistributorResponsibleEntity = void 0;
4
4
  var general_1 = require("../../../general");
5
5
  var PayioDistributorResponsibleEntity = /** @class */ (function () {
6
- // #endregion Properties (6)
6
+ // #endregion Properties (7)
7
7
  // #region Constructors (1)
8
8
  function PayioDistributorResponsibleEntity(data) {
9
- // #region Properties (6)
9
+ // #region Properties (7)
10
10
  this.doc = '';
11
11
  this.docType = general_1.EDocType.CPF;
12
+ this.documentFileUrl = '';
12
13
  this.email = '';
13
14
  this.internationalCode = '55';
14
15
  this.name = '';
@@ -7,6 +7,7 @@ import { PayioDistributorResponsibleEntity } from './distributor-responsible.ent
7
7
  export declare class PayioDistributorEntity implements IPayioDistributor {
8
8
  actions: IAction[];
9
9
  address: PayioAddressEntity;
10
+ contratoSocialPdfUrl: string | null;
10
11
  createdAt: Date;
11
12
  doc: string;
12
13
  docType: EDocType;
@@ -18,7 +19,7 @@ export declare class PayioDistributorEntity implements IPayioDistributor {
18
19
  logs: string[];
19
20
  name: string;
20
21
  phoneNumber: string;
21
- responsible: PayioDistributorResponsibleEntity;
22
+ responsible: PayioDistributorResponsibleEntity[];
22
23
  sandbox: boolean;
23
24
  slug: string;
24
25
  status: EPayioDistributorStatus;
@@ -4,7 +4,6 @@ exports.PayioDistributorEntity = void 0;
4
4
  var general_1 = require("../../../general");
5
5
  var company_1 = require("../../company");
6
6
  var enums_1 = require("../enums");
7
- var distributor_responsible_entity_1 = require("./distributor-responsible.entity");
8
7
  var PayioDistributorEntity = /** @class */ (function () {
9
8
  // #endregion Properties (20)
10
9
  // #region Constructors (1)
@@ -12,6 +11,7 @@ var PayioDistributorEntity = /** @class */ (function () {
12
11
  // #region Properties (20)
13
12
  this.actions = [];
14
13
  this.address = new company_1.PayioAddressEntity();
14
+ this.contratoSocialPdfUrl = null;
15
15
  this.createdAt = new Date();
16
16
  this.doc = '';
17
17
  this.docType = general_1.EDocType.CNPJ;
@@ -23,7 +23,7 @@ var PayioDistributorEntity = /** @class */ (function () {
23
23
  this.logs = [];
24
24
  this.name = '';
25
25
  this.phoneNumber = '';
26
- this.responsible = new distributor_responsible_entity_1.PayioDistributorResponsibleEntity();
26
+ this.responsible = [];
27
27
  this.sandbox = false;
28
28
  this.slug = '';
29
29
  this.status = enums_1.EPayioDistributorStatus.PLACED;
@@ -5,5 +5,6 @@ export interface IPayioDistributorResponsible {
5
5
  email: string;
6
6
  name: string;
7
7
  phoneNumber: string;
8
+ documentFileUrl: string;
8
9
  internationalCode: string;
9
10
  }
@@ -12,12 +12,13 @@ export interface IPayioDistributor {
12
12
  email: string;
13
13
  id: string;
14
14
  imageUrl: string | null;
15
+ contratoSocialPdfUrl: string | null;
15
16
  internationalCode: string;
16
17
  logoUrl: string | null;
17
18
  logs: string[];
18
19
  name: string;
19
20
  phoneNumber: string;
20
- responsible: IPayioDistributorResponsible;
21
+ responsible: IPayioDistributorResponsible[];
21
22
  sandbox: boolean;
22
23
  slug: string;
23
24
  status: EPayioDistributorStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.89",
3
+ "version": "1.6.90",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",