lamp-core-lst 2025.11.1-3.basic

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 (130) hide show
  1. package/.github/workflows/publish.yml +34 -0
  2. package/LICENSE.md +29 -0
  3. package/MANUAL.md +26 -0
  4. package/README.md +126 -0
  5. package/cli.js +2 -0
  6. package/dist/index.d.ts +64 -0
  7. package/dist/index.js +311 -0
  8. package/dist/model/Activity.d.ts +81 -0
  9. package/dist/model/Activity.js +30 -0
  10. package/dist/model/ActivityEvent.d.ts +51 -0
  11. package/dist/model/ActivityEvent.js +21 -0
  12. package/dist/model/ActivitySpec.d.ts +38 -0
  13. package/dist/model/ActivitySpec.js +12 -0
  14. package/dist/model/Credential.d.ts +21 -0
  15. package/dist/model/Credential.js +12 -0
  16. package/dist/model/DynamicAttachment.d.ts +34 -0
  17. package/dist/model/DynamicAttachment.js +12 -0
  18. package/dist/model/Participant.d.ts +30 -0
  19. package/dist/model/Participant.js +12 -0
  20. package/dist/model/Researcher.d.ts +27 -0
  21. package/dist/model/Researcher.js +12 -0
  22. package/dist/model/ResearcherSettings.d.ts +57 -0
  23. package/dist/model/ResearcherSettings.js +12 -0
  24. package/dist/model/Sensor.d.ts +22 -0
  25. package/dist/model/Sensor.js +12 -0
  26. package/dist/model/SensorEvent.d.ts +18 -0
  27. package/dist/model/SensorEvent.js +12 -0
  28. package/dist/model/SensorSpec.d.ts +13 -0
  29. package/dist/model/SensorSpec.js +12 -0
  30. package/dist/model/Study.d.ts +24 -0
  31. package/dist/model/Study.js +12 -0
  32. package/dist/model/Type.d.ts +56 -0
  33. package/dist/model/Type.js +30 -0
  34. package/dist/model/index.d.ts +12 -0
  35. package/dist/model/index.js +24 -0
  36. package/dist/service/API.service.d.ts +12 -0
  37. package/dist/service/API.service.js +82 -0
  38. package/dist/service/Activity.service.d.ts +101 -0
  39. package/dist/service/Activity.service.js +756 -0
  40. package/dist/service/ActivityEvent.service.d.ts +46 -0
  41. package/dist/service/ActivityEvent.service.js +303 -0
  42. package/dist/service/ActivitySpec.service.d.ts +31 -0
  43. package/dist/service/ActivitySpec.service.js +173 -0
  44. package/dist/service/Credential.service.d.ts +38 -0
  45. package/dist/service/Credential.service.js +319 -0
  46. package/dist/service/Demo.d.ts +14 -0
  47. package/dist/service/Demo.js +24 -0
  48. package/dist/service/Fetch.d.ts +30 -0
  49. package/dist/service/Fetch.js +245 -0
  50. package/dist/service/Participant.service.d.ts +42 -0
  51. package/dist/service/Participant.service.js +312 -0
  52. package/dist/service/Researcher.service.d.ts +34 -0
  53. package/dist/service/Researcher.service.js +252 -0
  54. package/dist/service/ResearcherSettings.service.d.ts +16 -0
  55. package/dist/service/ResearcherSettings.service.js +114 -0
  56. package/dist/service/Sensor.service.d.ts +47 -0
  57. package/dist/service/Sensor.service.js +372 -0
  58. package/dist/service/SensorEvent.service.d.ts +44 -0
  59. package/dist/service/SensorEvent.service.js +302 -0
  60. package/dist/service/SensorSpec.service.d.ts +31 -0
  61. package/dist/service/SensorSpec.service.js +171 -0
  62. package/dist/service/Study.service.d.ts +42 -0
  63. package/dist/service/Study.service.js +286 -0
  64. package/dist/service/Type.service.d.ts +48 -0
  65. package/dist/service/Type.service.js +352 -0
  66. package/dist/service/index.d.ts +13 -0
  67. package/dist/service/index.js +25 -0
  68. package/docs/APIApi.md +82 -0
  69. package/docs/AccessCitation.md +11 -0
  70. package/docs/Activity.md +13 -0
  71. package/docs/ActivityApi.md +356 -0
  72. package/docs/ActivityEvent.md +13 -0
  73. package/docs/ActivityEventApi.md +251 -0
  74. package/docs/ActivitySpec.md +14 -0
  75. package/docs/ActivitySpecApi.md +222 -0
  76. package/docs/Credential.md +12 -0
  77. package/docs/CredentialApi.md +175 -0
  78. package/docs/Document.md +9 -0
  79. package/docs/DurationInterval.md +11 -0
  80. package/docs/DurationIntervalLegacy.md +10 -0
  81. package/docs/DynamicAttachment.md +14 -0
  82. package/docs/Error.md +8 -0
  83. package/docs/Metadata.md +8 -0
  84. package/docs/Participant.md +14 -0
  85. package/docs/ParticipantApi.md +312 -0
  86. package/docs/Researcher.md +12 -0
  87. package/docs/ResearcherApi.md +223 -0
  88. package/docs/Sensor.md +12 -0
  89. package/docs/SensorApi.md +356 -0
  90. package/docs/SensorEvent.md +11 -0
  91. package/docs/SensorEventApi.md +250 -0
  92. package/docs/SensorSpec.md +10 -0
  93. package/docs/SensorSpecApi.md +222 -0
  94. package/docs/Study.md +11 -0
  95. package/docs/StudyApi.md +268 -0
  96. package/docs/TemporalSlice.md +13 -0
  97. package/docs/TypeApi.md +274 -0
  98. package/package.json +44 -0
  99. package/src/index.ts +256 -0
  100. package/src/model/Activity.ts +93 -0
  101. package/src/model/ActivityEvent.ts +63 -0
  102. package/src/model/ActivitySpec.ts +45 -0
  103. package/src/model/Credential.ts +26 -0
  104. package/src/model/DynamicAttachment.ts +42 -0
  105. package/src/model/Participant.ts +37 -0
  106. package/src/model/Researcher.ts +33 -0
  107. package/src/model/ResearcherSettings.ts +65 -0
  108. package/src/model/Sensor.ts +27 -0
  109. package/src/model/SensorEvent.ts +22 -0
  110. package/src/model/SensorSpec.ts +16 -0
  111. package/src/model/Study.ts +29 -0
  112. package/src/model/Type.ts +68 -0
  113. package/src/model/index.ts +12 -0
  114. package/src/service/API.service.ts +29 -0
  115. package/src/service/Activity.service.ts +625 -0
  116. package/src/service/ActivityEvent.service.ts +244 -0
  117. package/src/service/ActivitySpec.service.ts +98 -0
  118. package/src/service/Credential.service.ts +268 -0
  119. package/src/service/Demo.ts +21 -0
  120. package/src/service/Fetch.ts +187 -0
  121. package/src/service/Participant.service.ts +217 -0
  122. package/src/service/Researcher.service.ts +147 -0
  123. package/src/service/ResearcherSettings.service.ts +62 -0
  124. package/src/service/Sensor.service.ts +256 -0
  125. package/src/service/SensorEvent.service.ts +239 -0
  126. package/src/service/SensorSpec.service.ts +96 -0
  127. package/src/service/Study.service.ts +187 -0
  128. package/src/service/Type.service.ts +297 -0
  129. package/src/service/index.ts +13 -0
  130. package/tsconfig.json +29 -0
