@tryvital/vital-node 0.3.8 → 0.3.9

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.
@@ -47,6 +47,7 @@ export class TestkitsApi {
47
47
  user_key: userKey,
48
48
  testkit_id: testkitId,
49
49
  patient_address: patientAddress,
50
+ patient_details: patientDetails,
50
51
  }
51
52
  );
52
53
  return resp.data;
@@ -13,11 +13,20 @@ export interface PatientDetails {
13
13
  dob: string;
14
14
  gender: string;
15
15
  }
16
+ export interface Marker {
17
+ name: string;
18
+ slug: string;
19
+ description?: string;
20
+ }
16
21
 
17
22
  export interface Testkit {
18
23
  id: string;
19
24
  name: string;
20
25
  description: string;
26
+ markers: Marker[];
27
+ turnaround_time_lower: number;
28
+ turnaround_time_upper: number;
29
+ price: number;
21
30
  }
22
31
 
23
32
  export interface Order {
@@ -79,6 +79,7 @@ var TestkitsApi = /** @class */ (function () {
79
79
  user_key: userKey,
80
80
  testkit_id: testkitId,
81
81
  patient_address: patientAddress,
82
+ patient_details: patientDetails,
82
83
  })];
83
84
  case 1:
84
85
  resp = _a.sent();
@@ -12,10 +12,19 @@ export interface PatientDetails {
12
12
  dob: string;
13
13
  gender: string;
14
14
  }
15
+ export interface Marker {
16
+ name: string;
17
+ slug: string;
18
+ description?: string;
19
+ }
15
20
  export interface Testkit {
16
21
  id: string;
17
22
  name: string;
18
23
  description: string;
24
+ markers: Marker[];
25
+ turnaround_time_lower: number;
26
+ turnaround_time_upper: number;
27
+ price: number;
19
28
  }
20
29
  export interface Order {
21
30
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Node client for Vital",
5
5
  "author": "maitham",
6
6
  "keywords": [