@3sixty/auditable-item-graph-models 0.0.0-stage → 0.20.0-next.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 (201) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +26 -2
  3. package/dist/es/compiled/validators.js +1885 -0
  4. package/dist/es/compiled/validators.js.map +1 -0
  5. package/dist/es/dataTypes/auditableItemGraphDataTypes.js +103 -0
  6. package/dist/es/dataTypes/auditableItemGraphDataTypes.js.map +1 -0
  7. package/dist/es/index.js +43 -0
  8. package/dist/es/index.js.map +1 -0
  9. package/dist/es/models/IAuditableItemGraphAlias.js +2 -0
  10. package/dist/es/models/IAuditableItemGraphAlias.js.map +1 -0
  11. package/dist/es/models/IAuditableItemGraphAuditedElement.js +4 -0
  12. package/dist/es/models/IAuditableItemGraphAuditedElement.js.map +1 -0
  13. package/dist/es/models/IAuditableItemGraphChangeset.js +2 -0
  14. package/dist/es/models/IAuditableItemGraphChangeset.js.map +1 -0
  15. package/dist/es/models/IAuditableItemGraphChangesetList.js +2 -0
  16. package/dist/es/models/IAuditableItemGraphChangesetList.js.map +1 -0
  17. package/dist/es/models/IAuditableItemGraphComponent.js +2 -0
  18. package/dist/es/models/IAuditableItemGraphComponent.js.map +1 -0
  19. package/dist/es/models/IAuditableItemGraphEdge.js +2 -0
  20. package/dist/es/models/IAuditableItemGraphEdge.js.map +1 -0
  21. package/dist/es/models/IAuditableItemGraphListPatch.js +2 -0
  22. package/dist/es/models/IAuditableItemGraphListPatch.js.map +1 -0
  23. package/dist/es/models/IAuditableItemGraphPartialVertex.js +2 -0
  24. package/dist/es/models/IAuditableItemGraphPartialVertex.js.map +1 -0
  25. package/dist/es/models/IAuditableItemGraphPatchOperation.js +2 -0
  26. package/dist/es/models/IAuditableItemGraphPatchOperation.js.map +1 -0
  27. package/dist/es/models/IAuditableItemGraphResource.js +2 -0
  28. package/dist/es/models/IAuditableItemGraphResource.js.map +1 -0
  29. package/dist/es/models/IAuditableItemGraphVertex.js +2 -0
  30. package/dist/es/models/IAuditableItemGraphVertex.js.map +1 -0
  31. package/dist/es/models/IAuditableItemGraphVertexList.js +2 -0
  32. package/dist/es/models/IAuditableItemGraphVertexList.js.map +1 -0
  33. package/dist/es/models/IAuditableItemGraphVertexVersionList.js +2 -0
  34. package/dist/es/models/IAuditableItemGraphVertexVersionList.js.map +1 -0
  35. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js +2 -0
  36. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js.map +1 -0
  37. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js +2 -0
  38. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js.map +1 -0
  39. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js +2 -0
  40. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js.map +1 -0
  41. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js +2 -0
  42. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js.map +1 -0
  43. package/dist/es/models/api/IAuditableItemGraphCreateRequest.js +2 -0
  44. package/dist/es/models/api/IAuditableItemGraphCreateRequest.js.map +1 -0
  45. package/dist/es/models/api/IAuditableItemGraphGetRequest.js +2 -0
  46. package/dist/es/models/api/IAuditableItemGraphGetRequest.js.map +1 -0
  47. package/dist/es/models/api/IAuditableItemGraphGetResponse.js +2 -0
  48. package/dist/es/models/api/IAuditableItemGraphGetResponse.js.map +1 -0
  49. package/dist/es/models/api/IAuditableItemGraphListRequest.js +2 -0
  50. package/dist/es/models/api/IAuditableItemGraphListRequest.js.map +1 -0
  51. package/dist/es/models/api/IAuditableItemGraphListResponse.js +2 -0
  52. package/dist/es/models/api/IAuditableItemGraphListResponse.js.map +1 -0
  53. package/dist/es/models/api/IAuditableItemGraphRemoveProofRequest.js +4 -0
  54. package/dist/es/models/api/IAuditableItemGraphRemoveProofRequest.js.map +1 -0
  55. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js +2 -0
  56. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js.map +1 -0
  57. package/dist/es/models/api/IAuditableItemGraphUpdateRequest.js +2 -0
  58. package/dist/es/models/api/IAuditableItemGraphUpdateRequest.js.map +1 -0
  59. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js +2 -0
  60. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js.map +1 -0
  61. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js +2 -0
  62. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js.map +1 -0
  63. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js +2 -0
  64. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js.map +1 -0
  65. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js +2 -0
  66. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js.map +1 -0
  67. package/dist/es/models/auditableItemGraphAuditMode.js +17 -0
  68. package/dist/es/models/auditableItemGraphAuditMode.js.map +1 -0
  69. package/dist/es/models/auditableItemGraphContexts.js +33 -0
  70. package/dist/es/models/auditableItemGraphContexts.js.map +1 -0
  71. package/dist/es/models/auditableItemGraphMetricIds.js +69 -0
  72. package/dist/es/models/auditableItemGraphMetricIds.js.map +1 -0
  73. package/dist/es/models/auditableItemGraphMetrics.js +82 -0
  74. package/dist/es/models/auditableItemGraphMetrics.js.map +1 -0
  75. package/dist/es/models/auditableItemGraphTopics.js +17 -0
  76. package/dist/es/models/auditableItemGraphTopics.js.map +1 -0
  77. package/dist/es/models/auditableItemGraphTypes.js +57 -0
  78. package/dist/es/models/auditableItemGraphTypes.js.map +1 -0
  79. package/dist/es/models/eventBus/IAuditableItemGraphEventBusVertexCreated.js +4 -0
  80. package/dist/es/models/eventBus/IAuditableItemGraphEventBusVertexCreated.js.map +1 -0
  81. package/dist/es/models/eventBus/IAuditableItemGraphEventBusVertexUpdated.js +2 -0
  82. package/dist/es/models/eventBus/IAuditableItemGraphEventBusVertexUpdated.js.map +1 -0
  83. package/dist/es/models/verifyDepth.js +21 -0
  84. package/dist/es/models/verifyDepth.js.map +1 -0
  85. package/dist/es/schemas/AuditableItemGraphAlias.json +58 -0
  86. package/dist/es/schemas/AuditableItemGraphAuditMode.json +16 -0
  87. package/dist/es/schemas/AuditableItemGraphAuditedElement.json +25 -0
  88. package/dist/es/schemas/AuditableItemGraphChangeset.json +66 -0
  89. package/dist/es/schemas/AuditableItemGraphChangesetList.json +52 -0
  90. package/dist/es/schemas/AuditableItemGraphEdge.json +62 -0
  91. package/dist/es/schemas/AuditableItemGraphListPatch.json +33 -0
  92. package/dist/es/schemas/AuditableItemGraphPartialVertex.json +115 -0
  93. package/dist/es/schemas/AuditableItemGraphPatchOperation.json +72 -0
  94. package/dist/es/schemas/AuditableItemGraphResource.json +45 -0
  95. package/dist/es/schemas/AuditableItemGraphVertex.json +100 -0
  96. package/dist/es/schemas/AuditableItemGraphVertexList.json +52 -0
  97. package/dist/es/schemas/AuditableItemGraphVertexVersionList.json +64 -0
  98. package/dist/types/compiled/validators.d.ts +53 -0
  99. package/dist/types/dataTypes/auditableItemGraphDataTypes.d.ts +9 -0
  100. package/dist/types/index.d.ts +40 -0
  101. package/dist/types/models/IAuditableItemGraphAlias.d.ts +36 -0
  102. package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +24 -0
  103. package/dist/types/models/IAuditableItemGraphChangeset.d.ts +57 -0
  104. package/dist/types/models/IAuditableItemGraphChangesetList.d.ts +27 -0
  105. package/dist/types/models/IAuditableItemGraphComponent.d.ts +143 -0
  106. package/dist/types/models/IAuditableItemGraphEdge.d.ts +36 -0
  107. package/dist/types/models/IAuditableItemGraphListPatch.d.ts +18 -0
  108. package/dist/types/models/IAuditableItemGraphPartialVertex.d.ts +45 -0
  109. package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +36 -0
  110. package/dist/types/models/IAuditableItemGraphResource.d.ts +22 -0
  111. package/dist/types/models/IAuditableItemGraphVertex.d.ts +73 -0
  112. package/dist/types/models/IAuditableItemGraphVertexList.d.ts +27 -0
  113. package/dist/types/models/IAuditableItemGraphVertexVersionList.d.ts +29 -0
  114. package/dist/types/models/api/IAuditableItemGraphChangesetGetRequest.d.ts +35 -0
  115. package/dist/types/models/api/IAuditableItemGraphChangesetGetResponse.d.ts +17 -0
  116. package/dist/types/models/api/IAuditableItemGraphChangesetListRequest.d.ts +39 -0
  117. package/dist/types/models/api/IAuditableItemGraphChangesetListResponse.d.ts +18 -0
  118. package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +10 -0
  119. package/dist/types/models/api/IAuditableItemGraphGetRequest.d.ts +35 -0
  120. package/dist/types/models/api/IAuditableItemGraphGetResponse.d.ts +17 -0
  121. package/dist/types/models/api/IAuditableItemGraphListRequest.d.ts +60 -0
  122. package/dist/types/models/api/IAuditableItemGraphListResponse.d.ts +18 -0
  123. package/dist/types/models/api/IAuditableItemGraphRemoveProofRequest.d.ts +14 -0
  124. package/dist/types/models/api/IAuditableItemGraphUpdatePartialRequest.d.ts +20 -0
  125. package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +19 -0
  126. package/dist/types/models/api/IAuditableItemGraphVersionGetRequest.d.ts +25 -0
  127. package/dist/types/models/api/IAuditableItemGraphVersionGetResponse.d.ts +17 -0
  128. package/dist/types/models/api/IAuditableItemGraphVersionListRequest.d.ts +34 -0
  129. package/dist/types/models/api/IAuditableItemGraphVersionListResponse.d.ts +17 -0
  130. package/dist/types/models/auditableItemGraphAuditMode.d.ts +17 -0
  131. package/dist/types/models/auditableItemGraphContexts.d.ts +33 -0
  132. package/dist/types/models/auditableItemGraphMetricIds.d.ts +69 -0
  133. package/dist/types/models/auditableItemGraphMetrics.d.ts +5 -0
  134. package/dist/types/models/auditableItemGraphTopics.d.ts +17 -0
  135. package/dist/types/models/auditableItemGraphTypes.d.ts +57 -0
  136. package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexCreated.d.ts +9 -0
  137. package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexUpdated.d.ts +14 -0
  138. package/dist/types/models/verifyDepth.d.ts +21 -0
  139. package/docs/changelog.md +0 -0
  140. package/docs/examples.md +22 -0
  141. package/docs/reference/classes/AuditableItemGraphDataTypes.md +25 -0
  142. package/docs/reference/index.md +71 -0
  143. package/docs/reference/interfaces/IAuditableItemGraphAlias.md +95 -0
  144. package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +41 -0
  145. package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +76 -0
  146. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetRequest.md +49 -0
  147. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetResponse.md +23 -0
  148. package/docs/reference/interfaces/IAuditableItemGraphChangesetList.md +27 -0
  149. package/docs/reference/interfaces/IAuditableItemGraphChangesetListRequest.md +55 -0
  150. package/docs/reference/interfaces/IAuditableItemGraphChangesetListResponse.md +27 -0
  151. package/docs/reference/interfaces/IAuditableItemGraphComponent.md +393 -0
  152. package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +11 -0
  153. package/docs/reference/interfaces/IAuditableItemGraphEdge.md +95 -0
  154. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +11 -0
  155. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +19 -0
  156. package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +49 -0
  157. package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +23 -0
  158. package/docs/reference/interfaces/IAuditableItemGraphListPatch.md +25 -0
  159. package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +84 -0
  160. package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +27 -0
  161. package/docs/reference/interfaces/IAuditableItemGraphPartialVertex.md +164 -0
  162. package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +51 -0
  163. package/docs/reference/interfaces/IAuditableItemGraphRemoveProofRequest.md +17 -0
  164. package/docs/reference/interfaces/IAuditableItemGraphResource.md +79 -0
  165. package/docs/reference/interfaces/IAuditableItemGraphUpdatePartialRequest.md +26 -0
  166. package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +25 -0
  167. package/docs/reference/interfaces/IAuditableItemGraphVersionGetRequest.md +35 -0
  168. package/docs/reference/interfaces/IAuditableItemGraphVersionGetResponse.md +23 -0
  169. package/docs/reference/interfaces/IAuditableItemGraphVersionListRequest.md +49 -0
  170. package/docs/reference/interfaces/IAuditableItemGraphVersionListResponse.md +23 -0
  171. package/docs/reference/interfaces/IAuditableItemGraphVertex.md +139 -0
  172. package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +27 -0
  173. package/docs/reference/interfaces/IAuditableItemGraphVertexVersionList.md +35 -0
  174. package/docs/reference/type-aliases/AuditableItemGraphAuditMode.md +5 -0
  175. package/docs/reference/type-aliases/AuditableItemGraphContexts.md +5 -0
  176. package/docs/reference/type-aliases/AuditableItemGraphMetricIds.md +5 -0
  177. package/docs/reference/type-aliases/AuditableItemGraphTopics.md +5 -0
  178. package/docs/reference/type-aliases/AuditableItemGraphTypes.md +5 -0
  179. package/docs/reference/type-aliases/VerifyDepth.md +5 -0
  180. package/docs/reference/variables/AuditableItemGraphAuditMode.md +19 -0
  181. package/docs/reference/variables/AuditableItemGraphContexts.md +43 -0
  182. package/docs/reference/variables/AuditableItemGraphMetricIds.md +97 -0
  183. package/docs/reference/variables/AuditableItemGraphMetrics.md +5 -0
  184. package/docs/reference/variables/AuditableItemGraphTopics.md +19 -0
  185. package/docs/reference/variables/AuditableItemGraphTypes.md +79 -0
  186. package/docs/reference/variables/CompiledAuditableItemGraphAlias.md +5 -0
  187. package/docs/reference/variables/CompiledAuditableItemGraphAuditMode.md +5 -0
  188. package/docs/reference/variables/CompiledAuditableItemGraphAuditedElement.md +5 -0
  189. package/docs/reference/variables/CompiledAuditableItemGraphChangeset.md +5 -0
  190. package/docs/reference/variables/CompiledAuditableItemGraphChangesetList.md +5 -0
  191. package/docs/reference/variables/CompiledAuditableItemGraphEdge.md +5 -0
  192. package/docs/reference/variables/CompiledAuditableItemGraphListPatch.md +5 -0
  193. package/docs/reference/variables/CompiledAuditableItemGraphPartialVertex.md +5 -0
  194. package/docs/reference/variables/CompiledAuditableItemGraphPatchOperation.md +5 -0
  195. package/docs/reference/variables/CompiledAuditableItemGraphResource.md +5 -0
  196. package/docs/reference/variables/CompiledAuditableItemGraphVertex.md +5 -0
  197. package/docs/reference/variables/CompiledAuditableItemGraphVertexList.md +5 -0
  198. package/docs/reference/variables/CompiledAuditableItemGraphVertexVersionList.md +5 -0
  199. package/docs/reference/variables/VerifyDepth.md +25 -0
  200. package/locales/en.json +3 -0
  201. package/package.json +57 -5
