graphlit-client 1.0.20250628002 → 1.0.20250628003

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.
@@ -613,6 +613,8 @@ export const GetConnector = gql `
613
613
  }
614
614
  arcade {
615
615
  authorizationId
616
+ provider
617
+ metadata
616
618
  }
617
619
  }
618
620
  integration {
@@ -663,6 +665,8 @@ export const QueryConnectors = gql `
663
665
  }
664
666
  arcade {
665
667
  authorizationId
668
+ provider
669
+ metadata
666
670
  }
667
671
  }
668
672
  integration {
@@ -6611,9 +6615,11 @@ export const GetFeed = gql `
6611
6615
  microsoftTeams {
6612
6616
  readLimit
6613
6617
  type
6618
+ authenticationType
6614
6619
  clientId
6615
6620
  clientSecret
6616
6621
  refreshToken
6622
+ connectorId
6617
6623
  teamId
6618
6624
  channelId
6619
6625
  }
@@ -6941,9 +6947,11 @@ export const QueryFeeds = gql `
6941
6947
  microsoftTeams {
6942
6948
  readLimit
6943
6949
  type
6950
+ authenticationType
6944
6951
  clientId
6945
6952
  clientSecret
6946
6953
  refreshToken
6954
+ connectorId
6947
6955
  teamId
6948
6956
  channelId
6949
6957
  }
@@ -9676,6 +9684,8 @@ export const GetUser = gql `
9676
9684
  }
9677
9685
  arcade {
9678
9686
  authorizationId
9687
+ provider
9688
+ metadata
9679
9689
  }
9680
9690
  }
9681
9691
  integration {
@@ -9733,6 +9743,8 @@ export const GetUserByIdentifier = gql `
9733
9743
  }
9734
9744
  arcade {
9735
9745
  authorizationId
9746
+ provider
9747
+ metadata
9736
9748
  }
9737
9749
  }
