@icure/be-fhc-api 0.5.5 → 0.5.6
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/api/fhcHubApi.d.ts +1 -1
- package/api/fhcHubApi.js +3 -2
- package/package.json +4 -2
package/api/fhcHubApi.d.ts
CHANGED
|
@@ -375,7 +375,7 @@ export declare class fhcHubApi {
|
|
|
375
375
|
* @param from from
|
|
376
376
|
* @param to to
|
|
377
377
|
*/
|
|
378
|
-
registerTherapeuticLinkUsingPOST(endpoint: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpLastName: string, hcpFirstName: string, hcpNihii: string, hcpSsin: string, hcpZip: string, patientSsin: string, hubPackageId?: string, patientEidCardNumber?: string, patientIsiCardNumber?: string, from?: number, to?: number): Promise<PutTherapeuticLinkResponse>;
|
|
378
|
+
registerTherapeuticLinkUsingPOST(endpoint: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpLastName: string, hcpFirstName: string, hcpNihii: string, hcpSsin: string, hcpZip: string, patientSsin: string, hubPackageId?: string, patientEidCardNumber?: string, patientIsiCardNumber?: string, from?: number, to?: number, therLinkType?: string): Promise<PutTherapeuticLinkResponse>;
|
|
379
379
|
/**
|
|
380
380
|
*
|
|
381
381
|
* @summary revokeAccessRight
|
package/api/fhcHubApi.js
CHANGED
|
@@ -788,7 +788,7 @@ class fhcHubApi {
|
|
|
788
788
|
* @param from from
|
|
789
789
|
* @param to to
|
|
790
790
|
*/
|
|
791
|
-
registerTherapeuticLinkUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber, from, to) {
|
|
791
|
+
registerTherapeuticLinkUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber, from, to, therLinkType) {
|
|
792
792
|
let _body = null;
|
|
793
793
|
const _url = this.host +
|
|
794
794
|
`/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(String(patientSsin))}` +
|
|
@@ -807,7 +807,8 @@ class fhcHubApi {
|
|
|
807
807
|
? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
|
|
808
808
|
: "") +
|
|
809
809
|
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
810
|
-
(to ? "&to=" + encodeURIComponent(String(to)) : "")
|
|
810
|
+
(to ? "&to=" + encodeURIComponent(String(to)) : "") +
|
|
811
|
+
(therLinkType ? "&therLinkType=" + encodeURIComponent(String(from)) : "");
|
|
811
812
|
let headers = this.headers;
|
|
812
813
|
xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
|
|
813
814
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icure/be-fhc-api",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Typescript version of Freehealth Connector standalone API client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@icure/api": "^8.0.61",
|
|
9
8
|
"lodash": "^4.17.20"
|
|
10
9
|
},
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"@icure/api": "~8.1.2"
|
|
12
|
+
},
|
|
11
13
|
"author": "Taktik sa",
|
|
12
14
|
"license": "MIT",
|
|
13
15
|
"bugs": {
|