graphlit-client 1.0.20251211002 → 1.0.20251215001

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.
package/dist/client.js CHANGED
@@ -3676,11 +3676,18 @@ class Graphlit {
3676
3676
  mutation,
3677
3677
  variables: variables || {},
3678
3678
  });
3679
- if (result.errors) {
3680
- const errorMessage = result.errors
3679
+ if (result.errors && result.errors.length > 0) {
3680
+ // Only throw if we have no usable data - allow partial data through
3681
+ if (!result.data) {
3682
+ const errorMessage = result.errors
3683
+ .map((err) => this.prettyPrintGraphQLError(err))
3684
+ .join("\n");
3685
+ throw new Error(errorMessage);
3686
+ }
3687
+ // Log warning but continue with partial data
3688
+ console.warn("GraphQL mutation returned partial data with errors:", result.errors
3681
3689
  .map((err) => this.prettyPrintGraphQLError(err))
3682
- .join("\n");
3683
- throw new Error(errorMessage);
3690
+ .join("\n"));
3684
3691
  }
3685
3692
  if (!result.data) {
3686
3693
  throw new Error("No data returned from mutation.");
@@ -3689,6 +3696,17 @@ class Graphlit {
3689
3696
  }
3690
3697
  catch (error) {
3691
3698
  if (error instanceof ApolloError && error.graphQLErrors.length > 0) {
3699
+ // Check if we have partial data in the error
3700
+ const apolloError = error;
3701
+ if (apolloError.networkError && "result" in apolloError.networkError) {
3702
+ const networkResult = apolloError.networkError.result;
3703
+ if (networkResult?.data) {
3704
+ console.warn("GraphQL mutation returned partial data with errors:", error.graphQLErrors
3705
+ .map((err) => this.prettyPrintGraphQLError(err))
3706
+ .join("\n"));
3707
+ return networkResult.data;
3708
+ }
3709
+ }
3692
3710
  const errorMessage = error.graphQLErrors
3693
3711
  .map((err) => this.prettyPrintGraphQLError(err))
3694
3712
  .join("\n");
@@ -3712,11 +3730,18 @@ class Graphlit {
3712
3730
  query,
3713
3731
  variables: variables || {},
3714
3732
  });
3715
- if (result.errors) {
3716
- const errorMessage = result.errors
3733
+ if (result.errors && result.errors.length > 0) {
3734
+ // Only throw if we have no usable data - allow partial data through
3735
+ if (!result.data) {
3736
+ const errorMessage = result.errors
3737
+ .map((err) => this.prettyPrintGraphQLError(err))
3738
+ .join("\n");
3739
+ throw new Error(errorMessage);
3740
+ }
3741
+ // Log warning but continue with partial data
3742
+ console.warn("GraphQL query returned partial data with errors:", result.errors
3717
3743
  .map((err) => this.prettyPrintGraphQLError(err))
3718
- .join("\n");
3719
- throw new Error(errorMessage);
3744
+ .join("\n"));
3720
3745
  }
3721
3746
  if (!result.data) {
3722
3747
  throw new Error("No data returned from query.");
@@ -3725,6 +3750,17 @@ class Graphlit {
3725
3750
  }
3726
3751
  catch (error) {
3727
3752
  if (error instanceof ApolloError && error.graphQLErrors.length > 0) {
3753
+ // Check if we have partial data in the error
3754
+ const apolloError = error;
3755
+ if (apolloError.networkError && "result" in apolloError.networkError) {
3756
+ const networkResult = apolloError.networkError.result;
3757
+ if (networkResult?.data) {
3758
+ console.warn("GraphQL query returned partial data with errors:", error.graphQLErrors
3759
+ .map((err) => this.prettyPrintGraphQLError(err))
3760
+ .join("\n"));
3761
+ return networkResult.data;
3762
+ }
3763
+ }
3728
3764
  const errorMessage = error.graphQLErrors
3729
3765
  .map((err) => this.prettyPrintGraphQLError(err))
3730
3766
  .join("\n");
@@ -7424,7 +7424,9 @@ export const GetFeed = gql `
7424
7424
  clientId
7425
7425
  clientSecret
7426
7426
  refreshToken
7427
- authorizationId
7427
+ connector {
7428
+ id
7429
+ }
7428
7430
  }
7429
7431
  oneDrive {
7430
7432
  authenticationType
@@ -7433,7 +7435,9 @@ export const GetFeed = gql `
7433
7435
  clientId
7434
7436
  clientSecret
7435
7437
  refreshToken
7436
- authorizationId
7438
+ connector {
7439
+ id
7440
+ }
7437
7441
  }
7438
7442
  googleDrive {
7439
7443
  authenticationType
@@ -7443,7 +7447,9 @@ export const GetFeed = gql `
7443
7447
  clientId
7444
7448
  clientSecret
7445
7449
  serviceAccountJson
7446
- authorizationId
7450
+ connector {
7451
+ id
7452
+ }
7447
7453
  }
7448
7454
  dropbox {
7449
7455
  authenticationType
@@ -7467,7 +7473,9 @@ export const GetFeed = gql `
7467
7473
  repositoryName
7468
7474
  refreshToken
7469
7475
  personalAccessToken
7470
- authorizationId
7476
+ connector {
7477
+ id
7478
+ }
7471
7479
  }
7472
7480
  readLimit
7473
7481
  }
@@ -7485,7 +7493,9 @@ export const GetFeed = gql `
7485
7493
  refreshToken
7486
7494
  clientId
7487
7495
  clientSecret
7488
- authorizationId
7496
+ connector {
7497
+ id
7498
+ }
7489
7499
  }
7490
7500
  microsoft {
7491
7501
  type
@@ -7498,7 +7508,9 @@ export const GetFeed = gql `
7498
7508
  refreshToken
7499
7509
  clientId
7500
7510
  clientSecret
7501
- authorizationId
7511
+ connector {
7512
+ id
7513
+ }
7502
7514
  }
7503
7515
  readLimit
7504
7516
  }
@@ -7523,7 +7535,9 @@ export const GetFeed = gql `
7523
7535
  repositoryName
7524
7536
  refreshToken
7525
7537
  personalAccessToken
7526
- authorizationId
7538
+ connector {
7539
+ id
7540
+ }
7527
7541
  }
7528
7542
  intercom {
7529
7543
  accessToken
@@ -7552,7 +7566,9 @@ export const GetFeed = gql `
7552
7566
  repositoryName
7553
7567
  refreshToken
7554
7568
  personalAccessToken
7555
- authorizationId
7569
+ connector {
7570
+ id
7571
+ }
7556
7572
  }
7557
7573
  readLimit
7558
7574
  }
@@ -7565,7 +7581,9 @@ export const GetFeed = gql `
7565
7581
  repositoryName
7566
7582
  refreshToken
7567
7583
  personalAccessToken
7568
- authorizationId
7584
+ connector {
7585
+ id
7586
+ }
7569
7587
  }
7570
7588
  readLimit
7571
7589
  }
@@ -7580,7 +7598,9 @@ export const GetFeed = gql `
7580
7598
  clientId
7581
7599
  clientSecret
7582
7600
  refreshToken
7583
- authorizationId
7601
+ connector {
7602
+ id
7603
+ }
7584
7604
  }
