@3sixty/document-management-models 0.0.0-stage → 0.20.0-next.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 (110) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +24 -2
  3. package/dist/es/compiled/validators.js +600 -0
  4. package/dist/es/compiled/validators.js.map +1 -0
  5. package/dist/es/dataTypes/documentManagementDataTypes.js +59 -0
  6. package/dist/es/dataTypes/documentManagementDataTypes.js.map +1 -0
  7. package/dist/es/index.js +25 -0
  8. package/dist/es/index.js.map +1 -0
  9. package/dist/es/models/IDocument.js +2 -0
  10. package/dist/es/models/IDocument.js.map +1 -0
  11. package/dist/es/models/IDocumentAttestation.js +2 -0
  12. package/dist/es/models/IDocumentAttestation.js.map +1 -0
  13. package/dist/es/models/IDocumentBase.js +2 -0
  14. package/dist/es/models/IDocumentBase.js.map +1 -0
  15. package/dist/es/models/IDocumentHydrated.js +2 -0
  16. package/dist/es/models/IDocumentHydrated.js.map +1 -0
  17. package/dist/es/models/IDocumentList.js +2 -0
  18. package/dist/es/models/IDocumentList.js.map +1 -0
  19. package/dist/es/models/IDocumentManagementComponent.js +2 -0
  20. package/dist/es/models/IDocumentManagementComponent.js.map +1 -0
  21. package/dist/es/models/IDocumentManagementEdgeEntry.js +2 -0
  22. package/dist/es/models/IDocumentManagementEdgeEntry.js.map +1 -0
  23. package/dist/es/models/api/IDocumentManagementCreateRequest.js +2 -0
  24. package/dist/es/models/api/IDocumentManagementCreateRequest.js.map +1 -0
  25. package/dist/es/models/api/IDocumentManagementGetRequest.js +2 -0
  26. package/dist/es/models/api/IDocumentManagementGetRequest.js.map +1 -0
  27. package/dist/es/models/api/IDocumentManagementGetResponse.js +2 -0
  28. package/dist/es/models/api/IDocumentManagementGetResponse.js.map +1 -0
  29. package/dist/es/models/api/IDocumentManagementGetRevisionRequest.js +2 -0
  30. package/dist/es/models/api/IDocumentManagementGetRevisionRequest.js.map +1 -0
  31. package/dist/es/models/api/IDocumentManagementGetRevisionResponse.js +2 -0
  32. package/dist/es/models/api/IDocumentManagementGetRevisionResponse.js.map +1 -0
  33. package/dist/es/models/api/IDocumentManagementQueryRequest.js +2 -0
  34. package/dist/es/models/api/IDocumentManagementQueryRequest.js.map +1 -0
  35. package/dist/es/models/api/IDocumentManagementQueryResponse.js +2 -0
  36. package/dist/es/models/api/IDocumentManagementQueryResponse.js.map +1 -0
  37. package/dist/es/models/api/IDocumentManagementRemoveRequest.js +4 -0
  38. package/dist/es/models/api/IDocumentManagementRemoveRequest.js.map +1 -0
  39. package/dist/es/models/api/IDocumentManagementUpdatePartialRequest.js +2 -0
  40. package/dist/es/models/api/IDocumentManagementUpdatePartialRequest.js.map +1 -0
  41. package/dist/es/models/documentContexts.js +33 -0
  42. package/dist/es/models/documentContexts.js.map +1 -0
  43. package/dist/es/models/documentManagementMetricIds.js +29 -0
  44. package/dist/es/models/documentManagementMetricIds.js.map +1 -0
  45. package/dist/es/models/documentManagementMetrics.js +36 -0
  46. package/dist/es/models/documentManagementMetrics.js.map +1 -0
  47. package/dist/es/models/documentTypes.js +25 -0
  48. package/dist/es/models/documentTypes.js.map +1 -0
  49. package/dist/es/schemas/Document.json +86 -0
  50. package/dist/es/schemas/DocumentAttestation.json +60 -0
  51. package/dist/es/schemas/DocumentBase.json +29 -0
  52. package/dist/es/schemas/DocumentHydrated.json +25 -0
  53. package/dist/es/schemas/DocumentList.json +51 -0
  54. package/dist/types/compiled/validators.d.ts +21 -0
  55. package/dist/types/dataTypes/documentManagementDataTypes.d.ts +9 -0
  56. package/dist/types/index.d.ts +22 -0
  57. package/dist/types/models/IDocument.d.ts +72 -0
  58. package/dist/types/models/IDocumentAttestation.d.ts +46 -0
  59. package/dist/types/models/IDocumentBase.d.ts +27 -0
  60. package/dist/types/models/IDocumentHydrated.d.ts +23 -0
  61. package/dist/types/models/IDocumentList.d.ts +32 -0
  62. package/dist/types/models/IDocumentManagementComponent.d.ts +123 -0
  63. package/dist/types/models/IDocumentManagementEdgeEntry.d.ts +18 -0
  64. package/dist/types/models/api/IDocumentManagementCreateRequest.d.ts +42 -0
  65. package/dist/types/models/api/IDocumentManagementGetRequest.d.ts +68 -0
  66. package/dist/types/models/api/IDocumentManagementGetResponse.d.ts +18 -0
  67. package/dist/types/models/api/IDocumentManagementGetRevisionRequest.d.ts +53 -0
  68. package/dist/types/models/api/IDocumentManagementGetRevisionResponse.d.ts +17 -0
  69. package/dist/types/models/api/IDocumentManagementQueryRequest.d.ts +29 -0
  70. package/dist/types/models/api/IDocumentManagementQueryResponse.d.ts +18 -0
  71. package/dist/types/models/api/IDocumentManagementRemoveRequest.d.ts +18 -0
  72. package/dist/types/models/api/IDocumentManagementUpdatePartialRequest.d.ts +61 -0
  73. package/dist/types/models/documentContexts.d.ts +33 -0
  74. package/dist/types/models/documentManagementMetricIds.d.ts +29 -0
  75. package/dist/types/models/documentManagementMetrics.d.ts +5 -0
  76. package/dist/types/models/documentTypes.d.ts +25 -0
  77. package/docs/changelog.md +9 -0
  78. package/docs/examples.md +23 -0
  79. package/docs/reference/classes/DocumentManagementDataTypes.md +25 -0
  80. package/docs/reference/index.md +42 -0
  81. package/docs/reference/interfaces/IDocument.md +155 -0
  82. package/docs/reference/interfaces/IDocumentAttestation.md +59 -0
  83. package/docs/reference/interfaces/IDocumentBase.md +39 -0
  84. package/docs/reference/interfaces/IDocumentHydrated.md +223 -0
  85. package/docs/reference/interfaces/IDocumentList.md +35 -0
  86. package/docs/reference/interfaces/IDocumentManagementComponent.md +348 -0
  87. package/docs/reference/interfaces/IDocumentManagementCreateRequest.md +53 -0
  88. package/docs/reference/interfaces/IDocumentManagementEdgeEntry.md +27 -0
  89. package/docs/reference/interfaces/IDocumentManagementGetRequest.md +127 -0
  90. package/docs/reference/interfaces/IDocumentManagementGetResponse.md +27 -0
  91. package/docs/reference/interfaces/IDocumentManagementGetRevisionRequest.md +91 -0
  92. package/docs/reference/interfaces/IDocumentManagementGetRevisionResponse.md +23 -0
  93. package/docs/reference/interfaces/IDocumentManagementQueryRequest.md +41 -0
  94. package/docs/reference/interfaces/IDocumentManagementQueryResponse.md +27 -0
  95. package/docs/reference/interfaces/IDocumentManagementRemoveRequest.md +23 -0
  96. package/docs/reference/interfaces/IDocumentManagementUpdatePartialRequest.md +80 -0
  97. package/docs/reference/type-aliases/DocumentContexts.md +5 -0
  98. package/docs/reference/type-aliases/DocumentManagementMetricIds.md +5 -0
  99. package/docs/reference/type-aliases/DocumentTypes.md +5 -0
  100. package/docs/reference/variables/CompiledDocument.md +5 -0
  101. package/docs/reference/variables/CompiledDocumentAttestation.md +5 -0
  102. package/docs/reference/variables/CompiledDocumentBase.md +5 -0
  103. package/docs/reference/variables/CompiledDocumentHydrated.md +5 -0
  104. package/docs/reference/variables/CompiledDocumentList.md +5 -0
  105. package/docs/reference/variables/DocumentContexts.md +43 -0
  106. package/docs/reference/variables/DocumentManagementMetricIds.md +37 -0
  107. package/docs/reference/variables/DocumentManagementMetrics.md +5 -0
  108. package/docs/reference/variables/DocumentTypes.md +31 -0
  109. package/locales/en.json +3 -0
  110. package/package.json +63 -5
