@wix/autocms-folders-service 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/autocms-folders-service",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,7 +21,7 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/autocms-folders-service_autocms": "1.0.5"
24
+ "@wix/autocms-folders-service_autocms": "1.0.7"
25
25
  },
26
26
  "devDependencies": {
27
27
  "glob": "^10.4.1",
@@ -46,5 +46,5 @@
46
46
  "fqdn": ""
47
47
  }
48
48
  },
49
- "falconPackageHash": "5681e76d07317fad4898a9fb926d3f440ce11ad7a32dc73a90b4460c"
49
+ "falconPackageHash": "fbf131e5f407c5b09bdca253a6c34e842e0a1bdcedd8190331740e47"
50
50
  }
@@ -487,15 +487,13 @@ interface Folder {
487
487
  */
488
488
  _id?: string | null;
489
489
  /** display name */
490
- displayName?: string;
490
+ name?: string;
491
491
  /** folder description if any */
492
492
  description?: string | null;
493
- /** additional information */
494
- info?: Record<string, any> | null;
495
- /** collections in current folder */
496
- collections?: CollectionReference[];
497
493
  /** nested folders */
498
494
  folders?: Folder[];
495
+ /** collections in current folder */
496
+ collectionReferences?: CollectionReference[];
499
497
  }
500
498
  /**
501
499
  * Reference to a collection, contained in a folder
@@ -505,14 +503,8 @@ interface Folder {
505
503
  interface CollectionReference {
506
504
  /** collection unique name (ID) */
507
505
  collectionName?: string;
508
- /**
509
- * same collection may have many shortcut references across folders
510
- * but only one non-shortcut reference
511
- * by default any collection will have reference at root folder
512
- */
513
- shortcut?: boolean;
514
- /** additional information */
515
- info?: Record<string, any> | null;
506
+ /** Folder ID, where reference is located, not present for root folder */
507
+ folderId?: string | null;
516
508
  }
