@orchesty/connector-woocommerce 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 (158) hide show
  1. package/README.md +102 -0
  2. package/dist/Connector/WooCommerceGetProductVariant.d.ts +15 -1
  3. package/dist/Connector/WooCommerceRegisterWebhook.js +1 -0
  4. package/dist/Connector/WooCommerceUnsubscribeWebhooks.js +5 -1
  5. package/dist/package.json +7 -5
  6. package/package.json +6 -4
  7. package/CHANGELOG.md +0 -12
  8. package/coverage/clover.xml +0 -404
  9. package/coverage/coverage-final.json +0 -21
  10. package/coverage/lcov-report/base.css +0 -224
  11. package/coverage/lcov-report/block-navigation.js +0 -87
  12. package/coverage/lcov-report/favicon.png +0 -0
  13. package/coverage/lcov-report/index.html +0 -161
  14. package/coverage/lcov-report/prettify.css +0 -1
  15. package/coverage/lcov-report/prettify.js +0 -2
  16. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  17. package/coverage/lcov-report/sorter.js +0 -210
  18. package/coverage/lcov-report/src/Batch/WooCommerceGetOrders.ts.html +0 -640
  19. package/coverage/lcov-report/src/Batch/WooCommerceGetProducts.ts.html +0 -532
  20. package/coverage/lcov-report/src/Batch/WooCommerceGetVariants.ts.html +0 -433
  21. package/coverage/lcov-report/src/Batch/index.html +0 -146
  22. package/coverage/lcov-report/src/Connector/WooCommerceAddNote.ts.html +0 -220
  23. package/coverage/lcov-report/src/Connector/WooCommerceCreateProduct.ts.html +0 -178
  24. package/coverage/lcov-report/src/Connector/WooCommerceCreateProductCategory.ts.html +0 -307
  25. package/coverage/lcov-report/src/Connector/WooCommerceGetOrderNotes.ts.html +0 -274
  26. package/coverage/lcov-report/src/Connector/WooCommerceGetOrderStatuses.ts.html +0 -175
  27. package/coverage/lcov-report/src/Connector/WooCommerceGetPaymentGateways.ts.html +0 -295
  28. package/coverage/lcov-report/src/Connector/WooCommerceGetProduct.ts.html +0 -181
  29. package/coverage/lcov-report/src/Connector/WooCommerceGetProductVariant.ts.html +0 -496
  30. package/coverage/lcov-report/src/Connector/WooCommerceGetProductsBySku.ts.html +0 -226
  31. package/coverage/lcov-report/src/Connector/WooCommerceGetSettingsGeneral.ts.html +0 -238
  32. package/coverage/lcov-report/src/Connector/WooCommerceGetShippingMethods.ts.html +0 -478
  33. package/coverage/lcov-report/src/Connector/WooCommerceUpdateOrder.ts.html +0 -193
  34. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProduct.ts.html +0 -199
  35. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProductQuantity.ts.html +0 -220
  36. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProductVariant.ts.html +0 -199
  37. package/coverage/lcov-report/src/Connector/index.html +0 -326
  38. package/coverage/lcov-report/src/WooCommerceApplication.ts.html +0 -364
  39. package/coverage/lcov-report/src/index.html +0 -116
  40. package/coverage/lcov-report/test/dataProvider.ts.html +0 -427
  41. package/coverage/lcov-report/test/index.html +0 -116
  42. package/coverage/lcov.info +0 -661
  43. package/jest.config.js +0 -13
  44. package/src/Batch/WooCommerceGetOrders.ts +0 -185
  45. package/src/Batch/WooCommerceGetProducts.ts +0 -149
  46. package/src/Batch/WooCommerceGetVariants.ts +0 -116
  47. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-input.json +0 -8
  48. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-mock.json +0 -319
  49. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-output.json +0 -16
  50. package/src/Batch/__tests__/Data/WooCommerceGetOrders/input.json +0 -6
  51. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-input.json +0 -6
  52. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-mock.json +0 -319
  53. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-output.json +0 -15
  54. package/src/Batch/__tests__/Data/WooCommerceGetOrders/mock.json +0 -319
  55. package/src/Batch/__tests__/Data/WooCommerceGetOrders/output.json +0 -15
  56. package/src/Batch/__tests__/Data/WooCommerceGetProducts/input.json +0 -7
  57. package/src/Batch/__tests__/Data/WooCommerceGetProducts/mock.json +0 -170
  58. package/src/Batch/__tests__/Data/WooCommerceGetProducts/output.json +0 -11
  59. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-input.json +0 -7
  60. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-mock.json +0 -170
  61. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-output.json +0 -11
  62. package/src/Batch/__tests__/Data/WooCommerceGetVariants/input.json +0 -169
  63. package/src/Batch/__tests__/Data/WooCommerceGetVariants/mock.json +0 -160
  64. package/src/Batch/__tests__/Data/WooCommerceGetVariants/output.json +0 -11
  65. package/src/Batch/__tests__/WooCommerceGetOrders.ts +0 -42
  66. package/src/Batch/__tests__/WooCommerceGetProducts.ts +0 -37
  67. package/src/Batch/__tests__/WooCommerceGetVariants.ts +0 -32
  68. package/src/Connector/WooCommerceAddNote.ts +0 -45
  69. package/src/Connector/WooCommerceCreateProduct.ts +0 -31
  70. package/src/Connector/WooCommerceCreateProductCategory.ts +0 -74
  71. package/src/Connector/WooCommerceGetOrderNotes.ts +0 -63
  72. package/src/Connector/WooCommerceGetOrderStatuses.ts +0 -30
  73. package/src/Connector/WooCommerceGetPaymentGateways.ts +0 -70
  74. package/src/Connector/WooCommerceGetProduct.ts +0 -32
  75. package/src/Connector/WooCommerceGetProductVariant.ts +0 -137
  76. package/src/Connector/WooCommerceGetProductsBySku.ts +0 -47
  77. package/src/Connector/WooCommerceGetSettingsGeneral.ts +0 -51
  78. package/src/Connector/WooCommerceGetShippingMethods.ts +0 -131
  79. package/src/Connector/WooCommerceRegisterWebhook.ts +0 -106
  80. package/src/Connector/WooCommerceUnsubscribeWebhooks.ts +0 -91
  81. package/src/Connector/WooCommerceUpdateOrder.ts +0 -36
  82. package/src/Connector/WooCommerceUpdateProduct.ts +0 -38
  83. package/src/Connector/WooCommerceUpdateProductQuantity.ts +0 -45
  84. package/src/Connector/WooCommerceUpdateProductVariant.ts +0 -38
  85. package/src/Connector/__tests__/Data/WooCommerceAddNote/input.json +0 -11
  86. package/src/Connector/__tests__/Data/WooCommerceAddNote/mock.json +0 -22
  87. package/src/Connector/__tests__/Data/WooCommerceAddNote/output.json +0 -23
  88. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/input.json +0 -28
  89. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/mock.json +0 -125
  90. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/output.json +0 -126
  91. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/input.json +0 -11
  92. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/mock.json +0 -36
  93. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/output.json +0 -37
  94. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/input.json +0 -8
  95. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/mock.json +0 -81
  96. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/output.json +0 -82
  97. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/input.json +0 -6
  98. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/mock.json +0 -41
  99. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/output.json +0 -42
  100. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/input.json +0 -6
  101. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/mock.json +0 -350
  102. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/output.json +0 -351
  103. package/src/Connector/__tests__/Data/WooCommerceGetProduct/input.json +0 -8
  104. package/src/Connector/__tests__/Data/WooCommerceGetProduct/mock.json +0 -125
  105. package/src/Connector/__tests__/Data/WooCommerceGetProduct/output.json +0 -126
  106. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/input.json +0 -37
  107. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/mock.json +0 -81
  108. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/mock1.json +0 -81
  109. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-input.json +0 -22
  110. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-mock.json +0 -81
  111. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-output.json +0 -24
  112. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/output.json +0 -37
  113. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/input.json +0 -8
  114. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/mock.json +0 -170
  115. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/output.json +0 -169
  116. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/input.json +0 -6
  117. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/mock.json +0 -3459
  118. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/output.json +0 -3460
  119. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-input.json +0 -8
  120. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-mock.json +0 -30
  121. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-output.json +0 -31
  122. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/input.json +0 -6
  123. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock.json +0 -50
  124. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock1.json +0 -187
  125. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock2.json +0 -187
  126. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/output.json +0 -373
  127. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/input.json +0 -9
  128. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/mock.json +0 -169
  129. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/output.json +0 -170
  130. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/input.json +0 -9
  131. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/mock.json +0 -125
  132. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/output.json +0 -126
  133. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/input.json +0 -20
  134. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/mock.json +0 -162
  135. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/output.json +0 -6
  136. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/input.json +0 -10
  137. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/mock.json +0 -125
  138. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/output.json +0 -126
  139. package/src/Connector/__tests__/WooCommerceAddNote.ts +0 -18
  140. package/src/Connector/__tests__/WooCommerceCreateProduct.ts +0 -18
  141. package/src/Connector/__tests__/WooCommerceCreateProductCategory.ts +0 -18
  142. package/src/Connector/__tests__/WooCommerceGetOrderNotes.ts +0 -18
  143. package/src/Connector/__tests__/WooCommerceGetOrderStatuses.ts +0 -18
  144. package/src/Connector/__tests__/WooCommerceGetPaymentGateways.ts +0 -18
  145. package/src/Connector/__tests__/WooCommerceGetProduct.ts +0 -18
  146. package/src/Connector/__tests__/WooCommerceGetProductVariant.ts +0 -25
  147. package/src/Connector/__tests__/WooCommerceGetProductsBySku.ts +0 -18
  148. package/src/Connector/__tests__/WooCommerceGetSettingsGeneral.ts +0 -25
  149. package/src/Connector/__tests__/WooCommerceGetShippingMethods.ts +0 -18
  150. package/src/Connector/__tests__/WooCommerceUpdateOrder.ts +0 -18
  151. package/src/Connector/__tests__/WooCommerceUpdateProduct.ts +0 -18
  152. package/src/Connector/__tests__/WooCommerceUpdateProductQuantity.ts +0 -18
  153. package/src/Connector/__tests__/WooCommerceUpdateProductVariant.ts +0 -18
  154. package/src/WooCommerceApplication.ts +0 -93
  155. package/test/dataProvider.ts +0 -114
  156. package/tsconfig.json +0 -8
  157. package/tsconfig.prod.json +0 -13
  158. package/tsconfig.prod.tsbuildinfo +0 -1
