graphlit-client 1.0.20250722001 → 1.0.20250731001

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.
@@ -1094,17 +1094,17 @@ export type BoxFeedProperties = {
1094
1094
  /** Box authentication type. */
1095
1095
  authenticationType?: Maybe<BoxAuthenticationTypes>;
1096
1096
  /** Box client identifier. */
1097
- clientId: Scalars['String']['output'];
1097
+ clientId?: Maybe<Scalars['String']['output']>;
1098
1098
  /** Box client secret. */
1099
- clientSecret: Scalars['String']['output'];
1099
+ clientSecret?: Maybe<Scalars['String']['output']>;
1100
1100
  /** The OAuth authentication connector identifier, if using connector authentication. */
1101
1101
  connectorId?: Maybe<Scalars['ID']['output']>;
1102
1102
  /** Box folder identifier. */
1103
1103
  folderId?: Maybe<Scalars['ID']['output']>;
1104
1104
  /** Box redirect URI. */
1105
- redirectUri: Scalars['String']['output'];
1105
+ redirectUri?: Maybe<Scalars['String']['output']>;
1106
1106
  /** Box refresh token. */
1107
- refreshToken: Scalars['String']['output'];
1107
+ refreshToken?: Maybe<Scalars['String']['output']>;
1108
1108
  };
1109
1109
  /** Represents Box properties. */
