@icure/api 4.1.18 → 4.2.2

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 (59) hide show
  1. package/icc-api/api/IccGroupApi.d.ts +12 -2
  2. package/icc-api/api/IccGroupApi.js +26 -2
  3. package/icc-api/api/IccGroupApi.js.map +1 -1
  4. package/icc-api/model/HealthcareParty.d.ts +6 -0
  5. package/icc-api/model/HealthcareParty.js.map +1 -1
  6. package/icc-x-api/filters/UserByNameEmailPhoneFilter.d.ts +18 -0
  7. package/icc-x-api/filters/UserByNameEmailPhoneFilter.js +25 -0
  8. package/icc-x-api/filters/UserByNameEmailPhoneFilter.js.map +1 -0
  9. package/icc-x-api/icc-accesslog-x-api.d.ts +3 -1
  10. package/icc-x-api/icc-accesslog-x-api.js +18 -17
  11. package/icc-x-api/icc-accesslog-x-api.js.map +1 -1
  12. package/icc-x-api/icc-calendar-item-x-api.d.ts +4 -2
  13. package/icc-x-api/icc-calendar-item-x-api.js +19 -18
  14. package/icc-x-api/icc-calendar-item-x-api.js.map +1 -1
  15. package/icc-x-api/icc-classification-x-api.d.ts +3 -1
  16. package/icc-x-api/icc-classification-x-api.js +7 -6
  17. package/icc-x-api/icc-classification-x-api.js.map +1 -1
  18. package/icc-x-api/icc-contact-x-api.d.ts +3 -1
  19. package/icc-x-api/icc-contact-x-api.js +25 -21
  20. package/icc-x-api/icc-contact-x-api.js.map +1 -1
  21. package/icc-x-api/icc-crypto-x-api.d.ts +10 -10
  22. package/icc-x-api/icc-crypto-x-api.js +21 -21
  23. package/icc-x-api/icc-crypto-x-api.js.map +1 -1
  24. package/icc-x-api/icc-document-x-api.d.ts +4 -2
  25. package/icc-x-api/icc-document-x-api.js +24 -21
  26. package/icc-x-api/icc-document-x-api.js.map +1 -1
  27. package/icc-x-api/icc-form-x-api.d.ts +4 -2
  28. package/icc-x-api/icc-form-x-api.js +22 -21
  29. package/icc-x-api/icc-form-x-api.js.map +1 -1
  30. package/icc-x-api/icc-helement-x-api.d.ts +29 -4
  31. package/icc-x-api/icc-helement-x-api.js +136 -11
  32. package/icc-x-api/icc-helement-x-api.js.map +1 -1
  33. package/icc-x-api/icc-invoice-x-api.d.ts +5 -3
  34. package/icc-x-api/icc-invoice-x-api.js +22 -21
  35. package/icc-x-api/icc-invoice-x-api.js.map +1 -1
  36. package/icc-x-api/icc-message-x-api.d.ts +3 -1
  37. package/icc-x-api/icc-message-x-api.js +7 -6
  38. package/icc-x-api/icc-message-x-api.js.map +1 -1
  39. package/icc-x-api/icc-patient-x-api.d.ts +3 -1
  40. package/icc-x-api/icc-patient-x-api.js +19 -17
  41. package/icc-x-api/icc-patient-x-api.js.map +1 -1
  42. package/icc-x-api/icc-receipt-x-api.d.ts +4 -2
  43. package/icc-x-api/icc-receipt-x-api.js +21 -20
  44. package/icc-x-api/icc-receipt-x-api.js.map +1 -1
  45. package/icc-x-api/icc-time-table-x-api.d.ts +4 -2
  46. package/icc-x-api/icc-time-table-x-api.js +5 -4
  47. package/icc-x-api/icc-time-table-x-api.js.map +1 -1
  48. package/icc-x-api/icc-user-x-api.d.ts +2 -0
  49. package/icc-x-api/icc-user-x-api.js +8 -0
  50. package/icc-x-api/icc-user-x-api.js.map +1 -1
  51. package/icc-x-api/index.js +12 -12
  52. package/icc-x-api/index.js.map +1 -1
  53. package/package.json +1 -1
  54. package/icc-api/api/IccHealthElementApi.d.ts +0 -95
  55. package/icc-api/api/IccHealthElementApi.js +0 -205
  56. package/icc-api/api/IccHealthElementApi.js.map +0 -1
  57. package/icc-api/api/IccHealthcarePartyApi.d.ts +0 -146
  58. package/icc-api/api/IccHealthcarePartyApi.js +0 -312
  59. package/icc-api/api/IccHealthcarePartyApi.js.map +0 -1
