@orchesty/connector-authentica 1.0.0 → 1.0.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 (132) hide show
  1. package/dist/Connector/AuthenticaPutOrders.d.ts +1 -0
  2. package/dist/package.json +5 -3
  3. package/package.json +5 -3
  4. package/CHANGELOG.md +0 -12
  5. package/coverage/clover.xml +0 -413
  6. package/coverage/coverage-final.json +0 -19
  7. package/coverage/lcov-report/base.css +0 -224
  8. package/coverage/lcov-report/block-navigation.js +0 -87
  9. package/coverage/lcov-report/favicon.png +0 -0
  10. package/coverage/lcov-report/index.html +0 -161
  11. package/coverage/lcov-report/prettify.css +0 -1
  12. package/coverage/lcov-report/prettify.js +0 -2
  13. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  14. package/coverage/lcov-report/sorter.js +0 -210
  15. package/coverage/lcov-report/src/AuthenticaApplication.ts.html +0 -496
  16. package/coverage/lcov-report/src/Batch/AuthenticaGetStock.ts.html +0 -316
  17. package/coverage/lcov-report/src/Batch/AuthenticaGetStockAvailable.ts.html +0 -262
  18. package/coverage/lcov-report/src/Batch/index.html +0 -131
  19. package/coverage/lcov-report/src/Connector/AuthenticaCreateOrder.ts.html +0 -244
  20. package/coverage/lcov-report/src/Connector/AuthenticaCreateProduct.ts.html +0 -247
  21. package/coverage/lcov-report/src/Connector/AuthenticaCreateReceipt.ts.html +0 -244
  22. package/coverage/lcov-report/src/Connector/AuthenticaGetCarriersConnector.ts.html +0 -205
  23. package/coverage/lcov-report/src/Connector/AuthenticaGetOrder.ts.html +0 -259
  24. package/coverage/lcov-report/src/Connector/AuthenticaGetOrderStatus.ts.html +0 -199
  25. package/coverage/lcov-report/src/Connector/AuthenticaGetReceipt.ts.html +0 -259
  26. package/coverage/lcov-report/src/Connector/AuthenticaGetShippingMethods.ts.html +0 -208
  27. package/coverage/lcov-report/src/Connector/AuthenticaPostLabel.ts.html +0 -196
  28. package/coverage/lcov-report/src/Connector/AuthenticaPutOrders.ts.html +0 -334
  29. package/coverage/lcov-report/src/Connector/AuthenticaPutProducts.ts.html +0 -250
  30. package/coverage/lcov-report/src/Connector/AuthenticaUpdateOrder.ts.html +0 -256
  31. package/coverage/lcov-report/src/Connector/AuthenticaUpdateProduct.ts.html +0 -259
  32. package/coverage/lcov-report/src/Connector/AuthenticaUpdateReceipt.ts.html +0 -193
  33. package/coverage/lcov-report/src/Connector/index.html +0 -311
  34. package/coverage/lcov-report/src/index.html +0 -116
  35. package/coverage/lcov-report/test/dataProvider.ts.html +0 -325
  36. package/coverage/lcov-report/test/index.html +0 -116
  37. package/coverage/lcov.info +0 -676
  38. package/jest.config.js +0 -13
  39. package/src/AuthenticaApplication.ts +0 -137
  40. package/src/Batch/AuthenticaGetStock.ts +0 -77
  41. package/src/Batch/AuthenticaGetStockAvailable.ts +0 -59
  42. package/src/Batch/__tests__/AuthenticaGetStock.ts +0 -26
  43. package/src/Batch/__tests__/AuthenticaGetStockAvailable.ts +0 -22
  44. package/src/Batch/__tests__/Data/AuthenticaGetStock/input.json +0 -6
  45. package/src/Batch/__tests__/Data/AuthenticaGetStock/mock.json +0 -23
  46. package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-input.json +0 -6
  47. package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-mock.json +0 -20
  48. package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-output.json +0 -13
  49. package/src/Batch/__tests__/Data/AuthenticaGetStock/output.json +0 -11
  50. package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/1-mock.json +0 -20
  51. package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/input.json +0 -6
  52. package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/mock.json +0 -21
  53. package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/output.json +0 -14
  54. package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/output1.json +0 -12
  55. package/src/Connector/AuthenticaCreateOrder.ts +0 -53
  56. package/src/Connector/AuthenticaCreateProduct.ts +0 -54
  57. package/src/Connector/AuthenticaCreateReceipt.ts +0 -53
  58. package/src/Connector/AuthenticaGetCarriersConnector.ts +0 -40
  59. package/src/Connector/AuthenticaGetOrder.ts +0 -58
  60. package/src/Connector/AuthenticaGetOrderStatus.ts +0 -38
  61. package/src/Connector/AuthenticaGetReceipt.ts +0 -58
  62. package/src/Connector/AuthenticaGetShippingMethods.ts +0 -41
  63. package/src/Connector/AuthenticaPostLabel.ts +0 -37
  64. package/src/Connector/AuthenticaPutOrders.ts +0 -83
  65. package/src/Connector/AuthenticaPutProducts.ts +0 -55
  66. package/src/Connector/AuthenticaUpdateOrder.ts +0 -57
  67. package/src/Connector/AuthenticaUpdateProduct.ts +0 -58
  68. package/src/Connector/AuthenticaUpdateReceipt.ts +0 -36
  69. package/src/Connector/__tests__/AuthenticaCreateOrder.ts +0 -22
  70. package/src/Connector/__tests__/AuthenticaCreateProduct.ts +0 -22
  71. package/src/Connector/__tests__/AuthenticaCreateReceipt.ts +0 -22
  72. package/src/Connector/__tests__/AuthenticaGetCarriers.ts +0 -22
  73. package/src/Connector/__tests__/AuthenticaGetOrder.ts +0 -22
  74. package/src/Connector/__tests__/AuthenticaGetOrderStatus.ts +0 -36
  75. package/src/Connector/__tests__/AuthenticaGetReceipt.ts +0 -22
  76. package/src/Connector/__tests__/AuthenticaGetShippingMethods.ts +0 -22
  77. package/src/Connector/__tests__/AuthenticaPostLabel.ts +0 -36
  78. package/src/Connector/__tests__/AuthenticaPutOrders.ts +0 -36
  79. package/src/Connector/__tests__/AuthenticaPutProducts.ts +0 -36
  80. package/src/Connector/__tests__/AuthenticaUpdateOrder.ts +0 -22
  81. package/src/Connector/__tests__/AuthenticaUpdateProduct.ts +0 -22
  82. package/src/Connector/__tests__/AuthenticaUpdateReceipt.ts +0 -22
  83. package/src/Connector/__tests__/Data/AuthenticaCreateOrder/input.json +0 -67
  84. package/src/Connector/__tests__/Data/AuthenticaCreateOrder/mock.json +0 -70
  85. package/src/Connector/__tests__/Data/AuthenticaCreateOrder/output.json +0 -71
  86. package/src/Connector/__tests__/Data/AuthenticaCreateProduct/input.json +0 -28
  87. package/src/Connector/__tests__/Data/AuthenticaCreateProduct/mock.json +0 -28
  88. package/src/Connector/__tests__/Data/AuthenticaCreateProduct/output.json +0 -29
  89. package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/input.json +0 -47
  90. package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/mock.json +0 -51
  91. package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/output.json +0 -52
  92. package/src/Connector/__tests__/Data/AuthenticaGetCarriers/input.json +0 -6
  93. package/src/Connector/__tests__/Data/AuthenticaGetCarriers/mock.json +0 -18
  94. package/src/Connector/__tests__/Data/AuthenticaGetCarriers/output.json +0 -19
  95. package/src/Connector/__tests__/Data/AuthenticaGetOrder/input.json +0 -8
  96. package/src/Connector/__tests__/Data/AuthenticaGetOrder/mock.json +0 -63
  97. package/src/Connector/__tests__/Data/AuthenticaGetOrder/output.json +0 -64
  98. package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/input.json +0 -6
  99. package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/mock.json +0 -12
  100. package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/output.json +0 -11
  101. package/src/Connector/__tests__/Data/AuthenticaGetReceipt/input.json +0 -8
  102. package/src/Connector/__tests__/Data/AuthenticaGetReceipt/mock.json +0 -54
  103. package/src/Connector/__tests__/Data/AuthenticaGetReceipt/output.json +0 -55
  104. package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/input.json +0 -6
  105. package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/mock.json +0 -404
  106. package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/output.json +0 -403
  107. package/src/Connector/__tests__/Data/AuthenticaPostLabel/input.json +0 -10
  108. package/src/Connector/__tests__/Data/AuthenticaPostLabel/mock.json +0 -5
  109. package/src/Connector/__tests__/Data/AuthenticaPostLabel/output.json +0 -10
  110. package/src/Connector/__tests__/Data/AuthenticaPutOrders/input.json +0 -43
  111. package/src/Connector/__tests__/Data/AuthenticaPutOrders/mock.json +0 -44
  112. package/src/Connector/__tests__/Data/AuthenticaPutOrders/output.json +0 -43
  113. package/src/Connector/__tests__/Data/AuthenticaPutProducts/input.json +0 -19
  114. package/src/Connector/__tests__/Data/AuthenticaPutProducts/mock.json +0 -20
  115. package/src/Connector/__tests__/Data/AuthenticaPutProducts/output.json +0 -19
  116. package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/input.json +0 -68
  117. package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/mock.json +0 -70
  118. package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/output.json +0 -71
  119. package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/input.json +0 -32
  120. package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/mock.json +0 -28
  121. package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/output.json +0 -31
  122. package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/input.json +0 -45
  123. package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/mock.json +0 -51
  124. package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/output.json +0 -52
  125. package/src/__tests__/AuthenticaApplication.ts +0 -41
  126. package/src/types/order.ts +0 -40
  127. package/src/types/product.ts +0 -21
  128. package/src/types/receipt.ts +0 -30
  129. package/test/dataProvider.ts +0 -80
  130. package/tsconfig.json +0 -8
  131. package/tsconfig.prod.json +0 -13
  132. package/tsconfig.prod.tsbuildinfo +0 -1