7585
7605
  microsoftContacts {
7586
7606
  authenticationType
@@ -7588,7 +7608,9 @@ export const GetFeed = gql `
7588
7608
  clientSecret
7589
7609
  refreshToken
7590
7610
  tenantId
7591
- authorizationId
7611
+ connector {
7612
+ id
7613
+ }
7592
7614
  }
7593
7615
  readLimit
7594
7616
  }
@@ -7606,7 +7628,9 @@ export const GetFeed = gql `
7606
7628
  refreshToken
7607
7629
  clientId
7608
7630
  clientSecret
7609
- authorizationId
7631
+ connector {
7632
+ id
7633
+ }
7610
7634
  }
7611
7635
  microsoft {
7612
7636
  type
@@ -7617,7 +7641,9 @@ export const GetFeed = gql `
7617
7641
  refreshToken
7618
7642
  clientId
7619
7643
  clientSecret
7620
- authorizationId
7644
+ connector {
7645
+ id
7646
+ }
7621
7647
  }
7622
7648
  readLimit
7623
7649
  }
@@ -7686,7 +7712,9 @@ export const GetFeed = gql `
7686
7712
  clientId
7687
7713
  clientSecret
7688
7714
  refreshToken
7689
- authorizationId
7715
+ connector {
7716
+ id
7717
+ }
7690
7718
  teamId
7691
7719
  channelId
7692
7720
  }
@@ -7842,7 +7870,9 @@ export const QueryFeeds = gql `
7842
7870
  clientId
7843
7871
  clientSecret
7844
7872
  refreshToken
7845
- authorizationId
7873
+ connector {
7874
+ id
7875
+ }
7846
7876
  }
7847
7877
  oneDrive {
7848
7878
  authenticationType
@@ -7851,7 +7881,9 @@ export const QueryFeeds = gql `
7851
7881
  clientId
7852
7882
  clientSecret
7853
7883
  refreshToken
7854
- authorizationId
7884
+ connector {
7885
+ id
7886
+ }
7855
7887
  }
7856
7888
  googleDrive {
7857
7889
  authenticationType
@@ -7861,7 +7893,9 @@ export const QueryFeeds = gql `
7861
7893
  clientId
7862
7894
  clientSecret
7863
7895
  serviceAccountJson
7864
- authorizationId
7896
+ connector {
7897
+ id
7898
+ }
7865
7899
  }
7866
7900
  dropbox {
7867
7901
  authenticationType
@@ -7885,7 +7919,9 @@ export const QueryFeeds = gql `
7885
7919
  repositoryName
7886
7920
  refreshToken
7887
7921
  personalAccessToken
7888
- authorizationId
7922
+ connector {
7923
+ id
7924
+ }
7889
7925
  }
7890
7926
  readLimit
7891
7927
  }
@@ -7903,7 +7939,9 @@ export const QueryFeeds = gql `
7903
7939
  refreshToken
7904
7940
  clientId
7905
7941
  clientSecret
7906
- authorizationId
7942
+ connector {
7943
+ id
7944
+ }
7907
7945
  }
7908
7946
  microsoft {
7909
7947
  type
@@ -7916,7 +7954,9 @@ export const QueryFeeds = gql `
7916
7954
  refreshToken
7917
7955
  clientId
7918
7956
  clientSecret
7919
- authorizationId
7957
+ connector {
7958
+ id
7959
+ }
7920
7960
  }
7921
7961
  readLimit
7922
7962
  }
@@ -7941,7 +7981,9 @@ export const QueryFeeds = gql `
7941
7981
  repositoryName
7942
7982
  refreshToken
7943
7983
  personalAccessToken
7944
- authorizationId
7984
+ connector {
7985
+ id
7986
+ }
7945
7987
  }
7946
7988
  intercom {
7947
7989
  accessToken
@@ -7970,7 +8012,9 @@ export const QueryFeeds = gql `
7970
8012
  repositoryName
7971
8013
  refreshToken
7972
8014
  personalAccessToken
7973
- authorizationId
8015
+ connector {
8016
+ id
8017
+ }
7974
8018
  }
