@twin.org/auditable-item-stream-service 0.0.3-next.9 → 0.9.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 (39) hide show
  1. package/README.md +2 -2
  2. package/dist/es/auditableItemStreamRoutes.js +401 -73
  3. package/dist/es/auditableItemStreamRoutes.js.map +1 -1
  4. package/dist/es/auditableItemStreamService.js +304 -113
  5. package/dist/es/auditableItemStreamService.js.map +1 -1
  6. package/dist/es/entities/auditableItemStream.js +17 -3
  7. package/dist/es/entities/auditableItemStream.js.map +1 -1
  8. package/dist/es/models/IAuditableItemStreamServiceConfig.js.map +1 -1
  9. package/dist/es/models/IAuditableItemStreamServiceConstructorOptions.js.map +1 -1
  10. package/dist/es/models/IAuditableItemStreamServiceContext.js.map +1 -1
  11. package/dist/es/restEntryPoints.js +3 -0
  12. package/dist/es/restEntryPoints.js.map +1 -1
  13. package/dist/types/auditableItemStreamRoutes.d.ts +37 -5
  14. package/dist/types/auditableItemStreamService.d.ts +37 -38
  15. package/dist/types/entities/auditableItemStream.d.ts +10 -1
  16. package/dist/types/models/IAuditableItemStreamServiceConfig.d.ts +4 -0
  17. package/dist/types/models/IAuditableItemStreamServiceConstructorOptions.d.ts +4 -0
  18. package/dist/types/models/IAuditableItemStreamServiceContext.d.ts +4 -0
  19. package/dist/types/restEntryPoints.d.ts +3 -0
  20. package/docs/changelog.md +396 -92
  21. package/docs/examples.md +211 -1
  22. package/docs/open-api/spec.json +832 -169
  23. package/docs/reference/classes/AuditableItemStream.md +30 -14
  24. package/docs/reference/classes/AuditableItemStreamEntry.md +13 -13
  25. package/docs/reference/classes/AuditableItemStreamService.md +109 -84
  26. package/docs/reference/functions/auditableItemStreamClose.md +31 -0
  27. package/docs/reference/functions/auditableItemStreamDeleteEntry.md +1 -1
  28. package/docs/reference/functions/auditableItemStreamList.md +1 -1
  29. package/docs/reference/functions/auditableItemStreamListEntries.md +1 -1
  30. package/docs/reference/functions/auditableItemStreamListEntriesNoStream.md +31 -0
  31. package/docs/reference/functions/auditableItemStreamListEntryObjects.md +1 -1
  32. package/docs/reference/functions/auditableItemStreamListEntryObjectsNoStream.md +31 -0
  33. package/docs/reference/functions/auditableItemStreamRemoveProof.md +31 -0
  34. package/docs/reference/index.md +4 -0
  35. package/docs/reference/interfaces/IAuditableItemStreamServiceConfig.md +10 -2
  36. package/docs/reference/interfaces/IAuditableItemStreamServiceConstructorOptions.md +18 -10
  37. package/docs/reference/variables/restEntryPoints.md +2 -0
  38. package/locales/en.json +6 -1
  39. package/package.json +19 -18
@@ -14,7 +14,7 @@ Class describing the auditable item stream.
14
14
 
15
15
  ## Properties
16
16
 
17
- ### id
17
+ ### id {#id}
18
18
 
19
19
  > **id**: `string`
20
20
 
@@ -22,7 +22,7 @@ The id of the stream.
22
22
 
23
23
  ***
24
24
 
25
- ### dateCreated
25
+ ### dateCreated {#datecreated}
26
26
 
27
27
  > **dateCreated**: `string`
28
28
 
@@ -30,39 +30,39 @@ The date/time of when the stream was created.
30
30
 
31
31
  ***
32
32
 
33
- ### dateModified?
33
+ ### dateModified? {#datemodified}
34
34
 
35
- > `optional` **dateModified**: `string`
35
+ > `optional` **dateModified?**: `string`
36
36
 
37
37
  The date/time of when the stream was modified.
38
38
 
39
39
  ***
40
40
 
41
- ### organizationIdentity?
41
+ ### organizationIdentity {#organizationidentity}
42
42
 
