graphlit-client 1.0.20250622001 → 1.0.20250622002
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
@@ -154,6 +154,7 @@ declare class Graphlit {
|
|
154
154
|
getContent(id: string): Promise<Types.GetContentQuery>;
|
155
155
|
lookupContents(ids: string[]): Promise<Types.LookupContentsResults>;
|
156
156
|
queryContents(filter?: Types.ContentFilter): Promise<Types.QueryContentsQuery>;
|
157
|
+
queryContentsObservations(filter?: Types.ContentFilter): Promise<Types.QueryContentsObservationsQuery>;
|
157
158
|
queryContentsFacets(filter?: Types.ContentFilter): Promise<Types.QueryContentsFacetsQuery>;
|
158
159
|
queryContentsGraph(filter?: Types.ContentFilter): Promise<Types.QueryContentsGraphQuery>;
|
159
160
|
countContents(filter?: Types.ContentFilter): Promise<Types.CountContentsQuery>;
|
package/dist/client.js
CHANGED
@@ -677,6 +677,9 @@ class Graphlit {
|
|
677
677
|
async queryContents(filter) {
|
678
678
|
return this.queryAndCheckError(Documents.QueryContents, { filter: filter });
|
679
679
|
}
|
680
|
+
async queryContentsObservations(filter) {
|
681
|
+
return this.queryAndCheckError(Documents.QueryContents, { filter: filter });
|
682
|
+
}
|
680
683
|
async queryContentsFacets(filter) {
|
681
684
|
return this.queryAndCheckError(Documents.QueryContentsFacets, { filter: filter });
|
682
685
|
}
|
@@ -50,6 +50,7 @@ export declare const PublishText: import("graphql").DocumentNode;
|
|
50
50
|
export declare const QueryContents: import("graphql").DocumentNode;
|
51
51
|
export declare const QueryContentsFacets: import("graphql").DocumentNode;
|
52
52
|
export declare const QueryContentsGraph: import("graphql").DocumentNode;
|
53
|
+
export declare const QueryContentsObservations: import("graphql").DocumentNode;
|
53
54
|
export declare const ScreenshotPage: import("graphql").DocumentNode;
|
54
55
|
export declare const SummarizeContents: import("graphql").DocumentNode;
|
55
56
|
export declare const SummarizeText: import("graphql").DocumentNode;
|
@@ -2391,6 +2391,258 @@ export const QueryContentsGraph = gql `
|
|
2391
2391
|
}
|
2392
2392
|
}
|
2393
2393
|
`;
|
2394
|
+
export const QueryContentsObservations = gql `
|
2395
|
+
query QueryContentsObservations($filter: ContentFilter, $correlationId: String) {
|
2396
|
+
contents(filter: $filter, correlationId: $correlationId) {
|
2397
|
+
results {
|
2398
|
+
id
|
2399
|
+
name
|
2400
|
+
creationDate
|
2401
|
+
relevance
|
2402
|
+
owner {
|
2403
|
+
id
|
2404
|
+
}
|
2405
|
+
state
|
2406
|
+
originalDate
|
2407
|
+
finishedDate
|
2408
|
+
workflowDuration
|
2409
|
+
uri
|
2410
|
+
description
|
2411
|
+
identifier
|
2412
|
+
address {
|
2413
|
+
streetAddress
|
2414
|
+
city
|
2415
|
+
region
|
2416
|
+
country
|
2417
|
+
postalCode
|
2418
|
+
}
|
2419
|
+
location {
|
2420
|
+
latitude
|
2421
|
+
longitude
|
2422
|
+
}
|
2423
|
+
type
|
2424
|
+
fileType
|
2425
|
+
mimeType
|
2426
|
+
format
|
2427
|
+
formatName
|
2428
|
+
fileExtension
|
2429
|
+
fileName
|
2430
|
+
fileSize
|
2431
|
+
masterUri
|
2432
|
+
imageUri
|
2433
|
+
textUri
|
2434
|
+
audioUri
|
2435
|
+
transcriptUri
|
2436
|
+
summary
|
2437
|
+
customSummary
|
2438
|
+
keywords
|
2439
|
+
bullets
|
2440
|
+
headlines
|
2441
|
+
posts
|
2442
|
+
chapters
|
2443
|
+
questions
|
2444
|
+
quotes
|
2445
|
+
video {
|
2446
|
+
width
|
2447
|
+
height
|
2448
|
+
duration
|
2449
|
+
make
|
2450
|
+
model
|
2451
|
+
software
|
2452
|
+
title
|
2453
|
+
description
|
2454
|
+
keywords
|
2455
|
+
author
|
2456
|
+
}
|
2457
|
+
audio {
|
2458
|
+
keywords
|
2459
|
+
author
|
2460
|
+
series
|
2461
|
+
episode
|
2462
|
+
episodeType
|
2463
|
+
season
|
2464
|
+
publisher
|
2465
|
+
copyright
|
2466
|
+
genre
|
2467
|
+
title
|
2468
|
+
description
|
2469
|
+
bitrate
|
2470
|
+
channels
|
2471
|
+
sampleRate
|
2472
|
+
bitsPerSample
|
2473
|
+
duration
|
2474
|
+
}
|
2475
|
+
image {
|
2476
|
+
width
|
2477
|
+
height
|
2478
|
+
resolutionX
|
2479
|
+
resolutionY
|
2480
|
+
bitsPerComponent
|
2481
|
+
components
|
2482
|
+
projectionType
|
2483
|
+
orientation
|
2484
|
+
description
|
2485
|
+
make
|
2486
|
+
model
|
2487
|
+
software
|
2488
|
+
lens
|
2489
|
+
focalLength
|
2490
|
+
exposureTime
|
2491
|
+
fNumber
|
2492
|
+
iso
|
2493
|
+
heading
|
2494
|
+
pitch
|
2495
|
+
}
|
2496
|
+
document {
|
2497
|
+
title
|
2498
|
+
subject
|
2499
|
+
summary
|
2500
|
+
author
|
2501
|
+
publisher
|
2502
|
+
description
|
2503
|
+
keywords
|
2504
|
+
pageCount
|
2505
|
+
worksheetCount
|
2506
|
+
slideCount
|
2507
|
+
wordCount
|
2508
|
+
lineCount
|
2509
|
+
paragraphCount
|
2510
|
+
isEncrypted
|
2511
|
+
hasDigitalSignature
|
2512
|
+
}
|
2513
|
+
email {
|
2514
|
+
identifier
|
2515
|
+
threadIdentifier
|
2516
|
+
subject
|
2517
|
+
labels
|
2518
|
+
sensitivity
|
2519
|
+
priority
|
2520
|
+
importance
|
2521
|
+
from {
|
2522
|
+
name
|
2523
|
+
email
|
2524
|
+
givenName
|
2525
|
+
familyName
|
2526
|
+
}
|
2527
|
+
to {
|
2528
|
+
name
|
2529
|
+
email
|
2530
|
+
givenName
|
2531
|
+
familyName
|
2532
|
+
}
|
2533
|
+
cc {
|
2534
|
+
name
|
2535
|
+
email
|
2536
|
+
givenName
|
2537
|
+
familyName
|
2538
|
+
}
|
2539
|
+
bcc {
|
2540
|
+
name
|
2541
|
+
email
|
2542
|
+
givenName
|
2543
|
+
familyName
|
2544
|
+
}
|
2545
|
+
}
|
2546
|
+
issue {
|
2547
|
+
identifier
|
2548
|
+
title
|
2549
|
+
project
|
2550
|
+
team
|
2551
|
+
status
|
2552
|
+
priority
|
2553
|
+
type
|
2554
|
+
labels
|
2555
|
+
}
|
2556
|
+
package {
|
2557
|
+
fileCount
|
2558
|
+
folderCount
|
2559
|
+
isEncrypted
|
2560
|
+
}
|
2561
|
+
language {
|
2562
|
+
languages
|
2563
|
+
}
|
2564
|
+
feed {
|
2565
|
+
id
|
2566
|
+
name
|
2567
|
+
}
|
2568
|
+
links {
|
2569
|
+
uri
|
2570
|
+
linkType
|
2571
|
+
}
|
2572
|
+
workflow {
|
2573
|
+
id
|
2574
|
+
name
|
2575
|
+
}
|
2576
|
+
pages {
|
2577
|
+
index
|
2578
|
+
text
|
2579
|
+
relevance
|
2580
|
+
images {
|
2581
|
+
id
|
2582
|
+
mimeType
|
2583
|
+
data
|
2584
|
+
left
|
2585
|
+
right
|
2586
|
+
top
|
2587
|
+
bottom
|
2588
|
+
}
|
2589
|
+
chunks {
|
2590
|
+
index
|
2591
|
+
pageIndex
|
2592
|
+
rowIndex
|
2593
|
+
columnIndex
|
2594
|
+
confidence
|
2595
|
+
text
|
2596
|
+
role
|
2597
|
+
language
|
2598
|
+
relevance
|
2599
|
+
}
|
2600
|
+
}
|
2601
|
+
segments {
|
2602
|
+
startTime
|
2603
|
+
endTime
|
2604
|
+
text
|
2605
|
+
relevance
|
2606
|
+
}
|
2607
|
+
frames {
|
2608
|
+
index
|
2609
|
+
description
|
2610
|
+
text
|
2611
|
+
relevance
|
2612
|
+
}
|
2613
|
+
error
|
2614
|
+
observations {
|
2615
|
+
id
|
2616
|
+
type
|
2617
|
+
observable {
|
2618
|
+
id
|
2619
|
+
name
|
2620
|
+
}
|
2621
|
+
related {
|
2622
|
+
id
|
2623
|
+
name
|
2624
|
+
}
|
2625
|
+
relatedType
|
2626
|
+
relation
|
2627
|
+
occurrences {
|
2628
|
+
type
|
2629
|
+
confidence
|
2630
|
+
startTime
|
2631
|
+
endTime
|
2632
|
+
pageIndex
|
2633
|
+
boundingBox {
|
2634
|
+
left
|
2635
|
+
top
|
2636
|
+
width
|
2637
|
+
height
|
2638
|
+
}
|
2639
|
+
}
|
2640
|
+
state
|
2641
|
+
}
|
2642
|
+
}
|
2643
|
+
}
|
2644
|
+
}
|
2645
|
+
`;
|
2394
2646
|
export const ScreenshotPage = gql `
|
2395
2647
|
mutation ScreenshotPage($uri: URL!, $maximumHeight: Int, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
2396
2648
|
screenshotPage(
|
@@ -16736,6 +16736,291 @@ export type QueryContentsGraphQuery = {
|
|
16736
16736
|
} | null;
|
16737
16737
|
} | null;
|
16738
16738
|
};
|
16739
|
+
export type QueryContentsObservationsQueryVariables = Exact<{
|
16740
|
+
filter?: InputMaybe<ContentFilter>;
|
16741
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
16742
|
+
}>;
|
16743
|
+
export type QueryContentsObservationsQuery = {
|
16744
|
+
__typename?: 'Query';
|
16745
|
+
contents?: {
|
16746
|
+
__typename?: 'ContentResults';
|
16747
|
+
results?: Array<{
|
16748
|
+
__typename?: 'Content';
|
16749
|
+
id: string;
|
16750
|
+
name: string;
|
16751
|
+
creationDate: any;
|
16752
|
+
relevance?: number | null;
|
16753
|
+
state: EntityState;
|
16754
|
+
originalDate?: any | null;
|
16755
|
+
finishedDate?: any | null;
|
16756
|
+
workflowDuration?: any | null;
|
16757
|
+
uri?: any | null;
|
16758
|
+
description?: string | null;
|
16759
|
+
identifier?: string | null;
|
16760
|
+
type?: ContentTypes | null;
|
16761
|
+
fileType?: FileTypes | null;
|
16762
|
+
mimeType?: string | null;
|
16763
|
+
format?: string | null;
|
16764
|
+
formatName?: string | null;
|
16765
|
+
fileExtension?: string | null;
|
16766
|
+
fileName?: string | null;
|
16767
|
+
fileSize?: any | null;
|
16768
|
+
masterUri?: any | null;
|
16769
|
+
imageUri?: any | null;
|
16770
|
+
textUri?: any | null;
|
16771
|
+
audioUri?: any | null;
|
16772
|
+
transcriptUri?: any | null;
|
16773
|
+
summary?: string | null;
|
16774
|
+
customSummary?: string | null;
|
16775
|
+
keywords?: Array<string> | null;
|
16776
|
+
bullets?: Array<string> | null;
|
16777
|
+
headlines?: Array<string> | null;
|
16778
|
+
posts?: Array<string> | null;
|
16779
|
+
chapters?: Array<string> | null;
|
16780
|
+
questions?: Array<string> | null;
|
16781
|
+
quotes?: Array<string> | null;
|
16782
|
+
error?: string | null;
|
16783
|
+
owner: {
|
16784
|
+
__typename?: 'Owner';
|
16785
|
+
id: string;
|
16786
|
+
};
|
16787
|
+
address?: {
|
16788
|
+
__typename?: 'Address';
|
16789
|
+
streetAddress?: string | null;
|
16790
|
+
city?: string | null;
|
16791
|
+
region?: string | null;
|
16792
|
+
country?: string | null;
|
16793
|
+
postalCode?: string | null;
|
16794
|
+
} | null;
|
16795
|
+
location?: {
|
16796
|
+
__typename?: 'Point';
|
16797
|
+
latitude?: number | null;
|
16798
|
+
longitude?: number | null;
|
16799
|
+
} | null;
|
16800
|
+
video?: {
|
16801
|
+
__typename?: 'VideoMetadata';
|
16802
|
+
width?: number | null;
|
16803
|
+
height?: number | null;
|
16804
|
+
duration?: any | null;
|
16805
|
+
make?: string | null;
|
16806
|
+
model?: string | null;
|
16807
|
+
software?: string | null;
|
16808
|
+
title?: string | null;
|
16809
|
+
description?: string | null;
|
16810
|
+
keywords?: Array<string | null> | null;
|
16811
|
+
author?: string | null;
|
16812
|
+
} | null;
|
16813
|
+
audio?: {
|
16814
|
+
__typename?: 'AudioMetadata';
|
16815
|
+
keywords?: Array<string | null> | null;
|
16816
|
+
author?: string | null;
|
16817
|
+
series?: string | null;
|
16818
|
+
episode?: string | null;
|
16819
|
+
episodeType?: string | null;
|
16820
|
+
season?: string | null;
|
16821
|
+
publisher?: string | null;
|
16822
|
+
copyright?: string | null;
|
16823
|
+
genre?: string | null;
|
16824
|
+
title?: string | null;
|
16825
|
+
description?: string | null;
|
16826
|
+
bitrate?: number | null;
|
16827
|
+
channels?: number | null;
|
16828
|
+
sampleRate?: number | null;
|
16829
|
+
bitsPerSample?: number | null;
|
16830
|
+
duration?: any | null;
|
16831
|
+
} | null;
|
16832
|
+
image?: {
|
16833
|
+
__typename?: 'ImageMetadata';
|
16834
|
+
width?: number | null;
|
16835
|
+
height?: number | null;
|
16836
|
+
resolutionX?: number | null;
|
16837
|
+
resolutionY?: number | null;
|
16838
|
+
bitsPerComponent?: number | null;
|
16839
|
+
components?: number | null;
|
16840
|
+
projectionType?: ImageProjectionTypes | null;
|
16841
|
+
orientation?: OrientationTypes | null;
|
16842
|
+
description?: string | null;
|
16843
|
+
make?: string | null;
|
16844
|
+
model?: string | null;
|
16845
|
+
software?: string | null;
|
16846
|
+
lens?: string | null;
|
16847
|
+
focalLength?: number | null;
|
16848
|
+
exposureTime?: string | null;
|
16849
|
+
fNumber?: string | null;
|
16850
|
+
iso?: string | null;
|
16851
|
+
heading?: number | null;
|
16852
|
+
pitch?: number | null;
|
16853
|
+
} | null;
|
16854
|
+
document?: {
|
16855
|
+
__typename?: 'DocumentMetadata';
|
16856
|
+
title?: string | null;
|
16857
|
+
subject?: string | null;
|
16858
|
+
summary?: string | null;
|
16859
|
+
author?: string | null;
|
16860
|
+
publisher?: string | null;
|
16861
|
+
description?: string | null;
|
16862
|
+
keywords?: Array<string | null> | null;
|
16863
|
+
pageCount?: number | null;
|
16864
|
+
worksheetCount?: number | null;
|
16865
|
+
slideCount?: number | null;
|
16866
|
+
wordCount?: number | null;
|
16867
|
+
lineCount?: number | null;
|
16868
|
+
paragraphCount?: number | null;
|
16869
|
+
isEncrypted?: boolean | null;
|
16870
|
+
hasDigitalSignature?: boolean | null;
|
16871
|
+
} | null;
|
16872
|
+
email?: {
|
16873
|
+
__typename?: 'EmailMetadata';
|
16874
|
+
identifier?: string | null;
|
16875
|
+
threadIdentifier?: string | null;
|
16876
|
+
subject?: string | null;
|
16877
|
+
labels?: Array<string | null> | null;
|
16878
|
+
sensitivity?: MailSensitivity | null;
|
16879
|
+
priority?: MailPriority | null;
|
16880
|
+
importance?: MailImportance | null;
|
16881
|
+
from?: Array<{
|
16882
|
+
__typename?: 'PersonReference';
|
16883
|
+
name?: string | null;
|
16884
|
+
email?: string | null;
|
16885
|
+
givenName?: string | null;
|
16886
|
+
familyName?: string | null;
|
16887
|
+
} | null> | null;
|
16888
|
+
to?: Array<{
|
16889
|
+
__typename?: 'PersonReference';
|
16890
|
+
name?: string | null;
|
16891
|
+
email?: string | null;
|
16892
|
+
givenName?: string | null;
|
16893
|
+
familyName?: string | null;
|
16894
|
+
} | null> | null;
|
16895
|
+
cc?: Array<{
|
16896
|
+
__typename?: 'PersonReference';
|
16897
|
+
name?: string | null;
|
16898
|
+
email?: string | null;
|
16899
|
+
givenName?: string | null;
|
16900
|
+
familyName?: string | null;
|
16901
|
+
} | null> | null;
|
16902
|
+
bcc?: Array<{
|
16903
|
+
__typename?: 'PersonReference';
|
16904
|
+
name?: string | null;
|
16905
|
+
email?: string | null;
|
16906
|
+
givenName?: string | null;
|
16907
|
+
familyName?: string | null;
|
16908
|
+
} | null> | null;
|
16909
|
+
} | null;
|
16910
|
+
issue?: {
|
16911
|
+
__typename?: 'IssueMetadata';
|
16912
|
+
identifier?: string | null;
|
16913
|
+
title?: string | null;
|
16914
|
+
project?: string | null;
|
16915
|
+
team?: string | null;
|
16916
|
+
status?: string | null;
|
16917
|
+
priority?: string | null;
|
16918
|
+
type?: string | null;
|
16919
|
+
labels?: Array<string | null> | null;
|
16920
|
+
} | null;
|
16921
|
+
package?: {
|
16922
|
+
__typename?: 'PackageMetadata';
|
16923
|
+
fileCount?: number | null;
|
16924
|
+
folderCount?: number | null;
|
16925
|
+
isEncrypted?: boolean | null;
|
16926
|
+
} | null;
|
16927
|
+
language?: {
|
16928
|
+
__typename?: 'LanguageMetadata';
|
16929
|
+
languages?: Array<string | null> | null;
|
16930
|
+
} | null;
|
16931
|
+
feed?: {
|
16932
|
+
__typename?: 'Feed';
|
16933
|
+
id: string;
|
16934
|
+
name: string;
|
16935
|
+
} | null;
|
16936
|
+
links?: Array<{
|
16937
|
+
__typename?: 'LinkReference';
|
16938
|
+
uri?: any | null;
|
16939
|
+
linkType?: LinkTypes | null;
|
16940
|
+
}> | null;
|
16941
|
+
workflow?: {
|
16942
|
+
__typename?: 'Workflow';
|
16943
|
+
id: string;
|
16944
|
+
name: string;
|
16945
|
+
} | null;
|
16946
|
+
pages?: Array<{
|
16947
|
+
__typename?: 'TextPage';
|
16948
|
+
index?: number | null;
|
16949
|
+
text?: string | null;
|
16950
|
+
relevance?: number | null;
|
16951
|
+
images?: Array<{
|
16952
|
+
__typename?: 'ImageChunk';
|
16953
|
+
id?: string | null;
|
16954
|
+
mimeType?: string | null;
|
16955
|
+
data?: string | null;
|
16956
|
+
left?: number | null;
|
16957
|
+
right?: number | null;
|
16958
|
+
top?: number | null;
|
16959
|
+
bottom?: number | null;
|
16960
|
+
} | null> | null;
|
16961
|
+
chunks?: Array<{
|
16962
|
+
__typename?: 'TextChunk';
|
16963
|
+
index?: number | null;
|
16964
|
+
pageIndex?: number | null;
|
16965
|
+
rowIndex?: number | null;
|
16966
|
+
columnIndex?: number | null;
|
16967
|
+
confidence?: number | null;
|
16968
|
+
text?: string | null;
|
16969
|
+
role?: TextRoles | null;
|
16970
|
+
language?: string | null;
|
16971
|
+
relevance?: number | null;
|
16972
|
+
} | null> | null;
|
16973
|
+
}> | null;
|
16974
|
+
segments?: Array<{
|
16975
|
+
__typename?: 'TextSegment';
|
16976
|
+
startTime?: any | null;
|
16977
|
+
endTime?: any | null;
|
16978
|
+
text?: string | null;
|
16979
|
+
relevance?: number | null;
|
16980
|
+
}> | null;
|
16981
|
+
frames?: Array<{
|
16982
|
+
__typename?: 'TextFrame';
|
16983
|
+
index?: number | null;
|
16984
|
+
description?: string | null;
|
16985
|
+
text?: string | null;
|
16986
|
+
relevance?: number | null;
|
16987
|
+
}> | null;
|
16988
|
+
observations?: Array<{
|
16989
|
+
__typename?: 'Observation';
|
16990
|
+
id: string;
|
16991
|
+
type: ObservableTypes;
|
16992
|
+
relatedType?: ObservableTypes | null;
|
16993
|
+
relation?: string | null;
|
16994
|
+
state: EntityState;
|
16995
|
+
observable: {
|
16996
|
+
__typename?: 'NamedEntityReference';
|
16997
|
+
id: string;
|
16998
|
+
name?: string | null;
|
16999
|
+
};
|
17000
|
+
related?: {
|
17001
|
+
__typename?: 'NamedEntityReference';
|
17002
|
+
id: string;
|
17003
|
+
name?: string | null;
|
17004
|
+
} | null;
|
17005
|
+
occurrences?: Array<{
|
17006
|
+
__typename?: 'ObservationOccurrence';
|
17007
|
+
type?: OccurrenceTypes | null;
|
17008
|
+
confidence?: number | null;
|
17009
|
+
startTime?: any | null;
|
17010
|
+
endTime?: any | null;
|
17011
|
+
pageIndex?: number | null;
|
17012
|
+
boundingBox?: {
|
17013
|
+
__typename?: 'BoundingBox';
|
17014
|
+
left?: number | null;
|
17015
|
+
top?: number | null;
|
17016
|
+
width?: number | null;
|
17017
|
+
height?: number | null;
|
17018
|
+
} | null;
|
17019
|
+
} | null> | null;
|
17020
|
+
} | null> | null;
|
17021
|
+
} | null> | null;
|
17022
|
+
} | null;
|
17023
|
+
};
|
16739
17024
|
export type ScreenshotPageMutationVariables = Exact<{
|
16740
17025
|
uri: Scalars['URL']['input'];
|
16741
17026
|
maximumHeight?: InputMaybe<Scalars['Int']['input']>;
|