cecon-interfaces 1.1.46 → 1.1.48

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.
Files changed (25) hide show
  1. package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +5 -1
  2. package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +28 -0
  3. package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +2 -1
  4. package/dist/esm2022/global-settings/entities/index.mjs +2 -1
  5. package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +1 -1
  6. package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +2 -0
  7. package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +1 -1
  8. package/dist/esm2022/global-settings/interfaces/index.mjs +1 -1
  9. package/dist/fesm2022/cecon-interfaces.mjs +34 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +4 -0
  12. package/dist/global-settings/entities/global-setting-iugu.entity.js +4 -0
  13. package/dist/global-settings/entities/global-setting-master.entity.d.ts +17 -0
  14. package/dist/global-settings/entities/global-setting-master.entity.js +32 -0
  15. package/dist/global-settings/entities/global-setting.entity.d.ts +1 -0
  16. package/dist/global-settings/entities/global-setting.entity.js +1 -0
  17. package/dist/global-settings/entities/index.d.ts +1 -0
  18. package/dist/global-settings/entities/index.js +3 -1
  19. package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +1 -0
  20. package/dist/global-settings/interfaces/i-global-setting-master.d.ts +4 -0
  21. package/dist/global-settings/interfaces/i-global-setting-master.js +2 -0
  22. package/dist/global-settings/interfaces/i-global-setting.d.ts +1 -0
  23. package/dist/global-settings/interfaces/index.d.ts +1 -0
  24. package/dist/package.json +1 -1
  25. 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,2 +1,3 @@
1
1
  export { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
2
+ export { GlobalSettingMasterEntity } from './global-setting-master.entity';
2
3
  export { GlobalSettingEntity } from './global-setting.entity';
@@ -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; } });
@@ -8,4 +8,5 @@ export interface IGlobalSettingIugu {
8
8
  perDayInterest: boolean;
9
9
  perDayInterestCents: number;
10
10
  perDayInterestValue: number;
11
+ billingDays: number;
11
12
  }
@@ -0,0 +1,4 @@
1
+ export interface IGlobalSettingMaster {
2
+ expireDays: number;
3
+ suspendDays: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  import { IGlobalSettingIugu } from './i-global-setting-iugu';
2
2
  export interface IGlobalSetting {
3
+ billingDays: number;
3
4
  iugu: IGlobalSettingIugu;
4
5
  }
@@ -1,2 +1,3 @@
1
1
  export { IGlobalSetting } from './i-global-setting';
2
2
  export { IGlobalSettingIugu } from './i-global-setting-iugu';
3
+ export { IGlobalSettingMaster } from './i-global-setting-master';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",