@wildix/wim-knowledge-base-client 0.0.23 → 0.0.24
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-types/commands/CreateKnowledgeBaseCommand.d.ts +14 -4
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +7 -2
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -2
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +14 -4
- package/dist-types/models/models_0.d.ts +28 -3
- package/package.json +1 -1
|
@@ -37,8 +37,13 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
37
37
|
* const input = { // CreateKnowledgeBaseInput
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
39
|
* description: "STRING_VALUE",
|
|
40
|
-
* dataSources: [ //
|
|
41
|
-
*
|
|
40
|
+
* dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
41
|
+
* { // DataSourceListItem
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
45
|
+
* enabled: true || false, // required
|
|
46
|
+
* },
|
|
42
47
|
* ],
|
|
43
48
|
* companyId: "STRING_VALUE",
|
|
44
49
|
* };
|
|
@@ -48,8 +53,13 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
48
53
|
* // knowledgeBase: { // KnowledgeBaseItem
|
|
49
54
|
* // name: "STRING_VALUE", // required
|
|
50
55
|
* // description: "STRING_VALUE",
|
|
51
|
-
* // dataSources: [ //
|
|
52
|
-
* //
|
|
56
|
+
* // dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
57
|
+
* // { // DataSourceListItem
|
|
58
|
+
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
61
|
+
* // enabled: true || false, // required
|
|
62
|
+
* // },
|
|
53
63
|
* // ],
|
|
54
64
|
* // id: "STRING_VALUE", // required
|
|
55
65
|
* // companyId: "STRING_VALUE", // required
|
|
@@ -44,8 +44,13 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
44
44
|
* // knowledgeBase: { // KnowledgeBaseItem
|
|
45
45
|
* // name: "STRING_VALUE", // required
|
|
46
46
|
* // description: "STRING_VALUE",
|
|
47
|
-
* // dataSources: [ //
|
|
48
|
-
* //
|
|
47
|
+
* // dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
48
|
+
* // { // DataSourceListItem
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
52
|
+
* // enabled: true || false, // required
|
|
53
|
+
* // },
|
|
49
54
|
* // ],
|
|
50
55
|
* // id: "STRING_VALUE", // required
|
|
51
56
|
* // companyId: "STRING_VALUE", // required
|
|
@@ -44,8 +44,13 @@ declare const ListKnowledgeBasesCommand_base: {
|
|
|
44
44
|
* // { // KnowledgeBaseItem
|
|
45
45
|
* // name: "STRING_VALUE", // required
|
|
46
46
|
* // description: "STRING_VALUE",
|
|
47
|
-
* // dataSources: [ //
|
|
48
|
-
* //
|
|
47
|
+
* // dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
48
|
+
* // { // DataSourceListItem
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
52
|
+
* // enabled: true || false, // required
|
|
53
|
+
* // },
|
|
49
54
|
* // ],
|
|
50
55
|
* // id: "STRING_VALUE", // required
|
|
51
56
|
* // companyId: "STRING_VALUE", // required
|
|
@@ -37,8 +37,13 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
37
37
|
* const input = { // UpdateKnowledgeBaseInput
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
39
|
* description: "STRING_VALUE",
|
|
40
|
-
* dataSources: [ //
|
|
41
|
-
*
|
|
40
|
+
* dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
41
|
+
* { // DataSourceListItem
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
45
|
+
* enabled: true || false, // required
|
|
46
|
+
* },
|
|
42
47
|
* ],
|
|
43
48
|
* companyId: "STRING_VALUE",
|
|
44
49
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
@@ -49,8 +54,13 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
49
54
|
* // knowledgeBase: { // KnowledgeBaseItem
|
|
50
55
|
* // name: "STRING_VALUE", // required
|
|
51
56
|
* // description: "STRING_VALUE",
|
|
52
|
-
* // dataSources: [ //
|
|
53
|
-
* //
|
|
57
|
+
* // dataSources: [ // KnowledgeBaseDataSourcesList // required
|
|
58
|
+
* // { // DataSourceListItem
|
|
59
|
+
* // id: "STRING_VALUE", // required
|
|
60
|
+
* // name: "STRING_VALUE", // required
|
|
61
|
+
* // type: "files" || "confluence" || "gdrive" || "proxy", // required
|
|
62
|
+
* // enabled: true || false, // required
|
|
63
|
+
* // },
|
|
54
64
|
* // ],
|
|
55
65
|
* // id: "STRING_VALUE", // required
|
|
56
66
|
* // companyId: "STRING_VALUE", // required
|
|
@@ -579,6 +579,31 @@ export interface DocumentItem {
|
|
|
579
579
|
export interface CreateDocumentOutput {
|
|
580
580
|
document: DocumentItem;
|
|
581
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
export interface DataSourceListItem {
|
|
586
|
+
/**
|
|
587
|
+
* The ID of the data source. Example: 123e4567-e89b-12d3-a456-426614174000
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
id: string;
|
|
591
|
+
/**
|
|
592
|
+
* The name of the data source. Example: Product Confluence
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
name: string;
|
|
596
|
+
/**
|
|
597
|
+
* The type of the data source. Example: confluence
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
type: DataSourceType;
|
|
601
|
+
/**
|
|
602
|
+
* Whether the data source is enabled. Example: true
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
enabled: boolean;
|
|
606
|
+
}
|
|
582
607
|
/**
|
|
583
608
|
* @public
|
|
584
609
|
*/
|
|
@@ -593,7 +618,7 @@ export interface CreateKnowledgeBaseInput {
|
|
|
593
618
|
* @public
|
|
594
619
|
*/
|
|
595
620
|
description?: string | undefined;
|
|
596
|
-
dataSources: (
|
|
621
|
+
dataSources: (DataSourceListItem)[];
|
|
597
622
|
/**
|
|
598
623
|
* The unique identifier of the tenant when a service token is used.
|
|
599
624
|
* @public
|
|
@@ -614,7 +639,7 @@ export interface KnowledgeBaseItem {
|
|
|
614
639
|
* @public
|
|
615
640
|
*/
|
|
616
641
|
description?: string | undefined;
|
|
617
|
-
dataSources: (
|
|
642
|
+
dataSources: (DataSourceListItem)[];
|
|
618
643
|
/**
|
|
619
644
|
* The ID of the knowledge base. Example: 123e4567-e89b-12d3-a456-426614174000
|
|
620
645
|
* @public
|
|
@@ -1512,7 +1537,7 @@ export interface UpdateKnowledgeBaseInput {
|
|
|
1512
1537
|
* @public
|
|
1513
1538
|
*/
|
|
1514
1539
|
description?: string | undefined;
|
|
1515
|
-
dataSources: (
|
|
1540
|
+
dataSources: (DataSourceListItem)[];
|
|
1516
1541
|
/**
|
|
1517
1542
|
* The unique identifier of the tenant when a service token is used.
|
|
1518
1543
|
* @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.0.
|
|
4
|
+
"version": "0.0.24",
|
|
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",
|