graphlit-client 1.0.20241206001 → 1.0.20241206002
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
@@ -17,6 +17,7 @@ declare class Graphlit {
|
|
17
17
|
lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
|
18
18
|
queryProjectUsage(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryUsageQuery>;
|
19
19
|
queryProjectCredits(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryCreditsQuery>;
|
20
|
+
mapWeb(uri: string, allowedPaths?: string[], excludedPaths?: string[], correlationId?: string): Promise<Types.MapWebQuery>;
|
20
21
|
searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
|
21
22
|
createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
|
22
23
|
updateAlert(alert: Types.AlertUpdateInput): Promise<Types.UpdateAlertMutation>;
|
package/dist/client.js
CHANGED
@@ -143,6 +143,11 @@ class Graphlit {
|
|
143
143
|
return this.queryAndCheckError(Documents.QueryCredits, { startDate: startDate, duration: duration });
|
144
144
|
});
|
145
145
|
}
|
146
|
+
mapWeb(uri, allowedPaths, excludedPaths, correlationId) {
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
148
|
+
return this.queryAndCheckError(Documents.MapWeb, { uri: uri, allowedPaths: allowedPaths, excludedPaths: excludedPaths, correlationId: correlationId });
|
149
|
+
});
|
150
|
+
}
|
146
151
|
searchWeb(text, service, limit, correlationId) {
|
147
152
|
return __awaiter(this, void 0, void 0, function* () {
|
148
153
|
return this.queryAndCheckError(Documents.SearchWeb, { text: text, service: service, limit: limit, correlationId: correlationId });
|
@@ -240,6 +240,7 @@ export declare const DeleteRepos: import("graphql").DocumentNode;
|
|
240
240
|
export declare const GetRepo: import("graphql").DocumentNode;
|
241
241
|
export declare const QueryRepos: import("graphql").DocumentNode;
|
242
242
|
export declare const UpdateRepo: import("graphql").DocumentNode;
|
243
|
+
export declare const MapWeb: import("graphql").DocumentNode;
|
243
244
|
export declare const SearchWeb: import("graphql").DocumentNode;
|
244
245
|
export declare const CountSoftwares: import("graphql").DocumentNode;
|
245
246
|
export declare const CreateSoftware: import("graphql").DocumentNode;
|
@@ -7,8 +7,8 @@ exports.SummarizeText = exports.SummarizeContents = exports.ScreenshotPage = exp
|
|
7
7
|
exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = void 0;
|
8
8
|
exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = void 0;
|
9
9
|
exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = void 0;
|
10
|
-
exports.
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = void 0;
|
10
|
+
exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = void 0;
|
11
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = void 0;
|
12
12
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
13
13
|
exports.CountAlerts = (0, graphql_tag_1.default) `
|
14
14
|
query CountAlerts($filter: AlertFilter) {
|
@@ -6105,6 +6105,18 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
|
|
6105
6105
|
}
|
6106
6106
|
}
|
6107
6107
|
`;
|
6108
|
+
exports.MapWeb = (0, graphql_tag_1.default) `
|
6109
|
+
query MapWeb($uri: URL!, $allowedPaths: [String!], $excludedPaths: [String!], $correlationId: String) {
|
6110
|
+
mapWeb(
|
6111
|
+
uri: $uri
|
6112
|
+
allowedPaths: $allowedPaths
|
6113
|
+
excludedPaths: $excludedPaths
|
6114
|
+
correlationId: $correlationId
|
6115
|
+
) {
|
6116
|
+
results
|
6117
|
+
}
|
6118
|
+
}
|
6119
|
+
`;
|
6108
6120
|
exports.SearchWeb = (0, graphql_tag_1.default) `
|
6109
6121
|
query SearchWeb($text: String!, $service: SearchServiceTypes, $limit: Int, $correlationId: String) {
|
6110
6122
|
searchWeb(
|
@@ -9562,6 +9562,8 @@ export type Query = {
|
|
9562
9562
|
lookupCredits?: Maybe<ProjectCredits>;
|
9563
9563
|
/** Lookup usage records given tenant correlation identifier. */
|
9564
9564
|
lookupUsage?: Maybe<Array<Maybe<ProjectUsageRecord>>>;
|
9565
|
+
/** Enumerates the web pages at or beneath the provided URL using web sitemap. */
|
9566
|
+
mapWeb?: Maybe<UriResults>;
|
9565
9567
|
/** Lookup a medical condition given its ID. */
|
9566
9568
|
medicalCondition?: Maybe<MedicalCondition>;
|
9567
9569
|
/** Retrieves medical conditions based on the provided filter criteria. */
|
@@ -9862,6 +9864,12 @@ export type QueryLookupCreditsArgs = {
|
|
9862
9864
|
export type QueryLookupUsageArgs = {
|
9863
9865
|
correlationId: Scalars['String']['input'];
|
9864
9866
|
};
|
9867
|
+
export type QueryMapWebArgs = {
|
9868
|
+
allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
9869
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
9870
|
+
excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
9871
|
+
uri: Scalars['URL']['input'];
|
9872
|
+
};
|
9865
9873
|
export type QueryMedicalConditionArgs = {
|
9866
9874
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
9867
9875
|
id: Scalars['ID']['input'];
|
@@ -11518,6 +11526,12 @@ export type UriResult = {
|
|
11518
11526
|
/** The URI result. */
|
11519
11527
|
uri?: Maybe<Scalars['URL']['output']>;
|
11520
11528
|
};
|
11529
|
+
/** Represents URI results. */
|
11530
|
+
export type UriResults = {
|
11531
|
+
__typename?: 'UriResults';
|
11532
|
+
/** The URI results. */
|
11533
|
+
results?: Maybe<Array<Maybe<Scalars['URL']['output']>>>;
|
11534
|
+
};
|
11521
11535
|
/** Represents video metadata. */
|
11522
11536
|
export type VideoMetadata = {
|
11523
11537
|
__typename?: 'VideoMetadata';
|
@@ -19096,6 +19110,19 @@ export type UpdateRepoMutation = {
|
|
19096
19110
|
name: string;
|
19097
19111
|
} | null;
|
19098
19112
|
};
|
19113
|
+
export type MapWebQueryVariables = Exact<{
|
19114
|
+
uri: Scalars['URL']['input'];
|
19115
|
+
allowedPaths?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
19116
|
+
excludedPaths?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
19117
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
19118
|
+
}>;
|
19119
|
+
export type MapWebQuery = {
|
19120
|
+
__typename?: 'Query';
|
19121
|
+
mapWeb?: {
|
19122
|
+
__typename?: 'UriResults';
|
19123
|
+
results?: Array<any | null> | null;
|
19124
|
+
} | null;
|
19125
|
+
};
|
19099
19126
|
export type SearchWebQueryVariables = Exact<{
|
19100
19127
|
text: Scalars['String']['input'];
|
19101
19128
|
service?: InputMaybe<SearchServiceTypes>;
|