graphlit-client 1.0.20250407001 → 1.0.20250410001

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.
@@ -5281,11 +5281,13 @@ exports.GetFeed = (0, graphql_tag_1.default) `
5281
5281
  refreshToken
5282
5282
  }
5283
5283
  googleDrive {
5284
+ authenticationType
5284
5285
  folderId
5285
5286
  files
5286
5287
  refreshToken
5287
5288
  clientId
5288
5289
  clientSecret
5290
+ serviceAccountJson
5289
5291
  }
5290
5292
  dropbox {
5291
5293
  path
@@ -5534,11 +5536,13 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
5534
5536
  refreshToken
5535
5537
  }
5536
5538
  googleDrive {
5539
+ authenticationType
5537
5540
  folderId
5538
5541
  files
5539
5542
  refreshToken
5540
5543
  clientId
5541
5544
  clientSecret
5545
+ serviceAccountJson
5542
5546
  }
5543
5547
  dropbox {
5544
5548
  path
@@ -1859,7 +1859,7 @@ export type ContentFilter = {
1859
1859
  states?: InputMaybe<Array<EntityState>>;
1860
1860
  /** Filter by content types. */
1861
1861
  types?: InputMaybe<Array<ContentTypes>>;
1862
- /** The content URI. */
1862
+ /** Filter by content URI. */
1863
1863
  uri?: InputMaybe<Scalars['URL']['input']>;
1864
1864
  /** Filter by users. Only applies to project scope. */
1865
1865
  users?: InputMaybe<Array<EntityReferenceFilter>>;
@@ -4113,32 +4113,44 @@ export type GoogleAuthenticationPropertiesInput = {
4113
4113
  /** Google client secret. */
4114
4114
  clientSecret: Scalars['String']['input'];
4115
4115
  };
4116
+ export declare enum GoogleDriveAuthenticationTypes {
4117
+ ServiceAccount = "SERVICE_ACCOUNT",
4118
+ User = "USER"
4119
+ }
4116
4120
  /** Represents Google Drive properties. */
4117
4121
  export type GoogleDriveFeedProperties = {
4118
4122
  __typename?: 'GoogleDriveFeedProperties';
4119
- /** Google client identifier. */
4120
- clientId: Scalars['String']['output'];
4121
- /** Google client secret. */
4122
- clientSecret: Scalars['String']['output'];
4123
+ /** Google Drive authentication type, defaults to User. */
4124
+ authenticationType?: Maybe<GoogleDriveAuthenticationTypes>;
4125
+ /** Google client identifier, when using User authentication type. */
4126
+ clientId?: Maybe<Scalars['String']['output']>;
4127
+ /** Google client secret, when using User authentication type. */
4128
+ clientSecret?: Maybe<Scalars['String']['output']>;
4123
4129
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
4124
4130
  files?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
4125
4131
  /** Google Drive folder identifier. */
4126
4132
  folderId?: Maybe<Scalars['String']['output']>;
4127
- /** Google refresh token. */
4128
- refreshToken: Scalars['String']['output'];
4133
+ /** Google refresh token, when using User authentication type. */
4134
+ refreshToken?: Maybe<Scalars['String']['output']>;
4135
+ /** Google service account JSON, when using ServiceAccount authentication type. */
4136
+ serviceAccountJson?: Maybe<Scalars['String']['output']>;
4129
4137
  };
4130
4138
  /** Represents Google Drive properties. */
4131
4139
  export type GoogleDriveFeedPropertiesInput = {
4132
- /** Google client identifier. */
4133
- clientId: Scalars['String']['input'];
4134
- /** Google client secret. */
4135
- clientSecret: Scalars['String']['input'];
4140
+ /** Google Drive authentication type, defaults to User. */
4141
+ authenticationType?: InputMaybe<GoogleDriveAuthenticationTypes>;
4142
+ /** Google client identifier, when using User authentication type. */
4143
+ clientId?: InputMaybe<Scalars['String']['input']>;
4144
+ /** Google client secret, when using User authentication type. */
4145
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
4136
4146
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
4137
4147
  files?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4138
4148
  /** Google Drive folder identifier. */
4139
4149
  folderId?: InputMaybe<Scalars['String']['input']>;
4140
- /** Google refresh token. */
4141
- refreshToken: Scalars['String']['input'];
4150
+ /** Google refresh token, when using User authentication type. */
4151
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
4152
+ /** Google service account JSON, when using ServiceAccount authentication type. */
4153
+ serviceAccountJson?: InputMaybe<Scalars['String']['input']>;
4142
4154
  };
4143
4155
  /** Represents Google Drive properties. */
4144
4156
  export type GoogleDriveFeedPropertiesUpdateInput = {
@@ -4333,7 +4345,9 @@ export declare enum GoogleModels {
4333
4345
  */
4334
4346
  Gemini_2_0ProExperimental = "GEMINI_2_0_PRO_EXPERIMENTAL",
4335
4347
  /** Gemini 2.5 Pro (Experimental) */
4336
- Gemini_2_5ProExperimental = "GEMINI_2_5_PRO_EXPERIMENTAL"
4348
+ Gemini_2_5ProExperimental = "GEMINI_2_5_PRO_EXPERIMENTAL",
4349
+ /** Gemini 2.5 Pro (Preview) */
4350
+ Gemini_2_5ProPreview = "GEMINI_2_5_PRO_PREVIEW"
4337
4351
  }
4338
4352
  /** Represents a knowledge graph. */
4339
4353
  export type Graph = {
@@ -4468,13 +4482,25 @@ export declare enum GroqModels {
4468
4482
  DeepseekR1Llama_70BPreview = "DEEPSEEK_R1_LLAMA_70B_PREVIEW",
4469
4483
  /** LLaMA 3.1 8b */
4470
4484
  Llama_3_1_8B = "LLAMA_3_1_8B",
4471
- /** LLaMA 3.2 1b Preview */
4485
+ /**
4486
+ * LLaMA 3.2 1b Preview
4487
+ * @deprecated Use LLaMa 3.3 or newer model
4488
+ */
4472
4489
  Llama_3_2_1BPreview = "LLAMA_3_2_1B_PREVIEW",
4473
- /** LLaMA 3.2 3b Preview */
4490
+ /**
4491
+ * LLaMA 3.2 3b Preview
4492
+ * @deprecated Use LLaMa 3.3 or newer model
4493
+ */
4474
4494
  Llama_3_2_3BPreview = "LLAMA_3_2_3B_PREVIEW",
4475
- /** LLaMA 3.2 11b Vision Preview */
4495
+ /**
4496
+ * LLaMA 3.2 11b Vision Preview
4497
+ * @deprecated Use LLaMa 3.3 or newer model
4498
+ */
4476
4499
  Llama_3_2_11BVisionPreview = "LLAMA_3_2_11B_VISION_PREVIEW",
4477
- /** LLaMA 3.2 90b Vision Preview */
4500
+ /**
4501
+ * LLaMA 3.2 90b Vision Preview
4502
+ * @deprecated Use LLaMa 3.3 or newer model
4503
+ */
4478
4504
  Llama_3_2_90BVisionPreview = "LLAMA_3_2_90B_VISION_PREVIEW",
4479
4505
  /** LLaMA 3.3 70b */
4480
4506
  Llama_3_3_70B = "LLAMA_3_3_70B",
@@ -19496,11 +19522,13 @@ export type GetFeedQuery = {
19496
19522
  } | null;
19497
19523
  googleDrive?: {
19498
19524
  __typename?: 'GoogleDriveFeedProperties';
19525
+ authenticationType?: GoogleDriveAuthenticationTypes | null;
19499
19526
  folderId?: string | null;
19500
19527
  files?: Array<string | null> | null;
19501
- refreshToken: string;
19502
- clientId: string;
19503
- clientSecret: string;
19528
+ refreshToken?: string | null;
19529
+ clientId?: string | null;
19530
+ clientSecret?: string | null;
19531
+ serviceAccountJson?: string | null;
19504
19532
  } | null;
19505
19533
  dropbox?: {
19506
19534
  __typename?: 'DropboxFeedProperties';
@@ -19796,11 +19824,13 @@ export type QueryFeedsQuery = {
19796
19824
  } | null;
19797
19825
  googleDrive?: {
19798
19826
  __typename?: 'GoogleDriveFeedProperties';
19827
+ authenticationType?: GoogleDriveAuthenticationTypes | null;
19799
19828
  folderId?: string | null;
19800
19829
  files?: Array<string | null> | null;
19801
- refreshToken: string;
19802
- clientId: string;
19803
- clientSecret: string;
19830
+ refreshToken?: string | null;
19831
+ clientId?: string | null;
19832
+ clientSecret?: string | null;
19833
+ serviceAccountJson?: string | null;
19804
19834
  } | null;
19805
19835
  dropbox?: {
19806
19836
  __typename?: 'DropboxFeedProperties';
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JinaModels = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentSourceTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.ContentClassificationServiceTypes = exports.ConnectorTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = exports.AzureDocumentIntelligenceModels = exports.AuthenticationServiceTypes = exports.AssemblyAiModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
4
- exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchServiceTypes = exports.SearchQueryTypes = exports.SdkTypes = exports.RevisionStrategyTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.RegexSourceTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiReasoningEffortLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = void 0;
5
- exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TwitterListingTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.StoragePolicyTypes = exports.SpecificationTypes = exports.SoftwareFacetTypes = void 0;
3
+ exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = exports.GoogleDriveAuthenticationTypes = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentSourceTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.ContentClassificationServiceTypes = exports.ConnectorTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = exports.AzureDocumentIntelligenceModels = exports.AuthenticationServiceTypes = exports.AssemblyAiModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
4
+ exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchServiceTypes = exports.SearchQueryTypes = exports.SdkTypes = exports.RevisionStrategyTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.RegexSourceTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiReasoningEffortLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = exports.JinaModels = void 0;
5
+ exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TwitterListingTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.StoragePolicyTypes = exports.SpecificationTypes = exports.SoftwareFacetTypes = exports.SiteTypes = void 0;
6
6
  /** Alert type */
7
7
  var AlertTypes;
8
8
  (function (AlertTypes) {
@@ -838,6 +838,11 @@ var FileTypes;
838
838
  /** Video file */
839
839
  FileTypes["Video"] = "VIDEO";
840
840
  })(FileTypes || (exports.FileTypes = FileTypes = {}));
841
+ var GoogleDriveAuthenticationTypes;
842
+ (function (GoogleDriveAuthenticationTypes) {
843
+ GoogleDriveAuthenticationTypes["ServiceAccount"] = "SERVICE_ACCOUNT";
844
+ GoogleDriveAuthenticationTypes["User"] = "USER";
845
+ })(GoogleDriveAuthenticationTypes || (exports.GoogleDriveAuthenticationTypes = GoogleDriveAuthenticationTypes = {}));
841
846
  /** Google model type */
842
847
  var GoogleModels;
843
848
  (function (GoogleModels) {
@@ -876,6 +881,8 @@ var GoogleModels;
876
881
  GoogleModels["Gemini_2_0ProExperimental"] = "GEMINI_2_0_PRO_EXPERIMENTAL";
877
882
  /** Gemini 2.5 Pro (Experimental) */
878
883
  GoogleModels["Gemini_2_5ProExperimental"] = "GEMINI_2_5_PRO_EXPERIMENTAL";
884
+ /** Gemini 2.5 Pro (Preview) */
885
+ GoogleModels["Gemini_2_5ProPreview"] = "GEMINI_2_5_PRO_PREVIEW";
879
886
  })(GoogleModels || (exports.GoogleModels = GoogleModels = {}));
880
887
  /** GraphRAG strategies */
881
888
  var GraphStrategyTypes;
@@ -896,13 +903,25 @@ var GroqModels;
896
903
  GroqModels["DeepseekR1Llama_70BPreview"] = "DEEPSEEK_R1_LLAMA_70B_PREVIEW";
897
904
  /** LLaMA 3.1 8b */
898
905
  GroqModels["Llama_3_1_8B"] = "LLAMA_3_1_8B";
899
- /** LLaMA 3.2 1b Preview */
906
+ /**
907
+ * LLaMA 3.2 1b Preview
908
+ * @deprecated Use LLaMa 3.3 or newer model
909
+ */
900
910
  GroqModels["Llama_3_2_1BPreview"] = "LLAMA_3_2_1B_PREVIEW";
901
- /** LLaMA 3.2 3b Preview */
911
+ /**
912
+ * LLaMA 3.2 3b Preview
913
+ * @deprecated Use LLaMa 3.3 or newer model
914
+ */
902
915
  GroqModels["Llama_3_2_3BPreview"] = "LLAMA_3_2_3B_PREVIEW";
903
- /** LLaMA 3.2 11b Vision Preview */
916
+ /**
917
+ * LLaMA 3.2 11b Vision Preview
918
+ * @deprecated Use LLaMa 3.3 or newer model
919
+ */
904
920
  GroqModels["Llama_3_2_11BVisionPreview"] = "LLAMA_3_2_11B_VISION_PREVIEW";
905
- /** LLaMA 3.2 90b Vision Preview */
921
+ /**
922
+ * LLaMA 3.2 90b Vision Preview
923
+ * @deprecated Use LLaMa 3.3 or newer model
924
+ */
906
925
  GroqModels["Llama_3_2_90BVisionPreview"] = "LLAMA_3_2_90B_VISION_PREVIEW";
907
926
  /** LLaMA 3.3 70b */
908
927
  GroqModels["Llama_3_3_70B"] = "LLAMA_3_3_70B";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250407001",
3
+ "version": "1.0.20250410001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",