graphlit-client 1.0.20260303003 → 1.0.20260304001

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.
@@ -16082,6 +16082,7 @@ export const GetProject = gql `
16082
16082
  feeds
16083
16083
  posts
16084
16084
  conversations
16085
+ userCredits
16085
16086
  }
16086
16087
  callbackUri
16087
16088
  }
@@ -17693,6 +17694,12 @@ export const GetUser = gql `
17693
17694
  text
17694
17695
  }
17695
17696
  }
17697
+ quota {
17698
+ credits
17699
+ }
17700
+ credits
17701
+ lastCreditsDate
17702
+ accumulatedCredits
17696
17703
  }
17697
17704
  }
17698
17705
  `;
@@ -17782,6 +17789,12 @@ export const GetUserByIdentifier = gql `
17782
17789
  text
17783
17790
  }
17784
17791
  }
17792
+ quota {
17793
+ credits
17794
+ }
17795
+ credits
17796
+ lastCreditsDate
17797
+ accumulatedCredits
17785
17798
  }
17786
17799
  }
17787
17800
  `;
@@ -17872,6 +17885,12 @@ export const QueryUsers = gql `
17872
17885
  text
17873
17886
  }
17874
17887
  }
17888
+ quota {
17889
+ credits
17890
+ }
17891
+ credits
17892
+ lastCreditsDate
17893
+ accumulatedCredits
17875
17894
  }
17876
17895
  }
17877
17896
  }
@@ -141,6 +141,8 @@ export type Agent = {
141
141
  timeout?: Maybe<Scalars['TimeSpan']['output']>;
142
142
  /** The agent type. */
143
143
  type: AgentTypes;
144
+ /** The user that created the entity. */
145
+ user?: Maybe<EntityReference>;
144
146
  };
145
147
  /** Represents a filter for agents. */
