@orchesty/connector-wflow 2.0.0 → 2.0.1
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 +6 -0
- package/package.json +6 -3
- package/coverage/clover.xml +0 -382
- package/coverage/coverage-final.json +0 -18
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -161
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov-report/src/Batch/WflowSubscribeWebhookBatch.ts.html +0 -337
- package/coverage/lcov-report/src/Batch/WflowUnsubscribeWebhookBatch.ts.html +0 -262
- package/coverage/lcov-report/src/Batch/index.html +0 -131
- package/coverage/lcov-report/src/Connector/WflowGetDocumentConnector.ts.html +0 -1105
- package/coverage/lcov-report/src/Connector/WflowGetDocumentMainFileConnector.ts.html +0 -205
- package/coverage/lcov-report/src/Connector/WflowGetDocumentTypesConnector.ts.html +0 -292
- package/coverage/lcov-report/src/Connector/WflowGetOrganizationsConnector.ts.html +0 -205
- package/coverage/lcov-report/src/Connector/WflowPatchAccountingRulesConnector.ts.html +0 -244
- package/coverage/lcov-report/src/Connector/WflowPatchChartOfAccountsConnector.ts.html +0 -211
- package/coverage/lcov-report/src/Connector/WflowPatchContractsConnector.ts.html +0 -211
- package/coverage/lcov-report/src/Connector/WflowPatchCostCentersConnector.ts.html +0 -211
- package/coverage/lcov-report/src/Connector/WflowPatchSeriesConnector.ts.html +0 -268
- package/coverage/lcov-report/src/Connector/WflowPatchVatControlStatementLinesConnector.ts.html +0 -211
- package/coverage/lcov-report/src/Connector/WflowPatchVatReturnLinesConnector.ts.html +0 -214
- package/coverage/lcov-report/src/Connector/WflowPutDocumentConnector.ts.html +0 -532
- package/coverage/lcov-report/src/Connector/WflowUpdateDocumentStateConnector.ts.html +0 -193
- package/coverage/lcov-report/src/Connector/index.html +0 -296
- package/coverage/lcov-report/src/WflowApplication.ts.html +0 -538
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/test/dataProvider.ts.html +0 -307
- package/coverage/lcov-report/test/index.html +0 -116
- package/coverage/lcov.info +0 -614
- package/dist/Batch/WflowSubscribeWebhookBatch.d.ts +0 -7
- package/dist/Batch/WflowSubscribeWebhookBatch.js +0 -57
- package/dist/Batch/WflowUnsubscribeWebhookBatch.d.ts +0 -7
- package/dist/Batch/WflowUnsubscribeWebhookBatch.js +0 -47
- package/dist/Connector/WflowGetDocumentConnector.d.ts +0 -310
- package/dist/Connector/WflowGetDocumentConnector.js +0 -24
- package/dist/Connector/WflowGetDocumentMainFileConnector.d.ts +0 -13
- package/dist/Connector/WflowGetDocumentMainFileConnector.js +0 -25
- package/dist/Connector/WflowGetDocumentTypesConnector.d.ts +0 -36
- package/dist/Connector/WflowGetDocumentTypesConnector.js +0 -28
- package/dist/Connector/WflowGetOrganizationsConnector.d.ts +0 -15
- package/dist/Connector/WflowGetOrganizationsConnector.js +0 -27
- package/dist/Connector/WflowPatchAccountingRulesConnector.d.ts +0 -17
- package/dist/Connector/WflowPatchAccountingRulesConnector.js +0 -24
- package/dist/Connector/WflowPatchChartOfAccountsConnector.d.ts +0 -15
- package/dist/Connector/WflowPatchChartOfAccountsConnector.js +0 -24
- package/dist/Connector/WflowPatchContractsConnector.d.ts +0 -15
- package/dist/Connector/WflowPatchContractsConnector.js +0 -24
- package/dist/Connector/WflowPatchCostCentersConnector.d.ts +0 -15
- package/dist/Connector/WflowPatchCostCentersConnector.js +0 -24
- package/dist/Connector/WflowPatchSeriesConnector.d.ts +0 -19
- package/dist/Connector/WflowPatchSeriesConnector.js +0 -24
- package/dist/Connector/WflowPatchVatControlStatementLinesConnector.d.ts +0 -15
- package/dist/Connector/WflowPatchVatControlStatementLinesConnector.js +0 -24
- package/dist/Connector/WflowPatchVatReturnLinesConnector.d.ts +0 -16
- package/dist/Connector/WflowPatchVatReturnLinesConnector.js +0 -24
- package/dist/Connector/WflowPutDocumentConnector.d.ts +0 -117
- package/dist/Connector/WflowPutDocumentConnector.js +0 -31
- package/dist/Connector/WflowUpdateDocumentStateConnector.d.ts +0 -11
- package/dist/Connector/WflowUpdateDocumentStateConnector.js +0 -24
- package/dist/WflowApplication.d.ts +0 -41
- package/dist/WflowApplication.js +0 -133
- package/dist/package.json +0 -23
- package/tsconfig.prod.tsbuildinfo +0 -1
package/coverage/lcov.info
DELETED
|
@@ -1,614 +0,0 @@
|
|
|
1
|
-
TN:
|
|
2
|
-
SF:src/WflowApplication.ts
|
|
3
|
-
FN:23,(anonymous_10)
|
|
4
|
-
FN:38,(anonymous_11)
|
|
5
|
-
FN:45,(anonymous_12)
|
|
6
|
-
FN:49,(anonymous_13)
|
|
7
|
-
FN:53,(anonymous_14)
|
|
8
|
-
FN:57,(anonymous_15)
|
|
9
|
-
FN:61,(anonymous_16)
|
|
10
|
-
FN:73,(anonymous_17)
|
|
11
|
-
FN:89,(anonymous_18)
|
|
12
|
-
FN:99,(anonymous_19)
|
|
13
|
-
FN:103,(anonymous_20)
|
|
14
|
-
FN:107,(anonymous_21)
|
|
15
|
-
FN:111,(anonymous_22)
|
|
16
|
-
FN:115,(anonymous_23)
|
|
17
|
-
FN:119,(anonymous_24)
|
|
18
|
-
FN:130,(anonymous_25)
|
|
19
|
-
FN:138,(anonymous_26)
|
|
20
|
-
FNF:17
|
|
21
|
-
FNH:6
|
|
22
|
-
FNDA:15,(anonymous_10)
|
|
23
|
-
FNDA:15,(anonymous_11)
|
|
24
|
-
FNDA:37,(anonymous_12)
|
|
25
|
-
FNDA:0,(anonymous_13)
|
|
26
|
-
FNDA:0,(anonymous_14)
|
|
27
|
-
FNDA:0,(anonymous_15)
|
|
28
|
-
FNDA:0,(anonymous_16)
|
|
29
|
-
FNDA:20,(anonymous_17)
|
|
30
|
-
FNDA:19,(anonymous_18)
|
|
31
|
-
FNDA:0,(anonymous_19)
|
|
32
|
-
FNDA:0,(anonymous_20)
|
|
33
|
-
FNDA:0,(anonymous_21)
|
|
34
|
-
FNDA:0,(anonymous_22)
|
|
35
|
-
FNDA:1,(anonymous_23)
|
|
36
|
-
FNDA:0,(anonymous_24)
|
|
37
|
-
FNDA:0,(anonymous_25)
|
|
38
|
-
FNDA:0,(anonymous_26)
|
|
39
|
-
DA:1,15
|
|
40
|
-
DA:3,15
|
|
41
|
-
DA:4,15
|
|
42
|
-
DA:5,15
|
|
43
|
-
DA:6,15
|
|
44
|
-
DA:9,15
|
|
45
|
-
DA:10,15
|
|
46
|
-
DA:11,15
|
|
47
|
-
DA:12,15
|
|
48
|
-
DA:15,15
|
|
49
|
-
DA:16,15
|
|
50
|
-
DA:19,15
|
|
51
|
-
DA:20,15
|
|
52
|
-
DA:21,15
|
|
53
|
-
DA:23,15
|
|
54
|
-
DA:24,15
|
|
55
|
-
DA:25,15
|
|
56
|
-
DA:26,15
|
|
57
|
-
DA:27,15
|
|
58
|
-
DA:28,15
|
|
59
|
-
DA:29,15
|
|
60
|
-
DA:30,15
|
|
61
|
-
DA:31,15
|
|
62
|
-
DA:32,15
|
|
63
|
-
DA:33,15
|
|
64
|
-
DA:36,15
|
|
65
|
-
DA:40,15
|
|
66
|
-
DA:42,15
|
|
67
|
-
DA:46,37
|
|
68
|
-
DA:50,0
|
|
69
|
-
DA:54,0
|
|
70
|
-
DA:58,0
|
|
71
|
-
DA:62,0
|
|
72
|
-
DA:80,20
|
|
73
|
-
DA:84,20
|
|
74
|
-
DA:86,20
|
|
75
|
-
DA:90,19
|
|
76
|
-
DA:92,19
|
|
77
|
-
DA:93,0
|
|
78
|
-
DA:96,19
|
|
79
|
-
DA:100,0
|
|
80
|
-
DA:104,0
|
|
81
|
-
DA:108,0
|
|
82
|
-
DA:112,0
|
|
83
|
-
DA:116,1
|
|
84
|
-
DA:120,0
|
|
85
|
-
DA:130,0
|
|
86
|
-
DA:131,0
|
|
87
|
-
DA:133,0
|
|
88
|
-
DA:134,0
|
|
89
|
-
DA:138,0
|
|
90
|
-
DA:140,0
|
|
91
|
-
LF:52
|
|
92
|
-
LH:36
|
|
93
|
-
BRDA:23,0,0,15
|
|
94
|
-
BRDA:23,0,1,15
|
|
95
|
-
BRDA:84,1,0,20
|
|
96
|
-
BRDA:84,1,1,0
|
|
97
|
-
BRDA:92,2,0,0
|
|
98
|
-
BRDA:92,2,1,19
|
|
99
|
-
BRDA:133,3,0,0
|
|
100
|
-
BRDA:133,3,1,0
|
|
101
|
-
BRF:8
|
|
102
|
-
BRH:4
|
|
103
|
-
end_of_record
|
|
104
|
-
TN:
|
|
105
|
-
SF:src/Batch/WflowSubscribeWebhookBatch.ts
|
|
106
|
-
FN:14,(anonymous_1)
|
|
107
|
-
FN:18,(anonymous_2)
|
|
108
|
-
FN:29,(anonymous_3)
|
|
109
|
-
FN:32,(anonymous_4)
|
|
110
|
-
FN:33,(anonymous_5)
|
|
111
|
-
FNF:5
|
|
112
|
-
FNH:2
|
|
113
|
-
FNDA:15,(anonymous_1)
|
|
114
|
-
FNDA:1,(anonymous_2)
|
|
115
|
-
FNDA:0,(anonymous_3)
|
|
116
|
-
FNDA:0,(anonymous_4)
|
|
117
|
-
FNDA:0,(anonymous_5)
|
|
118
|
-
DA:1,15
|
|
119
|
-
DA:3,15
|
|
120
|
-
DA:4,15
|
|
121
|
-
DA:5,15
|
|
122
|
-
DA:7,15
|
|
123
|
-
DA:8,15
|
|
124
|
-
DA:10,15
|
|
125
|
-
DA:12,15
|
|
126
|
-
DA:15,15
|
|
127
|
-
DA:19,1
|
|
128
|
-
DA:20,1
|
|
129
|
-
DA:22,1
|
|
130
|
-
DA:23,1
|
|
131
|
-
DA:25,1
|
|
132
|
-
DA:29,0
|
|
133
|
-
DA:31,1
|
|
134
|
-
DA:32,0
|
|
135
|
-
DA:33,0
|
|
136
|
-
DA:37,1
|
|
137
|
-
DA:38,1
|
|
138
|
-
DA:43,0
|
|
139
|
-
DA:44,0
|
|
140
|
-
DA:46,0
|
|
141
|
-
DA:49,0
|
|
142
|
-
DA:50,0
|
|
143
|
-
DA:65,0
|
|
144
|
-
DA:69,0
|
|
145
|
-
DA:81,0
|
|
146
|
-
LF:28
|
|
147
|
-
LH:17
|
|
148
|
-
BRDA:37,0,0,1
|
|
149
|
-
BRDA:37,0,1,0
|
|
150
|
-
BRF:2
|
|
151
|
-
BRH:1
|
|
152
|
-
end_of_record
|
|
153
|
-
TN:
|
|
154
|
-
SF:src/Batch/WflowUnsubscribeWebhookBatch.ts
|
|
155
|
-
FN:14,(anonymous_1)
|
|
156
|
-
FN:18,(anonymous_2)
|
|
157
|
-
FNF:2
|
|
158
|
-
FNH:2
|
|
159
|
-
FNDA:15,(anonymous_1)
|
|
160
|
-
FNDA:1,(anonymous_2)
|
|
161
|
-
DA:1,15
|
|
162
|
-
DA:3,15
|
|
163
|
-
DA:4,15
|
|
164
|
-
DA:5,15
|
|
165
|
-
DA:7,15
|
|
166
|
-
DA:8,15
|
|
167
|
-
DA:10,15
|
|
168
|
-
DA:12,15
|
|
169
|
-
DA:15,15
|
|
170
|
-
DA:19,1
|
|
171
|
-
DA:20,1
|
|
172
|
-
DA:21,1
|
|
173
|
-
DA:23,1
|
|
174
|
-
DA:29,1
|
|
175
|
-
DA:30,1
|
|
176
|
-
DA:35,0
|
|
177
|
-
DA:36,0
|
|
178
|
-
DA:38,0
|
|
179
|
-
DA:41,0
|
|
180
|
-
DA:48,0
|
|
181
|
-
DA:50,0
|
|
182
|
-
DA:51,0
|
|
183
|
-
DA:52,0
|
|
184
|
-
DA:55,0
|
|
185
|
-
DA:56,0
|
|
186
|
-
LF:25
|
|
187
|
-
LH:15
|
|
188
|
-
BRDA:29,0,0,1
|
|
189
|
-
BRDA:29,0,1,0
|
|
190
|
-
BRDA:50,1,0,0
|
|
191
|
-
BRDA:50,1,1,0
|
|
192
|
-
BRF:4
|
|
193
|
-
BRH:1
|
|
194
|
-
end_of_record
|
|
195
|
-
TN:
|
|
196
|
-
SF:src/Connector/WflowGetDocumentConnector.ts
|
|
197
|
-
FN:10,(anonymous_1)
|
|
198
|
-
FN:14,(anonymous_2)
|
|
199
|
-
FNF:2
|
|
200
|
-
FNH:2
|
|
201
|
-
FNDA:15,(anonymous_1)
|
|
202
|
-
FNDA:1,(anonymous_2)
|
|
203
|
-
DA:1,15
|
|
204
|
-
DA:2,15
|
|
205
|
-
DA:4,15
|
|
206
|
-
DA:6,15
|
|
207
|
-
DA:8,15
|
|
208
|
-
DA:11,15
|
|
209
|
-
DA:15,1
|
|
210
|
-
DA:16,1
|
|
211
|
-
DA:17,1
|
|
212
|
-
DA:19,1
|
|
213
|
-
DA:26,1
|
|
214
|
-
DA:28,1
|
|
215
|
-
LF:12
|
|
216
|
-
LH:12
|
|
217
|
-
BRF:0
|
|
218
|
-
BRH:0
|
|
219
|
-
end_of_record
|
|
220
|
-
TN:
|
|
221
|
-
SF:src/Connector/WflowGetDocumentMainFileConnector.ts
|
|
222
|
-
FN:11,(anonymous_1)
|
|
223
|
-
FN:15,(anonymous_2)
|
|
224
|
-
FNF:2
|
|
225
|
-
FNH:2
|
|
226
|
-
FNDA:15,(anonymous_1)
|
|
227
|
-
FNDA:1,(anonymous_2)
|
|
228
|
-
DA:1,15
|
|
229
|
-
DA:2,15
|
|
230
|
-
DA:3,15
|
|
231
|
-
DA:5,15
|
|
232
|
-
DA:7,15
|
|
233
|
-
DA:9,15
|
|
234
|
-
DA:12,15
|
|
235
|
-
DA:16,1
|
|
236
|
-
DA:17,1
|
|
237
|
-
DA:18,1
|
|
238
|
-
DA:20,1
|
|
239
|
-
DA:27,1
|
|
240
|
-
DA:29,1
|
|
241
|
-
LF:13
|
|
242
|
-
LH:13
|
|
243
|
-
BRF:0
|
|
244
|
-
BRH:0
|
|
245
|
-
end_of_record
|
|
246
|
-
TN:
|
|
247
|
-
SF:src/Connector/WflowGetDocumentTypesConnector.ts
|
|
248
|
-
FN:10,(anonymous_1)
|
|
249
|
-
FN:14,(anonymous_2)
|
|
250
|
-
FN:18,(anonymous_3)
|
|
251
|
-
FNF:3
|
|
252
|
-
FNH:3
|
|
253
|
-
FNDA:15,(anonymous_1)
|
|
254
|
-
FNDA:15,(anonymous_2)
|
|
255
|
-
FNDA:1,(anonymous_3)
|
|
256
|
-
DA:1,15
|
|
257
|
-
DA:2,15
|
|
258
|
-
DA:4,15
|
|
259
|
-
DA:6,15
|
|
260
|
-
DA:8,15
|
|
261
|
-
DA:10,15
|
|
262
|
-
DA:11,15
|
|
263
|
-
DA:15,15
|
|
264
|
-
DA:19,1
|
|
265
|
-
DA:20,1
|
|
266
|
-
DA:22,1
|
|
267
|
-
DA:29,1
|
|
268
|
-
DA:31,1
|
|
269
|
-
LF:13
|
|
270
|
-
LH:13
|
|
271
|
-
BRDA:10,0,0,15
|
|
272
|
-
BRDA:20,1,0,0
|
|
273
|
-
BRDA:20,1,1,1
|
|
274
|
-
BRF:3
|
|
275
|
-
BRH:2
|
|
276
|
-
end_of_record
|
|
277
|
-
TN:
|
|
278
|
-
SF:src/Connector/WflowGetOrganizationsConnector.ts
|
|
279
|
-
FN:10,(anonymous_1)
|
|
280
|
-
FN:14,(anonymous_2)
|
|
281
|
-
FN:18,(anonymous_3)
|
|
282
|
-
FNF:3
|
|
283
|
-
FNH:3
|
|
284
|
-
FNDA:15,(anonymous_1)
|
|
285
|
-
FNDA:15,(anonymous_2)
|
|
286
|
-
FNDA:1,(anonymous_3)
|
|
287
|
-
DA:1,15
|
|
288
|
-
DA:2,15
|
|
289
|
-
DA:4,15
|
|
290
|
-
DA:6,15
|
|
291
|
-
DA:8,15
|
|
292
|
-
DA:10,15
|
|
293
|
-
DA:11,15
|
|
294
|
-
DA:15,15
|
|
295
|
-
DA:19,1
|
|
296
|
-
DA:21,1
|
|
297
|
-
DA:28,1
|
|
298
|
-
DA:30,1
|
|
299
|
-
LF:12
|
|
300
|
-
LH:12
|
|
301
|
-
BRDA:10,0,0,15
|
|
302
|
-
BRDA:23,1,0,0
|
|
303
|
-
BRDA:23,1,1,1
|
|
304
|
-
BRF:3
|
|
305
|
-
BRH:2
|
|
306
|
-
end_of_record
|
|
307
|
-
TN:
|
|
308
|
-
SF:src/Connector/WflowPatchAccountingRulesConnector.ts
|
|
309
|
-
FN:10,(anonymous_1)
|
|
310
|
-
FN:14,(anonymous_2)
|
|
311
|
-
FNF:2
|
|
312
|
-
FNH:2
|
|
313
|
-
FNDA:15,(anonymous_1)
|
|
314
|
-
FNDA:2,(anonymous_2)
|
|
315
|
-
DA:1,15
|
|
316
|
-
DA:2,15
|
|
317
|
-
DA:4,15
|
|
318
|
-
DA:6,15
|
|
319
|
-
DA:8,15
|
|
320
|
-
DA:11,15
|
|
321
|
-
DA:15,2
|
|
322
|
-
DA:16,2
|
|
323
|
-
DA:17,2
|
|
324
|
-
DA:19,2
|
|
325
|
-
DA:27,2
|
|
326
|
-
DA:29,2
|
|
327
|
-
LF:12
|
|
328
|
-
LH:12
|
|
329
|
-
BRDA:24,0,0,1
|
|
330
|
-
BRDA:24,0,1,1
|
|
331
|
-
BRF:2
|
|
332
|
-
BRH:2
|
|
333
|
-
end_of_record
|
|
334
|
-
TN:
|
|
335
|
-
SF:src/Connector/WflowPatchChartOfAccountsConnector.ts
|
|
336
|
-
FN:10,(anonymous_1)
|
|
337
|
-
FN:14,(anonymous_2)
|
|
338
|
-
FNF:2
|
|
339
|
-
FNH:2
|
|
340
|
-
FNDA:15,(anonymous_1)
|
|
341
|
-
FNDA:2,(anonymous_2)
|
|
342
|
-
DA:1,15
|
|
343
|
-
DA:2,15
|
|
344
|
-
DA:4,15
|
|
345
|
-
DA:6,15
|
|
346
|
-
DA:8,15
|
|
347
|
-
DA:11,15
|
|
348
|
-
DA:15,2
|
|
349
|
-
DA:16,2
|
|
350
|
-
DA:17,2
|
|
351
|
-
DA:19,2
|
|
352
|
-
DA:27,2
|
|
353
|
-
DA:29,2
|
|
354
|
-
LF:12
|
|
355
|
-
LH:12
|
|
356
|
-
BRDA:24,0,0,1
|
|
357
|
-
BRDA:24,0,1,1
|
|
358
|
-
BRF:2
|
|
359
|
-
BRH:2
|
|
360
|
-
end_of_record
|
|
361
|
-
TN:
|
|
362
|
-
SF:src/Connector/WflowPatchContractsConnector.ts
|
|
363
|
-
FN:10,(anonymous_1)
|
|
364
|
-
FN:14,(anonymous_2)
|
|
365
|
-
FNF:2
|
|
366
|
-
FNH:2
|
|
367
|
-
FNDA:15,(anonymous_1)
|
|
368
|
-
FNDA:2,(anonymous_2)
|
|
369
|
-
DA:1,15
|
|
370
|
-
DA:2,15
|
|
371
|
-
DA:4,15
|
|
372
|
-
DA:6,15
|
|
373
|
-
DA:8,15
|
|
374
|
-
DA:11,15
|
|
375
|
-
DA:15,2
|
|
376
|
-
DA:16,2
|
|
377
|
-
DA:17,2
|
|
378
|
-
DA:19,2
|
|
379
|
-
DA:27,2
|
|
380
|
-
DA:29,2
|
|
381
|
-
LF:12
|
|
382
|
-
LH:12
|
|
383
|
-
BRDA:24,0,0,1
|
|
384
|
-
BRDA:24,0,1,1
|
|
385
|
-
BRF:2
|
|
386
|
-
BRH:2
|
|
387
|
-
end_of_record
|
|
388
|
-
TN:
|
|
389
|
-
SF:src/Connector/WflowPatchCostCentersConnector.ts
|
|
390
|
-
FN:10,(anonymous_1)
|
|
391
|
-
FN:14,(anonymous_2)
|
|
392
|
-
FNF:2
|
|
393
|
-
FNH:2
|
|
394
|
-
FNDA:15,(anonymous_1)
|
|
395
|
-
FNDA:2,(anonymous_2)
|
|
396
|
-
DA:1,15
|
|
397
|
-
DA:2,15
|
|
398
|
-
DA:4,15
|
|
399
|
-
DA:6,15
|
|
400
|
-
DA:8,15
|
|
401
|
-
DA:11,15
|
|
402
|
-
DA:15,2
|
|
403
|
-
DA:16,2
|
|
404
|
-
DA:17,2
|
|
405
|
-
DA:19,2
|
|
406
|
-
DA:27,2
|
|
407
|
-
DA:29,2
|
|
408
|
-
LF:12
|
|
409
|
-
LH:12
|
|
410
|
-
BRDA:24,0,0,1
|
|
411
|
-
BRDA:24,0,1,1
|
|
412
|
-
BRF:2
|
|
413
|
-
BRH:2
|
|
414
|
-
end_of_record
|
|
415
|
-
TN:
|
|
416
|
-
SF:src/Connector/WflowPatchSeriesConnector.ts
|
|
417
|
-
FN:10,(anonymous_1)
|
|
418
|
-
FN:14,(anonymous_2)
|
|
419
|
-
FNF:2
|
|
420
|
-
FNH:2
|
|
421
|
-
FNDA:15,(anonymous_1)
|
|
422
|
-
FNDA:2,(anonymous_2)
|
|
423
|
-
DA:1,15
|
|
424
|
-
DA:2,15
|
|
425
|
-
DA:4,15
|
|
426
|
-
DA:6,15
|
|
427
|
-
DA:8,15
|
|
428
|
-
DA:11,15
|
|
429
|
-
DA:15,2
|
|
430
|
-
DA:16,2
|
|
431
|
-
DA:17,2
|
|
432
|
-
DA:19,2
|
|
433
|
-
DA:27,2
|
|
434
|
-
DA:29,2
|
|
435
|
-
LF:12
|
|
436
|
-
LH:12
|
|
437
|
-
BRDA:24,0,0,1
|
|
438
|
-
BRDA:24,0,1,1
|
|
439
|
-
BRF:2
|
|
440
|
-
BRH:2
|
|
441
|
-
end_of_record
|
|
442
|
-
TN:
|
|
443
|
-
SF:src/Connector/WflowPatchVatControlStatementLinesConnector.ts
|
|
444
|
-
FN:10,(anonymous_1)
|
|
445
|
-
FN:14,(anonymous_2)
|
|
446
|
-
FNF:2
|
|
447
|
-
FNH:2
|
|
448
|
-
FNDA:15,(anonymous_1)
|
|
449
|
-
FNDA:2,(anonymous_2)
|
|
450
|
-
DA:1,15
|
|
451
|
-
DA:2,15
|
|
452
|
-
DA:4,15
|
|
453
|
-
DA:6,15
|
|
454
|
-
DA:8,15
|
|
455
|
-
DA:11,15
|
|
456
|
-
DA:15,2
|
|
457
|
-
DA:16,2
|
|
458
|
-
DA:17,2
|
|
459
|
-
DA:19,2
|
|
460
|
-
DA:27,2
|
|
461
|
-
DA:29,2
|
|
462
|
-
LF:12
|
|
463
|
-
LH:12
|
|
464
|
-
BRDA:24,0,0,1
|
|
465
|
-
BRDA:24,0,1,1
|
|
466
|
-
BRF:2
|
|
467
|
-
BRH:2
|
|
468
|
-
end_of_record
|
|
469
|
-
TN:
|
|
470
|
-
SF:src/Connector/WflowPatchVatReturnLinesConnector.ts
|
|
471
|
-
FN:10,(anonymous_1)
|
|
472
|
-
FN:14,(anonymous_2)
|
|
473
|
-
FNF:2
|
|
474
|
-
FNH:2
|
|
475
|
-
FNDA:15,(anonymous_1)
|
|
476
|
-
FNDA:2,(anonymous_2)
|
|
477
|
-
DA:1,15
|
|
478
|
-
DA:2,15
|
|
479
|
-
DA:4,15
|
|
480
|
-
DA:6,15
|
|
481
|
-
DA:8,15
|
|
482
|
-
DA:11,15
|
|
483
|
-
DA:15,2
|
|
484
|
-
DA:16,2
|
|
485
|
-
DA:17,2
|
|
486
|
-
DA:19,2
|
|
487
|
-
DA:27,2
|
|
488
|
-
DA:29,2
|
|
489
|
-
LF:12
|
|
490
|
-
LH:12
|
|
491
|
-
BRDA:24,0,0,1
|
|
492
|
-
BRDA:24,0,1,1
|
|
493
|
-
BRF:2
|
|
494
|
-
BRH:2
|
|
495
|
-
end_of_record
|
|
496
|
-
TN:
|
|
497
|
-
SF:src/Connector/WflowPutDocumentConnector.ts
|
|
498
|
-
FN:10,(anonymous_1)
|
|
499
|
-
FN:14,(anonymous_2)
|
|
500
|
-
FNF:2
|
|
501
|
-
FNH:2
|
|
502
|
-
FNDA:15,(anonymous_1)
|
|
503
|
-
FNDA:1,(anonymous_2)
|
|
504
|
-
DA:1,15
|
|
505
|
-
DA:2,15
|
|
506
|
-
DA:4,15
|
|
507
|
-
DA:6,15
|
|
508
|
-
DA:8,15
|
|
509
|
-
DA:11,15
|
|
510
|
-
DA:15,1
|
|
511
|
-
DA:16,1
|
|
512
|
-
DA:17,1
|
|
513
|
-
DA:19,1
|
|
514
|
-
DA:20,1
|
|
515
|
-
DA:21,1
|
|
516
|
-
DA:22,1
|
|
517
|
-
DA:24,1
|
|
518
|
-
DA:32,1
|
|
519
|
-
DA:34,1
|
|
520
|
-
LF:16
|
|
521
|
-
LH:16
|
|
522
|
-
BRDA:20,0,0,0
|
|
523
|
-
BRDA:20,0,1,1
|
|
524
|
-
BRDA:21,1,0,0
|
|
525
|
-
BRDA:21,1,1,1
|
|
526
|
-
BRDA:22,2,0,0
|
|
527
|
-
BRDA:22,2,1,1
|
|
528
|
-
BRDA:28,3,0,0
|
|
529
|
-
BRDA:28,3,1,1
|
|
530
|
-
BRF:8
|
|
531
|
-
BRH:4
|
|
532
|
-
end_of_record
|
|
533
|
-
TN:
|
|
534
|
-
SF:src/Connector/WflowUpdateDocumentStateConnector.ts
|
|
535
|
-
FN:10,(anonymous_1)
|
|
536
|
-
FN:14,(anonymous_2)
|
|
537
|
-
FNF:2
|
|
538
|
-
FNH:2
|
|
539
|
-
FNDA:15,(anonymous_1)
|
|
540
|
-
FNDA:1,(anonymous_2)
|
|
541
|
-
DA:1,15
|
|
542
|
-
DA:2,15
|
|
543
|
-
DA:4,15
|
|
544
|
-
DA:6,15
|
|
545
|
-
DA:8,15
|
|
546
|
-
DA:11,15
|
|
547
|
-
DA:15,1
|
|
548
|
-
DA:16,1
|
|
549
|
-
DA:17,1
|
|
550
|
-
DA:19,1
|
|
551
|
-
DA:26,1
|
|
552
|
-
DA:27,1
|
|
553
|
-
LF:12
|
|
554
|
-
LH:12
|
|
555
|
-
BRF:0
|
|
556
|
-
BRH:0
|
|
557
|
-
end_of_record
|
|
558
|
-
TN:
|
|
559
|
-
SF:test/dataProvider.ts
|
|
560
|
-
FN:28,init
|
|
561
|
-
FNF:1
|
|
562
|
-
FNH:1
|
|
563
|
-
FNDA:15,init
|
|
564
|
-
DA:1,15
|
|
565
|
-
DA:2,15
|
|
566
|
-
DA:3,15
|
|
567
|
-
DA:4,15
|
|
568
|
-
DA:5,15
|
|
569
|
-
DA:6,15
|
|
570
|
-
DA:7,15
|
|
571
|
-
DA:8,15
|
|
572
|
-
DA:9,15
|
|
573
|
-
DA:10,15
|
|
574
|
-
DA:11,15
|
|
575
|
-
DA:12,15
|
|
576
|
-
DA:13,15
|
|
577
|
-
DA:14,15
|
|
578
|
-
DA:15,15
|
|
579
|
-
DA:16,15
|
|
580
|
-
DA:17,15
|
|
581
|
-
DA:18,15
|
|
582
|
-
DA:19,15
|
|
583
|
-
DA:20,15
|
|
584
|
-
DA:21,15
|
|
585
|
-
DA:23,15
|
|
586
|
-
DA:24,15
|
|
587
|
-
DA:25,15
|
|
588
|
-
DA:26,15
|
|
589
|
-
DA:28,15
|
|
590
|
-
DA:29,15
|
|
591
|
-
DA:42,15
|
|
592
|
-
DA:55,15
|
|
593
|
-
DA:56,15
|
|
594
|
-
DA:57,15
|
|
595
|
-
DA:59,15
|
|
596
|
-
DA:60,15
|
|
597
|
-
DA:61,15
|
|
598
|
-
DA:62,15
|
|
599
|
-
DA:63,15
|
|
600
|
-
DA:64,15
|
|
601
|
-
DA:65,15
|
|
602
|
-
DA:66,15
|
|
603
|
-
DA:67,15
|
|
604
|
-
DA:68,15
|
|
605
|
-
DA:69,15
|
|
606
|
-
DA:70,15
|
|
607
|
-
DA:71,15
|
|
608
|
-
DA:72,15
|
|
609
|
-
DA:73,15
|
|
610
|
-
LF:46
|
|
611
|
-
LH:46
|
|
612
|
-
BRF:0
|
|
613
|
-
BRH:0
|
|
614
|
-
end_of_record
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import ABatchNode from '@orchesty/nodejs-sdk/dist/lib/Batch/ABatchNode';
|
|
2
|
-
import BatchProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/BatchProcessDto';
|
|
3
|
-
export declare const NAME = "wflow-subscribe-webhooks-batch";
|
|
4
|
-
export default class WflowSubscribeWebhookBatch extends ABatchNode {
|
|
5
|
-
getName(): string;
|
|
6
|
-
processAction(dto: BatchProcessDto): Promise<BatchProcessDto>;
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NAME = void 0;
|
|
7
|
-
const Webhook_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Application/Database/Webhook"));
|
|
8
|
-
const ABatchNode_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Batch/ABatchNode"));
|
|
9
|
-
const TopologyRunner_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Topology/TopologyRunner"));
|
|
10
|
-
const HttpMethods_1 = require("@orchesty/nodejs-sdk/dist/lib/Transport/HttpMethods");
|
|
11
|
-
const crypto_1 = __importDefault(require("crypto"));
|
|
12
|
-
const WflowApplication_1 = require("../WflowApplication");
|
|
13
|
-
exports.NAME = `${WflowApplication_1.NAME}-subscribe-webhooks-batch`;
|
|
14
|
-
class WflowSubscribeWebhookBatch extends ABatchNode_1.default {
|
|
15
|
-
getName() {
|
|
16
|
-
return exports.NAME;
|
|
17
|
-
}
|
|
18
|
-
async processAction(dto) {
|
|
19
|
-
const app = this.getApplication();
|
|
20
|
-
const subscriptions = app.getWebhookSubscriptions();
|
|
21
|
-
const appInstall = await this.getApplicationInstallFromProcess(dto);
|
|
22
|
-
const repository = this.getDbClient().getRepository(Webhook_1.default);
|
|
23
|
-
const registeredEvents = (await repository.findMany({
|
|
24
|
-
users: [appInstall.getUser()],
|
|
25
|
-
apps: [appInstall.getName()],
|
|
26
|
-
sdks: [appInstall.getSdk()],
|
|
27
|
-
})).map((webhook) => webhook.getName());
|
|
28
|
-
const unsubscribed = subscriptions.find((subscription) => !registeredEvents.some((event) => subscription.getName() === event));
|
|
29
|
-
if (!unsubscribed) {
|
|
30
|
-
return dto;
|
|
31
|
-
}
|
|
32
|
-
let organization;
|
|
33
|
-
try {
|
|
34
|
-
organization = app.getOrganization(appInstall);
|
|
35
|
-
}
|
|
36
|
-
catch {
|
|
37
|
-
return dto;
|
|
38
|
-
}
|
|
39
|
-
const token = crypto_1.default.randomBytes(64).toString('hex');
|
|
40
|
-
const request = app.getRequestDto(dto, appInstall, HttpMethods_1.HttpMethods.PUT, `/${organization}/webhookregistrations`, {
|
|
41
|
-
actions: [unsubscribed.getName()],
|
|
42
|
-
webhookUri: TopologyRunner_1.default.getWebhookUrl(unsubscribed.getTopology(), unsubscribed.getNode(), token),
|
|
43
|
-
});
|
|
44
|
-
const id = (await this.getSender().send(request)).getJsonBody();
|
|
45
|
-
await repository.insert(new Webhook_1.default()
|
|
46
|
-
.setWebhookId(id)
|
|
47
|
-
.setUser(appInstall.getUser())
|
|
48
|
-
.setSdk(appInstall.getSdk())
|
|
49
|
-
.setNode(unsubscribed.getNode())
|
|
50
|
-
.setToken(token)
|
|
51
|
-
.setApplication(appInstall.getName())
|
|
52
|
-
.setTopology(unsubscribed.getTopology())
|
|
53
|
-
.setName(unsubscribed.getName()));
|
|
54
|
-
return dto.setBatchCursor('1', true);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.default = WflowSubscribeWebhookBatch;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import ABatchNode from '@orchesty/nodejs-sdk/dist/lib/Batch/ABatchNode';
|
|
2
|
-
import BatchProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/BatchProcessDto';
|
|
3
|
-
export declare const NAME = "wflow-unsubscribe-webhooks-batch";
|
|
4
|
-
export default class WflowUnsubscribeWebhookBatch extends ABatchNode {
|
|
5
|
-
getName(): string;
|
|
6
|
-
processAction(dto: BatchProcessDto): Promise<BatchProcessDto>;
|
|
7
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NAME = void 0;
|
|
7
|
-
const Webhook_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Application/Database/Webhook"));
|
|
8
|
-
const ABatchNode_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Batch/ABatchNode"));
|
|
9
|
-
const OnRepeatException_1 = __importDefault(require("@orchesty/nodejs-sdk/dist/lib/Exception/OnRepeatException"));
|
|
10
|
-
const HttpMethods_1 = require("@orchesty/nodejs-sdk/dist/lib/Transport/HttpMethods");
|
|
11
|
-
const http_status_codes_1 = require("http-status-codes");
|
|
12
|
-
const WflowApplication_1 = require("../WflowApplication");
|
|
13
|
-
exports.NAME = `${WflowApplication_1.NAME}-unsubscribe-webhooks-batch`;
|
|
14
|
-
class WflowUnsubscribeWebhookBatch extends ABatchNode_1.default {
|
|
15
|
-
getName() {
|
|
16
|
-
return exports.NAME;
|
|
17
|
-
}
|
|
18
|
-
async processAction(dto) {
|
|
19
|
-
const app = this.getApplication();
|
|
20
|
-
const appInstall = await this.getApplicationInstallFromProcess(dto, null);
|
|
21
|
-
const repository = this.getDbClient().getRepository(Webhook_1.default);
|
|
22
|
-
const webhook = await repository.findOne({
|
|
23
|
-
users: [appInstall.getUser()],
|
|
24
|
-
apps: [appInstall.getName()],
|
|
25
|
-
sdks: [appInstall.getSdk()],
|
|
26
|
-
});
|
|
27
|
-
if (!webhook) {
|
|
28
|
-
return dto;
|
|
29
|
-
}
|
|
30
|
-
let organization;
|
|
31
|
-
try {
|
|
32
|
-
organization = app.getOrganization(appInstall);
|
|
33
|
-
}
|
|
34
|
-
catch {
|
|
35
|
-
return dto;
|
|
36
|
-
}
|
|
37
|
-
const request = app.getRequestDto(dto, appInstall, HttpMethods_1.HttpMethods.DELETE, `/${organization}/webhookregistrations/${webhook.getWebhookId()}`);
|
|
38
|
-
const response = await this.getSender().send(request);
|
|
39
|
-
if (response.getResponseCode() !== http_status_codes_1.StatusCodes.OK) {
|
|
40
|
-
await repository.update(webhook.setUnsubscribeFailed(true));
|
|
41
|
-
throw new OnRepeatException_1.default(300, 12, response.getBody());
|
|
42
|
-
}
|
|
43
|
-
await repository.remove(webhook);
|
|
44
|
-
return dto.setBatchCursor('1', true);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.default = WflowUnsubscribeWebhookBatch;
|