graphlit-client 1.0.20260419002 → 1.0.20260419003

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.
@@ -1898,6 +1898,7 @@ export const GetConnector = gql `
1898
1898
  clientId
1899
1899
  clientSecret
1900
1900
  refreshToken
1901
+ accessToken
1901
1902
  redirectUri
1902
1903
  metadata
1903
1904
  }
@@ -1998,6 +1999,7 @@ export const QueryConnectors = gql `
1998
1999
  clientId
1999
2000
  clientSecret
2000
2001
  refreshToken
2002
+ accessToken
2001
2003
  redirectUri
2002
2004
  metadata
2003
2005
  }
@@ -10891,6 +10893,17 @@ export const GetFeed = gql `
10891
10893
  identifiers
10892
10894
  type
10893
10895
  }
10896
+ evernote {
10897
+ readLimit
10898
+ type
10899
+ connector {
10900
+ id
10901
+ }
10902
+ query
10903
+ tagGuids
10904
+ includeResources
10905
+ includeInactive
10906
+ }
10894
10907
  confluence {
10895
10908
  readLimit
10896
10909
  authenticationType
@@ -11983,6 +11996,17 @@ export const QueryFeeds = gql `
11983
11996
  identifiers
11984
11997
  type
11985
11998
  }
11999
+ evernote {
12000
+ readLimit
12001
+ type
12002
+ connector {
12003
+ id
12004
+ }
12005
+ query
12006
+ tagGuids
12007
+ includeResources
12008
+ includeInactive
12009
+ }
11986
12010
  confluence {
11987
12011
  readLimit
11988
12012
  authenticationType
@@ -18001,6 +18025,7 @@ export const CreateReplica = gql `
18001
18025
  clientId
18002
18026
  clientSecret
18003
18027
  refreshToken
18028
+ accessToken
18004
18029
  redirectUri
18005
18030
  metadata
18006
18031
  }
@@ -18304,6 +18329,7 @@ export const GetReplica = gql `
18304
18329
  clientId
18305
18330
  clientSecret
18306
18331
  refreshToken
18332
+ accessToken
18307
18333
  redirectUri
18308
18334
  metadata
18309
18335
  }
@@ -18562,6 +18588,7 @@ export const QueryReplicas = gql `
18562
18588
  clientId
18563
18589
  clientSecret
18564
18590
  refreshToken
18591
+ accessToken
18565
18592
  redirectUri
18566
18593
  metadata
18567
18594
  }
@@ -18829,6 +18856,7 @@ export const UpdateReplica = gql `
18829
18856
  clientId
18830
18857
  clientSecret
18831
18858
  refreshToken
18859
+ accessToken
18832
18860
  redirectUri
18833
18861
  metadata
18834
18862
  }
@@ -19080,6 +19108,7 @@ export const UpsertReplica = gql `
19080
19108
  clientId
19081
19109
  clientSecret
19082
19110
  refreshToken
19111
+ accessToken
19083
19112
  redirectUri
19084
19113
  metadata
19085
19114
  }
@@ -20624,6 +20653,7 @@ export const GetUser = gql `
20624
20653
  clientId
20625
20654
  clientSecret
20626
20655
  refreshToken
20656
+ accessToken
20627
20657
  redirectUri
20628
20658
  metadata
20629
20659
  }
@@ -20753,6 +20783,7 @@ export const GetUserByIdentifier = gql `
20753
20783
  clientId
20754
20784
  clientSecret
20755
20785
  refreshToken
20786
+ accessToken
20756
20787
  redirectUri
20757
20788
  metadata
20758
20789
  }
@@ -20883,6 +20914,7 @@ export const QueryUsers = gql `
20883
20914
  clientId
20884
20915
  clientSecret
20885
20916
  refreshToken
20917
+ accessToken
20886
20918
  redirectUri
20887
20919
  metadata
20888
20920
  }
@@ -7357,6 +7357,108 @@ export type EventUpdateInput = {
7357
7357
  /** The event URI. */
7358
7358
  uri?: InputMaybe<Scalars['URL']['input']>;
7359
7359
  };
