graphlit-client 1.0.20250428002 → 1.0.20250428004
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 +3 -3
- package/dist/client.js +2 -2
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
@@ -15,9 +15,9 @@ declare class Graphlit {
|
|
15
15
|
updateProject(project: Types.ProjectUpdateInput): Promise<Types.UpdateProjectMutation>;
|
16
16
|
lookupProjectUsage(correlationId: string): Promise<Types.LookupUsageQuery>;
|
17
17
|
lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
|
18
|
-
queryProjectTokens(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryTokensQuery>;
|
19
|
-
queryProjectUsage(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryUsageQuery>;
|
20
|
-
queryProjectCredits(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryCreditsQuery>;
|
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>;
|
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>;
|
23
23
|
searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
|
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) {
|
151
|
+
queryProjectUsage(startDate, duration, names, offset, limit) {
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
153
|
-
return this.queryAndCheckError(Documents.QueryUsage, { startDate: startDate, duration: duration });
|
153
|
+
return this.queryAndCheckError(Documents.QueryUsage, { startDate: startDate, duration: duration, names: names, offset: offset, limit: limit });
|
154
154
|
});
|
155
155
|
}
|
156
156
|
queryProjectCredits(startDate, duration) {
|