graphlit-client 1.0.20251103004 → 1.0.20251112001

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Unstruk Data Inc.
3
+ Copyright (c) 2025 Unstruk Data Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/client.d.ts CHANGED
@@ -158,6 +158,7 @@ declare class Graphlit {
158
158
  extractContents(prompt: string, tools: Types.ToolDefinitionInput[], specification?: Types.EntityReferenceInput, filter?: Types.ContentFilter, correlationId?: string): Promise<Types.ExtractContentsMutation>;
159
159
  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>;
160
160
  publishText(text: string, textType: Types.TextTypes, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishTextMutation>;
161
+ researchContents(prompt: string, specification?: Types.EntityReferenceInput, filter?: Types.ContentFilter, correlationId?: string): Promise<Types.ResearchContentsMutation>;
161
162
  getContent(id: string): Promise<Types.GetContentQuery>;
162
163
  lookupContents(ids: string[]): Promise<Types.LookupContentsResults>;
163
164
  queryObservables(filter?: Types.ContentFilter): Promise<Types.QueryObservablesQuery>;
@@ -414,6 +415,16 @@ declare class Graphlit {
414
415
  createObservation(observation: Types.ObservationInput): Promise<Types.CreateObservationMutation>;
415
416
  updateObservation(observation: Types.ObservationUpdateInput): Promise<Types.UpdateObservationMutation>;
416
417
  deleteObservation(id: string): Promise<Types.DeleteObservationMutation>;
418
+ createInvestment(investment: Types.InvestmentInput): Promise<Types.CreateInvestmentMutation>;
419
+ updateInvestment(investment: Types.InvestmentUpdateInput): Promise<Types.UpdateInvestmentMutation>;
420
+ deleteInvestment(id: string): Promise<Types.DeleteInvestmentMutation>;
421
+ deleteInvestments(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteInvestmentsMutation>;
422
+ deleteAllInvestments(filter?: Types.InvestmentFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllInvestmentsMutation>;
423
+ createInvestmentFund(investmentFund: Types.InvestmentFundInput): Promise<Types.CreateInvestmentFundMutation>;
424
+ updateInvestmentFund(investmentFund: Types.InvestmentFundUpdateInput): Promise<Types.UpdateInvestmentFundMutation>;
425
+ deleteInvestmentFund(id: string): Promise<Types.DeleteInvestmentFundMutation>;
426
+ deleteInvestmentFunds(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteInvestmentFundsMutation>;
427
+ deleteAllInvestmentFunds(filter?: Types.InvestmentFundFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllInvestmentFundsMutation>;
417
428
  /**
418
429
  * Creates an event handler that supports UI streaming mode
419
430
  * @internal
package/dist/client.js CHANGED
@@ -730,6 +730,14 @@ class Graphlit {
730
730
  correlationId: correlationId,
731
731
  });
732
732
  }
733
+ async researchContents(prompt, specification, filter, correlationId) {
734
+ return this.mutateAndCheckError(Documents.ResearchContents, {
735
+ prompt: prompt,
736
+ specification: specification,
737
+ filter: filter,
738
+ correlationId: correlationId,
739
+ });
740
+ }
733
741
  async getContent(id) {
734
742
  return this.queryAndCheckError(Documents.GetContent, { id: id });
735
743
  }
@@ -1823,6 +1831,50 @@ class Graphlit {
1823
1831
  async deleteObservation(id) {
1824
1832
  return this.mutateAndCheckError(Documents.DeleteObservation, { id: id });
1825
1833
  }
1834
+ async createInvestment(investment) {
1835
+ return this.mutateAndCheckError(Documents.CreateInvestment, { investment: investment });
1836
+ }
1837
+ async updateInvestment(investment) {
1838
+ return this.mutateAndCheckError(Documents.UpdateInvestment, { investment: investment });
1839
+ }
1840
+ async deleteInvestment(id) {
1841
+ return this.mutateAndCheckError(Documents.DeleteInvestment, { id: id });
1842
+ }
1843
+ async deleteInvestments(ids, isSynchronous) {
1844
+ return this.mutateAndCheckError(Documents.DeleteInvestments, {
1845
+ ids: ids,
1846
+ isSynchronous: isSynchronous,
1847
+ });
1848
+ }
1849
+ async deleteAllInvestments(filter, isSynchronous, correlationId) {
1850
+ return this.mutateAndCheckError(Documents.DeleteAllInvestments, {
1851
+ filter: filter,
1852
+ isSynchronous: isSynchronous,
1853
+ correlationId: correlationId,
1854
+ });
1855
+ }
1856
+ async createInvestmentFund(investmentFund) {
1857
+ return this.mutateAndCheckError(Documents.CreateInvestmentFund, { investmentFund: investmentFund });
1858
+ }
1859
+ async updateInvestmentFund(investmentFund) {
1860
+ return this.mutateAndCheckError(Documents.UpdateInvestmentFund, { investmentFund: investmentFund });
1861
+ }
1862
+ async deleteInvestmentFund(id) {
1863
+ return this.mutateAndCheckError(Documents.DeleteInvestmentFund, { id: id });
1864
+ }
1865
+ async deleteInvestmentFunds(ids, isSynchronous) {
1866
+ return this.mutateAndCheckError(Documents.DeleteInvestmentFunds, {
1867
+ ids: ids,
1868
+ isSynchronous: isSynchronous,
1869
+ });
1870
+ }
1871
+ async deleteAllInvestmentFunds(filter, isSynchronous, correlationId) {
1872
+ return this.mutateAndCheckError(Documents.DeleteAllInvestmentFunds, {
1873
+ filter: filter,
1874
+ isSynchronous: isSynchronous,
1875
+ correlationId: correlationId,
1876
+ });
1877
+ }
1826
1878
  /**
1827
1879
  * Creates an event handler that supports UI streaming mode
1828
1880
  * @internal
@@ -58,7 +58,9 @@ export declare const QueryContents: import("graphql").DocumentNode;
58
58
  export declare const QueryContentsFacets: import("graphql").DocumentNode;
59
59
  export declare const QueryContentsGraph: import("graphql").DocumentNode;
60
60
  export declare const QueryContentsObservations: import("graphql").DocumentNode;
61
+ export declare const QueryGraph: import("graphql").DocumentNode;
61
62
  export declare const QueryObservables: import("graphql").DocumentNode;
63
+ export declare const ResearchContents: import("graphql").DocumentNode;
62
64
  export declare const ScreenshotPage: import("graphql").DocumentNode;
63
65
  export declare const SummarizeContents: import("graphql").DocumentNode;
64
66
  export declare const SummarizeText: import("graphql").DocumentNode;
@@ -127,6 +129,22 @@ export declare const QuerySharePointLibraries: import("graphql").DocumentNode;
127
129
  export declare const QuerySlackChannels: import("graphql").DocumentNode;
128
130
  export declare const TriggerFeed: import("graphql").DocumentNode;
129
131
  export declare const UpdateFeed: import("graphql").DocumentNode;
132
+ export declare const CountInvestments: import("graphql").DocumentNode;
133
+ export declare const CreateInvestment: import("graphql").DocumentNode;
134
+ export declare const DeleteAllInvestments: import("graphql").DocumentNode;
135
+ export declare const DeleteInvestment: import("graphql").DocumentNode;
136
+ export declare const DeleteInvestments: import("graphql").DocumentNode;
137
+ export declare const GetInvestment: import("graphql").DocumentNode;
138
+ export declare const QueryInvestments: import("graphql").DocumentNode;
139
+ export declare const UpdateInvestment: import("graphql").DocumentNode;
140
+ export declare const CountInvestmentFunds: import("graphql").DocumentNode;
141
+ export declare const CreateInvestmentFund: import("graphql").DocumentNode;
142
+ export declare const DeleteAllInvestmentFunds: import("graphql").DocumentNode;
143
+ export declare const DeleteInvestmentFund: import("graphql").DocumentNode;
144
+ export declare const DeleteInvestmentFunds: import("graphql").DocumentNode;
145
+ export declare const GetInvestmentFund: import("graphql").DocumentNode;
146
+ export declare const QueryInvestmentFunds: import("graphql").DocumentNode;
147
+ export declare const UpdateInvestmentFund: import("graphql").DocumentNode;
130
148
  export declare const CountLabels: import("graphql").DocumentNode;
131
149
  export declare const CreateLabel: import("graphql").DocumentNode;
132
150
  export declare const DeleteAllLabels: import("graphql").DocumentNode;
@@ -220,6 +220,9 @@ export const GetAlert = gql `
220
220
  id
221
221
  }
222
222
  }
223
+ parallel {
224
+ processor
225
+ }
223
226
  }
224
227
  summarySpecification {
225
228
  id
@@ -398,6 +401,9 @@ export const QueryAlerts = gql `
398
401
  id
399
402
  }
400
403
  }
404
+ parallel {
405
+ processor
406
+ }
401
407
  }
402
408
  summarySpecification {
403
409
  id
@@ -857,6 +863,7 @@ export const DescribeEncodedImage = gql `
857
863
  fileExtension
858
864
  fileName
859
865
  fileSize
866
+ fileMetadata
860
867
  relativeFolderPath
861
868
  masterUri
862
869
  imageUri
@@ -997,6 +1004,7 @@ export const DescribeImage = gql `
997
1004
  fileExtension
998
1005
  fileName
999
1006
  fileSize
1007
+ fileMetadata
1000
1008
  relativeFolderPath
1001
1009
  masterUri
1002
1010
  imageUri
@@ -1221,6 +1229,7 @@ export const GetContent = gql `
1221
1229
  fileExtension
1222
1230
  fileName
1223
1231
  fileSize
1232
+ fileMetadata
1224
1233
  relativeFolderPath
1225
1234
  masterUri
1226
1235
  imageUri
@@ -1427,6 +1436,7 @@ export const GetContent = gql `
1427
1436
  pullRequest {
1428
1437
  identifier
1429
1438
  title
1439
+ description
1430
1440
  project
1431
1441
  team
1432
1442
  status
@@ -2048,6 +2058,7 @@ export const LookupContents = gql `
2048
2058
  fileExtension
2049
2059
  fileName
2050
2060
  fileSize
2061
+ fileMetadata
2051
2062
  relativeFolderPath
2052
2063
  masterUri
2053
2064
  imageUri
@@ -2254,6 +2265,7 @@ export const LookupContents = gql `
2254
2265
  pullRequest {
2255
2266
  identifier
2256
2267
  title
2268
+ description
2257
2269
  project
2258
2270
  team
2259
2271
  status
@@ -2449,6 +2461,7 @@ export const PublishContents = gql `
2449
2461
  fileExtension
2450
2462
  fileName
2451
2463
  fileSize
2464
+ fileMetadata
2452
2465
  relativeFolderPath
2453
2466
  masterUri
2454
2467
  imageUri
@@ -2578,6 +2591,7 @@ export const PublishText = gql `
2578
2591
  fileExtension
2579
2592
  fileName
2580
2593
  fileSize
2594
+ fileMetadata
2581
2595
  relativeFolderPath
2582
2596
  masterUri
2583
2597
  imageUri
@@ -2918,6 +2932,7 @@ export const QueryContents = gql `
2918
2932
  pullRequest {
2919
2933
  identifier
2920
2934
  title
2935
+ description
2921
2936
  project
2922
2937
  team
2923
2938
  status
@@ -3318,6 +3333,7 @@ export const QueryContentsObservations = gql `
3318
3333
  pullRequest {
3319
3334
  identifier
3320
3335
  title
3336
+ description
3321
3337
  project
3322
3338
  team
3323
3339
  status
@@ -3467,6 +3483,22 @@ export const QueryContentsObservations = gql `
3467
3483
  }
3468
3484
  }
3469
3485
  `;
3486
+ export const QueryGraph = gql `
3487
+ query QueryGraph($filter: GraphFilter, $graph: GraphInput, $correlationId: String) {
3488
+ graph(filter: $filter, graph: $graph, correlationId: $correlationId) {
3489
+ nodes {
3490
+ id
3491
+ name
3492
+ type
3493
+ }
3494
+ edges {
3495
+ from
3496
+ to
3497
+ relation
3498
+ }
3499
+ }
3500
+ }
3501
+ `;
3470
3502
  export const QueryObservables = gql `
3471
3503
  query QueryObservables($filter: ContentFilter, $correlationId: String) {
3472
3504
  observables(filter: $filter, correlationId: $correlationId) {
@@ -3480,6 +3512,21 @@ export const QueryObservables = gql `
3480
3512
  }
3481
3513
  }
3482
3514
  `;
3515
+ export const ResearchContents = gql `
3516
+ mutation ResearchContents($connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput, $correlationId: String) {
3517
+ researchContents(
3518
+ connector: $connector
3519
+ filter: $filter
3520
+ name: $name
3521
+ summarySpecification: $summarySpecification
3522
+ publishSpecification: $publishSpecification
3523
+ workflow: $workflow
3524
+ correlationId: $correlationId
3525
+ ) {
3526
+ result
3527
+ }
3528
+ }
3529
+ `;
3483
3530
  export const ScreenshotPage = gql `
3484
3531
  mutation ScreenshotPage($uri: URL!, $maximumHeight: Int, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
3485
3532
  screenshotPage(
@@ -3658,6 +3705,7 @@ export const AskGraphlit = gql `
3658
3705
  fileExtension
3659
3706
  fileName
3660
3707
  fileSize
3708
+ fileMetadata
3661
3709
  relativeFolderPath
3662
3710
  masterUri
3663
3711
  imageUri
@@ -3836,6 +3884,7 @@ export const CompleteConversation = gql `
3836
3884
  fileExtension
3837
3885
  fileName
3838
3886
  fileSize
3887
+ fileMetadata
3839
3888
  relativeFolderPath
3840
3889
  masterUri
3841
3890
  imageUri
@@ -4019,6 +4068,7 @@ export const CompleteConversation = gql `
4019
4068
  fileExtension
4020
4069
  fileName
4021
4070
  fileSize
4071
+ fileMetadata
4022
4072
  relativeFolderPath
4023
4073
  masterUri
4024
4074
  imageUri
@@ -4164,6 +4214,7 @@ export const ContinueConversation = gql `
4164
4214
  fileExtension
4165
4215
  fileName
4166
4216
  fileSize
4217
+ fileMetadata
4167
4218
  relativeFolderPath
4168
4219
  masterUri
4169
4220
  imageUri
@@ -4347,6 +4398,7 @@ export const ContinueConversation = gql `
4347
4398
  fileExtension
4348
4399
  fileName
4349
4400
  fileSize
4401
+ fileMetadata
4350
4402
  relativeFolderPath
4351
4403
  masterUri
4352
4404
  imageUri
@@ -4541,6 +4593,7 @@ export const FormatConversation = gql `
4541
4593
  fileExtension
4542
4594
  fileName
4543
4595
  fileSize
4596
+ fileMetadata
4544
4597
  relativeFolderPath
4545
4598
  masterUri
4546
4599
  imageUri
@@ -4724,6 +4777,7 @@ export const FormatConversation = gql `
4724
4777
  fileExtension
4725
4778
  fileName
4726
4779
  fileSize
4780
+ fileMetadata
4727
4781
  relativeFolderPath
4728
4782
  masterUri
4729
4783
  imageUri
@@ -4872,6 +4926,7 @@ export const GetConversation = gql `
4872
4926
  fileExtension
4873
4927
  fileName
4874
4928
  fileSize
4929
+ fileMetadata
4875
4930
  relativeFolderPath
4876
4931
  masterUri
4877
4932
  imageUri
@@ -5209,6 +5264,7 @@ export const Prompt = gql `
5209
5264
  fileExtension
5210
5265
  fileName
5211
5266
  fileSize
5267
+ fileMetadata
5212
5268
  relativeFolderPath
5213
5269
  masterUri
5214
5270
  imageUri
@@ -5361,6 +5417,7 @@ export const PromptConversation = gql `
5361
5417
  fileExtension
5362
5418
  fileName
5363
5419
  fileSize
5420
+ fileMetadata
5364
5421
  relativeFolderPath
5365
5422
  masterUri
5366
5423
  imageUri
@@ -5544,6 +5601,7 @@ export const PromptConversation = gql `
5544
5601
  fileExtension
5545
5602
  fileName
5546
5603
  fileSize
5604
+ fileMetadata
5547
5605
  relativeFolderPath
5548
5606
  masterUri
5549
5607
  imageUri
@@ -5685,6 +5743,7 @@ export const PublishConversation = gql `
5685
5743
  fileExtension
5686
5744
  fileName
5687
5745
  fileSize
5746
+ fileMetadata
5688
5747
  relativeFolderPath
5689
5748
  masterUri
5690
5749
  imageUri
@@ -5821,6 +5880,7 @@ export const QueryConversations = gql `
5821
5880
  fileExtension
5822
5881
  fileName
5823
5882
  fileSize
5883
+ fileMetadata
5824
5884
  relativeFolderPath
5825
5885
  masterUri
5826
5886
  imageUri
@@ -6209,6 +6269,7 @@ export const ReviseContent = gql `
6209
6269
  fileExtension
6210
6270
  fileName
6211
6271
  fileSize
6272
+ fileMetadata
6212
6273
  relativeFolderPath
6213
6274
  masterUri
6214
6275
  imageUri
@@ -6357,6 +6418,7 @@ export const ReviseEncodedImage = gql `
6357
6418
  fileExtension
6358
6419
  fileName
6359
6420
  fileSize
6421
+ fileMetadata
6360
6422
  relativeFolderPath
6361
6423
  masterUri
6362
6424
  imageUri
@@ -6504,6 +6566,7 @@ export const ReviseImage = gql `
6504
6566
  fileExtension
6505
6567
  fileName
6506
6568
  fileSize
6569
+ fileMetadata
6507
6570
  relativeFolderPath
6508
6571
  masterUri
6509
6572
  imageUri
@@ -6651,6 +6714,7 @@ export const ReviseText = gql `
6651
6714
  fileExtension
6652
6715
  fileName
6653
6716
  fileSize
6717
+ fileMetadata
6654
6718
  relativeFolderPath
6655
6719
  masterUri
6656
6720
  imageUri
@@ -7141,6 +7205,9 @@ export const GetFeed = gql `
7141
7205
  identifiers
7142
7206
  type
7143
7207
  }
7208
+ attio {
7209
+ apiKey
7210
+ }
7144
7211
  readLimit
7145
7212
  }
7146
7213
  commit {
@@ -7169,6 +7236,14 @@ export const GetFeed = gql `
7169
7236
  }
7170
7237
  readLimit
7171
7238
  }
7239
+ crm {
7240
+ type
7241
+ attio {
7242
+ authenticationType
7243
+ apiKey
7244
+ }
7245
+ readLimit
7246
+ }
7172
7247
  calendar {
7173
7248
  type
7174
7249
  includeAttachments
@@ -7274,6 +7349,26 @@ export const GetFeed = gql `
7274
7349
  channel
7275
7350
  includeAttachments
7276
7351
  }
7352
+ attio {
7353
+ readLimit
7354
+ apiKey
7355
+ }
7356
+ research {
7357
+ readLimit
7358
+ type
7359
+ query
7360
+ parallel {
7361
+ processor
7362
+ }
7363
+ }
7364
+ entity {
7365
+ type
7366
+ query
7367
+ readLimit
7368
+ parallel {
7369
+ generator
7370
+ }
7371
+ }
7277
7372
  error
7278
7373
  lastPostDate
7279
7374
  lastReadDate
@@ -7511,6 +7606,9 @@ export const QueryFeeds = gql `
7511
7606
  identifiers
7512
7607
  type
7513
7608
  }
7609
+ attio {
7610
+ apiKey
7611
+ }
7514
7612
  readLimit
7515
7613
  }
7516
7614
  commit {
@@ -7539,6 +7637,14 @@ export const QueryFeeds = gql `
7539
7637
  }
7540
7638
  readLimit
7541
7639
  }
7640
+ crm {
7641
+ type
7642
+ attio {
7643
+ authenticationType
7644
+ apiKey
7645
+ }
7646
+ readLimit
7647
+ }
7542
7648
  calendar {
7543
7649
  type
7544
7650
  includeAttachments
@@ -7644,6 +7750,26 @@ export const QueryFeeds = gql `
7644
7750
  channel
7645
7751
  includeAttachments
7646
7752
  }
7753
+ attio {
7754
+ readLimit
7755
+ apiKey
7756
+ }
7757
+ research {
7758
+ readLimit
7759
+ type
7760
+ query
7761
+ parallel {
7762
+ processor
7763
+ }
7764
+ }
7765
+ entity {
7766
+ type
7767
+ query
7768
+ readLimit
7769
+ parallel {
7770
+ generator
7771
+ }
7772
+ }
7647
7773
  error
7648
7774
  lastPostDate
7649
7775
  lastReadDate
@@ -7820,6 +7946,172 @@ export const UpdateFeed = gql `
7820
7946
  }
7821
7947
  }
7822
7948
  `;
7949
+ export const CountInvestments = gql `
7950
+ query CountInvestments($filter: InvestmentFilter, $correlationId: String) {
7951
+ countInvestments(filter: $filter, correlationId: $correlationId) {
7952
+ count
7953
+ }
7954
+ }
7955
+ `;
7956
+ export const CreateInvestment = gql `
7957
+ mutation CreateInvestment($investment: InvestmentInput!) {
7958
+ createInvestment(investment: $investment) {
7959
+ id
7960
+ name
7961
+ }
7962
+ }
7963
+ `;
7964
+ export const DeleteAllInvestments = gql `
7965
+ mutation DeleteAllInvestments($filter: InvestmentFilter, $isSynchronous: Boolean, $correlationId: String) {
7966
+ deleteAllInvestments(
7967
+ filter: $filter
7968
+ isSynchronous: $isSynchronous
7969
+ correlationId: $correlationId
7970
+ ) {
7971
+ id
7972
+ state
7973
+ }
7974
+ }
7975
+ `;
7976
+ export const DeleteInvestment = gql `
7977
+ mutation DeleteInvestment($id: ID!) {
7978
+ deleteInvestment(id: $id) {
7979
+ id
7980
+ state
7981
+ }
7982
+ }
7983
+ `;
7984
+ export const DeleteInvestments = gql `
7985
+ mutation DeleteInvestments($ids: [ID!]!, $isSynchronous: Boolean) {
7986
+ deleteInvestments(ids: $ids, isSynchronous: $isSynchronous) {
7987
+ id
7988
+ state
7989
+ }
7990
+ }
7991
+ `;
7992
+ export const GetInvestment = gql `
7993
+ query GetInvestment($id: ID!, $correlationId: String) {
7994
+ investment(id: $id, correlationId: $correlationId) {
7995
+ id
7996
+ name
7997
+ alternateNames
7998
+ creationDate
7999
+ uri
8000
+ description
8001
+ identifier
8002
+ thing
8003
+ relevance
8004
+ }
8005
+ }
8006
+ `;
8007
+ export const QueryInvestments = gql `
8008
+ query QueryInvestments($filter: InvestmentFilter, $correlationId: String) {
8009
+ investments(filter: $filter, correlationId: $correlationId) {
8010
+ results {
8011
+ id
8012
+ name
8013
+ alternateNames
8014
+ creationDate
8015
+ uri
8016
+ description
8017
+ identifier
8018
+ thing
8019
+ relevance
8020
+ }
8021
+ }
8022
+ }
8023
+ `;
8024
+ export const UpdateInvestment = gql `
8025
+ mutation UpdateInvestment($investment: InvestmentUpdateInput!) {
8026
+ updateInvestment(investment: $investment) {
8027
+ id
8028
+ name
8029
+ }
8030
+ }
8031
+ `;
8032
+ export const CountInvestmentFunds = gql `
8033
+ query CountInvestmentFunds($filter: InvestmentFundFilter, $correlationId: String) {
8034
+ countInvestmentFunds(filter: $filter, correlationId: $correlationId) {
8035
+ count
8036
+ }
8037
+ }
8038
+ `;
8039
+ export const CreateInvestmentFund = gql `
8040
+ mutation CreateInvestmentFund($investmentFund: InvestmentFundInput!) {
8041
+ createInvestmentFund(investmentFund: $investmentFund) {
8042
+ id
8043
+ name
8044
+ }
8045
+ }
8046
+ `;
8047
+ export const DeleteAllInvestmentFunds = gql `
8048
+ mutation DeleteAllInvestmentFunds($filter: InvestmentFundFilter, $isSynchronous: Boolean, $correlationId: String) {
8049
+ deleteAllInvestmentFunds(
8050
+ filter: $filter
8051
+ isSynchronous: $isSynchronous
8052
+ correlationId: $correlationId
8053
+ ) {
8054
+ id
8055
+ state
8056
+ }
8057
+ }
8058
+ `;
8059
+ export const DeleteInvestmentFund = gql `
8060
+ mutation DeleteInvestmentFund($id: ID!) {
8061
+ deleteInvestmentFund(id: $id) {
8062
+ id
8063
+ state
8064
+ }
8065
+ }
8066
+ `;
8067
+ export const DeleteInvestmentFunds = gql `
8068
+ mutation DeleteInvestmentFunds($ids: [ID!]!, $isSynchronous: Boolean) {
8069
+ deleteInvestmentFunds(ids: $ids, isSynchronous: $isSynchronous) {
8070
+ id
8071
+ state
8072
+ }
8073
+ }
8074
+ `;
8075
+ export const GetInvestmentFund = gql `
8076
+ query GetInvestmentFund($id: ID!, $correlationId: String) {
8077
+ investmentFund(id: $id, correlationId: $correlationId) {
8078
+ id
8079
+ name
8080
+ alternateNames
8081
+ creationDate
8082
+ uri
8083
+ description
8084
+ identifier
8085
+ thing
8086
+ relevance
8087
+ }
8088
+ }
8089
+ `;
8090
+ export const QueryInvestmentFunds = gql `
8091
+ query QueryInvestmentFunds($filter: InvestmentFundFilter, $correlationId: String) {
8092
+ investmentFunds(filter: $filter, correlationId: $correlationId) {
8093
+ results {
8094
+ id
8095
+ name
8096
+ alternateNames
8097
+ creationDate
8098
+ uri
8099
+ description
8100
+ identifier
8101
+ thing
8102
+ relevance
8103
+ }
8104
+ }
8105
+ }
8106
+ `;
8107
+ export const UpdateInvestmentFund = gql `
8108
+ mutation UpdateInvestmentFund($investmentFund: InvestmentFundUpdateInput!) {
8109
+ updateInvestmentFund(investmentFund: $investmentFund) {
8110
+ id
8111
+ name
8112
+ }
8113
+ }
8114
+ `;
7823
8115
  export const CountLabels = gql `
7824
8116
  query CountLabels($filter: LabelFilter, $correlationId: String) {
7825
8117
  countLabels(filter: $filter, correlationId: $correlationId) {
@@ -9967,6 +10259,7 @@ export const PromptSpecifications = gql `
9967
10259
  fileExtension
9968
10260
  fileName
9969
10261
  fileSize
10262
+ fileMetadata
9970
10263
  relativeFolderPath
9971
10264
  masterUri
9972
10265
  imageUri