@wildix/wim-knowledge-base-client 0.0.22 → 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/DescribeDataSourceCommand.d.ts +4 -1
- 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 +35 -5
- 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
|
|
@@ -45,7 +45,7 @@ declare const DescribeDataSourceCommand_base: {
|
|
|
45
45
|
* pages: { // DescribeDataSourceConfluencePagesParameters
|
|
46
46
|
* spaceId: "STRING_VALUE", // required
|
|
47
47
|
* parentId: "STRING_VALUE",
|
|
48
|
-
*
|
|
48
|
+
* enabled: [ // StringList
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* },
|
|
@@ -56,6 +56,9 @@ declare const DescribeDataSourceCommand_base: {
|
|
|
56
56
|
* },
|
|
57
57
|
* folders: { // DescribeDataSourceGDriveFoldersParameters
|
|
58
58
|
* parentId: "STRING_VALUE", // required
|
|
59
|
+
* enabled: [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
59
62
|
* },
|
|
60
63
|
* },
|
|
61
64
|
* proxy: "DOCUMENT_VALUE",
|
|
@@ -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
|
|
@@ -710,10 +735,10 @@ export interface DescribeDataSourceConfluencePagesParameters {
|
|
|
710
735
|
*/
|
|
711
736
|
parentId?: string | undefined;
|
|
712
737
|
/**
|
|
713
|
-
*
|
|
738
|
+
* List of page IDs to describe.
|
|
714
739
|
* @public
|
|
715
740
|
*/
|
|
716
|
-
|
|
741
|
+
enabled?: (string)[] | undefined;
|
|
717
742
|
}
|
|
718
743
|
/**
|
|
719
744
|
* @public
|
|
@@ -749,6 +774,11 @@ export interface DescribeDataSourceGDriveFoldersParameters {
|
|
|
749
774
|
* @public
|
|
750
775
|
*/
|
|
751
776
|
parentId: string;
|
|
777
|
+
/**
|
|
778
|
+
* List of folder IDs to describe.
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
enabled?: (string)[] | undefined;
|
|
752
782
|
}
|
|
753
783
|
/**
|
|
754
784
|
* @public
|
|
@@ -1507,7 +1537,7 @@ export interface UpdateKnowledgeBaseInput {
|
|
|
1507
1537
|
* @public
|
|
1508
1538
|
*/
|
|
1509
1539
|
description?: string | undefined;
|
|
1510
|
-
dataSources: (
|
|
1540
|
+
dataSources: (DataSourceListItem)[];
|
|
1511
1541
|
/**
|
|
1512
1542
|
* The unique identifier of the tenant when a service token is used.
|
|
1513
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",
|