@wix/auto_sdk_multilingual_translation-published-contents 1.0.46 → 1.0.48
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 +79 -3
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -1
- 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 +79 -3
- package/build/es/index.typings.mjs +6 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -1
- 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 +79 -3
- 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 -1
- 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 +79 -3
- 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 -1
- 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.mjs';
|
|
2
|
+
import { PublishedContentCreatedEnvelope, PublishedContentDeletedEnvelope, PublishedContentUpdatedEnvelope, PublishedContentQueryBuilder, PublishedContentQuery, typedQueryPublishedContent } from './index.typings.mjs';
|
|
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.mjs';
|
|
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 };
|
|
@@ -516,6 +516,11 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
516
516
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
517
517
|
return ResponsivenessBehaviour2;
|
|
518
518
|
})(ResponsivenessBehaviour || {});
|
|
519
|
+
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
520
|
+
DesignTarget2["LAYOUT"] = "LAYOUT";
|
|
521
|
+
DesignTarget2["CELL"] = "CELL";
|
|
522
|
+
return DesignTarget2;
|
|
523
|
+
})(DesignTarget || {});
|
|
519
524
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
520
525
|
SortOrder2["ASC"] = "ASC";
|
|
521
526
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -813,15 +818,24 @@ var onPublishedContentUpdated = EventDefinition(
|
|
|
813
818
|
transformPaths3(event, [
|
|
814
819
|
{
|
|
815
820
|
transformFn: transformRESTImageToSDKImage2,
|
|
816
|
-
paths: [
|
|
821
|
+
paths: [
|
|
822
|
+
{ path: "entity.fields.image" },
|
|
823
|
+
{ path: "modifiedFields.fields.image" }
|
|
824
|
+
]
|
|
817
825
|
},
|
|
818
826
|
{
|
|
819
827
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
820
|
-
paths: [
|
|
828
|
+
paths: [
|
|
829
|
+
{ path: "entity.fields.video" },
|
|
830
|
+
{ path: "modifiedFields.fields.video" }
|
|
831
|
+
]
|
|
821
832
|
},
|
|
822
833
|
{
|
|
823
834
|
transformFn: transformRESTDocumentToSDKDocument2,
|
|
824
|
-
paths: [
|
|
835
|
+
paths: [
|
|
836
|
+
{ path: "entity.fields.document" },
|
|
837
|
+
{ path: "modifiedFields.fields.document" }
|
|
838
|
+
]
|
|
825
839
|
},
|
|
826
840
|
{
|
|
827
841
|
transformFn: transformRESTFloatToSDKFloat2,
|
|
@@ -872,6 +886,57 @@ var onPublishedContentUpdated = EventDefinition(
|
|
|
872
886
|
},
|
|
873
887
|
{
|
|
874
888
|
path: "entity.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.image.media.duration"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.video.media.duration"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
path: "modifiedFields.fields.richContent.nodes.galleryData.options.item.ratio"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.image.duration"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
path: "modifiedFields.fields.richContent.nodes.mapData.mapSettings.lat"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
path: "modifiedFields.fields.richContent.nodes.mapData.mapSettings.lng"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.poll.image.duration"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.poll.options.image.duration"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
path: "modifiedFields.fields.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
path: "modifiedFields.fields.richContent.nodes.appEmbedData.image.duration"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
path: "modifiedFields.fields.richContent.nodes.videoData.video.duration"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
path: "modifiedFields.fields.richContent.nodes.videoData.thumbnail.duration"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
path: "modifiedFields.fields.richContent.nodes.audioData.audio.duration"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
path: "modifiedFields.fields.richContent.nodes.audioData.coverImage.duration"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
875
940
|
}
|
|
876
941
|
]
|
|
877
942
|
},
|
|
@@ -880,7 +945,13 @@ var onPublishedContentUpdated = EventDefinition(
|
|
|
880
945
|
paths: [
|
|
881
946
|
{ path: "entity.fields.richContent.metadata.createdTimestamp" },
|
|
882
947
|
{ path: "entity.fields.richContent.metadata.updatedTimestamp" },
|
|
883
|
-
{ path: "metadata.eventTime" }
|
|
948
|
+
{ path: "metadata.eventTime" },
|
|
949
|
+
{
|
|
950
|
+
path: "modifiedFields.fields.richContent.metadata.createdTimestamp"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
path: "modifiedFields.fields.richContent.metadata.updatedTimestamp"
|
|
954
|
+
}
|
|
884
955
|
]
|
|
885
956
|
}
|
|
886
957
|
])
|
|
@@ -920,6 +991,7 @@ export {
|
|
|
920
991
|
ButtonDataType,
|
|
921
992
|
Crop,
|
|
922
993
|
DecorationType,
|
|
994
|
+
DesignTarget,
|
|
923
995
|
Direction,
|
|
924
996
|
DividerDataAlignment,
|
|
925
997
|
FontType,
|