cecon-interfaces 1.5.76 → 1.5.78

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,5 +4,5 @@ export declare class FirebaseQueryEntity implements IFirebaseQuery {
4
4
  field: string;
5
5
  operator: EOperator;
6
6
  value: string | number | boolean | (string | number | boolean)[] | Date | null;
7
- constructor(data?: Partial<FirebaseQueryEntity>);
7
+ constructor(field: string, operator: EOperator, value: string | number | boolean | (string | number | boolean)[] | Date | null);
8
8
  }
@@ -5,18 +5,14 @@ var enums_1 = require("../enums");
5
5
  var FirebaseQueryEntity = /** @class */ (function () {
6
6
  // #endregion Properties (3)
7
7
  // #region Constructors (1)
8
- function FirebaseQueryEntity(data) {
8
+ function FirebaseQueryEntity(field, operator, value) {
9
9
  // #region Properties (3)
10
10
  this.field = '';
11
11
  this.operator = enums_1.EOperator.EQUAL;
12
12
  this.value = null;
13
- if (data) {
14
- for (var key in data) {
15
- if (data.hasOwnProperty(key) && key in this) {
16
- this[key] = data[key];
17
- }
18
- }
19
- }
13
+ this.field = field;
14
+ this.operator = operator;
15
+ this.value = value;
20
16
  }
21
17
  return FirebaseQueryEntity;
22
18
  }());
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.76",
3
+ "version": "1.5.78",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { EOrderExtraInfo } from '../../order';
1
2
  import { IRequestedItems } from '../interfaces/i-requested-items';
2
3
  import { IRequestedItemData } from '../interfaces/i-requested-items-data';
3
4
  export declare class RequestedItemsEntity implements IRequestedItems {
@@ -11,6 +12,7 @@ export declare class RequestedItemsEntity implements IRequestedItems {
11
12
  token: string;
12
13
  updatedAt: Date;
13
14
  isPaid: boolean;
15
+ status: EOrderExtraInfo | null;
14
16
  referenceToken: string | null;
15
17
  resendCount: number;
16
18
  constructor(data?: Partial<RequestedItemsEntity>);
@@ -16,6 +16,7 @@ var RequestedItemsEntity = /** @class */ (function () {
16
16
  this.token = '';
17
17
  this.updatedAt = new Date();
18
18
  this.isPaid = false;
19
+ this.status = null;
19
20
  this.referenceToken = null;
20
21
  this.resendCount = 0;
21
22
  if (data) {
@@ -1,3 +1,4 @@
1
+ import { EOrderExtraInfo } from '../../order/enums/extra-info.enum';
1
2
  import { IRequestedItemData } from './i-requested-items-data';
2
3
  export interface IRequestedItems {
3
4
  companyId: string | null;
@@ -9,6 +10,7 @@ export interface IRequestedItems {
9
10
  preview: boolean;
10
11
  isPaid: boolean;
11
12
  token: string;
13
+ status: EOrderExtraInfo | null;
12
14
  data: IRequestedItemData[];
13
15
  referenceToken: string | null;
14
16
  resendCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.76",
3
+ "version": "1.5.78",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",