43
- > `optional` **organizationIdentity**: `string`
43
+ > **organizationIdentity**: `string`
44
44
 
45
45
  The identity of the organization which controls the stream.
46
46
 
47
47
  ***
48
48
 
49
- ### userIdentity?
49
+ ### userIdentity? {#useridentity}
50
50
 
51
- > `optional` **userIdentity**: `string`
51
+ > `optional` **userIdentity?**: `string`
52
52
 
53
53
  The identity of the user which created the stream.
54
54
 
55
55
  ***
56
56
 
57
- ### annotationObject?
57
+ ### annotationObject? {#annotationobject}
58
58
 
59
- > `optional` **annotationObject**: `IJsonLdNodeObject`
59
+ > `optional` **annotationObject?**: `IJsonLdNodeObject`
60
60
 
61
61
  Object to associate with the stream as JSON-LD.
62
62
 
63
63
  ***
64
64
 
65
- ### numberOfItems
65
+ ### numberOfItems {#numberofitems}
66
66
 
67
67
  > **numberOfItems**: `number`
68
68
 
@@ -70,7 +70,7 @@ The number of items in the stream.
70
70
 
71
71
  ***
72
72
 
73
- ### immutableInterval
73
+ ### immutableInterval {#immutableinterval}
74
74
 
75
75
  > **immutableInterval**: `number`
76
76
 
@@ -78,8 +78,24 @@ After how many entries do we add immutable checks.
78
78
 
79
79
  ***
80
80
 
81
- ### proofId?
81
+ ### closed? {#closed}
82
82
 
83
- > `optional` **proofId**: `string`
83
+ > `optional` **closed?**: `boolean`
84
+
85
+ Is the stream closed for entry updates.
86
+
87
+ ***
88
+
89
+ ### mode? {#mode}
90
+
91
+ > `optional` **mode?**: `AuditableItemStreamModes`
92
+
93
+ The operation mode for the stream.
94
+
95
+ ***
96
+
97
+ ### proofId? {#proofid}
98
+
99
+ > `optional` **proofId?**: `string`
84
100
 
85
101
  The immutable proof id.
@@ -14,7 +14,7 @@ Class describing the auditable item stream entry.
14
14
 
15
15
  ## Properties
16
16
 
17
- ### id
17
+ ### id {#id}
18
18
 
19
19
  > **id**: `string`
20
20
 
@@ -22,7 +22,7 @@ The id of the entry.
22
22
 
23
23
  ***
24
24
 
25
- ### streamId
25
+ ### streamId {#streamid}
26
26
 
27
27
  > **streamId**: `string`
28
28
 
@@ -30,7 +30,7 @@ The stream that the entry belongs to.
30
30
 
31
31
  ***
32
32
 
33
- ### dateCreated
33
+ ### dateCreated {#datecreated}
34
34
 
35
35
  > **dateCreated**: `string`
36
36
 
@@ -38,31 +38,31 @@ The date/time of when the entry was created.
38
38
 
39
39
  ***
40
40
 
41
- ### dateModified?
41
+ ### dateModified? {#datemodified}
42
42
 
43
- > `optional` **dateModified**: `string`
43
+ > `optional` **dateModified?**: `string`
44
44
 
45
45
  The date/time of when the entry was modified.
46
46
 
47
47
  ***
48
48
 
49
- ### dateDeleted?
49
+ ### dateDeleted? {#datedeleted}
50
50
 
51
- > `optional` **dateDeleted**: `string`
51
+ > `optional` **dateDeleted?**: `string`
52
52
 
53
53
  The date/time of when the entry was deleted, as we never actually remove items.
54
54
 
55
55
  ***
56
56
 
57
- ### userIdentity?
57
+ ### userIdentity? {#useridentity}
58
58
 
59
- > `optional` **userIdentity**: `string`
59
+ > `optional` **userIdentity?**: `string`
60
60
 
61
61
  The identity of the user that added the entry.
62
62
 
63
63
  ***
64
64
 
65
- ### entryObject
65
+ ### entryObject {#entryobject}
66
66
 
67
67
  > **entryObject**: `IJsonLdNodeObject`
68
68
 
@@ -70,7 +70,7 @@ Object to associate with the entry as JSON-LD.
70
70
 
