cecon-interfaces 1.1.63 → 1.1.64
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.
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +7 -7
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +5 -15
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
- package/dist/esm2022/notification/entities/notification.entity.mjs +5 -5
- package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +14 -24
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +4 -4
- package/dist/global-settings/entities/global-setting-iugu.entity.js +6 -6
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +2 -12
- package/dist/global-settings/entities/global-setting-master.entity.js +4 -13
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +2 -1
- package/dist/notification/entities/notification.entity.d.ts +2 -2
- package/dist/notification/entities/notification.entity.js +4 -4
- package/dist/notification/interfaces/i-notification.d.ts +5 -5
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -6,15 +6,15 @@ export declare class GlobalSettingIuguEntity implements IGlobalSettingIugu {
|
|
6
6
|
* dias após a data de vencimento.
|
7
7
|
*/
|
8
8
|
bankSlipExtraDue: number;
|
9
|
+
/**
|
10
|
+
* Prazo de dias para o vencimento da fatura.
|
11
|
+
*/
|
12
|
+
billingDays: number;
|
9
13
|
/**
|
10
14
|
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
11
15
|
* e não em sábados ou domingos.
|
12
16
|
*/
|
13
17
|
ensureWorkdayDueDate: boolean;
|
14
|
-
/**
|
15
|
-
* Prazo de dias para o vencimento da fatura.
|
16
|
-
*/
|
17
|
-
billingDays: number;
|
18
18
|
/**
|
19
19
|
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
20
20
|
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
@@ -2,25 +2,25 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GlobalSettingIuguEntity = void 0;
|
4
4
|
var GlobalSettingIuguEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (10)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function GlobalSettingIuguEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (10)
|
9
9
|
/**
|
10
10
|
* Prazo máximo para pagamento do boleto após o vencimento.
|
11
11
|
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
12
12
|
* dias após a data de vencimento.
|
13
13
|
*/
|
14
14
|
this.bankSlipExtraDue = 1;
|
15
|
+
/**
|
16
|
+
* Prazo de dias para o vencimento da fatura.
|
17
|
+
*/
|
18
|
+
this.billingDays = 10;
|
15
19
|
/**
|
16
20
|
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
17
21
|
* e não em sábados ou domingos.
|
18
22
|
*/
|
19
23
|
this.ensureWorkdayDueDate = true;
|
20
|
-
/**
|
21
|
-
* Prazo de dias para o vencimento da fatura.
|
22
|
-
*/
|
23
|
-
this.billingDays = 10;
|
24
24
|
/**
|
25
25
|
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
26
26
|
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
@@ -1,21 +1,11 @@
|
|
1
1
|
import { IGlobalSettingMaster } from '../interfaces/i-global-setting-master';
|
2
2
|
export declare class GlobalSettingMasterEntity implements IGlobalSettingMaster {
|
3
|
-
|
4
|
-
* Prazo de dias para o vencimento da fatura.
|
5
|
-
*/
|
3
|
+
billingDays: number;
|
6
4
|
deleteInvoicesPlacedDays: number;
|
7
5
|
deleteSubscriptionsPlacedDays: number;
|
8
|
-
|
9
|
-
* Dias em que a fatura expira após o vencimento
|
10
|
-
*
|
11
|
-
* */
|
6
|
+
subscriptionSuspendedTimes: number;
|
12
7
|
subscriptionsCancelDays: number;
|
13
8
|
subscriptionsExpireDays: number;
|
14
9
|
subscriptionsSuspendDays: number;
|
15
|
-
/**
|
16
|
-
* Dias em que a fatura é suspensa após o vencimento
|
17
|
-
*/
|
18
|
-
suspendDays: number;
|
19
10
|
constructor(data?: Partial<GlobalSettingMasterEntity>);
|
20
|
-
billingDays: number;
|
21
11
|
}
|
@@ -2,26 +2,17 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GlobalSettingMasterEntity = void 0;
|
4
4
|
var GlobalSettingMasterEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (8)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function GlobalSettingMasterEntity(data) {
|
8
|
-
// #region Properties (
|
9
|
-
|
10
|
-
* Prazo de dias para o vencimento da fatura.
|
11
|
-
*/
|
8
|
+
// #region Properties (8)
|
9
|
+
this.billingDays = 10;
|
12
10
|
this.deleteInvoicesPlacedDays = 10;
|
13
11
|
this.deleteSubscriptionsPlacedDays = 10;
|
14
|
-
|
15
|
-
* Dias em que a fatura expira após o vencimento
|
16
|
-
*
|
17
|
-
* */
|
12
|
+
this.subscriptionSuspendedTimes = 3;
|
18
13
|
this.subscriptionsCancelDays = 3;
|
19
14
|
this.subscriptionsExpireDays = 1;
|
20
15
|
this.subscriptionsSuspendDays = 1;
|
21
|
-
/**
|
22
|
-
* Dias em que a fatura é suspensa após o vencimento
|
23
|
-
*/
|
24
|
-
this.suspendDays = 3;
|
25
16
|
if (data) {
|
26
17
|
for (var key in data) {
|
27
18
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -2,7 +2,8 @@ export interface IGlobalSettingMaster {
|
|
2
2
|
billingDays: number;
|
3
3
|
deleteInvoicesPlacedDays: number;
|
4
4
|
deleteSubscriptionsPlacedDays: number;
|
5
|
+
subscriptionSuspendedTimes: number;
|
5
6
|
subscriptionsCancelDays: number;
|
6
|
-
subscriptionsSuspendDays: number;
|
7
7
|
subscriptionsExpireDays: number;
|
8
|
+
subscriptionsSuspendDays: number;
|
8
9
|
}
|
@@ -6,14 +6,14 @@ export declare class NotificationEntity implements INotification {
|
|
6
6
|
category: NotificationCategoryEnum;
|
7
7
|
createdAt: Date;
|
8
8
|
data: string;
|
9
|
-
expirationTime: number;
|
10
|
-
title: string;
|
11
9
|
description: string;
|
10
|
+
expirationTime: number;
|
12
11
|
id: string;
|
13
12
|
imageUrl: string;
|
14
13
|
priority: NotificationPriorityEnum;
|
15
14
|
sound: boolean;
|
16
15
|
status: NotificationStatusEnum;
|
16
|
+
title: string;
|
17
17
|
topicName: string;
|
18
18
|
constructor(data?: Partial<NotificationEntity>);
|
19
19
|
}
|
@@ -4,22 +4,22 @@ exports.NotificationEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var notification_action_entity_1 = require("./notification-action.entity");
|
6
6
|
var NotificationEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (13)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function NotificationEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (13)
|
11
11
|
this.action = new notification_action_entity_1.NotificationActionEntity();
|
12
12
|
this.category = enums_1.NotificationCategoryEnum.ALERT;
|
13
13
|
this.createdAt = new Date();
|
14
14
|
this.data = '';
|
15
|
-
this.expirationTime = 3600;
|
16
|
-
this.title = '';
|
17
15
|
this.description = '';
|
16
|
+
this.expirationTime = 3600;
|
18
17
|
this.id = '';
|
19
18
|
this.imageUrl = '';
|
20
19
|
this.priority = enums_1.NotificationPriorityEnum.HIGH;
|
21
20
|
this.sound = true;
|
22
21
|
this.status = enums_1.NotificationStatusEnum.DELIVERED;
|
22
|
+
this.title = '';
|
23
23
|
this.topicName = '';
|
24
24
|
if (data) {
|
25
25
|
for (var key in data) {
|
@@ -2,16 +2,16 @@ import { NotificationCategoryEnum, NotificationPriorityEnum, NotificationStatusE
|
|
2
2
|
import { INotificationAction } from './i-notification-action';
|
3
3
|
export interface INotification {
|
4
4
|
action: INotificationAction;
|
5
|
-
priority: NotificationPriorityEnum;
|
6
5
|
category: NotificationCategoryEnum;
|
7
6
|
createdAt: Date;
|
8
|
-
|
7
|
+
data: string;
|
9
8
|
description: string;
|
10
9
|
expirationTime: number;
|
11
|
-
|
10
|
+
id: string;
|
12
11
|
imageUrl: string;
|
12
|
+
priority: NotificationPriorityEnum;
|
13
13
|
sound: boolean;
|
14
|
-
|
15
|
-
|
14
|
+
status: NotificationStatusEnum;
|
15
|
+
title: string;
|
16
16
|
topicName: string;
|
17
17
|
}
|
package/dist/package.json
CHANGED