graphlit-client 1.0.20240507001 → 1.0.20240509002

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.
@@ -72,8 +72,14 @@ export declare const DeleteFeeds: import("graphql").DocumentNode;
72
72
  export declare const DisableFeed: import("graphql").DocumentNode;
73
73
  export declare const EnableFeed: import("graphql").DocumentNode;
74
74
  export declare const GetFeed: import("graphql").DocumentNode;
75
+ export declare const GetSharePointConsentUri: import("graphql").DocumentNode;
75
76
  export declare const IsFeedDone: import("graphql").DocumentNode;
76
77
  export declare const QueryFeeds: import("graphql").DocumentNode;
78
+ export declare const QueryMicrosoftTeamsChannels: import("graphql").DocumentNode;
79
+ export declare const QueryMicrosoftTeamsTeams: import("graphql").DocumentNode;
80
+ export declare const QueryOneDriveFolders: import("graphql").DocumentNode;
81
+ export declare const QuerySharePointFolders: import("graphql").DocumentNode;
82
+ export declare const QuerySharePointLibraries: import("graphql").DocumentNode;
77
83
  export declare const UpdateFeed: import("graphql").DocumentNode;
78
84
  export declare const CountLabels: import("graphql").DocumentNode;
79
85
  export declare const CreateLabel: import("graphql").DocumentNode;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestText = exports.IngestEncodedFile = exports.GetContent = exports.ExtractContents = 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.DeletePerson = 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.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = 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.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = void 0;
8
- exports.QuerySpecifications = exports.PromptSpecifications = 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.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 = void 0;
9
- exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = void 0;
7
+ exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = 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.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = void 0;
8
+ exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = 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 = exports.UpdateOrganization = exports.QueryOrganizations = void 0;
9
+ 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 = exports.DeleteAllSpecifications = void 0;
10
10
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
11
11
  exports.CountAlerts = (0, graphql_tag_1.default) `
12
12
  query CountAlerts($filter: AlertFilter) {
@@ -839,7 +839,7 @@ exports.PublishText = (0, graphql_tag_1.default) `
839
839
  }
840
840
  `;
841
841
  exports.QueryContents = (0, graphql_tag_1.default) `