71
71
  ***
72
72
 
73
- ### index
73
+ ### index {#index}
74
74
 
75
75
  > **index**: `number`
76
76
 
@@ -78,8 +78,8 @@ The index of the entry in the stream.
78
78
 
79
79
  ***
80
80
 
81
- ### proofId?
81
+ ### proofId? {#proofid}
82
82
 
83
- > `optional` **proofId**: `string`
83
+ > `optional` **proofId?**: `string`
84
84
 
85
85
  The immutable proof id.
@@ -28,7 +28,7 @@ The dependencies for the auditable item stream connector.
28
28
 
29
29
  ## Properties
30
30
 
31
- ### CLASS\_NAME
31
+ ### CLASS\_NAME {#class_name}
32
32
 
33
33
  > `readonly` `static` **CLASS\_NAME**: `string`
34
34
 
@@ -36,7 +36,7 @@ Runtime name for the class.
36
36
 
37
37
  ## Methods
38
38
 
39
- ### className()
39
+ ### className() {#classname}
40
40
 
41
41
  > **className**(): `string`
42
42
 
@@ -54,9 +54,27 @@ The class name of the component.
54
54
 
55
55
  ***
56
56
 
57
- ### create()
57
+ ### start() {#start}
58
58
 
59
- > **create**(`stream`, `options?`): `Promise`\<`string`\>
59
+ > **start**(): `Promise`\<`void`\>
60
+
61
+ Register all AIS metrics with the telemetry component.
62
+
63
+ #### Returns
64
+
65
+ `Promise`\<`void`\>
66
+
67
+ A promise that resolves when the metrics have been registered.
68
+
69
+ #### Implementation of
70
+
71
+ `IAuditableItemStreamComponent.start`
72
+
73
+ ***
74
+
75
+ ### create() {#create}
76
+
77
+ > **create**(`stream`): `Promise`\<`string`\>
60
78
 
61
79
  Create a new stream.
62
80
 
@@ -64,46 +82,77 @@ Create a new stream.
64
82
 
65
83
  ##### stream
66
84
 
85
+ `IAuditableItemStreamBase`
86
+
67
87
  The stream to create.
68
88
 
69
- ###### annotationObject?
89
+ #### Returns
70
90
 
71
- `IJsonLdNodeObject`
91
+ `Promise`\<`string`\>
72
92
 
73
- The object for the stream as JSON-LD.
93
+ The id of the new stream item.
74
94
 
75
- ###### entries?
95
+ #### Implementation of
76
96
 
77
- `object`[]
97
+ `IAuditableItemStreamComponent.create`
78
98
 
79
- Entries to store in the stream.
99
+ ***
80
100
 
81
- ##### options?
101
+ ### close() {#close}
82
102
 
83
- Options for creating the stream.
103
+ > **close**(`id`): `Promise`\<`void`\>
84
104
 
85
- ###### immutableInterval?
105
+ Close a stream.
86
106
 
87
- `number`
107
+ #### Parameters
88
108
 
89
- After how many entries do we add immutable checks, defaults to service configured value.
90
- A value of 0 will disable integrity checks, 1 will be every item, or any other integer for an interval.
109
+ ##### id
110
+
111
+ `string`
112
+
113
+ The id of the stream to close.
91
114
 
92
115
  #### Returns
93
116
 
94
- `Promise`\<`string`\>
117
+ `Promise`\<`void`\>
95
118
 
96
- The id of the new stream item.
119
+ A promise that resolves when the stream has been closed.
97
120
 
98
121
  #### Implementation of
99
122
 
100
- `IAuditableItemStreamComponent.create`
123
+ `IAuditableItemStreamComponent.close`
124
+
125
+ ***
126
+
127
+ ### update() {#update}
128
+
129
+ > **update**(`stream`): `Promise`\<`void`\>
130
+
131
+ Update a stream.
132
+
133
+ #### Parameters
134
+
135
+ ##### stream
136
+
137
+ `Pick`\<`IAuditableItemStream`, `"@context"` \| `"type"` \| `"id"` \| `"annotationObject"`\>
138
+
139
+ The stream to update, does not update entries.
140
+
141
+ #### Returns
142
+
143
+ `Promise`\<`void`\>
144
+
145
+ A promise that resolves when the stream has been updated.
146
+
147
+ #### Implementation of
148
+
149
+ `IAuditableItemStreamComponent.update`
101
150
 
