graphlit-client 1.0.20250108001 → 1.0.20250110001

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
@@ -73,7 +73,7 @@ declare class Graphlit {
73
73
  reviseEncodedImage(prompt: string, mimeType: string, data: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseEncodedImageMutation>;
74
74
  reviseText(prompt: string, text: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseTextMutation>;
75
75
  reviseContent(prompt: string, content: Types.EntityReferenceInput, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseContentMutation>;
76
- prompt(prompt: string, specification?: Types.EntityReferenceInput, messages?: [Types.ConversationMessageInput], correlationId?: string): Promise<Types.PromptMutation>;
76
+ prompt(prompt?: string, mimeType?: string, data?: string, specification?: Types.EntityReferenceInput, messages?: [Types.ConversationMessageInput], correlationId?: string): Promise<Types.PromptMutation>;
77
77
  formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, includeDetails?: boolean, correlationId?: string): Promise<Types.FormatConversationMutation>;
78
78
  completeConversation(completion: string, id: string, correlationId?: string): Promise<Types.CompleteConversationMutation>;
79
79
  askGraphlit(prompt: string, type?: Types.SdkTypes, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.AskGraphlitMutation>;
package/dist/client.js CHANGED
@@ -423,9 +423,9 @@ class Graphlit {
423
423
  return this.mutateAndCheckError(Documents.ReviseContent, { prompt: prompt, content: content, id: id, specification: specification, correlationId: correlationId });
424
424
  });
425
425
  }
426
- prompt(prompt, specification, messages, correlationId) {
426
+ prompt(prompt, mimeType, data, specification, messages, correlationId) {
427
427
  return __awaiter(this, void 0, void 0, function* () {
428
- return this.mutateAndCheckError(Documents.Prompt, { prompt: prompt, specification: specification, messages: messages, correlationId: correlationId });
428
+ return this.mutateAndCheckError(Documents.Prompt, { prompt: prompt, mimeType: mimeType, data: data, specification: specification, messages: messages, correlationId: correlationId });
429
429
  });
430
430
  }
431
431
  formatConversation(prompt, id, specification, includeDetails, correlationId) {
@@ -662,6 +662,8 @@ exports.DescribeEncodedImage = (0, graphql_tag_1.default) `
662
662
  timestamp
663
663
  modelService
664
664
  model
665
+ data
666
+ mimeType
665
667
  }
666
668
  }
667
669
  `;
@@ -792,6 +794,8 @@ exports.DescribeImage = (0, graphql_tag_1.default) `
792
794
  timestamp
793
795
  modelService
794
796
  model
797
+ data
798
+ mimeType
795
799
  }
796
800
  }
797
801
  `;
@@ -2417,6 +2421,8 @@ exports.AskGraphlit = (0, graphql_tag_1.default) `
2417
2421
  timestamp
2418
2422
  modelService
2419
2423
  model
2424
+ data
2425
+ mimeType
2420
2426
  }
2421
2427
  messageCount
2422
2428
  }
@@ -2572,6 +2578,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
2572
2578
  timestamp
2573
2579
  modelService
2574
2580
  model
2581
+ data
2582
+ mimeType
2575
2583
  }
2576
2584
  messageCount
2577
2585
  facets {
@@ -2745,6 +2753,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
2745
2753
  timestamp
2746
2754
  modelService
2747
2755
  model
2756
+ data
2757
+ mimeType
2748
2758
  }
2749
2759
  }
2750
2760
  }
@@ -2880,6 +2890,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
2880
2890
  timestamp
2881
2891
  modelService
2882
2892
  model
2893
+ data
2894
+ mimeType
2883
2895
  }
2884
2896
  messageCount
2885
2897
  facets {
@@ -3053,6 +3065,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
3053
3065
  timestamp
3054
3066
  modelService
3055
3067
  model
3068
+ data
3069
+ mimeType
3056
3070
  }
3057
3071
  }
3058
3072
  }
@@ -3235,6 +3249,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
3235
3249
  timestamp
3236
3250
  modelService
3237
3251
  model
3252
+ data
3253
+ mimeType
3238
3254
  }
3239
3255
  messageCount
3240
3256
  facets {
@@ -3408,6 +3424,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
3408
3424
  timestamp
3409
3425
  modelService
3410
3426
  model
3427
+ data
3428
+ mimeType
3411
3429
  }
3412
3430
  }
3413
3431
  }
@@ -3546,6 +3564,8 @@ exports.GetConversation = (0, graphql_tag_1.default) `
3546
3564
  timestamp
3547
3565
  modelService
3548
3566
  model
3567
+ data
3568
+ mimeType
3549
3569
  }
3550
3570
  specification {
3551
3571
  id
@@ -3697,9 +3717,11 @@ exports.GetConversation = (0, graphql_tag_1.default) `
3697
3717
  }
3698
3718
  `;
3699
3719
  exports.Prompt = (0, graphql_tag_1.default) `
3700
- mutation Prompt($prompt: String!, $specification: EntityReferenceInput, $messages: [ConversationMessageInput!], $correlationId: String) {
3720
+ mutation Prompt($prompt: String!, $mimeType: String, $data: String, $specification: EntityReferenceInput, $messages: [ConversationMessageInput!], $correlationId: String) {
3701
3721
  prompt(
3702
3722
  prompt: $prompt
3723
+ mimeType: $mimeType
3724
+ data: $data
3703
3725
  specification: $specification
3704
3726
  messages: $messages
3705
3727
  correlationId: $correlationId
@@ -3827,6 +3849,8 @@ exports.Prompt = (0, graphql_tag_1.default) `
3827
3849
  timestamp
3828
3850
  modelService
3829
3851
  model
3852
+ data
3853
+ mimeType
3830
3854
  }
3831
3855
  error
3832
3856
  }
@@ -3966,6 +3990,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
3966
3990
  timestamp
3967
3991
  modelService
3968
3992
  model
3993
+ data
3994
+ mimeType
3969
3995
  }
3970
3996
  messageCount
3971
3997
  facets {
@@ -4139,6 +4165,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
4139
4165
  timestamp
4140
4166
  modelService
4141
4167
  model
4168
+ data
4169
+ mimeType
4142
4170
  }
4143
4171
  }
