graphlit-client 1.0.20240519001 → 1.0.20240528001

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.
@@ -1120,6 +1120,8 @@ export type Content = {
1120
1120
  /** Represents a content filter. */
1121
1121
  export type ContentCriteria = {
1122
1122
  __typename?: 'ContentCriteria';
1123
+ /** List of additional content filters using conjunctive conditions, i.e. 'and' semantics between each filter in list. */
1124
+ and?: Maybe<Array<ContentCriteriaLevel>>;
1123
1125
  /** Filter by collections. */
1124
1126
  collections?: Maybe<Array<EntityReference>>;
1125
1127
  /** Filter by similar contents. */
@@ -1134,6 +1136,8 @@ export type ContentCriteria = {
1134
1136
  fileTypes?: Maybe<Array<Maybe<FileTypes>>>;
1135
1137
  /** Filter by observations. */
1136
1138
  observations?: Maybe<Array<ObservationCriteria>>;
1139
+ /** List of additional content filters using disjunctive conditions, i.e. 'or' semantics between each filter in list. */
1140
+ or?: Maybe<Array<ContentCriteriaLevel>>;
1137
1141
  /** Filter by content types. */
1138
1142
  types?: Maybe<Array<ContentTypes>>;
1139
1143
  /** Filter by workflows. */
@@ -1141,6 +1145,8 @@ export type ContentCriteria = {
1141
1145
  };
1142
1146
  /** Represents a content filter. */
1143
1147
  export type ContentCriteriaInput = {
1148
+ /** List of additional content filters using conjunctive conditions, i.e. 'and' semantics between each filter in list. */
1149
+ and?: InputMaybe<Array<ContentCriteriaLevelInput>>;
1144
1150
  /** Filter by collections. */
1145
1151
  collections?: InputMaybe<Array<EntityReferenceInput>>;
1146
1152
  /** Filter by similar contents. */
@@ -1155,11 +1161,36 @@ export type ContentCriteriaInput = {
1155
1161
  fileTypes?: InputMaybe<Array<FileTypes>>;
1156
1162
  /** Filter by observations. */
1157
1163
  observations?: InputMaybe<Array<ObservationCriteriaInput>>;
1164
+ /** List of additional content filters using disjunctive conditions, i.e. 'or' semantics between each filter in list. */
1165
+ or?: InputMaybe<Array<ContentCriteriaLevelInput>>;
1158
1166
  /** Filter by content types. */
1159
1167
  types?: InputMaybe<Array<ContentTypes>>;
1160
1168
  /** Filter by workflows. */
1161
1169
  workflows?: InputMaybe<Array<EntityReferenceInput>>;
1162
1170
  };
1171
+ /** Represents a filter level for contents. */
1172
+ export type ContentCriteriaLevel = {
1173
+ __typename?: 'ContentCriteriaLevel';
1174
+ /** Filter by collections. */
1175
+ collections?: Maybe<Array<EntityReference>>;
1176
+ /** Filter by feeds. */
1177
+ feeds?: Maybe<Array<EntityReference>>;
1178
+ /** Filter by observations. */
1179
+ observations?: Maybe<Array<ObservationCriteria>>;
1180
+ /** Filter by workflows. */
1181
+ workflows?: Maybe<Array<EntityReference>>;
1182
+ };
1183
+ /** Represents a filter level for contents. */
1184
+ export type ContentCriteriaLevelInput = {
1185
+ /** Filter by collections. */
1186
+ collections?: InputMaybe<Array<EntityReferenceInput>>;
1187
+ /** Filter by feeds. */
1188
+ feeds?: InputMaybe<Array<EntityReferenceInput>>;
1189
+ /** Filter by observations. */
1190
+ observations?: InputMaybe<Array<ObservationCriteriaInput>>;
1191
+ /** Filter by workflows. */
1192
+ workflows?: InputMaybe<Array<EntityReferenceInput>>;
1193
+ };
1163
1194
  /** Represents a content facet. */
1164
1195
  export type ContentFacet = {
1165
1196
  __typename?: 'ContentFacet';
@@ -1250,7 +1281,7 @@ export declare enum ContentFacetTypes {
1250
1281
  }
1251
1282
  /** Represents a filter for contents. */
1252
1283
  export type ContentFilter = {
1253
- /** List of additional content filters using conjunctive conditions, i.e. 'and' semantics. */
1284
+ /** List of additional content filters using conjunctive conditions, i.e. 'and' semantics between each filter in list. */
1254
1285
  and?: InputMaybe<Array<InputMaybe<ContentFilterLevel>>>;
1255
1286
  /** Filter by geo-boundaries, as GeoJSON Feature with Polygon geometry. */
1256
1287
  boundaries?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
@@ -1288,7 +1319,7 @@ export type ContentFilter = {
1288
1319
  observations?: InputMaybe<Array<ObservationReferenceFilter>>;
1289
1320
  /** Skip the specified number of content(s) from the beginning of the result set. */
1290
1321
  offset?: InputMaybe<Scalars['Int']['input']>;
1291
- /** List of additional content filters using disjunctive conditions, i.e. 'or' semantics. */
1322
+ /** List of additional content filters using disjunctive conditions, i.e. 'or' semantics between each filter in list. */
1292
1323
  or?: InputMaybe<Array<InputMaybe<ContentFilterLevel>>>;
1293
1324
  /** The sort order for query results. */
1294
1325
  orderBy?: InputMaybe<OrderByTypes>;
@@ -3400,17 +3431,25 @@ export declare enum ImageProjectionTypes {
3400
3431
  /** Represents an ingestion content filter. */
3401
3432
  export type IngestionContentFilter = {
3402
3433
  __typename?: 'IngestionContentFilter';
3434
+ /** The list of regular expressions for allowed URL paths, i.e. "^/public/blogs/.*". */
3435
+ allowedPaths?: Maybe<Array<Scalars['String']['output']>>;
3436
+ /** The list of regular expressions for excluded URL paths, i.e. "^/internal/private/.*". */
3437
+ excludedPaths?: Maybe<Array<Scalars['String']['output']>>;
3403
3438
  /** Filter by file types. */
3404
- fileTypes?: Maybe<Array<Maybe<FileTypes>>>;
3439
+ fileTypes?: Maybe<Array<FileTypes>>;
3405
3440
  /** Filter by content types. */
3406
- types?: Maybe<Array<Maybe<ContentTypes>>>;
3441
+ types?: Maybe<Array<ContentTypes>>;
3407
3442
  };
3408
3443
  /** Represents an ingestion content filter. */
3409
3444
  export type IngestionContentFilterInput = {
3445
+ /** The list of regular expressions for allowed URL paths, i.e. "^/public/blogs/.*". */
3446
+ allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
3447
+ /** The list of regular expressions for excluded URL paths, i.e. "^/internal/private/.*". */
3448
+ excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
3410
3449
  /** Filter by file types. */
3411
- fileTypes?: InputMaybe<Array<InputMaybe<FileTypes>>>;
3450
+ fileTypes?: InputMaybe<Array<FileTypes>>;
3412
3451
  /** Filter by content types. */
3413
- types?: InputMaybe<Array<InputMaybe<ContentTypes>>>;
3452
+ types?: InputMaybe<Array<ContentTypes>>;
3414
3453
  };
3415
3454
  /** Represents the ingestion workflow stage. */
3416
3455
  export type IngestionWorkflowStage = {
@@ -3698,6 +3737,8 @@ export type LinkStrategy = {
3698
3737
  allowedFiles?: Maybe<Array<FileTypes>>;
3699
3738
  /** The allowed link types. */
3700
3739
  allowedLinks?: Maybe<Array<LinkTypes>>;
3740
+ /** The list of regular expressions for URL paths to be crawled, i.e. "^/public/blogs/.*". */
3741
+ allowedPaths?: Maybe<Array<Scalars['String']['output']>>;
3701
3742
  /** Whether link crawling is enabled. */
3702
3743
  enableCrawling?: Maybe<Scalars['Boolean']['output']>;
3703
3744
  /** The list of DNS domains to not be crawled, i.e. example.com. */
@@ -3706,6 +3747,8 @@ export type LinkStrategy = {
3706
3747
  excludedFiles?: Maybe<Array<FileTypes>>;
3707
3748
  /** The excluded link types. */
3708
3749
  excludedLinks?: Maybe<Array<LinkTypes>>;
3750
+ /** The list of regular expressions for URL paths to not be crawled, i.e. "^/internal/private/.*". */
3751
+ excludedPaths?: Maybe<Array<Scalars['String']['output']>>;
3709
3752
  /** The maximum number of links to be crawled. */
3710
3753
  maximumLinks?: Maybe<Scalars['Int']['output']>;
3711
3754
  };
@@ -3719,6 +3762,8 @@ export type LinkStrategyInput = {
3719
3762
  allowedFiles?: InputMaybe<Array<FileTypes>>;
3720
3763
  /** The allowed link types. */
3721
3764
  allowedLinks?: InputMaybe<Array<LinkTypes>>;
3765
+ /** The list of regular expressions for URL paths to be crawled, i.e. "^/public/blogs/.*". */
3766
+ allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
3722
3767
  /** Whether link crawling is enabled. */
3723
3768
  enableCrawling?: InputMaybe<Scalars['Boolean']['input']>;
3724
3769
  /** The list of DNS domains to not be crawled, i.e. example.com. */
@@ -3727,6 +3772,8 @@ export type LinkStrategyInput = {
3727
3772
  excludedFiles?: InputMaybe<Array<FileTypes>>;
3728
3773
  /** The excluded link types. */
3729
3774
  excludedLinks?: InputMaybe<Array<LinkTypes>>;
3775
+ /** The list of regular expressions for URL paths to not be crawled, i.e. "^/internal/private/.*". */
3776
+ excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
3730
3777
  /** The maximum number of links to be crawled. */
3731
3778
  maximumLinks?: InputMaybe<Scalars['Int']['input']>;
3732
3779
  };
@@ -8186,6 +8233,10 @@ export type VideoMetadataInput = {
8186
8233
  /** Represents web feed properties. */
8187
8234
  export type WebFeedProperties = {
8188
8235
  __typename?: 'WebFeedProperties';
8236
+ /** The list of regular expressions for URL paths to be crawled, i.e. "^/public/blogs/.*". */
8237
+ allowedPaths?: Maybe<Array<Scalars['String']['output']>>;
8238
+ /** The list of regular expressions for URL paths to not be crawled, i.e. "^/internal/private/.*". */
8239
+ excludedPaths?: Maybe<Array<Scalars['String']['output']>>;
8189
8240
  /** Whether to include files referenced by the web sitemap, defaults to false. */
8190
8241
  includeFiles?: Maybe<Scalars['Boolean']['output']>;
8191
8242
  /** The limit of items to be read from feed, defaults to 100. */
@@ -8195,6 +8246,10 @@ export type WebFeedProperties = {
8195
8246
  };
8196
8247
  /** Represents web feed properties. */
8197
8248
  export type WebFeedPropertiesInput = {
8249
+ /** The list of regular expressions for URL paths to be crawled, i.e. "^/public/blogs/.*". */
8250
+ allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
8251
+ /** The list of regular expressions for URL paths to not be crawled, i.e. "^/internal/private/.*". */
8252
+ excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
8198
8253
  /** Whether to include files referenced by the web sitemap, defaults to false. */
8199
8254
  includeFiles?: InputMaybe<Scalars['Boolean']['input']>;
8200
8255
  /** The limit of items to be read from feed, defaults to 100. */
@@ -8204,6 +8259,10 @@ export type WebFeedPropertiesInput = {
8204
8259
  };
8205
8260
  /** Represents web feed properties. */
8206
8261
  export type WebFeedPropertiesUpdateInput = {
8262
+ /** The list of regular expressions for URL paths to be crawled, i.e. "^/public/blogs/.*". */
8263
+ allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
8264
+ /** The list of regular expressions for URL paths to not be crawled, i.e. "^/internal/private/.*". */
8265
+ excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
8207
8266
  /** Whether to include files referenced by the web sitemap, defaults to false. */
8208
8267
  includeFiles?: InputMaybe<Scalars['Boolean']['input']>;
8209
8268
  /** The limit of items to be read from feed, defaults to 100. */
@@ -12464,8 +12523,8 @@ export type CreateWorkflowMutation = {
12464
12523
  __typename?: 'IngestionWorkflowStage';
12465
12524
  if?: {
12466
12525
  __typename?: 'IngestionContentFilter';
12467
- types?: Array<ContentTypes | null> | null;
12468
- fileTypes?: Array<FileTypes | null> | null;
12526
+ types?: Array<ContentTypes> | null;
12527
+ fileTypes?: Array<FileTypes> | null;
12469
12528
  } | null;
12470
12529
  collections?: Array<{
12471
12530
  __typename?: 'EntityReference';
@@ -12642,8 +12701,8 @@ export type GetWorkflowQuery = {
12642
12701
  __typename?: 'IngestionWorkflowStage';
12643
12702
  if?: {
12644
12703
  __typename?: 'IngestionContentFilter';
12645
- types?: Array<ContentTypes | null> | null;
12646
- fileTypes?: Array<FileTypes | null> | null;
12704
+ types?: Array<ContentTypes> | null;
12705
+ fileTypes?: Array<FileTypes> | null;
12647
12706
  } | null;
12648
12707
  collections?: Array<{
12649
12708
  __typename?: 'EntityReference';
@@ -12786,8 +12845,8 @@ export type QueryWorkflowsQuery = {
12786
12845
  __typename?: 'IngestionWorkflowStage';
12787
12846
  if?: {
12788
12847
  __typename?: 'IngestionContentFilter';
12789
- types?: Array<ContentTypes | null> | null;
12790
- fileTypes?: Array<FileTypes | null> | null;
12848
+ types?: Array<ContentTypes> | null;
12849
+ fileTypes?: Array<FileTypes> | null;
12791
12850
  } | null;
12792
12851
  collections?: Array<{
12793
12852
  __typename?: 'EntityReference';
@@ -12924,8 +12983,8 @@ export type UpdateWorkflowMutation = {
12924
12983
  __typename?: 'IngestionWorkflowStage';
12925
12984
  if?: {
12926
12985
  __typename?: 'IngestionContentFilter';
12927
- types?: Array<ContentTypes | null> | null;
12928
- fileTypes?: Array<FileTypes | null> | null;
12986
+ types?: Array<ContentTypes> | null;
12987
+ fileTypes?: Array<FileTypes> | null;
12929
12988
  } | null;
12930
12989
  collections?: Array<{
12931
12990
  __typename?: 'EntityReference';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240519001",
3
+ "version": "1.0.20240528001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",