@manyos/smileconnect-api 1.39.1 → 1.40.1

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 (105) hide show
  1. package/app.js +13 -0
  2. package/conf/clients.json +2 -1
  3. package/conf/scripts/p4.js +24 -1
  4. package/docs/.nojekyll +0 -0
  5. package/docs/README.md +1 -0
  6. package/docs/_coverpage.md +12 -0
  7. package/docs/_media/dataflow.png +0 -0
  8. package/docs/_media/gui_client_fields.png +0 -0
  9. package/docs/_media/gui_clients_scripts.png +0 -0
  10. package/docs/_media/gui_mapping_inc.png +0 -0
  11. package/docs/_media/gui_scripts_edit.png +0 -0
  12. package/docs/_media/gui_scripts_usage.png +0 -0
  13. package/docs/_media/gui_scripts_warning.png +0 -0
  14. package/docs/_media/logo.png +0 -0
  15. package/docs/_sidebar.md +25 -0
  16. package/docs/{configuration/adapter.md → adapter.md} +8 -16
  17. package/docs/architecture.md +8 -0
  18. package/docs/configuration/clients.md +589 -0
  19. package/docs/configuration/config.md +323 -0
  20. package/docs/{eventlog → configuration}/events.md +11 -8
  21. package/docs/configuration/mapping.md +60 -0
  22. package/docs/howto/{worklog-attachment.md → attachments.md} +8 -15
  23. package/docs/howto/cmdbobjects.md +11 -17
  24. package/docs/howto/incidents.md +16 -23
  25. package/docs/howto/token.md +14 -18
  26. package/docs/howto/{incident-worklogs.md → worklogs.md} +14 -21
  27. package/docs/index.html +27 -0
  28. package/docs/openapi.json +2054 -1354
  29. package/docs/quickstart.md +9 -0
  30. package/docs/releases.md +21 -0
  31. package/docs/scripts.md +272 -0
  32. package/package.json +1 -1
  33. package/docs/.gitattributes +0 -48
  34. package/docs/404.html +0 -13
  35. package/docs/Gemfile +0 -7
  36. package/docs/Gemfile.lock +0 -249
  37. package/docs/_config.yml +0 -259
  38. package/docs/_data/SocialNetworks.yml +0 -92
  39. package/docs/_data/ui-text.yml +0 -494
  40. package/docs/_includes/disqus.html +0 -17
  41. package/docs/_includes/ext-css.html +0 -7
  42. package/docs/_includes/ext-js.html +0 -7
  43. package/docs/_includes/fb-comment.html +0 -14
  44. package/docs/_includes/footer-minimal.html +0 -16
  45. package/docs/_includes/footer-scripts.html +0 -32
  46. package/docs/_includes/footer.html +0 -51
  47. package/docs/_includes/google_analytics.html +0 -14
  48. package/docs/_includes/gtag.html +0 -11
  49. package/docs/_includes/gtm_body.html +0 -6
  50. package/docs/_includes/gtm_head.html +0 -9
  51. package/docs/_includes/head.html +0 -131
  52. package/docs/_includes/header.html +0 -76
  53. package/docs/_includes/just_comments.html +0 -4
  54. package/docs/_includes/matomo.html +0 -17
  55. package/docs/_includes/nav.html +0 -57
  56. package/docs/_includes/social-share.html +0 -42
  57. package/docs/_includes/staticman-comment.html +0 -22
  58. package/docs/_includes/staticman-comments.html +0 -81
  59. package/docs/_layouts/base.html +0 -35
  60. package/docs/_layouts/default.html +0 -9
  61. package/docs/_layouts/minimal.html +0 -26
  62. package/docs/_layouts/page.html +0 -26
  63. package/docs/_layouts/post.html +0 -82
  64. package/docs/_posts/2015-02-28-test-markdown.md +0 -77
  65. package/docs/aboutme.md +0 -18
  66. package/docs/configuration/scripts.md +0 -207
  67. package/docs/css/bootstrap-social.css +0 -147
  68. package/docs/css/bootstrap-theme.css +0 -476
  69. package/docs/css/bootstrap-theme.css.map +0 -1
  70. package/docs/css/bootstrap-theme.min.css +0 -5
  71. package/docs/css/bootstrap.css +0 -6566
  72. package/docs/css/bootstrap.css.map +0 -1
  73. package/docs/css/bootstrap.min.css +0 -5
  74. package/docs/css/main-minimal.css +0 -13
  75. package/docs/css/main.css +0 -788
  76. package/docs/css/normalize.css +0 -427
  77. package/docs/css/pygment_highlights.css +0 -61
  78. package/docs/css/staticman.css +0 -180
  79. package/docs/feed.xml +0 -24
  80. package/docs/general/architecture.md +0 -10
  81. package/docs/general/config.md +0 -201
  82. package/docs/general/field-management.md +0 -119
  83. package/docs/general/release-notes.md +0 -9
  84. package/docs/howto/sample-config.md +0 -518
  85. package/docs/img/404-southpark.jpg +0 -0
  86. package/docs/img/avatar-icon.png +0 -0
  87. package/docs/img/bgimage.png +0 -0
  88. package/docs/img/gb-isapi.jpg +0 -0
  89. package/docs/img/install-steps.gif +0 -0
  90. package/docs/img/workflow.png +0 -0
  91. package/docs/js/bootstrap.js +0 -2306
  92. package/docs/js/bootstrap.min.js +0 -7
  93. package/docs/js/jquery-1.11.2.min.js +0 -4
  94. package/docs/js/main.js +0 -140
  95. package/docs/js/staticman.js +0 -54
  96. package/docs/staticman.yml +0 -110
  97. /package/docs/{img → _media}/architecture.jpeg +0 -0
  98. /package/docs/{img → _media}/attachment-upload.png +0 -0
  99. /package/docs/{getting-started.md → old/getting-started.md} +0 -0
  100. /package/docs/{index.md → old/index.md} +0 -0
  101. /package/docs/{installation.md → old/installation.md} +0 -0
  102. /package/docs/{postinstall.md → old/postinstall.md} +0 -0
  103. /package/docs/{preinstall.md → old/preinstall.md} +0 -0
  104. /package/docs/{tags.html → old/tags.html} +0 -0
  105. /package/docs/{workflow.md → old/workflow.md} +0 -0