4144
4172
  }
@@ -4387,6 +4415,8 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
4387
4415
  timestamp
4388
4416
  modelService
4389
4417
  model
4418
+ data
4419
+ mimeType
4390
4420
  }
4391
4421
  specification {
4392
4422
  id
@@ -4670,6 +4700,8 @@ exports.ReviseContent = (0, graphql_tag_1.default) `
4670
4700
  timestamp
4671
4701
  modelService
4672
4702
  model
4703
+ data
4704
+ mimeType
4673
4705
  }
4674
4706
  messageCount
4675
4707
  }
@@ -4808,6 +4840,8 @@ exports.ReviseEncodedImage = (0, graphql_tag_1.default) `
4808
4840
  timestamp
4809
4841
  modelService
4810
4842
  model
4843
+ data
4844
+ mimeType
4811
4845
  }
4812
4846
  messageCount
4813
4847
  }
@@ -4945,6 +4979,8 @@ exports.ReviseImage = (0, graphql_tag_1.default) `
4945
4979
  timestamp
4946
4980
  modelService
4947
4981
  model
4982
+ data
4983
+ mimeType
4948
4984
  }
4949
4985
  messageCount
4950
4986
  }
@@ -5082,6 +5118,8 @@ exports.ReviseText = (0, graphql_tag_1.default) `
5082
5118
  timestamp
5083
5119
  modelService
5084
5120
  model
5121
+ data
5122
+ mimeType
5085
5123
  }
5086
5124
  messageCount
5087
5125
  }
