graphlit-client 1.0.20240515001 → 1.0.20240519001

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.
@@ -656,6 +656,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
656
656
  id
657
657
  name
658
658
  }
659
+ relatedType
659
660
  relation
660
661
  occurrences {
661
662
  type
@@ -1028,6 +1029,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1028
1029
  id
1029
1030
  name
1030
1031
  }
1032
+ relatedType
1031
1033
  relation
1032
1034
  occurrences {
1033
1035
  type
@@ -1257,6 +1259,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1257
1259
  id
1258
1260
  name
1259
1261
  }
1262
+ relatedType
1260
1263
  relation
1261
1264
  occurrences {
1262
1265
  type
@@ -1577,6 +1580,7 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1577
1580
  graph {
1578
1581
  nodes {
1579
1582
  id
1583
+ name
1580
1584
  type
1581
1585
  metadata
1582
1586
  }
@@ -1948,7 +1952,6 @@ exports.GetFeed = (0, graphql_tag_1.default) `
1948
1952
  }
1949
1953
  microsoft {
1950
1954
  type
1951
- tenantId
1952
1955
  refreshToken
1953
1956
  }
1954
1957
  }
@@ -2110,7 +2113,6 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
2110
2113
  }
2111
2114
  microsoft {
2112
2115
  type
2113
- tenantId
2114
2116
  refreshToken
2115
2117
  }
2116
2118
  }
@@ -1250,6 +1250,8 @@ export declare enum ContentFacetTypes {
1250
1250
  }
1251
1251
  /** Represents a filter for contents. */
1252
1252
  export type ContentFilter = {
1253
+ /** List of additional content filters using conjunctive conditions, i.e. 'and' semantics. */
1254
+ and?: InputMaybe<Array<InputMaybe<ContentFilterLevel>>>;
1253
1255
  /** Filter by geo-boundaries, as GeoJSON Feature with Polygon geometry. */
1254
1256
  boundaries?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1255
1257
  /** Filter by collections. */
@@ -1286,6 +1288,8 @@ export type ContentFilter = {
1286
1288
  observations?: InputMaybe<Array<ObservationReferenceFilter>>;
1287
1289
  /** Skip the specified number of content(s) from the beginning of the result set. */
1288
1290
  offset?: InputMaybe<Scalars['Int']['input']>;
1291
+ /** List of additional content filters using disjunctive conditions, i.e. 'or' semantics. */
1292
+ or?: InputMaybe<Array<InputMaybe<ContentFilterLevel>>>;
1289
1293
  /** The sort order for query results. */
1290
1294
  orderBy?: InputMaybe<OrderByTypes>;
1291
1295
  /** Filter by original date range. */
@@ -1305,6 +1309,17 @@ export type ContentFilter = {
1305
1309
  /** Filter by workflows. */
1306
1310
  workflows?: InputMaybe<Array<EntityReferenceFilter>>;
1307
1311
  };
1312
+ /** Represents a filter level for contents. */
1313
+ export type ContentFilterLevel = {
1314
+ /** Filter by collections. */
1315
+ collections?: InputMaybe<Array<EntityReferenceFilter>>;
1316
+ /** Filter by feeds. */
1317
+ feeds?: InputMaybe<Array<EntityReferenceFilter>>;
1318
+ /** Filter by observations. */
1319
+ observations?: InputMaybe<Array<ObservationReferenceFilter>>;
1320
+ /** Filter by workflows. */
1321
+ workflows?: InputMaybe<Array<EntityReferenceFilter>>;
1322
+ };
1308
1323
  /** Represents the configuration for retrieving the knowledge graph. */
1309
1324
  export type ContentGraphInput = {
1310
1325
  /** The observable types. */
@@ -3799,6 +3814,8 @@ export declare enum LinkTypes {
3799
3814
  Wikimedia = "WIKIMEDIA",
3800
3815
  /** Wikipedia link */
3801
3816
  Wikipedia = "WIKIPEDIA",
3817
+ /** X link */
3818
+ X = "X",
3802
3819
  /** YouTube link */
3803
3820
  YouTube = "YOU_TUBE"
3804
3821
  }
@@ -3932,8 +3949,6 @@ export type MicrosoftEmailFeedProperties = {
3932
3949
  __typename?: 'MicrosoftEmailFeedProperties';
3933
3950
  /** Microsoft refresh token. */
3934
3951
  refreshToken: Scalars['String']['output'];
3935
- /** Azure Active Directory tenant identifier. */
3936
- tenantId?: Maybe<Scalars['String']['output']>;
3937
3952
  /** Email listing type, i.e. past or new emails. */
3938
3953
  type?: Maybe<EmailListingTypes>;
3939
3954
  };
@@ -3941,8 +3956,6 @@ export type MicrosoftEmailFeedProperties = {
3941
3956
  export type MicrosoftEmailFeedPropertiesInput = {
3942
3957
  /** Microsoft refresh token. */
3943
3958
  refreshToken: Scalars['String']['input'];
3944
- /** Azure Active Directory tenant identifier. */
3945
- tenantId?: InputMaybe<Scalars['String']['input']>;
3946
3959
  /** Email listing type, i.e. past or new emails. */
3947
3960
  type?: InputMaybe<EmailListingTypes>;
3948
3961
  };
@@ -3950,8 +3963,6 @@ export type MicrosoftEmailFeedPropertiesInput = {
3950
3963
  export type MicrosoftEmailFeedPropertiesUpdateInput = {
3951
3964
  /** Microsoft refresh token. */
3952
3965
  refreshToken?: InputMaybe<Scalars['String']['input']>;
3953
- /** Azure Active Directory tenant identifier. */
3954
- tenantId?: InputMaybe<Scalars['String']['input']>;
3955
3966
  /** Email listing type, i.e. past or new emails. */
3956
3967
  type?: InputMaybe<EmailListingTypes>;
3957
3968
  };
@@ -3973,8 +3984,6 @@ export type MicrosoftTeamsChannelResults = {
3973
3984
  export type MicrosoftTeamsChannelsInput = {
3974
3985
  /** The Microsoft Graph refresh token. */
3975
3986
  refreshToken: Scalars['String']['input'];
3976
- /** Azure Active Directory tenant identifier. */
3977
- tenantId: Scalars['String']['input'];
3978
3987
  };
3979
3988
  /** Represents Microsoft Teams feed properties. */
3980
3989
  export type MicrosoftTeamsFeedProperties = {
@@ -3987,8 +3996,6 @@ export type MicrosoftTeamsFeedProperties = {
3987
3996
  refreshToken: Scalars['String']['output'];
3988
3997
  /** The Microsoft Teams team identifier. */
3989
3998
  teamId: Scalars['String']['output'];
3990
- /** Azure Active Directory tenant identifier. */
3991
- tenantId: Scalars['String']['output'];
3992
3999
  /** Feed listing type, i.e. past or new messages. */
3993
4000
  type?: Maybe<FeedListingTypes>;
3994
4001
  };
@@ -4002,8 +4009,6 @@ export type MicrosoftTeamsFeedPropertiesInput = {
4002
4009
  refreshToken: Scalars['String']['input'];
4003
4010
  /** The Microsoft Teams team identifier. */
4004
4011
  teamId: Scalars['String']['input'];
4005
- /** Azure Active Directory tenant identifier. */
4006
- tenantId: Scalars['String']['input'];
4007
4012
  /** Feed listing type, i.e. past or new messages. */
4008
4013
  type?: InputMaybe<FeedListingTypes>;
4009
4014
  };
@@ -4017,8 +4022,6 @@ export type MicrosoftTeamsFeedPropertiesUpdateInput = {
4017
4022
  refreshToken?: InputMaybe<Scalars['String']['input']>;
4018
4023
  /** The Microsoft Teams team identifier. */
4019
4024
  teamId: Scalars['String']['input'];
4020
- /** Azure Active Directory tenant identifier. */
4021
- tenantId?: InputMaybe<Scalars['String']['input']>;
4022
4025
  /** Feed listing type, i.e. past or new messages. */
4023
4026
  type?: InputMaybe<FeedListingTypes>;
4024
4027
  };
@@ -4040,8 +4043,6 @@ export type MicrosoftTeamsTeamResults = {
4040
4043
  export type MicrosoftTeamsTeamsInput = {
4041
4044
  /** The Microsoft Graph refresh token. */
4042
4045
  refreshToken: Scalars['String']['input'];
4043
- /** Azure Active Directory tenant identifier. */
4044
- tenantId: Scalars['String']['input'];
4045
4046
  };
4046
4047
  /** Represents Mistral model properties. */
4047
4048
  export type MistralModelProperties = {
@@ -4948,6 +4949,8 @@ export type Observation = {
4948
4949
  owner: Owner;
4949
4950
  /** The related entity, optional. */
4950
4951
  related?: Maybe<NamedEntityReference>;
4952
+ /** The related entity type, optional. */
4953
+ relatedType?: Maybe<ObservableTypes>;
4951
4954
  /** The relationship between the observed entity and related entity, optional. */
4952
4955
  relation?: Maybe<Scalars['String']['output']>;
4953
4956
  /** The state of the observation (i.e. created, finished). */
@@ -4984,6 +4987,8 @@ export type ObservationInput = {
4984
4987
  occurrences: Array<ObservationOccurrenceInput>;
4985
4988
  /** The related entity, optional. */
4986
4989
  related?: InputMaybe<NamedEntityReferenceInput>;
4990
+ /** The related entity type. */
4991
+ relatedType?: InputMaybe<ObservableTypes>;
4987
4992
  /** The relationship between the observed entity and related entity, optional. */
4988
4993
  relation?: InputMaybe<Scalars['String']['input']>;
4989
4994
  /** The observed entity type. */
@@ -5039,6 +5044,8 @@ export type ObservationUpdateInput = {
5039
5044
  occurrences?: InputMaybe<Array<ObservationOccurrenceInput>>;
5040
5045
  /** The related entity, optional. */
5041
5046
  related?: InputMaybe<NamedEntityReferenceInput>;
5047
+ /** The related entity type. */
5048
+ relatedType?: InputMaybe<ObservableTypes>;
5042
5049
  /** The relationship between the observed entity and related entity, optional. */
5043
5050
  relation?: InputMaybe<Scalars['String']['input']>;
5044
5051
  /** The observed entity type. */
@@ -6708,6 +6715,8 @@ export type QueryCountWorkflowsArgs = {
6708
6715
  };
6709
6716
  export type QueryCreditsArgs = {
6710
6717
  duration: Scalars['TimeSpan']['input'];
6718
+ limit?: InputMaybe<Scalars['Int']['input']>;
6719
+ offset?: InputMaybe<Scalars['Int']['input']>;
6711
6720
  startDate: Scalars['DateTime']['input'];
6712
6721
  };
6713
6722
  export type QueryEventArgs = {
@@ -6851,6 +6860,8 @@ export type QuerySpecificationsArgs = {
6851
6860
  };
6852
6861
  export type QueryUsageArgs = {
6853
6862
  duration: Scalars['TimeSpan']['input'];
6863
+ limit?: InputMaybe<Scalars['Int']['input']>;
6864
+ offset?: InputMaybe<Scalars['Int']['input']>;
6854
6865
  startDate: Scalars['DateTime']['input'];
6855
6866
  };
6856
6867
  export type QueryWorkflowArgs = {
@@ -9156,6 +9167,7 @@ export type GetContentQuery = {
9156
9167
  __typename?: 'Observation';
9157
9168
  id: string;
9158
9169
  type: ObservableTypes;
9170
+ relatedType?: ObservableTypes | null;
9159
9171
  relation?: string | null;
9160
9172
  state: EntityState;
9161
9173
  observable: {
@@ -9573,6 +9585,7 @@ export type QueryContentsQuery = {
9573
9585
  __typename?: 'Observation';
9574
9586
  id: string;
9575
9587
  type: ObservableTypes;
9588
+ relatedType?: ObservableTypes | null;
9576
9589
  relation?: string | null;
9577
9590
  state: EntityState;
9578
9591
  observable: {
@@ -9835,6 +9848,7 @@ export type QueryContentsFacetsQuery = {
9835
9848
  __typename?: 'Observation';
9836
9849
  id: string;
9837
9850
  type: ObservableTypes;
9851
+ relatedType?: ObservableTypes | null;
9838
9852
  relation?: string | null;
9839
9853
  state: EntityState;
9840
9854
  observable: {
@@ -10242,6 +10256,7 @@ export type PromptConversationMutation = {
10242
10256
  nodes?: Array<{
10243
10257
  __typename?: 'GraphNode';
10244
10258
  id: string;
10259
+ name: string;
10245
10260
  type: EntityTypes;
10246
10261
  metadata?: string | null;
10247
10262
  } | null> | null;
@@ -10708,7 +10723,6 @@ export type GetFeedQuery = {
10708
10723
  microsoft?: {
10709
10724
  __typename?: 'MicrosoftEmailFeedProperties';
10710
10725
  type?: EmailListingTypes | null;
10711
- tenantId?: string | null;
10712
10726
  refreshToken: string;
10713
10727
  } | null;
10714
10728
  } | null;
@@ -10905,7 +10919,6 @@ export type QueryFeedsQuery = {
10905
10919
  microsoft?: {
10906
10920
  __typename?: 'MicrosoftEmailFeedProperties';
10907
10921
  type?: EmailListingTypes | null;
10908
- tenantId?: string | null;
10909
10922
  refreshToken: string;
10910
10923
  } | null;
10911
10924
  } | null;
@@ -779,6 +779,8 @@ var LinkTypes;
779
779
  LinkTypes["Wikimedia"] = "WIKIMEDIA";
780
780
  /** Wikipedia link */
781
781
  LinkTypes["Wikipedia"] = "WIKIPEDIA";
782
+ /** X link */
783
+ LinkTypes["X"] = "X";
782
784
  /** YouTube link */
783
785
  LinkTypes["YouTube"] = "YOU_TUBE";
784
786
  })(LinkTypes || (exports.LinkTypes = LinkTypes = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240515001",
3
+ "version": "1.0.20240519001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",