@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.
- package/README.md +101 -0
- package/dist/Batch/RaynetCRMSubscribeWebhook.js +1 -0
- package/dist/Batch/RaynetCRMUnregisterWebhook.js +5 -1
- package/dist/package.json +5 -2
- package/package.json +5 -2
- package/CHANGELOG.md +0 -7
- package/coverage/clover.xml +0 -283
- package/coverage/coverage-final.json +0 -13
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -161
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov-report/src/Batch/RaynetCRMGetActivities.ts.html +0 -385
- package/coverage/lcov-report/src/Batch/RaynetCRMGetClients.ts.html +0 -679
- package/coverage/lcov-report/src/Batch/RaynetCRMGetContactPersons.ts.html +0 -553
- package/coverage/lcov-report/src/Batch/RaynetCRMSubscribeWebhook.ts.html +0 -355
- package/coverage/lcov-report/src/Batch/RaynetCRMUnregisterWebhook.ts.html +0 -241
- package/coverage/lcov-report/src/Batch/index.html +0 -176
- package/coverage/lcov-report/src/Connector/RaynetCRMGetVoipByTel.ts.html +0 -856
- package/coverage/lcov-report/src/Connector/RaynetCRMUniversalActivityDetail.ts.html +0 -448
- package/coverage/lcov-report/src/Connector/RaynetCRMUniversalCreateActivity.ts.html +0 -223
- package/coverage/lcov-report/src/Connector/RaynetCRMUniversalDeleteActivity.ts.html +0 -184
- package/coverage/lcov-report/src/Connector/RaynetCRMUniversalUpdateActivity.ts.html +0 -205
- package/coverage/lcov-report/src/Connector/index.html +0 -176
- package/coverage/lcov-report/src/RaynetCRMApplication.ts.html +0 -331
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/test/dataProvider.ts.html +0 -205
- package/coverage/lcov-report/test/index.html +0 -116
- package/coverage/lcov.info +0 -465
- package/jest.config.js +0 -13
- package/src/Batch/RaynetCRMGetActivities.ts +0 -100
- package/src/Batch/RaynetCRMGetClients.ts +0 -198
- package/src/Batch/RaynetCRMGetContactPersons.ts +0 -156
- package/src/Batch/RaynetCRMSubscribeWebhook.ts +0 -90
- package/src/Batch/RaynetCRMUnregisterWebhook.ts +0 -52
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-input.json +0 -8
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-mock.json +0 -64
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/from-output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/input.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/mock.json +0 -64
- package/src/Batch/__tests__/Data/RaynetCRMGetActivities/output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-input.json +0 -8
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-mock.json +0 -157
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/email-output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/input.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/mock.json +0 -157
- package/src/Batch/__tests__/Data/RaynetCRMGetClients/output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-input.json +0 -8
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-mock.json +0 -157
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/email-output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/input.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/mock.json +0 -112
- package/src/Batch/__tests__/Data/RaynetCRMGetContactPersons/output.json +0 -11
- package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/input.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/mock.json +0 -10
- package/src/Batch/__tests__/Data/RaynetCRMSubscribeWebhook/output.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/input.json +0 -6
- package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/mock.json +0 -7
- package/src/Batch/__tests__/Data/RaynetCRMUnregisterWebhook/output.json +0 -6
- package/src/Batch/__tests__/RaynetCRMGetActivities.ts +0 -23
- package/src/Batch/__tests__/RaynetCRMGetClients.ts +0 -23
- package/src/Batch/__tests__/RaynetCRMGetContactPersons.ts +0 -23
- package/src/Batch/__tests__/RaynetCRMSubscribeWebhook.ts +0 -18
- package/src/Batch/__tests__/RaynetCRMUnregisterWebhook.ts +0 -42
- package/src/Connector/RaynetCRMGetVoipByTel.ts +0 -257
- package/src/Connector/RaynetCRMUniversalActivityDetail.ts +0 -121
- package/src/Connector/RaynetCRMUniversalCreateActivity.ts +0 -46
- package/src/Connector/RaynetCRMUniversalDeleteActivity.ts +0 -33
- package/src/Connector/RaynetCRMUniversalUpdateActivity.ts +0 -40
- package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/input.json +0 -8
- package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/mock.json +0 -216
- package/src/Connector/__tests__/Data/RaynetCRMGetVoipByTel/output.json +0 -217
- package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/input.json +0 -22
- package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/mock.json +0 -84
- package/src/Connector/__tests__/Data/RaynetCRMUniversalActivityDetail/output.json +0 -83
- package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/input.json +0 -83
- package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/mock.json +0 -10
- package/src/Connector/__tests__/Data/RaynetCRMUniversalCreateActivity/output.json +0 -11
- package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/input.json +0 -9
- package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/mock.json +0 -7
- package/src/Connector/__tests__/Data/RaynetCRMUniversalDeleteActivity/output.json +0 -8
- package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/input.json +0 -83
- package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/mock.json +0 -7
- package/src/Connector/__tests__/Data/RaynetCRMUniversalUpdateActivity/output.json +0 -8
- package/src/Connector/__tests__/RaynetCRMGetVoipByTel.ts +0 -18
- package/src/Connector/__tests__/RaynetCRMUniversalActivityDetail.ts +0 -18
- package/src/Connector/__tests__/RaynetCRMUniversalCreateActivity.ts +0 -18
- package/src/Connector/__tests__/RaynetCRMUniversalDeleteActivity.ts +0 -18
- package/src/Connector/__tests__/RaynetCRMUniversalUpdateActivity.ts +0 -18
- package/src/RaynetCRMApplication.ts +0 -82
- package/test/dataProvider.ts +0 -40
- package/tsconfig.json +0 -8
- package/tsconfig.prod.json +0 -13
- package/tsconfig.prod.tsbuildinfo +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import AConnector from '@orchesty/nodejs-sdk/dist/lib/Connector/AConnector';
|
|
2
|
-
import { HttpMethods } from '@orchesty/nodejs-sdk/dist/lib/Transport/HttpMethods';
|
|
3
|
-
import ProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/ProcessDto';
|
|
4
|
-
import { getEntityType } from './RaynetCRMUniversalActivityDetail';
|
|
5
|
-
import { IInput } from './RaynetCRMUniversalCreateActivity';
|
|
6
|
-
|
|
7
|
-
export const NAME = 'raynet-crm-universal-update-activity';
|
|
8
|
-
|
|
9
|
-
export default class RaynetCRMUniversalUpdateActivity extends AConnector {
|
|
10
|
-
|
|
11
|
-
public getName(): string {
|
|
12
|
-
return NAME;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
public async processAction(dto: ProcessDto<IInput>): Promise<ProcessDto<IResponse>> {
|
|
16
|
-
const { entityName, ...data } = dto.getJsonData();
|
|
17
|
-
|
|
18
|
-
delete data.owner;
|
|
19
|
-
delete data['rowInfo.updatedAt'];
|
|
20
|
-
if (entityName.toLowerCase() === 'task' && data.participants?.length) {
|
|
21
|
-
data.resolver = data.participants[0].id;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const req = await this.getApplication().getRequestDto(
|
|
25
|
-
dto,
|
|
26
|
-
await this.getApplicationInstallFromProcess(dto),
|
|
27
|
-
HttpMethods.POST,
|
|
28
|
-
`${getEntityType(entityName)}/${data.id}`,
|
|
29
|
-
data,
|
|
30
|
-
);
|
|
31
|
-
const resp = await this.getSender().send<IResponse>(req, [200]);
|
|
32
|
-
|
|
33
|
-
return dto.setNewJsonData(resp.getJsonBody());
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface IResponse {
|
|
39
|
-
success: boolean;
|
|
40
|
-
}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"http": "GET https://app.raynet.cz/api/v2/voip/searchByTel?query=12345",
|
|
3
|
-
"code": 201,
|
|
4
|
-
"body": {
|
|
5
|
-
"success": true,
|
|
6
|
-
"data": {
|
|
7
|
-
"person": [],
|
|
8
|
-
"company": [
|
|
9
|
-
{
|
|
10
|
-
"id": 1,
|
|
11
|
-
"_permission": 31,
|
|
12
|
-
"_version": 2,
|
|
13
|
-
"name": "RAYNET s.r.o.",
|
|
14
|
-
"state": "A_POTENTIAL",
|
|
15
|
-
"role": "C_SUPPLIER",
|
|
16
|
-
"owner": {
|
|
17
|
-
"id": 2,
|
|
18
|
-
"_permission": 31,
|
|
19
|
-
"_version": 4,
|
|
20
|
-
"gender": null,
|
|
21
|
-
"fullName": "Richard Fíla",
|
|
22
|
-
"fullNameWithoutTitles": "Richard Fíla",
|
|
23
|
-
"firstName": "Richard",
|
|
24
|
-
"lastName": "Fíla",
|
|
25
|
-
"titleBefore": null,
|
|
26
|
-
"notice": null,
|
|
27
|
-
"titleAfter": null,
|
|
28
|
-
"photo": null,
|
|
29
|
-
"category": null,
|
|
30
|
-
"salutation": null,
|
|
31
|
-
"personClassification1": null,
|
|
32
|
-
"personClassification2": null,
|
|
33
|
-
"personClassification3": null,
|
|
34
|
-
"customFields": null,
|
|
35
|
-
"contactInfo.tel1": "123456789",
|
|
36
|
-
"contactInfo.tel1Type": null,
|
|
37
|
-
"contactInfo.tel2": null,
|
|
38
|
-
"contactInfo.tel2Type": null,
|
|
39
|
-
"contactInfo.email": "fila.richard@gmail.com",
|
|
40
|
-
"contactInfo.email2": null,
|
|
41
|
-
"contactInfo.www": null,
|
|
42
|
-
"privateAddress.countryCode": null,
|
|
43
|
-
"activeUserAccount": true,
|
|
44
|
-
"extIds": null,
|
|
45
|
-
"securityLevel": {
|
|
46
|
-
"id": 1,
|
|
47
|
-
"_permission": 31,
|
|
48
|
-
"name": "Sdílená",
|
|
49
|
-
"locked": true,
|
|
50
|
-
"extIds": null
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"category": null,
|
|
54
|
-
"rating": "A",
|
|
55
|
-
"economyActivity": null,
|
|
56
|
-
"turnover": null,
|
|
57
|
-
"notice": null,
|
|
58
|
-
"contactSource": null,
|
|
59
|
-
"legalForm": {
|
|
60
|
-
"id": 42,
|
|
61
|
-
"_permission": 31,
|
|
62
|
-
"code01": "s.r.o.",
|
|
63
|
-
"strValue01": null,
|
|
64
|
-
"rowAccess": null
|
|
65
|
-
},
|
|
66
|
-
"employeesNumber": null,
|
|
67
|
-
"regNumber": "26843820",
|
|
68
|
-
"taxNumber": "CZ26843820",
|
|
69
|
-
"taxNumber2": null,
|
|
70
|
-
"bankAccount": null,
|
|
71
|
-
"paymentTerm": {
|
|
72
|
-
"id": 51,
|
|
73
|
-
"_permission": 31,
|
|
74
|
-
"code01": "7 dní",
|
|
75
|
-
"code02": null,
|
|
76
|
-
"numValue01": 0.0000,
|
|
77
|
-
"numValue02": 0.0000,
|
|
78
|
-
"strValue01": null,
|
|
79
|
-
"strValue02": null,
|
|
80
|
-
"rowAccess": null,
|
|
81
|
-
"extIds": null
|
|
82
|
-
},
|
|
83
|
-
"taxPayer": null,
|
|
84
|
-
"databox": null,
|
|
85
|
-
"court": null,
|
|
86
|
-
"originLead": null,
|
|
87
|
-
"logo": {
|
|
88
|
-
"id": 2,
|
|
89
|
-
"_permission": 29,
|
|
90
|
-
"_version": 0,
|
|
91
|
-
"contentType": "image/png",
|
|
92
|
-
"fileName": "raynet.png",
|
|
93
|
-
"iconSmallSize": 0,
|
|
94
|
-
"iconSmallUuid": null,
|
|
95
|
-
"size": 3933,
|
|
96
|
-
"preview": true,
|
|
97
|
-
"uuid": "cddc90a6-8668-42fa-82e2-de22748e0ec9",
|
|
98
|
-
"iconMediumUuid": "cddc90a6-8668-42fa-82e2-de22748e0ec9",
|
|
99
|
-
"iconMediumSize": 3933,
|
|
100
|
-
"iconLargeUuid": null,
|
|
101
|
-
"iconLargeSize": 0
|
|
102
|
-
},
|
|
103
|
-
"birthday": "2004-10-07",
|
|
104
|
-
"birthdayMonthDay": "10-07",
|
|
105
|
-
"primaryAddress": {
|
|
106
|
-
"id": 1,
|
|
107
|
-
"_permission": 31,
|
|
108
|
-
"_version": 0,
|
|
109
|
-
"address.name": "Sídlo klienta",
|
|
110
|
-
"address.street": "Hlavní třída 6078/13",
|
|
111
|
-
"address.province": null,
|
|
112
|
-
"address.zipCode": "708 00",
|
|
113
|
-
"address.city": "Ostrava-Poruba",
|
|
114
|
-
"address.countryCode": "CZ",
|
|
115
|
-
"address.countryName": "Česká republika",
|
|
116
|
-
"address.lat": 49.8259006000000000,
|
|
117
|
-
"address.lng": 18.1824497000000000,
|
|
118
|
-
"territory": null,
|
|
119
|
-
"contactInfo.tel1": "+420 553 401 520",
|
|
120
|
-
"contactInfo.tel1Normalized": "+420553401520",
|
|
121
|
-
"contactInfo.tel1Type": null,
|
|
122
|
-
"contactInfo.tel2": null,
|
|
123
|
-
"contactInfo.tel2Normalized": null,
|
|
124
|
-
"contactInfo.tel2Type": null,
|
|
125
|
-
"contactInfo.email": "info@raynet.cz",
|
|
126
|
-
"contactInfo.email2": null,
|
|
127
|
-
"contactInfo.www": "raynet.cz",
|
|
128
|
-
"contactInfo.fax": null,
|
|
129
|
-
"contactInfo.doNotSendMM": false,
|
|
130
|
-
"contactInfo.otherContact": null,
|
|
131
|
-
"primary": true,
|
|
132
|
-
"extIds": null,
|
|
133
|
-
"contactAddress": true
|
|
134
|
-
},
|
|
135
|
-
"contactAddress": {
|
|
136
|
-
"id": 1,
|
|
137
|
-
"_permission": 31,
|
|
138
|
-
"_version": 0,
|
|
139
|
-
"address.name": "Sídlo klienta",
|
|
140
|
-
"address.street": "Hlavní třída 6078/13",
|
|
141
|
-
"address.province": null,
|
|
142
|
-
"address.zipCode": "708 00",
|
|
143
|
-
"address.city": "Ostrava-Poruba",
|
|
144
|
-
"address.countryCode": "CZ",
|
|
145
|
-
"address.countryName": "Česká republika",
|
|
146
|
-
"address.lat": 49.8259006000000000,
|
|
147
|
-
"address.lng": 18.1824497000000000,
|
|
148
|
-
"territory": null,
|
|
149
|
-
"contactInfo.tel1": "+420 553 401 520",
|
|
150
|
-
"contactInfo.tel1Normalized": "+420553401520",
|
|
151
|
-
"contactInfo.tel1Type": null,
|
|
152
|
-
"contactInfo.tel2": null,
|
|
153
|
-
"contactInfo.tel2Normalized": null,
|
|
154
|
-
"contactInfo.tel2Type": null,
|
|
155
|
-
"contactInfo.email": "info@raynet.cz",
|
|
156
|
-
"contactInfo.email2": null,
|
|
157
|
-
"contactInfo.www": "raynet.cz",
|
|
158
|
-
"contactInfo.fax": null,
|
|
159
|
-
"contactInfo.doNotSendMM": false,
|
|
160
|
-
"contactInfo.otherContact": null,
|
|
161
|
-
"primary": true,
|
|
162
|
-
"extIds": null,
|
|
163
|
-
"contactAddress": true
|
|
164
|
-
},
|
|
165
|
-
"companyClassification1": null,
|
|
166
|
-
"companyClassification2": null,
|
|
167
|
-
"companyClassification3": null,
|
|
168
|
-
"prevActivity": null,
|
|
169
|
-
"nextActivity": null,
|
|
170
|
-
"lastWonBc": null,
|
|
171
|
-
"rowInfo.createdAt": "2024-03-04 14:47",
|
|
172
|
-
"rowInfo.createdBy": "(unknown)",
|
|
173
|
-
"rowInfo.rowAccess": null,
|
|
174
|
-
"rowInfo.rowState": null,
|
|
175
|
-
"rowInfo.updatedAt": null,
|
|
176
|
-
"rowInfo.updatedBy": null,
|
|
177
|
-
"rowInfo.lastModifiedAt": "2024-03-04 14:47",
|
|
178
|
-
"rowInfo.lastModifiedBy": "(unknown)",
|
|
179
|
-
"securityLevel": {
|
|
180
|
-
"id": 1,
|
|
181
|
-
"_permission": 31,
|
|
182
|
-
"name": "Sdílená",
|
|
183
|
-
"locked": true,
|
|
184
|
-
"extIds": null
|
|
185
|
-
},
|
|
186
|
-
"tags": null,
|
|
187
|
-
"validFrom": "2004-10-07",
|
|
188
|
-
"validTill": null,
|
|
189
|
-
"customFields": null,
|
|
190
|
-
"socialNetworkContact.googleplus": null,
|
|
191
|
-
"socialNetworkContact.twitter": null,
|
|
192
|
-
"socialNetworkContact.linkedin": null,
|
|
193
|
-
"socialNetworkContact.pinterest": null,
|
|
194
|
-
"socialNetworkContact.instagram": null,
|
|
195
|
-
"socialNetworkContact.skype": null,
|
|
196
|
-
"socialNetworkContact.facebook": "https://www.facebook.com/raynetsw",
|
|
197
|
-
"socialNetworkContact.youtube": null,
|
|
198
|
-
"firstName": null,
|
|
199
|
-
"lastName": null,
|
|
200
|
-
"salutation": null,
|
|
201
|
-
"titleAfter": null,
|
|
202
|
-
"titleBefore": null,
|
|
203
|
-
"person": false,
|
|
204
|
-
"fullName": null,
|
|
205
|
-
"inlineGdpr": null,
|
|
206
|
-
"inlineSign": null,
|
|
207
|
-
"extIds": null,
|
|
208
|
-
"currentBusinessValue.businessValue": 0.0000,
|
|
209
|
-
"currentBusinessValue.openBusinessValue": 0.0000,
|
|
210
|
-
"noticeJson": null
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"lead": []
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": {
|
|
6
|
-
"data": {
|
|
7
|
-
"company": [
|
|
8
|
-
{
|
|
9
|
-
"_permission": 31,
|
|
10
|
-
"_version": 2,
|
|
11
|
-
"bankAccount": null,
|
|
12
|
-
"birthday": "2004-10-07",
|
|
13
|
-
"birthdayMonthDay": "10-07",
|
|
14
|
-
"category": null,
|
|
15
|
-
"companyClassification1": null,
|
|
16
|
-
"companyClassification2": null,
|
|
17
|
-
"companyClassification3": null,
|
|
18
|
-
"contactAddress": {
|
|
19
|
-
"_permission": 31,
|
|
20
|
-
"_version": 0,
|
|
21
|
-
"address.city": "Ostrava-Poruba",
|
|
22
|
-
"address.countryCode": "CZ",
|
|
23
|
-
"address.countryName": "Česká republika",
|
|
24
|
-
"address.lat": 49.8259006,
|
|
25
|
-
"address.lng": 18.1824497,
|
|
26
|
-
"address.name": "Sídlo klienta",
|
|
27
|
-
"address.province": null,
|
|
28
|
-
"address.street": "Hlavní třída 6078/13",
|
|
29
|
-
"address.zipCode": "708 00",
|
|
30
|
-
"contactAddress": true,
|
|
31
|
-
"contactInfo.doNotSendMM": false,
|
|
32
|
-
"contactInfo.email": "info@raynet.cz",
|
|
33
|
-
"contactInfo.email2": null,
|
|
34
|
-
"contactInfo.fax": null,
|
|
35
|
-
"contactInfo.otherContact": null,
|
|
36
|
-
"contactInfo.tel1": "+420 553 401 520",
|
|
37
|
-
"contactInfo.tel1Normalized": "+420553401520",
|
|
38
|
-
"contactInfo.tel1Type": null,
|
|
39
|
-
"contactInfo.tel2": null,
|
|
40
|
-
"contactInfo.tel2Normalized": null,
|
|
41
|
-
"contactInfo.tel2Type": null,
|
|
42
|
-
"contactInfo.www": "raynet.cz",
|
|
43
|
-
"extIds": null,
|
|
44
|
-
"id": 1,
|
|
45
|
-
"primary": true,
|
|
46
|
-
"territory": null
|
|
47
|
-
},
|
|
48
|
-
"contactSource": null,
|
|
49
|
-
"court": null,
|
|
50
|
-
"currentBusinessValue.businessValue": 0,
|
|
51
|
-
"currentBusinessValue.openBusinessValue": 0,
|
|
52
|
-
"customFields": null,
|
|
53
|
-
"databox": null,
|
|
54
|
-
"economyActivity": null,
|
|
55
|
-
"employeesNumber": null,
|
|
56
|
-
"extIds": null,
|
|
57
|
-
"firstName": null,
|
|
58
|
-
"fullName": null,
|
|
59
|
-
"id": 1,
|
|
60
|
-
"inlineGdpr": null,
|
|
61
|
-
"inlineSign": null,
|
|
62
|
-
"lastName": null,
|
|
63
|
-
"lastWonBc": null,
|
|
64
|
-
"legalForm": {
|
|
65
|
-
"_permission": 31,
|
|
66
|
-
"code01": "s.r.o.",
|
|
67
|
-
"id": 42,
|
|
68
|
-
"rowAccess": null,
|
|
69
|
-
"strValue01": null
|
|
70
|
-
},
|
|
71
|
-
"logo": {
|
|
72
|
-
"_permission": 29,
|
|
73
|
-
"_version": 0,
|
|
74
|
-
"contentType": "image/png",
|
|
75
|
-
"fileName": "raynet.png",
|
|
76
|
-
"iconLargeSize": 0,
|
|
77
|
-
"iconLargeUuid": null,
|
|
78
|
-
"iconMediumSize": 3933,
|
|
79
|
-
"iconMediumUuid": "cddc90a6-8668-42fa-82e2-de22748e0ec9",
|
|
80
|
-
"iconSmallSize": 0,
|
|
81
|
-
"iconSmallUuid": null,
|
|
82
|
-
"id": 2,
|
|
83
|
-
"preview": true,
|
|
84
|
-
"size": 3933,
|
|
85
|
-
"uuid": "cddc90a6-8668-42fa-82e2-de22748e0ec9"
|
|
86
|
-
},
|
|
87
|
-
"name": "RAYNET s.r.o.",
|
|
88
|
-
"nextActivity": null,
|
|
89
|
-
"notice": null,
|
|
90
|
-
"noticeJson": null,
|
|
91
|
-
"originLead": null,
|
|
92
|
-
"owner": {
|
|
93
|
-
"_permission": 31,
|
|
94
|
-
"_version": 4,
|
|
95
|
-
"activeUserAccount": true,
|
|
96
|
-
"category": null,
|
|
97
|
-
"contactInfo.email": "fila.richard@gmail.com",
|
|
98
|
-
"contactInfo.email2": null,
|
|
99
|
-
"contactInfo.tel1": "123456789",
|
|
100
|
-
"contactInfo.tel1Type": null,
|
|
101
|
-
"contactInfo.tel2": null,
|
|
102
|
-
"contactInfo.tel2Type": null,
|
|
103
|
-
"contactInfo.www": null,
|
|
104
|
-
"customFields": null,
|
|
105
|
-
"extIds": null,
|
|
106
|
-
"firstName": "Richard",
|
|
107
|
-
"fullName": "Richard Fíla",
|
|
108
|
-
"fullNameWithoutTitles": "Richard Fíla",
|
|
109
|
-
"gender": null,
|
|
110
|
-
"id": 2,
|
|
111
|
-
"lastName": "Fíla",
|
|
112
|
-
"notice": null,
|
|
113
|
-
"personClassification1": null,
|
|
114
|
-
"personClassification2": null,
|
|
115
|
-
"personClassification3": null,
|
|
116
|
-
"photo": null,
|
|
117
|
-
"privateAddress.countryCode": null,
|
|
118
|
-
"salutation": null,
|
|
119
|
-
"securityLevel": {
|
|
120
|
-
"_permission": 31,
|
|
121
|
-
"extIds": null,
|
|
122
|
-
"id": 1,
|
|
123
|
-
"locked": true,
|
|
124
|
-
"name": "Sdílená"
|
|
125
|
-
},
|
|
126
|
-
"titleAfter": null,
|
|
127
|
-
"titleBefore": null
|
|
128
|
-
},
|
|
129
|
-
"paymentTerm": {
|
|
130
|
-
"_permission": 31,
|
|
131
|
-
"code01": "7 dní",
|
|
132
|
-
"code02": null,
|
|
133
|
-
"extIds": null,
|
|
134
|
-
"id": 51,
|
|
135
|
-
"numValue01": 0,
|
|
136
|
-
"numValue02": 0,
|
|
137
|
-
"rowAccess": null,
|
|
138
|
-
"strValue01": null,
|
|
139
|
-
"strValue02": null
|
|
140
|
-
},
|
|
141
|
-
"person": false,
|
|
142
|
-
"prevActivity": null,
|
|
143
|
-
"primaryAddress": {
|
|
144
|
-
"_permission": 31,
|
|
145
|
-
"_version": 0,
|
|
146
|
-
"address.city": "Ostrava-Poruba",
|
|
147
|
-
"address.countryCode": "CZ",
|
|
148
|
-
"address.countryName": "Česká republika",
|
|
149
|
-
"address.lat": 49.8259006,
|
|
150
|
-
"address.lng": 18.1824497,
|
|
151
|
-
"address.name": "Sídlo klienta",
|
|
152
|
-
"address.province": null,
|
|
153
|
-
"address.street": "Hlavní třída 6078/13",
|
|
154
|
-
"address.zipCode": "708 00",
|
|
155
|
-
"contactAddress": true,
|
|
156
|
-
"contactInfo.doNotSendMM": false,
|
|
157
|
-
"contactInfo.email": "info@raynet.cz",
|
|
158
|
-
"contactInfo.email2": null,
|
|
159
|
-
"contactInfo.fax": null,
|
|
160
|
-
"contactInfo.otherContact": null,
|
|
161
|
-
"contactInfo.tel1": "+420 553 401 520",
|
|
162
|
-
"contactInfo.tel1Normalized": "+420553401520",
|
|
163
|
-
"contactInfo.tel1Type": null,
|
|
164
|
-
"contactInfo.tel2": null,
|
|
165
|
-
"contactInfo.tel2Normalized": null,
|
|
166
|
-
"contactInfo.tel2Type": null,
|
|
167
|
-
"contactInfo.www": "raynet.cz",
|
|
168
|
-
"extIds": null,
|
|
169
|
-
"id": 1,
|
|
170
|
-
"primary": true,
|
|
171
|
-
"territory": null
|
|
172
|
-
},
|
|
173
|
-
"rating": "A",
|
|
174
|
-
"regNumber": "26843820",
|
|
175
|
-
"role": "C_SUPPLIER",
|
|
176
|
-
"rowInfo.createdAt": "2024-03-04 14:47",
|
|
177
|
-
"rowInfo.createdBy": "(unknown)",
|
|
178
|
-
"rowInfo.lastModifiedAt": "2024-03-04 14:47",
|
|
179
|
-
"rowInfo.lastModifiedBy": "(unknown)",
|
|
180
|
-
"rowInfo.rowAccess": null,
|
|
181
|
-
"rowInfo.rowState": null,
|
|
182
|
-
"rowInfo.updatedAt": null,
|
|
183
|
-
"rowInfo.updatedBy": null,
|
|
184
|
-
"salutation": null,
|
|
185
|
-
"securityLevel": {
|
|
186
|
-
"_permission": 31,
|
|
187
|
-
"extIds": null,
|
|
188
|
-
"id": 1,
|
|
189
|
-
"locked": true,
|
|
190
|
-
"name": "Sdílená"
|
|
191
|
-
},
|
|
192
|
-
"socialNetworkContact.facebook": "https://www.facebook.com/raynetsw",
|
|
193
|
-
"socialNetworkContact.googleplus": null,
|
|
194
|
-
"socialNetworkContact.instagram": null,
|
|
195
|
-
"socialNetworkContact.linkedin": null,
|
|
196
|
-
"socialNetworkContact.pinterest": null,
|
|
197
|
-
"socialNetworkContact.skype": null,
|
|
198
|
-
"socialNetworkContact.twitter": null,
|
|
199
|
-
"socialNetworkContact.youtube": null,
|
|
200
|
-
"state": "A_POTENTIAL",
|
|
201
|
-
"tags": null,
|
|
202
|
-
"taxNumber": "CZ26843820",
|
|
203
|
-
"taxNumber2": null,
|
|
204
|
-
"taxPayer": null,
|
|
205
|
-
"titleAfter": null,
|
|
206
|
-
"titleBefore": null,
|
|
207
|
-
"turnover": null,
|
|
208
|
-
"validFrom": "2004-10-07",
|
|
209
|
-
"validTill": null
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
"lead": [],
|
|
213
|
-
"person": []
|
|
214
|
-
},
|
|
215
|
-
"success": true
|
|
216
|
-
}
|
|
217
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": {
|
|
6
|
-
"eventId": "62497f2c609d4b7184b9adf1e427fa55",
|
|
7
|
-
"createdAt": "2017-01-18T13:16:39.923+01:00",
|
|
8
|
-
"type": "record.created",
|
|
9
|
-
"author": "admin@raynet.cz",
|
|
10
|
-
"source": {
|
|
11
|
-
"name": "user",
|
|
12
|
-
"description": "browser"
|
|
13
|
-
},
|
|
14
|
-
"data": {
|
|
15
|
-
"entityName": "Task",
|
|
16
|
-
"entityId": 123,
|
|
17
|
-
"extIds": [
|
|
18
|
-
"1111"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"http": "GET https://app.raynet.cz/api/v2/task/123?dateFormat=ISO8601",
|
|
3
|
-
"code": 200,
|
|
4
|
-
"body": {
|
|
5
|
-
"success": "true",
|
|
6
|
-
"data": {
|
|
7
|
-
"id": 89,
|
|
8
|
-
"title": "Navázat kontakt s klientem",
|
|
9
|
-
"category": {
|
|
10
|
-
"id": 90,
|
|
11
|
-
"value": "Lékař"
|
|
12
|
-
},
|
|
13
|
-
"priority": "DEFAULT",
|
|
14
|
-
"status": "SCHEDULED",
|
|
15
|
-
"personal": false,
|
|
16
|
-
"owner": {
|
|
17
|
-
"id": 2,
|
|
18
|
-
"fullName": "Petr Svetr"
|
|
19
|
-
},
|
|
20
|
-
"company": {
|
|
21
|
-
"id": 2,
|
|
22
|
-
"name": "Klient s.r.o."
|
|
23
|
-
},
|
|
24
|
-
"person": {
|
|
25
|
-
"id": 3,
|
|
26
|
-
"fullName": "Pavel Dobrý"
|
|
27
|
-
},
|
|
28
|
-
"lead": null,
|
|
29
|
-
"businessCase": null,
|
|
30
|
-
"offer": null,
|
|
31
|
-
"salesOrder": null,
|
|
32
|
-
"project": null,
|
|
33
|
-
"activity": null,
|
|
34
|
-
"scheduledFrom": "2022-06-11 15:00",
|
|
35
|
-
"scheduledTill": "2022-06-11 16:00",
|
|
36
|
-
"deadline": "2022-06-11 15:03",
|
|
37
|
-
"completed": null,
|
|
38
|
-
"description": "Je potřeba být laskavý!",
|
|
39
|
-
"solution": "Nakonec to dopadlo dobře.",
|
|
40
|
-
"tags": [ ],
|
|
41
|
-
"rowInfo.createdAt": "2022-04-24 08:06",
|
|
42
|
-
"rowInfo.createdBy": "info@raynet.cz",
|
|
43
|
-
"rowInfo.updatedAt": "2022-05-17 10:46",
|
|
44
|
-
"rowInfo.updatedBy": "info@raynet.cz",
|
|
45
|
-
"rowInfo.rowAccess": null,
|
|
46
|
-
"rowInfo.rowState": null,
|
|
47
|
-
"securityLevel": {
|
|
48
|
-
"id": 1,
|
|
49
|
-
"name": "Sdílená"
|
|
50
|
-
},
|
|
51
|
-
"customFields": {
|
|
52
|
-
"VIP_b91d1": false
|
|
53
|
-
},
|
|
54
|
-
"participants": [
|
|
55
|
-
{
|
|
56
|
-
"id": 123,
|
|
57
|
-
"owner": false,
|
|
58
|
-
"role": null,
|
|
59
|
-
"name": "Martin Vosa",
|
|
60
|
-
"person": 6,
|
|
61
|
-
"company": 2,
|
|
62
|
-
"lead": null
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"id": 119,
|
|
66
|
-
"owner": true,
|
|
67
|
-
"role": "FROM",
|
|
68
|
-
"name": "Petr Svetr",
|
|
69
|
-
"person": 2,
|
|
70
|
-
"company": 2,
|
|
71
|
-
"lead": null
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"recurrence": {
|
|
75
|
-
"id": 5,
|
|
76
|
-
"count": 3,
|
|
77
|
-
"endDate": null,
|
|
78
|
-
"interval": "WEEKLY",
|
|
79
|
-
"recurrenceDay": 4,
|
|
80
|
-
"startDate": "2022-03-05"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": {
|
|
6
|
-
"_entityName": "Task",
|
|
7
|
-
"activity": null,
|
|
8
|
-
"businessCase": null,
|
|
9
|
-
"category": {
|
|
10
|
-
"id": 90,
|
|
11
|
-
"value": "Lékař"
|
|
12
|
-
},
|
|
13
|
-
"company": {
|
|
14
|
-
"id": 2,
|
|
15
|
-
"name": "Klient s.r.o."
|
|
16
|
-
},
|
|
17
|
-
"completed": null,
|
|
18
|
-
"customFields": {
|
|
19
|
-
"VIP_b91d1": false
|
|
20
|
-
},
|
|
21
|
-
"deadline": "2022-06-11 15:03",
|
|
22
|
-
"description": "Je potřeba být laskavý!",
|
|
23
|
-
"id": 89,
|
|
24
|
-
"lead": null,
|
|
25
|
-
"offer": null,
|
|
26
|
-
"owner": {
|
|
27
|
-
"fullName": "Petr Svetr",
|
|
28
|
-
"id": 2
|
|
29
|
-
},
|
|
30
|
-
"participants": [
|
|
31
|
-
{
|
|
32
|
-
"company": 2,
|
|
33
|
-
"id": 123,
|
|
34
|
-
"lead": null,
|
|
35
|
-
"name": "Martin Vosa",
|
|
36
|
-
"owner": false,
|
|
37
|
-
"person": 6,
|
|
38
|
-
"role": null
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"company": 2,
|
|
42
|
-
"id": 119,
|
|
43
|
-
"lead": null,
|
|
44
|
-
"name": "Petr Svetr",
|
|
45
|
-
"owner": true,
|
|
46
|
-
"person": 2,
|
|
47
|
-
"role": "FROM"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"person": {
|
|
51
|
-
"fullName": "Pavel Dobrý",
|
|
52
|
-
"id": 3
|
|
53
|
-
},
|
|
54
|
-
"personal": false,
|
|
55
|
-
"priority": "DEFAULT",
|
|
56
|
-
"project": null,
|
|
57
|
-
"recurrence": {
|
|
58
|
-
"count": 3,
|
|
59
|
-
"endDate": null,
|
|
60
|
-
"id": 5,
|
|
61
|
-
"interval": "WEEKLY",
|
|
62
|
-
"recurrenceDay": 4,
|
|
63
|
-
"startDate": "2022-03-05"
|
|
64
|
-
},
|
|
65
|
-
"rowInfo.createdAt": "2022-04-24 08:06",
|
|
66
|
-
"rowInfo.createdBy": "info@raynet.cz",
|
|
67
|
-
"rowInfo.rowAccess": null,
|
|
68
|
-
"rowInfo.rowState": null,
|
|
69
|
-
"rowInfo.updatedAt": "2022-05-17 10:46",
|
|
70
|
-
"rowInfo.updatedBy": "info@raynet.cz",
|
|
71
|
-
"salesOrder": null,
|
|
72
|
-
"scheduledFrom": "2022-06-11 15:00",
|
|
73
|
-
"scheduledTill": "2022-06-11 16:00",
|
|
74
|
-
"securityLevel": {
|
|
75
|
-
"id": 1,
|
|
76
|
-
"name": "Sdílená"
|
|
77
|
-
},
|
|
78
|
-
"solution": "Nakonec to dopadlo dobře.",
|
|
79
|
-
"status": "SCHEDULED",
|
|
80
|
-
"tags": [],
|
|
81
|
-
"title": "Navázat kontakt s klientem"
|
|
82
|
-
}
|
|
83
|
-
}
|