@wix/media 1.0.135 → 1.0.137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/media",
3
- "version": "1.0.135",
3
+ "version": "1.0.137",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,10 +21,10 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/media_enterprise-media-categories": "1.0.36",
25
- "@wix/media_enterprise-media-items": "1.0.40",
24
+ "@wix/media_enterprise-media-categories": "1.0.37",
25
+ "@wix/media_enterprise-media-items": "1.0.41",
26
26
  "@wix/media_files": "1.0.65",
27
- "@wix/media_folders": "1.0.40"
27
+ "@wix/media_folders": "1.0.42"
28
28
  },
29
29
  "devDependencies": {
30
30
  "glob": "^10.4.1",
@@ -49,5 +49,5 @@
49
49
  "fqdn": ""
50
50
  }
51
51
  },
52
- "falconPackageHash": "0afa088badf0080597540c26c76490531f8bc755af680315741dba10"
52
+ "falconPackageHash": "f7f4aa382fb92962776ec174c72b5e9a79cb2129c496af927198798f"
53
53
  }
@@ -612,7 +612,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
612
612
  slug?: string;
613
613
  /** ID of the entity associated with the event. */
614
614
  entityId?: string;
615
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
615
+ /** Event timestamp. */
616
616
  eventTime?: Date | null;
617
617
  /**
618
618
  * Whether the event was triggered as a result of a privacy regulation application
@@ -641,9 +641,6 @@ interface DomainEventBodyOneOf$3 {
641
641
  interface EntityCreatedEvent$3 {
642
642
  entity?: string;
643
643
  }
644
- interface RestoreInfo$3 {
645
- deletedDate?: Date | null;
646
- }
647
644
  interface EntityUpdatedEvent$3 {
648
645
  /**
649
646
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -750,7 +747,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
750
747
  slug?: string;
751
748
  /** ID of the entity associated with the event. */
752
749
  entityId?: string;
753
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
750
+ /** Event timestamp. */
754
751
  eventTime?: Date | null;
755
752
  /**
756
753
  * Whether the event was triggered as a result of a privacy regulation application
@@ -937,7 +934,7 @@ declare const context$3_onEnterpriseCategoryDeleted: typeof onEnterpriseCategory
937
934
  declare const context$3_onEnterpriseCategoryUpdated: typeof onEnterpriseCategoryUpdated;
938
935
  declare const context$3_updateCategory: typeof updateCategory;
939
936
  declare namespace context$3 {
940
- 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 RestoreInfo$3 as RestoreInfo, 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__publicOnEnterpriseCategoryCreatedType as _publicOnEnterpriseCategoryCreatedType, type context$3__publicOnEnterpriseCategoryDeletedType as _publicOnEnterpriseCategoryDeletedType, type context$3__publicOnEnterpriseCategoryUpdatedType as _publicOnEnterpriseCategoryUpdatedType, 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 };
937
+ 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__publicOnEnterpriseCategoryCreatedType as _publicOnEnterpriseCategoryCreatedType, type context$3__publicOnEnterpriseCategoryDeletedType as _publicOnEnterpriseCategoryDeletedType, type context$3__publicOnEnterpriseCategoryUpdatedType as _publicOnEnterpriseCategoryUpdatedType, 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 };
941
938
  }
942
939
 
943
940
  /**
@@ -1624,6 +1621,10 @@ interface EnterpriseItemCreatedEnvelope {
1624
1621
  entity: EnterpriseMediaItem;
1625
1622
  metadata: EventMetadata$2;
1626
1623
  }
1624
+ interface EnterpriseItemUpdatedEnvelope {
1625
+ entity: EnterpriseMediaItem;
1626
+ metadata: EventMetadata$2;
1627
+ }
1627
1628
  interface EnterpriseItemItemCategoriesChangedEnvelope {
1628
1629
  data: ItemCategoriesChanged;
1629
1630
  metadata: EventMetadata$2;
@@ -1632,10 +1633,6 @@ interface EnterpriseItemPublishStatusChangedEnvelope {
1632
1633
  data: PublishStatusChanged;
1633
1634
  metadata: EventMetadata$2;
1634
1635
  }
1635
- interface EnterpriseItemUpdatedEnvelope {
1636
- entity: EnterpriseMediaItem;
1637
- metadata: EventMetadata$2;
1638
- }
1639
1636
  interface ItemUploadCallbackOptions {
1640
1637
  /** The item id of the created item */
