@wix/media 1.0.106 → 1.0.108

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.
@@ -293,6 +293,7 @@ interface EnterpriseCategoryCreatedEnvelope {
293
293
  metadata: EventMetadata$3;
294
294
  }
295
295
  interface EnterpriseCategoryDeletedEnvelope {
296
+ entity: EnterpriseCategory;
296
297
  metadata: EventMetadata$3;
297
298
  }
298
299
  interface EnterpriseCategoryUpdatedEnvelope {
@@ -379,19 +380,41 @@ declare global {
379
380
  }
380
381
  }
381
382
 
383
+ declare function createCategory$1(httpClient: HttpClient): (category: EnterpriseCategory) => Promise<EnterpriseCategory & EnterpriseCategoryNonNullableFields>;
384
+ declare function deleteCategory$1(httpClient: HttpClient): (categoryId: string) => Promise<void>;
385
+ declare function updateCategory$1(httpClient: HttpClient): (_id: string, category: UpdateCategory) => Promise<EnterpriseCategory & EnterpriseCategoryNonNullableFields>;
386
+ declare function getCategory$1(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions) => Promise<EnterpriseCategoryTree & EnterpriseCategoryTreeNonNullableFields>;
387
+ declare function enterpriseOnboarding$1(httpClient: HttpClient): (accountId: string, options?: EnterpriseOnboardingOptions) => Promise<EnterpriseOnboardingResponse & EnterpriseOnboardingResponseNonNullableFields>;
388
+ declare function getMediaManagerCategories$1(httpClient: HttpClient): () => Promise<GetMediaManagerCategoriesResponse & GetMediaManagerCategoriesResponseNonNullableFields>;
389
+ declare const onEnterpriseCategoryCreated$1: EventDefinition<EnterpriseCategoryCreatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_category_created">;
390
+ declare const onEnterpriseCategoryDeleted$1: EventDefinition<EnterpriseCategoryDeletedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_category_deleted">;
391
+ declare const onEnterpriseCategoryUpdated$1: EventDefinition<EnterpriseCategoryUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_category_updated">;
392
+
382
393
  declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
383
394
 
384
395
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
385
396
 
386
- declare const createCategory: ReturnType<typeof createRESTModule$3<typeof publicCreateCategory>>;
387
- declare const deleteCategory: ReturnType<typeof createRESTModule$3<typeof publicDeleteCategory>>;
388
- declare const updateCategory: ReturnType<typeof createRESTModule$3<typeof publicUpdateCategory>>;
389
- declare const getCategory: ReturnType<typeof createRESTModule$3<typeof publicGetCategory>>;
390
- declare const enterpriseOnboarding: ReturnType<typeof createRESTModule$3<typeof publicEnterpriseOnboarding>>;
391
- declare const getMediaManagerCategories: ReturnType<typeof createRESTModule$3<typeof publicGetMediaManagerCategories>>;
392
- declare const onEnterpriseCategoryCreated: ReturnType<typeof createEventModule$3<typeof publicOnEnterpriseCategoryCreated>>;
393
- declare const onEnterpriseCategoryDeleted: ReturnType<typeof createEventModule$3<typeof publicOnEnterpriseCategoryDeleted>>;
394
- declare const onEnterpriseCategoryUpdated: ReturnType<typeof createEventModule$3<typeof publicOnEnterpriseCategoryUpdated>>;
397
+ type _publicCreateCategoryType = typeof createCategory$1;
398
+ declare const createCategory: ReturnType<typeof createRESTModule$3<_publicCreateCategoryType>>;
399
+ type _publicDeleteCategoryType = typeof deleteCategory$1;
400
+ declare const deleteCategory: ReturnType<typeof createRESTModule$3<_publicDeleteCategoryType>>;
401
+ type _publicUpdateCategoryType = typeof updateCategory$1;
402
+ declare const updateCategory: ReturnType<typeof createRESTModule$3<_publicUpdateCategoryType>>;
403
+ type _publicGetCategoryType = typeof getCategory$1;
404
+ declare const getCategory: ReturnType<typeof createRESTModule$3<_publicGetCategoryType>>;
405
+ type _publicEnterpriseOnboardingType = typeof enterpriseOnboarding$1;
406
+ declare const enterpriseOnboarding: ReturnType<typeof createRESTModule$3<_publicEnterpriseOnboardingType>>;
407
+ type _publicGetMediaManagerCategoriesType = typeof getMediaManagerCategories$1;
408
+ declare const getMediaManagerCategories: ReturnType<typeof createRESTModule$3<_publicGetMediaManagerCategoriesType>>;
409
+
410
+ type _publicOnEnterpriseCategoryCreatedType = typeof onEnterpriseCategoryCreated$1;
411
+ declare const onEnterpriseCategoryCreated: ReturnType<typeof createEventModule$3<_publicOnEnterpriseCategoryCreatedType>>;
412
+
413
+ type _publicOnEnterpriseCategoryDeletedType = typeof onEnterpriseCategoryDeleted$1;
414
+ declare const onEnterpriseCategoryDeleted: ReturnType<typeof createEventModule$3<_publicOnEnterpriseCategoryDeletedType>>;
415
+
416
+ type _publicOnEnterpriseCategoryUpdatedType = typeof onEnterpriseCategoryUpdated$1;
417
+ declare const onEnterpriseCategoryUpdated: ReturnType<typeof createEventModule$3<_publicOnEnterpriseCategoryUpdatedType>>;
395
418
 
396
419
  type context$3_CreateCategoryRequest = CreateCategoryRequest;
397
420
  type context$3_CreateCategoryResponse = CreateCategoryResponse;
@@ -424,6 +447,15 @@ type context$3_UpdateCategory = UpdateCategory;
424
447
  type context$3_UpdateCategoryRequest = UpdateCategoryRequest;
425
448
  type context$3_UpdateCategoryResponse = UpdateCategoryResponse;
426
449
  type context$3_UpdateCategoryResponseNonNullableFields = UpdateCategoryResponseNonNullableFields;
450
+ type context$3__publicCreateCategoryType = _publicCreateCategoryType;
451
+ type context$3__publicDeleteCategoryType = _publicDeleteCategoryType;
452
+ type context$3__publicEnterpriseOnboardingType = _publicEnterpriseOnboardingType;
453
+ type context$3__publicGetCategoryType = _publicGetCategoryType;
454
+ type context$3__publicGetMediaManagerCategoriesType = _publicGetMediaManagerCategoriesType;
455
+ type context$3__publicOnEnterpriseCategoryCreatedType = _publicOnEnterpriseCategoryCreatedType;
456
+ type context$3__publicOnEnterpriseCategoryDeletedType = _publicOnEnterpriseCategoryDeletedType;
457
+ type context$3__publicOnEnterpriseCategoryUpdatedType = _publicOnEnterpriseCategoryUpdatedType;
458
+ type context$3__publicUpdateCategoryType = _publicUpdateCategoryType;
427
459
  declare const context$3_createCategory: typeof createCategory;
428
460
  declare const context$3_deleteCategory: typeof deleteCategory;
429
461
  declare const context$3_enterpriseOnboarding: typeof enterpriseOnboarding;
@@ -434,7 +466,7 @@ declare const context$3_onEnterpriseCategoryDeleted: typeof onEnterpriseCategory
434
466
  declare const context$3_onEnterpriseCategoryUpdated: typeof onEnterpriseCategoryUpdated;
435
467
  declare const context$3_updateCategory: typeof updateCategory;