9738
9750
  integration {
@@ -9791,6 +9803,8 @@ export const QueryUsers = gql `
9791
9803
  }
9792
9804
  arcade {
9793
9805
  authorizationId
9806
+ provider
9807
+ metadata
9794
9808
  }
9795
9809
  }
9796
9810
  integration {
@@ -436,12 +436,29 @@ export type ArcadeAuthenticationProperties = {
436
436
  __typename?: 'ArcadeAuthenticationProperties';
437
437
  /** Arcade authorization ID. */
438
438
  authorizationId: Scalars['String']['output'];
439
+ /** Arcade metadata. */
440
+ metadata?: Maybe<Scalars['String']['output']>;
441
+ /** Arcade provider. */
442
+ provider: ArcadeProviders;
439
443
  };
440
444
  /** Represents Arcade authentication properties. */
441
445
  export type ArcadeAuthenticationPropertiesInput = {
442
446
  /** Arcade authorization ID. */
443
447
  authorizationId: Scalars['String']['input'];
444
- };
448
+ /** Arcade metadata. */
449
+ metadata?: InputMaybe<Scalars['String']['input']>;
450
+ /** Arcade provider. */
451
+ provider: ArcadeProviders;
452
+ };
453
+ /** Arcade authentication providers */
454
+ export declare enum ArcadeProviders {
455
+ /** GitHub Arcade provider */
456
+ GitHub = "GIT_HUB",
457
+ /** Google Arcade provider */
458
+ Google = "GOOGLE",
459
+ /** Microsoft Arcade provider */
460
+ Microsoft = "MICROSOFT"
461
+ }
445
462
  /** Represents a prompted question about Graphlit. */
446
463
  export type AskGraphlit = {
447
464
  __typename?: 'AskGraphlit';
@@ -4776,10 +4793,14 @@ export type GoogleCalendarFeedPropertiesUpdateInput = {
4776
4793
  };
4777
4794
  /** Represents Google Calendar properties. */
4778
4795
  export type GoogleCalendarsInput = {
4796
+ /** Google Calendar authentication type, defaults to User. */
4797
+ authenticationType?: InputMaybe<GoogleCalendarAuthenticationTypes>;
4779
4798
  /** Google OAuth2 client identifier. */
4780
4799
  clientId: Scalars['String']['input'];
4781
4800
  /** Google OAuth2 client secret. */
4782
4801
  clientSecret: Scalars['String']['input'];
4802
+ /** Connector identifier, for Connector authentication type. */
4803
+ connectorId?: InputMaybe<Scalars['String']['input']>;
4783
4804
  /** Google OAuth2 refresh token. */
4784
4805
  refreshToken: Scalars['String']['input'];
4785
4806
  };
@@ -4862,10 +4883,14 @@ export type GoogleDriveFolderResults = {
4862
4883
  };
4863
4884
  /** Represents Google Drive folders properties. */
4864
4885
  export type GoogleDriveFoldersInput = {
4886
+ /** Google Drive authentication type, defaults to User. */
4887
+ authenticationType?: InputMaybe<GoogleDriveAuthenticationTypes>;
4865
4888
  /** Google OAuth2 client identifier. */
4866
4889
  clientId: Scalars['String']['input'];
4867
4890
  /** Google OAuth2 client secret. */
4868
4891
  clientSecret: Scalars['String']['input'];
4892
+ /** Connector identifier, for Connector authentication type. */
4893
+ connectorId?: InputMaybe<Scalars['String']['input']>;
4869
4894
  /** Google OAuth2 refresh token. */
4870
4895
  refreshToken: Scalars['String']['input'];
4871
4896
  };
@@ -7921,10 +7946,14 @@ export type MicrosoftCalendarFeedPropertiesUpdateInput = {
7921
7946
  };
7922
7947
  /** Represents Microsoft Calendar properties. */
7923
7948
  export type MicrosoftCalendarsInput = {
7949
+ /** Microsoft Calendar authentication type, defaults to User. */
7950
+ authenticationType?: InputMaybe<MicrosoftCalendarAuthenticationTypes>;
7924
7951
  /** Microsoft Entra ID client identifier. */
7925
7952
  clientId: Scalars['String']['input'];
7926
7953
  /** Microsoft Entra ID client secret. */
7927
7954
  clientSecret: Scalars['String']['input'];
7955
+ /** Connector identifier, for Connector authentication type. */
7956
+ connectorId?: InputMaybe<Scalars['String']['input']>;
7928
7957
  /** Microsoft Entra ID refresh token. */
7929
7958
  refreshToken: Scalars['String']['input'];
7930
7959
  };
@@ -8002,6 +8031,10 @@ export type MicrosoftEmailFeedPropertiesUpdateInput = {
8002
8031
  /** Email listing type, i.e. past or new emails. */
8003
8032
  type?: InputMaybe<EmailListingTypes>;
8004
8033
  };
8034
+ export declare enum MicrosoftTeamsAuthenticationTypes {
8035
+ Connector = "CONNECTOR",
8036
+ User = "USER"
8037
+ }
8005
8038
  /** Represents a Microsoft Teams channel. */
8006
8039
  export type MicrosoftTeamsChannelResult = {
8007
8040
  __typename?: 'MicrosoftTeamsChannelResult';
@@ -8018,22 +8051,34 @@ export type MicrosoftTeamsChannelResults = {
8018
8051
  };
8019
8052
  /** Represents Microsoft Teams team channels properties. */
8020
8053
  export type MicrosoftTeamsChannelsInput = {
8021
- /** Microsoft Teams refresh token. */
8022
- refreshToken: Scalars['String']['input'];
8054
+ /** Microsoft Teams authentication type, defaults to User. */
8055
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8056
+ /** Microsoft Teams client identifier, requires User authentication type. */
8057
+ clientId?: InputMaybe<Scalars['String']['input']>;
8058
+ /** Microsoft Teams client secret, requires User authentication type. */
8059
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8060
+ /** Connector identifier, for Connector authentication type. */
8061
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8062
+ /** Microsoft Teams refresh token, requires User authentication type. */
8063
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8023
8064
  };
8024
8065
  /** Represents Microsoft Teams feed properties. */
8025
8066
  export type MicrosoftTeamsFeedProperties = {
8026
8067
  __typename?: 'MicrosoftTeamsFeedProperties';
8068
+ /** Microsoft Teams authentication type. */
8069
+ authenticationType?: Maybe<MicrosoftTeamsAuthenticationTypes>;
8027
8070
  /** Microsoft Teams channel identifier. */
8028
8071
  channelId: Scalars['String']['output'];
8029
8072
  /** Microsoft Teams client identifier. */
8030
- clientId: Scalars['String']['output'];
8073
+ clientId?: Maybe<Scalars['String']['output']>;
8031
8074
  /** Microsoft Teams client secret. */
8032
- clientSecret: Scalars['String']['output'];
8075
+ clientSecret?: Maybe<Scalars['String']['output']>;
8076
+ /** Microsoft Teams connector identifier. */
8077
+ connectorId?: Maybe<Scalars['String']['output']>;
8033
8078
  /** The limit of items to be read from feed, defaults to 100. */
8034
8079
  readLimit?: Maybe<Scalars['Int']['output']>;
8035
8080
  /** Microsoft Teams refresh token. */
8036
- refreshToken: Scalars['String']['output'];
8081
+ refreshToken?: Maybe<Scalars['String']['output']>;
8037
8082
  /** Microsoft Teams team identifier. */
8038
8083
  teamId: Scalars['String']['output'];
8039
8084
  /** Feed listing type, i.e. past or new messages. */
@@ -8041,16 +8086,20 @@ export type MicrosoftTeamsFeedProperties = {
8041
8086
  };
8042
8087
  /** Represents Microsoft Teams feed properties. */
8043
8088
  export type MicrosoftTeamsFeedPropertiesInput = {
8089
+ /** Microsoft Teams authentication type, defaults to User. */
8090
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8044
8091
  /** Microsoft Teams channel identifier. */
8045
8092
  channelId: Scalars['String']['input'];
8046
- /** Microsoft Teams client identifier. */
8047
- clientId: Scalars['String']['input'];
8048
- /** Microsoft Teams client secret. */
8049
- clientSecret: Scalars['String']['input'];
8093
+ /** Microsoft Teams client identifier, requires User authentication type. */
8094
+ clientId?: InputMaybe<Scalars['String']['input']>;
8095
+ /** Microsoft Teams client secret, requires User authentication type. */
8096
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8097
+ /** Connector identifier, for Connector authentication type. */
8098
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8050
8099
  /** The limit of items to be read from feed, defaults to 100. */
8051
8100
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8052
- /** Microsoft Teams refresh token. */
8053
- refreshToken: Scalars['String']['input'];
8101
+ /** Microsoft Teams refresh token, requires User authentication type. */
8102
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8054
8103
  /** Microsoft Teams team identifier. */
8055
8104
  teamId: Scalars['String']['input'];
8056
8105
  /** Feed listing type, i.e. past or new messages. */
@@ -8058,15 +8107,19 @@ export type MicrosoftTeamsFeedPropertiesInput = {
8058
8107
  };
8059
8108
  /** Represents Microsoft Teams feed properties. */
8060
8109
  export type MicrosoftTeamsFeedPropertiesUpdateInput = {
8110
+ /** Microsoft Teams authentication type, defaults to User. */
8111
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8061
8112
  /** Microsoft Teams channel identifier. */
8062
8113
  channelId: Scalars['String']['input'];
8063
- /** Microsoft Teams client identifier. */
8114
+ /** Microsoft Teams client identifier, requires User authentication type. */
8064
8115
  clientId?: InputMaybe<Scalars['String']['input']>;
8065
- /** Microsoft Teams client secret. */
8116
+ /** Microsoft Teams client secret, requires User authentication type. */
8066
8117
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8118
+ /** Connector identifier, for Connector authentication type. */
8119
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8067
8120
  /** The limit of items to be read from feed, defaults to 100. */
8068
8121
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8069
- /** Microsoft Teams refresh token. */
8122
+ /** Microsoft Teams refresh token, requires User authentication type. */
8070
8123
  refreshToken?: InputMaybe<Scalars['String']['input']>;
8071
8124
  /** Microsoft Teams team identifier. */
8072
8125
  teamId: Scalars['String']['input'];
@@ -8089,8 +8142,16 @@ export type MicrosoftTeamsTeamResults = {
8089
8142
  };
8090
8143
  /** Represents Microsoft Teams teams properties. */
8091
8144
  export type MicrosoftTeamsTeamsInput = {
8092
- /** Microsoft Teams refresh token. */
8093
- refreshToken: Scalars['String']['input'];
8145
+ /** Microsoft Teams authentication type, defaults to User. */
8146
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8147
+ /** Microsoft Teams client identifier, requires User authentication type. */
8148
+ clientId?: InputMaybe<Scalars['String']['input']>;
8149
+ /** Microsoft Teams client secret, requires User authentication type. */
8150
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8151
+ /** Connector identifier, for Connector authentication type. */
8152
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8153
+ /** Microsoft Teams refresh token, requires User authentication type. */
8154
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8094
8155
  };
8095
8156
  /** Represents the Mistral document preparation properties. */
8096
8157
  export type MistralDocumentPreparationProperties = {
@@ -10033,10 +10094,14 @@ export type OneDriveFolderResults = {
10033
10094
  };
10034
10095
  /** Represents OneDrive folders properties. */
10035
10096
  export type OneDriveFoldersInput = {
10097
+ /** OneDrive authentication type, defaults to User. */
10098
+ authenticationType?: InputMaybe<OneDriveAuthenticationTypes>;
10036
10099
  /** Microsoft Entra ID client identifier. */
10037
10100
  clientId: Scalars['String']['input'];
10038
10101
  /** Microsoft Entra ID client secret. */
10039
10102
  clientSecret: Scalars['String']['input'];
10103
+ /** Connector identifier, for Connector authentication type. */
10104
+ connectorId?: InputMaybe<Scalars['String']['input']>;
10040
10105
  /** Microsoft Entra ID refresh token. */
10041
10106
  refreshToken: Scalars['String']['input'];
10042
10107
  };
@@ -13222,6 +13287,8 @@ export type SharePointFoldersInput = {
13222
13287
  clientId?: InputMaybe<Scalars['String']['input']>;
13223
13288
  /** Microsoft Entra ID client secret, requires User authentication type. */
13224
13289
  clientSecret?: InputMaybe<Scalars['String']['input']>;
13290
+ /** Connector identifier, for Connector authentication type. */
13291
+ connectorId?: InputMaybe<Scalars['String']['input']>;
13225
13292
  /** Microsoft Entra ID refresh token, requires User authentication type. */
13226
13293
  refreshToken?: InputMaybe<Scalars['String']['input']>;
13227
13294
  /** Microsoft Entra ID tenant identifier, requires Application authentication type. */
@@ -13235,6 +13302,8 @@ export type SharePointLibrariesInput = {
13235
13302
  clientId?: InputMaybe<Scalars['String']['input']>;
13236
13303
  /** Microsoft Entra ID client secret, requires User authentication type. */
13237
13304
  clientSecret?: InputMaybe<Scalars['String']['input']>;
13305
+ /** Connector identifier, for Connector authentication type. */
13306
+ connectorId?: InputMaybe<Scalars['String']['input']>;
13238
13307
  /** Microsoft Entra ID refresh token, requires User authentication type. */
13239
13308
  refreshToken?: InputMaybe<Scalars['String']['input']>;
13240
13309
  /** Microsoft Entra ID tenant identifier, requires Application authentication type. */
@@ -15638,6 +15707,8 @@ export type GetConnectorQuery = {
15638
15707
  arcade?: {
15639
15708
  __typename?: 'ArcadeAuthenticationProperties';
15640
15709
  authorizationId: string;
15710
+ provider: ArcadeProviders;
15711
+ metadata?: string | null;
15641
15712
  } | null;
15642
15713
  } | null;
15643
15714
  integration?: {
@@ -15702,6 +15773,8 @@ export type QueryConnectorsQuery = {
15702
15773
  arcade?: {
15703
15774
  __typename?: 'ArcadeAuthenticationProperties';
15704
15775
  authorizationId: string;
15776
+ provider: ArcadeProviders;
15777
+ metadata?: string | null;
15705
15778
  } | null;
15706
15779
  } | null;
15707
15780
  integration?: {
@@ -22395,9 +22468,11 @@ export type GetFeedQuery = {
22395
22468
  __typename?: 'MicrosoftTeamsFeedProperties';
22396
22469
  readLimit?: number | null;
22397
22470
  type?: FeedListingTypes | null;
22398
- clientId: string;
22399
- clientSecret: string;
22400
- refreshToken: string;
22471
+ authenticationType?: MicrosoftTeamsAuthenticationTypes | null;
22472
+ clientId?: string | null;
22473
+ clientSecret?: string | null;
22474
+ refreshToken?: string | null;
22475
+ connectorId?: string | null;
22401
22476
  teamId: string;
22402
22477
  channelId: string;
22403
22478
  } | null;
@@ -22793,9 +22868,11 @@ export type QueryFeedsQuery = {
22793
22868
  __typename?: 'MicrosoftTeamsFeedProperties';
22794
22869
  readLimit?: number | null;
22795
22870
  type?: FeedListingTypes | null;
22796
- clientId: string;
22797
- clientSecret: string;
22798
- refreshToken: string;
22871
+ authenticationType?: MicrosoftTeamsAuthenticationTypes | null;
22872
+ clientId?: string | null;
22873
+ clientSecret?: string | null;
22874
+ refreshToken?: string | null;
22875
+ connectorId?: string | null;
22799
22876
  teamId: string;
22800
22877
  channelId: string;
22801
22878
  } | null;
@@ -26236,6 +26313,8 @@ export type GetUserQuery = {
26236
26313
  arcade?: {
26237
26314
  __typename?: 'ArcadeAuthenticationProperties';
26238
26315
  authorizationId: string;
26316
+ provider: ArcadeProviders;
26317
+ metadata?: string | null;
26239
26318
  } | null;
26240
26319
  } | null;
26241
26320
  integration?: {
@@ -26306,6 +26385,8 @@ export type GetUserByIdentifierQuery = {
26306
26385
  arcade?: {
26307
26386
  __typename?: 'ArcadeAuthenticationProperties';
26308
26387
  authorizationId: string;
26388
+ provider: ArcadeProviders;
26389
+ metadata?: string | null;
26309
26390
  } | null;
26310
26391
  } | null;
26311
26392
  integration?: {
@@ -26379,6 +26460,8 @@ export type QueryUsersQuery = {
26379
26460
  arcade?: {
26380
26461
  __typename?: 'ArcadeAuthenticationProperties';
26381
26462
  authorizationId: string;
26463
+ provider: ArcadeProviders;
26464
+ metadata?: string | null;
26382
26465
  } | null;
26383
26466
  } | null;
26384
26467
  integration?: {
@@ -64,6 +64,16 @@ export var ApplyPolicy;
64
64
  /** The policy is applied in the validation step before the execution. */
65
65
  ApplyPolicy["Validation"] = "VALIDATION";
66
66
  })(ApplyPolicy || (ApplyPolicy = {}));
67
+ /** Arcade authentication providers */
68
+ export var ArcadeProviders;
69
+ (function (ArcadeProviders) {
70
+ /** GitHub Arcade provider */
71
+ ArcadeProviders["GitHub"] = "GIT_HUB";
72
+ /** Google Arcade provider */
73
+ ArcadeProviders["Google"] = "GOOGLE";
74
+ /** Microsoft Arcade provider */
75
+ ArcadeProviders["Microsoft"] = "MICROSOFT";
76
+ })(ArcadeProviders || (ArcadeProviders = {}));
67
77
  /** Assembly.AI models */
68
78
  export var AssemblyAiModels;
69
79
  (function (AssemblyAiModels) {
@@ -1373,6 +1383,11 @@ export var MicrosoftEmailAuthenticationTypes;
1373
1383
  MicrosoftEmailAuthenticationTypes["Connector"] = "CONNECTOR";
1374
1384
  MicrosoftEmailAuthenticationTypes["User"] = "USER";
1375
1385
  })(MicrosoftEmailAuthenticationTypes || (MicrosoftEmailAuthenticationTypes = {}));
1386
+ export var MicrosoftTeamsAuthenticationTypes;
1387
+ (function (MicrosoftTeamsAuthenticationTypes) {
1388
+ MicrosoftTeamsAuthenticationTypes["Connector"] = "CONNECTOR";
1389
+ MicrosoftTeamsAuthenticationTypes["User"] = "USER";
1390
+ })(MicrosoftTeamsAuthenticationTypes || (MicrosoftTeamsAuthenticationTypes = {}));
1376
1391
  /** Mistral model type */
1377
1392
  export var MistralModels;
1378
1393
  (function (MistralModels) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250628002",
3
+ "version": "1.0.20250628003",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",