1641
1638
  itemId?: string;
@@ -1909,9 +1906,9 @@ interface OverwriteItemCategoriesSignature {
1909
1906
  (itemId: string, options?: OverwriteItemCategoriesOptions | undefined): Promise<OverwriteItemCategoriesResponse>;
1910
1907
  }
1911
1908
  declare const onEnterpriseItemCreated$1: EventDefinition<EnterpriseItemCreatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_created">;
1909
+ declare const onEnterpriseItemUpdated$1: EventDefinition<EnterpriseItemUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_updated">;
1912
1910
  declare const onEnterpriseItemItemCategoriesChanged$1: EventDefinition<EnterpriseItemItemCategoriesChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_item_categories_changed">;
1913
1911
  declare const onEnterpriseItemPublishStatusChanged$1: EventDefinition<EnterpriseItemPublishStatusChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_publish_status_changed">;
1914
- declare const onEnterpriseItemUpdated$1: EventDefinition<EnterpriseItemUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_updated">;
1915
1912
 
1916
1913
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1917
1914
 
@@ -1934,6 +1931,12 @@ type _publicOnEnterpriseItemCreatedType = typeof onEnterpriseItemCreated$1;
1934
1931
  */
1935
1932
  declare const onEnterpriseItemCreated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemCreatedType>>;
1936
1933
 
1934
+ type _publicOnEnterpriseItemUpdatedType = typeof onEnterpriseItemUpdated$1;
1935
+ /**
1936
+ * Triggered when an item is updated, including when an item is archived or linked to a category
1937
+ */
1938
+ declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemUpdatedType>>;
1939
+
1937
1940
  type _publicOnEnterpriseItemItemCategoriesChangedType = typeof onEnterpriseItemItemCategoriesChanged$1;
1938
1941
  /**
1939
1942
  * Triggered when an is linked to a category or unlinked from a category
@@ -1946,12 +1949,6 @@ type _publicOnEnterpriseItemPublishStatusChangedType = typeof onEnterpriseItemPu
1946
1949
  */
1947
1950
  declare const onEnterpriseItemPublishStatusChanged: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemPublishStatusChangedType>>;
1948
1951
 
1949
- type _publicOnEnterpriseItemUpdatedType = typeof onEnterpriseItemUpdated$1;
1950
- /**
1951
- * Triggered when an item is updated, including when an item is archived or linked to a category
1952
- */
1953
- declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemUpdatedType>>;
1954
-
1955
1952
  type context$2_BulkImportFilesOptions = BulkImportFilesOptions;
1956
1953
  type context$2_BulkImportFilesResult = BulkImportFilesResult;
1957
1954
  type context$2_BulkItemUpdateResult = BulkItemUpdateResult;
@@ -612,7 +612,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
612
612
  slug?: string;
613
613
  /** ID of the entity associated with the event. */
614
614
  entityId?: string;
615
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
615
+ /** Event timestamp. */
616
616
  eventTime?: Date | null;
617
617
  /**
618
618
  * Whether the event was triggered as a result of a privacy regulation application
@@ -641,9 +641,6 @@ interface DomainEventBodyOneOf$3 {
641
641
  interface EntityCreatedEvent$3 {
642
642
  entity?: string;
643
643
  }
644
- interface RestoreInfo$3 {
645
- deletedDate?: Date | null;
646
- }
647
644
  interface EntityUpdatedEvent$3 {
648
645
  /**
649
646
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -750,7 +747,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
750
747
  slug?: string;
751
748
  /** ID of the entity associated with the event. */
752
749
  entityId?: string;
753
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
750
+ /** Event timestamp. */
754
751
  eventTime?: Date | null;