436
468
  declare namespace context$3 {
437
- export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$3 as BaseEventMetadata, type context$3_CreateCategoryRequest as CreateCategoryRequest, type context$3_CreateCategoryResponse as CreateCategoryResponse, type context$3_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type context$3_DeleteCategoryRequest as DeleteCategoryRequest, type context$3_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$3_EnterpriseCategory as EnterpriseCategory, type context$3_EnterpriseCategoryCreatedEnvelope as EnterpriseCategoryCreatedEnvelope, type context$3_EnterpriseCategoryDeletedEnvelope as EnterpriseCategoryDeletedEnvelope, type context$3_EnterpriseCategoryNonNullableFields as EnterpriseCategoryNonNullableFields, type context$3_EnterpriseCategoryTree as EnterpriseCategoryTree, type context$3_EnterpriseCategoryTreeNonNullableFields as EnterpriseCategoryTreeNonNullableFields, type context$3_EnterpriseCategoryUpdatedEnvelope as EnterpriseCategoryUpdatedEnvelope, type context$3_EnterpriseOnboardingOptions as EnterpriseOnboardingOptions, type context$3_EnterpriseOnboardingRequest as EnterpriseOnboardingRequest, type context$3_EnterpriseOnboardingResponse as EnterpriseOnboardingResponse, type context$3_EnterpriseOnboardingResponseNonNullableFields as EnterpriseOnboardingResponseNonNullableFields, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type context$3_GetCategoryOptions as GetCategoryOptions, type context$3_GetCategoryRequest as GetCategoryRequest, type context$3_GetCategoryResponse as GetCategoryResponse, type context$3_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context$3_GetMediaManagerCategoriesRequest as GetMediaManagerCategoriesRequest, type context$3_GetMediaManagerCategoriesResponse as GetMediaManagerCategoriesResponse, type context$3_GetMediaManagerCategoriesResponseNonNullableFields as GetMediaManagerCategoriesResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_LinkItemsToCategoryRequest as LinkItemsToCategoryRequest, type context$3_LinkItemsToCategoryResponse as LinkItemsToCategoryResponse, MediaType$2 as MediaType, type MessageEnvelope$3 as MessageEnvelope, PublishStatus$1 as PublishStatus, type context$3_UnlinkItemsFromCategoryRequest as UnlinkItemsFromCategoryRequest, type context$3_UnlinkItemsFromCategoryResponse as UnlinkItemsFromCategoryResponse, type context$3_UpdateCategory as UpdateCategory, type context$3_UpdateCategoryRequest as UpdateCategoryRequest, type context$3_UpdateCategoryResponse as UpdateCategoryResponse, type context$3_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, context$3_createCategory as createCategory, context$3_deleteCategory as deleteCategory, context$3_enterpriseOnboarding as enterpriseOnboarding, context$3_getCategory as getCategory, context$3_getMediaManagerCategories as getMediaManagerCategories, context$3_onEnterpriseCategoryCreated as onEnterpriseCategoryCreated, context$3_onEnterpriseCategoryDeleted as onEnterpriseCategoryDeleted, context$3_onEnterpriseCategoryUpdated as onEnterpriseCategoryUpdated, context$3_updateCategory as updateCategory };
469
+ export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$3 as BaseEventMetadata, type context$3_CreateCategoryRequest as CreateCategoryRequest, type context$3_CreateCategoryResponse as CreateCategoryResponse, type context$3_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type context$3_DeleteCategoryRequest as DeleteCategoryRequest, type context$3_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$3_EnterpriseCategory as EnterpriseCategory, type context$3_EnterpriseCategoryCreatedEnvelope as EnterpriseCategoryCreatedEnvelope, type context$3_EnterpriseCategoryDeletedEnvelope as EnterpriseCategoryDeletedEnvelope, type context$3_EnterpriseCategoryNonNullableFields as EnterpriseCategoryNonNullableFields, type context$3_EnterpriseCategoryTree as EnterpriseCategoryTree, type context$3_EnterpriseCategoryTreeNonNullableFields as EnterpriseCategoryTreeNonNullableFields, type context$3_EnterpriseCategoryUpdatedEnvelope as EnterpriseCategoryUpdatedEnvelope, type context$3_EnterpriseOnboardingOptions as EnterpriseOnboardingOptions, type context$3_EnterpriseOnboardingRequest as EnterpriseOnboardingRequest, type context$3_EnterpriseOnboardingResponse as EnterpriseOnboardingResponse, type context$3_EnterpriseOnboardingResponseNonNullableFields as EnterpriseOnboardingResponseNonNullableFields, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type context$3_GetCategoryOptions as GetCategoryOptions, type context$3_GetCategoryRequest as GetCategoryRequest, type context$3_GetCategoryResponse as GetCategoryResponse, type context$3_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context$3_GetMediaManagerCategoriesRequest as GetMediaManagerCategoriesRequest, type context$3_GetMediaManagerCategoriesResponse as GetMediaManagerCategoriesResponse, type context$3_GetMediaManagerCategoriesResponseNonNullableFields as GetMediaManagerCategoriesResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_LinkItemsToCategoryRequest as LinkItemsToCategoryRequest, type context$3_LinkItemsToCategoryResponse as LinkItemsToCategoryResponse, MediaType$2 as MediaType, type MessageEnvelope$3 as MessageEnvelope, PublishStatus$1 as PublishStatus, type context$3_UnlinkItemsFromCategoryRequest as UnlinkItemsFromCategoryRequest, type context$3_UnlinkItemsFromCategoryResponse as UnlinkItemsFromCategoryResponse, type context$3_UpdateCategory as UpdateCategory, type context$3_UpdateCategoryRequest as UpdateCategoryRequest, type context$3_UpdateCategoryResponse as UpdateCategoryResponse, type context$3_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicCreateCategoryType as _publicCreateCategoryType, type context$3__publicDeleteCategoryType as _publicDeleteCategoryType, type context$3__publicEnterpriseOnboardingType as _publicEnterpriseOnboardingType, type context$3__publicGetCategoryType as _publicGetCategoryType, type context$3__publicGetMediaManagerCategoriesType as _publicGetMediaManagerCategoriesType, type context$3__publicOnEnterpriseCategoryCreatedType as _publicOnEnterpriseCategoryCreatedType, type context$3__publicOnEnterpriseCategoryDeletedType as _publicOnEnterpriseCategoryDeletedType, type context$3__publicOnEnterpriseCategoryUpdatedType as _publicOnEnterpriseCategoryUpdatedType, type context$3__publicUpdateCategoryType as _publicUpdateCategoryType, context$3_createCategory as createCategory, context$3_deleteCategory as deleteCategory, context$3_enterpriseOnboarding as enterpriseOnboarding, context$3_getCategory as getCategory, context$3_getMediaManagerCategories as getMediaManagerCategories, context$3_onEnterpriseCategoryCreated as onEnterpriseCategoryCreated, context$3_onEnterpriseCategoryDeleted as onEnterpriseCategoryDeleted, context$3_onEnterpriseCategoryUpdated as onEnterpriseCategoryUpdated, onEnterpriseCategoryCreated$1 as publicOnEnterpriseCategoryCreated, onEnterpriseCategoryDeleted$1 as publicOnEnterpriseCategoryDeleted, onEnterpriseCategoryUpdated$1 as publicOnEnterpriseCategoryUpdated, context$3_updateCategory as updateCategory };
438
470
  }
439
471
 
440
472
  /**
@@ -884,7 +916,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
884
916
  slug?: string;
885
917
  /** ID of the entity associated with the event. */
886
918
  entityId?: string;
887
- /** Event timestamp. */
919
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
888
920
  eventTime?: Date;
889
921
  /**
890
922
  * Whether the event was triggered as a result of a privacy regulation application
@@ -913,6 +945,9 @@ interface DomainEventBodyOneOf$2 {
913
945
  interface EntityCreatedEvent$2 {
914
946
  entity?: string;
915
947
  }
948
+ interface RestoreInfo$2 {
949
+ deletedDate?: Date;
950
+ }
916
951
  interface EntityUpdatedEvent$2 {
917
952
  /**
918
953
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -1059,7 +1094,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
1059
1094
  slug?: string;
1060
1095
  /** ID of the entity associated with the event. */
1061
1096
  entityId?: string;
1062
- /** Event timestamp. */
1097
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1063
1098
  eventTime?: Date;