102
151
  ***
103
152
 
104
- ### get()
153
+ ### get() {#get}
105
154
 
106
- > **get**(`id`, `options?`): `Promise`\<`IAuditableItemStream`\>
155
+ > **get**(`id`, `cursor?`, `limit?`, `options?`): `Promise`\<\{ `stream`: `IAuditableItemStream`; `cursor?`: `string`; \}\>
107
156
 
108
157
  Get a stream header without the entries.
109
158
 
@@ -115,6 +164,18 @@ Get a stream header without the entries.
115
164
 
116
165
  The id of the stream to get.
117
166
 
167
+ ##### cursor?
168
+
169
+ `string`
170
+
171
+ Cursor to use for next chunk of entries.
172
+
173
+ ##### limit?
174
+
175
+ `number`
176
+
177
+ Limit the number of entries to return, only applicable if includeEntries is true.
178
+
118
179
  ##### options?
119
180
 
120
181
  Additional options for the get operation.
@@ -145,7 +206,7 @@ Should the entries be verified, defaults to false.
145
206
 
146
207
  #### Returns
147
208
 
148
- `Promise`\<`IAuditableItemStream`\>
209
+ `Promise`\<\{ `stream`: `IAuditableItemStream`; `cursor?`: `string`; \}\>
149
210
 
150
211
  The stream and entries if found.
151
212
 
@@ -159,43 +220,7 @@ NotFoundError if the stream is not found
159
220
 
160
221
  ***
161
222
 
162
- ### update()
163
-
164
- > **update**(`stream`): `Promise`\<`void`\>
165
-
166
- Update a stream.
167
-
168
- #### Parameters
169
-
170
- ##### stream
171
-
172
- The stream to update.
173
-
174
- ###### id
175
-
176
- `string`
177
-
178
- The id of the stream to update.
179
-
180
- ###### annotationObject?
181
-
182
- `IJsonLdNodeObject`
183
-
184
- The object for the stream as JSON-LD.
185
-
186
- #### Returns
187
-
188
- `Promise`\<`void`\>
189
-
190
- Nothing.
191
-
192
- #### Implementation of
193
-
194
- `IAuditableItemStreamComponent.update`
195
-
196
- ***
197
-
198
- ### remove()
223
+ ### remove() {#remove}
199
224
 
200
225
  > **remove**(`id`): `Promise`\<`void`\>
201
226
 
@@ -213,7 +238,7 @@ The id of the stream to remove.
213
238
 
214
239
  `Promise`\<`void`\>
215
240
 
216
- Nothing.
241
+ A promise that resolves when the stream has been removed.
217
242
 
218
243
  #### Implementation of
219
244
 
@@ -221,7 +246,7 @@ Nothing.
221
246
 
222
247
  ***
223
248
 
224
- ### query()
249
+ ### query() {#query}
225
250
 
226
251
  > **query**(`conditions?`, `orderBy?`, `orderByDirection?`, `properties?`, `cursor?`, `limit?`): `Promise`\<\{ `entries`: `IAuditableItemStreamList`; `cursor?`: `string`; \}\>
227
252
 
@@ -237,9 +262,9 @@ Conditions to use in the query.
237
262
 
238
263
  ##### orderBy?
239
264
 
240
- The order for the results, defaults to created.
265
+ `"dateCreated"` \| `"dateModified"`
241
266
 
242
- `"dateCreated"` | `"dateModified"`
267
+ The order for the results, defaults to created.
243
268
 
244
269
  ##### orderByDirection?
245
270
 
@@ -277,7 +302,7 @@ The entities, which can be partial if a limited keys list was provided.
277
302
 
278
303
  ***
279
304
 
280
- ### createEntry()
305
+ ### createEntry() {#createentry}
281
306
 
282
307
  > **createEntry**(`streamId`, `entryObject`): `Promise`\<`string`\>
283
308
 
@@ -309,7 +334,7 @@ The id of the created entry, if not provided.
309
334
 
310
335
  ***
311
336
 
