@icure/be-fhc-api 0.4.4 → 0.4.7

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.
Files changed (65) hide show
  1. package/api/fhcDataAttributeServiceApi.d.ts +37 -0
  2. package/api/fhcDataAttributeServiceApi.js +65 -0
  3. package/api/fhcEhboxV3Api.d.ts +10 -0
  4. package/api/fhcEhboxV3Api.js +23 -0
  5. package/api/fhcSchematronApi.d.ts +29 -0
  6. package/api/fhcSchematronApi.js +53 -0
  7. package/fhcApi.d.ts +2 -6
  8. package/fhcApi.js +2 -7
  9. package/model/Acknowledgement.d.ts +19 -0
  10. package/model/Acknowledgement.js +9 -0
  11. package/model/ActivePattern.d.ts +18 -0
  12. package/model/ActivePattern.js +20 -0
  13. package/model/DaasResponse.d.ts +20 -0
  14. package/model/DaasResponse.js +9 -0
  15. package/model/DiagnosticReference.d.ts +16 -0
  16. package/model/DiagnosticReference.js +20 -0
  17. package/model/EhboxIdentifierType.d.ts +20 -0
  18. package/model/EhboxIdentifierType.js +9 -0
  19. package/model/FailedAssert.d.ts +22 -0
  20. package/model/FailedAssert.js +9 -0
  21. package/model/FiredRule.d.ts +18 -0
  22. package/model/FiredRule.js +20 -0
  23. package/model/ItemType.d.ts +2 -2
  24. package/model/KmehrRegimen.d.ts +16 -0
  25. package/model/KmehrRegimen.js +9 -0
  26. package/model/Mapstringstring.d.ts +15 -0
  27. package/model/Mapstringstring.js +20 -0
  28. package/model/MessageOperationResponse.d.ts +1 -0
  29. package/model/MessageStatusOperationResponse.d.ts +19 -0
  30. package/model/MessageStatusOperationResponse.js +9 -0
  31. package/model/Ns.d.ts +16 -0
  32. package/model/Ns.js +20 -0
  33. package/model/NsPrefixInAttributeValues.d.ts +16 -0
  34. package/model/NsPrefixInAttributeValues.js +20 -0
  35. package/model/SchematronOutput.d.ts +30 -0
  36. package/model/SchematronOutput.js +9 -0
  37. package/model/SchematronValidationResult.d.ts +20 -0
  38. package/model/SchematronValidationResult.js +9 -0
  39. package/model/SuccessfulReport.d.ts +22 -0
  40. package/model/SuccessfulReport.js +9 -0
  41. package/model/User.d.ts +17 -0
  42. package/model/User.js +20 -0
  43. package/model/models.d.ts +19 -0
  44. package/model/models.js +19 -0
  45. package/package.json +1 -1
  46. package/x-api/message-x-api.d.ts +0 -35
  47. package/x-api/message-x-api.js +0 -790
  48. package/x-api/receipt-x-api.d.ts +0 -10
  49. package/x-api/receipt-x-api.js +0 -42
  50. package/x-api/utils/efact-parser.d.ts +0 -234
  51. package/x-api/utils/efact-parser.js +0 -1121
  52. package/x-api/utils/efact-util.d.ts +0 -28
  53. package/x-api/utils/efact-util.js +0 -316
  54. package/x-api/utils/fhc-invoice-sender-util.d.ts +0 -3
  55. package/x-api/utils/fhc-invoice-sender-util.js +0 -31
  56. package/x-api/utils/fhc-patient-util.d.ts +0 -3
  57. package/x-api/utils/fhc-patient-util.js +0 -20
  58. package/x-api/utils/formatting-util.d.ts +0 -76
  59. package/x-api/utils/formatting-util.js +0 -218
  60. package/x-api/utils/hcp-util.d.ts +0 -16
  61. package/x-api/utils/hcp-util.js +0 -131
  62. package/x-api/utils/insurability-util.d.ts +0 -22
  63. package/x-api/utils/insurability-util.js +0 -56
  64. package/x-api/utils/uuid-encoder.d.ts +0 -44
  65. package/x-api/utils/uuid-encoder.js +0 -110
