@orchesty/connector-base 1.0.0 → 2.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.
Files changed (127) hide show
  1. package/README.md +95 -0
  2. package/dist/package.json +5 -2
  3. package/package.json +5 -2
  4. package/CHANGELOG.md +0 -7
  5. package/coverage/clover.xml +0 -328
  6. package/coverage/coverage-final.json +0 -21
  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/BaseApplication.ts.html +0 -286
  16. package/coverage/lcov-report/src/Batch/ABaseBatch.ts.html +0 -337
  17. package/coverage/lcov-report/src/Batch/InventoryProductsData.ts.html +0 -385
  18. package/coverage/lcov-report/src/Batch/InventoryProductsList.ts.html +0 -388
  19. package/coverage/lcov-report/src/Batch/JournalList.ts.html +0 -319
  20. package/coverage/lcov-report/src/Batch/OrderExtraFields.ts.html +0 -220
  21. package/coverage/lcov-report/src/Batch/index.html +0 -176
  22. package/coverage/lcov-report/src/Connector/ABaseConnector.ts.html +0 -250
  23. package/coverage/lcov-report/src/Connector/CourierFields.ts.html +0 -244
  24. package/coverage/lcov-report/src/Connector/CouriersList.ts.html +0 -151
  25. package/coverage/lcov-report/src/Connector/CreatePackage.ts.html +0 -268
  26. package/coverage/lcov-report/src/Connector/CreatePackageManual.ts.html +0 -223
  27. package/coverage/lcov-report/src/Connector/GetLabel.ts.html +0 -205
  28. package/coverage/lcov-report/src/Connector/Inventories.ts.html +0 -187
  29. package/coverage/lcov-report/src/Connector/InventoryWarehouses.ts.html +0 -172
  30. package/coverage/lcov-report/src/Connector/OrderPaymentsHistory.ts.html +0 -229
  31. package/coverage/lcov-report/src/Connector/OrderStatusList.ts.html +0 -163
  32. package/coverage/lcov-report/src/Connector/Orders.ts.html +0 -529
  33. package/coverage/lcov-report/src/Connector/SetOrderStatus.ts.html +0 -178
  34. package/coverage/lcov-report/src/Connector/UpdateInventoryProductsStock.ts.html +0 -193
  35. package/coverage/lcov-report/src/Connector/index.html +0 -296
  36. package/coverage/lcov-report/src/index.html +0 -116
  37. package/coverage/lcov-report/test/dataProvider.ts.html +0 -232
  38. package/coverage/lcov-report/test/index.html +0 -116
  39. package/coverage/lcov.info +0 -620
  40. package/jest.config.js +0 -13
  41. package/src/BaseApplication.ts +0 -67
  42. package/src/Batch/ABaseBatch.ts +0 -84
  43. package/src/Batch/InventoryProductsData.ts +0 -100
  44. package/src/Batch/InventoryProductsList.ts +0 -101
  45. package/src/Batch/JournalList.ts +0 -78
  46. package/src/Batch/OrderExtraFields.ts +0 -45
  47. package/src/Batch/__tests__/Data/InventoryProductsData/input.json +0 -6
  48. package/src/Batch/__tests__/Data/InventoryProductsData/mock.json +0 -82
  49. package/src/Batch/__tests__/Data/InventoryProductsData/output.json +0 -11
  50. package/src/Batch/__tests__/Data/InventoryProductsList/input.json +0 -8
  51. package/src/Batch/__tests__/Data/InventoryProductsList/mock.json +0 -37
  52. package/src/Batch/__tests__/Data/InventoryProductsList/output.json +0 -15
  53. package/src/Batch/__tests__/Data/JournalList/input.json +0 -9
  54. package/src/Batch/__tests__/Data/JournalList/mock.json +0 -23
  55. package/src/Batch/__tests__/Data/JournalList/output.json +0 -15
  56. package/src/Batch/__tests__/Data/OrderExtraFields/input.json +0 -6
  57. package/src/Batch/__tests__/Data/OrderExtraFields/mock.json +0 -23
  58. package/src/Batch/__tests__/Data/OrderExtraFields/output.json +0 -15
  59. package/src/Batch/__tests__/InventoryProductsData.ts +0 -17
  60. package/src/Batch/__tests__/InventoryProductsList.ts +0 -17
  61. package/src/Batch/__tests__/JournalList.ts +0 -17
  62. package/src/Batch/__tests__/OrderExtraFields.ts +0 -17
  63. package/src/Connector/ABaseConnector.ts +0 -55
  64. package/src/Connector/CourierFields.ts +0 -53
  65. package/src/Connector/CouriersList.ts +0 -22
  66. package/src/Connector/CreatePackage.ts +0 -61
  67. package/src/Connector/CreatePackageManual.ts +0 -46
  68. package/src/Connector/GetLabel.ts +0 -40
  69. package/src/Connector/Inventories.ts +0 -34
  70. package/src/Connector/InventoryWarehouses.ts +0 -29
  71. package/src/Connector/OrderPaymentsHistory.ts +0 -48
  72. package/src/Connector/OrderStatusList.ts +0 -26
  73. package/src/Connector/Orders.ts +0 -148
  74. package/src/Connector/SetOrderStatus.ts +0 -31
  75. package/src/Connector/UpdateInventoryProductsStock.ts +0 -36
  76. package/src/Connector/__tests__/CourierFields.ts +0 -17
  77. package/src/Connector/__tests__/CouriersList.ts +0 -17
  78. package/src/Connector/__tests__/CreatePackage.ts +0 -17
  79. package/src/Connector/__tests__/CreatePackageManual.ts +0 -17
  80. package/src/Connector/__tests__/Data/CourierFields/input.json +0 -8
  81. package/src/Connector/__tests__/Data/CourierFields/mock.json +0 -106
  82. package/src/Connector/__tests__/Data/CourierFields/output.json +0 -106
  83. package/src/Connector/__tests__/Data/CouriersList/input.json +0 -6
  84. package/src/Connector/__tests__/Data/CouriersList/mock.json +0 -57
  85. package/src/Connector/__tests__/Data/CouriersList/output.json +0 -57
  86. package/src/Connector/__tests__/Data/CreatePackage/input.json +0 -37
  87. package/src/Connector/__tests__/Data/CreatePackage/mock.json +0 -10
  88. package/src/Connector/__tests__/Data/CreatePackage/output.json +0 -10
  89. package/src/Connector/__tests__/Data/CreatePackageManual/input.json +0 -12
  90. package/src/Connector/__tests__/Data/CreatePackageManual/mock.json +0 -9
  91. package/src/Connector/__tests__/Data/CreatePackageManual/output.json +0 -9
  92. package/src/Connector/__tests__/Data/GetLabel/input.json +0 -9
  93. package/src/Connector/__tests__/Data/GetLabel/mock.json +0 -9
  94. package/src/Connector/__tests__/Data/GetLabel/output.json +0 -9
  95. package/src/Connector/__tests__/Data/Inventories/input.json +0 -6
  96. package/src/Connector/__tests__/Data/Inventories/mock.json +0 -51
  97. package/src/Connector/__tests__/Data/Inventories/output.json +0 -51
  98. package/src/Connector/__tests__/Data/InventoryWarehouses/input.json +0 -6
  99. package/src/Connector/__tests__/Data/InventoryWarehouses/mock.json +0 -25
  100. package/src/Connector/__tests__/Data/InventoryWarehouses/output.json +0 -25
  101. package/src/Connector/__tests__/Data/OrderPaymentsHistory/input.json +0 -8
  102. package/src/Connector/__tests__/Data/OrderPaymentsHistory/mock.json +0 -18
  103. package/src/Connector/__tests__/Data/OrderPaymentsHistory/output.json +0 -18
  104. package/src/Connector/__tests__/Data/OrderStatusList/input.json +0 -6
  105. package/src/Connector/__tests__/Data/OrderStatusList/mock.json +0 -54
  106. package/src/Connector/__tests__/Data/OrderStatusList/output.json +0 -54
  107. package/src/Connector/__tests__/Data/Orders/input.json +0 -8
  108. package/src/Connector/__tests__/Data/Orders/mock.json +0 -89
  109. package/src/Connector/__tests__/Data/Orders/output.json +0 -89
  110. package/src/Connector/__tests__/Data/SetOrderStatus/input.json +0 -9
  111. package/src/Connector/__tests__/Data/SetOrderStatus/mock.json +0 -7
  112. package/src/Connector/__tests__/Data/SetOrderStatus/output.json +0 -6
  113. package/src/Connector/__tests__/Data/UpdateInventoryProductsStock/input.json +0 -18
  114. package/src/Connector/__tests__/Data/UpdateInventoryProductsStock/mock.json +0 -9
  115. package/src/Connector/__tests__/Data/UpdateInventoryProductsStock/output.json +0 -9
  116. package/src/Connector/__tests__/GetLabel.ts +0 -17
  117. package/src/Connector/__tests__/Inventories.ts +0 -17
  118. package/src/Connector/__tests__/InventoryWarehouses.ts +0 -17
  119. package/src/Connector/__tests__/OrderPaymentsHistory.ts +0 -17
  120. package/src/Connector/__tests__/OrderStatusList.ts +0 -17
  121. package/src/Connector/__tests__/Orders.ts +0 -17
  122. package/src/Connector/__tests__/SetOrderStatus.ts +0 -17
  123. package/src/Connector/__tests__/UpdateInventoryProductsStock.ts +0 -17
  124. package/test/dataProvider.ts +0 -49
  125. package/tsconfig.json +0 -8
  126. package/tsconfig.prod.json +0 -13
  127. package/tsconfig.prod.tsbuildinfo +0 -1
