cecon-interfaces 1.1.95 → 1.1.97

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,8 @@ export declare class GlobalSettingMasterEntity implements IGlobalSettingMaster {
5
5
  deleteSubscriptionsPlacedDays: number;
6
6
  subscriptionSuspendedTimes: number;
7
7
  subscriptionsCancelDays: number;
8
+ subscriptionsCustomerBillingDays: number;
9
+ subscriptionsCustomerSuspendDays: number;
8
10
  subscriptionsExpireDays: number;
9
11
  subscriptionsSuspendDays: number;
10
12
  constructor(data?: Partial<GlobalSettingMasterEntity>);
@@ -2,15 +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 (8)
5
+ // #endregion Properties (9)
6
6
  // #region Constructors (1)
7
7
  function GlobalSettingMasterEntity(data) {
8
- // #region Properties (8)
8
+ // #region Properties (9)
9
9
  this.billingDays = 10;
10
10
  this.deleteInvoicesPlacedDays = 10;
11
11
  this.deleteSubscriptionsPlacedDays = 10;
12
12
  this.subscriptionSuspendedTimes = 3;
13
13
  this.subscriptionsCancelDays = 3;
14
+ this.subscriptionsCustomerBillingDays = 7;
15
+ this.subscriptionsCustomerSuspendDays = 1;
14
16
  this.subscriptionsExpireDays = 1;
15
17
  this.subscriptionsSuspendDays = 1;
16
18
  if (data) {
@@ -4,6 +4,8 @@ export interface IGlobalSettingMaster {
4
4
  deleteSubscriptionsPlacedDays: number;
5
5
  subscriptionSuspendedTimes: number;
6
6
  subscriptionsCancelDays: number;
7
+ subscriptionsCustomerBillingDays: number;
8
+ subscriptionsCustomerSuspendDays: number;
7
9
  subscriptionsExpireDays: number;
8
10
  subscriptionsSuspendDays: number;
9
11
  }
@@ -20,6 +20,7 @@ export declare class OrderEntity implements IOrder {
20
20
  delivery: OrderDeliveryEntity | null;
21
21
  displayId: string;
22
22
  id: string;
23
+ invoiceId: string | null;
23
24
  items: OrderItemEntity[];
24
25
  orderTiming: EOrderTiming;
25
26
  orderType: EOrderType | null;
@@ -7,10 +7,10 @@ var customer_entity_1 = require("./customer.entity");
7
7
  var payment_entity_1 = require("./payment.entity");
8
8
  var total_entity_1 = require("./total.entity");
9
9
  var OrderEntity = /** @class */ (function () {
10
- // #endregion Properties (21)
10
+ // #endregion Properties (22)
11
11
  // #region Constructors (1)
12
12
  function OrderEntity(data) {
13
- // #region Properties (21)
13
+ // #region Properties (22)
14
14
  this.additionalFees = [];
15
15
  this.benefits = [];
16
16
  this.cancellation = new cancellation_entity_1.OrderCancellationEntity();
@@ -21,6 +21,7 @@ var OrderEntity = /** @class */ (function () {
21
21
  this.delivery = null;
22
22
  this.displayId = Math.round(Math.random() * 100000).toString();
23
23
  this.id = '';
24
+ this.invoiceId = null;
24
25
  this.items = [];
25
26
  this.orderTiming = enums_1.EOrderTiming.IMMEDIATE;
26
27
  this.orderType = null;
@@ -17,6 +17,7 @@ export interface IOrder {
17
17
  createdAt: Date;
18
18
  customer: IOrderCustomer | null;
19
19
  displayId: string;
20
+ invoiceId: string | null;
20
21
  delivery: IOrderDelivery | null;
21
22
  id: string;
22
23
  items: IOrderItem[];
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.95",
3
+ "version": "1.1.97",
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.95",
3
+ "version": "1.1.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",