@platecms/delta-vue 0.13.0 → 1.2.0

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.
@@ -19,12 +19,27 @@ export type Scalars = {
19
19
  ContentValueType: { input: any; output: any; }
20
20
  /** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
21
21
  DateTime: { input: any; output: any; }
22
+ /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
23
+ JSON: { input: any; output: any; }
22
24
  /** A string representing the PRN object. Must match '^prn(:[A-Za-z0-9-_]+){5}$'. */
23
25
  PRN: { input: any; output: any; }
24
26
  /** A generic Primitive value. */
25
27
  PrimitiveValue: { input: any; output: any; }
26
28
  };
27
29
 
30
+ export type AccessibleContentItemsConnection = {
31
+ __typename?: 'AccessibleContentItemsConnection';
32
+ edges: Array<AccessibleContentItemsEdge>;
33
+ pageInfo: PageInfo;
34
+ totalCount: Scalars['Float']['output'];
35
+ };
36
+
37
+ export type AccessibleContentItemsEdge = {
38
+ __typename?: 'AccessibleContentItemsEdge';
39
+ cursor: Scalars['String']['output'];
40
+ node: Scalars['JSON']['output'];
41
+ };
42
+
28
43
  export type AllowedValuesContentValidationRuleSettings = {
29
44
  __typename?: 'AllowedValuesContentValidationRuleSettings';
30
45
  allowedValues: Array<Scalars['ContentValueType']['output']>;
@@ -34,18 +49,22 @@ export type AllowedValuesContentValidationRuleSettingsInput = {
34
49
  allowedValues: Array<Scalars['ContentValueType']['input']>;
35
50
  };
36
51
 
37
- export type ApiToken = {
52
+ export type ApiToken = Subject & {
38
53
  __typename?: 'ApiToken';
39
- channel: Channel;
54
+ channel?: Maybe<Channel>;
40
55
  createdAt: Scalars['DateTime']['output'];
56
+ id: Scalars['String']['output'];
41
57
  name: Scalars['String']['output'];
42
58
  prn: Scalars['PRN']['output'];
59
+ roleAssignment: RoleAssignment;
43
60
  stage: Stage;
44
61
  updatedAt: Scalars['DateTime']['output'];
45
62
  };
46
63
 
47
64
  export type Asset = {
48
65
  __typename?: 'Asset';
66
+ /** The alt text of the asset. */
67
+ altText?: Maybe<Scalars['String']['output']>;
49
68
  createdAt: Scalars['DateTime']['output'];
50
69
  fileName: Scalars['String']['output'];
51
70
  /** The size of the file in bytes. */
@@ -72,8 +91,6 @@ export type Blueprint = {
72
91
  definedBy: ExperienceComponent;
73
92
  isFixed: Scalars['Boolean']['output'];
74
93
  name: Scalars['String']['output'];
75
- /** Not yet implemented! */
76
- organization?: Maybe<Organization>;
77
94
  /** The preview image of the Blueprint. */
78
95
  preview?: Maybe<Asset>;
79
96
  prn: Scalars['PRN']['output'];
@@ -122,8 +139,6 @@ export type BuildingBlock = {
122
139
  experienceComponents: Array<ExperienceComponent>;
123
140
  gridDefinition?: Maybe<GridDefinition>;
124
141
  next?: Maybe<BuildingBlock>;
125
- /** Not yet implemented! */
126
- organization?: Maybe<Organization>;
127
142
  /** The preview image of the Building Block. */
128
143
  preview?: Maybe<Asset>;
129
144
  previous?: Maybe<BuildingBlock>;
@@ -151,8 +166,6 @@ export type BuildingBlockField = {
151
166
  contentValidationRules: Array<ContentValidationRule>;
152
167
  createdAt: Scalars['DateTime']['output'];
153
168
  next?: Maybe<BuildingBlockField>;
154
- /** Not yet implemented! */
155
- organization?: Maybe<Organization>;
156
169
  previous?: Maybe<BuildingBlockField>;
157
170
  prn: Scalars['PRN']['output'];
158
171
  slug: Scalars['String']['output'];
@@ -182,8 +195,6 @@ export type BuildingBlockFieldFulfillment = {
182
195
  createdAt: Scalars['DateTime']['output'];
183
196
  experienceComponent: ExperienceComponent;
184
197
  next?: Maybe<BuildingBlockFieldFulfillment>;
185
- /** Not yet implemented! */
186
- organization?: Maybe<Organization>;
187
198
  previous?: Maybe<BuildingBlockFieldFulfillment>;
188
199
  prn: Scalars['PRN']['output'];
189
200
  stage: Stage;
@@ -248,8 +259,8 @@ export type BuildingBlocksFilterInput = {
248
259
  updatedAt?: InputMaybe<Array<DateFilter>>;
249
260
  };
250
261
 
251
- export type CasDatabaseMatch = {
252
- __typename?: 'CasDatabaseMatch';
262
+ export type CasDatabaseTextMatch = {
263
+ __typename?: 'CasDatabaseTextMatch';
253
264
  confidence: Scalars['Float']['output'];
254
265
  contentValue: ContentValue;
255
266
  endIndex: Scalars['Int']['output'];
@@ -257,6 +268,13 @@ export type CasDatabaseMatch = {
257
268
  startIndex: Scalars['Int']['output'];
258
269
  };
259
270
 
271
+ export type CasImageContentValueMatch = {
272
+ __typename?: 'CasImageContentValueMatch';
273
+ similarContentValue: ContentValue;
274
+ similarity: Scalars['Float']['output'];
275
+ stage: Scalars['String']['output'];
276
+ };
277
+
260
278
  export type CasRegexSuggestion = {
261
279
  __typename?: 'CasRegexSuggestion';
262
280
  confidence: Scalars['Float']['output'];
@@ -273,8 +291,6 @@ export type Channel = {
273
291
  defaultBlueprint?: Maybe<Blueprint>;
274
292
  domain: Scalars['String']['output'];
275
293
  name: Scalars['String']['output'];
276
- /** Not yet implemented! */
277
- organization?: Maybe<Organization>;
278
294
  pathParts: Array<PathPart>;
279
295
  prn: Scalars['PRN']['output'];
280
296
  rootPathPart: PathPart;
@@ -322,14 +338,19 @@ export type ContentExperience = {
322
338
  __typename?: 'ContentExperience';
323
339
  createdAt: Scalars['DateTime']['output'];
324
340
  experienceComponent: ExperienceComponent;
325
- /** Not yet implemented! */
326
- organization?: Maybe<Organization>;
341
+ /** The issues that this Content Experience is a subject of */
342
+ issues: Array<Issue>;
327
343
  pathPart: PathPart;
344
+ /** An array of path part ids from the current path part up to the root, ordered from root to current. */
345
+ pathPartsToRootIds: Array<Scalars['String']['output']>;
328
346
  /** The preview image of the Content Experience. */
329
347
  preview?: Maybe<Asset>;
348
+ primaryContentItem?: Maybe<ContentItem>;
330
349
  prn: Scalars['PRN']['output'];
331
350
  /** The Content Values that use this Content Experience as an referenced value. Reverse relation of referencedContentExperiences. */
332
351
  referencedBySmartTextContentValues: Array<ContentValue>;
352
+ seoDescription?: Maybe<Scalars['String']['output']>;
353
+ seoTitle?: Maybe<Scalars['String']['output']>;
333
354
  slug: Scalars['String']['output'];
334
355
  stage: Stage;
335
356
  /** The ids of the tags this Content Experience are tagged with, including all ancestor tags. Should only be used for filtering. */
@@ -340,6 +361,11 @@ export type ContentExperience = {
340
361
  updatedAt: Scalars['DateTime']['output'];
341
362
  };
342
363
 
364
+
365
+ export type ContentExperienceIssuesArgs = {
366
+ where?: InputMaybe<Array<IssuesFilterInput>>;
367
+ };
368
+
343
369
  export type ContentExperienceEdge = {
344
370
  __typename?: 'ContentExperienceEdge';
345
371
  cursor: Scalars['String']['output'];
@@ -358,6 +384,8 @@ export type ContentExperiencesFilterInput = {
358
384
  _not?: InputMaybe<Array<ContentExperiencesFilterInput>>;
359
385
  createdAt?: InputMaybe<Array<DateFilter>>;
360
386
  prn?: InputMaybe<Array<PrnFilter>>;
387
+ seoDescription?: InputMaybe<Array<StringFilter>>;
388
+ seoTitle?: InputMaybe<Array<StringFilter>>;
361
389
  slug?: InputMaybe<Array<StringFilter>>;
362
390
  tagIds?: InputMaybe<Array<StringArrayFilter>>;
363
391
  title?: InputMaybe<Array<StringFilter>>;
@@ -373,10 +401,9 @@ export type ContentField = {
373
401
  createdAt: Scalars['DateTime']['output'];
374
402
  name: Scalars['String']['output'];
375
403
  next?: Maybe<ContentField>;
376
- /** Not yet implemented! */
377
- organization?: Maybe<Organization>;
378
404
  previous?: Maybe<ContentField>;
379
405
  prn: Scalars['PRN']['output'];
406
+ slug: Scalars['String']['output'];
380
407
  updatedAt: Scalars['DateTime']['output'];
381
408
  };
382
409
 
@@ -409,6 +436,7 @@ export type ContentFieldsFilterInput = {
409
436
  createdAt?: InputMaybe<Array<DateFilter>>;
410
437
  name?: InputMaybe<Array<StringFilter>>;
411
438
  prn?: InputMaybe<Array<PrnFilter>>;
439
+ slug?: InputMaybe<Array<StringFilter>>;
412
440
  updatedAt?: InputMaybe<Array<DateFilter>>;
413
441
  };
414
442
 
@@ -417,6 +445,8 @@ export type ContentItem = {
417
445
  contentType: ContentType;
418
446
  /** The id of the Content Type this Content Item belongs to. This is computed from the contentType relation. */
419
447
  contentTypeId: Scalars['String']['output'];
448
+ /** The slug of the Content Type this Content Item belongs to. This is computed from the contentType relation. */
449
+ contentTypeSlug: Scalars['String']['output'];
420
450
  contentValues: Array<ContentValue>;
421
451
  createdAt: Scalars['DateTime']['output'];
422
452
  /** Interpolates the Content Type's displayImageField with the Content Item's value. If there are multiple Content Values for the Content Field, the first one is used. If the Content Value is missing, null is returned. */
@@ -424,8 +454,9 @@ export type ContentItem = {
424
454
  /** The display name of the Content Item. This is computed from the Content Type's displayNameTemplate and cached for filtering purposes. It is updated in the background and is not guaranteed to be up to date. A Content Field with multiple Content Values are concatenated with spaces. Missing Content Values will show as '***' and the displayName will be prefixed with DRAFT: */
425
455
  displayName: Scalars['String']['output'];
426
456
  isDraft: Scalars['Boolean']['output'];
427
- /** Not yet implemented! */
428
- organization?: Maybe<Organization>;
457
+ /** The issues that this Content Item is a subject of */
458
+ issues: Array<Issue>;
459
+ primaryContentExperience?: Maybe<ContentExperience>;
429
460
  prn: Scalars['PRN']['output'];
430
461
  relatingContentValues: Array<ContentValue>;
431
462
  stage: Stage;
@@ -442,6 +473,11 @@ export type ContentItemContentValuesArgs = {
442
473
  };
443
474
 
444
475
 
476
+ export type ContentItemIssuesArgs = {
477
+ where?: InputMaybe<Array<IssuesFilterInput>>;
478
+ };
479
+
480
+
445
481
  export type ContentItemRelatingContentValuesArgs = {
446
482
  where?: InputMaybe<Array<ContentValuesFilterInput>>;
447
483
  };
@@ -463,6 +499,7 @@ export type ContentItemsConnection = {
463
499
  export type ContentItemsFilterInput = {
464
500
  _not?: InputMaybe<Array<ContentItemsFilterInput>>;
465
501
  contentTypeId?: InputMaybe<Array<StringFilter>>;
502
+ contentTypeSlug?: InputMaybe<Array<StringFilter>>;
466
503
  createdAt?: InputMaybe<Array<DateFilter>>;
467
504
  displayName?: InputMaybe<Array<StringFilter>>;
468
505
  isDraft?: InputMaybe<Array<BooleanFilter>>;
@@ -481,9 +518,8 @@ export type ContentType = {
481
518
  /** The display name template for the content type. Use {{contentFieldPrn}} to reference Content Fields. */
482
519
  displayNameTemplate: Scalars['String']['output'];
483
520
  name: Scalars['String']['output'];
484
- /** Not yet implemented! */
485
- organization?: Maybe<Organization>;
486
521
  prn: Scalars['PRN']['output'];
522
+ slug: Scalars['String']['output'];
487
523
  updatedAt: Scalars['DateTime']['output'];
488
524
  };
489
525
 
@@ -517,14 +553,13 @@ export type ContentTypesFilterInput = {
517
553
  displayNameTemplate?: InputMaybe<Array<StringFilter>>;
518
554
  name?: InputMaybe<Array<StringFilter>>;
519
555
  prn?: InputMaybe<Array<PrnFilter>>;
556
+ slug?: InputMaybe<Array<StringFilter>>;
520
557
  updatedAt?: InputMaybe<Array<DateFilter>>;
521
558
  };
522
559
 
523
560
  export type ContentValidationRule = {
524
561
  __typename?: 'ContentValidationRule';
525
562
  createdAt: Scalars['DateTime']['output'];
526
- /** Not yet implemented! */
527
- organization?: Maybe<Organization>;
528
563
  prn: Scalars['PRN']['output'];
529
564
  ruleType: RuleType;
530
565
  settings: ExistingContentValidationRulesSettings;
@@ -551,13 +586,13 @@ export type ContentValue = {
551
586
  interpolatedSmartText?: Maybe<Scalars['CAST']['output']>;
552
587
  /** Whether the ContentValue is reusable. Defaults to false. */
553
588
  isReusable: Scalars['Boolean']['output'];
589
+ /** The issues that this Content Value is a subject of */
590
+ issues: Array<Issue>;
554
591
  linkedContentType?: Maybe<ContentType>;
555
592
  linkedGridPlacement?: Maybe<GridPlacement>;
556
593
  linkedPathPart?: Maybe<PathPart>;
557
594
  linkedTag?: Maybe<Tag>;
558
595
  next?: Maybe<ContentValue>;
559
- /** Not yet implemented! */
560
- organization?: Maybe<Organization>;
561
596
  /** The plain text representation of the smart text. This is used internally. If you really need the plain text representation of CAST, use the castToPlainText utility function. */
562
597
  plainText?: Maybe<Scalars['String']['output']>;
563
598
  previous?: Maybe<ContentValue>;
@@ -573,11 +608,21 @@ export type ContentValue = {
573
608
  /** The Grid Placements that are referenced in internal links in the smart text. This is calculated based on the CAST tree in the smart text and cannot be updated manually. */
574
609
  referencedGridPlacements: Array<GridPlacement>;
575
610
  relatedAsset?: Maybe<Asset>;
611
+ /** The alt text of the relatedAsset. */
612
+ relatedAssetAltText?: Maybe<Scalars['String']['output']>;
613
+ /** The file name of the relatedAsset. */
614
+ relatedAssetFileName?: Maybe<Scalars['String']['output']>;
615
+ /** The file type (MIME type) of the relatedAsset. */
616
+ relatedAssetFileType?: Maybe<Scalars['String']['output']>;
617
+ /** The file size in bytes of the relatedAsset. */
618
+ relatedAssetSize?: Maybe<Scalars['Int']['output']>;
576
619
  relatedContentItem?: Maybe<ContentItem>;
577
620
  /** The CAST tree for the smart text. */
578
621
  smartText?: Maybe<Scalars['CAST']['output']>;
579
622
  stage: Stage;
580
623
  updatedAt: Scalars['DateTime']['output'];
624
+ /** The value type name of the Content Value. This is calculated based on the value that is in the Content Value. Filtered using a StringFilter. */
625
+ valueTypeName: ContentValueTypeNames;
581
626
  };
582
627
 
583
628
 
@@ -585,6 +630,11 @@ export type ContentValueBuildingBlockFieldFulfillmentsArgs = {
585
630
  where?: InputMaybe<Array<BuildingBlockFieldFulfillmentsFilterInput>>;
586
631
  };
587
632
 
633
+
634
+ export type ContentValueIssuesArgs = {
635
+ where?: InputMaybe<Array<IssuesFilterInput>>;
636
+ };
637
+
588
638
  export type ContentValueEdge = {
589
639
  __typename?: 'ContentValueEdge';
590
640
  cursor: Scalars['String']['output'];
@@ -621,7 +671,12 @@ export type ContentValuesFilterInput = {
621
671
  plainText?: InputMaybe<Array<StringFilter>>;
622
672
  primitiveValue?: InputMaybe<Array<StringFilter>>;
623
673
  prn?: InputMaybe<Array<PrnFilter>>;
674
+ relatedAssetAltText?: InputMaybe<Array<StringFilter>>;
675
+ relatedAssetFileName?: InputMaybe<Array<StringFilter>>;
676
+ relatedAssetFileType?: InputMaybe<Array<StringFilter>>;
677
+ relatedAssetSize?: InputMaybe<Array<IntFilter>>;
624
678
  updatedAt?: InputMaybe<Array<DateFilter>>;
679
+ valueTypeName?: InputMaybe<Array<StringFilter>>;
625
680
  };
626
681
 
627
682
  export type CopyBlueprintInput = {
@@ -641,22 +696,40 @@ export type CountContentValidationRuleSettingsInput = {
641
696
  min: Scalars['Int']['input'];
642
697
  };
643
698
 
699
+ export type CreateAccessibleContentItemInput = {
700
+ /**
701
+ * The values of the Content Item.
702
+ * The keys are the Content Field slugs and the values are either directly the value (only possible if the Content Field has a validation rule that enforces a single type) or an object with valueTypeName and value.
703
+ * Example value structure: `{ 'title': 'My Title', 'contentTypeField': 'prn:plate-dev:org-id:cms:content-type:123' }`
704
+ * Example object structure: `{ 'title': { 'valueTypeName': 'STRING', 'value': 'My Title' }, 'contentTypeField': { 'valueTypeName': 'CONTENT_TYPE', 'value': 'prn:plate-dev:org-id:cms:content-type:123' } }`
705
+ */
706
+ content: Scalars['JSON']['input'];
707
+ contentTypeSlug: Scalars['String']['input'];
708
+ /** Whether the Content Item is a draft. Drafts are not validated against the Content Type's validation rules. */
709
+ isDraft?: Scalars['Boolean']['input'];
710
+ /** The paths of the Tags to assign to the Content Item. */
711
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
712
+ };
713
+
644
714
  export type CreateAllowedValuesContentValidationRuleInput = {
645
715
  settings: AllowedValuesContentValidationRuleSettingsInput;
646
716
  targetField: Scalars['String']['input'];
647
717
  };
648
718
 
649
719
  export type CreateApiTokenInput = {
650
- channel: Scalars['PRN']['input'];
720
+ channel?: InputMaybe<Scalars['String']['input']>;
651
721
  name: Scalars['String']['input'];
722
+ role: Scalars['PRN']['input'];
652
723
  };
653
724
 
654
- export type CreateApiTokenResponse = {
725
+ export type CreateApiTokenResponse = Subject & {
655
726
  __typename?: 'CreateApiTokenResponse';
656
- channel: Channel;
727
+ channel?: Maybe<Channel>;
657
728
  createdAt: Scalars['DateTime']['output'];
729
+ id: Scalars['String']['output'];
658
730
  name: Scalars['String']['output'];
659
731
  prn: Scalars['PRN']['output'];
732
+ roleAssignment: RoleAssignment;
660
733
  stage: Stage;
661
734
  token: Scalars['String']['output'];
662
735
  updatedAt: Scalars['DateTime']['output'];
@@ -745,6 +818,11 @@ export type CreateContentExperienceWithExistingPathPartInput = {
745
818
  initialRowCount?: InputMaybe<Scalars['Int']['input']>;
746
819
  pathPart: Scalars['PRN']['input'];
747
820
  preview?: InputMaybe<Scalars['PRN']['input']>;
821
+ primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
822
+ /** The SEO description for the Content Experience. */
823
+ seoDescription?: InputMaybe<Scalars['String']['input']>;
824
+ /** The SEO title for the Content Experience. */
825
+ seoTitle?: InputMaybe<Scalars['String']['input']>;
748
826
  slug: Scalars['String']['input'];
749
827
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
750
828
  title: Scalars['String']['input'];
@@ -757,6 +835,11 @@ export type CreateContentExperienceWithNewPathPartInput = {
757
835
  fromBlueprint?: InputMaybe<Scalars['PRN']['input']>;
758
836
  initialRowCount?: InputMaybe<Scalars['Int']['input']>;
759
837
  preview?: InputMaybe<Scalars['PRN']['input']>;
838
+ primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
839
+ /** The SEO description for the Content Experience. */
840
+ seoDescription?: InputMaybe<Scalars['String']['input']>;
841
+ /** The SEO title for the Content Experience. */
842
+ seoTitle?: InputMaybe<Scalars['String']['input']>;
760
843
  slug: Scalars['String']['input'];
761
844
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
762
845
  title: Scalars['String']['input'];
@@ -766,6 +849,7 @@ export type CreateContentFieldForContentTypeInput = {
766
849
  name: Scalars['String']['input'];
767
850
  /** The PRN of the ContentField that this ContentField should manually be sorted after. Null means it should be the last. */
768
851
  next?: InputMaybe<Scalars['PRN']['input']>;
852
+ slug: Scalars['String']['input'];
769
853
  };
770
854
 
771
855
  export type CreateContentFieldInput = {
@@ -773,6 +857,7 @@ export type CreateContentFieldInput = {
773
857
  name: Scalars['String']['input'];
774
858
  /** The PRN of the ContentField that this ContentField should manually be sorted after. Null means it should be the last. */
775
859
  next?: InputMaybe<Scalars['PRN']['input']>;
860
+ slug: Scalars['String']['input'];
776
861
  };
777
862
 
778
863
  export type CreateContentItemInput = {
@@ -780,6 +865,7 @@ export type CreateContentItemInput = {
780
865
  contentValuesToConnect?: InputMaybe<Array<ConnectContentValueInput>>;
781
866
  contentValuesToCreate?: InputMaybe<Array<CreateContentValueForContentItemInput>>;
782
867
  isDraft: Scalars['Boolean']['input'];
868
+ primaryContentExperience?: InputMaybe<Scalars['PRN']['input']>;
783
869
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
784
870
  };
785
871
 
@@ -789,6 +875,7 @@ export type CreateContentTypeInput = {
789
875
  /** The display name template for the content type. Use {{contentFieldPrn}} to reference Content Fields. */
790
876
  displayNameTemplate: Scalars['String']['input'];
791
877
  name: Scalars['String']['input'];
878
+ slug: Scalars['String']['input'];
792
879
  };
793
880
 
794
881
  export type CreateContentValueForContentItemInput = {
@@ -950,8 +1037,9 @@ export type CreateValueTypeContentValidationRuleInput = {
950
1037
  targetField: Scalars['String']['input'];
951
1038
  };
952
1039
 
953
- export type DatabaseMatchConfig = {
1040
+ export type DatabaseTextMatchConfig = {
954
1041
  caseInsensitive?: InputMaybe<Scalars['Boolean']['input']>;
1042
+ exclude?: InputMaybe<Array<Scalars['String']['input']>>;
955
1043
  partialMatches?: InputMaybe<Scalars['Boolean']['input']>;
956
1044
  threshold?: InputMaybe<Scalars['Float']['input']>;
957
1045
  };
@@ -1002,9 +1090,14 @@ export type DecimalCountContentValidationRuleSettingsInput = {
1002
1090
  /** The default roles for an organization */
1003
1091
  export enum DefaultRoleName {
1004
1092
  Admin = 'ADMIN',
1005
- ContentEditor = 'CONTENT_EDITOR'
1093
+ ContentEditor = 'CONTENT_EDITOR',
1094
+ ContentViewer = 'CONTENT_VIEWER'
1006
1095
  }
1007
1096
 
1097
+ export type DuplicateImagesDetectionConfig = {
1098
+ threshold?: InputMaybe<Scalars['Float']['input']>;
1099
+ };
1100
+
1008
1101
  export type ExistingContentValidationRulesSettings = AllowedValuesContentValidationRuleSettings | CountContentValidationRuleSettings | DateBetweenContentValidationRuleSettings | DecimalCountContentValidationRuleSettings | NumberBetweenContentValidationRuleSettings | RelatableContentTypesContentValidationRuleSettings | StringFormatContentValidationRuleSettings | ValueTypeContentValidationRuleSettings;
1009
1102
 
1010
1103
  export type ExperienceComponent = {
@@ -1027,8 +1120,6 @@ export type ExperienceComponent = {
1027
1120
  isGlobal: Scalars['Boolean']['output'];
1028
1121
  /** The name of the Experience Component. Only applicable for global Experience Components. */
1029
1122
  name?: Maybe<Scalars['String']['output']>;
1030
- /** Not yet implemented! */
1031
- organization?: Maybe<Organization>;
1032
1123
  /** The preview image of the Experience Component. */
1033
1124
  preview?: Maybe<Asset>;
1034
1125
  prn: Scalars['PRN']['output'];
@@ -1082,6 +1173,23 @@ export type FindPathPartByPathInput = {
1082
1173
  path: Scalars['String']['input'];
1083
1174
  };
1084
1175
 
1176
+ export type FixMissingTagsIssueInput = {
1177
+ issue: Scalars['PRN']['input'];
1178
+ tags: Array<Scalars['PRN']['input']>;
1179
+ };
1180
+
1181
+ export type FixSimilarImageContentValuesIssueInput = {
1182
+ contentValueToUse: Scalars['PRN']['input'];
1183
+ contentValuesToReplace?: InputMaybe<Array<Scalars['PRN']['input']>>;
1184
+ issue: Scalars['PRN']['input'];
1185
+ };
1186
+
1187
+ export type FixSimilarSmartTextIssueInput = {
1188
+ issue: Scalars['PRN']['input'];
1189
+ /** The CAST tree for the smart text to fix the issue with. */
1190
+ smartText: Scalars['CAST']['input'];
1191
+ };
1192
+
1085
1193
  export type GenerateAssetUploadUrlInput = {
1086
1194
  fileName: Scalars['String']['input'];
1087
1195
  /** The size of the file in bytes. */
@@ -1106,8 +1214,6 @@ export type Grid = {
1106
1214
  experienceComponent: ExperienceComponent;
1107
1215
  gridDefinition: GridDefinition;
1108
1216
  gridPlacements: Array<GridPlacement>;
1109
- /** Not yet implemented! */
1110
- organization?: Maybe<Organization>;
1111
1217
  prn: Scalars['PRN']['output'];
1112
1218
  rows: Scalars['Int']['output'];
1113
1219
  stage: Stage;
@@ -1129,8 +1235,6 @@ export type GridDefinition = {
1129
1235
  buildingBlock: BuildingBlock;
1130
1236
  createdAt: Scalars['DateTime']['output'];
1131
1237
  maxRows: Scalars['Int']['output'];
1132
- /** Not yet implemented! */
1133
- organization?: Maybe<Organization>;
1134
1238
  prn: Scalars['PRN']['output'];
1135
1239
  updatedAt: Scalars['DateTime']['output'];
1136
1240
  };
@@ -1144,8 +1248,6 @@ export type GridPlacement = {
1144
1248
  createdAt: Scalars['DateTime']['output'];
1145
1249
  experienceComponent: ExperienceComponent;
1146
1250
  grid: Grid;
1147
- /** Not yet implemented! */
1148
- organization?: Maybe<Organization>;
1149
1251
  prn: Scalars['PRN']['output'];
1150
1252
  /** The Content Values that use this Grid Placement as an referenced value. Reverse relation of referencedGridPlacements. */
1151
1253
  referencedBySmartTextContentValues: Array<ContentValue>;
@@ -1226,16 +1328,92 @@ export type Invitation = {
1226
1328
  userEmail: Scalars['String']['output'];
1227
1329
  };
1228
1330
 
1331
+ export type Issue = {
1332
+ __typename?: 'Issue';
1333
+ context: IssueContext;
1334
+ createdAt: Scalars['DateTime']['output'];
1335
+ lastSeenAt: Scalars['DateTime']['output'];
1336
+ prn: Scalars['PRN']['output'];
1337
+ stage: Stage;
1338
+ status: IssueStatus;
1339
+ subjects: Array<IssueSubject>;
1340
+ type: IssueType;
1341
+ updatedAt: Scalars['DateTime']['output'];
1342
+ };
1343
+
1344
+ export type IssueContext = {
1345
+ __typename?: 'IssueContext';
1346
+ suggestedCast?: Maybe<Scalars['CAST']['output']>;
1347
+ };
1348
+
1349
+ export type IssueEdge = {
1350
+ __typename?: 'IssueEdge';
1351
+ cursor: Scalars['String']['output'];
1352
+ node: Issue;
1353
+ };
1354
+
1355
+ export type IssueStatistics = {
1356
+ __typename?: 'IssueStatistics';
1357
+ byType: Array<IssueTypeStatistics>;
1358
+ totalOpenCount: Scalars['Int']['output'];
1359
+ totalSolvedCount: Scalars['Int']['output'];
1360
+ };
1361
+
1362
+ export enum IssueStatus {
1363
+ Archived = 'ARCHIVED',
1364
+ Open = 'OPEN',
1365
+ Solved = 'SOLVED'
1366
+ }
1367
+
1368
+ export type IssueSubject = ContentExperience | ContentItem | ContentValue;
1369
+
1370
+ export enum IssueType {
1371
+ DuplicatedTags = 'DUPLICATED_TAGS',
1372
+ MissingTags = 'MISSING_TAGS',
1373
+ SimilarImageContentValues = 'SIMILAR_IMAGE_CONTENT_VALUES',
1374
+ SimilarSmartTextContentValues = 'SIMILAR_SMART_TEXT_CONTENT_VALUES'
1375
+ }
1376
+
1377
+ export type IssueTypeStatistics = {
1378
+ __typename?: 'IssueTypeStatistics';
1379
+ openCount: Scalars['Int']['output'];
1380
+ solvedCount: Scalars['Int']['output'];
1381
+ type: IssueType;
1382
+ };
1383
+
1384
+ export type IssuesConnection = {
1385
+ __typename?: 'IssuesConnection';
1386
+ edges: Array<IssueEdge>;
1387
+ pageInfo: PageInfo;
1388
+ totalCount: Scalars['Int']['output'];
1389
+ };
1390
+
1391
+ /** The filter input type for 'Issues'. Objects/maps are treated as AND, while arrays are treated as OR. */
1392
+ export type IssuesFilterInput = {
1393
+ _not?: InputMaybe<Array<IssuesFilterInput>>;
1394
+ createdAt?: InputMaybe<Array<DateFilter>>;
1395
+ lastSeenAt?: InputMaybe<Array<DateFilter>>;
1396
+ prn?: InputMaybe<Array<PrnFilter>>;
1397
+ status?: InputMaybe<Array<StringFilter>>;
1398
+ type?: InputMaybe<Array<StringFilter>>;
1399
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1400
+ };
1401
+
1229
1402
  export type Mutation = {
1230
1403
  __typename?: 'Mutation';
1231
- /** Accepts an Invitation for the current Subject (e.g. the logged in user) */
1404
+ /** Accepts an Invitation for the current User (e.g. the logged in user) */
1232
1405
  acceptInvitation: RoleAssignment;
1233
1406
  /** Assign the PlateMaintainer role to a user */
1234
- addPlateMaintainer: Subject;
1407
+ addPlateMaintainer: User;
1408
+ /** Archives one or many Issues. Throws NotFoundError when no Issues could be found. */
1409
+ archiveIssues: Array<Issue>;
1410
+ /** Set the image hash for an asset in the Platform Service database. */
1411
+ casAnalyzeAsset: SuccessResponse;
1235
1412
  /** Confirm an Asset upload. Unconfirmed Assets are deleted. */
1236
1413
  confirmAssetUpload: Array<Asset>;
1237
1414
  /** Copy a Blueprint. Does not copy instances. */
1238
1415
  copyBlueprint: Array<Blueprint>;
1416
+ createAccessibleContentItem: Array<Scalars['JSON']['output']>;
1239
1417
  createAllowedValuesContentValidationRule: ContentValidationRule;
1240
1418
  /** Creates one or many new ApiTokens. */
1241
1419
  createApiToken: Array<CreateApiTokenResponse>;
@@ -1312,8 +1490,20 @@ export type Mutation = {
1312
1490
  /** Creates one or many new Themes. */
1313
1491
  createTheme: Array<Theme>;
1314
1492
  createValueTypeContentValidationRule: ContentValidationRule;
1315
- /** Declines an Invitation for the current Subject (e.g. the logged in user) */
1493
+ /** Declines an Invitation for the current User (e.g. the logged in user) */
1316
1494
  declineInvitation: Invitation;
1495
+ /** Enqueues a full scan for all organizations and stages. */
1496
+ enqueueFullScan: Scalars['Boolean']['output'];
1497
+ /** Enqueues missing tags scan. */
1498
+ enqueueMissingTagsScan: Scalars['Boolean']['output'];
1499
+ /** Enqueues similar image content values scan. */
1500
+ enqueueSimilarImageContentValuesScan: Scalars['Boolean']['output'];
1501
+ /** Applies a missing tags fix to an issue. Throws NotFoundError when no Issue could be found. */
1502
+ fixMissingTagsIssue: Issue;
1503
+ /** Applies a similar image content values fix to an issue. Throws NotFoundError when no Issue could be found. */
1504
+ fixSimilarImageContentValuesIssue: Issue;
1505
+ /** Applies a similar smart text content values fix to an issue. Throws NotFoundError when no Issue could be found. */
1506
+ fixSimilarSmartTextIssue: Issue;
1317
1507
  /**
1318
1508
  * Generates the upload URL for one or many new Assets.
1319
1509
  * See the wiki for an example: https://plate.atlassian.net/wiki/spaces/DW/pages/1488945153/Asset+Manager#Uploading-Assets
@@ -1321,6 +1511,7 @@ export type Mutation = {
1321
1511
  generateAssetUploadUrl: Array<GeneratedUploadUrl>;
1322
1512
  /** Regenerate one or many new ApiTokens. */
1323
1513
  regenerateApiToken: Array<CreateApiTokenResponse>;
1514
+ removeAccessibleContentItem: Array<Scalars['JSON']['output']>;
1324
1515
  /**
1325
1516
  * Removes one or many ApiTokens.
1326
1517
  * Throws NotFoundException when no ApiToken could be found.
@@ -1421,7 +1612,7 @@ export type Mutation = {
1421
1612
  */
1422
1613
  removePathPart: Array<PathPart>;
1423
1614
  /** Remove the PlateMaintainer role of a user */
1424
- removePlateMaintainer: Subject;
1615
+ removePlateMaintainer: User;
1425
1616
  /**
1426
1617
  * Removes one or many RoleAssignments.
1427
1618
  * Throws NotFoundException when no RoleAssignment could be found.
@@ -1443,6 +1634,7 @@ export type Mutation = {
1443
1634
  syncBlueprint: Scalars['Boolean']['output'];
1444
1635
  /** Syncs the visibility of a Tag to its descendants. */
1445
1636
  syncTagVisibilityToDescendants: Array<Scalars['Boolean']['output']>;
1637
+ updateAccessibleContentItem: Array<Scalars['JSON']['output']>;
1446
1638
  updateAllowedValuesContentValidationRule: ContentValidationRule;
1447
1639
  /**
1448
1640
  * Updates one or many ApiTokens with new values.
@@ -1567,6 +1759,16 @@ export type MutationAddPlateMaintainerArgs = {
1567
1759
  };
1568
1760
 
1569
1761
 
1762
+ export type MutationArchiveIssuesArgs = {
1763
+ prn: Array<Scalars['PRN']['input']>;
1764
+ };
1765
+
1766
+
1767
+ export type MutationCasAnalyzeAssetArgs = {
1768
+ assetPrnString: Scalars['String']['input'];
1769
+ };
1770
+
1771
+
1570
1772
  export type MutationConfirmAssetUploadArgs = {
1571
1773
  prn: Array<Scalars['PRN']['input']>;
1572
1774
  };
@@ -1577,6 +1779,11 @@ export type MutationCopyBlueprintArgs = {
1577
1779
  };
1578
1780
 
1579
1781
 
1782
+ export type MutationCreateAccessibleContentItemArgs = {
1783
+ input: Array<CreateAccessibleContentItemInput>;
1784
+ };
1785
+
1786
+
1580
1787
  export type MutationCreateAllowedValuesContentValidationRuleArgs = {
1581
1788
  input: CreateAllowedValuesContentValidationRuleInput;
1582
1789
  };
@@ -1742,6 +1949,21 @@ export type MutationDeclineInvitationArgs = {
1742
1949
  };
1743
1950
 
1744
1951
 
1952
+ export type MutationFixMissingTagsIssueArgs = {
1953
+ input: FixMissingTagsIssueInput;
1954
+ };
1955
+
1956
+
1957
+ export type MutationFixSimilarImageContentValuesIssueArgs = {
1958
+ input: FixSimilarImageContentValuesIssueInput;
1959
+ };
1960
+
1961
+
1962
+ export type MutationFixSimilarSmartTextIssueArgs = {
1963
+ input: FixSimilarSmartTextIssueInput;
1964
+ };
1965
+
1966
+
1745
1967
  export type MutationGenerateAssetUploadUrlArgs = {
1746
1968
  input: Array<GenerateAssetUploadUrlInput>;
1747
1969
  };
@@ -1752,6 +1974,11 @@ export type MutationRegenerateApiTokenArgs = {
1752
1974
  };
1753
1975
 
1754
1976
 
1977
+ export type MutationRemoveAccessibleContentItemArgs = {
1978
+ prn: Array<Scalars['PRN']['input']>;
1979
+ };
1980
+
1981
+
1755
1982
  export type MutationRemoveApiTokenArgs = {
1756
1983
  prn: Array<Scalars['PRN']['input']>;
1757
1984
  };
@@ -1869,6 +2096,7 @@ export type MutationRemoveThemeArgs = {
1869
2096
 
1870
2097
  export type MutationRunSeederArgs = {
1871
2098
  seedType: SeedType;
2099
+ withContent: Scalars['Boolean']['input'];
1872
2100
  };
1873
2101
 
1874
2102
 
@@ -1882,6 +2110,11 @@ export type MutationSyncTagVisibilityToDescendantsArgs = {
1882
2110
  };
1883
2111
 
1884
2112
 
2113
+ export type MutationUpdateAccessibleContentItemArgs = {
2114
+ input: Array<UpdateAccessibleContentItemInput>;
2115
+ };
2116
+
2117
+
1885
2118
  export type MutationUpdateAllowedValuesContentValidationRuleArgs = {
1886
2119
  input: UpdateAllowedValuesContentValidationRuleInput;
1887
2120
  };
@@ -2105,8 +2338,6 @@ export type PathPart = {
2105
2338
  createdAt: Scalars['DateTime']['output'];
2106
2339
  /** Whether this Path Part has a Content Experience. */
2107
2340
  hasContentExperience: Scalars['Boolean']['output'];
2108
- /** Not yet implemented! */
2109
- organization?: Maybe<Organization>;
2110
2341
  /** The parent Path Part. Only null when this is the root PathPart. */
2111
2342
  parent?: Maybe<PathPart>;
2112
2343
  /** The ID of the parent Path Part. Only null when this is the root PathPart. */
@@ -2189,6 +2420,10 @@ export type ProcessedAssetOptionsInput = {
2189
2420
 
2190
2421
  export type Query = {
2191
2422
  __typename?: 'Query';
2423
+ /** Finds one or many AccessibleContentItems by PRN. Throws NotFoundException when no AccessibleContentItem could be found. */
2424
+ accessibleContentItem: Array<Scalars['JSON']['output']>;
2425
+ /** Orders and paginates all AccessibleContentItems. This uses the same arguments as find all Content Items. This means you can not filter on the fields in the return value of this query, but only on the fields of the ContentItem model. */
2426
+ accessibleContentItems: AccessibleContentItemsConnection;
2192
2427
  /** Finds one or many ApiTokens by PRN. Throws NotFoundException when no ApiToken could be found. */
2193
2428
  apiToken: Array<ApiToken>;
2194
2429
  /** Orders all ApiTokens. */
@@ -2207,9 +2442,16 @@ export type Query = {
2207
2442
  buildingBlockFieldFulfillments: BuildingBlockFieldFulfillmentsConnection;
2208
2443
  /** Orders and paginates all BuildingBlockFields. */
2209
2444
  buildingBlockFields: BuildingBlockFieldsConnection;
2210
- casCastMatches: Scalars['CAST']['output'];
2445
+ /** Detect CAST matches with database reusable entries. Matches are based on plaintext. */
2446
+ casCastMatches?: Maybe<Scalars['CAST']['output']>;
2447
+ /** Get similar image Content Values within the database. Use similarity score based on image hashes to find potential duplicates. */
2448
+ casFindSimilarImageContentValues: Array<CasImageContentValueMatch>;
2449
+ /** Get similar image Content Values within the database from an asset PRN input. Use similarity score based on image hashes to find potential duplicates. */
2450
+ casFindSimilarImageContentValuesFromAsset: Array<CasImageContentValueMatch>;
2451
+ /** Use predefined regex patterns to detect potentially reusable content in a string. */
2211
2452
  casRegexSuggestions: Array<CasRegexSuggestion>;
2212
- casStringMatches: Array<CasDatabaseMatch>;
2453
+ /** Detect string matches with database reusable entries. */
2454
+ casStringMatches: Array<CasDatabaseTextMatch>;
2213
2455
  /** Finds one or many Channels by PRN. Throws NotFoundException when no Channel could be found. */
2214
2456
  channel: Array<Channel>;
2215
2457
  /** Orders and paginates all Channels. */
@@ -2236,7 +2478,7 @@ export type Query = {
2236
2478
  contentValue: Array<ContentValue>;
2237
2479
  /** Orders and paginates all ContentValues. */
2238
2480
  contentValues: ContentValuesConnection;
2239
- currentSubject: Subject;
2481
+ currentUser: User;
2240
2482
  /** Finds one or many ExperienceComponents by PRN. Throws NotFoundException when no ExperienceComponent could be found. */
2241
2483
  experienceComponent: Array<ExperienceComponent>;
2242
2484
  /** Orders and paginates all ExperienceComponents. */
@@ -2251,10 +2493,16 @@ export type Query = {
2251
2493
  gridPlacements: GridPlacementsConnection;
2252
2494
  /** Finds one or many Invitations by PRN. Throws NotFoundException when no Invitation could be found. */
2253
2495
  invitation: Array<Invitation>;
2254
- /** Finds all Invitations for the current Subject (e.g. the logged in user) */
2255
- invitationsForCurrentSubject: Array<Invitation>;
2496
+ /** Finds all Invitations for the current User (e.g. the logged in user) */
2497
+ invitationsForCurrentUser: Array<Invitation>;
2256
2498
  /** Finds all Invitations for the given Organization */
2257
2499
  invitationsForOrganization: Array<Invitation>;
2500
+ /** Finds one or many Issues by PRN. Throws NotFoundException when no Issue could be found. */
2501
+ issue: Array<Issue>;
2502
+ /** Gets statistics for all issues, grouped by type and totals. */
2503
+ issueStatistics: IssueStatistics;
2504
+ /** Orders and paginates all Issues. */
2505
+ issues: IssuesConnection;
2258
2506
  /** Finds one or many Organizations by PRN. Throws NotFoundException when no Organization could be found. */
2259
2507
  organization: Array<Organization>;
2260
2508
  /** Finds one or many Path Parts by PRN. Throws NotFoundException when no Path Part could be found. */
@@ -2263,8 +2511,8 @@ export type Query = {
2263
2511
  pathPartByPath: Array<PathPart>;
2264
2512
  /** Orders and paginates all Path Parts. */
2265
2513
  pathParts: PathPartsConnection;
2266
- plateMaintainers: Array<Subject>;
2267
- /** Finds all RoleAssignments for the current Subject (e.g. the logged in user) */
2514
+ plateMaintainers: Array<User>;
2515
+ /** Finds all RoleAssignments for the current Subject (e.g. the logged in user or API token) */
2268
2516
  roleAssignmentsForCurrentSubject: Array<RoleAssignment>;
2269
2517
  /** Finds all RoleAssignments for the given Organization */
2270
2518
  roleAssignmentsForOrganization: Array<RoleAssignment>;
@@ -2279,6 +2527,18 @@ export type Query = {
2279
2527
  };
2280
2528
 
2281
2529
 
2530
+ export type QueryAccessibleContentItemArgs = {
2531
+ prn: Array<Scalars['PRN']['input']>;
2532
+ };
2533
+
2534
+
2535
+ export type QueryAccessibleContentItemsArgs = {
2536
+ orderBy?: InputMaybe<OrderOptionsInput>;
2537
+ paginate: PaginationOptionsInput;
2538
+ where?: InputMaybe<Array<ContentItemsFilterInput>>;
2539
+ };
2540
+
2541
+
2282
2542
  export type QueryApiTokenArgs = {
2283
2543
  prn: Array<Scalars['PRN']['input']>;
2284
2544
  };
@@ -2331,22 +2591,36 @@ export type QueryBuildingBlockFieldsArgs = {
2331
2591
 
2332
2592
 
2333
2593
  export type QueryCasCastMatchesArgs = {
2594
+ config?: InputMaybe<DatabaseTextMatchConfig>;
2334
2595
  inputCast: Scalars['CAST']['input'];
2335
- matchConfig?: InputMaybe<DatabaseMatchConfig>;
2596
+ };
2597
+
2598
+
2599
+ export type QueryCasFindSimilarImageContentValuesArgs = {
2600
+ config?: InputMaybe<DuplicateImagesDetectionConfig>;
2601
+ contentValuePrnString: Scalars['String']['input'];
2602
+ limit?: InputMaybe<Scalars['Int']['input']>;
2603
+ };
2604
+
2605
+
2606
+ export type QueryCasFindSimilarImageContentValuesFromAssetArgs = {
2607
+ assetPrnString: Scalars['String']['input'];
2608
+ config?: InputMaybe<DuplicateImagesDetectionConfig>;
2609
+ limit?: InputMaybe<Scalars['Int']['input']>;
2336
2610
  };
2337
2611
 
2338
2612
 
2339
2613
  export type QueryCasRegexSuggestionsArgs = {
2614
+ config?: InputMaybe<RegexExtractionConfig>;
2340
2615
  inputText: Scalars['String']['input'];
2341
2616
  limit: Scalars['Int']['input'];
2342
- regexConfig?: InputMaybe<RegexExtractionConfig>;
2343
2617
  };
2344
2618
 
2345
2619
 
2346
2620
  export type QueryCasStringMatchesArgs = {
2621
+ config?: InputMaybe<DatabaseTextMatchConfig>;
2347
2622
  inputText: Scalars['String']['input'];
2348
2623
  limit: Scalars['Int']['input'];
2349
- matchConfig?: InputMaybe<DatabaseMatchConfig>;
2350
2624
  };
2351
2625
 
2352
2626
 
@@ -2466,6 +2740,23 @@ export type QueryInvitationArgs = {
2466
2740
  };
2467
2741
 
2468
2742
 
2743
+ export type QueryIssueArgs = {
2744
+ prn: Array<Scalars['PRN']['input']>;
2745
+ };
2746
+
2747
+
2748
+ export type QueryIssueStatisticsArgs = {
2749
+ createdSince?: InputMaybe<Scalars['DateTime']['input']>;
2750
+ };
2751
+
2752
+
2753
+ export type QueryIssuesArgs = {
2754
+ orderBy?: InputMaybe<OrderOptionsInput>;
2755
+ paginate: PaginationOptionsInput;
2756
+ where?: InputMaybe<Array<IssuesFilterInput>>;
2757
+ };
2758
+
2759
+
2469
2760
  export type QueryOrganizationArgs = {
2470
2761
  prn: Array<Scalars['PRN']['input']>;
2471
2762
  };
@@ -2488,6 +2779,11 @@ export type QueryPathPartsArgs = {
2488
2779
  };
2489
2780
 
2490
2781
 
2782
+ export type QueryRoleAssignmentsForOrganizationArgs = {
2783
+ subjectType?: InputMaybe<SubjectType>;
2784
+ };
2785
+
2786
+
2491
2787
  export type QueryTagArgs = {
2492
2788
  prn: Array<Scalars['PRN']['input']>;
2493
2789
  };
@@ -2544,8 +2840,6 @@ export type RemoveBlueprintResponse = {
2544
2840
  definedBy: ExperienceComponent;
2545
2841
  isFixed: Scalars['Boolean']['output'];
2546
2842
  name: Scalars['String']['output'];
2547
- /** Not yet implemented! */
2548
- organization?: Maybe<Organization>;
2549
2843
  prn: Scalars['PRN']['output'];
2550
2844
  stage: Stage;
2551
2845
  updatedAt: Scalars['DateTime']['output'];
@@ -2558,8 +2852,6 @@ export type RemoveBuildingBlockResponse = {
2558
2852
  experienceComponents: Array<ExperienceComponent>;
2559
2853
  gridDefinition?: Maybe<GridDefinition>;
2560
2854
  next?: Maybe<BuildingBlock>;
2561
- /** Not yet implemented! */
2562
- organization?: Maybe<Organization>;
2563
2855
  previous?: Maybe<BuildingBlock>;
2564
2856
  prn: Scalars['PRN']['output'];
2565
2857
  slug: Scalars['String']['output'];
@@ -2572,12 +2864,17 @@ export type RemoveContentExperienceResponse = {
2572
2864
  __typename?: 'RemoveContentExperienceResponse';
2573
2865
  createdAt: Scalars['DateTime']['output'];
2574
2866
  experienceComponent: ExperienceComponent;
2575
- /** Not yet implemented! */
2576
- organization?: Maybe<Organization>;
2867
+ /** The issues that this Content Experience is a subject of */
2868
+ issues: Array<Issue>;
2577
2869
  pathPart: PathPart;
2870
+ /** An array of path part ids from the current path part up to the root, ordered from root to current. */
2871
+ pathPartsToRootIds: Array<Scalars['String']['output']>;
2872
+ primaryContentItem?: Maybe<ContentItem>;
2578
2873
  prn: Scalars['PRN']['output'];
2579
2874
  /** The Content Values that use this Content Experience as an referenced value. Reverse relation of referencedContentExperiences. */
2580
2875
  referencedBySmartTextContentValues: Array<ContentValue>;
2876
+ seoDescription?: Maybe<Scalars['String']['output']>;
2877
+ seoTitle?: Maybe<Scalars['String']['output']>;
2581
2878
  slug: Scalars['String']['output'];
2582
2879
  stage: Stage;
2583
2880
  /** The ids of the tags this Content Experience are tagged with, including all ancestor tags. Should only be used for filtering. */
@@ -2600,13 +2897,13 @@ export type RemoveContentValueResponse = {
2600
2897
  interpolatedSmartText?: Maybe<Scalars['CAST']['output']>;
2601
2898
  /** Whether the ContentValue is reusable. Defaults to false. */
2602
2899
  isReusable: Scalars['Boolean']['output'];
2900
+ /** The issues that this Content Value is a subject of */
2901
+ issues: Array<Issue>;
2603
2902
  linkedContentType?: Maybe<ContentType>;
2604
2903
  linkedGridPlacement?: Maybe<GridPlacement>;
2605
2904
  linkedPathPart?: Maybe<PathPart>;
2606
2905
  linkedTag?: Maybe<Tag>;
2607
2906
  next?: Maybe<ContentValue>;
2608
- /** Not yet implemented! */
2609
- organization?: Maybe<Organization>;
2610
2907
  /** The plain text representation of the smart text. This is used internally. If you really need the plain text representation of CAST, use the castToPlainText utility function. */
2611
2908
  plainText?: Maybe<Scalars['String']['output']>;
2612
2909
  previous?: Maybe<ContentValue>;
@@ -2621,11 +2918,21 @@ export type RemoveContentValueResponse = {
2621
2918
  referencedContentValues: Array<ContentValue>;
2622
2919
  /** The Grid Placements that are referenced in internal links in the smart text. This is calculated based on the CAST tree in the smart text and cannot be updated manually. */
2623
2920
  referencedGridPlacements: Array<GridPlacement>;
2921
+ /** The alt text of the relatedAsset. */
2922
+ relatedAssetAltText?: Maybe<Scalars['String']['output']>;
2923
+ /** The file name of the relatedAsset. */
2924
+ relatedAssetFileName?: Maybe<Scalars['String']['output']>;
2925
+ /** The file type (MIME type) of the relatedAsset. */
2926
+ relatedAssetFileType?: Maybe<Scalars['String']['output']>;
2927
+ /** The file size in bytes of the relatedAsset. */
2928
+ relatedAssetSize?: Maybe<Scalars['Int']['output']>;
2624
2929
  relatedContentItem?: Maybe<ContentItem>;
2625
2930
  /** The CAST tree for the smart text. */
2626
2931
  smartText?: Maybe<Scalars['CAST']['output']>;
2627
2932
  stage: Stage;
2628
2933
  updatedAt: Scalars['DateTime']['output'];
2934
+ /** The value type name of the Content Value. This is calculated based on the value that is in the Content Value. Filtered using a StringFilter. */
2935
+ valueTypeName: ContentValueTypeNames;
2629
2936
  };
2630
2937
 
2631
2938
  export type RemoveExperienceComponentResponse = {
@@ -2648,8 +2955,6 @@ export type RemoveExperienceComponentResponse = {
2648
2955
  isGlobal: Scalars['Boolean']['output'];
2649
2956
  /** The name of the Experience Component. Only applicable for global Experience Components. */
2650
2957
  name?: Maybe<Scalars['String']['output']>;
2651
- /** Not yet implemented! */
2652
- organization?: Maybe<Organization>;
2653
2958
  prn: Scalars['PRN']['output'];
2654
2959
  stage: Stage;
2655
2960
  updatedAt: Scalars['DateTime']['output'];
@@ -2762,14 +3067,18 @@ export type StringFormatContentValidationRuleSettingsInput = {
2762
3067
  };
2763
3068
 
2764
3069
  export type Subject = {
2765
- __typename?: 'Subject';
2766
- email: Scalars['String']['output'];
2767
3070
  id: Scalars['String']['output'];
2768
- isPlateMaintainer: Scalars['Boolean']['output'];
2769
- /** Can have values 'en' or 'nl'. */
2770
- language: Scalars['String']['output'];
2771
- name: Name;
2772
- roleAssignments: Array<RoleAssignment>;
3071
+ };
3072
+
3073
+ /** The type of subject (USER or API_TOKEN) */
3074
+ export enum SubjectType {
3075
+ ApiToken = 'API_TOKEN',
3076
+ User = 'USER'
3077
+ }
3078
+
3079
+ export type SuccessResponse = {
3080
+ __typename?: 'SuccessResponse';
3081
+ status: Scalars['String']['output'];
2773
3082
  };
2774
3083
 
2775
3084
  export type Tag = {
@@ -2797,8 +3106,6 @@ export type Tag = {
2797
3106
  name: Scalars['String']['output'];
2798
3107
  /** The nesting level of the Tag. */
2799
3108
  nestingLevel: Scalars['Int']['output'];
2800
- /** Not yet implemented! */
2801
- organization?: Maybe<Organization>;
2802
3109
  /** The parent Tag of this Tag. */
2803
3110
  parent?: Maybe<Tag>;
2804
3111
  /** The ID of the parent Tag. Only null when this is a root Tag. */
@@ -2865,8 +3172,6 @@ export type Theme = {
2865
3172
  channels: Array<Channel>;
2866
3173
  createdAt: Scalars['DateTime']['output'];
2867
3174
  name: Scalars['String']['output'];
2868
- /** Not yet implemented! */
2869
- organization?: Maybe<Organization>;
2870
3175
  prn: Scalars['PRN']['output'];
2871
3176
  repositoryUrl: Scalars['String']['output'];
2872
3177
  updatedAt: Scalars['DateTime']['output'];
@@ -2905,6 +3210,21 @@ export type ThemesFilterInput = {
2905
3210
  updatedAt?: InputMaybe<Array<DateFilter>>;
2906
3211
  };
2907
3212
 
3213
+ export type UpdateAccessibleContentItemInput = {
3214
+ /**
3215
+ * The values of the Content Item.
3216
+ * The keys are the Content Field slugs and the values are either directly the value (only possible if the Content Field has a validation rule that enforces a single type) or an object with valueTypeName and value.
3217
+ * Example value structure: `{ 'title': 'My Title', 'contentTypeField': 'prn:plate-dev:org-id:cms:content-type:123' }`
3218
+ * Example object structure: `{ 'title': { 'valueTypeName': 'STRING', 'value': 'My Title' }, 'contentTypeField': { 'valueTypeName': 'CONTENT_TYPE', 'value': 'prn:plate-dev:org-id:cms:content-type:123' } }`
3219
+ */
3220
+ content?: InputMaybe<Scalars['JSON']['input']>;
3221
+ /** Whether the Content Item is a draft. Drafts are not validated against the Content Type's validation rules. */
3222
+ isDraft?: InputMaybe<Scalars['Boolean']['input']>;
3223
+ prn: Scalars['String']['input'];
3224
+ /** The paths of the Tags to assign to the Content Item. */
3225
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
3226
+ };
3227
+
2908
3228
  export type UpdateAllowedValuesContentValidationRuleInput = {
2909
3229
  prn: Scalars['PRN']['input'];
2910
3230
  settings: AllowedValuesContentValidationRuleSettingsInput;
@@ -2916,7 +3236,8 @@ export type UpdateApiTokenInput = {
2916
3236
  };
2917
3237
 
2918
3238
  export type UpdateAssetInput = {
2919
- fileName?: InputMaybe<Scalars['String']['input']>;
3239
+ /** The alt text of the asset. */
3240
+ altText?: InputMaybe<Scalars['String']['input']>;
2920
3241
  prn: Scalars['PRN']['input'];
2921
3242
  };
2922
3243
 
@@ -2968,7 +3289,12 @@ export type UpdateContentExperienceInput = {
2968
3289
  /** The PRN of the Path Part to publish this Content Experience to. The Channel the Path Part points to must have the same Theme as the current Path Part's Channel's Theme. */
2969
3290
  pathPart?: InputMaybe<Scalars['PRN']['input']>;
2970
3291
  preview?: InputMaybe<Scalars['PRN']['input']>;
3292
+ primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
2971
3293
  prn: Scalars['PRN']['input'];
3294
+ /** The SEO description for the Content Experience. */
3295
+ seoDescription?: InputMaybe<Scalars['String']['input']>;
3296
+ /** The SEO title for the Content Experience. */
3297
+ seoTitle?: InputMaybe<Scalars['String']['input']>;
2972
3298
  slug?: InputMaybe<Scalars['String']['input']>;
2973
3299
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
2974
3300
  title?: InputMaybe<Scalars['String']['input']>;
@@ -2979,6 +3305,7 @@ export type UpdateContentFieldInput = {
2979
3305
  /** The PRN of the ContentField that this ContentField should manually be sorted after. */
2980
3306
  next?: InputMaybe<Scalars['PRN']['input']>;
2981
3307
  prn: Scalars['PRN']['input'];
3308
+ slug?: InputMaybe<Scalars['String']['input']>;
2982
3309
  };
2983
3310
 
2984
3311
  /** Note that in the near future this input will also allow for changing the ContentItem's ContentValues. */
@@ -2986,6 +3313,7 @@ export type UpdateContentItemInput = {
2986
3313
  contentValuesToConnect?: InputMaybe<Array<ConnectContentValueInput>>;
2987
3314
  contentValuesToCreate?: InputMaybe<Array<CreateContentValueForContentItemInput>>;
2988
3315
  isDraft?: InputMaybe<Scalars['Boolean']['input']>;
3316
+ primaryContentExperience?: InputMaybe<Scalars['PRN']['input']>;
2989
3317
  prn: Scalars['PRN']['input'];
2990
3318
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
2991
3319
  };
@@ -2996,6 +3324,7 @@ export type UpdateContentTypeInput = {
2996
3324
  displayNameTemplate?: InputMaybe<Scalars['String']['input']>;
2997
3325
  name?: InputMaybe<Scalars['String']['input']>;
2998
3326
  prn: Scalars['PRN']['input'];
3327
+ slug?: InputMaybe<Scalars['String']['input']>;
2999
3328
  };
3000
3329
 
3001
3330
  export type UpdateContentValueInput = {
@@ -3122,6 +3451,17 @@ export type UpdateValueTypeContentValidationRuleInput = {
3122
3451
  settings: ValueTypeContentValidationRuleSettingsInput;
3123
3452
  };
3124
3453
 
3454
+ export type User = Subject & {
3455
+ __typename?: 'User';
3456
+ email: Scalars['String']['output'];
3457
+ id: Scalars['String']['output'];
3458
+ isPlateMaintainer: Scalars['Boolean']['output'];
3459
+ /** Can have values 'en' or 'nl'. */
3460
+ language: Scalars['String']['output'];
3461
+ name: Name;
3462
+ roleAssignments: Array<RoleAssignment>;
3463
+ };
3464
+
3125
3465
  export type ValueTypeContentValidationRuleSettings = {
3126
3466
  __typename?: 'ValueTypeContentValidationRuleSettings';
3127
3467
  allowedTypes: Array<ContentValueTypeNames>;