@icure/be-fhc-api 0.6.2 → 0.6.3
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/fhcEagreementApi.d.ts +7 -7
- package/api/fhcEagreementApi.js +26 -18
- package/api/fhcEattestV3Api.d.ts +4 -2
- package/api/fhcEattestV3Api.js +6 -2
- package/api/fhcHubApi.d.ts +354 -352
- package/api/fhcHubApi.js +356 -354
- package/api/fhcMediprimaApi.d.ts +22 -2
- package/api/fhcMediprimaApi.js +56 -2
- package/api/fhcStsApi.d.ts +16 -16
- package/api/fhcStsApi.js +16 -16
- package/model/AgreementResponse.d.ts +1 -1
- package/model/Author.d.ts +19 -0
- package/model/Author.js +20 -0
- package/model/CbssStatusType.d.ts +19 -0
- package/model/CbssStatusType.js +9 -0
- package/model/EAgreementResponse.d.ts +24 -0
- package/model/EAgreementResponse.js +10 -0
- package/model/InsurancyMembership.d.ts +16 -0
- package/model/InsurancyMembership.js +20 -0
- package/model/InsurancyStatus.d.ts +18 -0
- package/model/InsurancyStatus.js +20 -0
- package/model/MedicalCardRegistryMessageType.d.ts +19 -0
- package/model/MedicalCardRegistryMessageType.js +9 -0
- package/model/MedicalCardRegistryStatusType.d.ts +16 -0
- package/model/MedicalCardRegistryStatusType.js +9 -0
- package/model/MediprimaMdaResponse.d.ts +23 -0
- package/model/MediprimaMdaResponse.js +9 -0
- package/model/MediprimaNumber.d.ts +16 -0
- package/model/MediprimaNumber.js +20 -0
- package/model/Prescription.d.ts +2 -2
- package/model/Pswc.d.ts +17 -0
- package/model/Pswc.js +20 -0
- package/model/TarificationMediprimaConsultationResult.d.ts +26 -0
- package/model/TarificationMediprimaConsultationResult.js +9 -0
- package/model/models.d.ts +11 -0
- package/model/models.js +11 -0
- package/package.json +1 -1
package/api/fhcMediprimaApi.d.ts
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { XHR } from "./XHR";
|
|
13
|
-
import {
|
|
13
|
+
import { MediprimaMdaResponse } from "../model/MediprimaMdaResponse";
|
|
14
|
+
import { TarificationMediprimaConsultationResult } from "../model/TarificationMediprimaConsultationResult";
|
|
14
15
|
export declare class fhcMediprimaApi {
|
|
15
16
|
host: string;
|
|
16
17
|
headers: Array<XHR.Header>;
|
|
@@ -18,6 +19,25 @@ export declare class fhcMediprimaApi {
|
|
|
18
19
|
constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>);
|
|
19
20
|
setHeaders(h: Array<XHR.Header>): void;
|
|
20
21
|
handleError(e: XHR.XHRError): never;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary consultMediprimaTarification
|
|
25
|
+
* @param body codes
|
|
26
|
+
* @param patientSsin patientSsin
|
|
27
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
28
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
29
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
30
|
+
* @param hcpFirstName hcpFirstName
|
|
31
|
+
* @param hcpLastName hcpLastName
|
|
32
|
+
* @param hcpNihii hcpNihii
|
|
33
|
+
* @param hcpSsin hcpSsin
|
|
34
|
+
* @param date date
|
|
35
|
+
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
36
|
+
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
37
|
+
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
38
|
+
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
39
|
+
*/
|
|
40
|
+
consultMediprimaTarificationUsingPOST(patientSsin: string, xFHCTokenId: string, xFHCKeystoreId: string, xFHCPassPhrase: string, hcpFirstName: string, hcpLastName: string, hcpNihii: string, hcpSsin: string, date: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, body?: Array<string>): Promise<TarificationMediprimaConsultationResult>;
|
|
21
41
|
/**
|
|
22
42
|
*
|
|
23
43
|
* @summary consultMediprima
|
|
@@ -33,5 +53,5 @@ export declare class fhcMediprimaApi {
|
|
|
33
53
|
* @param endDate endDate
|
|
34
54
|
* @param referenceDate referenceDate
|
|
35
55
|
*/
|
|
36
|
-
consultMediprimaUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin: string, hcpName: string, patientSsin: string, startDate?: number, endDate?: number, referenceDate?: number): Promise<
|
|
56
|
+
consultMediprimaUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin: string, hcpName: string, patientSsin: string, startDate?: number, endDate?: number, referenceDate?: number): Promise<MediprimaMdaResponse>;
|
|
37
57
|
}
|
package/api/fhcMediprimaApi.js
CHANGED
|
@@ -13,7 +13,8 @@ exports.fhcMediprimaApi = void 0;
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
const XHR_1 = require("./XHR");
|
|
16
|
-
const
|
|
16
|
+
const MediprimaMdaResponse_1 = require("../model/MediprimaMdaResponse");
|
|
17
|
+
const TarificationMediprimaConsultationResult_1 = require("../model/TarificationMediprimaConsultationResult");
|
|
17
18
|
class fhcMediprimaApi {
|
|
18
19
|
constructor(host, headers, fetchImpl) {
|
|
19
20
|
this.host = host;
|
|
@@ -26,6 +27,59 @@ class fhcMediprimaApi {
|
|
|
26
27
|
handleError(e) {
|
|
27
28
|
throw e;
|
|
28
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @summary consultMediprimaTarification
|
|
33
|
+
* @param body codes
|
|
34
|
+
* @param patientSsin patientSsin
|
|
35
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
36
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
37
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
38
|
+
* @param hcpFirstName hcpFirstName
|
|
39
|
+
* @param hcpLastName hcpLastName
|
|
40
|
+
* @param hcpNihii hcpNihii
|
|
41
|
+
* @param hcpSsin hcpSsin
|
|
42
|
+
* @param date date
|
|
43
|
+
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
44
|
+
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
45
|
+
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
46
|
+
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
47
|
+
*/
|
|
48
|
+
consultMediprimaTarificationUsingPOST(patientSsin, xFHCTokenId, xFHCKeystoreId, xFHCPassPhrase, hcpFirstName, hcpLastName, hcpNihii, hcpSsin, date, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, body) {
|
|
49
|
+
let _body = null;
|
|
50
|
+
_body = body;
|
|
51
|
+
const _url = this.host +
|
|
52
|
+
`/mediprima/consultTarificationMediprima/${encodeURIComponent(String(patientSsin))}` +
|
|
53
|
+
"?ts=" +
|
|
54
|
+
new Date().getTime() +
|
|
55
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
56
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
57
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
58
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
59
|
+
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
60
|
+
(traineeSupervisorSsin
|
|
61
|
+
? "&traineeSupervisorSsin=" + encodeURIComponent(String(traineeSupervisorSsin))
|
|
62
|
+
: "") +
|
|
63
|
+
(traineeSupervisorNihii
|
|
64
|
+
? "&traineeSupervisorNihii=" + encodeURIComponent(String(traineeSupervisorNihii))
|
|
65
|
+
: "") +
|
|
66
|
+
(traineeSupervisorFirstName
|
|
67
|
+
? "&traineeSupervisorFirstName=" + encodeURIComponent(String(traineeSupervisorFirstName))
|
|
68
|
+
: "") +
|
|
69
|
+
(traineeSupervisorLastName
|
|
70
|
+
? "&traineeSupervisorLastName=" + encodeURIComponent(String(traineeSupervisorLastName))
|
|
71
|
+
: "");
|
|
72
|
+
let headers = this.headers;
|
|
73
|
+
headers = headers
|
|
74
|
+
.filter(h => h.header !== "Content-Type")
|
|
75
|
+
.concat(new XHR_1.XHR.Header("Content-Type", "application/json"));
|
|
76
|
+
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
77
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
|
|
78
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
79
|
+
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
80
|
+
.then(doc => new TarificationMediprimaConsultationResult_1.TarificationMediprimaConsultationResult(doc.body))
|
|
81
|
+
.catch(err => this.handleError(err));
|
|
82
|
+
}
|
|
29
83
|
/**
|
|
30
84
|
*
|
|
31
85
|
* @summary consultMediprima
|
|
@@ -59,7 +113,7 @@ class fhcMediprimaApi {
|
|
|
59
113
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
60
114
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
61
115
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
62
|
-
.then(doc => new
|
|
116
|
+
.then(doc => new MediprimaMdaResponse_1.MediprimaMdaResponse(doc.body))
|
|
63
117
|
.catch(err => this.handleError(err));
|
|
64
118
|
}
|
|
65
119
|
}
|
package/api/fhcStsApi.d.ts
CHANGED
|
@@ -23,20 +23,20 @@ export declare class fhcStsApi {
|
|
|
23
23
|
setHeaders(h: Array<XHR.Header>): void;
|
|
24
24
|
handleError(e: XHR.XHRError): never;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @summary
|
|
26
|
+
* Retrieves a SAML token for the user identified by the given keystoreId and passPhrase. The tokenId is used to identify the token. This endpoint is useful for obtaining a SAML token that can be used for authentication and authorization in other systems.
|
|
27
|
+
* @summary Get a SAML token
|
|
28
28
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
29
29
|
*/
|
|
30
30
|
checkKeystoreExistUsingGET(xFHCKeystoreId: string): Promise<boolean>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary
|
|
32
|
+
* Check that a cached SAML token is still valid. The tokenId is used to identify the token. This endpoint is useful for verifying the validity of a cached SAML token before using it for authentication or authorization.
|
|
33
|
+
* @summary Check a SAML token validity
|
|
34
34
|
* @param xFHCTokenId X-FHC-tokenId
|
|
35
35
|
*/
|
|
36
36
|
checkTokenValidUsingGET(xFHCTokenId: string): Promise<boolean>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary
|
|
38
|
+
* Uses a previously obtained SAML token to get a Bearer token. The tokenId is used to identify the SAML token, and the passPhrase is used to decrypt the keystore file. The ssin is the social security number of the user, and the keystoreId is the UUID of the keystore file. This endpoint is useful for obtaining a Bearer token that can be used for API authentication.
|
|
39
|
+
* @summary Get a Bearer token from a SAML token
|
|
40
40
|
* @param xFHCTokenId X-FHC-tokenId
|
|
41
41
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
42
42
|
* @param ssin ssin
|
|
@@ -44,15 +44,15 @@ export declare class fhcStsApi {
|
|
|
44
44
|
*/
|
|
45
45
|
getBearerTokenUsingGET(xFHCTokenId: string, xFHCPassPhrase: string, ssin: string, xFHCKeystoreId: string): Promise<BearerToken>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @summary
|
|
47
|
+
* Retrieves information about the keystore file associated with the given keystoreId. The keystoreId is the UUID returned by the uploadKeystore endpoint. The passPhrase is used to decrypt the keystore file. Returns a CertificateInfo object containing details about the keystore, such as validity period, owner, and other relevant information.
|
|
48
|
+
* @summary Get information about the keystore file (validity, owner, etc.)
|
|
49
49
|
* @param keystoreId keystoreId
|
|
50
50
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
51
51
|
*/
|
|
52
52
|
getKeystoreInfoUsingGET(keystoreId: string, xFHCPassPhrase: string): Promise<CertificateInfo>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary
|
|
54
|
+
* Uses a previously obtained SAML token to get an OAuth2 token. The tokenId is used to identify the SAML token, and the passPhrase is used to decrypt the keystore file. The cbe (Common Business Entity) and kid (Key Identifier) are used to specify the OAuth2 token request. This endpoint is useful for obtaining an OAuth2 token that can be used for API authentication.
|
|
55
|
+
* @summary Get a OAuth2 token from a SAML token
|
|
56
56
|
* @param xFHCTokenId X-FHC-tokenId
|
|
57
57
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
58
58
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
@@ -61,16 +61,16 @@ export declare class fhcStsApi {
|
|
|
61
61
|
*/
|
|
62
62
|
getOauth2TokenUsingGET(xFHCTokenId: string, xFHCPassPhrase: string, xFHCKeystoreId: string, cbe: string, kid: string): Promise<TokenResponse>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @summary
|
|
64
|
+
* Allows the registration of a SAML token obtained from an external source. The tokenId is used to identify the token, and the quality parameter specifies the type of token (e.g., doctor). If no quality is specified, it defaults to 'doctor'. This endpoint is useful for integrating with external systems that provide SAML tokens.
|
|
65
|
+
* @summary Register a SAML token obtained externally
|
|
66
66
|
* @param body token
|
|
67
67
|
* @param xFHCTokenId X-FHC-tokenId
|
|
68
68
|
* @param quality quality
|
|
69
69
|
*/
|
|
70
70
|
registerTokenUsingPOST(xFHCTokenId: string, quality?: string, body?: string): Promise<any | Boolean>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary
|
|
72
|
+
* Requests a token for the user identified by the given SSIN and keystoreId. The passPhrase is used to decrypt the keystore file. The quality parameter specifies the type of token to request (e.g., doctor, medicalhouse, guardpost, sortingcenter). If a previousTokenId is provided, it will be used to renew the token.
|
|
73
|
+
* @summary Request a token
|
|
74
74
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
75
75
|
* @param ssin ssin
|
|
76
76
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
@@ -91,8 +91,8 @@ export declare class fhcStsApi {
|
|
|
91
91
|
*/
|
|
92
92
|
requestTokenUsingGET1(xFHCPassPhrase: string, ssin: string, xFHCKeystoreId: string, isMedicalHouse?: boolean, isGuardPost?: boolean, isSortingCenter?: boolean, xFHCTokenId?: string): Promise<SamlTokenResult>;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
95
|
-
* @summary
|
|
94
|
+
* Uploads a keystore file to the STS service and returns the UUID of the uploaded keystore. The kestore file must be in PKCS12 format and should contain the private key and certificate chain for the user. It will never be stored anywhere but encrypted in RAM
|
|
95
|
+
* @summary Upload a keystore file
|
|
96
96
|
* @param file
|
|
97
97
|
*/
|
|
98
98
|
uploadKeystoreUsingPOST(file: ArrayBuffer | any[]): Promise<UUIDType>;
|
package/api/fhcStsApi.js
CHANGED
|
@@ -31,8 +31,8 @@ class fhcStsApi {
|
|
|
31
31
|
throw e;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary
|
|
34
|
+
* Retrieves a SAML token for the user identified by the given keystoreId and passPhrase. The tokenId is used to identify the token. This endpoint is useful for obtaining a SAML token that can be used for authentication and authorization in other systems.
|
|
35
|
+
* @summary Get a SAML token
|
|
36
36
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
37
37
|
*/
|
|
38
38
|
checkKeystoreExistUsingGET(xFHCKeystoreId) {
|
|
@@ -45,8 +45,8 @@ class fhcStsApi {
|
|
|
45
45
|
.catch(err => this.handleError(err));
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @summary
|
|
48
|
+
* Check that a cached SAML token is still valid. The tokenId is used to identify the token. This endpoint is useful for verifying the validity of a cached SAML token before using it for authentication or authorization.
|
|
49
|
+
* @summary Check a SAML token validity
|
|
50
50
|
* @param xFHCTokenId X-FHC-tokenId
|
|
51
51
|
*/
|
|
52
52
|
checkTokenValidUsingGET(xFHCTokenId) {
|
|
@@ -59,8 +59,8 @@ class fhcStsApi {
|
|
|
59
59
|
.catch(err => this.handleError(err));
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary
|
|
62
|
+
* Uses a previously obtained SAML token to get a Bearer token. The tokenId is used to identify the SAML token, and the passPhrase is used to decrypt the keystore file. The ssin is the social security number of the user, and the keystoreId is the UUID of the keystore file. This endpoint is useful for obtaining a Bearer token that can be used for API authentication.
|
|
63
|
+
* @summary Get a Bearer token from a SAML token
|
|
64
64
|
* @param xFHCTokenId X-FHC-tokenId
|
|
65
65
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
66
66
|
* @param ssin ssin
|
|
@@ -82,8 +82,8 @@ class fhcStsApi {
|
|
|
82
82
|
.catch(err => this.handleError(err));
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary
|
|
85
|
+
* Retrieves information about the keystore file associated with the given keystoreId. The keystoreId is the UUID returned by the uploadKeystore endpoint. The passPhrase is used to decrypt the keystore file. Returns a CertificateInfo object containing details about the keystore, such as validity period, owner, and other relevant information.
|
|
86
|
+
* @summary Get information about the keystore file (validity, owner, etc.)
|
|
87
87
|
* @param keystoreId keystoreId
|
|
88
88
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
89
89
|
*/
|
|
@@ -100,8 +100,8 @@ class fhcStsApi {
|
|
|
100
100
|
.catch(err => this.handleError(err));
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @summary
|
|
103
|
+
* Uses a previously obtained SAML token to get an OAuth2 token. The tokenId is used to identify the SAML token, and the passPhrase is used to decrypt the keystore file. The cbe (Common Business Entity) and kid (Key Identifier) are used to specify the OAuth2 token request. This endpoint is useful for obtaining an OAuth2 token that can be used for API authentication.
|
|
104
|
+
* @summary Get a OAuth2 token from a SAML token
|
|
105
105
|
* @param xFHCTokenId X-FHC-tokenId
|
|
106
106
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
107
107
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
@@ -123,8 +123,8 @@ class fhcStsApi {
|
|
|
123
123
|
.catch(err => this.handleError(err));
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
127
|
-
* @summary
|
|
126
|
+
* Allows the registration of a SAML token obtained from an external source. The tokenId is used to identify the token, and the quality parameter specifies the type of token (e.g., doctor). If no quality is specified, it defaults to 'doctor'. This endpoint is useful for integrating with external systems that provide SAML tokens.
|
|
127
|
+
* @summary Register a SAML token obtained externally
|
|
128
128
|
* @param body token
|
|
129
129
|
* @param xFHCTokenId X-FHC-tokenId
|
|
130
130
|
* @param quality quality
|
|
@@ -147,8 +147,8 @@ class fhcStsApi {
|
|
|
147
147
|
.catch(err => this.handleError(err));
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @summary
|
|
150
|
+
* Requests a token for the user identified by the given SSIN and keystoreId. The passPhrase is used to decrypt the keystore file. The quality parameter specifies the type of token to request (e.g., doctor, medicalhouse, guardpost, sortingcenter). If a previousTokenId is provided, it will be used to renew the token.
|
|
151
|
+
* @summary Request a token
|
|
152
152
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
153
153
|
* @param ssin ssin
|
|
154
154
|
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
@@ -200,8 +200,8 @@ class fhcStsApi {
|
|
|
200
200
|
.catch(err => this.handleError(err));
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
204
|
-
* @summary
|
|
203
|
+
* Uploads a keystore file to the STS service and returns the UUID of the uploaded keystore. The kestore file must be in PKCS12 format and should contain the private key and certificate chain for the user. It will never be stored anywhere but encrypted in RAM
|
|
204
|
+
* @summary Upload a keystore file
|
|
205
205
|
* @param file
|
|
206
206
|
*/
|
|
207
207
|
uploadKeystoreUsingPOST(file) {
|
|
@@ -15,7 +15,7 @@ import { MycarenetConversation } from "./MycarenetConversation";
|
|
|
15
15
|
import { MycarenetError } from "./MycarenetError";
|
|
16
16
|
export declare class AgreementResponse {
|
|
17
17
|
constructor(json: JSON | any);
|
|
18
|
-
|
|
18
|
+
acknowledged?: boolean;
|
|
19
19
|
commonOutput?: CommonOutput;
|
|
20
20
|
content?: ArrayBuffer;
|
|
21
21
|
errors?: Array<MycarenetError>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class Author {
|
|
13
|
+
constructor(json: JSON | any);
|
|
14
|
+
firstName?: string;
|
|
15
|
+
hcpType?: string;
|
|
16
|
+
inss?: string;
|
|
17
|
+
lastName?: string;
|
|
18
|
+
nihii?: string;
|
|
19
|
+
}
|
package/model/Author.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Api Documentation
|
|
4
|
+
* Api Documentation
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Author = void 0;
|
|
15
|
+
class Author {
|
|
16
|
+
constructor(json) {
|
|
17
|
+
Object.assign(this, json);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Author = Author;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InformationType } from "./InformationType";
|
|
13
|
+
export declare class CbssStatusType {
|
|
14
|
+
constructor(json: JSON | any);
|
|
15
|
+
code?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
information?: Array<InformationType>;
|
|
18
|
+
value?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CommonOutput } from "./CommonOutput";
|
|
13
|
+
import { MycarenetConversation } from "./MycarenetConversation";
|
|
14
|
+
import { MycarenetError } from "./MycarenetError";
|
|
15
|
+
export declare class EAgreementResponse {
|
|
16
|
+
constructor(json: JSON | any);
|
|
17
|
+
acknowledged?: boolean;
|
|
18
|
+
commonOutput?: CommonOutput;
|
|
19
|
+
content?: ArrayBuffer;
|
|
20
|
+
errors?: Array<MycarenetError>;
|
|
21
|
+
mycarenetConversation?: MycarenetConversation;
|
|
22
|
+
warnings?: Array<MycarenetError>;
|
|
23
|
+
xades?: ArrayBuffer;
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EAgreementResponse = void 0;
|
|
4
|
+
const ModelHelper_1 = require("./ModelHelper");
|
|
5
|
+
class EAgreementResponse {
|
|
6
|
+
constructor(json) {
|
|
7
|
+
Object.assign(this, json, json.content ? { content: (0, ModelHelper_1.decodeBase64)(json.content) } : {}, json.xades ? { xades: (0, ModelHelper_1.decodeBase64)(json.xades) } : {});
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.EAgreementResponse = EAgreementResponse;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class InsurancyMembership {
|
|
13
|
+
constructor(json: JSON | any);
|
|
14
|
+
idInsurance?: string;
|
|
15
|
+
membership?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Api Documentation
|
|
4
|
+
* Api Documentation
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.InsurancyMembership = void 0;
|
|
15
|
+
class InsurancyMembership {
|
|
16
|
+
constructor(json) {
|
|
17
|
+
Object.assign(this, json);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.InsurancyMembership = InsurancyMembership;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class InsurancyStatus {
|
|
13
|
+
constructor(json: JSON | any);
|
|
14
|
+
cg1?: string;
|
|
15
|
+
cg2?: string;
|
|
16
|
+
idInsurance?: string;
|
|
17
|
+
membership?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Api Documentation
|
|
4
|
+
* Api Documentation
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.InsurancyStatus = void 0;
|
|
15
|
+
class InsurancyStatus {
|
|
16
|
+
constructor(json) {
|
|
17
|
+
Object.assign(this, json);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.InsurancyStatus = InsurancyStatus;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { NameType } from "./NameType";
|
|
13
|
+
export declare class MedicalCardRegistryMessageType {
|
|
14
|
+
constructor(json: JSON | any);
|
|
15
|
+
communication?: Array<NameType>;
|
|
16
|
+
reasonCode?: string;
|
|
17
|
+
severity?: string;
|
|
18
|
+
source?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MedicalCardRegistryMessageType = void 0;
|
|
4
|
+
class MedicalCardRegistryMessageType {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
Object.assign(this, json);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.MedicalCardRegistryMessageType = MedicalCardRegistryMessageType;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { MedicalCardRegistryMessageType } from "./MedicalCardRegistryMessageType";
|
|
13
|
+
export declare class MedicalCardRegistryStatusType {
|
|
14
|
+
constructor(json: JSON | any);
|
|
15
|
+
medicalCardRegistryMessage?: Array<MedicalCardRegistryMessageType>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MedicalCardRegistryStatusType = void 0;
|
|
4
|
+
class MedicalCardRegistryStatusType {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
Object.assign(this, json);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.MedicalCardRegistryStatusType = MedicalCardRegistryStatusType;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CbssStatusType } from "./CbssStatusType";
|
|
13
|
+
import { ConsultCarmedInterventionResponseType } from "./ConsultCarmedInterventionResponseType";
|
|
14
|
+
import { MedicalCardRegistryStatusType } from "./MedicalCardRegistryStatusType";
|
|
15
|
+
import { MycarenetConversation } from "./MycarenetConversation";
|
|
16
|
+
export declare class MediprimaMdaResponse {
|
|
17
|
+
constructor(json: JSON | any);
|
|
18
|
+
cbssStatus?: CbssStatusType;
|
|
19
|
+
medicalStatus?: MedicalCardRegistryStatusType;
|
|
20
|
+
mycarenetConversation?: MycarenetConversation;
|
|
21
|
+
response?: ConsultCarmedInterventionResponseType;
|
|
22
|
+
status?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediprimaMdaResponse = void 0;
|
|
4
|
+
class MediprimaMdaResponse {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
Object.assign(this, json);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.MediprimaMdaResponse = MediprimaMdaResponse;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class MediprimaNumber {
|
|
13
|
+
constructor(json: JSON | any);
|
|
14
|
+
number?: string;
|
|
15
|
+
version?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Api Documentation
|
|
4
|
+
* Api Documentation
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MediprimaNumber = void 0;
|
|
15
|
+
class MediprimaNumber {
|
|
16
|
+
constructor(json) {
|
|
17
|
+
Object.assign(this, json);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.MediprimaNumber = MediprimaNumber;
|
package/model/Prescription.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { Kmehrmessage } from "./Kmehrmessage";
|
|
13
13
|
export declare class Prescription {
|
|
14
14
|
constructor(json: JSON | any);
|
|
15
|
-
creationDate?:
|
|
15
|
+
creationDate?: Date;
|
|
16
16
|
decryptedContent?: Kmehrmessage;
|
|
17
17
|
encryptionKeyId?: string;
|
|
18
18
|
feedbackAllowed?: boolean;
|
|
@@ -22,6 +22,6 @@ export declare class Prescription {
|
|
|
22
22
|
requestXml?: string;
|
|
23
23
|
rid?: string;
|
|
24
24
|
status?: string;
|
|
25
|
-
validUntil?:
|
|
25
|
+
validUntil?: Date;
|
|
26
26
|
visionByOthers?: string;
|
|
27
27
|
}
|
package/model/Pswc.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class Pswc {
|
|
13
|
+
constructor(json: JSON | any);
|
|
14
|
+
cbe?: string;
|
|
15
|
+
contentFr?: string;
|
|
16
|
+
contentNl?: string;
|
|
17
|
+
}
|