312
- ### getEntry()
337
+ ### getEntry() {#getentry}
313
338
 
314
339
  > **getEntry**(`streamId`, `entryId`, `options?`): `Promise`\<`IAuditableItemStreamEntry`\>
315
340
 
@@ -355,7 +380,7 @@ NotFoundError if the stream is not found.
355
380
 
356
381
  ***
357
382
 
358
- ### getEntryObject()
383
+ ### getEntryObject() {#getentryobject}
359
384
 
360
385
  > **getEntryObject**(`streamId`, `entryId`): `Promise`\<`IJsonLdNodeObject`\>
361
386
 
@@ -391,7 +416,7 @@ NotFoundError if the stream is not found.
391
416
 
392
417
  ***
393
418
 
394
- ### updateEntry()
419
+ ### updateEntry() {#updateentry}
395
420
 
396
421
  > **updateEntry**(`streamId`, `entryId`, `entryObject`): `Promise`\<`void`\>
397
422
 
@@ -421,7 +446,7 @@ The object for the entry as JSON-LD.
421
446
 
422
447
  `Promise`\<`void`\>
423
448
 
424
- Nothing.
449
+ A promise that resolves when the entry has been updated.
425
450
 
426
451
  #### Implementation of
427
452
 
@@ -429,7 +454,7 @@ Nothing.
429
454
 
430
455
  ***
431
456
 
432
- ### removeEntry()
457
+ ### removeEntry() {#removeentry}
433
458
 
434
459
  > **removeEntry**(`streamId`, `entryId`): `Promise`\<`void`\>
435
460
 
@@ -453,7 +478,7 @@ The id of the entry to remove.
453
478
 
454
479
  `Promise`\<`void`\>
455
480
 
456
- Nothing.
481
+ A promise that resolves when the entry has been removed.
457
482
 
458
483
  #### Implementation of
459
484
 
@@ -461,19 +486,19 @@ Nothing.
461
486
 
462
487
  ***
463
488
 
464
- ### getEntries()
489
+ ### getEntries() {#getentries}
465
490
 
466
- > **getEntries**(`streamId`, `options?`): `Promise`\<\{ `entries`: `IAuditableItemStreamEntryList`; `cursor?`: `string`; \}\>
491
+ > **getEntries**(`streamId?`, `options?`): `Promise`\<\{ `entries`: `IAuditableItemStreamEntryList`; `cursor?`: `string`; \}\>
467
492
 
468
493
  Get the entries for the stream.
469
494
 
470
495
  #### Parameters
471
496
 
472
- ##### streamId
497
+ ##### streamId?
473
498
 
474
499
  `string`
475
500
 
476
- The id of the stream to get.
501
+ The id of the stream to get, if undefined returns all matching entries.
477
502
 
478
503
  ##### options?
479
504
 
@@ -531,19 +556,19 @@ NotFoundError if the stream is not found.
531
556
 
532
557
  ***
533
558
 
534
- ### getEntryObjects()
559
+ ### getEntryObjects() {#getentryobjects}
535
560
 
536
- > **getEntryObjects**(`streamId`, `options?`): `Promise`\<\{ `entries`: `IAuditableItemStreamEntryObjectList`; `cursor?`: `string`; \}\>
561
+ > **getEntryObjects**(`streamId?`, `options?`): `Promise`\<\{ `entries`: `IAuditableItemStreamEntryObjectList`; `cursor?`: `string`; \}\>
537
562
 
538
563
  Get the entry objects for the stream.
539
564
 
540
565
  #### Parameters
541
566
 
542
- ##### streamId
567
+ ##### streamId?
543
568
 
544
569
  `string`
545
570
 
546
- The id of the stream to get.
571
+ The id of the stream to get, if undefined returns all matching entries.
547
572
 
548
573
  ##### options?
549
574
 
@@ -595,11 +620,11 @@ NotFoundError if the stream is not found.
595
620
 
596
621
  ***
597
622
 
598
- ### removeVerifiable()
623
+ ### removeProof() {#removeproof}
599
624
 
600
- > **removeVerifiable**(`streamId`): `Promise`\<`void`\>
625
+ > **removeProof**(`streamId`): `Promise`\<`void`\>
601
626
 
