@orchesty/connector-raynet-crm 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 (98) hide show
  1. package/README.md +101 -0
  2. package/dist/Batch/RaynetCRMSubscribeWebhook.js +1 -0
  3. package/dist/Batch/RaynetCRMUnregisterWebhook.js +5 -1
  4. package/dist/package.json +5 -2
  5. package/package.json +5 -2
  6. package/CHANGELOG.md +0 -7
  7. package/coverage/clover.xml +0 -283
  8. package/coverage/coverage-final.json +0 -13
  9. package/coverage/lcov-report/base.css +0 -224
  10. package/coverage/lcov-report/block-navigation.js +0 -87
  11. package/coverage/lcov-report/favicon.png +0 -0
  12. package/coverage/lcov-report/index.html +0 -161
  13. package/coverage/lcov-report/prettify.css +0 -1
  14. package/coverage/lcov-report/prettify.js +0 -2
  15. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  16. package/coverage/lcov-report/sorter.js +0 -210
  17. package/coverage/lcov-report/src/Batch/RaynetCRMGetActivities.ts.html +0 -385
  18. package/coverage/lcov-report/src/Batch/RaynetCRMGetClients.ts.html +0 -679
  19. package/coverage/lcov-report/src/Batch/RaynetCRMGetContactPersons.ts.html +0 -553
  20. package/coverage/lcov-report/src/Batch/RaynetCRMSubscribeWebhook.ts.html +0 -355
  21. package/coverage/lcov-report/src/Batch/RaynetCRMUnregisterWebhook.ts.html +0 -241
  22. package/coverage/lcov-report/src/Batch/index.html +0 -176
  23. package/coverage/lcov-report/src/Connector/RaynetCRMGetVoipByTel.ts.html +0 -856
  24. package/coverage/lcov-report/src/Connector/RaynetCRMUniversalActivityDetail.ts.html +0 -448
  25. package/coverage/lcov-report/src/Connector/RaynetCRMUniversalCreateActivity.ts.html +0 -223
  26. package/coverage/lcov-report/src/Connector/RaynetCRMUniversalDeleteActivity.ts.html +0 -184
  27. package/coverage/lcov-report/src/Connector/RaynetCRMUniversalUpdateActivity.ts.html +0 -205
  28. package/coverage/lcov-report/src/Connector/index.html +0 -176
  29. package/coverage/lcov-report/src/RaynetCRMApplication.ts.html +0 -331
  30. package/coverage/lcov-report/src/index.html +0 -116
  31. package/coverage/lcov-report/test/dataProvider.ts.html +0 -205
  32. package/coverage/lcov-report/test/index.html +0 -116
  33. package/coverage/lcov.info +0 -465
  34. package/jest.config.js +0 -13
  35. package/src/Batch/RaynetCRMGetActivities.ts +0 -100
  36. package/src/Batch/RaynetCRMGetClients.ts +0 -198
  37. package/src/Batch/RaynetCRMGetContactPersons.ts +0 -156
  38. package/src/Batch/RaynetCRMSubscribeWebhook.ts +0 -90
  39. package/src/Batch/RaynetCRMUnregisterWebhook.ts +0 -52
  40. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-input.json +0 -8
  41. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-mock.json +0 -64
  42. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-output.json +0 -11
  43. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/input.json +0 -6
  44. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/mock.json +0 -64
  45. package/src/Batch/__tests__/Data/RaynetCRMGetActivities/output.json +0 -11
  46. package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-input.json +0 -8
  47. package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-mock.json +0 -157
  48. package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-output.json +0 -11
  49. package/src/Batch/__tests__/Data/RaynetCRMGetClients/input.json +0 -6
  50. package/src/Batch/__tests__/Data/RaynetCRMGetClients/mock.json +0 -157
  51. package/src/Batch/__tests__/Data/RaynetCRMGetClients/output.json +0 -11
  52. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-input.json +0 -8
  53. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-mock.json +0 -157
  54. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-output.json +0 -11
  55. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/input.json +0 -6
  56. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/mock.json +0 -112
  57. package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/output.json +0 -11
  58. package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/input.json +0 -6
  59. package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/mock.json +0 -10
  60. package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/output.json +0 -6
  61. package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/input.json +0 -6
  62. package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/mock.json +0 -7
  63. package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/output.json +0 -6
  64. package/src/Batch/__tests__/RaynetCRMGetActivities.ts +0 -23
  65. package/src/Batch/__tests__/RaynetCRMGetClients.ts +0 -23
  66. package/src/Batch/__tests__/RaynetCRMGetContactPersons.ts +0 -23
  67. package/src/Batch/__tests__/RaynetCRMSubscribeWebhook.ts +0 -18
  68. package/src/Batch/__tests__/RaynetCRMUnregisterWebhook.ts +0 -42
  69. package/src/Connector/RaynetCRMGetVoipByTel.ts +0 -257
  70. package/src/Connector/RaynetCRMUniversalActivityDetail.ts +0 -121
  71. package/src/Connector/RaynetCRMUniversalCreateActivity.ts +0 -46
  72. package/src/Connector/RaynetCRMUniversalDeleteActivity.ts +0 -33
  73. package/src/Connector/RaynetCRMUniversalUpdateActivity.ts +0 -40
  74. package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/input.json +0 -8
  75. package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/mock.json +0 -216
  76. package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/output.json +0 -217
  77. package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/input.json +0 -22
  78. package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/mock.json +0 -84
  79. package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/output.json +0 -83
  80. package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/input.json +0 -83
  81. package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/mock.json +0 -10
  82. package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/output.json +0 -11
  83. package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/input.json +0 -9
  84. package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/mock.json +0 -7
  85. package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/output.json +0 -8
  86. package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/input.json +0 -83
  87. package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/mock.json +0 -7
  88. package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/output.json +0 -8
  89. package/src/Connector/__tests__/RaynetCRMGetVoipByTel.ts +0 -18
  90. package/src/Connector/__tests__/RaynetCRMUniversalActivityDetail.ts +0 -18
  91. package/src/Connector/__tests__/RaynetCRMUniversalCreateActivity.ts +0 -18
  92. package/src/Connector/__tests__/RaynetCRMUniversalDeleteActivity.ts +0 -18
  93. package/src/Connector/__tests__/RaynetCRMUniversalUpdateActivity.ts +0 -18
  94. package/src/RaynetCRMApplication.ts +0 -82
  95. package/test/dataProvider.ts +0 -40
  96. package/tsconfig.json +0 -8
  97. package/tsconfig.prod.json +0 -13
  98. package/tsconfig.prod.tsbuildinfo +0 -1