package/README.md ADDED
@@ -0,0 +1,95 @@
1
+ # Base.com Connector
2
+
3
+ [![npm](https://img.shields.io/npm/v/@orchesty/connector-base?color=15ba68)](https://www.npmjs.com/package/@orchesty/connector-base)
4
+ [![License](https://img.shields.io/badge/license-Apache--2.0-15ba68)](https://github.com/Orchesty/orchesty-nodejs-connectors/blob/master/LICENSE)
5
+
6
+ An [Orchesty](https://orchesty.io) connector for Base.com, an e-commerce marketplace management tool for orders, shipments, and warehouse operations.
7
+
8
+ ## Application Type
9
+
10
+ **Basic**
11
+
12
+ This connector authenticates using an API token sent in the `X-BLToken` request header. All API calls are made via `POST` to a single endpoint (`https://api.baselinker.com/connector.php`), with the operation specified as a `method` field in the `multipart/form-data` body.
13
+
14
+ | Field | Description |
15
+ |---|---|
16
+ | `token` | Your Base.com API token |
17
+
18
+ ## Components
19
+
20
+ | Class | Type | Description |
21
+ |---|---|---|
22
+ | `CourierFields` | Connector | Fetches available fields for a given courier code |
23
+ | `CouriersList` | Connector | Retrieves the list of all available couriers |
24
+ | `CreatePackage` | Connector | Creates a shipment package for an order using a courier |
25
+ | `CreatePackageManual` | Connector | Manually registers a package with a provided tracking number |
26
+ | `GetLabel` | Connector | Retrieves the shipping label (base64) for a courier package |
27
+ | `Inventories` | Connector | Returns all inventories with languages, price groups, and warehouses |
28
+ | `InventoryWarehouses` | Connector | Returns all warehouses across all inventories |
29
+ | `OrderPaymentsHistory` | Connector | Retrieves payment history for a specific order |
30
+ | `OrderStatusList` | Connector | Returns the list of order statuses |
31
+ | `Orders` | Connector | Fetches orders with rich filtering options |
32
+ | `SetOrderStatus` | Connector | Sets the status of a specific order |
33
+ | `UpdateInventoryProductsStock` | Connector | Updates stock quantities for products in an inventory |
34
+ | `InventoryProductsData` | Batch | Fetches full product data for specified product IDs in an inventory |
35
+ | `InventoryProductsList` | Batch | Paginates through all products in an inventory with filtering |
36
+ | `JournalList` | Batch | Fetches journal/activity log entries since a tracked last log ID |
37
+ | `OrderExtraFields` | Batch | Retrieves all custom extra fields defined for orders |
38
+
39
+ ## Setup
40
+
41
+ ### Credentials
42
+
43
+ 1. Log in to your Base.com account.
44
+ 2. Navigate to **Integrations → API** to find your API token.
45
+ 3. In Orchesty, open the Base.com application settings and paste the token into the **API token** field.
46
+
47
+ ### API Documentation
48
+
49
+ Base.com (Baselinker) API Reference: [https://api.baselinker.com/](https://api.baselinker.com/)
50
+
51
+ ## Installation & Usage
52
+
53
+ Install the package:
54
+
55
+ ```bash
56
+ npm install @orchesty/connector-base @orchesty/nodejs-sdk
57
+ # or
58
+ pnpm add @orchesty/connector-base @orchesty/nodejs-sdk
59
+ ```
60
+
61
+ Register the application and nodes in your Orchesty DI container:
62
+
63
+ ```typescript
64
+ import { container } from '@orchesty/nodejs-sdk';
65
+ import BaseApplication from '@orchesty/connector-base/dist/BaseApplication';
66
+ import CouriersList from '@orchesty/connector-base/dist/Connector/CouriersList';
67
+ import Orders from '@orchesty/connector-base/dist/Connector/Orders';
68
+ import SetOrderStatus from '@orchesty/connector-base/dist/Connector/SetOrderStatus';
69
+ import InventoryProductsList from '@orchesty/connector-base/dist/Batch/InventoryProductsList';
70
+ import JournalList from '@orchesty/connector-base/dist/Batch/JournalList';
71
+ // ... import remaining nodes as needed
72
+
73
+ const app = new BaseApplication();
74
+ container.setApplication(app);
75
+ container.setNode(new CouriersList(), app);
76
+ container.setNode(new Orders(), app);
77
+ container.setNode(new SetOrderStatus(), app);
78
+ container.setNode(new InventoryProductsList(), app);
79
+ container.setNode(new JournalList(), app);
80
+ ```
81
+
82
+ ## License
83
+
84
+ This connector is released under the **Apache License 2.0**. See the [LICENSE](https://github.com/Orchesty/orchesty-nodejs-connectors/blob/master/LICENSE) file for the full license text.
85
+
86
+ ## Contributing
87
+
88
+ Contributions are welcome! This connector is part of the open-source [Orchesty Node.js Connectors](https://github.com/Orchesty/orchesty-nodejs-connectors) monorepo.
89
+
90
+ For guidelines on how to create or update connectors — including project setup, coding conventions, and how to write tests — please refer to the **[Contributing to Connectors](https://orchesty.io/community/contributing-to-connectors)** guide.
91
+
92
+ All contributions should include:
93
+ - Source code in `src/` following the existing connector structure
94
+ - Tests in `src/**/__tests__/` with `input.json`, `mock.json`, and `output.json` fixtures
95
+ - An updated `CHANGELOG.md` entry
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orchesty/connector-base",
3
3
  "description": "",
4
- "version": "0.0.0",
4
+ "version": "1.0.1",
5
5
  "license": "Apache-2.0",
6
6
  "url": "https://github.com/Orchesty/orchesty-nodejs-connectors",
7
7
  "repository": "https://github.com/Orchesty/orchesty-nodejs-connectors",
@@ -11,10 +11,13 @@
11
11
  "lint": "eslint src test --fix",
12
12
  "lint-ci": "eslint src test"
13
13
  },
14
+ "files": [
15
+ "dist"
16
+ ],
14
17
  "keywords": [],
15
18
  "author": "info@hanaboso.com",
16
19
  "dependencies": {
17
- "@orchesty/nodejs-sdk": "^4.3.6",
20
+ "@orchesty/nodejs-sdk": "^5.0.8",
18
21
  "form-data": "^4.0.5"
19
22
  },
20
23
  "engines": {
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@orchesty/connector-base",
3
3
  "description": "",
4
- "version": "1.0.0",
4
+ "version": "2.0.0",
5
5
  "license": "Apache-2.0",
6
6
  "url": "https://github.com/Orchesty/orchesty-nodejs-connectors",
7
7
  "repository": "https://github.com/Orchesty/orchesty-nodejs-connectors",
8
+ "files": [
9
+ "dist"
10
+ ],
8
11
  "keywords": [],
9
12
  "author": "info@hanaboso.com",
10
13
  "dependencies": {
11
- "@orchesty/nodejs-sdk": "^4.3.6",
14
+ "@orchesty/nodejs-sdk": "^5.0.8",
12
15
  "form-data": "^4.0.5"
13
16
  },
14
17
  "engines": {
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @orchesty/connector-base
2
-
3
- ## 1.0.0
4
-
5
- ### Major Changes
6
-
7
- - initial release
@@ -1,328 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1768470574242" clover="3.2.0">
3
- <project timestamp="1768470574242" name="All files">
4
- <metrics statements="250" coveredstatements="237" conditionals="30" coveredconditionals="16" methods="80" coveredmethods="75" elements="360" coveredelements="328" complexity="0" loc="250" ncloc="250" packages="4" files="20" classes="20"/>
5
- <package name="src">
6
- <metrics statements="25" coveredstatements="19" conditionals="2" coveredconditionals="1" methods="6" coveredmethods="2"/>
7
- <file name="BaseApplication.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/BaseApplication.ts">
8
- <metrics statements="25" coveredstatements="19" conditionals="2" coveredconditionals="1" methods="6" coveredmethods="2"/>
9
- <line num="1" count="16" type="stmt"/>
10
- <line num="3" count="16" type="stmt"/>
11
- <line num="4" count="16" type="stmt"/>
12
- <line num="5" count="16" type="stmt"/>
13
- <line num="6" count="16" type="stmt"/>
14
- <line num="7" count="16" type="stmt"/>
15
- <line num="8" count="16" type="stmt"/>
16
- <line num="11" count="16" type="stmt"/>
17
- <line num="13" count="16" type="stmt"/>
18
- <line num="15" count="16" type="stmt"/>
19
- <line num="17" count="16" type="stmt"/>
20
- <line num="19" count="16" type="stmt"/>
21
- <line num="22" count="32" type="stmt"/>
22
- <line num="26" count="0" type="stmt"/>
23
- <line num="30" count="0" type="stmt"/>
24
- <line num="34" count="0" type="stmt"/>
25
- <line num="38" count="0" type="stmt"/>
26
- <line num="39" count="0" type="stmt"/>
27
- <line num="41" count="0" type="stmt"/>
28
- <line num="51" count="16" type="stmt"/>
29
- <line num="53" count="16" type="stmt"/>
30
- <line num="54" count="16" type="stmt"/>
31
- <line num="60" count="16" type="cond" truecount="1" falsecount="1"/>
32
- <line num="61" count="16" type="stmt"/>
33
- <line num="64" count="16" type="stmt"/>
34
- </file>
35
- </package>
36
- <package name="src.Batch">
37
- <metrics statements="88" coveredstatements="82" conditionals="23" coveredconditionals="12" methods="35" coveredmethods="34"/>
38
- <file name="ABaseBatch.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Batch/ABaseBatch.ts">
39
- <metrics statements="33" coveredstatements="29" conditionals="9" coveredconditionals="5" methods="7" coveredmethods="6"/>
40
- <line num="1" count="16" type="stmt"/>
41
- <line num="2" count="16" type="stmt"/>
42
- <line num="4" count="16" type="stmt"/>
43
- <line num="5" count="16" type="stmt"/>
44
- <line num="7" count="16" type="stmt"/>
45
- <line num="9" count="64" type="cond" truecount="1" falsecount="0"/>
46
- <line num="10" count="64" type="stmt"/>
47
- <line num="20" count="4" type="stmt"/>
48
- <line num="22" count="4" type="cond" truecount="1" falsecount="1"/>
49
- <line num="23" count="4" type="stmt"/>
50
- <line num="25" count="4" type="stmt"/>
51
- <line num="32" count="4" type="stmt"/>
52
- <line num="33" count="4" type="stmt"/>
53
- <line num="34" count="4" type="cond" truecount="1" falsecount="1"/>
54
- <line num="35" count="0" type="stmt"/>
55
- <line num="38" count="4" type="stmt"/>
56
- <line num="40" count="4" type="stmt"/>
57
- <line num="41" count="4" type="cond" truecount="1" falsecount="1"/>
58
- <line num="42" count="0" type="stmt"/>
59
- <line num="43" count="0" type="stmt"/>
60
- <line num="45" count="4" type="stmt"/>
61
- <line num="47" count="4" type="stmt"/>
62
- <line num="48" count="4" type="stmt"/>
63
- <line num="49" count="4" type="stmt"/>
64
- <line num="52" count="4" type="stmt"/>
65
- <line num="56" count="8" type="stmt"/>
66
- <line num="60" count="3" type="cond" truecount="1" falsecount="1"/>
67
- <line num="64" count="3" type="stmt"/>
68
- <line num="69" count="0" type="stmt"/>
69
- <line num="73" count="4" type="stmt"/>
70
- <line num="74" count="4" type="stmt"/>
71
- <line num="75" count="4" type="stmt"/>
72
- <line num="77" count="4" type="stmt"/>
73
- </file>
74
- <file name="InventoryProductsData.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Batch/InventoryProductsData.ts">
75
- <metrics statements="15" coveredstatements="14" conditionals="3" coveredconditionals="2" methods="7" coveredmethods="7"/>
76
- <line num="2" count="16" type="stmt"/>
77
- <line num="4" count="16" type="stmt"/>
78
- <line num="6" count="16" type="stmt"/>
79
- <line num="8" count="16" type="cond" truecount="1" falsecount="0"/>
80
- <line num="9" count="16" type="stmt"/>
81
- <line num="13" count="16" type="stmt"/>
82
- <line num="17" count="3" type="stmt"/>
83
- <line num="22" count="1" type="stmt"/>
84
- <line num="25" count="1" type="stmt"/>
85
- <line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
86
- <line num="38" count="0" type="stmt"/>
87
- <line num="40" count="1" type="stmt"/>
88
- <line num="41" count="1" type="stmt"/>
89
- <line num="45" count="1" type="stmt"/>
90
- <line num="50" count="1" type="stmt"/>
91
- </file>
92
- <file name="InventoryProductsList.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Batch/InventoryProductsList.ts">
93
- <metrics statements="15" coveredstatements="14" conditionals="3" coveredconditionals="2" methods="7" coveredmethods="7"/>
94
- <line num="2" count="16" type="stmt"/>
95
- <line num="4" count="16" type="stmt"/>
96
- <line num="6" count="16" type="stmt"/>
97
- <line num="8" count="16" type="cond" truecount="1" falsecount="0"/>
98
- <line num="9" count="16" type="stmt"/>
99
- <line num="13" count="16" type="stmt"/>
100
- <line num="17" count="3" type="stmt"/>
101
- <line num="35" count="1" type="stmt"/>
102
- <line num="38" count="1" type="stmt"/>
103
- <line num="58" count="1" type="cond" truecount="1" falsecount="1"/>
104
- <line num="59" count="0" type="stmt"/>
105
- <line num="61" count="1" type="stmt"/>
106
- <line num="62" count="2" type="stmt"/>
107
- <line num="66" count="1" type="stmt"/>
108
- <line num="70" count="1" type="stmt"/>
109
- </file>
110
- <file name="JournalList.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Batch/JournalList.ts">
111
- <metrics statements="15" coveredstatements="15" conditionals="8" coveredconditionals="3" methods="8" coveredmethods="8"/>
112
- <line num="2" count="16" type="stmt"/>
113
- <line num="4" count="16" type="stmt"/>
114
- <line num="6" count="16" type="stmt"/>
115
- <line num="9" count="16" type="stmt"/>
116
- <line num="13" count="3" type="stmt"/>
117
- <line num="22" count="1" type="stmt"/>
118
- <line num="24" count="1" type="cond" truecount="1" falsecount="2"/>
119
- <line num="27" count="1" type="stmt"/>
120
- <line num="36" count="1" type="cond" truecount="1" falsecount="1"/>
121
- <line num="41" count="1" type="stmt"/>
122
- <line num="42" count="2" type="stmt"/>
123
- <line num="45" count="1" type="stmt"/>
124
- <line num="49" count="1" type="stmt"/>
125
- <line num="53" count="1" type="stmt"/>
126
- <line num="55" count="1" type="cond" truecount="1" falsecount="2"/>
127
- </file>
128
- <file name="OrderExtraFields.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Batch/OrderExtraFields.ts">
129
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
130
- <line num="2" count="16" type="stmt"/>
131
- <line num="4" count="16" type="stmt"/>
132
- <line num="6" count="16" type="stmt"/>
133
- <line num="9" count="16" type="stmt"/>
134
- <line num="13" count="3" type="stmt"/>
135
- <line num="18" count="1" type="stmt"/>
136
- <line num="23" count="1" type="stmt"/>
137
- <line num="24" count="2" type="stmt"/>
138
- <line num="27" count="1" type="stmt"/>
139
- <line num="32" count="1" type="stmt"/>
140
- </file>
141
- </package>
142
- <package name="src.Connector">
143
- <metrics statements="96" coveredstatements="95" conditionals="5" coveredconditionals="3" methods="38" coveredmethods="38"/>
144
- <file name="ABaseConnector.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/ABaseConnector.ts">
145
- <metrics statements="19" coveredstatements="18" conditionals="5" coveredconditionals="3" methods="5" coveredmethods="5"/>
146
- <line num="1" count="16" type="stmt"/>
147
- <line num="2" count="16" type="stmt"/>
148
- <line num="4" count="16" type="stmt"/>
149
- <line num="6" count="16" type="stmt"/>
150
- <line num="8" count="16" type="stmt"/>
151
- <line num="10" count="192" type="cond" truecount="1" falsecount="0"/>
152
- <line num="11" count="192" type="stmt"/>
153
- <line num="17" count="12" type="stmt"/>
154
- <line num="24" count="12" type="stmt"/>
155
- <line num="25" count="12" type="stmt"/>
156
- <line num="26" count="12" type="cond" truecount="1" falsecount="1"/>
157
- <line num="27" count="0" type="stmt"/>
158
- <line num="30" count="12" type="stmt"/>
159
- <line num="35" count="4" type="stmt"/>
160
- <line num="39" count="12" type="stmt"/>
161
- <line num="40" count="12" type="stmt"/>
162
- <line num="41" count="12" type="stmt"/>
163
- <line num="43" count="12" type="stmt"/>
164
- <line num="48" count="12" type="stmt"/>
165
- </file>
166
- <file name="CourierFields.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/CourierFields.ts">
167
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
168
- <line num="2" count="16" type="stmt"/>
169
- <line num="4" count="16" type="stmt"/>
170
- <line num="6" count="16" type="stmt"/>
171
- <line num="9" count="16" type="stmt"/>
172
- <line num="13" count="1" type="stmt"/>
173
- <line num="18" count="1" type="stmt"/>
174
- <line num="20" count="1" type="stmt"/>
175
- </file>
176
- <file name="CouriersList.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/CouriersList.ts">
177
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
178
- <line num="1" count="16" type="stmt"/>
179
- <line num="3" count="16" type="stmt"/>
180
- <line num="5" count="16" type="stmt"/>
181
- <line num="8" count="16" type="stmt"/>
182
- <line num="12" count="1" type="stmt"/>
183
- </file>
184
- <file name="CreatePackage.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/CreatePackage.ts">
185
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
186
- <line num="2" count="16" type="stmt"/>
187
- <line num="4" count="16" type="stmt"/>
188
- <line num="6" count="16" type="stmt"/>
189
- <line num="9" count="16" type="stmt"/>
190
- <line num="13" count="1" type="stmt"/>
191
- <line num="18" count="1" type="stmt"/>
192
- <line num="21" count="1" type="stmt"/>
193
- <line num="26" count="1" type="stmt"/>
194
- </file>
195
- <file name="CreatePackageManual.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/CreatePackageManual.ts">
196
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
197
- <line num="2" count="16" type="stmt"/>
198
- <line num="4" count="16" type="stmt"/>
199
- <line num="6" count="16" type="stmt"/>
200
- <line num="9" count="16" type="stmt"/>
201
- <line num="13" count="1" type="stmt"/>
202
- <line num="18" count="1" type="stmt"/>
203
- <line num="21" count="1" type="stmt"/>
204
- </file>
205
- <file name="GetLabel.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/GetLabel.ts">
206
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
207
- <line num="2" count="16" type="stmt"/>
208
- <line num="4" count="16" type="stmt"/>
209
- <line num="6" count="16" type="stmt"/>
210
- <line num="9" count="16" type="stmt"/>
211
- <line num="13" count="1" type="stmt"/>
212
- <line num="18" count="1" type="stmt"/>
213
- <line num="21" count="1" type="stmt"/>
214
- </file>
215
- <file name="Inventories.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/Inventories.ts">
216
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
217
- <line num="1" count="16" type="stmt"/>
218
- <line num="3" count="16" type="stmt"/>
219
- <line num="5" count="16" type="stmt"/>
220
- <line num="8" count="16" type="stmt"/>
221
- <line num="12" count="1" type="stmt"/>
222
- </file>
223
- <file name="InventoryWarehouses.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/InventoryWarehouses.ts">
224
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
225
- <line num="1" count="16" type="stmt"/>
226
- <line num="3" count="16" type="stmt"/>
227
- <line num="5" count="16" type="stmt"/>
228
- <line num="8" count="16" type="stmt"/>
229
- <line num="12" count="1" type="stmt"/>
230
- </file>
231
- <file name="OrderPaymentsHistory.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/OrderPaymentsHistory.ts">
232
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
233
- <line num="2" count="16" type="stmt"/>
234
- <line num="4" count="16" type="stmt"/>
235
- <line num="6" count="16" type="stmt"/>
236
- <line num="9" count="16" type="stmt"/>
237
- <line num="13" count="1" type="stmt"/>
238
- <line num="18" count="1" type="stmt"/>
239
- <line num="21" count="1" type="stmt"/>
240
- </file>
241
- <file name="OrderStatusList.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/OrderStatusList.ts">
242
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
243
- <line num="1" count="16" type="stmt"/>
244
- <line num="3" count="16" type="stmt"/>
245
- <line num="5" count="16" type="stmt"/>
246
- <line num="8" count="16" type="stmt"/>
247
- <line num="12" count="1" type="stmt"/>
248
- </file>
249
- <file name="Orders.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/Orders.ts">
250
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
251
- <line num="2" count="16" type="stmt"/>
252
- <line num="4" count="16" type="stmt"/>
253
- <line num="6" count="16" type="stmt"/>
254
- <line num="9" count="16" type="stmt"/>
255
- <line num="13" count="1" type="stmt"/>
256
- <line num="30" count="1" type="stmt"/>
257
- <line num="33" count="1" type="stmt"/>
258
- </file>
259
- <file name="SetOrderStatus.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/SetOrderStatus.ts">
260
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
261
- <line num="2" count="16" type="stmt"/>
262
- <line num="4" count="16" type="stmt"/>
263
- <line num="6" count="16" type="stmt"/>
264
- <line num="9" count="16" type="stmt"/>
265
- <line num="13" count="1" type="stmt"/>
266
- <line num="18" count="1" type="stmt"/>
267
- <line num="20" count="1" type="stmt"/>
268
- </file>
269
- <file name="UpdateInventoryProductsStock.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/src/Connector/UpdateInventoryProductsStock.ts">
270
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
271
- <line num="2" count="16" type="stmt"/>
272
- <line num="4" count="16" type="stmt"/>
273
- <line num="6" count="16" type="stmt"/>
274
- <line num="9" count="16" type="stmt"/>
275
- <line num="13" count="1" type="stmt"/>
276
- <line num="18" count="1" type="stmt"/>
277
- <line num="20" count="1" type="stmt"/>
278
- </file>
279
- </package>
280
- <package name="test">
281
- <metrics statements="41" coveredstatements="41" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
282
- <file name="dataProvider.ts" path="/Users/radekjirsa/Projects/www/__Orchesty/pipes-nodejs-connectors/lib/Base/test/dataProvider.ts">
283
- <metrics statements="41" coveredstatements="41" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
284
- <line num="1" count="16" type="stmt"/>
285
- <line num="2" count="16" type="stmt"/>
286
- <line num="3" count="16" type="stmt"/>
287
- <line num="4" count="16" type="stmt"/>
288
- <line num="5" count="16" type="stmt"/>
289
- <line num="6" count="16" type="stmt"/>
290
- <line num="7" count="16" type="stmt"/>
291
- <line num="8" count="16" type="stmt"/>
292
- <line num="9" count="16" type="stmt"/>
293
- <line num="10" count="16" type="stmt"/>
294
- <line num="11" count="16" type="stmt"/>
295
- <line num="12" count="16" type="stmt"/>
296
- <line num="13" count="16" type="stmt"/>
297
- <line num="14" count="16" type="stmt"/>
298
- <line num="15" count="16" type="stmt"/>
299
- <line num="16" count="16" type="stmt"/>
300
- <line num="17" count="16" type="stmt"/>
301
- <line num="18" count="16" type="stmt"/>
302
- <line num="19" count="16" type="stmt"/>
303
- <line num="20" count="16" type="stmt"/>
304
- <line num="21" count="16" type="stmt"/>
305
- <line num="23" count="16" type="stmt"/>
306
- <line num="24" count="16" type="stmt"/>
307
- <line num="30" count="16" type="stmt"/>
308
- <line num="31" count="16" type="stmt"/>
309
- <line num="33" count="16" type="stmt"/>
310
- <line num="34" count="16" type="stmt"/>
311
- <line num="35" count="16" type="stmt"/>
312
- <line num="36" count="16" type="stmt"/>
313
- <line num="37" count="16" type="stmt"/>
314
- <line num="38" count="16" type="stmt"/>
315
- <line num="39" count="16" type="stmt"/>
316
- <line num="40" count="16" type="stmt"/>
317
- <line num="41" count="16" type="stmt"/>
318
- <line num="42" count="16" type="stmt"/>
319
- <line num="43" count="16" type="stmt"/>
320
- <line num="44" count="16" type="stmt"/>
321
- <line num="45" count="16" type="stmt"/>
322
- <line num="46" count="16" type="stmt"/>
323
- <line num="47" count="16" type="stmt"/>
324
- <line num="48" count="16" type="stmt"/>
325
- </file>
326
- </package>
327
- </project>
328
- </coverage>