graphlit-client 1.0.20260320001 → 1.0.20260320002
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
|
@@ -874,6 +874,13 @@ declare class Graphlit {
|
|
|
874
874
|
* @returns The published content.
|
|
875
875
|
*/
|
|
876
876
|
publishContents(publishPrompt: string, connector: Types.ContentPublishingConnectorInput, summaryPrompt?: string, summarySpecification?: Types.EntityReferenceInput, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PublishContentsMutation>;
|
|
877
|
+
/**
|
|
878
|
+
* Publishes skills from contents matching the provided filter.
|
|
879
|
+
* @param filter - The content filter criteria, optional.
|
|
880
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
881
|
+
* @returns The published skills.
|
|
882
|
+
*/
|
|
883
|
+
publishSkills(filter?: Types.ContentFilter, correlationId?: string): Promise<Types.PublishSkillsMutation>;
|
|
877
884
|
/**
|
|
878
885
|
* Publishes text to an external connector.
|
|
879
886
|
* @param text - The text to publish.
|
package/dist/client.js
CHANGED
|
@@ -1613,6 +1613,18 @@ class Graphlit {
|
|
|
1613
1613
|
correlationId: correlationId,
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
|
+
/**
|
|
1617
|
+
* Publishes skills from contents matching the provided filter.
|
|
1618
|
+
* @param filter - The content filter criteria, optional.
|
|
1619
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1620
|
+
* @returns The published skills.
|
|
1621
|
+
*/
|
|
1622
|
+
async publishSkills(filter, correlationId) {
|
|
1623
|
+
return this.mutateAndCheckError(Documents.PublishSkills, {
|
|
1624
|
+
filter: filter,
|
|
1625
|
+
correlationId: correlationId,
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1616
1628
|
/**
|
|
1617
1629
|
* Publishes text to an external connector.
|
|
1618
1630
|
* @param text - The text to publish.
|
|
@@ -83,6 +83,7 @@ export declare const IsContentDone: import("graphql").DocumentNode;
|
|
|
83
83
|
export declare const LookupContents: import("graphql").DocumentNode;
|
|
84
84
|
export declare const LookupEntity: import("graphql").DocumentNode;
|
|
85
85
|
export declare const PublishContents: import("graphql").DocumentNode;
|
|
86
|
+
export declare const PublishSkills: import("graphql").DocumentNode;
|
|
86
87
|
export declare const PublishText: import("graphql").DocumentNode;
|
|
87
88
|
export declare const QueryContents: import("graphql").DocumentNode;
|
|
88
89
|
export declare const QueryContentsFacets: import("graphql").DocumentNode;
|
|
@@ -3308,6 +3308,25 @@ export const PublishContents = gql `
|
|
|
3308
3308
|
}
|
|
3309
3309
|
}
|
|
3310
3310
|
`;
|
|
3311
|
+
export const PublishSkills = gql `
|
|
3312
|
+
mutation PublishSkills($filter: ContentFilter, $correlationId: String) {
|
|
3313
|
+
publishSkills(filter: $filter, correlationId: $correlationId) {
|
|
3314
|
+
skills {
|
|
3315
|
+
id
|
|
3316
|
+
name
|
|
3317
|
+
state
|
|
3318
|
+
identifier
|
|
3319
|
+
skillOwner
|
|
3320
|
+
arguments {
|
|
3321
|
+
name
|
|
3322
|
+
description
|
|
3323
|
+
required
|
|
3324
|
+
}
|
|
3325
|
+
text
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
`;
|
|
3311
3330
|
export const PublishText = gql `
|
|
3312
3331
|
mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPublishingConnectorInput!, $isSynchronous: Boolean, $correlationId: String, $name: String, $workflow: EntityReferenceInput) {
|
|
3313
3332
|
publishText(
|
|
@@ -15352,6 +15352,8 @@ export type Mutation = {
|
|
|
15352
15352
|
publishContents?: Maybe<PublishContents>;
|
|
15353
15353
|
/** Publish conversation. */
|
|
15354
15354
|
publishConversation?: Maybe<PublishContents>;
|
|
15355
|
+
/** Publish skills from content using a map/reduce pipeline. Summarizes content matching the filter, then extracts one or more reusable skills. */
|
|
15356
|
+
publishSkills?: Maybe<PublishSkills>;
|
|
15355
15357
|
/** Publish text into different content format. */
|
|
15356
15358
|
publishText?: Maybe<PublishContents>;
|
|
15357
15359
|
/** Rejects content. */
|
|
@@ -16453,6 +16455,10 @@ export type MutationPublishConversationArgs = {
|
|
|
16453
16455
|
publishSpecification?: InputMaybe<EntityReferenceInput>;
|
|
16454
16456
|
workflow?: InputMaybe<EntityReferenceInput>;
|
|
16455
16457
|
};
|
|
16458
|
+
export type MutationPublishSkillsArgs = {
|
|
16459
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
16460
|
+
filter?: InputMaybe<ContentFilter>;
|
|
16461
|
+
};
|
|
16456
16462
|
export type MutationPublishTextArgs = {
|
|
16457
16463
|
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
|
16458
16464
|
connector: ContentPublishingConnectorInput;
|
|
@@ -19445,6 +19451,8 @@ export type ProjectStorage = {
|
|
|
19445
19451
|
event?: Maybe<ProjectStorageContentFacet>;
|
|
19446
19452
|
/** The file content type storage facet. */
|
|
19447
19453
|
file?: Maybe<ProjectStorageFileContentFacet>;
|
|
19454
|
+
/** The initiative content type storage facet. */
|
|
19455
|
+
initiative?: Maybe<ProjectStorageContentFacet>;
|
|
19448
19456
|
/** The issue content type storage facet. */
|
|
19449
19457
|
issue?: Maybe<ProjectStorageContentFacet>;
|
|
19450
19458
|
/** The memory content type storage facet. */
|
|
@@ -19750,6 +19758,12 @@ export type PublishContents = {
|
|
|
19750
19758
|
/** The publishing details for debugging purposes. */
|
|
19751
19759
|
details?: Maybe<PublishingDetails>;
|
|
19752
19760
|
};
|
|
19761
|
+
/** Represents a publish skills result. */
|
|
19762
|
+
export type PublishSkills = {
|
|
19763
|
+
__typename?: 'PublishSkills';
|
|
19764
|
+
/** The published skills. */
|
|
19765
|
+
skills?: Maybe<Array<Skill>>;
|
|
19766
|
+
};
|
|
19753
19767
|
/** Represents the publishing details. */
|
|
19754
19768
|
export type PublishingDetails = {
|
|
19755
19769
|
__typename?: 'PublishingDetails';
|
|
@@ -28410,6 +28424,31 @@ export type PublishContentsMutation = {
|
|
|
28410
28424
|
} | null;
|
|
28411
28425
|
} | null;
|
|
28412
28426
|
};
|
|
28427
|
+
export type PublishSkillsMutationVariables = Exact<{
|
|
28428
|
+
filter?: InputMaybe<ContentFilter>;
|
|
28429
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
28430
|
+
}>;
|
|
28431
|
+
export type PublishSkillsMutation = {
|
|
28432
|
+
__typename?: 'Mutation';
|
|
28433
|
+
publishSkills?: {
|
|
28434
|
+
__typename?: 'PublishSkills';
|
|
28435
|
+
skills?: Array<{
|
|
28436
|
+
__typename?: 'Skill';
|
|
28437
|
+
id: string;
|
|
28438
|
+
name: string;
|
|
28439
|
+
state: EntityState;
|
|
28440
|
+
identifier?: string | null;
|
|
28441
|
+
skillOwner?: EntityOwners | null;
|
|
28442
|
+
text: string;
|
|
28443
|
+
arguments?: Array<{
|
|
28444
|
+
__typename?: 'SkillArgument';
|
|
28445
|
+
name: string;
|
|
28446
|
+
description?: string | null;
|
|
28447
|
+
required?: boolean | null;
|
|
28448
|
+
}> | null;
|
|
28449
|
+
}> | null;
|
|
28450
|
+
} | null;
|
|
28451
|
+
};
|
|
28413
28452
|
export type PublishTextMutationVariables = Exact<{
|
|
28414
28453
|
text: Scalars['String']['input'];
|
|
28415
28454
|
textType?: InputMaybe<TextTypes>;
|