755
752
  /**
756
753
  * Whether the event was triggered as a result of a privacy regulation application
@@ -937,7 +934,7 @@ declare const index_d$3_onEnterpriseCategoryDeleted: typeof onEnterpriseCategory
937
934
  declare const index_d$3_onEnterpriseCategoryUpdated: typeof onEnterpriseCategoryUpdated;
938
935
  declare const index_d$3_updateCategory: typeof updateCategory;
939
936
  declare namespace index_d$3 {
940
- export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$3_CreateCategoryRequest as CreateCategoryRequest, type index_d$3_CreateCategoryResponse as CreateCategoryResponse, type index_d$3_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type index_d$3_DeleteCategoryRequest as DeleteCategoryRequest, type index_d$3_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$3_EnterpriseCategory as EnterpriseCategory, type index_d$3_EnterpriseCategoryCreatedEnvelope as EnterpriseCategoryCreatedEnvelope, type index_d$3_EnterpriseCategoryDeletedEnvelope as EnterpriseCategoryDeletedEnvelope, type index_d$3_EnterpriseCategoryNonNullableFields as EnterpriseCategoryNonNullableFields, type index_d$3_EnterpriseCategoryTree as EnterpriseCategoryTree, type index_d$3_EnterpriseCategoryTreeNonNullableFields as EnterpriseCategoryTreeNonNullableFields, type index_d$3_EnterpriseCategoryUpdatedEnvelope as EnterpriseCategoryUpdatedEnvelope, type index_d$3_EnterpriseOnboardingOptions as EnterpriseOnboardingOptions, type index_d$3_EnterpriseOnboardingRequest as EnterpriseOnboardingRequest, type index_d$3_EnterpriseOnboardingResponse as EnterpriseOnboardingResponse, type index_d$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 index_d$3_GetCategoryOptions as GetCategoryOptions, type index_d$3_GetCategoryRequest as GetCategoryRequest, type index_d$3_GetCategoryResponse as GetCategoryResponse, type index_d$3_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type index_d$3_GetMediaManagerCategoriesRequest as GetMediaManagerCategoriesRequest, type index_d$3_GetMediaManagerCategoriesResponse as GetMediaManagerCategoriesResponse, type index_d$3_GetMediaManagerCategoriesResponseNonNullableFields as GetMediaManagerCategoriesResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_LinkItemsToCategoryRequest as LinkItemsToCategoryRequest, type index_d$3_LinkItemsToCategoryResponse as LinkItemsToCategoryResponse, MediaType$2 as MediaType, type MessageEnvelope$3 as MessageEnvelope, PublishStatus$1 as PublishStatus, type RestoreInfo$3 as RestoreInfo, type index_d$3_UnlinkItemsFromCategoryRequest as UnlinkItemsFromCategoryRequest, type index_d$3_UnlinkItemsFromCategoryResponse as UnlinkItemsFromCategoryResponse, type index_d$3_UpdateCategory as UpdateCategory, type index_d$3_UpdateCategoryRequest as UpdateCategoryRequest, type index_d$3_UpdateCategoryResponse as UpdateCategoryResponse, type index_d$3_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3__publicOnEnterpriseCategoryCreatedType as _publicOnEnterpriseCategoryCreatedType, type index_d$3__publicOnEnterpriseCategoryDeletedType as _publicOnEnterpriseCategoryDeletedType, type index_d$3__publicOnEnterpriseCategoryUpdatedType as _publicOnEnterpriseCategoryUpdatedType, index_d$3_createCategory as createCategory, index_d$3_deleteCategory as deleteCategory, index_d$3_enterpriseOnboarding as enterpriseOnboarding, index_d$3_getCategory as getCategory, index_d$3_getMediaManagerCategories as getMediaManagerCategories, index_d$3_onEnterpriseCategoryCreated as onEnterpriseCategoryCreated, index_d$3_onEnterpriseCategoryDeleted as onEnterpriseCategoryDeleted, index_d$3_onEnterpriseCategoryUpdated as onEnterpriseCategoryUpdated, onEnterpriseCategoryCreated$1 as publicOnEnterpriseCategoryCreated, onEnterpriseCategoryDeleted$1 as publicOnEnterpriseCategoryDeleted, onEnterpriseCategoryUpdated$1 as publicOnEnterpriseCategoryUpdated, index_d$3_updateCategory as updateCategory };
937
+ export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$3_CreateCategoryRequest as CreateCategoryRequest, type index_d$3_CreateCategoryResponse as CreateCategoryResponse, type index_d$3_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type index_d$3_DeleteCategoryRequest as DeleteCategoryRequest, type index_d$3_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$3_EnterpriseCategory as EnterpriseCategory, type index_d$3_EnterpriseCategoryCreatedEnvelope as EnterpriseCategoryCreatedEnvelope, type index_d$3_EnterpriseCategoryDeletedEnvelope as EnterpriseCategoryDeletedEnvelope, type index_d$3_EnterpriseCategoryNonNullableFields as EnterpriseCategoryNonNullableFields, type index_d$3_EnterpriseCategoryTree as EnterpriseCategoryTree, type index_d$3_EnterpriseCategoryTreeNonNullableFields as EnterpriseCategoryTreeNonNullableFields, type index_d$3_EnterpriseCategoryUpdatedEnvelope as EnterpriseCategoryUpdatedEnvelope, type index_d$3_EnterpriseOnboardingOptions as EnterpriseOnboardingOptions, type index_d$3_EnterpriseOnboardingRequest as EnterpriseOnboardingRequest, type index_d$3_EnterpriseOnboardingResponse as EnterpriseOnboardingResponse, type index_d$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 index_d$3_GetCategoryOptions as GetCategoryOptions, type index_d$3_GetCategoryRequest as GetCategoryRequest, type index_d$3_GetCategoryResponse as GetCategoryResponse, type index_d$3_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type index_d$3_GetMediaManagerCategoriesRequest as GetMediaManagerCategoriesRequest, type index_d$3_GetMediaManagerCategoriesResponse as GetMediaManagerCategoriesResponse, type index_d$3_GetMediaManagerCategoriesResponseNonNullableFields as GetMediaManagerCategoriesResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_LinkItemsToCategoryRequest as LinkItemsToCategoryRequest, type index_d$3_LinkItemsToCategoryResponse as LinkItemsToCategoryResponse, MediaType$2 as MediaType, type MessageEnvelope$3 as MessageEnvelope, PublishStatus$1 as PublishStatus, type index_d$3_UnlinkItemsFromCategoryRequest as UnlinkItemsFromCategoryRequest, type index_d$3_UnlinkItemsFromCategoryResponse as UnlinkItemsFromCategoryResponse, type index_d$3_UpdateCategory as UpdateCategory, type index_d$3_UpdateCategoryRequest as UpdateCategoryRequest, type index_d$3_UpdateCategoryResponse as UpdateCategoryResponse, type index_d$3_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3__publicOnEnterpriseCategoryCreatedType as _publicOnEnterpriseCategoryCreatedType, type index_d$3__publicOnEnterpriseCategoryDeletedType as _publicOnEnterpriseCategoryDeletedType, type index_d$3__publicOnEnterpriseCategoryUpdatedType as _publicOnEnterpriseCategoryUpdatedType, index_d$3_createCategory as createCategory, index_d$3_deleteCategory as deleteCategory, index_d$3_enterpriseOnboarding as enterpriseOnboarding, index_d$3_getCategory as getCategory, index_d$3_getMediaManagerCategories as getMediaManagerCategories, index_d$3_onEnterpriseCategoryCreated as onEnterpriseCategoryCreated, index_d$3_onEnterpriseCategoryDeleted as onEnterpriseCategoryDeleted, index_d$3_onEnterpriseCategoryUpdated as onEnterpriseCategoryUpdated, onEnterpriseCategoryCreated$1 as publicOnEnterpriseCategoryCreated, onEnterpriseCategoryDeleted$1 as publicOnEnterpriseCategoryDeleted, onEnterpriseCategoryUpdated$1 as publicOnEnterpriseCategoryUpdated, index_d$3_updateCategory as updateCategory };
941
938
  }
942
939
 
943
940
  /**
@@ -1624,6 +1621,10 @@ interface EnterpriseItemCreatedEnvelope {
1624
1621
  entity: EnterpriseMediaItem;
1625
1622
  metadata: EventMetadata$2;
1626
1623
  }
1624
+ interface EnterpriseItemUpdatedEnvelope {
1625
+ entity: EnterpriseMediaItem;
1626
+ metadata: EventMetadata$2;
1627
+ }
1627
1628
  interface EnterpriseItemItemCategoriesChangedEnvelope {
1628
1629
  data: ItemCategoriesChanged;
1629
1630
  metadata: EventMetadata$2;
@@ -1632,10 +1633,6 @@ interface EnterpriseItemPublishStatusChangedEnvelope {
1632
1633
  data: PublishStatusChanged;
1633
1634
  metadata: EventMetadata$2;
1634
1635
  }
1635
- interface EnterpriseItemUpdatedEnvelope {
1636
- entity: EnterpriseMediaItem;
1637
- metadata: EventMetadata$2;
1638
- }
1639
1636
  interface ItemUploadCallbackOptions {
1640
1637
  /** The item id of the created item */
