cecon-interfaces 1.5.43 → 1.5.44

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from './feature';
18
18
  export * from './general';
19
19
  export * from './global-settings';
20
20
  export * from './installation';
21
+ export * from './integrators';
21
22
  export * from './invite';
22
23
  export * from './invoice';
23
24
  export * from './iugu';
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ __exportStar(require("./feature"), exports);
34
34
  __exportStar(require("./general"), exports);
35
35
  __exportStar(require("./global-settings"), exports);
36
36
  __exportStar(require("./installation"), exports);
37
+ __exportStar(require("./integrators"), exports);
37
38
  __exportStar(require("./invite"), exports);
38
39
  __exportStar(require("./invoice"), exports);
39
40
  __exportStar(require("./iugu"), exports);
@@ -0,0 +1 @@
1
+ export { IntegratorEntity } from './integrator.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegratorEntity = void 0;
4
+ var integrator_entity_1 = require("./integrator.entity");
5
+ Object.defineProperty(exports, "IntegratorEntity", { enumerable: true, get: function () { return integrator_entity_1.IntegratorEntity; } });
@@ -0,0 +1,19 @@
1
+ import { AddressEntity } from '../../general';
2
+ import { EDocType } from '../../general/enums';
3
+ import { IIntegrator } from '../interfaces';
4
+ export declare class IntegratorEntity implements IIntegrator {
5
+ active: boolean;
6
+ address: AddressEntity;
7
+ doc: string;
8
+ docType: EDocType;
9
+ email: string;
10
+ id: string;
11
+ imageUrl: string | null;
12
+ internationalCode: string;
13
+ name: string;
14
+ phoneNumber: string;
15
+ sandbox: boolean;
16
+ tags: string[];
17
+ updatedAt: Date;
18
+ constructor(data?: Partial<IntegratorEntity>);
19
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegratorEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var enums_1 = require("../../general/enums");
6
+ var IntegratorEntity = /** @class */ (function () {
7
+ // #endregion Properties (13)
8
+ // #region Constructors (1)
9
+ function IntegratorEntity(data) {
10
+ // #region Properties (13)
11
+ this.active = true;
12
+ this.address = new general_1.AddressEntity();
13
+ this.doc = '';
14
+ this.docType = enums_1.EDocType.CNPJ;
15
+ this.email = '';
16
+ this.id = '';
17
+ this.imageUrl = null;
18
+ this.internationalCode = '';
19
+ this.name = '';
20
+ this.phoneNumber = '';
21
+ this.sandbox = false;
22
+ this.tags = [];
23
+ this.updatedAt = new Date();
24
+ if (data) {
25
+ for (var key in data) {
26
+ if (data.hasOwnProperty(key) && key in this) {
27
+ this[key] = data[key];
28
+ }
29
+ }
30
+ }
31
+ }
32
+ return IntegratorEntity;
33
+ }());
34
+ exports.IntegratorEntity = IntegratorEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,17 @@
1
+ import { IAddress } from '../../general';
2
+ import { EDocType } from '../../general/enums';
3
+ export interface IIntegrator {
4
+ active: boolean;
5
+ address: IAddress;
6
+ doc: string;
7
+ docType: EDocType;
8
+ email: string;
9
+ id: string;
10
+ imageUrl: string | null;
11
+ internationalCode: string;
12
+ name: string;
13
+ phoneNumber: string;
14
+ sandbox: boolean;
15
+ tags: string[];
16
+ updatedAt: Date;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IIntegrator } from './i-integrator';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.43",
3
+ "version": "1.5.44",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@ export declare class PartnerEntity implements IPartner {
9
9
  email: string;
10
10
  fullName: string;
11
11
  id: string;
12
- imageUrl?: string;
12
+ imageUrl: string | null;
13
13
  internationalCode: string;
14
14
  level: number;
15
15
  logoUrl?: string;
@@ -6,11 +6,11 @@ export interface IPartner {
6
6
  doc: string;
7
7
  docType: EDocType;
8
8
  email: string;
9
- level: number;
10
9
  fullName: string;
11
10
  id: string;
12
- imageUrl?: string;
11
+ imageUrl: string | null;
13
12
  internationalCode: string;
13
+ level: number;
14
14
  logoUrl?: string;
15
15
  name: string;
16
16
  paymentProvider: IPaymentProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.43",
3
+ "version": "1.5.44",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",