@@ -1,205 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IccHealthElementApi = void 0;
4
- /**
5
- * iCure Data Stack API Documentation
6
- * The iCure Data Stack Application API is the native interface to iCure.
7
- *
8
- * OpenAPI spec version: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by the swagger code generator program.
12
- * https://github.com/swagger-api/swagger-codegen.git
13
- * Do not edit the class manually.
14
- */
15
- const XHR_1 = require("./XHR");
16
- const DocIdentifier_1 = require("../model/DocIdentifier");
17
- const HealthElement_1 = require("../model/HealthElement");
18
- const IcureStub_1 = require("../model/IcureStub");
19
- class IccHealthElementApi {
20
- constructor(host, headers, fetchImpl) {
21
- this.host = host;
22
- this.headers = Object.keys(headers).map((k) => new XHR_1.XHR.Header(k, headers[k]));
23
- this.fetchImpl = fetchImpl;
24
- }
25
- setHeaders(h) {
26
- this.headers = h;
27
- }
28
- handleError(e) {
29
- throw e;
30
- }
31
- /**
32
- * Returns an instance of created health element.
33
- * @summary Create a health element with the current user
34
- * @param body
35
- */
36
- createHealthElement(body) {
37
- let _body = null;
38
- _body = body;
39
- const _url = this.host + `/rest/v2/helement` + '?ts=' + new Date().getTime();
40
- let headers = this.headers;
41
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
42
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
43
- .then((doc) => new HealthElement_1.HealthElement(doc.body))
44
- .catch((err) => this.handleError(err));
45
- }
46
- /**
47
- * Returns the created healthcare elements.
48
- * @summary Create a batch of healthcare elements
49
- * @param body
50
- */
51
- createHealthElements(body) {
52
- let _body = null;
53
- _body = body;
54
- const _url = this.host + `/rest/v2/helement/batch` + '?ts=' + new Date().getTime();
55
- let headers = this.headers;
56
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
57
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
58
- .then((doc) => doc.body.map((it) => new HealthElement_1.HealthElement(it)))
59
- .catch((err) => this.handleError(err));
60
- }
61
- /**
62
- * Response is a set containing the ID's of deleted health elements.
63
- * @summary Delete health elements.
64
- * @param body
65
- */
66
- deleteHealthElements(body) {
67
- let _body = null;
68
- _body = body;
69
- const _url = this.host + `/rest/v2/helement/delete/batch` + '?ts=' + new Date().getTime();
70
- let headers = this.headers;
71
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
72
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
73
- .then((doc) => doc.body.map((it) => new DocIdentifier_1.DocIdentifier(it)))
74
- .catch((err) => this.handleError(err));
75
- }
76
- /**
77
- * Returns a list of health elements along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.
78
- * @summary Filter health elements for the current user (HcParty)
79
- * @param body
80
- */
81
- filterHealthElementsBy(body) {
82
- let _body = null;
83
- _body = body;
84
- const _url = this.host + `/rest/v2/helement/filter` + '?ts=' + new Date().getTime();
85
- let headers = this.headers;
86
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
87
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
88
- .then((doc) => doc.body.map((it) => new HealthElement_1.HealthElement(it)))
89
- .catch((err) => this.handleError(err));
90
- }
91
- /**
92
- *
93
- * @summary Get a health element
94
- * @param healthElementId
95
- */
96
- getHealthElement(healthElementId) {
97
- const _body = null;
98
- const _url = this.host + `/rest/v2/helement/${encodeURIComponent(String(healthElementId))}` + '?ts=' + new Date().getTime();
99
- const headers = this.headers;
100
- return XHR_1.XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)
101
- .then((doc) => new HealthElement_1.HealthElement(doc.body))
102
- .catch((err) => this.handleError(err));
103
- }
104
- /**
105
- * Keys hast to delimited by coma
106
- * @summary List health elements found By Healthcare Party and secret foreign keyelementIds.
107
- * @param hcPartyId
108
- * @param secretFKeys
109
- */
110
- listHealthElementsByHCPartyAndPatientForeignKeys(hcPartyId, secretFKeys) {
111
- const _body = null;
112
- const _url = this.host +
113
- `/rest/v2/helement/byHcPartySecretForeignKeys` +
114
- '?ts=' +
115
- new Date().getTime() +
116
- (hcPartyId ? '&hcPartyId=' + encodeURIComponent(String(hcPartyId)) : '') +
117
- (secretFKeys ? '&secretFKeys=' + encodeURIComponent(String(secretFKeys)) : '');
118
- const headers = this.headers;
119
- return XHR_1.XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)
120
- .then((doc) => doc.body.map((it) => new HealthElement_1.HealthElement(it)))
121
- .catch((err) => this.handleError(err));
122
- }
123
- /**
124
- * Keys must be delimited by coma
125
- * @summary List helement stubs found By Healthcare Party and secret foreign keys.
126
- * @param hcPartyId
127
- * @param secretFKeys
128
- */
129
- listHealthElementsDelegationsStubsByHCPartyAndPatientForeignKeys(hcPartyId, secretFKeys) {
130
- const _body = null;
131
- const _url = this.host +
132
- `/rest/v2/helement/byHcPartySecretForeignKeys/delegations` +
133
- '?ts=' +
134
- new Date().getTime() +
135
- (hcPartyId ? '&hcPartyId=' + encodeURIComponent(String(hcPartyId)) : '') +
136
- (secretFKeys ? '&secretFKeys=' + encodeURIComponent(String(secretFKeys)) : '');
137
- const headers = this.headers;
138
- return XHR_1.XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)
139
- .then((doc) => doc.body.map((it) => new IcureStub_1.IcureStub(it)))
140
- .catch((err) => this.handleError(err));
141
- }
142
- /**
143
- * Returns the modified health element.
144
- * @summary Modify a health element
145
- * @param body
146
- */
147
- modifyHealthElement(body) {
148
- let _body = null;
149
- _body = body;
150
- const _url = this.host + `/rest/v2/helement` + '?ts=' + new Date().getTime();
151
- let headers = this.headers;
152
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
153
- return XHR_1.XHR.sendCommand('PUT', _url, headers, _body, this.fetchImpl)
154
- .then((doc) => new HealthElement_1.HealthElement(doc.body))
155
- .catch((err) => this.handleError(err));
156
- }
157
- /**
158
- * Returns the modified health elements.
159
- * @summary Modify a batch of health elements
160
- * @param body
161
- */
162
- modifyHealthElements(body) {
163
- let _body = null;
164
- _body = body;
165
- const _url = this.host + `/rest/v2/helement/batch` + '?ts=' + new Date().getTime();
166
- let headers = this.headers;
167
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
168
- return XHR_1.XHR.sendCommand('PUT', _url, headers, _body, this.fetchImpl)
169
- .then((doc) => doc.body.map((it) => new HealthElement_1.HealthElement(it)))
170
- .catch((err) => this.handleError(err));
171
- }
172
- /**
173
- * It delegates a health element to a healthcare party (By current healthcare party). Returns the element with new delegations.
174
- * @summary Delegates a health element to a healthcare party
175
- * @param body
176
- * @param healthElementId
177
- */
178
- newHealthElementDelegations(healthElementId, body) {
179
- let _body = null;
180
- _body = body;
181
- const _url = this.host + `/rest/v2/helement/${encodeURIComponent(String(healthElementId))}/delegate` + '?ts=' + new Date().getTime();
182
- let headers = this.headers;
183
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
184
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
185
- .then((doc) => new HealthElement_1.HealthElement(doc.body))
186
- .catch((err) => this.handleError(err));
187
- }
188
- /**
189
- * Keys must be delimited by coma
190
- * @summary Update delegations in healthElements.
191
- * @param body
192
- */
193
- setHealthElementsDelegations(body) {
194
- let _body = null;
195
- _body = body;
196
- const _url = this.host + `/rest/v2/helement/delegations` + '?ts=' + new Date().getTime();
197
- let headers = this.headers;
198
- headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR_1.XHR.Header('Content-Type', 'application/json'));
199
- return XHR_1.XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)
200
- .then((doc) => doc.body.map((it) => new HealthElement_1.HealthElement(it)))
201
- .catch((err) => this.handleError(err));
202
- }
203
- }
204
- exports.IccHealthElementApi = IccHealthElementApi;
205
- //# sourceMappingURL=IccHealthElementApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IccHealthElementApi.js","sour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CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,6BAAa,CAAC,GAAG,CAAC,IAAY,CAAC,CAAC;aAClD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;IAC1C,CAAC;IAED;;;;OAIG;IACH,4BAA4B,CAAC,IAAuB;QAClD,IAAI,KAAK,GAAG,IAAI,CAAA;QAChB,KAAK,GAAG,IAAI,CAAA;QAEZ,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,+BAA+B,GAAG,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAA;QACxF,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAC1B,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,cAAc,CAAC,CAAC,MAAM,CAAC,IAAI,SAAG,CAAC,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAA;QACvH,OAAO,SAAG,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC;aACjE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAE,GAAG,CAAC,IAAoB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,6BAAa,CAAC,EAAE,CAAC,CAAC,CAAC;aAC3E,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;IAC1C,CAAC;CACF;AAtND,kDAsNC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure.\n *\n * OpenAPI spec version: v0\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { XHR } from './XHR'\nimport { Delegation } from '../model/Delegation'\nimport { DocIdentifier } from '../model/DocIdentifier'\nimport { FilterChainHealthElement } from '../model/FilterChainHealthElement'\nimport { HealthElement } from '../model/HealthElement'\nimport { IcureStub } from '../model/IcureStub'\nimport { ListOfIds } from '../model/ListOfIds'\n\nexport class IccHealthElementApi {\n host: string\n headers: Array<XHR.Header>\n fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>\n\n constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>) {\n this.host = host\n this.headers = Object.keys(headers).map((k) => new XHR.Header(k, headers[k]))\n this.fetchImpl = fetchImpl\n }\n\n setHeaders(h: Array<XHR.Header>) {\n this.headers = h\n }\n\n handleError(e: XHR.XHRError): never {\n throw e\n }\n\n /**\n * Returns an instance of created health element.\n * @summary Create a health element with the current user\n * @param body\n */\n createHealthElement(body?: HealthElement): Promise<HealthElement> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => new HealthElement(doc.body as JSON))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Returns the created healthcare elements.\n * @summary Create a batch of healthcare elements\n * @param body\n */\n createHealthElements(body?: Array<HealthElement>): Promise<Array<HealthElement>> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/batch` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new HealthElement(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Response is a set containing the ID's of deleted health elements.\n * @summary Delete health elements.\n * @param body\n */\n deleteHealthElements(body?: ListOfIds): Promise<Array<DocIdentifier>> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/delete/batch` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new DocIdentifier(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Returns a list of health elements along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.\n * @summary Filter health elements for the current user (HcParty)\n * @param body\n */\n filterHealthElementsBy(body?: FilterChainHealthElement): Promise<Array<HealthElement>> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/filter` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new HealthElement(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n *\n * @summary Get a health element\n * @param healthElementId\n */\n getHealthElement(healthElementId: string): Promise<HealthElement> {\n const _body = null\n\n const _url = this.host + `/rest/v2/helement/${encodeURIComponent(String(healthElementId))}` + '?ts=' + new Date().getTime()\n const headers = this.headers\n return XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)\n .then((doc) => new HealthElement(doc.body as JSON))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Keys hast to delimited by coma\n * @summary List health elements found By Healthcare Party and secret foreign keyelementIds.\n * @param hcPartyId\n * @param secretFKeys\n */\n listHealthElementsByHCPartyAndPatientForeignKeys(hcPartyId: string, secretFKeys: string): Promise<Array<HealthElement>> {\n const _body = null\n\n const _url =\n this.host +\n `/rest/v2/helement/byHcPartySecretForeignKeys` +\n '?ts=' +\n new Date().getTime() +\n (hcPartyId ? '&hcPartyId=' + encodeURIComponent(String(hcPartyId)) : '') +\n (secretFKeys ? '&secretFKeys=' + encodeURIComponent(String(secretFKeys)) : '')\n const headers = this.headers\n return XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new HealthElement(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Keys must be delimited by coma\n * @summary List helement stubs found By Healthcare Party and secret foreign keys.\n * @param hcPartyId\n * @param secretFKeys\n */\n listHealthElementsDelegationsStubsByHCPartyAndPatientForeignKeys(hcPartyId: string, secretFKeys: string): Promise<Array<IcureStub>> {\n const _body = null\n\n const _url =\n this.host +\n `/rest/v2/helement/byHcPartySecretForeignKeys/delegations` +\n '?ts=' +\n new Date().getTime() +\n (hcPartyId ? '&hcPartyId=' + encodeURIComponent(String(hcPartyId)) : '') +\n (secretFKeys ? '&secretFKeys=' + encodeURIComponent(String(secretFKeys)) : '')\n const headers = this.headers\n return XHR.sendCommand('GET', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new IcureStub(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Returns the modified health element.\n * @summary Modify a health element\n * @param body\n */\n modifyHealthElement(body?: HealthElement): Promise<HealthElement> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('PUT', _url, headers, _body, this.fetchImpl)\n .then((doc) => new HealthElement(doc.body as JSON))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Returns the modified health elements.\n * @summary Modify a batch of health elements\n * @param body\n */\n modifyHealthElements(body?: Array<HealthElement>): Promise<Array<HealthElement>> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/batch` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('PUT', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new HealthElement(it)))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * It delegates a health element to a healthcare party (By current healthcare party). Returns the element with new delegations.\n * @summary Delegates a health element to a healthcare party\n * @param body\n * @param healthElementId\n */\n newHealthElementDelegations(healthElementId: string, body?: Array<Delegation>): Promise<HealthElement> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/${encodeURIComponent(String(healthElementId))}/delegate` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => new HealthElement(doc.body as JSON))\n .catch((err) => this.handleError(err))\n }\n\n /**\n * Keys must be delimited by coma\n * @summary Update delegations in healthElements.\n * @param body\n */\n setHealthElementsDelegations(body?: Array<IcureStub>): Promise<Array<HealthElement>> {\n let _body = null\n _body = body\n\n const _url = this.host + `/rest/v2/helement/delegations` + '?ts=' + new Date().getTime()\n let headers = this.headers\n headers = headers.filter((h) => h.header !== 'Content-Type').concat(new XHR.Header('Content-Type', 'application/json'))\n return XHR.sendCommand('POST', _url, headers, _body, this.fetchImpl)\n .then((doc) => (doc.body as Array<JSON>).map((it) => new HealthElement(it)))\n .catch((err) => this.handleError(err))\n }\n}\n"]}
@@ -1,146 +0,0 @@
1
- /**
2
- * iCure Data Stack API Documentation
3
- * The iCure Data Stack Application API is the native interface to iCure.
4
- *
5
- * OpenAPI spec version: v0
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 { XHR } from './XHR';
13
- import { DocIdentifier } from '../model/DocIdentifier';
14
- import { HealthcareParty } from '../model/HealthcareParty';
15
- import { ListOfIds } from '../model/ListOfIds';
16
- import { PaginatedListHealthcareParty } from '../model/PaginatedListHealthcareParty';
17
- import { PublicKey } from '../model/PublicKey';
18
- export declare class IccHealthcarePartyApi {
19
- host: string;
20
- headers: Array<XHR.Header>;
21
- fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
22
- constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>);
23
- setHeaders(h: Array<XHR.Header>): void;
24
- handleError(e: XHR.XHRError): never;
25
- /**
26
- * One of Name or Last name+First name, Nihii, and Public key are required.
27
- * @summary Create a healthcare party
28
- * @param body
29
- */
30
- createHealthcareParty(body?: HealthcareParty): Promise<HealthcareParty>;
31
- /**
32
- * One of Name or Last name+First name, Nihii, and Public key are required.
33
- * @summary Create a healthcare party
34
- * @param body
35
- * @param groupId
36
- */
37
- createHealthcarePartyInGroup(groupId: string, body?: HealthcareParty): Promise<HealthcareParty>;
38
- /**
39
- * Deleting healthcareParties. Response is an array containing the id of deleted healthcare parties.
40
- * @summary Delete healthcare parties
41
- * @param body
42
- */
43
- deleteHealthcareParties(body?: ListOfIds): Promise<Array<DocIdentifier>>;
44
- /**
45
- * Deleting a healthcareParty. Response is an array containing the id of deleted healthcare party.
46
- * @summary Delete a healthcare party
47
- * @param body
48
- * @param groupId
49
- */
50
- deleteHealthcarePartiesInGroup(groupId: string, body?: ListOfIds): Promise<Array<DocIdentifier>>;
51
- /**
52
- * Returns a list of healthcare parties.
53
- * @summary List healthcare parties with(out) pagination
54
- * @param startKey A healthcare party Last name
55
- * @param startDocumentId A healthcare party document ID
56
- * @param limit Number of rows
57
- * @param desc Descending
58
- */
59
- findHealthcarePartiesBy(startKey?: string, startDocumentId?: string, limit?: number, desc?: boolean): Promise<PaginatedListHealthcareParty>;
60
- /**
61
- * Returns a list of healthcare parties.
62
- * @summary Find healthcare parties by name with(out) pagination
63
- * @param name The Last name search value
64
- * @param startKey A healthcare party Last name
65
- * @param startDocumentId A healthcare party document ID
66
- * @param limit Number of rows
67
- * @param desc Descending
68
- */
69
- findHealthcarePartiesByName(name?: string, startKey?: string, startDocumentId?: string, limit?: number, desc?: boolean): Promise<PaginatedListHealthcareParty>;
70
- /**
71
- * Returns a list of healthcare parties.
72
- * @summary Find healthcare parties by name with(out) pagination
73
- * @param type The type of the HCP (persphysician)
74
- * @param spec The speciality of the HCP
75
- * @param firstCode The first postCode for the HCP
76
- * @param lastCode The last postCode for the HCP
77
- * @param limit Number of rows
78
- */
79
- findHealthcarePartiesBySpecialityAndPostCode(type: string, spec: string, firstCode: string, lastCode: string, limit?: number): Promise<PaginatedListHealthcareParty>;
80
- /**
81
- * Returns a list of healthcare parties.
82
- * @summary Find healthcare parties by nihii or ssin with(out) pagination
83
- * @param searchValue
84
- * @param startKey A healthcare party Last name
85
- * @param startDocumentId A healthcare party document ID
86
- * @param limit Number of rows
87
- * @param desc Descending
88
- */
89
- findHealthcarePartiesBySsinOrNihii(searchValue: string, startKey?: string, startDocumentId?: string, limit?: number, desc?: boolean): Promise<PaginatedListHealthcareParty>;
90
- /**
91
- * General information about the current healthcare Party
92
- * @summary Get the current healthcare party if logged in.
93
- */
94
- getCurrentHealthcareParty(): Promise<HealthcareParty>;
95
- /**
96
- * (key, value) of the map is as follows: (ID of the owner of the encrypted AES key, encrypted AES key)
97
- * @summary Get the HcParty encrypted AES keys indexed by owner
98
- * @param healthcarePartyId
99
- */
100
- getHcPartyKeysForDelegate(healthcarePartyId: string): Promise<{
101
- [key: string]: string;
102
- }>;
103
- /**
104
- * General information about the healthcare Party
105
- * @summary Get healthcareParties by their IDs
106
- * @param body
107
- */
108
- getHealthcareParties(body?: ListOfIds): Promise<Array<HealthcareParty>>;
109
- /**
110
- * General information about the healthcare Party
111
- * @summary Get a healthcareParty by his ID
112
- * @param healthcarePartyId
113
- */
114
- getHealthcareParty(healthcarePartyId: string): Promise<HealthcareParty>;
115
- /**
116
- * Returns the public key of a healthcare party in Hex
117
- * @summary Get public key of a healthcare party
118
- * @param healthcarePartyId
119
- */
120
- getPublicKey(healthcarePartyId: string): Promise<PublicKey>;
121
- /**
122
- * Returns a list of healthcare parties.
123
- * @summary Find healthcare parties by name with(out) pagination
124
- * @param name The Last name search value
125
- */
126
- listHealthcarePartiesByName(name: string): Promise<Array<HealthcareParty>>;
127
- /**
128
- * Return a list of children hcp.
129
- * @summary Find children of an healthcare parties
130
- * @param parentId
131
- */
132
- listHealthcarePartiesByParentId(parentId: string): Promise<Array<HealthcareParty>>;
133
- /**
134
- * No particular return value. It's just a message.
135
- * @summary Modify a Healthcare Party.
136
- * @param body
137
- */
138
- modifyHealthcareParty(body?: HealthcareParty): Promise<HealthcareParty>;
139
- /**
140
- * No particular return value. It's just a message.
141
- * @summary Modify a Healthcare Party.
142
- * @param body
143
- * @param groupId
144
- */
145
- modifyHealthcarePartyInGroup(groupId: string, body?: HealthcareParty): Promise<HealthcareParty>;
146
- }