@@ -0,0 +1,53 @@
1
+ # Interface: IDocumentManagementCreateRequest
2
+
3
+ Request to create a document as an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### body {#body}
8
+
9
+ > **body**: `object`
10
+
11
+ The body parameters.
12
+
13
+ #### document
14
+
15
+ > **document**: [`IDocumentBase`](IDocumentBase.md)
16
+
17
+ The document base properties.
18
+
19
+ #### blob
20
+
21
+ > **blob**: `string`
22
+
23
+ The data to create the document with, either as base64-encoded content or an existing blob storage entry id.
24
+
25
+ #### auditableItemGraphEdges?
26
+
27
+ > `optional` **auditableItemGraphEdges?**: [`IDocumentManagementEdgeEntry`](IDocumentManagementEdgeEntry.md)[]
28
+
29
+ The auditable item graph vertices to connect the document to.
30
+
31
+ #### options?
32
+
33
+ > `optional` **options?**: `object`
34
+
35
+ Additional options for the create operation.
36
+
37
+ ##### options.includeAttestation?
38
+
39
+ > `optional` **includeAttestation?**: `boolean`
40
+
41
+ Flag to create an attestation for the document, defaults to false.
42
+
43
+ ##### options.includeAlias?
44
+
45
+ > `optional` **includeAlias?**: `boolean`
46
+
47
+ Flag to add the document id as an alias to the aig vertex, defaults to true.
48
+
49
+ ##### options.aliasAnnotationObject?
50
+
51
+ > `optional` **aliasAnnotationObject?**: `IJsonLdNodeObject`
52
+
53
+ Annotation object for the alias.
@@ -0,0 +1,27 @@
1
+ # Interface: IDocumentManagementEdgeEntry
2
+
3
+ A single edge entry used when connecting a document to an AIG vertex.
4
+
5
+ ## Properties
6
+
7
+ ### targetId {#targetid}
8
+
9
+ > **targetId**: `string`
10
+
11
+ The target AIG vertex id to connect to.
12
+
13
+ ***
14
+
15
+ ### includeAlias? {#includealias}
16
+
17
+ > `optional` **includeAlias?**: `boolean`
18
+
19
+ Whether to add the document id as an alias on the connected vertex, defaults to false.
20
+
21
+ ***
22
+
23
+ ### aliasAnnotationObject? {#aliasannotationobject}
24
+
25
+ > `optional` **aliasAnnotationObject?**: `IJsonLdNodeObject`
26
+
27
+ Annotation object for the alias, if includeAlias is true.
@@ -0,0 +1,127 @@
1
+ # Interface: IDocumentManagementGetRequest
2
+
3
+ Request to get a document from 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 path parameters.
24
+
25
+ #### auditableItemGraphDocumentId
26
+
27
+ > **auditableItemGraphDocumentId**: `string`
28
+
29
+ The full id of the document to get.
30
+
31
+ ***
32
+
33
+ ### query? {#query}
34
+
35
+ > `optional` **query?**: `object`
36
+
37
+ The query parameters.
38
+
39
+ #### includeBlobStorageMetadata?
40
+
41
+ > `optional` **includeBlobStorageMetadata?**: `string`
42
+
43
+ Include the blob storage metadata in the response.
44
+
45
+ ##### Default
46
+
47
+ ```ts
48
+ false
49
+ ```
50
+
51
+ #### includeBlobStorageData?
52
+
53
+ > `optional` **includeBlobStorageData?**: `string`
54
+
55
+ Include the blob storage data in the response.
56
+
57
+ ##### Default
58
+
59
+ ```ts
60
+ false
61
+ ```
62
+
63
+ #### includeAttestation?
64
+
65
+ > `optional` **includeAttestation?**: `string`
66
+
67
+ Include the attestation information in the response.
68
+
69
+ ##### Default
70
+
71
+ ```ts
72
+ false
73
+ ```
74
+
75
+ #### includeRemoved?
76
+
77
+ > `optional` **includeRemoved?**: `string`
78
+
79
+ Include deleted documents in the response.
80
+
81
+ ##### Default
82
+
83
+ ```ts
84
+ false
85
+ ```
86
+
87
+ #### includeDeletedEdges?
88
+
89
+ > `optional` **includeDeletedEdges?**: `string`
90
+
91
+ Include soft-deleted edges in the response.
92
+
93
+ ##### Default
94
+
95
+ ```ts
96
+ false
97
+ ```
98
+
99
+ #### extractRuleGroupId?
100
+
101
+ > `optional` **extractRuleGroupId?**: `string`
102
+
103
+ If provided will extract data from the document using the specified rule group id.
104
+
105
+ #### extractMimeType?
106
+
107
+ > `optional` **extractMimeType?**: `string`
108
+
109
+ By default extraction will auto detect the mime type of the document, this can be used to override the detection.
110
+
111
+ #### limit?
112
+
113
+ > `optional` **limit?**: `string`
114
+
115
+ Limit the number of items to return, defaults to 1 so only most recent is returned.
116
+
117
+ ##### Default
118
+
119
+ ```ts
120
+ 1
121
+ ```
122
+
123
+ #### cursor?
124
+
125
+ > `optional` **cursor?**: `string`
126
+
127
+ The cursor to get the next chunk of revisions.
@@ -0,0 +1,27 @@
1
+ # Interface: IDocumentManagementGetResponse
2
+
3
+ Response to get a document and optionally revisions from 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
+ #### 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**: [`IDocumentList`](IDocumentList.md)
26
+
27
+ The body parameters.
@@ -0,0 +1,91 @@
1
+ # Interface: IDocumentManagementGetRevisionRequest
2
+
3
+ Request to get a document revision from 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 path parameters.
24
+
25
+ #### auditableItemGraphDocumentId
26
+
27
+ > **auditableItemGraphDocumentId**: `string`
28
+
29
+ The full id of the document to get.
30
+
31
+ #### revision
32
+
33
+ > **revision**: `string`
34
+
35
+ The revision of the document to get.
36
+
37
+ ***
38
+
39
+ ### query? {#query}
40
+
41
+ > `optional` **query?**: `object`
42
+
43
+ The query parameters.
44
+
45
+ #### includeBlobStorageMetadata?
46
+
47
+ > `optional` **includeBlobStorageMetadata?**: `string`
48
+
49
+ Include the blob storage metadata in the response.
50
+
51
+ ##### Default
52
+
53
+ ```ts
54
+ false
55
+ ```
56
+
57
+ #### includeBlobStorageData?
58
+
59
+ > `optional` **includeBlobStorageData?**: `string`
60
+
61
+ Include the blob storage data in the response.
62
+
63
+ ##### Default
64
+
65
+ ```ts
66
+ false
67
+ ```
68
+
69
+ #### includeAttestation?
70
+
71
+ > `optional` **includeAttestation?**: `string`
72
+
73
+ Include the attestation information in the response.
74
+
75
+ ##### Default
76
+
77
+ ```ts
78
+ false
79
+ ```
80
+
81
+ #### extractRuleGroupId?
82
+
83
+ > `optional` **extractRuleGroupId?**: `string`
84
+
85
+ If provided will extract data from the document using the specified rule group id.
86
+
87
+ #### extractMimeType?
88
+
89
+ > `optional` **extractMimeType?**: `string`
90
+
91
+ By default extraction will auto detect the mime type of the document, this can be used to override the detection.
@@ -0,0 +1,23 @@
1
+ # Interface: IDocumentManagementGetRevisionResponse
2
+
3
+ Response to get a document revision from 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
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IDocument`](IDocument.md)
22
+
23
+ The body parameters.
@@ -0,0 +1,41 @@
1
+ # Interface: IDocumentManagementQueryRequest
2
+
3
+ Request to query a list of documents from 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
+ ### query {#query}
20
+
21
+ > **query**: `object`
22
+
23
+ The query parameters.
24
+
25
+ #### documentId
26
+
27
+ > **documentId**: `string`
28
+
29
+ The id of the document id we are trying to find.
30
+
31
+ #### cursor?
32
+
33
+ > `optional` **cursor?**: `string`
34
+
35
+ The cursor to get the next chunk of documents.
36
+
37
+ #### limit?
38
+
39
+ > `optional` **limit?**: `string`
40
+
41
+ The number of documents to return.
@@ -0,0 +1,27 @@
1
+ # Interface: IDocumentManagementQueryResponse
2
+
3
+ Response to query the documents from 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
+ #### 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`
26
+
27
+ The body parameters.
@@ -0,0 +1,23 @@
1
+ # Interface: IDocumentManagementRemoveRequest
2
+
3
+ Request to remove a document revision from an auditable item graph.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The path parameters.
12
+
13
+ #### auditableItemGraphDocumentId
14
+
15
+ > **auditableItemGraphDocumentId**: `string`
16
+
17
+ The id of the auditable item graph vertex to remove the revision from.
18
+
19
+ #### revision
20
+
21
+ > **revision**: `string`
22
+
23
+ The revision of the document to remove.
@@ -0,0 +1,80 @@
1
+ # Interface: IDocumentManagementUpdatePartialRequest
2
+
3
+ Request to partially update a document as an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The path parameters.
12
+
13
+ #### auditableItemGraphDocumentId
14
+
15
+ > **auditableItemGraphDocumentId**: `string`
16
+
17
+ The full id of the document to update.
18
+
19
+ ***
20
+
21
+ ### body {#body}
22
+
23
+ > **body**: `object`
24
+
25
+ The body parameters.
26
+
27
+ #### document?
28
+
29
+ > `optional` **document?**: `Partial`\<`Pick`\<[`IDocumentBase`](IDocumentBase.md), `"documentCode"` \| `"annotationObject"` \| `"documentIdFormat"`\>\>
30
+
31
+ The document base properties to update. annotationObject, documentIdFormat and documentCode are applied in-place to the current revision.
32
+
33
+ #### blob?
34
+
35
+ > `optional` **blob?**: `string`
36
+
37
+ The data to update the document with, either as base64-encoded content or an existing blob storage entry id.
38
+
39
+ #### auditableItemGraphEdges?
40
+
41
+ > `optional` **auditableItemGraphEdges?**: `object`
42
+
43
+ Explicit edge delta to apply. Use `add` to create new connections and `remove` to
44
+ disconnect existing ones by their target vertex id.
45
+
46
+ ##### auditableItemGraphEdges.add?
47
+
48
+ > `optional` **add?**: [`IDocumentManagementEdgeEntry`](IDocumentManagementEdgeEntry.md)[]
49
+
50
+ Connections to add; each entry creates a back-edge on the connected vertex.
51
+
52
+ ##### auditableItemGraphEdges.remove?
53
+
54
+ > `optional` **remove?**: `string`[]
55
+
56
+ Target vertex IDs to disconnect; their back-edges are removed.
57
+
58
+ #### options?
59
+
60
+ > `optional` **options?**: `object`
61
+
62
+ Additional options for the update operation.
63
+
64
+ ##### options.includeAttestation?
65
+
66
+ > `optional` **includeAttestation?**: `boolean`
67
+
68
+ Set to true to start attesting the document (even if originally created without attestation), or false to remove the existing attestation. Omit to leave attestation state unchanged.
69
+
70
+ ##### options.includeAlias?
71
+
72
+ > `optional` **includeAlias?**: `boolean`
73
+
74
+ Set to true to add the document id as an alias on the aig vertex, or false to remove it. Omit to leave alias state unchanged.
75
+
76
+ ##### options.aliasAnnotationObject?
77
+
78
+ > `optional` **aliasAnnotationObject?**: `IJsonLdNodeObject`
79
+
80
+ Annotation object for the alias when adding.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DocumentContexts
2
+
3
+ > **DocumentContexts** = *typeof* [`DocumentContexts`](../variables/DocumentContexts.md)\[keyof *typeof* [`DocumentContexts`](../variables/DocumentContexts.md)\]
4
+
5
+ The contexts of document management objects.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DocumentManagementMetricIds
2
+
3
+ > **DocumentManagementMetricIds** = *typeof* [`DocumentManagementMetricIds`](../variables/DocumentManagementMetricIds.md)\[keyof *typeof* [`DocumentManagementMetricIds`](../variables/DocumentManagementMetricIds.md)\]
4
+
5
+ Metric IDs for the document management service.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DocumentTypes
2
+
3
+ > **DocumentTypes** = *typeof* [`DocumentTypes`](../variables/DocumentTypes.md)\[keyof *typeof* [`DocumentTypes`](../variables/DocumentTypes.md)\]
4
+
5
+ The types of document management objects.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledDocument
2
+
3
+ > `const` **CompiledDocument**: `ICompiledValidator` = `validate52`
4
+
5
+ Compiled validator for the Document schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledDocumentAttestation
2
+
3
+ > `const` **CompiledDocumentAttestation**: `ICompiledValidator` = `validate55`
4
+
5
+ Compiled validator for the DocumentAttestation schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledDocumentBase
2
+
3
+ > `const` **CompiledDocumentBase**: `ICompiledValidator` = `validate53`
4
+
5
+ Compiled validator for the DocumentBase schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledDocumentHydrated
2
+
3
+ > `const` **CompiledDocumentHydrated**: `ICompiledValidator` = `validate56`
4
+
5
+ Compiled validator for the DocumentHydrated schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledDocumentList
2
+
3
+ > `const` **CompiledDocumentList**: `ICompiledValidator` = `validate58`
4
+
5
+ Compiled validator for the DocumentList schema.
@@ -0,0 +1,43 @@
1
+ # Variable: DocumentContexts
2
+
3
+ > `const` **DocumentContexts**: `object`
4
+
5
+ The contexts of document management objects.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Namespace {#namespace}
10
+
11
+ > `readonly` **Namespace**: `"https://schema.3sixty.global/documents/"` = `"https://schema.3sixty.global/documents/"`
12
+
13
+ The canonical RDF namespace URI for Document Management.
14
+
15
+ ### Context {#context}
16
+
17
+ > `readonly` **Context**: `"https://schema.3sixty.global/documents/"` = `"https://schema.3sixty.global/documents/"`
18
+
19
+ The value to use in context for Document Management.
20
+
21
+ ### JsonLdContext {#jsonldcontext}
22
+
23
+ > `readonly` **JsonLdContext**: `"https://schema.3sixty.global/documents/types.jsonld"` = `"https://schema.3sixty.global/documents/types.jsonld"`
24
+
25
+ The JSON-LD Context URL for Document Management.
26
+
27
+ ### NamespaceCommon {#namespacecommon}
28
+
29
+ > `readonly` **NamespaceCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
30
+
31
+ The canonical RDF namespace URI for TWIN Common.
32
+
33
+ ### ContextCommon {#contextcommon}
34
+
35
+ > `readonly` **ContextCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
36
+
37
+ The value to use in JSON-LD context for TWIN Common.
38
+
39
+ ### JsonLdContextCommon {#jsonldcontextcommon}
40
+
41
+ > `readonly` **JsonLdContextCommon**: `"https://schema.3sixty.global/common/types.jsonld"` = `"https://schema.3sixty.global/common/types.jsonld"`
42
+
43
+ The JSON-LD Context URL for TWIN Common.
@@ -0,0 +1,37 @@
1
+ # Variable: DocumentManagementMetricIds
2
+
3
+ > `const` **DocumentManagementMetricIds**: `object`
4
+
5
+ Metric IDs for the document management service.
6
+
7
+ ## Type Declaration
8
+
9
+ ### DocumentsCreated {#documentscreated}
10
+
11
+ > `readonly` **DocumentsCreated**: `"dm_documents_created"` = `"dm_documents_created"`
12
+
13
+ Number of documents created.
14
+
15
+ ### DocumentsUpdated {#documentsupdated}
16
+
17
+ > `readonly` **DocumentsUpdated**: `"dm_documents_updated"` = `"dm_documents_updated"`
18
+
19
+ Number of documents updated.
20
+
21
+ ### RevisionsCreated {#revisionscreated}
22
+
23
+ > `readonly` **RevisionsCreated**: `"dm_revisions_created"` = `"dm_revisions_created"`
24
+
25
+ Number of document revisions created.
26
+
27
+ ### RevisionsRemoved {#revisionsremoved}
28
+
29
+ > `readonly` **RevisionsRemoved**: `"dm_revisions_removed"` = `"dm_revisions_removed"`
30
+
31
+ Number of document revisions removed.
32
+
33
+ ### AttestationsCreated {#attestationscreated}
34
+
35
+ > `readonly` **AttestationsCreated**: `"dm_attestations_created"` = `"dm_attestations_created"`
36
+
37
+ Number of document attestations created.
@@ -0,0 +1,5 @@
1
+ # Variable: DocumentManagementMetrics
2
+
3
+ > `const` **DocumentManagementMetrics**: `ITelemetryMetric`[]
4
+
5
+ Metrics registered by the document management service.