1641
1638
  itemId?: string;
@@ -1909,9 +1906,9 @@ interface OverwriteItemCategoriesSignature {
1909
1906
  (itemId: string, options?: OverwriteItemCategoriesOptions | undefined): Promise<OverwriteItemCategoriesResponse>;
1910
1907
  }
1911
1908
  declare const onEnterpriseItemCreated$1: EventDefinition<EnterpriseItemCreatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_created">;
1909
+ declare const onEnterpriseItemUpdated$1: EventDefinition<EnterpriseItemUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_updated">;
1912
1910
  declare const onEnterpriseItemItemCategoriesChanged$1: EventDefinition<EnterpriseItemItemCategoriesChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_item_categories_changed">;
1913
1911
  declare const onEnterpriseItemPublishStatusChanged$1: EventDefinition<EnterpriseItemPublishStatusChangedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_publish_status_changed">;
1914
- declare const onEnterpriseItemUpdated$1: EventDefinition<EnterpriseItemUpdatedEnvelope, "wix.media.enterprise_public_media.v1.enterprise_item_updated">;
1915
1912
 
1916
1913
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1917
1914
 
@@ -1934,6 +1931,12 @@ type _publicOnEnterpriseItemCreatedType = typeof onEnterpriseItemCreated$1;
1934
1931
  */
