oro-sdk-apis 1.39.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.39.0",
2
+ "version": "1.40.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -87,7 +87,7 @@ export interface PrescriptionRequest {
87
87
  export interface Prescription extends PrescriptionRequest {
88
88
  uuid: string
89
89
  uuidTreatment: string
90
- status: PrescriptionStatus
90
+ status?: PrescriptionStatus
91
91
  createdAt: string
92
92
  }
93
93
 
@@ -5,3 +5,4 @@ export class AuthenticationUnconfirmedEmail extends Error { }
5
5
  export class IdentityCreationFailed extends Error { }
6
6
  export class IdentityCreationBadRequest extends Error { }
7
7
  export class IdentityCreationConflict extends Error { }
8
+ export class VaultDataMissing extends Error { }
@@ -14,7 +14,7 @@ export class SearchService {
14
14
  terms: Terms
15
15
  ): Promise<any> {
16
16
  return this.api.post<IndexRequest>(
17
- `${this.baseURL}/v1/search`,
17
+ `${this.baseURL}/v1/index`,
18
18
  <IndexRequest> {
19
19
  consultUUID,
20
20
  terms