graphlit-client 1.0.20241203001 → 1.0.20241205001

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.
@@ -4046,6 +4046,8 @@ exports.GetFeed = (0, graphql_tag_1.default) `
4046
4046
  }
4047
4047
  oneDrive {
4048
4048
  folderId
4049
+ clientId
4050
+ clientSecret
4049
4051
  refreshToken
4050
4052
  }
4051
4053
  googleDrive {
@@ -4075,6 +4077,8 @@ exports.GetFeed = (0, graphql_tag_1.default) `
4075
4077
  microsoft {
4076
4078
  type
4077
4079
  refreshToken
4080
+ clientId
4081
+ clientSecret
4078
4082
  }
4079
4083
  readLimit
4080
4084
  }
@@ -4142,6 +4146,15 @@ exports.GetFeed = (0, graphql_tag_1.default) `
4142
4146
  channel
4143
4147
  includeAttachments
4144
4148
  }
4149
+ microsoftTeams {
4150
+ readLimit
4151
+ type
4152
+ clientId
4153
+ clientSecret
4154
+ refreshToken
4155
+ teamId
4156
+ channelId
4157
+ }
4145
4158
  discord {
4146
4159
  readLimit
4147
4160
  type
@@ -4232,6 +4245,8 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
4232
4245
  }
4233
4246
  oneDrive {
4234
4247
  folderId
4248
+ clientId
4249
+ clientSecret
4235
4250
  refreshToken
4236
4251
  }
4237
4252
  googleDrive {
@@ -4261,6 +4276,8 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
4261
4276
  microsoft {
4262
4277
  type
4263
4278
  refreshToken
4279
+ clientId
4280
+ clientSecret
4264
4281
  }
4265
4282
  readLimit
4266
4283
  }
@@ -4328,6 +4345,15 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
4328
4345
  channel
4329
4346
  includeAttachments
4330
4347
  }
4348
+ microsoftTeams {
4349
+ readLimit
4350
+ type
4351
+ clientId
4352
+ clientSecret
4353
+ refreshToken
4354
+ teamId
4355
+ channelId
4356
+ }
4331
4357
  discord {
4332
4358
  readLimit
4333
4359
  type
@@ -6197,6 +6223,7 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
6197
6223
  type
6198
6224
  messageLimit
6199
6225
  embedCitations
6226
+ flattenCitations
6200
6227
  enableFacets
6201
6228
  messagesWeight
6202
6229
  contentsWeight
@@ -6500,6 +6527,7 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
6500
6527
  type
6501
6528
  messageLimit
6502
6529
  embedCitations
6530
+ flattenCitations
6503
6531
  enableFacets
6504
6532
  messagesWeight
6505
6533
  contentsWeight
@@ -1885,6 +1885,8 @@ export type ConversationStrategy = {
1885
1885
  embedCitations?: Maybe<Scalars['Boolean']['output']>;
1886
1886
  /** Provide content facets with completed conversation. */
1887
1887
  enableFacets?: Maybe<Scalars['Boolean']['output']>;
1888
+ /** Flatten content citations such that only one citation is embedded per content. */
1889
+ flattenCitations?: Maybe<Scalars['Boolean']['output']>;
1888
1890
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
1889
1891
  messageLimit?: Maybe<Scalars['Int']['output']>;
1890
1892
  /** The weight of conversation messages within prompt context, in range [0.0 - 1.0]. */
@@ -1900,6 +1902,8 @@ export type ConversationStrategyInput = {
1900
1902
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1901
1903
  /** Provide content facets with completed conversation. */
1902
1904
  enableFacets?: InputMaybe<Scalars['Boolean']['input']>;
1905
+ /** Flatten content citations such that only one citation is embedded per content. */
1906
+ flattenCitations?: InputMaybe<Scalars['Boolean']['input']>;
1903
1907
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
1904
1908
  messageLimit?: InputMaybe<Scalars['Int']['input']>;
1905
1909
  /** The weight of conversation messages within prompt context, in range [0.0 - 1.0]. */
@@ -1922,6 +1926,8 @@ export type ConversationStrategyUpdateInput = {
1922
1926
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1923
1927
  /** Provide content facets with completed conversation. */
1924
1928
  enableFacets?: InputMaybe<Scalars['Boolean']['input']>;
1929
+ /** Flatten content citations such that only one citation is embedded per content. */
1930
+ flattenCitations?: InputMaybe<Scalars['Boolean']['input']>;
1925
1931
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
1926
1932
  messageLimit?: InputMaybe<Scalars['Int']['input']>;
1927
1933
  /** The weight of conversation messages within prompt context, in range [0.0 - 1.0]. */
@@ -3542,11 +3548,11 @@ export type GoogleDriveFeedPropertiesUpdateInput = {
3542
3548
  /** Represents Google Email feed properties. */
3543
3549
  export type GoogleEmailFeedProperties = {
3544
3550
  __typename?: 'GoogleEmailFeedProperties';
3545
- /** Google client identifier. */
3551
+ /** Google Email client identifier. */
3546
3552
  clientId: Scalars['String']['output'];
3547
- /** Google client secret. */
3553
+ /** Google Email client secret. */
3548
3554
  clientSecret: Scalars['String']['output'];
3549
- /** Google refresh token. */
3555
+ /** Google Email refresh token. */
3550
3556
  refreshToken?: Maybe<Scalars['String']['output']>;
3551
3557
  /** Email listing type, i.e. past or new emails. */
3552
3558
  type?: Maybe<EmailListingTypes>;
@@ -6267,21 +6273,33 @@ export type MetadataUpdateInput = {
6267
6273
  /** Represents Microsoft Email feed properties. */
6268
6274
  export type MicrosoftEmailFeedProperties = {
6269
6275
  __typename?: 'MicrosoftEmailFeedProperties';
6270
- /** Microsoft refresh token. */
6276
+ /** Microsoft Email client identifier. */
6277
+ clientId: Scalars['String']['output'];
6278
+ /** Microsoft Email client secret. */
6279
+ clientSecret: Scalars['String']['output'];
6280
+ /** Microsoft Email refresh token. */
6271
6281
  refreshToken: Scalars['String']['output'];
6272
6282
  /** Email listing type, i.e. past or new emails. */
6273
6283
  type?: Maybe<EmailListingTypes>;
6274
6284
  };
6275
6285
  /** Represents Microsoft Email feed properties. */
6276
6286
  export type MicrosoftEmailFeedPropertiesInput = {
6277
- /** Microsoft refresh token. */
6287
+ /** Microsoft Email client identifier. */
6288
+ clientId: Scalars['String']['input'];
6289
+ /** Microsoft Email client secret. */
6290
+ clientSecret: Scalars['String']['input'];
6291
+ /** Microsoft Email refresh token. */
6278
6292
  refreshToken: Scalars['String']['input'];
6279
6293
  /** Email listing type, i.e. past or new emails. */
6280
6294
  type?: InputMaybe<EmailListingTypes>;
6281
6295
  };
6282
6296
  /** Represents Microsoft Email feed properties. */
6283
6297
  export type MicrosoftEmailFeedPropertiesUpdateInput = {
6284
- /** Microsoft refresh token. */
6298
+ /** Microsoft Email client identifier. */
6299
+ clientId?: InputMaybe<Scalars['String']['input']>;
6300
+ /** Microsoft Email client secret. */
6301
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
6302
+ /** Microsoft Email refresh token. */
6285
6303
  refreshToken?: InputMaybe<Scalars['String']['input']>;
6286
6304
  /** Email listing type, i.e. past or new emails. */
6287
6305
  type?: InputMaybe<EmailListingTypes>;
@@ -6302,45 +6320,57 @@ export type MicrosoftTeamsChannelResults = {
6302
6320
  };
6303
6321
  /** Represents Microsoft Teams team channels properties. */
6304
6322
  export type MicrosoftTeamsChannelsInput = {
6305
- /** The Microsoft Graph refresh token. */
6323
+ /** Microsoft Teams refresh token. */
6306
6324
  refreshToken: Scalars['String']['input'];
6307
6325
  };
6308
6326
  /** Represents Microsoft Teams feed properties. */
6309
6327
  export type MicrosoftTeamsFeedProperties = {
6310
6328
  __typename?: 'MicrosoftTeamsFeedProperties';
6311
- /** The Microsoft Teams channel identifier. */
6329
+ /** Microsoft Teams channel identifier. */
6312
6330
  channelId: Scalars['String']['output'];
6331
+ /** Microsoft Teams client identifier. */
6332
+ clientId: Scalars['String']['output'];
6333
+ /** Microsoft Teams client secret. */
6334
+ clientSecret: Scalars['String']['output'];
6313
6335
  /** The limit of items to be read from feed, defaults to 100. */
6314
6336
  readLimit?: Maybe<Scalars['Int']['output']>;
6315
- /** The Microsoft Graph refresh token. */
6337
+ /** Microsoft Teams refresh token. */
6316
6338
  refreshToken: Scalars['String']['output'];
6317
- /** The Microsoft Teams team identifier. */
6339
+ /** Microsoft Teams team identifier. */
6318
6340
  teamId: Scalars['String']['output'];
6319
6341
  /** Feed listing type, i.e. past or new messages. */
6320
6342
  type?: Maybe<FeedListingTypes>;
6321
6343
  };
6322
6344
  /** Represents Microsoft Teams feed properties. */
6323
6345
  export type MicrosoftTeamsFeedPropertiesInput = {
6324
- /** The Microsoft Teams channel identifier. */
6346
+ /** Microsoft Teams channel identifier. */
6325
6347
  channelId: Scalars['String']['input'];
6348
+ /** Microsoft Teams client identifier. */
6349
+ clientId: Scalars['String']['input'];
6350
+ /** Microsoft Teams client secret. */
6351
+ clientSecret: Scalars['String']['input'];
6326
6352
  /** The limit of items to be read from feed, defaults to 100. */
6327
6353
  readLimit?: InputMaybe<Scalars['Int']['input']>;
6328
- /** The Microsoft Graph refresh token. */
6354
+ /** Microsoft Teams refresh token. */
6329
6355
  refreshToken: Scalars['String']['input'];
6330
- /** The Microsoft Teams team identifier. */
6356
+ /** Microsoft Teams team identifier. */
6331
6357
  teamId: Scalars['String']['input'];
6332
6358
  /** Feed listing type, i.e. past or new messages. */
6333
6359
  type?: InputMaybe<FeedListingTypes>;
6334
6360
  };
6335
6361
  /** Represents Microsoft Teams feed properties. */
6336
6362
  export type MicrosoftTeamsFeedPropertiesUpdateInput = {
6337
- /** The Microsoft Teams channel identifier. */
6363
+ /** Microsoft Teams channel identifier. */
6338
6364
  channelId: Scalars['String']['input'];
6365
+ /** Microsoft Teams client identifier. */
6366
+ clientId?: InputMaybe<Scalars['String']['input']>;
6367
+ /** Microsoft Teams client secret. */
6368
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
6339
6369
  /** The limit of items to be read from feed, defaults to 100. */
6340
6370
  readLimit?: InputMaybe<Scalars['Int']['input']>;
6341
- /** The Microsoft Graph refresh token. */
6371
+ /** Microsoft Teams refresh token. */
6342
6372
  refreshToken?: InputMaybe<Scalars['String']['input']>;
6343
- /** The Microsoft Teams team identifier. */
6373
+ /** Microsoft Teams team identifier. */
6344
6374
  teamId: Scalars['String']['input'];
6345
6375
  /** Feed listing type, i.e. past or new messages. */
6346
6376
  type?: InputMaybe<FeedListingTypes>;
@@ -6361,7 +6391,7 @@ export type MicrosoftTeamsTeamResults = {
6361
6391
  };
6362
6392
  /** Represents Microsoft Teams teams properties. */
6363
6393
  export type MicrosoftTeamsTeamsInput = {
6364
- /** The Microsoft Graph refresh token. */
6394
+ /** Microsoft Teams refresh token. */
6365
6395
  refreshToken: Scalars['String']['input'];
6366
6396
  };
6367
6397
  /** Represents Mistral model properties. */
@@ -7862,6 +7892,10 @@ export declare enum OccurrenceTypes {
7862
7892
  /** Represents OneDrive properties. */
7863
7893
  export type OneDriveFeedProperties = {
7864
7894
  __typename?: 'OneDriveFeedProperties';
7895
+ /** OneDrive client identifier. */
7896
+ clientId: Scalars['String']['output'];
7897
+ /** OneDrive client secret. */
7898
+ clientSecret: Scalars['String']['output'];
7865
7899
  /** OneDrive folder identifier. */
7866
7900
  folderId?: Maybe<Scalars['ID']['output']>;
7867
7901
  /** OneDrive refresh token. */
@@ -7869,6 +7903,10 @@ export type OneDriveFeedProperties = {
7869
7903
  };
7870
7904
  /** Represents OneDrive properties. */
7871
7905
  export type OneDriveFeedPropertiesInput = {
7906
+ /** OneDrive client identifier. */
7907
+ clientId: Scalars['String']['input'];
7908
+ /** OneDrive client secret. */
7909
+ clientSecret: Scalars['String']['input'];
7872
7910
  /** OneDrive folder identifier. */
7873
7911
  folderId?: InputMaybe<Scalars['ID']['input']>;
7874
7912
  /** OneDrive refresh token. */
@@ -7876,6 +7914,10 @@ export type OneDriveFeedPropertiesInput = {
7876
7914
  };
7877
7915
  /** Represents OneDrive properties. */
7878
7916
  export type OneDriveFeedPropertiesUpdateInput = {
7917
+ /** OneDrive client identifier. */
7918
+ clientId?: InputMaybe<Scalars['String']['input']>;
7919
+ /** OneDrive client secret. */
7920
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
7879
7921
  /** OneDrive folder identifier. */
7880
7922
  folderId?: InputMaybe<Scalars['ID']['input']>;
7881
7923
  /** OneDrive refresh token. */
@@ -16441,6 +16483,8 @@ export type GetFeedQuery = {
16441
16483
  oneDrive?: {
16442
16484
  __typename?: 'OneDriveFeedProperties';
16443
16485
  folderId?: string | null;
16486
+ clientId: string;
16487
+ clientSecret: string;
16444
16488
  refreshToken: string;
16445
16489
  } | null;
16446
16490
  googleDrive?: {
@@ -16475,6 +16519,8 @@ export type GetFeedQuery = {
16475
16519
  __typename?: 'MicrosoftEmailFeedProperties';
16476
16520
  type?: EmailListingTypes | null;
16477
16521
  refreshToken: string;
16522
+ clientId: string;
16523
+ clientSecret: string;
16478
16524
  } | null;
16479
16525
  } | null;
16480
16526
  issue?: {
@@ -16552,6 +16598,16 @@ export type GetFeedQuery = {
16552
16598
  channel: string;
16553
16599
  includeAttachments?: boolean | null;
16554
16600
  } | null;
16601
+ microsoftTeams?: {
16602
+ __typename?: 'MicrosoftTeamsFeedProperties';
16603
+ readLimit?: number | null;
16604
+ type?: FeedListingTypes | null;
16605
+ clientId: string;
16606
+ clientSecret: string;
16607
+ refreshToken: string;
16608
+ teamId: string;
16609
+ channelId: string;
16610
+ } | null;
16555
16611
  discord?: {
16556
16612
  __typename?: 'DiscordFeedProperties';
16557
16613
  readLimit?: number | null;
@@ -16664,6 +16720,8 @@ export type QueryFeedsQuery = {
16664
16720
  oneDrive?: {
16665
16721
  __typename?: 'OneDriveFeedProperties';
16666
16722
  folderId?: string | null;
16723
+ clientId: string;
16724
+ clientSecret: string;
16667
16725
  refreshToken: string;
16668
16726
  } | null;
16669
16727
  googleDrive?: {
@@ -16698,6 +16756,8 @@ export type QueryFeedsQuery = {
16698
16756
  __typename?: 'MicrosoftEmailFeedProperties';
16699
16757
  type?: EmailListingTypes | null;
16700
16758
  refreshToken: string;
16759
+ clientId: string;
16760
+ clientSecret: string;
16701
16761
  } | null;
16702
16762
  } | null;
16703
16763
  issue?: {
@@ -16775,6 +16835,16 @@ export type QueryFeedsQuery = {
16775
16835
  channel: string;
16776
16836
  includeAttachments?: boolean | null;
16777
16837
  } | null;
16838
+ microsoftTeams?: {
16839
+ __typename?: 'MicrosoftTeamsFeedProperties';
16840
+ readLimit?: number | null;
16841
+ type?: FeedListingTypes | null;
16842
+ clientId: string;
16843
+ clientSecret: string;
16844
+ refreshToken: string;
16845
+ teamId: string;
16846
+ channelId: string;
16847
+ } | null;
16778
16848
  discord?: {
16779
16849
  __typename?: 'DiscordFeedProperties';
16780
16850
  readLimit?: number | null;
@@ -19161,6 +19231,7 @@ export type GetSpecificationQuery = {
19161
19231
  type?: ConversationStrategyTypes | null;
19162
19232
  messageLimit?: number | null;
19163
19233
  embedCitations?: boolean | null;
19234
+ flattenCitations?: boolean | null;
19164
19235
  enableFacets?: boolean | null;
19165
19236
  messagesWeight?: number | null;
19166
19237
  contentsWeight?: number | null;
@@ -19501,6 +19572,7 @@ export type QuerySpecificationsQuery = {
19501
19572
  type?: ConversationStrategyTypes | null;
19502
19573
  messageLimit?: number | null;
19503
19574
  embedCitations?: boolean | null;
19575
+ flattenCitations?: boolean | null;
19504
19576
  enableFacets?: boolean | null;
19505
19577
  messagesWeight?: number | null;
19506
19578
  contentsWeight?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241203001",
3
+ "version": "1.0.20241205001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",