graphlit-client 1.0.20250522001 → 1.0.20250529001
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 +45 -45
- package/dist/client.js +498 -106
- package/dist/generated/graphql-documents.js +18 -0
- package/dist/generated/graphql-types.d.ts +47 -2
- package/dist/generated/graphql-types.js +6 -1
- package/package.json +1 -1
@@ -952,9 +952,12 @@ exports.GetContent = (0, graphql_tag_1.default) `
|
|
952
952
|
latitude
|
953
953
|
longitude
|
954
954
|
}
|
955
|
+
c4id
|
955
956
|
type
|
956
957
|
fileType
|
957
958
|
mimeType
|
959
|
+
format
|
960
|
+
formatName
|
958
961
|
fileName
|
959
962
|
fileSize
|
960
963
|
masterUri
|
@@ -8694,6 +8697,9 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
|
|
8694
8697
|
detectLanguage
|
8695
8698
|
language
|
8696
8699
|
}
|
8700
|
+
page {
|
8701
|
+
enableScreenshot
|
8702
|
+
}
|
8697
8703
|
document {
|
8698
8704
|
includeImages
|
8699
8705
|
}
|
@@ -8929,6 +8935,9 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
|
|
8929
8935
|
detectLanguage
|
8930
8936
|
language
|
8931
8937
|
}
|
8938
|
+
page {
|
8939
|
+
enableScreenshot
|
8940
|
+
}
|
8932
8941
|
document {
|
8933
8942
|
includeImages
|
8934
8943
|
}
|
@@ -9137,6 +9146,9 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
|
|
9137
9146
|
detectLanguage
|
9138
9147
|
language
|
9139
9148
|
}
|
9149
|
+
page {
|
9150
|
+
enableScreenshot
|
9151
|
+
}
|
9140
9152
|
document {
|
9141
9153
|
includeImages
|
9142
9154
|
}
|
@@ -9340,6 +9352,9 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
|
|
9340
9352
|
detectLanguage
|
9341
9353
|
language
|
9342
9354
|
}
|
9355
|
+
page {
|
9356
|
+
enableScreenshot
|
9357
|
+
}
|
9343
9358
|
document {
|
9344
9359
|
includeImages
|
9345
9360
|
}
|
@@ -9542,6 +9557,9 @@ exports.UpsertWorkflow = (0, graphql_tag_1.default) `
|
|
9542
9557
|
detectLanguage
|
9543
9558
|
language
|
9544
9559
|
}
|
9560
|
+
page {
|
9561
|
+
enableScreenshot
|
9562
|
+
}
|
9545
9563
|
document {
|
9546
9564
|
includeImages
|
9547
9565
|
}
|
@@ -1882,6 +1882,8 @@ export type ContentFilter = {
|
|
1882
1882
|
and?: InputMaybe<Array<InputMaybe<ContentFilterLevel>>>;
|
1883
1883
|
/** Filter by geo-boundaries, as GeoJSON Feature with Polygon geometry. */
|
1884
1884
|
boundaries?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
1885
|
+
/** Filter by content C4ID hash. */
|
1886
|
+
c4id?: InputMaybe<Scalars['String']['input']>;
|
1885
1887
|
/** Filter by collections. */
|
1886
1888
|
collections?: InputMaybe<Array<EntityReferenceFilter>>;
|
1887
1889
|
/** Filter by contents. */
|
@@ -3965,7 +3967,10 @@ export declare enum FeedTypes {
|
|
3965
3967
|
Twitter = "TWITTER",
|
3966
3968
|
/** Web feed */
|
3967
3969
|
Web = "WEB",
|
3968
|
-
/**
|
3970
|
+
/**
|
3971
|
+
* YouTube audio feed
|
3972
|
+
* @deprecated No longer supported. We suggest using your own YouTube downloader and then ingest the video or audio files.
|
3973
|
+
*/
|
3969
3974
|
YouTube = "YOU_TUBE",
|
3970
3975
|
/** Zendesk articles feed */
|
3971
3976
|
Zendesk = "ZENDESK"
|
@@ -4034,6 +4039,8 @@ export type FilePreparationConnector = {
|
|
4034
4039
|
mistral?: Maybe<MistralDocumentPreparationProperties>;
|
4035
4040
|
/** The specific properties for LLM document preparation. */
|
4036
4041
|
modelDocument?: Maybe<ModelDocumentPreparationProperties>;
|
4042
|
+
/** The specific properties for web page preparation. */
|
4043
|
+
page?: Maybe<PagePreparationProperties>;
|
4037
4044
|
/** The file preparation service type. */
|
4038
4045
|
type: FilePreparationServiceTypes;
|
4039
4046
|
};
|
@@ -4055,6 +4062,8 @@ export type FilePreparationConnectorInput = {
|
|
4055
4062
|
mistral?: InputMaybe<MistralDocumentPreparationPropertiesInput>;
|
4056
4063
|
/** The specific properties for LLM document preparation. */
|
4057
4064
|
modelDocument?: InputMaybe<ModelDocumentPreparationPropertiesInput>;
|
4065
|
+
/** The specific properties for web page preparation. */
|
4066
|
+
page?: InputMaybe<PagePreparationPropertiesInput>;
|
4058
4067
|
/** The file preparation service type. */
|
4059
4068
|
type: FilePreparationServiceTypes;
|
4060
4069
|
};
|
@@ -4073,7 +4082,9 @@ export declare enum FilePreparationServiceTypes {
|
|
4073
4082
|
/** Mistral OCR Document Preparation */
|
4074
4083
|
MistralDocument = "MISTRAL_DOCUMENT",
|
4075
4084
|
/** LLM Document Preparation */
|
4076
|
-
ModelDocument = "MODEL_DOCUMENT"
|
4085
|
+
ModelDocument = "MODEL_DOCUMENT",
|
4086
|
+
/** Web Page Preparation */
|
4087
|
+
Page = "PAGE"
|
4077
4088
|
}
|
4078
4089
|
/** File type */
|
4079
4090
|
export declare enum FileTypes {
|
@@ -9725,6 +9736,17 @@ export type PackageMetadataInput = {
|
|
9725
9736
|
/** The metadata modified date. */
|
9726
9737
|
modifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
|
9727
9738
|
};
|
9739
|
+
/** Represents the web page preparation properties. */
|
9740
|
+
export type PagePreparationProperties = {
|
9741
|
+
__typename?: 'PagePreparationProperties';
|
9742
|
+
/** Whether to take screenshots of ingested web pages. */
|
9743
|
+
enableScreenshot?: Maybe<Scalars['Boolean']['output']>;
|
9744
|
+
};
|
9745
|
+
/** Represents the web page preparation properties. */
|
9746
|
+
export type PagePreparationPropertiesInput = {
|
9747
|
+
/** Whether to take screenshots of ingested web pages. */
|
9748
|
+
enableScreenshot?: InputMaybe<Scalars['Boolean']['input']>;
|
9749
|
+
};
|
9728
9750
|
/** Represents a person. */
|
9729
9751
|
export type Person = {
|
9730
9752
|
__typename?: 'Person';
|
@@ -14887,9 +14909,12 @@ export type GetContentQuery = {
|
|
14887
14909
|
description?: string | null;
|
14888
14910
|
identifier?: string | null;
|
14889
14911
|
markdown?: string | null;
|
14912
|
+
c4id?: string | null;
|
14890
14913
|
type?: ContentTypes | null;
|
14891
14914
|
fileType?: FileTypes | null;
|
14892
14915
|
mimeType?: string | null;
|
14916
|
+
format?: string | null;
|
14917
|
+
formatName?: string | null;
|
14893
14918
|
fileName?: string | null;
|
14894
14919
|
fileSize?: any | null;
|
14895
14920
|
masterUri?: any | null;
|
@@ -24025,6 +24050,10 @@ export type CreateWorkflowMutation = {
|
|
24025
24050
|
detectLanguage?: boolean | null;
|
24026
24051
|
language?: string | null;
|
24027
24052
|
} | null;
|
24053
|
+
page?: {
|
24054
|
+
__typename?: 'PagePreparationProperties';
|
24055
|
+
enableScreenshot?: boolean | null;
|
24056
|
+
} | null;
|
24028
24057
|
document?: {
|
24029
24058
|
__typename?: 'DocumentPreparationProperties';
|
24030
24059
|
includeImages?: boolean | null;
|
@@ -24324,6 +24353,10 @@ export type GetWorkflowQuery = {
|
|
24324
24353
|
detectLanguage?: boolean | null;
|
24325
24354
|
language?: string | null;
|
24326
24355
|
} | null;
|
24356
|
+
page?: {
|
24357
|
+
__typename?: 'PagePreparationProperties';
|
24358
|
+
enableScreenshot?: boolean | null;
|
24359
|
+
} | null;
|
24327
24360
|
document?: {
|
24328
24361
|
__typename?: 'DocumentPreparationProperties';
|
24329
24362
|
includeImages?: boolean | null;
|
@@ -24589,6 +24622,10 @@ export type QueryWorkflowsQuery = {
|
|
24589
24622
|
detectLanguage?: boolean | null;
|
24590
24623
|
language?: string | null;
|
24591
24624
|
} | null;
|
24625
|
+
page?: {
|
24626
|
+
__typename?: 'PagePreparationProperties';
|
24627
|
+
enableScreenshot?: boolean | null;
|
24628
|
+
} | null;
|
24592
24629
|
document?: {
|
24593
24630
|
__typename?: 'DocumentPreparationProperties';
|
24594
24631
|
includeImages?: boolean | null;
|
@@ -24846,6 +24883,10 @@ export type UpdateWorkflowMutation = {
|
|
24846
24883
|
detectLanguage?: boolean | null;
|
24847
24884
|
language?: string | null;
|
24848
24885
|
} | null;
|
24886
|
+
page?: {
|
24887
|
+
__typename?: 'PagePreparationProperties';
|
24888
|
+
enableScreenshot?: boolean | null;
|
24889
|
+
} | null;
|
24849
24890
|
document?: {
|
24850
24891
|
__typename?: 'DocumentPreparationProperties';
|
24851
24892
|
includeImages?: boolean | null;
|
@@ -25102,6 +25143,10 @@ export type UpsertWorkflowMutation = {
|
|
25102
25143
|
detectLanguage?: boolean | null;
|
25103
25144
|
language?: string | null;
|
25104
25145
|
} | null;
|
25146
|
+
page?: {
|
25147
|
+
__typename?: 'PagePreparationProperties';
|
25148
|
+
enableScreenshot?: boolean | null;
|
25149
|
+
} | null;
|
25105
25150
|
document?: {
|
25106
25151
|
__typename?: 'DocumentPreparationProperties';
|
25107
25152
|
includeImages?: boolean | null;
|
@@ -817,7 +817,10 @@ var FeedTypes;
|
|
817
817
|
FeedTypes["Twitter"] = "TWITTER";
|
818
818
|
/** Web feed */
|
819
819
|
FeedTypes["Web"] = "WEB";
|
820
|
-
/**
|
820
|
+
/**
|
821
|
+
* YouTube audio feed
|
822
|
+
* @deprecated No longer supported. We suggest using your own YouTube downloader and then ingest the video or audio files.
|
823
|
+
*/
|
821
824
|
FeedTypes["YouTube"] = "YOU_TUBE";
|
822
825
|
/** Zendesk articles feed */
|
823
826
|
FeedTypes["Zendesk"] = "ZENDESK";
|
@@ -839,6 +842,8 @@ var FilePreparationServiceTypes;
|
|
839
842
|
FilePreparationServiceTypes["MistralDocument"] = "MISTRAL_DOCUMENT";
|
840
843
|
/** LLM Document Preparation */
|
841
844
|
FilePreparationServiceTypes["ModelDocument"] = "MODEL_DOCUMENT";
|
845
|
+
/** Web Page Preparation */
|
846
|
+
FilePreparationServiceTypes["Page"] = "PAGE";
|
842
847
|
})(FilePreparationServiceTypes || (exports.FilePreparationServiceTypes = FilePreparationServiceTypes = {}));
|
843
848
|
/** File type */
|
844
849
|
var FileTypes;
|