7975
8019
  readLimit
7976
8020
  }
@@ -7983,7 +8027,9 @@ export const QueryFeeds = gql `
7983
8027
  repositoryName
7984
8028
  refreshToken
7985
8029
  personalAccessToken
7986
- authorizationId
8030
+ connector {
8031
+ id
8032
+ }
7987
8033
  }
7988
8034
  readLimit
7989
8035
  }
@@ -7998,7 +8044,9 @@ export const QueryFeeds = gql `
7998
8044
  clientId
7999
8045
  clientSecret
8000
8046
  refreshToken
8001
- authorizationId
8047
+ connector {
8048
+ id
8049
+ }
8002
8050
  }
8003
8051
  microsoftContacts {
8004
8052
  authenticationType
@@ -8006,7 +8054,9 @@ export const QueryFeeds = gql `
8006
8054
  clientSecret
8007
8055
  refreshToken
8008
8056
  tenantId
8009
- authorizationId
8057
+ connector {
8058
+ id
8059
+ }
8010
8060
  }
8011
8061
  readLimit
8012
8062
  }
@@ -8024,7 +8074,9 @@ export const QueryFeeds = gql `
8024
8074
  refreshToken
8025
8075
  clientId
8026
8076
  clientSecret
8027
- authorizationId
8077
+ connector {
8078
+ id
8079
+ }
8028
8080
  }
8029
8081
  microsoft {
8030
8082
  type
@@ -8035,7 +8087,9 @@ export const QueryFeeds = gql `
8035
8087
  refreshToken
8036
8088
  clientId
8037
8089
  clientSecret
8038
- authorizationId
8090
+ connector {
8091
+ id
8092
+ }
8039
8093
  }
8040
8094
  readLimit
8041
8095
  }
@@ -8104,7 +8158,9 @@ export const QueryFeeds = gql `
8104
8158
  clientId
8105
8159
  clientSecret
8106
8160
  refreshToken
8107
- authorizationId
8161
+ connector {
8162
+ id
8163
+ }
8108
8164
  teamId
8109
8165
  channelId
8110
8166
  }
