@orchesty/connector-wflow 1.0.1 → 1.0.3
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/CHANGELOG.md +12 -0
- package/coverage/clover.xml +137 -119
- package/coverage/coverage-final.json +10 -9
- package/coverage/lcov-report/index.html +16 -16
- package/coverage/lcov-report/src/Batch/WflowSubscribeWebhookBatch.ts.html +10 -10
- package/coverage/lcov-report/src/Batch/WflowUnsubscribeWebhookBatch.ts.html +9 -9
- package/coverage/lcov-report/src/Batch/index.html +1 -1
- package/coverage/lcov-report/src/Connector/WflowGetDocumentConnector.ts.html +7 -7
- package/coverage/lcov-report/src/Connector/WflowGetDocumentMainFileConnector.ts.html +193 -0
- package/coverage/lcov-report/src/Connector/WflowGetDocumentTypesConnector.ts.html +9 -9
- package/coverage/lcov-report/src/Connector/WflowGetOrganizationsConnector.ts.html +9 -9
- package/coverage/lcov-report/src/Connector/WflowPutDocumentConnector.ts.html +7 -7
- package/coverage/lcov-report/src/Connector/WflowUpdateDocumentStateConnector.ts.html +7 -7
- package/coverage/lcov-report/src/Connector/index.html +20 -5
- package/coverage/lcov-report/src/WflowApplication.ts.html +34 -34
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/test/dataProvider.ts.html +39 -33
- package/coverage/lcov-report/test/index.html +5 -5
- package/coverage/lcov.info +163 -135
- package/dist/Connector/WflowGetDocumentMainFileConnector.d.ts +10 -0
- package/dist/Connector/WflowGetDocumentMainFileConnector.js +25 -0
- package/dist/WflowApplication.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/Connector/WflowGetDocumentMainFileConnector.ts +36 -0
- package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/input.json +8 -0
- package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/mock.json +5 -0
- package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/output.json +6 -0
- package/src/Connector/__tests__/WflowGetDocumentMainFileConnector.ts +17 -0
- package/src/WflowApplication.ts +1 -1
- package/test/dataProvider.ts +2 -0
- package/tsconfig.prod.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
package/coverage/clover.xml
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1773580330604" clover="3.2.0">
|
|
3
|
+
<project timestamp="1773580330605" name="All files">
|
|
4
|
+
<metrics statements="217" coveredstatements="180" conditionals="32" coveredconditionals="14" methods="39" coveredmethods="25" elements="288" coveredelements="219" complexity="0" loc="217" ncloc="217" packages="4" files="10" classes="10"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="52" coveredstatements="36" conditionals="8" coveredconditionals="4" methods="17" coveredmethods="6"/>
|
|
7
7
|
<file name="WflowApplication.ts" path="/var/www/lib/Wflow/src/WflowApplication.ts">
|
|
8
8
|
<metrics statements="52" coveredstatements="36" conditionals="8" coveredconditionals="4" methods="17" coveredmethods="6"/>
|
|
9
|
-
<line num="1" count="
|
|
10
|
-
<line num="3" count="
|
|
11
|
-
<line num="4" count="
|
|
12
|
-
<line num="5" count="
|
|
13
|
-
<line num="6" count="
|
|
14
|
-
<line num="9" count="
|
|
15
|
-
<line num="10" count="
|
|
16
|
-
<line num="11" count="
|
|
17
|
-
<line num="12" count="
|
|
18
|
-
<line num="15" count="
|
|
19
|
-
<line num="16" count="
|
|
20
|
-
<line num="19" count="
|
|
21
|
-
<line num="20" count="
|
|
22
|
-
<line num="21" count="
|
|
23
|
-
<line num="23" count="
|
|
24
|
-
<line num="24" count="
|
|
25
|
-
<line num="25" count="
|
|
26
|
-
<line num="26" count="
|
|
27
|
-
<line num="27" count="
|
|
28
|
-
<line num="28" count="
|
|
29
|
-
<line num="29" count="
|
|
30
|
-
<line num="30" count="
|
|
31
|
-
<line num="31" count="
|
|
32
|
-
<line num="32" count="
|
|
33
|
-
<line num="33" count="
|
|
34
|
-
<line num="36" count="
|
|
35
|
-
<line num="40" count="
|
|
36
|
-
<line num="42" count="
|
|
37
|
-
<line num="46" count="
|
|
9
|
+
<line num="1" count="8" type="stmt"/>
|
|
10
|
+
<line num="3" count="8" type="stmt"/>
|
|
11
|
+
<line num="4" count="8" type="stmt"/>
|
|
12
|
+
<line num="5" count="8" type="stmt"/>
|
|
13
|
+
<line num="6" count="8" type="stmt"/>
|
|
14
|
+
<line num="9" count="8" type="stmt"/>
|
|
15
|
+
<line num="10" count="8" type="stmt"/>
|
|
16
|
+
<line num="11" count="8" type="stmt"/>
|
|
17
|
+
<line num="12" count="8" type="stmt"/>
|
|
18
|
+
<line num="15" count="8" type="stmt"/>
|
|
19
|
+
<line num="16" count="8" type="stmt"/>
|
|
20
|
+
<line num="19" count="8" type="stmt"/>
|
|
21
|
+
<line num="20" count="8" type="stmt"/>
|
|
22
|
+
<line num="21" count="8" type="stmt"/>
|
|
23
|
+
<line num="23" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
24
|
+
<line num="24" count="8" type="stmt"/>
|
|
25
|
+
<line num="25" count="8" type="stmt"/>
|
|
26
|
+
<line num="26" count="8" type="stmt"/>
|
|
27
|
+
<line num="27" count="8" type="stmt"/>
|
|
28
|
+
<line num="28" count="8" type="stmt"/>
|
|
29
|
+
<line num="29" count="8" type="stmt"/>
|
|
30
|
+
<line num="30" count="8" type="stmt"/>
|
|
31
|
+
<line num="31" count="8" type="stmt"/>
|
|
32
|
+
<line num="32" count="8" type="stmt"/>
|
|
33
|
+
<line num="33" count="8" type="stmt"/>
|
|
34
|
+
<line num="36" count="8" type="stmt"/>
|
|
35
|
+
<line num="40" count="8" type="stmt"/>
|
|
36
|
+
<line num="42" count="8" type="stmt"/>
|
|
37
|
+
<line num="46" count="16" type="stmt"/>
|
|
38
38
|
<line num="50" count="0" type="stmt"/>
|
|
39
39
|
<line num="54" count="0" type="stmt"/>
|
|
40
40
|
<line num="58" count="0" type="stmt"/>
|
|
41
41
|
<line num="62" count="0" type="stmt"/>
|
|
42
|
-
<line num="80" count="
|
|
43
|
-
<line num="84" count="
|
|
44
|
-
<line num="86" count="
|
|
42
|
+
<line num="80" count="6" type="stmt"/>
|
|
43
|
+
<line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
44
|
+
<line num="86" count="6" type="stmt"/>
|
|
45
45
|
<line num="90" count="1" type="stmt"/>
|
|
46
46
|
<line num="92" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
47
47
|
<line num="93" count="0" type="stmt"/>
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
<metrics statements="52" coveredstatements="31" conditionals="10" coveredconditionals="2" methods="7" coveredmethods="4"/>
|
|
65
65
|
<file name="WflowSubscribeWebhookBatch.ts" path="/var/www/lib/Wflow/src/Batch/WflowSubscribeWebhookBatch.ts">
|
|
66
66
|
<metrics statements="28" coveredstatements="17" conditionals="4" coveredconditionals="1" methods="5" coveredmethods="2"/>
|
|
67
|
-
<line num="1" count="
|
|
68
|
-
<line num="3" count="
|
|
69
|
-
<line num="4" count="
|
|
70
|
-
<line num="5" count="
|
|
71
|
-
<line num="7" count="
|
|
72
|
-
<line num="8" count="
|
|
73
|
-
<line num="10" count="
|
|
74
|
-
<line num="12" count="
|
|
75
|
-
<line num="15" count="
|
|
67
|
+
<line num="1" count="8" type="stmt"/>
|
|
68
|
+
<line num="3" count="8" type="stmt"/>
|
|
69
|
+
<line num="4" count="8" type="stmt"/>
|
|
70
|
+
<line num="5" count="8" type="stmt"/>
|
|
71
|
+
<line num="7" count="8" type="stmt"/>
|
|
72
|
+
<line num="8" count="8" type="stmt"/>
|
|
73
|
+
<line num="10" count="8" type="stmt"/>
|
|
74
|
+
<line num="12" count="8" type="stmt"/>
|
|
75
|
+
<line num="15" count="8" type="stmt"/>
|
|
76
76
|
<line num="19" count="1" type="stmt"/>
|
|
77
77
|
<line num="20" count="1" type="stmt"/>
|
|
78
78
|
<line num="22" count="1" type="stmt"/>
|
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
</file>
|
|
96
96
|
<file name="WflowUnsubscribeWebhookBatch.ts" path="/var/www/lib/Wflow/src/Batch/WflowUnsubscribeWebhookBatch.ts">
|
|
97
97
|
<metrics statements="24" coveredstatements="14" conditionals="6" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
98
|
-
<line num="1" count="
|
|
99
|
-
<line num="3" count="
|
|
100
|
-
<line num="4" count="
|
|
101
|
-
<line num="5" count="
|
|
102
|
-
<line num="7" count="
|
|
103
|
-
<line num="9" count="
|
|
104
|
-
<line num="11" count="
|
|
105
|
-
<line num="14" count="
|
|
98
|
+
<line num="1" count="8" type="stmt"/>
|
|
99
|
+
<line num="3" count="8" type="stmt"/>
|
|
100
|
+
<line num="4" count="8" type="stmt"/>
|
|
101
|
+
<line num="5" count="8" type="stmt"/>
|
|
102
|
+
<line num="7" count="8" type="stmt"/>
|
|
103
|
+
<line num="9" count="8" type="stmt"/>
|
|
104
|
+
<line num="11" count="8" type="stmt"/>
|
|
105
|
+
<line num="14" count="8" type="stmt"/>
|
|
106
106
|
<line num="18" count="1" type="stmt"/>
|
|
107
107
|
<line num="19" count="1" type="stmt"/>
|
|
108
108
|
<line num="20" count="1" type="stmt"/>
|
|
@@ -122,15 +122,15 @@
|
|
|
122
122
|
</file>
|
|
123
123
|
</package>
|
|
124
124
|
<package name="src.Connector">
|
|
125
|
-
<metrics statements="
|
|
125
|
+
<metrics statements="81" coveredstatements="81" conditionals="14" coveredconditionals="8" methods="14" coveredmethods="14"/>
|
|
126
126
|
<file name="WflowGetDocumentConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowGetDocumentConnector.ts">
|
|
127
127
|
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
128
|
-
<line num="1" count="
|
|
129
|
-
<line num="2" count="
|
|
130
|
-
<line num="4" count="
|
|
131
|
-
<line num="6" count="
|
|
132
|
-
<line num="8" count="
|
|
133
|
-
<line num="11" count="
|
|
128
|
+
<line num="1" count="8" type="stmt"/>
|
|
129
|
+
<line num="2" count="8" type="stmt"/>
|
|
130
|
+
<line num="4" count="8" type="stmt"/>
|
|
131
|
+
<line num="6" count="8" type="stmt"/>
|
|
132
|
+
<line num="8" count="8" type="stmt"/>
|
|
133
|
+
<line num="11" count="8" type="stmt"/>
|
|
134
134
|
<line num="15" count="1" type="stmt"/>
|
|
135
135
|
<line num="16" count="1" type="stmt"/>
|
|
136
136
|
<line num="17" count="1" type="stmt"/>
|
|
@@ -139,16 +139,32 @@
|
|
|
139
139
|
<line num="27" count="1" type="stmt"/>
|
|
140
140
|
<line num="29" count="1" type="stmt"/>
|
|
141
141
|
</file>
|
|
142
|
+
<file name="WflowGetDocumentMainFileConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowGetDocumentMainFileConnector.ts">
|
|
143
|
+
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
144
|
+
<line num="1" count="8" type="stmt"/>
|
|
145
|
+
<line num="2" count="8" type="stmt"/>
|
|
146
|
+
<line num="3" count="8" type="stmt"/>
|
|
147
|
+
<line num="5" count="8" type="stmt"/>
|
|
148
|
+
<line num="7" count="8" type="stmt"/>
|
|
149
|
+
<line num="9" count="8" type="stmt"/>
|
|
150
|
+
<line num="12" count="8" type="stmt"/>
|
|
151
|
+
<line num="16" count="1" type="stmt"/>
|
|
152
|
+
<line num="17" count="1" type="stmt"/>
|
|
153
|
+
<line num="18" count="1" type="stmt"/>
|
|
154
|
+
<line num="20" count="1" type="stmt"/>
|
|
155
|
+
<line num="27" count="1" type="stmt"/>
|
|
156
|
+
<line num="29" count="1" type="stmt"/>
|
|
157
|
+
</file>
|
|
142
158
|
<file name="WflowGetDocumentTypesConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowGetDocumentTypesConnector.ts">
|
|
143
159
|
<metrics statements="13" coveredstatements="13" conditionals="3" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
144
|
-
<line num="1" count="
|
|
145
|
-
<line num="2" count="
|
|
146
|
-
<line num="4" count="
|
|
147
|
-
<line num="6" count="
|
|
148
|
-
<line num="8" count="
|
|
149
|
-
<line num="10" count="
|
|
150
|
-
<line num="11" count="
|
|
151
|
-
<line num="15" count="
|
|
160
|
+
<line num="1" count="8" type="stmt"/>
|
|
161
|
+
<line num="2" count="8" type="stmt"/>
|
|
162
|
+
<line num="4" count="8" type="stmt"/>
|
|
163
|
+
<line num="6" count="8" type="stmt"/>
|
|
164
|
+
<line num="8" count="8" type="stmt"/>
|
|
165
|
+
<line num="10" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
166
|
+
<line num="11" count="8" type="stmt"/>
|
|
167
|
+
<line num="15" count="8" type="stmt"/>
|
|
152
168
|
<line num="19" count="1" type="stmt"/>
|
|
153
169
|
<line num="20" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
154
170
|
<line num="22" count="1" type="stmt"/>
|
|
@@ -157,14 +173,14 @@
|
|
|
157
173
|
</file>
|
|
158
174
|
<file name="WflowGetOrganizationsConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowGetOrganizationsConnector.ts">
|
|
159
175
|
<metrics statements="12" coveredstatements="12" conditionals="3" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
160
|
-
<line num="1" count="
|
|
161
|
-
<line num="2" count="
|
|
162
|
-
<line num="4" count="
|
|
163
|
-
<line num="6" count="
|
|
164
|
-
<line num="8" count="
|
|
165
|
-
<line num="10" count="
|
|
166
|
-
<line num="11" count="
|
|
167
|
-
<line num="15" count="
|
|
176
|
+
<line num="1" count="8" type="stmt"/>
|
|
177
|
+
<line num="2" count="8" type="stmt"/>
|
|
178
|
+
<line num="4" count="8" type="stmt"/>
|
|
179
|
+
<line num="6" count="8" type="stmt"/>
|
|
180
|
+
<line num="8" count="8" type="stmt"/>
|
|
181
|
+
<line num="10" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
182
|
+
<line num="11" count="8" type="stmt"/>
|
|
183
|
+
<line num="15" count="8" type="stmt"/>
|
|
168
184
|
<line num="19" count="1" type="stmt"/>
|
|
169
185
|
<line num="21" count="1" type="stmt"/>
|
|
170
186
|
<line num="28" count="1" type="stmt"/>
|
|
@@ -172,12 +188,12 @@
|
|
|
172
188
|
</file>
|
|
173
189
|
<file name="WflowPutDocumentConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowPutDocumentConnector.ts">
|
|
174
190
|
<metrics statements="17" coveredstatements="17" conditionals="8" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
175
|
-
<line num="1" count="
|
|
176
|
-
<line num="2" count="
|
|
177
|
-
<line num="4" count="
|
|
178
|
-
<line num="6" count="
|
|
179
|
-
<line num="8" count="
|
|
180
|
-
<line num="11" count="
|
|
191
|
+
<line num="1" count="8" type="stmt"/>
|
|
192
|
+
<line num="2" count="8" type="stmt"/>
|
|
193
|
+
<line num="4" count="8" type="stmt"/>
|
|
194
|
+
<line num="6" count="8" type="stmt"/>
|
|
195
|
+
<line num="8" count="8" type="stmt"/>
|
|
196
|
+
<line num="11" count="8" type="stmt"/>
|
|
181
197
|
<line num="15" count="1" type="stmt"/>
|
|
182
198
|
<line num="16" count="1" type="stmt"/>
|
|
183
199
|
<line num="17" count="1" type="stmt"/>
|
|
@@ -192,12 +208,12 @@
|
|
|
192
208
|
</file>
|
|
193
209
|
<file name="WflowUpdateDocumentStateConnector.ts" path="/var/www/lib/Wflow/src/Connector/WflowUpdateDocumentStateConnector.ts">
|
|
194
210
|
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
195
|
-
<line num="1" count="
|
|
196
|
-
<line num="2" count="
|
|
197
|
-
<line num="4" count="
|
|
198
|
-
<line num="6" count="
|
|
199
|
-
<line num="8" count="
|
|
200
|
-
<line num="11" count="
|
|
211
|
+
<line num="1" count="8" type="stmt"/>
|
|
212
|
+
<line num="2" count="8" type="stmt"/>
|
|
213
|
+
<line num="4" count="8" type="stmt"/>
|
|
214
|
+
<line num="6" count="8" type="stmt"/>
|
|
215
|
+
<line num="8" count="8" type="stmt"/>
|
|
216
|
+
<line num="11" count="8" type="stmt"/>
|
|
201
217
|
<line num="15" count="1" type="stmt"/>
|
|
202
218
|
<line num="16" count="1" type="stmt"/>
|
|
203
219
|
<line num="17" count="1" type="stmt"/>
|
|
@@ -208,39 +224,41 @@
|
|
|
208
224
|
</file>
|
|
209
225
|
</package>
|
|
210
226
|
<package name="test">
|
|
211
|
-
<metrics statements="
|
|
227
|
+
<metrics statements="32" coveredstatements="32" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
212
228
|
<file name="dataProvider.ts" path="/var/www/lib/Wflow/test/dataProvider.ts">
|
|
213
|
-
<metrics statements="
|
|
214
|
-
<line num="1" count="
|
|
215
|
-
<line num="2" count="
|
|
216
|
-
<line num="3" count="
|
|
217
|
-
<line num="4" count="
|
|
218
|
-
<line num="5" count="
|
|
219
|
-
<line num="6" count="
|
|
220
|
-
<line num="7" count="
|
|
221
|
-
<line num="8" count="
|
|
222
|
-
<line num="9" count="
|
|
223
|
-
<line num="10" count="
|
|
224
|
-
<line num="11" count="
|
|
225
|
-
<line num="12" count="
|
|
226
|
-
<line num="13" count="
|
|
227
|
-
<line num="14" count="
|
|
228
|
-
<line num="15" count="
|
|
229
|
-
<line num="16" count="
|
|
230
|
-
<line num="17" count="
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="20" count="
|
|
233
|
-
<line num="
|
|
234
|
-
<line num="
|
|
235
|
-
<line num="47" count="
|
|
236
|
-
<line num="48" count="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="51" count="
|
|
239
|
-
<line num="52" count="
|
|
240
|
-
<line num="53" count="
|
|
241
|
-
<line num="54" count="
|
|
242
|
-
<line num="55" count="
|
|
243
|
-
<line num="56" count="
|
|
229
|
+
<metrics statements="32" coveredstatements="32" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
230
|
+
<line num="1" count="8" type="stmt"/>
|
|
231
|
+
<line num="2" count="8" type="stmt"/>
|
|
232
|
+
<line num="3" count="8" type="stmt"/>
|
|
233
|
+
<line num="4" count="8" type="stmt"/>
|
|
234
|
+
<line num="5" count="8" type="stmt"/>
|
|
235
|
+
<line num="6" count="8" type="stmt"/>
|
|
236
|
+
<line num="7" count="8" type="stmt"/>
|
|
237
|
+
<line num="8" count="8" type="stmt"/>
|
|
238
|
+
<line num="9" count="8" type="stmt"/>
|
|
239
|
+
<line num="10" count="8" type="stmt"/>
|
|
240
|
+
<line num="11" count="8" type="stmt"/>
|
|
241
|
+
<line num="12" count="8" type="stmt"/>
|
|
242
|
+
<line num="13" count="8" type="stmt"/>
|
|
243
|
+
<line num="14" count="8" type="stmt"/>
|
|
244
|
+
<line num="15" count="8" type="stmt"/>
|
|
245
|
+
<line num="16" count="8" type="stmt"/>
|
|
246
|
+
<line num="17" count="8" type="stmt"/>
|
|
247
|
+
<line num="18" count="8" type="stmt"/>
|
|
248
|
+
<line num="20" count="8" type="stmt"/>
|
|
249
|
+
<line num="21" count="8" type="stmt"/>
|
|
250
|
+
<line num="34" count="8" type="stmt"/>
|
|
251
|
+
<line num="47" count="8" type="stmt"/>
|
|
252
|
+
<line num="48" count="8" type="stmt"/>
|
|
253
|
+
<line num="49" count="8" type="stmt"/>
|
|
254
|
+
<line num="51" count="8" type="stmt"/>
|
|
255
|
+
<line num="52" count="8" type="stmt"/>
|
|
256
|
+
<line num="53" count="8" type="stmt"/>
|
|
257
|
+
<line num="54" count="8" type="stmt"/>
|
|
258
|
+
<line num="55" count="8" type="stmt"/>
|
|
259
|
+
<line num="56" count="8" type="stmt"/>
|
|
260
|
+
<line num="57" count="8" type="stmt"/>
|
|
261
|
+
<line num="58" count="8" type="stmt"/>
|
|
244
262
|
</file>
|
|
245
263
|
</package>
|
|
246
264
|
</project>
|