cecon-interfaces 1.1.46 → 1.1.48
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +5 -1
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +28 -0
- package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +2 -1
- package/dist/esm2022/global-settings/entities/index.mjs +2 -1
- package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +1 -1
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +1 -1
- package/dist/esm2022/global-settings/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +34 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +4 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +4 -0
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +17 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +32 -0
- package/dist/global-settings/entities/global-setting.entity.d.ts +1 -0
- package/dist/global-settings/entities/global-setting.entity.js +1 -0
- package/dist/global-settings/entities/index.d.ts +1 -0
- package/dist/global-settings/entities/index.js +3 -1
- package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +1 -0
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +4 -0
- package/dist/global-settings/interfaces/i-global-setting-master.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting.d.ts +1 -0
- package/dist/global-settings/interfaces/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -11,6 +11,10 @@ export declare class GlobalSettingIuguEntity implements IGlobalSettingIugu {
|
|
11
11
|
* e não em sábados ou domingos.
|
12
12
|
*/
|
13
13
|
ensureWorkdayDueDate: boolean;
|
14
|
+
/**
|
15
|
+
* Prazo de dias para o vencimento da fatura.
|
16
|
+
*/
|
17
|
+
billingDays: number;
|
14
18
|
/**
|
15
19
|
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
16
20
|
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
@@ -17,6 +17,10 @@ var GlobalSettingIuguEntity = /** @class */ (function () {
|
|
17
17
|
* e não em sábados ou domingos.
|
18
18
|
*/
|
19
19
|
this.ensureWorkdayDueDate = true;
|
20
|
+
/**
|
21
|
+
* Prazo de dias para o vencimento da fatura.
|
22
|
+
*/
|
23
|
+
this.billingDays = 10;
|
20
24
|
/**
|
21
25
|
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
22
26
|
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IGlobalSettingMaster } from '../interfaces/i-global-setting-master';
|
2
|
+
export declare class GlobalSettingMasterEntity implements IGlobalSettingMaster {
|
3
|
+
/**
|
4
|
+
* Prazo de dias para o vencimento da fatura.
|
5
|
+
*/
|
6
|
+
billingDays: number;
|
7
|
+
/**
|
8
|
+
* Dias em que a fatura expira após o vencimento
|
9
|
+
*
|
10
|
+
* */
|
11
|
+
expireDays: number;
|
12
|
+
/**
|
13
|
+
* Dias em que a fatura é suspensa após o vencimento
|
14
|
+
*/
|
15
|
+
suspendDays: number;
|
16
|
+
constructor(data?: Partial<GlobalSettingMasterEntity>);
|
17
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GlobalSettingMasterEntity = void 0;
|
4
|
+
var GlobalSettingMasterEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function GlobalSettingMasterEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
/**
|
10
|
+
* Prazo de dias para o vencimento da fatura.
|
11
|
+
*/
|
12
|
+
this.billingDays = 10;
|
13
|
+
/**
|
14
|
+
* Dias em que a fatura expira após o vencimento
|
15
|
+
*
|
16
|
+
* */
|
17
|
+
this.expireDays = 1;
|
18
|
+
/**
|
19
|
+
* Dias em que a fatura é suspensa após o vencimento
|
20
|
+
*/
|
21
|
+
this.suspendDays = 3;
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return GlobalSettingMasterEntity;
|
31
|
+
}());
|
32
|
+
exports.GlobalSettingMasterEntity = GlobalSettingMasterEntity;
|
@@ -2,5 +2,6 @@ import { IGlobalSetting } from '../interfaces';
|
|
2
2
|
import { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
|
3
3
|
export declare class GlobalSettingEntity implements IGlobalSetting {
|
4
4
|
iugu: GlobalSettingIuguEntity;
|
5
|
+
billingDays: number;
|
5
6
|
constructor(data?: Partial<GlobalSettingEntity>);
|
6
7
|
}
|
@@ -8,6 +8,7 @@ var GlobalSettingEntity = /** @class */ (function () {
|
|
8
8
|
function GlobalSettingEntity(data) {
|
9
9
|
// #region Properties (1)
|
10
10
|
this.iugu = new global_setting_iugu_entity_1.GlobalSettingIuguEntity();
|
11
|
+
this.billingDays = 3;
|
11
12
|
if (data) {
|
12
13
|
for (var key in data) {
|
13
14
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,7 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingEntity = exports.GlobalSettingIuguEntity = void 0;
|
3
|
+
exports.GlobalSettingEntity = exports.GlobalSettingMasterEntity = exports.GlobalSettingIuguEntity = void 0;
|
4
4
|
var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
|
5
5
|
Object.defineProperty(exports, "GlobalSettingIuguEntity", { enumerable: true, get: function () { return global_setting_iugu_entity_1.GlobalSettingIuguEntity; } });
|
6
|
+
var global_setting_master_entity_1 = require("./global-setting-master.entity");
|
7
|
+
Object.defineProperty(exports, "GlobalSettingMasterEntity", { enumerable: true, get: function () { return global_setting_master_entity_1.GlobalSettingMasterEntity; } });
|
6
8
|
var global_setting_entity_1 = require("./global-setting.entity");
|
7
9
|
Object.defineProperty(exports, "GlobalSettingEntity", { enumerable: true, get: function () { return global_setting_entity_1.GlobalSettingEntity; } });
|
package/dist/package.json
CHANGED