graphlit-client 1.0.20250628003 → 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,6 +611,11 @@ 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
616
621
  provider
@@ -663,6 +668,11 @@ export const QueryConnectors = gql `
663
668
  clientId
664
669
  clientSecret
665
670
  }
671
+ oauth {
672
+ refreshToken
673
+ provider
674
+ metadata
675
+ }
666
676
  arcade {
667
677
  authorizationId
668
678
  provider
@@ -6440,14 +6450,18 @@ export const GetFeed = gql `
6440
6450
  connectorId
6441
6451
  }
6442
6452
  dropbox {
6453
+ authenticationType
6443
6454
  path
6455
+ connectorId
6444
6456
  appKey
6445
6457
  appSecret
6446
6458
  refreshToken
6447
6459
  redirectUri
6448
6460
  }
6449
6461
  box {
6462
+ authenticationType
6450
6463
  folderId
6464
+ connectorId
6451
6465
  clientId
6452
6466
  clientSecret
6453
6467
  refreshToken
@@ -6772,14 +6786,18 @@ export const QueryFeeds = gql `
6772
6786
  connectorId
6773
6787
  }
6774
6788
  dropbox {
6789
+ authenticationType
6775
6790
  path
6791
+ connectorId
6776
6792
  appKey
6777
6793
  appSecret
6778
6794
  refreshToken
6779
6795
  redirectUri
6780
6796
  }
6781
6797
  box {
6798
+ authenticationType
6782
6799
  folderId
6800
+ connectorId
6783
6801
  clientId
6784
6802
  clientSecret
6785
6803
  refreshToken
@@ -9682,6 +9700,11 @@ export const GetUser = gql `
9682
9700
  clientId
9683
9701
  clientSecret
9684
9702
  }
9703
+ oauth {
9704
+ refreshToken
9705
+ provider
9706
+ metadata
9707
+ }
9685
9708
  arcade {
9686
9709
  authorizationId
9687
9710
  provider
@@ -9741,6 +9764,11 @@ export const GetUserByIdentifier = gql `
9741
9764
  clientId
9742
9765
  clientSecret
9743
9766
  }
9767
+ oauth {
9768
+ refreshToken
9769
+ provider
9770
+ metadata
9771
+ }
9744
9772
  arcade {
9745
9773
  authorizationId
9746
9774
  provider
@@ -9801,6 +9829,11 @@ export const QueryUsers = gql `
9801
9829
  clientId
9802
9830
  clientSecret
9803
9831
  }