@@ -0,0 +1,222 @@
1
+ # LAMP.SensorSpec
2
+
3
+ Method | HTTP request | Description
4
+ ------------- | ------------- | -------------
5
+ [**all**](SensorSpecApi.md#all) | **GET** /sensor_spec | Get all SensorSpecs registered.
6
+ [**create**](SensorSpecApi.md#create) | **POST** /sensor_spec | Create a new SensorSpec.
7
+ [**delete**](SensorSpecApi.md#delete) | **DELETE** /sensor_spec/{sensor_spec_name} | Delete an SensorSpec.
8
+ [**update**](SensorSpecApi.md#update) | **PUT** /sensor_spec/{sensor_spec_name} | Update an SensorSpec.
9
+ [**view**](SensorSpecApi.md#view) | **GET** /sensor_spec/{sensor_spec_name} | Get a SensorSpec.
10
+
11
+
12
+ # **all**
13
+ > array[object] all()
14
+
15
+ Get all SensorSpecs registered.
16
+
17
+ Get all SensorSpecs registered by any Researcher.
18
+
19
+ ### Example
20
+ ```javascript
21
+ import LAMP from 'lamp-core'
22
+
23
+ // Get all SensorSpecs registered.
24
+ const result = LAMP.SensorSpec.all()
25
+ console.dir(result)
26
+ ```
27
+
28
+ ### Parameters
29
+
30
+ Name | Type | Description | Notes
31
+ ------------- | ------------- | ------------- | -------------
32
+ **transform** | **string**| | [optional]
33
+
34
+ ### Return type
35
+
36
+ **array[object]**
37
+
38
+ ### HTTP request headers
39
+
40
+ - **Content-Type**: `application/json`
41
+ - **Accept**: `application/json`
42
+
43
+ ### HTTP response details
44
+ | Status code | Description | Response headers |
45
+ |-------------|-------------|------------------|
46
+ | **200** | 200 Success | - |
47
+ | **400** | 400 Bad Request | - |
48
+ | **403** | 403 Authorization Failed | - |
49
+ | **404** | 404 Not Found | - |
50
+ | **0** | 500 Internal Error | - |
51
+
52
+ # **create**
53
+ > character create(sensor.spec)
54
+
55
+ Create a new SensorSpec.
56
+
57
+ Create a new SensorSpec.
58
+
59
+ ### Example
60
+ ```javascript
61
+ import LAMP from 'lamp-core'
62
+
63
+ let sensor.spec = SensorSpec.new("name_example", 123) // SensorSpec
64
+
65
+ // Create a new SensorSpec.
66
+ const result = LAMP.SensorSpec.create(sensor.spec)
67
+ console.dir(result)
68
+ ```
69
+
70
+ ### Parameters
71
+
72
+ Name | Type | Description | Notes
73
+ ------------- | ------------- | ------------- | -------------
74
+ **sensor.spec** | [**SensorSpec**](SensorSpec.md)| |
75
+
76
+ ### Return type
77
+
78
+ **string**
79
+
80
+ ### HTTP request headers
81
+
82
+ - **Content-Type**: `application/json`
83
+ - **Accept**: `application/json`
84
+
85
+ ### HTTP response details
86
+ | Status code | Description | Response headers |
87
+ |-------------|-------------|------------------|
88
+ | **200** | 200 Success | - |
89
+ | **400** | 400 Bad Request | - |
90
+ | **403** | 403 Authorization Failed | - |
91
+ | **404** | 404 Not Found | - |
92
+ | **0** | 500 Internal Error | - |
93
+
94
+ # **delete**
95
+ > character delete(sensor.spec.name)
96
+
97
+ Delete an SensorSpec.
98
+
99
+ Delete an SensorSpec.
100
+
101
+ ### Example
102
+ ```javascript
103
+ import LAMP from 'lamp-core'
104
+
105
+ let sensor.spec.name = 'sensor.spec.name_example' // string
106
+
107
+ // Delete an SensorSpec.
108
+ const result = LAMP.SensorSpec.delete(sensor.spec.name)
109
+ console.dir(result)
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **sensor.spec.name** | **string**| |
117
+
118
+ ### Return type
119
+
120
+ **string**
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: `application/json`
125
+ - **Accept**: `application/json`
126
+
127
+ ### HTTP response details
128
+ | Status code | Description | Response headers |
129
+ |-------------|-------------|------------------|
130
+ | **200** | 200 Success | - |
131
+ | **400** | 400 Bad Request | - |
132
+ | **403** | 403 Authorization Failed | - |
133
+ | **404** | 404 Not Found | - |
134
+ | **0** | 500 Internal Error | - |
135
+
136
+ # **update**
137
+ > character update(sensor.spec.name, sensor.spec)
138
+
139
+ Update an SensorSpec.
140
+
141
+ Update an SensorSpec.
142
+
143
+ ### Example
144
+ ```javascript
145
+ import LAMP from 'lamp-core'
146
+
147
+ let sensor.spec.name = 'sensor.spec.name_example' // string
148
+ let sensor.spec = SensorSpec.new("name_example", 123) // SensorSpec
149
+
150
+ // Update an SensorSpec.
151
+ const result = LAMP.SensorSpec.update(sensor.spec.name, sensor.spec)
152
+ console.dir(result)
153
+ ```
154
+
155
+ ### Parameters
156
+
157
+ Name | Type | Description | Notes
158
+ ------------- | ------------- | ------------- | -------------
159
+ **sensor.spec.name** | **string**| |
160
+ **sensor.spec** | [**SensorSpec**](SensorSpec.md)| |
161
+
162
+ ### Return type
163
+
164
+ **string**
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: `application/json`
169
+ - **Accept**: `application/json`
170
+
171
+ ### HTTP response details
172
+ | Status code | Description | Response headers |
173
+ |-------------|-------------|------------------|
174
+ | **200** | 200 Success | - |
175
+ | **400** | 400 Bad Request | - |
176
+ | **403** | 403 Authorization Failed | - |
177
+ | **404** | 404 Not Found | - |
178
+ | **0** | 500 Internal Error | - |
179
+
180
+ # **view**
181
+ > array[object] view(sensor.spec.name)
182
+
183
+ Get a SensorSpec.
184
+
185
+ Get a SensorSpec.
186
+
187
+ ### Example
188
+ ```javascript
189
+ import LAMP from 'lamp-core'
190
+
191
+ let sensor.spec.name = 'sensor.spec.name_example' // string
192
+
193
+ // Get a SensorSpec.
194
+ const result = LAMP.SensorSpec.view(sensor.spec.name)
195
+ console.dir(result)
196
+ ```
197
+
198
+ ### Parameters
199
+
200
+ Name | Type | Description | Notes
201
+ ------------- | ------------- | ------------- | -------------
202
+ **sensor.spec.name** | **string**| |
203
+ **transform** | **string**| | [optional]
204
+
205
+ ### Return type
206
+
207
+ **array[object]**
208
+
209
+ ### HTTP request headers
210
+
211
+ - **Content-Type**: `application/json`
212
+ - **Accept**: `application/json`
213
+
214
+ ### HTTP response details
215
+ | Status code | Description | Response headers |
216
+ |-------------|-------------|------------------|
217
+ | **200** | 200 Success | - |
218
+ | **400** | 400 Bad Request | - |
219
+ | **403** | 403 Authorization Failed | - |
220
+ | **404** | 404 Not Found | - |
221
+ | **0** | 500 Internal Error | - |
222
+
package/docs/Study.md ADDED
@@ -0,0 +1,11 @@
1
+ # LAMP.Study
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **string** | A globally unique reference for objects. | [optional]
7
+ **name** | **string** | The name of the study. | [optional]
8
+ **activities** | **array[object]** | The set of all activities available in the study. | [optional]
9
+ **participants** | **array[object]** | The set of all enrolled participants in the study. | [optional]
10
+
11
+
@@ -0,0 +1,268 @@
1
+ # LAMP.Study
2
+
3
+ Method | HTTP request | Description
4
+ ------------- | ------------- | -------------
5
+ [**all**](StudyApi.md#all) | **GET** /study | Get the set of all studies.
6
+ [**allByResearcher**](StudyApi.md#allByResearcher) | **GET** /researcher/{researcher_id}/study | Get the set of studies for a single researcher.
7
+ [**create**](StudyApi.md#create) | **POST** /researcher/{researcher_id}/study | Create a new Study for the given Researcher.
8
+ [**delete**](StudyApi.md#delete) | **DELETE** /study/{study_id} | Delete a study.
9
+ [**update**](StudyApi.md#update) | **PUT** /study/{study_id} | Update the study.
10
+ [**view**](StudyApi.md#view) | **GET** /study/{study_id} | Get a single study, by identifier.
11
+
12
+
13
+ # **all**
14
+ > array[object] all()
15
+
16
+ Get the set of all studies.
17
+
18
+ Get the set of all studies.
19
+
20
+ ### Example
21
+ ```javascript
22
+ import LAMP from 'lamp-core'
23
+
24
+ // Get the set of all studies.
25
+ const result = LAMP.Study.all()
26
+ console.dir(result)
27
+ ```
28
+
29
+ ### Parameters
30
+
31
+ Name | Type | Description | Notes
32
+ ------------- | ------------- | ------------- | -------------
33
+ **transform** | **string**| | [optional]
34
+
35
+ ### Return type
36
+
37
+ **array[object]**
38
+
39
+ ### HTTP request headers
40
+
41
+ - **Content-Type**: `application/json`
42
+ - **Accept**: `application/json`
43
+
44
+ ### HTTP response details
45
+ | Status code | Description | Response headers |
46
+ |-------------|-------------|------------------|
47
+ | **200** | 200 Success | - |
48
+ | **400** | 400 Bad Request | - |
49
+ | **403** | 403 Authorization Failed | - |
50
+ | **404** | 404 Not Found | - |
51
+ | **0** | 500 Internal Error | - |
52
+
53
+ # **allByResearcher**
54
+ > array[object] allByResearcher(researcher_id)
55
+
56
+ Get the set of studies for a single researcher.
57
+
58
+ Get the set of studies for a single researcher.
59
+
60
+ ### Example
61
+ ```javascript
62
+ import LAMP from 'lamp-core'
63
+
64
+ let researcher_id = 'researcher_id_example' // string
65
+
66
+ // Get the set of studies for a single researcher.
67
+ const result = LAMP.Study.allByResearcher(researcher_id)
68
+ console.dir(result)
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ Name | Type | Description | Notes
74
+ ------------- | ------------- | ------------- | -------------
75
+ **researcher_id** | **string**| |
76
+ **transform** | **string**| | [optional]
77
+
78
+ ### Return type
79
+
80
+ **array[object]**
81
+
82
+ ### HTTP request headers
83
+
84
+ - **Content-Type**: `application/json`
85
+ - **Accept**: `application/json`
86
+
87
+ ### HTTP response details
88
+ | Status code | Description | Response headers |
89
+ |-------------|-------------|------------------|
90
+ | **200** | 200 Success | - |
91
+ | **400** | 400 Bad Request | - |
92
+ | **403** | 403 Authorization Failed | - |
93
+ | **404** | 404 Not Found | - |
94
+ | **0** | 500 Internal Error | - |
95
+
96
+ # **create**
97
+ > character create(researcher_id, study)
98
+
99
+ Create a new Study for the given Researcher.
100
+
101
+ Create a new Study for the given Researcher.
102
+
103
+ ### Example
104
+ ```javascript
105
+ import LAMP from 'lamp-core'
106
+
107
+ let researcher_id = 'researcher_id_example' // string
108
+ let study = Study.new("id_example", "name_example", list(123), list(123)) // Study
109
+
110
+ // Create a new Study for the given Researcher.
111
+ const result = LAMP.Study.create(researcher_id, study)
112
+ console.dir(result)
113
+ ```
114
+
115
+ ### Parameters
116
+
117
+ Name | Type | Description | Notes
118
+ ------------- | ------------- | ------------- | -------------
119
+ **researcher_id** | **string**| |
120
+ **study** | [**Study**](Study.md)| |
121
+
122
+ ### Return type
123
+
124
+ **string**
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: `application/json`
129
+ - **Accept**: `application/json`
130
+
131
+ ### HTTP response details
132
+ | Status code | Description | Response headers |
133
+ |-------------|-------------|------------------|
134
+ | **200** | 200 Success | - |
135
+ | **400** | 400 Bad Request | - |
136
+ | **403** | 403 Authorization Failed | - |
137
+ | **404** | 404 Not Found | - |
138
+ | **0** | 500 Internal Error | - |
139
+
140
+ # **delete**
141
+ > character delete(study_id)
142
+
143
+ Delete a study.
144
+
145
+ Delete a study.
146
+
147
+ ### Example
148
+ ```javascript
149
+ import LAMP from 'lamp-core'
150
+
151
+ let study_id = 'study_id_example' // string
152
+
153
+ // Delete a study.
154
+ const result = LAMP.Study.delete(study_id)
155
+ console.dir(result)
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+ Name | Type | Description | Notes
161
+ ------------- | ------------- | ------------- | -------------
162
+ **study_id** | **string**| |
163
+
164
+ ### Return type
165
+
166
+ **string**
167
+
168
+ ### HTTP request headers
169
+
170
+ - **Content-Type**: `application/json`
171
+ - **Accept**: `application/json`
172
+
173
+ ### HTTP response details
174
+ | Status code | Description | Response headers |
175
+ |-------------|-------------|------------------|
176
+ | **200** | 200 Success | - |
177
+ | **400** | 400 Bad Request | - |
178
+ | **403** | 403 Authorization Failed | - |
179
+ | **404** | 404 Not Found | - |
180
+ | **0** | 500 Internal Error | - |
181
+
182
+ # **update**
183
+ > character update(study_id, study)
184
+
185
+ Update the study.
186
+
187
+ Update the study.
188
+
189
+ ### Example
190
+ ```javascript
191
+ import LAMP from 'lamp-core'
192
+
193
+ let study_id = 'study_id_example' // string
194
+ let study = Study.new("id_example", "name_example", list(123), list(123)) // Study
195
+
196
+ // Update the study.
197
+ const result = LAMP.Study.update(study_id, study)
198
+ console.dir(result)
199
+ ```
200
+
201
+ ### Parameters
202
+
203
+ Name | Type | Description | Notes
204
+ ------------- | ------------- | ------------- | -------------
205
+ **study_id** | **string**| |
206
+ **study** | [**Study**](Study.md)| |
207
+
208
+ ### Return type
209
+
210
+ **string**
211
+
212
+ ### HTTP request headers
213
+
214
+ - **Content-Type**: `application/json`
215
+ - **Accept**: `application/json`
216
+
217
+ ### HTTP response details
218
+ | Status code | Description | Response headers |
219
+ |-------------|-------------|------------------|
220
+ | **200** | 200 Success | - |
221
+ | **400** | 400 Bad Request | - |
222
+ | **403** | 403 Authorization Failed | - |
223
+ | **404** | 404 Not Found | - |
224
+ | **0** | 500 Internal Error | - |
225
+
226
+ # **view**
227
+ > array[object] view(study_id)
228
+
229
+ Get a single study, by identifier.
230
+
231
+ Get a single study, by identifier.
232
+
233
+ ### Example
234
+ ```javascript
235
+ import LAMP from 'lamp-core'
236
+
237
+ let study_id = 'study_id_example' // string
238
+
239
+ // Get a single study, by identifier.
240
+ const result = LAMP.Study.view(study_id)
241
+ console.dir(result)
242
+ ```
243
+
244
+ ### Parameters
245
+
246
+ Name | Type | Description | Notes
247
+ ------------- | ------------- | ------------- | -------------
248
+ **study_id** | **string**| |
249
+ **transform** | **string**| | [optional]
250
+
251
+ ### Return type
252
+
253
+ **array[object]**
254
+
255
+ ### HTTP request headers
256
+
257
+ - **Content-Type**: `application/json`
258
+ - **Accept**: `application/json`
259
+
260
+ ### HTTP response details
261
+ | Status code | Description | Response headers |
262
+ |-------------|-------------|------------------|
263
+ | **200** | 200 Success | - |
264
+ | **400** | 400 Bad Request | - |
265
+ | **403** | 403 Authorization Failed | - |
266
+ | **404** | 404 Not Found | - |
267
+ | **0** | 500 Internal Error | - |
268
+
@@ -0,0 +1,13 @@
1
+ # LAMP.TemporalSlice
2
+
3
+ A specific sub-detail of a `ActivityEvent` that contains specific interaction information that comprises the parent `ActivityEvent`.
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **item** | [**object**](.md) | The item that was interacted with; for example, in a Jewels game, the corresponding alphabet, or in a survey, the question index. | [optional]
8
+ **value** | [**object**](.md) | The value of the item that was interacted with; in most games, this field is `null`, but in a survey, this field is the question choice index. | [optional]
9
+ **type** | **string** | The type of interaction that for this detail; for example, in a Jewels game, `none` if the tapped jewel was incorrect, or `correct` if it was correct, or in a survey, this field will be `null`. | [optional]
10
+ **duration** | **integer** | The time difference from the previous detail or the start of the parent result. | [optional]
11
+ **level** | **integer** | The level of activity for this detail; for example, in games with multiple levels, this field might be `2` or `4`, but for surveys and other games this field will be `null`. | [optional]
12
+
13
+