@fencyai/js 0.1.63 → 0.1.65

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.
@@ -16,6 +16,7 @@ export type { CreateOpenAiChatCompletionMessageDto } from './models/CreateOpenAi
16
16
  export type { CreateStreamRequest } from './models/CreateStreamRequest';
17
17
  export type { CreateWebsiteRequest } from './models/CreateWebsiteRequest';
18
18
  export type { FileMatchingChunk } from './models/FileMatchingChunk';
19
+ export type { FileSearchIndexReadyEventDto } from './models/FileSearchIndexReadyEventDto';
19
20
  export type { FileSearchItem } from './models/FileSearchItem';
20
21
  export type { FileSearchResponse } from './models/FileSearchResponse';
21
22
  export type { FileTextContentReadyEventDto } from './models/FileTextContentReadyEventDto';
@@ -0,0 +1,7 @@
1
+ import type { StreamEventType } from './StreamEventType';
2
+ export type FileSearchIndexReadyEventDto = {
3
+ type: StreamEventType;
4
+ streamId: string;
5
+ fileId: string;
6
+ timestamp: string;
7
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -6,5 +6,6 @@ export declare enum StreamEventType {
6
6
  FILE_UPLOAD_COMPLETED = "FileUploadCompleted",
7
7
  FILE_TEXT_CONTENT_READY = "FileTextContentReady",
8
8
  WEBSITE_HTML_CONTENT_READY = "WebsiteHtmlContentReady",
9
- WEBSITE_TEXT_CONTENT_READY = "WebsiteTextContentReady"
9
+ WEBSITE_TEXT_CONTENT_READY = "WebsiteTextContentReady",
10
+ FILE_SEARCH_INDEX_READY = "FileSearchIndexReady"
10
11
  }
@@ -12,4 +12,5 @@ export var StreamEventType;
12
12
  StreamEventType["FILE_TEXT_CONTENT_READY"] = "FileTextContentReady";
13
13
  StreamEventType["WEBSITE_HTML_CONTENT_READY"] = "WebsiteHtmlContentReady";
14
14
  StreamEventType["WEBSITE_TEXT_CONTENT_READY"] = "WebsiteTextContentReady";
15
+ StreamEventType["FILE_SEARCH_INDEX_READY"] = "FileSearchIndexReady";
15
16
  })(StreamEventType || (StreamEventType = {}));
@@ -3,6 +3,7 @@ import type { ChatCompletionStreamCompletedEventDto } from '../models/ChatComple
3
3
  import type { CreateChatCompletionRequest } from '../models/CreateChatCompletionRequest';
4
4
  import type { CreateStreamRequest } from '../models/CreateStreamRequest';
5
5
  import type { CreateWebsiteRequest } from '../models/CreateWebsiteRequest';
6
+ import type { FileSearchIndexReadyEventDto } from '../models/FileSearchIndexReadyEventDto';
6
7
  import type { FileSearchResponse } from '../models/FileSearchResponse';
7
8
  import type { FileTextContentReadyEventDto } from '../models/FileTextContentReadyEventDto';
8
9
  import type { FileUploadCompletedEventDto } from '../models/FileUploadCompletedEventDto';
@@ -60,7 +61,7 @@ export declare class PubService {
60
61
  * @returns any OK
61
62
  * @throws ApiError
62
63
  */
63
- static getPubTypes(): CancelablePromise<(StreamTimeoutEventDto | StreamNotFoundEventDto | NewChatCompletionStreamChunkEventDto | ChatCompletionStreamCompletedEventDto | FileUploadCompletedEventDto | FileTextContentReadyEventDto | WebsiteHtmlContentReadyEventDto | WebsiteTextContentReadyEventDto)>;
64
+ static getPubTypes(): CancelablePromise<(StreamTimeoutEventDto | StreamNotFoundEventDto | NewChatCompletionStreamChunkEventDto | ChatCompletionStreamCompletedEventDto | FileUploadCompletedEventDto | FileTextContentReadyEventDto | WebsiteHtmlContentReadyEventDto | WebsiteTextContentReadyEventDto | FileSearchIndexReadyEventDto)>;
64
65
  /**
65
66
  * Create Website
66
67
  * @param requestBody
@@ -1,7 +1,7 @@
1
1
  // Browser-compatible version utility
2
2
  // The version is set at build time and can be overridden if needed
3
3
  // Build-time version constant - this should be updated during the build process
4
- const SDK_VERSION = '0.1.59';
4
+ const SDK_VERSION = '0.1.63';
5
5
  // Allow runtime override if needed
6
6
  let versionOverride = null;
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fencyai/js",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "description": "> TODO: description",
5
5
  "author": "staklau <steinaageklaussen@gmail.com>",
6
6
  "homepage": "",
@@ -42,5 +42,5 @@
42
42
  "ts-jest": "^29.1.1",
43
43
  "typescript": "^5.3.3"
44
44
  },
45
- "gitHead": "fa1e08330dd81d0dafb1da3ad76417cf32b490a6"
45
+ "gitHead": "a116006ab2adce36c44a0ebc76da09aae6243148"
46
46
  }