package/README.md ADDED
@@ -0,0 +1,101 @@
1
+ # Raynet CRM Connector
2
+
3
+ [![npm](https://img.shields.io/npm/v/@orchesty/connector-raynet-crm?color=15ba68)](https://www.npmjs.com/package/@orchesty/connector-raynet-crm)
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 RAYNET CRM, an online CRM software that helps salespeople and managers keep track of business easily.
7
+
8
+ ## Application Type
9
+
10
+ **Basic**
11
+
12
+ This connector authenticates using a username and API key encoded as HTTP Basic auth. Every request also includes the `X-Instance-Name` header to identify the specific RAYNET CRM instance.
13
+
14
+ | Field | Description |
15
+ |---|---|
16
+ | `user` | Your RAYNET CRM username |
17
+ | `password` | Your RAYNET CRM API key |
18
+ | `instanceName` | Your RAYNET CRM instance name (e.g. `my-company`) |
19
+
20
+ ## Components
21
+
22
+ | Class | Type | Description |
23
+ |---|---|---|
24
+ | `RaynetCRMGetVoipByTel` | Connector | Searches persons/companies/leads by phone number via `GET /voip/searchByTel` |
25
+ | `RaynetCRMUniversalActivityDetail` | Connector | Fetches details of a CRM activity by entity type and ID via `GET /{entityType}/{id}` |
26
+ | `RaynetCRMUniversalCreateActivity` | Connector | Creates a new CRM activity of any entity type via `PUT /{entityType}` |
27
+ | `RaynetCRMUniversalUpdateActivity` | Connector | Updates an existing CRM activity by ID via `POST /{entityType}/{id}` |
28
+ | `RaynetCRMUniversalDeleteActivity` | Connector | Deletes a CRM activity by entity type and ID via `DELETE /{entityType}/{id}` |
29
+ | `RaynetCRMGetClients` | Batch | Paginates through all client companies (1000 per page) via `GET /company` |
30
+ | `RaynetCRMGetContactPersons` | Batch | Paginates through all contact persons (1000 per page) via `GET /person` |
31
+ | `RaynetCRMGetActivities` | Batch | Paginates through activities modified since last run via `GET /activity` |
32
+ | `RaynetCRMSubscribeWebhook` | Batch | Registers webhook subscriptions for CRM entity events via `PUT /webhook` |
33
+ | `RaynetCRMUnregisterWebhook` | Batch | Removes a registered webhook subscription via `DELETE /webhook/{id}` |
34
+
35
+ ## Setup
36
+
37
+ ### Credentials
38
+
39
+ 1. Log in to your [RAYNET CRM](https://app.raynet.cz/) account.
40
+ 2. Navigate to **Settings → API** and note your **API key**.
41
+ 3. Your **instance name** is the subdomain visible in your RAYNET CRM URL (e.g. `my-company` from `my-company.raynet.cz`).
42
+ 4. In Orchesty, open the Raynet CRM application settings and fill in the **User**, **ApiKey**, and **Instance name** fields.
43
+
44
+ ### API Documentation
45
+
46
+ RAYNET CRM API: [https://app.raynet.cz/api/doc/](https://app.raynet.cz/api/doc/)
47
+
48
+ ## Installation & Usage
49
+
50
+ Install the package:
51
+
52
+ ```bash
53
+ npm install @orchesty/connector-raynet-crm @orchesty/nodejs-sdk
54
+ # or
55
+ pnpm add @orchesty/connector-raynet-crm @orchesty/nodejs-sdk
56
+ ```
57
+
58
+ Register the application and nodes in your Orchesty DI container:
59
+
60
+ ```typescript
61
+ import { container } from '@orchesty/nodejs-sdk';
62
+ import RaynetCRMApplication from '@orchesty/connector-raynet-crm/dist/RaynetCRMApplication';
63
+ import RaynetCRMGetVoipByTel from '@orchesty/connector-raynet-crm/dist/Connector/RaynetCRMGetVoipByTel';
64
+ import RaynetCRMUniversalCreateActivity from '@orchesty/connector-raynet-crm/dist/Connector/RaynetCRMUniversalCreateActivity';
65
+ import RaynetCRMUniversalUpdateActivity from '@orchesty/connector-raynet-crm/dist/Connector/RaynetCRMUniversalUpdateActivity';
66
+ import RaynetCRMUniversalActivityDetail from '@orchesty/connector-raynet-crm/dist/Connector/RaynetCRMUniversalActivityDetail';
67
+ import RaynetCRMUniversalDeleteActivity from '@orchesty/connector-raynet-crm/dist/Connector/RaynetCRMUniversalDeleteActivity';
68
+ import RaynetCRMGetClients from '@orchesty/connector-raynet-crm/dist/Batch/RaynetCRMGetClients';
69
+ import RaynetCRMGetContactPersons from '@orchesty/connector-raynet-crm/dist/Batch/RaynetCRMGetContactPersons';
70
+ import RaynetCRMGetActivities from '@orchesty/connector-raynet-crm/dist/Batch/RaynetCRMGetActivities';
71
+ import RaynetCRMSubscribeWebhook from '@orchesty/connector-raynet-crm/dist/Batch/RaynetCRMSubscribeWebhook';
72
+ import RaynetCRMUnregisterWebhook from '@orchesty/connector-raynet-crm/dist/Batch/RaynetCRMUnregisterWebhook';
73
+
74
+ const app = new RaynetCRMApplication();
75
+ container.setApplication(app);
76
+ container.setNode(new RaynetCRMGetVoipByTel(), app);
77
+ container.setNode(new RaynetCRMUniversalCreateActivity(), app);
78
+ container.setNode(new RaynetCRMUniversalUpdateActivity(), app);
79
+ container.setNode(new RaynetCRMUniversalActivityDetail(), app);
80
+ container.setNode(new RaynetCRMUniversalDeleteActivity(), app);
81
+ container.setNode(new RaynetCRMGetClients(), app);
82
+ container.setNode(new RaynetCRMGetContactPersons(), app);
83
+ container.setNode(new RaynetCRMGetActivities(), app);
84
+ container.setNode(new RaynetCRMSubscribeWebhook(), app);
85
+ container.setNode(new RaynetCRMUnregisterWebhook(), app);
86
+ ```
87
+
88
+ ## License
89
+
90
+ 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.
91
+
92
+ ## Contributing
93
+
94
+ Contributions are welcome! This connector is part of the open-source [Orchesty Node.js Connectors](https://github.com/Orchesty/orchesty-nodejs-connectors) monorepo.
95
+
96
+ 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.
97
+
98
+ All contributions should include:
99
+ - Source code in `src/` following the existing connector structure
100
+ - Tests in `src/**/__tests__/` with `input.json`, `mock.json`, and `output.json` fixtures
101
+ - An updated `CHANGELOG.md` entry
@@ -40,6 +40,7 @@ class RaynetCRMSubscribeWebhook extends ABatchNode_1.default {
40
40
  await repo.insert(new Webhook_1.default()
41
41
  .setWebhookId(respBody.data.uuid)
42
42
  .setUser(appInstall.getUser())
43
+ .setSdk(appInstall.getSdk())
43
44
  .setNode(webhooks[webhookIndex].getNode())
44
45
  .setToken(token)
45
46
  .setApplication(app.getName())
@@ -18,7 +18,11 @@ class RaynetCRMUnregisterWebhook extends ABatchNode_1.default {
18
18
  const app = this.getApplication();
19
19
  const appInstall = await this.getApplicationInstallFromProcess(dto, null, true);
20
20
  const repo = this.getDbClient().getRepository(Webhook_1.default);
21
- const webhooks = await repo.findMany({ users: [appInstall.getUser()], apps: [app.getName()] });
21
+ const webhooks = await repo.findMany({
22
+ users: [appInstall.getUser()],
23
+ apps: [app.getName()],
24
+ sdks: [appInstall.getSdk()],
25
+ });
22
26
  if (webhooks && webhooks.length > 0) {
23
27
  const webhookId = webhooks[0].getWebhookId();
24
28
  const requestDto = app.getRequestDto(dto, appInstall, HttpMethods_1.HttpMethods.DELETE, `webhook/${webhookId}`);
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orchesty/connector-raynet-crm",
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
  "http-status-codes": "^2.3.0"
19
22
  },
20
23
  "engines": {
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@orchesty/connector-raynet-crm",
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
  "http-status-codes": "^2.3.0"
13
16
  },
14
17
  "engines": {
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @orchesty/connector-raynet-crm
2
-
3
- ## 1.0.0
4
-
5
- ### Major Changes
6
-
7
- - initial release
@@ -1,283 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1768470325442" clover="3.2.0">
3
- <project timestamp="1768470325442" name="All files">
4
- <metrics statements="229" coveredstatements="201" conditionals="52" coveredconditionals="36" methods="38" coveredmethods="32" elements="319" coveredelements="269" complexity="0" loc="229" ncloc="229" packages="4" files="12" classes="12"/>
5
- <package name="src">
6
- <metrics statements="29" coveredstatements="24" conditionals="2" coveredconditionals="2" methods="7" coveredmethods="3"/>
7
- <file name="RaynetCRMApplication.ts" path="/var/www/lib/RaynetCRM/src/RaynetCRMApplication.ts">
8
- <metrics statements="29" coveredstatements="24" conditionals="2" coveredconditionals="2" methods="7" coveredmethods="3"/>
9
- <line num="1" count="10" type="stmt"/>
10
- <line num="3" count="10" type="stmt"/>
11
- <line num="4" count="10" type="stmt"/>
12
- <line num="5" count="10" type="stmt"/>
13
- <line num="6" count="10" type="stmt"/>
14
- <line num="8" count="10" type="stmt"/>
15
- <line num="13" count="10" type="stmt"/>
16
- <line num="16" count="10" type="stmt"/>
17
- <line num="17" count="10" type="stmt"/>
18
- <line num="19" count="10" type="stmt"/>
19
- <line num="20" count="10" type="stmt"/>
20
- <line num="22" count="10" type="stmt"/>
21
- <line num="24" count="10" type="stmt"/>
22
- <line num="27" count="15" type="stmt"/>
23
- <line num="31" count="0" type="stmt"/>
24
- <line num="35" count="0" type="stmt"/>
25
- <line num="39" count="0" type="stmt"/>
26
- <line num="44" count="0" type="stmt"/>
27
- <line num="48" count="0" type="stmt"/>
28
- <line num="58" count="12" type="stmt"/>
29
- <line num="59" count="12" type="stmt"/>
30
- <line num="60" count="12" type="stmt"/>
31
- <line num="61" count="12" type="stmt"/>
32
- <line num="62" count="12" type="stmt"/>
33
- <line num="64" count="12" type="stmt"/>
34
- <line num="71" count="12" type="cond" truecount="2" falsecount="0"/>
35
- <line num="72" count="2" type="stmt"/>
36
- <line num="75" count="12" type="stmt"/>
37
- <line num="79" count="1" type="stmt"/>
38
- </file>
39
- </package>
40
- <package name="src.Batch">
41
- <metrics statements="108" coveredstatements="86" conditionals="40" coveredconditionals="27" methods="16" coveredmethods="14"/>
42
- <file name="RaynetCRMGetActivities.ts" path="/var/www/lib/RaynetCRM/src/Batch/RaynetCRMGetActivities.ts">
43
- <metrics statements="21" coveredstatements="20" conditionals="8" coveredconditionals="6" methods="2" coveredmethods="2"/>
44
- <line num="1" count="10" type="stmt"/>
45
- <line num="2" count="10" type="stmt"/>
46
- <line num="5" count="10" type="stmt"/>
47
- <line num="6" count="10" type="stmt"/>
48
- <line num="7" count="10" type="stmt"/>
49
- <line num="9" count="10" type="stmt"/>
50
- <line num="12" count="10" type="stmt"/>
51
- <line num="16" count="2" type="stmt"/>
52
- <line num="17" count="2" type="stmt"/>
53
- <line num="18" count="2" type="stmt"/>
54
- <line num="19" count="2" type="cond" truecount="1" falsecount="1"/>
55
- <line num="20" count="2" type="stmt"/>
56
- <line num="22" count="2" type="stmt"/>
57
- <line num="24" count="2" type="stmt"/>
58
- <line num="30" count="2" type="stmt"/>
59
- <line num="31" count="2" type="stmt"/>
60
- <line num="33" count="2" type="cond" truecount="3" falsecount="1"/>
61
- <line num="34" count="0" type="stmt"/>
62
- <line num="36" count="2" type="stmt"/>
63
- <line num="39" count="2" type="stmt"/>
64
- <line num="42" count="2" type="stmt"/>
65
- </file>
66
- <file name="RaynetCRMGetClients.ts" path="/var/www/lib/RaynetCRM/src/Batch/RaynetCRMGetClients.ts">
67
- <metrics statements="16" coveredstatements="15" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
68
- <line num="1" count="10" type="stmt"/>
69
- <line num="3" count="10" type="stmt"/>
70
- <line num="6" count="10" type="stmt"/>
71
- <line num="7" count="10" type="stmt"/>
72
- <line num="9" count="10" type="stmt"/>
73
- <line num="11" count="10" type="stmt"/>
74
- <line num="14" count="10" type="stmt"/>
75
- <line num="18" count="2" type="stmt"/>
76
- <line num="19" count="2" type="stmt"/>
77
- <line num="21" count="2" type="stmt"/>
78
- <line num="28" count="2" type="stmt"/>
79
- <line num="32" count="2" type="cond" truecount="2" falsecount="0"/>
80
- <line num="36" count="2" type="stmt"/>
81
- <line num="38" count="2" type="cond" truecount="3" falsecount="1"/>
82
- <line num="39" count="0" type="stmt"/>
83
- <line num="42" count="2" type="stmt"/>
84
- </file>
85
- <file name="RaynetCRMGetContactPersons.ts" path="/var/www/lib/RaynetCRM/src/Batch/RaynetCRMGetContactPersons.ts">
86
- <metrics statements="16" coveredstatements="15" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
87
- <line num="1" count="10" type="stmt"/>
88
- <line num="3" count="10" type="stmt"/>
89
- <line num="6" count="10" type="stmt"/>
90
- <line num="7" count="10" type="stmt"/>
91
- <line num="9" count="10" type="stmt"/>
92
- <line num="11" count="10" type="stmt"/>
93
- <line num="14" count="10" type="stmt"/>
94
- <line num="18" count="2" type="stmt"/>
95
- <line num="19" count="2" type="stmt"/>
96
- <line num="21" count="2" type="stmt"/>
97
- <line num="28" count="2" type="stmt"/>
98
- <line num="32" count="2" type="cond" truecount="2" falsecount="0"/>
99
- <line num="36" count="2" type="stmt"/>
100
- <line num="38" count="2" type="cond" truecount="3" falsecount="1"/>
101
- <line num="39" count="0" type="stmt"/>
102
- <line num="42" count="2" type="stmt"/>
103
- </file>
104
- <file name="RaynetCRMSubscribeWebhook.ts" path="/var/www/lib/RaynetCRM/src/Batch/RaynetCRMSubscribeWebhook.ts">
105
- <metrics statements="31" coveredstatements="16" conditionals="6" coveredconditionals="1" methods="4" coveredmethods="2"/>
106
- <line num="1" count="10" type="stmt"/>
107
- <line num="2" count="10" type="stmt"/>
108
- <line num="3" count="10" type="stmt"/>
109
- <line num="4" count="10" type="stmt"/>
110
- <line num="5" count="10" type="stmt"/>
111
- <line num="7" count="10" type="stmt"/>
112
- <line num="8" count="10" type="stmt"/>
113
- <line num="11" count="10" type="stmt"/>
114
- <line num="13" count="10" type="stmt"/>
115
- <line num="14" count="0" type="stmt"/>
116
- <line num="17" count="10" type="stmt"/>
117
- <line num="20" count="10" type="stmt"/>
118
- <line num="24" count="1" type="stmt"/>
119
- <line num="26" count="1" type="stmt"/>
120
- <line num="27" count="1" type="stmt"/>
121
- <line num="29" count="1" type="cond" truecount="1" falsecount="1"/>
122
- <line num="30" count="0" type="stmt"/>
123
- <line num="31" count="0" type="stmt"/>
124
- <line num="33" count="0" type="stmt"/>
125
- <line num="34" count="0" type="stmt"/>
126
- <line num="51" count="0" type="stmt"/>
127
- <line num="52" count="0" type="stmt"/>
128
- <line num="53" count="0" type="stmt"/>
129
- <line num="55" count="0" type="stmt"/>
130
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
131
- <line num="65" count="0" type="stmt"/>
132
- <line num="69" count="0" type="stmt"/>
133
- <line num="70" count="0" type="stmt"/>
134
- <line num="72" count="0" type="cond" truecount="0" falsecount="2"/>
135
- <line num="76" count="1" type="stmt"/>
136
- <line num="80" count="0" type="stmt"/>
137
- </file>
138
- <file name="RaynetCRMUnregisterWebhook.ts" path="/var/www/lib/RaynetCRM/src/Batch/RaynetCRMUnregisterWebhook.ts">
139
- <metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="6" methods="2" coveredmethods="2"/>
140
- <line num="1" count="10" type="stmt"/>
141
- <line num="3" count="10" type="stmt"/>
142
- <line num="4" count="10" type="stmt"/>
143
- <line num="5" count="10" type="stmt"/>
144
- <line num="7" count="10" type="stmt"/>
145
- <line num="10" count="10" type="stmt"/>
146
- <line num="12" count="10" type="stmt"/>
147
- <line num="15" count="10" type="stmt"/>
148
- <line num="19" count="1" type="stmt"/>
149
- <line num="21" count="1" type="stmt"/>
150
- <line num="23" count="1" type="stmt"/>
151
- <line num="24" count="1" type="stmt"/>
152
- <line num="26" count="1" type="cond" truecount="3" falsecount="1"/>
153
- <line num="27" count="1" type="stmt"/>
154
- <line num="28" count="1" type="stmt"/>
155
- <line num="35" count="1" type="stmt"/>
156
- <line num="36" count="1" type="cond" truecount="2" falsecount="2"/>
157
- <line num="37" count="0" type="stmt"/>
158
- <line num="38" count="0" type="stmt"/>
159
- <line num="39" count="0" type="stmt"/>
160
- <line num="42" count="1" type="stmt"/>
161
- <line num="44" count="1" type="cond" truecount="1" falsecount="1"/>
162
- <line num="45" count="0" type="stmt"/>
163
- <line num="49" count="1" type="stmt"/>
164
- </file>
165
- </package>
166
- <package name="src.Connector">
167
- <metrics statements="63" coveredstatements="62" conditionals="10" coveredconditionals="7" methods="13" coveredmethods="13"/>
168
- <file name="RaynetCRMGetVoipByTel.ts" path="/var/www/lib/RaynetCRM/src/Connector/RaynetCRMGetVoipByTel.ts">
169
- <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
170
- <line num="1" count="10" type="stmt"/>
171
- <line num="3" count="10" type="stmt"/>
172
- <line num="6" count="10" type="stmt"/>
173
- <line num="8" count="10" type="stmt"/>
174
- <line num="11" count="10" type="stmt"/>
175
- <line num="15" count="1" type="stmt"/>
176
- <line num="17" count="1" type="stmt"/>
177
- <line num="23" count="1" type="stmt"/>
178
- <line num="25" count="1" type="stmt"/>
179
- <line num="29" count="1" type="stmt"/>
180
- <line num="33" count="1" type="stmt"/>
181
- </file>
182
- <file name="RaynetCRMUniversalActivityDetail.ts" path="/var/www/lib/RaynetCRM/src/Connector/RaynetCRMUniversalActivityDetail.ts">
183
- <metrics statements="16" coveredstatements="15" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
184
- <line num="1" count="10" type="stmt"/>
185
- <line num="2" count="10" type="stmt"/>
186
- <line num="5" count="10" type="stmt"/>
187
- <line num="7" count="10" type="stmt"/>
188
- <line num="8" count="4" type="stmt"/>
189
- <line num="9" count="4" type="cond" truecount="1" falsecount="1"/>
190
- <line num="10" count="0" type="stmt"/>
191
- <line num="13" count="4" type="stmt"/>
192
- <line num="16" count="10" type="stmt"/>
193
- <line num="19" count="10" type="stmt"/>
194
- <line num="23" count="1" type="stmt"/>
195
- <line num="24" count="1" type="stmt"/>
196
- <line num="25" count="1" type="stmt"/>
197
- <line num="27" count="1" type="stmt"/>
198
- <line num="33" count="1" type="stmt"/>
199
- <line num="35" count="1" type="stmt"/>
200
- </file>
201
- <file name="RaynetCRMUniversalCreateActivity.ts" path="/var/www/lib/RaynetCRM/src/Connector/RaynetCRMUniversalCreateActivity.ts">
202
- <metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
203
- <line num="1" count="10" type="stmt"/>
204
- <line num="2" count="10" type="stmt"/>
205
- <line num="4" count="10" type="stmt"/>
206
- <line num="6" count="10" type="stmt"/>
207
- <line num="8" count="10" type="stmt"/>
208
- <line num="11" count="10" type="stmt"/>
209
- <line num="15" count="1" type="stmt"/>
210
- <line num="17" count="1" type="cond" truecount="3" falsecount="1"/>
211
- <line num="18" count="1" type="stmt"/>
212
- <line num="21" count="1" type="stmt"/>
213
- <line num="28" count="1" type="stmt"/>
214
- <line num="30" count="1" type="stmt"/>
215
- </file>
216
- <file name="RaynetCRMUniversalDeleteActivity.ts" path="/var/www/lib/RaynetCRM/src/Connector/RaynetCRMUniversalDeleteActivity.ts">
217
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
218
- <line num="1" count="10" type="stmt"/>
219
- <line num="2" count="10" type="stmt"/>
220
- <line num="4" count="10" type="stmt"/>
221
- <line num="7" count="10" type="stmt"/>
222
- <line num="9" count="10" type="stmt"/>
223
- <line num="12" count="10" type="stmt"/>
224
- <line num="16" count="1" type="stmt"/>
225
- <line num="17" count="1" type="stmt"/>
226
- <line num="23" count="1" type="stmt"/>
227
- <line num="25" count="1" type="stmt"/>
228
- </file>
229
- <file name="RaynetCRMUniversalUpdateActivity.ts" path="/var/www/lib/RaynetCRM/src/Connector/RaynetCRMUniversalUpdateActivity.ts">
230
- <metrics statements="14" coveredstatements="14" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
231
- <line num="1" count="10" type="stmt"/>
232
- <line num="2" count="10" type="stmt"/>
233
- <line num="4" count="10" type="stmt"/>
234
- <line num="7" count="10" type="stmt"/>
235
- <line num="9" count="10" type="stmt"/>
236
- <line num="12" count="10" type="stmt"/>
237
- <line num="16" count="1" type="stmt"/>
238
- <line num="18" count="1" type="stmt"/>
239
- <line num="19" count="1" type="stmt"/>
240
- <line num="20" count="1" type="cond" truecount="3" falsecount="1"/>
241
- <line num="21" count="1" type="stmt"/>
242
- <line num="24" count="1" type="stmt"/>
243
- <line num="31" count="1" type="stmt"/>
244
- <line num="33" count="1" type="stmt"/>
245
- </file>
246
- </package>
247
- <package name="test">
248
- <metrics statements="29" coveredstatements="29" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
249
- <file name="dataProvider.ts" path="/var/www/lib/RaynetCRM/test/dataProvider.ts">
250
- <metrics statements="29" coveredstatements="29" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
251
- <line num="1" count="10" type="stmt"/>
252
- <line num="2" count="10" type="stmt"/>
253
- <line num="3" count="10" type="stmt"/>
254
- <line num="4" count="10" type="stmt"/>
255
- <line num="5" count="10" type="stmt"/>
256
- <line num="6" count="10" type="stmt"/>
257
- <line num="7" count="10" type="stmt"/>
258
- <line num="8" count="10" type="stmt"/>
259
- <line num="9" count="10" type="stmt"/>
260
- <line num="10" count="10" type="stmt"/>
261
- <line num="11" count="10" type="stmt"/>
262
- <line num="12" count="10" type="stmt"/>
263
- <line num="13" count="10" type="stmt"/>
264
- <line num="14" count="10" type="stmt"/>
265
- <line num="15" count="10" type="stmt"/>
266
- <line num="17" count="10" type="stmt"/>
267
- <line num="18" count="13" type="stmt"/>
268
- <line num="27" count="10" type="stmt"/>
269
- <line num="28" count="10" type="stmt"/>
270
- <line num="30" count="10" type="stmt"/>
271
- <line num="31" count="10" type="stmt"/>
272
- <line num="32" count="10" type="stmt"/>
273
- <line num="33" count="10" type="stmt"/>
274
- <line num="34" count="10" type="stmt"/>
275
- <line num="35" count="10" type="stmt"/>
276
- <line num="36" count="10" type="stmt"/>
277
- <line num="37" count="10" type="stmt"/>
278
- <line num="38" count="10" type="stmt"/>
279
- <line num="39" count="10" type="stmt"/>
280
- </file>
281
- </package>
282
- </project>
283
- </coverage>