graphlit-client 1.0.20250628002 → 1.0.20250628004

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.
@@ -611,8 +611,15 @@ export const GetConnector = gql `
611
611
  clientId
612
612
  clientSecret
613
613
  }
614
+ oauth {
615
+ refreshToken
616
+ provider
617
+ metadata
618
+ }
614
619
  arcade {
615
620
  authorizationId
621
+ provider
622
+ metadata
616
623
  }
617
624
  }
618
625
  integration {
@@ -661,8 +668,15 @@ export const QueryConnectors = gql `
661
668
  clientId
662
669
  clientSecret
663
670
  }
671
+ oauth {
672
+ refreshToken
673
+ provider
674
+ metadata
675
+ }
664
676
  arcade {
665
677
  authorizationId
678
+ provider
679
+ metadata
666
680
  }
667
681
  }
668
682
  integration {
@@ -6436,14 +6450,18 @@ export const GetFeed = gql `
6436
6450
  connectorId
6437
6451
  }
6438
6452
  dropbox {
6453
+ authenticationType
6439
6454
  path
6455
+ connectorId
6440
6456
  appKey
6441
6457
  appSecret
6442
6458
  refreshToken
6443
6459
  redirectUri
6444
6460
  }
6445
6461
  box {
6462
+ authenticationType
6446
6463
  folderId
6464
+ connectorId
6447
6465
  clientId
6448
6466
  clientSecret
6449
6467
  refreshToken
@@ -6611,9 +6629,11 @@ export const GetFeed = gql `
6611
6629
  microsoftTeams {
6612
6630
  readLimit
6613
6631
  type
6632
+ authenticationType
6614
6633
  clientId
6615
6634
  clientSecret
6616
6635
  refreshToken
6636
+ connectorId
6617
6637
  teamId
6618
6638
  channelId
6619
6639
  }
@@ -6766,14 +6786,18 @@ export const QueryFeeds = gql `
6766
6786
  connectorId
6767
6787
  }
6768
6788
  dropbox {
6789
+ authenticationType
6769
6790
  path
6791
+ connectorId
6770
6792
  appKey
6771
6793
  appSecret
6772
6794
  refreshToken
6773
6795
  redirectUri
6774
6796
  }
6775
6797
  box {
6798
+ authenticationType
6776
6799
  folderId
6800
+ connectorId
6777
6801
  clientId
6778
6802
  clientSecret
6779
6803
  refreshToken
@@ -6941,9 +6965,11 @@ export const QueryFeeds = gql `
6941
6965
  microsoftTeams {
6942
6966
  readLimit
6943
6967
  type
6968
+ authenticationType
6944
6969
  clientId
6945
6970
  clientSecret
6946
6971
  refreshToken
6972
+ connectorId
6947
6973
  teamId
6948
6974
  channelId
6949
6975
  }
@@ -9674,8 +9700,15 @@ export const GetUser = gql `
9674
9700
  clientId
9675
9701
  clientSecret
9676
9702
  }
9703
+ oauth {
9704
+ refreshToken
9705
+ provider
9706
+ metadata
9707
+ }
9677
9708
  arcade {
9678
9709
  authorizationId
9710
+ provider
9711
+ metadata
9679
9712
  }
9680
9713
  }
9681
9714
  integration {
@@ -9731,8 +9764,15 @@ export const GetUserByIdentifier = gql `
9731
9764
  clientId
9732
9765
  clientSecret
9733
9766
  }
9767
+ oauth {
9768
+ refreshToken
9769
+ provider
9770
+ metadata
9771
+ }
9734
9772
  arcade {
9735
9773
  authorizationId
9774
+ provider
9775
+ metadata
9736
9776
  }
9737
9777
  }