7360
+ /** Represents Evernote authorized notebook discovery properties. */
7361
+ export type EvernoteAuthorizedNotebookInput = {
7362
+ /** Evernote App Notebook authentication connector reference. */
7363
+ connector: EntityReferenceInput;
7364
+ };
7365
+ /** Represents Evernote feed properties. */
7366
+ export type EvernoteFeedProperties = {
7367
+ __typename?: 'EvernoteFeedProperties';
7368
+ /** Evernote App Notebook authentication connector reference. */
7369
+ connector?: Maybe<EntityReference>;
7370
+ /** Should the feed include inactive notes. */
7371
+ includeInactive?: Maybe<Scalars['Boolean']['output']>;
7372
+ /** Should the feed include note resources. */
7373
+ includeResources?: Maybe<Scalars['Boolean']['output']>;
7374
+ /** Evernote search query within the authorized notebook. */
7375
+ query?: Maybe<Scalars['String']['output']>;
7376
+ /** The limit of items to be read from feed, defaults to 100. */
7377
+ readLimit?: Maybe<Scalars['Int']['output']>;
7378
+ /** Evernote tag GUIDs within the authorized notebook. */
7379
+ tagGuids?: Maybe<Array<Scalars['String']['output']>>;
7380
+ /** Feed listing type, i.e. past or new notes. */
7381
+ type?: Maybe<FeedListingTypes>;
7382
+ };
7383
+ /** Represents Evernote feed properties. */
7384
+ export type EvernoteFeedPropertiesInput = {
7385
+ /** Evernote App Notebook authentication connector reference. */
7386
+ connector: EntityReferenceInput;
7387
+ /** Should the feed include inactive notes. */
7388
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
7389
+ /** Should the feed include note resources. */
7390
+ includeResources?: InputMaybe<Scalars['Boolean']['input']>;
7391
+ /** Evernote search query within the authorized notebook. */
7392
+ query?: InputMaybe<Scalars['String']['input']>;
7393
+ /** The limit of items to be read from feed, defaults to 100. */
7394
+ readLimit?: InputMaybe<Scalars['Int']['input']>;
7395
+ /** Evernote tag GUIDs within the authorized notebook. */
7396
+ tagGuids?: InputMaybe<Array<Scalars['String']['input']>>;
7397
+ /** Feed listing type, i.e. past or new notes. */
7398
+ type?: InputMaybe<FeedListingTypes>;
7399
+ };
7400
+ /** Represents Evernote feed properties. */
7401
+ export type EvernoteFeedPropertiesUpdateInput = {
7402
+ /** Evernote App Notebook authentication connector reference. */
7403
+ connector?: InputMaybe<EntityReferenceInput>;
7404
+ /** Should the feed include inactive notes. */
7405
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
7406
+ /** Should the feed include note resources. */
7407
+ includeResources?: InputMaybe<Scalars['Boolean']['input']>;
7408
+ /** Evernote search query within the authorized notebook. */
7409
+ query?: InputMaybe<Scalars['String']['input']>;
7410
+ /** The limit of items to be read from feed, defaults to 100. */
7411
+ readLimit?: InputMaybe<Scalars['Int']['input']>;
7412
+ /** Evernote tag GUIDs. */
7413
+ tagGuids?: InputMaybe<Array<Scalars['String']['input']>>;
7414
+ /** Feed listing type, i.e. past or new notes. */
7415
+ type?: InputMaybe<FeedListingTypes>;
7416
+ };
7417
+ /** Represents an Evernote notebook. */
7418
+ export type EvernoteNotebookResult = {
7419
+ __typename?: 'EvernoteNotebookResult';
7420
+ /** The notebook creation date. */
7421
+ createdDate?: Maybe<Scalars['DateTime']['output']>;
7422
+ /** The Evernote notebook GUID. */
7423
+ identifier?: Maybe<Scalars['ID']['output']>;
7424
+ /** Whether this is the default notebook. */
7425
+ isDefault?: Maybe<Scalars['Boolean']['output']>;
7426
+ /** The notebook modification date. */
7427
+ modifiedDate?: Maybe<Scalars['DateTime']['output']>;
7428
+ /** The Evernote notebook name. */
7429
+ name?: Maybe<Scalars['String']['output']>;
7430
+ /** The Evernote notebook stack. */
7431
+ stack?: Maybe<Scalars['String']['output']>;
7432
+ };
7433
+ /** Represents the authorized Evernote App Notebook. */
7434
+ export type EvernoteNotebookResults = {
7435
+ __typename?: 'EvernoteNotebookResults';
7436
+ /** The zero-or-one Evernote App Notebook authorized by the connector. */
7437
+ results?: Maybe<Array<Maybe<EvernoteNotebookResult>>>;
7438
+ };
7439
+ /** Represents an Evernote tag. */
7440
+ export type EvernoteTagResult = {
7441
+ __typename?: 'EvernoteTagResult';
7442
+ /** The Evernote tag GUID. */
7443
+ identifier?: Maybe<Scalars['ID']['output']>;
7444
+ /** The tag modification date. */
7445
+ modifiedDate?: Maybe<Scalars['DateTime']['output']>;
7446
+ /** The Evernote tag name. */
7447
+ name?: Maybe<Scalars['String']['output']>;
7448
+ /** The Evernote parent tag GUID. */
7449
+ parentIdentifier?: Maybe<Scalars['ID']['output']>;
7450
+ };
7451
+ /** Represents Evernote tags. */
7452
+ export type EvernoteTagResults = {
7453
+ __typename?: 'EvernoteTagResults';
7454
+ /** The Evernote tags. */
7455
+ results?: Maybe<Array<Maybe<EvernoteTagResult>>>;
7456
+ };
7457
+ /** Represents Evernote tag discovery properties. */
7458
+ export type EvernoteTagsInput = {
7459
+ /** Evernote App Notebook authentication connector reference. */
7460
+ connector: EntityReferenceInput;
7461
+ };
7360
7462
  /** Represents Exa search properties. */
