@wildix/wim-knowledge-base-client 0.1.4 → 0.1.5

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.
@@ -609,10 +609,8 @@ const se_UpdateDocumentCommand = async (input, context) => {
609
609
  body = JSON.stringify((0, smithy_client_1.take)(input, {
610
610
  'content': [],
611
611
  'description': [],
612
- 'originalFormat': [],
613
- 'originalId': [],
614
- 'originalName': [],
615
612
  'title': [],
613
+ 'updatedAt': [],
616
614
  'url': [],
617
615
  }));
618
616
  b.m("PUT")
@@ -574,10 +574,8 @@ export const se_UpdateDocumentCommand = async (input, context) => {
574
574
  body = JSON.stringify(take(input, {
575
575
  'content': [],
576
576
  'description': [],
577
- 'originalFormat': [],
578
- 'originalId': [],
579
- 'originalName': [],
580
577
  'title': [],
578
+ 'updatedAt': [],
581
579
  'url': [],
582
580
  }));
583
581
  b.m("PUT")
@@ -35,13 +35,11 @@ declare const UpdateDocumentCommand_base: {
35
35
  * // const { KnowledgeBaseClient, UpdateDocumentCommand } = require("@wildix/wim-knowledge-base-client"); // CommonJS import
36
36
  * const client = new KnowledgeBaseClient(config);
37
37
  * const input = { // UpdateDocumentInput
38
- * title: "STRING_VALUE", // required
38
+ * title: "STRING_VALUE",
39
39
  * url: "STRING_VALUE",
40
- * content: "STRING_VALUE",
41
40
  * description: "STRING_VALUE",
42
- * originalFormat: "STRING_VALUE", // required
43
- * originalName: "STRING_VALUE", // required
44
- * originalId: "STRING_VALUE",
41
+ * content: "STRING_VALUE",
42
+ * updatedAt: "STRING_VALUE",
45
43
  * companyId: "STRING_VALUE",
46
44
  * dataSourceId: "STRING_VALUE", // required
47
45
  * documentId: "STRING_VALUE", // required
@@ -1973,37 +1973,27 @@ export interface UpdateDocumentInput {
1973
1973
  * Display title of the document used in search results and UI. Can differ from originalName. Examples: 'Product Installation Guide', 'API Documentation'. Length: 2-100 characters
1974
1974
  * @public
1975
1975
  */
1976
- title: string;
1976
+ title?: string | undefined;
1977
1977
  /**
1978
1978
  * Optional URL where the document can be accessed or viewed. Used for providing direct links to the source. Example: https://confluence.company.com/wiki/Product_Documentation
1979
1979
  * @public
1980
1980
  */
1981
1981
  url?: string | undefined;
1982
- /**
1983
- * Optional document content in plain text or markdown format. For file uploads, can be the document content.
1984
- * @public
1985
- */
1986
- content?: string | undefined;
1987
1982
  /**
1988
1983
  * Optional detailed description of the document content and purpose. Helps users understand what the document is about.
1989
1984
  * @public
1990
1985
  */
1991
1986
  description?: string | undefined;
1992
1987
  /**
1993
- * File format/extension of the original document for reference. Examples: 'pdf', 'docx', 'md', 'html', 'txt'. Helps identify source document type
1994
- * @public
1995
- */
1996
- originalFormat: string;
1997
- /**
1998
- * Original filename or identifier of the source document. Preserves the source document name. Examples: 'product-knowledge-base.pdf', 'installation-guide.docx'
1988
+ * Optional document content in plain text or markdown format. For file uploads, can be the document content.
1999
1989
  * @public
2000
1990
  */
2001
- originalName: string;
1991
+ content?: string | undefined;
2002
1992
  /**
2003
- * Original ID from the source system, preserving the reference to the source document. Examples: 'confluence-page-1234567890' (for Confluence), 'gdrive-file-abc123' (for Google Drive), sha1(original-file-content) (for file uploads)
1993
+ * Timestamp when the document was last updated (ISO 8601 format). Example: 2021-01-01T00:00:00Z
2004
1994
  * @public
2005
1995
  */
2006
- originalId?: string | undefined;
1996
+ updatedAt?: string | undefined;
2007
1997
  /**
2008
1998
  * The unique identifier of the tenant when a service token is used.
2009
1999
  * @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",
4
+ "version": "0.1.5",
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",