grapp-common-se 0.6.52 → 0.6.53

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.
@@ -3,8 +3,8 @@ import { Resource, Timestamp } from '3a-common';
3
3
  import { Patient, User } from '../users';
4
4
  import { CIE10 } from '../clinics/CIE10';
5
5
  import { InnerFile } from '../fileSystem';
6
- import { RequestReduced } from './request';
7
6
  import { Users } from '..';
7
+ import { Contract, RequestReduced } from './request';
8
8
  export interface Order extends Resource {
9
9
  _id?: string;
10
10
  file?: string[] | (File | InnerFile)[];
@@ -44,6 +44,7 @@ export interface Order extends Resource {
44
44
  transferStatus?: TransferStatus;
45
45
  sendTo?: SendTo[];
46
46
  transferDate?: Number;
47
+ orderContract: Contract;
47
48
  }
48
49
  export interface SendTo {
49
50
  transferStatus?: TransferStatus;
@@ -147,17 +148,12 @@ export interface ContractTech {
147
148
  epsId: string;
148
149
  buyCost: number;
149
150
  contractId: string;
150
- createdAt?: number;
151
+ createdAt: number;
151
152
  frecuency: number;
152
153
  frecuencyAlert: number;
153
154
  sellPrice: number;
154
155
  state: boolean;
155
156
  techName: string;
156
157
  technologyCode: number;
157
- monthlyFrecuency?: number;
158
- weeklyFrecuency?: number;
159
- createdBy?: string;
160
- lastModifiedAt?: number;
161
- lastModifiedBy?: string;
162
158
  }
163
159
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.52",
3
+ "version": "0.6.53",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {