mavenagi 1.2.44 → 1.2.46

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.
Files changed (30) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/conversation/types/ConversationRequest.d.ts +10 -1
  3. package/api/resources/conversation/types/UpdateMetadataRequest.d.ts +7 -1
  4. package/api/resources/customers/types/CustomerBase.d.ts +8 -0
  5. package/api/resources/customers/types/CustomerPatchRequest.d.ts +10 -1
  6. package/api/resources/inbox/client/requests/InboxItemPatchRequest.d.ts +8 -1
  7. package/api/resources/inbox/types/InboxItemCreateRequest.d.ts +8 -1
  8. package/api/resources/knowledge/types/KnowledgeBaseIndexingProgressState.d.ts +13 -0
  9. package/api/resources/knowledge/types/KnowledgeBaseIndexingProgressState.js +3 -0
  10. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +10 -0
  11. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +13 -0
  12. package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +8 -1
  13. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  14. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  15. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +8 -1
  16. package/api/resources/knowledge/types/index.d.ts +2 -0
  17. package/api/resources/knowledge/types/index.js +2 -0
  18. package/package.json +1 -1
  19. package/serialization/resources/knowledge/types/KnowledgeBaseIndexingProgressState.d.ts +15 -0
  20. package/serialization/resources/knowledge/types/KnowledgeBaseIndexingProgressState.js +47 -0
  21. package/serialization/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +7 -0
  22. package/serialization/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +39 -0
  23. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  24. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
  25. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  26. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
  27. package/serialization/resources/knowledge/types/index.d.ts +2 -0
  28. package/serialization/resources/knowledge/types/index.js +2 -0
  29. package/version.d.ts +1 -1
  30. package/version.js +1 -1
package/BaseClient.js CHANGED
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "mavenagi",
46
- "X-Fern-SDK-Version": "1.2.44",
47
- "User-Agent": "mavenagi/1.2.44",
46
+ "X-Fern-SDK-Version": "1.2.46",
47
+ "User-Agent": "mavenagi/1.2.46",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
@@ -20,7 +20,16 @@ export interface ConversationRequest {
20
20
  updatedAt?: Date;
21
21
  /** The tags of the conversation. Used for filtering in Agent Designer. */
22
22
  tags?: Set<string>;
23
- /** The metadata of the conversation supplied by the app which created the conversation. */
23
+ /**
24
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
25
+ * additional information about the object in a structured format, and querying for objects
26
+ * via API or the dashboard.
27
+ *
28
+ * Keys are strings with a maximum length of 500 characters. Values are strings with a maximum
29
+ * length of 512 characters.
30
+ *
31
+ * The metadata of the conversation supplied by the app which created the conversation.
32
+ */
24
33
  metadata?: Record<string, string>;
25
34
  /** The messages in the conversation */
26
35
  messages: MavenAGI.ConversationMessageRequest[];
@@ -10,6 +10,12 @@
10
10
  export interface UpdateMetadataRequest {
11
11
  /** The App ID of the conversation to modify metadata for. If not provided the ID of the calling app will be used. */
12
12
  appId?: string;
13
- /** The metadata values to add to the conversation. */
13
+ /**
14
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
15
+ * additional information about the object in a structured format, and querying for objects
16
+ * via API or the dashboard.
17
+ *
18
+ * Keys and values are strings with a maximum length of 500 characters.
19
+ */
14
20
  values: Record<string, string>;
15
21
  }
@@ -2,6 +2,14 @@ import type * as MavenAGI from "../../../index";
2
2
  export interface CustomerBase {
3
3
  name: string;
4
4
  description?: string;
5
+ /**
6
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
7
+ * additional information about the object in a structured format, and querying for objects
8
+ * via API or the dashboard.
9
+ *
10
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
11
+ * length of 512 characters.
12
+ */
5
13
  metadata: Record<string, string>;
6
14
  /**
7
15
  * Whether or not the customer is in active use.
@@ -12,7 +12,16 @@ export interface CustomerPatchRequest {
12
12
  * Only active customers will be available for agent interactions.
13
13
  */
14
14
  status?: MavenAGI.CustomerStatus;
15
- /** Metadata associated with the customer. If not provided, the existing metadata will be preserved. */
15
+ /**
16
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
17
+ * additional information about the object in a structured format, and querying for objects
18
+ * via API or the dashboard.
19
+ *
20
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
21
+ * length of 512 characters.
22
+ *
23
+ * If not provided, the existing metadata will be preserved.
24
+ */
16
25
  metadata?: Record<string, string>;
17
26
  /** Set of agent user IDs to assign to this customer. If provided, replaces all existing assignees. */
18
27
  assignees?: Set<string>;
@@ -15,6 +15,13 @@ export interface InboxItemPatchRequest {
15
15
  status?: MavenAGI.InboxItemStatus;
16
16
  /** Severity of the inbox item. */
17
17
  severity?: MavenAGI.InboxItemSeverity;
18
- /** Additional metadata associated with the inbox item. */
18
+ /**
19
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
20
+ * additional information about the object in a structured format, and querying for objects
21
+ * via API or the dashboard.
22
+ *
23
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
24
+ * length of 512 characters.
25
+ */
19
26
  metadata?: Record<string, string>;
20
27
  }
@@ -38,7 +38,14 @@ export interface InboxItemCreateRequest {
38
38
  status: MavenAGI.InboxItemStatus;
39
39
  /** Severity of the inbox item. */
40
40
  severity: MavenAGI.InboxItemSeverity;
41
- /** Additional metadata associated with the inbox item. */
41
+ /**
42
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
43
+ * additional information about the object in a structured format, and querying for objects
44
+ * via API or the dashboard.
45
+ *
46
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
47
+ * length of 512 characters.
48
+ */
42
49
  metadata: Record<string, string>;
43
50
  /** Title of the inbox item. */
44
51
  title: string;
@@ -0,0 +1,13 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface KnowledgeBaseIndexingProgressState {
3
+ /** The unique ID of a knowledge base version. */
4
+ versionId: MavenAGI.EntityId;
5
+ /** The status of the knowledge base indexing process. */
6
+ status: MavenAGI.KnowledgeBaseIndexingStatus;
7
+ /** The expected number of documents to be indexed for the latest knowledge base version. */
8
+ expectedCount: number;
9
+ /** The number of documents that have been indexed so far for the latest knowledge base version. */
10
+ indexedCount: number;
11
+ /** The number of documents that have failed to index for the latest knowledge base version. */
12
+ failedCount: number;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /** The indexing status of the knowledge base version */
2
+ export declare const KnowledgeBaseIndexingStatus: {
3
+ readonly Building: "BUILDING";
4
+ readonly Indexing: "INDEXING";
5
+ readonly Indexed: "INDEXED";
6
+ readonly Published: "PUBLISHED";
7
+ readonly Failed: "FAILED";
8
+ readonly Superseded: "SUPERSEDED";
9
+ };
10
+ export type KnowledgeBaseIndexingStatus = (typeof KnowledgeBaseIndexingStatus)[keyof typeof KnowledgeBaseIndexingStatus] | string;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.KnowledgeBaseIndexingStatus = void 0;
5
+ /** The indexing status of the knowledge base version */
6
+ exports.KnowledgeBaseIndexingStatus = {
7
+ Building: "BUILDING",
8
+ Indexing: "INDEXING",
9
+ Indexed: "INDEXED",
10
+ Published: "PUBLISHED",
11
+ Failed: "FAILED",
12
+ Superseded: "SUPERSEDED",
13
+ };
@@ -11,6 +11,13 @@ import type * as MavenAGI from "../../../index";
11
11
  export interface KnowledgeBaseRequest extends MavenAGI.KnowledgeBaseProperties {
12
12
  /** ID that uniquely identifies this knowledge base */
13
13
  knowledgeBaseId: MavenAGI.EntityIdBase;
14
- /** Metadata for the knowledge base. */
14
+ /**
15
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
16
+ * additional information about the object in a structured format, and querying for objects
17
+ * via API or the dashboard.
18
+ *
19
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
20
+ * length of 512 characters.
21
+ */
15
22
  metadata?: Record<string, string>;
16
23
  }
@@ -81,4 +81,6 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
81
81
  segmentIds: MavenAGI.EntityId[];
82
82
  /** The source URL of URL and RSS knowledge bases that was used for crawl. */
83
83
  url?: string;
84
+ /** The indexing status of the latest version of the knowledge base. */
85
+ indexingState?: MavenAGI.KnowledgeBaseIndexingProgressState;
84
86
  }
@@ -26,4 +26,6 @@ export interface KnowledgeBaseVersion extends MavenAGI.KnowledgeBaseVersionReque
26
26
  createdAt: Date;
27
27
  /** The date and time the knowledge base version was last updated. */
28
28
  updatedAt: Date;
29
+ /** The indexing status of the knowledge base version. */
30
+ indexingState?: MavenAGI.KnowledgeBaseIndexingProgressState;
29
31
  }
@@ -36,7 +36,14 @@ export interface KnowledgeDocumentRequest extends MavenAGI.BaseKnowledgeDocument
36
36
  assetId?: MavenAGI.EntityIdWithoutAgent;
37
37
  /** The content of the document. Not shown directly to users. May be provided in HTML or markdown. HTML will be converted to markdown automatically. Images are not currently supported and will be ignored. Either this or assetId is required, but not both */
38
38
  content?: string;
39
- /** Metadata for the knowledge document. */
39
+ /**
40
+ * Set of 16 key-value pairs that can be attached to the knowledge document. This can be useful
41
+ * for storing additional information about the object in a structured format, and querying for
42
+ * objects via API or the dashboard.
43
+ *
44
+ * Keys are strings with a maximum length of 64 characters. Values are strings with a maximum
45
+ * length of 512 characters.
46
+ */
40
47
  metadata?: Record<string, string>;
41
48
  /** The time at which this document was created. */
42
49
  createdAt?: Date;
@@ -3,6 +3,8 @@ export * from "./CancelKnowledgeBaseVersionRequest";
3
3
  export * from "./FinalizeKnowledgeBaseVersionRequest";
4
4
  export * from "./KnowledgeBaseField";
5
5
  export * from "./KnowledgeBaseFilter";
6
+ export * from "./KnowledgeBaseIndexingProgressState";
7
+ export * from "./KnowledgeBaseIndexingStatus";
6
8
  export * from "./KnowledgeBaseProperties";
7
9
  export * from "./KnowledgeBaseRefreshFrequency";
8
10
  export * from "./KnowledgeBaseRefreshRequest";
@@ -19,6 +19,8 @@ __exportStar(require("./CancelKnowledgeBaseVersionRequest"), exports);
19
19
  __exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
20
20
  __exportStar(require("./KnowledgeBaseField"), exports);
21
21
  __exportStar(require("./KnowledgeBaseFilter"), exports);
22
+ __exportStar(require("./KnowledgeBaseIndexingProgressState"), exports);
23
+ __exportStar(require("./KnowledgeBaseIndexingStatus"), exports);
22
24
  __exportStar(require("./KnowledgeBaseProperties"), exports);
23
25
  __exportStar(require("./KnowledgeBaseRefreshFrequency"), exports);
24
26
  __exportStar(require("./KnowledgeBaseRefreshRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.2.44",
3
+ "version": "1.2.46",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityId } from "../../commons/types/EntityId";
5
+ import { KnowledgeBaseIndexingStatus } from "./KnowledgeBaseIndexingStatus";
6
+ export declare const KnowledgeBaseIndexingProgressState: core.serialization.ObjectSchema<serializers.KnowledgeBaseIndexingProgressState.Raw, MavenAGI.KnowledgeBaseIndexingProgressState>;
7
+ export declare namespace KnowledgeBaseIndexingProgressState {
8
+ interface Raw {
9
+ versionId: EntityId.Raw;
10
+ status: KnowledgeBaseIndexingStatus.Raw;
11
+ expectedCount: number;
12
+ indexedCount: number;
13
+ failedCount: number;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.KnowledgeBaseIndexingProgressState = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const EntityId_1 = require("../../commons/types/EntityId");
40
+ const KnowledgeBaseIndexingStatus_1 = require("./KnowledgeBaseIndexingStatus");
41
+ exports.KnowledgeBaseIndexingProgressState = core.serialization.object({
42
+ versionId: EntityId_1.EntityId,
43
+ status: KnowledgeBaseIndexingStatus_1.KnowledgeBaseIndexingStatus,
44
+ expectedCount: core.serialization.number(),
45
+ indexedCount: core.serialization.number(),
46
+ failedCount: core.serialization.number(),
47
+ });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const KnowledgeBaseIndexingStatus: core.serialization.Schema<serializers.KnowledgeBaseIndexingStatus.Raw, MavenAGI.KnowledgeBaseIndexingStatus>;
5
+ export declare namespace KnowledgeBaseIndexingStatus {
6
+ type Raw = "BUILDING" | "INDEXING" | "INDEXED" | "PUBLISHED" | "FAILED" | "SUPERSEDED";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.KnowledgeBaseIndexingStatus = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.KnowledgeBaseIndexingStatus = core.serialization.forwardCompatibleEnum_(["BUILDING", "INDEXING", "INDEXED", "PUBLISHED", "FAILED", "SUPERSEDED"]);
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityId } from "../../commons/types/EntityId";
5
5
  import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
6
+ import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
6
7
  import { KnowledgeBaseProperties } from "./KnowledgeBaseProperties";
7
8
  import { KnowledgeBaseRefreshFrequency } from "./KnowledgeBaseRefreshFrequency";
8
9
  import { KnowledgeBaseType } from "./KnowledgeBaseType";
@@ -23,5 +24,6 @@ export declare namespace KnowledgeBaseResponse {
23
24
  segmentId?: EntityId.Raw | null;
24
25
  segmentIds: EntityId.Raw[];
25
26
  url?: string | null;
27
+ indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
26
28
  }
27
29
  }
@@ -38,6 +38,7 @@ exports.KnowledgeBaseResponse = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityId_1 = require("../../commons/types/EntityId");
40
40
  const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
41
+ const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
41
42
  const KnowledgeBaseProperties_1 = require("./KnowledgeBaseProperties");
42
43
  const KnowledgeBaseRefreshFrequency_1 = require("./KnowledgeBaseRefreshFrequency");
43
44
  const KnowledgeBaseType_1 = require("./KnowledgeBaseType");
@@ -57,5 +58,6 @@ exports.KnowledgeBaseResponse = core.serialization
57
58
  segmentId: EntityId_1.EntityId.optional(),
58
59
  segmentIds: core.serialization.list(EntityId_1.EntityId),
59
60
  url: core.serialization.string().optional(),
61
+ indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
60
62
  })
61
63
  .extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityId } from "../../commons/types/EntityId";
5
+ import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
5
6
  import { KnowledgeBaseVersionRequest } from "./KnowledgeBaseVersionRequest";
6
7
  import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
7
8
  export declare const KnowledgeBaseVersion: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersion.Raw, MavenAGI.KnowledgeBaseVersion>;
@@ -12,5 +13,6 @@ export declare namespace KnowledgeBaseVersion {
12
13
  errorMessage?: string | null;
13
14
  createdAt: string;
14
15
  updatedAt: string;
16
+ indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
15
17
  }
16
18
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.KnowledgeBaseVersion = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityId_1 = require("../../commons/types/EntityId");
40
+ const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
40
41
  const KnowledgeBaseVersionRequest_1 = require("./KnowledgeBaseVersionRequest");
41
42
  const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
42
43
  exports.KnowledgeBaseVersion = core.serialization
@@ -46,5 +47,6 @@ exports.KnowledgeBaseVersion = core.serialization
46
47
  errorMessage: core.serialization.string().optional(),
47
48
  createdAt: core.serialization.date(),
48
49
  updatedAt: core.serialization.date(),
50
+ indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
49
51
  })
50
52
  .extend(KnowledgeBaseVersionRequest_1.KnowledgeBaseVersionRequest);
@@ -3,6 +3,8 @@ export * from "./CancelKnowledgeBaseVersionRequest";
3
3
  export * from "./FinalizeKnowledgeBaseVersionRequest";
4
4
  export * from "./KnowledgeBaseField";
5
5
  export * from "./KnowledgeBaseFilter";
6
+ export * from "./KnowledgeBaseIndexingProgressState";
7
+ export * from "./KnowledgeBaseIndexingStatus";
6
8
  export * from "./KnowledgeBaseProperties";
7
9
  export * from "./KnowledgeBaseRefreshFrequency";
8
10
  export * from "./KnowledgeBaseRefreshRequest";
@@ -19,6 +19,8 @@ __exportStar(require("./CancelKnowledgeBaseVersionRequest"), exports);
19
19
  __exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
20
20
  __exportStar(require("./KnowledgeBaseField"), exports);
21
21
  __exportStar(require("./KnowledgeBaseFilter"), exports);
22
+ __exportStar(require("./KnowledgeBaseIndexingProgressState"), exports);
23
+ __exportStar(require("./KnowledgeBaseIndexingStatus"), exports);
22
24
  __exportStar(require("./KnowledgeBaseProperties"), exports);
23
25
  __exportStar(require("./KnowledgeBaseRefreshFrequency"), exports);
24
26
  __exportStar(require("./KnowledgeBaseRefreshRequest"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.44";
1
+ export declare const SDK_VERSION = "1.2.46";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.44";
4
+ exports.SDK_VERSION = "1.2.46";