aemazing-types 0.1.0 → 0.1.2

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.
package/README.md CHANGED
@@ -11,12 +11,14 @@ npm install --save-dev aemazing-types
11
11
 
12
12
  ## Usage
13
13
 
14
- Use type-only imports to avoid runtime imports.
14
+ Use type-only imports because the package ships types only (no runtime JS).
15
15
 
16
16
  ```ts
17
- import type { Query, Mutation } from "aemazing-types";
17
+ import type { ContentFragment, Tag, ContentFragmentModel, Env, Region } from "aemazing-types";
18
18
  ```
19
19
 
20
+ **Note:** This package only exports domain/entity types. GraphQL operation types (`Query`, `Mutation`) and input types are excluded.
21
+
20
22
  ## Build (from this repo)
21
23
 
22
24
  ```bash
package/dist/index.d.ts CHANGED
@@ -33,6 +33,10 @@ export type AemTag = {
33
33
  title_xss?: Maybe<Scalars['String']['output']>;
34
34
  };
35
35
 
36
+ export type AddTagsToContentFragmentModelInput = {
37
+ modelId: Scalars['String']['input'];
38
+ tags: Array<Scalars['String']['input']>;
39
+ };
36
40
 
37
41
  export type AddTagsToContentFragmentModelResponse = {
38
42
  cursor?: Maybe<Scalars['String']['output']>;
@@ -85,6 +89,11 @@ export type AssignTagsResult = {
85
89
  tags: Array<Scalars['String']['output']>;
86
90
  };
87
91
 
92
+ export type AssignTagsToFeatureAppInput = {
93
+ configurationFolder: Scalars['String']['input'];
94
+ tags: Array<Scalars['String']['input']>;
95
+ userInfo: Scalars['JSON']['input'];
96
+ };
88
97
 
89
98
  export type AssignTagsToFeatureAppResponse = {
90
99
  configurationFolder?: Maybe<Scalars['String']['output']>;
@@ -92,6 +101,11 @@ export type AssignTagsToFeatureAppResponse = {
92
101
  results: Array<AssignTagsResult>;
93
102
  };
94
103
 
104
+ export type AuthenticateInput = {
105
+ env?: InputMaybe<Env>;
106
+ region?: InputMaybe<Region>;
107
+ source?: InputMaybe<CredentialSource>;
108
+ };
95
109
 
96
110
  export type AuthenticateResponse = {
97
111
  message: Scalars['String']['output'];
@@ -142,6 +156,9 @@ export enum BatchStatus {
142
156
  Succeeded = 'SUCCEEDED'
143
157
  }
144
158
 
159
+ export type BatchUpdateContentFragmentsInput = {
160
+ requests: Array<UpdateContentFragmentsRequestInput>;
161
+ };
145
162
 
146
163
  export type BatchUpdateContentFragmentsResponse = {
147
164
  errors: Array<Maybe<Error>>;
@@ -181,6 +198,10 @@ export type Condition = {
181
198
  scope: Scalars['String']['output'];
182
199
  };
183
200
 
201
+ export type ConditionInput = {
202
+ schema: OperationInput;
203
+ scope: Scalars['String']['input'];
204
+ };
184
205
 
185
206
  export type ConfigurationFolderJson = {
186
207
  created?: Maybe<Scalars['String']['output']>;
@@ -200,6 +221,11 @@ export type Constraint = {
200
221
  then: MultiPropertiesOperation;
201
222
  };
202
223
 
224
+ export type ConstraintInput = {
225
+ else?: InputMaybe<MultiPropertiesOperationInput>;
226
+ if: MultiPropertiesOperationInput;
227
+ then: MultiPropertiesOperationInput;
228
+ };
203
229
 
204
230
  export type ContainerTags = {
205
231
  container: Array<AemTag>;
@@ -270,6 +296,40 @@ export type ContentFragmentModel = {
270
296
  tags?: Maybe<Array<Tag>>;
271
297
  };
272
298
 
299
+ export type ContentFragmentModelFieldInput = {
300
+ allowFragmentCreation?: InputMaybe<Scalars['Boolean']['input']>;
301
+ allowFragmentReference?: InputMaybe<Scalars['Boolean']['input']>;
302
+ allowedContentTypes?: InputMaybe<Array<ContentType>>;
303
+ customErrorMessage?: InputMaybe<Scalars['String']['input']>;
304
+ customValidationRegex?: InputMaybe<Scalars['String']['input']>;
305
+ defaultValue?: InputMaybe<Scalars['String']['input']>;
306
+ description?: InputMaybe<Scalars['String']['input']>;
307
+ fileSizeMax?: InputMaybe<FileSizeInput>;
308
+ fileSizeMin?: InputMaybe<FileSizeInput>;
309
+ hint?: InputMaybe<EnumerationHint>;
310
+ imageHeight?: InputMaybe<MinMaxInput>;
311
+ imageWidth?: InputMaybe<MinMaxInput>;
312
+ items?: InputMaybe<Array<Scalars['String']['input']>>;
313
+ label: Scalars['String']['input'];
314
+ max?: InputMaybe<Scalars['Int']['input']>;
315
+ maxItems?: InputMaybe<Scalars['Int']['input']>;
316
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
317
+ mimeType?: InputMaybe<MimeType>;
318
+ min?: InputMaybe<Scalars['Int']['input']>;
319
+ minItems?: InputMaybe<Scalars['Int']['input']>;
320
+ multiple?: InputMaybe<Scalars['Boolean']['input']>;
321
+ name: Scalars['String']['input'];
322
+ placeholder?: InputMaybe<Scalars['String']['input']>;
323
+ required?: InputMaybe<Scalars['Boolean']['input']>;
324
+ root?: InputMaybe<Scalars['String']['input']>;
325
+ showThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
326
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
327
+ translatable?: InputMaybe<Scalars['Boolean']['input']>;
328
+ type: DataType;
329
+ unique?: InputMaybe<Scalars['Boolean']['input']>;
330
+ validationType?: InputMaybe<ValidationType>;
331
+ values?: InputMaybe<Array<EnumerationValueInput>>;
332
+ };
273
333
 
274
334
  export type ContentFragmentModelIdentifier = {
275
335
  description?: Maybe<Scalars['String']['output']>;
@@ -280,6 +340,22 @@ export type ContentFragmentModelIdentifier = {
280
340
  title?: Maybe<Scalars['String']['output']>;
281
341
  };
282
342
 
343
+ export type ContentFragmentModelInput = {
344
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
345
+ constraints?: InputMaybe<Array<ConstraintInput>>;
346
+ description?: InputMaybe<Scalars['String']['input']>;
347
+ etag?: InputMaybe<Scalars['String']['input']>;
348
+ fields: Array<ContentFragmentModelFieldInput>;
349
+ id?: InputMaybe<Scalars['ID']['input']>;
350
+ locked?: InputMaybe<Scalars['Boolean']['input']>;
351
+ metadataSchema?: InputMaybe<MetadataSchemaInput>;
352
+ name: Scalars['String']['input'];
353
+ previewUrlPattern?: InputMaybe<Scalars['String']['input']>;
354
+ status?: InputMaybe<ContentFragmentModelStatus>;
355
+ tags?: InputMaybe<Array<TagInput>>;
356
+ technicalName?: InputMaybe<Scalars['String']['input']>;
357
+ uiSchema?: InputMaybe<UiSchemaInput>;
358
+ };
283
359
 
284
360
  export type ContentFragmentModelReference = {
285
361
  modelName: Scalars['String']['output'];
@@ -359,18 +435,32 @@ export type CountryTags = {
359
435
  country: Array<AemTag>;
360
436
  };
361
437
 
438
+ export type CreateBatchRequestInput = {
439
+ requests: Array<RequestInput>;
440
+ };
362
441
 
363
442
  export type CreateBatchRequestResponse = {
364
443
  errors: Array<Maybe<Error>>;
365
444
  id?: Maybe<Scalars['String']['output']>;
366
445
  };
367
446
 
447
+ export type CreateConfigurationFolderInput = {
448
+ configCapabilities?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
449
+ name: Scalars['String']['input'];
450
+ parentFolder: Scalars['String']['input'];
451
+ title: Scalars['String']['input'];
452
+ };
368
453
 
369
454
  export type CreateConfigurationFolderResponse = {
370
455
  errors?: Maybe<Array<Error>>;
371
456
  folder?: Maybe<Folder>;
372
457
  };
373
458
 
459
+ export type CreateContentFragmentModelInput = {
460
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
461
+ metadataSchema?: InputMaybe<MetadataSchemaInput>;
462
+ models: Array<ContentFragmentModelInput>;
463
+ };
374
464
 
375
465
  export type CreateContentFragmentModelResponse = {
376
466
  affinityCookie?: Maybe<Scalars['String']['output']>;
@@ -378,24 +468,41 @@ export type CreateContentFragmentModelResponse = {
378
468
  items: Array<ContentFragmentModelIdentifier>;
379
469
  };
380
470
 
471
+ export type CreateContentFragmentVersionInput = {
472
+ comment?: InputMaybe<Scalars['String']['input']>;
473
+ fragmentId: Scalars['String']['input'];
474
+ label?: InputMaybe<Scalars['String']['input']>;
475
+ };
381
476
 
382
477
  export type CreateContentFragmentVersionResponse = {
383
478
  errors: Array<Maybe<Error>>;
384
479
  versionId?: Maybe<Scalars['String']['output']>;
385
480
  };
386
481
 
482
+ export type CreateNestedConfigurationFoldersInput = {
483
+ path: Scalars['String']['input'];
484
+ };
387
485
 
388
486
  export type CreateNestedConfigurationFoldersResponse = {
389
487
  errors?: Maybe<Array<Error>>;
390
488
  folders?: Maybe<Array<Folder>>;
391
489
  };
392
490
 
491
+ export type CreateNestedTagsInput = {
492
+ path: Scalars['String']['input'];
493
+ };
393
494
 
394
495
  export type CreateNestedTagsResponse = {
395
496
  errors?: Maybe<Array<Error>>;
396
497
  tags?: Maybe<Array<Tag>>;
397
498
  };
398
499
 
500
+ export type CreateTagInput = {
501
+ description?: InputMaybe<Scalars['String']['input']>;
502
+ name?: InputMaybe<Scalars['String']['input']>;
503
+ parentTagID?: InputMaybe<Scalars['String']['input']>;
504
+ title: Scalars['String']['input'];
505
+ };
399
506
 
400
507
  export type CreateTagResponse = {
401
508
  errors?: Maybe<Array<Error>>;
@@ -436,18 +543,27 @@ export enum DataType {
436
543
  Time = 'time'
437
544
  }
438
545
 
546
+ export type DeleteConfigurationFolderInput = {
547
+ folder: Scalars['String']['input'];
548
+ };
439
549
 
440
550
  export type DeleteConfigurationFolderResponse = {
441
551
  deletedFolder?: Maybe<Scalars['String']['output']>;
442
552
  errors?: Maybe<Array<Error>>;
443
553
  };
444
554
 
555
+ export type DeleteContentFragmentModelInput = {
556
+ modelId: Scalars['String']['input'];
557
+ };
445
558
 
446
559
  export type DeleteContentFragmentModelResponse = {
447
560
  deletedContentFragmentModelId?: Maybe<Scalars['String']['output']>;
448
561
  errors?: Maybe<Array<Error>>;
449
562
  };
450
563
 
564
+ export type DeleteFeatureAppInput = {
565
+ configurationFolder: Scalars['String']['input'];
566
+ };
451
567
 
452
568
  export type DeleteFeatureAppResponse = {
453
569
  deletedContentFragmentModelIds?: Maybe<Array<Scalars['String']['output']>>;
@@ -462,6 +578,10 @@ export type Details = {
462
578
  invalidRemovedModels?: Maybe<Array<InvalidModel>>;
463
579
  };
464
580
 
581
+ export type DynamicValueInput = {
582
+ name: Scalars['String']['input'];
583
+ operations: Array<OperationInput>;
584
+ };
465
585
 
466
586
  export enum Effect {
467
587
  Disable = 'DISABLE',
@@ -490,6 +610,10 @@ export type EnumerationValue = {
490
610
  value: Scalars['String']['output'];
491
611
  };
492
612
 
613
+ export type EnumerationValueInput = {
614
+ key: Scalars['String']['input'];
615
+ value: Scalars['String']['input'];
616
+ };
493
617
 
494
618
  export enum Env {
495
619
  Dev = 'DEV',
@@ -538,6 +662,10 @@ export type FeatureFlagTags = {
538
662
  feature_flag: Array<AemTag>;
539
663
  };
540
664
 
665
+ export type FileSizeInput = {
666
+ size: Scalars['Int']['input'];
667
+ unit: FileSizeUnit;
668
+ };
541
669
 
542
670
  export enum FileSizeUnit {
543
671
  B = 'B',
@@ -572,6 +700,10 @@ export enum FullTextQueryMode {
572
700
  ExactWords = 'EXACT_WORDS'
573
701
  }
574
702
 
703
+ export type FullTextSearchInput = {
704
+ queryMode?: InputMaybe<FullTextQueryMode>;
705
+ text: Scalars['String']['input'];
706
+ };
575
707
 
576
708
 
577
709
  export type GetAemEnvironmentResponse = {
@@ -579,18 +711,28 @@ export type GetAemEnvironmentResponse = {
579
711
  errors?: Maybe<Array<Error>>;
580
712
  };
581
713
 
714
+ export type GetBatchStatusByIdInput = {
715
+ id: Scalars['String']['input'];
716
+ };
582
717
 
583
718
  export type GetBatchStatusByIdResponse = {
584
719
  batch?: Maybe<Batch>;
585
720
  errors?: Maybe<Array<Error>>;
586
721
  };
587
722
 
723
+ export type GetConfigurationFolderInput = {
724
+ name: Scalars['String']['input'];
725
+ parentFolder: Scalars['String']['input'];
726
+ };
588
727
 
589
728
  export type GetConfigurationFolderResponse = {
590
729
  errors?: Maybe<Array<Error>>;
591
730
  folder?: Maybe<ConfigurationFolderJson>;
592
731
  };
593
732
 
733
+ export type GetContentFragmentByIdInput = {
734
+ fragmentId: Scalars['String']['input'];
735
+ };
594
736
 
595
737
  export type GetContentFragmentByIdResponse = {
596
738
  errors?: Maybe<Array<Error>>;
@@ -598,12 +740,28 @@ export type GetContentFragmentByIdResponse = {
598
740
  fragment?: Maybe<ContentFragment>;
599
741
  };
600
742
 
743
+ export type GetContentFragmentModelByIdInput = {
744
+ id: Scalars['String']['input'];
745
+ };
601
746
 
602
747
  export type GetContentFragmentModelByIdResponse = {
603
748
  errors?: Maybe<Array<Error>>;
604
749
  model?: Maybe<ContentFragmentModel>;
605
750
  };
606
751
 
752
+ export type GetContentFragmentModelsBySearchInput = {
753
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
754
+ cursor?: InputMaybe<Scalars['String']['input']>;
755
+ enabledForFolder?: InputMaybe<Scalars['String']['input']>;
756
+ exactMatch?: InputMaybe<Scalars['Boolean']['input']>;
757
+ includeModelReferences?: InputMaybe<Scalars['ID']['input']>;
758
+ limit?: InputMaybe<Scalars['String']['input']>;
759
+ locked?: InputMaybe<Scalars['Boolean']['input']>;
760
+ name?: InputMaybe<Scalars['String']['input']>;
761
+ replicationStatus?: InputMaybe<Array<ReplicationStatus>>;
762
+ sort?: InputMaybe<Array<SortInput>>;
763
+ status?: InputMaybe<Array<ContentFragmentModelStatus>>;
764
+ };
607
765
 
608
766
  export type GetContentFragmentModelsBySearchResponse = {
609
767
  cursor?: Maybe<Scalars['String']['output']>;
@@ -611,7 +769,17 @@ export type GetContentFragmentModelsBySearchResponse = {
611
769
  items?: Maybe<Array<ContentFragmentModel>>;
612
770
  };
613
771
 
772
+ export type GetContentFragmentModelsFromDeliveryApiInput = {
773
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
774
+ cursor?: InputMaybe<Scalars['String']['input']>;
775
+ limit?: InputMaybe<Scalars['Int']['input']>;
776
+ };
614
777
 
778
+ export type GetContentFragmentVersionsInput = {
779
+ cursor?: InputMaybe<Scalars['String']['input']>;
780
+ fragmentId: Scalars['String']['input'];
781
+ limit?: InputMaybe<Scalars['Int']['input']>;
782
+ };
615
783
 
616
784
  export type GetContentFragmentVersionsResponse = {
617
785
  cursor?: Maybe<Scalars['String']['output']>;
@@ -619,12 +787,24 @@ export type GetContentFragmentVersionsResponse = {
619
787
  items?: Maybe<Array<ContentFragmentVersion>>;
620
788
  };
621
789
 
790
+ export type GetContentFragmentsByPathInput = {
791
+ configurationFolder: Scalars['String']['input'];
792
+ };
622
793
 
623
794
  export type GetContentFragmentsByPathResponse = {
624
795
  errors?: Maybe<Array<Error>>;
625
796
  items?: Maybe<Array<ContentFragmentModelReference>>;
626
797
  };
627
798
 
799
+ export type GetContentFragmentsInput = {
800
+ cursor?: InputMaybe<Scalars['String']['input']>;
801
+ fragmentName?: InputMaybe<Scalars['String']['input']>;
802
+ fullText?: InputMaybe<FullTextSearchInput>;
803
+ limit?: InputMaybe<Scalars['String']['input']>;
804
+ modelIds?: InputMaybe<Array<Scalars['String']['input']>>;
805
+ path?: InputMaybe<Scalars['String']['input']>;
806
+ status?: InputMaybe<Array<ContentFragmentStatus>>;
807
+ };
628
808
 
629
809
  export type GetContentFragmentsResponse = {
630
810
  cursor?: Maybe<Scalars['String']['output']>;
@@ -632,13 +812,23 @@ export type GetContentFragmentsResponse = {
632
812
  items?: Maybe<Array<ContentFragment>>;
633
813
  };
634
814
 
815
+ export type GetFilteredTagsByPermissionsInput = {
816
+ userGroups?: InputMaybe<Array<Scalars['String']['input']>>;
817
+ };
635
818
 
636
819
  export type GetFilteredTagsByPermissionsResponse = {
637
820
  errors?: Maybe<Array<Error>>;
638
821
  tags?: Maybe<Array<CategoryTags>>;
639
822
  };
640
823
 
824
+ export type GetTagInput = {
825
+ name?: InputMaybe<Scalars['String']['input']>;
826
+ parentTagID?: InputMaybe<Scalars['String']['input']>;
827
+ };
641
828
 
829
+ export type GetTagPermissionsInput = {
830
+ userGroups?: InputMaybe<Array<Scalars['String']['input']>>;
831
+ };
642
832
 
643
833
  export type GetTagPermissionsResponse = {
644
834
  allowedCategories?: Maybe<Array<Scalars['String']['output']>>;
@@ -650,24 +840,36 @@ export type GetTagResponse = {
650
840
  tag?: Maybe<TagJson>;
651
841
  };
652
842
 
843
+ export type GetTagsByCategoriesInput = {
844
+ categories: Array<Category>;
845
+ };
653
846
 
654
847
  export type GetTagsByCategoriesResponse = {
655
848
  errors?: Maybe<Array<Error>>;
656
849
  tags?: Maybe<Array<CategoryTags>>;
657
850
  };
658
851
 
852
+ export type GetTagsByCategoryInput = {
853
+ category: Category;
854
+ };
659
855
 
660
856
  export type GetTagsByCategoryResponse = {
661
857
  errors?: Maybe<Array<Error>>;
662
858
  tags?: Maybe<Array<AemTag>>;
663
859
  };
664
860
 
861
+ export type GetUiSchemaInput = {
862
+ id: Scalars['String']['input'];
863
+ };
665
864
 
666
865
  export type GetUiSchemaResponse = {
667
866
  errors?: Maybe<Array<Error>>;
668
867
  uiSchema?: Maybe<UiSchema>;
669
868
  };
670
869
 
870
+ export type GetUserPermissionsInput = {
871
+ email: Scalars['String']['input'];
872
+ };
671
873
 
672
874
  export type GetUserPermissionsResponse = {
673
875
  errors?: Maybe<Array<Error>>;
@@ -685,7 +887,19 @@ export type I18nTag = {
685
887
  titlePath: Scalars['String']['output'];
686
888
  };
687
889
 
890
+ export type I18nTagInput = {
891
+ locale: Scalars['String']['input'];
892
+ title: Scalars['String']['input'];
893
+ titlePath: Scalars['String']['input'];
894
+ };
688
895
 
896
+ export type InstallFeatureAppInput = {
897
+ contentFragmentModel: CreateContentFragmentModelInput;
898
+ featureAppName: Scalars['String']['input'];
899
+ featureAppTeam: Scalars['String']['input'];
900
+ featureAppTitle: Scalars['String']['input'];
901
+ version: Scalars['String']['input'];
902
+ };
689
903
 
690
904
  export type InstallFeatureAppResponse = {
691
905
  cleanupSummary?: Maybe<CleanupSummary>;
@@ -693,6 +907,9 @@ export type InstallFeatureAppResponse = {
693
907
  installedFeatureApp?: Maybe<InstalledFeatureApp>;
694
908
  };
695
909
 
910
+ export type InstallPlatformModelInput = {
911
+ models: Array<ContentFragmentModelInput>;
912
+ };
696
913
 
697
914
  export type InstallPlatformModelResponse = {
698
915
  cleanupSummary?: Maybe<CleanupSummary>;
@@ -726,6 +943,12 @@ export type InvalidModel = {
726
943
  name: Scalars['String']['output'];
727
944
  };
728
945
 
946
+ export type JsonPatchInput = {
947
+ from?: InputMaybe<Scalars['String']['input']>;
948
+ op: PatchOperation;
949
+ path: Scalars['String']['input'];
950
+ value?: InputMaybe<Scalars['JSON']['input']>;
951
+ };
729
952
 
730
953
  export type JsonPatchOperation = {
731
954
  op: Scalars['String']['output'];
@@ -737,19 +960,43 @@ export type LayoutTags = {
737
960
  layout: Array<AemTag>;
738
961
  };
739
962
 
963
+ export type MappingInput = {
964
+ dynamicValues: Array<DynamicValueInput>;
965
+ };
740
966
 
967
+ export type MetaDataInput = {
968
+ baseUrl?: InputMaybe<Scalars['String']['input']>;
969
+ claimPrimaryConsumer?: InputMaybe<Scalars['String']['input']>;
970
+ config?: InputMaybe<Scalars['String']['input']>;
971
+ css?: InputMaybe<Scalars['String']['input']>;
972
+ id?: InputMaybe<Scalars['String']['input']>;
973
+ modelURL?: InputMaybe<Scalars['String']['input']>;
974
+ schemaPath: Scalars['String']['input'];
975
+ serverSrc?: InputMaybe<Scalars['String']['input']>;
976
+ sitemapService?: InputMaybe<Scalars['String']['input']>;
977
+ src?: InputMaybe<Scalars['String']['input']>;
978
+ version?: InputMaybe<Scalars['String']['input']>;
979
+ };
741
980
 
742
981
  export type MetadataField = {
743
982
  field: Scalars['String']['output'];
744
983
  value: Scalars['String']['output'];
745
984
  };
746
985
 
986
+ export type MetadataFieldInput = {
987
+ field: Scalars['String']['input'];
988
+ value: Scalars['String']['input'];
989
+ };
747
990
 
748
991
  export type MetadataSchema = {
749
992
  fields: Array<MetadataField>;
750
993
  schemaPath: Scalars['String']['output'];
751
994
  };
752
995
 
996
+ export type MetadataSchemaInput = {
997
+ fields: Array<MetadataFieldInput>;
998
+ schemaPath?: InputMaybe<Scalars['String']['input']>;
999
+ };
753
1000
 
754
1001
  export enum Method {
755
1002
  Delete = 'DELETE',
@@ -769,6 +1016,10 @@ export enum MimeType {
769
1016
  TextXMarkdown = 'TEXT_X_MARKDOWN'
770
1017
  }
771
1018
 
1019
+ export type MinMaxInput = {
1020
+ max?: InputMaybe<Scalars['Int']['input']>;
1021
+ min?: InputMaybe<Scalars['Int']['input']>;
1022
+ };
772
1023
 
773
1024
  export type ModelValidationResult = {
774
1025
  currentFeatureAppVersion?: Maybe<Scalars['String']['output']>;
@@ -782,68 +1033,160 @@ export type MultiPropertiesOperation = {
782
1033
  required?: Maybe<Array<Scalars['String']['output']>>;
783
1034
  };
784
1035
 
1036
+ export type MultiPropertiesOperationInput = {
1037
+ properties?: InputMaybe<Scalars['JSON']['input']>;
1038
+ required?: InputMaybe<Array<Scalars['String']['input']>>;
1039
+ };
785
1040
 
786
1041
 
787
1042
 
1043
+ export type MutationAddTagsToContentFragmentModelArgs = {
1044
+ input: AddTagsToContentFragmentModelInput;
1045
+ };
788
1046
 
789
1047
 
1048
+ export type MutationAssignTagsToFeatureAppArgs = {
1049
+ input: AssignTagsToFeatureAppInput;
1050
+ };
790
1051
 
791
1052
 
1053
+ export type MutationAuthenticateArgs = {
1054
+ input: AuthenticateInput;
1055
+ };
792
1056
 
793
1057
 
1058
+ export type MutationBatchUpdateContentFragmentsArgs = {
1059
+ input: BatchUpdateContentFragmentsInput;
1060
+ };
794
1061
 
795
1062
 
1063
+ export type MutationCreateBatchRequestArgs = {
1064
+ input: CreateBatchRequestInput;
1065
+ };
796
1066
 
797
1067
 
1068
+ export type MutationCreateConfigurationFolderArgs = {
1069
+ input: CreateConfigurationFolderInput;
1070
+ };
798
1071
 
799
1072
 
1073
+ export type MutationCreateContentFragmentModelArgs = {
1074
+ input: CreateContentFragmentModelInput;
1075
+ };
800
1076
 
801
1077
 
1078
+ export type MutationCreateContentFragmentVersionArgs = {
1079
+ input: CreateContentFragmentVersionInput;
1080
+ };
802
1081
 
803
1082
 
1083
+ export type MutationCreateNestedConfigurationFoldersArgs = {
1084
+ input: CreateNestedConfigurationFoldersInput;
1085
+ };
804
1086
 
805
1087
 
1088
+ export type MutationCreateNestedTagsArgs = {
1089
+ input: CreateNestedTagsInput;
1090
+ };
806
1091
 
807
1092
 
1093
+ export type MutationCreateTagArgs = {
1094
+ input: CreateTagInput;
1095
+ };
808
1096
 
809
1097
 
1098
+ export type MutationDeleteConfigurationFolderArgs = {
1099
+ input: DeleteConfigurationFolderInput;
1100
+ };
810
1101
 
811
1102
 
1103
+ export type MutationDeleteContentFragmentModelArgs = {
1104
+ input: DeleteContentFragmentModelInput;
1105
+ };
812
1106
 
813
1107
 
1108
+ export type MutationDeleteFeatureAppArgs = {
1109
+ input: DeleteFeatureAppInput;
1110
+ };
814
1111
 
815
1112
 
1113
+ export type MutationGetOrCreateConfigurationFolderArgs = {
1114
+ input: CreateConfigurationFolderInput;
1115
+ };
816
1116
 
817
1117
 
1118
+ export type MutationGetOrCreateTagArgs = {
1119
+ input: CreateTagInput;
1120
+ };
818
1121
 
819
1122
 
1123
+ export type MutationInstallFeatureAppArgs = {
1124
+ input: InstallFeatureAppInput;
1125
+ };
820
1126
 
821
1127
 
1128
+ export type MutationPrepareContentFragmentUpdateArgs = {
1129
+ input: PrepareContentFragmentUpdateInput;
1130
+ };
822
1131
 
823
1132
 
1133
+ export type MutationPublishContentFragmentModelsArgs = {
1134
+ input: PublishContentFragmentModelsInput;
1135
+ };
824
1136
 
825
1137
 
1138
+ export type MutationPublishTagsArgs = {
1139
+ input: PublishTagsInput;
1140
+ };
826
1141
 
827
1142
 
1143
+ export type MutationReplaceTagsInContentFragmentModelArgs = {
1144
+ input: ReplaceTagsInContentFragmentModelInput;
1145
+ };
828
1146
 
829
1147
 
1148
+ export type MutationRestoreContentFragmentVersionArgs = {
1149
+ input: RestoreContentFragmentVersionInput;
1150
+ };
830
1151
 
831
1152
 
1153
+ export type MutationUpdateContentFragmentModelArgs = {
1154
+ input: UpdateContentFragmentModelInput;
1155
+ };
832
1156
 
833
1157
 
1158
+ export type MutationUpdateContentFragmentModelsArgs = {
1159
+ input: UpdateContentFragmentModelsInput;
1160
+ };
834
1161
 
835
1162
 
1163
+ export type MutationUpdateFeatureAppArgs = {
1164
+ input: UpdateFeatureAppInput;
1165
+ };
836
1166
 
837
1167
 
1168
+ export type MutationUpdateUiSchemaArgs = {
1169
+ input: UiSchemaInput;
1170
+ };
838
1171
 
839
1172
 
1173
+ export type MutationValidateFeatureAppVersionUpdateArgs = {
1174
+ input: ValidateFeatureAppVersionUpdateInput;
1175
+ };
840
1176
 
841
1177
 
1178
+ export type MutationValidateFragmentsForRollbackArgs = {
1179
+ input: ValidateFragmentForRollbackInput;
1180
+ };
842
1181
 
843
1182
  export type MyAudiTags = {
844
1183
  myaudi: Array<AemTag>;
845
1184
  };
846
1185
 
1186
+ export type NameValueInput = {
1187
+ name?: InputMaybe<Scalars['String']['input']>;
1188
+ value?: InputMaybe<Scalars['String']['input']>;
1189
+ };
847
1190
 
848
1191
  export type OaddTags = {
849
1192
  oadd: Array<AemTag>;
@@ -867,7 +1210,34 @@ export type Operation = {
867
1210
  uniqueItems?: Maybe<Scalars['Boolean']['output']>;
868
1211
  };
869
1212
 
870
-
1213
+ export type OperationDataInput = {
1214
+ all?: InputMaybe<Scalars['Boolean']['input']>;
1215
+ findValue?: InputMaybe<Scalars['String']['input']>;
1216
+ multi?: InputMaybe<Scalars['Boolean']['input']>;
1217
+ replaceValue?: InputMaybe<Scalars['String']['input']>;
1218
+ values?: InputMaybe<Array<Scalars['String']['input']>>;
1219
+ };
1220
+
1221
+ export type OperationInput = {
1222
+ const?: InputMaybe<Scalars['String']['input']>;
1223
+ contains?: InputMaybe<OperationInput>;
1224
+ data: Scalars['JSON']['input'];
1225
+ description?: InputMaybe<Scalars['String']['input']>;
1226
+ enum?: InputMaybe<Array<Scalars['String']['input']>>;
1227
+ exclusiveMaximum?: InputMaybe<Scalars['Int']['input']>;
1228
+ exclusiveMinimum?: InputMaybe<Scalars['Int']['input']>;
1229
+ maxItems?: InputMaybe<Scalars['Int']['input']>;
1230
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
1231
+ maximum?: InputMaybe<Scalars['Int']['input']>;
1232
+ minItems?: InputMaybe<Scalars['Int']['input']>;
1233
+ minLength?: InputMaybe<Scalars['Int']['input']>;
1234
+ minimum?: InputMaybe<Scalars['Int']['input']>;
1235
+ multipleOf?: InputMaybe<Scalars['Int']['input']>;
1236
+ not?: InputMaybe<OperationInput>;
1237
+ pattern?: InputMaybe<Scalars['String']['input']>;
1238
+ type: OperationType;
1239
+ uniqueItems?: InputMaybe<Scalars['Boolean']['input']>;
1240
+ };
871
1241
 
872
1242
  export enum OperationType {
873
1243
  Replace = 'REPLACE',
@@ -879,6 +1249,10 @@ export type Option = {
879
1249
  tooltip?: Maybe<Scalars['String']['output']>;
880
1250
  };
881
1251
 
1252
+ export type OptionInput = {
1253
+ collapsible?: InputMaybe<Scalars['Boolean']['input']>;
1254
+ tooltip?: InputMaybe<Scalars['String']['input']>;
1255
+ };
882
1256
 
883
1257
  export type PageReference = BaseReference & {
884
1258
  created?: Maybe<AuthoringInfo>;
@@ -906,6 +1280,10 @@ export enum PatchOperation {
906
1280
  Test = 'test'
907
1281
  }
908
1282
 
1283
+ export type PrepareContentFragmentUpdateInput = {
1284
+ fragmentId: Scalars['String']['input'];
1285
+ mapping: MappingInput;
1286
+ };
909
1287
 
910
1288
  export type PrepareContentFragmentUpdateResponse = {
911
1289
  errors: Array<Error>;
@@ -925,6 +1303,14 @@ export enum PublishContentFragmentModelStatus {
925
1303
  Enabled = 'ENABLED'
926
1304
  }
927
1305
 
1306
+ export type PublishContentFragmentModelsInput = {
1307
+ agentId?: InputMaybe<Scalars['String']['input']>;
1308
+ filterAllowedModelIdsByStatus: Array<PublishContentFragmentModelStatus>;
1309
+ ids: Array<Scalars['ID']['input']>;
1310
+ scheduledTime?: InputMaybe<Scalars['Int']['input']>;
1311
+ workflowModelId?: InputMaybe<Scalars['String']['input']>;
1312
+ workflowTitle?: InputMaybe<Scalars['String']['input']>;
1313
+ };
928
1314
 
929
1315
  export type PublishContentFragmentModelsResponse = {
930
1316
  errors?: Maybe<Array<Error>>;
@@ -944,6 +1330,9 @@ export enum PublishStatusEnum {
944
1330
  SuccessTriggered = 'SUCCESS_TRIGGERED'
945
1331
  }
946
1332
 
1333
+ export type PublishTagsInput = {
1334
+ tagPaths: Array<Scalars['String']['input']>;
1335
+ };
947
1336
 
948
1337
  export type PublishTagsResponse = {
949
1338
  errors?: Maybe<Array<Error>>;
@@ -952,38 +1341,89 @@ export type PublishTagsResponse = {
952
1341
 
953
1342
 
954
1343
 
1344
+ export type QueryGetAemEnvironmentArgs = {
1345
+ input: GetAemEnvironmentInput;
1346
+ };
955
1347
 
956
1348
 
1349
+ export type QueryGetBatchStatusByIdArgs = {
1350
+ input: GetBatchStatusByIdInput;
1351
+ };
957
1352
 
958
1353
 
1354
+ export type QueryGetConfigurationFolderArgs = {
1355
+ input: GetConfigurationFolderInput;
1356
+ };
959
1357
 
960
1358
 
1359
+ export type QueryGetContentFragmentByIdArgs = {
1360
+ input: GetContentFragmentByIdInput;
1361
+ };
961
1362
 
962
1363
 
1364
+ export type QueryGetContentFragmentModelByIdArgs = {
1365
+ input: GetContentFragmentModelByIdInput;
1366
+ };
963
1367
 
964
1368
 
1369
+ export type QueryGetContentFragmentModelsBySearchArgs = {
1370
+ input: GetContentFragmentModelsBySearchInput;
1371
+ };
965
1372
 
966
1373
 
1374
+ export type QueryGetContentFragmentModelsFromDeliveryApiArgs = {
1375
+ input: GetContentFragmentModelsFromDeliveryApiInput;
1376
+ };
967
1377
 
968
1378
 
1379
+ export type QueryGetContentFragmentVersionsArgs = {
1380
+ input: GetContentFragmentVersionsInput;
1381
+ };
969
1382
 
970
1383
 
1384
+ export type QueryGetContentFragmentsArgs = {
1385
+ input: GetContentFragmentsInput;
1386
+ };
971
1387
 
972
1388
 
1389
+ export type QueryGetContentFragmentsByPathArgs = {
1390
+ input: GetContentFragmentsByPathInput;
1391
+ };
973
1392
 
974
1393
 
1394
+ export type QueryGetFilteredTagsByPermissionsArgs = {
1395
+ input: GetFilteredTagsByPermissionsInput;
1396
+ };
975
1397
 
976
1398
 
1399
+ export type QueryGetTagArgs = {
1400
+ input: GetTagInput;
1401
+ };
977
1402
 
978
1403
 
1404
+ export type QueryGetTagPermissionsArgs = {
1405
+ input: GetTagPermissionsInput;
1406
+ };
979
1407
 
980
1408
 
1409
+ export type QueryGetTagsByCategoriesArgs = {
1410
+ input: GetTagsByCategoriesInput;
1411
+ };
981
1412
 
982
1413
 
1414
+ export type QueryGetTagsByCategoryArgs = {
1415
+ input: GetTagsByCategoryInput;
1416
+ };
983
1417
 
984
1418
 
1419
+ export type QueryGetUiSchemaArgs = {
1420
+ input: GetUiSchemaInput;
1421
+ };
985
1422
 
986
1423
 
1424
+ export type QueryGetUserPermissionsArgs = {
1425
+ input: GetUserPermissionsInput;
1426
+ };
987
1427
 
988
1428
  export type Reference = AssetReference | ContentFragmentReference | ExperienceFragmentReference | PageReference;
989
1429
 
@@ -999,6 +1439,10 @@ export enum Region {
999
1439
  Nar = 'NAR'
1000
1440
  }
1001
1441
 
1442
+ export type ReplaceTagsInContentFragmentModelInput = {
1443
+ modelId: Scalars['String']['input'];
1444
+ tagIDs: Array<Scalars['String']['input']>;
1445
+ };
1002
1446
 
1003
1447
  export type ReplaceTagsInContentFragmentModelResponse = {
1004
1448
  errors?: Maybe<Array<Error>>;
@@ -1020,7 +1464,18 @@ export enum ReplicationStatus {
1020
1464
  Unpublished = 'UNPUBLISHED'
1021
1465
  }
1022
1466
 
1467
+ export type RequestInput = {
1468
+ body?: InputMaybe<Scalars['JSON']['input']>;
1469
+ headers?: InputMaybe<Array<NameValueInput>>;
1470
+ method: Method;
1471
+ path: Scalars['String']['input'];
1472
+ queryParameters?: InputMaybe<Array<NameValueInput>>;
1473
+ };
1023
1474
 
1475
+ export type RestoreContentFragmentVersionInput = {
1476
+ fragmentId: Scalars['String']['input'];
1477
+ versionId: Scalars['String']['input'];
1478
+ };
1024
1479
 
1025
1480
  export type RestoreContentFragmentVersionResponse = {
1026
1481
  errors: Array<Maybe<Error>>;
@@ -1033,6 +1488,10 @@ export type Rule = {
1033
1488
  effect: Effect;
1034
1489
  };
1035
1490
 
1491
+ export type RuleInput = {
1492
+ condition: ConditionInput;
1493
+ effect: Effect;
1494
+ };
1036
1495
 
1037
1496
  export type ScriptTags = {
1038
1497
  script: Array<AemTag>;
@@ -1045,6 +1504,10 @@ export enum SortField {
1045
1504
  Title = 'title'
1046
1505
  }
1047
1506
 
1507
+ export type SortInput = {
1508
+ on: SortField;
1509
+ order?: SortOrder;
1510
+ };
1048
1511
 
1049
1512
  export enum SortOrder {
1050
1513
  Asc = 'ASC',
@@ -1066,6 +1529,16 @@ export type Tag = {
1066
1529
  titlePath: Scalars['String']['output'];
1067
1530
  };
1068
1531
 
1532
+ export type TagInput = {
1533
+ description?: InputMaybe<Scalars['String']['input']>;
1534
+ i18n?: InputMaybe<Array<I18nTagInput>>;
1535
+ id?: InputMaybe<Scalars['String']['input']>;
1536
+ isCreated?: InputMaybe<Scalars['Boolean']['input']>;
1537
+ name?: InputMaybe<Scalars['String']['input']>;
1538
+ path: Scalars['String']['input'];
1539
+ title?: InputMaybe<Scalars['String']['input']>;
1540
+ titlePath?: InputMaybe<Scalars['String']['input']>;
1541
+ };
1069
1542
 
1070
1543
  export type TagJson = {
1071
1544
  created?: Maybe<Scalars['String']['output']>;
@@ -1119,21 +1592,52 @@ export type UiSchema = {
1119
1592
  uiSchema: Element;
1120
1593
  };
1121
1594
 
1595
+ export type UiSchemaInput = {
1596
+ constraints?: InputMaybe<Array<ConstraintInput>>;
1597
+ elements?: InputMaybe<Array<UiSchemaInput>>;
1598
+ label?: InputMaybe<Scalars['String']['input']>;
1599
+ options?: InputMaybe<OptionInput>;
1600
+ rule?: InputMaybe<RuleInput>;
1601
+ scope?: InputMaybe<Scalars['String']['input']>;
1602
+ type: Scalars['String']['input'];
1603
+ };
1122
1604
 
1605
+ export type UpdateContentFragmentBodyInput = {
1606
+ op: Scalars['String']['input'];
1607
+ path: Scalars['String']['input'];
1608
+ value: Scalars['JSON']['input'];
1609
+ };
1123
1610
 
1611
+ export type UpdateContentFragmentModelInput = {
1612
+ modelId?: InputMaybe<Scalars['String']['input']>;
1613
+ patches: Array<JsonPatchInput>;
1614
+ };
1124
1615
 
1125
1616
  export type UpdateContentFragmentModelResponse = {
1126
1617
  errors?: Maybe<Array<Error>>;
1127
1618
  model?: Maybe<ContentFragmentModel>;
1128
1619
  };
1129
1620
 
1621
+ export type UpdateContentFragmentModelsInput = {
1622
+ currentModels: Array<ContentFragmentModelInput>;
1623
+ newModels: Array<ContentFragmentModelInput>;
1624
+ };
1130
1625
 
1131
1626
  export type UpdateContentFragmentModelsResponse = {
1132
1627
  errors?: Maybe<Array<Error>>;
1133
1628
  models?: Maybe<Array<ContentFragmentModel>>;
1134
1629
  };
1135
1630
 
1631
+ export type UpdateContentFragmentsRequestInput = {
1632
+ body?: InputMaybe<Array<UpdateContentFragmentBodyInput>>;
1633
+ etag?: InputMaybe<Scalars['String']['input']>;
1634
+ fragmentId: Scalars['String']['input'];
1635
+ };
1136
1636
 
1637
+ export type UpdateFeatureAppInput = {
1638
+ configurationFolder: Scalars['String']['input'];
1639
+ metadataSchema: MetadataSchemaInput;
1640
+ };
1137
1641
 
1138
1642
  export type UpdateFeatureAppResponse = {
1139
1643
  errors?: Maybe<Array<Error>>;
@@ -1146,6 +1650,10 @@ export enum UpdateType {
1146
1650
  Patch = 'PATCH'
1147
1651
  }
1148
1652
 
1653
+ export type UpdateUiSchemaInput = {
1654
+ id: Scalars['String']['input'];
1655
+ uiSchema: UiSchemaInput;
1656
+ };
1149
1657
 
1150
1658
  export type UpdateUiSchemaResponse = {
1151
1659
  errors?: Maybe<Array<Error>>;
@@ -1178,6 +1686,11 @@ export type UserInformation = {
1178
1686
  username: Scalars['String']['output'];
1179
1687
  };
1180
1688
 
1689
+ export type ValidateFeatureAppVersionUpdateInput = {
1690
+ configurationFolder: Scalars['String']['input'];
1691
+ newModels: Array<ContentFragmentModelInput>;
1692
+ updateType: UpdateType;
1693
+ };
1181
1694
 
1182
1695
  export type ValidateFeatureAppVersionUpdateResponse = {
1183
1696
  errors?: Maybe<Array<Error>>;
@@ -1185,6 +1698,11 @@ export type ValidateFeatureAppVersionUpdateResponse = {
1185
1698
  violations?: Maybe<Array<Violation>>;
1186
1699
  };
1187
1700
 
1701
+ export type ValidateFragmentForRollbackInput = {
1702
+ fragments: Array<FragmentToValidate>;
1703
+ storedFeatureAppVersion: Scalars['String']['input'];
1704
+ storedModelId: Scalars['String']['input'];
1705
+ };
1188
1706
 
1189
1707
  export type ValidateFragmentForRollbackResponse = {
1190
1708
  allCanRestore: Scalars['Boolean']['output'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aemazing-types",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Type-only GraphQL schema types for the AEM Gateway.",
5
5
  "license": "ISC",
6
6
  "types": "./dist/index.d.ts",