517
509
  interface GetFolderRequest {
518
510
  /** missing means root */
@@ -523,14 +515,6 @@ interface GetFolderRequest {
523
515
  * - none means full folder tree
524
516
  */
525
517
  depth?: number | null;
526
- /**
527
- * if true CollectionReference.schema are not returned,
528
- * but call is much faster.
529
- * ignored for root folder request
530
- * @deprecated
531
- * @targetRemovalDate 2025-01-01
532
- */
533
- skipSchemas?: boolean;
534
518
  }
535
519
  interface GetFolderResponse {
536
520
  /** requested folder details */
@@ -542,15 +526,19 @@ interface CreateFolderRequest {
542
526
  /** parent folder ID or none if root */
543
527
  parentFolderId?: string | null;
544
528
  /** folder info to create */
545
- folderInfo?: FolderInfo;
529
+ folderDetails?: FolderDetails;
546
530
  }
547
531
  interface FolderInfo {
548
532
  /** display name */
549
- displayName?: string | null;
533
+ name?: string | null;
534
+ /** description */
535
+ description?: string | null;
536
+ }
537
+ interface FolderDetails {
538
+ /** display name */
539
+ name?: string | null;
550
540
  /** description */
551
541
  description?: string | null;
552
- /** additional info */
553
- info?: Record<string, any> | null;
554
542
  }
555
543
  interface CreateFolderResponse {
556
544
  /** parent of created folder or none for root */
@@ -560,7 +548,7 @@ interface CreateFolderResponse {
560
548
  }
561
549
  interface UpdateFolderRequest {
562
550
  /** Folder ID */
563
- folderId: string;
551
+ folderId?: string;
564
552
  /** Fields to update, partial */
565
553
  folderInfo?: FolderInfo;
566
554
  }
@@ -571,6 +559,19 @@ interface UpdateFolderResponse {
571
559
  */
572
560
  folder?: Folder;
573
561
  }
562
+ interface UpdateFolderDetailsRequest {
563
+ /** Folder ID */
564
+ folderId: string;
565
+ /** Fields to update, partial */
566
+ folderDetails?: FolderDetails;
567
+ }
568
+ interface UpdateFolderDetailsResponse {
569
+ /**
570
+ * updated folder
571
+ * folder contents (folders and collections) would not be returned
572
+ */
573
+ folder?: Folder;
574
+ }
574
575
  interface DeleteFolderRequest {
575
576
  /** folder ID to delete */
576
577
  folderId: string;
@@ -587,20 +588,9 @@ interface MoveFolderResponse {
587
588
  }
588
589
  interface ReferenceCollectionRequest {
589
590
  /** collection name to reference (ID) */
590
- collectionName: string;
591
+ collectionName?: string;
591
592
  /** target folder ID or none if root */
592
593
  folderId?: string | null;
593
- /**
594
- * if false then single non-shortcut reference to this
595
- * collection is moved to target folder
596
- * otherwise new shortcut reference is created
597
- */
598
- shortcut?: boolean;
599
- /**
600
- * additional information for shortcut reference
601
- * ignored for non-shortcut reference
602
- */
603
- info?: Record<string, any> | null;
604
594
  }
605
595
  interface ReferenceCollectionResponse {
606
596
  /** Folder ID that contains reference or none if root */
@@ -608,16 +598,17 @@ interface ReferenceCollectionResponse {
608
598
  /** reference details */
609
599
  collectionReference?: CollectionReference;
610
600
  }
601
+ interface CreateCollectionReferenceRequest {
602
+ /** Collection reference to create */
603
+ collectionReference: CollectionReference;
604
+ }
605
+ interface CreateCollectionReferenceResponse {
606
+ /** Collection reference created */
607
+ collectionReference?: CollectionReference;
608
+ }
611
609
  interface GetReferencesRequest {
612
610
  /** collection name (ID) to get */
613
- collectionName: string;
614
- /**
615
- * if true schema would not be loaded and reference may not be found if collection is in root folder
616
- * loading schema has performance impact
617
- * @deprecated
618
- * @targetRemovalDate 2025-01-01
619
- */
620
- skipSchemas?: boolean;
611
+ collectionName?: string;
621
612
  }
622
613
  interface GetReferencesResponse {
623
614
  /** list of references */
@@ -633,7 +624,7 @@ interface UpdateReferenceInfoRequest {
633
624
  /** folder where reference is located, none for root */
634
625
  folderId?: string | null;
635
626
  /** referenced collection name (ID) */
636
- collectionName: string;
627
+ collectionName?: string;
637
628
  /** additional information to set */
638
629
  info?: Record<string, any> | null;
639
630
  }
@@ -645,28 +636,45 @@ interface UpdateReferenceInfoResponse {
645
636
  }
646
637
  interface DeleteReferenceRequest {
647
638
  /** collection name (ID) to delete */
648
- collectionName: string;
639
+ collectionName?: string;
649
640
  /** folder ID where to delete reference or none if root */
650
641
  folderId?: string | null;
651
642
  }
652
643
  interface DeleteReferenceResponse {
653
644
  }
645
+ interface GetCollectionReferencesRequest {
646
+ /** collection ID to get */
647
+ collectionName: string;
648
+ }
649
+ interface GetCollectionReferencesResponse {
650
+ /** list of references */
651
+ collectionReferences?: CollectionReference[];
652
+ }
653
+ interface UpdateCollectionReferenceRequest {
654
+ /** Collection reference to update */
655
+ collectionReference?: CollectionReference;
656
+ }
657
+ interface UpdateCollectionReferenceResponse {
658
+ /** Updated collection reference */
659
+ collectionReference?: CollectionReference;
660
+ }
661
+ interface DeleteCollectionReferenceRequest {
662
+ /** collection name (ID) to delete */
663
+ collectionName: string;
664
+ /** folder ID where to delete reference or none if root */
665
+ folderId?: string | null;
666
+ }
667
+ interface DeleteCollectionReferenceResponse {
668
+ }
654
669
  interface SearchRequest {
655
670
  /** Search string, matched ignoring case */
656
- searchTerm?: string;
671
+ keyword?: string;
657
672
  }
658
673
  interface SearchResponse {
659
674
  /** folders found, no contents are returned */
660
675
  folders?: Folder[];
661
- /**
662
- * collections found
663
- * @deprecated
664
- * @replacedBy references
665
- * @targetRemovalDate 2025-01-01
666
- */
667
- collections?: CollectionReference[];
668
676
  /** collection references found */
669
- references?: ReferenceLocation[];
677
+ collectionReferences?: CollectionReference[];
670
678
  }
671
679
  interface DomainEvent extends DomainEventBodyOneOf {
672
680
  createdEvent?: EntityCreatedEvent;
@@ -1069,8 +1077,10 @@ interface CollectionReferenceNonNullableFields {
1069
1077
  }
1070
1078
  interface FolderNonNullableFields {
1071
1079
  displayName: string;
1080
+ name: string;
1072
1081
  collections: CollectionReferenceNonNullableFields[];
1073
1082
  folders: FolderNonNullableFields[];
1083
+ collectionReferences: CollectionReferenceNonNullableFields[];
1074
1084
  }
1075
1085
  interface GetFolderResponseNonNullableFields {
1076
1086
  folder?: FolderNonNullableFields;
@@ -1078,25 +1088,19 @@ interface GetFolderResponseNonNullableFields {
1078
1088
  interface CreateFolderResponseNonNullableFields {
1079
1089
  folder?: FolderNonNullableFields;
1080
1090
  }
1081
- interface UpdateFolderResponseNonNullableFields {
1091
+ interface UpdateFolderDetailsResponseNonNullableFields {
1082
1092
  folder?: FolderNonNullableFields;
1083
1093
  }
1084
- interface ReferenceCollectionResponseNonNullableFields {
1094
+ interface CreateCollectionReferenceResponseNonNullableFields {
1085
1095
  collectionReference?: CollectionReferenceNonNullableFields;
1086
1096
  }
1087
- interface ReferenceLocationNonNullableFields {
1088
- reference?: CollectionReferenceNonNullableFields;
1089
- }
1090
- interface GetReferencesResponseNonNullableFields {
1091
- references: ReferenceLocationNonNullableFields[];
1092
- }
1093
- interface UpdateReferenceInfoResponseNonNullableFields {
1094
- collectionReference?: CollectionReferenceNonNullableFields;
1097
+ interface GetCollectionReferencesResponseNonNullableFields {
1098
+ collectionReferences: CollectionReferenceNonNullableFields[];
1095
1099
  }
1096
1100
  interface SearchResponseNonNullableFields {
1097
1101
  folders: FolderNonNullableFields[];
1098
1102
  collections: CollectionReferenceNonNullableFields[];
1099
- references: ReferenceLocationNonNullableFields[];
1103
+ collectionReferences: CollectionReferenceNonNullableFields[];
1100
1104
  }
1101
1105
  interface GetFolderOptions {
1102
1106
  /** missing means root */
@@ -1107,74 +1111,37 @@ interface GetFolderOptions {
1107
1111
  * - none means full folder tree
1108
1112
  */
1109
1113
  depth?: number | null;
1110
- /**
1111
- * if true CollectionReference.schema are not returned,
1112
- * but call is much faster.
1113
- * ignored for root folder request
1114
- * @deprecated
1115
- * @targetRemovalDate 2025-01-01
1116
- */
1117
- skipSchemas?: boolean;
1118
1114
  }
1119
1115
  interface CreateFolderOptions {
1120
1116
  /** parent folder ID or none if root */
1121
1117
  parentFolderId?: string | null;
1122
1118
  /** folder info to create */
1123
- folderInfo?: FolderInfo;
1119
+ folderDetails?: FolderDetails;
1124
1120
  }
1125
- interface UpdateFolderOptions {
1121
+ interface UpdateFolderDetailsOptions {
1126
1122
  /** Fields to update, partial */
1127
- folderInfo?: FolderInfo;
1123
+ folderDetails?: FolderDetails;
1128
1124
  }
1129
1125
  interface MoveFolderOptions {
1130
1126
  /** destination folder ID (new parent), none if root */
1131
1127
  parentFolderId?: string | null;
1132
1128
  }
1133
- interface ReferenceCollectionOptions {
1134
- /** target folder ID or none if root */
1135
- folderId?: string | null;
1136
- /**
1137
- * if false then single non-shortcut reference to this
1138
- * collection is moved to target folder
1139
- * otherwise new shortcut reference is created
1140
- */
1141
- shortcut?: boolean;
1142
- /**
1143
- * additional information for shortcut reference
1144
- * ignored for non-shortcut reference
1145
- */
1146
- info?: Record<string, any> | null;
1147
- }
1148
- interface GetReferencesOptions {
1149
- /**
1150
- * if true schema would not be loaded and reference may not be found if collection is in root folder
1151
- * loading schema has performance impact
1152
- * @deprecated
1153
- * @targetRemovalDate 2025-01-01
1154
- */
1155
- skipSchemas?: boolean;
1156
- }
1157
- interface UpdateReferenceInfoOptions {
1158
- /** folder where reference is located, none for root */
1159
- folderId?: string | null;
1160
- /** referenced collection name (ID) */
1161
- collectionName: string;
1162
- /** additional information to set */
1163
- info?: Record<string, any> | null;
1164
- }
1165
- interface DeleteReferenceOptions {
1129
+ interface DeleteCollectionReferenceOptions {
1166
1130
  /** folder ID where to delete reference or none if root */
1167
1131
  folderId?: string | null;
1168
1132
  }
1169
1133
  interface SearchOptions {
1170
1134
  /** Search string, matched ignoring case */
1171
- searchTerm?: string;
1135
+ keyword?: string;
1172
1136
  }
1173
1137
 
1174
1138
  declare function getFolder$1(httpClient: HttpClient): GetFolderSignature;
1175
1139
  interface GetFolderSignature {
1176
1140
  /**
1177
1141
  * Get folder by ID
1142
+ *
1143
+ * Error codes:
1144
+ * - `FOLDER_NOT_FOUND` in case if folder does not exists
1178
1145
  * @returns requested folder details
1179
1146
  */
1180
1147
  (options?: GetFolderOptions | undefined): Promise<Folder & FolderNonNullableFields>;
@@ -1183,17 +1150,23 @@ declare function createFolder$1(httpClient: HttpClient): CreateFolderSignature;
1183
1150
  interface CreateFolderSignature {
1184
1151
  /**
1185
1152
  * Create new folder
1153
+ *
1154
+ * Error codes:
1155
+ * - `FOLDER_NOT_FOUND` in case if parent folder does not exists
1186
1156
  */
1187
1157
  (options?: CreateFolderOptions | undefined): Promise<CreateFolderResponse & CreateFolderResponseNonNullableFields>;
1188
1158
  }
1189
- declare function updateFolder$1(httpClient: HttpClient): UpdateFolderSignature;
1190
- interface UpdateFolderSignature {
1159
+ declare function updateFolderDetails$1(httpClient: HttpClient): UpdateFolderDetailsSignature;
1160
+ interface UpdateFolderDetailsSignature {
1191
1161
  /**
1192
1162
  * Update nested folder details.
1193
1163
  * Root folder can't be updated.
1164
+ *
1165
+ * Error codes:
1166
+ * - `FOLDER_NOT_FOUND` in case if folder does not exists
1194
1167
  * @param - Folder ID
1195
1168
  */
1196
- (folderId: string, options?: UpdateFolderOptions | undefined): Promise<UpdateFolderResponse & UpdateFolderResponseNonNullableFields>;
1169
+ (folderId: string, options?: UpdateFolderDetailsOptions | undefined): Promise<UpdateFolderDetailsResponse & UpdateFolderDetailsResponseNonNullableFields>;
1197
1170
  }
1198
1171
  declare function deleteFolder$1(httpClient: HttpClient): DeleteFolderSignature;
1199
1172
  interface DeleteFolderSignature {
@@ -1203,6 +1176,9 @@ interface DeleteFolderSignature {
1203
1176
  * - any shortcut collection references will be deleted
1204
1177
  * - any non-shortcut collection references will be moved to root folder
1205
1178
  * Root folder can't be deleted.
1179
+ *
1180
+ * Error codes:
1181
+ * - `COLLECTION_REFERENCE_EXISTS` when non-shortcut collection reference from removed tree conflicts with existing reference in the root
1206
1182
  * @param - folder ID to delete
1207
1183
  */
1208
1184
  (folderId: string): Promise<void>;
@@ -1211,41 +1187,45 @@ declare function moveFolder$1(httpClient: HttpClient): MoveFolderSignature;
1211
1187
  interface MoveFolderSignature {
1212
1188
  /**
1213
1189
  * Move nested folder to different parent with all it's contents
1190
+ *
1191
+ * Error codes:
1192
+ * - `FOLDER_NOT_FOUND` in case if folder with given ID does not exists
1214
1193
  * @param - folder ID to move
1215
1194
  */
1216
1195
  (folderId: string, options?: MoveFolderOptions | undefined): Promise<void>;
1217
1196
  }
1218
- declare function referenceCollection$1(httpClient: HttpClient): ReferenceCollectionSignature;
1219
- interface ReferenceCollectionSignature {
1197
+ declare function createCollectionReference$1(httpClient: HttpClient): CreateCollectionReferenceSignature;
1198
+ interface CreateCollectionReferenceSignature {
1220
1199
  /**
1221
1200
  * Create collection reference.
1222
1201
  * If reference is non-shortcut it is moved from previous location.
1223
- * @param - collection name to reference (ID)
1202
+ *
1203
+ * Error codes:
1204
+ * - `FOLDER_NOT_FOUND` in case if folder with given ID does not exists
1205
+ * - `COLLECTION_REFERENCE_EXISTS` when reference to same collection already exists in the folder
1206
+ * @param - Collection reference to create
1224
1207
  */
1225
- (collectionName: string, options?: ReferenceCollectionOptions | undefined): Promise<ReferenceCollectionResponse & ReferenceCollectionResponseNonNullableFields>;
1208
+ (collectionReference: CollectionReference): Promise<CreateCollectionReferenceResponse & CreateCollectionReferenceResponseNonNullableFields>;
1226
1209
  }
1227
- declare function getReferences$1(httpClient: HttpClient): GetReferencesSignature;
1228
- interface GetReferencesSignature {
1210
+ declare function getCollectionReferences$1(httpClient: HttpClient): GetCollectionReferencesSignature;
1211
+ interface GetCollectionReferencesSignature {
1229
1212
  /**
1230
1213
  * Return all references to given collection.
1231
- * @param - collection name (ID) to get
1232
- */
1233
- (collectionName: string, options?: GetReferencesOptions | undefined): Promise<GetReferencesResponse & GetReferencesResponseNonNullableFields>;
1234
- }
1235
- declare function updateReferenceInfo$1(httpClient: HttpClient): UpdateReferenceInfoSignature;
1236
- interface UpdateReferenceInfoSignature {
1237
- /**
1238
- * Update reference info.
1214
+ * @param - collection ID to get
1239
1215
  */
1240
- (options?: UpdateReferenceInfoOptions | undefined): Promise<UpdateReferenceInfoResponse & UpdateReferenceInfoResponseNonNullableFields>;
1216
+ (collectionName: string): Promise<GetCollectionReferencesResponse & GetCollectionReferencesResponseNonNullableFields>;
1241
1217
  }
1242
- declare function deleteReference$1(httpClient: HttpClient): DeleteReferenceSignature;
1243
- interface DeleteReferenceSignature {
1218
+ declare function deleteCollectionReference$1(httpClient: HttpClient): DeleteCollectionReferenceSignature;
1219
+ interface DeleteCollectionReferenceSignature {
1244
1220
  /**
1245
1221
  * Delete shortcut reference.
1222
+ *
1223
+ * Error codes:
1224
+ * - `REFERENCE_NOT_FOUND` when reference is not found
1225
+ * - `NOT_A_SHORTCUT` when trying to delete non-shortcut reference
1246
1226
  * @param - collection name (ID) to delete
1247
1227
  */
1248
- (collectionName: string, options?: DeleteReferenceOptions | undefined): Promise<void>;
1228
+ (collectionName: string, options?: DeleteCollectionReferenceOptions | undefined): Promise<void>;
1249
1229
  }
1250
1230
  declare function search$1(httpClient: HttpClient): SearchSignature;
1251
1231
  interface SearchSignature {
@@ -1257,26 +1237,30 @@ interface SearchSignature {
1257
1237
 
1258
1238
  declare const getFolder: MaybeContext<BuildRESTFunction<typeof getFolder$1> & typeof getFolder$1>;
1259
1239
  declare const createFolder: MaybeContext<BuildRESTFunction<typeof createFolder$1> & typeof createFolder$1>;
1260
- declare const updateFolder: MaybeContext<BuildRESTFunction<typeof updateFolder$1> & typeof updateFolder$1>;
1240
+ declare const updateFolderDetails: MaybeContext<BuildRESTFunction<typeof updateFolderDetails$1> & typeof updateFolderDetails$1>;
1261
1241
  declare const deleteFolder: MaybeContext<BuildRESTFunction<typeof deleteFolder$1> & typeof deleteFolder$1>;
1262
1242
  declare const moveFolder: MaybeContext<BuildRESTFunction<typeof moveFolder$1> & typeof moveFolder$1>;
1263
- declare const referenceCollection: MaybeContext<BuildRESTFunction<typeof referenceCollection$1> & typeof referenceCollection$1>;
1264
- declare const getReferences: MaybeContext<BuildRESTFunction<typeof getReferences$1> & typeof getReferences$1>;
1265
- declare const updateReferenceInfo: MaybeContext<BuildRESTFunction<typeof updateReferenceInfo$1> & typeof updateReferenceInfo$1>;
1266
- declare const deleteReference: MaybeContext<BuildRESTFunction<typeof deleteReference$1> & typeof deleteReference$1>;
1243
+ declare const createCollectionReference: MaybeContext<BuildRESTFunction<typeof createCollectionReference$1> & typeof createCollectionReference$1>;
1244
+ declare const getCollectionReferences: MaybeContext<BuildRESTFunction<typeof getCollectionReferences$1> & typeof getCollectionReferences$1>;
1245
+ declare const deleteCollectionReference: MaybeContext<BuildRESTFunction<typeof deleteCollectionReference$1> & typeof deleteCollectionReference$1>;
1267
1246
  declare const search: MaybeContext<BuildRESTFunction<typeof search$1> & typeof search$1>;
1268
1247
 
1269
1248
  type context_ActionEvent = ActionEvent;
1270
1249
  type context_Asset = Asset;
1271
1250
  type context_CollectionReference = CollectionReference;
1251
+ type context_CreateCollectionReferenceRequest = CreateCollectionReferenceRequest;
1252
+ type context_CreateCollectionReferenceResponse = CreateCollectionReferenceResponse;
1253
+ type context_CreateCollectionReferenceResponseNonNullableFields = CreateCollectionReferenceResponseNonNullableFields;
1272
1254
  type context_CreateFolderOptions = CreateFolderOptions;
1273
1255
  type context_CreateFolderRequest = CreateFolderRequest;
1274
1256
  type context_CreateFolderResponse = CreateFolderResponse;
1275
1257
  type context_CreateFolderResponseNonNullableFields = CreateFolderResponseNonNullableFields;
1258
+ type context_DeleteCollectionReferenceOptions = DeleteCollectionReferenceOptions;
1259
+ type context_DeleteCollectionReferenceRequest = DeleteCollectionReferenceRequest;
1260
+ type context_DeleteCollectionReferenceResponse = DeleteCollectionReferenceResponse;
1276
1261
  type context_DeleteContext = DeleteContext;
1277
1262
  type context_DeleteFolderRequest = DeleteFolderRequest;
1278
1263
  type context_DeleteFolderResponse = DeleteFolderResponse;
1279
- type context_DeleteReferenceOptions = DeleteReferenceOptions;
1280
1264
  type context_DeleteReferenceRequest = DeleteReferenceRequest;
1281
1265
  type context_DeleteReferenceResponse = DeleteReferenceResponse;
1282
1266
  type context_DeleteStatus = DeleteStatus;
@@ -1288,16 +1272,18 @@ type context_EntityCreatedEvent = EntityCreatedEvent;
1288
1272
  type context_EntityDeletedEvent = EntityDeletedEvent;
1289
1273
  type context_EntityUpdatedEvent = EntityUpdatedEvent;
1290
1274
  type context_Folder = Folder;
1275
+ type context_FolderDetails = FolderDetails;
1291
1276
  type context_FolderInfo = FolderInfo;
1292
1277
  type context_FolderNonNullableFields = FolderNonNullableFields;
1278
+ type context_GetCollectionReferencesRequest = GetCollectionReferencesRequest;
1279
+ type context_GetCollectionReferencesResponse = GetCollectionReferencesResponse;
1280
+ type context_GetCollectionReferencesResponseNonNullableFields = GetCollectionReferencesResponseNonNullableFields;
1293
1281
  type context_GetFolderOptions = GetFolderOptions;
1294
1282
  type context_GetFolderRequest = GetFolderRequest;
1295
1283
  type context_GetFolderResponse = GetFolderResponse;
1296
1284
  type context_GetFolderResponseNonNullableFields = GetFolderResponseNonNullableFields;
1297
- type context_GetReferencesOptions = GetReferencesOptions;
1298
1285
  type context_GetReferencesRequest = GetReferencesRequest;
1299
1286
  type context_GetReferencesResponse = GetReferencesResponse;
1300
- type context_GetReferencesResponseNonNullableFields = GetReferencesResponseNonNullableFields;
1301
1287
  type context_IdentificationData = IdentificationData;
1302
1288
  type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
1303
1289
  type context_MessageEnvelope = MessageEnvelope;
@@ -1309,10 +1295,8 @@ type context_MoveFolderResponse = MoveFolderResponse;
1309
1295
  type context_Namespace = Namespace;
1310
1296
  declare const context_Namespace: typeof Namespace;
1311
1297
  type context_NamespaceChanged = NamespaceChanged;
1312
- type context_ReferenceCollectionOptions = ReferenceCollectionOptions;
1313
1298
  type context_ReferenceCollectionRequest = ReferenceCollectionRequest;
1314
1299
  type context_ReferenceCollectionResponse = ReferenceCollectionResponse;
1315
- type context_ReferenceCollectionResponseNonNullableFields = ReferenceCollectionResponseNonNullableFields;
1316
1300
  type context_ReferenceLocation = ReferenceLocation;
1317
1301
  type context_RestoreInfo = RestoreInfo;
1318
1302
  type context_SearchOptions = SearchOptions;
@@ -1337,28 +1321,29 @@ type context_State = State;
1337
1321
  declare const context_State: typeof State;
1338
1322
  type context_StudioAssigned = StudioAssigned;
1339
1323
  type context_StudioUnassigned = StudioUnassigned;
1340
- type context_UpdateFolderOptions = UpdateFolderOptions;
1324
+ type context_UpdateCollectionReferenceRequest = UpdateCollectionReferenceRequest;
1325
+ type context_UpdateCollectionReferenceResponse = UpdateCollectionReferenceResponse;
1326
+ type context_UpdateFolderDetailsOptions = UpdateFolderDetailsOptions;
1327
+ type context_UpdateFolderDetailsRequest = UpdateFolderDetailsRequest;
1328
+ type context_UpdateFolderDetailsResponse = UpdateFolderDetailsResponse;
1329
+ type context_UpdateFolderDetailsResponseNonNullableFields = UpdateFolderDetailsResponseNonNullableFields;
1341
1330
  type context_UpdateFolderRequest = UpdateFolderRequest;
1342
1331
  type context_UpdateFolderResponse = UpdateFolderResponse;
1343
- type context_UpdateFolderResponseNonNullableFields = UpdateFolderResponseNonNullableFields;
1344
- type context_UpdateReferenceInfoOptions = UpdateReferenceInfoOptions;
1345
1332
  type context_UpdateReferenceInfoRequest = UpdateReferenceInfoRequest;
1346
1333
  type context_UpdateReferenceInfoResponse = UpdateReferenceInfoResponse;
1347
- type context_UpdateReferenceInfoResponseNonNullableFields = UpdateReferenceInfoResponseNonNullableFields;
1348
1334
  type context_WebhookIdentityType = WebhookIdentityType;
1349
1335
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
1336
+ declare const context_createCollectionReference: typeof createCollectionReference;
1350
1337
  declare const context_createFolder: typeof createFolder;
1338
+ declare const context_deleteCollectionReference: typeof deleteCollectionReference;
1351
1339
  declare const context_deleteFolder: typeof deleteFolder;
1352
- declare const context_deleteReference: typeof deleteReference;
1340
+ declare const context_getCollectionReferences: typeof getCollectionReferences;
1353
1341
  declare const context_getFolder: typeof getFolder;
1354
- declare const context_getReferences: typeof getReferences;
1355
1342
  declare const context_moveFolder: typeof moveFolder;
1356
- declare const context_referenceCollection: typeof referenceCollection;
1357
1343
  declare const context_search: typeof search;
1358
- declare const context_updateFolder: typeof updateFolder;
1359
- declare const context_updateReferenceInfo: typeof updateReferenceInfo;
1344
+ declare const context_updateFolderDetails: typeof updateFolderDetails;
1360
1345
  declare namespace context {
1361
- export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_CollectionReference as CollectionReference, type context_CreateFolderOptions as CreateFolderOptions, type context_CreateFolderRequest as CreateFolderRequest, type context_CreateFolderResponse as CreateFolderResponse, type context_CreateFolderResponseNonNullableFields as CreateFolderResponseNonNullableFields, type context_DeleteContext as DeleteContext, type context_DeleteFolderRequest as DeleteFolderRequest, type context_DeleteFolderResponse as DeleteFolderResponse, type context_DeleteReferenceOptions as DeleteReferenceOptions, type context_DeleteReferenceRequest as DeleteReferenceRequest, type context_DeleteReferenceResponse as DeleteReferenceResponse, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_Folder as Folder, type context_FolderInfo as FolderInfo, type context_FolderNonNullableFields as FolderNonNullableFields, type context_GetFolderOptions as GetFolderOptions, type context_GetFolderRequest as GetFolderRequest, type context_GetFolderResponse as GetFolderResponse, type context_GetFolderResponseNonNullableFields as GetFolderResponseNonNullableFields, type context_GetReferencesOptions as GetReferencesOptions, type context_GetReferencesRequest as GetReferencesRequest, type context_GetReferencesResponse as GetReferencesResponse, type context_GetReferencesResponseNonNullableFields as GetReferencesResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context_MoveFolderOptions as MoveFolderOptions, type context_MoveFolderRequest as MoveFolderRequest, type context_MoveFolderResponse as MoveFolderResponse, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_ReferenceCollectionOptions as ReferenceCollectionOptions, type context_ReferenceCollectionRequest as ReferenceCollectionRequest, type context_ReferenceCollectionResponse as ReferenceCollectionResponse, type context_ReferenceCollectionResponseNonNullableFields as ReferenceCollectionResponseNonNullableFields, type context_ReferenceLocation as ReferenceLocation, type context_RestoreInfo as RestoreInfo, type context_SearchOptions as SearchOptions, type context_SearchRequest as SearchRequest, type context_SearchResponse as SearchResponse, type context_SearchResponseNonNullableFields as SearchResponseNonNullableFields, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_State as State, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_UpdateFolderOptions as UpdateFolderOptions, type context_UpdateFolderRequest as UpdateFolderRequest, type context_UpdateFolderResponse as UpdateFolderResponse, type context_UpdateFolderResponseNonNullableFields as UpdateFolderResponseNonNullableFields, type context_UpdateReferenceInfoOptions as UpdateReferenceInfoOptions, type context_UpdateReferenceInfoRequest as UpdateReferenceInfoRequest, type context_UpdateReferenceInfoResponse as UpdateReferenceInfoResponse, type context_UpdateReferenceInfoResponseNonNullableFields as UpdateReferenceInfoResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, context_createFolder as createFolder, context_deleteFolder as deleteFolder, context_deleteReference as deleteReference, context_getFolder as getFolder, context_getReferences as getReferences, context_moveFolder as moveFolder, context_referenceCollection as referenceCollection, context_search as search, context_updateFolder as updateFolder, context_updateReferenceInfo as updateReferenceInfo };
1346
+ export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_CollectionReference as CollectionReference, type context_CreateCollectionReferenceRequest as CreateCollectionReferenceRequest, type context_CreateCollectionReferenceResponse as CreateCollectionReferenceResponse, type context_CreateCollectionReferenceResponseNonNullableFields as CreateCollectionReferenceResponseNonNullableFields, type context_CreateFolderOptions as CreateFolderOptions, type context_CreateFolderRequest as CreateFolderRequest, type context_CreateFolderResponse as CreateFolderResponse, type context_CreateFolderResponseNonNullableFields as CreateFolderResponseNonNullableFields, type context_DeleteCollectionReferenceOptions as DeleteCollectionReferenceOptions, type context_DeleteCollectionReferenceRequest as DeleteCollectionReferenceRequest, type context_DeleteCollectionReferenceResponse as DeleteCollectionReferenceResponse, type context_DeleteContext as DeleteContext, type context_DeleteFolderRequest as DeleteFolderRequest, type context_DeleteFolderResponse as DeleteFolderResponse, type context_DeleteReferenceRequest as DeleteReferenceRequest, type context_DeleteReferenceResponse as DeleteReferenceResponse, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_Folder as Folder, type context_FolderDetails as FolderDetails, type context_FolderInfo as FolderInfo, type context_FolderNonNullableFields as FolderNonNullableFields, type context_GetCollectionReferencesRequest as GetCollectionReferencesRequest, type context_GetCollectionReferencesResponse as GetCollectionReferencesResponse, type context_GetCollectionReferencesResponseNonNullableFields as GetCollectionReferencesResponseNonNullableFields, type context_GetFolderOptions as GetFolderOptions, type context_GetFolderRequest as GetFolderRequest, type context_GetFolderResponse as GetFolderResponse, type context_GetFolderResponseNonNullableFields as GetFolderResponseNonNullableFields, type context_GetReferencesRequest as GetReferencesRequest, type context_GetReferencesResponse as GetReferencesResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context_MoveFolderOptions as MoveFolderOptions, type context_MoveFolderRequest as MoveFolderRequest, type context_MoveFolderResponse as MoveFolderResponse, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_ReferenceCollectionRequest as ReferenceCollectionRequest, type context_ReferenceCollectionResponse as ReferenceCollectionResponse, type context_ReferenceLocation as ReferenceLocation, type context_RestoreInfo as RestoreInfo, type context_SearchOptions as SearchOptions, type context_SearchRequest as SearchRequest, type context_SearchResponse as SearchResponse, type context_SearchResponseNonNullableFields as SearchResponseNonNullableFields, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_State as State, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_UpdateCollectionReferenceRequest as UpdateCollectionReferenceRequest, type context_UpdateCollectionReferenceResponse as UpdateCollectionReferenceResponse, type context_UpdateFolderDetailsOptions as UpdateFolderDetailsOptions, type context_UpdateFolderDetailsRequest as UpdateFolderDetailsRequest, type context_UpdateFolderDetailsResponse as UpdateFolderDetailsResponse, type context_UpdateFolderDetailsResponseNonNullableFields as UpdateFolderDetailsResponseNonNullableFields, type context_UpdateFolderRequest as UpdateFolderRequest, type context_UpdateFolderResponse as UpdateFolderResponse, type context_UpdateReferenceInfoRequest as UpdateReferenceInfoRequest, type context_UpdateReferenceInfoResponse as UpdateReferenceInfoResponse, context_WebhookIdentityType as WebhookIdentityType, context_createCollectionReference as createCollectionReference, context_createFolder as createFolder, context_deleteCollectionReference as deleteCollectionReference, context_deleteFolder as deleteFolder, context_getCollectionReferences as getCollectionReferences, context_getFolder as getFolder, context_moveFolder as moveFolder, context_search as search, context_updateFolderDetails as updateFolderDetails };
1362
1347
  }
1363
1348
 
1364
1349
  export { context as autocms };