@@ -1,404 +0,0 @@
1
- {
2
- "http": "GET https://app.authentica.cz/api/applinth/delivery-methods",
3
- "code": 200,
4
- "body": {
5
- "data": [
6
- {
7
- "id": 1,
8
- "title": "Česká pošta - Balík do ruky",
9
- "type": "Balikobot",
10
- "shipper": "shipper",
11
- "serviceType": "serviceType"
12
- },
13
- {
14
- "id": 2,
15
- "title": "Česká pošta - Balík na poštu",
16
- "type": "Balikobot",
17
- "shipper": "shipper",
18
- "serviceType": "serviceType"
19
- },
20
- {
21
- "id": 3,
22
- "title": "Česká pošta - Balík do balíkovny",
23
- "type": "Balikobot",
24
- "shipper": "shipper",
25
- "serviceType": "serviceType"
26
- },
27
- {
28
- "id": 4,
29
- "title": "Česká pošta - Doporučená zásilka Ekonomická",
30
- "type": "Balikobot",
31
- "shipper": "shipper",
32
- "serviceType": "serviceType"
33
- },
34
- {
35
- "id": 5,
36
- "title": "Česká pošta - RR Doporučená zásilka do zahraničí Prioritní",
37
- "type": "Balikobot",
38
- "shipper": "shipper",
39
- "serviceType": "serviceType"
40
- },
41
- {
42
- "id": 6,
43
- "title": "Česká pošta - EMS Expresní přeprava do zahraničí",
44
- "type": "Balikobot",
45
- "shipper": "shipper",
46
- "serviceType": "serviceType"
47
- },
48
- {
49
- "id": 7,
50
- "title": "Česká pošta - Obchodní balík do zahraničí",
51
- "type": "Balikobot",
52
- "shipper": "shipper",
53
- "serviceType": "serviceType"
54
- },
55
- {
56
- "id": 8,
57
- "title": "DPD - DPD Classic",
58
- "type": "Balikobot",
59
- "shipper": "shipper",
60
- "serviceType": "serviceType"
61
- },
62
- {
63
- "id": 9,
64
- "title": "DPD - DPD Private",
65
- "type": "Balikobot",
66
- "shipper": "shipper",
67
- "serviceType": "serviceType"
68
- },
69
- {
70
- "id": 10,
71
- "title": "GLS - Business Parcel",
72
- "type": "Balikobot",
73
- "shipper": "shipper",
74
- "serviceType": "serviceType"
75
- },
76
- {
77
- "id": 11,
78
- "title": "FedEx - International Priority",
79
- "type": "Balikobot",
80
- "shipper": "shipper",
81
- "serviceType": "serviceType"
82
- },
83
- {
84
- "id": 12,
85
- "title": "FedEx - International Economy",
86
- "type": "Balikobot",
87
- "shipper": "shipper",
88
- "serviceType": "serviceType"
89
- },
90
- {
91
- "id": 13,
92
- "title": "Zásilkovna - Výdejní místa Česká republika",
93
- "type": "Balikobot",
94
- "shipper": "shipper",
95
- "serviceType": "serviceType"
96
- },
97
- {
98
- "id": 14,
99
- "title": "Zásilkovna - Výdejní místa Slovenská republika",
100
- "type": "Balikobot",
101
- "shipper": "shipper",
102
- "serviceType": "serviceType"
103
- },
104
- {
105
- "id": 15,
106
- "title": "Zásilkovna - Výdejní místa Maďarsko",
107
- "type": "Balikobot",
108
- "shipper": "shipper",
109
- "serviceType": "serviceType"
110
- },
111
- {
112
- "id": 16,
113
- "title": "Zásilkovna - Výdejní místa Polsko",
114
- "type": "Balikobot",
115
- "shipper": "shipper",
116
- "serviceType": "serviceType"
117
- },
118
- {
119
- "id": 17,
120
- "title": "Zásilkovna - Výdejní místa Rumunsko"
121
- },
122
- {
123
- "id": 18,
124
- "title": "Zásilkovna - AT DPD HD"
125
- },
126
- {
127
- "id": 19,
128
- "title": "Zásilkovna - AT Rakouská pošta HD"
129
- },
130
- {
131
- "id": 20,
132
- "title": "Zásilkovna - BE Nizozemská pošta HD"
133
- },
134
- {
135
- "id": 21,
136
- "title": "Zásilkovna - BE Belgická pošta HD"
137
- },
138
- {
139
- "id": 22,
140
- "title": "Zásilkovna - BE Belgická pošta PP"
141
- },
142
- {
143
- "id": 23,
144
- "title": "Zásilkovna - BG Speedy HD"
145
- },
146
- {
147
- "id": 24,
148
- "title": "Zásilkovna - BG Speedy PP"
149
- },
150
- {
151
- "id": 25,
152
- "title": "Zásilkovna - CH LI Švýcarská pošta HD"
153
- },
154
- {
155
- "id": 26,
156
- "title": "Zásilkovna - CH LI Švýcarská pošta prioritní HD"
157
- },
158
- {
159
- "id": 27,
160
- "title": "Zásilkovna - CZ Zásilkovna domů HD"
161
- },
162
- {
163
- "id": 28,
164
- "title": "Zásilkovna - CZ Zásilkovna večerní doručení Ostrava HD"
165
- },
166
- {
167
- "id": 29,
168
- "title": "Zásilkovna - CZ Zásilkovna večerní doručení Brno HD"
169
- },
170
- {
171
- "id": 30,
172
- "title": "Zásilkovna - CZ Zásilkovna večerní doručení Praha HD"
173
- },
174
- {
175
- "id": 31,
176
- "title": "Zásilkovna - DE Home Delivery HD"
177
- },
178
- {
179
- "id": 32,
180
- "title": "Zásilkovna - DE Hermes HD"
181
- },
182
- {
183
- "id": 33,
184
- "title": "Zásilkovna - DE Hermes PP"
185
- },
186
- {
187
- "id": 34,
188
- "title": "Zásilkovna - DK Post Nord HD"
189
- },
190
- {
191
- "id": 35,
192
- "title": "Zásilkovna - DK Post Nord PP"
193
- },
194
- {
195
- "id": 36,
196
- "title": "Zásilkovna - DK DAO HD"
197
- },
198
- {
199
- "id": 37,
200
- "title": "Zásilkovna - DK DAO PP"
201
- },
202
- {
203
- "id": 38,
204
- "title": "Zásilkovna - EE Omniva HD"
205
- },
206
- {
207
- "id": 39,
208
- "title": "Zásilkovna - EE Omniva PP"
209
- },
210
- {
211
- "id": 40,
212
- "title": "Zásilkovna - EE Omniva Box"
213
- },
214
- {
215
- "id": 41,
216
- "title": "Zásilkovna - ES Correos HD"
217
- },
218
- {
219
- "id": 42,
220
- "title": "Zásilkovna - ES MRW HD"
221
- },
222
- {
223
- "id": 43,
224
- "title": "Zásilkovna - ES MRW PP"
225
- },
226
- {
227
- "id": 44,
228
- "title": "Zásilkovna - FI Post Nord PP"
229
- },
230
- {
231
- "id": 45,
232
- "title": "Zásilkovna - FI Post Nord HD"
233
- },
234
- {
235
- "id": 46,
236
- "title": "Zásilkovna - FR Colis Privé HD"
237
- },
238
- {
239
- "id": 47,
240
- "title": "Zásilkovna - FR Colissimo PP"
241
- },
242
- {
243
- "id": 48,
244
- "title": "Zásilkovna - FR Colissimo HD"
245
- },
246
- {
247
- "id": 49,
248
- "title": "Zásilkovna - FR Mondial Relay PP"
249
- },
250
- {
251
- "id": 50,
252
- "title": "Zásilkovna - GB Royal Mail 24 HD"
253
- },
254
- {
255
- "id": 51,
256
- "title": "Zásilkovna - GB Royal Mail 48 HD"
257
- },
258
- {
259
- "id": 52,
260
- "title": "Zásilkovna - GR Taxydromiki HD"
261
- },
262
- {
263
- "id": 53,
264
- "title": "Zásilkovna - HR Overseas HD"
265
- },
266
- {
267
- "id": 54,
268
- "title": "Zásilkovna - HR Overseas PP"
269
- },
270
- {
271
- "id": 55,
272
- "title": "Zásilkovna - HR Chorvatská pošta HD"
273
- },
274
- {
275
- "id": 56,
276
- "title": "Zásilkovna - HR Chorvatská pošta PP"
277
- },
278
- {
279
- "id": 57,
280
- "title": "Zásilkovna - HR DPD HD"
281
- },
282
- {
283
- "id": 58,
284
- "title": "Zásilkovna - HU Doručení na adresu HD"
285
- },
286
- {
287
- "id": 59,
288
- "title": "Zásilkovna - HU DPD HD"
289
- },
290
- {
291
- "id": 60,
292
- "title": "Zásilkovna - IE Fastway HD"
293
- },
294
- {
295
- "id": 61,
296
- "title": "Zásilkovna - IT GLS HD"
297
- },
298
- {
299
- "id": 62,
300
- "title": "Zásilkovna - IT Bartolini HD"
301
- },
302
- {
303
- "id": 63,
304
- "title": "Zásilkovna - IT Bartolini PP"
305
- },
306
- {
307
- "id": 64,
308
- "title": "Zásilkovna - LT Omniva HD"
309
- },
310
- {
311
- "id": 65,
312
- "title": "Zásilkovna - LT Omniva Box"
313
- },
314
- {
315
- "id": 66,
316
- "title": "Zásilkovna - LU DPD HD"
317
- },
318
- {
319
- "id": 67,
320
- "title": "Zásilkovna - LU Lucemburská pošta HD"
321
- },
322
- {
323
- "id": 68,
324
- "title": "Zásilkovna - LV Omniva HD"
325
- },
326
- {
327
- "id": 69,
328
- "title": "Zásilkovna - LV Omniva Box"
329
- },
330
- {
331
- "id": 70,
332
- "title": "Zásilkovna - NL Nizozemská pošta HD"
333
- },
334
- {
335
- "id": 71,
336
- "title": "Zásilkovna - NL DHL HD"
337
- },
338
- {
339
- "id": 72,
340
- "title": "Zásilkovna - NL DHL PP"
341
- },
342
- {
343
- "id": 73,
344
- "title": "Zásilkovna - PL InPost Paczkomaty Box"
345
- },
346
- {
347
- "id": 74,
348
- "title": "Zásilkovna - PL Doručení na adresu HD"
349
- },
350
- {
351
- "id": 75,
352
- "title": "Zásilkovna - PT MRW HD"
353
- },
354
- {
355
- "id": 76,
356
- "title": "Zásilkovna - PT MRW PP"
357
- },
358
- {
359
- "id": 77,
360
- "title": "Zásilkovna - RO Doručení na adresu HD"
361
- },
362
- {
363
- "id": 78,
364
- "title": "Zásilkovna - RO Cargus HD"
365
- },
366
- {
367
- "id": 79,
368
- "title": "Zásilkovna - RO Sameday HD"
369
- },
370
- {
371
- "id": 80,
372
- "title": "Zásilkovna - RO Sameday Box"
373
- },
374
- {
375
- "id": 81,
376
- "title": "Zásilkovna - RO FAN Courier HD"
377
- },
378
- {
379
- "id": 82,
380
- "title": "Zásilkovna - SE Post Nord PP"
381
- },
382
- {
383
- "id": 83,
384
- "title": "Zásilkovna - SE Post Nord HD"
385
- },
386
- {
387
- "id": 84,
388
- "title": "Zásilkovna - SI DPD HD"
389
- },
390
- {
391
- "id": 85,
392
- "title": "Zásilkovna - SI DPD PP"
393
- },
394
- {
395
- "id": 86,
396
- "title": "Zásilkovna - SK Packeta Home HD"
397
- },
398
- {
399
- "id": 87,
400
- "title": "Zásilkovna - Packeta večerní doručení Bratislava HD"
401
- }
402
- ]
403
- }
404
- }