cecon-interfaces 1.1.42 → 1.1.44

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 (33) hide show
  1. package/dist/company/entities/company.entity.d.ts +6 -6
  2. package/dist/company/entities/company.entity.js +5 -6
  3. package/dist/company/interfaces/i-company.d.ts +4 -4
  4. package/dist/esm2022/company/entities/company.entity.mjs +6 -7
  5. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  6. package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +63 -0
  7. package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +17 -0
  8. package/dist/esm2022/global-settings/entities/index.mjs +3 -0
  9. package/dist/esm2022/global-settings/index.mjs +3 -0
  10. package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +2 -0
  11. package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +2 -0
  12. package/dist/esm2022/global-settings/interfaces/index.mjs +2 -0
  13. package/dist/esm2022/index.mjs +2 -1
  14. package/dist/fesm2022/cecon-interfaces.mjs +85 -6
  15. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  16. package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +52 -0
  17. package/dist/global-settings/entities/global-setting-iugu.entity.js +67 -0
  18. package/dist/global-settings/entities/global-setting.entity.d.ts +6 -0
  19. package/dist/global-settings/entities/global-setting.entity.js +21 -0
  20. package/dist/global-settings/entities/index.d.ts +2 -0
  21. package/dist/global-settings/entities/index.js +7 -0
  22. package/dist/global-settings/index.d.ts +2 -0
  23. package/dist/global-settings/index.js +18 -0
  24. package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +11 -0
  25. package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
  26. package/dist/global-settings/interfaces/i-global-setting.d.ts +4 -0
  27. package/dist/global-settings/interfaces/i-global-setting.js +2 -0
  28. package/dist/global-settings/interfaces/index.d.ts +2 -0
  29. package/dist/global-settings/interfaces/index.js +2 -0
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +1 -0
  32. package/dist/package.json +1 -1
  33. package/package.json +1 -1