@@ -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 { Acknowledgement } from "./Acknowledgement";
13
+ export declare class MessageStatusOperationResponse {
14
+ constructor(json: JSON | any);
15
+ acks?: Array<Acknowledgement>;
16
+ error?: Error;
17
+ messageId?: string;
18
+ success?: boolean;
19
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageStatusOperationResponse = void 0;
4
+ class MessageStatusOperationResponse {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.MessageStatusOperationResponse = MessageStatusOperationResponse;
package/model/Ns.d.ts ADDED
@@ -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 Ns {
13
+ constructor(json: JSON | any);
14
+ prefix?: string;
15
+ uri?: string;
16
+ }
package/model/Ns.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.Ns = void 0;
15
+ class Ns {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.Ns = Ns;
@@ -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 NsPrefixInAttributeValues {
13
+ constructor(json: JSON | any);
14
+ prefix?: string;
15
+ uri?: 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.NsPrefixInAttributeValues = void 0;
15
+ class NsPrefixInAttributeValues {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.NsPrefixInAttributeValues = NsPrefixInAttributeValues;
@@ -0,0 +1,30 @@
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 { ActivePattern } from "./ActivePattern";
13
+ import { FailedAssert } from "./FailedAssert";
14
+ import { FiredRule } from "./FiredRule";
15
+ import { Ns } from "./Ns";
16
+ import { NsPrefixInAttributeValues } from "./NsPrefixInAttributeValues";
17
+ import { SuccessfulReport } from "./SuccessfulReport";
18
+ export declare class SchematronOutput {
19
+ constructor(json: JSON | any);
20
+ activePattern?: Array<ActivePattern>;
21
+ failedAssert?: Array<FailedAssert>;
22
+ firedRule?: Array<FiredRule>;
23
+ ns?: Array<Ns>;
24
+ nsPrefixInAttributeValues?: Array<NsPrefixInAttributeValues>;
25
+ phase?: string;
26
+ schemaVersion?: string;
27
+ successfulReport?: Array<SuccessfulReport>;
28
+ text?: Array<string>;
29
+ title?: string;
30
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SchematronOutput = void 0;
4
+ class SchematronOutput {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.SchematronOutput = SchematronOutput;
@@ -0,0 +1,20 @@
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 { SchematronOutput } from "./SchematronOutput";
13
+ export declare class SchematronValidationResult {
14
+ constructor(json: JSON | any);
15
+ failedMessages?: Array<string>;
16
+ reportMessages?: Array<string>;
17
+ svrl?: SchematronOutput;
18
+ svrlasString?: string;
19
+ valid?: boolean;
20
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SchematronValidationResult = void 0;
4
+ class SchematronValidationResult {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.SchematronValidationResult = SchematronValidationResult;
@@ -0,0 +1,22 @@
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 { DiagnosticReference } from "./DiagnosticReference";
13
+ export declare class SuccessfulReport {
14
+ constructor(json: JSON | any);
15
+ diagnosticReference?: Array<DiagnosticReference>;
16
+ flag?: string;
17
+ id?: string;
18
+ location?: string;
19
+ role?: string;
20
+ test?: string;
21
+ text?: string;
22
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SuccessfulReport = void 0;
4
+ class SuccessfulReport {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.SuccessfulReport = SuccessfulReport;
@@ -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 User {
13
+ constructor(json: JSON | any);
14
+ firstName?: string;
15
+ lastName?: string;
16
+ value?: string;
17
+ }
package/model/User.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.User = void 0;
15
+ class User {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.User = User;
package/model/models.d.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  export * from "./AccessRightListType";
2
2
  export * from "./AccessRightType";
3
3
  export * from "./AcknowledgeType";
4
+ export * from "./Acknowledgement";
5
+ export * from "./AcknowledgeType";
4
6
  export * from "./AcknowledgmentType";
5
7
  export * from "./ActType";
8
+ export * from "./ActivePattern";
6
9
  export * from "./AddVaccinationsResponseType";
7
10
  export * from "./AddedDocumentPreview";
8
11
  export * from "./Address";
@@ -126,6 +129,7 @@ export * from "./ContentType";
126
129
  export * from "./ContentlocalitemattributeType";
127
130
  export * from "./CostType";
128
131
  export * from "./CountryType";
132
+ export * from "./DaasResponse";
129
133
  export * from "./DateType";
130
134
  export * from "./DayperiodType";
131
135
  export * from "./DeceaseInfoBaseType";
@@ -134,6 +138,7 @@ export * from "./DeceaseResponseType";
134
138
  export * from "./Denominator";
135
139
  export * from "./DetailType";
136
140
  export * from "./DetailsType";
141
+ export * from "./DiagnosticReference";
137
142
  export * from "./DigestMethod";
138
143
  export * from "./DimensionDto";
139
144
  export * from "./DiplomaticInformationType";
@@ -160,6 +165,7 @@ export * from "./EattestHcParty";
160
165
  export * from "./EattestRequestor";
161
166
  export * from "./EfactMessage";
162
167
  export * from "./EfactSendResponse";
168
+ export * from "./EhboxIdentifierType";
163
169
  export * from "./EncodedSSINType";
164
170
  export * from "./EncryptedData";
165
171
  export * from "./EncryptedElementType";
@@ -180,9 +186,11 @@ export * from "./Externalsource";
180
186
  export * from "./FCMAXType";
181
187
  export * from "./FCMINType";
182
188
  export * from "./FacetDto";
189
+ export * from "./FailedAssert";
183
190
  export * from "./FaultType";
184
191
  export * from "./Feedback";
185
192
  export * from "./FinancialInstitutionInformation";
193
+ export * from "./FiredRule";
186
194
  export * from "./FlatFileMetadata";
187
195
  export * from "./FlatFileWithMetadata";
188
196
  export * from "./FolderType";
@@ -240,6 +248,7 @@ export * from "./KmehrCd";
240
248
  export * from "./KmehrId";
241
249
  export * from "./KmehrPatientDto";
242
250
  export * from "./KmehrQuantity";
251
+ export * from "./KmehrRegimen";
243
252
  export * from "./Kmehrmessage";
244
253
  export * from "./LOCAL";
245
254
  export * from "./LegalCohabitationBaseType";
@@ -252,6 +261,7 @@ export * from "./LocalizedDescriptionType";
252
261
  export * from "./LocationBirthPlaceType";
253
262
  export * from "./LocationDeclarationType";
254
263
  export * from "./LocationType";
264
+ export * from "./Mapstringstring";
255
265
  export * from "./MaxrefType";
256
266
  export * from "./MdaStatus";
257
267
  export * from "./Measure";
@@ -272,7 +282,9 @@ export * from "./MemberinsuranceType";
272
282
  export * from "./Message";
273
283
  export * from "./MessageOperationResponse";
274
284
  export * from "./MessageResponse";
285
+ export * from "./MessageStatusOperationResponse";
275
286
  export * from "./MessagesResponse";
287
+ export * from "./MessageStatusOperationResponse";
276
288
  export * from "./MiddleNameType";
277
289
  export * from "./MinimalAddressType";
278
290
  export * from "./MinimalAdministratorType";
@@ -301,6 +313,8 @@ export * from "./NationalityType";
301
313
  export * from "./NobilityTitleBaseType";
302
314
  export * from "./NobilityTitleType";
303
315
  export * from "./Nominator";
316
+ export * from "./Ns";
317
+ export * from "./NsPrefixInAttributeValues";
304
318
  export * from "./PackageType";
305
319
  export * from "./Paginationrequestinfo";
306
320
  export * from "./Paginationresponseinfo";
@@ -407,6 +421,8 @@ export * from "./RnConsultSearchPersonBySsinResponseDto";
407
421
  export * from "./RnConsultSearchPersonPhoneticallyResponseDto";
408
422
  export * from "./RouteType";
409
423
  export * from "./SamlTokenResult";
424
+ export * from "./SchematronOutput";
425
+ export * from "./SchematronValidationResult";
410
426
  export * from "./SearchBySSINReplyDto";
411
427
  export * from "./SearchPhoneticReplyDto";
412
428
  export * from "./SendAttestResult";
@@ -445,6 +461,7 @@ export * from "./SubjectConfirmationDataType";
445
461
  export * from "./SubregisterBaseType";
446
462
  export * from "./SubstanceType";
447
463
  export * from "./Substanceproduct";
464
+ export * from "./SuccessfulReport";
448
465
  export * from "./TAck";
449
466
  export * from "./Takes";
450
467
  export * from "./TarificationConsultationResult";
@@ -472,10 +489,12 @@ export * from "./TransferDto";
472
489
  export * from "./Transform";
473
490
  export * from "./Transforms";
474
491
  export * from "./TransformsType";
492
+ export * from "./User";
475
493
  export * from "./UUIDType";
476
494
  export * from "./UnitType";
477
495
  export * from "./UpdateFeedbackFlagResult";
478
496
  export * from "./UrgencyType";
497
+ export * from "./User";
479
498
  export * from "./VaccinationId";
480
499
  export * from "./VaccinationStatusType";
481
500
  export * from "./VaccineInjection";
package/model/models.js CHANGED
@@ -13,8 +13,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./AccessRightListType"), exports);
14
14
  __exportStar(require("./AccessRightType"), exports);
15
15
  __exportStar(require("./AcknowledgeType"), exports);
16
+ __exportStar(require("./Acknowledgement"), exports);
17
+ __exportStar(require("./AcknowledgeType"), exports);
16
18
  __exportStar(require("./AcknowledgmentType"), exports);
17
19
  __exportStar(require("./ActType"), exports);
20
+ __exportStar(require("./ActivePattern"), exports);
18
21
  __exportStar(require("./AddVaccinationsResponseType"), exports);
19
22
  __exportStar(require("./AddedDocumentPreview"), exports);
20
23
  __exportStar(require("./Address"), exports);
@@ -138,6 +141,7 @@ __exportStar(require("./ContentType"), exports);
138
141
  __exportStar(require("./ContentlocalitemattributeType"), exports);
139
142
  __exportStar(require("./CostType"), exports);
140
143
  __exportStar(require("./CountryType"), exports);
144
+ __exportStar(require("./DaasResponse"), exports);
141
145
  __exportStar(require("./DateType"), exports);
142
146
  __exportStar(require("./DayperiodType"), exports);
143
147
  __exportStar(require("./DeceaseInfoBaseType"), exports);
@@ -146,6 +150,7 @@ __exportStar(require("./DeceaseResponseType"), exports);
146
150
  __exportStar(require("./Denominator"), exports);
147
151
  __exportStar(require("./DetailType"), exports);
148
152
  __exportStar(require("./DetailsType"), exports);
153
+ __exportStar(require("./DiagnosticReference"), exports);
149
154
  __exportStar(require("./DigestMethod"), exports);
150
155
  __exportStar(require("./DimensionDto"), exports);
151
156
  __exportStar(require("./DiplomaticInformationType"), exports);
@@ -172,6 +177,7 @@ __exportStar(require("./EattestHcParty"), exports);
172
177
  __exportStar(require("./EattestRequestor"), exports);
173
178
  __exportStar(require("./EfactMessage"), exports);
174
179
  __exportStar(require("./EfactSendResponse"), exports);
180
+ __exportStar(require("./EhboxIdentifierType"), exports);
175
181
  __exportStar(require("./EncodedSSINType"), exports);
176
182
  __exportStar(require("./EncryptedData"), exports);
177
183
  __exportStar(require("./EncryptedElementType"), exports);
@@ -192,9 +198,11 @@ __exportStar(require("./Externalsource"), exports);
192
198
  __exportStar(require("./FCMAXType"), exports);
193
199
  __exportStar(require("./FCMINType"), exports);
194
200
  __exportStar(require("./FacetDto"), exports);
201
+ __exportStar(require("./FailedAssert"), exports);
195
202
  __exportStar(require("./FaultType"), exports);
196
203
  __exportStar(require("./Feedback"), exports);
197
204
  __exportStar(require("./FinancialInstitutionInformation"), exports);
205
+ __exportStar(require("./FiredRule"), exports);
198
206
  __exportStar(require("./FlatFileMetadata"), exports);
199
207
  __exportStar(require("./FlatFileWithMetadata"), exports);
200
208
  __exportStar(require("./FolderType"), exports);
@@ -252,6 +260,7 @@ __exportStar(require("./KmehrCd"), exports);
252
260
  __exportStar(require("./KmehrId"), exports);
253
261
  __exportStar(require("./KmehrPatientDto"), exports);
254
262
  __exportStar(require("./KmehrQuantity"), exports);
263
+ __exportStar(require("./KmehrRegimen"), exports);
255
264
  __exportStar(require("./Kmehrmessage"), exports);
256
265
  __exportStar(require("./LOCAL"), exports);
257
266
  __exportStar(require("./LegalCohabitationBaseType"), exports);
@@ -264,6 +273,7 @@ __exportStar(require("./LocalizedDescriptionType"), exports);
264
273
  __exportStar(require("./LocationBirthPlaceType"), exports);
265
274
  __exportStar(require("./LocationDeclarationType"), exports);
266
275
  __exportStar(require("./LocationType"), exports);
276
+ __exportStar(require("./Mapstringstring"), exports);
267
277
  __exportStar(require("./MaxrefType"), exports);
268
278
  __exportStar(require("./MdaStatus"), exports);
269
279
  __exportStar(require("./Measure"), exports);
@@ -284,7 +294,9 @@ __exportStar(require("./MemberinsuranceType"), exports);
284
294
  __exportStar(require("./Message"), exports);
285
295
  __exportStar(require("./MessageOperationResponse"), exports);
286
296
  __exportStar(require("./MessageResponse"), exports);
297
+ __exportStar(require("./MessageStatusOperationResponse"), exports);
287
298
  __exportStar(require("./MessagesResponse"), exports);
299
+ __exportStar(require("./MessageStatusOperationResponse"), exports);
288
300
  __exportStar(require("./MiddleNameType"), exports);
289
301
  __exportStar(require("./MinimalAddressType"), exports);
290
302
  __exportStar(require("./MinimalAdministratorType"), exports);
@@ -313,6 +325,8 @@ __exportStar(require("./NationalityType"), exports);
313
325
  __exportStar(require("./NobilityTitleBaseType"), exports);
314
326
  __exportStar(require("./NobilityTitleType"), exports);
315
327
  __exportStar(require("./Nominator"), exports);
328
+ __exportStar(require("./Ns"), exports);
329
+ __exportStar(require("./NsPrefixInAttributeValues"), exports);
316
330
  __exportStar(require("./PackageType"), exports);
317
331
  __exportStar(require("./Paginationrequestinfo"), exports);
318
332
  __exportStar(require("./Paginationresponseinfo"), exports);
@@ -419,6 +433,8 @@ __exportStar(require("./RnConsultSearchPersonBySsinResponseDto"), exports);
419
433
  __exportStar(require("./RnConsultSearchPersonPhoneticallyResponseDto"), exports);
420
434
  __exportStar(require("./RouteType"), exports);
421
435
  __exportStar(require("./SamlTokenResult"), exports);
436
+ __exportStar(require("./SchematronOutput"), exports);
437
+ __exportStar(require("./SchematronValidationResult"), exports);
422
438
  __exportStar(require("./SearchBySSINReplyDto"), exports);
423
439
  __exportStar(require("./SearchPhoneticReplyDto"), exports);
424
440
  __exportStar(require("./SendAttestResult"), exports);
@@ -457,6 +473,7 @@ __exportStar(require("./SubjectConfirmationDataType"), exports);
457
473
  __exportStar(require("./SubregisterBaseType"), exports);
458
474
  __exportStar(require("./SubstanceType"), exports);
459
475
  __exportStar(require("./Substanceproduct"), exports);
476
+ __exportStar(require("./SuccessfulReport"), exports);
460
477
  __exportStar(require("./TAck"), exports);
461
478
  __exportStar(require("./Takes"), exports);
462
479
  __exportStar(require("./TarificationConsultationResult"), exports);
@@ -484,10 +501,12 @@ __exportStar(require("./TransferDto"), exports);
484
501
  __exportStar(require("./Transform"), exports);
485
502
  __exportStar(require("./Transforms"), exports);
486
503
  __exportStar(require("./TransformsType"), exports);
504
+ __exportStar(require("./User"), exports);
487
505
  __exportStar(require("./UUIDType"), exports);
488
506
  __exportStar(require("./UnitType"), exports);
489
507
  __exportStar(require("./UpdateFeedbackFlagResult"), exports);
490
508
  __exportStar(require("./UrgencyType"), exports);
509
+ __exportStar(require("./User"), exports);
491
510
  __exportStar(require("./VaccinationId"), exports);
492
511
  __exportStar(require("./VaccinationStatusType"), exports);
493
512
  __exportStar(require("./VaccineInjection"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icure/be-fhc-api",
3
- "version": "0.4.4",
3
+ "version": "0.4.7",
4
4
  "description": "Typescript version of Freehealth Connector standalone API client",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,35 +0,0 @@
1
- import { HealthcareParty, IccCryptoXApi, IccDocumentXApi, IccEntityrefApi, IccInsuranceApi, IccInvoiceXApi, IccMessageXApi, IccPatientXApi, Insurance, Invoice, Message, Receipt, User } from "@icure/api";
2
- import { InvoiceWithPatient } from "./utils/efact-util";
3
- import { DmgsList, EfactMessage, EfactSendResponse, ErrorDetail, GenAsyncResponse } from "../model/models";
4
- import { fhcEfactApi } from "../api/fhcEfactApi";
5
- import { ReceiptXApi } from "./receipt-x-api";
6
- declare class EfactSendResponseWithError extends EfactSendResponse {
7
- error: string | undefined;
8
- constructor(json: JSON);
9
- }
10
- export declare class MessageXApi {
11
- private api;
12
- private crypto;
13
- private insuranceApi;
14
- private entityReferenceApi;
15
- private receiptXApi;
16
- private invoiceXApi;
17
- private documentXApi;
18
- private patientApi;
19
- constructor(api: IccMessageXApi, crypto: IccCryptoXApi, documentXApi: IccDocumentXApi, insuranceApi: IccInsuranceApi, entityReferenceApi: IccEntityrefApi, fhcReceiptXApi: ReceiptXApi, invoiceXApi: IccInvoiceXApi, patientApi: IccPatientXApi);
20
- saveDmgsListRequest(user: User, req: GenAsyncResponse, requestDate?: number): Promise<Message>;
21
- processDmgMessagesList(user: User, hcp: HealthcareParty, list: DmgsList, docXApi: IccDocumentXApi): Promise<Array<Array<string>>>;
22
- private makeHcp;
23
- private saveMessageInDb;
24
- saveDmgListRequestInDb(user: User, tack: string, resultMajor: string, appliesTo: string, hcp: HealthcareParty, date?: Date, inss?: string): Promise<Message>;
25
- extractErrorMessage(error?: ErrorDetail): string | undefined;
26
- extractErrors(parsedRecords: any): string[];
27
- processTack(user: User, hcp: HealthcareParty, efactMessage: EfactMessage): Promise<Receipt>;
28
- processEfactMessage(user: User, hcp: HealthcareParty, efactMessage: EfactMessage, invoicePrefix?: string, invoicePrefixer?: (invoice: Invoice, hcpId: string) => Promise<string>): Promise<{
29
- message: Message;
30
- invoices: Array<Invoice>;
31
- }>;
32
- sendBatch(user: User, hcp: HealthcareParty, invoices: Array<InvoiceWithPatient>, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, efactApi: fhcEfactApi, fhcServer?: string | undefined, prefixer?: (fed: Insurance, hcpId: string) => Promise<string>, isConnectedAsPmg?: boolean, medicalLocationId?: string | null): Promise<Message>;
33
- saveMessageAttachment(user: User, msg: Message, res: EfactSendResponseWithError): Promise<Receipt>;
34
- }
35
- export {};