Comparing version 1.0.33 to 1.0.34
@@ -32,4 +32,4 @@ /** | ||
handleError(e: XHR.Data): void; | ||
sendAttestUsingPOST(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, attest: models.Eattest, date?: number): Promise<models.SendAttestResult | any>; | ||
sendAttestWithResponseUsingPOST(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, attest: models.Eattest, date?: number): Promise<models.SendAttestResultWithResponse | any>; | ||
sendAttestUsingPOST(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, attest: models.Eattest, date?: number): Promise<models.SendAttestResult | any>; | ||
sendAttestWithResponseUsingPOST(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, attest: models.Eattest, date?: number): Promise<models.SendAttestResultWithResponse | any>; | ||
} |
@@ -40,3 +40,3 @@ /** | ||
} | ||
sendAttestUsingPOST(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, attest, date) { | ||
sendAttestUsingPOST(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, attest, date) { | ||
let _body = null; | ||
@@ -53,2 +53,5 @@ _body = attest; | ||
(hcpCbe ? "&hcpCbe=" + hcpCbe : "") + | ||
(patientFirstName ? "&patientFirstName=" + patientFirstName : "") + | ||
(patientLastName ? "&patientLastName=" + patientLastName : "") + | ||
(patientGender ? "&patientGender=" + patientGender : "") + | ||
(date ? "&date=" + date : ""); | ||
@@ -66,3 +69,3 @@ let headers = this.headers; | ||
} | ||
sendAttestWithResponseUsingPOST(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, attest, date) { | ||
sendAttestWithResponseUsingPOST(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, attest, date) { | ||
let _body = null; | ||
@@ -79,2 +82,5 @@ _body = attest; | ||
(hcpCbe ? "&hcpCbe=" + hcpCbe : "") + | ||
(patientFirstName ? "&patientFirstName=" + patientFirstName : "") + | ||
(patientLastName ? "&patientLastName=" + patientLastName : "") + | ||
(patientGender ? "&patientGender=" + patientGender : "") + | ||
(date ? "&date=" + date : ""); | ||
@@ -81,0 +87,0 @@ let headers = this.headers; |
{ | ||
"name": "fhc-api", | ||
"version": "1.0.33", | ||
"version": "1.0.34", | ||
"description": "Typescript version of Freehealth Connector standalone API client", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
449337
11887