9738
9778
  integration {
@@ -9789,8 +9829,15 @@ export const QueryUsers = gql `
9789
9829
  clientId
9790
9830
  clientSecret
9791
9831
  }
9832
+ oauth {
9833
+ refreshToken
9834
+ provider
9835
+ metadata
9836
+ }
9792
9837
  arcade {
9793
9838
  authorizationId
9839
+ provider
9840
+ metadata
9794
9841
  }
9795
9842
  }
9796
9843
  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';
@@ -614,6 +631,8 @@ export type AuthenticationConnector = {
614
631
  google?: Maybe<GoogleAuthenticationProperties>;
615
632
  /** Microsoft authentication properties. */
616
633
  microsoft?: Maybe<MicrosoftAuthenticationProperties>;
634
+ /** OAuth authentication properties. */
635
+ oauth?: Maybe<OAuthAuthenticationProperties>;
617
636
  /** Authentication service type. */
618
637
  type: AuthenticationServiceTypes;
619
638
  };
@@ -625,6 +644,8 @@ export type AuthenticationConnectorInput = {
625
644
  google?: InputMaybe<GoogleAuthenticationPropertiesInput>;
626
645
  /** Microsoft authentication properties. */
627
646
  microsoft?: InputMaybe<MicrosoftAuthenticationPropertiesInput>;
647
+ /** OAuth authentication properties. */
648
+ oauth?: InputMaybe<OAuthAuthenticationPropertiesInput>;
628
649
  /** Authentication service type. */
629
650
  type: AuthenticationServiceTypes;
630
651
  };
@@ -639,7 +660,9 @@ export declare enum AuthenticationServiceTypes {
639
660
  /** Google authentication service */
640
661
  Google = "GOOGLE",
641
662
  /** Microsoft Graph authentication service */
642
- MicrosoftGraph = "MICROSOFT_GRAPH"
663
+ MicrosoftGraph = "MICROSOFT_GRAPH",
664
+ /** OAuth authentication service */
665
+ OAuth = "O_AUTH"
643
666
  }
644
667
  /** Represents Azure AI model properties. */
645
668
  export type AzureAiModelProperties = {
@@ -1061,13 +1084,21 @@ export type BoundingBoxInput = {
1061
1084
  /** The width of the bounding box. */
1062
1085
  width?: InputMaybe<Scalars['Float']['input']>;
1063
1086
  };
1087
+ export declare enum BoxAuthenticationTypes {
1088
+ Connector = "CONNECTOR",
1089
+ User = "USER"
1090
+ }
1064
1091
  /** Represents Box properties. */
1065
1092
  export type BoxFeedProperties = {
1066
1093
  __typename?: 'BoxFeedProperties';
1094
+ /** Box authentication type. */
1095
+ authenticationType?: Maybe<BoxAuthenticationTypes>;
1067
1096
  /** Box client identifier. */
1068
1097
  clientId: Scalars['String']['output'];
1069
1098
  /** Box client secret. */
1070
1099
  clientSecret: Scalars['String']['output'];
1100
+ /** The OAuth authentication connector identifier, if using connector authentication. */
1101
+ connectorId?: Maybe<Scalars['ID']['output']>;
1071
1102
  /** Box folder identifier. */
1072
1103
  folderId?: Maybe<Scalars['ID']['output']>;
1073
1104
  /** Box redirect URI. */
@@ -1077,23 +1108,31 @@ export type BoxFeedProperties = {
1077
1108
  };
1078
1109
  /** Represents Box properties. */
1079
1110
  export type BoxFeedPropertiesInput = {
1111
+ /** Box authentication type. */
1112
+ authenticationType?: InputMaybe<BoxAuthenticationTypes>;
1080
1113
  /** Box client identifier. */
1081
- clientId: Scalars['String']['input'];
1114
+ clientId?: InputMaybe<Scalars['String']['input']>;
1082
1115
  /** Box client secret. */
1083
- clientSecret: Scalars['String']['input'];
1116
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
1117
+ /** The OAuth authentication connector identifier, if using connector authentication. */
1118
+ connectorId?: InputMaybe<Scalars['ID']['input']>;
1084
1119
  /** Box folder identifier. */
1085
1120
  folderId?: InputMaybe<Scalars['ID']['input']>;
1086
1121
  /** Box redirect URI. */
1087
- redirectUri: Scalars['String']['input'];
1122
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1088
1123
  /** Box refresh token. */
1089
- refreshToken: Scalars['String']['input'];
1124
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
1090
1125
  };
1091
1126
  /** Represents Box properties. */
1092
1127
  export type BoxFeedPropertiesUpdateInput = {
1128
+ /** Box authentication type. */
1129
+ authenticationType?: InputMaybe<BoxAuthenticationTypes>;
1093
1130
  /** Box client identifier. */
1094
1131
  clientId?: InputMaybe<Scalars['String']['input']>;
1095
1132
  /** Box client secret. */
1096
1133
  clientSecret?: InputMaybe<Scalars['String']['input']>;
1134
+ /** The OAuth authentication connector identifier, if using connector authentication. */
1135
+ connectorId?: InputMaybe<Scalars['ID']['input']>;
1097
1136
  /** Box folder identifier. */
1098
1137
  folderId?: InputMaybe<Scalars['ID']['input']>;
1099
1138
  /** Box redirect URI. */
@@ -3233,6 +3272,10 @@ export type DrawingMetadataInput = {
3233
3272
  /** The drawing Y origin. */
3234
3273
  y?: InputMaybe<Scalars['Float']['input']>;
3235
3274
  };
3275
+ export declare enum DropboxAuthenticationTypes {
3276
+ Connector = "CONNECTOR",
3277
+ User = "USER"
3278
+ }
3236
3279
  /** Represents Dropbox properties. */
3237
3280
  export type DropboxFeedProperties = {
3238
3281
  __typename?: 'DropboxFeedProperties';
@@ -3240,6 +3283,10 @@ export type DropboxFeedProperties = {
3240
3283
  appKey: Scalars['String']['output'];
3241
3284
  /** Dropbox app secret. */
3242
3285
  appSecret: Scalars['String']['output'];
3286
+ /** Dropbox authentication type. */
3287
+ authenticationType?: Maybe<DropboxAuthenticationTypes>;
3288
+ /** The OAuth authentication connector identifier, if using connector authentication. */
3289
+ connectorId?: Maybe<Scalars['ID']['output']>;
3243
3290
  /** Dropbox folder path. */
3244
3291
  path?: Maybe<Scalars['ID']['output']>;
3245
3292
  /** Dropbox redirect URI. */
@@ -3250,15 +3297,19 @@ export type DropboxFeedProperties = {
3250
3297
  /** Represents Dropbox properties. */
3251
3298
  export type DropboxFeedPropertiesInput = {
3252
3299
  /** Dropbox app key. */
3253
- appKey: Scalars['String']['input'];
3300
+ appKey?: InputMaybe<Scalars['String']['input']>;
3254
3301
  /** Dropbox app secret. */
3255
- appSecret: Scalars['String']['input'];
3302
+ appSecret?: InputMaybe<Scalars['String']['input']>;
3303
+ /** Dropbox authentication type. */
3304
+ authenticationType?: InputMaybe<DropboxAuthenticationTypes>;
3305
+ /** The OAuth authentication connector identifier, if using connector authentication. */
3306
+ connectorId?: InputMaybe<Scalars['ID']['input']>;
3256
3307
  /** Dropbox folder path. */
3257
3308
  path?: InputMaybe<Scalars['ID']['input']>;
3258
3309
  /** Dropbox redirect URI. */
3259
- redirectUri: Scalars['String']['input'];
3310
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
3260
3311
  /** Dropbox refresh token. */
3261
- refreshToken: Scalars['String']['input'];
3312
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
3262
3313
  };
3263
3314
  /** Represents Dropbox properties. */
3264
3315
  export type DropboxFeedPropertiesUpdateInput = {
@@ -3266,6 +3317,10 @@ export type DropboxFeedPropertiesUpdateInput = {
3266
3317
  appKey?: InputMaybe<Scalars['String']['input']>;
3267
3318
  /** Dropbox app secret. */
3268
3319
  appSecret?: InputMaybe<Scalars['String']['input']>;
3320
+ /** Dropbox authentication type. */
3321
+ authenticationType?: InputMaybe<DropboxAuthenticationTypes>;
3322
+ /** The OAuth authentication connector identifier, if using connector authentication. */
3323
+ connectorId?: InputMaybe<Scalars['ID']['input']>;
3269
3324
  /** Dropbox folder path. */
3270
3325
  path?: InputMaybe<Scalars['ID']['input']>;
3271
3326
  /** Dropbox redirect URI. */
@@ -4776,10 +4831,14 @@ export type GoogleCalendarFeedPropertiesUpdateInput = {
4776
4831
  };
4777
4832
  /** Represents Google Calendar properties. */
4778
4833
  export type GoogleCalendarsInput = {
4834
+ /** Google Calendar authentication type, defaults to User. */
4835
+ authenticationType?: InputMaybe<GoogleCalendarAuthenticationTypes>;
4779
4836
  /** Google OAuth2 client identifier. */
4780
4837
  clientId: Scalars['String']['input'];
4781
4838
  /** Google OAuth2 client secret. */
4782
4839
  clientSecret: Scalars['String']['input'];
4840
+ /** Connector identifier, for Connector authentication type. */
4841
+ connectorId?: InputMaybe<Scalars['String']['input']>;
4783
4842
  /** Google OAuth2 refresh token. */
4784
4843
  refreshToken: Scalars['String']['input'];
4785
4844
  };
@@ -4862,10 +4921,14 @@ export type GoogleDriveFolderResults = {
4862
4921
  };
4863
4922
  /** Represents Google Drive folders properties. */
4864
4923
  export type GoogleDriveFoldersInput = {
4924
+ /** Google Drive authentication type, defaults to User. */
4925
+ authenticationType?: InputMaybe<GoogleDriveAuthenticationTypes>;
4865
4926
  /** Google OAuth2 client identifier. */
4866
4927
  clientId: Scalars['String']['input'];
4867
4928
  /** Google OAuth2 client secret. */
4868
4929
  clientSecret: Scalars['String']['input'];
4930
+ /** Connector identifier, for Connector authentication type. */
4931
+ connectorId?: InputMaybe<Scalars['String']['input']>;
4869
4932
  /** Google OAuth2 refresh token. */
4870
4933
  refreshToken: Scalars['String']['input'];
4871
4934
  };
@@ -7921,10 +7984,14 @@ export type MicrosoftCalendarFeedPropertiesUpdateInput = {
7921
7984
  };
7922
7985
  /** Represents Microsoft Calendar properties. */
7923
7986
  export type MicrosoftCalendarsInput = {
7987
+ /** Microsoft Calendar authentication type, defaults to User. */
7988
+ authenticationType?: InputMaybe<MicrosoftCalendarAuthenticationTypes>;
7924
7989
  /** Microsoft Entra ID client identifier. */
7925
7990
  clientId: Scalars['String']['input'];
7926
7991
  /** Microsoft Entra ID client secret. */
7927
7992
  clientSecret: Scalars['String']['input'];
7993
+ /** Connector identifier, for Connector authentication type. */
7994
+ connectorId?: InputMaybe<Scalars['String']['input']>;
7928
7995
  /** Microsoft Entra ID refresh token. */
7929
7996
  refreshToken: Scalars['String']['input'];
7930
7997
  };
@@ -8002,6 +8069,10 @@ export type MicrosoftEmailFeedPropertiesUpdateInput = {
8002
8069
  /** Email listing type, i.e. past or new emails. */
8003
8070
  type?: InputMaybe<EmailListingTypes>;
8004
8071
  };
8072
+ export declare enum MicrosoftTeamsAuthenticationTypes {
8073
+ Connector = "CONNECTOR",
8074
+ User = "USER"
8075
+ }
8005
8076
  /** Represents a Microsoft Teams channel. */
8006
8077
  export type MicrosoftTeamsChannelResult = {
8007
8078
  __typename?: 'MicrosoftTeamsChannelResult';
@@ -8018,22 +8089,34 @@ export type MicrosoftTeamsChannelResults = {
8018
8089
  };
8019
8090
  /** Represents Microsoft Teams team channels properties. */
8020
8091
  export type MicrosoftTeamsChannelsInput = {
8021
- /** Microsoft Teams refresh token. */
8022
- refreshToken: Scalars['String']['input'];
8092
+ /** Microsoft Teams authentication type, defaults to User. */
8093
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8094
+ /** Microsoft Teams client identifier, requires User authentication type. */
8095
+ clientId?: InputMaybe<Scalars['String']['input']>;
8096
+ /** Microsoft Teams client secret, requires User authentication type. */
8097
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8098
+ /** Connector identifier, for Connector authentication type. */
8099
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8100
+ /** Microsoft Teams refresh token, requires User authentication type. */
8101
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8023
8102
  };
8024
8103
  /** Represents Microsoft Teams feed properties. */
8025
8104
  export type MicrosoftTeamsFeedProperties = {
8026
8105
  __typename?: 'MicrosoftTeamsFeedProperties';
8106
+ /** Microsoft Teams authentication type. */
8107
+ authenticationType?: Maybe<MicrosoftTeamsAuthenticationTypes>;
8027
8108
  /** Microsoft Teams channel identifier. */
8028
8109
  channelId: Scalars['String']['output'];
8029
8110
  /** Microsoft Teams client identifier. */
8030
- clientId: Scalars['String']['output'];
8111
+ clientId?: Maybe<Scalars['String']['output']>;
8031
8112
  /** Microsoft Teams client secret. */
8032
- clientSecret: Scalars['String']['output'];
8113
+ clientSecret?: Maybe<Scalars['String']['output']>;
8114
+ /** Microsoft Teams connector identifier. */
8115
+ connectorId?: Maybe<Scalars['String']['output']>;
8033
8116
  /** The limit of items to be read from feed, defaults to 100. */
8034
8117
  readLimit?: Maybe<Scalars['Int']['output']>;
8035
8118
  /** Microsoft Teams refresh token. */
8036
- refreshToken: Scalars['String']['output'];
8119
+ refreshToken?: Maybe<Scalars['String']['output']>;
8037
8120
  /** Microsoft Teams team identifier. */
8038
8121
  teamId: Scalars['String']['output'];
8039
8122
  /** Feed listing type, i.e. past or new messages. */
@@ -8041,16 +8124,20 @@ export type MicrosoftTeamsFeedProperties = {
8041
8124
  };
8042
8125
  /** Represents Microsoft Teams feed properties. */
8043
8126
  export type MicrosoftTeamsFeedPropertiesInput = {
8127
+ /** Microsoft Teams authentication type, defaults to User. */
8128
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8044
8129
  /** Microsoft Teams channel identifier. */
8045
8130
  channelId: Scalars['String']['input'];
8046
- /** Microsoft Teams client identifier. */
8047
- clientId: Scalars['String']['input'];
8048
- /** Microsoft Teams client secret. */
8049
- clientSecret: Scalars['String']['input'];
8131
+ /** Microsoft Teams client identifier, requires User authentication type. */
8132
+ clientId?: InputMaybe<Scalars['String']['input']>;
8133
+ /** Microsoft Teams client secret, requires User authentication type. */
8134
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8135
+ /** Connector identifier, for Connector authentication type. */
8136
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8050
8137
  /** The limit of items to be read from feed, defaults to 100. */
8051
8138
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8052
- /** Microsoft Teams refresh token. */
8053
- refreshToken: Scalars['String']['input'];
8139
+ /** Microsoft Teams refresh token, requires User authentication type. */
8140
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8054
8141
  /** Microsoft Teams team identifier. */
8055
8142
  teamId: Scalars['String']['input'];
8056
8143
  /** Feed listing type, i.e. past or new messages. */
@@ -8058,15 +8145,19 @@ export type MicrosoftTeamsFeedPropertiesInput = {
8058
8145
  };
8059
8146
  /** Represents Microsoft Teams feed properties. */
8060
8147
  export type MicrosoftTeamsFeedPropertiesUpdateInput = {
8148
+ /** Microsoft Teams authentication type, defaults to User. */
8149
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8061
8150
  /** Microsoft Teams channel identifier. */
8062
8151
  channelId: Scalars['String']['input'];
8063
- /** Microsoft Teams client identifier. */
8152
+ /** Microsoft Teams client identifier, requires User authentication type. */
8064
8153
  clientId?: InputMaybe<Scalars['String']['input']>;
8065
- /** Microsoft Teams client secret. */
8154
+ /** Microsoft Teams client secret, requires User authentication type. */
8066
8155
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8156
+ /** Connector identifier, for Connector authentication type. */
8157
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8067
8158
  /** The limit of items to be read from feed, defaults to 100. */
8068
8159
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8069
- /** Microsoft Teams refresh token. */
8160
+ /** Microsoft Teams refresh token, requires User authentication type. */
8070
8161
  refreshToken?: InputMaybe<Scalars['String']['input']>;
8071
8162
  /** Microsoft Teams team identifier. */
8072
8163
  teamId: Scalars['String']['input'];
@@ -8089,8 +8180,16 @@ export type MicrosoftTeamsTeamResults = {
8089
8180
  };
8090
8181
  /** Represents Microsoft Teams teams properties. */
8091
8182
  export type MicrosoftTeamsTeamsInput = {
8092
- /** Microsoft Teams refresh token. */
8093
- refreshToken: Scalars['String']['input'];
8183
+ /** Microsoft Teams authentication type, defaults to User. */
8184
+ authenticationType?: InputMaybe<MicrosoftTeamsAuthenticationTypes>;
8185
+ /** Microsoft Teams client identifier, requires User authentication type. */
8186
+ clientId?: InputMaybe<Scalars['String']['input']>;
8187
+ /** Microsoft Teams client secret, requires User authentication type. */
8188
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
8189
+ /** Connector identifier, for Connector authentication type. */
8190
+ connectorId?: InputMaybe<Scalars['String']['input']>;
8191
+ /** Microsoft Teams refresh token, requires User authentication type. */
8192
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
8094
8193
  };
8095
8194
  /** Represents the Mistral document preparation properties. */
8096
8195
  export type MistralDocumentPreparationProperties = {
@@ -9767,6 +9866,32 @@ export declare enum NotionTypes {
9767
9866
  /** Notion Page */
9768
9867
  Page = "PAGE"
9769
9868
  }
9869
+ /** Represents OAuth authentication properties. */
9870
+ export type OAuthAuthenticationProperties = {
9871
+ __typename?: 'OAuthAuthenticationProperties';
9872
+ /** OAuth metadata. */
9873
+ metadata?: Maybe<Scalars['String']['output']>;
9874
+ /** OAuth provider. */
9875
+ provider: OAuthProviders;
9876
+ /** OAuth refresh token. */
9877
+ refreshToken: Scalars['String']['output'];
9878
+ };
9879
+ /** Represents OAuth authentication properties. */
9880
+ export type OAuthAuthenticationPropertiesInput = {
9881
+ /** OAuth metadata. */
9882
+ metadata?: InputMaybe<Scalars['String']['input']>;
9883
+ /** OAuth provider. */
9884
+ provider: OAuthProviders;
9885
+ /** OAuth refresh token. */
9886
+ refreshToken: Scalars['String']['input'];
9887
+ };
9888
+ /** OAuth authentication providers */
9889
+ export declare enum OAuthProviders {
9890
+ /** Box authentication provider */
9891
+ Box = "BOX",
9892
+ /** Dropbox authentication provider */
9893
+ Dropbox = "DROPBOX"
9894
+ }
9770
9895
  /** Represents an observable facet. */
9771
9896
  export type ObservableFacet = {
9772
9897
  __typename?: 'ObservableFacet';
@@ -10033,10 +10158,14 @@ export type OneDriveFolderResults = {
10033
10158
  };
10034
10159
  /** Represents OneDrive folders properties. */
10035
10160
  export type OneDriveFoldersInput = {
10161
+ /** OneDrive authentication type, defaults to User. */
10162
+ authenticationType?: InputMaybe<OneDriveAuthenticationTypes>;
10036
10163
  /** Microsoft Entra ID client identifier. */
10037
10164
  clientId: Scalars['String']['input'];
10038
10165
  /** Microsoft Entra ID client secret. */
10039
10166
  clientSecret: Scalars['String']['input'];
10167
+ /** Connector identifier, for Connector authentication type. */
10168
+ connectorId?: InputMaybe<Scalars['String']['input']>;
10040
10169
  /** Microsoft Entra ID refresh token. */
10041
10170
  refreshToken: Scalars['String']['input'];
10042
10171
  };
@@ -13222,6 +13351,8 @@ export type SharePointFoldersInput = {
13222
13351
  clientId?: InputMaybe<Scalars['String']['input']>;
13223
13352
  /** Microsoft Entra ID client secret, requires User authentication type. */
13224
13353
  clientSecret?: InputMaybe<Scalars['String']['input']>;
13354
+ /** Connector identifier, for Connector authentication type. */
13355
+ connectorId?: InputMaybe<Scalars['String']['input']>;
13225
13356
  /** Microsoft Entra ID refresh token, requires User authentication type. */
13226
13357
  refreshToken?: InputMaybe<Scalars['String']['input']>;
13227
13358
  /** Microsoft Entra ID tenant identifier, requires Application authentication type. */
@@ -13235,6 +13366,8 @@ export type SharePointLibrariesInput = {
13235
13366
  clientId?: InputMaybe<Scalars['String']['input']>;
13236
13367
  /** Microsoft Entra ID client secret, requires User authentication type. */
13237
13368
  clientSecret?: InputMaybe<Scalars['String']['input']>;
13369
+ /** Connector identifier, for Connector authentication type. */
13370
+ connectorId?: InputMaybe<Scalars['String']['input']>;
13238
13371
  /** Microsoft Entra ID refresh token, requires User authentication type. */
13239
13372
  refreshToken?: InputMaybe<Scalars['String']['input']>;
13240
13373
  /** Microsoft Entra ID tenant identifier, requires Application authentication type. */
@@ -15635,9 +15768,17 @@ export type GetConnectorQuery = {
15635
15768
  clientId: string;
15636
15769
  clientSecret: string;
15637
15770
  } | null;
15771
+ oauth?: {
15772
+ __typename?: 'OAuthAuthenticationProperties';
15773
+ refreshToken: string;
15774
+ provider: OAuthProviders;
15775
+ metadata?: string | null;
15776
+ } | null;
15638
15777
  arcade?: {
15639
15778
  __typename?: 'ArcadeAuthenticationProperties';
15640
15779
  authorizationId: string;
15780
+ provider: ArcadeProviders;
15781
+ metadata?: string | null;
15641
15782
  } | null;
15642
15783
  } | null;
15643
15784
  integration?: {
@@ -15699,9 +15840,17 @@ export type QueryConnectorsQuery = {
15699
15840
  clientId: string;
15700
15841
  clientSecret: string;
15701
15842
  } | null;
15843
+ oauth?: {
15844
+ __typename?: 'OAuthAuthenticationProperties';
15845
+ refreshToken: string;
15846
+ provider: OAuthProviders;
15847
+ metadata?: string | null;
15848
+ } | null;
15702
15849
  arcade?: {
15703
15850
  __typename?: 'ArcadeAuthenticationProperties';
15704
15851
  authorizationId: string;
15852
+ provider: ArcadeProviders;
15853
+ metadata?: string | null;
15705
15854
  } | null;
15706
15855
  } | null;
15707
15856
  integration?: {
@@ -22195,7 +22344,9 @@ export type GetFeedQuery = {
22195
22344
  } | null;
22196
22345
  dropbox?: {
22197
22346
  __typename?: 'DropboxFeedProperties';
22347
+ authenticationType?: DropboxAuthenticationTypes | null;
22198
22348
  path?: string | null;
22349
+ connectorId?: string | null;
22199
22350
  appKey: string;
22200
22351
  appSecret: string;
22201
22352
  refreshToken: string;
@@ -22203,7 +22354,9 @@ export type GetFeedQuery = {
22203
22354
  } | null;
22204
22355
  box?: {
22205
22356
  __typename?: 'BoxFeedProperties';
22357
+ authenticationType?: BoxAuthenticationTypes | null;
22206
22358
  folderId?: string | null;
22359
+ connectorId?: string | null;
22207
22360
  clientId: string;
22208
22361
  clientSecret: string;
22209
22362
  refreshToken: string;
@@ -22395,9 +22548,11 @@ export type GetFeedQuery = {
22395
22548
  __typename?: 'MicrosoftTeamsFeedProperties';
22396
22549
  readLimit?: number | null;
22397
22550
  type?: FeedListingTypes | null;
22398
- clientId: string;
22399
- clientSecret: string;
22400
- refreshToken: string;
22551
+ authenticationType?: MicrosoftTeamsAuthenticationTypes | null;
22552
+ clientId?: string | null;
22553
+ clientSecret?: string | null;
22554
+ refreshToken?: string | null;
22555
+ connectorId?: string | null;
22401
22556
  teamId: string;
22402
22557
  channelId: string;
22403
22558
  } | null;
@@ -22593,7 +22748,9 @@ export type QueryFeedsQuery = {
22593
22748
  } | null;
22594
22749
  dropbox?: {
22595
22750
  __typename?: 'DropboxFeedProperties';
22751
+ authenticationType?: DropboxAuthenticationTypes | null;
22596
22752
  path?: string | null;
22753
+ connectorId?: string | null;
22597
22754
  appKey: string;
22598
22755
  appSecret: string;
22599
22756
  refreshToken: string;
@@ -22601,7 +22758,9 @@ export type QueryFeedsQuery = {
22601
22758
  } | null;
22602
22759
  box?: {
22603
22760
  __typename?: 'BoxFeedProperties';
22761
+ authenticationType?: BoxAuthenticationTypes | null;
22604
22762
  folderId?: string | null;
22763
+ connectorId?: string | null;
22605
22764
  clientId: string;
22606
22765
  clientSecret: string;
22607
22766
  refreshToken: string;
@@ -22793,9 +22952,11 @@ export type QueryFeedsQuery = {
22793
22952
  __typename?: 'MicrosoftTeamsFeedProperties';
22794
22953
  readLimit?: number | null;
22795
22954
  type?: FeedListingTypes | null;
22796
- clientId: string;
22797
- clientSecret: string;
22798
- refreshToken: string;
22955
+ authenticationType?: MicrosoftTeamsAuthenticationTypes | null;
22956
+ clientId?: string | null;
22957
+ clientSecret?: string | null;
22958
+ refreshToken?: string | null;
22959
+ connectorId?: string | null;
22799
22960
  teamId: string;
22800
22961
  channelId: string;
22801
22962
  } | null;
@@ -26233,9 +26394,17 @@ export type GetUserQuery = {
26233
26394
  clientId: string;
26234
26395
  clientSecret: string;
26235
26396
  } | null;
26397
+ oauth?: {
26398
+ __typename?: 'OAuthAuthenticationProperties';
26399
+ refreshToken: string;
26400
+ provider: OAuthProviders;
26401
+ metadata?: string | null;
26402
+ } | null;
26236
26403
  arcade?: {
26237
26404
  __typename?: 'ArcadeAuthenticationProperties';
26238
26405
  authorizationId: string;
26406
+ provider: ArcadeProviders;
26407
+ metadata?: string | null;
26239
26408
  } | null;
26240
26409
  } | null;
26241
26410
  integration?: {
@@ -26303,9 +26472,17 @@ export type GetUserByIdentifierQuery = {
26303
26472
  clientId: string;
26304
26473
  clientSecret: string;
26305
26474
  } | null;
26475
+ oauth?: {
26476
+ __typename?: 'OAuthAuthenticationProperties';
26477
+ refreshToken: string;
26478
+ provider: OAuthProviders;
26479
+ metadata?: string | null;
26480
+ } | null;
26306
26481
  arcade?: {
26307
26482
  __typename?: 'ArcadeAuthenticationProperties';
26308
26483
  authorizationId: string;
26484
+ provider: ArcadeProviders;
26485
+ metadata?: string | null;
26309
26486
  } | null;
26310
26487
  } | null;
26311
26488
  integration?: {
@@ -26376,9 +26553,17 @@ export type QueryUsersQuery = {
26376
26553
  clientId: string;
26377
26554
  clientSecret: string;
26378
26555
  } | null;
26556
+ oauth?: {
26557
+ __typename?: 'OAuthAuthenticationProperties';
26558
+ refreshToken: string;
26559
+ provider: OAuthProviders;
26560
+ metadata?: string | null;
26561
+ } | null;
26379
26562
  arcade?: {
26380
26563
  __typename?: 'ArcadeAuthenticationProperties';
26381
26564
  authorizationId: string;
26565
+ provider: ArcadeProviders;
26566
+ metadata?: string | null;
26382
26567
  } | null;
26383
26568
  } | null;
26384
26569
  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) {
@@ -85,6 +95,8 @@ export var AuthenticationServiceTypes;
85
95
  AuthenticationServiceTypes["Google"] = "GOOGLE";
86
96
  /** Microsoft Graph authentication service */
87
97
  AuthenticationServiceTypes["MicrosoftGraph"] = "MICROSOFT_GRAPH";
98
+ /** OAuth authentication service */
99
+ AuthenticationServiceTypes["OAuth"] = "O_AUTH";
88
100
  })(AuthenticationServiceTypes || (AuthenticationServiceTypes = {}));
89
101
  export var AzureDocumentIntelligenceModels;
90
102
  (function (AzureDocumentIntelligenceModels) {
@@ -191,6 +203,11 @@ export var BillableMetrics;
191
203
  BillableMetrics["Tokens"] = "TOKENS";
192
204
  BillableMetrics["Units"] = "UNITS";
193
205
  })(BillableMetrics || (BillableMetrics = {}));
206
+ export var BoxAuthenticationTypes;
207
+ (function (BoxAuthenticationTypes) {
208
+ BoxAuthenticationTypes["Connector"] = "CONNECTOR";
209
+ BoxAuthenticationTypes["User"] = "USER";
210
+ })(BoxAuthenticationTypes || (BoxAuthenticationTypes = {}));
194
211
  /** Calendar attendee response status */
195
212
  export var CalendarAttendeeResponseStatus;
196
213
  (function (CalendarAttendeeResponseStatus) {
@@ -551,6 +568,11 @@ export var DeviceTypes;
551
568
  /** Unknown */
552
569
  DeviceTypes["Unknown"] = "UNKNOWN";
553
570
  })(DeviceTypes || (DeviceTypes = {}));
571
+ export var DropboxAuthenticationTypes;
572
+ (function (DropboxAuthenticationTypes) {
573
+ DropboxAuthenticationTypes["Connector"] = "CONNECTOR";
574
+ DropboxAuthenticationTypes["User"] = "USER";
575
+ })(DropboxAuthenticationTypes || (DropboxAuthenticationTypes = {}));
554
576
  /** ElevenLabs models */
555
577
  export var ElevenLabsModels;
556
578
  (function (ElevenLabsModels) {
@@ -1373,6 +1395,11 @@ export var MicrosoftEmailAuthenticationTypes;
1373
1395
  MicrosoftEmailAuthenticationTypes["Connector"] = "CONNECTOR";
1374
1396
  MicrosoftEmailAuthenticationTypes["User"] = "USER";
1375
1397
  })(MicrosoftEmailAuthenticationTypes || (MicrosoftEmailAuthenticationTypes = {}));
1398
+ export var MicrosoftTeamsAuthenticationTypes;
1399
+ (function (MicrosoftTeamsAuthenticationTypes) {
1400
+ MicrosoftTeamsAuthenticationTypes["Connector"] = "CONNECTOR";
1401
+ MicrosoftTeamsAuthenticationTypes["User"] = "USER";
1402
+ })(MicrosoftTeamsAuthenticationTypes || (MicrosoftTeamsAuthenticationTypes = {}));
1376
1403
  /** Mistral model type */
1377
1404
  export var MistralModels;
1378
1405
  (function (MistralModels) {
@@ -1448,6 +1475,14 @@ export var NotionTypes;
1448
1475
  /** Notion Page */
1449
1476
  NotionTypes["Page"] = "PAGE";
1450
1477
  })(NotionTypes || (NotionTypes = {}));
1478
+ /** OAuth authentication providers */
1479
+ export var OAuthProviders;
1480
+ (function (OAuthProviders) {
1481
+ /** Box authentication provider */
1482
+ OAuthProviders["Box"] = "BOX";
1483
+ /** Dropbox authentication provider */
1484
+ OAuthProviders["Dropbox"] = "DROPBOX";
1485
+ })(OAuthProviders || (OAuthProviders = {}));
1451
1486
  /** Observable type */
1452
1487
  export var ObservableTypes;
1453
1488
  (function (ObservableTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250628002",
3
+ "version": "1.0.20250628004",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",