146
148
  export type AgentFilter = {
@@ -286,6 +288,8 @@ export type Alert = {
286
288
  summarySpecification?: Maybe<EntityReference>;
287
289
  /** The alert type. */
288
290
  type: AlertTypes;
291
+ /** The user that created the entity. */
292
+ user?: Maybe<EntityReference>;
289
293
  /** The saved view, optional. */
290
294
  view?: Maybe<EntityReference>;
291
295
  };
@@ -2117,6 +2121,8 @@ export type Category = {
2117
2121
  relevance?: Maybe<Scalars['Float']['output']>;
2118
2122
  /** The state of the category (i.e. created, enabled). */
2119
2123
  state: EntityState;
2124
+ /** The user that created the entity. */
2125
+ user?: Maybe<EntityReference>;
2120
2126
  };
2121
2127
  /** Represents a category facet. */
2122
2128
  export type CategoryFacet = {
@@ -2417,6 +2423,8 @@ export type Collection = {
2417
2423
  state: EntityState;
2418
2424
  /** The collection type. */
2419
2425
  type?: Maybe<CollectionTypes>;
2426
+ /** The user that created the entity. */
2427
+ user?: Maybe<EntityReference>;
2420
2428
  };
2421
2429
  /** Represents a filter for collections. */
2422
2430
  export type CollectionFilter = {
@@ -2767,6 +2775,8 @@ export type Connector = {
2767
2775
  state: EntityState;
2768
2776
  /** The connector type. */
2769
2777
  type?: Maybe<ConnectorTypes>;
2778
+ /** The user that created the entity. */
2779
+ user?: Maybe<EntityReference>;
2770
2780
  };
2771
2781
  /** Represents a filter for connectors. */
2772
2782
  export type ConnectorFilter = {
@@ -3010,6 +3020,8 @@ export type Content = {
3010
3020
  type?: Maybe<ContentTypes>;
3011
3021
  /** The content URI. */
3012
3022
  uri?: Maybe<Scalars['URL']['output']>;
3023
+ /** The user that created the entity. */
3024
+ user?: Maybe<EntityReference>;
3013
3025
  /** The content video metadata. */
3014
3026
  video?: Maybe<VideoMetadata>;
3015
3027
  workflow?: Maybe<Workflow>;
@@ -3729,6 +3741,8 @@ export type Conversation = {
3729
3741
  turns?: Maybe<Array<Maybe<ConversationTurn>>>;
3730
3742
  /** The conversation type. */
3731
3743
  type?: Maybe<ConversationTypes>;
3744
+ /** The user that created the entity. */
3745
+ user?: Maybe<EntityReference>;
3732
3746
  };
3733
3747
  /** Represents a conversation citation. */
3734
3748
  export type ConversationCitation = {
@@ -5834,6 +5848,8 @@ export declare enum EntityState {
5834
5848
  Ingested = "INGESTED",
5835
5849
  /** Initialized */
5836
5850
  Initialized = "INITIALIZED",
5851
+ /** Limited */
5852
+ Limited = "LIMITED",
5837
5853
  /** Opened */
5838
5854
  Opened = "OPENED",
5839
5855
  /** Paused */
@@ -6026,6 +6042,8 @@ export type Event = {
6026
6042
  typicalAgeRange?: Maybe<Scalars['String']['output']>;
6027
6043
  /** The event URI. */
6028
6044
  uri?: Maybe<Scalars['URL']['output']>;
6045
+ /** The user that created the entity. */
6046
+ user?: Maybe<EntityReference>;
6029
6047
  /** The workflow associated with this event. */
6030
6048
  workflow?: Maybe<Workflow>;
6031
6049
  };
@@ -6755,6 +6773,8 @@ export type Feed = {
6755
6773
  twitter?: Maybe<TwitterFeedProperties>;
6756
6774
  /** The feed type. */
6757
6775
  type: FeedTypes;
6776
+ /** The user that created the entity. */
6777
+ user?: Maybe<EntityReference>;
6758
6778
  /** The web feed properties. */
6759
6779
  web?: Maybe<WebFeedProperties>;
6760
6780
  workflow?: Maybe<Workflow>;
@@ -8017,7 +8037,7 @@ export type GoogleDriveFeedProperties = {
8017
8037
  clientSecret?: Maybe<Scalars['String']['output']>;
8018
8038
  /** Authentication connector reference. */
8019
8039
  connector?: Maybe<EntityReference>;
8020
- /** Google Drive shared drive identifier. */
8040
+ /** Google Drive shared drive identifier. If not provided, defaults to the user's My Drive. */
8021
8041
  driveId?: Maybe<Scalars['ID']['output']>;
8022
8042
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8023
8043
  files?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
@@ -8038,7 +8058,7 @@ export type GoogleDriveFeedPropertiesInput = {
8038
8058
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8039
8059
  /** The authentication connector reference. */
8040
8060
  connector?: InputMaybe<EntityReferenceInput>;
8041
- /** Google Drive shared drive identifier. */
8061
+ /** Google Drive shared drive identifier. If not provided, defaults to the user's My Drive. */
8042
8062
  driveId?: InputMaybe<Scalars['ID']['input']>;
8043
8063
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8044
8064
  files?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -8059,7 +8079,7 @@ export type GoogleDriveFeedPropertiesUpdateInput = {
8059
8079
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8060
8080
  /** The authentication connector reference. */
8061
8081
  connector?: InputMaybe<EntityReferenceInput>;
8062
- /** Google Drive shared drive identifier. */
8082
+ /** Google Drive shared drive identifier. If not provided, defaults to the user's My Drive. */
8063
8083
  driveId?: InputMaybe<Scalars['ID']['input']>;
8064
8084
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8065
8085
  files?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -9797,6 +9817,8 @@ export type Investment = {
9797
9817
  thing?: Maybe<Scalars['String']['output']>;
9798
9818
  /** The investment URI. */
9799
9819
  uri?: Maybe<Scalars['URL']['output']>;
9820
+ /** The user that created the entity. */
9821
+ user?: Maybe<EntityReference>;
9800
9822
  /** The investment vehicle type. */
9801
9823
  vehicle?: Maybe<Scalars['String']['output']>;
9802
9824
  /** The workflow associated with this investment. */
@@ -9942,6 +9964,8 @@ export type InvestmentFund = {
9942
9964
  thing?: Maybe<Scalars['String']['output']>;
9943
9965
  /** The investmentfund URI. */
9944
9966
  uri?: Maybe<Scalars['URL']['output']>;
9967
+ /** The user that created the entity. */
9968
+ user?: Maybe<EntityReference>;
9945
9969
  /** The fund vintage year. */
9946
9970
  vintage?: Maybe<Scalars['Int']['output']>;
9947
9971
  /** The workflow associated with this investment fund. */
@@ -10489,6 +10513,8 @@ export type Label = {
10489
10513
  relevance?: Maybe<Scalars['Float']['output']>;
10490
10514
  /** The state of the label (i.e. created, enabled). */
10491
10515
  state: EntityState;
10516
+ /** The user that created the entity. */
10517
+ user?: Maybe<EntityReference>;
10492
10518
  };
10493
10519
  /** Represents a label facet. */
10494
10520
  export type LabelFacet = {
@@ -11065,6 +11091,8 @@ export type MedicalCondition = {
11065
11091
  thing?: Maybe<Scalars['String']['output']>;
11066
11092
  /** The medicalcondition URI. */
11067
11093
  uri?: Maybe<Scalars['URL']['output']>;
11094
+ /** The user that created the entity. */
11095
+ user?: Maybe<EntityReference>;
11068
11096
  /** The workflow associated with this medical condition. */
11069
11097
  workflow?: Maybe<Workflow>;
11070
11098
  };
@@ -11234,6 +11262,8 @@ export type MedicalContraindication = {
11234
11262
  thing?: Maybe<Scalars['String']['output']>;
11235
11263
  /** The medicalcontraindication URI. */
11236
11264
  uri?: Maybe<Scalars['URL']['output']>;
11265
+ /** The user that created the entity. */
11266
+ user?: Maybe<EntityReference>;
11237
11267
  /** The workflow associated with this medical contraindication. */
11238
11268
  workflow?: Maybe<Workflow>;
11239
11269
  };
@@ -11403,6 +11433,8 @@ export type MedicalDevice = {
11403
11433
  thing?: Maybe<Scalars['String']['output']>;
11404
11434
  /** The medicaldevice URI. */
11405
11435
  uri?: Maybe<Scalars['URL']['output']>;
11436
+ /** The user that created the entity. */
11437
+ user?: Maybe<EntityReference>;
11406
11438
  /** The workflow associated with this medical device. */
11407
11439
  workflow?: Maybe<Workflow>;
11408
11440
  };
@@ -11572,6 +11604,8 @@ export type MedicalDrug = {
11572
11604
  thing?: Maybe<Scalars['String']['output']>;
11573
11605
  /** The medicaldrug URI. */
11574
11606
  uri?: Maybe<Scalars['URL']['output']>;
11607
+ /** The user that created the entity. */
11608
+ user?: Maybe<EntityReference>;
11575
11609
  /** The workflow associated with this medical drug. */
11576
11610
  workflow?: Maybe<Workflow>;
11577
11611
  };
@@ -11616,6 +11650,8 @@ export type MedicalDrugClass = {
11616
11650
  thing?: Maybe<Scalars['String']['output']>;
11617
11651
  /** The medicaldrugclass URI. */
11618
11652
  uri?: Maybe<Scalars['URL']['output']>;
11653
+ /** The user that created the entity. */
11654
+ user?: Maybe<EntityReference>;
11619
11655
  /** The workflow associated with this medical drug class. */
11620
11656
  workflow?: Maybe<Workflow>;
11621
11657
  };
@@ -11910,6 +11946,8 @@ export type MedicalGuideline = {
11910
11946
  thing?: Maybe<Scalars['String']['output']>;
11911
11947
  /** The medicalguideline URI. */
11912
11948
  uri?: Maybe<Scalars['URL']['output']>;
11949
+ /** The user that created the entity. */
11950
+ user?: Maybe<EntityReference>;
11913
11951
  /** The workflow associated with this medical guideline. */
11914
11952
  workflow?: Maybe<Workflow>;
11915
11953
  };
@@ -12079,6 +12117,8 @@ export type MedicalIndication = {
12079
12117
  thing?: Maybe<Scalars['String']['output']>;
12080
12118
  /** The medicalindication URI. */
12081
12119
  uri?: Maybe<Scalars['URL']['output']>;
12120
+ /** The user that created the entity. */
12121
+ user?: Maybe<EntityReference>;
12082
12122
  /** The workflow associated with this medical indication. */
12083
12123
  workflow?: Maybe<Workflow>;
12084
12124
  };
@@ -12248,6 +12288,8 @@ export type MedicalProcedure = {
12248
12288
  thing?: Maybe<Scalars['String']['output']>;
12249
12289
  /** The medicalprocedure URI. */
12250
12290
  uri?: Maybe<Scalars['URL']['output']>;
12291
+ /** The user that created the entity. */
12292
+ user?: Maybe<EntityReference>;
12251
12293
  /** The workflow associated with this medical procedure. */
12252
12294
  workflow?: Maybe<Workflow>;
12253
12295
  };
@@ -12419,6 +12461,8 @@ export type MedicalStudy = {
12419
12461
  thing?: Maybe<Scalars['String']['output']>;
12420
12462
  /** The medicalstudy URI. */
12421
12463
  uri?: Maybe<Scalars['URL']['output']>;
12464
+ /** The user that created the entity. */
12465
+ user?: Maybe<EntityReference>;
12422
12466
  /** The workflow associated with this medical study. */
12423
12467
  workflow?: Maybe<Workflow>;
12424
12468
  };
@@ -12592,6 +12636,8 @@ export type MedicalTest = {
12592
12636
  thing?: Maybe<Scalars['String']['output']>;
12593
12637
  /** The medicaltest URI. */
12594
12638
  uri?: Maybe<Scalars['URL']['output']>;
12639
+ /** The user that created the entity. */
12640
+ user?: Maybe<EntityReference>;
12595
12641
  /** The workflow associated with this medical test. */
12596
12642
  workflow?: Maybe<Workflow>;
12597
12643
  };
@@ -12761,6 +12807,8 @@ export type MedicalTherapy = {
12761
12807
  thing?: Maybe<Scalars['String']['output']>;
12762
12808
  /** The medicaltherapy URI. */
12763
12809
  uri?: Maybe<Scalars['URL']['output']>;
12810
+ /** The user that created the entity. */
12811
+ user?: Maybe<EntityReference>;
12764
12812
  /** The workflow associated with this medical therapy. */
12765
12813
  workflow?: Maybe<Workflow>;
12766
12814
  };
@@ -13078,6 +13126,8 @@ export type Metadata = {
13078
13126
  state: EntityState;
13079
13127
  /** The metadata type. */
13080
13128
  type?: Maybe<MetadataTypes>;
13129
+ /** The user that created the entity. */
13130
+ user?: Maybe<EntityReference>;
13081
13131
  /** The metadata value. */
13082
13132
  value?: Maybe<Scalars['String']['output']>;
13083
13133
  /** The metadata value type. */
@@ -14311,6 +14361,10 @@ export type Mutation = {
14311
14361
  removeSkillsFromCollection?: Maybe<Collection>;
14312
14362
  /** Research contents via web research based on provided filter criteria. */
14313
14363
  researchContents?: Maybe<StringResult>;
14364
+ /** Resets project credits and re-enables limited entities. */
14365
+ resetProjectCredits?: Maybe<Project>;
14366
+ /** Resets user credits and re-enables limited entities for the user. */
14367
+ resetUserCredits?: Maybe<User>;
14314
14368
  /** Resolves duplicate entities into a single primary entity using LLM reasoning. Returns clusters of suggested groupings if resolution is not executed. */
14315
14369
  resolveEntities?: Maybe<ResolveEntitiesResult>;
14316
14370
  /** Resolves a source entity into a target entity using LLM-driven metadata merging. The target is always the primary/canonical entity. */
@@ -15353,6 +15407,9 @@ export type MutationResearchContentsArgs = {
15353
15407
  summarySpecification?: InputMaybe<EntityReferenceInput>;
15354
15408
  workflow?: InputMaybe<EntityReferenceInput>;
15355
15409
  };
15410
+ export type MutationResetUserCreditsArgs = {
15411
+ id: Scalars['ID']['input'];
15412
+ };
15356
15413
  export type MutationResolveEntitiesArgs = {
15357
15414
  correlationId?: InputMaybe<Scalars['String']['input']>;
15358
15415
  entities: Array<EntityReferenceInput>;
@@ -16645,6 +16702,8 @@ export type Organization = {
16645
16702
  thing?: Maybe<Scalars['String']['output']>;
16646
16703
  /** The organization URI. */
16647
16704
  uri?: Maybe<Scalars['URL']['output']>;
16705
+ /** The user that created the entity. */
16706
+ user?: Maybe<EntityReference>;
16648
16707
  /** The workflow associated with this organization. */
16649
16708
  workflow?: Maybe<Workflow>;
16650
16709
  };
@@ -17057,6 +17116,8 @@ export type Person = {
17057
17116
  title?: Maybe<Scalars['String']['output']>;
17058
17117
  /** The person URI. */
17059
17118
  uri?: Maybe<Scalars['URL']['output']>;
17119
+ /** The user that created the entity. */
17120
+ user?: Maybe<EntityReference>;
17060
17121
  /** The place(s) where the person works. */
17061
17122
  workLocation?: Maybe<Array<Maybe<Place>>>;
17062
17123
  /** The workflow associated with this person. */
@@ -17321,6 +17382,8 @@ export type Persona = {
17321
17382
  state: EntityState;
17322
17383
  /** The IANA timezone of the persona. */
17323
17384
  timezone?: Maybe<Scalars['String']['output']>;
17385
+ /** The user that created the entity. */
17386
+ user?: Maybe<EntityReference>;
17324
17387
  };
17325
17388
  /** Represents a filter for personas. */
17326
17389
  export type PersonaFilter = {
@@ -17444,6 +17507,8 @@ export type Place = {
17444
17507
  thing?: Maybe<Scalars['String']['output']>;
17445
17508
  /** The place URI. */
17446
17509
  uri?: Maybe<Scalars['URL']['output']>;
17510
+ /** The user that created the entity. */
17511
+ user?: Maybe<EntityReference>;
17447
17512
  /** The workflow associated with this place. */
17448
17513
  workflow?: Maybe<Workflow>;
17449
17514
  };
@@ -17779,6 +17844,8 @@ export type Product = {
17779
17844
  upc?: Maybe<Scalars['String']['output']>;
17780
17845
  /** The product URI. */
17781
17846
  uri?: Maybe<Scalars['URL']['output']>;
17847
+ /** The user that created the entity. */
17848
+ user?: Maybe<EntityReference>;
17782
17849
  /** The workflow associated with this product. */
17783
17850
  workflow?: Maybe<Workflow>;
17784
17851
  };
@@ -18100,6 +18167,8 @@ export type ProjectQuota = {
18100
18167
  posts?: Maybe<Scalars['Int']['output']>;
18101
18168
  /** The storage quota, in bytes. */
18102
18169
  storage?: Maybe<Scalars['Long']['output']>;
18170
+ /** The maximum number of credits which can be accrued per user. */
18171
+ userCredits?: Maybe<Scalars['Int']['output']>;
18103
18172
  };
18104
18173
  /** Represents the project quota. */
18105
18174
  export type ProjectQuotaInput = {
@@ -18113,6 +18182,8 @@ export type ProjectQuotaInput = {
18113
18182
  posts?: InputMaybe<Scalars['Int']['input']>;
18114
18183
  /** The storage quota, in bytes. */
18115
18184
  storage?: InputMaybe<Scalars['Long']['input']>;
18185
+ /** The maximum number of credits which can be accrued per user. */
18186
+ userCredits?: InputMaybe<Scalars['Int']['input']>;
18116
18187
  };
18117
18188
  /** Represents project query results. */
18118
18189
  export type ProjectResults = {
@@ -18680,7 +18751,7 @@ export type Query = {
18680
18751
  gitHubRepositories?: Maybe<GitHubRepositoryResults>;
18681
18752
  /** Retrieves available Google calendars. */
18682
18753
  googleCalendars?: Maybe<CalendarResults>;
18683
- /** Retrieves available Google Drive shared drives. */
18754
+ /** Retrieves available Google Drive shared drives. Does not include the user's My Drive, which is the default when no drive identifier is specified. */
18684
18755
  googleDriveDrives?: Maybe<GoogleDriveDriveResults>;
18685
18756
  /** Retrieves available Google Drive folders. */
18686
18757
  googleDriveFolders?: Maybe<GoogleDriveFolderResults>;
@@ -19811,6 +19882,8 @@ export type Rendition = {
19811
19882
  type?: Maybe<RenditionTypes>;
19812
19883
  /** The rendition URI. */
19813
19884
  uri?: Maybe<Scalars['URL']['output']>;
19885
+ /** The user that created the entity. */
19886
+ user?: Maybe<EntityReference>;
19814
19887
  };
19815
19888
  /** Rendition type */
19816
19889
  export declare enum RenditionTypes {
@@ -19933,6 +20006,8 @@ export type Repo = {
19933
20006
  thing?: Maybe<Scalars['String']['output']>;
19934
20007
  /** The repo URI. */
19935
20008
  uri?: Maybe<Scalars['URL']['output']>;
20009
+ /** The user that created the entity. */
20010
+ user?: Maybe<EntityReference>;
19936
20011
  /** The workflow associated with this repo. */
19937
20012
  workflow?: Maybe<Workflow>;
19938
20013
  };
@@ -20860,6 +20935,8 @@ export type Skill = {
20860
20935
  state: EntityState;
20861
20936
  /** The Markdown text body of the skill. */
20862
20937
  text: Scalars['String']['output'];
20938
+ /** The user that created the entity. */
20939
+ user?: Maybe<EntityReference>;
20863
20940
  };
20864
20941
  /** Represents a filter for skills. */
20865
20942
  export type SkillFilter = {
@@ -21088,6 +21165,8 @@ export type Software = {
21088
21165
  thing?: Maybe<Scalars['String']['output']>;
21089
21166
  /** The software URI. */
21090
21167
  uri?: Maybe<Scalars['URL']['output']>;
21168
+ /** The user that created the entity. */
21169
+ user?: Maybe<EntityReference>;
21091
21170
  /** The workflow associated with this software. */
21092
21171
  workflow?: Maybe<Workflow>;
21093
21172
  };
@@ -21306,6 +21385,8 @@ export type Specification = {
21306
21385
  twelveLabs?: Maybe<TwelveLabsModelProperties>;
21307
21386
  /** The specification type. */
21308
21387
  type?: Maybe<SpecificationTypes>;
21388
+ /** The user that created the entity. */
21389
+ user?: Maybe<EntityReference>;
21309
21390
  /** The Voyage model properties. */
21310
21391
  voyage?: Maybe<VoyageModelProperties>;
21311
21392
  /** The xAI model properties. */
@@ -22189,16 +22270,22 @@ export type UriResults = {
22189
22270
  /** Represents a user. */
22190
22271
  export type User = {
22191
22272
  __typename?: 'User';
22273
+ /** The accumulated credits cost for the user. */
22274
+ accumulatedCredits?: Maybe<Scalars['Decimal']['output']>;
22192
22275
  /** The reference to the connectors that the user has created. */
22193
22276
  connectors?: Maybe<Array<Maybe<Connector>>>;
22194
22277
  /** The creation date of the user. */
22195
22278
  creationDate: Scalars['DateTime']['output'];
22279
+ /** The accumulated credits for the user. */
22280
+ credits?: Maybe<Scalars['Long']['output']>;
22196
22281
  /** The description of the user. */
22197
22282
  description?: Maybe<Scalars['String']['output']>;
22198
22283
  /** The ID of the user. */
22199
22284
  id: Scalars['ID']['output'];
22200
22285
  /** The external identifier of the user. */
22201
22286
  identifier: Scalars['String']['output'];
22287
+ /** The date of the last credits sync. */
22288
+ lastCreditsDate?: Maybe<Scalars['DateTime']['output']>;
22202
22289
  /** The modified date of the user. */
22203
22290
  modifiedDate?: Maybe<Scalars['DateTime']['output']>;
22204
22291
  /** The name of the user. */
@@ -22207,12 +22294,16 @@ export type User = {
22207
22294
  owner: Owner;
22208
22295
  /** The personas assigned to this user. */
22209
22296
  personas?: Maybe<Array<Maybe<Persona>>>;
22297
+ /** The user quota. */
22298
+ quota?: Maybe<UserQuota>;
22210
22299
  /** The relevance score of the user. */
22211
22300
  relevance?: Maybe<Scalars['Float']['output']>;
22212
22301
  /** The state of the user (i.e. created, finished). */
22213
22302
  state: EntityState;
22214
22303
  /** The user type, i.e. human or agent. */
22215
22304
  type?: Maybe<UserTypes>;
22305
+ /** The user that created the entity. */
22306
+ user?: Maybe<EntityReference>;
22216
22307
  };
22217
22308
  /** Represents a filter for users. */
22218
22309
  export type UserFilter = {
@@ -22256,6 +22347,17 @@ export type UserInput = {
22256
22347
  /** The user type, i.e. human or agent. */
22257
22348
  type?: InputMaybe<UserTypes>;
22258
22349
  };
22350
+ /** Represents the user quota. */
22351
+ export type UserQuota = {
22352
+ __typename?: 'UserQuota';
22353
+ /** The maximum number of credits which can be accrued by the user. */
22354
+ credits?: Maybe<Scalars['Int']['output']>;
22355
+ };
22356
+ /** Represents the user quota. */
22357
+ export type UserQuotaInput = {
22358
+ /** The maximum number of credits which can be accrued by the user. */
22359
+ credits?: InputMaybe<Scalars['Int']['input']>;
22360
+ };
22259
22361
  /** Represents user query results. */
22260
22362
  export type UserResults = {
22261
22363
  __typename?: 'UserResults';
@@ -22279,6 +22381,8 @@ export type UserUpdateInput = {
22279
22381
  identifier?: InputMaybe<Scalars['String']['input']>;
22280
22382
  /** The name of the user. */
22281
22383
  name?: InputMaybe<Scalars['String']['input']>;
22384
+ /** The user quota. */
22385
+ quota?: InputMaybe<UserQuotaInput>;
22282
22386
  /** The user type, i.e. human or agent. */
22283
22387
  type?: InputMaybe<UserTypes>;
22284
22388
  };
@@ -22368,6 +22472,8 @@ export type View = {
22368
22472
  state: EntityState;
22369
22473
  /** Type of view. */
22370
22474
  type?: Maybe<ViewTypes>;
22475
+ /** The user that created the entity. */
22476
+ user?: Maybe<EntityReference>;
22371
22477
  };
22372
22478
  /** Represents a filter for views. */
22373
22479
  export type ViewFilter = {
@@ -22581,6 +22687,8 @@ export type Workflow = {
22581
22687
  state: EntityState;
22582
22688
  /** The storage stage of the content workflow. */
22583
22689
  storage?: Maybe<StorageWorkflowStage>;
22690
+ /** The user that created the entity. */
22691
+ user?: Maybe<EntityReference>;
22584
22692
  };
22585
22693
  /** Represents the workflow action. */
22586
22694
  export type WorkflowAction = {
@@ -41916,6 +42024,7 @@ export type GetProjectQuery = {
41916
42024
  feeds?: number | null;
41917
42025
  posts?: number | null;
41918
42026
  conversations?: number | null;
42027
+ userCredits?: number | null;
41919
42028
  } | null;
41920
42029
  } | null;
41921
42030
  };
@@ -43739,6 +43848,9 @@ export type GetUserQuery = {
43739
43848
  type?: UserTypes | null;
43740
43849
  identifier: string;
43741
43850
  description?: string | null;
43851
+ credits?: any | null;
43852
+ lastCreditsDate?: any | null;
43853
+ accumulatedCredits?: any | null;
43742
43854
  owner: {
43743
43855
  __typename?: 'Owner';
43744
43856
  id: string;
@@ -43827,6 +43939,10 @@ export type GetUserQuery = {
43827
43939
  text?: string | null;
43828
43940
  }> | null;
43829
43941
  } | null> | null;
43942
+ quota?: {
43943
+ __typename?: 'UserQuota';
43944
+ credits?: number | null;
43945
+ } | null;
43830
43946
  } | null;
43831
43947
  };
43832
43948
  export type GetUserByIdentifierQueryVariables = Exact<{
@@ -43845,6 +43961,9 @@ export type GetUserByIdentifierQuery = {
43845
43961
  type?: UserTypes | null;
43846
43962
  identifier: string;
43847
43963
  description?: string | null;
43964
+ credits?: any | null;
43965
+ lastCreditsDate?: any | null;
43966
+ accumulatedCredits?: any | null;
43848
43967
  owner: {
43849
43968
  __typename?: 'Owner';
43850
43969
  id: string;
@@ -43933,6 +44052,10 @@ export type GetUserByIdentifierQuery = {
43933
44052
  text?: string | null;
43934
44053
  }> | null;
43935
44054
  } | null> | null;
44055
+ quota?: {
44056
+ __typename?: 'UserQuota';
44057
+ credits?: number | null;
44058
+ } | null;
43936
44059
  } | null;
43937
44060
  };
43938
44061
  export type QueryUsersQueryVariables = Exact<{
@@ -43954,6 +44077,9 @@ export type QueryUsersQuery = {
43954
44077
  type?: UserTypes | null;
43955
44078
  identifier: string;
43956
44079
  description?: string | null;
44080
+ credits?: any | null;
44081
+ lastCreditsDate?: any | null;
44082
+ accumulatedCredits?: any | null;
43957
44083
  owner: {
43958
44084
  __typename?: 'Owner';
43959
44085
  id: string;
@@ -44042,6 +44168,10 @@ export type QueryUsersQuery = {
44042
44168
  text?: string | null;
44043
44169
  }> | null;
44044
44170
  } | null> | null;
44171
+ quota?: {
44172
+ __typename?: 'UserQuota';
44173
+ credits?: number | null;
44174
+ } | null;
44045
44175
  }> | null;
44046
44176
  } | null;
44047
44177
  };
@@ -970,6 +970,8 @@ export var EntityState;
970
970
  EntityState["Ingested"] = "INGESTED";
971
971
  /** Initialized */
972
972
  EntityState["Initialized"] = "INITIALIZED";
973
+ /** Limited */
974
+ EntityState["Limited"] = "LIMITED";
973
975
  /** Opened */
974
976
  EntityState["Opened"] = "OPENED";
975
977
  /** Paused */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260303003",
3
+ "version": "1.0.20260304001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",