oro-sdk-apis 1.38.0 → 1.39.0

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.
@@ -130,5 +130,5 @@ export interface LegalData {
130
130
  rpAcceptedAtIP?: string;
131
131
  }
132
132
  export declare type RoleBasedScopes = AllRoleType;
133
- export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'consult.consults.put' | 'practice.assignments.post' | 'practice.emails.get' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'teller.emails.post';
133
+ export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'consult.consults.put' | 'practice.assignments.post' | 'practice.emails.get' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'practice.secrets.get' | 'teller.emails.post';
134
134
  export declare type AllScopes = RoleBasedScopes | PermissionBasedScopes;
@@ -11,3 +11,4 @@ export * from './workflow';
11
11
  export * from './external';
12
12
  export * from './user';
13
13
  export * from './teller';
14
+ export * from './search';
@@ -529,3 +529,18 @@ export interface PracticeInvoice {
529
529
  currency: string;
530
530
  discount: number;
531
531
  }
532
+ /**
533
+ * This interface represents a practice secret
534
+ * It is used to generate a symetric key to encrypt
535
+ * practice related data
536
+ */
537
+ export interface PracticeSecret {
538
+ practiceUuid: string;
539
+ /**
540
+ * The payload is the actual base64 encoded bytes that can
541
+ * be used as the practice secret. In the db,
542
+ * this field is base64 encoded nonce+encrypted-payload.
543
+ * It's decrypted on the fly when returned by the api.
544
+ */
545
+ payload: string;
546
+ }
@@ -5,7 +5,7 @@ export interface SearchResponse {
5
5
  results: SearchResult[];
6
6
  }
7
7
  export interface SearchResult {
8
- consultUUID: string;
8
+ consultUuid: string;
9
9
  kind: string;
10
10
  score: number;
11
11
  }
@@ -1195,6 +1195,15 @@ var IdentityCreationConflict = /*#__PURE__*/function (_Error7) {
1195
1195
  MetadataCategory["Raw"] = "Raw";
1196
1196
  })(exports.MetadataCategory || (exports.MetadataCategory = {}));
1197
1197
 
1198
+ (function (IndexKind) {
1199
+ IndexKind[IndexKind["consultUuid"] = 0] = "consultUuid";
1200
+ IndexKind[IndexKind["consultShortid"] = 1] = "consultShortid";
1201
+ IndexKind[IndexKind["firstName"] = 2] = "firstName";
1202
+ IndexKind[IndexKind["lastName"] = 3] = "lastName";
1203
+ IndexKind[IndexKind["healthId"] = 4] = "healthId";
1204
+ IndexKind[IndexKind["dob"] = 5] = "dob";
1205
+ })(exports.IndexKind || (exports.IndexKind = {}));
1206
+
1198
1207
  var ConsultService = /*#__PURE__*/function () {
1199
1208
  function ConsultService(api, baseURL) {
1200
1209
  this.api = api;