@twin.org/document-management-rest-client 0.0.2-next.2 → 0.0.2-next.4

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.
@@ -9,22 +9,17 @@ var standardsUnece = require('@twin.org/standards-unece');
9
9
  /**
10
10
  * Client for performing document management through to REST endpoints.
11
11
  */
12
- class DocumentManagementClient extends apiCore.BaseRestClient {
12
+ class DocumentManagementRestClient extends apiCore.BaseRestClient {
13
13
  /**
14
14
  * Runtime name for the class.
15
- * @internal
16
15
  */
17
- static _CLASS_NAME = "DocumentManagementClient";
16
+ static CLASS_NAME = "DocumentManagementRestClient";
18
17
  /**
19
- * Runtime name for the class.
20
- */
21
- CLASS_NAME = DocumentManagementClient._CLASS_NAME;
22
- /**
23
- * Create a new instance of DocumentManagementClient.
18
+ * Create a new instance of DocumentManagementRestClient.
24
19
  * @param config The configuration for the client.
25
20
  */
26
21
  constructor(config) {
27
- super(DocumentManagementClient._CLASS_NAME, config, "document-management");
22
+ super(DocumentManagementRestClient.CLASS_NAME, config, "document-management");
28
23
  }
29
24
  /**
30
25
  * Store a document as an auditable item graph vertex and add its content to blob storage.
@@ -43,9 +38,9 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
43
38
  * @returns The auditable item graph vertex created for the document including its revision.
44
39
  */
45
40
  async create(documentId, documentIdFormat, documentCode, blob, annotationObject, auditableItemGraphEdges, options) {
46
- core.Guards.stringValue(this.CLASS_NAME, "documentId", documentId);
47
- core.Guards.arrayOneOf(this.CLASS_NAME, "documentCode", documentCode, Object.values(standardsUnece.UneceDocumentCodes));
48
- core.Guards.uint8Array(this.CLASS_NAME, "blob", blob);
41
+ core.Guards.stringValue(DocumentManagementRestClient.CLASS_NAME, "documentId", documentId);
42
+ core.Guards.arrayOneOf(DocumentManagementRestClient.CLASS_NAME, "documentCode", documentCode, Object.values(standardsUnece.UneceDocumentCodes));
43
+ core.Guards.uint8Array(DocumentManagementRestClient.CLASS_NAME, "blob", blob);
49
44
  const response = await this.fetch("/", "POST", {
50
45
  body: {
51
46
  documentId,
@@ -72,7 +67,7 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
72
67
  * @returns Nothing.
73
68
  */
74
69
  async update(auditableItemGraphDocumentId, blob, annotationObject, auditableItemGraphEdges) {
75
- core.Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
70
+ core.Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
76
71
  await this.fetch("/:auditableItemGraphDocumentId", "PUT", {
77
72
  pathParams: {
78
73
  auditableItemGraphDocumentId
@@ -95,11 +90,11 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
95
90
  * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
96
91
  * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
97
92
  * @param cursor The cursor to get the next chunk of revisions.
98
- * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
93
+ * @param limit The limit of items to return, defaults to 1 so only most recent is returned.
99
94
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
100
95
  */
101
- async get(auditableItemGraphDocumentId, options, cursor, pageSize) {
102
- core.Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
96
+ async get(auditableItemGraphDocumentId, options, cursor, limit) {
97
+ core.Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
103
98
  const response = await this.fetch("/:auditableItemGraphDocumentId", "GET", {
104
99
  pathParams: {
105
100
  auditableItemGraphDocumentId
@@ -112,7 +107,7 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
112
107
  extractRuleGroupId: options?.extractRuleGroupId,
113
108
  extractMimeType: options?.extractMimeType,
114
109
  cursor,
115
- pageSize: core.Coerce.string(pageSize)
110
+ limit: core.Coerce.string(limit)
116
111
  }
117
112
  });
118
113
  return response.body;
@@ -130,8 +125,8 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
130
125
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
131
126
  */
132
127
  async getRevision(auditableItemGraphDocumentId, revision, options) {
133
- core.Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
134
- core.Guards.integer(this.CLASS_NAME, "revision", revision);
128
+ core.Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
129
+ core.Guards.integer(DocumentManagementRestClient.CLASS_NAME, "revision", revision);
135
130
  const response = await this.fetch("/:auditableItemGraphDocumentId/:revision", "GET", {
136
131
  pathParams: {
137
132
  auditableItemGraphDocumentId,
@@ -155,8 +150,8 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
155
150
  * @returns Nothing.
156
151
  */
157
152
  async removeRevision(auditableItemGraphDocumentId, revision) {
158
- core.Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
159
- core.Guards.number(this.CLASS_NAME, "revision", revision);
153
+ core.Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
154
+ core.Guards.number(DocumentManagementRestClient.CLASS_NAME, "revision", revision);
160
155
  await this.fetch("/:auditableItemGraphDocumentId/:revision", "DELETE", {
161
156
  pathParams: {
162
157
  auditableItemGraphDocumentId,
@@ -168,20 +163,20 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
168
163
  * Find all the document with a specific id.
169
164
  * @param documentId The document id to find in the graph.
170
165
  * @param cursor The cursor to get the next chunk of documents.
171
- * @param pageSize The page size to get the next chunk of documents.
166
+ * @param limit The limit to get the next chunk of documents.
172
167
  * @returns The graph vertices that contain documents referencing the specified document id.
173
168
  */
174
- async query(documentId, cursor, pageSize) {
175
- core.Guards.stringValue(this.CLASS_NAME, "documentId", documentId);
169
+ async query(documentId, cursor, limit) {
170
+ core.Guards.stringValue(DocumentManagementRestClient.CLASS_NAME, "documentId", documentId);
176
171
  const response = await this.fetch("/", "GET", {
177
172
  query: {
178
173
  documentId,
179
174
  cursor,
180
- pageSize: core.Coerce.string(pageSize)
175
+ limit: core.Coerce.string(limit)
181
176
  }
182
177
  });
183
178
  return response.body;
184
179
  }
185
180
  }
186
181
 
187
- exports.DocumentManagementClient = DocumentManagementClient;
182
+ exports.DocumentManagementRestClient = DocumentManagementRestClient;
@@ -7,22 +7,17 @@ import { UneceDocumentCodes } from '@twin.org/standards-unece';
7
7
  /**
8
8
  * Client for performing document management through to REST endpoints.
9
9
  */
10
- class DocumentManagementClient extends BaseRestClient {
10
+ class DocumentManagementRestClient extends BaseRestClient {
11
11
  /**
12
12
  * Runtime name for the class.
13
- * @internal
14
13
  */
15
- static _CLASS_NAME = "DocumentManagementClient";
14
+ static CLASS_NAME = "DocumentManagementRestClient";
16
15
  /**
17
- * Runtime name for the class.
18
- */
19
- CLASS_NAME = DocumentManagementClient._CLASS_NAME;
20
- /**
21
- * Create a new instance of DocumentManagementClient.
16
+ * Create a new instance of DocumentManagementRestClient.
22
17
  * @param config The configuration for the client.
23
18
  */
24
19
  constructor(config) {
25
- super(DocumentManagementClient._CLASS_NAME, config, "document-management");
20
+ super(DocumentManagementRestClient.CLASS_NAME, config, "document-management");
26
21
  }
27
22
  /**
28
23
  * Store a document as an auditable item graph vertex and add its content to blob storage.
@@ -41,9 +36,9 @@ class DocumentManagementClient extends BaseRestClient {
41
36
  * @returns The auditable item graph vertex created for the document including its revision.
42
37
  */
43
38
  async create(documentId, documentIdFormat, documentCode, blob, annotationObject, auditableItemGraphEdges, options) {
44
- Guards.stringValue(this.CLASS_NAME, "documentId", documentId);
45
- Guards.arrayOneOf(this.CLASS_NAME, "documentCode", documentCode, Object.values(UneceDocumentCodes));
46
- Guards.uint8Array(this.CLASS_NAME, "blob", blob);
39
+ Guards.stringValue(DocumentManagementRestClient.CLASS_NAME, "documentId", documentId);
40
+ Guards.arrayOneOf(DocumentManagementRestClient.CLASS_NAME, "documentCode", documentCode, Object.values(UneceDocumentCodes));
41
+ Guards.uint8Array(DocumentManagementRestClient.CLASS_NAME, "blob", blob);
47
42
  const response = await this.fetch("/", "POST", {
48
43
  body: {
49
44
  documentId,
@@ -70,7 +65,7 @@ class DocumentManagementClient extends BaseRestClient {
70
65
  * @returns Nothing.
71
66
  */
72
67
  async update(auditableItemGraphDocumentId, blob, annotationObject, auditableItemGraphEdges) {
73
- Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
68
+ Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
74
69
  await this.fetch("/:auditableItemGraphDocumentId", "PUT", {
75
70
  pathParams: {
76
71
  auditableItemGraphDocumentId
@@ -93,11 +88,11 @@ class DocumentManagementClient extends BaseRestClient {
93
88
  * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
94
89
  * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
95
90
  * @param cursor The cursor to get the next chunk of revisions.
96
- * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
91
+ * @param limit The limit of items to return, defaults to 1 so only most recent is returned.
97
92
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
98
93
  */
99
- async get(auditableItemGraphDocumentId, options, cursor, pageSize) {
100
- Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
94
+ async get(auditableItemGraphDocumentId, options, cursor, limit) {
95
+ Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
101
96
  const response = await this.fetch("/:auditableItemGraphDocumentId", "GET", {
102
97
  pathParams: {
103
98
  auditableItemGraphDocumentId
@@ -110,7 +105,7 @@ class DocumentManagementClient extends BaseRestClient {
110
105
  extractRuleGroupId: options?.extractRuleGroupId,
111
106
  extractMimeType: options?.extractMimeType,
112
107
  cursor,
113
- pageSize: Coerce.string(pageSize)
108
+ limit: Coerce.string(limit)
114
109
  }
115
110
  });
116
111
  return response.body;
@@ -128,8 +123,8 @@ class DocumentManagementClient extends BaseRestClient {
128
123
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
129
124
  */
130
125
  async getRevision(auditableItemGraphDocumentId, revision, options) {
131
- Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
132
- Guards.integer(this.CLASS_NAME, "revision", revision);
126
+ Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
127
+ Guards.integer(DocumentManagementRestClient.CLASS_NAME, "revision", revision);
133
128
  const response = await this.fetch("/:auditableItemGraphDocumentId/:revision", "GET", {
134
129
  pathParams: {
135
130
  auditableItemGraphDocumentId,
@@ -153,8 +148,8 @@ class DocumentManagementClient extends BaseRestClient {
153
148
  * @returns Nothing.
154
149
  */
155
150
  async removeRevision(auditableItemGraphDocumentId, revision) {
156
- Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
157
- Guards.number(this.CLASS_NAME, "revision", revision);
151
+ Urn.guard(DocumentManagementRestClient.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
152
+ Guards.number(DocumentManagementRestClient.CLASS_NAME, "revision", revision);
158
153
  await this.fetch("/:auditableItemGraphDocumentId/:revision", "DELETE", {
159
154
  pathParams: {
160
155
  auditableItemGraphDocumentId,
@@ -166,20 +161,20 @@ class DocumentManagementClient extends BaseRestClient {
166
161
  * Find all the document with a specific id.
167
162
  * @param documentId The document id to find in the graph.
168
163
  * @param cursor The cursor to get the next chunk of documents.
169
- * @param pageSize The page size to get the next chunk of documents.
164
+ * @param limit The limit to get the next chunk of documents.
170
165
  * @returns The graph vertices that contain documents referencing the specified document id.
171
166
  */
172
- async query(documentId, cursor, pageSize) {
173
- Guards.stringValue(this.CLASS_NAME, "documentId", documentId);
167
+ async query(documentId, cursor, limit) {
168
+ Guards.stringValue(DocumentManagementRestClient.CLASS_NAME, "documentId", documentId);
174
169
  const response = await this.fetch("/", "GET", {
175
170
  query: {
176
171
  documentId,
177
172
  cursor,
178
- pageSize: Coerce.string(pageSize)
173
+ limit: Coerce.string(limit)
179
174
  }
180
175
  });
181
176
  return response.body;
182
177
  }
183
178
  }
184
179
 
185
- export { DocumentManagementClient };
180
+ export { DocumentManagementRestClient };
@@ -7,13 +7,13 @@ import { UneceDocumentCodes } from "@twin.org/standards-unece";
7
7
  /**
8
8
  * Client for performing document management through to REST endpoints.
9
9
  */
10
- export declare class DocumentManagementClient extends BaseRestClient implements IDocumentManagementComponent {
10
+ export declare class DocumentManagementRestClient extends BaseRestClient implements IDocumentManagementComponent {
11
11
  /**
12
12
  * Runtime name for the class.
13
13
  */
14
- readonly CLASS_NAME: string;
14
+ static readonly CLASS_NAME: string;
15
15
  /**
16
- * Create a new instance of DocumentManagementClient.
16
+ * Create a new instance of DocumentManagementRestClient.
17
17
  * @param config The configuration for the client.
18
18
  */
19
19
  constructor(config: IBaseRestClientConfig);
@@ -34,7 +34,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
34
34
  * @returns The auditable item graph vertex created for the document including its revision.
35
35
  */
36
36
  create(documentId: string, documentIdFormat: string | undefined, documentCode: UneceDocumentCodes, blob: Uint8Array, annotationObject?: IJsonLdNodeObject, auditableItemGraphEdges?: {
37
- id: string;
37
+ targetId: string;
38
38
  addAlias?: boolean;
39
39
  aliasAnnotationObject?: IJsonLdNodeObject;
40
40
  }[], options?: {
@@ -53,7 +53,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
53
53
  * @returns Nothing.
54
54
  */
55
55
  update(auditableItemGraphDocumentId: string, blob?: Uint8Array, annotationObject?: IJsonLdNodeObject, auditableItemGraphEdges?: {
56
- id: string;
56
+ targetId: string;
57
57
  addAlias?: boolean;
58
58
  aliasAnnotationObject?: IJsonLdNodeObject;
59
59
  }[]): Promise<void>;
@@ -68,7 +68,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
68
68
  * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
69
69
  * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
70
70
  * @param cursor The cursor to get the next chunk of revisions.
71
- * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
71
+ * @param limit The limit of items to return, defaults to 1 so only most recent is returned.
72
72
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
73
73
  */
74
74
  get(auditableItemGraphDocumentId: string, options?: {
@@ -78,7 +78,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
78
78
  includeRemoved?: boolean;
79
79
  extractRuleGroupId?: string;
80
80
  extractMimeType?: string;
81
- }, cursor?: string, pageSize?: number): Promise<IDocumentList>;
81
+ }, cursor?: string, limit?: number): Promise<IDocumentList>;
82
82
  /**
83
83
  * Get a document revision using it's auditable item graph vertex id.
84
84
  * @param auditableItemGraphDocumentId The auditable item graph vertex id which contains the document.
@@ -110,8 +110,8 @@ export declare class DocumentManagementClient extends BaseRestClient implements
110
110
  * Find all the document with a specific id.
111
111
  * @param documentId The document id to find in the graph.
112
112
  * @param cursor The cursor to get the next chunk of documents.
113
- * @param pageSize The page size to get the next chunk of documents.
113
+ * @param limit The limit to get the next chunk of documents.
114
114
  * @returns The graph vertices that contain documents referencing the specified document id.
115
115
  */
116
- query(documentId: string, cursor?: string, pageSize?: number): Promise<IAuditableItemGraphVertexList>;
116
+ query(documentId: string, cursor?: string, limit?: number): Promise<IAuditableItemGraphVertexList>;
117
117
  }
@@ -1 +1 @@
1
- export * from "./documentManagementClient";
1
+ export * from "./documentManagementRestClient";
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @twin.org/document-management-rest-client - Changelog
2
2
 
3
+ ## [0.0.2-next.4](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.2-next.3...document-management-rest-client-v0.0.2-next.4) (2025-10-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * add validate-locales ([b6b6f9e](https://github.com/twinfoundation/document-management/commit/b6b6f9e9d66c17af3d030247ca168ac0b5844bdc))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/document-management-models bumped from 0.0.2-next.3 to 0.0.2-next.4
16
+
17
+ ## [0.0.2-next.3](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.2-next.2...document-management-rest-client-v0.0.2-next.3) (2025-09-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * use targetId in AIG for edges ([82dec81](https://github.com/twinfoundation/document-management/commit/82dec8190d8b523b350ef133bdcf648cab1023b0))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/document-management-models bumped from 0.0.2-next.2 to 0.0.2-next.3
30
+
3
31
  ## [0.0.2-next.2](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.2-next.1...document-management-rest-client-v0.0.2-next.2) (2025-08-29)
4
32
 
5
33
 
@@ -1,4 +1,4 @@
1
- # Class: DocumentManagementClient
1
+ # Class: DocumentManagementRestClient
2
2
 
3
3
  Client for performing document management through to REST endpoints.
4
4
 
@@ -14,9 +14,9 @@ Client for performing document management through to REST endpoints.
14
14
 
15
15
  ### Constructor
16
16
 
17
- > **new DocumentManagementClient**(`config`): `DocumentManagementClient`
17
+ > **new DocumentManagementRestClient**(`config`): `DocumentManagementRestClient`
18
18
 
19
- Create a new instance of DocumentManagementClient.
19
+ Create a new instance of DocumentManagementRestClient.
20
20
 
21
21
  #### Parameters
22
22
 
@@ -28,7 +28,7 @@ The configuration for the client.
28
28
 
29
29
  #### Returns
30
30
 
31
- `DocumentManagementClient`
31
+ `DocumentManagementRestClient`
32
32
 
33
33
  #### Overrides
34
34
 
@@ -38,14 +38,10 @@ The configuration for the client.
38
38
 
39
39
  ### CLASS\_NAME
40
40
 
41
- > `readonly` **CLASS\_NAME**: `string` = `DocumentManagementClient._CLASS_NAME`
41
+ > `readonly` `static` **CLASS\_NAME**: `string`
42
42
 
43
43
  Runtime name for the class.
44
44
 
45
- #### Implementation of
46
-
47
- `IDocumentManagementComponent.CLASS_NAME`
48
-
49
45
  ## Methods
50
46
 
51
47
  ### create()
@@ -176,7 +172,7 @@ Nothing.
176
172
 
177
173
  ### get()
178
174
 
179
- > **get**(`auditableItemGraphDocumentId`, `options?`, `cursor?`, `pageSize?`): `Promise`\<`IDocumentList`\>
175
+ > **get**(`auditableItemGraphDocumentId`, `options?`, `cursor?`, `limit?`): `Promise`\<`IDocumentList`\>
180
176
 
181
177
  Get a document using it's auditable item graph vertex id and optional revision.
182
178
 
@@ -234,11 +230,11 @@ By default extraction will auto detect the mime type of the document, this can b
234
230
 
235
231
  The cursor to get the next chunk of revisions.
236
232
 
237
- ##### pageSize?
233
+ ##### limit?
238
234
 
239
235
  `number`
240
236
 
241
- Page size of items to return, defaults to 1 so only most recent is returned.
237
+ The limit of items to return, defaults to 1 so only most recent is returned.
242
238
 
243
239
  #### Returns
244
240
 
@@ -353,7 +349,7 @@ Nothing.
353
349
 
354
350
  ### query()
355
351
 
356
- > **query**(`documentId`, `cursor?`, `pageSize?`): `Promise`\<`IAuditableItemGraphVertexList`\>
352
+ > **query**(`documentId`, `cursor?`, `limit?`): `Promise`\<`IAuditableItemGraphVertexList`\>
357
353
 
358
354
  Find all the document with a specific id.
359
355
 
@@ -371,11 +367,11 @@ The document id to find in the graph.
371
367
 
372
368
  The cursor to get the next chunk of documents.
373
369
 
374
- ##### pageSize?
370
+ ##### limit?
375
371
 
376
372
  `number`
377
373
 
378
- The page size to get the next chunk of documents.
374
+ The limit to get the next chunk of documents.
379
375
 
380
376
  #### Returns
381
377
 
@@ -2,4 +2,4 @@
2
2
 
3
3
  ## Classes
4
4
 
5
- - [DocumentManagementClient](classes/DocumentManagementClient.md)
5
+ - [DocumentManagementRestClient](classes/DocumentManagementRestClient.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/document-management-rest-client",
3
- "version": "0.0.2-next.2",
3
+ "version": "0.0.2-next.4",
4
4
  "description": "Document management contract implementation which can connect to REST endpoints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "@twin.org/auditable-item-graph-models": "next",
20
20
  "@twin.org/core": "next",
21
21
  "@twin.org/data-json-ld": "next",
22
- "@twin.org/document-management-models": "0.0.2-next.2",
22
+ "@twin.org/document-management-models": "0.0.2-next.4",
23
23
  "@twin.org/entity": "next",
24
24
  "@twin.org/nameof": "next",
25
25
  "@twin.org/standards-unece": "next",
@@ -42,5 +42,21 @@
42
42
  "dist/types",
43
43
  "locales",
44
44
  "docs"
45
- ]
45
+ ],
46
+ "keywords": [
47
+ "twin",
48
+ "trade",
49
+ "iota",
50
+ "framework",
51
+ "blockchain",
52
+ "document-management",
53
+ "documents",
54
+ "management",
55
+ "storage",
56
+ "rest-api"
57
+ ],
58
+ "bugs": {
59
+ "url": "git+https://github.com/twinfoundation/document-management/issues"
60
+ },
61
+ "homepage": "https://twindev.org"
46
62
  }