602
- Remove the verifiable storage for the stream and entries.
627
+ Remove the proof for the stream and entries.
603
628
 
604
629
  #### Parameters
605
630
 
@@ -607,13 +632,13 @@ Remove the verifiable storage for the stream and entries.
607
632
 
608
633
  `string`
609
634
 
610
- The id of the stream to remove the storage from.
635
+ The id of the stream to remove the proof from.
611
636
 
612
637
  #### Returns
613
638
 
614
639
  `Promise`\<`void`\>
615
640
 
616
- Nothing.
641
+ A promise that resolves when the proof has been removed.
617
642
 
618
643
  #### Throws
619
644
 
@@ -621,4 +646,4 @@ NotFoundError if the vertex is not found.
621
646
 
622
647
  #### Implementation of
623
648
 
624
- `IAuditableItemStreamComponent.removeVerifiable`
649
+ `IAuditableItemStreamComponent.removeProof`
@@ -0,0 +1,31 @@
1
+ # Function: auditableItemStreamClose()
2
+
3
+ > **auditableItemStreamClose**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`INoContentResponse`\>
4
+
5
+ Close the stream.
6
+
7
+ ## Parameters
8
+
9
+ ### httpRequestContext
10
+
11
+ `IHttpRequestContext`
12
+
13
+ The request context for the API.
14
+
15
+ ### componentName
16
+
17
+ `string`
18
+
19
+ The name of the component to use in the routes.
20
+
21
+ ### request
22
+
23
+ `IAuditableItemStreamCloseRequest`
24
+
25
+ The request.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<`INoContentResponse`\>
30
+
31
+ The response object with additional http response properties.
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **auditableItemStreamDeleteEntry**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`INoContentResponse`\>
4
4
 
5
- Get the stream.
5
+ Delete an entry from the stream.
6
6
 
7
7
  ## Parameters
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **auditableItemStreamList**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`IAuditableItemStreamListResponse`\>
4
4
 
5
- Query the stream.
5
+ List all streams.
6
6
 
7
7
  ## Parameters
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **auditableItemStreamListEntries**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`IAuditableItemStreamListEntriesResponse`\>
4
4
 
5
- Query the stream.
5
+ List the entries for a stream.
6
6
 
7
7
  ## Parameters
8
8
 
@@ -0,0 +1,31 @@
1
+ # Function: auditableItemStreamListEntriesNoStream()
2
+
3
+ > **auditableItemStreamListEntriesNoStream**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`IAuditableItemStreamListEntriesResponse`\>
4
+
5
+ List entries across all streams.
6
+
7
+ ## Parameters
8
+
9
+ ### httpRequestContext
10
+
11
+ `IHttpRequestContext`
12
+
13
+ The request context for the API.
14
+
15
+ ### componentName
16
+
17
+ `string`
18
+
19
+ The name of the component to use in the routes.
20
+
21
+ ### request
22
+
23
+ `IAuditableItemStreamListEntriesNoStreamRequest`
24
+
25
+ The request.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<`IAuditableItemStreamListEntriesResponse`\>
30
+
31
+ The response object with additional http response properties.
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **auditableItemStreamListEntryObjects**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`IAuditableItemStreamListEntryObjectsResponse`\>
4
4
 
5
- Query the stream objects.
5
+ List the entry objects for a stream.
6
6
 
7
7
  ## Parameters
8
8
 
@@ -0,0 +1,31 @@
1
+ # Function: auditableItemStreamListEntryObjectsNoStream()
2
+
3
+ > **auditableItemStreamListEntryObjectsNoStream**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`IAuditableItemStreamListEntryObjectsResponse`\>
4
+
5
+ List entry objects across all streams.
6
+
7
+ ## Parameters
8
+
9
+ ### httpRequestContext
10
+
11
+ `IHttpRequestContext`
12
+
13
+ The request context for the API.
14
+
15
+ ### componentName
16
+
17
+ `string`
18
+
19
+ The name of the component to use in the routes.
20
+
21
+ ### request
22
+
23
+ `IAuditableItemStreamListEntryObjectsNoStreamRequest`
24
+
25
+ The request.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<`IAuditableItemStreamListEntryObjectsResponse`\>
30
+
31
+ The response object with additional http response properties.