graphlit-client 1.0.20250114001 → 1.0.20250121001

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/client.d.ts CHANGED
@@ -77,7 +77,7 @@ declare class Graphlit {
77
77
  formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, includeDetails?: boolean, correlationId?: string): Promise<Types.FormatConversationMutation>;
78
78
  completeConversation(completion: string, id: string, correlationId?: string): Promise<Types.CompleteConversationMutation>;
79
79
  askGraphlit(prompt: string, type?: Types.SdkTypes, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.AskGraphlitMutation>;
80
- promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
80
+ promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, mimeType?: string, data?: string, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
81
81
  continueConversation(id: string, responses: [Types.ConversationToolResponseInput], correlationId?: string): Promise<Types.ContinueConversationMutation>;
82
82
  publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishConversationMutation>;
83
83
  suggestConversation(id: string, count?: number, correlationId?: string): Promise<Types.SuggestConversationMutation>;
package/dist/client.js CHANGED
@@ -443,9 +443,9 @@ class Graphlit {
443
443
  return this.mutateAndCheckError(Documents.AskGraphlit, { prompt: prompt, type: type, id: id, specification: specification, correlationId: correlationId });
444
444
  });
445
445
  }
446
- promptConversation(prompt, id, specification, tools, requireTool, includeDetails, correlationId) {
446
+ promptConversation(prompt, id, specification, mimeType, data, tools, requireTool, includeDetails, correlationId) {
447
447
  return __awaiter(this, void 0, void 0, function* () {
448
- return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, requireTool: requireTool, includeDetails: includeDetails, correlationId: correlationId });
448
+ return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, mimeType: mimeType, data: data, tools: tools, requireTool: requireTool, includeDetails: includeDetails, correlationId: correlationId });
449
449
  });
450
450
  }
451
451
  continueConversation(id, responses, correlationId) {
@@ -2382,10 +2382,15 @@ export type DeepseekModelPropertiesUpdateInput = {
2382
2382
  export declare enum DeepseekModels {
2383
2383
  /** Deepseek Chat */
2384
2384
  Chat = "CHAT",
2385
- /** Deepseek Coder */
2385
+ /**
2386
+ * Deepseek Coder
2387
+ * @deprecated Deepseek Coder has been merged with Deepseek Chat, as of v2.5. Use Deepseek Chat instead.
2388
+ */
2386
2389
  Coder = "CODER",
2387
2390
  /** Developer-specified model */
2388
- Custom = "CUSTOM"
2391
+ Custom = "CUSTOM",
2392
+ /** Deepseek Reasoner */
2393
+ Reasoner = "REASONER"
2389
2394
  }
2390
2395
  /** Capture device type */
2391
2396
  export declare enum DeviceTypes {
@@ -384,10 +384,15 @@ var DeepseekModels;
384
384
  (function (DeepseekModels) {
385
385
  /** Deepseek Chat */
386
386
  DeepseekModels["Chat"] = "CHAT";
387
- /** Deepseek Coder */
387
+ /**
388
+ * Deepseek Coder
389
+ * @deprecated Deepseek Coder has been merged with Deepseek Chat, as of v2.5. Use Deepseek Chat instead.
390
+ */
388
391
  DeepseekModels["Coder"] = "CODER";
389
392
  /** Developer-specified model */
390
393
  DeepseekModels["Custom"] = "CUSTOM";
394
+ /** Deepseek Reasoner */
395
+ DeepseekModels["Reasoner"] = "REASONER";
391
396
  })(DeepseekModels || (exports.DeepseekModels = DeepseekModels = {}));
392
397
  /** Capture device type */
393
398
  var DeviceTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250114001",
3
+ "version": "1.0.20250121001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",