1064
1099
  /**
1065
1100
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1261,25 +1296,60 @@ interface OverwriteItemCategoriesOptions {
1261
1296
  categoryIds?: string[];
1262
1297
  }
1263
1298
 
1299
+ declare function itemUploadCallback$1(httpClient: HttpClient): (options?: ItemUploadCallbackOptions) => Promise<void>;
1300
+ declare function generateFileUploadUrl$3(httpClient: HttpClient): (options?: GenerateFileUploadUrlOptions$1) => Promise<GenerateFileUploadUrlResponse$1 & GenerateFileUploadUrlResponseNonNullableFields$1>;
1301
+ declare function importFile$3(httpClient: HttpClient): (url: string, options?: ImportFileOptions$1) => Promise<ImportFileResponse$1 & ImportFileResponseNonNullableFields$1>;
1302
+ declare function searchItems$1(httpClient: HttpClient): (options?: SearchItemsOptions) => Promise<SearchItemsResponse & SearchItemsResponseNonNullableFields>;
1303
+ declare function queryItems$1(httpClient: HttpClient): () => ItemsQueryBuilder;
1304
+ declare function updateItem$1(httpClient: HttpClient): (_id: string, item: UpdateItem) => Promise<EnterpriseMediaItem & EnterpriseMediaItemNonNullableFields>;
1305
+ declare function bulkUpdateItem$1(httpClient: HttpClient): (updateItemRequests: UpdateItemRequest[], options?: BulkUpdateItemOptions) => Promise<BulkUpdateItemResponse & BulkUpdateItemResponseNonNullableFields>;
1306
+ declare function getItem$1(httpClient: HttpClient): (itemId: string) => Promise<EnterpriseMediaItem & EnterpriseMediaItemNonNullableFields>;
1307
+ declare function linkItemToCategories$1(httpClient: HttpClient): (itemId: string, options?: LinkItemToCategoriesOptions) => Promise<LinkItemToCategoriesResponse>;
1308
+ declare function unlinkItemFromCategories$1(httpClient: HttpClient): (itemId: string, options?: UnlinkItemFromCategoriesOptions) => Promise<UnlinkItemFromCategoriesResponse>;
1309
+ declare function overwriteItemCategories$1(httpClient: HttpClient): (itemId: string, options?: OverwriteItemCategoriesOptions) => Promise<OverwriteItemCategoriesResponse>;
1310
+ declare const onEnterpriseItemCreated$1: EventDefinition<EnterpriseItemCreatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_created">;
1311
+ declare const onEnterpriseItemUpdated$1: EventDefinition<EnterpriseItemUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_updated">;
1312
+ declare const onEnterpriseItemItemCategoriesChanged$1: EventDefinition<EnterpriseItemItemCategoriesChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_item_categories_changed">;
1313
+ declare const onEnterpriseItemPublishStatusChanged$1: EventDefinition<EnterpriseItemPublishStatusChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_publish_status_changed">;
1314
+
1264
1315
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1265
1316
 
1266
1317
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1267
1318
 
1268
- declare const itemUploadCallback: ReturnType<typeof createRESTModule$2<typeof publicItemUploadCallback>>;
1269
- declare const generateFileUploadUrl$1: ReturnType<typeof createRESTModule$2<typeof publicGenerateFileUploadUrl>>;
1270
- declare const importFile$1: ReturnType<typeof createRESTModule$2<typeof publicImportFile>>;
1271
- declare const searchItems: ReturnType<typeof createRESTModule$2<typeof publicSearchItems>>;
1272
- declare const queryItems: ReturnType<typeof createRESTModule$2<typeof publicQueryItems>>;
1273
- declare const updateItem: ReturnType<typeof createRESTModule$2<typeof publicUpdateItem>>;
1274
- declare const bulkUpdateItem: ReturnType<typeof createRESTModule$2<typeof publicBulkUpdateItem>>;
1275
- declare const getItem: ReturnType<typeof createRESTModule$2<typeof publicGetItem>>;
1276
- declare const linkItemToCategories: ReturnType<typeof createRESTModule$2<typeof publicLinkItemToCategories>>;
1277
- declare const unlinkItemFromCategories: ReturnType<typeof createRESTModule$2<typeof publicUnlinkItemFromCategories>>;
1278
- declare const overwriteItemCategories: ReturnType<typeof createRESTModule$2<typeof publicOverwriteItemCategories>>;
1279
- declare const onEnterpriseItemCreated: ReturnType<typeof createEventModule$2<typeof publicOnEnterpriseItemCreated>>;
1280
- declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<typeof publicOnEnterpriseItemUpdated>>;
1281
- declare const onEnterpriseItemItemCategoriesChanged: ReturnType<typeof createEventModule$2<typeof publicOnEnterpriseItemItemCategoriesChanged>>;
1282
- declare const onEnterpriseItemPublishStatusChanged: ReturnType<typeof createEventModule$2<typeof publicOnEnterpriseItemPublishStatusChanged>>;
1319
+ type _publicItemUploadCallbackType = typeof itemUploadCallback$1;
1320
+ declare const itemUploadCallback: ReturnType<typeof createRESTModule$2<_publicItemUploadCallbackType>>;
1321
+ type _publicGenerateFileUploadUrlType$1 = typeof generateFileUploadUrl$3;
1322
+ declare const generateFileUploadUrl$2: ReturnType<typeof createRESTModule$2<_publicGenerateFileUploadUrlType>>;
1323
+ type _publicImportFileType$1 = typeof importFile$3;
1324
+ declare const importFile$2: ReturnType<typeof createRESTModule$2<_publicImportFileType>>;
1325
+ type _publicSearchItemsType = typeof searchItems$1;
1326
+ declare const searchItems: ReturnType<typeof createRESTModule$2<_publicSearchItemsType>>;
1327
+ type _publicQueryItemsType = typeof queryItems$1;
1328
+ declare const queryItems: ReturnType<typeof createRESTModule$2<_publicQueryItemsType>>;
1329
+ type _publicUpdateItemType = typeof updateItem$1;
1330
+ declare const updateItem: ReturnType<typeof createRESTModule$2<_publicUpdateItemType>>;
1331
+ type _publicBulkUpdateItemType = typeof bulkUpdateItem$1;
1332
+ declare const bulkUpdateItem: ReturnType<typeof createRESTModule$2<_publicBulkUpdateItemType>>;
1333
+ type _publicGetItemType = typeof getItem$1;
1334
+ declare const getItem: ReturnType<typeof createRESTModule$2<_publicGetItemType>>;
1335
+ type _publicLinkItemToCategoriesType = typeof linkItemToCategories$1;
1336
+ declare const linkItemToCategories: ReturnType<typeof createRESTModule$2<_publicLinkItemToCategoriesType>>;
1337
+ type _publicUnlinkItemFromCategoriesType = typeof unlinkItemFromCategories$1;
1338
+ declare const unlinkItemFromCategories: ReturnType<typeof createRESTModule$2<_publicUnlinkItemFromCategoriesType>>;
1339
+ type _publicOverwriteItemCategoriesType = typeof overwriteItemCategories$1;
1340
+ declare const overwriteItemCategories: ReturnType<typeof createRESTModule$2<_publicOverwriteItemCategoriesType>>;
1341
+
1342
+ type _publicOnEnterpriseItemCreatedType = typeof onEnterpriseItemCreated$1;
1343
+ declare const onEnterpriseItemCreated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemCreatedType>>;
1344
+
1345
+ type _publicOnEnterpriseItemUpdatedType = typeof onEnterpriseItemUpdated$1;
1346
+ declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemUpdatedType>>;
1347
+
1348
+ type _publicOnEnterpriseItemItemCategoriesChangedType = typeof onEnterpriseItemItemCategoriesChanged$1;
1349
+ declare const onEnterpriseItemItemCategoriesChanged: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemItemCategoriesChangedType>>;
1350
+
1351
+ type _publicOnEnterpriseItemPublishStatusChangedType = typeof onEnterpriseItemPublishStatusChanged$1;
1352
+ declare const onEnterpriseItemPublishStatusChanged: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemPublishStatusChangedType>>;
1283
1353
 
1284
1354
  type context$2_BulkItemUpdateResult = BulkItemUpdateResult;
1285
1355
  type context$2_BulkUpdateItemOptions = BulkUpdateItemOptions;
@@ -1332,6 +1402,19 @@ type context$2_UpdateItem = UpdateItem;
1332
1402
  type context$2_UpdateItemRequest = UpdateItemRequest;
1333
1403
  type context$2_UpdateItemResponse = UpdateItemResponse;
1334
1404
  type context$2_UpdateItemResponseNonNullableFields = UpdateItemResponseNonNullableFields;
1405
+ type context$2__publicBulkUpdateItemType = _publicBulkUpdateItemType;
1406
+ type context$2__publicGetItemType = _publicGetItemType;
1407
+ type context$2__publicItemUploadCallbackType = _publicItemUploadCallbackType;
1408
+ type context$2__publicLinkItemToCategoriesType = _publicLinkItemToCategoriesType;
1409
+ type context$2__publicOnEnterpriseItemCreatedType = _publicOnEnterpriseItemCreatedType;
1410
+ type context$2__publicOnEnterpriseItemItemCategoriesChangedType = _publicOnEnterpriseItemItemCategoriesChangedType;
1411
+ type context$2__publicOnEnterpriseItemPublishStatusChangedType = _publicOnEnterpriseItemPublishStatusChangedType;
1412
+ type context$2__publicOnEnterpriseItemUpdatedType = _publicOnEnterpriseItemUpdatedType;
1413
+ type context$2__publicOverwriteItemCategoriesType = _publicOverwriteItemCategoriesType;
1414
+ type context$2__publicQueryItemsType = _publicQueryItemsType;
1415
+ type context$2__publicSearchItemsType = _publicSearchItemsType;
1416
+ type context$2__publicUnlinkItemFromCategoriesType = _publicUnlinkItemFromCategoriesType;
1417
+ type context$2__publicUpdateItemType = _publicUpdateItemType;
1335
1418
  declare const context$2_bulkUpdateItem: typeof bulkUpdateItem;
1336
1419
  declare const context$2_getItem: typeof getItem;
1337
1420
  declare const context$2_itemUploadCallback: typeof itemUploadCallback;
@@ -1346,7 +1429,7 @@ declare const context$2_searchItems: typeof searchItems;
1346
1429
  declare const context$2_unlinkItemFromCategories: typeof unlinkItemFromCategories;
1347
1430
  declare const context$2_updateItem: typeof updateItem;
1348
1431
  declare namespace context$2 {
1349
- export { type ActionEvent$2 as ActionEvent, type ApplicationError$1 as ApplicationError, type Archive$1 as Archive, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$2_BulkItemUpdateResult as BulkItemUpdateResult, type context$2_BulkUpdateItemOptions as BulkUpdateItemOptions, type context$2_BulkUpdateItemRequest as BulkUpdateItemRequest, type context$2_BulkUpdateItemResponse as BulkUpdateItemResponse, type context$2_BulkUpdateItemResponseNonNullableFields as BulkUpdateItemResponseNonNullableFields, type Cursors$2 as Cursors, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type context$2_EnterpriseItemCreatedEnvelope as EnterpriseItemCreatedEnvelope, type context$2_EnterpriseItemItemCategoriesChangedEnvelope as EnterpriseItemItemCategoriesChangedEnvelope, type context$2_EnterpriseItemPublishStatusChangedEnvelope as EnterpriseItemPublishStatusChangedEnvelope, type context$2_EnterpriseItemUpdatedEnvelope as EnterpriseItemUpdatedEnvelope, type context$2_EnterpriseMediaItem as EnterpriseMediaItem, type context$2_EnterpriseMediaItemNonNullableFields as EnterpriseMediaItemNonNullableFields, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type GenerateFileUploadUrlOptions$1 as GenerateFileUploadUrlOptions, type GenerateFileUploadUrlRequest$1 as GenerateFileUploadUrlRequest, type GenerateFileUploadUrlResponse$1 as GenerateFileUploadUrlResponse, type GenerateFileUploadUrlResponseNonNullableFields$1 as GenerateFileUploadUrlResponseNonNullableFields, type context$2_GetItemRequest as GetItemRequest, type context$2_GetItemResponse as GetItemResponse, type context$2_GetItemResponseNonNullableFields as GetItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type ImportFileOptions$1 as ImportFileOptions, type ImportFileRequest$1 as ImportFileRequest, type ImportFileResponse$1 as ImportFileResponse, type ImportFileResponseNonNullableFields$1 as ImportFileResponseNonNullableFields, type context$2_ItemAssets as ItemAssets, type context$2_ItemAssetsAssetsOneOf as ItemAssetsAssetsOneOf, type context$2_ItemCategoriesChanged as ItemCategoriesChanged, type ItemMetadata$1 as ItemMetadata, type context$2_ItemUploadCallbackOptions as ItemUploadCallbackOptions, type context$2_ItemUploadCallbackRequest as ItemUploadCallbackRequest, type context$2_ItemUploadCallbackResponse as ItemUploadCallbackResponse, type context$2_ItemsQueryBuilder as ItemsQueryBuilder, type context$2_ItemsQueryResult as ItemsQueryResult, type context$2_LinkItemToCategoriesOptions as LinkItemToCategoriesOptions, type context$2_LinkItemToCategoriesRequest as LinkItemToCategoriesRequest, type context$2_LinkItemToCategoriesResponse as LinkItemToCategoriesResponse, MediaType$1 as MediaType, type MessageEnvelope$2 as MessageEnvelope, type Model3D$1 as Model3D, type context$2_OverwriteItemCategoriesOptions as OverwriteItemCategoriesOptions, type context$2_OverwriteItemCategoriesRequest as OverwriteItemCategoriesRequest, type context$2_OverwriteItemCategoriesResponse as OverwriteItemCategoriesResponse, type context$2_Paging as Paging, type PagingMetadataV2$2 as PagingMetadataV2, context$2_PublishStatus as PublishStatus, type context$2_PublishStatusChanged as PublishStatusChanged, type context$2_QueryItemsRequest as QueryItemsRequest, type context$2_QueryItemsResponse as QueryItemsResponse, type context$2_QueryItemsResponseNonNullableFields as QueryItemsResponseNonNullableFields, type context$2_QueryV2 as QueryV2, type context$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$2_Search as Search, type context$2_SearchDetails as SearchDetails, type context$2_SearchItemsOptions as SearchItemsOptions, type context$2_SearchItemsRequest as SearchItemsRequest, type context$2_SearchItemsResponse as SearchItemsResponse, type context$2_SearchItemsResponseNonNullableFields as SearchItemsResponseNonNullableFields, type context$2_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$2_UnlinkItemFromCategoriesOptions as UnlinkItemFromCategoriesOptions, type context$2_UnlinkItemFromCategoriesRequest as UnlinkItemFromCategoriesRequest, type context$2_UnlinkItemFromCategoriesResponse as UnlinkItemFromCategoriesResponse, type context$2_UpdateItem as UpdateItem, type context$2_UpdateItemRequest as UpdateItemRequest, type context$2_UpdateItemResponse as UpdateItemResponse, type context$2_UpdateItemResponseNonNullableFields as UpdateItemResponseNonNullableFields, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, context$2_bulkUpdateItem as bulkUpdateItem, generateFileUploadUrl$1 as generateFileUploadUrl, context$2_getItem as getItem, importFile$1 as importFile, context$2_itemUploadCallback as itemUploadCallback, context$2_linkItemToCategories as linkItemToCategories, context$2_onEnterpriseItemCreated as onEnterpriseItemCreated, context$2_onEnterpriseItemItemCategoriesChanged as onEnterpriseItemItemCategoriesChanged, context$2_onEnterpriseItemPublishStatusChanged as onEnterpriseItemPublishStatusChanged, context$2_onEnterpriseItemUpdated as onEnterpriseItemUpdated, context$2_overwriteItemCategories as overwriteItemCategories, context$2_queryItems as queryItems, context$2_searchItems as searchItems, context$2_unlinkItemFromCategories as unlinkItemFromCategories, context$2_updateItem as updateItem };
1432
+ export { type ActionEvent$2 as ActionEvent, type ApplicationError$1 as ApplicationError, type Archive$1 as Archive, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$2_BulkItemUpdateResult as BulkItemUpdateResult, type context$2_BulkUpdateItemOptions as BulkUpdateItemOptions, type context$2_BulkUpdateItemRequest as BulkUpdateItemRequest, type context$2_BulkUpdateItemResponse as BulkUpdateItemResponse, type context$2_BulkUpdateItemResponseNonNullableFields as BulkUpdateItemResponseNonNullableFields, type Cursors$2 as Cursors, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type context$2_EnterpriseItemCreatedEnvelope as EnterpriseItemCreatedEnvelope, type context$2_EnterpriseItemItemCategoriesChangedEnvelope as EnterpriseItemItemCategoriesChangedEnvelope, type context$2_EnterpriseItemPublishStatusChangedEnvelope as EnterpriseItemPublishStatusChangedEnvelope, type context$2_EnterpriseItemUpdatedEnvelope as EnterpriseItemUpdatedEnvelope, type context$2_EnterpriseMediaItem as EnterpriseMediaItem, type context$2_EnterpriseMediaItemNonNullableFields as EnterpriseMediaItemNonNullableFields, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type GenerateFileUploadUrlOptions$1 as GenerateFileUploadUrlOptions, type GenerateFileUploadUrlRequest$1 as GenerateFileUploadUrlRequest, type GenerateFileUploadUrlResponse$1 as GenerateFileUploadUrlResponse, type GenerateFileUploadUrlResponseNonNullableFields$1 as GenerateFileUploadUrlResponseNonNullableFields, type context$2_GetItemRequest as GetItemRequest, type context$2_GetItemResponse as GetItemResponse, type context$2_GetItemResponseNonNullableFields as GetItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type ImportFileOptions$1 as ImportFileOptions, type ImportFileRequest$1 as ImportFileRequest, type ImportFileResponse$1 as ImportFileResponse, type ImportFileResponseNonNullableFields$1 as ImportFileResponseNonNullableFields, type context$2_ItemAssets as ItemAssets, type context$2_ItemAssetsAssetsOneOf as ItemAssetsAssetsOneOf, type context$2_ItemCategoriesChanged as ItemCategoriesChanged, type ItemMetadata$1 as ItemMetadata, type context$2_ItemUploadCallbackOptions as ItemUploadCallbackOptions, type context$2_ItemUploadCallbackRequest as ItemUploadCallbackRequest, type context$2_ItemUploadCallbackResponse as ItemUploadCallbackResponse, type context$2_ItemsQueryBuilder as ItemsQueryBuilder, type context$2_ItemsQueryResult as ItemsQueryResult, type context$2_LinkItemToCategoriesOptions as LinkItemToCategoriesOptions, type context$2_LinkItemToCategoriesRequest as LinkItemToCategoriesRequest, type context$2_LinkItemToCategoriesResponse as LinkItemToCategoriesResponse, MediaType$1 as MediaType, type MessageEnvelope$2 as MessageEnvelope, type Model3D$1 as Model3D, type context$2_OverwriteItemCategoriesOptions as OverwriteItemCategoriesOptions, type context$2_OverwriteItemCategoriesRequest as OverwriteItemCategoriesRequest, type context$2_OverwriteItemCategoriesResponse as OverwriteItemCategoriesResponse, type context$2_Paging as Paging, type PagingMetadataV2$2 as PagingMetadataV2, context$2_PublishStatus as PublishStatus, type context$2_PublishStatusChanged as PublishStatusChanged, type context$2_QueryItemsRequest as QueryItemsRequest, type context$2_QueryItemsResponse as QueryItemsResponse, type context$2_QueryItemsResponseNonNullableFields as QueryItemsResponseNonNullableFields, type context$2_QueryV2 as QueryV2, type context$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RestoreInfo$2 as RestoreInfo, type context$2_Search as Search, type context$2_SearchDetails as SearchDetails, type context$2_SearchItemsOptions as SearchItemsOptions, type context$2_SearchItemsRequest as SearchItemsRequest, type context$2_SearchItemsResponse as SearchItemsResponse, type context$2_SearchItemsResponseNonNullableFields as SearchItemsResponseNonNullableFields, type context$2_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$2_UnlinkItemFromCategoriesOptions as UnlinkItemFromCategoriesOptions, type context$2_UnlinkItemFromCategoriesRequest as UnlinkItemFromCategoriesRequest, type context$2_UnlinkItemFromCategoriesResponse as UnlinkItemFromCategoriesResponse, type context$2_UpdateItem as UpdateItem, type context$2_UpdateItemRequest as UpdateItemRequest, type context$2_UpdateItemResponse as UpdateItemResponse, type context$2_UpdateItemResponseNonNullableFields as UpdateItemResponseNonNullableFields, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicBulkUpdateItemType as _publicBulkUpdateItemType, type _publicGenerateFileUploadUrlType$1 as _publicGenerateFileUploadUrlType, type context$2__publicGetItemType as _publicGetItemType, type _publicImportFileType$1 as _publicImportFileType, type context$2__publicItemUploadCallbackType as _publicItemUploadCallbackType, type context$2__publicLinkItemToCategoriesType as _publicLinkItemToCategoriesType, type context$2__publicOnEnterpriseItemCreatedType as _publicOnEnterpriseItemCreatedType, type context$2__publicOnEnterpriseItemItemCategoriesChangedType as _publicOnEnterpriseItemItemCategoriesChangedType, type context$2__publicOnEnterpriseItemPublishStatusChangedType as _publicOnEnterpriseItemPublishStatusChangedType, type context$2__publicOnEnterpriseItemUpdatedType as _publicOnEnterpriseItemUpdatedType, type context$2__publicOverwriteItemCategoriesType as _publicOverwriteItemCategoriesType, type context$2__publicQueryItemsType as _publicQueryItemsType, type context$2__publicSearchItemsType as _publicSearchItemsType, type context$2__publicUnlinkItemFromCategoriesType as _publicUnlinkItemFromCategoriesType, type context$2__publicUpdateItemType as _publicUpdateItemType, context$2_bulkUpdateItem as bulkUpdateItem, generateFileUploadUrl$2 as generateFileUploadUrl, context$2_getItem as getItem, importFile$2 as importFile, context$2_itemUploadCallback as itemUploadCallback, context$2_linkItemToCategories as linkItemToCategories, context$2_onEnterpriseItemCreated as onEnterpriseItemCreated, context$2_onEnterpriseItemItemCategoriesChanged as onEnterpriseItemItemCategoriesChanged, context$2_onEnterpriseItemPublishStatusChanged as onEnterpriseItemPublishStatusChanged, context$2_onEnterpriseItemUpdated as onEnterpriseItemUpdated, context$2_overwriteItemCategories as overwriteItemCategories, onEnterpriseItemCreated$1 as publicOnEnterpriseItemCreated, onEnterpriseItemItemCategoriesChanged$1 as publicOnEnterpriseItemItemCategoriesChanged, onEnterpriseItemPublishStatusChanged$1 as publicOnEnterpriseItemPublishStatusChanged, onEnterpriseItemUpdated$1 as publicOnEnterpriseItemUpdated, context$2_queryItems as queryItems, context$2_searchItems as searchItems, context$2_unlinkItemFromCategories as unlinkItemFromCategories, context$2_updateItem as updateItem };
1350
1433
  }
1351
1434
 
1352
1435
  interface FileDescriptor {
@@ -1491,11 +1574,6 @@ interface ImageMedia {
1491
1574
  * @readonly
1492
1575
  */
