@platecms/delta-vue 1.16.1 → 1.18.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.
@@ -23,6 +23,8 @@ export type Scalars = {
23
23
  JSON: { input: any; output: any; }
24
24
  /** PRN identifier as a string */
25
25
  PRN: { input: any; output: any; }
26
+ /** Permission grants as a nested map of resource → action → boolean. TypeScript type: `Permissions` from `@platecms/delta-types`. Register this scalar in GraphQL codegen as `Permissions: '@platecms/delta-types#Permissions'`. */
27
+ Permissions: { input: any; output: any; }
26
28
  /** A generic Primitive value. */
27
29
  PrimitiveValue: { input: any; output: any; }
28
30
  };
@@ -77,17 +79,16 @@ export type AllowedValuesContentValidationRuleSettingsInput = {
77
79
  allowedValues: Array<Scalars['ContentValueType']['input']>;
78
80
  };
79
81
 
80
- export type ApiToken = Subject & {
82
+ export type ApiToken = {
81
83
  __typename?: 'ApiToken';
82
84
  channel?: Maybe<Channel>;
83
85
  /** The PRN of the Channel this ApiToken belongs to. */
84
86
  channelPrn?: Maybe<Scalars['PRN']['output']>;
85
87
  createdAt: Scalars['DateTime']['output'];
86
- id: Scalars['String']['output'];
87
88
  name: Scalars['String']['output'];
88
89
  organization?: Maybe<Organization>;
90
+ permissions: Scalars['Permissions']['output'];
89
91
  prn: Scalars['PRN']['output'];
90
- roleAssignment: RoleAssignment;
91
92
  stage: Stage;
92
93
  updatedAt: Scalars['DateTime']['output'];
93
94
  };
@@ -103,6 +104,22 @@ export type ApiTokenEdge = {
103
104
  node: ApiToken;
104
105
  };
105
106
 
107
+ export type ApiTokenPermissions = {
108
+ create?: InputMaybe<Scalars['Boolean']['input']>;
109
+ read?: InputMaybe<Scalars['Boolean']['input']>;
110
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
111
+ update?: InputMaybe<Scalars['Boolean']['input']>;
112
+ };
113
+
114
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
115
+ export type ApiTokenPermissionsFilterInput = {
116
+ _not?: InputMaybe<Array<ApiTokenPermissionsFilterInput>>;
117
+ create?: InputMaybe<Array<BooleanFilter>>;
118
+ read?: InputMaybe<Array<BooleanFilter>>;
119
+ remove?: InputMaybe<Array<BooleanFilter>>;
120
+ update?: InputMaybe<Array<BooleanFilter>>;
121
+ };
122
+
106
123
  export type ApiTokensConnection = {
107
124
  __typename?: 'ApiTokensConnection';
108
125
  edges: Array<ApiTokenEdge>;
@@ -116,6 +133,7 @@ export type ApiTokensFilterInput = {
116
133
  channelPrn?: InputMaybe<Array<PrnFilter>>;
117
134
  createdAt?: InputMaybe<Array<DateFilter>>;
118
135
  name?: InputMaybe<Array<StringFilter>>;
136
+ permissions?: InputMaybe<Array<PermissionsFilterInput>>;
119
137
  prn?: InputMaybe<Array<PrnFilter>>;
120
138
  updatedAt?: InputMaybe<Array<DateFilter>>;
121
139
  };
@@ -157,6 +175,22 @@ export type AssetLocalizedAltText = {
157
175
  language: Language;
158
176
  };
159
177
 
178
+ export type AssetPermissions = {
179
+ create?: InputMaybe<Scalars['Boolean']['input']>;
180
+ read?: InputMaybe<Scalars['Boolean']['input']>;
181
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
182
+ update?: InputMaybe<Scalars['Boolean']['input']>;
183
+ };
184
+
185
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
186
+ export type AssetPermissionsFilterInput = {
187
+ _not?: InputMaybe<Array<AssetPermissionsFilterInput>>;
188
+ create?: InputMaybe<Array<BooleanFilter>>;
189
+ read?: InputMaybe<Array<BooleanFilter>>;
190
+ remove?: InputMaybe<Array<BooleanFilter>>;
191
+ update?: InputMaybe<Array<BooleanFilter>>;
192
+ };
193
+
160
194
  export type Blueprint = {
161
195
  __typename?: 'Blueprint';
162
196
  channel: Channel;
@@ -181,6 +215,22 @@ export type BlueprintEdge = {
181
215
  node: Blueprint;
182
216
  };
183
217
 
218
+ export type BlueprintPermissions = {
219
+ create?: InputMaybe<Scalars['Boolean']['input']>;
220
+ read?: InputMaybe<Scalars['Boolean']['input']>;
221
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
222
+ update?: InputMaybe<Scalars['Boolean']['input']>;
223
+ };
224
+
225
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
226
+ export type BlueprintPermissionsFilterInput = {
227
+ _not?: InputMaybe<Array<BlueprintPermissionsFilterInput>>;
228
+ create?: InputMaybe<Array<BooleanFilter>>;
229
+ read?: InputMaybe<Array<BooleanFilter>>;
230
+ remove?: InputMaybe<Array<BooleanFilter>>;
231
+ update?: InputMaybe<Array<BooleanFilter>>;
232
+ };
233
+
184
234
  export type BlueprintsConnection = {
185
235
  __typename?: 'BlueprintsConnection';
186
236
  edges: Array<BlueprintEdge>;
@@ -328,6 +378,22 @@ export type BuildingBlockFieldFulfillmentEdge = {
328
378
  node: BuildingBlockFieldFulfillment;
329
379
  };
330
380
 
381
+ export type BuildingBlockFieldFulfillmentPermissions = {
382
+ create?: InputMaybe<Scalars['Boolean']['input']>;
383
+ read?: InputMaybe<Scalars['Boolean']['input']>;
384
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
385
+ update?: InputMaybe<Scalars['Boolean']['input']>;
386
+ };
387
+
388
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
389
+ export type BuildingBlockFieldFulfillmentPermissionsFilterInput = {
390
+ _not?: InputMaybe<Array<BuildingBlockFieldFulfillmentPermissionsFilterInput>>;
391
+ create?: InputMaybe<Array<BooleanFilter>>;
392
+ read?: InputMaybe<Array<BooleanFilter>>;
393
+ remove?: InputMaybe<Array<BooleanFilter>>;
394
+ update?: InputMaybe<Array<BooleanFilter>>;
395
+ };
396
+
331
397
  export type BuildingBlockFieldFulfillmentsConnection = {
332
398
  __typename?: 'BuildingBlockFieldFulfillmentsConnection';
333
399
  edges: Array<BuildingBlockFieldFulfillmentEdge>;
@@ -343,6 +409,22 @@ export type BuildingBlockFieldFulfillmentsFilterInput = {
343
409
  updatedAt?: InputMaybe<Array<DateFilter>>;
344
410
  };
345
411
 
412
+ export type BuildingBlockFieldPermissions = {
413
+ create?: InputMaybe<Scalars['Boolean']['input']>;
414
+ read?: InputMaybe<Scalars['Boolean']['input']>;
415
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
416
+ update?: InputMaybe<Scalars['Boolean']['input']>;
417
+ };
418
+
419
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
420
+ export type BuildingBlockFieldPermissionsFilterInput = {
421
+ _not?: InputMaybe<Array<BuildingBlockFieldPermissionsFilterInput>>;
422
+ create?: InputMaybe<Array<BooleanFilter>>;
423
+ read?: InputMaybe<Array<BooleanFilter>>;
424
+ remove?: InputMaybe<Array<BooleanFilter>>;
425
+ update?: InputMaybe<Array<BooleanFilter>>;
426
+ };
427
+
346
428
  export type BuildingBlockFieldsConnection = {
347
429
  __typename?: 'BuildingBlockFieldsConnection';
348
430
  edges: Array<BuildingBlockFieldEdge>;
@@ -362,6 +444,22 @@ export type BuildingBlockFieldsFilterInput = {
362
444
  updatedAt?: InputMaybe<Array<DateFilter>>;
363
445
  };
364
446
 
447
+ export type BuildingBlockPermissions = {
448
+ create?: InputMaybe<Scalars['Boolean']['input']>;
449
+ read?: InputMaybe<Scalars['Boolean']['input']>;
450
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
451
+ update?: InputMaybe<Scalars['Boolean']['input']>;
452
+ };
453
+
454
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
455
+ export type BuildingBlockPermissionsFilterInput = {
456
+ _not?: InputMaybe<Array<BuildingBlockPermissionsFilterInput>>;
457
+ create?: InputMaybe<Array<BooleanFilter>>;
458
+ read?: InputMaybe<Array<BooleanFilter>>;
459
+ remove?: InputMaybe<Array<BooleanFilter>>;
460
+ update?: InputMaybe<Array<BooleanFilter>>;
461
+ };
462
+
365
463
  export type BuildingBlocksConnection = {
366
464
  __typename?: 'BuildingBlocksConnection';
367
465
  edges: Array<BuildingBlockEdge>;
@@ -429,6 +527,8 @@ export type Channel = {
429
527
  createdAt: Scalars['DateTime']['output'];
430
528
  defaultBlueprint?: Maybe<Blueprint>;
431
529
  domain: Scalars['String']['output'];
530
+ /** The enabled language roots of this Channel, with the default language root first. Prefer this over filtering `pathParts` by language, which loads every Path Part of the Channel. */
531
+ languageRoots: Array<ChannelLanguageRoot>;
432
532
  name: Scalars['String']['output'];
433
533
  organization?: Maybe<Organization>;
434
534
  pathParts: Array<PathPart>;
@@ -465,6 +565,22 @@ export type ChannelLanguageRoot = {
465
565
  rootPath: Scalars['String']['output'];
466
566
  };
467
567
 
568
+ export type ChannelPermissions = {
569
+ create?: InputMaybe<Scalars['Boolean']['input']>;
570
+ read?: InputMaybe<Scalars['Boolean']['input']>;
571
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
572
+ update?: InputMaybe<Scalars['Boolean']['input']>;
573
+ };
574
+
575
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
576
+ export type ChannelPermissionsFilterInput = {
577
+ _not?: InputMaybe<Array<ChannelPermissionsFilterInput>>;
578
+ create?: InputMaybe<Array<BooleanFilter>>;
579
+ read?: InputMaybe<Array<BooleanFilter>>;
580
+ remove?: InputMaybe<Array<BooleanFilter>>;
581
+ update?: InputMaybe<Array<BooleanFilter>>;
582
+ };
583
+
468
584
  export type ChannelsConnection = {
469
585
  __typename?: 'ChannelsConnection';
470
586
  edges: Array<ChannelEdge>;
@@ -483,9 +599,17 @@ export type ChannelsFilterInput = {
483
599
  updatedAt?: InputMaybe<Array<DateFilter>>;
484
600
  };
485
601
 
602
+ export type ConnectBuildingBlockFieldFulfillmentInput = {
603
+ fulfillment: Scalars['PRN']['input'];
604
+ /** The PRN of the Building Block Field Fulfillment that should come immediately after this one in manual sort order within the same Experience Component, Building Block Field, Organization, and Stage. Null appends to the end. Leave undefined to keep the current position. */
605
+ next?: InputMaybe<Scalars['PRN']['input']>;
606
+ };
607
+
486
608
  export type ConnectContentValueInput = {
487
609
  contentField: Scalars['PRN']['input'];
488
610
  contentValue: Scalars['PRN']['input'];
611
+ /** The PRN of the Content Value that should come immediately after this one in manual sort order within the same Content Item, Content Field, Organization, and Stage. Null appends to the end. */
612
+ next?: InputMaybe<Scalars['PRN']['input']>;
489
613
  };
490
614
 
491
615
  export type Content = {
@@ -588,6 +712,41 @@ export type ContentExperienceLanguageGroupsFilterInput = {
588
712
  updatedAt?: InputMaybe<Array<DateFilter>>;
589
713
  };
590
714
 
715
+ export type ContentExperiencePermissions = {
716
+ create?: InputMaybe<Scalars['Boolean']['input']>;
717
+ read?: InputMaybe<Scalars['Boolean']['input']>;
718
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
719
+ update?: InputMaybe<Scalars['Boolean']['input']>;
720
+ };
721
+
722
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
723
+ export type ContentExperiencePermissionsFilterInput = {
724
+ _not?: InputMaybe<Array<ContentExperiencePermissionsFilterInput>>;
725
+ create?: InputMaybe<Array<BooleanFilter>>;
726
+ read?: InputMaybe<Array<BooleanFilter>>;
727
+ remove?: InputMaybe<Array<BooleanFilter>>;
728
+ update?: InputMaybe<Array<BooleanFilter>>;
729
+ };
730
+
731
+ /** A preview of the resources and values affected by removing one or more Content Experiences. The mutation recalculates this impact before removal. */
732
+ export type ContentExperienceRemovalImpact = {
733
+ __typename?: 'ContentExperienceRemovalImpact';
734
+ /** The number of surviving Content Items that will be marked as draft. */
735
+ affectedContentItemCount: Scalars['Int']['output'];
736
+ /** The number of surviving Experience Components that will be marked as draft. */
737
+ affectedExperienceComponentCount: Scalars['Int']['output'];
738
+ /** The number of Smart Text Content Values whose rendered value may change or contain '[removed]'. */
739
+ affectedSmartTextContentValueCount: Scalars['Int']['output'];
740
+ /** The number of Smart Text Content Values that directly reference the Content Experience or its Grid Placements and block soft removal. */
741
+ directUsageCount: Scalars['Int']['output'];
742
+ /** The number of Content Values linked directly to Grid Placements that will be removed with the Content Experience. */
743
+ removedContentValueCount: Scalars['Int']['output'];
744
+ /** The number of primary Content Item-Content Experience assignments that will be removed. */
745
+ removedPrimaryAssignmentCount: Scalars['Int']['output'];
746
+ /** Whether removal is currently expected to require forceRemove. */
747
+ requiresForceRemoval: Scalars['Boolean']['output'];
748
+ };
749
+
591
750
  export type ContentExperiencesConnection = {
592
751
  __typename?: 'ContentExperiencesConnection';
593
752
  edges: Array<ContentExperienceEdge>;
@@ -652,6 +811,22 @@ export type ContentFieldEdge = {
652
811
  node: ContentField;
653
812
  };
654
813
 
814
+ export type ContentFieldPermissions = {
815
+ create?: InputMaybe<Scalars['Boolean']['input']>;
816
+ read?: InputMaybe<Scalars['Boolean']['input']>;
817
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
818
+ update?: InputMaybe<Scalars['Boolean']['input']>;
819
+ };
820
+
821
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
822
+ export type ContentFieldPermissionsFilterInput = {
823
+ _not?: InputMaybe<Array<ContentFieldPermissionsFilterInput>>;
824
+ create?: InputMaybe<Array<BooleanFilter>>;
825
+ read?: InputMaybe<Array<BooleanFilter>>;
826
+ remove?: InputMaybe<Array<BooleanFilter>>;
827
+ update?: InputMaybe<Array<BooleanFilter>>;
828
+ };
829
+
655
830
  export type ContentFieldsConnection = {
656
831
  __typename?: 'ContentFieldsConnection';
657
832
  edges: Array<ContentFieldEdge>;
@@ -776,6 +951,39 @@ export type ContentItemMergeConflictResolutionInput = {
776
951
  removeVariantPrn: Scalars['PRN']['input'];
777
952
  };
778
953
 
954
+ export type ContentItemPermissions = {
955
+ create?: InputMaybe<Scalars['Boolean']['input']>;
956
+ read?: InputMaybe<Scalars['Boolean']['input']>;
957
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
958
+ update?: InputMaybe<Scalars['Boolean']['input']>;
959
+ };
960
+
961
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
962
+ export type ContentItemPermissionsFilterInput = {
963
+ _not?: InputMaybe<Array<ContentItemPermissionsFilterInput>>;
964
+ create?: InputMaybe<Array<BooleanFilter>>;
965
+ read?: InputMaybe<Array<BooleanFilter>>;
966
+ remove?: InputMaybe<Array<BooleanFilter>>;
967
+ update?: InputMaybe<Array<BooleanFilter>>;
968
+ };
969
+
970
+ /** A preview of the resources and values affected by removing one or more Content Items. The mutation recalculates this impact before removal. */
971
+ export type ContentItemRemovalImpact = {
972
+ __typename?: 'ContentItemRemovalImpact';
973
+ /** The number of surviving Content Items that will be marked as draft. */
974
+ affectedContentItemCount: Scalars['Int']['output'];
975
+ /** The number of surviving Experience Components that will be marked as draft. */
976
+ affectedExperienceComponentCount: Scalars['Int']['output'];
977
+ /** The number of Content Values that directly use the resources selected for removal. */
978
+ directUsageCount: Scalars['Int']['output'];
979
+ /** The number of Content Values that will be removed. */
980
+ removedContentValueCount: Scalars['Int']['output'];
981
+ /** The number of primary Content Item-Content Experience assignments that will be removed. */
982
+ removedPrimaryAssignmentCount: Scalars['Int']['output'];
983
+ /** Whether removal is currently expected to require forceRemove. */
984
+ requiresForceRemoval: Scalars['Boolean']['output'];
985
+ };
986
+
779
987
  export type ContentItemsConnection = {
780
988
  __typename?: 'ContentItemsConnection';
781
989
  edges: Array<ContentItemEdge>;
@@ -835,6 +1043,22 @@ export type ContentTypeEdge = {
835
1043
  node: ContentType;
836
1044
  };
837
1045
 
1046
+ export type ContentTypePermissions = {
1047
+ create?: InputMaybe<Scalars['Boolean']['input']>;
1048
+ read?: InputMaybe<Scalars['Boolean']['input']>;
1049
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
1050
+ update?: InputMaybe<Scalars['Boolean']['input']>;
1051
+ };
1052
+
1053
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
1054
+ export type ContentTypePermissionsFilterInput = {
1055
+ _not?: InputMaybe<Array<ContentTypePermissionsFilterInput>>;
1056
+ create?: InputMaybe<Array<BooleanFilter>>;
1057
+ read?: InputMaybe<Array<BooleanFilter>>;
1058
+ remove?: InputMaybe<Array<BooleanFilter>>;
1059
+ update?: InputMaybe<Array<BooleanFilter>>;
1060
+ };
1061
+
838
1062
  export type ContentTypesConnection = {
839
1063
  __typename?: 'ContentTypesConnection';
840
1064
  edges: Array<ContentTypeEdge>;
@@ -864,6 +1088,22 @@ export type ContentValidationRule = {
864
1088
  updatedAt: Scalars['DateTime']['output'];
865
1089
  };
866
1090
 
1091
+ export type ContentValidationRulePermissions = {
1092
+ create?: InputMaybe<Scalars['Boolean']['input']>;
1093
+ read?: InputMaybe<Scalars['Boolean']['input']>;
1094
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
1095
+ update?: InputMaybe<Scalars['Boolean']['input']>;
1096
+ };
1097
+
1098
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
1099
+ export type ContentValidationRulePermissionsFilterInput = {
1100
+ _not?: InputMaybe<Array<ContentValidationRulePermissionsFilterInput>>;
1101
+ create?: InputMaybe<Array<BooleanFilter>>;
1102
+ read?: InputMaybe<Array<BooleanFilter>>;
1103
+ remove?: InputMaybe<Array<BooleanFilter>>;
1104
+ update?: InputMaybe<Array<BooleanFilter>>;
1105
+ };
1106
+
867
1107
  /** The filter input type for 'ContentValidationRules'. Objects/maps are treated as AND, while arrays are treated as OR. */
868
1108
  export type ContentValidationRulesFilterInput = {
869
1109
  _not?: InputMaybe<Array<ContentValidationRulesFilterInput>>;
@@ -941,6 +1181,196 @@ export type ContentValueIssuesArgs = {
941
1181
  where?: InputMaybe<Array<IssuesFilterInput>>;
942
1182
  };
943
1183
 
1184
+ export type ContentValueContentExperienceUsage = {
1185
+ __typename?: 'ContentValueContentExperienceUsage';
1186
+ /** The representative localized Content Experience for this usage. */
1187
+ contentExperience: ContentValueUsageContentExperienceSummary;
1188
+ /** The language group shared by the localized Content Experiences in this usage. */
1189
+ contentExperienceLanguageGroupPrn: Scalars['PRN']['output'];
1190
+ /** Only languages whose localized Content Experience contains one of the selected Content Values. */
1191
+ languages: Array<ContentValueContentExperienceUsageLanguage>;
1192
+ /** The total number of direct uses across the listed localized Content Experiences. */
1193
+ uses: Scalars['Int']['output'];
1194
+ };
1195
+
1196
+ export type ContentValueContentExperienceUsageDetail = {
1197
+ __typename?: 'ContentValueContentExperienceUsageDetail';
1198
+ buildingBlock: ContentValueUsageBuildingBlockReference;
1199
+ buildingBlockField: ContentValueUsageBuildingBlockFieldReference;
1200
+ buildingBlockFieldFulfillmentPrn: Scalars['PRN']['output'];
1201
+ contentExperience: ContentValueUsageContentExperienceReference;
1202
+ experienceComponent: ContentValueUsageExperienceComponentReference;
1203
+ /** The Content Value directly assigned to the matching field fulfillment. */
1204
+ fulfilledContentValue: ContentValueUsageContentValueReference;
1205
+ /** The placement of the component within its immediate parent, or null for the Experience root. */
1206
+ gridPlacementPrn?: Maybe<Scalars['PRN']['output']>;
1207
+ language: ContentValueUsageLanguageReference;
1208
+ /** The number of rendered occurrences represented by this navigable target. */
1209
+ occurrences: Scalars['Int']['output'];
1210
+ };
1211
+
1212
+ export type ContentValueContentExperienceUsageDetailEdge = {
1213
+ __typename?: 'ContentValueContentExperienceUsageDetailEdge';
1214
+ cursor: Scalars['String']['output'];
1215
+ node: ContentValueContentExperienceUsageDetail;
1216
+ };
1217
+
1218
+ export type ContentValueContentExperienceUsageDetailsConnection = {
1219
+ __typename?: 'ContentValueContentExperienceUsageDetailsConnection';
1220
+ edges: Array<ContentValueContentExperienceUsageDetailEdge>;
1221
+ pageInfo: PageInfo;
1222
+ totalCount: Scalars['Int']['output'];
1223
+ /** The sum of rendered occurrences across all filtered detail rows. */
1224
+ totalOccurrences: Scalars['Int']['output'];
1225
+ };
1226
+
1227
+ export type ContentValueContentExperienceUsageDetailsWhereInput = {
1228
+ /** Only return usage targets from the localized Content Experience in this language. */
1229
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
1230
+ };
1231
+
1232
+ export type ContentValueContentExperienceUsageEdge = {
1233
+ __typename?: 'ContentValueContentExperienceUsageEdge';
1234
+ cursor: Scalars['String']['output'];
1235
+ node: ContentValueContentExperienceUsage;
1236
+ };
1237
+
1238
+ export type ContentValueContentExperienceUsageLanguage = {
1239
+ __typename?: 'ContentValueContentExperienceUsageLanguage';
1240
+ contentExperiencePrn: Scalars['PRN']['output'];
1241
+ language: ContentValueUsageLanguageReference;
1242
+ };
1243
+
1244
+ export type ContentValueContentExperienceUsagesConnection = {
1245
+ __typename?: 'ContentValueContentExperienceUsagesConnection';
1246
+ edges: Array<ContentValueContentExperienceUsageEdge>;
1247
+ pageInfo: PageInfo;
1248
+ totalCount: Scalars['Int']['output'];
1249
+ };
1250
+
1251
+ export type ContentValueContentExperienceUsagesWhereInput = {
1252
+ createdAt?: InputMaybe<Array<DateFilter>>;
1253
+ /** Only return Content Experience groups containing a usage in this language. Each result still includes every language containing a usage. */
1254
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
1255
+ /** Filters Content Experience groups by the PRNs of their localized Content Experiences. */
1256
+ prn?: InputMaybe<Array<PrnFilter>>;
1257
+ /** Filters the Content Experience title using the standard StringFilter operators. */
1258
+ title?: InputMaybe<Array<StringFilter>>;
1259
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1260
+ };
1261
+
1262
+ export type ContentValueContentItemUsage = {
1263
+ __typename?: 'ContentValueContentItemUsage';
1264
+ /** The representative localized Content Item for this usage. */
1265
+ contentItem: ContentValueUsageContentItemSummary;
1266
+ /** The language group shared by the localized Content Items in this usage. */
1267
+ contentItemLanguageGroupPrn: Scalars['PRN']['output'];
1268
+ /** Only languages whose localized Content Item transitively references one of the selected Content Values. */
1269
+ languages: Array<ContentValueContentItemUsageLanguage>;
1270
+ /** The total number of directly referencing structured Content Values across the listed Content Items. */
1271
+ uses: Scalars['Int']['output'];
1272
+ };
1273
+
1274
+ export type ContentValueContentItemUsageDetail = {
1275
+ __typename?: 'ContentValueContentItemUsageDetail';
1276
+ contentField: ContentValueUsageContentFieldReference;
1277
+ contentItem: ContentValueUsageContentItemReference;
1278
+ contentType: ContentValueUsageContentTypeReference;
1279
+ /** The structured Content Value that transitively references one of the selected Content Values. */
1280
+ contentValue: ContentValueUsageContentValueReference;
1281
+ language: ContentValueUsageLanguageReference;
1282
+ };
1283
+
1284
+ export type ContentValueContentItemUsageDetailEdge = {
1285
+ __typename?: 'ContentValueContentItemUsageDetailEdge';
1286
+ cursor: Scalars['String']['output'];
1287
+ node: ContentValueContentItemUsageDetail;
1288
+ };
1289
+
1290
+ export type ContentValueContentItemUsageDetailsConnection = {
1291
+ __typename?: 'ContentValueContentItemUsageDetailsConnection';
1292
+ edges: Array<ContentValueContentItemUsageDetailEdge>;
1293
+ pageInfo: PageInfo;
1294
+ totalCount: Scalars['Int']['output'];
1295
+ };
1296
+
1297
+ export type ContentValueContentItemUsageDetailsWhereInput = {
1298
+ /** Only return usage targets from the localized Content Item in this language. */
1299
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
1300
+ };
1301
+
1302
+ export type ContentValueContentItemUsageEdge = {
1303
+ __typename?: 'ContentValueContentItemUsageEdge';
1304
+ cursor: Scalars['String']['output'];
1305
+ node: ContentValueContentItemUsage;
1306
+ };
1307
+
1308
+ export type ContentValueContentItemUsageLanguage = {
1309
+ __typename?: 'ContentValueContentItemUsageLanguage';
1310
+ contentItemPrn: Scalars['PRN']['output'];
1311
+ language: ContentValueUsageLanguageReference;
1312
+ };
1313
+
1314
+ export type ContentValueContentItemUsagesConnection = {
1315
+ __typename?: 'ContentValueContentItemUsagesConnection';
1316
+ edges: Array<ContentValueContentItemUsageEdge>;
1317
+ pageInfo: PageInfo;
1318
+ totalCount: Scalars['Int']['output'];
1319
+ };
1320
+
1321
+ export type ContentValueContentItemUsagesWhereInput = {
1322
+ createdAt?: InputMaybe<Array<DateFilter>>;
1323
+ /** Filters the Content Item display name using the standard StringFilter operators. */
1324
+ displayName?: InputMaybe<Array<StringFilter>>;
1325
+ /** Only return Content Item groups containing a usage in this language. Each result still includes every language containing a usage. */
1326
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
1327
+ /** Filters Content Item groups by the PRNs of their localized Content Items. */
1328
+ prn?: InputMaybe<Array<PrnFilter>>;
1329
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1330
+ };
1331
+
1332
+ export type ContentValueContentValueUsage = {
1333
+ __typename?: 'ContentValueContentValueUsage';
1334
+ /** The representative Content Value for this usage. */
1335
+ contentValue: ContentValueUsageContentValueSummary;
1336
+ /** The language group shared by the localized reusable Content Values in this usage. */
1337
+ contentValueLanguageGroupPrn?: Maybe<Scalars['PRN']['output']>;
1338
+ /** Only languages whose standalone reusable Content Value transitively references one of the selected Content Values. */
1339
+ languages: Array<ContentValueContentValueUsageLanguage>;
1340
+ /** The total number of Content Values represented by this transitive usage. */
1341
+ uses: Scalars['Int']['output'];
1342
+ };
1343
+
1344
+ export type ContentValueContentValueUsageEdge = {
1345
+ __typename?: 'ContentValueContentValueUsageEdge';
1346
+ cursor: Scalars['String']['output'];
1347
+ node: ContentValueContentValueUsage;
1348
+ };
1349
+
1350
+ export type ContentValueContentValueUsageLanguage = {
1351
+ __typename?: 'ContentValueContentValueUsageLanguage';
1352
+ contentValuePrn: Scalars['PRN']['output'];
1353
+ language: ContentValueUsageLanguageReference;
1354
+ };
1355
+
1356
+ export type ContentValueContentValueUsagesConnection = {
1357
+ __typename?: 'ContentValueContentValueUsagesConnection';
1358
+ edges: Array<ContentValueContentValueUsageEdge>;
1359
+ pageInfo: PageInfo;
1360
+ totalCount: Scalars['Int']['output'];
1361
+ };
1362
+
1363
+ export type ContentValueContentValueUsagesWhereInput = {
1364
+ createdAt?: InputMaybe<Array<DateFilter>>;
1365
+ /** Only return Content Value groups containing a usage in this language. Each result still includes every language containing a usage. */
1366
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
1367
+ /** Filters the referring Content Value plain text using the standard StringFilter operators. */
1368
+ plainText?: InputMaybe<Array<StringFilter>>;
1369
+ /** Filters usage groups by the PRNs of their localized referring Content Values. */
1370
+ prn?: InputMaybe<Array<PrnFilter>>;
1371
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1372
+ };
1373
+
944
1374
  export type ContentValueEdge = {
945
1375
  __typename?: 'ContentValueEdge';
946
1376
  cursor: Scalars['String']['output'];
@@ -977,6 +1407,22 @@ export type ContentValueLanguageGroupsFilterInput = {
977
1407
  updatedAt?: InputMaybe<Array<DateFilter>>;
978
1408
  };
979
1409
 
1410
+ export type ContentValuePermissions = {
1411
+ create?: InputMaybe<Scalars['Boolean']['input']>;
1412
+ read?: InputMaybe<Scalars['Boolean']['input']>;
1413
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
1414
+ update?: InputMaybe<Scalars['Boolean']['input']>;
1415
+ };
1416
+
1417
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
1418
+ export type ContentValuePermissionsFilterInput = {
1419
+ _not?: InputMaybe<Array<ContentValuePermissionsFilterInput>>;
1420
+ create?: InputMaybe<Array<BooleanFilter>>;
1421
+ read?: InputMaybe<Array<BooleanFilter>>;
1422
+ remove?: InputMaybe<Array<BooleanFilter>>;
1423
+ update?: InputMaybe<Array<BooleanFilter>>;
1424
+ };
1425
+
980
1426
  export enum ContentValueTypeNames {
981
1427
  Asset = 'ASSET',
982
1428
  Boolean = 'BOOLEAN',
@@ -992,6 +1438,95 @@ export enum ContentValueTypeNames {
992
1438
  Unknown = 'UNKNOWN'
993
1439
  }
994
1440
 
1441
+ export type ContentValueUsageBuildingBlockFieldReference = {
1442
+ __typename?: 'ContentValueUsageBuildingBlockFieldReference';
1443
+ prn: Scalars['PRN']['output'];
1444
+ title: Scalars['String']['output'];
1445
+ };
1446
+
1447
+ export type ContentValueUsageBuildingBlockReference = {
1448
+ __typename?: 'ContentValueUsageBuildingBlockReference';
1449
+ prn: Scalars['PRN']['output'];
1450
+ title: Scalars['String']['output'];
1451
+ };
1452
+
1453
+ export type ContentValueUsageContentExperienceReference = {
1454
+ __typename?: 'ContentValueUsageContentExperienceReference';
1455
+ prn: Scalars['PRN']['output'];
1456
+ };
1457
+
1458
+ export type ContentValueUsageContentExperienceSummary = {
1459
+ __typename?: 'ContentValueUsageContentExperienceSummary';
1460
+ path: Scalars['String']['output'];
1461
+ prn: Scalars['PRN']['output'];
1462
+ title: Scalars['String']['output'];
1463
+ };
1464
+
1465
+ export type ContentValueUsageContentFieldReference = {
1466
+ __typename?: 'ContentValueUsageContentFieldReference';
1467
+ name: Scalars['String']['output'];
1468
+ prn: Scalars['PRN']['output'];
1469
+ };
1470
+
1471
+ export type ContentValueUsageContentItemReference = {
1472
+ __typename?: 'ContentValueUsageContentItemReference';
1473
+ displayName: Scalars['String']['output'];
1474
+ prn: Scalars['PRN']['output'];
1475
+ };
1476
+
1477
+ export type ContentValueUsageContentItemSummary = {
1478
+ __typename?: 'ContentValueUsageContentItemSummary';
1479
+ displayImage?: Maybe<Asset>;
1480
+ displayName: Scalars['String']['output'];
1481
+ prn: Scalars['PRN']['output'];
1482
+ };
1483
+
1484
+ export type ContentValueUsageContentTypeReference = {
1485
+ __typename?: 'ContentValueUsageContentTypeReference';
1486
+ name: Scalars['String']['output'];
1487
+ prn: Scalars['PRN']['output'];
1488
+ };
1489
+
1490
+ export type ContentValueUsageContentValueReference = {
1491
+ __typename?: 'ContentValueUsageContentValueReference';
1492
+ plainText?: Maybe<Scalars['String']['output']>;
1493
+ prn: Scalars['PRN']['output'];
1494
+ };
1495
+
1496
+ export type ContentValueUsageContentValueSummary = {
1497
+ __typename?: 'ContentValueUsageContentValueSummary';
1498
+ isReusable: Scalars['Boolean']['output'];
1499
+ plainText?: Maybe<Scalars['String']['output']>;
1500
+ prn: Scalars['PRN']['output'];
1501
+ };
1502
+
1503
+ export type ContentValueUsageCount = {
1504
+ __typename?: 'ContentValueUsageCount';
1505
+ /** The number of distinct Content Experience usage groups. */
1506
+ contentExperienceUses: Scalars['Int']['output'];
1507
+ /** The number of distinct Content Item usage groups. */
1508
+ contentItemUses: Scalars['Int']['output'];
1509
+ /** The requested Content Value representing the library language group whose counts were calculated. */
1510
+ contentValuePrn: Scalars['PRN']['output'];
1511
+ /** The number of distinct Content Value usage groups. */
1512
+ contentValueUses: Scalars['Int']['output'];
1513
+ /** The total number of distinct typed usage locations across Experiences, Items, and Values. */
1514
+ totalUses: Scalars['Int']['output'];
1515
+ };
1516
+
1517
+ export type ContentValueUsageExperienceComponentReference = {
1518
+ __typename?: 'ContentValueUsageExperienceComponentReference';
1519
+ name?: Maybe<Scalars['String']['output']>;
1520
+ prn: Scalars['PRN']['output'];
1521
+ };
1522
+
1523
+ export type ContentValueUsageLanguageReference = {
1524
+ __typename?: 'ContentValueUsageLanguageReference';
1525
+ code: Scalars['String']['output'];
1526
+ countryCode: Scalars['String']['output'];
1527
+ prn: Scalars['PRN']['output'];
1528
+ };
1529
+
995
1530
  export type ContentValuesConnection = {
996
1531
  __typename?: 'ContentValuesConnection';
997
1532
  edges: Array<ContentValueEdge>;
@@ -1049,7 +1584,7 @@ export type CreateAccessibleContentItemInput = {
1049
1584
  /** An existing ContentItemLanguageGroup to add this Content Item to as a new language variant. Requires an explicit language. When omitted, a new language group is created for this Content Item. */
1050
1585
  languageGroup?: InputMaybe<Scalars['PRN']['input']>;
1051
1586
  /** The paths of the Tags to assign to the Content Item. */
1052
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
1587
+ tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
1053
1588
  };
1054
1589
 
1055
1590
  /** Create a global Experience Component with a required name, using Building Block slug and content keyed by Building Block Field slug. */
@@ -1103,33 +1638,6 @@ export type CreateAllowedValuesContentValidationRuleInput = {
1103
1638
  targetField: Scalars['String']['input'];
1104
1639
  };
1105
1640
 
1106
- export type CreateApiTokenInput = {
1107
- channel?: InputMaybe<Scalars['String']['input']>;
1108
- name: Scalars['String']['input'];
1109
- role: Scalars['PRN']['input'];
1110
- };
1111
-
1112
- export type CreateApiTokenResponse = Subject & {
1113
- __typename?: 'CreateApiTokenResponse';
1114
- channel?: Maybe<Channel>;
1115
- /** The PRN of the Channel this ApiToken belongs to. */
1116
- channelPrn?: Maybe<Scalars['PRN']['output']>;
1117
- createdAt: Scalars['DateTime']['output'];
1118
- id: Scalars['String']['output'];
1119
- name: Scalars['String']['output'];
1120
- organization?: Maybe<Organization>;
1121
- prn: Scalars['PRN']['output'];
1122
- roleAssignment: RoleAssignment;
1123
- stage: Stage;
1124
- token: Scalars['String']['output'];
1125
- updatedAt: Scalars['DateTime']['output'];
1126
- };
1127
-
1128
-
1129
- export type CreateApiTokenResponseChannelArgs = {
1130
- where?: InputMaybe<Array<ChannelsFilterInput>>;
1131
- };
1132
-
1133
1641
  export type CreateBlueprintFromContentExperienceInput = {
1134
1642
  /** The PRN of the Content Experience to create the Blueprint from. Automatically uses the Channel of the Content Experience. */
1135
1643
  contentExperience: Scalars['PRN']['input'];
@@ -1223,6 +1731,26 @@ export type CreateBuildingBlockInput = {
1223
1731
  title: Scalars['String']['input'];
1224
1732
  };
1225
1733
 
1734
+ export type CreateCdaApiTokenInput = {
1735
+ channel: Scalars['String']['input'];
1736
+ name: Scalars['String']['input'];
1737
+ };
1738
+
1739
+ export type CreateCdaApiTokenResponse = {
1740
+ __typename?: 'CreateCdaApiTokenResponse';
1741
+ channel: Channel;
1742
+ /** The PRN of the Channel this CDA Api Token belongs to. */
1743
+ channelPrn: Scalars['PRN']['output'];
1744
+ createdAt: Scalars['DateTime']['output'];
1745
+ name: Scalars['String']['output'];
1746
+ organization?: Maybe<Organization>;
1747
+ permissions: Scalars['Permissions']['output'];
1748
+ prn: Scalars['PRN']['output'];
1749
+ stage: Stage;
1750
+ token: Scalars['String']['output'];
1751
+ updatedAt: Scalars['DateTime']['output'];
1752
+ };
1753
+
1226
1754
  export type CreateChannelInput = {
1227
1755
  defaultLanguage?: InputMaybe<Scalars['PRN']['input']>;
1228
1756
  domain: Scalars['String']['input'];
@@ -1232,6 +1760,23 @@ export type CreateChannelInput = {
1232
1760
  theme: Scalars['PRN']['input'];
1233
1761
  };
1234
1762
 
1763
+ export type CreateCmsApiTokenInput = {
1764
+ name: Scalars['String']['input'];
1765
+ permissions: PermissionsInput;
1766
+ };
1767
+
1768
+ export type CreateCmsApiTokenResponse = {
1769
+ __typename?: 'CreateCmsApiTokenResponse';
1770
+ createdAt: Scalars['DateTime']['output'];
1771
+ name: Scalars['String']['output'];
1772
+ organization?: Maybe<Organization>;
1773
+ permissions: Scalars['Permissions']['output'];
1774
+ prn: Scalars['PRN']['output'];
1775
+ stage: Stage;
1776
+ token: Scalars['String']['output'];
1777
+ updatedAt: Scalars['DateTime']['output'];
1778
+ };
1779
+
1235
1780
  export type CreateContentExperienceWithExistingPathPartInput = {
1236
1781
  /** The PRN of the Blueprint to create a Content Experience from. If not provided, a new Content Experience will be created from the given root Building Block. */
1237
1782
  fromBlueprint?: InputMaybe<Scalars['PRN']['input']>;
@@ -1323,6 +1868,8 @@ export type CreateContentValueForContentItemInput = {
1323
1868
  linkedGridPlacement?: InputMaybe<Scalars['PRN']['input']>;
1324
1869
  linkedPathPart?: InputMaybe<Scalars['PRN']['input']>;
1325
1870
  linkedTag?: InputMaybe<Scalars['PRN']['input']>;
1871
+ /** The PRN of the Content Value that should come immediately after this one in manual sort order within the same Content Item, Content Field, Organization, and Stage. Null appends to the end. */
1872
+ next?: InputMaybe<Scalars['PRN']['input']>;
1326
1873
  /** !!!Warning!!! The filter generated for this field is a hardcoded StringFilter. This means all primitiveValues will be converted to and compared as a string! */
1327
1874
  primitiveValue?: InputMaybe<Scalars['PrimitiveValue']['input']>;
1328
1875
  relatedAsset?: InputMaybe<Scalars['PRN']['input']>;
@@ -1472,6 +2019,16 @@ export type CreateRelatableContentTypesContentValidationRuleInput = {
1472
2019
  targetField: Scalars['String']['input'];
1473
2020
  };
1474
2021
 
2022
+ export type CreateRoleAssignmentInput = {
2023
+ role: Scalars['PRN']['input'];
2024
+ subject: Scalars['String']['input'];
2025
+ };
2026
+
2027
+ export type CreateRoleInput = {
2028
+ name: Scalars['String']['input'];
2029
+ permissions: PermissionsInput;
2030
+ };
2031
+
1475
2032
  export type CreateScheduledPublicationInput = {
1476
2033
  scheduledAt: Scalars['DateTime']['input'];
1477
2034
  /** The PRN of the entity to schedule (un)publishing for. */
@@ -1562,17 +2119,15 @@ export type DecimalCountContentValidationRuleSettingsInput = {
1562
2119
  max: Scalars['Int']['input'];
1563
2120
  };
1564
2121
 
1565
- /** The default roles for an organization */
1566
- export enum DefaultRoleName {
1567
- Admin = 'ADMIN',
1568
- ContentEditor = 'CONTENT_EDITOR',
1569
- ContentViewer = 'CONTENT_VIEWER'
1570
- }
1571
-
1572
2122
  export type DuplicateImagesDetectionConfig = {
1573
2123
  threshold?: InputMaybe<Scalars['Float']['input']>;
1574
2124
  };
1575
2125
 
2126
+ export type EffectivePermissionsInput = {
2127
+ /** User ID to resolve permissions for. */
2128
+ subject: Scalars['String']['input'];
2129
+ };
2130
+
1576
2131
  export type ExistingContentValidationRulesSettings = AllowedValuesContentValidationRuleSettings | CountContentValidationRuleSettings | DateBetweenContentValidationRuleSettings | DecimalCountContentValidationRuleSettings | NumberBetweenContentValidationRuleSettings | RelatableContentTypesContentValidationRuleSettings | StringFormatContentValidationRuleSettings | ValueTypeContentValidationRuleSettings;
1577
2132
 
1578
2133
  export type ExperienceComponent = {
@@ -1660,6 +2215,22 @@ export type ExperienceComponentLanguageGroupsFilterInput = {
1660
2215
  updatedAt?: InputMaybe<Array<DateFilter>>;
1661
2216
  };
1662
2217
 
2218
+ export type ExperienceComponentPermissions = {
2219
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2220
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2221
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2222
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2223
+ };
2224
+
2225
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2226
+ export type ExperienceComponentPermissionsFilterInput = {
2227
+ _not?: InputMaybe<Array<ExperienceComponentPermissionsFilterInput>>;
2228
+ create?: InputMaybe<Array<BooleanFilter>>;
2229
+ read?: InputMaybe<Array<BooleanFilter>>;
2230
+ remove?: InputMaybe<Array<BooleanFilter>>;
2231
+ update?: InputMaybe<Array<BooleanFilter>>;
2232
+ };
2233
+
1663
2234
  export type ExperienceComponentsConnection = {
1664
2235
  __typename?: 'ExperienceComponentsConnection';
1665
2236
  edges: Array<ExperienceComponentEdge>;
@@ -1754,6 +2325,38 @@ export type GridDefinition = {
1754
2325
  updatedAt: Scalars['DateTime']['output'];
1755
2326
  };
1756
2327
 
2328
+ export type GridDefinitionPermissions = {
2329
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2330
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2331
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2332
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2333
+ };
2334
+
2335
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2336
+ export type GridDefinitionPermissionsFilterInput = {
2337
+ _not?: InputMaybe<Array<GridDefinitionPermissionsFilterInput>>;
2338
+ create?: InputMaybe<Array<BooleanFilter>>;
2339
+ read?: InputMaybe<Array<BooleanFilter>>;
2340
+ remove?: InputMaybe<Array<BooleanFilter>>;
2341
+ update?: InputMaybe<Array<BooleanFilter>>;
2342
+ };
2343
+
2344
+ export type GridPermissions = {
2345
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2346
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2347
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2348
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2349
+ };
2350
+
2351
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2352
+ export type GridPermissionsFilterInput = {
2353
+ _not?: InputMaybe<Array<GridPermissionsFilterInput>>;
2354
+ create?: InputMaybe<Array<BooleanFilter>>;
2355
+ read?: InputMaybe<Array<BooleanFilter>>;
2356
+ remove?: InputMaybe<Array<BooleanFilter>>;
2357
+ update?: InputMaybe<Array<BooleanFilter>>;
2358
+ };
2359
+
1757
2360
  export type GridPlacement = {
1758
2361
  __typename?: 'GridPlacement';
1759
2362
  /** The Grid Placement in a fixed Blueprint that this Grid Placement is created from. Null if not created from a fixed Blueprint. */
@@ -1788,6 +2391,22 @@ export type GridPlacementEdge = {
1788
2391
  node: GridPlacement;
1789
2392
  };
1790
2393
 
2394
+ export type GridPlacementPermissions = {
2395
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2396
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2397
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2398
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2399
+ };
2400
+
2401
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2402
+ export type GridPlacementPermissionsFilterInput = {
2403
+ _not?: InputMaybe<Array<GridPlacementPermissionsFilterInput>>;
2404
+ create?: InputMaybe<Array<BooleanFilter>>;
2405
+ read?: InputMaybe<Array<BooleanFilter>>;
2406
+ remove?: InputMaybe<Array<BooleanFilter>>;
2407
+ update?: InputMaybe<Array<BooleanFilter>>;
2408
+ };
2409
+
1791
2410
  export type GridPlacementsConnection = {
1792
2411
  __typename?: 'GridPlacementsConnection';
1793
2412
  edges: Array<GridPlacementEdge>;
@@ -1855,6 +2474,20 @@ export type Invitation = {
1855
2474
  userEmail: Scalars['String']['output'];
1856
2475
  };
1857
2476
 
2477
+ export type InvitationPermissions = {
2478
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2479
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2480
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2481
+ };
2482
+
2483
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2484
+ export type InvitationPermissionsFilterInput = {
2485
+ _not?: InputMaybe<Array<InvitationPermissionsFilterInput>>;
2486
+ create?: InputMaybe<Array<BooleanFilter>>;
2487
+ read?: InputMaybe<Array<BooleanFilter>>;
2488
+ remove?: InputMaybe<Array<BooleanFilter>>;
2489
+ };
2490
+
1858
2491
  export type Issue = {
1859
2492
  __typename?: 'Issue';
1860
2493
  context: IssueContext;
@@ -1880,6 +2513,22 @@ export type IssueEdge = {
1880
2513
  node: Issue;
1881
2514
  };
1882
2515
 
2516
+ export type IssuePermissions = {
2517
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2518
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2519
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2520
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2521
+ };
2522
+
2523
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2524
+ export type IssuePermissionsFilterInput = {
2525
+ _not?: InputMaybe<Array<IssuePermissionsFilterInput>>;
2526
+ create?: InputMaybe<Array<BooleanFilter>>;
2527
+ read?: InputMaybe<Array<BooleanFilter>>;
2528
+ remove?: InputMaybe<Array<BooleanFilter>>;
2529
+ update?: InputMaybe<Array<BooleanFilter>>;
2530
+ };
2531
+
1883
2532
  export type IssueStatistics = {
1884
2533
  __typename?: 'IssueStatistics';
1885
2534
  byType: Array<IssueTypeStatistics>;
@@ -1946,6 +2595,22 @@ export type LanguageEdge = {
1946
2595
  node: Language;
1947
2596
  };
1948
2597
 
2598
+ export type LanguagePermissions = {
2599
+ create?: InputMaybe<Scalars['Boolean']['input']>;
2600
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2601
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
2602
+ update?: InputMaybe<Scalars['Boolean']['input']>;
2603
+ };
2604
+
2605
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
2606
+ export type LanguagePermissionsFilterInput = {
2607
+ _not?: InputMaybe<Array<LanguagePermissionsFilterInput>>;
2608
+ create?: InputMaybe<Array<BooleanFilter>>;
2609
+ read?: InputMaybe<Array<BooleanFilter>>;
2610
+ remove?: InputMaybe<Array<BooleanFilter>>;
2611
+ update?: InputMaybe<Array<BooleanFilter>>;
2612
+ };
2613
+
1949
2614
  export enum LanguageStatus {
1950
2615
  Disabled = 'DISABLED',
1951
2616
  Enabled = 'ENABLED'
@@ -2013,8 +2678,6 @@ export type Mutation = {
2013
2678
  /** Creates a new local (non-global) Accessible Experience Component. Uses Building Block slug and content keyed by Building Block Field slug. */
2014
2679
  createAccessibleLocalExperienceComponent: Array<Scalars['JSON']['output']>;
2015
2680
  createAllowedValuesContentValidationRule: ContentValidationRule;
2016
- /** Creates one or many new ApiTokens. */
2017
- createApiToken: Array<CreateApiTokenResponse>;
2018
2681
  /** Creates one or many new Blueprints. */
2019
2682
  createBlueprint: Array<Blueprint>;
2020
2683
  /** Creates one or many new Blueprints from Content Experiences. */
@@ -2025,8 +2688,12 @@ export type Mutation = {
2025
2688
  createBuildingBlockField: Array<BuildingBlockField>;
2026
2689
  /** !!!WARNING!!! This is not validated for duplicate BuildingBlockFields or Experience Components. Creates a new BuildingBlockFieldFulfillment. */
2027
2690
  createBuildingBlockFieldFulfillment: Array<BuildingBlockFieldFulfillment>;
2691
+ /** Creates one or many new CDA ApiTokens. */
2692
+ createCdaApiToken: Array<CreateCdaApiTokenResponse>;
2028
2693
  /** Creates one or many new Channels. */
2029
2694
  createChannel: Array<Channel>;
2695
+ /** Creates one or many new CMS ApiTokens. */
2696
+ createCmsApiToken: Array<CreateCmsApiTokenResponse>;
2030
2697
  /** Creates one or many new ContentExperiences with an existing PathPart. See 'createContentExperienceWithNewPathPart' to create new ContentExperiences with new Path Parts. */
2031
2698
  createContentExperienceWithExistingPathPart: Array<ContentExperience>;
2032
2699
  /** Creates one or many new ContentExperiences with a new PathPart. See 'createContentExperienceWithExistingPathPart' to create new ContentExperiences with existing Path Parts. */
@@ -2083,6 +2750,10 @@ export type Mutation = {
2083
2750
  /** Create a new Path Part using a path. */
2084
2751
  createPathPartFromPath: Array<PathPart>;
2085
2752
  createRelatableContentTypesContentValidationRule: ContentValidationRule;
2753
+ /** Creates one or many new Roles. */
2754
+ createRole: Array<Role>;
2755
+ /** Creates RoleAssignments for users who are already members of the Organization. Invite users who are not members yet. */
2756
+ createRoleAssignment: Array<RoleAssignment>;
2086
2757
  createStringFormatContentValidationRule: ContentValidationRule;
2087
2758
  /** Create a new Tag. */
2088
2759
  createTag: Array<Tag>;
@@ -2122,8 +2793,12 @@ export type Mutation = {
2122
2793
  mergeExperienceComponentLanguageGroups: ExperienceComponentLanguageGroup;
2123
2794
  /** Publishes an entity. Throws NotFoundException when no entity could be found. */
2124
2795
  publish: Array<Scalars['Boolean']['output']>;
2125
- /** Regenerate one or many new ApiTokens. */
2126
- regenerateApiToken: Array<CreateApiTokenResponse>;
2796
+ /** Re-calculate the image hashes for all images in the organization. */
2797
+ recalculateAllImageHashes: SuccessResponse;
2798
+ /** Regenerate one or many CDA Api Tokens. */
2799
+ regenerateCdaApiToken: Array<CreateCdaApiTokenResponse>;
2800
+ /** Regenerate one or many CMS Api Tokens. */
2801
+ regenerateCmsApiToken: Array<CreateCmsApiTokenResponse>;
2127
2802
  removeAccessibleContentItem: Array<Scalars['JSON']['output']>;
2128
2803
  removeAccessibleExperienceComponent: Array<Scalars['JSON']['output']>;
2129
2804
  /**
@@ -2161,14 +2836,14 @@ export type Mutation = {
2161
2836
  /**
2162
2837
  * Removes one or many ContentExperiences.
2163
2838
  * Throws NotFoundException when no ContentExperiences could be found.
2839
+ * Throws UnprocessableContentError when a ContentExperience is still in use and forceRemove is false.
2164
2840
  */
2165
2841
  removeContentExperience: Array<RemoveContentExperienceResponse>;
2166
- /** Removes one or many translated ContentExperience translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2842
+ /** Removes one or many translated ContentExperience translations from their language groups. When the last translation in a group is removed, the language group is removed as well. */
2167
2843
  removeContentExperienceTranslation: Array<RemoveContentExperienceResponse>;
2168
2844
  /**
2169
2845
  * Removes one or many ContentFields.
2170
2846
  * Throws NotFoundException when no ContentField could be found.
2171
- * Throws UnprocessableContentError when attempting to remove a Content Field outside of the DEVELOPMENT stage.
2172
2847
  * Throws BadRequestError when attempting to remove a Content Field that is being used in the displayNameTemplate of its Content Type.
2173
2848
  * Throws BadRequestError when attempting to remove a Content Field that is being used in the displayImageField of its Content Type.
2174
2849
  */
@@ -2176,13 +2851,14 @@ export type Mutation = {
2176
2851
  /**
2177
2852
  * Removes a ContentItem language group in the current stage. Also removes connected ContentValues.
2178
2853
  * Throws NotFoundException when no ContentItem could be found.
2854
+ * Throws UnprocessableContentError when the ContentItem is still in use and forceRemove is false.
2179
2855
  */
2180
2856
  removeContentItem: Array<ContentItem>;
2181
- /** Removes one or many translated ContentItem translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2857
+ /** Removes one or many translated ContentItem translations from their language groups. When the last translation in a group is removed, the language group is removed as well. */
2182
2858
  removeContentItemTranslation: Array<ContentItem>;
2183
2859
  /**
2184
2860
  * Removes a ContentType. Also removes connected ContentFields.
2185
- * Throws NotFoundException when no ContentType could be found.
2861
+ * Throws NotFoundException when no ContentType could be found.
2186
2862
  */
2187
2863
  removeContentType: Array<ContentType>;
2188
2864
  /**
@@ -2191,18 +2867,19 @@ export type Mutation = {
2191
2867
  */
2192
2868
  removeContentValidationRule: Array<ContentValidationRule>;
2193
2869
  /**
2194
- * Removes one or many ContentValues.
2870
+ * Removes one or many user-facing ContentValues. Standalone localized values are removed with every translation in their current-stage language group.
2195
2871
  * Throws NotFoundException when no ContentValue could be found.
2872
+ * Throws UnprocessableContentError when the ContentValue is still in use and forceRemove is false.
2196
2873
  */
2197
2874
  removeContentValue: Array<RemoveContentValueResponse>;
2198
- /** Removes one or many translated ContentValue translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2875
+ /** Removes one or many translated ContentValue translations from their language groups. When the last translation in a group is removed, the language group is removed as well. */
2199
2876
  removeContentValueTranslation: Array<RemoveContentValueResponse>;
2200
2877
  /**
2201
2878
  * Removes one or many ExperienceComponents.
2202
2879
  * Throws NotFoundException when no ExperienceComponents could be found.
2203
2880
  */
2204
2881
  removeExperienceComponent: Array<RemoveExperienceComponentResponse>;
2205
- /** Removes one or many translated global Experience Component translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2882
+ /** Removes one or many translated global Experience Component translations from their language groups. When the last translation in a group is removed, the language group is removed as well. */
2206
2883
  removeExperienceComponentTranslation: Array<RemoveExperienceComponentResponse>;
2207
2884
  /**
2208
2885
  * Removes one or many Grids.
@@ -2238,6 +2915,11 @@ export type Mutation = {
2238
2915
  removePathPart: Array<PathPart>;
2239
2916
  /** Remove the PlateMaintainer role of a user */
2240
2917
  removePlateMaintainer: User;
2918
+ /**
2919
+ * Removes one or many Roles.
2920
+ * Throws NotFoundException when no Role could be found.
2921
+ */
2922
+ removeRole: Array<Role>;
2241
2923
  /**
2242
2924
  * Removes one or many RoleAssignments.
2243
2925
  * Throws NotFoundException when no RoleAssignment could be found.
@@ -2375,6 +3057,11 @@ export type Mutation = {
2375
3057
  */
2376
3058
  updatePathPartFromPath: Array<PathPart>;
2377
3059
  updateRelatableContentTypesContentValidationRule: ContentValidationRule;
3060
+ /**
3061
+ * Updates one or many Roles with new values.
3062
+ * Throws NotFoundException when no Role could be found.
3063
+ */
3064
+ updateRole: Array<Role>;
2378
3065
  /** Updates a Scheduled Publication. Throws NotFoundException when none could be found. */
2379
3066
  updateScheduledPublication: Array<ScheduledPublication>;
2380
3067
  updateStringFormatContentValidationRule: ContentValidationRule;
@@ -2478,11 +3165,6 @@ export type MutationCreateAllowedValuesContentValidationRuleArgs = {
2478
3165
  };
2479
3166
 
2480
3167
 
2481
- export type MutationCreateApiTokenArgs = {
2482
- input: Array<CreateApiTokenInput>;
2483
- };
2484
-
2485
-
2486
3168
  export type MutationCreateBlueprintArgs = {
2487
3169
  input: Array<CreateBlueprintInput>;
2488
3170
  };
@@ -2508,11 +3190,21 @@ export type MutationCreateBuildingBlockFieldFulfillmentArgs = {
2508
3190
  };
2509
3191
 
2510
3192
 
3193
+ export type MutationCreateCdaApiTokenArgs = {
3194
+ input: Array<CreateCdaApiTokenInput>;
3195
+ };
3196
+
3197
+
2511
3198
  export type MutationCreateChannelArgs = {
2512
3199
  input: Array<CreateChannelInput>;
2513
3200
  };
2514
3201
 
2515
3202
 
3203
+ export type MutationCreateCmsApiTokenArgs = {
3204
+ input: Array<CreateCmsApiTokenInput>;
3205
+ };
3206
+
3207
+
2516
3208
  export type MutationCreateContentExperienceWithExistingPathPartArgs = {
2517
3209
  input: Array<CreateContentExperienceWithExistingPathPartInput>;
2518
3210
  };
@@ -2618,6 +3310,16 @@ export type MutationCreateRelatableContentTypesContentValidationRuleArgs = {
2618
3310
  };
2619
3311
 
2620
3312
 
3313
+ export type MutationCreateRoleArgs = {
3314
+ input: Array<CreateRoleInput>;
3315
+ };
3316
+
3317
+
3318
+ export type MutationCreateRoleAssignmentArgs = {
3319
+ input: Array<CreateRoleAssignmentInput>;
3320
+ };
3321
+
3322
+
2621
3323
  export type MutationCreateStringFormatContentValidationRuleArgs = {
2622
3324
  input: CreateStringFormatContentValidationRuleInput;
2623
3325
  };
@@ -2705,7 +3407,12 @@ export type MutationPublishArgs = {
2705
3407
  };
2706
3408
 
2707
3409
 
2708
- export type MutationRegenerateApiTokenArgs = {
3410
+ export type MutationRegenerateCdaApiTokenArgs = {
3411
+ prn: Array<Scalars['PRN']['input']>;
3412
+ };
3413
+
3414
+
3415
+ export type MutationRegenerateCmsApiTokenArgs = {
2709
3416
  prn: Array<Scalars['PRN']['input']>;
2710
3417
  };
2711
3418
 
@@ -2751,11 +3458,13 @@ export type MutationRemoveChannelArgs = {
2751
3458
 
2752
3459
 
2753
3460
  export type MutationRemoveContentExperienceArgs = {
3461
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2754
3462
  prn: Array<Scalars['PRN']['input']>;
2755
3463
  };
2756
3464
 
2757
3465
 
2758
3466
  export type MutationRemoveContentExperienceTranslationArgs = {
3467
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2759
3468
  prn: Array<Scalars['PRN']['input']>;
2760
3469
  };
2761
3470
 
@@ -2766,11 +3475,13 @@ export type MutationRemoveContentFieldArgs = {
2766
3475
 
2767
3476
 
2768
3477
  export type MutationRemoveContentItemArgs = {
3478
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2769
3479
  prn: Array<Scalars['PRN']['input']>;
2770
3480
  };
2771
3481
 
2772
3482
 
2773
3483
  export type MutationRemoveContentItemTranslationArgs = {
3484
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2774
3485
  prn: Array<Scalars['PRN']['input']>;
2775
3486
  };
2776
3487
 
@@ -2786,11 +3497,13 @@ export type MutationRemoveContentValidationRuleArgs = {
2786
3497
 
2787
3498
 
2788
3499
  export type MutationRemoveContentValueArgs = {
3500
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2789
3501
  prn: Array<Scalars['PRN']['input']>;
2790
3502
  };
2791
3503
 
2792
3504
 
2793
3505
  export type MutationRemoveContentValueTranslationArgs = {
3506
+ forceRemove?: InputMaybe<Scalars['Boolean']['input']>;
2794
3507
  prn: Array<Scalars['PRN']['input']>;
2795
3508
  };
2796
3509
 
@@ -2845,6 +3558,11 @@ export type MutationRemovePlateMaintainerArgs = {
2845
3558
  };
2846
3559
 
2847
3560
 
3561
+ export type MutationRemoveRoleArgs = {
3562
+ prn: Array<Scalars['PRN']['input']>;
3563
+ };
3564
+
3565
+
2848
3566
  export type MutationRemoveRoleAssignmentArgs = {
2849
3567
  prn: Array<Scalars['PRN']['input']>;
2850
3568
  };
@@ -3058,6 +3776,11 @@ export type MutationUpdateRelatableContentTypesContentValidationRuleArgs = {
3058
3776
  };
3059
3777
 
3060
3778
 
3779
+ export type MutationUpdateRoleArgs = {
3780
+ input: Array<UpdateRoleInput>;
3781
+ };
3782
+
3783
+
3061
3784
  export type MutationUpdateScheduledPublicationArgs = {
3062
3785
  input: Array<UpdateScheduledPublicationInput>;
3063
3786
  };
@@ -3134,6 +3857,18 @@ export type Organization = {
3134
3857
  updatedAt: Scalars['DateTime']['output'];
3135
3858
  };
3136
3859
 
3860
+ export type OrganizationPermissions = {
3861
+ read?: InputMaybe<Scalars['Boolean']['input']>;
3862
+ update?: InputMaybe<Scalars['Boolean']['input']>;
3863
+ };
3864
+
3865
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
3866
+ export type OrganizationPermissionsFilterInput = {
3867
+ _not?: InputMaybe<Array<OrganizationPermissionsFilterInput>>;
3868
+ read?: InputMaybe<Array<BooleanFilter>>;
3869
+ update?: InputMaybe<Array<BooleanFilter>>;
3870
+ };
3871
+
3137
3872
  /** The PageInfo holds all information about the pagination currently being performed. */
3138
3873
  export type PageInfo = {
3139
3874
  __typename?: 'PageInfo';
@@ -3208,6 +3943,22 @@ export type PathPartEdge = {
3208
3943
  node: PathPart;
3209
3944
  };
3210
3945
 
3946
+ export type PathPartPermissions = {
3947
+ create?: InputMaybe<Scalars['Boolean']['input']>;
3948
+ read?: InputMaybe<Scalars['Boolean']['input']>;
3949
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
3950
+ update?: InputMaybe<Scalars['Boolean']['input']>;
3951
+ };
3952
+
3953
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
3954
+ export type PathPartPermissionsFilterInput = {
3955
+ _not?: InputMaybe<Array<PathPartPermissionsFilterInput>>;
3956
+ create?: InputMaybe<Array<BooleanFilter>>;
3957
+ read?: InputMaybe<Array<BooleanFilter>>;
3958
+ remove?: InputMaybe<Array<BooleanFilter>>;
3959
+ update?: InputMaybe<Array<BooleanFilter>>;
3960
+ };
3961
+
3211
3962
  export type PathPartsConnection = {
3212
3963
  __typename?: 'PathPartsConnection';
3213
3964
  edges: Array<PathPartEdge>;
@@ -3243,6 +3994,72 @@ export type PdfSimilarityDetectionConfig = {
3243
3994
  visualSimilarityThreshold?: InputMaybe<Scalars['Float']['input']>;
3244
3995
  };
3245
3996
 
3997
+ /** The filter input type for 'PermissionsGqlInputs'. Objects/maps are treated as AND, while arrays are treated as OR. */
3998
+ export type PermissionsFilterInput = {
3999
+ ApiToken?: InputMaybe<Array<ApiTokenPermissionsFilterInput>>;
4000
+ Asset?: InputMaybe<Array<AssetPermissionsFilterInput>>;
4001
+ Blueprint?: InputMaybe<Array<BlueprintPermissionsFilterInput>>;
4002
+ BuildingBlock?: InputMaybe<Array<BuildingBlockPermissionsFilterInput>>;
4003
+ BuildingBlockField?: InputMaybe<Array<BuildingBlockFieldPermissionsFilterInput>>;
4004
+ BuildingBlockFieldFulfillment?: InputMaybe<Array<BuildingBlockFieldFulfillmentPermissionsFilterInput>>;
4005
+ Channel?: InputMaybe<Array<ChannelPermissionsFilterInput>>;
4006
+ ContentExperience?: InputMaybe<Array<ContentExperiencePermissionsFilterInput>>;
4007
+ ContentField?: InputMaybe<Array<ContentFieldPermissionsFilterInput>>;
4008
+ ContentItem?: InputMaybe<Array<ContentItemPermissionsFilterInput>>;
4009
+ ContentType?: InputMaybe<Array<ContentTypePermissionsFilterInput>>;
4010
+ ContentValidationRule?: InputMaybe<Array<ContentValidationRulePermissionsFilterInput>>;
4011
+ ContentValue?: InputMaybe<Array<ContentValuePermissionsFilterInput>>;
4012
+ ExperienceComponent?: InputMaybe<Array<ExperienceComponentPermissionsFilterInput>>;
4013
+ Grid?: InputMaybe<Array<GridPermissionsFilterInput>>;
4014
+ GridDefinition?: InputMaybe<Array<GridDefinitionPermissionsFilterInput>>;
4015
+ GridPlacement?: InputMaybe<Array<GridPlacementPermissionsFilterInput>>;
4016
+ Invitation?: InputMaybe<Array<InvitationPermissionsFilterInput>>;
4017
+ Issue?: InputMaybe<Array<IssuePermissionsFilterInput>>;
4018
+ Language?: InputMaybe<Array<LanguagePermissionsFilterInput>>;
4019
+ Organization?: InputMaybe<Array<OrganizationPermissionsFilterInput>>;
4020
+ PathPart?: InputMaybe<Array<PathPartPermissionsFilterInput>>;
4021
+ Publication?: InputMaybe<Array<PublicationPermissionsFilterInput>>;
4022
+ Role?: InputMaybe<Array<RolePermissionsFilterInput>>;
4023
+ RoleAssignment?: InputMaybe<Array<RoleAssignmentPermissionsFilterInput>>;
4024
+ ScheduledPublication?: InputMaybe<Array<ScheduledPublicationPermissionsFilterInput>>;
4025
+ Tag?: InputMaybe<Array<TagPermissionsFilterInput>>;
4026
+ Template?: InputMaybe<Array<TemplatePermissionsFilterInput>>;
4027
+ Theme?: InputMaybe<Array<ThemePermissionsFilterInput>>;
4028
+ _not?: InputMaybe<Array<PermissionsFilterInput>>;
4029
+ };
4030
+
4031
+ export type PermissionsInput = {
4032
+ ApiToken?: InputMaybe<ApiTokenPermissions>;
4033
+ Asset?: InputMaybe<AssetPermissions>;
4034
+ Blueprint?: InputMaybe<BlueprintPermissions>;
4035
+ BuildingBlock?: InputMaybe<BuildingBlockPermissions>;
4036
+ BuildingBlockField?: InputMaybe<BuildingBlockFieldPermissions>;
4037
+ BuildingBlockFieldFulfillment?: InputMaybe<BuildingBlockFieldFulfillmentPermissions>;
4038
+ Channel?: InputMaybe<ChannelPermissions>;
4039
+ ContentExperience?: InputMaybe<ContentExperiencePermissions>;
4040
+ ContentField?: InputMaybe<ContentFieldPermissions>;
4041
+ ContentItem?: InputMaybe<ContentItemPermissions>;
4042
+ ContentType?: InputMaybe<ContentTypePermissions>;
4043
+ ContentValidationRule?: InputMaybe<ContentValidationRulePermissions>;
4044
+ ContentValue?: InputMaybe<ContentValuePermissions>;
4045
+ ExperienceComponent?: InputMaybe<ExperienceComponentPermissions>;
4046
+ Grid?: InputMaybe<GridPermissions>;
4047
+ GridDefinition?: InputMaybe<GridDefinitionPermissions>;
4048
+ GridPlacement?: InputMaybe<GridPlacementPermissions>;
4049
+ Invitation?: InputMaybe<InvitationPermissions>;
4050
+ Issue?: InputMaybe<IssuePermissions>;
4051
+ Language?: InputMaybe<LanguagePermissions>;
4052
+ Organization?: InputMaybe<OrganizationPermissions>;
4053
+ PathPart?: InputMaybe<PathPartPermissions>;
4054
+ Publication?: InputMaybe<PublicationPermissions>;
4055
+ Role?: InputMaybe<RolePermissions>;
4056
+ RoleAssignment?: InputMaybe<RoleAssignmentPermissions>;
4057
+ ScheduledPublication?: InputMaybe<ScheduledPublicationPermissions>;
4058
+ Tag?: InputMaybe<TagPermissions>;
4059
+ Template?: InputMaybe<TemplatePermissions>;
4060
+ Theme?: InputMaybe<ThemePermissions>;
4061
+ };
4062
+
3246
4063
  export type PrnArrayFilter = {
3247
4064
  /** Contains */
3248
4065
  _contains?: InputMaybe<Array<Scalars['PRN']['input']>>;
@@ -3313,6 +4130,20 @@ export type PublicationDependencies = {
3313
4130
  Theme: Array<Theme>;
3314
4131
  };
3315
4132
 
4133
+ export type PublicationPermissions = {
4134
+ create?: InputMaybe<Scalars['Boolean']['input']>;
4135
+ read?: InputMaybe<Scalars['Boolean']['input']>;
4136
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
4137
+ };
4138
+
4139
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
4140
+ export type PublicationPermissionsFilterInput = {
4141
+ _not?: InputMaybe<Array<PublicationPermissionsFilterInput>>;
4142
+ create?: InputMaybe<Array<BooleanFilter>>;
4143
+ read?: InputMaybe<Array<BooleanFilter>>;
4144
+ remove?: InputMaybe<Array<BooleanFilter>>;
4145
+ };
4146
+
3316
4147
  export type PublishableModel = ContentExperience | ContentItem;
3317
4148
 
3318
4149
  export type Query = {
@@ -3363,6 +4194,10 @@ export type Query = {
3363
4194
  contentExperienceByPath: Array<ContentExperience>;
3364
4195
  /** Orders and paginates all ContentExperience language groups. Language groups are not stage-scoped; their contentExperiences field returns the translations of the current stage. */
3365
4196
  contentExperienceLanguageGroups: ContentExperienceLanguageGroupsConnection;
4197
+ /** Previews the impact of removeContentExperience: the full current-stage language groups of the supplied PRNs. Sibling translations are included. Use contentExperienceTranslationRemovalImpact to preview removeContentExperienceTranslation. */
4198
+ contentExperienceRemovalImpact: ContentExperienceRemovalImpact;
4199
+ /** Previews the impact of removeContentExperienceTranslation: only the translations identified by the supplied PRNs, not their siblings. */
4200
+ contentExperienceTranslationRemovalImpact: ContentExperienceRemovalImpact;
3366
4201
  /** Orders and paginates all ContentExperiences. */
3367
4202
  contentExperiences: ContentExperiencesConnection;
3368
4203
  /** Finds one or many ContentFields by PRN. Throws NotFoundException when no ContentField could be found. */
@@ -3373,6 +4208,10 @@ export type Query = {
3373
4208
  contentItem: Array<ContentItem>;
3374
4209
  /** Orders and paginates all ContentItem language groups. Language groups are not stage-scoped; their contentItems field returns the variants of the current stage. */
3375
4210
  contentItemLanguageGroups: ContentItemLanguageGroupsConnection;
4211
+ /** Previews the impact of removeContentItem: the full current-stage language groups of the supplied PRNs. Sibling translations are included. Use contentItemTranslationRemovalImpact to preview removeContentItemTranslation. */
4212
+ contentItemRemovalImpact: ContentItemRemovalImpact;
4213
+ /** Previews the impact of removeContentItemTranslation: only the translations identified by the supplied PRNs, not their siblings. */
4214
+ contentItemTranslationRemovalImpact: ContentItemRemovalImpact;
3376
4215
  /** Orders and paginates all ContentItems. */
3377
4216
  contentItems: ContentItemsConnection;
3378
4217
  /** Finds one or many ContentTypes by PRN. Throws NotFoundException when no ContentType could be found. */
@@ -3381,11 +4220,27 @@ export type Query = {
3381
4220
  contentTypes: ContentTypesConnection;
3382
4221
  /** Finds one or many ContentValues by PRN. Throws NotFoundException when no ContentValue could be found. */
3383
4222
  contentValue: Array<ContentValue>;
4223
+ /** Paginates exact field-fulfillment targets for one Content Experience usage group, grouping repeated rendered occurrences of the same target. */
4224
+ contentValueContentExperienceUsageDetails: ContentValueContentExperienceUsageDetailsConnection;
4225
+ /** Orders and paginates Content Experience language groups reached through any selected Content Value or its transitive ancestors. */
4226
+ contentValueContentExperienceUsages: ContentValueContentExperienceUsagesConnection;
4227
+ /** Paginates the structured Content Values that reference any selected Content Value within one Content Item language group. */
4228
+ contentValueContentItemUsageDetails: ContentValueContentItemUsageDetailsConnection;
4229
+ /** Orders and paginates Content Item language groups whose structured values transitively reference any selected Content Value. */
4230
+ contentValueContentItemUsages: ContentValueContentItemUsagesConnection;
4231
+ /** Orders and paginates every transitive standalone reusable Content Value ancestor of any selected Content Value. */
4232
+ contentValueContentValueUsages: ContentValueContentValueUsagesConnection;
3384
4233
  /** Orders and paginates all ContentValue language groups. Language groups are not stage-scoped; their contentValues field returns the translations of the current stage. */
3385
4234
  contentValueLanguageGroups: ContentValueLanguageGroupsConnection;
4235
+ /** Calculates group-wide Experience, Item, Value, and total usage counts for a batch of Content Value representatives. */
4236
+ contentValueUsageCounts: Array<ContentValueUsageCount>;
3386
4237
  /** Orders and paginates all ContentValues. */
3387
4238
  contentValues: ContentValuesConnection;
3388
4239
  currentUser: User;
4240
+ /** Returns the combined permissions for a user in the current Organization. Throws NotFoundException when the user has no RoleAssignments. */
4241
+ effectivePermissions: Scalars['Permissions']['output'];
4242
+ /** Returns the combined permissions for the currently authenticated user in the current Organization. */
4243
+ effectivePermissionsForCurrentUser: Scalars['Permissions']['output'];
3389
4244
  /** Finds one or many ExperienceComponents by PRN. Throws NotFoundException when no ExperienceComponent could be found. */
3390
4245
  experienceComponent: Array<ExperienceComponent>;
3391
4246
  /** Orders and paginates all ExperienceComponent language groups. Language groups are not stage-scoped; their experienceComponents field returns the translations of the current stage. */
@@ -3402,8 +4257,12 @@ export type Query = {
3402
4257
  findSimilarPdfContentValues: Array<CasPdfContentValueMatch>;
3403
4258
  /** Get similar PDF Content Values from an asset PRN input. Thresholds configurable via config parameter. */
3404
4259
  findSimilarPdfContentValuesFromAsset: Array<CasPdfContentValueMatch>;
4260
+ /** Finds all Organizations the currently authenticated user belongs to. */
4261
+ getOrganizationsForCurrentUser: Array<Organization>;
3405
4262
  /** Returns all nodes in the publication dependency chain. Each field is a list of dependency nodes. */
3406
4263
  getPublicationDependencies: PublicationDependencies;
4264
+ /** Finds all Users with a RoleAssignment in the current Organization. */
4265
+ getUsersForOrganization: Array<User>;
3407
4266
  /** Finds one or many Grids by PRN. Throws NotFoundException when no Grid could be found. */
3408
4267
  grid: Array<Grid>;
3409
4268
  /** Finds one or many GridDefinitions by PRN. Throws NotFoundException when no GridDefinition could be found. */
@@ -3439,10 +4298,14 @@ export type Query = {
3439
4298
  plateMaintainers: Array<User>;
3440
4299
  /** Use predefined regex patterns to detect potentially reusable content in a string. */
3441
4300
  regexSuggestions: Array<CasRegexSuggestion>;
3442
- /** Finds all RoleAssignments for the current Subject (e.g. the logged in user or API token) */
3443
- roleAssignmentsForCurrentSubject: Array<RoleAssignment>;
4301
+ /** Finds one or many Roles by PRN. Throws NotFoundException when no Role could be found. */
4302
+ role: Array<Role>;
4303
+ /** Finds all RoleAssignments for the currently authenticated user */
4304
+ roleAssignmentsForCurrentUser: Array<RoleAssignment>;
3444
4305
  /** Finds all RoleAssignments for the given Organization */
3445
4306
  roleAssignmentsForOrganization: Array<RoleAssignment>;
4307
+ /** Orders and paginates all Roles. */
4308
+ roles: RolesConnection;
3446
4309
  /** Orders and paginates Scheduled Publications. */
3447
4310
  scheduledPublications: ScheduledPublicationsConnection;
3448
4311
  /** Finds one or many Tags by PRN. Throws NotFoundException when no Tag could be found. */
@@ -3598,6 +4461,16 @@ export type QueryContentExperienceLanguageGroupsArgs = {
3598
4461
  };
3599
4462
 
3600
4463
 
4464
+ export type QueryContentExperienceRemovalImpactArgs = {
4465
+ prn: Array<Scalars['PRN']['input']>;
4466
+ };
4467
+
4468
+
4469
+ export type QueryContentExperienceTranslationRemovalImpactArgs = {
4470
+ prn: Array<Scalars['PRN']['input']>;
4471
+ };
4472
+
4473
+
3601
4474
  export type QueryContentExperiencesArgs = {
3602
4475
  includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3603
4476
  orderBy?: InputMaybe<OrderOptionsInput>;
@@ -3630,6 +4503,16 @@ export type QueryContentItemLanguageGroupsArgs = {
3630
4503
  };
3631
4504
 
3632
4505
 
4506
+ export type QueryContentItemRemovalImpactArgs = {
4507
+ prn: Array<Scalars['PRN']['input']>;
4508
+ };
4509
+
4510
+
4511
+ export type QueryContentItemTranslationRemovalImpactArgs = {
4512
+ prn: Array<Scalars['PRN']['input']>;
4513
+ };
4514
+
4515
+
3633
4516
  export type QueryContentItemsArgs = {
3634
4517
  includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3635
4518
  orderBy?: InputMaybe<OrderOptionsInput>;
@@ -3655,6 +4538,48 @@ export type QueryContentValueArgs = {
3655
4538
  };
3656
4539
 
3657
4540
 
4541
+ export type QueryContentValueContentExperienceUsageDetailsArgs = {
4542
+ contentExperienceLanguageGroupPrn: Scalars['PRN']['input'];
4543
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4544
+ orderBy?: InputMaybe<OrderOptionsInput>;
4545
+ paginate: PaginationOptionsInput;
4546
+ where?: InputMaybe<ContentValueContentExperienceUsageDetailsWhereInput>;
4547
+ };
4548
+
4549
+
4550
+ export type QueryContentValueContentExperienceUsagesArgs = {
4551
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4552
+ orderBy?: InputMaybe<OrderOptionsInput>;
4553
+ paginate: PaginationOptionsInput;
4554
+ where?: InputMaybe<ContentValueContentExperienceUsagesWhereInput>;
4555
+ };
4556
+
4557
+
4558
+ export type QueryContentValueContentItemUsageDetailsArgs = {
4559
+ contentItemLanguageGroupPrn: Scalars['PRN']['input'];
4560
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4561
+ orderBy?: InputMaybe<OrderOptionsInput>;
4562
+ paginate: PaginationOptionsInput;
4563
+ where?: InputMaybe<ContentValueContentItemUsageDetailsWhereInput>;
4564
+ };
4565
+
4566
+
4567
+ export type QueryContentValueContentItemUsagesArgs = {
4568
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4569
+ orderBy?: InputMaybe<OrderOptionsInput>;
4570
+ paginate: PaginationOptionsInput;
4571
+ where?: InputMaybe<ContentValueContentItemUsagesWhereInput>;
4572
+ };
4573
+
4574
+
4575
+ export type QueryContentValueContentValueUsagesArgs = {
4576
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4577
+ orderBy?: InputMaybe<OrderOptionsInput>;
4578
+ paginate: PaginationOptionsInput;
4579
+ where?: InputMaybe<ContentValueContentValueUsagesWhereInput>;
4580
+ };
4581
+
4582
+
3658
4583
  export type QueryContentValueLanguageGroupsArgs = {
3659
4584
  orderBy?: InputMaybe<OrderOptionsInput>;
3660
4585
  paginate: PaginationOptionsInput;
@@ -3662,6 +4587,11 @@ export type QueryContentValueLanguageGroupsArgs = {
3662
4587
  };
3663
4588
 
3664
4589
 
4590
+ export type QueryContentValueUsageCountsArgs = {
4591
+ contentValuePrns: Array<Scalars['PRN']['input']>;
4592
+ };
4593
+
4594
+
3665
4595
  export type QueryContentValuesArgs = {
3666
4596
  includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3667
4597
  orderBy?: InputMaybe<OrderOptionsInput>;
@@ -3670,6 +4600,11 @@ export type QueryContentValuesArgs = {
3670
4600
  };
3671
4601
 
3672
4602
 
4603
+ export type QueryEffectivePermissionsArgs = {
4604
+ input: EffectivePermissionsInput;
4605
+ };
4606
+
4607
+
3673
4608
  export type QueryExperienceComponentArgs = {
3674
4609
  prn: Array<Scalars['PRN']['input']>;
3675
4610
  };
@@ -3813,8 +4748,15 @@ export type QueryRegexSuggestionsArgs = {
3813
4748
  };
3814
4749
 
3815
4750
 
3816
- export type QueryRoleAssignmentsForOrganizationArgs = {
3817
- subjectType?: InputMaybe<SubjectType>;
4751
+ export type QueryRoleArgs = {
4752
+ prn: Array<Scalars['PRN']['input']>;
4753
+ };
4754
+
4755
+
4756
+ export type QueryRolesArgs = {
4757
+ orderBy?: InputMaybe<OrderOptionsInput>;
4758
+ paginate: PaginationOptionsInput;
4759
+ where?: InputMaybe<Array<RolesFilterInput>>;
3818
4760
  };
3819
4761
 
3820
4762
 
@@ -4078,8 +5020,11 @@ export type Role = {
4078
5020
  __typename?: 'Role';
4079
5021
  createdAt: Scalars['DateTime']['output'];
4080
5022
  invitations: Array<Invitation>;
4081
- name: DefaultRoleName;
5023
+ /** Whether the role is an Admin role. Automatically set to true for the default Admin role. */
5024
+ isAdminRole: Scalars['Boolean']['output'];
5025
+ name: Scalars['String']['output'];
4082
5026
  organization?: Maybe<Organization>;
5027
+ permissions: Scalars['Permissions']['output'];
4083
5028
  prn: Scalars['PRN']['output'];
4084
5029
  roleAssignments: Array<RoleAssignment>;
4085
5030
  updatedAt: Scalars['DateTime']['output'];
@@ -4091,10 +5036,66 @@ export type RoleAssignment = {
4091
5036
  organization?: Maybe<Organization>;
4092
5037
  prn: Scalars['PRN']['output'];
4093
5038
  role: Role;
4094
- subject: Subject;
5039
+ roleId: Scalars['String']['output'];
5040
+ subject: User;
5041
+ subjectId: Scalars['String']['output'];
4095
5042
  updatedAt: Scalars['DateTime']['output'];
4096
5043
  };
4097
5044
 
5045
+ export type RoleAssignmentPermissions = {
5046
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5047
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5048
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5049
+ };
5050
+
5051
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5052
+ export type RoleAssignmentPermissionsFilterInput = {
5053
+ _not?: InputMaybe<Array<RoleAssignmentPermissionsFilterInput>>;
5054
+ create?: InputMaybe<Array<BooleanFilter>>;
5055
+ read?: InputMaybe<Array<BooleanFilter>>;
5056
+ remove?: InputMaybe<Array<BooleanFilter>>;
5057
+ };
5058
+
5059
+ export type RoleEdge = {
5060
+ __typename?: 'RoleEdge';
5061
+ cursor: Scalars['String']['output'];
5062
+ node: Role;
5063
+ };
5064
+
5065
+ export type RolePermissions = {
5066
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5067
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5068
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5069
+ update?: InputMaybe<Scalars['Boolean']['input']>;
5070
+ };
5071
+
5072
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5073
+ export type RolePermissionsFilterInput = {
5074
+ _not?: InputMaybe<Array<RolePermissionsFilterInput>>;
5075
+ create?: InputMaybe<Array<BooleanFilter>>;
5076
+ read?: InputMaybe<Array<BooleanFilter>>;
5077
+ remove?: InputMaybe<Array<BooleanFilter>>;
5078
+ update?: InputMaybe<Array<BooleanFilter>>;
5079
+ };
5080
+
5081
+ export type RolesConnection = {
5082
+ __typename?: 'RolesConnection';
5083
+ edges: Array<RoleEdge>;
5084
+ pageInfo: PageInfo;
5085
+ totalCount: Scalars['Int']['output'];
5086
+ };
5087
+
5088
+ /** The filter input type for 'Roles'. Objects/maps are treated as AND, while arrays are treated as OR. */
5089
+ export type RolesFilterInput = {
5090
+ _not?: InputMaybe<Array<RolesFilterInput>>;
5091
+ createdAt?: InputMaybe<Array<DateFilter>>;
5092
+ isAdminRole?: InputMaybe<Array<BooleanFilter>>;
5093
+ name?: InputMaybe<Array<StringFilter>>;
5094
+ permissions?: InputMaybe<Array<PermissionsFilterInput>>;
5095
+ prn?: InputMaybe<Array<PrnFilter>>;
5096
+ updatedAt?: InputMaybe<Array<DateFilter>>;
5097
+ };
5098
+
4098
5099
  export enum RuleType {
4099
5100
  AllowedValues = 'ALLOWED_VALUES',
4100
5101
  Count = 'COUNT',
@@ -4130,6 +5131,22 @@ export type ScheduledPublicationEdge = {
4130
5131
  node: ScheduledPublication;
4131
5132
  };
4132
5133
 
5134
+ export type ScheduledPublicationPermissions = {
5135
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5136
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5137
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5138
+ update?: InputMaybe<Scalars['Boolean']['input']>;
5139
+ };
5140
+
5141
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5142
+ export type ScheduledPublicationPermissionsFilterInput = {
5143
+ _not?: InputMaybe<Array<ScheduledPublicationPermissionsFilterInput>>;
5144
+ create?: InputMaybe<Array<BooleanFilter>>;
5145
+ read?: InputMaybe<Array<BooleanFilter>>;
5146
+ remove?: InputMaybe<Array<BooleanFilter>>;
5147
+ update?: InputMaybe<Array<BooleanFilter>>;
5148
+ };
5149
+
4133
5150
  export type ScheduledPublicationsConnection = {
4134
5151
  __typename?: 'ScheduledPublicationsConnection';
4135
5152
  edges: Array<ScheduledPublicationEdge>;
@@ -4209,16 +5226,6 @@ export type StringFormatContentValidationRuleSettingsInput = {
4209
5226
  allowedFormat: Scalars['String']['input'];
4210
5227
  };
4211
5228
 
4212
- export type Subject = {
4213
- id: Scalars['String']['output'];
4214
- };
4215
-
4216
- /** The type of subject (USER or API_TOKEN) */
4217
- export enum SubjectType {
4218
- ApiToken = 'API_TOKEN',
4219
- User = 'USER'
4220
- }
4221
-
4222
5229
  export type SuccessResponse = {
4223
5230
  __typename?: 'SuccessResponse';
4224
5231
  status: Scalars['String']['output'];
@@ -4285,6 +5292,22 @@ export type TagLocalizedName = {
4285
5292
  name: Scalars['String']['output'];
4286
5293
  };
4287
5294
 
5295
+ export type TagPermissions = {
5296
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5297
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5298
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5299
+ update?: InputMaybe<Scalars['Boolean']['input']>;
5300
+ };
5301
+
5302
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5303
+ export type TagPermissionsFilterInput = {
5304
+ _not?: InputMaybe<Array<TagPermissionsFilterInput>>;
5305
+ create?: InputMaybe<Array<BooleanFilter>>;
5306
+ read?: InputMaybe<Array<BooleanFilter>>;
5307
+ remove?: InputMaybe<Array<BooleanFilter>>;
5308
+ update?: InputMaybe<Array<BooleanFilter>>;
5309
+ };
5310
+
4288
5311
  export type TagSuggestionsConfig = {
4289
5312
  exclude?: InputMaybe<Array<Scalars['String']['input']>>;
4290
5313
  threshold?: InputMaybe<Scalars['Float']['input']>;
@@ -4322,6 +5345,22 @@ export type TagsFilterInput = {
4322
5345
  visibility?: InputMaybe<Array<StringFilter>>;
4323
5346
  };
4324
5347
 
5348
+ export type TemplatePermissions = {
5349
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5350
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5351
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5352
+ update?: InputMaybe<Scalars['Boolean']['input']>;
5353
+ };
5354
+
5355
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5356
+ export type TemplatePermissionsFilterInput = {
5357
+ _not?: InputMaybe<Array<TemplatePermissionsFilterInput>>;
5358
+ create?: InputMaybe<Array<BooleanFilter>>;
5359
+ read?: InputMaybe<Array<BooleanFilter>>;
5360
+ remove?: InputMaybe<Array<BooleanFilter>>;
5361
+ update?: InputMaybe<Array<BooleanFilter>>;
5362
+ };
5363
+
4325
5364
  export type Theme = {
4326
5365
  __typename?: 'Theme';
4327
5366
  buildingBlocks: Array<BuildingBlock>;
@@ -4351,6 +5390,22 @@ export type ThemeEdge = {
4351
5390
  node: Theme;
4352
5391
  };
4353
5392
 
5393
+ export type ThemePermissions = {
5394
+ create?: InputMaybe<Scalars['Boolean']['input']>;
5395
+ read?: InputMaybe<Scalars['Boolean']['input']>;
5396
+ remove?: InputMaybe<Scalars['Boolean']['input']>;
5397
+ update?: InputMaybe<Scalars['Boolean']['input']>;
5398
+ };
5399
+
5400
+ /** The filter input type for 'ResourcePermissionsTypes'. Objects/maps are treated as AND, while arrays are treated as OR. */
5401
+ export type ThemePermissionsFilterInput = {
5402
+ _not?: InputMaybe<Array<ThemePermissionsFilterInput>>;
5403
+ create?: InputMaybe<Array<BooleanFilter>>;
5404
+ read?: InputMaybe<Array<BooleanFilter>>;
5405
+ remove?: InputMaybe<Array<BooleanFilter>>;
5406
+ update?: InputMaybe<Array<BooleanFilter>>;
5407
+ };
5408
+
4354
5409
  export type ThemesConnection = {
4355
5410
  __typename?: 'ThemesConnection';
4356
5411
  edges: Array<ThemeEdge>;
@@ -4557,7 +5612,7 @@ export type UpdateDecimalCountContentValidationRuleInput = {
4557
5612
  export type UpdateExperienceComponentInput = {
4558
5613
  /** !!!WARNING!!! If you update to a new Building Block, all existing Building Block Field Fulfillments will be removed! Content Values and Grid Placements will remain. */
4559
5614
  buildingBlock?: InputMaybe<Scalars['PRN']['input']>;
4560
- fulfillmentsToConnect?: InputMaybe<Array<Scalars['PRN']['input']>>;
5615
+ fulfillmentsToConnect?: InputMaybe<Array<ConnectBuildingBlockFieldFulfillmentInput>>;
4561
5616
  fulfillmentsToCreate?: InputMaybe<Array<CreateBuildingBlockFieldFulfillmentForExperienceComponentInput>>;
4562
5617
  /** Whether the Experience Component is a draft. */
4563
5618
  isDraft?: InputMaybe<Scalars['Boolean']['input']>;
@@ -4633,6 +5688,12 @@ export type UpdateRelatableContentTypesContentValidationRuleInput = {
4633
5688
  settings: RelatableContentTypesContentValidationRuleSettingsInput;
4634
5689
  };
4635
5690
 
5691
+ export type UpdateRoleInput = {
5692
+ name?: InputMaybe<Scalars['String']['input']>;
5693
+ permissions?: InputMaybe<PermissionsInput>;
5694
+ prn: Scalars['PRN']['input'];
5695
+ };
5696
+
4636
5697
  export type UpdateScheduledPublicationInput = {
4637
5698
  prn: Scalars['PRN']['input'];
4638
5699
  scheduledAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -4677,7 +5738,7 @@ export type UpdateValueTypeContentValidationRuleInput = {
4677
5738
  settings: ValueTypeContentValidationRuleSettingsInput;
4678
5739
  };
4679
5740
 
4680
- export type User = Subject & {
5741
+ export type User = {
4681
5742
  __typename?: 'User';
4682
5743
  email: Scalars['String']['output'];
4683
5744
  id: Scalars['String']['output'];