842
- query QueryContents($filter: ContentFilter!) {
842
+ query QueryContents($filter: ContentFilter) {
843
843
  contents(filter: $filter) {
844
844
  results {
845
845
  id
@@ -1063,7 +1063,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1063
1063
  }
1064
1064
  `;
1065
1065
  exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1066
- query QueryContentsFacets($filter: ContentFilter!, $facets: [ContentFacetInput!]) {
1066
+ query QueryContentsFacets($filter: ContentFilter, $facets: [ContentFacetInput!]) {
1067
1067
  contents(filter: $filter, facets: $facets) {
1068
1068
  results {
1069
1069
  id
@@ -1304,7 +1304,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1304
1304
  }
1305
1305
  `;
1306
1306
  exports.QueryContentsGraph = (0, graphql_tag_1.default) `
1307
- query QueryContentsGraph($filter: ContentFilter!, $graph: ContentGraphInput) {
1307
+ query QueryContentsGraph($filter: ContentFilter, $graph: ContentGraphInput) {
1308
1308
  contents(filter: $filter, graph: $graph) {
1309
1309
  graph {
1310
1310
  nodes {
@@ -1898,6 +1898,7 @@ exports.GetFeed = (0, graphql_tag_1.default) `
1898
1898
  authenticationType
1899
1899
  accountName
1900
1900
  libraryId
1901
+ folderId
1901
1902
  tenantId
1902
1903
  refreshToken
1903
1904
  }
@@ -2000,6 +2001,13 @@ exports.GetFeed = (0, graphql_tag_1.default) `
2000
2001
  }
2001
2002
  }
2002
2003
  `;
2004
+ exports.GetSharePointConsentUri = (0, graphql_tag_1.default) `
2005
+ query GetSharePointConsentUri($tenantId: ID!) {
2006
+ sharePointConsentUri(tenantId: $tenantId) {
2007
+ uri
2008
+ }
2009
+ }
2010
+ `;
2003
2011
  exports.IsFeedDone = (0, graphql_tag_1.default) `
2004
2012
  query IsFeedDone($id: ID!) {
2005
2013
  isFeedDone(id: $id) {
@@ -2052,6 +2060,7 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
2052
2060
  authenticationType
2053
2061
  accountName
2054
2062
  libraryId
2063
+ folderId
2055
2064
  tenantId
2056
2065
  refreshToken
2057
2066
  }
@@ -2155,6 +2164,64 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
2155
2164
  }
2156
2165
  }
2157
2166
  `;
2167
+ exports.QueryMicrosoftTeamsChannels = (0, graphql_tag_1.default) `
2168
+ query QueryMicrosoftTeamsChannels($properties: MicrosoftTeamsChannelsInput!, $teamId: ID!) {
2169
+ microsoftTeamsChannels(properties: $properties, teamId: $teamId) {
2170
+ results {
2171
+ channelName
2172
+ channelId
2173
+ }
2174
+ }
2175
+ }
2176
+ `;
2177
+ exports.QueryMicrosoftTeamsTeams = (0, graphql_tag_1.default) `
2178
+ query QueryMicrosoftTeamsTeams($properties: MicrosoftTeamsTeamsInput!) {
2179
+ microsoftTeamsTeams(properties: $properties) {
2180
+ results {
2181
+ teamName
2182
+ teamId
2183
+ }
2184
+ }
2185
+ }
2186
+ `;
2187
+ exports.QueryOneDriveFolders = (0, graphql_tag_1.default) `
2188
+ query QueryOneDriveFolders($properties: OneDriveFoldersInput!, $folderId: ID) {
2189
+ oneDriveFolders(properties: $properties, folderId: $folderId) {
2190
+ results {
2191
+ folderName
2192
+ folderId
2193
+ }
2194
+ }
2195
+ }
2196
+ `;
2197
+ exports.QuerySharePointFolders = (0, graphql_tag_1.default) `
2198
+ query QuerySharePointFolders($properties: SharePointFoldersInput!, $driveId: ID!, $folderId: ID) {
2199
+ sharePointFolders(
2200
+ properties: $properties
2201
+ driveId: $driveId
2202
+ folderId: $folderId
2203
+ ) {
2204
+ accountName
2205
+ results {
2206
+ folderName
2207
+ folderId
2208
+ }
2209
+ }
2210
+ }
2211
+ `;
2212
+ exports.QuerySharePointLibraries = (0, graphql_tag_1.default) `
2213
+ query QuerySharePointLibraries($properties: SharePointLibrariesInput!) {
2214
+ sharePointLibraries(properties: $properties) {
2215
+ accountName
2216
+ results {
2217
+ libraryName
2218
+ libraryId
2219
+ siteName
2220
+ siteId
2221
+ }
2222
+ }
2223
+ }
2224
+ `;
2158
2225
  exports.UpdateFeed = (0, graphql_tag_1.default) `
2159
2226
  mutation UpdateFeed($feed: FeedUpdateInput!) {
2160
2227
  updateFeed(feed: $feed) {
@@ -3924,17 +3924,38 @@ export type MicrosoftEmailFeedPropertiesUpdateInput = {
3924
3924
  /** Email listing type, i.e. past or new emails. */
3925
3925
  type?: InputMaybe<EmailListingTypes>;
3926
3926
  };
3927
+ /** Represents a Microsoft Teams channel. */
3928
+ export type MicrosoftTeamsChannelResult = {
3929
+ __typename?: 'MicrosoftTeamsChannelResult';
3930
+ /** The Microsoft Teams channel identifier. */
3931
+ channelId?: Maybe<Scalars['ID']['output']>;
3932
+ /** The Microsoft Teams channel name. */
3933
+ channelName?: Maybe<Scalars['String']['output']>;
3934
+ };
3935
+ /** Represents Microsoft Teams channels. */
3936
+ export type MicrosoftTeamsChannelResults = {
3937
+ __typename?: 'MicrosoftTeamsChannelResults';
3938
+ /** The Microsoft Teams channels. */
3939
+ results?: Maybe<Array<Maybe<MicrosoftTeamsChannelResult>>>;
3940
+ };
3941
+ /** Represents Microsoft Teams team channels properties. */
3942
+ export type MicrosoftTeamsChannelsInput = {
3943
+ /** The Microsoft Graph refresh token. */
3944
+ refreshToken: Scalars['String']['input'];
3945
+ /** Azure Active Directory tenant identifier. */
3946
+ tenantId: Scalars['String']['input'];
3947
+ };
3927
3948
  /** Represents Microsoft Teams feed properties. */
3928
3949
  export type MicrosoftTeamsFeedProperties = {
3929
3950
  __typename?: 'MicrosoftTeamsFeedProperties';
3930
3951
  /** The Microsoft Teams channel identifier. */
3931
- channel: Scalars['String']['output'];
3952
+ channelId: Scalars['String']['output'];
3932
3953
  /** The limit of items to be read from feed, defaults to 100. */
3933
3954
  readLimit?: Maybe<Scalars['Int']['output']>;
3934
3955
  /** The Microsoft Graph refresh token. */
3935
3956
  refreshToken: Scalars['String']['output'];
3936
3957
  /** The Microsoft Teams team identifier. */
3937
- team: Scalars['String']['output'];
3958
+ teamId: Scalars['String']['output'];
3938
3959
  /** Azure Active Directory tenant identifier. */
3939
3960
  tenantId: Scalars['String']['output'];
3940
3961
  /** Feed listing type, i.e. past or new messages. */
@@ -3943,13 +3964,13 @@ export type MicrosoftTeamsFeedProperties = {
3943
3964
  /** Represents Microsoft Teams feed properties. */
3944
3965
  export type MicrosoftTeamsFeedPropertiesInput = {
3945
3966
  /** The Microsoft Teams channel identifier. */
3946
- channel: Scalars['String']['input'];
3967
+ channelId: Scalars['String']['input'];
3947
3968
  /** The limit of items to be read from feed, defaults to 100. */
3948
3969
  readLimit?: InputMaybe<Scalars['Int']['input']>;
3949
3970
  /** The Microsoft Graph refresh token. */
3950
3971
  refreshToken: Scalars['String']['input'];
3951
3972
  /** The Microsoft Teams team identifier. */
3952
- team: Scalars['String']['input'];
3973
+ teamId: Scalars['String']['input'];
3953
3974
  /** Azure Active Directory tenant identifier. */
3954
3975
  tenantId: Scalars['String']['input'];
3955
3976
  /** Feed listing type, i.e. past or new messages. */
@@ -3958,18 +3979,39 @@ export type MicrosoftTeamsFeedPropertiesInput = {
3958
3979
  /** Represents Microsoft Teams feed properties. */
3959
3980
  export type MicrosoftTeamsFeedPropertiesUpdateInput = {
3960
3981
  /** The Microsoft Teams channel identifier. */
3961
- channel: Scalars['String']['input'];
3982
+ channelId: Scalars['String']['input'];
3962
3983
  /** The limit of items to be read from feed, defaults to 100. */
3963
3984
  readLimit?: InputMaybe<Scalars['Int']['input']>;
3964
3985
  /** The Microsoft Graph refresh token. */
3965
3986
  refreshToken?: InputMaybe<Scalars['String']['input']>;
3966
3987
  /** The Microsoft Teams team identifier. */
3967
- team: Scalars['String']['input'];
3988
+ teamId: Scalars['String']['input'];
3968
3989
  /** Azure Active Directory tenant identifier. */
3969
3990
  tenantId?: InputMaybe<Scalars['String']['input']>;
3970
3991
  /** Feed listing type, i.e. past or new messages. */
3971
3992
  type?: InputMaybe<FeedListingTypes>;
3972
3993
  };
3994
+ /** Represents a Microsoft Teams team. */
3995
+ export type MicrosoftTeamsTeamResult = {
3996
+ __typename?: 'MicrosoftTeamsTeamResult';
3997
+ /** The Microsoft Teams team identifier. */
3998
+ teamId?: Maybe<Scalars['ID']['output']>;
3999
+ /** The Microsoft Teams team name. */
4000
+ teamName?: Maybe<Scalars['String']['output']>;
4001
+ };
4002
+ /** Represents Microsoft Teams teams. */
4003
+ export type MicrosoftTeamsTeamResults = {
4004
+ __typename?: 'MicrosoftTeamsTeamResults';
4005
+ /** The Microsoft Teams teams. */
4006
+ results?: Maybe<Array<Maybe<MicrosoftTeamsTeamResult>>>;
4007
+ };
4008
+ /** Represents Microsoft Teams teams properties. */
4009
+ export type MicrosoftTeamsTeamsInput = {
4010
+ /** The Microsoft Graph refresh token. */
4011
+ refreshToken: Scalars['String']['input'];
4012
+ /** Azure Active Directory tenant identifier. */
4013
+ tenantId: Scalars['String']['input'];
4014
+ };
3973
4015
  /** Represents Mistral model properties. */
3974
4016
  export type MistralModelProperties = {
3975
4017
  __typename?: 'MistralModelProperties';
@@ -4968,24 +5010,43 @@ export declare enum OccurrenceTypes {
4968
5010
  export type OneDriveFeedProperties = {
4969
5011
  __typename?: 'OneDriveFeedProperties';
4970
5012
  /** OneDrive folder identifier. */
4971
- folderId?: Maybe<Scalars['String']['output']>;
5013
+ folderId?: Maybe<Scalars['ID']['output']>;
4972
5014
  /** OneDrive refresh token. */
4973
5015
  refreshToken: Scalars['String']['output'];
4974
5016
  };
4975
5017
  /** Represents OneDrive properties. */
4976
5018
  export type OneDriveFeedPropertiesInput = {
4977
5019
  /** OneDrive folder identifier. */
4978
- folderId?: InputMaybe<Scalars['String']['input']>;
5020
+ folderId?: InputMaybe<Scalars['ID']['input']>;
4979
5021
  /** OneDrive refresh token. */
4980
5022
  refreshToken: Scalars['String']['input'];
4981
5023
  };
4982
5024
  /** Represents OneDrive properties. */
4983
5025
  export type OneDriveFeedPropertiesUpdateInput = {
4984
5026
  /** OneDrive folder identifier. */
4985
- folderId?: InputMaybe<Scalars['String']['input']>;
5027
+ folderId?: InputMaybe<Scalars['ID']['input']>;
4986
5028
  /** OneDrive refresh token. */
4987
5029
  refreshToken?: InputMaybe<Scalars['String']['input']>;
4988
5030
  };
5031
+ /** Represents a OneDrive folder. */
5032
+ export type OneDriveFolderResult = {
5033
+ __typename?: 'OneDriveFolderResult';
5034
+ /** The OneDrive folder identifier. */
5035
+ folderId?: Maybe<Scalars['ID']['output']>;
5036
+ /** The OneDrive folder name. */
5037
+ folderName?: Maybe<Scalars['String']['output']>;
5038
+ };
5039
+ /** Represents OneDrive folders. */
5040
+ export type OneDriveFolderResults = {
5041
+ __typename?: 'OneDriveFolderResults';
5042
+ /** The OneDrive folders. */
5043
+ results?: Maybe<Array<Maybe<OneDriveFolderResult>>>;
5044
+ };
5045
+ /** Represents OneDrive folders properties. */
5046
+ export type OneDriveFoldersInput = {
5047
+ /** OneDrive refresh token. */
5048
+ refreshToken: Scalars['String']['input'];
5049
+ };
4989
5050
  /** Represents an OpenAI image entity extraction connector. */
4990
5051
  export type OpenAiImageExtractionProperties = {
4991
5052
  __typename?: 'OpenAIImageExtractionProperties';
@@ -6017,7 +6078,7 @@ export type ProjectCredits = {
6017
6078
  /** The tenant correlation identifier. */
6018
6079
  correlationId?: Maybe<Scalars['String']['output']>;
6019
6080
  /** The credits used. */
6020
- credits?: Maybe<Scalars['Long']['output']>;
6081
+ credits?: Maybe<Scalars['Decimal']['output']>;
6021
6082
  /** The content enrichment ratio of credits. */
6022
6083
  enrichmentRatio?: Maybe<Scalars['Decimal']['output']>;
6023
6084
  /** The content extraction ratio of credits. */
@@ -6424,8 +6485,14 @@ export type Query = {
6424
6485
  lookupCredits?: Maybe<ProjectCredits>;
6425
6486
  /** Lookup usage records given tenant correlation identifier. */
6426
6487
  lookupUsage?: Maybe<Array<Maybe<ProjectUsageRecord>>>;
6488
+ /** Retrieves available Microsoft Teams team channels. */
6489
+ microsoftTeamsChannels?: Maybe<MicrosoftTeamsChannelResults>;
6490
+ /** Retrieves available Microsoft Teams teams. */
6491
+ microsoftTeamsTeams?: Maybe<MicrosoftTeamsTeamResults>;
6427
6492
  /** Lookup a observation given its ID. */
6428
6493
  observation?: Maybe<Observation>;
6494
+ /** Retrieves available OneDrive folders. */
6495
+ oneDriveFolders?: Maybe<OneDriveFolderResults>;
6429
6496
  /** Lookup an organization given its ID. */
6430
6497
  organization?: Maybe<Organization>;
6431
6498
  /** Retrieves organizations based on the provided filter criteria. */
@@ -6452,6 +6519,8 @@ export type Query = {
6452
6519
  repos?: Maybe<RepoResults>;
6453
6520
  /** Retrieves Microsoft SharePoint consent URI. Visit URI to provide administrator consent for feeds which use the Microsoft Graph API. */
6454
6521
  sharePointConsentUri?: Maybe<UriResult>;
6522
+ /** Retrieves available SharePoint document library folders. */
6523
+ sharePointFolders?: Maybe<SharePointFolderResults>;
6455
6524
  /** Retrieves available SharePoint document libraries. */
6456
6525
  sharePointLibraries?: Maybe<SharePointLibraryResults>;
6457
6526
  /** Lookup software given its ID. */
@@ -6624,10 +6693,21 @@ export type QueryLookupCreditsArgs = {
6624
6693
  export type QueryLookupUsageArgs = {
6625
6694
  correlationId: Scalars['String']['input'];
6626
6695
  };
6696
+ export type QueryMicrosoftTeamsChannelsArgs = {
6697
+ properties: MicrosoftTeamsChannelsInput;
6698
+ teamId: Scalars['ID']['input'];
6699
+ };
6700
+ export type QueryMicrosoftTeamsTeamsArgs = {
6701
+ properties: MicrosoftTeamsTeamsInput;
6702
+ };
6627
6703
  export type QueryObservationArgs = {
6628
6704
  correlationId?: InputMaybe<Scalars['String']['input']>;
6629
6705
  id: Scalars['ID']['input'];
6630
6706
  };
6707
+ export type QueryOneDriveFoldersArgs = {
6708
+ folderId?: InputMaybe<Scalars['ID']['input']>;
6709
+ properties: OneDriveFoldersInput;
6710
+ };
6631
6711
  export type QueryOrganizationArgs = {
6632
6712
  correlationId?: InputMaybe<Scalars['String']['input']>;
6633
6713
  id: Scalars['ID']['input'];
@@ -6683,6 +6763,11 @@ export type QueryReposArgs = {
6683
6763
  export type QuerySharePointConsentUriArgs = {
6684
6764
  tenantId: Scalars['ID']['input'];
6685
6765
  };
6766
+ export type QuerySharePointFoldersArgs = {
6767
+ driveId: Scalars['ID']['input'];
6768
+ folderId?: InputMaybe<Scalars['ID']['input']>;
6769
+ properties: SharePointFoldersInput;
6770
+ };
6686
6771
  export type QuerySharePointLibrariesArgs = {
6687
6772
  properties: SharePointLibrariesInput;
6688
6773
  };
@@ -7106,11 +7191,13 @@ export declare enum SharePointAuthenticationTypes {
7106
7191
  export type SharePointFeedProperties = {
7107
7192
  __typename?: 'SharePointFeedProperties';
7108
7193
  /** SharePoint account name. */
7109
- accountName?: Maybe<Scalars['String']['output']>;
7194
+ accountName: Scalars['String']['output'];
7110
7195
  /** SharePoint authentication type. */
7111
- authenticationType?: Maybe<SharePointAuthenticationTypes>;
7196
+ authenticationType: SharePointAuthenticationTypes;
7197
+ /** SharePoint folder identifier. */
7198
+ folderId?: Maybe<Scalars['ID']['output']>;
7112
7199
  /** SharePoint library identifier. */
7113
- libraryId?: Maybe<Scalars['ID']['output']>;
7200
+ libraryId: Scalars['ID']['output'];
7114
7201
  /** Azure Active Directory refresh token, when using user authentication type. */
7115
7202
  refreshToken?: Maybe<Scalars['String']['output']>;
7116
7203
  /** Azure Active Directory tenant identifier, when using application authentication type. */
@@ -7122,6 +7209,8 @@ export type SharePointFeedPropertiesInput = {
7122
7209
  accountName: Scalars['String']['input'];
7123
7210
  /** SharePoint authentication type. */
7124
7211
  authenticationType: SharePointAuthenticationTypes;
7212
+ /** SharePoint folder identifier. */
7213
+ folderId?: InputMaybe<Scalars['ID']['input']>;
7125
7214
  /** SharePoint library identifier. */
7126
7215
  libraryId: Scalars['ID']['input'];
7127
7216
  /** Azure Active Directory refresh token, when using user authentication type. */
@@ -7135,6 +7224,8 @@ export type SharePointFeedPropertiesUpdateInput = {
7135
7224
  accountName?: InputMaybe<Scalars['String']['input']>;
7136
7225
  /** SharePoint authentication type. */
7137
7226
  authenticationType?: InputMaybe<SharePointAuthenticationTypes>;
7227
+ /** SharePoint folder identifier. */
7228
+ folderId?: InputMaybe<Scalars['ID']['input']>;
7138
7229
  /** SharePoint library identifier. */
7139
7230
  libraryId?: InputMaybe<Scalars['ID']['input']>;
7140
7231
  /** Azure Active Directory refresh token, when using user authentication type. */
@@ -7142,6 +7233,31 @@ export type SharePointFeedPropertiesUpdateInput = {
7142
7233
  /** Azure Active Directory tenant identifier, when using application authentication type. */
7143
7234
  tenantId?: InputMaybe<Scalars['ID']['input']>;
7144
7235
  };
7236
+ /** Represents a SharePoint folder. */
7237
+ export type SharePointFolderResult = {
7238
+ __typename?: 'SharePointFolderResult';
7239
+ /** The SharePoint folder identifier. */
7240
+ folderId?: Maybe<Scalars['ID']['output']>;
7241
+ /** The SharePoint folder name. */
7242
+ folderName?: Maybe<Scalars['String']['output']>;
7243
+ };
7244
+ /** Represents SharePoint folders. */
7245
+ export type SharePointFolderResults = {
7246
+ __typename?: 'SharePointFolderResults';
7247
+ /** The SharePoint account name. */
7248
+ accountName?: Maybe<Scalars['String']['output']>;
7249
+ /** The SharePoint folders. */
7250
+ results?: Maybe<Array<Maybe<SharePointFolderResult>>>;
7251
+ };
7252
+ /** Represents SharePoint library folders properties. */
7253
+ export type SharePointFoldersInput = {
7254
+ /** SharePoint authentication type. */
7255
+ authenticationType: SharePointAuthenticationTypes;
7256
+ /** Azure Active Directory refresh token, when using user authentication type. */
7257
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
7258
+ /** Azure Active Directory tenant identifier, when using application authentication type. */
7259
+ tenantId?: InputMaybe<Scalars['ID']['input']>;
7260
+ };
7145
7261
  /** Represents SharePoint libraries properties. */
7146
7262
  export type SharePointLibrariesInput = {
7147
7263
  /** SharePoint authentication type. */
@@ -9139,7 +9255,7 @@ export type PublishTextMutation = {
9139
9255
  } | null;
9140
9256
  };
9141
9257
  export type QueryContentsQueryVariables = Exact<{
9142
- filter: ContentFilter;
9258
+ filter?: InputMaybe<ContentFilter>;
9143
9259
  }>;
9144
9260
  export type QueryContentsQuery = {
9145
9261
  __typename?: 'Query';
@@ -9394,7 +9510,7 @@ export type QueryContentsQuery = {
9394
9510
  } | null;
9395
9511
  };
9396
9512
  export type QueryContentsFacetsQueryVariables = Exact<{
9397
- filter: ContentFilter;
9513
+ filter?: InputMaybe<ContentFilter>;
9398
9514
  facets?: InputMaybe<Array<ContentFacetInput> | ContentFacetInput>;
9399
9515
  }>;
9400
9516
  export type QueryContentsFacetsQuery = {
@@ -9671,7 +9787,7 @@ export type QueryContentsFacetsQuery = {
9671
9787
  } | null;
9672
9788
  };
9673
9789
  export type QueryContentsGraphQueryVariables = Exact<{
9674
- filter: ContentFilter;
9790
+ filter?: InputMaybe<ContentFilter>;
9675
9791
  graph?: InputMaybe<ContentGraphInput>;
9676
9792
  }>;
9677
9793
  export type QueryContentsGraphQuery = {
@@ -10418,9 +10534,10 @@ export type GetFeedQuery = {
10418
10534
  } | null;
10419
10535
  sharePoint?: {
10420
10536
  __typename?: 'SharePointFeedProperties';
10421
- authenticationType?: SharePointAuthenticationTypes | null;
10422
- accountName?: string | null;
10423
- libraryId?: string | null;
10537
+ authenticationType: SharePointAuthenticationTypes;
10538
+ accountName: string;
10539
+ libraryId: string;
10540
+ folderId?: string | null;
10424
10541
  tenantId?: string | null;
10425
10542
  refreshToken?: string | null;
10426
10543
  } | null;
@@ -10536,6 +10653,16 @@ export type GetFeedQuery = {
10536
10653
  } | null;
10537
10654
  } | null;
10538
10655
  };
10656
+ export type GetSharePointConsentUriQueryVariables = Exact<{
10657
+ tenantId: Scalars['ID']['input'];
10658
+ }>;
10659
+ export type GetSharePointConsentUriQuery = {
10660
+ __typename?: 'Query';
10661
+ sharePointConsentUri?: {
10662
+ __typename?: 'UriResult';
10663
+ uri?: any | null;
10664
+ } | null;
10665
+ };
10539
10666
  export type IsFeedDoneQueryVariables = Exact<{
10540
10667
  id: Scalars['ID']['input'];
10541
10668
  }>;
@@ -10604,9 +10731,10 @@ export type QueryFeedsQuery = {
10604
10731
  } | null;
10605
10732
  sharePoint?: {
10606
10733
  __typename?: 'SharePointFeedProperties';
10607
- authenticationType?: SharePointAuthenticationTypes | null;
10608
- accountName?: string | null;
10609
- libraryId?: string | null;
10734
+ authenticationType: SharePointAuthenticationTypes;
10735
+ accountName: string;
10736
+ libraryId: string;
10737
+ folderId?: string | null;
10610
10738
  tenantId?: string | null;
10611
10739
  refreshToken?: string | null;
10612
10740
  } | null;
@@ -10723,6 +10851,84 @@ export type QueryFeedsQuery = {
10723
10851
  } | null> | null;
10724
10852
  } | null;
10725
10853
  };
10854
+ export type QueryMicrosoftTeamsChannelsQueryVariables = Exact<{
10855
+ properties: MicrosoftTeamsChannelsInput;
10856
+ teamId: Scalars['ID']['input'];
10857
+ }>;
10858
+ export type QueryMicrosoftTeamsChannelsQuery = {
10859
+ __typename?: 'Query';
10860
+ microsoftTeamsChannels?: {
10861
+ __typename?: 'MicrosoftTeamsChannelResults';
10862
+ results?: Array<{
10863
+ __typename?: 'MicrosoftTeamsChannelResult';
10864
+ channelName?: string | null;
10865
+ channelId?: string | null;
10866
+ } | null> | null;
10867
+ } | null;
10868
+ };
10869
+ export type QueryMicrosoftTeamsTeamsQueryVariables = Exact<{
10870
+ properties: MicrosoftTeamsTeamsInput;
10871
+ }>;
10872
+ export type QueryMicrosoftTeamsTeamsQuery = {
10873
+ __typename?: 'Query';
10874
+ microsoftTeamsTeams?: {
10875
+ __typename?: 'MicrosoftTeamsTeamResults';
10876
+ results?: Array<{
10877
+ __typename?: 'MicrosoftTeamsTeamResult';
10878
+ teamName?: string | null;
10879
+ teamId?: string | null;
10880
+ } | null> | null;
10881
+ } | null;
10882
+ };
10883
+ export type QueryOneDriveFoldersQueryVariables = Exact<{
10884
+ properties: OneDriveFoldersInput;
10885
+ folderId?: InputMaybe<Scalars['ID']['input']>;
10886
+ }>;
10887
+ export type QueryOneDriveFoldersQuery = {
10888
+ __typename?: 'Query';
10889
+ oneDriveFolders?: {
10890
+ __typename?: 'OneDriveFolderResults';
10891
+ results?: Array<{
10892
+ __typename?: 'OneDriveFolderResult';
10893
+ folderName?: string | null;
10894
+ folderId?: string | null;
10895
+ } | null> | null;
10896
+ } | null;
10897
+ };
10898
+ export type QuerySharePointFoldersQueryVariables = Exact<{
10899
+ properties: SharePointFoldersInput;
10900
+ driveId: Scalars['ID']['input'];
10901
+ folderId?: InputMaybe<Scalars['ID']['input']>;
10902
+ }>;
10903
+ export type QuerySharePointFoldersQuery = {
10904
+ __typename?: 'Query';
10905
+ sharePointFolders?: {
10906
+ __typename?: 'SharePointFolderResults';
10907
+ accountName?: string | null;
10908
+ results?: Array<{
10909
+ __typename?: 'SharePointFolderResult';
10910
+ folderName?: string | null;
10911
+ folderId?: string | null;
10912
+ } | null> | null;
10913
+ } | null;
10914
+ };
10915
+ export type QuerySharePointLibrariesQueryVariables = Exact<{
10916
+ properties: SharePointLibrariesInput;
10917
+ }>;
10918
+ export type QuerySharePointLibrariesQuery = {
10919
+ __typename?: 'Query';
10920
+ sharePointLibraries?: {
10921
+ __typename?: 'SharePointLibraryResults';
10922
+ accountName?: string | null;
10923
+ results?: Array<{
10924
+ __typename?: 'SharePointLibraryResult';
10925
+ libraryName?: string | null;
10926
+ libraryId?: string | null;
10927
+ siteName?: string | null;
10928
+ siteId?: string | null;
10929
+ } | null> | null;
10930
+ } | null;
10931
+ };
10726
10932
  export type UpdateFeedMutationVariables = Exact<{
10727
10933
  feed: FeedUpdateInput;
10728
10934
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240507001",
3
+ "version": "1.0.20240509002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",