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,197 @@
|
|
|
1
|
+
<?xml version = '1.0' encoding = 'UTF-8'?>
|
|
2
|
+
<!-- *********************************************************************
|
|
3
|
+
WSDL pro doplňkové služby související s přihlašováním
|
|
4
|
+
|
|
5
|
+
verze: 3.04
|
|
6
|
+
klasifikace: Veřejný dokument
|
|
7
|
+
*********************************************************************
|
|
8
|
+
Seznam služeb:
|
|
9
|
+
==============
|
|
10
|
+
GetOwnerInfoFromLogin
|
|
11
|
+
GetOwnerInfoFromLogin2
|
|
12
|
+
GetUserInfoFromLogin
|
|
13
|
+
GetUserInfoFromLogin2
|
|
14
|
+
ChangeISDSPassword
|
|
15
|
+
GetPasswordInfo
|
|
16
|
+
|
|
17
|
+
Změny:
|
|
18
|
+
09.12.2009 verze 2.7
|
|
19
|
+
18.09.2010 verze 2.10 - změna URL v důsledku přechodu na Basic autentizaci
|
|
20
|
+
18.09.2015 verze 2.21 - sjednocení verzí
|
|
21
|
+
14.10.2015 verze 2.22 - sjednocení verzí
|
|
22
|
+
31.01.2017 verze 2.26 - sjednocení verzí
|
|
23
|
+
21.11.2017 verze 2.27 - sjednocení verzí
|
|
24
|
+
04.09.2018 verze 2.31 - přidány "dvojkové" verze GetOwnerInfoFromLogin2 a GetUserInfoFromLogin2
|
|
25
|
+
27.07.2021 verze 2.33 - sjednocení verzí
|
|
26
|
+
25.04.2022 verze 2.35 - sjednocení verzí
|
|
27
|
+
|
|
28
|
+
31.10.2022 verze 3.03 - sjednocení verzí
|
|
29
|
+
20.10.2023 verze 3.04 - sjednocení verzí
|
|
30
|
+
|
|
31
|
+
************************************************************************ -->
|
|
32
|
+
|
|
33
|
+
<definitions name="ISDS_db_suppl" targetNamespace="http://isds.czechpoint.cz/v20"
|
|
34
|
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
|
35
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
36
|
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
|
37
|
+
xmlns:tns="http://isds.czechpoint.cz/v20">
|
|
38
|
+
|
|
39
|
+
<types>
|
|
40
|
+
<xs:schema targetNamespace="http://isds.czechpoint.cz/v20">
|
|
41
|
+
<xs:include schemaLocation="dbTypes.xsd" />
|
|
42
|
+
</xs:schema>
|
|
43
|
+
</types>
|
|
44
|
+
|
|
45
|
+
<!-- ******************************************************************* -->
|
|
46
|
+
<message name="GetOwnerInfoFromLoginRequest">
|
|
47
|
+
<part name="parameter" element="tns:GetOwnerInfoFromLogin" />
|
|
48
|
+
</message>
|
|
49
|
+
<message name="GetOwnerInfoFromLoginResponse">
|
|
50
|
+
<part name="parameter" element="tns:GetOwnerInfoFromLoginResponse" />
|
|
51
|
+
</message>
|
|
52
|
+
|
|
53
|
+
<message name="GetOwnerInfoFromLogin2Request">
|
|
54
|
+
<part name="parameter" element="tns:GetOwnerInfoFromLogin2" />
|
|
55
|
+
</message>
|
|
56
|
+
<message name="GetOwnerInfoFromLogin2Response">
|
|
57
|
+
<part name="parameter" element="tns:GetOwnerInfoFromLogin2Response" />
|
|
58
|
+
</message>
|
|
59
|
+
|
|
60
|
+
<message name="GetUserInfoFromLoginRequest">
|
|
61
|
+
<part name="parameter" element="tns:GetUserInfoFromLogin" />
|
|
62
|
+
</message>
|
|
63
|
+
<message name="GetUserInfoFromLoginResponse">
|
|
64
|
+
<part name="parameter" element="tns:GetUserInfoFromLoginResponse" />
|
|
65
|
+
</message>
|
|
66
|
+
|
|
67
|
+
<message name="GetUserInfoFromLogin2Request">
|
|
68
|
+
<part name="parameter" element="tns:GetUserInfoFromLogin2" />
|
|
69
|
+
</message>
|
|
70
|
+
<message name="GetUserInfoFromLogin2Response">
|
|
71
|
+
<part name="parameter" element="tns:GetUserInfoFromLogin2Response" />
|
|
72
|
+
</message>
|
|
73
|
+
|
|
74
|
+
<message name="ChangeISDSPasswordRequest">
|
|
75
|
+
<part name="parameter" element="tns:ChangeISDSPassword" />
|
|
76
|
+
</message>
|
|
77
|
+
<message name="ChangeISDSPasswordResponse">
|
|
78
|
+
<part name="parameter" element="tns:ChangeISDSPasswordResponse" />
|
|
79
|
+
</message>
|
|
80
|
+
|
|
81
|
+
<message name="GetPasswordInfoRequest">
|
|
82
|
+
<part name="parameter" element="tns:GetPasswordInfo" />
|
|
83
|
+
</message>
|
|
84
|
+
<message name="GetPasswordInfoResponse">
|
|
85
|
+
<part name="parameter" element="tns:GetPasswordInfoResponse" />
|
|
86
|
+
</message>
|
|
87
|
+
|
|
88
|
+
<!-- ******************************************************************* -->
|
|
89
|
+
<portType name="DataBoxAccessPortType">
|
|
90
|
+
|
|
91
|
+
<operation name="GetOwnerInfoFromLogin">
|
|
92
|
+
<input message="tns:GetOwnerInfoFromLoginRequest"/>
|
|
93
|
+
<output message="tns:GetOwnerInfoFromLoginResponse"/>
|
|
94
|
+
</operation>
|
|
95
|
+
|
|
96
|
+
<operation name="GetOwnerInfoFromLogin2">
|
|
97
|
+
<input message="tns:GetOwnerInfoFromLogin2Request"/>
|
|
98
|
+
<output message="tns:GetOwnerInfoFromLogin2Response"/>
|
|
99
|
+
</operation>
|
|
100
|
+
|
|
101
|
+
<operation name="GetUserInfoFromLogin">
|
|
102
|
+
<input message="tns:GetUserInfoFromLoginRequest"/>
|
|
103
|
+
<output message="tns:GetUserInfoFromLoginResponse"/>
|
|
104
|
+
</operation>
|
|
105
|
+
|
|
106
|
+
<operation name="GetUserInfoFromLogin2">
|
|
107
|
+
<input message="tns:GetUserInfoFromLogin2Request"/>
|
|
108
|
+
<output message="tns:GetUserInfoFromLogin2Response"/>
|
|
109
|
+
</operation>
|
|
110
|
+
|
|
111
|
+
<operation name="ChangeISDSPassword">
|
|
112
|
+
<input message="tns:ChangeISDSPasswordRequest"/>
|
|
113
|
+
<output message="tns:ChangeISDSPasswordResponse"/>
|
|
114
|
+
</operation>
|
|
115
|
+
|
|
116
|
+
<operation name="GetPasswordInfo">
|
|
117
|
+
<input message="tns:GetPasswordInfoRequest"/>
|
|
118
|
+
<output message="tns:GetPasswordInfoResponse"/>
|
|
119
|
+
</operation>
|
|
120
|
+
|
|
121
|
+
</portType>
|
|
122
|
+
|
|
123
|
+
<!-- ******************************************************************* -->
|
|
124
|
+
<binding name="DataBoxAccessBinding" type="tns:DataBoxAccessPortType">
|
|
125
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
126
|
+
|
|
127
|
+
<operation name="GetOwnerInfoFromLogin">
|
|
128
|
+
<soap:operation soapAction="" />
|
|
129
|
+
<input>
|
|
130
|
+
<soap:body use="literal" />
|
|
131
|
+
</input>
|
|
132
|
+
<output>
|
|
133
|
+
<soap:body use="literal" />
|
|
134
|
+
</output>
|
|
135
|
+
</operation>
|
|
136
|
+
|
|
137
|
+
<operation name="GetOwnerInfoFromLogin2">
|
|
138
|
+
<soap:operation soapAction="" />
|
|
139
|
+
<input>
|
|
140
|
+
<soap:body use="literal" />
|
|
141
|
+
</input>
|
|
142
|
+
<output>
|
|
143
|
+
<soap:body use="literal" />
|
|
144
|
+
</output>
|
|
145
|
+
</operation>
|
|
146
|
+
|
|
147
|
+
<operation name="GetUserInfoFromLogin">
|
|
148
|
+
<soap:operation soapAction="" />
|
|
149
|
+
<input>
|
|
150
|
+
<soap:body use="literal" />
|
|
151
|
+
</input>
|
|
152
|
+
<output>
|
|
153
|
+
<soap:body use="literal" />
|
|
154
|
+
</output>
|
|
155
|
+
</operation>
|
|
156
|
+
|
|
157
|
+
<operation name="GetUserInfoFromLogin2">
|
|
158
|
+
<soap:operation soapAction="" />
|
|
159
|
+
<input>
|
|
160
|
+
<soap:body use="literal" />
|
|
161
|
+
</input>
|
|
162
|
+
<output>
|
|
163
|
+
<soap:body use="literal" />
|
|
164
|
+
</output>
|
|
165
|
+
</operation>
|
|
166
|
+
|
|
167
|
+
<operation name="ChangeISDSPassword">
|
|
168
|
+
<soap:operation soapAction="" />
|
|
169
|
+
<input>
|
|
170
|
+
<soap:body use="literal" />
|
|
171
|
+
</input>
|
|
172
|
+
<output>
|
|
173
|
+
<soap:body use="literal" />
|
|
174
|
+
</output>
|
|
175
|
+
</operation>
|
|
176
|
+
|
|
177
|
+
<operation name="GetPasswordInfo">
|
|
178
|
+
<soap:operation soapAction="" />
|
|
179
|
+
<input>
|
|
180
|
+
<soap:body use="literal" />
|
|
181
|
+
</input>
|
|
182
|
+
<output>
|
|
183
|
+
<soap:body use="literal" />
|
|
184
|
+
</output>
|
|
185
|
+
</operation>
|
|
186
|
+
|
|
187
|
+
</binding>
|
|
188
|
+
|
|
189
|
+
<!-- ******************************************************************* -->
|
|
190
|
+
<service name="DataBoxAccess">
|
|
191
|
+
<port name="DataBoxAccessPortType" binding="tns:DataBoxAccessBinding">
|
|
192
|
+
<soap:address location="https://ws1.mojedatovaschranka.cz/DS/DsManage"/>
|
|
193
|
+
</port>
|
|
194
|
+
</service>
|
|
195
|
+
|
|
196
|
+
</definitions>
|
|
197
|
+
|