7361
7463
  export type ExaSearchProperties = {
7362
7464
  __typename?: 'ExaSearchProperties';
@@ -7745,6 +7847,8 @@ export type Feed = {
7745
7847
  entity?: Maybe<EntityFeedProperties>;
7746
7848
  /** If feed failed, the error message. */
7747
7849
  error?: Maybe<Scalars['String']['output']>;
7850
+ /** The Evernote feed properties. */
7851
+ evernote?: Maybe<EvernoteFeedProperties>;
7748
7852
  /** The HRIS feed properties. */
7749
7853
  hris?: Maybe<HrisFeedProperties>;
7750
7854
  /** The HubSpot Conversations feed properties. */
@@ -7947,6 +8051,8 @@ export type FeedInput = {
7947
8051
  email?: InputMaybe<EmailFeedPropertiesInput>;
7948
8052
  /** The Entity discovery feed properties. */
7949
8053
  entity?: InputMaybe<EntityFeedPropertiesInput>;
8054
+ /** The Evernote feed properties. */
8055
+ evernote?: InputMaybe<EvernoteFeedPropertiesInput>;
7950
8056
  /** The HRIS feed properties. */
7951
8057
  hris?: InputMaybe<HrisFeedPropertiesInput>;
7952
8058
  /** The HubSpot Conversations feed properties. */
@@ -8031,6 +8137,8 @@ export type FeedPreviewInput = {
8031
8137
  email?: InputMaybe<EmailFeedPropertiesInput>;
8032
8138
  /** The Entity discovery feed properties. */
8033
8139
  entity?: InputMaybe<EntityFeedPropertiesInput>;
8140
+ /** The Evernote feed properties. */
8141
+ evernote?: InputMaybe<EvernoteFeedPropertiesInput>;
8034
8142
  /** The HRIS feed properties. */
8035
8143
  hris?: InputMaybe<HrisFeedPropertiesInput>;
8036
8144
  /** The HubSpot Conversations feed properties. */
@@ -8281,6 +8389,8 @@ export declare enum FeedTypes {
8281
8389
  Email = "EMAIL",
8282
8390
  /** Entity discovery feed */
8283
8391
  Entity = "ENTITY",
8392
+ /** Evernote feed */
8393
+ Evernote = "EVERNOTE",
8284
8394
  /** HRIS feed */
8285
8395
  Hris = "HRIS",
8286
8396
  /** HubSpot feed */
@@ -8350,6 +8460,8 @@ export type FeedUpdateInput = {
8350
8460
  email?: InputMaybe<EmailFeedPropertiesUpdateInput>;
8351
8461
  /** The Entity discovery feed properties. */
8352
8462
  entity?: InputMaybe<EntityFeedPropertiesUpdateInput>;
8463
+ /** The Evernote feed properties. */
8464
+ evernote?: InputMaybe<EvernoteFeedPropertiesUpdateInput>;
8353
8465
  /** The HRIS feed properties. */
8354
8466
  hris?: InputMaybe<HrisFeedPropertiesUpdateInput>;
8355
8467
  /** The HubSpot Conversations feed properties. */
@@ -18412,6 +18524,8 @@ export declare enum NotionTypes {
18412
18524
  /** Represents OAuth authentication properties. */
18413
18525
  export type OAuthAuthenticationProperties = {
18414
18526
  __typename?: 'OAuthAuthenticationProperties';
18527
+ /** OAuth access token. */
18528
+ accessToken?: Maybe<Scalars['String']['output']>;
18415
18529
  /** OAuth client identifier. */
18416
18530
  clientId: Scalars['String']['output'];
18417
18531
  /** OAuth client secret. */
@@ -18423,10 +18537,12 @@ export type OAuthAuthenticationProperties = {
18423
18537
  /** OAuth redirect URI. */
18424
18538
  redirectUri?: Maybe<Scalars['String']['output']>;
18425
18539
  /** OAuth refresh token. */
18426
- refreshToken: Scalars['String']['output'];
18540
+ refreshToken?: Maybe<Scalars['String']['output']>;
18427
18541
  };
18428
18542
  /** Represents OAuth authentication properties. */
18429
18543
  export type OAuthAuthenticationPropertiesInput = {
18544
+ /** OAuth access token. */
18545
+ accessToken?: InputMaybe<Scalars['String']['input']>;
18430
18546
  /** OAuth client identifier. */
18431
18547
  clientId: Scalars['String']['input'];
18432
18548
  /** OAuth client secret. */
@@ -18438,7 +18554,7 @@ export type OAuthAuthenticationPropertiesInput = {
18438
18554
  /** OAuth redirect URI. */
18439
18555
  redirectUri?: InputMaybe<Scalars['String']['input']>;
18440
18556
  /** OAuth refresh token. */
18441
- refreshToken: Scalars['String']['input'];
18557
+ refreshToken?: InputMaybe<Scalars['String']['input']>;
18442
18558
  };
18443
18559
  /** OAuth authentication providers */
18444
18560
  export declare enum OAuthProviders {
@@ -18450,6 +18566,8 @@ export declare enum OAuthProviders {
18450
18566
  Box = "BOX",
18451
18567
  /** Dropbox authentication provider */
18452
18568
  Dropbox = "DROPBOX",
18569
+ /** Evernote authentication provider */
18570
+ Evernote = "EVERNOTE",
18453
18571
  /** GitHub authentication provider */
18454
18572
  GitHub = "GIT_HUB",
18455
18573
  /** GitLab authentication provider */
@@ -21507,6 +21625,10 @@ export type Query = {
21507
21625
  event?: Maybe<Event>;
21508
21626
  /** Retrieves events based on the provided filter criteria. */
21509
21627
  events?: Maybe<EventResults>;
21628
+ /** Retrieves the authorized Evernote App Notebook. */
21629
+ evernoteAuthorizedNotebook?: Maybe<EvernoteNotebookResults>;
21630
+ /** Retrieves available Evernote tags. */
21631
+ evernoteTags?: Maybe<EvernoteTagResults>;
21510
21632
  /** Lookup a fact given its ID. */
21511
21633
  fact?: Maybe<Fact>;
21512
21634
  /** Retrieves facts based on the provided filter criteria. */
@@ -22018,6 +22140,12 @@ export type QueryEventsArgs = {
22018
22140
  facets?: InputMaybe<Array<EventFacetInput>>;
22019
22141
  filter?: InputMaybe<EventFilter>;
22020
22142
  };
22143
+ export type QueryEvernoteAuthorizedNotebookArgs = {
22144
+ properties: EvernoteAuthorizedNotebookInput;
22145
+ };
22146
+ export type QueryEvernoteTagsArgs = {
22147
+ properties: EvernoteTagsInput;
22148
+ };
22021
22149
  export type QueryFactArgs = {
22022
22150
  correlationId?: InputMaybe<Scalars['String']['input']>;
22023
22151
  id: Scalars['ID']['input'];
@@ -22908,6 +23036,10 @@ export type ReplicaGitPropertiesInput = {
22908
23036
  branch?: InputMaybe<Scalars['String']['input']>;
22909
23037
  /** The Git branch selection behavior. */
22910
23038
  branchType?: InputMaybe<ReplicaBranchTypes>;
23039
+ /** Whether Graphlit should create the Git destination if it does not exist. */
23040
+ createIfMissing?: InputMaybe<Scalars['Boolean']['input']>;
23041
+ /** The GitLab project name to create. */
23042
+ projectName?: InputMaybe<Scalars['String']['input']>;
22911
23043
  /** The GitLab project path. */
22912
23044
  projectPath?: InputMaybe<Scalars['String']['input']>;
22913
23045
  /** The GitHub repository name. */
@@ -28888,7 +29020,8 @@ export type GetConnectorQuery = {
28888
29020
  provider: OAuthProviders;
28889
29021
  clientId: string;
28890
29022
  clientSecret: string;
28891
- refreshToken: string;
29023
+ refreshToken?: string | null;
29024
+ accessToken?: string | null;
28892
29025
  redirectUri?: string | null;
28893
29026
  metadata?: string | null;
28894
29027
  } | null;
@@ -29011,7 +29144,8 @@ export type QueryConnectorsQuery = {
29011
29144
  provider: OAuthProviders;
29012
29145
  clientId: string;
29013
29146
  clientSecret: string;
29014
- refreshToken: string;
29147
+ refreshToken?: string | null;
29148
+ accessToken?: string | null;
29015
29149
  redirectUri?: string | null;
29016
29150
  metadata?: string | null;
29017
29151
  } | null;
@@ -39183,6 +39317,19 @@ export type GetFeedQuery = {
39183
39317
  id: string;
39184
39318
  } | null;
39185
39319
  } | null;
39320
+ evernote?: {
39321
+ __typename?: 'EvernoteFeedProperties';
39322
+ readLimit?: number | null;
39323
+ type?: FeedListingTypes | null;
39324
+ query?: string | null;
39325
+ tagGuids?: Array<string> | null;
39326
+ includeResources?: boolean | null;
39327
+ includeInactive?: boolean | null;
39328
+ connector?: {
39329
+ __typename?: 'EntityReference';
39330
+ id: string;
39331
+ } | null;
39332
+ } | null;
39186
39333
  confluence?: {
39187
39334
  __typename?: 'ConfluenceFeedProperties';
39188
39335
  readLimit?: number | null;
@@ -40489,6 +40636,19 @@ export type QueryFeedsQuery = {
40489
40636
  id: string;
40490
40637
  } | null;
40491
40638
  } | null;
40639
+ evernote?: {
40640
+ __typename?: 'EvernoteFeedProperties';
40641
+ readLimit?: number | null;
40642
+ type?: FeedListingTypes | null;
40643
+ query?: string | null;
40644
+ tagGuids?: Array<string> | null;
40645
+ includeResources?: boolean | null;
40646
+ includeInactive?: boolean | null;
40647
+ connector?: {
40648
+ __typename?: 'EntityReference';
40649
+ id: string;
40650
+ } | null;
40651
+ } | null;
40492
40652
  confluence?: {
40493
40653
  __typename?: 'ConfluenceFeedProperties';
40494
40654
  readLimit?: number | null;
@@ -47817,7 +47977,8 @@ export type CreateReplicaMutation = {
47817
47977
  provider: OAuthProviders;
47818
47978
  clientId: string;
47819
47979
  clientSecret: string;
47820
- refreshToken: string;
47980
+ refreshToken?: string | null;
47981
+ accessToken?: string | null;
47821
47982
  redirectUri?: string | null;
47822
47983
  metadata?: string | null;
47823
47984
  } | null;
@@ -48195,7 +48356,8 @@ export type GetReplicaQuery = {
48195
48356
  provider: OAuthProviders;
48196
48357
  clientId: string;
48197
48358
  clientSecret: string;
48198
- refreshToken: string;
48359
+ refreshToken?: string | null;
48360
+ accessToken?: string | null;
48199
48361
  redirectUri?: string | null;
48200
48362
  metadata?: string | null;
48201
48363
  } | null;
@@ -48514,7 +48676,8 @@ export type QueryReplicasQuery = {
48514
48676
  provider: OAuthProviders;
48515
48677
  clientId: string;
48516
48678
  clientSecret: string;
48517
- refreshToken: string;
48679
+ refreshToken?: string | null;
48680
+ accessToken?: string | null;
48518
48681
  redirectUri?: string | null;
48519
48682
  metadata?: string | null;
48520
48683
  } | null;
@@ -48846,7 +49009,8 @@ export type UpdateReplicaMutation = {
48846
49009
  provider: OAuthProviders;
48847
49010
  clientId: string;
48848
49011
  clientSecret: string;
48849
- refreshToken: string;
49012
+ refreshToken?: string | null;
49013
+ accessToken?: string | null;
48850
49014
  redirectUri?: string | null;
48851
49015
  metadata?: string | null;
48852
49016
  } | null;
@@ -49155,7 +49319,8 @@ export type UpsertReplicaMutation = {
49155
49319
  provider: OAuthProviders;
49156
49320
  clientId: string;
49157
49321
  clientSecret: string;
49158
- refreshToken: string;
49322
+ refreshToken?: string | null;
49323
+ accessToken?: string | null;
49159
49324
  redirectUri?: string | null;
49160
49325
  metadata?: string | null;
49161
49326
  } | null;
@@ -50989,7 +51154,8 @@ export type GetUserQuery = {
50989
51154
  provider: OAuthProviders;
50990
51155
  clientId: string;
50991
51156
  clientSecret: string;
50992
- refreshToken: string;
51157
+ refreshToken?: string | null;
51158
+ accessToken?: string | null;
50993
51159
  redirectUri?: string | null;
50994
51160
  metadata?: string | null;
50995
51161
  } | null;
@@ -51143,7 +51309,8 @@ export type GetUserByIdentifierQuery = {
51143
51309
  provider: OAuthProviders;
51144
51310
  clientId: string;
51145
51311
  clientSecret: string;
51146
- refreshToken: string;
51312
+ refreshToken?: string | null;
51313
+ accessToken?: string | null;
51147
51314
  redirectUri?: string | null;
51148
51315
  metadata?: string | null;
51149
51316
  } | null;
@@ -51300,7 +51467,8 @@ export type QueryUsersQuery = {
51300
51467
  provider: OAuthProviders;
51301
51468
  clientId: string;
51302
51469
  clientSecret: string;
51303
- refreshToken: string;
51470
+ refreshToken?: string | null;
51471
+ accessToken?: string | null;
51304
51472
  redirectUri?: string | null;
51305
51473
  metadata?: string | null;
51306
51474
  } | null;
@@ -1554,6 +1554,8 @@ export var FeedTypes;
1554
1554
  FeedTypes["Email"] = "EMAIL";
1555
1555
  /** Entity discovery feed */
1556
1556
  FeedTypes["Entity"] = "ENTITY";
1557
+ /** Evernote feed */
1558
+ FeedTypes["Evernote"] = "EVERNOTE";
1557
1559
  /** HRIS feed */
1558
1560
  FeedTypes["Hris"] = "HRIS";
1559
1561
  /** HubSpot feed */
@@ -2488,6 +2490,8 @@ export var OAuthProviders;
2488
2490
  OAuthProviders["Box"] = "BOX";
2489
2491
  /** Dropbox authentication provider */
2490
2492
  OAuthProviders["Dropbox"] = "DROPBOX";
2493
+ /** Evernote authentication provider */
2494
+ OAuthProviders["Evernote"] = "EVERNOTE";
2491
2495
  /** GitHub authentication provider */
2492
2496
  OAuthProviders["GitHub"] = "GIT_HUB";
2493
2497
  /** GitLab authentication provider */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260419002",
3
+ "version": "1.0.20260419003",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",