9832
+ oauth {
9833
+ refreshToken
9834
+ provider
9835
+ metadata
9836
+ }
9804
9837
  arcade {
9805
9838
  authorizationId
9806
9839
  provider
@@ -631,6 +631,8 @@ export type AuthenticationConnector = {
631
631
  google?: Maybe<GoogleAuthenticationProperties>;
632
632
  /** Microsoft authentication properties. */
633
633
  microsoft?: Maybe<MicrosoftAuthenticationProperties>;
634
+ /** OAuth authentication properties. */
635
+ oauth?: Maybe<OAuthAuthenticationProperties>;
634
636
  /** Authentication service type. */
635
637
  type: AuthenticationServiceTypes;
636
638
  };
@@ -642,6 +644,8 @@ export type AuthenticationConnectorInput = {
642
644
  google?: InputMaybe<GoogleAuthenticationPropertiesInput>;
643
645
  /** Microsoft authentication properties. */
644
646
  microsoft?: InputMaybe<MicrosoftAuthenticationPropertiesInput>;
647
+ /** OAuth authentication properties. */
648
+ oauth?: InputMaybe<OAuthAuthenticationPropertiesInput>;
645
649
  /** Authentication service type. */
646
650
  type: AuthenticationServiceTypes;
647
651
  };
@@ -656,7 +660,9 @@ export declare enum AuthenticationServiceTypes {
656
660
  /** Google authentication service */
657
661
  Google = "GOOGLE",
658
662
  /** Microsoft Graph authentication service */
659
- MicrosoftGraph = "MICROSOFT_GRAPH"
663
+ MicrosoftGraph = "MICROSOFT_GRAPH",
664
+ /** OAuth authentication service */
665
+ OAuth = "O_AUTH"
660
666
  }
661
667
  /** Represents Azure AI model properties. */
662
668
  export type AzureAiModelProperties = {
@@ -1078,13 +1084,21 @@ export type BoundingBoxInput = {
1078
1084
  /** The width of the bounding box. */
1079
1085
  width?: InputMaybe<Scalars['Float']['input']>;
1080
1086
  };
1087
+ export declare enum BoxAuthenticationTypes {
1088
+ Connector = "CONNECTOR",
1089
+ User = "USER"
1090
+ }
1081
1091
  /** Represents Box properties. */
1082
1092
  export type BoxFeedProperties = {
1083
1093
  __typename?: 'BoxFeedProperties';
1094
+ /** Box authentication type. */
1095
+ authenticationType?: Maybe<BoxAuthenticationTypes>;
1084
1096
  /** Box client identifier. */
1085
1097
  clientId: Scalars['String']['output'];
1086
1098
  /** Box client secret. */
1087
1099
  clientSecret: Scalars['String']['output'];
1100
+ /** The OAuth authentication connector identifier, if using connector authentication. */
1101
+ connectorId?: Maybe<Scalars['ID']['output']>;
1088
1102
  /** Box folder identifier. */
1089
1103
  folderId?: Maybe<Scalars['ID']['output']>;
1090
1104
  /** Box redirect URI. */
@@ -1094,23 +1108,31 @@ export type BoxFeedProperties = {
1094
1108
  };
1095
1109
  /** Represents Box properties. */
1096
1110
  export type BoxFeedPropertiesInput = {
1111
+ /** Box authentication type. */
1112
+ authenticationType?: InputMaybe<BoxAuthenticationTypes>;
1097
1113
  /** Box client identifier. */
1098
- clientId: Scalars['String']['input'];
1114
+ clientId?: InputMaybe<Scalars['String']['input']>;
1099
1115
  /** Box client secret. */
1100
- 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']>;
1101
1119
  /** Box folder identifier. */
1102
1120
  folderId?: InputMaybe<Scalars['ID']['input']>;
1103
1121
  /** Box redirect URI. */
1104
- redirectUri: Scalars['String']['input'];
1122
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1105
1123
  /** Box refresh token. */
1106
- refreshToken: Scalars['String']['input'];
1124
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
1107
1125
  };
1108
1126
  /** Represents Box properties. */
1109
1127
  export type BoxFeedPropertiesUpdateInput = {
1128
+ /** Box authentication type. */
1129
+ authenticationType?: InputMaybe<BoxAuthenticationTypes>;
1110
1130
  /** Box client identifier. */
1111
1131
  clientId?: InputMaybe<Scalars['String']['input']>;
1112
1132
  /** Box client secret. */
1113
1133
  clientSecret?: InputMaybe<Scalars['String']['input']>;
1134
+ /** The OAuth authentication connector identifier, if using connector authentication. */
1135
+ connectorId?: InputMaybe<Scalars['ID']['input']>;
1114
1136
  /** Box folder identifier. */
1115
1137
  folderId?: InputMaybe<Scalars['ID']['input']>;
1116
1138
  /** Box redirect URI. */
@@ -3250,6 +3272,10 @@ export type DrawingMetadataInput = {
3250
3272
  /** The drawing Y origin. */
3251
3273
  y?: InputMaybe<Scalars['Float']['input']>;
3252
3274
  };
3275
+ export declare enum DropboxAuthenticationTypes {
3276
+ Connector = "CONNECTOR",
3277
+ User = "USER"
3278
+ }
3253
3279
  /** Represents Dropbox properties. */
3254
3280
  export type DropboxFeedProperties = {
3255
3281
  __typename?: 'DropboxFeedProperties';
@@ -3257,6 +3283,10 @@ export type DropboxFeedProperties = {
3257
3283
  appKey: Scalars['String']['output'];
3258
3284
  /** Dropbox app secret. */
3259
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']>;
3260
3290
  /** Dropbox folder path. */
3261
3291
  path?: Maybe<Scalars['ID']['output']>;
3262
3292
  /** Dropbox redirect URI. */
@@ -3267,15 +3297,19 @@ export type DropboxFeedProperties = {
3267
3297
  /** Represents Dropbox properties. */
3268
3298
  export type DropboxFeedPropertiesInput = {
3269
3299
  /** Dropbox app key. */
3270
- appKey: Scalars['String']['input'];
3300
+ appKey?: InputMaybe<Scalars['String']['input']>;
3271
3301
  /** Dropbox app secret. */
3272
- 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']>;
3273
3307
  /** Dropbox folder path. */
3274
3308
  path?: InputMaybe<Scalars['ID']['input']>;
3275
3309
  /** Dropbox redirect URI. */
3276
- redirectUri: Scalars['String']['input'];
3310
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
3277
3311
  /** Dropbox refresh token. */
3278
- refreshToken: Scalars['String']['input'];
3312
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
3279
3313
  };
3280
3314
  /** Represents Dropbox properties. */
3281
3315
  export type DropboxFeedPropertiesUpdateInput = {
@@ -3283,6 +3317,10 @@ export type DropboxFeedPropertiesUpdateInput = {
3283
3317
  appKey?: InputMaybe<Scalars['String']['input']>;
3284
3318
  /** Dropbox app secret. */
3285
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']>;
3286
3324
  /** Dropbox folder path. */
3287
3325
  path?: InputMaybe<Scalars['ID']['input']>;
3288
3326
  /** Dropbox redirect URI. */
@@ -9828,6 +9866,32 @@ export declare enum NotionTypes {
9828
9866
  /** Notion Page */
9829
9867
  Page = "PAGE"
9830
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
+ }
9831
9895
  /** Represents an observable facet. */
9832
9896
  export type ObservableFacet = {
9833
9897
  __typename?: 'ObservableFacet';
@@ -15704,6 +15768,12 @@ export type GetConnectorQuery = {
15704
15768
  clientId: string;
15705
15769
  clientSecret: string;
15706
15770
  } | null;
15771
+ oauth?: {
15772
+ __typename?: 'OAuthAuthenticationProperties';
15773
+ refreshToken: string;
15774
+ provider: OAuthProviders;
15775
+ metadata?: string | null;
15776
+ } | null;
15707
15777
  arcade?: {
15708
15778
  __typename?: 'ArcadeAuthenticationProperties';
15709
15779
  authorizationId: string;
@@ -15770,6 +15840,12 @@ export type QueryConnectorsQuery = {
15770
15840
  clientId: string;
15771
15841
  clientSecret: string;
15772
15842
  } | null;
15843
+ oauth?: {
15844
+ __typename?: 'OAuthAuthenticationProperties';
15845
+ refreshToken: string;
15846
+ provider: OAuthProviders;
15847
+ metadata?: string | null;
15848
+ } | null;
15773
15849
  arcade?: {
15774
15850
  __typename?: 'ArcadeAuthenticationProperties';
15775
15851
  authorizationId: string;
@@ -22268,7 +22344,9 @@ export type GetFeedQuery = {
22268
22344
  } | null;
22269
22345
  dropbox?: {
22270
22346
  __typename?: 'DropboxFeedProperties';
22347
+ authenticationType?: DropboxAuthenticationTypes | null;
22271
22348
  path?: string | null;
22349
+ connectorId?: string | null;
22272
22350
  appKey: string;
22273
22351
  appSecret: string;
22274
22352
  refreshToken: string;
@@ -22276,7 +22354,9 @@ export type GetFeedQuery = {
22276
22354
  } | null;
22277
22355
  box?: {
22278
22356
  __typename?: 'BoxFeedProperties';
22357
+ authenticationType?: BoxAuthenticationTypes | null;
22279
22358
  folderId?: string | null;
22359
+ connectorId?: string | null;
22280
22360
  clientId: string;
22281
22361
  clientSecret: string;
22282
22362
  refreshToken: string;
@@ -22668,7 +22748,9 @@ export type QueryFeedsQuery = {
22668
22748
  } | null;
22669
22749
  dropbox?: {
22670
22750
  __typename?: 'DropboxFeedProperties';
22751
+ authenticationType?: DropboxAuthenticationTypes | null;
22671
22752
  path?: string | null;
22753
+ connectorId?: string | null;
22672
22754
  appKey: string;
22673
22755
  appSecret: string;
22674
22756
  refreshToken: string;
@@ -22676,7 +22758,9 @@ export type QueryFeedsQuery = {
22676
22758
  } | null;
22677
22759
  box?: {
22678
22760
  __typename?: 'BoxFeedProperties';
22761
+ authenticationType?: BoxAuthenticationTypes | null;
22679
22762
  folderId?: string | null;
22763
+ connectorId?: string | null;
22680
22764
  clientId: string;
22681
22765
  clientSecret: string;
22682
22766
  refreshToken: string;
@@ -26310,6 +26394,12 @@ export type GetUserQuery = {
26310
26394
  clientId: string;
26311
26395
  clientSecret: string;
26312
26396
  } | null;
26397
+ oauth?: {
26398
+ __typename?: 'OAuthAuthenticationProperties';
26399
+ refreshToken: string;
26400
+ provider: OAuthProviders;
26401
+ metadata?: string | null;
26402
+ } | null;
26313
26403
  arcade?: {
26314
26404
  __typename?: 'ArcadeAuthenticationProperties';
26315
26405
  authorizationId: string;
@@ -26382,6 +26472,12 @@ export type GetUserByIdentifierQuery = {
26382
26472
  clientId: string;
26383
26473
  clientSecret: string;
26384
26474
  } | null;
26475
+ oauth?: {
26476
+ __typename?: 'OAuthAuthenticationProperties';
26477
+ refreshToken: string;
26478
+ provider: OAuthProviders;
26479
+ metadata?: string | null;
26480
+ } | null;
26385
26481
  arcade?: {
26386
26482
  __typename?: 'ArcadeAuthenticationProperties';
26387
26483
  authorizationId: string;
@@ -26457,6 +26553,12 @@ export type QueryUsersQuery = {
26457
26553
  clientId: string;
26458
26554
  clientSecret: string;
26459
26555
  } | null;
26556
+ oauth?: {
26557
+ __typename?: 'OAuthAuthenticationProperties';
26558
+ refreshToken: string;
26559
+ provider: OAuthProviders;
26560
+ metadata?: string | null;
26561
+ } | null;
26460
26562
  arcade?: {
26461
26563
  __typename?: 'ArcadeAuthenticationProperties';
26462
26564
  authorizationId: string;
@@ -95,6 +95,8 @@ export var AuthenticationServiceTypes;
95
95
  AuthenticationServiceTypes["Google"] = "GOOGLE";
96
96
  /** Microsoft Graph authentication service */
97
97
  AuthenticationServiceTypes["MicrosoftGraph"] = "MICROSOFT_GRAPH";
98
+ /** OAuth authentication service */
99
+ AuthenticationServiceTypes["OAuth"] = "O_AUTH";
98
100
  })(AuthenticationServiceTypes || (AuthenticationServiceTypes = {}));
99
101
  export var AzureDocumentIntelligenceModels;
100
102
  (function (AzureDocumentIntelligenceModels) {
@@ -201,6 +203,11 @@ export var BillableMetrics;
201
203
  BillableMetrics["Tokens"] = "TOKENS";
202
204
  BillableMetrics["Units"] = "UNITS";
203
205
  })(BillableMetrics || (BillableMetrics = {}));
206
+ export var BoxAuthenticationTypes;
207
+ (function (BoxAuthenticationTypes) {
208
+ BoxAuthenticationTypes["Connector"] = "CONNECTOR";
209
+ BoxAuthenticationTypes["User"] = "USER";
210
+ })(BoxAuthenticationTypes || (BoxAuthenticationTypes = {}));
204
211
  /** Calendar attendee response status */
205
212
  export var CalendarAttendeeResponseStatus;
206
213
  (function (CalendarAttendeeResponseStatus) {
@@ -561,6 +568,11 @@ export var DeviceTypes;
561
568
  /** Unknown */
562
569
  DeviceTypes["Unknown"] = "UNKNOWN";
563
570
  })(DeviceTypes || (DeviceTypes = {}));
571
+ export var DropboxAuthenticationTypes;
572
+ (function (DropboxAuthenticationTypes) {
573
+ DropboxAuthenticationTypes["Connector"] = "CONNECTOR";
574
+ DropboxAuthenticationTypes["User"] = "USER";
575
+ })(DropboxAuthenticationTypes || (DropboxAuthenticationTypes = {}));
564
576
  /** ElevenLabs models */
565
577
  export var ElevenLabsModels;
566
578
  (function (ElevenLabsModels) {
@@ -1463,6 +1475,14 @@ export var NotionTypes;
1463
1475
  /** Notion Page */
1464
1476
  NotionTypes["Page"] = "PAGE";
1465
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 = {}));
1466
1486
  /** Observable type */
1467
1487
  export var ObservableTypes;
1468
1488
  (function (ObservableTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250628003",
3
+ "version": "1.0.20250628004",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",