1110
1110
  export type BoxFeedPropertiesInput = {
@@ -1777,7 +1777,9 @@ export declare enum ConnectorTypes {
1777
1777
  /** Authentication connector */
1778
1778
  Authentication = "AUTHENTICATION",
1779
1779
  /** Integration connector */
1780
- Integration = "INTEGRATION"
1780
+ Integration = "INTEGRATION",
1781
+ /** Site connector */
1782
+ Site = "SITE"
1781
1783
  }
1782
1784
  /** Represents a connector. */
1783
1785
  export type ConnectorUpdateInput = {
@@ -3284,9 +3286,9 @@ export declare enum DropboxAuthenticationTypes {
3284
3286
  export type DropboxFeedProperties = {
3285
3287
  __typename?: 'DropboxFeedProperties';
3286
3288
  /** Dropbox app key. */
3287
- appKey: Scalars['String']['output'];
3289
+ appKey?: Maybe<Scalars['String']['output']>;
3288
3290
  /** Dropbox app secret. */
3289
- appSecret: Scalars['String']['output'];
3291
+ appSecret?: Maybe<Scalars['String']['output']>;
3290
3292
  /** Dropbox authentication type. */
3291
3293
  authenticationType?: Maybe<DropboxAuthenticationTypes>;
3292
3294
  /** The OAuth authentication connector identifier, if using connector authentication. */
@@ -3294,9 +3296,9 @@ export type DropboxFeedProperties = {
3294
3296
  /** Dropbox folder path. */
3295
3297
  path?: Maybe<Scalars['ID']['output']>;
3296
3298
  /** Dropbox redirect URI. */
3297
- redirectUri: Scalars['String']['output'];
3299
+ redirectUri?: Maybe<Scalars['String']['output']>;
3298
3300
  /** Dropbox refresh token. */
3299
- refreshToken: Scalars['String']['output'];
3301
+ refreshToken?: Maybe<Scalars['String']['output']>;
3300
3302
  };
3301
3303
  /** Represents Dropbox properties. */
3302
3304
  export type DropboxFeedPropertiesInput = {
@@ -4662,7 +4664,7 @@ export declare enum GitHubAuthenticationTypes {
4662
4664
  export type GitHubFeedProperties = {
4663
4665
  __typename?: 'GitHubFeedProperties';
4664
4666
  /** OneDrive authentication type, defaults to User. */
4665
- authenticationType?: Maybe<OneDriveAuthenticationTypes>;
4667
+ authenticationType?: Maybe<GitHubAuthenticationTypes>;
4666
4668
  /** Connector identifier. */
4667
4669
  connectorId?: Maybe<Scalars['String']['output']>;
4668
4670
  /** GitHub personal access token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
@@ -4790,13 +4792,13 @@ export type GoogleCalendarFeedProperties = {
4790
4792
  /** Google Email calendar identifier, optional. */
4791
4793
  calendarId?: Maybe<Scalars['String']['output']>;
4792
4794
  /** Google OAuth2 client identifier. */
4793
- clientId: Scalars['String']['output'];
4795
+ clientId?: Maybe<Scalars['String']['output']>;
4794
4796
  /** Google OAuth2 client secret. */
4795
- clientSecret: Scalars['String']['output'];
4797
+ clientSecret?: Maybe<Scalars['String']['output']>;
4796
4798
  /** Connector identifier. */
4797
4799
  connectorId?: Maybe<Scalars['String']['output']>;
4798
4800
  /** Google OAuth2 refresh token. */
4799
- refreshToken: Scalars['String']['output'];
4801
+ refreshToken?: Maybe<Scalars['String']['output']>;
4800
4802
  };
4801
4803
  /** Represents Google Calendar properties. */
4802
4804
  export type GoogleCalendarFeedPropertiesInput = {
@@ -4943,9 +4945,9 @@ export type GoogleEmailFeedProperties = {
4943
4945
  /** Google Email authentication type. */
4944
4946
  authenticationType?: Maybe<GoogleEmailAuthenticationTypes>;
4945
4947
  /** Google Email client identifier. */
4946
- clientId: Scalars['String']['output'];
4948
+ clientId?: Maybe<Scalars['String']['output']>;
4947
4949
  /** Google Email client secret. */
4948
- clientSecret: Scalars['String']['output'];
4950
+ clientSecret?: Maybe<Scalars['String']['output']>;
4949
4951
  /** Connector identifier. */
4950
4952
  connectorId?: Maybe<Scalars['String']['output']>;
4951
4953
  /** Whether to exclude Sent messages in email listing. Default is False. */
@@ -7985,13 +7987,13 @@ export type MicrosoftCalendarFeedProperties = {
7985
7987
  /** Microsoft Email calendar identifier, optional. */
7986
7988
  calendarId?: Maybe<Scalars['String']['output']>;
7987
7989
  /** Microsoft Entra ID client identifier. */
7988
- clientId: Scalars['String']['output'];
7990
+ clientId?: Maybe<Scalars['String']['output']>;
7989
7991
  /** Microsoft Entra ID client secret. */
7990
- clientSecret: Scalars['String']['output'];
7992
+ clientSecret?: Maybe<Scalars['String']['output']>;
7991
7993
  /** Connector identifier. */
7992
7994
  connectorId?: Maybe<Scalars['String']['output']>;
7993
7995
  /** Microsoft Entra ID refresh token. */
7994
- refreshToken: Scalars['String']['output'];
7996
+ refreshToken?: Maybe<Scalars['String']['output']>;
7995
7997
  };
7996
7998
  /** Represents Microsoft Calendar properties. */
7997
7999
  export type MicrosoftCalendarFeedPropertiesInput = {
@@ -8048,9 +8050,9 @@ export type MicrosoftEmailFeedProperties = {
8048
8050
  /** Microsoft Email authentication type. */
8049
8051
  authenticationType?: Maybe<MicrosoftEmailAuthenticationTypes>;
8050
8052
  /** Microsoft Email client identifier. */
8051
- clientId: Scalars['String']['output'];
8053
+ clientId?: Maybe<Scalars['String']['output']>;
8052
8054
  /** Microsoft Email client secret. */
8053
- clientSecret: Scalars['String']['output'];
8055
+ clientSecret?: Maybe<Scalars['String']['output']>;
8054
8056
  /** Connector identifier. */
8055
8057
  connectorId?: Maybe<Scalars['String']['output']>;
8056
8058
  /** Whether to exclude Sent messages in email listing. Default is False. */
@@ -8062,7 +8064,7 @@ export type MicrosoftEmailFeedProperties = {
8062
8064
  /** Whether to include Spam messages in email listing. Default is False. */
8063
8065
  includeSpam?: Maybe<Scalars['Boolean']['output']>;
8064
8066
  /** Microsoft Email refresh token. */
8065
- refreshToken: Scalars['String']['output'];
8067
+ refreshToken?: Maybe<Scalars['String']['output']>;
8066
8068
  /** Email listing type, i.e. past or new emails. */
8067
8069
  type?: Maybe<EmailListingTypes>;
8068
8070
  };
@@ -10152,9 +10154,9 @@ export type OneDriveFeedProperties = {
10152
10154
  /** OneDrive authentication type, defaults to User. */
10153
10155
  authenticationType?: Maybe<OneDriveAuthenticationTypes>;
10154
10156
  /** OneDrive client identifier. */
10155
- clientId: Scalars['String']['output'];
10157
+ clientId?: Maybe<Scalars['String']['output']>;
10156
10158
  /** OneDrive client secret. */
10157
- clientSecret: Scalars['String']['output'];
10159
+ clientSecret?: Maybe<Scalars['String']['output']>;
10158
10160
  /** Connector identifier. */
10159
10161
  connectorId?: Maybe<Scalars['String']['output']>;
10160
10162
  /** OneDrive file identifiers. Takes precedence over folder identifier. */
@@ -10162,7 +10164,7 @@ export type OneDriveFeedProperties = {
10162
10164
  /** OneDrive folder identifier. */
10163
10165
  folderId?: Maybe<Scalars['ID']['output']>;
10164
10166
  /** OneDrive refresh token. */
10165
- refreshToken: Scalars['String']['output'];
10167
+ refreshToken?: Maybe<Scalars['String']['output']>;
10166
10168
  };
10167
10169
  /** Represents OneDrive properties. */
10168
10170
  export type OneDriveFeedPropertiesInput = {
@@ -10455,9 +10457,15 @@ export declare enum OpenAiModels {
10455
10457
  O1_200K = "O1_200K",
10456
10458
  /** o1 200k (2024-12-17 version) */
10457
10459
  O1_200K_20241217 = "O1_200K_20241217",
10458
- /** o1 Mini 128k (Latest) */
10460
+ /**
10461
+ * o1 Mini 128k (Latest)
10462
+ * @deprecated OpenAI has deprecated this model. Use the o4 Mini model instead.
10463
+ */
10459
10464
  O1Mini_128K = "O1_MINI_128K",
10460
- /** o1 Mini 128k (2024-09-12 version) */
10465
+ /**
10466
+ * o1 Mini 128k (2024-09-12 version)
10467
+ * @deprecated OpenAI has deprecated this model. Use the o4 Mini model instead.
10468
+ */
10461
10469
  O1Mini_128K_20240912 = "O1_MINI_128K_20240912",
10462
10470
  /** o1 Preview 128k (Latest) */
10463
10471
  O1Preview_128K = "O1_PREVIEW_128K",
@@ -22516,9 +22524,9 @@ export type GetFeedQuery = {
22516
22524
  authenticationType?: OneDriveAuthenticationTypes | null;
22517
22525
  folderId?: string | null;
22518
22526
  files?: Array<string | null> | null;
22519
- clientId: string;
22520
- clientSecret: string;
22521
- refreshToken: string;
22527
+ clientId?: string | null;
22528
+ clientSecret?: string | null;
22529
+ refreshToken?: string | null;
22522
22530
  connectorId?: string | null;
22523
22531
  } | null;
22524
22532
  googleDrive?: {
@@ -22537,24 +22545,24 @@ export type GetFeedQuery = {
22537
22545
  authenticationType?: DropboxAuthenticationTypes | null;
22538
22546
  path?: string | null;
22539
22547
  connectorId?: string | null;
22540
- appKey: string;
22541
- appSecret: string;
22542
- refreshToken: string;
22543
- redirectUri: string;
22548
+ appKey?: string | null;
22549
+ appSecret?: string | null;
22550
+ refreshToken?: string | null;
22551
+ redirectUri?: string | null;
22544
22552
  } | null;
22545
22553
  box?: {
22546
22554
  __typename?: 'BoxFeedProperties';
22547
22555
  authenticationType?: BoxAuthenticationTypes | null;
22548
22556
  folderId?: string | null;
22549
22557
  connectorId?: string | null;
22550
- clientId: string;
22551
- clientSecret: string;
22552
- refreshToken: string;
22553
- redirectUri: string;
22558
+ clientId?: string | null;
22559
+ clientSecret?: string | null;
22560
+ refreshToken?: string | null;
22561
+ redirectUri?: string | null;
22554
22562
  } | null;
22555
22563
  github?: {
22556
22564
  __typename?: 'GitHubFeedProperties';
22557
- authenticationType?: OneDriveAuthenticationTypes | null;
22565
+ authenticationType?: GitHubAuthenticationTypes | null;
22558
22566
  uri?: any | null;
22559
22567
  repositoryOwner: string;
22560
22568
  repositoryName: string;
@@ -22577,8 +22585,8 @@ export type GetFeedQuery = {
22577
22585
  inboxOnly?: boolean | null;
22578
22586
  authenticationType?: GoogleEmailAuthenticationTypes | null;
22579
22587
  refreshToken?: string | null;
22580
- clientId: string;
22581
- clientSecret: string;
22588
+ clientId?: string | null;
22589
+ clientSecret?: string | null;
22582
22590
  connectorId?: string | null;
22583
22591
  } | null;
22584
22592
  microsoft?: {
@@ -22589,9 +22597,9 @@ export type GetFeedQuery = {
22589
22597
  includeDeletedItems?: boolean | null;
22590
22598
  inboxOnly?: boolean | null;
22591
22599
  authenticationType?: MicrosoftEmailAuthenticationTypes | null;
22592
- refreshToken: string;
22593
- clientId: string;
22594
- clientSecret: string;
22600
+ refreshToken?: string | null;
22601
+ clientId?: string | null;
22602
+ clientSecret?: string | null;
22595
22603
  connectorId?: string | null;
22596
22604
  } | null;
22597
22605
  } | null;
@@ -22649,9 +22657,9 @@ export type GetFeedQuery = {
22649
22657
  beforeDate?: any | null;
22650
22658
  afterDate?: any | null;
22651
22659
  authenticationType?: GoogleCalendarAuthenticationTypes | null;
22652
- refreshToken: string;
22653
- clientId: string;
22654
- clientSecret: string;
22660
+ refreshToken?: string | null;
22661
+ clientId?: string | null;
22662
+ clientSecret?: string | null;
22655
22663
  connectorId?: string | null;
22656
22664
  } | null;
22657
22665
  microsoft?: {
@@ -22660,9 +22668,9 @@ export type GetFeedQuery = {
22660
22668
  beforeDate?: any | null;
22661
22669
  afterDate?: any | null;
22662
22670
  authenticationType?: MicrosoftCalendarAuthenticationTypes | null;
22663
- refreshToken: string;
22664
- clientId: string;
22665
- clientSecret: string;
22671
+ refreshToken?: string | null;
22672
+ clientId?: string | null;
22673
+ clientSecret?: string | null;
22666
22674
  connectorId?: string | null;
22667
22675
  } | null;
22668
22676
  } | null;
@@ -22920,9 +22928,9 @@ export type QueryFeedsQuery = {
22920
22928
  authenticationType?: OneDriveAuthenticationTypes | null;
22921
22929
  folderId?: string | null;
22922
22930
  files?: Array<string | null> | null;
22923
- clientId: string;
22924
- clientSecret: string;
22925
- refreshToken: string;
22931
+ clientId?: string | null;
22932
+ clientSecret?: string | null;
22933
+ refreshToken?: string | null;
22926
22934
  connectorId?: string | null;
22927
22935
  } | null;
22928
22936
  googleDrive?: {
@@ -22941,24 +22949,24 @@ export type QueryFeedsQuery = {
22941
22949
  authenticationType?: DropboxAuthenticationTypes | null;
22942
22950
  path?: string | null;
22943
22951
  connectorId?: string | null;
22944
- appKey: string;
22945
- appSecret: string;
22946
- refreshToken: string;
22947
- redirectUri: string;
22952
+ appKey?: string | null;
22953
+ appSecret?: string | null;
22954
+ refreshToken?: string | null;
22955
+ redirectUri?: string | null;
22948
22956
  } | null;
22949
22957
  box?: {
22950
22958
  __typename?: 'BoxFeedProperties';
22951
22959
  authenticationType?: BoxAuthenticationTypes | null;
22952
22960
  folderId?: string | null;
22953
22961
  connectorId?: string | null;
22954
- clientId: string;
22955
- clientSecret: string;
22956
- refreshToken: string;
22957
- redirectUri: string;
22962
+ clientId?: string | null;
22963
+ clientSecret?: string | null;
22964
+ refreshToken?: string | null;
22965
+ redirectUri?: string | null;
22958
22966
  } | null;
22959
22967
  github?: {
22960
22968
  __typename?: 'GitHubFeedProperties';
22961
- authenticationType?: OneDriveAuthenticationTypes | null;
22969
+ authenticationType?: GitHubAuthenticationTypes | null;
22962
22970
  uri?: any | null;
22963
22971
  repositoryOwner: string;
22964
22972
  repositoryName: string;
@@ -22981,8 +22989,8 @@ export type QueryFeedsQuery = {
22981
22989
  inboxOnly?: boolean | null;
22982
22990
  authenticationType?: GoogleEmailAuthenticationTypes | null;
22983
22991
  refreshToken?: string | null;
22984
- clientId: string;
22985
- clientSecret: string;
22992
+ clientId?: string | null;
22993
+ clientSecret?: string | null;
22986
22994
  connectorId?: string | null;
22987
22995
  } | null;
22988
22996
  microsoft?: {
@@ -22993,9 +23001,9 @@ export type QueryFeedsQuery = {
22993
23001
  includeDeletedItems?: boolean | null;
22994
23002
  inboxOnly?: boolean | null;
22995
23003
  authenticationType?: MicrosoftEmailAuthenticationTypes | null;
22996
- refreshToken: string;
22997
- clientId: string;
22998
- clientSecret: string;
23004
+ refreshToken?: string | null;
23005
+ clientId?: string | null;
23006
+ clientSecret?: string | null;
22999
23007
  connectorId?: string | null;
23000
23008
  } | null;
23001
23009
  } | null;
@@ -23053,9 +23061,9 @@ export type QueryFeedsQuery = {
23053
23061
  beforeDate?: any | null;
23054
23062
  afterDate?: any | null;
23055
23063
  authenticationType?: GoogleCalendarAuthenticationTypes | null;
23056
- refreshToken: string;
23057
- clientId: string;
23058
- clientSecret: string;
23064
+ refreshToken?: string | null;
23065
+ clientId?: string | null;
23066
+ clientSecret?: string | null;
23059
23067
  connectorId?: string | null;
23060
23068
  } | null;
23061
23069
  microsoft?: {
@@ -23064,9 +23072,9 @@ export type QueryFeedsQuery = {
23064
23072
  beforeDate?: any | null;
23065
23073
  afterDate?: any | null;
23066
23074
  authenticationType?: MicrosoftCalendarAuthenticationTypes | null;
23067
- refreshToken: string;
23068
- clientId: string;
23069
- clientSecret: string;
23075
+ refreshToken?: string | null;
23076
+ clientId?: string | null;
23077
+ clientSecret?: string | null;
23070
23078
  connectorId?: string | null;
23071
23079
  } | null;
23072
23080
  } | null;
@@ -329,6 +329,8 @@ export var ConnectorTypes;
329
329
  ConnectorTypes["Authentication"] = "AUTHENTICATION";
330
330
  /** Integration connector */
331
331
  ConnectorTypes["Integration"] = "INTEGRATION";
332
+ /** Site connector */
333
+ ConnectorTypes["Site"] = "SITE";
332
334
  })(ConnectorTypes || (ConnectorTypes = {}));
333
335
  /** Content classification service type */
334
336
  export var ContentClassificationServiceTypes;
@@ -1690,9 +1692,15 @@ export var OpenAiModels;
1690
1692
  OpenAiModels["O1_200K"] = "O1_200K";
1691
1693
  /** o1 200k (2024-12-17 version) */
1692
1694
  OpenAiModels["O1_200K_20241217"] = "O1_200K_20241217";
1693
- /** o1 Mini 128k (Latest) */
1695
+ /**
1696
+ * o1 Mini 128k (Latest)
1697
+ * @deprecated OpenAI has deprecated this model. Use the o4 Mini model instead.
1698
+ */
1694
1699
  OpenAiModels["O1Mini_128K"] = "O1_MINI_128K";
1695
- /** o1 Mini 128k (2024-09-12 version) */
1700
+ /**
1701
+ * o1 Mini 128k (2024-09-12 version)
1702
+ * @deprecated OpenAI has deprecated this model. Use the o4 Mini model instead.
1703
+ */
1696
1704
  OpenAiModels["O1Mini_128K_20240912"] = "O1_MINI_128K_20240912";
1697
1705
  /** o1 Preview 128k (Latest) */
1698
1706
  OpenAiModels["O1Preview_128K"] = "O1_PREVIEW_128K";
@@ -80,6 +80,7 @@ const GOOGLE_MODEL_MAP = {
80
80
  // Gemini 2.5 models
81
81
  [Types.GoogleModels.Gemini_2_5FlashPreview]: "gemini-2.5-flash-preview-05-20",
82
82
  [Types.GoogleModels.Gemini_2_5ProPreview]: "gemini-2.5-pro-preview-06-05",
83
+ [Types.GoogleModels.Gemini_2_5FlashLite]: "gemini-2.5-flash-lite",
83
84
  [Types.GoogleModels.Gemini_2_5Flash]: "gemini-2.5-flash",
84
85
  [Types.GoogleModels.Gemini_2_5Pro]: "gemini-2.5-pro",
85
86
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250722001",
3
+ "version": "1.0.20250731001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",