graphlit-client 1.0.20250428006 → 1.0.20250428008
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
@@ -16,7 +16,7 @@ declare class Graphlit {
|
|
16
16
|
lookupProjectUsage(correlationId: string): Promise<Types.LookupUsageQuery>;
|
17
17
|
lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
|
18
18
|
queryProjectTokens(startDate: Types.Scalars['DateTime']['input'], duration: Types.Scalars['TimeSpan']['input']): Promise<Types.QueryTokensQuery>;
|
19
|
-
queryProjectUsage(startDate: Types.Scalars['DateTime']['input'], duration: Types.Scalars['TimeSpan']['input'], names?: string[], offset?: Types.Scalars['Int']['input'], limit?: Types.Scalars['Int']['input']): Promise<Types.QueryUsageQuery>;
|
19
|
+
queryProjectUsage(startDate: Types.Scalars['DateTime']['input'], duration: Types.Scalars['TimeSpan']['input'], names?: string[], excludedNames?: string[], offset?: Types.Scalars['Int']['input'], limit?: Types.Scalars['Int']['input']): Promise<Types.QueryUsageQuery>;
|
20
20
|
queryProjectCredits(startDate: Types.Scalars['DateTime']['input'], duration: Types.Scalars['TimeSpan']['input']): Promise<Types.QueryCreditsQuery>;
|
21
21
|
sendNotification(connector: Types.IntegrationConnectorInput, text: string, textType?: Types.TextTypes): Promise<Types.SendNotificationMutation>;
|
22
22
|
mapWeb(uri: string, allowedPaths?: string[], excludedPaths?: string[], correlationId?: string): Promise<Types.MapWebQuery>;
|
package/dist/client.js
CHANGED
@@ -148,9 +148,9 @@ class Graphlit {
|
|
148
148
|
return this.queryAndCheckError(Documents.QueryTokens, { startDate: startDate, duration: duration });
|
149
149
|
});
|
150
150
|
}
|
151
|
-
queryProjectUsage(startDate, duration, names, offset, limit) {
|
151
|
+
queryProjectUsage(startDate, duration, names, excludedNames, offset, limit) {
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
153
|
-
return this.queryAndCheckError(Documents.QueryUsage, { startDate: startDate, duration: duration, names: names, offset: offset, limit: limit });
|
153
|
+
return this.queryAndCheckError(Documents.QueryUsage, { startDate: startDate, duration: duration, names: names, excludedNames: excludedNames, offset: offset, limit: limit });
|
154
154
|
});
|
155
155
|
}
|
156
156
|
queryProjectCredits(startDate, duration) {
|
@@ -1436,11 +1436,12 @@ exports.IngestTextBatch = (0, graphql_tag_1.default) `
|
|
1436
1436
|
}
|
1437
1437
|
`;
|
1438
1438
|
exports.IngestUri = (0, graphql_tag_1.default) `
|
1439
|
-
mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1439
|
+
mutation IngestUri($name: String, $uri: URL!, $id: ID, $mimeType: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1440
1440
|
ingestUri(
|
1441
1441
|
name: $name
|
1442
1442
|
uri: $uri
|
1443
1443
|
id: $id
|
1444
|
+
mimeType: $mimeType
|
1444
1445
|
workflow: $workflow
|
1445
1446
|
collections: $collections
|
1446
1447
|
observations: $observations
|
@@ -3768,10 +3769,12 @@ exports.Prompt = (0, graphql_tag_1.default) `
|
|
3768
3769
|
}
|
3769
3770
|
`;
|
3770
3771
|
exports.PromptConversation = (0, graphql_tag_1.default) `
|
3771
|
-
mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String) {
|
3772
|
+
mutation PromptConversation($prompt: String!, $mimeType: String, $data: String, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String) {
|
3772
3773
|
promptConversation(
|
3773
3774
|
prompt: $prompt
|
3774
3775
|
id: $id
|
3776
|
+
mimeType: $mimeType
|
3777
|
+
data: $data
|
3775
3778
|
specification: $specification
|
3776
3779
|
tools: $tools
|
3777
3780
|
requireTool: $requireTool
|
@@ -7506,11 +7509,12 @@ exports.QueryTokens = (0, graphql_tag_1.default) `
|
|
7506
7509
|
}
|
7507
7510
|
`;
|
7508
7511
|
exports.QueryUsage = (0, graphql_tag_1.default) `
|
7509
|
-
query QueryUsage($startDate: DateTime!, $duration: TimeSpan!, $names: [String!], $offset: Int, $limit: Int) {
|
7512
|
+
query QueryUsage($startDate: DateTime!, $duration: TimeSpan!, $names: [String!], $excludedNames: [String!], $offset: Int, $limit: Int) {
|
7510
7513
|
usage(
|
7511
7514
|
startDate: $startDate
|
7512
7515
|
duration: $duration
|
7513
7516
|
names: $names
|
7517
|
+
excludedNames: $excludedNames
|
7514
7518
|
offset: $offset
|
7515
7519
|
limit: $limit
|
7516
7520
|
) {
|
@@ -8589,6 +8589,7 @@ export type MutationIngestUriArgs = {
|
|
8589
8589
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8590
8590
|
id?: InputMaybe<Scalars['ID']['input']>;
|
8591
8591
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
8592
|
+
mimeType?: InputMaybe<Scalars['String']['input']>;
|
8592
8593
|
name?: InputMaybe<Scalars['String']['input']>;
|
8593
8594
|
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
8594
8595
|
uri: Scalars['URL']['input'];
|
@@ -11527,6 +11528,7 @@ export type QueryTokensArgs = {
|
|
11527
11528
|
};
|
11528
11529
|
export type QueryUsageArgs = {
|
11529
11530
|
duration: Scalars['TimeSpan']['input'];
|
11531
|
+
excludedNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
11530
11532
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
11531
11533
|
names?: InputMaybe<Array<Scalars['String']['input']>>;
|
11532
11534
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
@@ -15408,6 +15410,7 @@ export type IngestUriMutationVariables = Exact<{
|
|
15408
15410
|
name?: InputMaybe<Scalars['String']['input']>;
|
15409
15411
|
uri: Scalars['URL']['input'];
|
15410
15412
|
id?: InputMaybe<Scalars['ID']['input']>;
|
15413
|
+
mimeType?: InputMaybe<Scalars['String']['input']>;
|
15411
15414
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
15412
15415
|
workflow?: InputMaybe<EntityReferenceInput>;
|
15413
15416
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
@@ -18021,6 +18024,8 @@ export type PromptMutation = {
|
|
18021
18024
|
};
|
18022
18025
|
export type PromptConversationMutationVariables = Exact<{
|
18023
18026
|
prompt: Scalars['String']['input'];
|
18027
|
+
mimeType?: InputMaybe<Scalars['String']['input']>;
|
18028
|
+
data?: InputMaybe<Scalars['String']['input']>;
|
18024
18029
|
id?: InputMaybe<Scalars['ID']['input']>;
|
18025
18030
|
specification?: InputMaybe<EntityReferenceInput>;
|
18026
18031
|
tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
|
@@ -22564,6 +22569,7 @@ export type QueryUsageQueryVariables = Exact<{
|
|
22564
22569
|
startDate: Scalars['DateTime']['input'];
|
22565
22570
|
duration: Scalars['TimeSpan']['input'];
|
22566
22571
|
names?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
22572
|
+
excludedNames?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
22567
22573
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
22568
22574
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
22569
22575
|
}>;
|