graphlit-client 1.0.20250407002 → 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 = {
@@ -19510,11 +19522,13 @@ export type GetFeedQuery = {
19510
19522
  } | null;
19511
19523
  googleDrive?: {
19512
19524
  __typename?: 'GoogleDriveFeedProperties';
19525
+ authenticationType?: GoogleDriveAuthenticationTypes | null;
19513
19526
  folderId?: string | null;
19514
19527
  files?: Array<string | null> | null;
19515
- refreshToken: string;
19516
- clientId: string;
19517
- clientSecret: string;
19528
+ refreshToken?: string | null;
19529
+ clientId?: string | null;
19530
+ clientSecret?: string | null;
19531
+ serviceAccountJson?: string | null;
19518
19532
  } | null;
19519
19533
  dropbox?: {
19520
19534
  __typename?: 'DropboxFeedProperties';
@@ -19810,11 +19824,13 @@ export type QueryFeedsQuery = {
19810
19824
  } | null;
19811
19825
  googleDrive?: {
19812
19826
  __typename?: 'GoogleDriveFeedProperties';
19827
+ authenticationType?: GoogleDriveAuthenticationTypes | null;
19813
19828
  folderId?: string | null;
19814
19829
  files?: Array<string | null> | null;
19815
- refreshToken: string;
19816
- clientId: string;
19817
- clientSecret: string;
19830
+ refreshToken?: string | null;
19831
+ clientId?: string | null;
19832
+ clientSecret?: string | null;
19833
+ serviceAccountJson?: string | null;
19818
19834
  } | null;
19819
19835
  dropbox?: {
19820
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250407002",
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",