@@ -0,0 +1,589 @@
1
+ # Client Config
2
+
3
+ On a per client base it can be configured which fields are returned for each object and if a basequery is applied. This expose certain fields only dedicated clients. It also allows to define which rows a client can access. Clients are configured in conf/clients.json
4
+
5
+ Client configurations are stored in the /conf/clients.json file. They can be managed in the GUI.
6
+
7
+ ## Manage client configs
8
+
9
+ ![Client Configuration](../_media/gui_client_fields.png)
10
+
11
+ ## Sample client config
12
+
13
+ ```json
14
+ [
15
+ {
16
+ "name": "jira",
17
+ "config": {
18
+ "options": {
19
+ "dateFormat": "dd.MM.yyyy HH:mm.ss",
20
+ "clientLimit": 1000,
21
+ "impersonateUser": "Allen",
22
+ "allowDynamicImpersonate": true,
23
+ "translateSelectionFields": false
24
+ },
25
+ "custom_Sample:Enrollments": {
26
+ "formName": "Sample:Enrollments",
27
+ "basequery": "1=1",
28
+ "fields": [
29
+ "Enrollment ID",
30
+ "Enrollee Login",
31
+ "Class ID",
32
+ "Class Title",
33
+ "Class Location",
34
+ "Class Cost",
35
+ "Department",
36
+ "Class Start Date & Time"
37
+ ]
38
+ },
39
+ "cmdbobject": {
40
+ "basequery": "'Data Set Id' = \"BMC.ASSET\" AND ('Mark As Deleted' = \"No\" OR 'Mark As Deleted' = $NULL$)",
41
+ "fields": [
42
+ "Instance Id",
43
+ "Tag Number",
44
+ "Name",
45
+ "AssetLifecycleStatus",
46
+ "Category",
47
+ "Item",
48
+ "Type",
49
+ "Availability",
50
+ "Confidentiality",
51
+ "Class Id",
52
+ "Authenticity",
53
+ "Model Number",
54
+ "Reconciliation Identity",
55
+ "Short Description"
56
+ ],
57
+ "fields_AST:ComputerSystem": [
58
+ "DNS Host Name"
59
+ ],
60
+ "fields_AST:LANEndpoint": [
61
+ "MACAddress"
62
+ ],
63
+ "constants": [
64
+ {
65
+ "name": "Location Company",
66
+ "value": "Calbro Services and Weapons"
67
+ }
68
+ ],
69
+ "scripts": {
70
+ "GET": {
71
+ "preMapping": [
72
+ "script1",
73
+ "script2"
74
+ ],
75
+ "postMapping": [
76
+ "script2"
77
+ ]
78
+ },
79
+ "POST": {
80
+ "preMapping": [
81
+ "scriptPutPre"
82
+ ],
83
+ "postMapping": [
84
+ "scriptPutPost"
85
+ ]
86
+ }
87
+ }
88
+ },
89
+ "change": {
90
+ "fields": [
91
+ "Infrastructure Change ID",
92
+ "Categorization Tier 1",
93
+ "Categorization Tier 2",
94
+ "Categorization Tier 3",
95
+ "Product Cat Tier 1",
96
+ "Product Cat Tier 2",
97
+ "Product Cat Tier 3",
98
+ "Product Name (2)",
99
+ "Description",
100
+ "Detailed Description",
101
+ "Status Reason",
102
+ "Change Request Status",
103
+ "Requested Start Date",
104
+ "Requested End Date",
105
+ "Scheduled Start Date",
106
+ "Scheduled End Date",
107
+ "Support Group ID",
108
+ "Support Group ID 2",
109
+ "Customer Person ID",
110
+ "Requested By Person ID",
111
+ "Change Target Date"
112
+ ],
113
+ "constants": [
114
+ {
115
+ "name": "Location Company",
116
+ "value": "Calbro Services"
117
+ },
118
+ {
119
+ "name": "Company",
120
+ "value": "Calbro Services"
121
+ },
122
+ {
123
+ "name": "RequesterLoginID",
124
+ "value": "Allen"
125
+ }
126
+ ],
127
+ "basequery": "",
128
+ "scripts": {}
129
+ },
130
+ "person": {
131
+ "basequery": "1=1",
132
+ "fields": [
133
+ "Person ID",
134
+ "Full Name",
135
+ "Remedy Login ID",
136
+ "Internet E-mail",
137
+ "Department"
138
+ ],
139
+ "constants": [],
140
+ "scripts": {}
141
+ },
142
+ "supportGroup": {
143
+ "basequery": "1=1",
144
+ "fields": [
145
+ "Support Group ID",
146
+ "Company",
147
+ "Support Organization",
148
+ "Support Group Name",
149
+ "Support Group Role"
150
+ ],
151
+ "constants": [],
152
+ "scripts": {}
153
+ },
154
+ "organisation": {
155
+ "basequery": "1=1",
156
+ "fields": [
157
+ "People Organization ID",
158
+ "Company",
159
+ "Organization",
160
+ "Department"
161
+ ],
162
+ "constants": [],
163
+ "scripts": {}
164
+ },
165
+ "changeWorklog": {
166
+ "fields": [
167
+ "Description",
168
+ "Detailed Description",
169
+ "Work Log Date"
170
+ ],
171
+ "constants": [
172
+ {
173
+ "name": "Status",
174
+ "value": "Enabled"
175
+ },
176
+ {
177
+ "name": "Work Log Type",
178
+ "value": "General Information"
179
+ },
180
+ {
181
+ "name": "Communication Source",
182
+ "value": "Other"
183
+ },
184
+ {
185
+ "name": "View Access",
186
+ "value": "Internal"
187
+ }
188
+ ],
189
+ "basequery": "",
190
+ "scripts": {}
191
+ },
192
+ "workOrder": {
193
+ "fields": [
194
+ "Work Order ID",
195
+ "Status",
196
+ "InstanceId",
197
+ "WO Type Field 2",
198
+ "Categorization Tier 1",
199
+ "Categorization Tier 2",
200
+ "Categorization Tier 3",
201
+ "Product Cat Tier 1(2)",
202
+ "Product Cat Tier 2(2)",
203
+ "Product Cat Tier 3(2)",
204
+ "Product Name",
205
+ "Summary",
206
+ "Detailed Description",
207
+ "Status Reason",
208
+ "Scheduled Start Date",
209
+ "Scheduled End Date",
210
+ "Support Group ID",
211
+ "Support Group ID 2",
212
+ "Customer Person ID",
213
+ "Requested By Person ID"
214
+ ],
215
+ "constants": [
216
+ {
217
+ "name": "Location Company",
218
+ "value": "Calbro Services"
219
+ },
220
+ {
221
+ "name": "Company",
222
+ "value": "Calbro Services"
223
+ },
224
+ {
225
+ "name": "RequesterLoginID",
226
+ "value": "Allen"
227
+ }
228
+ ],
229
+ "basequery": "",
230
+ "scripts": {}
231
+ },
232
+ "incident": {
233
+ "fields": [
234
+ "Incident Number",
235
+ "Status",
236
+ "WO Type Field 2",
237
+ "Categorization Tier 1",
238
+ "Categorization Tier 2",
239
+ "Categorization Tier 3",
240
+ "Product Categorization Tier 1",
241
+ "Product Categorization Tier 2",
242
+ "Product Categorization Tier 3",
243
+ "Product Name",
244
+ "Manufacturer",
245
+ "Detailed Decription",
246
+ "Description",
247
+ "Status_Reason",
248
+ "Impact",
249
+ "Urgency",
250
+ "Priority",
251
+ "Assigned Group ID",
252
+ "Owner Group ID",
253
+ "Vendor Group ID",
254
+ "Person ID",
255
+ "Direct Contact Person ID",
256
+ "Submit Date",
257
+ "Last Modified Date",
258
+ "Resolution"
259
+ ],
260
+ "constants": [
261
+ {
262
+ "name": "Impact",
263
+ "value": "4000"
264
+ },
265
+ {
266
+ "name": "Urgency",
267
+ "value": "4000"
268
+ },
269
+ {
270
+ "name": "Login_ID",
271
+ "value": "Allen"
272
+ },
273
+ {
274
+ "name": "Service_Type",
275
+ "value": "0"
276
+ },
277
+ {
278
+ "name": "Reported Source",
279
+ "value": "1000"
280
+ },
281
+ {
282
+ "name": "Status",
283
+ "value": "0"
284
+ }
285
+ ],
286
+ "basequery": "1=1",
287
+ "scripts": {
288
+ "GET": {
289
+ "preMapping": [
290
+ "checkGlobalParams"
291
+ ],
292
+ "postMapping": [
293
+ "p2"
294
+ ],
295
+ "afterExecution": [
296
+ "script3"
297
+ ]
298
+ },
299
+ "POST": {
300
+ "preMapping": [
301
+ "p1"
302
+ ],
303
+ "postMapping": [
304
+ "p3"
305
+ ],
306
+ "afterExecution": [
307
+ "p4"
308
+ ]
309
+ },
310
+ "PUT": {
311
+ "preMapping": [],
312
+ "postMapping": [
313
+ "p3"
314
+ ],
315
+ "afterExecution": [
316
+ "p4"
317
+ ]
318
+ }
319
+ }
320
+ },
321
+ "problem": {
322
+ "fields": [
323
+ "Problem Investigation ID",
324
+ "Investigation Status",
325
+ "WO Type Field 2",
326
+ "Categorization Tier 1",
327
+ "Categorization Tier 2",
328
+ "Categorization Tier 3",
329
+ "Product Categorization Tier 1",
330
+ "Product Categorization Tier 2",
331
+ "Product Categorization Tier 3",
332
+ "Product Name",
333
+ "Manufacturer",
334
+ "Detailed Decription",
335
+ "Description",
336
+ "Status Reason",
337
+ "Impact",
338
+ "Urgency",
339
+ "Priority",
340
+ "Assigned Group ID",
341
+ "Owner Group ID",
342
+ "Vendor Group ID",
343
+ "Person ID",
344
+ "Direct Contact Person ID",
345
+ "Target Resolution Date"
346
+ ],
347
+ "constants": [
348
+ {
349
+ "name": "Impact",
350
+ "value": "4000"
351
+ },
352
+ {
353
+ "name": "Urgency",
354
+ "value": "4000"
355
+ },
356
+ {
357
+ "name": "Status",
358
+ "value": "0"
359
+ },
360
+ {
361
+ "name": "Investigation Driver",
362
+ "value": "High Impact Incident"
363
+ },
364
+ {
365
+ "name": "Requestor ID",
366
+ "value": "Allen"
367
+ },
368
+ {
369
+ "name": "Company",
370
+ "value": "Calbro Services"
371
+ },
372
+ {
373
+ "name": "z1D_Action",
374
+ "value": "PROBLEM"
375
+ }
376
+ ],
377
+ "basequery": "",
378
+ "scripts": {}
379
+ },
380
+ "workOrderWorklog": {
381
+ "fields": [
382
+ "Description",
383
+ "Detailed Description"
384
+ ],
385
+ "constants": [
386
+ {
387
+ "name": "Status",
388
+ "value": "Enabled"
389
+ },
390
+ {
391
+ "name": "Work Log Type",
392
+ "value": "General Information"
393
+ },
394
+ {
395
+ "name": "Communication Source",
396
+ "value": "Other"
397
+ }
398
+ ],
399
+ "basequery": "",
400
+ "scripts": {}
401
+ },
402
+ "incidentWorklog": {
403
+ "fields": [
404
+ "Description",
405
+ "Detailed Description"
406
+ ],
407
+ "constants": [
408
+ {
409
+ "name": "Status",
410
+ "value": "Enabled"
411
+ },
412
+ {
413
+ "name": "Work Log Type",
414
+ "value": "General Information"
415
+ },
416
+ {
417
+ "name": "Communication Source",
418
+ "value": "Other"
419
+ }
420
+ ],
421
+ "basequery": "",
422
+ "scripts": {}
423
+ },
424
+ "problemWorklog": {
425
+ "fields": [
426
+ "Description",
427
+ "Detailed Description"
428
+ ],
429
+ "constants": [
430
+ {
431
+ "name": "Status",
432
+ "value": "Enabled"
433
+ },
434
+ {
435
+ "name": "Work Log Type",
436
+ "value": "General Information"
437
+ },
438
+ {
439
+ "name": "Communication Source",
440
+ "value": "Other"
441
+ }
442
+ ],
443
+ "basequery": "",
444
+ "scripts": {}
445
+ },
446
+ "task": {
447
+ "basequery": "1=1",
448
+ "fields": [
449
+ "Status",
450
+ "InstanceId",
451
+ "Sequence",
452
+ "Service Cat Tier 1",
453
+ "Service Cat Tier 2",
454
+ "Service Cat Tier 3",
455
+ "Product Cat Tier 1",
456
+ "Product Cat Tier 2",
457
+ "Product Cat Tier 3",
458
+ "Product Name",
459
+ "Summary",
460
+ "Notes",
461
+ "StatusReasonSelection",
462
+ "Scheduled Start Date",
463
+ "Scheduled End Date",
464
+ "Assignee Group ID",
465
+ "Customer Person ID",
466
+ "Requested By Person ID",
467
+ "Actual Start Date",
468
+ "Actual End Date",
469
+ "Character 06",
470
+ "Character 01",
471
+ "Support Company",
472
+ "Assignee Organization",
473
+ "Assignee Group"
474
+ ],
475
+ "constants": [
476
+ {
477
+ "name": "Location Company",
478
+ "value": "Calbro Services"
479
+ },
480
+ {
481
+ "name": "TaskType",
482
+ "value": "2000"
483
+ },
484
+ {
485
+ "name": "Status",
486
+ "value": "1000"
487
+ }
488
+ ],
489
+ "scripts": {}
490
+ },
491
+ "taskWorklog": {
492
+ "fields": [
493
+ "Summary",
494
+ "Notes"
495
+ ],
496
+ "constants": [
497
+ {
498
+ "name": "Status",
499
+ "value": "Enabled"
500
+ },
501
+ {
502
+ "name": "WorkInfoType",
503
+ "value": "General Information"
504
+ },
505
+ {
506
+ "name": "Communication Source",
507
+ "value": "Other"
508
+ },
509
+ {
510
+ "name": "View Access",
511
+ "value": "Internal"
512
+ }
513
+ ],
514
+ "basequery": "",
515
+ "scripts": {}
516
+ },
517
+ "flowBuilder": {
518
+ "constants": [
519
+ {
520
+ "name": "Location Company",
521
+ "value": "Calbro Services"
522
+ }
523
+ ],
524
+ "basequery": "",
525
+ "fields": [],
526
+ "scripts": {}
527
+ },
528
+ "changeTemplate": {
529
+ "basequery": "1=1",
530
+ "fields": [
531
+ "Template Name",
532
+ "Description",
533
+ "Detailed Description",
534
+ "InstanceId"
535
+ ],
536
+ "constants": [],
537
+ "scripts": {}
538
+ },
539
+ "incidentTemplate": {
540
+ "basequery": "1=1",
541
+ "fields": [
542
+ "InstanceId",
543
+ "Template Name",
544
+ "Description",
545
+ "Detailed Decription"
546
+ ],
547
+ "constants": [],
548
+ "scripts": {}
549
+ },
550
+ "problemTemplate": {
551
+ "basequery": "1=1",
552
+ "fields": [
553
+ "InstanceId",
554
+ "Template Name",
555
+ "Description",
556
+ "Detailed Decription"
557
+ ],
558
+ "constants": [],
559
+ "scripts": {}
560
+ },
561
+ "workOrderTemplate": {
562
+ "basequery": "1=1",
563
+ "fields": [
564
+ "GUID",
565
+ "Summary",
566
+ "Notes",
567
+ "Template Name"
568
+ ],
569
+ "constants": [],
570
+ "scripts": {}
571
+ },
572
+ "taskTemplate": {
573
+ "basequery": "1=1",
574
+ "fields": [
575
+ "InstanceId",
576
+ "TaskName",
577
+ "Summary",
578
+ "Notes",
579
+ "Company",
580
+ "Assignee Organization",
581
+ "Assignee Group"
582
+ ],
583
+ "constants": [],
584
+ "scripts": {}
585
+ }
586
+ }
587
+ }
588
+ ]
589
+ ```