@dremio/js-sdk 0.33.0 → 0.33.1

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.
@@ -15,7 +15,7 @@ export declare class AIResource {
15
15
  constructor(config: Logger & V4Config & SonarV4Config);
16
16
  createModelProvider(properties: z.output<typeof modelProviderCreateCodec>): import("ts-results-es").AsyncResult<ModelProvider, HttpError>;
17
17
  listModelProviders(): {
18
- data({ signal }?: SignalParam): AsyncGenerator<Ok<ModelProvider> | Err<z.core.$ZodError<{
18
+ data({ signal }?: SignalParam): AsyncGenerator<Err<z.core.$ZodError<{
19
19
  name: string;
20
20
  id: string;
21
21
  tag: string;
@@ -58,9 +58,9 @@ export declare class AIResource {
58
58
  createdAt: import("temporal-polyfill").Temporal.Instant;
59
59
  modifiedAt: import("temporal-polyfill").Temporal.Instant;
60
60
  sqlModelNames: Set<string>;
61
- }>>, void, unknown>;
61
+ }>> | Ok<ModelProvider>, void, unknown>;
62
62
  getPage: ({ signal }?: SignalParam) => import("ts-results-es").AsyncResult<{
63
- data: (Ok<ModelProvider> | Err<z.core.$ZodError<{
63
+ data: (Err<z.core.$ZodError<{
64
64
  name: string;
65
65
  id: string;
66
66
  tag: string;
@@ -103,7 +103,7 @@ export declare class AIResource {
103
103
  createdAt: import("temporal-polyfill").Temporal.Instant;
104
104
  modifiedAt: import("temporal-polyfill").Temporal.Instant;
105
105
  sqlModelNames: Set<string>;
106
- }>>)[];
106
+ }>> | Ok<ModelProvider>)[];
107
107
  }, HttpError>;
108
108
  };
109
109
  listAvailableModels(properties: z.infer<typeof listModelsPropertiesSchema>): import("ts-results-es").AsyncResult<Set<string>, HttpError>;
@@ -7,3 +7,7 @@ export * from "./AgentToolResultResponseContent.ts";
7
7
  export * from "./ChatSession.ts";
8
8
  export * from "./UserChatMessage.ts";
9
9
  export * from "./UserChatMessageContent.ts";
10
+ export * from "./eventWrappers/AgentChatExchange.ts";
11
+ export * from "./eventWrappers/AgentEndTurn.ts";
12
+ export * from "./eventWrappers/AgentToolCall.ts";
13
+ export * from "./eventWrappers/AgentToolCallGroup.ts";
@@ -22,4 +22,8 @@ export * from "./AgentToolResultResponseContent.js";
22
22
  export * from "./ChatSession.js";
23
23
  export * from "./UserChatMessage.js";
24
24
  export * from "./UserChatMessageContent.js";
25
+ export * from "./eventWrappers/AgentChatExchange.js";
26
+ export * from "./eventWrappers/AgentEndTurn.js";
27
+ export * from "./eventWrappers/AgentToolCall.js";
28
+ export * from "./eventWrappers/AgentToolCallGroup.js";
25
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/enterprise/ai/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC","sourcesContent":["/*\n * Copyright (C) 2024-2025 Dremio Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from \"./AgentErrorResponseContent.ts\";\nexport * from \"./AgentModelResponseContent.ts\";\nexport * from \"./AgentChatPartialResponse.ts\";\nexport * from \"./AgentChatResponse.ts\";\nexport * from \"./AgentToolRequestResponseContent.ts\";\nexport * from \"./AgentToolResultResponseContent.ts\";\nexport * from \"./ChatSession.ts\";\nexport * from \"./UserChatMessage.ts\";\nexport * from \"./UserChatMessageContent.ts\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/enterprise/ai/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC","sourcesContent":["/*\n * Copyright (C) 2024-2025 Dremio Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from \"./AgentErrorResponseContent.ts\";\nexport * from \"./AgentModelResponseContent.ts\";\nexport * from \"./AgentChatPartialResponse.ts\";\nexport * from \"./AgentChatResponse.ts\";\nexport * from \"./AgentToolRequestResponseContent.ts\";\nexport * from \"./AgentToolResultResponseContent.ts\";\nexport * from \"./ChatSession.ts\";\nexport * from \"./UserChatMessage.ts\";\nexport * from \"./UserChatMessageContent.ts\";\nexport * from \"./eventWrappers/AgentChatExchange.ts\";\nexport * from \"./eventWrappers/AgentEndTurn.ts\";\nexport * from \"./eventWrappers/AgentToolCall.ts\";\nexport * from \"./eventWrappers/AgentToolCallGroup.ts\";\n"]}
@@ -48,7 +48,7 @@ export declare class EnterpriseUser extends User {
48
48
  source: string;
49
49
  constructor(properties: EnterpriseUserProperties, config: V3Config & SonarV3Config);
50
50
  save(properties: EnterpriseUserPatchableProperties): import("ts-results-es").AsyncResult<EnterpriseUser, import("../index.ts").HttpError>;
51
- grants({ signal }?: SignalParam): import("ts-results-es").AsyncResult<import("../interfaces.ts").Grant[], import("../index.ts").HttpError>;
51
+ grants({ signal }?: SignalParam): import("ts-results-es").AsyncResult<import("../index.ts").Grant[], import("../index.ts").HttpError>;
52
52
  tokens({ signal }?: SignalParam): Promise<import("ts-results-es").Result<{
53
53
  createdAt: Date;
54
54
  expiresAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dremio/js-sdk",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "JavaScript library for the Dremio API",
5
5
  "keywords": [
6
6
  "dremio",