@wildix/wim-knowledge-base-client 0.1.2 → 0.1.3
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.
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateDocumentCommand.d.ts +2 -0
- package/dist-types/commands/GetDocumentCommand.d.ts +1 -0
- package/dist-types/commands/GetDocumentWithContentAndChunksCommand.d.ts +1 -0
- package/dist-types/commands/ListDocumentsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDocumentCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/package.json +1 -1
|
@@ -96,6 +96,7 @@ const se_CreateDocumentCommand = async (input, context) => {
|
|
|
96
96
|
let body;
|
|
97
97
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
98
98
|
'content': [],
|
|
99
|
+
'description': [],
|
|
99
100
|
'metadata': _ => se_Document(_, context),
|
|
100
101
|
'originalFormat': [],
|
|
101
102
|
'originalId': [],
|
|
@@ -605,6 +606,7 @@ const se_UpdateDocumentCommand = async (input, context) => {
|
|
|
605
606
|
let body;
|
|
606
607
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
607
608
|
'content': [],
|
|
609
|
+
'description': [],
|
|
608
610
|
'originalFormat': [],
|
|
609
611
|
'originalId': [],
|
|
610
612
|
'originalName': [],
|
|
@@ -88,6 +88,7 @@ export const se_CreateDocumentCommand = async (input, context) => {
|
|
|
88
88
|
let body;
|
|
89
89
|
body = JSON.stringify(take(input, {
|
|
90
90
|
'content': [],
|
|
91
|
+
'description': [],
|
|
91
92
|
'metadata': _ => se_Document(_, context),
|
|
92
93
|
'originalFormat': [],
|
|
93
94
|
'originalId': [],
|
|
@@ -570,6 +571,7 @@ export const se_UpdateDocumentCommand = async (input, context) => {
|
|
|
570
571
|
let body;
|
|
571
572
|
body = JSON.stringify(take(input, {
|
|
572
573
|
'content': [],
|
|
574
|
+
'description': [],
|
|
573
575
|
'originalFormat': [],
|
|
574
576
|
'originalId': [],
|
|
575
577
|
'originalName': [],
|
|
@@ -38,6 +38,7 @@ declare const CreateDocumentCommand_base: {
|
|
|
38
38
|
* title: "STRING_VALUE", // required
|
|
39
39
|
* url: "STRING_VALUE",
|
|
40
40
|
* content: "STRING_VALUE",
|
|
41
|
+
* description: "STRING_VALUE",
|
|
41
42
|
* originalFormat: "STRING_VALUE", // required
|
|
42
43
|
* originalName: "STRING_VALUE", // required
|
|
43
44
|
* originalId: "STRING_VALUE",
|
|
@@ -52,6 +53,7 @@ declare const CreateDocumentCommand_base: {
|
|
|
52
53
|
* // title: "STRING_VALUE", // required
|
|
53
54
|
* // url: "STRING_VALUE",
|
|
54
55
|
* // content: "STRING_VALUE",
|
|
56
|
+
* // description: "STRING_VALUE",
|
|
55
57
|
* // originalFormat: "STRING_VALUE", // required
|
|
56
58
|
* // originalName: "STRING_VALUE", // required
|
|
57
59
|
* // originalId: "STRING_VALUE",
|
|
@@ -46,6 +46,7 @@ declare const GetDocumentCommand_base: {
|
|
|
46
46
|
* // title: "STRING_VALUE", // required
|
|
47
47
|
* // url: "STRING_VALUE",
|
|
48
48
|
* // content: "STRING_VALUE",
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
49
50
|
* // originalFormat: "STRING_VALUE", // required
|
|
50
51
|
* // originalName: "STRING_VALUE", // required
|
|
51
52
|
* // originalId: "STRING_VALUE",
|
|
@@ -46,6 +46,7 @@ declare const GetDocumentWithContentAndChunksCommand_base: {
|
|
|
46
46
|
* // title: "STRING_VALUE", // required
|
|
47
47
|
* // url: "STRING_VALUE",
|
|
48
48
|
* // content: "STRING_VALUE",
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
49
50
|
* // originalFormat: "STRING_VALUE", // required
|
|
50
51
|
* // originalName: "STRING_VALUE", // required
|
|
51
52
|
* // originalId: "STRING_VALUE",
|
|
@@ -50,6 +50,7 @@ declare const ListDocumentsCommand_base: {
|
|
|
50
50
|
* // title: "STRING_VALUE", // required
|
|
51
51
|
* // url: "STRING_VALUE",
|
|
52
52
|
* // content: "STRING_VALUE",
|
|
53
|
+
* // description: "STRING_VALUE",
|
|
53
54
|
* // originalFormat: "STRING_VALUE", // required
|
|
54
55
|
* // originalName: "STRING_VALUE", // required
|
|
55
56
|
* // originalId: "STRING_VALUE",
|
|
@@ -38,6 +38,7 @@ declare const UpdateDocumentCommand_base: {
|
|
|
38
38
|
* title: "STRING_VALUE", // required
|
|
39
39
|
* url: "STRING_VALUE",
|
|
40
40
|
* content: "STRING_VALUE",
|
|
41
|
+
* description: "STRING_VALUE",
|
|
41
42
|
* originalFormat: "STRING_VALUE", // required
|
|
42
43
|
* originalName: "STRING_VALUE", // required
|
|
43
44
|
* originalId: "STRING_VALUE",
|
|
@@ -52,6 +53,7 @@ declare const UpdateDocumentCommand_base: {
|
|
|
52
53
|
* // title: "STRING_VALUE", // required
|
|
53
54
|
* // url: "STRING_VALUE",
|
|
54
55
|
* // content: "STRING_VALUE",
|
|
56
|
+
* // description: "STRING_VALUE",
|
|
55
57
|
* // originalFormat: "STRING_VALUE", // required
|
|
56
58
|
* // originalName: "STRING_VALUE", // required
|
|
57
59
|
* // originalId: "STRING_VALUE",
|
|
@@ -416,6 +416,11 @@ export interface CreateDocumentInput {
|
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
418
|
content?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* Optional detailed description of the document content and purpose. Helps users understand what the document is about.
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
description?: string | undefined;
|
|
419
424
|
/**
|
|
420
425
|
* File format/extension of the original document for reference. Examples: 'pdf', 'docx', 'md', 'html', 'txt'. Helps identify source document type
|
|
421
426
|
* @public
|
|
@@ -481,6 +486,11 @@ export interface DocumentItem {
|
|
|
481
486
|
* @public
|
|
482
487
|
*/
|
|
483
488
|
content?: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* Optional detailed description of the document content and purpose. Helps users understand what the document is about.
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
description?: string | undefined;
|
|
484
494
|
/**
|
|
485
495
|
* File format/extension of the original document for reference. Examples: 'pdf', 'docx', 'md', 'html', 'txt'. Helps identify source document type
|
|
486
496
|
* @public
|
|
@@ -1964,6 +1974,11 @@ export interface UpdateDocumentInput {
|
|
|
1964
1974
|
* @public
|
|
1965
1975
|
*/
|
|
1966
1976
|
content?: string | undefined;
|
|
1977
|
+
/**
|
|
1978
|
+
* Optional detailed description of the document content and purpose. Helps users understand what the document is about.
|
|
1979
|
+
* @public
|
|
1980
|
+
*/
|
|
1981
|
+
description?: string | undefined;
|
|
1967
1982
|
/**
|
|
1968
1983
|
* File format/extension of the original document for reference. Examples: 'pdf', 'docx', 'md', 'html', 'txt'. Helps identify source document type
|
|
1969
1984
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wim-knowledge-base-client",
|
|
3
3
|
"description": "@wildix/wim-knowledge-base-client client",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|