@@ -5399,10 +5399,15 @@ export type GitHubCommitsFeedProperties = {
5399
5399
  __typename?: 'GitHubCommitsFeedProperties';
5400
5400
  /** GitHub Commits authentication type, defaults to PersonalAccessToken. */
5401
5401
  authenticationType?: Maybe<GitHubCommitAuthenticationTypes>;
5402
- /** Authentication identifier, for Connector authentication type. */
5403
- authorizationId?: Maybe<Scalars['String']['output']>;
5402
+ /**
5403
+ * Arcade authorization identifier.
5404
+ * @deprecated Use Connector instead.
5405
+ */
5406
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5404
5407
  /** GitHub repository branch, defaults to default branch. */
5405
5408
  branch?: Maybe<Scalars['String']['output']>;
5409
+ /** Authentication connector reference. */
5410
+ connector?: Maybe<EntityReference>;
5406
5411
  /** GitHub personal access token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
5407
5412
  personalAccessToken?: Maybe<Scalars['String']['output']>;
5408
5413
  /** GitHub refresh token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
@@ -5457,8 +5462,13 @@ export type GitHubFeedProperties = {
5457
5462
  __typename?: 'GitHubFeedProperties';
5458
5463
  /** OneDrive authentication type, defaults to User. */
5459
5464
  authenticationType?: Maybe<GitHubAuthenticationTypes>;
5460
- /** Connector identifier. */
5461
- authorizationId?: Maybe<Scalars['String']['output']>;
5465
+ /**
5466
+ * Arcade authorization identifier.
5467
+ * @deprecated Use Connector instead.
5468
+ */
5469
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5470
+ /** Authentication connector reference. */
5471
+ connector?: Maybe<EntityReference>;
5462
5472
  /** GitHub personal access token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
5463
5473
  personalAccessToken?: Maybe<Scalars['String']['output']>;
5464
5474
  /** GitHub refresh token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
@@ -5514,8 +5524,13 @@ export type GitHubIssuesFeedProperties = {
5514
5524
  __typename?: 'GitHubIssuesFeedProperties';
5515
5525
  /** GitHub Issues authentication type, defaults to PersonalAccessToken. */
5516
5526
  authenticationType?: Maybe<GitHubIssueAuthenticationTypes>;
5517
- /** Authentication identifier, for Connector authentication type. */
5518
- authorizationId?: Maybe<Scalars['String']['output']>;
5527
+ /**
5528
+ * Arcade authorization identifier.
5529
+ * @deprecated Use Connector instead.
5530
+ */
5531
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5532
+ /** Authentication connector reference. */
5533
+ connector?: Maybe<EntityReference>;
5519
5534
  /** GitHub personal access token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
5520
5535
  personalAccessToken?: Maybe<Scalars['String']['output']>;
5521
5536
  /** GitHub refresh token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
@@ -5567,8 +5582,13 @@ export type GitHubPullRequestsFeedProperties = {
5567
5582
  __typename?: 'GitHubPullRequestsFeedProperties';
5568
5583
  /** GitHub Pull Requests authentication type, defaults to PersonalAccessToken. */
5569
5584
  authenticationType?: Maybe<GitHubPullRequestAuthenticationTypes>;
5570
- /** Authentication identifier, for Connector authentication type. */
5571
- authorizationId?: Maybe<Scalars['String']['output']>;
5585
+ /**
5586
+ * Arcade authorization identifier.
5587
+ * @deprecated Use Connector instead.
5588
+ */
5589
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5590
+ /** Authentication connector reference. */
5591
+ connector?: Maybe<EntityReference>;
5572
5592
  /** GitHub personal access token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
5573
5593
  personalAccessToken?: Maybe<Scalars['String']['output']>;
5574
5594
  /** GitHub refresh token. Either refresh token or personal access token is required to avoid GitHub rate-limiting. */
@@ -5618,8 +5638,8 @@ export type GitHubPullRequestsFeedPropertiesUpdateInput = {
5618
5638
  export type GitHubRepositoriesInput = {
5619
5639
  /** GitHub authentication type. */
5620
5640
  authenticationType: GitHubAuthenticationTypes;
5621
- /** Authentication identifier, for Connector authentication type. */
5622
- authorizationId?: InputMaybe<Scalars['String']['input']>;
5641
+ /** Authentication connector reference. */
5642
+ connector?: InputMaybe<EntityReferenceInput>;
5623
5643
  /** GitHub personal access token, requires PersonalAccessToken authentication type. */
5624
5644
  personalAccessToken?: InputMaybe<Scalars['String']['input']>;
5625
5645
  /** GitHub OAuth refresh token, requires OAuth authentication type. */
@@ -5692,8 +5712,11 @@ export type GoogleCalendarFeedProperties = {
5692
5712
  afterDate?: Maybe<Scalars['DateTime']['output']>;
5693
5713
  /** Google Calendar authentication type. */
5694
5714
  authenticationType?: Maybe<GoogleCalendarAuthenticationTypes>;
5695
- /** Connector identifier. */
5696
- authorizationId?: Maybe<Scalars['String']['output']>;
5715
+ /**
5716
+ * Arcade authorization identifier.
5717
+ * @deprecated Use Connector instead.
5718
+ */
5719
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5697
5720
  /** Read calendar events before this date (inclusive), optional. */
5698
5721
  beforeDate?: Maybe<Scalars['DateTime']['output']>;
5699
5722
  /** Google Email calendar identifier, optional. */
@@ -5702,6 +5725,8 @@ export type GoogleCalendarFeedProperties = {
5702
5725
  clientId?: Maybe<Scalars['String']['output']>;
5703
5726
  /** Google OAuth2 client secret. */
5704
5727
  clientSecret?: Maybe<Scalars['String']['output']>;
5728
+ /** Authentication connector reference. */
5729
+ connector?: Maybe<EntityReference>;
5705
5730
  /** Google OAuth2 refresh token. */
5706
5731
  refreshToken?: Maybe<Scalars['String']['output']>;
5707
5732
  /** Calendar listing type, i.e. past or new events. */
@@ -5771,12 +5796,17 @@ export type GoogleContactsCrmFeedProperties = {
5771
5796
  __typename?: 'GoogleContactsCRMFeedProperties';
5772
5797
  /** Google Contacts authentication type. */
5773
5798
  authenticationType?: Maybe<GoogleContactsAuthenticationTypes>;
5774
- /** Authorization identifier. */
5775
- authorizationId?: Maybe<Scalars['String']['output']>;
5799
+ /**
5800
+ * Arcade authorization identifier.
5801
+ * @deprecated Use Connector instead.
5802
+ */
5803
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5776
5804
  /** Google OAuth2 client identifier. */
5777
5805
  clientId?: Maybe<Scalars['String']['output']>;
5778
5806
  /** Google OAuth2 client secret. */
5779
5807
  clientSecret?: Maybe<Scalars['String']['output']>;
5808
+ /** Authentication connector reference. */
5809
+ connector?: Maybe<EntityReference>;
5780
5810
  /** Google OAuth2 refresh token. */
5781
5811
  refreshToken?: Maybe<Scalars['String']['output']>;
5782
5812
  };
@@ -5820,12 +5850,17 @@ export type GoogleDriveFeedProperties = {
5820
5850
  __typename?: 'GoogleDriveFeedProperties';
5821
5851
  /** Google Drive authentication type, defaults to User. */
5822
5852
  authenticationType?: Maybe<GoogleDriveAuthenticationTypes>;
5823
- /** Connector identifier. */
5824
- authorizationId?: Maybe<Scalars['String']['output']>;
5853
+ /**
5854
+ * Arcade authorization identifier.
5855
+ * @deprecated Use Connector instead.
5856
+ */
5857
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5825
5858
  /** Google client identifier, requires User authentication type. */
5826
5859
  clientId?: Maybe<Scalars['String']['output']>;
5827
5860
  /** Google client secret, requires User authentication type. */
5828
5861
  clientSecret?: Maybe<Scalars['String']['output']>;
5862
+ /** Authentication connector reference. */
5863
+ connector?: Maybe<EntityReference>;
5829
5864
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
5830
5865
  files?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
5831
5866
  /** Google Drive folder identifier. */
@@ -5909,12 +5944,17 @@ export type GoogleEmailFeedProperties = {
5909
5944
  __typename?: 'GoogleEmailFeedProperties';
5910
5945
  /** Google Email authentication type. */
5911
5946
  authenticationType?: Maybe<GoogleEmailAuthenticationTypes>;
5912
- /** Connector identifier. */
5913
- authorizationId?: Maybe<Scalars['String']['output']>;
5947
+ /**
5948
+ * Arcade authorization identifier.
5949
+ * @deprecated Use Connector instead.
5950
+ */
5951
+ authorizationId?: Maybe<Scalars['ID']['output']>;
5914
5952
  /** Google Email client identifier. */
5915
5953
  clientId?: Maybe<Scalars['String']['output']>;
5916
5954
  /** Google Email client secret. */
5917
5955
  clientSecret?: Maybe<Scalars['String']['output']>;
5956
+ /** Authentication connector reference. */
5957
+ connector?: Maybe<EntityReference>;
5918
5958
  /** Whether to exclude Sent messages in email listing. Default is False. */
5919
5959
  excludeSentItems?: Maybe<Scalars['Boolean']['output']>;
5920
5960
  /** Email filter in format 'key:value key:value' (supported: from, to, subject, has:attachment, is:unread, label, before, after). */
@@ -9895,8 +9935,11 @@ export type MicrosoftCalendarFeedProperties = {
9895
9935
  afterDate?: Maybe<Scalars['DateTime']['output']>;
9896
9936
  /** Microsoft Calendar authentication type. */
9897
9937
  authenticationType?: Maybe<MicrosoftCalendarAuthenticationTypes>;
9898
- /** Connector identifier. */
9899
- authorizationId?: Maybe<Scalars['String']['output']>;
9938
+ /**
9939
+ * Arcade authorization identifier.
9940
+ * @deprecated Use Connector instead.
9941
+ */
9942
+ authorizationId?: Maybe<Scalars['ID']['output']>;
9900
9943
  /** Read calendar events before this date (inclusive), optional. */
9901
9944
  beforeDate?: Maybe<Scalars['DateTime']['output']>;
9902
9945
  /** Microsoft Email calendar identifier, optional. */
@@ -9905,6 +9948,8 @@ export type MicrosoftCalendarFeedProperties = {
9905
9948
  clientId?: Maybe<Scalars['String']['output']>;
9906
9949
  /** Microsoft Entra ID client secret. */
9907
9950
  clientSecret?: Maybe<Scalars['String']['output']>;
9951
+ /** Authentication connector reference. */
9952
+ connector?: Maybe<EntityReference>;
9908
9953
  /** Microsoft Entra ID refresh token. */
9909
9954
  refreshToken?: Maybe<Scalars['String']['output']>;
9910
9955
  /** Calendar listing type, i.e. past or new events. */
@@ -9974,12 +10019,17 @@ export type MicrosoftContactsCrmFeedProperties = {
9974
10019
  __typename?: 'MicrosoftContactsCRMFeedProperties';
9975
10020
  /** Microsoft Contacts authentication type. */
9976
10021
  authenticationType?: Maybe<MicrosoftContactsAuthenticationTypes>;
9977
- /** Authorization identifier. */
9978
- authorizationId?: Maybe<Scalars['String']['output']>;
10022
+ /**
10023
+ * Arcade authorization identifier.
10024
+ * @deprecated Use Connector instead.
10025
+ */
10026
+ authorizationId?: Maybe<Scalars['ID']['output']>;
9979
10027
  /** Microsoft Entra ID client identifier. */
9980
10028
  clientId?: Maybe<Scalars['String']['output']>;
9981
10029
  /** Microsoft Entra ID client secret. */
9982
10030
  clientSecret?: Maybe<Scalars['String']['output']>;
10031
+ /** Authentication connector reference. */
10032
+ connector?: Maybe<EntityReference>;
9983
10033
  /** Microsoft Entra ID refresh token. */
9984
10034
  refreshToken?: Maybe<Scalars['String']['output']>;
9985
10035
  /** Microsoft Entra ID tenant identifier. */
@@ -10024,12 +10074,17 @@ export type MicrosoftEmailFeedProperties = {
10024
10074
  __typename?: 'MicrosoftEmailFeedProperties';
10025
10075
  /** Microsoft Email authentication type. */
10026
10076
  authenticationType?: Maybe<MicrosoftEmailAuthenticationTypes>;
10027
- /** Connector identifier. */
10028
- authorizationId?: Maybe<Scalars['String']['output']>;
10077
+ /**
10078
+ * Arcade authorization identifier.
10079
+ * @deprecated Use Connector instead.
10080
+ */
10081
+ authorizationId?: Maybe<Scalars['ID']['output']>;
10029
10082
  /** Microsoft Email client identifier. */
10030
10083
  clientId?: Maybe<Scalars['String']['output']>;
10031
10084
  /** Microsoft Email client secret. */
10032
10085
  clientSecret?: Maybe<Scalars['String']['output']>;
10086
+ /** Authentication connector reference. */
10087
+ connector?: Maybe<EntityReference>;
10033
10088
  /** Whether to exclude Sent messages in email listing. Default is False. */
10034
10089
  excludeSentItems?: Maybe<Scalars['Boolean']['output']>;
10035
10090
  /** Email filter in format 'key:value key:value' (supported: from, to, subject, has:attachment, is:unread, label, before, after). */
@@ -10131,14 +10186,19 @@ export type MicrosoftTeamsFeedProperties = {
10131
10186
  __typename?: 'MicrosoftTeamsFeedProperties';
10132
10187
  /** Microsoft Teams authentication type. */
10133
10188
  authenticationType?: Maybe<MicrosoftTeamsAuthenticationTypes>;
10134
- /** Microsoft Teams authentication identifier. */
10135
- authorizationId?: Maybe<Scalars['String']['output']>;
10189
+ /**
10190
+ * Arcade authorization identifier.
10191
+ * @deprecated Use Connector instead.
10192
+ */
10193
+ authorizationId?: Maybe<Scalars['ID']['output']>;
10136
10194
  /** Microsoft Teams channel identifier. */
10137
10195
  channelId: Scalars['String']['output'];
10138
10196
  /** Microsoft Teams client identifier. */
10139
10197
  clientId?: Maybe<Scalars['String']['output']>;
10140
10198
  /** Microsoft Teams client secret. */
10141
10199
  clientSecret?: Maybe<Scalars['String']['output']>;
10200
+ /** Authentication connector reference. */
10201
+ connector?: Maybe<EntityReference>;
10142
10202
  /** The limit of items to be read from feed, defaults to 100. */
10143
10203
  readLimit?: Maybe<Scalars['Int']['output']>;
10144
10204
  /** Microsoft Teams refresh token. */
@@ -12360,12 +12420,17 @@ export type OneDriveFeedProperties = {
12360
12420
  __typename?: 'OneDriveFeedProperties';
12361
12421
  /** OneDrive authentication type, defaults to User. */
12362
12422
  authenticationType?: Maybe<OneDriveAuthenticationTypes>;
12363
- /** Connector identifier. */
12364
- authorizationId?: Maybe<Scalars['String']['output']>;
12423
+ /**
12424
+ * Arcade authorization identifier.
12425
+ * @deprecated Use Connector instead.
12426
+ */
12427
+ authorizationId?: Maybe<Scalars['ID']['output']>;
12365
12428
  /** OneDrive client identifier. */
12366
12429
  clientId?: Maybe<Scalars['String']['output']>;
12367
12430
  /** OneDrive client secret. */
12368
12431
  clientSecret?: Maybe<Scalars['String']['output']>;
12432
+ /** Authentication connector reference. */
12433
+ connector?: Maybe<EntityReference>;
12369
12434
  /** OneDrive file identifiers. Takes precedence over folder identifier. */
12370
12435
  files?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
12371
12436
  /** OneDrive folder identifier. */
@@ -16192,12 +16257,17 @@ export type SharePointFeedProperties = {
16192
16257
  accountName: Scalars['String']['output'];
16193
16258
  /** SharePoint authentication type. */
16194
16259
  authenticationType?: Maybe<SharePointAuthenticationTypes>;
16195
- /** Connector identifier. */
16196
- authorizationId?: Maybe<Scalars['String']['output']>;
16260
+ /**
16261
+ * Arcade authorization identifier.
16262
+ * @deprecated Use Connector instead.
16263
+ */
16264
+ authorizationId?: Maybe<Scalars['ID']['output']>;
16197
16265
  /** Microsoft Entra ID client identifier, requires User authentication type. */
16198
16266
  clientId?: Maybe<Scalars['String']['output']>;
16199
16267
  /** Microsoft Entra ID client secret, requires User authentication type. */
16200
16268
  clientSecret?: Maybe<Scalars['String']['output']>;
16269
+ /** Authentication connector reference. */
16270
+ connector?: Maybe<EntityReference>;
16201
16271
  /** SharePoint folder identifier. */
16202
16272
  folderId?: Maybe<Scalars['ID']['output']>;
16203
16273
  /** SharePoint library identifier. */
@@ -26564,7 +26634,10 @@ export type GetFeedQuery = {
26564
26634
  clientId?: string | null;
26565
26635
  clientSecret?: string | null;
26566
26636
  refreshToken?: string | null;
26567
- authorizationId?: string | null;
26637
+ connector?: {
26638
+ __typename?: 'EntityReference';
26639
+ id: string;
26640
+ } | null;
26568
26641
  } | null;
26569
26642
  oneDrive?: {
26570
26643
  __typename?: 'OneDriveFeedProperties';
@@ -26574,7 +26647,10 @@ export type GetFeedQuery = {
26574
26647
  clientId?: string | null;
26575
26648
  clientSecret?: string | null;
26576
26649
  refreshToken?: string | null;
26577
- authorizationId?: string | null;
26650
+ connector?: {
26651
+ __typename?: 'EntityReference';
26652
+ id: string;
26653
+ } | null;
26578
26654
  } | null;
26579
26655
  googleDrive?: {
26580
26656
  __typename?: 'GoogleDriveFeedProperties';
@@ -26585,7 +26661,10 @@ export type GetFeedQuery = {
26585
26661
  clientId?: string | null;
26586
26662
  clientSecret?: string | null;
26587
26663
  serviceAccountJson?: string | null;
26588
- authorizationId?: string | null;
26664
+ connector?: {
26665
+ __typename?: 'EntityReference';
26666
+ id: string;
26667
+ } | null;
26589
26668
  } | null;
26590
26669
  dropbox?: {
26591
26670
  __typename?: 'DropboxFeedProperties';
@@ -26612,7 +26691,10 @@ export type GetFeedQuery = {
26612
26691
  repositoryName: string;
26613
26692
  refreshToken?: string | null;
26614
26693
  personalAccessToken?: string | null;
26615
- authorizationId?: string | null;
26694
+ connector?: {
26695
+ __typename?: 'EntityReference';
26696
+ id: string;
26697
+ } | null;
26616
26698
  } | null;
26617
26699
  } | null;
26618
26700
  email?: {
@@ -26632,7 +26714,10 @@ export type GetFeedQuery = {
26632
26714
  refreshToken?: string | null;
26633
26715
  clientId?: string | null;
26634
26716
  clientSecret?: string | null;
26635
- authorizationId?: string | null;
26717
+ connector?: {
26718
+ __typename?: 'EntityReference';
26719
+ id: string;
26720
+ } | null;
26636
26721
  } | null;
26637
26722
  microsoft?: {
26638
26723
  __typename?: 'MicrosoftEmailFeedProperties';
@@ -26646,7 +26731,10 @@ export type GetFeedQuery = {
26646
26731
  refreshToken?: string | null;
26647
26732
  clientId?: string | null;
26648
26733
  clientSecret?: string | null;
26649
- authorizationId?: string | null;
26734
+ connector?: {
26735
+ __typename?: 'EntityReference';
26736
+ id: string;
26737
+ } | null;
26650
26738
  } | null;
26651
26739
  } | null;
26652
26740
  issue?: {
@@ -26675,7 +26763,10 @@ export type GetFeedQuery = {
26675
26763
  repositoryName: string;
26676
26764
  refreshToken?: string | null;
26677
26765
  personalAccessToken?: string | null;
26678
- authorizationId?: string | null;
26766
+ connector?: {
26767
+ __typename?: 'EntityReference';
26768
+ id: string;
26769
+ } | null;
26679
26770
  } | null;
26680
26771
  intercom?: {
26681
26772
  __typename?: 'IntercomTicketsFeedProperties';
@@ -26710,7 +26801,10 @@ export type GetFeedQuery = {
26710
26801
  repositoryName: string;
26711
26802
  refreshToken?: string | null;
26712
26803
  personalAccessToken?: string | null;
26713
- authorizationId?: string | null;
26804
+ connector?: {
26805
+ __typename?: 'EntityReference';
26806
+ id: string;
26807
+ } | null;
26714
26808
  } | null;
26715
26809
  } | null;
26716
26810
  pullRequest?: {
@@ -26725,7 +26819,10 @@ export type GetFeedQuery = {
26725
26819
  repositoryName: string;
26726
26820
  refreshToken?: string | null;
26727
26821
  personalAccessToken?: string | null;
26728
- authorizationId?: string | null;
26822
+ connector?: {
26823
+ __typename?: 'EntityReference';
26824
+ id: string;
26825
+ } | null;
26729
26826
  } | null;
26730
26827
  } | null;
26731
26828
  crm?: {
@@ -26743,7 +26840,10 @@ export type GetFeedQuery = {
26743
26840
  clientId?: string | null;
26744
26841
  clientSecret?: string | null;
26745
26842
  refreshToken?: string | null;
26746
- authorizationId?: string | null;
26843
+ connector?: {
26844
+ __typename?: 'EntityReference';
26845
+ id: string;
26846
+ } | null;
26747
26847
  } | null;
26748
26848
  microsoftContacts?: {
26749
26849
  __typename?: 'MicrosoftContactsCRMFeedProperties';
@@ -26752,7 +26852,10 @@ export type GetFeedQuery = {
26752
26852
  clientSecret?: string | null;
26753
26853
  refreshToken?: string | null;
26754
26854
  tenantId?: string | null;
26755
- authorizationId?: string | null;
26855
+ connector?: {
26856
+ __typename?: 'EntityReference';
26857
+ id: string;
26858
+ } | null;
26756
26859
  } | null;
26757
26860
  } | null;
26758
26861
  calendar?: {
@@ -26772,7 +26875,10 @@ export type GetFeedQuery = {
26772
26875
  refreshToken?: string | null;
26773
26876
  clientId?: string | null;
26774
26877
  clientSecret?: string | null;
26775
- authorizationId?: string | null;
26878
+ connector?: {
26879
+ __typename?: 'EntityReference';
26880
+ id: string;
26881
+ } | null;
26776
26882
  } | null;
26777
26883
  microsoft?: {
26778
26884
  __typename?: 'MicrosoftCalendarFeedProperties';
@@ -26784,7 +26890,10 @@ export type GetFeedQuery = {
26784
26890
  refreshToken?: string | null;
26785
26891
  clientId?: string | null;
26786
26892
  clientSecret?: string | null;
26787
- authorizationId?: string | null;
26893
+ connector?: {
26894
+ __typename?: 'EntityReference';
26895
+ id: string;
26896
+ } | null;
26788
26897
  } | null;
26789
26898
  } | null;
26790
26899
  rss?: {
@@ -26863,9 +26972,12 @@ export type GetFeedQuery = {
26863
26972
  clientId?: string | null;
26864
26973
  clientSecret?: string | null;
26865
26974
  refreshToken?: string | null;
26866
- authorizationId?: string | null;
26867
26975
  teamId: string;
26868
26976
  channelId: string;
26977
+ connector?: {
26978
+ __typename?: 'EntityReference';
26979
+ id: string;
26980
+ } | null;
26869
26981
  } | null;
26870
26982
  discord?: {
26871
26983
  __typename?: 'DiscordFeedProperties';
@@ -27064,7 +27176,10 @@ export type QueryFeedsQuery = {
27064
27176
  clientId?: string | null;
27065
27177
  clientSecret?: string | null;
27066
27178
  refreshToken?: string | null;
27067
- authorizationId?: string | null;
27179
+ connector?: {
27180
+ __typename?: 'EntityReference';
27181
+ id: string;
27182
+ } | null;
27068
27183
  } | null;
27069
27184
  oneDrive?: {
27070
27185
  __typename?: 'OneDriveFeedProperties';
@@ -27074,7 +27189,10 @@ export type QueryFeedsQuery = {
27074
27189
  clientId?: string | null;
27075
27190
  clientSecret?: string | null;
27076
27191
  refreshToken?: string | null;
27077
- authorizationId?: string | null;
27192
+ connector?: {
27193
+ __typename?: 'EntityReference';
27194
+ id: string;
27195
+ } | null;
27078
27196
  } | null;
27079
27197
  googleDrive?: {
27080
27198
  __typename?: 'GoogleDriveFeedProperties';
@@ -27085,7 +27203,10 @@ export type QueryFeedsQuery = {
27085
27203
  clientId?: string | null;
27086
27204
  clientSecret?: string | null;
27087
27205
  serviceAccountJson?: string | null;
27088
- authorizationId?: string | null;
27206
+ connector?: {
27207
+ __typename?: 'EntityReference';
27208
+ id: string;
27209
+ } | null;
27089
27210
  } | null;
27090
27211
  dropbox?: {
27091
27212
  __typename?: 'DropboxFeedProperties';
@@ -27112,7 +27233,10 @@ export type QueryFeedsQuery = {
27112
27233
  repositoryName: string;
27113
27234
  refreshToken?: string | null;
27114
27235
  personalAccessToken?: string | null;
27115
- authorizationId?: string | null;
27236
+ connector?: {
27237
+ __typename?: 'EntityReference';
27238
+ id: string;
27239
+ } | null;
27116
27240
  } | null;
27117
27241
  } | null;
27118
27242
  email?: {
@@ -27132,7 +27256,10 @@ export type QueryFeedsQuery = {
27132
27256
  refreshToken?: string | null;
27133
27257
  clientId?: string | null;
27134
27258
  clientSecret?: string | null;
27135
- authorizationId?: string | null;
27259
+ connector?: {
27260
+ __typename?: 'EntityReference';
27261
+ id: string;
27262
+ } | null;
27136
27263
  } | null;
27137
27264
  microsoft?: {
27138
27265
  __typename?: 'MicrosoftEmailFeedProperties';
@@ -27146,7 +27273,10 @@ export type QueryFeedsQuery = {
27146
27273
  refreshToken?: string | null;
27147
27274
  clientId?: string | null;
27148
27275
  clientSecret?: string | null;
27149
- authorizationId?: string | null;
27276
+ connector?: {
27277
+ __typename?: 'EntityReference';
27278
+ id: string;
27279
+ } | null;
27150
27280
  } | null;
27151
27281
  } | null;
27152
27282
  issue?: {
@@ -27175,7 +27305,10 @@ export type QueryFeedsQuery = {
27175
27305
  repositoryName: string;
27176
27306
  refreshToken?: string | null;
27177
27307
  personalAccessToken?: string | null;
27178
- authorizationId?: string | null;
27308
+ connector?: {
27309
+ __typename?: 'EntityReference';
27310
+ id: string;
27311
+ } | null;
27179
27312
  } | null;
27180
27313
  intercom?: {
27181
27314
  __typename?: 'IntercomTicketsFeedProperties';
@@ -27210,7 +27343,10 @@ export type QueryFeedsQuery = {
27210
27343
  repositoryName: string;
27211
27344
  refreshToken?: string | null;
27212
27345
  personalAccessToken?: string | null;
27213
- authorizationId?: string | null;
27346
+ connector?: {
27347
+ __typename?: 'EntityReference';
27348
+ id: string;
27349
+ } | null;
27214
27350
  } | null;
27215
27351
  } | null;
27216
27352
  pullRequest?: {
@@ -27225,7 +27361,10 @@ export type QueryFeedsQuery = {
27225
27361
  repositoryName: string;
27226
27362
  refreshToken?: string | null;
27227
27363
  personalAccessToken?: string | null;
27228
- authorizationId?: string | null;
27364
+ connector?: {
27365
+ __typename?: 'EntityReference';
27366
+ id: string;
27367
+ } | null;
27229
27368
  } | null;
27230
27369
  } | null;
27231
27370
  crm?: {
@@ -27243,7 +27382,10 @@ export type QueryFeedsQuery = {
27243
27382
  clientId?: string | null;
27244
27383
  clientSecret?: string | null;
27245
27384
  refreshToken?: string | null;
27246
- authorizationId?: string | null;
27385
+ connector?: {
27386
+ __typename?: 'EntityReference';
27387
+ id: string;
27388
+ } | null;
27247
27389
  } | null;
27248
27390
  microsoftContacts?: {
27249
27391
  __typename?: 'MicrosoftContactsCRMFeedProperties';
@@ -27252,7 +27394,10 @@ export type QueryFeedsQuery = {
27252
27394
  clientSecret?: string | null;
27253
27395
  refreshToken?: string | null;
27254
27396
  tenantId?: string | null;
27255
- authorizationId?: string | null;
27397
+ connector?: {
27398
+ __typename?: 'EntityReference';
27399
+ id: string;
27400
+ } | null;
27256
27401
  } | null;
27257
27402
  } | null;
27258
27403
  calendar?: {
@@ -27272,7 +27417,10 @@ export type QueryFeedsQuery = {
27272
27417
  refreshToken?: string | null;
27273
27418
  clientId?: string | null;
27274
27419
  clientSecret?: string | null;
27275
- authorizationId?: string | null;
27420
+ connector?: {
27421
+ __typename?: 'EntityReference';
27422
+ id: string;
27423
+ } | null;
27276
27424
  } | null;
27277
27425
  microsoft?: {
27278
27426
  __typename?: 'MicrosoftCalendarFeedProperties';
@@ -27284,7 +27432,10 @@ export type QueryFeedsQuery = {
27284
27432
  refreshToken?: string | null;
27285
27433
  clientId?: string | null;
27286
27434
  clientSecret?: string | null;
27287
- authorizationId?: string | null;
27435
+ connector?: {
27436
+ __typename?: 'EntityReference';
27437
+ id: string;
27438
+ } | null;
27288
27439
  } | null;
27289
27440
  } | null;
27290
27441
  rss?: {
@@ -27363,9 +27514,12 @@ export type QueryFeedsQuery = {
27363
27514
  clientId?: string | null;
27364
27515
  clientSecret?: string | null;
27365
27516
  refreshToken?: string | null;
27366
- authorizationId?: string | null;
27367
27517
  teamId: string;
27368
27518
  channelId: string;
27519
+ connector?: {
27520
+ __typename?: 'EntityReference';
27521
+ id: string;
27522
+ } | null;
27369
27523
  } | null;
27370
27524
  discord?: {
27371
27525
  __typename?: 'DiscordFeedProperties';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20251211002",
3
+ "version": "1.0.20251215001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",