@wix/auto_sdk_multilingual_translation-published-contents 1.0.45 → 1.0.47
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/build/cjs/index.d.ts +4 -4
- package/build/cjs/index.js +77 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +78 -6
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -4
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +76 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +78 -6
- package/build/es/index.typings.mjs +6 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -4
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +77 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +78 -6
- package/build/internal/cjs/index.typings.js +7 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -4
- package/build/internal/cjs/meta.js +7 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +76 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +78 -6
- package/build/internal/es/index.typings.mjs +6 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -4
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventDefinition, MaybeContext, BuildRESTFunction, HttpClient, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { PublishedContentCreatedEnvelope, PublishedContentDeletedEnvelope, PublishedContentUpdatedEnvelope, PublishedContentQueryBuilder,
|
|
3
|
-
export { ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkContentResult, BulkDeletePublishedContentRequest, BulkDeletePublishedContentResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePublishedContentByFilterRequest, DeletePublishedContentByFilterResponse, DeletePublishedContentRequest, DeletePublishedContentResponse, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPublishedContentRequest, GetPublishedContentResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, PublishedContent, PublishedContentField, PublishedContentFieldValueOneOf, PublishedContentQueryResult, QueryPublishedContentRequest, QueryPublishedContentResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SchemaKey, SchemaScope, SchemaScopeWithLiterals, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
2
|
+
import { PublishedContentCreatedEnvelope, PublishedContentDeletedEnvelope, PublishedContentUpdatedEnvelope, PublishedContentQueryBuilder, PublishedContentQuery, typedQueryPublishedContent } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkContentResult, BulkDeletePublishedContentRequest, BulkDeletePublishedContentResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePublishedContentByFilterRequest, DeletePublishedContentByFilterResponse, DeletePublishedContentRequest, DeletePublishedContentResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPublishedContentRequest, GetPublishedContentResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, PublishedContent, PublishedContentField, PublishedContentFieldValueOneOf, PublishedContentQueryResult, PublishedContentQuerySpec, QueryPublishedContentRequest, QueryPublishedContentResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SchemaKey, SchemaScope, SchemaScopeWithLiterals, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare const onPublishedContentCreated$1: EventDefinition<PublishedContentCreatedEnvelope, "wix.multilingual.localization_public.v3.published_content_created">;
|
|
6
6
|
declare const onPublishedContentDeleted$1: EventDefinition<PublishedContentDeletedEnvelope, "wix.multilingual.localization_public.v3.published_content_deleted">;
|
|
@@ -8,7 +8,7 @@ declare const onPublishedContentUpdated$1: EventDefinition<PublishedContentUpdat
|
|
|
8
8
|
|
|
9
9
|
declare function customQueryPublishedContent(httpClient: HttpClient): {
|
|
10
10
|
(): PublishedContentQueryBuilder;
|
|
11
|
-
(query:
|
|
11
|
+
(query: PublishedContentQuery): ReturnType<typeof typedQueryPublishedContent>;
|
|
12
12
|
};
|
|
13
13
|
declare const queryPublishedContent: MaybeContext<BuildRESTFunction<typeof customQueryPublishedContent> & typeof customQueryPublishedContent>;
|
|
14
14
|
/**
|
|
@@ -24,4 +24,4 @@ declare const onPublishedContentDeleted: BuildEventDefinition<typeof onPublished
|
|
|
24
24
|
*/
|
|
25
25
|
declare const onPublishedContentUpdated: BuildEventDefinition<typeof onPublishedContentUpdated$1> & typeof onPublishedContentUpdated$1;
|
|
26
26
|
|
|
27
|
-
export {
|
|
27
|
+
export { PublishedContentCreatedEnvelope, PublishedContentDeletedEnvelope, PublishedContentQuery, PublishedContentQueryBuilder, PublishedContentUpdatedEnvelope, onPublishedContentCreated, onPublishedContentDeleted, onPublishedContentUpdated, queryPublishedContent };
|
|
@@ -27,6 +27,7 @@ __export(index_exports, {
|
|
|
27
27
|
ButtonDataType: () => ButtonDataType,
|
|
28
28
|
Crop: () => Crop,
|
|
29
29
|
DecorationType: () => DecorationType,
|
|
30
|
+
DesignTarget: () => DesignTarget,
|
|
30
31
|
Direction: () => Direction,
|
|
31
32
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
32
33
|
FontType: () => FontType,
|
|
@@ -586,6 +587,11 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
586
587
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
587
588
|
return ResponsivenessBehaviour2;
|
|
588
589
|
})(ResponsivenessBehaviour || {});
|
|
590
|
+
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
591
|
+
DesignTarget2["LAYOUT"] = "LAYOUT";
|
|
592
|
+
DesignTarget2["CELL"] = "CELL";
|
|
593
|
+
return DesignTarget2;
|
|
594
|
+
})(DesignTarget || {});
|
|
589
595
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
590
596
|
SortOrder2["ASC"] = "ASC";
|
|
591
597
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -883,15 +889,24 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
883
889
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
884
890
|
{
|
|
885
891
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
886
|
-
paths: [
|
|
892
|
+
paths: [
|
|
893
|
+
{ path: "entity.fields.image" },
|
|
894
|
+
{ path: "modifiedFields.fields.image" }
|
|
895
|
+
]
|
|
887
896
|
},
|
|
888
897
|
{
|
|
889
898
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
890
|
-
paths: [
|
|
899
|
+
paths: [
|
|
900
|
+
{ path: "entity.fields.video" },
|
|
901
|
+
{ path: "modifiedFields.fields.video" }
|
|
902
|
+
]
|
|
891
903
|
},
|
|
892
904
|
{
|
|
893
905
|
transformFn: import_document2.transformRESTDocumentToSDKDocument,
|
|
894
|
-
paths: [
|
|
906
|
+
paths: [
|
|
907
|
+
{ path: "entity.fields.document" },
|
|
908
|
+
{ path: "modifiedFields.fields.document" }
|
|
909
|
+
]
|
|
895
910
|
},
|
|
896
911
|
{
|
|
897
912
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
@@ -942,6 +957,57 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
942
957
|
},
|
|
943
958
|
{
|
|
944
959
|
path: "entity.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.image.media.duration"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.video.media.duration"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.options.item.ratio"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.image.duration"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
path: "modifiedFields.fields.richContent.nodes.mapData.mapSettings.lat"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
path: "modifiedFields.fields.richContent.nodes.mapData.mapSettings.lng"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.poll.image.duration"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.poll.options.image.duration"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
path: "modifiedFields.fields.richContent.nodes.appEmbedData.image.duration"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
path: "modifiedFields.fields.richContent.nodes.videoData.video.duration"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
path: "modifiedFields.fields.richContent.nodes.videoData.thumbnail.duration"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
path: "modifiedFields.fields.richContent.nodes.audioData.audio.duration"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
path: "modifiedFields.fields.richContent.nodes.audioData.coverImage.duration"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
945
1011
|
}
|
|
946
1012
|
]
|
|
947
1013
|
},
|
|
@@ -950,7 +1016,13 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
950
1016
|
paths: [
|
|
951
1017
|
{ path: "entity.fields.richContent.metadata.createdTimestamp" },
|
|
952
1018
|
{ path: "entity.fields.richContent.metadata.updatedTimestamp" },
|
|
953
|
-
{ path: "metadata.eventTime" }
|
|
1019
|
+
{ path: "metadata.eventTime" },
|
|
1020
|
+
{
|
|
1021
|
+
path: "modifiedFields.fields.richContent.metadata.createdTimestamp"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
path: "modifiedFields.fields.richContent.metadata.updatedTimestamp"
|
|
1025
|
+
}
|
|
954
1026
|
]
|
|
955
1027
|
}
|
|
956
1028
|
])
|
|
@@ -991,6 +1063,7 @@ var onPublishedContentUpdated2 = (0, import_event_definition_modules.createEvent
|
|
|
991
1063
|
ButtonDataType,
|
|
992
1064
|
Crop,
|
|
993
1065
|
DecorationType,
|
|
1066
|
+
DesignTarget,
|
|
994
1067
|
Direction,
|
|
995
1068
|
DividerDataAlignment,
|
|
996
1069
|
FontType,
|