cecon-interfaces 1.5.42 → 1.5.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/integrators/entities/index.mjs +2 -0
- package/dist/esm2022/integrators/entities/integrator.entity.mjs +30 -0
- package/dist/esm2022/integrators/index.mjs +3 -0
- package/dist/esm2022/integrators/interfaces/i-integrator.mjs +2 -0
- package/dist/esm2022/integrators/interfaces/index.mjs +2 -0
- package/dist/esm2022/partner/entities/partner.entity.mjs +1 -1
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/esm2022/requested-items/entities/requested-items.entity.mjs +3 -1
- package/dist/esm2022/requested-items/interfaces/i-requested-items.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +31 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/integrators/entities/index.d.ts +1 -0
- package/dist/integrators/entities/index.js +5 -0
- package/dist/integrators/entities/integrator.entity.d.ts +19 -0
- package/dist/integrators/entities/integrator.entity.js +34 -0
- package/dist/integrators/index.d.ts +2 -0
- package/dist/integrators/index.js +18 -0
- package/dist/integrators/interfaces/i-integrator.d.ts +17 -0
- package/dist/integrators/interfaces/i-integrator.js +2 -0
- package/dist/integrators/interfaces/index.d.ts +1 -0
- package/dist/integrators/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +1 -1
- package/dist/partner/interfaces/i-partner.d.ts +2 -2
- package/dist/requested-items/entities/requested-items.entity.d.ts +2 -0
- package/dist/requested-items/entities/requested-items.entity.js +2 -0
- package/dist/requested-items/interfaces/i-requested-items.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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,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 @@
|
|
1
|
+
export { IIntegrator } from './i-integrator';
|
package/dist/package.json
CHANGED
@@ -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
|
11
|
+
imageUrl: string | null;
|
13
12
|
internationalCode: string;
|
13
|
+
level: number;
|
14
14
|
logoUrl?: string;
|
15
15
|
name: string;
|
16
16
|
paymentProvider: IPaymentProvider;
|
@@ -16,6 +16,8 @@ var RequestedItemsEntity = /** @class */ (function () {
|
|
16
16
|
this.token = '';
|
17
17
|
this.updatedAt = new Date();
|
18
18
|
this.isPaid = false;
|
19
|
+
this.referenceToken = null;
|
20
|
+
this.resendCount = 0;
|
19
21
|
if (data) {
|
20
22
|
for (var key in data) {
|
21
23
|
if (data.hasOwnProperty(key) && key in this) {
|