1493
1576
  caption?: string | null;
1494
- /**
1495
- * Optional, return true or false if the image has text, or empty for unknown
1496
- * @readonly
1497
- */
1498
- containsText?: boolean | null;
1499
1577
  }
1500
1578
  interface Colors {
1501
1579
  /** Main color of the image. */
@@ -1637,6 +1715,8 @@ interface OtherMedia {
1637
1715
  * @readonly
1638
1716
  */
1639
1717
  sizeInBytes?: string | null;
1718
+ /** The file URL. */
1719
+ url?: string;
1640
1720
  }
1641
1721
  declare enum OperationStatus {
1642
1722
  /** File upload or processing failed */
@@ -2357,6 +2437,7 @@ interface Model3DNonNullableFields {
2357
2437
  }
2358
2438
  interface OtherMediaNonNullableFields {
2359
2439
  _id: string;
2440
+ url: string;
2360
2441
  }
2361
2442
  interface FileMediaNonNullableFields {
2362
2443
  image?: ImageMediaNonNullableFields;
@@ -2538,6 +2619,89 @@ interface GenerateFileDownloadUrlOptions {
2538
2619
  */
2539
2620
  contentDisposition?: ContentDisposition;
2540
2621
  }
2622
+ interface UpdateFileDescriptorOptions {
2623
+ file: {
2624
+ /**
2625
+ * File ID. Generated when a file is uploaded to the Media Manager.
2626
+ * @readonly
2627
+ */
2628
+ _id?: string;
2629
+ /** File name as it appears in the Media Manager. */
2630
+ displayName?: string;
2631
+ /**
2632
+ * Static URL of the file.
2633
+ * @readonly
2634
+ */
2635
+ url?: string;
2636
+ /** ID of the file's parent folder. */
2637
+ parentFolderId?: string | null;
2638
+ /**
2639
+ * File hash.
2640
+ * @readonly
2641
+ */
2642
+ hash?: string;
2643
+ /**
2644
+ * Size of the uploaded file in bytes.
2645
+ * @readonly
2646
+ */
2647
+ sizeInBytes?: string | null;
2648
+ /**
2649
+ * Whether the link to the uploaded file is public or private. Private links require a token.
2650
+ * @readonly
2651
+ */
2652
+ private?: boolean;
2653
+ /**
2654
+ * Media file type.
2655
+ * @readonly
2656
+ */
2657
+ mediaType?: MediaType;
2658
+ /**
2659
+ * Media file content.
2660
+ * @readonly
2661
+ */
2662
+ media?: FileMedia;
2663
+ /**
2664
+ * Status of the file that was uploaded.
2665
+ * * `FAILED`: The file failed to upload, for example, during media post processing.
2666
+ * * `READY`: The file uploaded, finished all processing, and is ready for use.
2667
+ * * `PENDING`: The file is processing and the URLs are not yet available. This response is returned when importing a file.
2668
+ * @readonly
2669
+ */
2670
+ operationStatus?: OperationStatus;
2671
+ /**
2672
+ * URL where the file was uploaded from.
2673
+ * @readonly
2674
+ */
2675
+ sourceUrl?: string | null;
2676
+ /**
2677
+ * URL of the file's thumbnail.
2678
+ * @readonly
2679
+ */
2680
+ thumbnailUrl?: string | null;
2681
+ /** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
2682
+ labels?: string[];
2683
+ /**
2684
+ * Date and time the file was created.
2685
+ * @readonly
2686
+ */
2687
+ _createdDate?: Date;
2688
+ /**
2689
+ * Date and time the file was updated.
2690
+ * @readonly
2691
+ */
2692
+ _updatedDate?: Date;
2693
+ /**
2694
+ * The Wix site ID where the media file is stored.
2695
+ * @readonly
2696
+ */
2697
+ siteId?: string;
2698
+ /**
2699
+ * State of the file.
2700
+ * @readonly
2701
+ */
2702
+ state?: State$1;
2703
+ };
2704
+ }
2541
2705
  interface GenerateFileUploadUrlOptions {
2542
2706
  /**
2543
2707
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
@@ -2735,30 +2899,75 @@ interface ListDeletedFilesOptions {
2735
2899
  paging?: CursorPaging$1;
2736
2900
  }
2737
2901
 
2902
+ declare function generateFilesDownloadUrl$1(httpClient: HttpClient): (fileIds: string[]) => Promise<GenerateFilesDownloadUrlResponse & GenerateFilesDownloadUrlResponseNonNullableFields>;
2903
+ declare function generateFileDownloadUrl$1(httpClient: HttpClient): (fileId: string, options?: GenerateFileDownloadUrlOptions) => Promise<GenerateFileDownloadUrlResponse & GenerateFileDownloadUrlResponseNonNullableFields>;
2904
+ declare function getFileDescriptor$1(httpClient: HttpClient): (fileId: string) => Promise<FileDescriptor & FileDescriptorNonNullableFields>;
2905
+ declare function getFileDescriptors$1(httpClient: HttpClient): (fileIds: string[]) => Promise<GetFileDescriptorsResponse & GetFileDescriptorsResponseNonNullableFields>;
2906
+ declare function updateFileDescriptor$1(httpClient: HttpClient): (_id: string, options: UpdateFileDescriptorOptions) => Promise<FileDescriptor & FileDescriptorNonNullableFields>;
2907
+ declare function generateFileUploadUrl$1(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileUploadUrlOptions) => Promise<GenerateFileUploadUrlResponse & GenerateFileUploadUrlResponseNonNullableFields>;
2908
+ declare function generateFileResumableUploadUrl$1(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileResumableUploadUrlOptions) => Promise<GenerateFileResumableUploadUrlResponse & GenerateFileResumableUploadUrlResponseNonNullableFields>;
2909
+ declare function importFile$1(httpClient: HttpClient): (url: string, options?: ImportFileOptions) => Promise<ImportFileResponse & ImportFileResponseNonNullableFields>;
2910
+ declare function bulkImportFiles$1(httpClient: HttpClient): (importFileRequests: ImportFileRequest[]) => Promise<BulkImportFilesResponse & BulkImportFilesResponseNonNullableFields>;
2911
+ declare function bulkImportFile$1(httpClient: HttpClient): (importFileRequests: ImportFileRequest[], options?: BulkImportFileOptions) => Promise<BulkImportFileResponse & BulkImportFileResponseNonNullableFields>;
2912
+ declare function listFiles$1(httpClient: HttpClient): (options?: ListFilesOptions) => Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
2913
+ declare function searchFiles$1(httpClient: HttpClient): (options?: SearchFilesOptions) => Promise<SearchFilesResponse & SearchFilesResponseNonNullableFields>;
2914
+ declare function generateVideoStreamingUrl$1(httpClient: HttpClient): (fileId: string, options?: GenerateVideoStreamingUrlOptions) => Promise<GenerateVideoStreamingUrlResponse & GenerateVideoStreamingUrlResponseNonNullableFields>;
2915
+ declare function bulkDeleteFiles$1(httpClient: HttpClient): (fileIds: string[], options?: BulkDeleteFilesOptions) => Promise<void>;
2916
+ declare function bulkRestoreFilesFromTrashBin$1(httpClient: HttpClient): (fileIds: string[]) => Promise<void>;
2917
+ declare function listDeletedFiles$1(httpClient: HttpClient): (options?: ListDeletedFilesOptions) => Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
2918
+ declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
2919
+ declare const onFileDescriptorDeleted$1: EventDefinition<FileDescriptorDeletedEnvelope, "wix.media.site_media.v1.file_descriptor_deleted">;
2920
+ declare const onFileDescriptorFileReady$1: EventDefinition<FileDescriptorFileReadyEnvelope, "wix.media.site_media.v1.file_descriptor_file_ready">;
2921
+ declare const onFileDescriptorFileFailed$1: EventDefinition<FileDescriptorFileFailedEnvelope, "wix.media.site_media.v1.file_descriptor_file_failed">;
2922
+
2738
2923
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2739
2924
 
2740
2925
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2741
2926
 
2742
- declare const generateFilesDownloadUrl: ReturnType<typeof createRESTModule$1<typeof publicGenerateFilesDownloadUrl>>;
2743
- declare const generateFileDownloadUrl: ReturnType<typeof createRESTModule$1<typeof publicGenerateFileDownloadUrl>>;
2744
- declare const getFileDescriptor: ReturnType<typeof createRESTModule$1<typeof publicGetFileDescriptor>>;
2745
- declare const getFileDescriptors: ReturnType<typeof createRESTModule$1<typeof publicGetFileDescriptors>>;
2746
- declare const updateFileDescriptor: ReturnType<typeof createRESTModule$1<typeof publicUpdateFileDescriptor>>;
2747
- declare const generateFileUploadUrl: ReturnType<typeof createRESTModule$1<typeof publicGenerateFileUploadUrl>>;
2748
- declare const generateFileResumableUploadUrl: ReturnType<typeof createRESTModule$1<typeof publicGenerateFileResumableUploadUrl>>;
2749
- declare const importFile: ReturnType<typeof createRESTModule$1<typeof publicImportFile>>;
2750
- declare const bulkImportFiles: ReturnType<typeof createRESTModule$1<typeof publicBulkImportFiles>>;
2751
- declare const bulkImportFile: ReturnType<typeof createRESTModule$1<typeof publicBulkImportFile>>;
2752
- declare const listFiles: ReturnType<typeof createRESTModule$1<typeof publicListFiles>>;
2753
- declare const searchFiles: ReturnType<typeof createRESTModule$1<typeof publicSearchFiles>>;
2754
- declare const generateVideoStreamingUrl: ReturnType<typeof createRESTModule$1<typeof publicGenerateVideoStreamingUrl>>;
2755
- declare const bulkDeleteFiles: ReturnType<typeof createRESTModule$1<typeof publicBulkDeleteFiles>>;
2756
- declare const bulkRestoreFilesFromTrashBin: ReturnType<typeof createRESTModule$1<typeof publicBulkRestoreFilesFromTrashBin>>;
2757
- declare const listDeletedFiles: ReturnType<typeof createRESTModule$1<typeof publicListDeletedFiles>>;
2758
- declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<typeof publicOnFileDescriptorUpdated>>;
2759
- declare const onFileDescriptorDeleted: ReturnType<typeof createEventModule$1<typeof publicOnFileDescriptorDeleted>>;
2760
- declare const onFileDescriptorFileReady: ReturnType<typeof createEventModule$1<typeof publicOnFileDescriptorFileReady>>;
2761
- declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<typeof publicOnFileDescriptorFileFailed>>;
2927
+ type _publicGenerateFilesDownloadUrlType = typeof generateFilesDownloadUrl$1;
2928
+ declare const generateFilesDownloadUrl: ReturnType<typeof createRESTModule$1<_publicGenerateFilesDownloadUrlType>>;
2929
+ type _publicGenerateFileDownloadUrlType = typeof generateFileDownloadUrl$1;
2930
+ declare const generateFileDownloadUrl: ReturnType<typeof createRESTModule$1<_publicGenerateFileDownloadUrlType>>;
2931
+ type _publicGetFileDescriptorType = typeof getFileDescriptor$1;
2932
+ declare const getFileDescriptor: ReturnType<typeof createRESTModule$1<_publicGetFileDescriptorType>>;
2933
+ type _publicGetFileDescriptorsType = typeof getFileDescriptors$1;
2934
+ declare const getFileDescriptors: ReturnType<typeof createRESTModule$1<_publicGetFileDescriptorsType>>;
2935
+ type _publicUpdateFileDescriptorType = typeof updateFileDescriptor$1;
2936
+ declare const updateFileDescriptor: ReturnType<typeof createRESTModule$1<_publicUpdateFileDescriptorType>>;
2937
+ type _publicGenerateFileUploadUrlType = typeof generateFileUploadUrl$1;
2938
+ declare const generateFileUploadUrl: ReturnType<typeof createRESTModule$1<_publicGenerateFileUploadUrlType>>;
2939
+ type _publicGenerateFileResumableUploadUrlType = typeof generateFileResumableUploadUrl$1;
2940
+ declare const generateFileResumableUploadUrl: ReturnType<typeof createRESTModule$1<_publicGenerateFileResumableUploadUrlType>>;
2941
+ type _publicImportFileType = typeof importFile$1;
2942
+ declare const importFile: ReturnType<typeof createRESTModule$1<_publicImportFileType>>;
2943
+ type _publicBulkImportFilesType = typeof bulkImportFiles$1;
2944
+ declare const bulkImportFiles: ReturnType<typeof createRESTModule$1<_publicBulkImportFilesType>>;
2945
+ type _publicBulkImportFileType = typeof bulkImportFile$1;
2946
+ declare const bulkImportFile: ReturnType<typeof createRESTModule$1<_publicBulkImportFileType>>;
2947
+ type _publicListFilesType = typeof listFiles$1;
2948
+ declare const listFiles: ReturnType<typeof createRESTModule$1<_publicListFilesType>>;
2949
+ type _publicSearchFilesType = typeof searchFiles$1;
2950
+ declare const searchFiles: ReturnType<typeof createRESTModule$1<_publicSearchFilesType>>;
2951
+ type _publicGenerateVideoStreamingUrlType = typeof generateVideoStreamingUrl$1;
2952
+ declare const generateVideoStreamingUrl: ReturnType<typeof createRESTModule$1<_publicGenerateVideoStreamingUrlType>>;
2953
+ type _publicBulkDeleteFilesType = typeof bulkDeleteFiles$1;
2954
+ declare const bulkDeleteFiles: ReturnType<typeof createRESTModule$1<_publicBulkDeleteFilesType>>;
2955
+ type _publicBulkRestoreFilesFromTrashBinType = typeof bulkRestoreFilesFromTrashBin$1;
2956
+ declare const bulkRestoreFilesFromTrashBin: ReturnType<typeof createRESTModule$1<_publicBulkRestoreFilesFromTrashBinType>>;
2957
+ type _publicListDeletedFilesType = typeof listDeletedFiles$1;
2958
+ declare const listDeletedFiles: ReturnType<typeof createRESTModule$1<_publicListDeletedFilesType>>;
2959
+
2960
+ type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
2961
+ declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
2962
+
2963
+ type _publicOnFileDescriptorDeletedType = typeof onFileDescriptorDeleted$1;
2964
+ declare const onFileDescriptorDeleted: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorDeletedType>>;
2965
+
2966
+ type _publicOnFileDescriptorFileReadyType = typeof onFileDescriptorFileReady$1;
2967
+ declare const onFileDescriptorFileReady: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileReadyType>>;
2968
+
2969
+ type _publicOnFileDescriptorFileFailedType = typeof onFileDescriptorFileFailed$1;
2970
+ declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileFailedType>>;
2762
2971
 
2763
2972
  type context$1_ApplicationError = ApplicationError;
2764
2973
  type context$1_Archive = Archive;
@@ -2851,6 +3060,7 @@ type context$1_SearchFilesResponse = SearchFilesResponse;
2851
3060
  type context$1_SearchFilesResponseNonNullableFields = SearchFilesResponseNonNullableFields;
2852
3061
  type context$1_StreamFormat = StreamFormat;
2853
3062
  declare const context$1_StreamFormat: typeof StreamFormat;
3063
+ type context$1_UpdateFileDescriptorOptions = UpdateFileDescriptorOptions;
2854
3064
  type context$1_UpdateFileDescriptorRequest = UpdateFileDescriptorRequest;
2855
3065
  type context$1_UpdateFileDescriptorResponse = UpdateFileDescriptorResponse;
2856
3066
  type context$1_UpdateFileDescriptorResponseNonNullableFields = UpdateFileDescriptorResponseNonNullableFields;
@@ -2859,6 +3069,26 @@ type context$1_UpdateFileResponse = UpdateFileResponse;
2859
3069
  type context$1_UploadProtocol = UploadProtocol;
2860
3070
  declare const context$1_UploadProtocol: typeof UploadProtocol;
2861
3071
  type context$1_VideoResolution = VideoResolution;
3072
+ type context$1__publicBulkDeleteFilesType = _publicBulkDeleteFilesType;
3073
+ type context$1__publicBulkImportFileType = _publicBulkImportFileType;
3074
+ type context$1__publicBulkImportFilesType = _publicBulkImportFilesType;
3075
+ type context$1__publicBulkRestoreFilesFromTrashBinType = _publicBulkRestoreFilesFromTrashBinType;
3076
+ type context$1__publicGenerateFileDownloadUrlType = _publicGenerateFileDownloadUrlType;
3077
+ type context$1__publicGenerateFileResumableUploadUrlType = _publicGenerateFileResumableUploadUrlType;
3078
+ type context$1__publicGenerateFileUploadUrlType = _publicGenerateFileUploadUrlType;
3079
+ type context$1__publicGenerateFilesDownloadUrlType = _publicGenerateFilesDownloadUrlType;
3080
+ type context$1__publicGenerateVideoStreamingUrlType = _publicGenerateVideoStreamingUrlType;
3081
+ type context$1__publicGetFileDescriptorType = _publicGetFileDescriptorType;
3082
+ type context$1__publicGetFileDescriptorsType = _publicGetFileDescriptorsType;
3083
+ type context$1__publicImportFileType = _publicImportFileType;
3084
+ type context$1__publicListDeletedFilesType = _publicListDeletedFilesType;
3085
+ type context$1__publicListFilesType = _publicListFilesType;
3086
+ type context$1__publicOnFileDescriptorDeletedType = _publicOnFileDescriptorDeletedType;
3087
+ type context$1__publicOnFileDescriptorFileFailedType = _publicOnFileDescriptorFileFailedType;
3088
+ type context$1__publicOnFileDescriptorFileReadyType = _publicOnFileDescriptorFileReadyType;
3089
+ type context$1__publicOnFileDescriptorUpdatedType = _publicOnFileDescriptorUpdatedType;
3090
+ type context$1__publicSearchFilesType = _publicSearchFilesType;
3091
+ type context$1__publicUpdateFileDescriptorType = _publicUpdateFileDescriptorType;
2862
3092
  declare const context$1_bulkDeleteFiles: typeof bulkDeleteFiles;
2863
3093
  declare const context$1_bulkImportFile: typeof bulkImportFile;
2864
3094
  declare const context$1_bulkImportFiles: typeof bulkImportFiles;
@@ -2880,7 +3110,7 @@ declare const context$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
2880
3110
  declare const context$1_searchFiles: typeof searchFiles;
2881
3111
  declare const context$1_updateFileDescriptor: typeof updateFileDescriptor;
2882
3112
  declare namespace context$1 {
2883
- export { type ActionEvent$1 as ActionEvent, type context$1_ApplicationError as ApplicationError, type context$1_Archive as Archive, type context$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type context$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type context$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type context$1_BulkImportFileOptions as BulkImportFileOptions, type context$1_BulkImportFileRequest as BulkImportFileRequest, type context$1_BulkImportFileResponse as BulkImportFileResponse, type context$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type context$1_BulkImportFileResult as BulkImportFileResult, type context$1_BulkImportFilesRequest as BulkImportFilesRequest, type context$1_BulkImportFilesResponse as BulkImportFilesResponse, type context$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type context$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type context$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type context$1_Color as Color, type context$1_ColorRGB as ColorRGB, type context$1_Colors as Colors, context$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_DownloadUrl as DownloadUrl, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$1_ExternalInfo as ExternalInfo, type context$1_FaceRecognition as FaceRecognition, type context$1_FileDescriptor as FileDescriptor, type context$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type context$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type context$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type context$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type context$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type context$1_FileFailed as FileFailed, type context$1_FileMedia as FileMedia, type context$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type context$1_FileReady as FileReady, type context$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type context$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type context$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type context$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type context$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type context$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type context$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type context$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type context$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type context$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type context$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type context$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type context$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type context$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type context$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type context$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type context$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type context$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type context$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type context$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type context$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type context$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type context$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type context$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type context$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type context$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type context$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_IdentityInfo as IdentityInfo, context$1_IdentityType as IdentityType, type context$1_ImageMedia as ImageMedia, type context$1_ImportFileOptions as ImportFileOptions, type context$1_ImportFileRequest as ImportFileRequest, type context$1_ImportFileResponse as ImportFileResponse, type context$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type context$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type context$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type context$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type context$1_ListFilesOptions as ListFilesOptions, type context$1_ListFilesRequest as ListFilesRequest, type context$1_ListFilesResponse as ListFilesResponse, type context$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, context$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type context$1_Model3D as Model3D, Namespace$1 as Namespace, context$1_OperationStatus as OperationStatus, type context$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type context$1_SearchFilesOptions as SearchFilesOptions, type context$1_SearchFilesRequest as SearchFilesRequest, type context$1_SearchFilesResponse as SearchFilesResponse, type context$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, context$1_StreamFormat as StreamFormat, type context$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type context$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type context$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type context$1_UpdateFileRequest as UpdateFileRequest, type context$1_UpdateFileResponse as UpdateFileResponse, context$1_UploadProtocol as UploadProtocol, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, context$1_bulkDeleteFiles as bulkDeleteFiles, context$1_bulkImportFile as bulkImportFile, context$1_bulkImportFiles as bulkImportFiles, context$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, context$1_generateFileDownloadUrl as generateFileDownloadUrl, context$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, context$1_generateFileUploadUrl as generateFileUploadUrl, context$1_generateFilesDownloadUrl as generateFilesDownloadUrl, context$1_generateVideoStreamingUrl as generateVideoStreamingUrl, context$1_getFileDescriptor as getFileDescriptor, context$1_getFileDescriptors as getFileDescriptors, context$1_importFile as importFile, context$1_listDeletedFiles as listDeletedFiles, context$1_listFiles as listFiles, context$1_onFileDescriptorDeleted as onFileDescriptorDeleted, context$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, context$1_onFileDescriptorFileReady as onFileDescriptorFileReady, context$1_onFileDescriptorUpdated as onFileDescriptorUpdated, context$1_searchFiles as searchFiles, context$1_updateFileDescriptor as updateFileDescriptor };
3113
+ export { type ActionEvent$1 as ActionEvent, type context$1_ApplicationError as ApplicationError, type context$1_Archive as Archive, type context$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type context$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type context$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type context$1_BulkImportFileOptions as BulkImportFileOptions, type context$1_BulkImportFileRequest as BulkImportFileRequest, type context$1_BulkImportFileResponse as BulkImportFileResponse, type context$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type context$1_BulkImportFileResult as BulkImportFileResult, type context$1_BulkImportFilesRequest as BulkImportFilesRequest, type context$1_BulkImportFilesResponse as BulkImportFilesResponse, type context$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type context$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type context$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type context$1_Color as Color, type context$1_ColorRGB as ColorRGB, type context$1_Colors as Colors, context$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_DownloadUrl as DownloadUrl, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$1_ExternalInfo as ExternalInfo, type context$1_FaceRecognition as FaceRecognition, type context$1_FileDescriptor as FileDescriptor, type context$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type context$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type context$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type context$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type context$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type context$1_FileFailed as FileFailed, type context$1_FileMedia as FileMedia, type context$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type context$1_FileReady as FileReady, type context$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type context$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type context$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type context$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type context$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type context$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type context$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type context$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type context$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type context$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type context$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type context$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type context$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type context$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type context$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type context$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type context$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type context$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type context$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type context$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type context$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type context$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type context$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type context$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type context$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type context$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type context$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_IdentityInfo as IdentityInfo, context$1_IdentityType as IdentityType, type context$1_ImageMedia as ImageMedia, type context$1_ImportFileOptions as ImportFileOptions, type context$1_ImportFileRequest as ImportFileRequest, type context$1_ImportFileResponse as ImportFileResponse, type context$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type context$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type context$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type context$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type context$1_ListFilesOptions as ListFilesOptions, type context$1_ListFilesRequest as ListFilesRequest, type context$1_ListFilesResponse as ListFilesResponse, type context$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, context$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type context$1_Model3D as Model3D, Namespace$1 as Namespace, context$1_OperationStatus as OperationStatus, type context$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type context$1_SearchFilesOptions as SearchFilesOptions, type context$1_SearchFilesRequest as SearchFilesRequest, type context$1_SearchFilesResponse as SearchFilesResponse, type context$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, context$1_StreamFormat as StreamFormat, type context$1_UpdateFileDescriptorOptions as UpdateFileDescriptorOptions, type context$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type context$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type context$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type context$1_UpdateFileRequest as UpdateFileRequest, type context$1_UpdateFileResponse as UpdateFileResponse, context$1_UploadProtocol as UploadProtocol, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicBulkDeleteFilesType as _publicBulkDeleteFilesType, type context$1__publicBulkImportFileType as _publicBulkImportFileType, type context$1__publicBulkImportFilesType as _publicBulkImportFilesType, type context$1__publicBulkRestoreFilesFromTrashBinType as _publicBulkRestoreFilesFromTrashBinType, type context$1__publicGenerateFileDownloadUrlType as _publicGenerateFileDownloadUrlType, type context$1__publicGenerateFileResumableUploadUrlType as _publicGenerateFileResumableUploadUrlType, type context$1__publicGenerateFileUploadUrlType as _publicGenerateFileUploadUrlType, type context$1__publicGenerateFilesDownloadUrlType as _publicGenerateFilesDownloadUrlType, type context$1__publicGenerateVideoStreamingUrlType as _publicGenerateVideoStreamingUrlType, type context$1__publicGetFileDescriptorType as _publicGetFileDescriptorType, type context$1__publicGetFileDescriptorsType as _publicGetFileDescriptorsType, type context$1__publicImportFileType as _publicImportFileType, type context$1__publicListDeletedFilesType as _publicListDeletedFilesType, type context$1__publicListFilesType as _publicListFilesType, type context$1__publicOnFileDescriptorDeletedType as _publicOnFileDescriptorDeletedType, type context$1__publicOnFileDescriptorFileFailedType as _publicOnFileDescriptorFileFailedType, type context$1__publicOnFileDescriptorFileReadyType as _publicOnFileDescriptorFileReadyType, type context$1__publicOnFileDescriptorUpdatedType as _publicOnFileDescriptorUpdatedType, type context$1__publicSearchFilesType as _publicSearchFilesType, type context$1__publicUpdateFileDescriptorType as _publicUpdateFileDescriptorType, context$1_bulkDeleteFiles as bulkDeleteFiles, context$1_bulkImportFile as bulkImportFile, context$1_bulkImportFiles as bulkImportFiles, context$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, context$1_generateFileDownloadUrl as generateFileDownloadUrl, context$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, context$1_generateFileUploadUrl as generateFileUploadUrl, context$1_generateFilesDownloadUrl as generateFilesDownloadUrl, context$1_generateVideoStreamingUrl as generateVideoStreamingUrl, context$1_getFileDescriptor as getFileDescriptor, context$1_getFileDescriptors as getFileDescriptors, context$1_importFile as importFile, context$1_listDeletedFiles as listDeletedFiles, context$1_listFiles as listFiles, context$1_onFileDescriptorDeleted as onFileDescriptorDeleted, context$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, context$1_onFileDescriptorFileReady as onFileDescriptorFileReady, context$1_onFileDescriptorUpdated as onFileDescriptorUpdated, onFileDescriptorDeleted$1 as publicOnFileDescriptorDeleted, onFileDescriptorFileFailed$1 as publicOnFileDescriptorFileFailed, onFileDescriptorFileReady$1 as publicOnFileDescriptorFileReady, onFileDescriptorUpdated$1 as publicOnFileDescriptorUpdated, context$1_searchFiles as searchFiles, context$1_updateFileDescriptor as updateFileDescriptor };
2884
3114
  }
2885
3115
 
2886
3116
  interface Folder {
@@ -3380,22 +3610,50 @@ interface ListDeletedFoldersOptions {
3380
3610
  paging?: CursorPaging;
3381
3611
  }
3382
3612
 
3613
+ declare function createFolder$1(httpClient: HttpClient): (displayName: string, options?: CreateFolderOptions) => Promise<CreateFolderResponse & CreateFolderResponseNonNullableFields>;
3614
+ declare function getFolder$1(httpClient: HttpClient): (folderId: string) => Promise<Folder & FolderNonNullableFields>;
3615
+ declare function listFolders$1(httpClient: HttpClient): (options?: ListFoldersOptions) => Promise<ListFoldersResponse & ListFoldersResponseNonNullableFields>;
3616
+ declare function searchFolders$1(httpClient: HttpClient): (options?: SearchFoldersOptions) => Promise<SearchFoldersResponse & SearchFoldersResponseNonNullableFields>;
3617
+ declare function updateFolder$1(httpClient: HttpClient): (_id: string, folder: UpdateFolder) => Promise<Folder & FolderNonNullableFields>;
3618
+ declare function generateFolderDownloadUrl$1(httpClient: HttpClient): (folderId: string) => Promise<GenerateFolderDownloadUrlResponse & GenerateFolderDownloadUrlResponseNonNullableFields>;
3619
+ declare function bulkDeleteFolders$1(httpClient: HttpClient): (folderIds: string[], options?: BulkDeleteFoldersOptions) => Promise<void>;
3620
+ declare function bulkRestoreFoldersFromTrashBin$1(httpClient: HttpClient): (folderIds: string[]) => Promise<void>;
3621
+ declare function listDeletedFolders$1(httpClient: HttpClient): (options?: ListDeletedFoldersOptions) => Promise<ListDeletedFoldersResponse & ListDeletedFoldersResponseNonNullableFields>;
3622
+ declare const onFolderCreated$1: EventDefinition<FolderCreatedEnvelope, "wix.media.site_media.v1.folder_created">;
3623
+ declare const onFolderUpdated$1: EventDefinition<FolderUpdatedEnvelope, "wix.media.site_media.v1.folder_updated">;
3624
+ declare const onFolderDeleted$1: EventDefinition<FolderDeletedEnvelope, "wix.media.site_media.v1.folder_deleted">;
3625
+
3383
3626
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3384
3627
 
3385
3628
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3386
3629
 
3387
- declare const createFolder: ReturnType<typeof createRESTModule<typeof publicCreateFolder>>;
3388
- declare const getFolder: ReturnType<typeof createRESTModule<typeof publicGetFolder>>;
3389
- declare const listFolders: ReturnType<typeof createRESTModule<typeof publicListFolders>>;
3390
- declare const searchFolders: ReturnType<typeof createRESTModule<typeof publicSearchFolders>>;
3391
- declare const updateFolder: ReturnType<typeof createRESTModule<typeof publicUpdateFolder>>;
3392
- declare const generateFolderDownloadUrl: ReturnType<typeof createRESTModule<typeof publicGenerateFolderDownloadUrl>>;
3393
- declare const bulkDeleteFolders: ReturnType<typeof createRESTModule<typeof publicBulkDeleteFolders>>;
3394
- declare const bulkRestoreFoldersFromTrashBin: ReturnType<typeof createRESTModule<typeof publicBulkRestoreFoldersFromTrashBin>>;
3395
- declare const listDeletedFolders: ReturnType<typeof createRESTModule<typeof publicListDeletedFolders>>;
3396
- declare const onFolderCreated: ReturnType<typeof createEventModule<typeof publicOnFolderCreated>>;
3397
- declare const onFolderUpdated: ReturnType<typeof createEventModule<typeof publicOnFolderUpdated>>;
3398
- declare const onFolderDeleted: ReturnType<typeof createEventModule<typeof publicOnFolderDeleted>>;
3630
+ type _publicCreateFolderType = typeof createFolder$1;
3631
+ declare const createFolder: ReturnType<typeof createRESTModule<_publicCreateFolderType>>;
3632
+ type _publicGetFolderType = typeof getFolder$1;
3633
+ declare const getFolder: ReturnType<typeof createRESTModule<_publicGetFolderType>>;
3634
+ type _publicListFoldersType = typeof listFolders$1;
3635
+ declare const listFolders: ReturnType<typeof createRESTModule<_publicListFoldersType>>;
3636
+ type _publicSearchFoldersType = typeof searchFolders$1;
3637
+ declare const searchFolders: ReturnType<typeof createRESTModule<_publicSearchFoldersType>>;
3638
+ type _publicUpdateFolderType = typeof updateFolder$1;
3639
+ declare const updateFolder: ReturnType<typeof createRESTModule<_publicUpdateFolderType>>;
3640
+ type _publicGenerateFolderDownloadUrlType = typeof generateFolderDownloadUrl$1;
3641
+ declare const generateFolderDownloadUrl: ReturnType<typeof createRESTModule<_publicGenerateFolderDownloadUrlType>>;
3642
+ type _publicBulkDeleteFoldersType = typeof bulkDeleteFolders$1;
3643
+ declare const bulkDeleteFolders: ReturnType<typeof createRESTModule<_publicBulkDeleteFoldersType>>;
3644
+ type _publicBulkRestoreFoldersFromTrashBinType = typeof bulkRestoreFoldersFromTrashBin$1;
3645
+ declare const bulkRestoreFoldersFromTrashBin: ReturnType<typeof createRESTModule<_publicBulkRestoreFoldersFromTrashBinType>>;
3646
+ type _publicListDeletedFoldersType = typeof listDeletedFolders$1;
3647
+ declare const listDeletedFolders: ReturnType<typeof createRESTModule<_publicListDeletedFoldersType>>;
3648
+
3649
+ type _publicOnFolderCreatedType = typeof onFolderCreated$1;
3650
+ declare const onFolderCreated: ReturnType<typeof createEventModule<_publicOnFolderCreatedType>>;
3651
+
3652
+ type _publicOnFolderUpdatedType = typeof onFolderUpdated$1;
3653
+ declare const onFolderUpdated: ReturnType<typeof createEventModule<_publicOnFolderUpdatedType>>;
3654
+
3655
+ type _publicOnFolderDeletedType = typeof onFolderDeleted$1;
3656
+ declare const onFolderDeleted: ReturnType<typeof createEventModule<_publicOnFolderDeletedType>>;
3399
3657
 
3400
3658
  type context_ActionEvent = ActionEvent;
3401
3659
  type context_BaseEventMetadata = BaseEventMetadata;
@@ -3459,6 +3717,18 @@ type context_UpdateFolderResponse = UpdateFolderResponse;
3459
3717
  type context_UpdateFolderResponseNonNullableFields = UpdateFolderResponseNonNullableFields;
3460
3718
  type context_WebhookIdentityType = WebhookIdentityType;
3461
3719
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
3720
+ type context__publicBulkDeleteFoldersType = _publicBulkDeleteFoldersType;
3721
+ type context__publicBulkRestoreFoldersFromTrashBinType = _publicBulkRestoreFoldersFromTrashBinType;
3722
+ type context__publicCreateFolderType = _publicCreateFolderType;
3723
+ type context__publicGenerateFolderDownloadUrlType = _publicGenerateFolderDownloadUrlType;
3724
+ type context__publicGetFolderType = _publicGetFolderType;
3725
+ type context__publicListDeletedFoldersType = _publicListDeletedFoldersType;
3726
+ type context__publicListFoldersType = _publicListFoldersType;
3727
+ type context__publicOnFolderCreatedType = _publicOnFolderCreatedType;
3728
+ type context__publicOnFolderDeletedType = _publicOnFolderDeletedType;
3729
+ type context__publicOnFolderUpdatedType = _publicOnFolderUpdatedType;
3730
+ type context__publicSearchFoldersType = _publicSearchFoldersType;
3731
+ type context__publicUpdateFolderType = _publicUpdateFolderType;
3462
3732
  declare const context_bulkDeleteFolders: typeof bulkDeleteFolders;
3463
3733
  declare const context_bulkRestoreFoldersFromTrashBin: typeof bulkRestoreFoldersFromTrashBin;
3464
3734
  declare const context_createFolder: typeof createFolder;
@@ -3472,7 +3742,7 @@ declare const context_onFolderUpdated: typeof onFolderUpdated;
3472
3742
  declare const context_searchFolders: typeof searchFolders;
3473
3743
  declare const context_updateFolder: typeof updateFolder;
3474
3744
  declare namespace context {
3475
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteFoldersOptions as BulkDeleteFoldersOptions, type context_BulkDeleteFoldersRequest as BulkDeleteFoldersRequest, type context_BulkDeleteFoldersResponse as BulkDeleteFoldersResponse, type context_BulkRestoreFoldersFromTrashBinRequest as BulkRestoreFoldersFromTrashBinRequest, type context_BulkRestoreFoldersFromTrashBinResponse as BulkRestoreFoldersFromTrashBinResponse, type context_CreateFolderOptions as CreateFolderOptions, type context_CreateFolderRequest as CreateFolderRequest, type context_CreateFolderResponse as CreateFolderResponse, type context_CreateFolderResponseNonNullableFields as CreateFolderResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Folder as Folder, type context_FolderCreatedEnvelope as FolderCreatedEnvelope, type context_FolderDeletedEnvelope as FolderDeletedEnvelope, type context_FolderNonNullableFields as FolderNonNullableFields, type context_FolderUpdatedEnvelope as FolderUpdatedEnvelope, type context_GenerateFolderDownloadUrlRequest as GenerateFolderDownloadUrlRequest, type context_GenerateFolderDownloadUrlResponse as GenerateFolderDownloadUrlResponse, type context_GenerateFolderDownloadUrlResponseNonNullableFields as GenerateFolderDownloadUrlResponseNonNullableFields, type context_GetFolderRequest as GetFolderRequest, type context_GetFolderResponse as GetFolderResponse, type context_GetFolderResponseNonNullableFields as GetFolderResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListDeletedFoldersOptions as ListDeletedFoldersOptions, type context_ListDeletedFoldersRequest as ListDeletedFoldersRequest, type context_ListDeletedFoldersResponse as ListDeletedFoldersResponse, type context_ListDeletedFoldersResponseNonNullableFields as ListDeletedFoldersResponseNonNullableFields, type context_ListFoldersOptions as ListFoldersOptions, type context_ListFoldersRequest as ListFoldersRequest, type context_ListFoldersResponse as ListFoldersResponse, type context_ListFoldersResponseNonNullableFields as ListFoldersResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, context_Namespace as Namespace, type context_PagingMetadataV2 as PagingMetadataV2, type context_RestoreInfo as RestoreInfo, context_RootFolder as RootFolder, type context_SearchFoldersOptions as SearchFoldersOptions, type context_SearchFoldersRequest as SearchFoldersRequest, type context_SearchFoldersResponse as SearchFoldersResponse, type context_SearchFoldersResponseNonNullableFields as SearchFoldersResponseNonNullableFields, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, type context_UpdateFolder as UpdateFolder, type context_UpdateFolderRequest as UpdateFolderRequest, type context_UpdateFolderResponse as UpdateFolderResponse, type context_UpdateFolderResponseNonNullableFields as UpdateFolderResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, context_bulkDeleteFolders as bulkDeleteFolders, context_bulkRestoreFoldersFromTrashBin as bulkRestoreFoldersFromTrashBin, context_createFolder as createFolder, context_generateFolderDownloadUrl as generateFolderDownloadUrl, context_getFolder as getFolder, context_listDeletedFolders as listDeletedFolders, context_listFolders as listFolders, context_onFolderCreated as onFolderCreated, context_onFolderDeleted as onFolderDeleted, context_onFolderUpdated as onFolderUpdated, context_searchFolders as searchFolders, context_updateFolder as updateFolder };
3745
+ export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteFoldersOptions as BulkDeleteFoldersOptions, type context_BulkDeleteFoldersRequest as BulkDeleteFoldersRequest, type context_BulkDeleteFoldersResponse as BulkDeleteFoldersResponse, type context_BulkRestoreFoldersFromTrashBinRequest as BulkRestoreFoldersFromTrashBinRequest, type context_BulkRestoreFoldersFromTrashBinResponse as BulkRestoreFoldersFromTrashBinResponse, type context_CreateFolderOptions as CreateFolderOptions, type context_CreateFolderRequest as CreateFolderRequest, type context_CreateFolderResponse as CreateFolderResponse, type context_CreateFolderResponseNonNullableFields as CreateFolderResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Folder as Folder, type context_FolderCreatedEnvelope as FolderCreatedEnvelope, type context_FolderDeletedEnvelope as FolderDeletedEnvelope, type context_FolderNonNullableFields as FolderNonNullableFields, type context_FolderUpdatedEnvelope as FolderUpdatedEnvelope, type context_GenerateFolderDownloadUrlRequest as GenerateFolderDownloadUrlRequest, type context_GenerateFolderDownloadUrlResponse as GenerateFolderDownloadUrlResponse, type context_GenerateFolderDownloadUrlResponseNonNullableFields as GenerateFolderDownloadUrlResponseNonNullableFields, type context_GetFolderRequest as GetFolderRequest, type context_GetFolderResponse as GetFolderResponse, type context_GetFolderResponseNonNullableFields as GetFolderResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListDeletedFoldersOptions as ListDeletedFoldersOptions, type context_ListDeletedFoldersRequest as ListDeletedFoldersRequest, type context_ListDeletedFoldersResponse as ListDeletedFoldersResponse, type context_ListDeletedFoldersResponseNonNullableFields as ListDeletedFoldersResponseNonNullableFields, type context_ListFoldersOptions as ListFoldersOptions, type context_ListFoldersRequest as ListFoldersRequest, type context_ListFoldersResponse as ListFoldersResponse, type context_ListFoldersResponseNonNullableFields as ListFoldersResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, context_Namespace as Namespace, type context_PagingMetadataV2 as PagingMetadataV2, type context_RestoreInfo as RestoreInfo, context_RootFolder as RootFolder, type context_SearchFoldersOptions as SearchFoldersOptions, type context_SearchFoldersRequest as SearchFoldersRequest, type context_SearchFoldersResponse as SearchFoldersResponse, type context_SearchFoldersResponseNonNullableFields as SearchFoldersResponseNonNullableFields, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, type context_UpdateFolder as UpdateFolder, type context_UpdateFolderRequest as UpdateFolderRequest, type context_UpdateFolderResponse as UpdateFolderResponse, type context_UpdateFolderResponseNonNullableFields as UpdateFolderResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicBulkDeleteFoldersType as _publicBulkDeleteFoldersType, type context__publicBulkRestoreFoldersFromTrashBinType as _publicBulkRestoreFoldersFromTrashBinType, type context__publicCreateFolderType as _publicCreateFolderType, type context__publicGenerateFolderDownloadUrlType as _publicGenerateFolderDownloadUrlType, type context__publicGetFolderType as _publicGetFolderType, type context__publicListDeletedFoldersType as _publicListDeletedFoldersType, type context__publicListFoldersType as _publicListFoldersType, type context__publicOnFolderCreatedType as _publicOnFolderCreatedType, type context__publicOnFolderDeletedType as _publicOnFolderDeletedType, type context__publicOnFolderUpdatedType as _publicOnFolderUpdatedType, type context__publicSearchFoldersType as _publicSearchFoldersType, type context__publicUpdateFolderType as _publicUpdateFolderType, context_bulkDeleteFolders as bulkDeleteFolders, context_bulkRestoreFoldersFromTrashBin as bulkRestoreFoldersFromTrashBin, context_createFolder as createFolder, context_generateFolderDownloadUrl as generateFolderDownloadUrl, context_getFolder as getFolder, context_listDeletedFolders as listDeletedFolders, context_listFolders as listFolders, context_onFolderCreated as onFolderCreated, context_onFolderDeleted as onFolderDeleted, context_onFolderUpdated as onFolderUpdated, onFolderCreated$1 as publicOnFolderCreated, onFolderDeleted$1 as publicOnFolderDeleted, onFolderUpdated$1 as publicOnFolderUpdated, context_searchFolders as searchFolders, context_updateFolder as updateFolder };
3476
3746
  }
3477
3747
 
3478
3748
  export { context$3 as enterpriseMediaCategories, context$2 as enterpriseMediaItems, context$1 as files, context as folders };