@@ -0,0 +1,84 @@
1
+ # Interface: IAuditableItemGraphListRequest
2
+
3
+ Get the a list of the vertices with matching ids or aliases.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### query? {#query}
20
+
21
+ > `optional` **query?**: `object`
22
+
23
+ The query parameters.
24
+
25
+ #### id?
26
+
27
+ > `optional` **id?**: `string`
28
+
29
+ The id or alias to try and find.
30
+
31
+ #### idMode?
32
+
33
+ > `optional` **idMode?**: `"id"` \| `"alias"` \| `"both"`
34
+
35
+ Which field to look in with the id, defaults to both.
36
+
37
+ #### idExact?
38
+
39
+ > `optional` **idExact?**: `string`
40
+
41
+ Find only exact matches, default to false meaning partial matching.
42
+
43
+ #### resourceTypes?
44
+
45
+ > `optional` **resourceTypes?**: `string`
46
+
47
+ Include vertices with specific resource types, comma separated.
48
+
49
+ #### conditions?
50
+
51
+ > `optional` **conditions?**: `string`
52
+
53
+ The conditions to filter the streams, JSON stringified `EntityCondition<IAuditableItemGraphVertex>`.
54
+
55
+ #### orderBy?
56
+
57
+ > `optional` **orderBy?**: `"dateCreated"` \| `"dateModified"`
58
+
59
+ The order for the results, default to dateCreated.
60
+
61
+ #### orderByDirection?
62
+
63
+ > `optional` **orderByDirection?**: `SortDirection`
64
+
65
+ The direction for the order, defaults to desc.
66
+
67
+ #### properties?
68
+
69
+ > `optional` **properties?**: `string`
70
+
71
+ The properties to return as a comma separated list, defaults to "id,dateCreated,aliases,annotationObject".
72
+
73
+ #### cursor?
74
+
75
+ > `optional` **cursor?**: `string`
76
+
77
+ The optional cursor to get next chunk.
78
+
79
+ #### limit?
80
+
81
+ > `optional` **limit?**: `string`
82
+
83
+ The maximum number of entities to return, a page can contain fewer so follow the cursor
84
+ until it is absent to read them all.
@@ -0,0 +1,27 @@
1
+ # Interface: IAuditableItemGraphListResponse
2
+
3
+ The response to getting the a list of the vertices with matching ids or aliases.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ #### link?
18
+
19
+ > `optional` **link?**: `string` \| `string`[]
20
+
21
+ ***
22
+
23
+ ### body {#body}
24
+
25
+ > **body**: [`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)
26
+
27
+ The response payload.
@@ -0,0 +1,164 @@
1
+ # Interface: IAuditableItemGraphPartialVertex
2
+
3
+ Partial vertex payload for updatePartial.
4
+ Sub-lists use explicit `{ add, remove }` patches; bare arrays are not supported.
5
+
6
+ ## Extends
7
+
8
+ - `Omit`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md), `"type"` \| `"aliases"` \| `"edges"` \| `"resources"`\>
9
+
10
+ ## Properties
11
+
12
+ ### dateCreated? {#datecreated}
13
+
14
+ > `optional` **dateCreated?**: `string`
15
+
16
+ The date/time of when the element was created.
17
+
18
+ #### Inherited from
19
+
20
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
21
+
22
+ ***
23
+
24
+ ### dateModified? {#datemodified}
25
+
26
+ > `optional` **dateModified?**: `string`
27
+
28
+ The date/time of when the element was modified.
29
+
30
+ #### Inherited from
31
+
32
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
33
+
34
+ ***
35
+
36
+ ### dateDeleted? {#datedeleted}
37
+
38
+ > `optional` **dateDeleted?**: `string`
39
+
40
+ The date/time of when the element was deleted, as we never actually remove items.
41
+
42
+ #### Inherited from
43
+
44
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
45
+
46
+ ***
47
+
48
+ ### id {#id}
49
+
50
+ > **id**: `string`
51
+
52
+ The id of the vertex to update.
53
+
54
+ #### Overrides
55
+
56
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`id`](IAuditableItemGraphVertex.md#id)
57
+
58
+ ***
59
+
60
+ ### @context {#context}
61
+
62
+ > **@context**: \[`"https://schema.3sixty.global/aig/"`, `"https://schema.3sixty.global/common/"`, `...IJsonLdContextDefinitionElement[]`\]
63
+
64
+ JSON-LD Context.
65
+
66
+ #### Overrides
67
+
68
+ `Omit.@context`
69
+
70
+ ***
71
+
72
+ ### type? {#type}
73
+
74
+ > `optional` **type?**: `"AuditableItemGraphVertex"`
75
+
76
+ JSON-LD Type.
77
+
78
+ ***
79
+
80
+ ### aliasPatches? {#aliaspatches}
81
+
82
+ > `optional` **aliasPatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphAlias`](IAuditableItemGraphAlias.md)\>
83
+
84
+ Patch operations for aliases.
85
+
86
+ ***
87
+
88
+ ### resourcePatches? {#resourcepatches}
89
+
90
+ > `optional` **resourcePatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphResource`](IAuditableItemGraphResource.md)\>
91
+
92
+ Patch operations for resources.
93
+
94
+ ***
95
+
96
+ ### edgePatches? {#edgepatches}
97
+
98
+ > `optional` **edgePatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphEdge`](IAuditableItemGraphEdge.md)\>
99
+
100
+ Patch operations for edges.
101
+
102
+ ***
103
+
104
+ ### organizationIdentity? {#organizationidentity}
105
+
106
+ > `optional` **organizationIdentity?**: `string`
107
+
108
+ The identity of the organization which controls the vertex.
109
+
110
+ #### Inherited from
111
+
112
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`organizationIdentity`](IAuditableItemGraphVertex.md#organizationidentity)
113
+
114
+ ***
115
+
116
+ ### auditMode? {#auditmode}
117
+
118
+ > `optional` **auditMode?**: [`AuditableItemGraphAuditMode`](../type-aliases/AuditableItemGraphAuditMode.md)
119
+
120
+ How the mutations of the vertex are recorded, when absent the vertex behaves as audited.
121
+ Once a vertex is set to bypass it can not be returned to audited.
122
+
123
+ #### Inherited from
124
+
125
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`auditMode`](IAuditableItemGraphVertex.md#auditmode)
126
+
127
+ ***
128
+
129
+ ### annotationObject? {#annotationobject}
130
+
131
+ > `optional` **annotationObject?**: `IJsonLdNodeObject`
132
+
133
+ The JSON-LD annotation object for the vertex.
134
+
135
+ #### Inherited from
136
+
137
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`annotationObject`](IAuditableItemGraphVertex.md#annotationobject)
138
+
139
+ ***
140
+
141
+ ### verified? {#verified}
142
+
143
+ > `optional` **verified?**: `boolean`
144
+
145
+ Is the vertex verified, will only be populated when verification is requested.
146
+ Always undefined when the vertex is in bypass mode.
147
+
148
+ #### Inherited from
149
+
150
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`verified`](IAuditableItemGraphVertex.md#verified)
151
+
152
+ ***
153
+
154
+ ### version? {#version}
155
+
156
+ > `optional` **version?**: `number`
157
+
158
+ The version of the vertex, populated only when getting a specific version.
159
+ Always undefined when the vertex is in bypass mode.
160
+ Maps to https://schema.org/version.
161
+
162
+ #### Inherited from
163
+
164
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`version`](IAuditableItemGraphVertex.md#version)
@@ -0,0 +1,51 @@
1
+ # Interface: IAuditableItemGraphPatchOperation
2
+
3
+ The patch operation for JSON diffs.
4
+
5
+ ## Properties
6
+
7
+ ### @context? {#context}
8
+
9
+ > `optional` **@context?**: `"https://schema.3sixty.global/aig/"` \| \[`"https://schema.3sixty.global/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
10
+
11
+ JSON-LD Context.
12
+
13
+ ***
14
+
15
+ ### type {#type}
16
+
17
+ > **type**: `"AuditableItemGraphPatchOperation"`
18
+
19
+ JSON-LD Type.
20
+
21
+ ***
22
+
23
+ ### patchOperation {#patchoperation}
24
+
25
+ > **patchOperation**: `"add"` \| `"remove"` \| `"replace"` \| `"move"` \| `"copy"` \| `"test"`
26
+
27
+ The operation that was performed on the item.
28
+
29
+ ***
30
+
31
+ ### patchPath {#patchpath}
32
+
33
+ > **patchPath**: `string`
34
+
35
+ The path to the object that was changed.
36
+
37
+ ***
38
+
39
+ ### patchFrom? {#patchfrom}
40
+
41
+ > `optional` **patchFrom?**: `string`
42
+
43
+ The path the value was copied or moved from.
44
+
45
+ ***
46
+
47
+ ### patchValue? {#patchvalue}
48
+
49
+ > `optional` **patchValue?**: `unknown`
50
+
51
+ The value to add.
@@ -0,0 +1,17 @@
1
+ # Interface: IAuditableItemGraphRemoveProofRequest
2
+
3
+ Remove the notarization proof from all changesets of a graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The parameters from the path.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the vertex whose proof should be removed.
@@ -0,0 +1,79 @@
1
+ # Interface: IAuditableItemGraphResource
2
+
3
+ Interface describing an auditable item graph vertex resource.
4
+
5
+ ## Extends
6
+
7
+ - [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md)
8
+
9
+ ## Properties
10
+
11
+ ### id? {#id}
12
+
13
+ > `optional` **id?**: `string`
14
+
15
+ The id of the element.
16
+
17
+ #### Inherited from
18
+
19
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`id`](IAuditableItemGraphAuditedElement.md#id)
20
+
21
+ ***
22
+
23
+ ### dateCreated? {#datecreated}
24
+
25
+ > `optional` **dateCreated?**: `string`
26
+
27
+ The date/time of when the element was created.
28
+
29
+ #### Inherited from
30
+
31
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
32
+
33
+ ***
34
+
35
+ ### dateModified? {#datemodified}
36
+
37
+ > `optional` **dateModified?**: `string`
38
+
39
+ The date/time of when the element was modified.
40
+
41
+ #### Inherited from
42
+
43
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
44
+
45
+ ***
46
+
47
+ ### dateDeleted? {#datedeleted}
48
+
49
+ > `optional` **dateDeleted?**: `string`
50
+
51
+ The date/time of when the element was deleted, as we never actually remove items.
52
+
53
+ #### Inherited from
54
+
55
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
56
+
57
+ ***
58
+
59
+ ### @context? {#context}
60
+
61
+ > `optional` **@context?**: `"https://schema.3sixty.global/aig/"` \| \[`"https://schema.3sixty.global/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
62
+
63
+ JSON-LD Context.
64
+
65
+ ***
66
+
67
+ ### type {#type}
68
+
69
+ > **type**: `"AuditableItemGraphResource"`
70
+
71
+ JSON-LD Type.
72
+
73
+ ***
74
+
75
+ ### resourceObject? {#resourceobject}
76
+
77
+ > `optional` **resourceObject?**: `IJsonLdNodeObject`
78
+
79
+ The JSON-LD object for the resource.
@@ -0,0 +1,26 @@
1
+ # Interface: IAuditableItemGraphUpdatePartialRequest
2
+
3
+ Partially update an auditable item graph vertex (PATCH - explicit list patches).
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The path parameters.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the vertex to update.
18
+
19
+ ***
20
+
21
+ ### body {#body}
22
+
23
+ > **body**: `Omit`\<[`IAuditableItemGraphPartialVertex`](IAuditableItemGraphPartialVertex.md), `"id"`\>
24
+
25
+ Partial vertex data; only defined properties are applied.
26
+ Sub-lists use `{ add, remove }` patch objects.
@@ -0,0 +1,25 @@
1
+ # Interface: IAuditableItemGraphUpdateRequest
2
+
3
+ Update an auditable item graph vertex (PUT - full replacement of vertex state).
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The path parameters.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the vertex to update.
18
+
19
+ ***
20
+
21
+ ### body {#body}
22
+
23
+ > **body**: `Omit`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md), `"id"`\>
24
+
25
+ The full vertex payload. Replaces annotation and active sub-lists; omitted collections are cleared.
@@ -0,0 +1,35 @@
1
+ # Interface: IAuditableItemGraphVersionGetRequest
2
+
3
+ Get an auditable item graph vertex at a specific version.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the vertex.
30
+
31
+ #### version
32
+
33
+ > **version**: `string`
34
+
35
+ The version number to get.
@@ -0,0 +1,23 @@
1
+ # Interface: IAuditableItemGraphVersionGetResponse
2
+
3
+ Response to getting an auditable item graph vertex at a specific version.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)
22
+
23
+ The response body.
@@ -0,0 +1,49 @@
1
+ # Interface: IAuditableItemGraphVersionListRequest
2
+
3
+ Get all versions of an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the vertex.
30
+
31
+ ***
32
+
33
+ ### query? {#query}
34
+
35
+ > `optional` **query?**: `object`
36
+
37
+ The query parameters.
38
+
39
+ #### after?
40
+
41
+ > `optional` **after?**: `string`
42
+
43
+ Only return versions created after this ISO 8601 timestamp (exclusive).
44
+
45
+ #### before?
46
+
47
+ > `optional` **before?**: `string`
48
+
49
+ Only return versions created before this ISO 8601 timestamp (exclusive).
@@ -0,0 +1,23 @@
1
+ # Interface: IAuditableItemGraphVersionListResponse
2
+
3
+ Response to getting all versions of an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IAuditableItemGraphVertexVersionList`](IAuditableItemGraphVertexVersionList.md)
22
+
23
+ The response body.