@@ -5380,12 +5418,20 @@ exports.GetFeed = (0, graphql_tag_1.default) `
5380
5418
  includeAttachments
5381
5419
  google {
5382
5420
  type
5421
+ includeSpam
5422
+ excludeSentItems
5423
+ includeDeletedItems
5424
+ inboxOnly
5383
5425
  refreshToken
5384
5426
  clientId
5385
5427
  clientSecret
5386
5428
  }
5387
5429
  microsoft {
5388
5430
  type
5431
+ includeSpam
5432
+ excludeSentItems
5433
+ includeDeletedItems
5434
+ inboxOnly
5389
5435
  refreshToken
5390
5436
  clientId
5391
5437
  clientSecret
@@ -5611,12 +5657,20 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
5611
5657
  includeAttachments
5612
5658
  google {
5613
5659
  type
5660
+ includeSpam
5661
+ excludeSentItems
5662
+ includeDeletedItems
5663
+ inboxOnly
5614
5664
  refreshToken
5615
5665
  clientId
5616
5666
  clientSecret
5617
5667
  }
5618
5668
  microsoft {
5619
5669
  type
5670
+ includeSpam
5671
+ excludeSentItems
5672
+ includeDeletedItems
5673
+ inboxOnly
5620
5674
  refreshToken
5621
5675
  clientId
5622
5676
  clientSecret
@@ -7972,6 +8026,8 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
7972
8026
  timestamp
7973
8027
  modelService
7974
8028
  model
8029
+ data
8030
+ mimeType
7975
8031
  }
7976
8032
  error
7977
8033
  }
@@ -2068,8 +2068,12 @@ export type ConversationMessage = {
2068
2068
  citations?: Maybe<Array<Maybe<ConversationCitation>>>;
2069
2069
  /** The elapsed time for the model to complete the prompt, only provided with assistant role. */
2070
2070
  completionTime?: Maybe<Scalars['TimeSpan']['output']>;
2071
+ /** The Base64-encoded image which will be supplied to the LLM with the conversation message, optional. */
2072
+ data?: Maybe<Scalars['String']['output']>;
2071
2073
  /** The conversation message. */
2072
2074
  message?: Maybe<Scalars['String']['output']>;
2075
+ /** The MIME type of the Base64-encoded image, optional. */
2076
+ mimeType?: Maybe<Scalars['String']['output']>;
2073
2077
  /** The LLM model description, only provided with assistant role. */
2074
2078
  model?: Maybe<Scalars['String']['output']>;
2075
2079
  /** The LLM service type, only provided with assistant role. */
@@ -2089,8 +2093,12 @@ export type ConversationMessage = {
2089
2093
  export type ConversationMessageInput = {
2090
2094
  /** The conversation message author. */
2091
2095
  author?: InputMaybe<Scalars['String']['input']>;
2096
+ /** The Base64-encoded image which will be supplied to the LLM with the conversation message, optional. */
2097
+ data?: InputMaybe<Scalars['String']['input']>;
2092
2098
  /** The conversation message. */
2093
2099
  message: Scalars['String']['input'];
2100
+ /** The MIME type of the Base64-encoded image, optional. */
2101
+ mimeType?: InputMaybe<Scalars['String']['input']>;
2094
2102
  /** The conversation message role. */
2095
2103
  role: ConversationRoleTypes;
2096
2104
  };
@@ -3912,6 +3920,14 @@ export type GoogleEmailFeedProperties = {
3912
3920
  clientId: Scalars['String']['output'];
3913
3921
  /** Google Email client secret. */
3914
3922
  clientSecret: Scalars['String']['output'];
3923
+ /** Whether to exclude Sent messages in email listing. Default is False. */
3924
+ excludeSentItems?: Maybe<Scalars['Boolean']['output']>;
3925
+ /** Whether to only read past emails from Inbox. Default is False. */
3926
+ inboxOnly?: Maybe<Scalars['Boolean']['output']>;
3927
+ /** Whether to include Deleted messages in email listing. Default is False. */
3928
+ includeDeletedItems?: Maybe<Scalars['Boolean']['output']>;
3929
+ /** Whether to include Spam messages in email listing. Default is False. */
3930
+ includeSpam?: Maybe<Scalars['Boolean']['output']>;
3915
3931
  /** Google Email refresh token. */
3916
3932
  refreshToken?: Maybe<Scalars['String']['output']>;
3917
3933
  /** Email listing type, i.e. past or new emails. */
@@ -3923,6 +3939,14 @@ export type GoogleEmailFeedPropertiesInput = {
3923
3939
  clientId: Scalars['String']['input'];
3924
3940
  /** Google client secret. */
3925
3941
  clientSecret: Scalars['String']['input'];
3942
+ /** Whether to exclude Sent messages in email listing. Default is False. */
3943
+ excludeSentItems?: InputMaybe<Scalars['Boolean']['input']>;
3944
+ /** Whether to only read past emails from Inbox. Default is False. */
3945
+ inboxOnly?: InputMaybe<Scalars['Boolean']['input']>;
3946
+ /** Whether to include Deleted messages in email listing. Default is False. */
3947
+ includeDeletedItems?: InputMaybe<Scalars['Boolean']['input']>;
3948
+ /** Whether to include Spam messages in email listing. Default is False. */
3949
+ includeSpam?: InputMaybe<Scalars['Boolean']['input']>;
3926
3950
  /** Google refresh token. */
3927
3951
  refreshToken: Scalars['String']['input'];
3928
3952
  /** Email listing type, i.e. past or new emails. */
@@ -3934,6 +3958,14 @@ export type GoogleEmailFeedPropertiesUpdateInput = {
3934
3958
  clientId?: InputMaybe<Scalars['String']['input']>;
3935
3959
  /** Google client secret. */
3936
3960
  clientSecret?: InputMaybe<Scalars['String']['input']>;
3961
+ /** Whether to exclude Sent messages in email listing. Default is False. */
3962
+ excludeSentItems?: InputMaybe<Scalars['Boolean']['input']>;
3963
+ /** Whether to only read past emails from Inbox. Default is False. */
3964
+ inboxOnly?: InputMaybe<Scalars['Boolean']['input']>;
3965
+ /** Whether to include Deleted messages in email listing. Default is False. */
3966
+ includeDeletedItems?: InputMaybe<Scalars['Boolean']['input']>;
3967
+ /** Whether to include Spam messages in email listing. Default is False. */
3968
+ includeSpam?: InputMaybe<Scalars['Boolean']['input']>;
3937
3969
  /** Google refresh token. */
3938
3970
  refreshToken?: InputMaybe<Scalars['String']['input']>;
3939
3971
  /** Email listing type, i.e. past or new emails. */
@@ -6718,6 +6750,14 @@ export type MicrosoftEmailFeedProperties = {
6718
6750
  clientId: Scalars['String']['output'];
6719
6751
  /** Microsoft Email client secret. */
6720
6752
  clientSecret: Scalars['String']['output'];
6753
+ /** Whether to exclude Sent messages in email listing. Default is False. */
6754
+ excludeSentItems?: Maybe<Scalars['Boolean']['output']>;
6755
+ /** Whether to only read past emails from Inbox. Default is False. */
6756
+ inboxOnly?: Maybe<Scalars['Boolean']['output']>;
6757
+ /** Whether to include Deleted messages in email listing. Default is False. */
6758
+ includeDeletedItems?: Maybe<Scalars['Boolean']['output']>;
6759
+ /** Whether to include Spam messages in email listing. Default is False. */
6760
+ includeSpam?: Maybe<Scalars['Boolean']['output']>;
6721
6761
  /** Microsoft Email refresh token. */
6722
6762
  refreshToken: Scalars['String']['output'];
6723
6763
  /** Email listing type, i.e. past or new emails. */
@@ -6729,6 +6769,14 @@ export type MicrosoftEmailFeedPropertiesInput = {
6729
6769
  clientId: Scalars['String']['input'];
6730
6770
  /** Microsoft Email client secret. */
6731
6771
  clientSecret: Scalars['String']['input'];
6772
+ /** Whether to exclude Sent messages in email listing. Default is False. */
6773
+ excludeSentItems?: InputMaybe<Scalars['Boolean']['input']>;
6774
+ /** Whether to only read past emails from Inbox. Default is False. */
6775
+ inboxOnly?: InputMaybe<Scalars['Boolean']['input']>;
6776
+ /** Whether to include Deleted messages in email listing. Default is False. */
6777
+ includeDeletedItems?: InputMaybe<Scalars['Boolean']['input']>;
6778
+ /** Whether to include Spam messages in email listing. Default is False. */
6779
+ includeSpam?: InputMaybe<Scalars['Boolean']['input']>;
6732
6780
  /** Microsoft Email refresh token. */
6733
6781
  refreshToken: Scalars['String']['input'];
6734
6782
  /** Email listing type, i.e. past or new emails. */
@@ -6740,6 +6788,14 @@ export type MicrosoftEmailFeedPropertiesUpdateInput = {
6740
6788
  clientId?: InputMaybe<Scalars['String']['input']>;
6741
6789
  /** Microsoft Email client secret. */
6742
6790
  clientSecret?: InputMaybe<Scalars['String']['input']>;
6791
+ /** Whether to exclude Sent messages in email listing. Default is False. */
6792
+ excludeSentItems?: InputMaybe<Scalars['Boolean']['input']>;
6793
+ /** Whether to only read past emails from Inbox. Default is False. */
6794
+ inboxOnly?: InputMaybe<Scalars['Boolean']['input']>;
6795
+ /** Whether to include Deleted messages in email listing. Default is False. */
6796
+ includeDeletedItems?: InputMaybe<Scalars['Boolean']['input']>;
6797
+ /** Whether to include Spam messages in email listing. Default is False. */
6798
+ includeSpam?: InputMaybe<Scalars['Boolean']['input']>;
6743
6799
  /** Microsoft Email refresh token. */
6744
6800
  refreshToken?: InputMaybe<Scalars['String']['input']>;
6745
6801
  /** Email listing type, i.e. past or new emails. */
@@ -7356,7 +7412,7 @@ export type Mutation = {
7356
7412
  openCollection?: Maybe<Collection>;
7357
7413
  /** Opens an existing conversation. */
7358
7414
  openConversation?: Maybe<Conversation>;
7359
- /** Prompts LLM without content retrieval. Accepts optional list of previous conversation messages with User or Assistant roles. */
7415
+ /** Prompts LLM without content retrieval. You can provide a list of conversation messages to be completed, an LLM user prompt and optional Base64-encoded image, or both. If both are provided, the LLM prompt (and optional image) will be appended as an additional User message to the conversation. */
7360
7416
  prompt?: Maybe<PromptCompletion>;
7361
7417
  /** Prompts a conversation. */
7362
7418
  promptConversation?: Maybe<PromptConversation>;
@@ -8045,8 +8101,10 @@ export type MutationOpenConversationArgs = {
8045
8101
  };
8046
8102
  export type MutationPromptArgs = {
8047
8103
  correlationId?: InputMaybe<Scalars['String']['input']>;
8048
- messages?: InputMaybe<Array<InputMaybe<ConversationMessageInput>>>;
8049
- prompt: Scalars['String']['input'];
8104
+ data?: InputMaybe<Scalars['String']['input']>;
8105
+ messages?: InputMaybe<Array<ConversationMessageInput>>;
8106
+ mimeType?: InputMaybe<Scalars['String']['input']>;
8107
+ prompt?: InputMaybe<Scalars['String']['input']>;
8050
8108
  specification?: InputMaybe<EntityReferenceInput>;
8051
8109
  };
8052
8110
  export type MutationPromptConversationArgs = {
@@ -8128,7 +8186,7 @@ export type MutationReviseImageArgs = {
8128
8186
  id?: InputMaybe<Scalars['ID']['input']>;
8129
8187
  prompt: Scalars['String']['input'];
8130
8188
  specification?: InputMaybe<EntityReferenceInput>;
8131
- uri: Scalars['URL']['input'];
8189
+ uri?: InputMaybe<Scalars['URL']['input']>;
8132
8190
  };
8133
8191
  export type MutationReviseTextArgs = {
8134
8192
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -13454,6 +13512,8 @@ export type DescribeEncodedImageMutation = {
13454
13512
  timestamp?: any | null;
13455
13513
  modelService?: ModelServiceTypes | null;
13456
13514
  model?: string | null;
13515
+ data?: string | null;
13516
+ mimeType?: string | null;
13457
13517
  citations?: Array<{
13458
13518
  __typename?: 'ConversationCitation';
13459
13519
  index?: number | null;
@@ -13592,6 +13652,8 @@ export type DescribeImageMutation = {
13592
13652
  timestamp?: any | null;
13593
13653
  modelService?: ModelServiceTypes | null;
13594
13654
  model?: string | null;
13655
+ data?: string | null;
13656
+ mimeType?: string | null;
13595
13657
  citations?: Array<{
13596
13658
  __typename?: 'ConversationCitation';
13597
13659
  index?: number | null;
@@ -15422,6 +15484,8 @@ export type AskGraphlitMutation = {
15422
15484
  timestamp?: any | null;
15423
15485
  modelService?: ModelServiceTypes | null;
15424
15486
  model?: string | null;
15487
+ data?: string | null;
15488
+ mimeType?: string | null;
15425
15489
  citations?: Array<{
15426
15490
  __typename?: 'ConversationCitation';
15427
15491
  index?: number | null;
@@ -15593,6 +15657,8 @@ export type CompleteConversationMutation = {
15593
15657
  timestamp?: any | null;
15594
15658
  modelService?: ModelServiceTypes | null;
15595
15659
  model?: string | null;
15660
+ data?: string | null;
15661
+ mimeType?: string | null;
15596
15662
  citations?: Array<{
15597
15663
  __typename?: 'ConversationCitation';
15598
15664
  index?: number | null;
@@ -15781,6 +15847,8 @@ export type CompleteConversationMutation = {
15781
15847
  timestamp?: any | null;
15782
15848
  modelService?: ModelServiceTypes | null;
15783
15849
  model?: string | null;
15850
+ data?: string | null;
15851
+ mimeType?: string | null;
15784
15852
  citations?: Array<{
15785
15853
  __typename?: 'ConversationCitation';
15786
15854
  index?: number | null;
@@ -15927,6 +15995,8 @@ export type ContinueConversationMutation = {
15927
15995
  timestamp?: any | null;
15928
15996
  modelService?: ModelServiceTypes | null;
15929
15997
  model?: string | null;
15998
+ data?: string | null;
15999
+ mimeType?: string | null;
15930
16000
  citations?: Array<{
15931
16001
  __typename?: 'ConversationCitation';
15932
16002
  index?: number | null;
@@ -16115,6 +16185,8 @@ export type ContinueConversationMutation = {
16115
16185
  timestamp?: any | null;
16116
16186
  modelService?: ModelServiceTypes | null;
16117
16187
  model?: string | null;
16188
+ data?: string | null;
16189
+ mimeType?: string | null;
16118
16190
  citations?: Array<{
16119
16191
  __typename?: 'ConversationCitation';
16120
16192
  index?: number | null;
@@ -16323,6 +16395,8 @@ export type FormatConversationMutation = {
16323
16395
  timestamp?: any | null;
16324
16396
  modelService?: ModelServiceTypes | null;
16325
16397
  model?: string | null;
16398
+ data?: string | null;
16399
+ mimeType?: string | null;
16326
16400
  citations?: Array<{
16327
16401
  __typename?: 'ConversationCitation';
16328
16402
  index?: number | null;
@@ -16511,6 +16585,8 @@ export type FormatConversationMutation = {
16511
16585
  timestamp?: any | null;
16512
16586
  modelService?: ModelServiceTypes | null;
16513
16587
  model?: string | null;
16588
+ data?: string | null;
16589
+ mimeType?: string | null;
16514
16590
  citations?: Array<{
16515
16591
  __typename?: 'ConversationCitation';
16516
16592
  index?: number | null;
@@ -16661,6 +16737,8 @@ export type GetConversationQuery = {
16661
16737
  timestamp?: any | null;
16662
16738
  modelService?: ModelServiceTypes | null;
16663
16739
  model?: string | null;
16740
+ data?: string | null;
16741
+ mimeType?: string | null;
16664
16742
  citations?: Array<{
16665
16743
  __typename?: 'ConversationCitation';
16666
16744
  index?: number | null;
@@ -16973,6 +17051,8 @@ export type GetConversationQuery = {
16973
17051
  };
16974
17052
  export type PromptMutationVariables = Exact<{
16975
17053
  prompt: Scalars['String']['input'];
17054
+ mimeType?: InputMaybe<Scalars['String']['input']>;
17055
+ data?: InputMaybe<Scalars['String']['input']>;
16976
17056
  specification?: InputMaybe<EntityReferenceInput>;
16977
17057
  messages?: InputMaybe<Array<ConversationMessageInput> | ConversationMessageInput>;
16978
17058
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -16997,6 +17077,8 @@ export type PromptMutation = {
16997
17077
  timestamp?: any | null;
16998
17078
  modelService?: ModelServiceTypes | null;
16999
17079
  model?: string | null;
17080
+ data?: string | null;
17081
+ mimeType?: string | null;
17000
17082
  citations?: Array<{
17001
17083
  __typename?: 'ConversationCitation';
17002
17084
  index?: number | null;
@@ -17146,6 +17228,8 @@ export type PromptConversationMutation = {
17146
17228
  timestamp?: any | null;
17147
17229
  modelService?: ModelServiceTypes | null;
17148
17230
  model?: string | null;
17231
+ data?: string | null;
17232
+ mimeType?: string | null;
17149
17233
  citations?: Array<{
17150
17234
  __typename?: 'ConversationCitation';
17151
17235
  index?: number | null;
@@ -17334,6 +17418,8 @@ export type PromptConversationMutation = {
17334
17418
  timestamp?: any | null;
17335
17419
  modelService?: ModelServiceTypes | null;
17336
17420
  model?: string | null;
17421
+ data?: string | null;
17422
+ mimeType?: string | null;
17337
17423
  citations?: Array<{
17338
17424
  __typename?: 'ConversationCitation';
17339
17425
  index?: number | null;
@@ -17600,6 +17686,8 @@ export type QueryConversationsQuery = {
17600
17686
  timestamp?: any | null;
17601
17687
  modelService?: ModelServiceTypes | null;
17602
17688
  model?: string | null;
17689
+ data?: string | null;
17690
+ mimeType?: string | null;
17603
17691
  citations?: Array<{
17604
17692
  __typename?: 'ConversationCitation';
17605
17693
  index?: number | null;
@@ -17938,6 +18026,8 @@ export type ReviseContentMutation = {
17938
18026
  timestamp?: any | null;
17939
18027
  modelService?: ModelServiceTypes | null;
17940
18028
  model?: string | null;
18029
+ data?: string | null;
18030
+ mimeType?: string | null;
17941
18031
  citations?: Array<{
17942
18032
  __typename?: 'ConversationCitation';
17943
18033
  index?: number | null;
@@ -18086,6 +18176,8 @@ export type ReviseEncodedImageMutation = {
18086
18176
  timestamp?: any | null;
18087
18177
  modelService?: ModelServiceTypes | null;
18088
18178
  model?: string | null;
18179
+ data?: string | null;
18180
+ mimeType?: string | null;
18089
18181
  citations?: Array<{
18090
18182
  __typename?: 'ConversationCitation';
18091
18183
  index?: number | null;
@@ -18233,6 +18325,8 @@ export type ReviseImageMutation = {
18233
18325
  timestamp?: any | null;
18234
18326
  modelService?: ModelServiceTypes | null;
18235
18327
  model?: string | null;
18328
+ data?: string | null;
18329
+ mimeType?: string | null;
18236
18330
  citations?: Array<{
18237
18331
  __typename?: 'ConversationCitation';
18238
18332
  index?: number | null;
@@ -18380,6 +18474,8 @@ export type ReviseTextMutation = {
18380
18474
  timestamp?: any | null;
18381
18475
  modelService?: ModelServiceTypes | null;
18382
18476
  model?: string | null;
18477
+ data?: string | null;
18478
+ mimeType?: string | null;
18383
18479
  citations?: Array<{
18384
18480
  __typename?: 'ConversationCitation';
18385
18481
  index?: number | null;
@@ -18867,6 +18963,10 @@ export type GetFeedQuery = {
18867
18963
  google?: {
18868
18964
  __typename?: 'GoogleEmailFeedProperties';
18869
18965
  type?: EmailListingTypes | null;
18966
+ includeSpam?: boolean | null;
18967
+ excludeSentItems?: boolean | null;
18968
+ includeDeletedItems?: boolean | null;
18969
+ inboxOnly?: boolean | null;
18870
18970
  refreshToken?: string | null;
18871
18971
  clientId: string;
18872
18972
  clientSecret: string;
@@ -18874,6 +18974,10 @@ export type GetFeedQuery = {
18874
18974
  microsoft?: {
18875
18975
  __typename?: 'MicrosoftEmailFeedProperties';
18876
18976
  type?: EmailListingTypes | null;
18977
+ includeSpam?: boolean | null;
18978
+ excludeSentItems?: boolean | null;
18979
+ includeDeletedItems?: boolean | null;
18980
+ inboxOnly?: boolean | null;
18877
18981
  refreshToken: string;
18878
18982
  clientId: string;
18879
18983
  clientSecret: string;
@@ -19142,6 +19246,10 @@ export type QueryFeedsQuery = {
19142
19246
  google?: {
19143
19247
  __typename?: 'GoogleEmailFeedProperties';
19144
19248
  type?: EmailListingTypes | null;
19249
+ includeSpam?: boolean | null;
19250
+ excludeSentItems?: boolean | null;
19251
+ includeDeletedItems?: boolean | null;
19252
+ inboxOnly?: boolean | null;
19145
19253
  refreshToken?: string | null;
19146
19254
  clientId: string;
19147
19255
  clientSecret: string;
@@ -19149,6 +19257,10 @@ export type QueryFeedsQuery = {
19149
19257
  microsoft?: {
19150
19258
  __typename?: 'MicrosoftEmailFeedProperties';
19151
19259
  type?: EmailListingTypes | null;
19260
+ includeSpam?: boolean | null;
19261
+ excludeSentItems?: boolean | null;
19262
+ includeDeletedItems?: boolean | null;
19263
+ inboxOnly?: boolean | null;
19152
19264
  refreshToken: string;
19153
19265
  clientId: string;
19154
19266
  clientSecret: string;
@@ -21952,6 +22064,8 @@ export type PromptSpecificationsMutation = {
21952
22064
  timestamp?: any | null;
21953
22065
  modelService?: ModelServiceTypes | null;
21954
22066
  model?: string | null;
22067
+ data?: string | null;
22068
+ mimeType?: string | null;
21955
22069
  citations?: Array<{
21956
22070
  __typename?: 'ConversationCitation';
21957
22071
  index?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250108001",
3
+ "version": "1.0.20250110001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",