graphlit-client 1.0.20241116001 → 1.0.20241125001

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
@@ -64,8 +64,11 @@ declare class Graphlit {
64
64
  closeConversation(id: string): Promise<Types.CloseConversationMutation>;
65
65
  getConversation(id: string): Promise<Types.GetConversationQuery>;
66
66
  queryConversations(filter?: Types.ConversationFilter): Promise<Types.QueryConversationsQuery>;
67
+ reviseImage(prompt: string, uri: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseImageMutation>;
68
+ reviseEncodedImage(prompt: string, mimeType: string, data: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseEncodedImageMutation>;
67
69
  reviseText(prompt: string, text: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseTextMutation>;
68
70
  reviseContent(prompt: string, content: Types.EntityReferenceInput, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseContentMutation>;
71
+ prompt(prompt: string, specification?: Types.EntityReferenceInput, messages?: [Types.ConversationMessageInput], correlationId?: string): Promise<Types.PromptMutation>;
69
72
  promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
70
73
  continueConversation(id: string, responses: [Types.ConversationToolResponseInput], correlationId?: string): Promise<Types.ContinueConversationMutation>;
71
74
  publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.PublishConversationMutation>;
package/dist/client.js CHANGED
@@ -378,6 +378,16 @@ class Graphlit {
378
378
  return this.queryAndCheckError(Documents.QueryConversations, { filter: filter });
379
379
  });
380
380
  }
381
+ reviseImage(prompt, uri, id, specification, correlationId) {
382
+ return __awaiter(this, void 0, void 0, function* () {
383
+ return this.mutateAndCheckError(Documents.ReviseImage, { prompt: prompt, uri: uri, id: id, specification: specification, correlationId: correlationId });
384
+ });
385
+ }
386
+ reviseEncodedImage(prompt, mimeType, data, id, specification, correlationId) {
387
+ return __awaiter(this, void 0, void 0, function* () {
388
+ return this.mutateAndCheckError(Documents.ReviseEncodedImage, { prompt: prompt, mimeType: mimeType, data: data, id: id, specification: specification, correlationId: correlationId });
389
+ });
390
+ }
381
391
  reviseText(prompt, text, id, specification, correlationId) {
382
392
  return __awaiter(this, void 0, void 0, function* () {
383
393
  return this.mutateAndCheckError(Documents.ReviseText, { prompt: prompt, text: text, id: id, specification: specification, correlationId: correlationId });
@@ -388,6 +398,11 @@ class Graphlit {
388
398
  return this.mutateAndCheckError(Documents.ReviseContent, { prompt: prompt, content: content, id: id, specification: specification, correlationId: correlationId });
389
399
  });
390
400
  }
401
+ prompt(prompt, specification, messages, correlationId) {
402
+ return __awaiter(this, void 0, void 0, function* () {
403
+ return this.mutateAndCheckError(Documents.Prompt, { prompt: prompt, specification: specification, messages: messages, correlationId: correlationId });
404
+ });
405
+ }
391
406
  promptConversation(prompt, id, specification, tools, requireTool, correlationId) {
392
407
  return __awaiter(this, void 0, void 0, function* () {
393
408
  return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, requireTool: requireTool, correlationId: correlationId });
@@ -56,10 +56,13 @@ export declare const DeleteAllConversations: import("graphql").DocumentNode;
56
56
  export declare const DeleteConversation: import("graphql").DocumentNode;
57
57
  export declare const DeleteConversations: import("graphql").DocumentNode;
58
58
  export declare const GetConversation: import("graphql").DocumentNode;
59
+ export declare const Prompt: import("graphql").DocumentNode;
59
60
  export declare const PromptConversation: import("graphql").DocumentNode;
60
61
  export declare const PublishConversation: import("graphql").DocumentNode;
61
62
  export declare const QueryConversations: import("graphql").DocumentNode;
62
63
  export declare const ReviseContent: import("graphql").DocumentNode;
64
+ export declare const ReviseEncodedImage: import("graphql").DocumentNode;
65
+ export declare const ReviseImage: import("graphql").DocumentNode;
63
66
  export declare const ReviseText: import("graphql").DocumentNode;
64
67
  export declare const SuggestConversation: import("graphql").DocumentNode;
65
68
  export declare const UpdateConversation: import("graphql").DocumentNode;
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
7
- exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseContent = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CloseConversation = void 0;
8
- exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = void 0;
9
- exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = void 0;
10
- exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = void 0;
11
- exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = void 0;
7
+ exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CloseConversation = void 0;
8
+ exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = void 0;
9
+ exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = void 0;
10
+ exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = void 0;
11
+ exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = void 0;
12
12
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
13
13
  exports.CountAlerts = (0, graphql_tag_1.default) `
14
14
  query CountAlerts($filter: AlertFilter) {
@@ -2311,6 +2311,142 @@ exports.GetConversation = (0, graphql_tag_1.default) `
2311
2311
  }
2312
2312
  }
2313
2313
  `;
2314
+ exports.Prompt = (0, graphql_tag_1.default) `
2315
+ mutation Prompt($prompt: String!, $specification: EntityReferenceInput, $messages: [ConversationMessageInput!], $correlationId: String) {
2316
+ prompt(
2317
+ prompt: $prompt
2318
+ specification: $specification
2319
+ messages: $messages
2320
+ correlationId: $correlationId
2321
+ ) {
2322
+ specification {
2323
+ id
2324
+ }
2325
+ messages {
2326
+ role
2327
+ author
2328
+ message
2329
+ citations {
2330
+ content {
2331
+ id
2332
+ name
2333
+ state
2334
+ originalDate
2335
+ identifier
2336
+ uri
2337
+ type
2338
+ fileType
2339
+ mimeType
2340
+ format
2341
+ formatName
2342
+ fileExtension
2343
+ fileName
2344
+ fileSize
2345
+ masterUri
2346
+ imageUri
2347
+ textUri
2348
+ audioUri
2349
+ transcriptUri
2350
+ summary
2351
+ customSummary
2352
+ keywords
2353
+ bullets
2354
+ headlines
2355
+ posts
2356
+ chapters
2357
+ questions
2358
+ video {
2359
+ width
2360
+ height
2361
+ duration
2362
+ make
2363
+ model
2364
+ software
2365
+ title
2366
+ description
2367
+ keywords
2368
+ author
2369
+ }
2370
+ audio {
2371
+ keywords
2372
+ author
2373
+ series
2374
+ episode
2375
+ episodeType
2376
+ season
2377
+ publisher
2378
+ copyright
2379
+ genre
2380
+ title
2381
+ description
2382
+ bitrate
2383
+ channels
2384
+ sampleRate
2385
+ bitsPerSample
2386
+ duration
2387
+ }
2388
+ image {
2389
+ width
2390
+ height
2391
+ resolutionX
2392
+ resolutionY
2393
+ bitsPerComponent
2394
+ components
2395
+ projectionType
2396
+ orientation
2397
+ description
2398
+ make
2399
+ model
2400
+ software
2401
+ lens
2402
+ focalLength
2403
+ exposureTime
2404
+ fNumber
2405
+ iso
2406
+ heading
2407
+ pitch
2408
+ }
2409
+ document {
2410
+ title
2411
+ subject
2412
+ summary
2413
+ author
2414
+ publisher
2415
+ description
2416
+ keywords
2417
+ pageCount
2418
+ worksheetCount
2419
+ slideCount
2420
+ wordCount
2421
+ lineCount
2422
+ paragraphCount
2423
+ isEncrypted
2424
+ hasDigitalSignature
2425
+ }
2426
+ }
2427
+ index
2428
+ text
2429
+ startTime
2430
+ endTime
2431
+ pageNumber
2432
+ frameNumber
2433
+ }
2434
+ toolCalls {
2435
+ id
2436
+ name
2437
+ arguments
2438
+ }
2439
+ tokens
2440
+ throughput
2441
+ completionTime
2442
+ timestamp
2443
+ modelService
2444
+ model
2445
+ }
2446
+ error
2447
+ }
2448
+ }
2449
+ `;
2314
2450
  exports.PromptConversation = (0, graphql_tag_1.default) `
2315
2451
  mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $correlationId: String) {
2316
2452
  promptConversation(
@@ -2920,6 +3056,281 @@ exports.ReviseContent = (0, graphql_tag_1.default) `
2920
3056
  }
2921
3057
  }
2922
3058
  `;
3059
+ exports.ReviseEncodedImage = (0, graphql_tag_1.default) `
3060
+ mutation ReviseEncodedImage($prompt: String!, $mimeType: String!, $data: String!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
3061
+ reviseEncodedImage(
3062
+ prompt: $prompt
3063
+ mimeType: $mimeType
3064
+ data: $data
3065
+ id: $id
3066
+ specification: $specification
3067
+ correlationId: $correlationId
3068
+ ) {
3069
+ conversation {
3070
+ id
3071
+ }
3072
+ message {
3073
+ role
3074
+ author
3075
+ message
3076
+ citations {
3077
+ content {
3078
+ id
3079
+ name
3080
+ state
3081
+ originalDate
3082
+ identifier
3083
+ uri
3084
+ type
3085
+ fileType
3086
+ mimeType
3087
+ format
3088
+ formatName
3089
+ fileExtension
3090
+ fileName
3091
+ fileSize
3092
+ masterUri
3093
+ imageUri
3094
+ textUri
3095
+ audioUri
3096
+ transcriptUri
3097
+ summary
3098
+ customSummary
3099
+ keywords
3100
+ bullets
3101
+ headlines
3102
+ posts
3103
+ chapters
3104
+ questions
3105
+ video {
3106
+ width
3107
+ height
3108
+ duration
3109
+ make
3110
+ model
3111
+ software
3112
+ title
3113
+ description
3114
+ keywords
3115
+ author
3116
+ }
3117
+ audio {
3118
+ keywords
3119
+ author
3120
+ series
3121
+ episode
3122
+ episodeType
3123
+ season
3124
+ publisher
3125
+ copyright
3126
+ genre
3127
+ title
3128
+ description
3129
+ bitrate
3130
+ channels
3131
+ sampleRate
3132
+ bitsPerSample
3133
+ duration
3134
+ }
3135
+ image {
3136
+ width
3137
+ height
3138
+ resolutionX
3139
+ resolutionY
3140
+ bitsPerComponent
3141
+ components
3142
+ projectionType
3143
+ orientation
3144
+ description
3145
+ make
3146
+ model
3147
+ software
3148
+ lens
3149
+ focalLength
3150
+ exposureTime
3151
+ fNumber
3152
+ iso
3153
+ heading
3154
+ pitch
3155
+ }
3156
+ document {
3157
+ title
3158
+ subject
3159
+ summary
3160
+ author
3161
+ publisher
3162
+ description
3163
+ keywords
3164
+ pageCount
3165
+ worksheetCount
3166
+ slideCount
3167
+ wordCount
3168
+ lineCount
3169
+ paragraphCount
3170
+ isEncrypted
3171
+ hasDigitalSignature
3172
+ }
3173
+ }
3174
+ index
3175
+ text
3176
+ startTime
3177
+ endTime
3178
+ pageNumber
3179
+ frameNumber
3180
+ }
3181
+ toolCalls {
3182
+ id
3183
+ name
3184
+ arguments
3185
+ }
3186
+ tokens
3187
+ throughput
3188
+ completionTime
3189
+ timestamp
3190
+ modelService
3191
+ model
3192
+ }
3193
+ messageCount
3194
+ }
3195
+ }
3196
+ `;
3197
+ exports.ReviseImage = (0, graphql_tag_1.default) `
3198
+ mutation ReviseImage($prompt: String!, $uri: URL!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
3199
+ reviseImage(
3200
+ prompt: $prompt
3201
+ uri: $uri
3202
+ id: $id
3203
+ specification: $specification
3204
+ correlationId: $correlationId
3205
+ ) {
3206
+ conversation {
3207
+ id
3208
+ }
3209
+ message {
3210
+ role
3211
+ author
3212
+ message
3213
+ citations {
3214
+ content {
3215
+ id
3216
+ name
3217
+ state
3218
+ originalDate
3219
+ identifier
3220
+ uri
3221
+ type
3222
+ fileType
3223
+ mimeType
3224
+ format
3225
+ formatName
3226
+ fileExtension
3227
+ fileName
3228
+ fileSize
3229
+ masterUri
3230
+ imageUri
3231
+ textUri
3232
+ audioUri
3233
+ transcriptUri
3234
+ summary
3235
+ customSummary
3236
+ keywords
3237
+ bullets
3238
+ headlines
3239
+ posts
3240
+ chapters
3241
+ questions
3242
+ video {
3243
+ width
3244
+ height
3245
+ duration
3246
+ make
3247
+ model
3248
+ software
3249
+ title
3250
+ description
3251
+ keywords
3252
+ author
3253
+ }
3254
+ audio {
3255
+ keywords
3256
+ author
3257
+ series
3258
+ episode
3259
+ episodeType
3260
+ season
3261
+ publisher
3262
+ copyright
3263
+ genre
3264
+ title
3265
+ description
3266
+ bitrate
3267
+ channels
3268
+ sampleRate
3269
+ bitsPerSample
3270
+ duration
3271
+ }
3272
+ image {
3273
+ width
3274
+ height
3275
+ resolutionX
3276
+ resolutionY
3277
+ bitsPerComponent
3278
+ components
3279
+ projectionType
3280
+ orientation
3281
+ description
3282
+ make
3283
+ model
3284
+ software
3285
+ lens
3286
+ focalLength
3287
+ exposureTime
3288
+ fNumber
3289
+ iso
3290
+ heading
3291
+ pitch
3292
+ }
3293
+ document {
3294
+ title
3295
+ subject
3296
+ summary
3297
+ author
3298
+ publisher
3299
+ description
3300
+ keywords
3301
+ pageCount
3302
+ worksheetCount
3303
+ slideCount
3304
+ wordCount
3305
+ lineCount
3306
+ paragraphCount
3307
+ isEncrypted
3308
+ hasDigitalSignature
3309
+ }
3310
+ }
3311
+ index
3312
+ text
3313
+ startTime
3314
+ endTime
3315
+ pageNumber
3316
+ frameNumber
3317
+ }
3318
+ toolCalls {
3319
+ id
3320
+ name
3321
+ arguments
3322
+ }
3323
+ tokens
3324
+ throughput
3325
+ completionTime
3326
+ timestamp
3327
+ modelService
3328
+ model
3329
+ }
3330
+ messageCount
3331
+ }
3332
+ }
3333
+ `;
2923
3334
  exports.ReviseText = (0, graphql_tag_1.default) `
2924
3335
  mutation ReviseText($prompt: String!, $text: String!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
2925
3336
  reviseText(
@@ -3298,6 +3709,8 @@ exports.GetFeed = (0, graphql_tag_1.default) `
3298
3709
  libraryId
3299
3710
  folderId
3300
3711
  tenantId
3712
+ clientId
3713
+ clientSecret
3301
3714
  refreshToken
3302
3715
  }
3303
3716
  oneDrive {
@@ -3482,6 +3895,8 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
3482
3895
  libraryId
3483
3896
  folderId
3484
3897
  tenantId
3898
+ clientId
3899
+ clientSecret
3485
3900
  refreshToken
3486
3901
  }
3487
3902
  oneDrive {
@@ -6440,7 +6440,9 @@ export declare enum MistralModels {
6440
6440
  /** Mixtral 8x7b Instruct */
6441
6441
  Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT",
6442
6442
  /** Pixtral 12b (2024-09 version) */
6443
- Pixtral_12B_2409 = "PIXTRAL_12B_2409"
6443
+ Pixtral_12B_2409 = "PIXTRAL_12B_2409",
6444
+ /** Pixtral Large */
6445
+ PixtralLarge = "PIXTRAL_LARGE"
6444
6446
  }
6445
6447
  /** Represents the LLM document preparation properties. */
6446
6448
  export type ModelDocumentPreparationProperties = {
@@ -6776,6 +6778,8 @@ export type Mutation = {
6776
6778
  openCollection?: Maybe<Collection>;
6777
6779
  /** Opens an existing conversation. */
6778
6780
  openConversation?: Maybe<Conversation>;
6781
+ /** Prompts LLM without content retrieval. Accepts optional list of previous conversation messages with User or Assistant roles. */
6782
+ prompt?: Maybe<PromptCompletion>;
6779
6783
  /** Prompts a conversation. */
6780
6784
  promptConversation?: Maybe<PromptConversation>;
6781
6785
  /** Prompts one or more LLM specifications, 10 maximum. */
@@ -6799,6 +6803,10 @@ export type Mutation = {
6799
6803
  restartContent?: Maybe<Content>;
6800
6804
  /** Revise content via prompted conversation. */
6801
6805
  reviseContent?: Maybe<ReviseContent>;
6806
+ /** Revise encoded image via prompted conversation. */
6807
+ reviseEncodedImage?: Maybe<ReviseContent>;
6808
+ /** Revise image via prompted conversation. */
6809
+ reviseImage?: Maybe<ReviseContent>;
6802
6810
  /** Revise text via prompted conversation. */
6803
6811
  reviseText?: Maybe<ReviseContent>;
6804
6812
  /** Suggest prompts for a conversation. */
@@ -7398,6 +7406,12 @@ export type MutationOpenCollectionArgs = {
7398
7406
  export type MutationOpenConversationArgs = {
7399
7407
  id: Scalars['ID']['input'];
7400
7408
  };
7409
+ export type MutationPromptArgs = {
7410
+ correlationId?: InputMaybe<Scalars['String']['input']>;
7411
+ messages?: InputMaybe<Array<InputMaybe<ConversationMessageInput>>>;
7412
+ prompt: Scalars['String']['input'];
7413
+ specification?: InputMaybe<EntityReferenceInput>;
7414
+ };
7401
7415
  export type MutationPromptConversationArgs = {
7402
7416
  correlationId?: InputMaybe<Scalars['String']['input']>;
7403
7417
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -7462,6 +7476,21 @@ export type MutationReviseContentArgs = {
7462
7476
  prompt: Scalars['String']['input'];
7463
7477
  specification?: InputMaybe<EntityReferenceInput>;
7464
7478
  };
7479
+ export type MutationReviseEncodedImageArgs = {
7480
+ correlationId?: InputMaybe<Scalars['String']['input']>;
7481
+ data: Scalars['String']['input'];
7482
+ id?: InputMaybe<Scalars['ID']['input']>;
7483
+ mimeType: Scalars['String']['input'];
7484
+ prompt: Scalars['String']['input'];
7485
+ specification?: InputMaybe<EntityReferenceInput>;
7486
+ };
7487
+ export type MutationReviseImageArgs = {
7488
+ correlationId?: InputMaybe<Scalars['String']['input']>;
7489
+ id?: InputMaybe<Scalars['ID']['input']>;
7490
+ prompt: Scalars['String']['input'];
7491
+ specification?: InputMaybe<EntityReferenceInput>;
7492
+ uri: Scalars['URL']['input'];
7493
+ };
7465
7494
  export type MutationReviseTextArgs = {
7466
7495
  correlationId?: InputMaybe<Scalars['String']['input']>;
7467
7496
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -7946,6 +7975,8 @@ export declare enum OpenAiModels {
7946
7975
  Gpt4O_128K_20240513 = "GPT4O_128K_20240513",
7947
7976
  /** GPT-4o 128k (2024-08-06 version) */
7948
7977
  Gpt4O_128K_20240806 = "GPT4O_128K_20240806",
7978
+ /** GPT-4o 128k (2024-11-20 version) */
7979
+ Gpt4O_128K_20241120 = "GPT4O_128K_20241120",
7949
7980
  /** ChatGPT-4o 128k (Latest) */
7950
7981
  Gpt4OChat_128K = "GPT4O_CHAT_128K",
7951
7982
  /** GPT-4o Mini 128k (Latest) */
@@ -10464,13 +10495,17 @@ export type SharePointFeedProperties = {
10464
10495
  accountName: Scalars['String']['output'];
10465
10496
  /** SharePoint authentication type. */
10466
10497
  authenticationType: SharePointAuthenticationTypes;
10498
+ /** Microsoft Entra ID client identifier, when using user authentication type. */
10499
+ clientId?: Maybe<Scalars['String']['output']>;
10500
+ /** Microsoft Entra ID client secret, when using user authentication type. */
10501
+ clientSecret?: Maybe<Scalars['String']['output']>;
10467
10502
  /** SharePoint folder identifier. */
10468
10503
  folderId?: Maybe<Scalars['ID']['output']>;
10469
10504
  /** SharePoint library identifier. */
10470
10505
  libraryId: Scalars['ID']['output'];
10471
- /** Azure Active Directory refresh token, when using user authentication type. */
10506
+ /** Microsoft Entra ID refresh token, when using user authentication type. */
10472
10507
  refreshToken?: Maybe<Scalars['String']['output']>;
10473
- /** Azure Active Directory tenant identifier, when using application authentication type. */
10508
+ /** Microsoft Entra ID tenant identifier, when using application authentication type. */
10474
10509
  tenantId?: Maybe<Scalars['ID']['output']>;
10475
10510
  };
10476
10511
  /** Represents SharePoint properties. */
@@ -10479,13 +10514,17 @@ export type SharePointFeedPropertiesInput = {
10479
10514
  accountName: Scalars['String']['input'];
10480
10515
  /** SharePoint authentication type. */
10481
10516
  authenticationType: SharePointAuthenticationTypes;
10517
+ /** Microsoft Entra ID client identifier, when using user authentication type. */
10518
+ clientId?: InputMaybe<Scalars['String']['input']>;
10519
+ /** Microsoft Entra ID client secret, when using user authentication type. */
10520
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
10482
10521
  /** SharePoint folder identifier. */
10483
10522
  folderId?: InputMaybe<Scalars['ID']['input']>;
10484
10523
  /** SharePoint library identifier. */
10485
10524
  libraryId: Scalars['ID']['input'];
10486
- /** Azure Active Directory refresh token, when using user authentication type. */
10525
+ /** Microsoft Entra ID refresh token, when using user authentication type. */
10487
10526
  refreshToken?: InputMaybe<Scalars['String']['input']>;
10488
- /** Azure Active Directory tenant identifier, when using application authentication type. */
10527
+ /** Microsoft Entra ID tenant identifier, when using application authentication type. */
10489
10528
  tenantId?: InputMaybe<Scalars['ID']['input']>;
10490
10529
  };
10491
10530
  /** Represents SharePoint properties. */
@@ -10498,9 +10537,9 @@ export type SharePointFeedPropertiesUpdateInput = {
10498
10537
  folderId?: InputMaybe<Scalars['ID']['input']>;
10499
10538
  /** SharePoint library identifier. */
10500
10539
  libraryId?: InputMaybe<Scalars['ID']['input']>;
10501
- /** Azure Active Directory refresh token, when using user authentication type. */
10540
+ /** Microsoft Entra ID refresh token, when using user authentication type. */
10502
10541
  refreshToken?: InputMaybe<Scalars['String']['input']>;
10503
- /** Azure Active Directory tenant identifier, when using application authentication type. */
10542
+ /** Microsoft Entra ID tenant identifier, when using application authentication type. */
10504
10543
  tenantId?: InputMaybe<Scalars['ID']['input']>;
10505
10544
  };
10506
10545
  /** Represents a SharePoint folder. */
@@ -10523,18 +10562,26 @@ export type SharePointFolderResults = {
10523
10562
  export type SharePointFoldersInput = {
10524
10563
  /** SharePoint authentication type. */
10525
10564
  authenticationType: SharePointAuthenticationTypes;
10526
- /** Azure Active Directory refresh token, when using user authentication type. */
10565
+ /** Microsoft Entra ID client identifier, when using user authentication type. */
10566
+ clientId?: InputMaybe<Scalars['String']['input']>;
10567
+ /** Microsoft Entra ID client secret, when using user authentication type. */
10568
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
10569
+ /** Microsoft Entra ID refresh token, when using user authentication type. */
10527
10570
  refreshToken?: InputMaybe<Scalars['String']['input']>;
10528
- /** Azure Active Directory tenant identifier, when using application authentication type. */
10571
+ /** Microsoft Entra ID tenant identifier, when using application authentication type. */
10529
10572
  tenantId?: InputMaybe<Scalars['ID']['input']>;
10530
10573
  };
10531
10574
  /** Represents SharePoint libraries properties. */
10532
10575
  export type SharePointLibrariesInput = {
10533
10576
  /** SharePoint authentication type. */
10534
10577
  authenticationType: SharePointAuthenticationTypes;
10535
- /** Azure Active Directory refresh token, when using user authentication type. */
10578
+ /** Microsoft Entra ID client identifier, when using user authentication type. */
10579
+ clientId?: InputMaybe<Scalars['String']['input']>;
10580
+ /** Microsoft Entra ID client secret, when using user authentication type. */
10581
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
10582
+ /** Microsoft Entra ID refresh token, when using user authentication type. */
10536
10583
  refreshToken?: InputMaybe<Scalars['String']['input']>;
10537
- /** Azure Active Directory tenant identifier, when using application authentication type. */
10584
+ /** Microsoft Entra ID tenant identifier, when using application authentication type. */
10538
10585
  tenantId?: InputMaybe<Scalars['ID']['input']>;
10539
10586
  };
10540
10587
  /** Represents a SharePoint library. */
@@ -11212,10 +11259,14 @@ export declare enum TextRoles {
11212
11259
  CornerHeader = "CORNER_HEADER",
11213
11260
  /** Diagram */
11214
11261
  Diagram = "DIAGRAM",
11262
+ /** Diagram Caption */
11263
+ DiagramCaption = "DIAGRAM_CAPTION",
11215
11264
  /** Equation */
11216
11265
  Equation = "EQUATION",
11217
11266
  /** Figure */
11218
11267
  Figure = "FIGURE",
11268
+ /** Figure Caption */
11269
+ FigureCaption = "FIGURE_CAPTION",
11219
11270
  /** Footnote */
11220
11271
  Footnote = "FOOTNOTE",
11221
11272
  /** Heading 1 */
@@ -11254,6 +11305,8 @@ export declare enum TextRoles {
11254
11305
  TableColumnHeader = "TABLE_COLUMN_HEADER",
11255
11306
  /** Table Corner Header */
11256
11307
  TableCornerHeader = "TABLE_CORNER_HEADER",
11308
+ /** Table Header */
11309
+ TableHeader = "TABLE_HEADER",
11257
11310
  /** Table Row Header */
11258
11311
  TableRowHeader = "TABLE_ROW_HEADER",
11259
11312
  /** Title */
@@ -14404,6 +14457,152 @@ export type GetConversationQuery = {
14404
14457
  } | null;
14405
14458
  } | null;
14406
14459
  };
14460
+ export type PromptMutationVariables = Exact<{
14461
+ prompt: Scalars['String']['input'];
14462
+ specification?: InputMaybe<EntityReferenceInput>;
14463
+ messages?: InputMaybe<Array<ConversationMessageInput> | ConversationMessageInput>;
14464
+ correlationId?: InputMaybe<Scalars['String']['input']>;
14465
+ }>;
14466
+ export type PromptMutation = {
14467
+ __typename?: 'Mutation';
14468
+ prompt?: {
14469
+ __typename?: 'PromptCompletion';
14470
+ error?: string | null;
14471
+ specification?: {
14472
+ __typename?: 'EntityReference';
14473
+ id: string;
14474
+ } | null;
14475
+ messages?: Array<{
14476
+ __typename?: 'ConversationMessage';
14477
+ role: ConversationRoleTypes;
14478
+ author?: string | null;
14479
+ message?: string | null;
14480
+ tokens?: number | null;
14481
+ throughput?: number | null;
14482
+ completionTime?: any | null;
14483
+ timestamp?: any | null;
14484
+ modelService?: ModelServiceTypes | null;
14485
+ model?: string | null;
14486
+ citations?: Array<{
14487
+ __typename?: 'ConversationCitation';
14488
+ index?: number | null;
14489
+ text: string;
14490
+ startTime?: any | null;
14491
+ endTime?: any | null;
14492
+ pageNumber?: number | null;
14493
+ frameNumber?: number | null;
14494
+ content?: {
14495
+ __typename?: 'Content';
14496
+ id: string;
14497
+ name: string;
14498
+ state: EntityState;
14499
+ originalDate?: any | null;
14500
+ identifier?: string | null;
14501
+ uri?: any | null;
14502
+ type?: ContentTypes | null;
14503
+ fileType?: FileTypes | null;
14504
+ mimeType?: string | null;
14505
+ format?: string | null;
14506
+ formatName?: string | null;
14507
+ fileExtension?: string | null;
14508
+ fileName?: string | null;
14509
+ fileSize?: any | null;
14510
+ masterUri?: any | null;
14511
+ imageUri?: any | null;
14512
+ textUri?: any | null;
14513
+ audioUri?: any | null;
14514
+ transcriptUri?: any | null;
14515
+ summary?: string | null;
14516
+ customSummary?: string | null;
14517
+ keywords?: Array<string> | null;
14518
+ bullets?: Array<string> | null;
14519
+ headlines?: Array<string> | null;
14520
+ posts?: Array<string> | null;
14521
+ chapters?: Array<string> | null;
14522
+ questions?: Array<string> | null;
14523
+ video?: {
14524
+ __typename?: 'VideoMetadata';
14525
+ width?: number | null;
14526
+ height?: number | null;
14527
+ duration?: any | null;
14528
+ make?: string | null;
14529
+ model?: string | null;
14530
+ software?: string | null;
14531
+ title?: string | null;
14532
+ description?: string | null;
14533
+ keywords?: Array<string | null> | null;
14534
+ author?: string | null;
14535
+ } | null;
14536
+ audio?: {
14537
+ __typename?: 'AudioMetadata';
14538
+ keywords?: Array<string | null> | null;
14539
+ author?: string | null;
14540
+ series?: string | null;
14541
+ episode?: string | null;
14542
+ episodeType?: string | null;
14543
+ season?: string | null;
14544
+ publisher?: string | null;
14545
+ copyright?: string | null;
14546
+ genre?: string | null;
14547
+ title?: string | null;
14548
+ description?: string | null;
14549
+ bitrate?: number | null;
14550
+ channels?: number | null;
14551
+ sampleRate?: number | null;
14552
+ bitsPerSample?: number | null;
14553
+ duration?: any | null;
14554
+ } | null;
14555
+ image?: {
14556
+ __typename?: 'ImageMetadata';
14557
+ width?: number | null;
14558
+ height?: number | null;
14559
+ resolutionX?: number | null;
14560
+ resolutionY?: number | null;
14561
+ bitsPerComponent?: number | null;
14562
+ components?: number | null;
14563
+ projectionType?: ImageProjectionTypes | null;
14564
+ orientation?: OrientationTypes | null;
14565
+ description?: string | null;
14566
+ make?: string | null;
14567
+ model?: string | null;
14568
+ software?: string | null;
14569
+ lens?: string | null;
14570
+ focalLength?: number | null;
14571
+ exposureTime?: string | null;
14572
+ fNumber?: string | null;
14573
+ iso?: string | null;
14574
+ heading?: number | null;
14575
+ pitch?: number | null;
14576
+ } | null;
14577
+ document?: {
14578
+ __typename?: 'DocumentMetadata';
14579
+ title?: string | null;
14580
+ subject?: string | null;
14581
+ summary?: string | null;
14582
+ author?: string | null;
14583
+ publisher?: string | null;
14584
+ description?: string | null;
14585
+ keywords?: Array<string | null> | null;
14586
+ pageCount?: number | null;
14587
+ worksheetCount?: number | null;
14588
+ slideCount?: number | null;
14589
+ wordCount?: number | null;
14590
+ lineCount?: number | null;
14591
+ paragraphCount?: number | null;
14592
+ isEncrypted?: boolean | null;
14593
+ hasDigitalSignature?: boolean | null;
14594
+ } | null;
14595
+ } | null;
14596
+ } | null> | null;
14597
+ toolCalls?: Array<{
14598
+ __typename?: 'ConversationToolCall';
14599
+ id: string;
14600
+ name: string;
14601
+ arguments: string;
14602
+ } | null> | null;
14603
+ } | null> | null;
14604
+ } | null;
14605
+ };
14407
14606
  export type PromptConversationMutationVariables = Exact<{
14408
14607
  prompt: Scalars['String']['input'];
14409
14608
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -15098,6 +15297,301 @@ export type ReviseContentMutation = {
15098
15297
  } | null;
15099
15298
  } | null;
15100
15299
  };
15300
+ export type ReviseEncodedImageMutationVariables = Exact<{
15301
+ prompt: Scalars['String']['input'];
15302
+ mimeType: Scalars['String']['input'];
15303
+ data: Scalars['String']['input'];
15304
+ id?: InputMaybe<Scalars['ID']['input']>;
15305
+ specification?: InputMaybe<EntityReferenceInput>;
15306
+ correlationId?: InputMaybe<Scalars['String']['input']>;
15307
+ }>;
15308
+ export type ReviseEncodedImageMutation = {
15309
+ __typename?: 'Mutation';
15310
+ reviseEncodedImage?: {
15311
+ __typename?: 'ReviseContent';
15312
+ messageCount?: number | null;
15313
+ conversation?: {
15314
+ __typename?: 'EntityReference';
15315
+ id: string;
15316
+ } | null;
15317
+ message?: {
15318
+ __typename?: 'ConversationMessage';
15319
+ role: ConversationRoleTypes;
15320
+ author?: string | null;
15321
+ message?: string | null;
15322
+ tokens?: number | null;
15323
+ throughput?: number | null;
15324
+ completionTime?: any | null;
15325
+ timestamp?: any | null;
15326
+ modelService?: ModelServiceTypes | null;
15327
+ model?: string | null;
15328
+ citations?: Array<{
15329
+ __typename?: 'ConversationCitation';
15330
+ index?: number | null;
15331
+ text: string;
15332
+ startTime?: any | null;
15333
+ endTime?: any | null;
15334
+ pageNumber?: number | null;
15335
+ frameNumber?: number | null;
15336
+ content?: {
15337
+ __typename?: 'Content';
15338
+ id: string;
15339
+ name: string;
15340
+ state: EntityState;
15341
+ originalDate?: any | null;
15342
+ identifier?: string | null;
15343
+ uri?: any | null;
15344
+ type?: ContentTypes | null;
15345
+ fileType?: FileTypes | null;
15346
+ mimeType?: string | null;
15347
+ format?: string | null;
15348
+ formatName?: string | null;
15349
+ fileExtension?: string | null;
15350
+ fileName?: string | null;
15351
+ fileSize?: any | null;
15352
+ masterUri?: any | null;
15353
+ imageUri?: any | null;
15354
+ textUri?: any | null;
15355
+ audioUri?: any | null;
15356
+ transcriptUri?: any | null;
15357
+ summary?: string | null;
15358
+ customSummary?: string | null;
15359
+ keywords?: Array<string> | null;
15360
+ bullets?: Array<string> | null;
15361
+ headlines?: Array<string> | null;
15362
+ posts?: Array<string> | null;
15363
+ chapters?: Array<string> | null;
15364
+ questions?: Array<string> | null;
15365
+ video?: {
15366
+ __typename?: 'VideoMetadata';
15367
+ width?: number | null;
15368
+ height?: number | null;
15369
+ duration?: any | null;
15370
+ make?: string | null;
15371
+ model?: string | null;
15372
+ software?: string | null;
15373
+ title?: string | null;
15374
+ description?: string | null;
15375
+ keywords?: Array<string | null> | null;
15376
+ author?: string | null;
15377
+ } | null;
15378
+ audio?: {
15379
+ __typename?: 'AudioMetadata';
15380
+ keywords?: Array<string | null> | null;
15381
+ author?: string | null;
15382
+ series?: string | null;
15383
+ episode?: string | null;
15384
+ episodeType?: string | null;
15385
+ season?: string | null;
15386
+ publisher?: string | null;
15387
+ copyright?: string | null;
15388
+ genre?: string | null;
15389
+ title?: string | null;
15390
+ description?: string | null;
15391
+ bitrate?: number | null;
15392
+ channels?: number | null;
15393
+ sampleRate?: number | null;
15394
+ bitsPerSample?: number | null;
15395
+ duration?: any | null;
15396
+ } | null;
15397
+ image?: {
15398
+ __typename?: 'ImageMetadata';
15399
+ width?: number | null;
15400
+ height?: number | null;
15401
+ resolutionX?: number | null;
15402
+ resolutionY?: number | null;
15403
+ bitsPerComponent?: number | null;
15404
+ components?: number | null;
15405
+ projectionType?: ImageProjectionTypes | null;
15406
+ orientation?: OrientationTypes | null;
15407
+ description?: string | null;
15408
+ make?: string | null;
15409
+ model?: string | null;
15410
+ software?: string | null;
15411
+ lens?: string | null;
15412
+ focalLength?: number | null;
15413
+ exposureTime?: string | null;
15414
+ fNumber?: string | null;
15415
+ iso?: string | null;
15416
+ heading?: number | null;
15417
+ pitch?: number | null;
15418
+ } | null;
15419
+ document?: {
15420
+ __typename?: 'DocumentMetadata';
15421
+ title?: string | null;
15422
+ subject?: string | null;
15423
+ summary?: string | null;
15424
+ author?: string | null;
15425
+ publisher?: string | null;
15426
+ description?: string | null;
15427
+ keywords?: Array<string | null> | null;
15428
+ pageCount?: number | null;
15429
+ worksheetCount?: number | null;
15430
+ slideCount?: number | null;
15431
+ wordCount?: number | null;
15432
+ lineCount?: number | null;
15433
+ paragraphCount?: number | null;
15434
+ isEncrypted?: boolean | null;
15435
+ hasDigitalSignature?: boolean | null;
15436
+ } | null;
15437
+ } | null;
15438
+ } | null> | null;
15439
+ toolCalls?: Array<{
15440
+ __typename?: 'ConversationToolCall';
15441
+ id: string;
15442
+ name: string;
15443
+ arguments: string;
15444
+ } | null> | null;
15445
+ } | null;
15446
+ } | null;
15447
+ };
15448
+ export type ReviseImageMutationVariables = Exact<{
15449
+ prompt: Scalars['String']['input'];
15450
+ uri: Scalars['URL']['input'];
15451
+ id?: InputMaybe<Scalars['ID']['input']>;
15452
+ specification?: InputMaybe<EntityReferenceInput>;
15453
+ correlationId?: InputMaybe<Scalars['String']['input']>;
15454
+ }>;
15455
+ export type ReviseImageMutation = {
15456
+ __typename?: 'Mutation';
15457
+ reviseImage?: {
15458
+ __typename?: 'ReviseContent';
15459
+ messageCount?: number | null;
15460
+ conversation?: {
15461
+ __typename?: 'EntityReference';
15462
+ id: string;
15463
+ } | null;
15464
+ message?: {
15465
+ __typename?: 'ConversationMessage';
15466
+ role: ConversationRoleTypes;
15467
+ author?: string | null;
15468
+ message?: string | null;
15469
+ tokens?: number | null;
15470
+ throughput?: number | null;
15471
+ completionTime?: any | null;
15472
+ timestamp?: any | null;
15473
+ modelService?: ModelServiceTypes | null;
15474
+ model?: string | null;
15475
+ citations?: Array<{
15476
+ __typename?: 'ConversationCitation';
15477
+ index?: number | null;
15478
+ text: string;
15479
+ startTime?: any | null;
15480
+ endTime?: any | null;
15481
+ pageNumber?: number | null;
15482
+ frameNumber?: number | null;
15483
+ content?: {
15484
+ __typename?: 'Content';
15485
+ id: string;
15486
+ name: string;
15487
+ state: EntityState;
15488
+ originalDate?: any | null;
15489
+ identifier?: string | null;
15490
+ uri?: any | null;
15491
+ type?: ContentTypes | null;
15492
+ fileType?: FileTypes | null;
15493
+ mimeType?: string | null;
15494
+ format?: string | null;
15495
+ formatName?: string | null;
15496
+ fileExtension?: string | null;
15497
+ fileName?: string | null;
15498
+ fileSize?: any | null;
15499
+ masterUri?: any | null;
15500
+ imageUri?: any | null;
15501
+ textUri?: any | null;
15502
+ audioUri?: any | null;
15503
+ transcriptUri?: any | null;
15504
+ summary?: string | null;
15505
+ customSummary?: string | null;
15506
+ keywords?: Array<string> | null;
15507
+ bullets?: Array<string> | null;
15508
+ headlines?: Array<string> | null;
15509
+ posts?: Array<string> | null;
15510
+ chapters?: Array<string> | null;
15511
+ questions?: Array<string> | null;
15512
+ video?: {
15513
+ __typename?: 'VideoMetadata';
15514
+ width?: number | null;
15515
+ height?: number | null;
15516
+ duration?: any | null;
15517
+ make?: string | null;
15518
+ model?: string | null;
15519
+ software?: string | null;
15520
+ title?: string | null;
15521
+ description?: string | null;
15522
+ keywords?: Array<string | null> | null;
15523
+ author?: string | null;
15524
+ } | null;
15525
+ audio?: {
15526
+ __typename?: 'AudioMetadata';
15527
+ keywords?: Array<string | null> | null;
15528
+ author?: string | null;
15529
+ series?: string | null;
15530
+ episode?: string | null;
15531
+ episodeType?: string | null;
15532
+ season?: string | null;
15533
+ publisher?: string | null;
15534
+ copyright?: string | null;
15535
+ genre?: string | null;
15536
+ title?: string | null;
15537
+ description?: string | null;
15538
+ bitrate?: number | null;
15539
+ channels?: number | null;
15540
+ sampleRate?: number | null;
15541
+ bitsPerSample?: number | null;
15542
+ duration?: any | null;
15543
+ } | null;
15544
+ image?: {
15545
+ __typename?: 'ImageMetadata';
15546
+ width?: number | null;
15547
+ height?: number | null;
15548
+ resolutionX?: number | null;
15549
+ resolutionY?: number | null;
15550
+ bitsPerComponent?: number | null;
15551
+ components?: number | null;
15552
+ projectionType?: ImageProjectionTypes | null;
15553
+ orientation?: OrientationTypes | null;
15554
+ description?: string | null;
15555
+ make?: string | null;
15556
+ model?: string | null;
15557
+ software?: string | null;
15558
+ lens?: string | null;
15559
+ focalLength?: number | null;
15560
+ exposureTime?: string | null;
15561
+ fNumber?: string | null;
15562
+ iso?: string | null;
15563
+ heading?: number | null;
15564
+ pitch?: number | null;
15565
+ } | null;
15566
+ document?: {
15567
+ __typename?: 'DocumentMetadata';
15568
+ title?: string | null;
15569
+ subject?: string | null;
15570
+ summary?: string | null;
15571
+ author?: string | null;
15572
+ publisher?: string | null;
15573
+ description?: string | null;
15574
+ keywords?: Array<string | null> | null;
15575
+ pageCount?: number | null;
15576
+ worksheetCount?: number | null;
15577
+ slideCount?: number | null;
15578
+ wordCount?: number | null;
15579
+ lineCount?: number | null;
15580
+ paragraphCount?: number | null;
15581
+ isEncrypted?: boolean | null;
15582
+ hasDigitalSignature?: boolean | null;
15583
+ } | null;
15584
+ } | null;
15585
+ } | null> | null;
15586
+ toolCalls?: Array<{
15587
+ __typename?: 'ConversationToolCall';
15588
+ id: string;
15589
+ name: string;
15590
+ arguments: string;
15591
+ } | null> | null;
15592
+ } | null;
15593
+ } | null;
15594
+ };
15101
15595
  export type ReviseTextMutationVariables = Exact<{
15102
15596
  prompt: Scalars['String']['input'];
15103
15597
  text: Scalars['String']['input'];
@@ -15553,6 +16047,8 @@ export type GetFeedQuery = {
15553
16047
  libraryId: string;
15554
16048
  folderId?: string | null;
15555
16049
  tenantId?: string | null;
16050
+ clientId?: string | null;
16051
+ clientSecret?: string | null;
15556
16052
  refreshToken?: string | null;
15557
16053
  } | null;
15558
16054
  oneDrive?: {
@@ -15774,6 +16270,8 @@ export type QueryFeedsQuery = {
15774
16270
  libraryId: string;
15775
16271
  folderId?: string | null;
15776
16272
  tenantId?: string | null;
16273
+ clientId?: string | null;
16274
+ clientSecret?: string | null;
15777
16275
  refreshToken?: string | null;
15778
16276
  } | null;
15779
16277
  oneDrive?: {
@@ -1075,6 +1075,8 @@ var MistralModels;
1075
1075
  MistralModels["Mixtral_8X7BInstruct"] = "MIXTRAL_8X7B_INSTRUCT";
1076
1076
  /** Pixtral 12b (2024-09 version) */
1077
1077
  MistralModels["Pixtral_12B_2409"] = "PIXTRAL_12B_2409";
1078
+ /** Pixtral Large */
1079
+ MistralModels["PixtralLarge"] = "PIXTRAL_LARGE";
1078
1080
  })(MistralModels || (exports.MistralModels = MistralModels = {}));
1079
1081
  /** Model service type */
1080
1082
  var ModelServiceTypes;
@@ -1185,6 +1187,8 @@ var OpenAiModels;
1185
1187
  OpenAiModels["Gpt4O_128K_20240513"] = "GPT4O_128K_20240513";
1186
1188
  /** GPT-4o 128k (2024-08-06 version) */
1187
1189
  OpenAiModels["Gpt4O_128K_20240806"] = "GPT4O_128K_20240806";
1190
+ /** GPT-4o 128k (2024-11-20 version) */
1191
+ OpenAiModels["Gpt4O_128K_20241120"] = "GPT4O_128K_20241120";
1188
1192
  /** ChatGPT-4o 128k (Latest) */
1189
1193
  OpenAiModels["Gpt4OChat_128K"] = "GPT4O_CHAT_128K";
1190
1194
  /** GPT-4o Mini 128k (Latest) */
@@ -1528,10 +1532,14 @@ var TextRoles;
1528
1532
  TextRoles["CornerHeader"] = "CORNER_HEADER";
1529
1533
  /** Diagram */
1530
1534
  TextRoles["Diagram"] = "DIAGRAM";
1535
+ /** Diagram Caption */
1536
+ TextRoles["DiagramCaption"] = "DIAGRAM_CAPTION";
1531
1537
  /** Equation */
1532
1538
  TextRoles["Equation"] = "EQUATION";
1533
1539
  /** Figure */
1534
1540
  TextRoles["Figure"] = "FIGURE";
1541
+ /** Figure Caption */
1542
+ TextRoles["FigureCaption"] = "FIGURE_CAPTION";
1535
1543
  /** Footnote */
1536
1544
  TextRoles["Footnote"] = "FOOTNOTE";
1537
1545
  /** Heading 1 */
@@ -1570,6 +1578,8 @@ var TextRoles;
1570
1578
  TextRoles["TableColumnHeader"] = "TABLE_COLUMN_HEADER";
1571
1579
  /** Table Corner Header */
1572
1580
  TextRoles["TableCornerHeader"] = "TABLE_CORNER_HEADER";
1581
+ /** Table Header */
1582
+ TextRoles["TableHeader"] = "TABLE_HEADER";
1573
1583
  /** Table Row Header */
1574
1584
  TextRoles["TableRowHeader"] = "TABLE_ROW_HEADER";
1575
1585
  /** Title */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241116001",
3
+ "version": "1.0.20241125001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",