package/README.md ADDED
@@ -0,0 +1,102 @@
1
+ # WooCommerce Connector
2
+
3
+ [![npm](https://img.shields.io/npm/v/@orchesty/connector-woocommerce?color=15ba68)](https://www.npmjs.com/package/@orchesty/connector-woocommerce)
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 WooCommerce, the open-source e-commerce plugin for WordPress used by small to large online merchants.
7
+
8
+ ## Application Type
9
+
10
+ **Basic**
11
+
12
+ This connector authenticates using HTTP Basic auth (Consumer Key + Consumer Secret, Base64-encoded). The store URL is configurable per instance.
13
+
14
+ | Field | Description |
15
+ |---|---|
16
+ | `user` | Your WooCommerce Consumer Key |
17
+ | `password` | Your WooCommerce Consumer Secret |
18
+ | `woocommerceUrl` | Your WordPress store URL (e.g. `https://my-store.com`) |
19
+
20
+ ## Components
21
+
22
+ | Class | Type | Description |
23
+ |---|---|---|
24
+ | `WooCommerceAddNote` | Connector | Adds a note to an order via `POST /wp-json/wc/v3/orders/{id}/notes` |
25
+ | `WooCommerceCreateProduct` | Connector | Creates a new product via `POST /wp-json/wc/v3/products` |
26
+ | `WooCommerceCreateProductCategory` | Connector | Creates a product category via `POST /wp-json/wc/v3/products/categories` |
27
+ | `WooCommerceGetOrderNotes` | Connector | Retrieves notes for an order via `GET /wp-json/wc/v3/orders/{id}/notes` |
28
+ | `WooCommerceGetOrderStatuses` | Connector | Retrieves available order statuses via `GET /wp-json/wc/v3/reports/orders/totals` |
29
+ | `WooCommerceGetPaymentGateways` | Connector | Lists payment gateways via `GET /wp-json/wc/v3/payment_gateways` |
30
+ | `WooCommerceGetProduct` | Connector | Fetches a single product by ID via `GET /wp-json/wc/v3/products/{id}` |
31
+ | `WooCommerceGetProductVariant` | Connector | Fetches a product variation by ID via `GET /wp-json/wc/v3/products/{productId}/variations/{id}` |
32
+ | `WooCommerceGetProductsBySku` | Connector | Finds a product by SKU via `GET /wp-json/wc/v3/products?sku={sku}` |
33
+ | `WooCommerceGetSettingsGeneral` | Connector | Retrieves general settings via `GET /wp-json/wc/v3/settings/general` |
34
+ | `WooCommerceGetShippingMethods` | Connector | Lists all shipping methods across zones via `GET /wp-json/wc/v3/shipping/zones` |
35
+ | `WooCommerceRegisterWebhook` | Connector | Batch-registers webhooks via `POST /wp-json/wc/v3/webhooks/batch` |
36
+ | `WooCommerceUnsubscribeWebhooks` | Connector | Batch-deletes registered webhooks via `POST /wp-json/wc/v3/webhooks/batch` |
37
+ | `WooCommerceUpdateOrder` | Connector | Updates an existing order via `PUT /wp-json/wc/v3/orders/{id}` |
38
+ | `WooCommerceUpdateProduct` | Connector | Updates an existing product via `PUT /wp-json/wc/v3/products/{id}` |
39
+ | `WooCommerceUpdateProductQuantity` | Connector | Batch-updates variation stock quantities via `POST /wp-json/wc/v3/products/{productId}/variations/batch` |
40
+ | `WooCommerceUpdateProductVariant` | Connector | Updates a product variation via `PUT /wp-json/wc/v3/products/{productId}/variations/{id}` |
41
+ | `WooCommerceGetOrders` | Batch | Paginates through orders (100 per page) via `GET /wp-json/wc/v3/orders` |
42
+ | `WooCommerceGetProducts` | Batch | Paginates through products (100 per page) via `GET /wp-json/wc/v3/products` |
43
+ | `WooCommerceGetVariants` | Batch | Paginates through product variations (100 per page) via `GET /wp-json/wc/v3/products/{id}/variations/` |
44
+
45
+ ## Setup
46
+
47
+ ### Credentials
48
+
49
+ 1. Log in to your WordPress admin and navigate to **WooCommerce → Settings → Advanced → REST API**.
50
+ 2. Click **Add key**, set **Permissions** to `Read/Write`, and generate the key.
51
+ 3. Copy the **Consumer Key** and **Consumer Secret**.
52
+ 4. In Orchesty, open the WooCommerce application settings and enter the Consumer Key as **User**, the Consumer Secret as **Password**, and your store URL.
53
+
54
+ ### API Documentation
55
+
56
+ WooCommerce REST API: [https://woocommerce.github.io/woocommerce-rest-api-docs/](https://woocommerce.github.io/woocommerce-rest-api-docs/)
57
+
58
+ ## Installation & Usage
59
+
60
+ Install the package:
61
+
62
+ ```bash
63
+ npm install @orchesty/connector-woocommerce @orchesty/nodejs-sdk
64
+ # or
65
+ pnpm add @orchesty/connector-woocommerce @orchesty/nodejs-sdk
66
+ ```
67
+
68
+ Register the application and nodes in your Orchesty DI container:
69
+
70
+ ```typescript
71
+ import { container } from '@orchesty/nodejs-sdk';
72
+ import WooCommerceApplication from '@orchesty/connector-woocommerce/dist/WooCommerceApplication';
73
+ import WooCommerceGetOrders from '@orchesty/connector-woocommerce/dist/Batch/WooCommerceGetOrders';
74
+ import WooCommerceGetProducts from '@orchesty/connector-woocommerce/dist/Batch/WooCommerceGetProducts';
75
+ import WooCommerceUpdateOrder from '@orchesty/connector-woocommerce/dist/Connector/WooCommerceUpdateOrder';
76
+ import WooCommerceUpdateProduct from '@orchesty/connector-woocommerce/dist/Connector/WooCommerceUpdateProduct';
77
+ import WooCommerceCreateProduct from '@orchesty/connector-woocommerce/dist/Connector/WooCommerceCreateProduct';
78
+
79
+ const app = new WooCommerceApplication();
80
+ container.setApplication(app);
81
+ container.setNode(new WooCommerceGetOrders(), app);
82
+ container.setNode(new WooCommerceGetProducts(), app);
83
+ container.setNode(new WooCommerceUpdateOrder(), app);
84
+ container.setNode(new WooCommerceUpdateProduct(), app);
85
+ container.setNode(new WooCommerceCreateProduct(), app);
86
+ // ... register remaining connectors and batches similarly
87
+ ```
88
+
89
+ ## License
90
+
91
+ 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.
92
+
93
+ ## Contributing
94
+
95
+ Contributions are welcome! This connector is part of the open-source [Orchesty Node.js Connectors](https://github.com/Orchesty/orchesty-nodejs-connectors) monorepo.
96
+
97
+ 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.
98
+
99
+ All contributions should include:
100
+ - Source code in `src/` following the existing connector structure
101
+ - Tests in `src/**/__tests__/` with `input.json`, `mock.json`, and `output.json` fixtures
102
+ - An updated `CHANGELOG.md` entry
@@ -1,4 +1,3 @@
1
- import { IProduct } from '@orchesty/connector-authentica/src/Connector/AuthenticaPutProducts';
2
1
  import AConnector from '@orchesty/nodejs-sdk/dist/lib/Connector/AConnector';
3
2
  import ProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/ProcessDto';
4
3
  export declare const NAME: string;
@@ -6,6 +5,21 @@ export default class WooCommerceGetProductVariant extends AConnector {
6
5
  getName(): string;
7
6
  processAction(dto: ProcessDto<IInput[]>): Promise<ProcessDto<IOutput>>;
8
7
  }
8
+ export interface IProduct {
9
+ productId: string;
10
+ sku: string;
11
+ name: string;
12
+ englishName: string | null;
13
+ ean: string;
14
+ width: number | null;
15
+ widthUnit: string | null;
16
+ height: number | null;
17
+ heightUnit: string | null;
18
+ length: number | null;
19
+ lengthUnit: string | null;
20
+ weight: number | null;
21
+ weightUnit: string | null;
22
+ }
9
23
  export interface IInput extends IProduct {
10
24
  id?: number;
11
25
  }
@@ -41,6 +41,7 @@ class WooCommerceRegisterWebhook extends AConnector_1.default {
41
41
  const wb = new Webhook_1.default()
42
42
  .setWebhookId(webhook.id.toString())
43
43
  .setUser(appInstall.getUser())
44
+ .setSdk(appInstall.getSdk())
44
45
  .setNode(located.node)
45
46
  .setToken(located.token)
46
47
  .setApplication(app.getName())
@@ -23,7 +23,11 @@ class WooCommerceUnsubscribeWebhooks extends AConnector_1.default {
23
23
  appInstall = await this.getApplicationInstallFromProcess(dto, null, false);
24
24
  }
25
25
  const repo = this.getDbClient().getRepository(Webhook_1.default);
26
- const webhooks = await repo.findMany({ users: [appInstall.getUser()], apps: [app.getName()] });
26
+ const webhooks = await repo.findMany({
27
+ users: [appInstall.getUser()],
28
+ apps: [app.getName()],
29
+ sdks: [appInstall.getSdk()],
30
+ });
27
31
  const webhooksIds = [];
28
32
  webhooks.forEach((webhook) => {
29
33
  webhooksIds.push(Number(webhook.getWebhookId()));
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orchesty/connector-woocommerce",
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,13 +11,15 @@
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/connector-authentica": "workspace:*",
18
- "@orchesty/nodejs-sdk": "^4.3.6",
19
- "luxon": "^3.7.2",
20
- "http-status-codes": "^2.3.0"
20
+ "@orchesty/nodejs-sdk": "^5.0.8",
21
+ "http-status-codes": "^2.3.0",
22
+ "luxon": "^3.7.2"
21
23
  },
22
24
  "devDependencies": {
23
25
  "@types/luxon": "^3.7.1"
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "@orchesty/connector-woocommerce",
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",
12
- "luxon": "^3.7.2",
14
+ "@orchesty/nodejs-sdk": "^5.0.8",
13
15
  "http-status-codes": "^2.3.0",
14
- "@orchesty/connector-authentica": "1.0.0"
16
+ "luxon": "^3.7.2"
15
17
  },
16
18
  "devDependencies": {
17
19
  "@types/luxon": "^3.7.1"
package/CHANGELOG.md DELETED
@@ -1,12 +0,0 @@
1
- # @orchesty/connector-woocommerce
2
-
3
- ## 1.0.0
4
-
5
- ### Major Changes
6
-
7
- - initial release
8
-
9
- ### Patch Changes
10
-
11
- - Updated dependencies
12
- - @orchesty/connector-authentica@1.0.0
@@ -1,404 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1768470339235" clover="3.2.0">
3
- <project timestamp="1768470339235" name="All files">
4
- <metrics statements="326" coveredstatements="309" conditionals="35" coveredconditionals="23" methods="60" coveredmethods="54" elements="421" coveredelements="386" complexity="0" loc="326" ncloc="326" packages="4" files="20" classes="20"/>
5
- <package name="src">
6
- <metrics statements="31" coveredstatements="23" conditionals="11" coveredconditionals="5" methods="10" coveredmethods="4"/>
7
- <file name="WooCommerceApplication.ts" path="/var/www/lib/WooCommerce/src/WooCommerceApplication.ts">
8
- <metrics statements="31" coveredstatements="23" conditionals="11" coveredconditionals="5" methods="10" coveredmethods="4"/>
9
- <line num="1" count="18" type="stmt"/>
10
- <line num="3" count="18" type="stmt"/>
11
- <line num="4" count="18" type="stmt"/>
12
- <line num="5" count="18" type="stmt"/>
13
- <line num="6" count="18" type="stmt"/>
14
- <line num="8" count="18" type="stmt"/>
15
- <line num="13" count="18" type="stmt"/>
16
- <line num="14" count="18" type="stmt"/>
17
- <line num="16" count="18" type="stmt"/>
18
- <line num="17" count="18" type="stmt"/>
19
- <line num="19" count="18" type="stmt"/>
20
- <line num="21" count="18" type="stmt"/>
21
- <line num="23" count="18" type="stmt"/>
22
- <line num="26" count="0" type="stmt"/>
23
- <line num="30" count="41" type="stmt"/>
24
- <line num="34" count="0" type="stmt"/>
25
- <line num="38" count="0" type="stmt"/>
26
- <line num="48" count="26" type="stmt"/>
27
- <line num="49" count="26" type="stmt"/>
28
- <line num="52" count="26" type="stmt"/>
29
- <line num="58" count="26" type="cond" truecount="1" falsecount="1"/>
30
- <line num="59" count="26" type="cond" truecount="1" falsecount="1"/>
31
- <line num="60" count="26" type="stmt"/>
32
- <line num="63" count="26" type="stmt"/>
33
- <line num="67" count="4" type="cond" truecount="2" falsecount="0"/>
34
- <line num="71" count="26" type="cond" truecount="1" falsecount="1"/>
35
- <line num="76" count="0" type="stmt"/>
36
- <line num="81" count="0" type="stmt"/>
37
- <line num="85" count="0" type="stmt"/>
38
- <line num="86" count="0" type="cond" truecount="0" falsecount="3"/>
39
- <line num="90" count="0" type="stmt"/>
40
- </file>
41
- </package>
42
- <package name="src.Batch">
43
- <metrics statements="63" coveredstatements="60" conditionals="14" coveredconditionals="11" methods="7" coveredmethods="7"/>
44
- <file name="WooCommerceGetOrders.ts" path="/var/www/lib/WooCommerce/src/Batch/WooCommerceGetOrders.ts">
45
- <metrics statements="25" coveredstatements="24" conditionals="8" coveredconditionals="7" methods="3" coveredmethods="3"/>
46
- <line num="1" count="18" type="stmt"/>
47
- <line num="2" count="18" type="stmt"/>
48
- <line num="4" count="18" type="stmt"/>
49
- <line num="5" count="18" type="stmt"/>
50
- <line num="7" count="18" type="stmt"/>
51
- <line num="9" count="18" type="stmt"/>
52
- <line num="11" count="18" type="stmt"/>
53
- <line num="14" count="18" type="stmt"/>
54
- <line num="18" count="3" type="stmt"/>
55
- <line num="19" count="3" type="stmt"/>
56
- <line num="20" count="3" type="stmt"/>
57
- <line num="21" count="3" type="stmt"/>
58
- <line num="24" count="3" type="cond" truecount="2" falsecount="0"/>
59
- <line num="25" count="2" type="stmt"/>
60
- <line num="28" count="3" type="stmt"/>
61
- <line num="35" count="3" type="stmt"/>
62
- <line num="36" count="3" type="stmt"/>
63
- <line num="37" count="3" type="cond" truecount="1" falsecount="1"/>
64
- <line num="38" count="0" type="stmt"/>
65
- <line num="40" count="3" type="stmt"/>
66
- <line num="41" count="3" type="stmt"/>
67
- <line num="42" count="3" type="stmt"/>
68
- <line num="44" count="3" type="stmt"/>
69
- <line num="46" count="3" type="stmt"/>
70
- <line num="50" count="3" type="stmt"/>
71
- </file>
72
- <file name="WooCommerceGetProducts.ts" path="/var/www/lib/WooCommerce/src/Batch/WooCommerceGetProducts.ts">
73
- <metrics statements="21" coveredstatements="20" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
74
- <line num="1" count="18" type="stmt"/>
75
- <line num="2" count="18" type="stmt"/>
76
- <line num="4" count="18" type="stmt"/>
77
- <line num="5" count="18" type="stmt"/>
78
- <line num="7" count="18" type="stmt"/>
79
- <line num="9" count="18" type="stmt"/>
80
- <line num="12" count="18" type="stmt"/>
81
- <line num="16" count="2" type="stmt"/>
82
- <line num="17" count="2" type="stmt"/>
83
- <line num="18" count="2" type="stmt"/>
84
- <line num="19" count="2" type="stmt"/>
85
- <line num="21" count="2" type="stmt"/>
86
- <line num="28" count="2" type="stmt"/>
87
- <line num="29" count="2" type="stmt"/>
88
- <line num="30" count="2" type="cond" truecount="1" falsecount="1"/>
89
- <line num="31" count="0" type="stmt"/>
90
- <line num="33" count="2" type="stmt"/>
91
- <line num="34" count="2" type="stmt"/>
92
- <line num="35" count="2" type="stmt"/>
93
- <line num="37" count="2" type="stmt"/>
94
- <line num="39" count="2" type="stmt"/>
95
- </file>
96
- <file name="WooCommerceGetVariants.ts" path="/var/www/lib/WooCommerce/src/Batch/WooCommerceGetVariants.ts">
97
- <metrics statements="17" coveredstatements="16" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
98
- <line num="1" count="18" type="stmt"/>
99
- <line num="2" count="18" type="stmt"/>
100
- <line num="4" count="18" type="stmt"/>
101
- <line num="7" count="18" type="stmt"/>
102
- <line num="9" count="18" type="stmt"/>
103
- <line num="12" count="1" type="stmt"/>
104
- <line num="13" count="1" type="stmt"/>
105
- <line num="14" count="1" type="stmt"/>
106
- <line num="15" count="1" type="stmt"/>
107
- <line num="17" count="1" type="stmt"/>
108
- <line num="24" count="1" type="stmt"/>
109
- <line num="25" count="1" type="stmt"/>
110
- <line num="26" count="1" type="cond" truecount="1" falsecount="1"/>
111
- <line num="27" count="0" type="stmt"/>
112
- <line num="29" count="1" type="stmt"/>
113
- <line num="31" count="1" type="stmt"/>
114
- <line num="35" count="18" type="stmt"/>
115
- </file>
116
- </package>
117
- <package name="src.Connector">
118
- <metrics statements="175" coveredstatements="169" conditionals="10" coveredconditionals="7" methods="41" coveredmethods="41"/>
119
- <file name="WooCommerceAddNote.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceAddNote.ts">
120
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
121
- <line num="1" count="18" type="stmt"/>
122
- <line num="2" count="18" type="stmt"/>
123
- <line num="6" count="18" type="stmt"/>
124
- <line num="8" count="18" type="stmt"/>
125
- <line num="11" count="18" type="stmt"/>
126
- <line num="15" count="1" type="stmt"/>
127
- <line num="17" count="1" type="stmt"/>
128
- <line num="25" count="1" type="stmt"/>
129
- <line num="29" count="1" type="stmt"/>
130
- </file>
131
- <file name="WooCommerceCreateProduct.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceCreateProduct.ts">
132
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
133
- <line num="1" count="18" type="stmt"/>
134
- <line num="2" count="18" type="stmt"/>
135
- <line num="6" count="18" type="stmt"/>
136
- <line num="8" count="18" type="stmt"/>
137
- <line num="11" count="18" type="stmt"/>
138
- <line num="15" count="1" type="stmt"/>
139
- <line num="22" count="1" type="stmt"/>
140
- <line num="24" count="1" type="stmt"/>
141
- </file>
142
- <file name="WooCommerceCreateProductCategory.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceCreateProductCategory.ts">
143
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
144
- <line num="1" count="18" type="stmt"/>
145
- <line num="4" count="18" type="stmt"/>
146
- <line num="7" count="18" type="stmt"/>
147
- <line num="9" count="18" type="stmt"/>
148
- <line num="12" count="18" type="stmt"/>
149
- <line num="16" count="1" type="stmt"/>
150
- <line num="23" count="1" type="stmt"/>
151
- <line num="25" count="1" type="stmt"/>
152
- <line num="29" count="1" type="stmt"/>
153
- <line num="33" count="1" type="stmt"/>
154
- </file>
155
- <file name="WooCommerceGetOrderNotes.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetOrderNotes.ts">
156
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
157
- <line num="1" count="18" type="stmt"/>
158
- <line num="3" count="18" type="stmt"/>
159
- <line num="6" count="18" type="stmt"/>
160
- <line num="8" count="18" type="stmt"/>
161
- <line num="11" count="18" type="stmt"/>
162
- <line num="15" count="1" type="stmt"/>
163
- <line num="17" count="1" type="stmt"/>
164
- <line num="23" count="1" type="stmt"/>
165
- <line num="25" count="1" type="stmt"/>
166
- <line num="29" count="1" type="stmt"/>
167
- </file>
168
- <file name="WooCommerceGetOrderStatuses.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetOrderStatuses.ts">
169
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
170
- <line num="1" count="18" type="stmt"/>
171
- <line num="2" count="18" type="stmt"/>
172
- <line num="5" count="18" type="stmt"/>
173
- <line num="7" count="18" type="stmt"/>
174
- <line num="10" count="18" type="stmt"/>
175
- <line num="14" count="1" type="stmt"/>
176
- <line num="20" count="1" type="stmt"/>
177
- <line num="22" count="1" type="stmt"/>
178
- </file>
179
- <file name="WooCommerceGetPaymentGateways.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetPaymentGateways.ts">
180
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
181
- <line num="1" count="18" type="stmt"/>
182
- <line num="2" count="18" type="stmt"/>
183
- <line num="5" count="18" type="stmt"/>
184
- <line num="7" count="18" type="stmt"/>
185
- <line num="10" count="18" type="stmt"/>
186
- <line num="14" count="1" type="stmt"/>
187
- <line num="20" count="1" type="stmt"/>
188
- <line num="22" count="1" type="stmt"/>
189
- </file>
190
- <file name="WooCommerceGetProduct.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetProduct.ts">
191
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
192
- <line num="1" count="18" type="stmt"/>
193
- <line num="2" count="18" type="stmt"/>
194
- <line num="6" count="18" type="stmt"/>
195
- <line num="8" count="18" type="stmt"/>
196
- <line num="11" count="18" type="stmt"/>
197
- <line num="15" count="1" type="stmt"/>
198
- <line num="17" count="1" type="stmt"/>
199
- <line num="23" count="1" type="stmt"/>
200
- <line num="25" count="1" type="stmt"/>
201
- </file>
202
- <file name="WooCommerceGetProductVariant.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetProductVariant.ts">
203
- <metrics statements="26" coveredstatements="24" conditionals="4" coveredconditionals="3" methods="3" coveredmethods="3"/>
204
- <line num="2" count="18" type="stmt"/>
205
- <line num="3" count="18" type="stmt"/>
206
- <line num="5" count="18" type="stmt"/>
207
- <line num="6" count="18" type="stmt"/>
208
- <line num="7" count="18" type="stmt"/>
209
- <line num="9" count="18" type="stmt"/>
210
- <line num="11" count="18" type="stmt"/>
211
- <line num="14" count="18" type="stmt"/>
212
- <line num="18" count="2" type="stmt"/>
213
- <line num="19" count="2" type="stmt"/>
214
- <line num="20" count="2" type="stmt"/>
215
- <line num="21" count="3" type="stmt"/>
216
- <line num="22" count="3" type="stmt"/>
217
- <line num="23" count="3" type="stmt"/>
218
- <line num="30" count="3" type="stmt"/>
219
- <line num="32" count="3" type="stmt"/>
220
- <line num="33" count="3" type="stmt"/>
221
- <line num="34" count="3" type="stmt"/>
222
- <line num="35" count="3" type="cond" truecount="2" falsecount="0"/>
223
- <line num="36" count="1" type="stmt"/>
224
- <line num="39" count="2" type="stmt"/>
225
- <line num="42" count="1" type="cond" truecount="1" falsecount="1"/>
226
- <line num="43" count="1" type="stmt"/>
227
- <line num="44" count="1" type="stmt"/>
228
- <line num="46" count="0" type="stmt"/>
229
- <line num="47" count="0" type="stmt"/>
230
- </file>
231
- <file name="WooCommerceGetProductsBySku.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetProductsBySku.ts">
232
- <metrics statements="18" coveredstatements="14" conditionals="4" coveredconditionals="2" methods="3" coveredmethods="3"/>
233
- <line num="1" count="18" type="stmt"/>
234
- <line num="2" count="18" type="stmt"/>
235
- <line num="4" count="18" type="stmt"/>
236
- <line num="7" count="18" type="stmt"/>
237
- <line num="9" count="18" type="stmt"/>
238
- <line num="12" count="18" type="stmt"/>
239
- <line num="16" count="1" type="stmt"/>
240
- <line num="18" count="1" type="stmt"/>
241
- <line num="24" count="1" type="stmt"/>
242
- <line num="26" count="1" type="stmt"/>
243
- <line num="27" count="1" type="cond" truecount="1" falsecount="1"/>
244
- <line num="28" count="0" type="stmt"/>
245
- <line num="29" count="0" type="stmt"/>
246
- <line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
247
- <line num="32" count="0" type="stmt"/>
248
- <line num="33" count="0" type="stmt"/>
249
- <line num="36" count="1" type="stmt"/>
250
- <line num="40" count="1" type="stmt"/>
251
- </file>
252
- <file name="WooCommerceGetSettingsGeneral.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetSettingsGeneral.ts">
253
- <metrics statements="9" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
254
- <line num="1" count="18" type="stmt"/>
255
- <line num="2" count="18" type="stmt"/>
256
- <line num="5" count="18" type="stmt"/>
257
- <line num="7" count="18" type="stmt"/>
258
- <line num="10" count="18" type="stmt"/>
259
- <line num="14" count="2" type="stmt"/>
260
- <line num="16" count="2" type="stmt"/>
261
- <line num="22" count="2" type="stmt"/>
262
- <line num="24" count="2" type="stmt"/>
263
- </file>
264
- <file name="WooCommerceGetShippingMethods.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceGetShippingMethods.ts">
265
- <metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
266
- <line num="1" count="18" type="stmt"/>
267
- <line num="2" count="18" type="stmt"/>
268
- <line num="4" count="18" type="stmt"/>
269
- <line num="6" count="18" type="stmt"/>
270
- <line num="8" count="18" type="stmt"/>
271
- <line num="11" count="18" type="stmt"/>
272
- <line num="15" count="1" type="stmt"/>
273
- <line num="16" count="1" type="stmt"/>
274
- <line num="18" count="1" type="stmt"/>
275
- <line num="25" count="1" type="stmt"/>
276
- <line num="26" count="1" type="stmt"/>
277
- <line num="27" count="1" type="stmt"/>
278
- <line num="28" count="1" type="stmt"/>
279
- <line num="29" count="2" type="stmt"/>
280
- <line num="36" count="2" type="stmt"/>
281
- <line num="37" count="2" type="stmt"/>
282
- <line num="38" count="4" type="stmt"/>
283
- <line num="41" count="4" type="stmt"/>
284
- <line num="43" count="4" type="stmt"/>
285
- <line num="46" count="1" type="stmt"/>
286
- <line num="48" count="1" type="stmt"/>
287
- </file>
288
- <file name="WooCommerceUpdateOrder.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceUpdateOrder.ts">
289
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
290
- <line num="1" count="18" type="stmt"/>
291
- <line num="2" count="18" type="stmt"/>
292
- <line num="6" count="18" type="stmt"/>
293
- <line num="8" count="18" type="stmt"/>
294
- <line num="11" count="18" type="stmt"/>
295
- <line num="15" count="1" type="stmt"/>
296
- <line num="17" count="1" type="stmt"/>
297
- <line num="25" count="1" type="stmt"/>
298
- <line num="29" count="1" type="stmt"/>
299
- </file>
300
- <file name="WooCommerceUpdateProduct.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceUpdateProduct.ts">
301
- <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
302
- <line num="1" count="18" type="stmt"/>
303
- <line num="2" count="18" type="stmt"/>
304
- <line num="3" count="18" type="stmt"/>
305
- <line num="7" count="18" type="stmt"/>
306
- <line num="9" count="18" type="stmt"/>
307
- <line num="12" count="18" type="stmt"/>
308
- <line num="16" count="1" type="stmt"/>
309
- <line num="18" count="1" type="stmt"/>
310
- <line num="25" count="1" type="stmt"/>
311
- <line num="27" count="1" type="stmt"/>
312
- <line num="31" count="1" type="stmt"/>
313
- </file>
314
- <file name="WooCommerceUpdateProductQuantity.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceUpdateProductQuantity.ts">
315
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
316
- <line num="1" count="18" type="stmt"/>
317
- <line num="2" count="18" type="stmt"/>
318
- <line num="6" count="18" type="stmt"/>
319
- <line num="8" count="18" type="stmt"/>
320
- <line num="11" count="18" type="stmt"/>
321
- <line num="15" count="1" type="stmt"/>
322
- <line num="17" count="1" type="stmt"/>
323
- <line num="25" count="1" type="stmt"/>
324
- <line num="27" count="1" type="stmt"/>
325
- <line num="29" count="1" type="stmt"/>
326
- </file>
327
- <file name="WooCommerceUpdateProductVariant.ts" path="/var/www/lib/WooCommerce/src/Connector/WooCommerceUpdateProductVariant.ts">
328
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
329
- <line num="1" count="18" type="stmt"/>
330
- <line num="2" count="18" type="stmt"/>
331
- <line num="6" count="18" type="stmt"/>
332
- <line num="8" count="18" type="stmt"/>
333
- <line num="11" count="18" type="stmt"/>
334
- <line num="15" count="1" type="stmt"/>
335
- <line num="17" count="1" type="stmt"/>
336
- <line num="24" count="1" type="stmt"/>
337
- <line num="26" count="1" type="stmt"/>
338
- </file>
339
- </package>
340
- <package name="test">
341
- <metrics statements="57" coveredstatements="57" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
342
- <file name="dataProvider.ts" path="/var/www/lib/WooCommerce/test/dataProvider.ts">
343
- <metrics statements="57" coveredstatements="57" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
344
- <line num="1" count="18" type="stmt"/>
345
- <line num="6" count="18" type="stmt"/>
346
- <line num="9" count="18" type="stmt"/>
347
- <line num="14" count="18" type="stmt"/>
348
- <line num="15" count="18" type="stmt"/>
349
- <line num="16" count="18" type="stmt"/>
350
- <line num="17" count="18" type="stmt"/>
351
- <line num="18" count="18" type="stmt"/>
352
- <line num="19" count="18" type="stmt"/>
353
- <line num="20" count="18" type="stmt"/>
354
- <line num="21" count="18" type="stmt"/>
355
- <line num="22" count="18" type="stmt"/>
356
- <line num="23" count="18" type="stmt"/>
357
- <line num="24" count="18" type="stmt"/>
358
- <line num="25" count="18" type="stmt"/>
359
- <line num="26" count="18" type="stmt"/>
360
- <line num="27" count="18" type="stmt"/>
361
- <line num="28" count="18" type="stmt"/>
362
- <line num="29" count="18" type="stmt"/>
363
- <line num="30" count="18" type="stmt"/>
364
- <line num="31" count="18" type="stmt"/>
365
- <line num="32" count="18" type="stmt"/>
366
- <line num="33" count="18" type="stmt"/>
367
- <line num="35" count="18" type="stmt"/>
368
- <line num="36" count="23" type="stmt"/>
369
- <line num="49" count="18" type="stmt"/>
370
- <line num="50" count="18" type="stmt"/>
371
- <line num="51" count="18" type="stmt"/>
372
- <line num="53" count="18" type="stmt"/>
373
- <line num="57" count="18" type="stmt"/>
374
- <line num="59" count="18" type="stmt"/>
375
- <line num="63" count="18" type="stmt"/>
376
- <line num="65" count="18" type="stmt"/>
377
- <line num="69" count="18" type="stmt"/>
378
- <line num="71" count="18" type="stmt"/>
379
- <line num="75" count="18" type="stmt"/>
380
- <line num="77" count="18" type="stmt"/>
381
- <line num="78" count="18" type="stmt"/>
382
- <line num="82" count="18" type="stmt"/>
383
- <line num="84" count="18" type="stmt"/>
384
- <line num="88" count="18" type="stmt"/>
385
- <line num="90" count="18" type="stmt"/>
386
- <line num="91" count="18" type="stmt"/>
387
- <line num="95" count="18" type="stmt"/>
388
- <line num="97" count="18" type="stmt"/>
389
- <line num="98" count="18" type="stmt"/>
390
- <line num="102" count="18" type="stmt"/>
391
- <line num="104" count="18" type="stmt"/>
392
- <line num="105" count="18" type="stmt"/>
393
- <line num="106" count="18" type="stmt"/>
394
- <line num="107" count="18" type="stmt"/>
395
- <line num="108" count="18" type="stmt"/>
396
- <line num="109" count="18" type="stmt"/>
397
- <line num="110" count="18" type="stmt"/>
398
- <line num="111" count="18" type="stmt"/>
399
- <line num="112" count="18" type="stmt"/>
400
- <line num="113" count="18" type="stmt"/>
401
- </file>
402
- </package>
403
- </project>
404
- </coverage>