1935
1932
  declare const onEnterpriseItemCreated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemCreatedType>>;
1936
1933
 
1934
+ type _publicOnEnterpriseItemUpdatedType = typeof onEnterpriseItemUpdated$1;
1935
+ /**
1936
+ * Triggered when an item is updated, including when an item is archived or linked to a category
1937
+ */
1938
+ declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemUpdatedType>>;
1939
+
1937
1940
  type _publicOnEnterpriseItemItemCategoriesChangedType = typeof onEnterpriseItemItemCategoriesChanged$1;
1938
1941
  /**
1939
1942
  * Triggered when an is linked to a category or unlinked from a category
@@ -1946,12 +1949,6 @@ type _publicOnEnterpriseItemPublishStatusChangedType = typeof onEnterpriseItemPu
1946
1949
  */
1947
1950
  declare const onEnterpriseItemPublishStatusChanged: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemPublishStatusChangedType>>;
1948
1951
 
1949
- type _publicOnEnterpriseItemUpdatedType = typeof onEnterpriseItemUpdated$1;
1950
- /**
1951
- * Triggered when an item is updated, including when an item is archived or linked to a category
1952
- */
1953
- declare const onEnterpriseItemUpdated: ReturnType<typeof createEventModule$2<_publicOnEnterpriseItemUpdatedType>>;
1954
-
1955
1952
  type index_d$2_BulkImportFilesOptions = BulkImportFilesOptions;
1956
1953
  type index_d$2_BulkImportFilesResult = BulkImportFilesResult;
1957
1954
  type index_d$2_BulkItemUpdateResult = BulkItemUpdateResult;