aemazing-types 0.1.0 → 0.1.1

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,11 @@ export type AemTag = {
33
33
  title_xss?: Maybe<Scalars['String']['output']>;
34
34
  };
35
35
 
36
+ export type AddTagsToContentFragmentModelInput = {
37
+ aemEnvironment: GetAemEnvironmentInput;
38
+ modelId: Scalars['String']['input'];
39
+ tags: Array<Scalars['String']['input']>;
40
+ };
36
41
 
37
42
  export type AddTagsToContentFragmentModelResponse = {
38
43
  cursor?: Maybe<Scalars['String']['output']>;
@@ -85,6 +90,12 @@ export type AssignTagsResult = {
85
90
  tags: Array<Scalars['String']['output']>;
86
91
  };
87
92
 
93
+ export type AssignTagsToFeatureAppInput = {
94
+ aemEnvironment: GetAemEnvironmentInput;
95
+ configurationFolder: Scalars['String']['input'];
96
+ tags: Array<Scalars['String']['input']>;
97
+ userInfo: Scalars['JSON']['input'];
98
+ };
88
99
 
89
100
  export type AssignTagsToFeatureAppResponse = {
90
101
  configurationFolder?: Maybe<Scalars['String']['output']>;
@@ -92,6 +103,11 @@ export type AssignTagsToFeatureAppResponse = {
92
103
  results: Array<AssignTagsResult>;
93
104
  };
94
105
 
106
+ export type AuthenticateInput = {
107
+ env?: InputMaybe<Env>;
108
+ region?: InputMaybe<Region>;
109
+ source?: InputMaybe<CredentialSource>;
110
+ };
95
111
 
96
112
  export type AuthenticateResponse = {
97
113
  message: Scalars['String']['output'];
@@ -142,6 +158,10 @@ export enum BatchStatus {
142
158
  Succeeded = 'SUCCEEDED'
143
159
  }
144
160
 
161
+ export type BatchUpdateContentFragmentsInput = {
162
+ aemEnvironment: GetAemEnvironmentInput;
163
+ requests: Array<UpdateContentFragmentsRequestInput>;
164
+ };
145
165
 
146
166
  export type BatchUpdateContentFragmentsResponse = {
147
167
  errors: Array<Maybe<Error>>;
@@ -181,6 +201,10 @@ export type Condition = {
181
201
  scope: Scalars['String']['output'];
182
202
  };
183
203
 
204
+ export type ConditionInput = {
205
+ schema: OperationInput;
206
+ scope: Scalars['String']['input'];
207
+ };
184
208
 
185
209
  export type ConfigurationFolderJson = {
186
210
  created?: Maybe<Scalars['String']['output']>;
@@ -200,6 +224,11 @@ export type Constraint = {
200
224
  then: MultiPropertiesOperation;
201
225
  };
202
226
 
227
+ export type ConstraintInput = {
228
+ else?: InputMaybe<MultiPropertiesOperationInput>;
229
+ if: MultiPropertiesOperationInput;
230
+ then: MultiPropertiesOperationInput;
231
+ };
203
232
 
204
233
  export type ContainerTags = {
205
234
  container: Array<AemTag>;
@@ -270,6 +299,40 @@ export type ContentFragmentModel = {
270
299
  tags?: Maybe<Array<Tag>>;
271
300
  };
272
301
 
302
+ export type ContentFragmentModelFieldInput = {
303
+ allowFragmentCreation?: InputMaybe<Scalars['Boolean']['input']>;
304
+ allowFragmentReference?: InputMaybe<Scalars['Boolean']['input']>;
305
+ allowedContentTypes?: InputMaybe<Array<ContentType>>;
306
+ customErrorMessage?: InputMaybe<Scalars['String']['input']>;
307
+ customValidationRegex?: InputMaybe<Scalars['String']['input']>;
308
+ defaultValue?: InputMaybe<Scalars['String']['input']>;
309
+ description?: InputMaybe<Scalars['String']['input']>;
310
+ fileSizeMax?: InputMaybe<FileSizeInput>;
311
+ fileSizeMin?: InputMaybe<FileSizeInput>;
312
+ hint?: InputMaybe<EnumerationHint>;
313
+ imageHeight?: InputMaybe<MinMaxInput>;
314
+ imageWidth?: InputMaybe<MinMaxInput>;
315
+ items?: InputMaybe<Array<Scalars['String']['input']>>;
316
+ label: Scalars['String']['input'];
317
+ max?: InputMaybe<Scalars['Int']['input']>;
318
+ maxItems?: InputMaybe<Scalars['Int']['input']>;
319
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
320
+ mimeType?: InputMaybe<MimeType>;
321
+ min?: InputMaybe<Scalars['Int']['input']>;
322
+ minItems?: InputMaybe<Scalars['Int']['input']>;
323
+ multiple?: InputMaybe<Scalars['Boolean']['input']>;
324
+ name: Scalars['String']['input'];
325
+ placeholder?: InputMaybe<Scalars['String']['input']>;
326
+ required?: InputMaybe<Scalars['Boolean']['input']>;
327
+ root?: InputMaybe<Scalars['String']['input']>;
328
+ showThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
329
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
330
+ translatable?: InputMaybe<Scalars['Boolean']['input']>;
331
+ type: DataType;
332
+ unique?: InputMaybe<Scalars['Boolean']['input']>;
333
+ validationType?: InputMaybe<ValidationType>;
334
+ values?: InputMaybe<Array<EnumerationValueInput>>;
335
+ };
273
336
 
274
337
  export type ContentFragmentModelIdentifier = {
275
338
  description?: Maybe<Scalars['String']['output']>;
@@ -280,6 +343,22 @@ export type ContentFragmentModelIdentifier = {
280
343
  title?: Maybe<Scalars['String']['output']>;
281
344
  };
282
345
 
346
+ export type ContentFragmentModelInput = {
347
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
348
+ constraints?: InputMaybe<Array<ConstraintInput>>;
349
+ description?: InputMaybe<Scalars['String']['input']>;
350
+ etag?: InputMaybe<Scalars['String']['input']>;
351
+ fields: Array<ContentFragmentModelFieldInput>;
352
+ id?: InputMaybe<Scalars['ID']['input']>;
353
+ locked?: InputMaybe<Scalars['Boolean']['input']>;
354
+ metadataSchema?: InputMaybe<MetadataSchemaInput>;
355
+ name: Scalars['String']['input'];
356
+ previewUrlPattern?: InputMaybe<Scalars['String']['input']>;
357
+ status?: InputMaybe<ContentFragmentModelStatus>;
358
+ tags?: InputMaybe<Array<TagInput>>;
359
+ technicalName?: InputMaybe<Scalars['String']['input']>;
360
+ uiSchema?: InputMaybe<UiSchemaInput>;
361
+ };
283
362
 
284
363
  export type ContentFragmentModelReference = {
285
364
  modelName: Scalars['String']['output'];
@@ -359,18 +438,35 @@ export type CountryTags = {
359
438
  country: Array<AemTag>;
360
439
  };
361
440
 
441
+ export type CreateBatchRequestInput = {
442
+ aemEnvironment: GetAemEnvironmentInput;
443
+ requests: Array<RequestInput>;
444
+ };
362
445
 
363
446
  export type CreateBatchRequestResponse = {
364
447
  errors: Array<Maybe<Error>>;
365
448
  id?: Maybe<Scalars['String']['output']>;
366
449
  };
367
450
 
451
+ export type CreateConfigurationFolderInput = {
452
+ aemEnvironment: GetAemEnvironmentInput;
453
+ configCapabilities?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
454
+ name: Scalars['String']['input'];
455
+ parentFolder: Scalars['String']['input'];
456
+ title: Scalars['String']['input'];
457
+ };
368
458
 
369
459
  export type CreateConfigurationFolderResponse = {
370
460
  errors?: Maybe<Array<Error>>;
371
461
  folder?: Maybe<Folder>;
372
462
  };
373
463
 
464
+ export type CreateContentFragmentModelInput = {
465
+ aemEnvironment: GetAemEnvironmentInput;
466
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
467
+ metadataSchema?: InputMaybe<MetadataSchemaInput>;
468
+ models: Array<ContentFragmentModelInput>;
469
+ };
374
470
 
375
471
  export type CreateContentFragmentModelResponse = {
376
472
  affinityCookie?: Maybe<Scalars['String']['output']>;
@@ -378,24 +474,45 @@ export type CreateContentFragmentModelResponse = {
378
474
  items: Array<ContentFragmentModelIdentifier>;
379
475
  };
380
476
 
477
+ export type CreateContentFragmentVersionInput = {
478
+ aemEnvironment: GetAemEnvironmentInput;
479
+ comment?: InputMaybe<Scalars['String']['input']>;
480
+ fragmentId: Scalars['String']['input'];
481
+ label?: InputMaybe<Scalars['String']['input']>;
482
+ };
381
483
 
382
484
  export type CreateContentFragmentVersionResponse = {
383
485
  errors: Array<Maybe<Error>>;
384
486
  versionId?: Maybe<Scalars['String']['output']>;
385
487
  };
386
488
 
489
+ export type CreateNestedConfigurationFoldersInput = {
490
+ aemEnvironment: GetAemEnvironmentInput;
491
+ path: Scalars['String']['input'];
492
+ };
387
493
 
388
494
  export type CreateNestedConfigurationFoldersResponse = {
389
495
  errors?: Maybe<Array<Error>>;
390
496
  folders?: Maybe<Array<Folder>>;
391
497
  };
392
498
 
499
+ export type CreateNestedTagsInput = {
500
+ aemEnvironment: GetAemEnvironmentInput;
501
+ path: Scalars['String']['input'];
502
+ };
393
503
 
394
504
  export type CreateNestedTagsResponse = {
395
505
  errors?: Maybe<Array<Error>>;
396
506
  tags?: Maybe<Array<Tag>>;
397
507
  };
398
508
 
509
+ export type CreateTagInput = {
510
+ aemEnvironment: GetAemEnvironmentInput;
511
+ description?: InputMaybe<Scalars['String']['input']>;
512
+ name?: InputMaybe<Scalars['String']['input']>;
513
+ parentTagID?: InputMaybe<Scalars['String']['input']>;
514
+ title: Scalars['String']['input'];
515
+ };
399
516
 
400
517
  export type CreateTagResponse = {
401
518
  errors?: Maybe<Array<Error>>;
@@ -436,18 +553,30 @@ export enum DataType {
436
553
  Time = 'time'
437
554
  }
438
555
 
556
+ export type DeleteConfigurationFolderInput = {
557
+ aemEnvironment: GetAemEnvironmentInput;
558
+ folder: Scalars['String']['input'];
559
+ };
439
560
 
440
561
  export type DeleteConfigurationFolderResponse = {
441
562
  deletedFolder?: Maybe<Scalars['String']['output']>;
442
563
  errors?: Maybe<Array<Error>>;
443
564
  };
444
565
 
566
+ export type DeleteContentFragmentModelInput = {
567
+ aemEnvironment: GetAemEnvironmentInput;
568
+ modelId: Scalars['String']['input'];
569
+ };
445
570
 
446
571
  export type DeleteContentFragmentModelResponse = {
447
572
  deletedContentFragmentModelId?: Maybe<Scalars['String']['output']>;
448
573
  errors?: Maybe<Array<Error>>;
449
574
  };
450
575
 
576
+ export type DeleteFeatureAppInput = {
577
+ aemEnvironment: GetAemEnvironmentInput;
578
+ configurationFolder: Scalars['String']['input'];
579
+ };
451
580
 
452
581
  export type DeleteFeatureAppResponse = {
453
582
  deletedContentFragmentModelIds?: Maybe<Array<Scalars['String']['output']>>;
@@ -462,6 +591,10 @@ export type Details = {
462
591
  invalidRemovedModels?: Maybe<Array<InvalidModel>>;
463
592
  };
464
593
 
594
+ export type DynamicValueInput = {
595
+ name: Scalars['String']['input'];
596
+ operations: Array<OperationInput>;
597
+ };
465
598
 
466
599
  export enum Effect {
467
600
  Disable = 'DISABLE',
@@ -490,6 +623,10 @@ export type EnumerationValue = {
490
623
  value: Scalars['String']['output'];
491
624
  };
492
625
 
626
+ export type EnumerationValueInput = {
627
+ key: Scalars['String']['input'];
628
+ value: Scalars['String']['input'];
629
+ };
493
630
 
494
631
  export enum Env {
495
632
  Dev = 'DEV',
@@ -538,6 +675,10 @@ export type FeatureFlagTags = {
538
675
  feature_flag: Array<AemTag>;
539
676
  };
540
677
 
678
+ export type FileSizeInput = {
679
+ size: Scalars['Int']['input'];
680
+ unit: FileSizeUnit;
681
+ };
541
682
 
542
683
  export enum FileSizeUnit {
543
684
  B = 'B',
@@ -572,25 +713,47 @@ export enum FullTextQueryMode {
572
713
  ExactWords = 'EXACT_WORDS'
573
714
  }
574
715
 
716
+ export type FullTextSearchInput = {
717
+ queryMode?: InputMaybe<FullTextQueryMode>;
718
+ text: Scalars['String']['input'];
719
+ };
575
720
 
721
+ export type GetAemEnvironmentInput = {
722
+ env: Env;
723
+ localAemInstance?: InputMaybe<Scalars['String']['input']>;
724
+ region: Region;
725
+ };
576
726
 
577
727
  export type GetAemEnvironmentResponse = {
578
728
  aemInstance: Scalars['String']['output'];
579
729
  errors?: Maybe<Array<Error>>;
580
730
  };
581
731
 
732
+ export type GetBatchStatusByIdInput = {
733
+ aemEnvironment: GetAemEnvironmentInput;
734
+ id: Scalars['String']['input'];
735
+ };
582
736
 
583
737
  export type GetBatchStatusByIdResponse = {
584
738
  batch?: Maybe<Batch>;
585
739
  errors?: Maybe<Array<Error>>;
586
740
  };
587
741
 
742
+ export type GetConfigurationFolderInput = {
743
+ aemEnvironment: GetAemEnvironmentInput;
744
+ name: Scalars['String']['input'];
745
+ parentFolder: Scalars['String']['input'];
746
+ };
588
747
 
589
748
  export type GetConfigurationFolderResponse = {
590
749
  errors?: Maybe<Array<Error>>;
591
750
  folder?: Maybe<ConfigurationFolderJson>;
592
751
  };
593
752
 
753
+ export type GetContentFragmentByIdInput = {
754
+ aemEnvironment: GetAemEnvironmentInput;
755
+ fragmentId: Scalars['String']['input'];
756
+ };
594
757
 
595
758
  export type GetContentFragmentByIdResponse = {
596
759
  errors?: Maybe<Array<Error>>;
@@ -598,12 +761,30 @@ export type GetContentFragmentByIdResponse = {
598
761
  fragment?: Maybe<ContentFragment>;
599
762
  };
600
763
 
764
+ export type GetContentFragmentModelByIdInput = {
765
+ aemEnvironment: GetAemEnvironmentInput;
766
+ id: Scalars['String']['input'];
767
+ };
601
768
 
602
769
  export type GetContentFragmentModelByIdResponse = {
603
770
  errors?: Maybe<Array<Error>>;
604
771
  model?: Maybe<ContentFragmentModel>;
605
772
  };
606
773
 
774
+ export type GetContentFragmentModelsBySearchInput = {
775
+ aemEnvironment: GetAemEnvironmentInput;
776
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
777
+ cursor?: InputMaybe<Scalars['String']['input']>;
778
+ enabledForFolder?: InputMaybe<Scalars['String']['input']>;
779
+ exactMatch?: InputMaybe<Scalars['Boolean']['input']>;
780
+ includeModelReferences?: InputMaybe<Scalars['ID']['input']>;
781
+ limit?: InputMaybe<Scalars['String']['input']>;
782
+ locked?: InputMaybe<Scalars['Boolean']['input']>;
783
+ name?: InputMaybe<Scalars['String']['input']>;
784
+ replicationStatus?: InputMaybe<Array<ReplicationStatus>>;
785
+ sort?: InputMaybe<Array<SortInput>>;
786
+ status?: InputMaybe<Array<ContentFragmentModelStatus>>;
787
+ };
607
788
 
608
789
  export type GetContentFragmentModelsBySearchResponse = {
609
790
  cursor?: Maybe<Scalars['String']['output']>;
@@ -611,7 +792,19 @@ export type GetContentFragmentModelsBySearchResponse = {
611
792
  items?: Maybe<Array<ContentFragmentModel>>;
612
793
  };
613
794
 
795
+ export type GetContentFragmentModelsFromDeliveryApiInput = {
796
+ aemEnvironment: GetAemEnvironmentInput;
797
+ configurationFolder?: InputMaybe<Scalars['String']['input']>;
798
+ cursor?: InputMaybe<Scalars['String']['input']>;
799
+ limit?: InputMaybe<Scalars['Int']['input']>;
800
+ };
614
801
 
802
+ export type GetContentFragmentVersionsInput = {
803
+ aemEnvironment: GetAemEnvironmentInput;
804
+ cursor?: InputMaybe<Scalars['String']['input']>;
805
+ fragmentId: Scalars['String']['input'];
806
+ limit?: InputMaybe<Scalars['Int']['input']>;
807
+ };
615
808
 
616
809
  export type GetContentFragmentVersionsResponse = {
617
810
  cursor?: Maybe<Scalars['String']['output']>;
@@ -619,12 +812,26 @@ export type GetContentFragmentVersionsResponse = {
619
812
  items?: Maybe<Array<ContentFragmentVersion>>;
620
813
  };
621
814
 
815
+ export type GetContentFragmentsByPathInput = {
816
+ aemEnvironment: GetAemEnvironmentInput;
817
+ configurationFolder: Scalars['String']['input'];
818
+ };
622
819
 
623
820
  export type GetContentFragmentsByPathResponse = {
624
821
  errors?: Maybe<Array<Error>>;
625
822
  items?: Maybe<Array<ContentFragmentModelReference>>;
626
823
  };
627
824
 
825
+ export type GetContentFragmentsInput = {
826
+ aemEnvironment: GetAemEnvironmentInput;
827
+ cursor?: InputMaybe<Scalars['String']['input']>;
828
+ fragmentName?: InputMaybe<Scalars['String']['input']>;
829
+ fullText?: InputMaybe<FullTextSearchInput>;
830
+ limit?: InputMaybe<Scalars['String']['input']>;
831
+ modelIds?: InputMaybe<Array<Scalars['String']['input']>>;
832
+ path?: InputMaybe<Scalars['String']['input']>;
833
+ status?: InputMaybe<Array<ContentFragmentStatus>>;
834
+ };
628
835
 
629
836
  export type GetContentFragmentsResponse = {
630
837
  cursor?: Maybe<Scalars['String']['output']>;
@@ -632,13 +839,26 @@ export type GetContentFragmentsResponse = {
632
839
  items?: Maybe<Array<ContentFragment>>;
633
840
  };
634
841
 
842
+ export type GetFilteredTagsByPermissionsInput = {
843
+ aemEnvironment: GetAemEnvironmentInput;
844
+ userGroups?: InputMaybe<Array<Scalars['String']['input']>>;
845
+ };
635
846
 
636
847
  export type GetFilteredTagsByPermissionsResponse = {
637
848
  errors?: Maybe<Array<Error>>;
638
849
  tags?: Maybe<Array<CategoryTags>>;
639
850
  };
640
851
 
852
+ export type GetTagInput = {
853
+ aemEnvironment: GetAemEnvironmentInput;
854
+ name?: InputMaybe<Scalars['String']['input']>;
855
+ parentTagID?: InputMaybe<Scalars['String']['input']>;
856
+ };
641
857
 
858
+ export type GetTagPermissionsInput = {
859
+ aemEnvironment: GetAemEnvironmentInput;
860
+ userGroups?: InputMaybe<Array<Scalars['String']['input']>>;
861
+ };
642
862
 
643
863
  export type GetTagPermissionsResponse = {
644
864
  allowedCategories?: Maybe<Array<Scalars['String']['output']>>;
@@ -650,24 +870,40 @@ export type GetTagResponse = {
650
870
  tag?: Maybe<TagJson>;
651
871
  };
652
872
 
873
+ export type GetTagsByCategoriesInput = {
874
+ aemEnvironment: GetAemEnvironmentInput;
875
+ categories: Array<Category>;
876
+ };
653
877
 
654
878
  export type GetTagsByCategoriesResponse = {
655
879
  errors?: Maybe<Array<Error>>;
656
880
  tags?: Maybe<Array<CategoryTags>>;
657
881
  };
658
882
 
883
+ export type GetTagsByCategoryInput = {
884
+ aemEnvironment: GetAemEnvironmentInput;
885
+ category: Category;
886
+ };
659
887
 
660
888
  export type GetTagsByCategoryResponse = {
661
889
  errors?: Maybe<Array<Error>>;
662
890
  tags?: Maybe<Array<AemTag>>;
663
891
  };
664
892
 
893
+ export type GetUiSchemaInput = {
894
+ aemEnvironment: GetAemEnvironmentInput;
895
+ id: Scalars['String']['input'];
896
+ };
665
897
 
666
898
  export type GetUiSchemaResponse = {
667
899
  errors?: Maybe<Array<Error>>;
668
900
  uiSchema?: Maybe<UiSchema>;
669
901
  };
670
902
 
903
+ export type GetUserPermissionsInput = {
904
+ aemEnvironment: GetAemEnvironmentInput;
905
+ email: Scalars['String']['input'];
906
+ };
671
907
 
672
908
  export type GetUserPermissionsResponse = {
673
909
  errors?: Maybe<Array<Error>>;
@@ -685,7 +921,20 @@ export type I18nTag = {
685
921
  titlePath: Scalars['String']['output'];
686
922
  };
687
923
 
924
+ export type I18nTagInput = {
925
+ locale: Scalars['String']['input'];
926
+ title: Scalars['String']['input'];
927
+ titlePath: Scalars['String']['input'];
928
+ };
688
929
 
930
+ export type InstallFeatureAppInput = {
931
+ aemEnvironment: GetAemEnvironmentInput;
932
+ contentFragmentModel: CreateContentFragmentModelInput;
933
+ featureAppName: Scalars['String']['input'];
934
+ featureAppTeam: Scalars['String']['input'];
935
+ featureAppTitle: Scalars['String']['input'];
936
+ version: Scalars['String']['input'];
937
+ };
689
938
 
690
939
  export type InstallFeatureAppResponse = {
691
940
  cleanupSummary?: Maybe<CleanupSummary>;
@@ -693,6 +942,10 @@ export type InstallFeatureAppResponse = {
693
942
  installedFeatureApp?: Maybe<InstalledFeatureApp>;
694
943
  };
695
944
 
945
+ export type InstallPlatformModelInput = {
946
+ aemEnvironment: GetAemEnvironmentInput;
947
+ models: Array<ContentFragmentModelInput>;
948
+ };
696
949
 
697
950
  export type InstallPlatformModelResponse = {
698
951
  cleanupSummary?: Maybe<CleanupSummary>;
@@ -726,6 +979,12 @@ export type InvalidModel = {
726
979
  name: Scalars['String']['output'];
727
980
  };
728
981
 
982
+ export type JsonPatchInput = {
983
+ from?: InputMaybe<Scalars['String']['input']>;
984
+ op: PatchOperation;
985
+ path: Scalars['String']['input'];
986
+ value?: InputMaybe<Scalars['JSON']['input']>;
987
+ };
729
988
 
730
989
  export type JsonPatchOperation = {
731
990
  op: Scalars['String']['output'];
@@ -737,19 +996,43 @@ export type LayoutTags = {
737
996
  layout: Array<AemTag>;
738
997
  };
739
998
 
999
+ export type MappingInput = {
1000
+ dynamicValues: Array<DynamicValueInput>;
1001
+ };
740
1002
 
1003
+ export type MetaDataInput = {
1004
+ baseUrl?: InputMaybe<Scalars['String']['input']>;
1005
+ claimPrimaryConsumer?: InputMaybe<Scalars['String']['input']>;
1006
+ config?: InputMaybe<Scalars['String']['input']>;
1007
+ css?: InputMaybe<Scalars['String']['input']>;
1008
+ id?: InputMaybe<Scalars['String']['input']>;
1009
+ modelURL?: InputMaybe<Scalars['String']['input']>;
1010
+ schemaPath: Scalars['String']['input'];
1011
+ serverSrc?: InputMaybe<Scalars['String']['input']>;
1012
+ sitemapService?: InputMaybe<Scalars['String']['input']>;
1013
+ src?: InputMaybe<Scalars['String']['input']>;
1014
+ version?: InputMaybe<Scalars['String']['input']>;
1015
+ };
741
1016
 
742
1017
  export type MetadataField = {
743
1018
  field: Scalars['String']['output'];
744
1019
  value: Scalars['String']['output'];
745
1020
  };
746
1021
 
1022
+ export type MetadataFieldInput = {
1023
+ field: Scalars['String']['input'];
1024
+ value: Scalars['String']['input'];
1025
+ };
747
1026
 
748
1027
  export type MetadataSchema = {
749
1028
  fields: Array<MetadataField>;
750
1029
  schemaPath: Scalars['String']['output'];
751
1030
  };
752
1031
 
1032
+ export type MetadataSchemaInput = {
1033
+ fields: Array<MetadataFieldInput>;
1034
+ schemaPath?: InputMaybe<Scalars['String']['input']>;
1035
+ };
753
1036
 
754
1037
  export enum Method {
755
1038
  Delete = 'DELETE',
@@ -769,6 +1052,10 @@ export enum MimeType {
769
1052
  TextXMarkdown = 'TEXT_X_MARKDOWN'
770
1053
  }
771
1054
 
1055
+ export type MinMaxInput = {
1056
+ max?: InputMaybe<Scalars['Int']['input']>;
1057
+ min?: InputMaybe<Scalars['Int']['input']>;
1058
+ };
772
1059
 
773
1060
  export type ModelValidationResult = {
774
1061
  currentFeatureAppVersion?: Maybe<Scalars['String']['output']>;
@@ -782,68 +1069,160 @@ export type MultiPropertiesOperation = {
782
1069
  required?: Maybe<Array<Scalars['String']['output']>>;
783
1070
  };
784
1071
 
1072
+ export type MultiPropertiesOperationInput = {
1073
+ properties?: InputMaybe<Scalars['JSON']['input']>;
1074
+ required?: InputMaybe<Array<Scalars['String']['input']>>;
1075
+ };
785
1076
 
786
1077
 
787
1078
 
1079
+ export type MutationAddTagsToContentFragmentModelArgs = {
1080
+ input: AddTagsToContentFragmentModelInput;
1081
+ };
788
1082
 
789
1083
 
1084
+ export type MutationAssignTagsToFeatureAppArgs = {
1085
+ input: AssignTagsToFeatureAppInput;
1086
+ };
790
1087
 
791
1088
 
1089
+ export type MutationAuthenticateArgs = {
1090
+ input: AuthenticateInput;
1091
+ };
792
1092
 
793
1093
 
1094
+ export type MutationBatchUpdateContentFragmentsArgs = {
1095
+ input: BatchUpdateContentFragmentsInput;
1096
+ };
794
1097
 
795
1098
 
1099
+ export type MutationCreateBatchRequestArgs = {
1100
+ input: CreateBatchRequestInput;
1101
+ };
796
1102
 
797
1103
 
1104
+ export type MutationCreateConfigurationFolderArgs = {
1105
+ input: CreateConfigurationFolderInput;
1106
+ };
798
1107
 
799
1108
 
1109
+ export type MutationCreateContentFragmentModelArgs = {
1110
+ input: CreateContentFragmentModelInput;
1111
+ };
800
1112
 
801
1113
 
1114
+ export type MutationCreateContentFragmentVersionArgs = {
1115
+ input: CreateContentFragmentVersionInput;
1116
+ };
802
1117
 
803
1118
 
1119
+ export type MutationCreateNestedConfigurationFoldersArgs = {
1120
+ input: CreateNestedConfigurationFoldersInput;
1121
+ };
804
1122
 
805
1123
 
1124
+ export type MutationCreateNestedTagsArgs = {
1125
+ input: CreateNestedTagsInput;
1126
+ };
806
1127
 
807
1128
 
1129
+ export type MutationCreateTagArgs = {
1130
+ input: CreateTagInput;
1131
+ };
808
1132
 
809
1133
 
1134
+ export type MutationDeleteConfigurationFolderArgs = {
1135
+ input: DeleteConfigurationFolderInput;
1136
+ };
810
1137
 
811
1138
 
1139
+ export type MutationDeleteContentFragmentModelArgs = {
1140
+ input: DeleteContentFragmentModelInput;
1141
+ };
812
1142
 
813
1143
 
1144
+ export type MutationDeleteFeatureAppArgs = {
1145
+ input: DeleteFeatureAppInput;
1146
+ };
814
1147
 
815
1148
 
1149
+ export type MutationGetOrCreateConfigurationFolderArgs = {
1150
+ input: CreateConfigurationFolderInput;
1151
+ };
816
1152
 
817
1153
 
1154
+ export type MutationGetOrCreateTagArgs = {
1155
+ input: CreateTagInput;
1156
+ };
818
1157
 
819
1158
 
1159
+ export type MutationInstallFeatureAppArgs = {
1160
+ input: InstallFeatureAppInput;
1161
+ };
820
1162
 
821
1163
 
1164
+ export type MutationPrepareContentFragmentUpdateArgs = {
1165
+ input: PrepareContentFragmentUpdateInput;
1166
+ };
822
1167
 
823
1168
 
1169
+ export type MutationPublishContentFragmentModelsArgs = {
1170
+ input: PublishContentFragmentModelsInput;
1171
+ };
824
1172
 
825
1173
 
1174
+ export type MutationPublishTagsArgs = {
1175
+ input: PublishTagsInput;
1176
+ };
826
1177
 
827
1178
 
1179
+ export type MutationReplaceTagsInContentFragmentModelArgs = {
1180
+ input: ReplaceTagsInContentFragmentModelInput;
1181
+ };
828
1182
 
829
1183
 
1184
+ export type MutationRestoreContentFragmentVersionArgs = {
1185
+ input: RestoreContentFragmentVersionInput;
1186
+ };
830
1187
 
831
1188
 
1189
+ export type MutationUpdateContentFragmentModelArgs = {
1190
+ input: UpdateContentFragmentModelInput;
1191
+ };
832
1192
 
833
1193
 
1194
+ export type MutationUpdateContentFragmentModelsArgs = {
1195
+ input: UpdateContentFragmentModelsInput;
1196
+ };
834
1197
 
835
1198
 
1199
+ export type MutationUpdateFeatureAppArgs = {
1200
+ input: UpdateFeatureAppInput;
1201
+ };
836
1202
 
837
1203
 
1204
+ export type MutationUpdateUiSchemaArgs = {
1205
+ input: UiSchemaInput;
1206
+ };
838
1207
 
839
1208
 
1209
+ export type MutationValidateFeatureAppVersionUpdateArgs = {
1210
+ input: ValidateFeatureAppVersionUpdateInput;
1211
+ };
840
1212
 
841
1213
 
1214
+ export type MutationValidateFragmentsForRollbackArgs = {
1215
+ input: ValidateFragmentForRollbackInput;
1216
+ };
842
1217
 
843
1218
  export type MyAudiTags = {
844
1219
  myaudi: Array<AemTag>;
845
1220
  };
846
1221
 
1222
+ export type NameValueInput = {
1223
+ name?: InputMaybe<Scalars['String']['input']>;
1224
+ value?: InputMaybe<Scalars['String']['input']>;
1225
+ };
847
1226
 
848
1227
  export type OaddTags = {
849
1228
  oadd: Array<AemTag>;
@@ -867,7 +1246,34 @@ export type Operation = {
867
1246
  uniqueItems?: Maybe<Scalars['Boolean']['output']>;
868
1247
  };
869
1248
 
870
-
1249
+ export type OperationDataInput = {
1250
+ all?: InputMaybe<Scalars['Boolean']['input']>;
1251
+ findValue?: InputMaybe<Scalars['String']['input']>;
1252
+ multi?: InputMaybe<Scalars['Boolean']['input']>;
1253
+ replaceValue?: InputMaybe<Scalars['String']['input']>;
1254
+ values?: InputMaybe<Array<Scalars['String']['input']>>;
1255
+ };
1256
+
1257
+ export type OperationInput = {
1258
+ const?: InputMaybe<Scalars['String']['input']>;
1259
+ contains?: InputMaybe<OperationInput>;
1260
+ data: Scalars['JSON']['input'];
1261
+ description?: InputMaybe<Scalars['String']['input']>;
1262
+ enum?: InputMaybe<Array<Scalars['String']['input']>>;
1263
+ exclusiveMaximum?: InputMaybe<Scalars['Int']['input']>;
1264
+ exclusiveMinimum?: InputMaybe<Scalars['Int']['input']>;
1265
+ maxItems?: InputMaybe<Scalars['Int']['input']>;
1266
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
1267
+ maximum?: InputMaybe<Scalars['Int']['input']>;
1268
+ minItems?: InputMaybe<Scalars['Int']['input']>;
1269
+ minLength?: InputMaybe<Scalars['Int']['input']>;
1270
+ minimum?: InputMaybe<Scalars['Int']['input']>;
1271
+ multipleOf?: InputMaybe<Scalars['Int']['input']>;
1272
+ not?: InputMaybe<OperationInput>;
1273
+ pattern?: InputMaybe<Scalars['String']['input']>;
1274
+ type: OperationType;
1275
+ uniqueItems?: InputMaybe<Scalars['Boolean']['input']>;
1276
+ };
871
1277
 
872
1278
  export enum OperationType {
873
1279
  Replace = 'REPLACE',
@@ -879,6 +1285,10 @@ export type Option = {
879
1285
  tooltip?: Maybe<Scalars['String']['output']>;
880
1286
  };
881
1287
 
1288
+ export type OptionInput = {
1289
+ collapsible?: InputMaybe<Scalars['Boolean']['input']>;
1290
+ tooltip?: InputMaybe<Scalars['String']['input']>;
1291
+ };
882
1292
 
883
1293
  export type PageReference = BaseReference & {
884
1294
  created?: Maybe<AuthoringInfo>;
@@ -906,6 +1316,11 @@ export enum PatchOperation {
906
1316
  Test = 'test'
907
1317
  }
908
1318
 
1319
+ export type PrepareContentFragmentUpdateInput = {
1320
+ aemEnvironment: GetAemEnvironmentInput;
1321
+ fragmentId: Scalars['String']['input'];
1322
+ mapping: MappingInput;
1323
+ };
909
1324
 
910
1325
  export type PrepareContentFragmentUpdateResponse = {
911
1326
  errors: Array<Error>;
@@ -925,6 +1340,15 @@ export enum PublishContentFragmentModelStatus {
925
1340
  Enabled = 'ENABLED'
926
1341
  }
927
1342
 
1343
+ export type PublishContentFragmentModelsInput = {
1344
+ aemEnvironment: GetAemEnvironmentInput;
1345
+ agentId?: InputMaybe<Scalars['String']['input']>;
1346
+ filterAllowedModelIdsByStatus: Array<PublishContentFragmentModelStatus>;
1347
+ ids: Array<Scalars['ID']['input']>;
1348
+ scheduledTime?: InputMaybe<Scalars['Int']['input']>;
1349
+ workflowModelId?: InputMaybe<Scalars['String']['input']>;
1350
+ workflowTitle?: InputMaybe<Scalars['String']['input']>;
1351
+ };
928
1352
 
929
1353
  export type PublishContentFragmentModelsResponse = {
930
1354
  errors?: Maybe<Array<Error>>;
@@ -944,6 +1368,10 @@ export enum PublishStatusEnum {
944
1368
  SuccessTriggered = 'SUCCESS_TRIGGERED'
945
1369
  }
946
1370
 
1371
+ export type PublishTagsInput = {
1372
+ aemEnvironment: GetAemEnvironmentInput;
1373
+ tagPaths: Array<Scalars['String']['input']>;
1374
+ };
947
1375
 
948
1376
  export type PublishTagsResponse = {
949
1377
  errors?: Maybe<Array<Error>>;
@@ -952,38 +1380,89 @@ export type PublishTagsResponse = {
952
1380
 
953
1381
 
954
1382
 
1383
+ export type QueryGetAemEnvironmentArgs = {
1384
+ input: GetAemEnvironmentInput;
1385
+ };
955
1386
 
956
1387
 
1388
+ export type QueryGetBatchStatusByIdArgs = {
1389
+ input: GetBatchStatusByIdInput;
1390
+ };
957
1391
 
958
1392
 
1393
+ export type QueryGetConfigurationFolderArgs = {
1394
+ input: GetConfigurationFolderInput;
1395
+ };
959
1396
 
960
1397
 
1398
+ export type QueryGetContentFragmentByIdArgs = {
1399
+ input: GetContentFragmentByIdInput;
1400
+ };
961
1401
 
962
1402
 
1403
+ export type QueryGetContentFragmentModelByIdArgs = {
1404
+ input: GetContentFragmentModelByIdInput;
1405
+ };
963
1406
 
964
1407
 
1408
+ export type QueryGetContentFragmentModelsBySearchArgs = {
1409
+ input: GetContentFragmentModelsBySearchInput;
1410
+ };
965
1411
 
966
1412
 
1413
+ export type QueryGetContentFragmentModelsFromDeliveryApiArgs = {
1414
+ input: GetContentFragmentModelsFromDeliveryApiInput;
1415
+ };
967
1416
 
968
1417
 
1418
+ export type QueryGetContentFragmentVersionsArgs = {
1419
+ input: GetContentFragmentVersionsInput;
1420
+ };
969
1421
 
970
1422
 
1423
+ export type QueryGetContentFragmentsArgs = {
1424
+ input: GetContentFragmentsInput;
1425
+ };
971
1426
 
972
1427
 
1428
+ export type QueryGetContentFragmentsByPathArgs = {
1429
+ input: GetContentFragmentsByPathInput;
1430
+ };
973
1431
 
974
1432
 
1433
+ export type QueryGetFilteredTagsByPermissionsArgs = {
1434
+ input: GetFilteredTagsByPermissionsInput;
1435
+ };
975
1436
 
976
1437
 
1438
+ export type QueryGetTagArgs = {
1439
+ input: GetTagInput;
1440
+ };
977
1441
 
978
1442
 
1443
+ export type QueryGetTagPermissionsArgs = {
1444
+ input: GetTagPermissionsInput;
1445
+ };
979
1446
 
980
1447
 
1448
+ export type QueryGetTagsByCategoriesArgs = {
1449
+ input: GetTagsByCategoriesInput;
1450
+ };
981
1451
 
982
1452
 
1453
+ export type QueryGetTagsByCategoryArgs = {
1454
+ input: GetTagsByCategoryInput;
1455
+ };
983
1456
 
984
1457
 
1458
+ export type QueryGetUiSchemaArgs = {
1459
+ input: GetUiSchemaInput;
1460
+ };
985
1461
 
986
1462
 
1463
+ export type QueryGetUserPermissionsArgs = {
1464
+ input: GetUserPermissionsInput;
1465
+ };
987
1466
 
988
1467
  export type Reference = AssetReference | ContentFragmentReference | ExperienceFragmentReference | PageReference;
989
1468
 
@@ -999,6 +1478,11 @@ export enum Region {
999
1478
  Nar = 'NAR'
1000
1479
  }
1001
1480
 
1481
+ export type ReplaceTagsInContentFragmentModelInput = {
1482
+ aemEnvironment: GetAemEnvironmentInput;
1483
+ modelId: Scalars['String']['input'];
1484
+ tagIDs: Array<Scalars['String']['input']>;
1485
+ };
1002
1486
 
1003
1487
  export type ReplaceTagsInContentFragmentModelResponse = {
1004
1488
  errors?: Maybe<Array<Error>>;
@@ -1020,7 +1504,19 @@ export enum ReplicationStatus {
1020
1504
  Unpublished = 'UNPUBLISHED'
1021
1505
  }
1022
1506
 
1507
+ export type RequestInput = {
1508
+ body?: InputMaybe<Scalars['JSON']['input']>;
1509
+ headers?: InputMaybe<Array<NameValueInput>>;
1510
+ method: Method;
1511
+ path: Scalars['String']['input'];
1512
+ queryParameters?: InputMaybe<Array<NameValueInput>>;
1513
+ };
1023
1514
 
1515
+ export type RestoreContentFragmentVersionInput = {
1516
+ aemEnvironment: GetAemEnvironmentInput;
1517
+ fragmentId: Scalars['String']['input'];
1518
+ versionId: Scalars['String']['input'];
1519
+ };
1024
1520
 
1025
1521
  export type RestoreContentFragmentVersionResponse = {
1026
1522
  errors: Array<Maybe<Error>>;
@@ -1033,6 +1529,10 @@ export type Rule = {
1033
1529
  effect: Effect;
1034
1530
  };
1035
1531
 
1532
+ export type RuleInput = {
1533
+ condition: ConditionInput;
1534
+ effect: Effect;
1535
+ };
1036
1536
 
1037
1537
  export type ScriptTags = {
1038
1538
  script: Array<AemTag>;
@@ -1045,6 +1545,10 @@ export enum SortField {
1045
1545
  Title = 'title'
1046
1546
  }
1047
1547
 
1548
+ export type SortInput = {
1549
+ on: SortField;
1550
+ order?: SortOrder;
1551
+ };
1048
1552
 
1049
1553
  export enum SortOrder {
1050
1554
  Asc = 'ASC',
@@ -1066,6 +1570,16 @@ export type Tag = {
1066
1570
  titlePath: Scalars['String']['output'];
1067
1571
  };
1068
1572
 
1573
+ export type TagInput = {
1574
+ description?: InputMaybe<Scalars['String']['input']>;
1575
+ i18n?: InputMaybe<Array<I18nTagInput>>;
1576
+ id?: InputMaybe<Scalars['String']['input']>;
1577
+ isCreated?: InputMaybe<Scalars['Boolean']['input']>;
1578
+ name?: InputMaybe<Scalars['String']['input']>;
1579
+ path: Scalars['String']['input'];
1580
+ title?: InputMaybe<Scalars['String']['input']>;
1581
+ titlePath?: InputMaybe<Scalars['String']['input']>;
1582
+ };
1069
1583
 
1070
1584
  export type TagJson = {
1071
1585
  created?: Maybe<Scalars['String']['output']>;
@@ -1119,21 +1633,55 @@ export type UiSchema = {
1119
1633
  uiSchema: Element;
1120
1634
  };
1121
1635
 
1636
+ export type UiSchemaInput = {
1637
+ constraints?: InputMaybe<Array<ConstraintInput>>;
1638
+ elements?: InputMaybe<Array<UiSchemaInput>>;
1639
+ label?: InputMaybe<Scalars['String']['input']>;
1640
+ options?: InputMaybe<OptionInput>;
1641
+ rule?: InputMaybe<RuleInput>;
1642
+ scope?: InputMaybe<Scalars['String']['input']>;
1643
+ type: Scalars['String']['input'];
1644
+ };
1122
1645
 
1646
+ export type UpdateContentFragmentBodyInput = {
1647
+ op: Scalars['String']['input'];
1648
+ path: Scalars['String']['input'];
1649
+ value: Scalars['JSON']['input'];
1650
+ };
1123
1651
 
1652
+ export type UpdateContentFragmentModelInput = {
1653
+ aemEnvironment: GetAemEnvironmentInput;
1654
+ modelId?: InputMaybe<Scalars['String']['input']>;
1655
+ patches: Array<JsonPatchInput>;
1656
+ };
1124
1657
 
1125
1658
  export type UpdateContentFragmentModelResponse = {
1126
1659
  errors?: Maybe<Array<Error>>;
1127
1660
  model?: Maybe<ContentFragmentModel>;
1128
1661
  };
1129
1662
 
1663
+ export type UpdateContentFragmentModelsInput = {
1664
+ aemEnvironment: GetAemEnvironmentInput;
1665
+ currentModels: Array<ContentFragmentModelInput>;
1666
+ newModels: Array<ContentFragmentModelInput>;
1667
+ };
1130
1668
 
1131
1669
  export type UpdateContentFragmentModelsResponse = {
1132
1670
  errors?: Maybe<Array<Error>>;
1133
1671
  models?: Maybe<Array<ContentFragmentModel>>;
1134
1672
  };
1135
1673
 
1674
+ export type UpdateContentFragmentsRequestInput = {
1675
+ body?: InputMaybe<Array<UpdateContentFragmentBodyInput>>;
1676
+ etag?: InputMaybe<Scalars['String']['input']>;
1677
+ fragmentId: Scalars['String']['input'];
1678
+ };
1136
1679
 
1680
+ export type UpdateFeatureAppInput = {
1681
+ aemEnvironment: GetAemEnvironmentInput;
1682
+ configurationFolder: Scalars['String']['input'];
1683
+ metadataSchema: MetadataSchemaInput;
1684
+ };
1137
1685
 
1138
1686
  export type UpdateFeatureAppResponse = {
1139
1687
  errors?: Maybe<Array<Error>>;
@@ -1146,6 +1694,11 @@ export enum UpdateType {
1146
1694
  Patch = 'PATCH'
1147
1695
  }
1148
1696
 
1697
+ export type UpdateUiSchemaInput = {
1698
+ aemEnvironment: GetAemEnvironmentInput;
1699
+ id: Scalars['String']['input'];
1700
+ uiSchema: UiSchemaInput;
1701
+ };
1149
1702
 
1150
1703
  export type UpdateUiSchemaResponse = {
1151
1704
  errors?: Maybe<Array<Error>>;
@@ -1178,6 +1731,12 @@ export type UserInformation = {
1178
1731
  username: Scalars['String']['output'];
1179
1732
  };
1180
1733
 
1734
+ export type ValidateFeatureAppVersionUpdateInput = {
1735
+ aemEnvironment: GetAemEnvironmentInput;
1736
+ configurationFolder: Scalars['String']['input'];
1737
+ newModels: Array<ContentFragmentModelInput>;
1738
+ updateType: UpdateType;
1739
+ };
1181
1740
 
1182
1741
  export type ValidateFeatureAppVersionUpdateResponse = {
1183
1742
  errors?: Maybe<Array<Error>>;
@@ -1185,6 +1744,12 @@ export type ValidateFeatureAppVersionUpdateResponse = {
1185
1744
  violations?: Maybe<Array<Violation>>;
1186
1745
  };
1187
1746
 
1747
+ export type ValidateFragmentForRollbackInput = {
1748
+ aemEnvironment: GetAemEnvironmentInput;
1749
+ fragments: Array<FragmentToValidate>;
1750
+ storedFeatureAppVersion: Scalars['String']['input'];
1751
+ storedModelId: Scalars['String']['input'];
1752
+ };
1188
1753
 
1189
1754
  export type ValidateFragmentForRollbackResponse = {
1190
1755
  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.1",
4
4
  "description": "Type-only GraphQL schema types for the AEM Gateway.",
5
5
  "license": "ISC",
6
6
  "types": "./dist/index.d.ts",