czech-data-box 0.1.0
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/.gitattributes +16 -0
- package/.nvmrc +1 -0
- package/.prettierignore +1 -0
- package/.prettierrc.yaml +6 -0
- package/.vscode/launch.json +15 -0
- package/.vscode/settings.json +5 -0
- package/CHANGELOG.md +17 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +84 -0
- package/LICENSE +21 -0
- package/README.md +76 -0
- package/eslint.config.js +26 -0
- package/examples/db_login_with_certificate.js +27 -0
- package/examples/db_search.js +27 -0
- package/examples/dm_operations.js +58 -0
- package/package.json +57 -0
- package/resources/certs/cacert_postsignum_vca4.pem +44 -0
- package/resources/wsdl/ChangePassword.wsdl +84 -0
- package/resources/wsdl/ChangePasswordTypes.xsd +69 -0
- package/resources/wsdl/ExtWs.wsdl +65 -0
- package/resources/wsdl/dbTypes.xsd +1688 -0
- package/resources/wsdl/db_access.wsdl +197 -0
- package/resources/wsdl/db_manipulations.wsdl +598 -0
- package/resources/wsdl/db_search.wsdl +362 -0
- package/resources/wsdl/dmBaseTypes.xsd +1497 -0
- package/resources/wsdl/dm_VoDZ.wsdl +212 -0
- package/resources/wsdl/dm_info.wsdl +412 -0
- package/resources/wsdl/dm_operations.wsdl +242 -0
- package/src/index.js +4 -0
- package/src/lib/ISDSBox.js +309 -0
- package/src/lib/ISDSSentOutFiles.js +84 -0
- package/src/lib/ISDSSoapClient.js +201 -0
- package/src/lib/config.js +64 -0
- package/src/models/DataBox.js +142 -0
- package/src/models/DataMessage.js +153 -0
- package/src/models/DataMessageFile.js +69 -0
- package/src/models/DataMessageFiles.js +23 -0
- package/test/ISDSBox.test.js +129 -0
- package/test/ISDSSentOutFiles.test.js +124 -0
- package/test/ISDSSoapClient.test.js +81 -0
- package/test/communication_test.pdf +0 -0
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
<?xml version = '1.0' encoding = 'UTF-8'?>
|
|
2
|
+
<!-- *********************************************************************
|
|
3
|
+
WSDL pro služby související s vyhledáváním DS
|
|
4
|
+
|
|
5
|
+
verze: 3.04
|
|
6
|
+
klasifikace: Veřejný dokument
|
|
7
|
+
*********************************************************************
|
|
8
|
+
Seznam služeb:
|
|
9
|
+
==============
|
|
10
|
+
FindDataBox
|
|
11
|
+
FindDataBox2
|
|
12
|
+
CheckDataBox
|
|
13
|
+
GetDataBoxList
|
|
14
|
+
PDZInfo
|
|
15
|
+
DataBoxCreditInfo
|
|
16
|
+
ISDSSearch2
|
|
17
|
+
ISDSSearch3
|
|
18
|
+
GetDataBoxActivityStatus
|
|
19
|
+
FindPersonalDataBox
|
|
20
|
+
DTInfo
|
|
21
|
+
GetConstants
|
|
22
|
+
|
|
23
|
+
změny:
|
|
24
|
+
28.4.2009 verze 1.0
|
|
25
|
+
3.6.2009 verze 2.0 - novela
|
|
26
|
+
1.11.2009 verze 2.6 - komerční provoz
|
|
27
|
+
18.9.2010 verze 2.10 - změna URL v důsledku přechodu na Basic autentizaci
|
|
28
|
+
- přidána WS GetDataBoxList
|
|
29
|
+
25.9.2011 verze 2.14 - přidání WS PDZInfo
|
|
30
|
+
24.6.2012 verze 2.18 - přidání WS DataBoxCreditInfo
|
|
31
|
+
1.12.2014 verze 2.19 - přidání WS ISDSSearch2
|
|
32
|
+
15.7.2015 verze 2.20 - přidání WS GetDataBoxActivityStatus
|
|
33
|
+
18.9.2015 verze 2.21 - přidání WS FindPersonalDataBox (pro OVM)
|
|
34
|
+
10.3.2016 verze 2.24 - přidána DTInfo
|
|
35
|
+
10.8.2016 verze 2.25 - přidána WS PDZSendInfo
|
|
36
|
+
2.5.2017 verze 2.27 - sjednocení verzí
|
|
37
|
+
4.9.2018 verze 2.31 - přidány "dvojkové" verze FindDataBox2 a ISDSSearch3
|
|
38
|
+
29.7.2021 verze 2.33 - sjednocení verzí
|
|
39
|
+
25.4.2022 verze 2.35 - sjednocení verzí
|
|
40
|
+
15.6.2022 verze 3.02 - přidána služba GetConstants
|
|
41
|
+
31.10.2022 verze 3.03 - sjednocení verzí
|
|
42
|
+
20.10.2022 verze 3.04 - sjednocení verzí
|
|
43
|
+
|
|
44
|
+
************************************************************************ -->
|
|
45
|
+
|
|
46
|
+
<definitions name="ISDS_db" targetNamespace="http://isds.czechpoint.cz/v20"
|
|
47
|
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
|
48
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
49
|
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
|
50
|
+
xmlns:tns="http://isds.czechpoint.cz/v20">
|
|
51
|
+
|
|
52
|
+
<types>
|
|
53
|
+
<xs:schema targetNamespace="http://isds.czechpoint.cz/v20">
|
|
54
|
+
<xs:include schemaLocation="dbTypes.xsd" />
|
|
55
|
+
</xs:schema>
|
|
56
|
+
</types>
|
|
57
|
+
|
|
58
|
+
<!-- ******************************************************************* -->
|
|
59
|
+
<message name="FindDataBoxRequest">
|
|
60
|
+
<part name="parameter" element="tns:FindDataBox" />
|
|
61
|
+
</message>
|
|
62
|
+
<message name="FindDataBoxResponse">
|
|
63
|
+
<part name="parameter" element="tns:FindDataBoxResponse" />
|
|
64
|
+
</message>
|
|
65
|
+
|
|
66
|
+
<message name="FindDataBox2Request">
|
|
67
|
+
<part name="parameter" element="tns:FindDataBox2" />
|
|
68
|
+
</message>
|
|
69
|
+
<message name="FindDataBox2Response">
|
|
70
|
+
<part name="parameter" element="tns:FindDataBox2Response" />
|
|
71
|
+
</message>
|
|
72
|
+
|
|
73
|
+
<message name="CheckDataBoxRequest">
|
|
74
|
+
<part name="parameter" element="tns:CheckDataBox" />
|
|
75
|
+
</message>
|
|
76
|
+
<message name="CheckDataBoxResponse">
|
|
77
|
+
<part name="parameter" element="tns:CheckDataBoxResponse" />
|
|
78
|
+
</message>
|
|
79
|
+
|
|
80
|
+
<message name="GetDataBoxListRequest">
|
|
81
|
+
<part name="parameter" element="tns:GetDataBoxList" />
|
|
82
|
+
</message>
|
|
83
|
+
<message name="GetDataBoxListResponse">
|
|
84
|
+
<part name="parameter" element="tns:GetDataBoxListResponse" />
|
|
85
|
+
</message>
|
|
86
|
+
|
|
87
|
+
<message name="PDZInfoRequest">
|
|
88
|
+
<part name="parameter" element="tns:PDZInfo" />
|
|
89
|
+
</message>
|
|
90
|
+
<message name="PDZInfoResponse">
|
|
91
|
+
<part name="parameter" element="tns:PDZInfoResponse" />
|
|
92
|
+
</message>
|
|
93
|
+
|
|
94
|
+
<message name="DataBoxCreditInfoRequest">
|
|
95
|
+
<part name="parameter" element="tns:DataBoxCreditInfo" />
|
|
96
|
+
</message>
|
|
97
|
+
<message name="DataBoxCreditInfoResponse">
|
|
98
|
+
<part name="parameter" element="tns:DataBoxCreditInfoResponse" />
|
|
99
|
+
</message>
|
|
100
|
+
|
|
101
|
+
<message name="ISDSSearch2Request">
|
|
102
|
+
<part name="parameter" element="tns:ISDSSearch2" />
|
|
103
|
+
</message>
|
|
104
|
+
<message name="ISDSSearch2Response">
|
|
105
|
+
<part name="parameter" element="tns:ISDSSearch2Response" />
|
|
106
|
+
</message>
|
|
107
|
+
|
|
108
|
+
<message name="ISDSSearch3Request">
|
|
109
|
+
<part name="parameter" element="tns:ISDSSearch3" />
|
|
110
|
+
</message>
|
|
111
|
+
<message name="ISDSSearch3Response">
|
|
112
|
+
<part name="parameter" element="tns:ISDSSearch3Response" />
|
|
113
|
+
</message>
|
|
114
|
+
|
|
115
|
+
<message name="GetDataBoxActivityStatusRequest">
|
|
116
|
+
<part name="parameter" element="tns:GetDataBoxActivityStatus" />
|
|
117
|
+
</message>
|
|
118
|
+
<message name="GetDataBoxActivityStatusResponse">
|
|
119
|
+
<part name="parameter" element="tns:GetDataBoxActivityStatusResponse" />
|
|
120
|
+
</message>
|
|
121
|
+
|
|
122
|
+
<message name="FindPersonalDataBoxRequest">
|
|
123
|
+
<part name="parameter" element="tns:FindPersonalDataBox" />
|
|
124
|
+
</message>
|
|
125
|
+
<message name="FindPersonalDataBoxResponse">
|
|
126
|
+
<part name="parameter" element="tns:FindPersonalDataBoxResponse" />
|
|
127
|
+
</message>
|
|
128
|
+
|
|
129
|
+
<message name="DTInfoRequest">
|
|
130
|
+
<part name="parameter" element="tns:DTInfo" />
|
|
131
|
+
</message>
|
|
132
|
+
<message name="DTInfoResponse">
|
|
133
|
+
<part name="parameter" element="tns:DTInfoResponse" />
|
|
134
|
+
</message>
|
|
135
|
+
|
|
136
|
+
<message name="PDZSendInfoRequest">
|
|
137
|
+
<part name="parameter" element="tns:PDZSendInfo" />
|
|
138
|
+
</message>
|
|
139
|
+
<message name="PDZSendInfoResponse">
|
|
140
|
+
<part name="parameter" element="tns:PDZSendInfoResponse" />
|
|
141
|
+
</message>
|
|
142
|
+
|
|
143
|
+
<message name="GetConstantsRequest">
|
|
144
|
+
<part name="parameter" element="tns:GetConstants" />
|
|
145
|
+
</message>
|
|
146
|
+
<message name="GetConstantsResponse">
|
|
147
|
+
<part name="parameter" element="tns:GetConstantsResponse" />
|
|
148
|
+
</message>
|
|
149
|
+
|
|
150
|
+
<!-- ******************************************************************* -->
|
|
151
|
+
<portType name="DataBoxSearchPortType">
|
|
152
|
+
<operation name="FindDataBox">
|
|
153
|
+
<input message="tns:FindDataBoxRequest"/>
|
|
154
|
+
<output message="tns:FindDataBoxResponse"/>
|
|
155
|
+
</operation>
|
|
156
|
+
|
|
157
|
+
<operation name="FindDataBox2">
|
|
158
|
+
<input message="tns:FindDataBox2Request"/>
|
|
159
|
+
<output message="tns:FindDataBox2Response"/>
|
|
160
|
+
</operation>
|
|
161
|
+
|
|
162
|
+
<operation name="CheckDataBox">
|
|
163
|
+
<input message="tns:CheckDataBoxRequest"/>
|
|
164
|
+
<output message="tns:CheckDataBoxResponse"/>
|
|
165
|
+
</operation>
|
|
166
|
+
|
|
167
|
+
<operation name="GetDataBoxList">
|
|
168
|
+
<input message="tns:GetDataBoxListRequest"/>
|
|
169
|
+
<output message="tns:GetDataBoxListResponse"/>
|
|
170
|
+
</operation>
|
|
171
|
+
|
|
172
|
+
<operation name="PDZInfo">
|
|
173
|
+
<input message="tns:PDZInfoRequest"/>
|
|
174
|
+
<output message="tns:PDZInfoResponse"/>
|
|
175
|
+
</operation>
|
|
176
|
+
|
|
177
|
+
<operation name="DataBoxCreditInfo">
|
|
178
|
+
<input message="tns:DataBoxCreditInfoRequest"/>
|
|
179
|
+
<output message="tns:DataBoxCreditInfoResponse"/>
|
|
180
|
+
</operation>
|
|
181
|
+
|
|
182
|
+
<operation name="ISDSSearch2">
|
|
183
|
+
<input message="tns:ISDSSearch2Request"/>
|
|
184
|
+
<output message="tns:ISDSSearch2Response"/>
|
|
185
|
+
</operation>
|
|
186
|
+
|
|
187
|
+
<operation name="ISDSSearch3">
|
|
188
|
+
<input message="tns:ISDSSearch3Request"/>
|
|
189
|
+
<output message="tns:ISDSSearch3Response"/>
|
|
190
|
+
</operation>
|
|
191
|
+
|
|
192
|
+
<operation name="GetDataBoxActivityStatus">
|
|
193
|
+
<input message="tns:GetDataBoxActivityStatusRequest"/>
|
|
194
|
+
<output message="tns:GetDataBoxActivityStatusResponse"/>
|
|
195
|
+
</operation>
|
|
196
|
+
|
|
197
|
+
<operation name="FindPersonalDataBox">
|
|
198
|
+
<input message="tns:FindPersonalDataBoxRequest"/>
|
|
199
|
+
<output message="tns:FindPersonalDataBoxResponse"/>
|
|
200
|
+
</operation>
|
|
201
|
+
|
|
202
|
+
<operation name="DTInfo">
|
|
203
|
+
<input message="tns:DTInfoRequest"/>
|
|
204
|
+
<output message="tns:DTInfoResponse"/>
|
|
205
|
+
</operation>
|
|
206
|
+
|
|
207
|
+
<operation name="PDZSendInfo">
|
|
208
|
+
<input message="tns:PDZSendInfoRequest"/>
|
|
209
|
+
<output message="tns:PDZSendInfoResponse"/>
|
|
210
|
+
</operation>
|
|
211
|
+
|
|
212
|
+
<operation name="GetConstants">
|
|
213
|
+
<input message="tns:GetConstantsRequest" />
|
|
214
|
+
<output message="tns:GetConstantsResponse" />
|
|
215
|
+
</operation>
|
|
216
|
+
|
|
217
|
+
</portType>
|
|
218
|
+
|
|
219
|
+
<!-- ******************************************************************* -->
|
|
220
|
+
<binding name="DataBoxSearchBinding" type="tns:DataBoxSearchPortType">
|
|
221
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
222
|
+
<operation name="FindDataBox">
|
|
223
|
+
<soap:operation soapAction="" />
|
|
224
|
+
<input>
|
|
225
|
+
<soap:body use="literal"/>
|
|
226
|
+
</input>
|
|
227
|
+
<output>
|
|
228
|
+
<soap:body use="literal"/>
|
|
229
|
+
</output>
|
|
230
|
+
</operation>
|
|
231
|
+
|
|
232
|
+
<operation name="FindDataBox2">
|
|
233
|
+
<soap:operation soapAction="" />
|
|
234
|
+
<input>
|
|
235
|
+
<soap:body use="literal"/>
|
|
236
|
+
</input>
|
|
237
|
+
<output>
|
|
238
|
+
<soap:body use="literal"/>
|
|
239
|
+
</output>
|
|
240
|
+
</operation>
|
|
241
|
+
|
|
242
|
+
<operation name="CheckDataBox">
|
|
243
|
+
<soap:operation soapAction="" />
|
|
244
|
+
<input>
|
|
245
|
+
<soap:body use="literal"/>
|
|
246
|
+
</input>
|
|
247
|
+
<output>
|
|
248
|
+
<soap:body use="literal"/>
|
|
249
|
+
</output>
|
|
250
|
+
</operation>
|
|
251
|
+
|
|
252
|
+
<operation name="GetDataBoxList">
|
|
253
|
+
<soap:operation soapAction="" />
|
|
254
|
+
<input>
|
|
255
|
+
<soap:body use="literal" />
|
|
256
|
+
</input>
|
|
257
|
+
<output>
|
|
258
|
+
<soap:body use="literal" />
|
|
259
|
+
</output>
|
|
260
|
+
</operation>
|
|
261
|
+
|
|
262
|
+
<operation name="PDZInfo">
|
|
263
|
+
<soap:operation soapAction="" />
|
|
264
|
+
<input>
|
|
265
|
+
<soap:body use="literal" />
|
|
266
|
+
</input>
|
|
267
|
+
<output>
|
|
268
|
+
<soap:body use="literal" />
|
|
269
|
+
</output>
|
|
270
|
+
</operation>
|
|
271
|
+
|
|
272
|
+
<operation name="DataBoxCreditInfo">
|
|
273
|
+
<soap:operation soapAction="" />
|
|
274
|
+
<input>
|
|
275
|
+
<soap:body use="literal" />
|
|
276
|
+
</input>
|
|
277
|
+
<output>
|
|
278
|
+
<soap:body use="literal" />
|
|
279
|
+
</output>
|
|
280
|
+
</operation>
|
|
281
|
+
|
|
282
|
+
<operation name="ISDSSearch2">
|
|
283
|
+
<soap:operation soapAction="" />
|
|
284
|
+
<input>
|
|
285
|
+
<soap:body use="literal" />
|
|
286
|
+
</input>
|
|
287
|
+
<output>
|
|
288
|
+
<soap:body use="literal" />
|
|
289
|
+
</output>
|
|
290
|
+
</operation>
|
|
291
|
+
|
|
292
|
+
<operation name="ISDSSearch3">
|
|
293
|
+
<soap:operation soapAction="" />
|
|
294
|
+
<input>
|
|
295
|
+
<soap:body use="literal" />
|
|
296
|
+
</input>
|
|
297
|
+
<output>
|
|
298
|
+
<soap:body use="literal" />
|
|
299
|
+
</output>
|
|
300
|
+
</operation>
|
|
301
|
+
|
|
302
|
+
<operation name="GetDataBoxActivityStatus">
|
|
303
|
+
<soap:operation soapAction="" />
|
|
304
|
+
<input>
|
|
305
|
+
<soap:body use="literal" />
|
|
306
|
+
</input>
|
|
307
|
+
<output>
|
|
308
|
+
<soap:body use="literal" />
|
|
309
|
+
</output>
|
|
310
|
+
</operation>
|
|
311
|
+
|
|
312
|
+
<operation name="FindPersonalDataBox">
|
|
313
|
+
<soap:operation soapAction="" />
|
|
314
|
+
<input>
|
|
315
|
+
<soap:body use="literal" />
|
|
316
|
+
</input>
|
|
317
|
+
<output>
|
|
318
|
+
<soap:body use="literal" />
|
|
319
|
+
</output>
|
|
320
|
+
</operation>
|
|
321
|
+
|
|
322
|
+
<operation name="DTInfo">
|
|
323
|
+
<soap:operation soapAction="" />
|
|
324
|
+
<input>
|
|
325
|
+
<soap:body use="literal" />
|
|
326
|
+
</input>
|
|
327
|
+
<output>
|
|
328
|
+
<soap:body use="literal" />
|
|
329
|
+
</output>
|
|
330
|
+
</operation>
|
|
331
|
+
|
|
332
|
+
<operation name="PDZSendInfo">
|
|
333
|
+
<soap:operation soapAction="" />
|
|
334
|
+
<input>
|
|
335
|
+
<soap:body use="literal" />
|
|
336
|
+
</input>
|
|
337
|
+
<output>
|
|
338
|
+
<soap:body use="literal" />
|
|
339
|
+
</output>
|
|
340
|
+
</operation>
|
|
341
|
+
|
|
342
|
+
<operation name="GetConstants">
|
|
343
|
+
<soap:operation soapAction="" />
|
|
344
|
+
<input>
|
|
345
|
+
<soap:body use="literal" />
|
|
346
|
+
</input>
|
|
347
|
+
<output>
|
|
348
|
+
<soap:body use="literal" />
|
|
349
|
+
</output>
|
|
350
|
+
</operation>
|
|
351
|
+
|
|
352
|
+
</binding>
|
|
353
|
+
|
|
354
|
+
<!-- ******************************************************************* -->
|
|
355
|
+
<service name="DataBoxSearch">
|
|
356
|
+
<port name="DataBoxSearchPortType" binding="tns:DataBoxSearchBinding">
|
|
357
|
+
<soap:address location="https://ws1.mojedatovaschranka.cz/DS/df"/>
|
|
358
|
+
</port>
|
|
359
|
+
</service>
|
|
360
|
+
|
|
361
|
+
</definitions>
|
|
362
|
+
|