@orchesty/connector-authentica 1.0.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/CHANGELOG.md +12 -0
- package/LICENSE +190 -0
- package/coverage/clover.xml +413 -0
- package/coverage/coverage-final.json +19 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +161 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/src/AuthenticaApplication.ts.html +496 -0
- package/coverage/lcov-report/src/Batch/AuthenticaGetStock.ts.html +316 -0
- package/coverage/lcov-report/src/Batch/AuthenticaGetStockAvailable.ts.html +262 -0
- package/coverage/lcov-report/src/Batch/index.html +131 -0
- package/coverage/lcov-report/src/Connector/AuthenticaCreateOrder.ts.html +244 -0
- package/coverage/lcov-report/src/Connector/AuthenticaCreateProduct.ts.html +247 -0
- package/coverage/lcov-report/src/Connector/AuthenticaCreateReceipt.ts.html +244 -0
- package/coverage/lcov-report/src/Connector/AuthenticaGetCarriersConnector.ts.html +205 -0
- package/coverage/lcov-report/src/Connector/AuthenticaGetOrder.ts.html +259 -0
- package/coverage/lcov-report/src/Connector/AuthenticaGetOrderStatus.ts.html +199 -0
- package/coverage/lcov-report/src/Connector/AuthenticaGetReceipt.ts.html +259 -0
- package/coverage/lcov-report/src/Connector/AuthenticaGetShippingMethods.ts.html +208 -0
- package/coverage/lcov-report/src/Connector/AuthenticaPostLabel.ts.html +196 -0
- package/coverage/lcov-report/src/Connector/AuthenticaPutOrders.ts.html +334 -0
- package/coverage/lcov-report/src/Connector/AuthenticaPutProducts.ts.html +250 -0
- package/coverage/lcov-report/src/Connector/AuthenticaUpdateOrder.ts.html +256 -0
- package/coverage/lcov-report/src/Connector/AuthenticaUpdateProduct.ts.html +259 -0
- package/coverage/lcov-report/src/Connector/AuthenticaUpdateReceipt.ts.html +193 -0
- package/coverage/lcov-report/src/Connector/index.html +311 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/test/dataProvider.ts.html +325 -0
- package/coverage/lcov-report/test/index.html +116 -0
- package/coverage/lcov.info +676 -0
- package/dist/AuthenticaApplication.d.ts +29 -0
- package/dist/AuthenticaApplication.js +128 -0
- package/dist/Batch/AuthenticaGetStock.d.ts +20 -0
- package/dist/Batch/AuthenticaGetStock.js +45 -0
- package/dist/Batch/AuthenticaGetStockAvailable.d.ts +13 -0
- package/dist/Batch/AuthenticaGetStockAvailable.js +36 -0
- package/dist/Connector/AuthenticaCreateOrder.d.ts +12 -0
- package/dist/Connector/AuthenticaCreateOrder.js +37 -0
- package/dist/Connector/AuthenticaCreateProduct.d.ts +12 -0
- package/dist/Connector/AuthenticaCreateProduct.js +37 -0
- package/dist/Connector/AuthenticaCreateReceipt.d.ts +11 -0
- package/dist/Connector/AuthenticaCreateReceipt.js +37 -0
- package/dist/Connector/AuthenticaGetCarriersConnector.d.ts +15 -0
- package/dist/Connector/AuthenticaGetCarriersConnector.js +23 -0
- package/dist/Connector/AuthenticaGetOrder.d.ts +14 -0
- package/dist/Connector/AuthenticaGetOrder.js +38 -0
- package/dist/Connector/AuthenticaGetOrderStatus.d.ts +11 -0
- package/dist/Connector/AuthenticaGetOrderStatus.js +20 -0
- package/dist/Connector/AuthenticaGetReceipt.d.ts +13 -0
- package/dist/Connector/AuthenticaGetReceipt.js +38 -0
- package/dist/Connector/AuthenticaGetShippingMethods.d.ts +14 -0
- package/dist/Connector/AuthenticaGetShippingMethods.js +20 -0
- package/dist/Connector/AuthenticaPostLabel.d.ts +12 -0
- package/dist/Connector/AuthenticaPostLabel.js +22 -0
- package/dist/Connector/AuthenticaPutOrders.d.ts +52 -0
- package/dist/Connector/AuthenticaPutOrders.js +22 -0
- package/dist/Connector/AuthenticaPutProducts.d.ts +24 -0
- package/dist/Connector/AuthenticaPutProducts.js +22 -0
- package/dist/Connector/AuthenticaUpdateOrder.d.ts +12 -0
- package/dist/Connector/AuthenticaUpdateOrder.js +39 -0
- package/dist/Connector/AuthenticaUpdateProduct.d.ts +12 -0
- package/dist/Connector/AuthenticaUpdateProduct.js +39 -0
- package/dist/Connector/AuthenticaUpdateReceipt.d.ts +9 -0
- package/dist/Connector/AuthenticaUpdateReceipt.js +22 -0
- package/dist/package.json +24 -0
- package/dist/types/order.d.ts +39 -0
- package/dist/types/order.js +2 -0
- package/dist/types/product.d.ts +20 -0
- package/dist/types/product.js +2 -0
- package/dist/types/receipt.d.ts +29 -0
- package/dist/types/receipt.js +1 -0
- package/jest.config.js +13 -0
- package/package.json +24 -0
- package/src/AuthenticaApplication.ts +137 -0
- package/src/Batch/AuthenticaGetStock.ts +77 -0
- package/src/Batch/AuthenticaGetStockAvailable.ts +59 -0
- package/src/Batch/__tests__/AuthenticaGetStock.ts +26 -0
- package/src/Batch/__tests__/AuthenticaGetStockAvailable.ts +22 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/input.json +6 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/mock.json +23 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-input.json +6 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-mock.json +20 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/nok-output.json +13 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStock/output.json +11 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/1-mock.json +20 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/input.json +6 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/mock.json +21 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/output.json +14 -0
- package/src/Batch/__tests__/Data/AuthenticaGetStockAvailable/output1.json +12 -0
- package/src/Connector/AuthenticaCreateOrder.ts +53 -0
- package/src/Connector/AuthenticaCreateProduct.ts +54 -0
- package/src/Connector/AuthenticaCreateReceipt.ts +53 -0
- package/src/Connector/AuthenticaGetCarriersConnector.ts +40 -0
- package/src/Connector/AuthenticaGetOrder.ts +58 -0
- package/src/Connector/AuthenticaGetOrderStatus.ts +38 -0
- package/src/Connector/AuthenticaGetReceipt.ts +58 -0
- package/src/Connector/AuthenticaGetShippingMethods.ts +41 -0
- package/src/Connector/AuthenticaPostLabel.ts +37 -0
- package/src/Connector/AuthenticaPutOrders.ts +83 -0
- package/src/Connector/AuthenticaPutProducts.ts +55 -0
- package/src/Connector/AuthenticaUpdateOrder.ts +57 -0
- package/src/Connector/AuthenticaUpdateProduct.ts +58 -0
- package/src/Connector/AuthenticaUpdateReceipt.ts +36 -0
- package/src/Connector/__tests__/AuthenticaCreateOrder.ts +22 -0
- package/src/Connector/__tests__/AuthenticaCreateProduct.ts +22 -0
- package/src/Connector/__tests__/AuthenticaCreateReceipt.ts +22 -0
- package/src/Connector/__tests__/AuthenticaGetCarriers.ts +22 -0
- package/src/Connector/__tests__/AuthenticaGetOrder.ts +22 -0
- package/src/Connector/__tests__/AuthenticaGetOrderStatus.ts +36 -0
- package/src/Connector/__tests__/AuthenticaGetReceipt.ts +22 -0
- package/src/Connector/__tests__/AuthenticaGetShippingMethods.ts +22 -0
- package/src/Connector/__tests__/AuthenticaPostLabel.ts +36 -0
- package/src/Connector/__tests__/AuthenticaPutOrders.ts +36 -0
- package/src/Connector/__tests__/AuthenticaPutProducts.ts +36 -0
- package/src/Connector/__tests__/AuthenticaUpdateOrder.ts +22 -0
- package/src/Connector/__tests__/AuthenticaUpdateProduct.ts +22 -0
- package/src/Connector/__tests__/AuthenticaUpdateReceipt.ts +22 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateOrder/input.json +67 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateOrder/mock.json +70 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateOrder/output.json +71 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateProduct/input.json +28 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateProduct/mock.json +28 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateProduct/output.json +29 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/input.json +47 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/mock.json +51 -0
- package/src/Connector/__tests__/Data/AuthenticaCreateReceipt/output.json +52 -0
- package/src/Connector/__tests__/Data/AuthenticaGetCarriers/input.json +6 -0
- package/src/Connector/__tests__/Data/AuthenticaGetCarriers/mock.json +18 -0
- package/src/Connector/__tests__/Data/AuthenticaGetCarriers/output.json +19 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrder/input.json +8 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrder/mock.json +63 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrder/output.json +64 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/input.json +6 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/mock.json +12 -0
- package/src/Connector/__tests__/Data/AuthenticaGetOrderStatus/output.json +11 -0
- package/src/Connector/__tests__/Data/AuthenticaGetReceipt/input.json +8 -0
- package/src/Connector/__tests__/Data/AuthenticaGetReceipt/mock.json +54 -0
- package/src/Connector/__tests__/Data/AuthenticaGetReceipt/output.json +55 -0
- package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/input.json +6 -0
- package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/mock.json +404 -0
- package/src/Connector/__tests__/Data/AuthenticaGetShippingMethods/output.json +403 -0
- package/src/Connector/__tests__/Data/AuthenticaPostLabel/input.json +10 -0
- package/src/Connector/__tests__/Data/AuthenticaPostLabel/mock.json +5 -0
- package/src/Connector/__tests__/Data/AuthenticaPostLabel/output.json +10 -0
- package/src/Connector/__tests__/Data/AuthenticaPutOrders/input.json +43 -0
- package/src/Connector/__tests__/Data/AuthenticaPutOrders/mock.json +44 -0
- package/src/Connector/__tests__/Data/AuthenticaPutOrders/output.json +43 -0
- package/src/Connector/__tests__/Data/AuthenticaPutProducts/input.json +19 -0
- package/src/Connector/__tests__/Data/AuthenticaPutProducts/mock.json +20 -0
- package/src/Connector/__tests__/Data/AuthenticaPutProducts/output.json +19 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/input.json +68 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/mock.json +70 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateOrder/output.json +71 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/input.json +32 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/mock.json +28 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateProduct/output.json +31 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/input.json +45 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/mock.json +51 -0
- package/src/Connector/__tests__/Data/AuthenticaUpdateReceipt/output.json +52 -0
- package/src/__tests__/AuthenticaApplication.ts +41 -0
- package/src/types/order.ts +40 -0
- package/src/types/product.ts +21 -0
- package/src/types/receipt.ts +30 -0
- package/test/dataProvider.ts +80 -0
- package/tsconfig.json +8 -0
- package/tsconfig.prod.json +13 -0
- package/tsconfig.prod.tsbuildinfo +1 -0
|
@@ -0,0 +1,676 @@
|
|
|
1
|
+
TN:
|
|
2
|
+
SF:src/AuthenticaApplication.ts
|
|
3
|
+
FN:25,(anonymous_10)
|
|
4
|
+
FN:29,(anonymous_11)
|
|
5
|
+
FN:33,(anonymous_12)
|
|
6
|
+
FN:37,(anonymous_13)
|
|
7
|
+
FN:41,(anonymous_14)
|
|
8
|
+
FN:45,(anonymous_15)
|
|
9
|
+
FN:58,(anonymous_16)
|
|
10
|
+
FN:63,(anonymous_17)
|
|
11
|
+
FN:93,(anonymous_18)
|
|
12
|
+
FN:97,(anonymous_19)
|
|
13
|
+
FN:124,(anonymous_20)
|
|
14
|
+
FNF:11
|
|
15
|
+
FNH:6
|
|
16
|
+
FNDA:17,(anonymous_10)
|
|
17
|
+
FNDA:36,(anonymous_11)
|
|
18
|
+
FNDA:1,(anonymous_12)
|
|
19
|
+
FNDA:0,(anonymous_13)
|
|
20
|
+
FNDA:0,(anonymous_14)
|
|
21
|
+
FNDA:0,(anonymous_15)
|
|
22
|
+
FNDA:0,(anonymous_16)
|
|
23
|
+
FNDA:19,(anonymous_17)
|
|
24
|
+
FNDA:38,(anonymous_18)
|
|
25
|
+
FNDA:19,(anonymous_19)
|
|
26
|
+
FNDA:0,(anonymous_20)
|
|
27
|
+
DA:1,17
|
|
28
|
+
DA:3,17
|
|
29
|
+
DA:4,17
|
|
30
|
+
DA:5,17
|
|
31
|
+
DA:6,17
|
|
32
|
+
DA:7,17
|
|
33
|
+
DA:8,17
|
|
34
|
+
DA:10,17
|
|
35
|
+
DA:12,17
|
|
36
|
+
DA:13,17
|
|
37
|
+
DA:15,17
|
|
38
|
+
DA:18,17
|
|
39
|
+
DA:19,17
|
|
40
|
+
DA:20,17
|
|
41
|
+
DA:21,17
|
|
42
|
+
DA:23,17
|
|
43
|
+
DA:25,17
|
|
44
|
+
DA:26,17
|
|
45
|
+
DA:30,36
|
|
46
|
+
DA:34,1
|
|
47
|
+
DA:38,0
|
|
48
|
+
DA:42,0
|
|
49
|
+
DA:46,0
|
|
50
|
+
DA:47,0
|
|
51
|
+
DA:48,0
|
|
52
|
+
DA:49,0
|
|
53
|
+
DA:51,0
|
|
54
|
+
DA:55,0
|
|
55
|
+
DA:59,0
|
|
56
|
+
DA:60,0
|
|
57
|
+
DA:70,19
|
|
58
|
+
DA:77,19
|
|
59
|
+
DA:78,19
|
|
60
|
+
DA:79,9
|
|
61
|
+
DA:80,9
|
|
62
|
+
DA:83,19
|
|
63
|
+
DA:84,19
|
|
64
|
+
DA:86,19
|
|
65
|
+
DA:87,10
|
|
66
|
+
DA:90,19
|
|
67
|
+
DA:94,38
|
|
68
|
+
DA:98,19
|
|
69
|
+
DA:100,19
|
|
70
|
+
DA:101,19
|
|
71
|
+
DA:103,19
|
|
72
|
+
DA:113,19
|
|
73
|
+
DA:121,19
|
|
74
|
+
DA:125,0
|
|
75
|
+
DA:126,0
|
|
76
|
+
LF:49
|
|
77
|
+
LH:37
|
|
78
|
+
BRDA:60,0,0,0
|
|
79
|
+
BRDA:60,0,1,0
|
|
80
|
+
BRDA:78,1,0,9
|
|
81
|
+
BRDA:78,1,1,10
|
|
82
|
+
BRDA:86,2,0,10
|
|
83
|
+
BRDA:86,2,1,9
|
|
84
|
+
BRF:6
|
|
85
|
+
BRH:4
|
|
86
|
+
end_of_record
|
|
87
|
+
TN:
|
|
88
|
+
SF:src/Batch/AuthenticaGetStock.ts
|
|
89
|
+
FN:11,(anonymous_1)
|
|
90
|
+
FN:15,(anonymous_2)
|
|
91
|
+
FN:46,(anonymous_3)
|
|
92
|
+
FN:74,(anonymous_4)
|
|
93
|
+
FNF:4
|
|
94
|
+
FNH:4
|
|
95
|
+
FNDA:17,(anonymous_1)
|
|
96
|
+
FNDA:2,(anonymous_2)
|
|
97
|
+
FNDA:2,(anonymous_3)
|
|
98
|
+
FNDA:17,(anonymous_4)
|
|
99
|
+
DA:1,17
|
|
100
|
+
DA:2,17
|
|
101
|
+
DA:4,17
|
|
102
|
+
DA:5,17
|
|
103
|
+
DA:7,17
|
|
104
|
+
DA:9,17
|
|
105
|
+
DA:12,17
|
|
106
|
+
DA:16,2
|
|
107
|
+
DA:17,2
|
|
108
|
+
DA:18,2
|
|
109
|
+
DA:24,2
|
|
110
|
+
DA:26,2
|
|
111
|
+
DA:27,0
|
|
112
|
+
DA:28,0
|
|
113
|
+
DA:31,2
|
|
114
|
+
DA:33,2
|
|
115
|
+
DA:34,2
|
|
116
|
+
DA:35,1
|
|
117
|
+
DA:36,1
|
|
118
|
+
DA:39,1
|
|
119
|
+
DA:40,0
|
|
120
|
+
DA:43,1
|
|
121
|
+
DA:47,2
|
|
122
|
+
DA:74,17
|
|
123
|
+
DA:75,17
|
|
124
|
+
DA:76,17
|
|
125
|
+
LF:26
|
|
126
|
+
LH:23
|
|
127
|
+
BRDA:26,0,0,0
|
|
128
|
+
BRDA:26,0,1,2
|
|
129
|
+
BRDA:33,1,0,2
|
|
130
|
+
BRDA:33,1,1,0
|
|
131
|
+
BRDA:34,2,0,1
|
|
132
|
+
BRDA:34,2,1,1
|
|
133
|
+
BRDA:34,3,0,2
|
|
134
|
+
BRDA:34,3,1,1
|
|
135
|
+
BRDA:39,4,0,0
|
|
136
|
+
BRDA:39,4,1,1
|
|
137
|
+
BRDA:74,5,0,17
|
|
138
|
+
BRDA:74,5,1,17
|
|
139
|
+
BRF:12
|
|
140
|
+
BRH:9
|
|
141
|
+
end_of_record
|
|
142
|
+
TN:
|
|
143
|
+
SF:src/Batch/AuthenticaGetStockAvailable.ts
|
|
144
|
+
FN:11,(anonymous_1)
|
|
145
|
+
FN:15,(anonymous_2)
|
|
146
|
+
FN:42,(anonymous_3)
|
|
147
|
+
FNF:3
|
|
148
|
+
FNH:3
|
|
149
|
+
FNDA:17,(anonymous_1)
|
|
150
|
+
FNDA:2,(anonymous_2)
|
|
151
|
+
FNDA:2,(anonymous_3)
|
|
152
|
+
DA:1,17
|
|
153
|
+
DA:2,17
|
|
154
|
+
DA:4,17
|
|
155
|
+
DA:5,17
|
|
156
|
+
DA:7,17
|
|
157
|
+
DA:9,17
|
|
158
|
+
DA:12,17
|
|
159
|
+
DA:16,2
|
|
160
|
+
DA:17,2
|
|
161
|
+
DA:18,2
|
|
162
|
+
DA:24,2
|
|
163
|
+
DA:26,2
|
|
164
|
+
DA:27,0
|
|
165
|
+
DA:28,0
|
|
166
|
+
DA:31,2
|
|
167
|
+
DA:33,2
|
|
168
|
+
DA:35,2
|
|
169
|
+
DA:36,1
|
|
170
|
+
DA:39,2
|
|
171
|
+
DA:43,2
|
|
172
|
+
LF:20
|
|
173
|
+
LH:18
|
|
174
|
+
BRDA:26,0,0,0
|
|
175
|
+
BRDA:26,0,1,2
|
|
176
|
+
BRDA:33,1,0,2
|
|
177
|
+
BRDA:33,1,1,0
|
|
178
|
+
BRDA:35,2,0,1
|
|
179
|
+
BRDA:35,2,1,1
|
|
180
|
+
BRF:6
|
|
181
|
+
BRH:4
|
|
182
|
+
end_of_record
|
|
183
|
+
TN:
|
|
184
|
+
SF:src/Connector/AuthenticaCreateOrder.ts
|
|
185
|
+
FN:10,(anonymous_1)
|
|
186
|
+
FN:16,(anonymous_2)
|
|
187
|
+
FN:20,(anonymous_3)
|
|
188
|
+
FNF:3
|
|
189
|
+
FNH:3
|
|
190
|
+
FNDA:17,(anonymous_1)
|
|
191
|
+
FNDA:17,(anonymous_2)
|
|
192
|
+
FNDA:1,(anonymous_3)
|
|
193
|
+
DA:1,17
|
|
194
|
+
DA:2,17
|
|
195
|
+
DA:6,17
|
|
196
|
+
DA:8,17
|
|
197
|
+
DA:11,17
|
|
198
|
+
DA:13,17
|
|
199
|
+
DA:17,17
|
|
200
|
+
DA:23,1
|
|
201
|
+
DA:24,1
|
|
202
|
+
DA:26,0
|
|
203
|
+
DA:29,1
|
|
204
|
+
DA:37,1
|
|
205
|
+
DA:38,1
|
|
206
|
+
DA:40,0
|
|
207
|
+
DA:41,0
|
|
208
|
+
DA:42,0
|
|
209
|
+
DA:44,1
|
|
210
|
+
DA:47,1
|
|
211
|
+
LF:18
|
|
212
|
+
LH:14
|
|
213
|
+
BRDA:11,0,0,17
|
|
214
|
+
BRDA:24,1,0,0
|
|
215
|
+
BRDA:24,1,1,1
|
|
216
|
+
BRDA:38,2,0,0
|
|
217
|
+
BRDA:38,2,1,1
|
|
218
|
+
BRF:5
|
|
219
|
+
BRH:3
|
|
220
|
+
end_of_record
|
|
221
|
+
TN:
|
|
222
|
+
SF:src/Connector/AuthenticaCreateProduct.ts
|
|
223
|
+
FN:10,(anonymous_1)
|
|
224
|
+
FN:16,(anonymous_2)
|
|
225
|
+
FN:20,(anonymous_3)
|
|
226
|
+
FNF:3
|
|
227
|
+
FNH:3
|
|
228
|
+
FNDA:17,(anonymous_1)
|
|
229
|
+
FNDA:17,(anonymous_2)
|
|
230
|
+
FNDA:1,(anonymous_3)
|
|
231
|
+
DA:1,17
|
|
232
|
+
DA:2,17
|
|
233
|
+
DA:6,17
|
|
234
|
+
DA:8,17
|
|
235
|
+
DA:11,17
|
|
236
|
+
DA:13,17
|
|
237
|
+
DA:17,17
|
|
238
|
+
DA:23,1
|
|
239
|
+
DA:24,1
|
|
240
|
+
DA:26,0
|
|
241
|
+
DA:29,1
|
|
242
|
+
DA:37,1
|
|
243
|
+
DA:38,1
|
|
244
|
+
DA:40,0
|
|
245
|
+
DA:41,0
|
|
246
|
+
DA:42,0
|
|
247
|
+
DA:44,1
|
|
248
|
+
DA:47,1
|
|
249
|
+
LF:18
|
|
250
|
+
LH:14
|
|
251
|
+
BRDA:11,0,0,17
|
|
252
|
+
BRDA:24,1,0,0
|
|
253
|
+
BRDA:24,1,1,1
|
|
254
|
+
BRDA:38,2,0,0
|
|
255
|
+
BRDA:38,2,1,1
|
|
256
|
+
BRF:5
|
|
257
|
+
BRH:3
|
|
258
|
+
end_of_record
|
|
259
|
+
TN:
|
|
260
|
+
SF:src/Connector/AuthenticaCreateReceipt.ts
|
|
261
|
+
FN:10,(anonymous_1)
|
|
262
|
+
FN:16,(anonymous_2)
|
|
263
|
+
FN:20,(anonymous_3)
|
|
264
|
+
FNF:3
|
|
265
|
+
FNH:3
|
|
266
|
+
FNDA:17,(anonymous_1)
|
|
267
|
+
FNDA:17,(anonymous_2)
|
|
268
|
+
FNDA:1,(anonymous_3)
|
|
269
|
+
DA:1,17
|
|
270
|
+
DA:2,17
|
|
271
|
+
DA:6,17
|
|
272
|
+
DA:8,17
|
|
273
|
+
DA:11,17
|
|
274
|
+
DA:13,17
|
|
275
|
+
DA:17,17
|
|
276
|
+
DA:23,1
|
|
277
|
+
DA:24,1
|
|
278
|
+
DA:26,0
|
|
279
|
+
DA:29,1
|
|
280
|
+
DA:37,1
|
|
281
|
+
DA:38,1
|
|
282
|
+
DA:40,0
|
|
283
|
+
DA:41,0
|
|
284
|
+
DA:42,0
|
|
285
|
+
DA:44,1
|
|
286
|
+
DA:47,1
|
|
287
|
+
LF:18
|
|
288
|
+
LH:14
|
|
289
|
+
BRDA:11,0,0,17
|
|
290
|
+
BRDA:24,1,0,0
|
|
291
|
+
BRDA:24,1,1,1
|
|
292
|
+
BRDA:38,2,0,0
|
|
293
|
+
BRDA:38,2,1,1
|
|
294
|
+
BRF:5
|
|
295
|
+
BRH:3
|
|
296
|
+
end_of_record
|
|
297
|
+
TN:
|
|
298
|
+
SF:src/Connector/AuthenticaGetCarriersConnector.ts
|
|
299
|
+
FN:9,(anonymous_1)
|
|
300
|
+
FN:13,(anonymous_2)
|
|
301
|
+
FN:26,(anonymous_3)
|
|
302
|
+
FNF:3
|
|
303
|
+
FNH:3
|
|
304
|
+
FNDA:17,(anonymous_1)
|
|
305
|
+
FNDA:1,(anonymous_2)
|
|
306
|
+
FNDA:1,(anonymous_3)
|
|
307
|
+
DA:1,17
|
|
308
|
+
DA:2,17
|
|
309
|
+
DA:5,17
|
|
310
|
+
DA:7,17
|
|
311
|
+
DA:10,17
|
|
312
|
+
DA:14,1
|
|
313
|
+
DA:20,1
|
|
314
|
+
DA:21,1
|
|
315
|
+
DA:23,1
|
|
316
|
+
LF:9
|
|
317
|
+
LH:9
|
|
318
|
+
BRF:0
|
|
319
|
+
BRH:0
|
|
320
|
+
end_of_record
|
|
321
|
+
TN:
|
|
322
|
+
SF:src/Connector/AuthenticaGetOrder.ts
|
|
323
|
+
FN:10,(anonymous_1)
|
|
324
|
+
FN:16,(anonymous_2)
|
|
325
|
+
FN:20,(anonymous_3)
|
|
326
|
+
FNF:3
|
|
327
|
+
FNH:3
|
|
328
|
+
FNDA:17,(anonymous_1)
|
|
329
|
+
FNDA:17,(anonymous_2)
|
|
330
|
+
FNDA:1,(anonymous_3)
|
|
331
|
+
DA:1,17
|
|
332
|
+
DA:2,17
|
|
333
|
+
DA:6,17
|
|
334
|
+
DA:8,17
|
|
335
|
+
DA:11,17
|
|
336
|
+
DA:13,17
|
|
337
|
+
DA:17,17
|
|
338
|
+
DA:23,1
|
|
339
|
+
DA:25,1
|
|
340
|
+
DA:26,1
|
|
341
|
+
DA:28,0
|
|
342
|
+
DA:31,1
|
|
343
|
+
DA:38,1
|
|
344
|
+
DA:40,1
|
|
345
|
+
DA:42,0
|
|
346
|
+
DA:43,0
|
|
347
|
+
DA:44,0
|
|
348
|
+
DA:46,1
|
|
349
|
+
DA:49,1
|
|
350
|
+
LF:19
|
|
351
|
+
LH:15
|
|
352
|
+
BRDA:11,0,0,17
|
|
353
|
+
BRDA:26,1,0,0
|
|
354
|
+
BRDA:26,1,1,1
|
|
355
|
+
BRDA:40,2,0,0
|
|
356
|
+
BRDA:40,2,1,1
|
|
357
|
+
BRF:5
|
|
358
|
+
BRH:3
|
|
359
|
+
end_of_record
|
|
360
|
+
TN:
|
|
361
|
+
SF:src/Connector/AuthenticaGetOrderStatus.ts
|
|
362
|
+
FN:9,(anonymous_1)
|
|
363
|
+
FN:13,(anonymous_2)
|
|
364
|
+
FNF:2
|
|
365
|
+
FNH:2
|
|
366
|
+
FNDA:17,(anonymous_1)
|
|
367
|
+
FNDA:1,(anonymous_2)
|
|
368
|
+
DA:1,17
|
|
369
|
+
DA:2,17
|
|
370
|
+
DA:5,17
|
|
371
|
+
DA:7,17
|
|
372
|
+
DA:10,17
|
|
373
|
+
DA:14,1
|
|
374
|
+
DA:21,1
|
|
375
|
+
DA:26,1
|
|
376
|
+
LF:8
|
|
377
|
+
LH:8
|
|
378
|
+
BRF:0
|
|
379
|
+
BRH:0
|
|
380
|
+
end_of_record
|
|
381
|
+
TN:
|
|
382
|
+
SF:src/Connector/AuthenticaGetReceipt.ts
|
|
383
|
+
FN:10,(anonymous_1)
|
|
384
|
+
FN:16,(anonymous_2)
|
|
385
|
+
FN:20,(anonymous_3)
|
|
386
|
+
FNF:3
|
|
387
|
+
FNH:3
|
|
388
|
+
FNDA:17,(anonymous_1)
|
|
389
|
+
FNDA:17,(anonymous_2)
|
|
390
|
+
FNDA:1,(anonymous_3)
|
|
391
|
+
DA:1,17
|
|
392
|
+
DA:2,17
|
|
393
|
+
DA:6,17
|
|
394
|
+
DA:8,17
|
|
395
|
+
DA:11,17
|
|
396
|
+
DA:13,17
|
|
397
|
+
DA:17,17
|
|
398
|
+
DA:23,1
|
|
399
|
+
DA:25,1
|
|
400
|
+
DA:26,1
|
|
401
|
+
DA:28,0
|
|
402
|
+
DA:31,1
|
|
403
|
+
DA:38,1
|
|
404
|
+
DA:40,1
|
|
405
|
+
DA:42,0
|
|
406
|
+
DA:43,0
|
|
407
|
+
DA:44,0
|
|
408
|
+
DA:46,1
|
|
409
|
+
DA:49,1
|
|
410
|
+
LF:19
|
|
411
|
+
LH:15
|
|
412
|
+
BRDA:11,0,0,17
|
|
413
|
+
BRDA:26,1,0,0
|
|
414
|
+
BRDA:26,1,1,1
|
|
415
|
+
BRDA:40,2,0,0
|
|
416
|
+
BRDA:40,2,1,1
|
|
417
|
+
BRF:5
|
|
418
|
+
BRH:3
|
|
419
|
+
end_of_record
|
|
420
|
+
TN:
|
|
421
|
+
SF:src/Connector/AuthenticaGetShippingMethods.ts
|
|
422
|
+
FN:9,(anonymous_1)
|
|
423
|
+
FN:13,(anonymous_2)
|
|
424
|
+
FNF:2
|
|
425
|
+
FNH:2
|
|
426
|
+
FNDA:17,(anonymous_1)
|
|
427
|
+
FNDA:1,(anonymous_2)
|
|
428
|
+
DA:1,17
|
|
429
|
+
DA:2,17
|
|
430
|
+
DA:5,17
|
|
431
|
+
DA:7,17
|
|
432
|
+
DA:10,17
|
|
433
|
+
DA:14,1
|
|
434
|
+
DA:21,1
|
|
435
|
+
DA:26,1
|
|
436
|
+
LF:8
|
|
437
|
+
LH:8
|
|
438
|
+
BRF:0
|
|
439
|
+
BRH:0
|
|
440
|
+
end_of_record
|
|
441
|
+
TN:
|
|
442
|
+
SF:src/Connector/AuthenticaPostLabel.ts
|
|
443
|
+
FN:9,(anonymous_1)
|
|
444
|
+
FN:13,(anonymous_2)
|
|
445
|
+
FNF:2
|
|
446
|
+
FNH:2
|
|
447
|
+
FNDA:17,(anonymous_1)
|
|
448
|
+
FNDA:1,(anonymous_2)
|
|
449
|
+
DA:1,17
|
|
450
|
+
DA:2,17
|
|
451
|
+
DA:5,17
|
|
452
|
+
DA:7,17
|
|
453
|
+
DA:10,17
|
|
454
|
+
DA:14,1
|
|
455
|
+
DA:16,1
|
|
456
|
+
DA:24,1
|
|
457
|
+
DA:26,1
|
|
458
|
+
DA:28,1
|
|
459
|
+
LF:10
|
|
460
|
+
LH:10
|
|
461
|
+
BRF:0
|
|
462
|
+
BRH:0
|
|
463
|
+
end_of_record
|
|
464
|
+
TN:
|
|
465
|
+
SF:src/Connector/AuthenticaPutOrders.ts
|
|
466
|
+
FN:9,(anonymous_1)
|
|
467
|
+
FN:13,(anonymous_2)
|
|
468
|
+
FNF:2
|
|
469
|
+
FNH:2
|
|
470
|
+
FNDA:17,(anonymous_1)
|
|
471
|
+
FNDA:1,(anonymous_2)
|
|
472
|
+
DA:1,17
|
|
473
|
+
DA:2,17
|
|
474
|
+
DA:5,17
|
|
475
|
+
DA:7,17
|
|
476
|
+
DA:10,17
|
|
477
|
+
DA:14,1
|
|
478
|
+
DA:16,1
|
|
479
|
+
DA:24,1
|
|
480
|
+
DA:26,1
|
|
481
|
+
DA:28,1
|
|
482
|
+
LF:10
|
|
483
|
+
LH:10
|
|
484
|
+
BRF:0
|
|
485
|
+
BRH:0
|
|
486
|
+
end_of_record
|
|
487
|
+
TN:
|
|
488
|
+
SF:src/Connector/AuthenticaPutProducts.ts
|
|
489
|
+
FN:9,(anonymous_1)
|
|
490
|
+
FN:13,(anonymous_2)
|
|
491
|
+
FNF:2
|
|
492
|
+
FNH:2
|
|
493
|
+
FNDA:17,(anonymous_1)
|
|
494
|
+
FNDA:1,(anonymous_2)
|
|
495
|
+
DA:1,17
|
|
496
|
+
DA:2,17
|
|
497
|
+
DA:5,17
|
|
498
|
+
DA:7,17
|
|
499
|
+
DA:10,17
|
|
500
|
+
DA:14,1
|
|
501
|
+
DA:16,1
|
|
502
|
+
DA:24,1
|
|
503
|
+
DA:26,1
|
|
504
|
+
DA:28,1
|
|
505
|
+
LF:10
|
|
506
|
+
LH:10
|
|
507
|
+
BRF:0
|
|
508
|
+
BRH:0
|
|
509
|
+
end_of_record
|
|
510
|
+
TN:
|
|
511
|
+
SF:src/Connector/AuthenticaUpdateOrder.ts
|
|
512
|
+
FN:10,(anonymous_1)
|
|
513
|
+
FN:16,(anonymous_2)
|
|
514
|
+
FN:20,(anonymous_3)
|
|
515
|
+
FNF:3
|
|
516
|
+
FNH:3
|
|
517
|
+
FNDA:17,(anonymous_1)
|
|
518
|
+
FNDA:17,(anonymous_2)
|
|
519
|
+
FNDA:1,(anonymous_3)
|
|
520
|
+
DA:1,17
|
|
521
|
+
DA:2,17
|
|
522
|
+
DA:6,17
|
|
523
|
+
DA:8,17
|
|
524
|
+
DA:11,17
|
|
525
|
+
DA:13,17
|
|
526
|
+
DA:17,17
|
|
527
|
+
DA:24,1
|
|
528
|
+
DA:25,1
|
|
529
|
+
DA:27,0
|
|
530
|
+
DA:30,1
|
|
531
|
+
DA:31,1
|
|
532
|
+
DA:33,1
|
|
533
|
+
DA:41,1
|
|
534
|
+
DA:42,1
|
|
535
|
+
DA:44,0
|
|
536
|
+
DA:45,0
|
|
537
|
+
DA:46,0
|
|
538
|
+
DA:48,1
|
|
539
|
+
DA:51,1
|
|
540
|
+
LF:20
|
|
541
|
+
LH:16
|
|
542
|
+
BRDA:11,0,0,17
|
|
543
|
+
BRDA:25,1,0,0
|
|
544
|
+
BRDA:25,1,1,1
|
|
545
|
+
BRDA:42,2,0,0
|
|
546
|
+
BRDA:42,2,1,1
|
|
547
|
+
BRF:5
|
|
548
|
+
BRH:3
|
|
549
|
+
end_of_record
|
|
550
|
+
TN:
|
|
551
|
+
SF:src/Connector/AuthenticaUpdateProduct.ts
|
|
552
|
+
FN:10,(anonymous_1)
|
|
553
|
+
FN:16,(anonymous_2)
|
|
554
|
+
FN:20,(anonymous_3)
|
|
555
|
+
FNF:3
|
|
556
|
+
FNH:3
|
|
557
|
+
FNDA:17,(anonymous_1)
|
|
558
|
+
FNDA:17,(anonymous_2)
|
|
559
|
+
FNDA:1,(anonymous_3)
|
|
560
|
+
DA:1,17
|
|
561
|
+
DA:2,17
|
|
562
|
+
DA:6,17
|
|
563
|
+
DA:8,17
|
|
564
|
+
DA:11,17
|
|
565
|
+
DA:13,17
|
|
566
|
+
DA:17,17
|
|
567
|
+
DA:24,1
|
|
568
|
+
DA:25,1
|
|
569
|
+
DA:27,1
|
|
570
|
+
DA:30,1
|
|
571
|
+
DA:31,1
|
|
572
|
+
DA:33,1
|
|
573
|
+
DA:41,1
|
|
574
|
+
DA:42,1
|
|
575
|
+
DA:44,1
|
|
576
|
+
DA:45,1
|
|
577
|
+
DA:46,1
|
|
578
|
+
DA:48,0
|
|
579
|
+
DA:51,1
|
|
580
|
+
LF:20
|
|
581
|
+
LH:19
|
|
582
|
+
BRDA:11,0,0,0
|
|
583
|
+
BRDA:25,1,0,1
|
|
584
|
+
BRDA:25,1,1,0
|
|
585
|
+
BRDA:42,2,0,1
|
|
586
|
+
BRDA:42,2,1,0
|
|
587
|
+
BRF:5
|
|
588
|
+
BRH:2
|
|
589
|
+
end_of_record
|
|
590
|
+
TN:
|
|
591
|
+
SF:src/Connector/AuthenticaUpdateReceipt.ts
|
|
592
|
+
FN:10,(anonymous_1)
|
|
593
|
+
FN:14,(anonymous_2)
|
|
594
|
+
FNF:2
|
|
595
|
+
FNH:2
|
|
596
|
+
FNDA:17,(anonymous_1)
|
|
597
|
+
FNDA:1,(anonymous_2)
|
|
598
|
+
DA:1,17
|
|
599
|
+
DA:2,17
|
|
600
|
+
DA:6,17
|
|
601
|
+
DA:8,17
|
|
602
|
+
DA:11,17
|
|
603
|
+
DA:17,1
|
|
604
|
+
DA:19,1
|
|
605
|
+
DA:27,1
|
|
606
|
+
DA:28,1
|
|
607
|
+
DA:30,1
|
|
608
|
+
LF:10
|
|
609
|
+
LH:10
|
|
610
|
+
BRF:0
|
|
611
|
+
BRH:0
|
|
612
|
+
end_of_record
|
|
613
|
+
TN:
|
|
614
|
+
SF:test/dataProvider.ts
|
|
615
|
+
FN:27,mock
|
|
616
|
+
FN:40,regiterApiKey
|
|
617
|
+
FN:57,initAuthenticaTest
|
|
618
|
+
FNF:3
|
|
619
|
+
FNH:3
|
|
620
|
+
FNDA:18,mock
|
|
621
|
+
FNDA:17,regiterApiKey
|
|
622
|
+
FNDA:17,initAuthenticaTest
|
|
623
|
+
DA:1,17
|
|
624
|
+
DA:2,17
|
|
625
|
+
DA:3,17
|
|
626
|
+
DA:5,17
|
|
627
|
+
DA:6,17
|
|
628
|
+
DA:7,17
|
|
629
|
+
DA:10,17
|
|
630
|
+
DA:11,17
|
|
631
|
+
DA:12,17
|
|
632
|
+
DA:13,17
|
|
633
|
+
DA:14,17
|
|
634
|
+
DA:15,17
|
|
635
|
+
DA:16,17
|
|
636
|
+
DA:17,17
|
|
637
|
+
DA:18,17
|
|
638
|
+
DA:19,17
|
|
639
|
+
DA:20,17
|
|
640
|
+
DA:21,17
|
|
641
|
+
DA:22,17
|
|
642
|
+
DA:23,17
|
|
643
|
+
DA:24,17
|
|
644
|
+
DA:25,17
|
|
645
|
+
DA:27,17
|
|
646
|
+
DA:28,18
|
|
647
|
+
DA:40,17
|
|
648
|
+
DA:41,17
|
|
649
|
+
DA:42,17
|
|
650
|
+
DA:43,17
|
|
651
|
+
DA:57,17
|
|
652
|
+
DA:58,17
|
|
653
|
+
DA:59,17
|
|
654
|
+
DA:61,17
|
|
655
|
+
DA:62,17
|
|
656
|
+
DA:64,17
|
|
657
|
+
DA:65,17
|
|
658
|
+
DA:66,17
|
|
659
|
+
DA:67,17
|
|
660
|
+
DA:68,17
|
|
661
|
+
DA:69,17
|
|
662
|
+
DA:70,17
|
|
663
|
+
DA:71,17
|
|
664
|
+
DA:72,17
|
|
665
|
+
DA:73,17
|
|
666
|
+
DA:74,17
|
|
667
|
+
DA:75,17
|
|
668
|
+
DA:76,17
|
|
669
|
+
DA:77,17
|
|
670
|
+
DA:78,17
|
|
671
|
+
DA:79,17
|
|
672
|
+
LF:49
|
|
673
|
+
LH:49
|
|
674
|
+
BRF:0
|
|
675
|
+
BRH:0
|
|
676
|
+
end_of_record
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ApplicationInstall } from '@orchesty/nodejs-sdk/dist/lib/Application/Database/ApplicationInstall';
|
|
2
|
+
import FormStack from '@orchesty/nodejs-sdk/dist/lib/Application/Model/Form/FormStack';
|
|
3
|
+
import { ABasicApplication } from '@orchesty/nodejs-sdk/dist/lib/Authorization/Type/Basic/ABasicApplication';
|
|
4
|
+
import CacheService, { ICacheCallback } from '@orchesty/nodejs-sdk/dist/lib/Cache/CacheService';
|
|
5
|
+
import RequestDto from '@orchesty/nodejs-sdk/dist/lib/Transport/Curl/RequestDto';
|
|
6
|
+
import ResponseDto from '@orchesty/nodejs-sdk/dist/lib/Transport/Curl/ResponseDto';
|
|
7
|
+
import { HttpMethods } from '@orchesty/nodejs-sdk/dist/lib/Transport/HttpMethods';
|
|
8
|
+
import AProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/AProcessDto';
|
|
9
|
+
import ProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/ProcessDto';
|
|
10
|
+
export declare const NAME = "authentica";
|
|
11
|
+
export default class AuthenticaApplication extends ABasicApplication {
|
|
12
|
+
private readonly cacheService;
|
|
13
|
+
constructor(cacheService: CacheService);
|
|
14
|
+
getName(): string;
|
|
15
|
+
getPublicName(): string;
|
|
16
|
+
getDescription(): string;
|
|
17
|
+
getLogo(): string;
|
|
18
|
+
getFormStack(): FormStack;
|
|
19
|
+
isAuthorized(applicationInstall: ApplicationInstall): boolean;
|
|
20
|
+
getRequestDto(dto: ProcessDto, applicationInstall: ApplicationInstall, method: HttpMethods, _url?: string, data?: unknown): Promise<RequestDto>;
|
|
21
|
+
protected getBaseUrl(): string;
|
|
22
|
+
protected getAccessToken(processDto: AProcessDto, applicationInstall: ApplicationInstall): Promise<string>;
|
|
23
|
+
protected accessCallBack(res: ResponseDto): ICacheCallback<IAccessToken>;
|
|
24
|
+
}
|
|
25
|
+
interface IAccessToken {
|
|
26
|
+
expires_in: number;
|
|
27
|
+
access_token: string;
|
|
28
|
+
}
|
|
29
|
+
export {};
|