@@ -0,0 +1,52 @@
1
+ import { IGlobalSettingIugu } from '../interfaces/i-global-setting-iugu';
2
+ export declare class GlobalSettingIuguEntity implements IGlobalSettingIugu {
3
+ /**
4
+ * Prazo máximo para pagamento do boleto após o vencimento.
5
+ * O prazo máximo para pagamento deve ser entre "1" e "30"
6
+ * dias após a data de vencimento.
7
+ */
8
+ bankSlipExtraDue: number;
9
+ /**
10
+ * Se true, garante que a data de vencimento seja apenas em dias de semana,
11
+ * e não em sábados ou domingos.
12
+ */
13
+ ensureWorkdayDueDate: boolean;
14
+ /**
15
+ * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
16
+ * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
17
+ * disponível para ser paga até às 23:59:59 do dia de vencimento.
18
+ */
19
+ expiresIn: number;
20
+ /**
21
+ * Habilitar ou Desabilitar multa por atraso de pagamento
22
+ */
23
+ fines: boolean;
24
+ /**
25
+ * Determine a multa % a ser cobrada para pagamentos
26
+ * efetuados após a data de vencimento
27
+ */
28
+ latePaymentFine: number;
29
+ /**
30
+ * Determine a multa por valor fixo a ser
31
+ * cobrada para pagamentos efetuados após a data de vencimento
32
+ */
33
+ latePaymentFineCents: number;
34
+ /**
35
+ * determina se cobra ou não juros por dia de atraso.
36
+ * 1% ao mês pro rata. Necessário passar a multa como true
37
+ */
38
+ perDayInterest: boolean;
39
+ /**
40
+ * Juros a ser cobrado por dia em centavos.
41
+ * Sobrepõem o per_day_interest_value.
42
+ * O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
43
+ */
44
+ perDayInterestCents: number;
45
+ /**
46
+ * Informar o valor percentual de juros que deseja cobrar.
47
+ * Não se aplica quando os valores diários de mora
48
+ * calculados são menores que 1 centavo.
49
+ */
50
+ perDayInterestValue: number;
51
+ constructor(data?: Partial<GlobalSettingIuguEntity>);
52
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingIuguEntity = void 0;
4
+ var GlobalSettingIuguEntity = /** @class */ (function () {
5
+ // #endregion Properties (9)
6
+ // #region Constructors (1)
7
+ function GlobalSettingIuguEntity(data) {
8
+ // #region Properties (9)
9
+ /**
10
+ * Prazo máximo para pagamento do boleto após o vencimento.
11
+ * O prazo máximo para pagamento deve ser entre "1" e "30"
12
+ * dias após a data de vencimento.
13
+ */
14
+ this.bankSlipExtraDue = 1;
15
+ /**
16
+ * Se true, garante que a data de vencimento seja apenas em dias de semana,
17
+ * e não em sábados ou domingos.
18
+ */
19
+ this.ensureWorkdayDueDate = true;
20
+ /**
21
+ * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
22
+ * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
23
+ * disponível para ser paga até às 23:59:59 do dia de vencimento.
24
+ */
25
+ this.expiresIn = 0;
26
+ /**
27
+ * Habilitar ou Desabilitar multa por atraso de pagamento
28
+ */
29
+ this.fines = true;
30
+ /**
31
+ * Determine a multa % a ser cobrada para pagamentos
32
+ * efetuados após a data de vencimento
33
+ */
34
+ this.latePaymentFine = 2;
35
+ /**
36
+ * Determine a multa por valor fixo a ser
37
+ * cobrada para pagamentos efetuados após a data de vencimento
38
+ */
39
+ this.latePaymentFineCents = 0;
40
+ /**
41
+ * determina se cobra ou não juros por dia de atraso.
42
+ * 1% ao mês pro rata. Necessário passar a multa como true
43
+ */
44
+ this.perDayInterest = true;
45
+ /**
46
+ * Juros a ser cobrado por dia em centavos.
47
+ * Sobrepõem o per_day_interest_value.
48
+ * O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
49
+ */
50
+ this.perDayInterestCents = 0;
51
+ /**
52
+ * Informar o valor percentual de juros que deseja cobrar.
53
+ * Não se aplica quando os valores diários de mora
54
+ * calculados são menores que 1 centavo.
55
+ */
56
+ this.perDayInterestValue = 1;
57
+ if (data) {
58
+ for (var key in data) {
59
+ if (data.hasOwnProperty(key) && key in this) {
60
+ this[key] = data[key];
61
+ }
62
+ }
63
+ }
64
+ }
65
+ return GlobalSettingIuguEntity;
66
+ }());
67
+ exports.GlobalSettingIuguEntity = GlobalSettingIuguEntity;
@@ -0,0 +1,6 @@
1
+ import { IGlobalSetting } from '../interfaces';
2
+ import { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
3
+ export declare class GlobalSettingEntity implements IGlobalSetting {
4
+ iugu: GlobalSettingIuguEntity;
5
+ constructor(data?: Partial<GlobalSettingEntity>);
6
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingEntity = void 0;
4
+ var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
5
+ var GlobalSettingEntity = /** @class */ (function () {
6
+ // #endregion Properties (1)
7
+ // #region Constructors (1)
8
+ function GlobalSettingEntity(data) {
9
+ // #region Properties (1)
10
+ this.iugu = new global_setting_iugu_entity_1.GlobalSettingIuguEntity();
11
+ if (data) {
12
+ for (var key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return GlobalSettingEntity;
20
+ }());
21
+ exports.GlobalSettingEntity = GlobalSettingEntity;
@@ -0,0 +1,2 @@
1
+ export { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
2
+ export { GlobalSettingEntity } from './global-setting.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingEntity = exports.GlobalSettingIuguEntity = void 0;
4
+ var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
5
+ Object.defineProperty(exports, "GlobalSettingIuguEntity", { enumerable: true, get: function () { return global_setting_iugu_entity_1.GlobalSettingIuguEntity; } });
6
+ var global_setting_entity_1 = require("./global-setting.entity");
7
+ Object.defineProperty(exports, "GlobalSettingEntity", { enumerable: true, get: function () { return global_setting_entity_1.GlobalSettingEntity; } });
@@ -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,11 @@
1
+ export interface IGlobalSettingIugu {
2
+ bankSlipExtraDue: number;
3
+ ensureWorkdayDueDate: boolean;
4
+ expiresIn: number;
5
+ fines: boolean;
6
+ latePaymentFine: number;
7
+ latePaymentFineCents: number;
8
+ perDayInterest: boolean;
9
+ perDayInterestCents: number;
10
+ perDayInterestValue: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import { IGlobalSettingIugu } from './i-global-setting-iugu';
2
+ export interface IGlobalSetting {
3
+ iugu: IGlobalSettingIugu;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { IGlobalSetting } from './i-global-setting';
2
+ export { IGlobalSettingIugu } from './i-global-setting-iugu';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './container';
5
5
  export * from './device';
6
6
  export * from './feature';
7
7
  export * from './general';
8
+ export * from './global-settings';
8
9
  export * from './installation';
9
10
  export * from './invite';
10
11
  export * from './invoice';
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./container"), exports);
21
21
  __exportStar(require("./device"), exports);
22
22
  __exportStar(require("./feature"), exports);
23
23
  __exportStar(require("./general"), exports);
24
+ __exportStar(require("./global-settings"), exports);
24
25
  __exportStar(require("./installation"), exports);
25
26
  __exportStar(require("./invite"), exports);
26
27
  __exportStar(require("./invoice"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
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.42",
3
+ "version": "1.1.44",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",