oro-sdk 2.31.0 → 3.0.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.
- package/dist/client.d.ts +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/oro-sdk.cjs.development.js +7 -3
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +7 -3
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +2 -0
- package/src/index.ts +5 -0
package/dist/client.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Consult, ConsultRequest, ConsultService, DataCreateResponse, DiagnosisService, Document, DocumentType, Grant, GuardService, IdentityResponse, LocalizedData, LockboxManifest, Meta, Metadata, MetadataCategory, PopulatedWorkflowData, Practice, PracticeService, TellerService, TokenData, TosAndCpAcceptanceRequest, Uuid, VaultIndex, VaultService, WorkflowData, WorkflowService } from 'oro-sdk-apis';
|
1
|
+
import { Consult, ConsultRequest, ConsultService, DataCreateResponse, DiagnosisService, Document, DocumentType, Grant, GuardService, IdentityResponse, LocalizedData, LockboxManifest, Meta, Metadata, MetadataCategory, PopulatedWorkflowData, Practice, PracticeService, SearchService, TellerService, TokenData, TosAndCpAcceptanceRequest, Uuid, VaultIndex, VaultService, WorkflowData, WorkflowService } from 'oro-sdk-apis';
|
2
2
|
import * as OroToolbox from 'oro-toolbox';
|
3
3
|
import { LocalEncryptedData, RecoveryData, RegisterPatientOutput, UserPreference } from './models';
|
4
4
|
export declare class OroClient {
|
@@ -6,6 +6,7 @@ export declare class OroClient {
|
|
6
6
|
tellerClient: TellerService;
|
7
7
|
vaultClient: VaultService;
|
8
8
|
guardClient: GuardService;
|
9
|
+
searchClient: SearchService;
|
9
10
|
practiceClient: PracticeService;
|
10
11
|
consultClient: ConsultService;
|
11
12
|
workflowClient: WorkflowService;
|
@@ -16,7 +17,7 @@ export declare class OroClient {
|
|
16
17
|
private cachedMetadataGrants;
|
17
18
|
private cachedManifest;
|
18
19
|
private vaultIndex?;
|
19
|
-
constructor(toolbox: typeof OroToolbox, tellerClient: TellerService, vaultClient: VaultService, guardClient: GuardService, practiceClient: PracticeService, consultClient: ConsultService, workflowClient: WorkflowService, diagnosisClient: DiagnosisService, authenticationCallback?: ((err: Error) => void) | undefined);
|
20
|
+
constructor(toolbox: typeof OroToolbox, tellerClient: TellerService, vaultClient: VaultService, guardClient: GuardService, searchClient: SearchService, practiceClient: PracticeService, consultClient: ConsultService, workflowClient: WorkflowService, diagnosisClient: DiagnosisService, authenticationCallback?: ((err: Error) => void) | undefined);
|
20
21
|
/**
|
21
22
|
* clears the vaultIndex and cached metadata grants
|
22
23
|
*/
|
package/dist/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ export declare let wasmPath: string;
|
|
8
8
|
* @param tellerBaseURL the teller service base URL
|
9
9
|
* @param vaultBaseURL the vault service base URL
|
10
10
|
* @param guardBaseURL the guard service base URL
|
11
|
+
* @param searchbaseURL the search service base URL
|
11
12
|
* @param practiceBaseURL the practice service base URL
|
12
13
|
* @param consultBaseURL the consult service base URL
|
13
14
|
* @param workflowBaseURL the workflow service base URL
|
@@ -15,7 +16,7 @@ export declare let wasmPath: string;
|
|
15
16
|
* @param authenticationCallback (optional) authenticationCallback the authentification callback
|
16
17
|
* @returns an instance of OroClient
|
17
18
|
*/
|
18
|
-
declare const init: (toolbox: OroToolbox, tellerBaseURL: string, vaultBaseURL: string, guardBaseURL: string, practiceBaseURL: string, consultBaseURL: string, workflowBaseURL: string, diagnosisBaseURL: string, authenticationCallback?: ((err: Error) => void) | undefined) => OroClient;
|
19
|
+
declare const init: (toolbox: OroToolbox, tellerBaseURL: string, vaultBaseURL: string, guardBaseURL: string, searchBaseURL: string, practiceBaseURL: string, consultBaseURL: string, workflowBaseURL: string, diagnosisBaseURL: string, authenticationCallback?: ((err: Error) => void) | undefined) => OroClient;
|
19
20
|
export { OroClient } from './client';
|
20
21
|
export * from 'oro-sdk-apis';
|
21
22
|
export * from './models';
|
@@ -1909,11 +1909,12 @@ function _buildLegacyVaultIndex() {
|
|
1909
1909
|
}
|
1910
1910
|
|
1911
1911
|
var OroClient = /*#__PURE__*/function () {
|
1912
|
-
function OroClient(toolbox, tellerClient, vaultClient, guardClient, practiceClient, consultClient, workflowClient, diagnosisClient, authenticationCallback) {
|
1912
|
+
function OroClient(toolbox, tellerClient, vaultClient, guardClient, searchClient, practiceClient, consultClient, workflowClient, diagnosisClient, authenticationCallback) {
|
1913
1913
|
this.toolbox = toolbox;
|
1914
1914
|
this.tellerClient = tellerClient;
|
1915
1915
|
this.vaultClient = vaultClient;
|
1916
1916
|
this.guardClient = guardClient;
|
1917
|
+
this.searchClient = searchClient;
|
1917
1918
|
this.practiceClient = practiceClient;
|
1918
1919
|
this.consultClient = consultClient;
|
1919
1920
|
this.workflowClient = workflowClient;
|
@@ -5147,6 +5148,7 @@ var wasmPath = 'node_modules/oro-toolbox';
|
|
5147
5148
|
* @param tellerBaseURL the teller service base URL
|
5148
5149
|
* @param vaultBaseURL the vault service base URL
|
5149
5150
|
* @param guardBaseURL the guard service base URL
|
5151
|
+
* @param searchbaseURL the search service base URL
|
5150
5152
|
* @param practiceBaseURL the practice service base URL
|
5151
5153
|
* @param consultBaseURL the consult service base URL
|
5152
5154
|
* @param workflowBaseURL the workflow service base URL
|
@@ -5155,11 +5157,12 @@ var wasmPath = 'node_modules/oro-toolbox';
|
|
5155
5157
|
* @returns an instance of OroClient
|
5156
5158
|
*/
|
5157
5159
|
|
5158
|
-
var init = function init(toolbox, tellerBaseURL, vaultBaseURL, guardBaseURL, practiceBaseURL, consultBaseURL, workflowBaseURL, diagnosisBaseURL, authenticationCallback) {
|
5160
|
+
var init = function init(toolbox, tellerBaseURL, vaultBaseURL, guardBaseURL, searchBaseURL, practiceBaseURL, consultBaseURL, workflowBaseURL, diagnosisBaseURL, authenticationCallback) {
|
5159
5161
|
var _initApis = initApis__default({
|
5160
5162
|
tellerBaseURL: tellerBaseURL,
|
5161
5163
|
vaultBaseURL: vaultBaseURL,
|
5162
5164
|
guardBaseURL: guardBaseURL,
|
5165
|
+
searchBaseURL: searchBaseURL,
|
5163
5166
|
practiceBaseURL: practiceBaseURL,
|
5164
5167
|
consultBaseURL: consultBaseURL,
|
5165
5168
|
workflowBaseURL: workflowBaseURL,
|
@@ -5170,10 +5173,11 @@ var init = function init(toolbox, tellerBaseURL, vaultBaseURL, guardBaseURL, pra
|
|
5170
5173
|
consultService = _initApis.consultService,
|
5171
5174
|
vaultService = _initApis.vaultService,
|
5172
5175
|
guardService = _initApis.guardService,
|
5176
|
+
searchService = _initApis.searchService,
|
5173
5177
|
workflowService = _initApis.workflowService,
|
5174
5178
|
diagnosisService = _initApis.diagnosisService;
|
5175
5179
|
|
5176
|
-
var client = new OroClient(toolbox, tellerService, vaultService, guardService, practiceService, consultService, workflowService, diagnosisService, authenticationCallback);
|
5180
|
+
var client = new OroClient(toolbox, tellerService, vaultService, guardService, searchService, practiceService, consultService, workflowService, diagnosisService, authenticationCallback);
|
5177
5181
|
return client;
|
5178
5182
|
};
|
5179
5183
|
|