@wix/auto_sdk_multilingual_translation-published-contents 1.0.67 → 1.0.69
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 +1 -1
- package/build/cjs/index.js +210 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +107 -33
- package/build/cjs/index.typings.js +74 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +102 -33
- package/build/cjs/meta.js +74 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +204 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +107 -33
- package/build/es/index.typings.mjs +72 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +102 -33
- package/build/es/meta.mjs +72 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +210 -14
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +107 -33
- package/build/internal/cjs/index.typings.js +74 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +102 -33
- package/build/internal/cjs/meta.js +74 -10
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +204 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +107 -33
- package/build/internal/es/index.typings.mjs +72 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +102 -33
- package/build/internal/es/meta.mjs +72 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventDefinition, MaybeContext, BuildRESTFunction, HttpClient, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { PublishedContentCreatedEnvelope, PublishedContentDeletedEnvelope, PublishedContentUpdatedEnvelope, PublishedContentQueryBuilder, PublishedContentQuery, typedQueryPublishedContent } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkContentResult, BulkDeletePublishedContentRequest, BulkDeletePublishedContentResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, 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, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, 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, ShapeData, ShapeDataStyles, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkContentResult, BulkDeletePublishedContentRequest, BulkDeletePublishedContentResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, 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, DividerDataStyles, 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, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, 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, ShapeData, ShapeDataStyles, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, utils } 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">;
|
package/build/cjs/index.js
CHANGED
|
@@ -45,6 +45,7 @@ __export(index_exports, {
|
|
|
45
45
|
Layout: () => Layout,
|
|
46
46
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
47
47
|
LayoutType: () => LayoutType,
|
|
48
|
+
LineCap: () => LineCap,
|
|
48
49
|
LineStyle: () => LineStyle,
|
|
49
50
|
ListStyle: () => ListStyle,
|
|
50
51
|
MapType: () => MapType,
|
|
@@ -90,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
90
91
|
// src/multilingual-localization-public-v3-published-content-translation-published-contents.public.ts
|
|
91
92
|
var import_rename_all_nested_keys2 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
92
93
|
var import_document2 = require("@wix/sdk-runtime/transformations/document");
|
|
93
|
-
var
|
|
94
|
+
var import_float3 = require("@wix/sdk-runtime/transformations/float");
|
|
94
95
|
var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
95
96
|
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
96
97
|
var import_transform_paths3 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
@@ -105,6 +106,7 @@ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-
|
|
|
105
106
|
// src/multilingual-localization-public-v3-published-content-translation-published-contents.http.ts
|
|
106
107
|
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
107
108
|
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
109
|
+
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
108
110
|
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
109
111
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
110
112
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
@@ -172,6 +174,15 @@ function resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(op
|
|
|
172
174
|
var PACKAGE_NAME = "@wix/auto_sdk_multilingual_translation-published-contents";
|
|
173
175
|
function queryPublishedContent(payload) {
|
|
174
176
|
function __queryPublishedContent({ host }) {
|
|
177
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
178
|
+
{
|
|
179
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
180
|
+
paths: [
|
|
181
|
+
{ path: "query.sort.origin.latitude" },
|
|
182
|
+
{ path: "query.sort.origin.longitude" }
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
]);
|
|
175
186
|
const metadata = {
|
|
176
187
|
entityFqdn: "wix.multilingual.localization_public.v3.published_content",
|
|
177
188
|
method: "GET",
|
|
@@ -181,12 +192,16 @@ function queryPublishedContent(payload) {
|
|
|
181
192
|
optInTransformResponse: true
|
|
182
193
|
},
|
|
183
194
|
url: resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(
|
|
184
|
-
{
|
|
195
|
+
{
|
|
196
|
+
protoPath: "/v3/published-contents/query",
|
|
197
|
+
data: serializedData,
|
|
198
|
+
host
|
|
199
|
+
}
|
|
185
200
|
),
|
|
186
|
-
params: (0, import_rest_modules.toURLSearchParams)(
|
|
201
|
+
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
187
202
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
188
203
|
{
|
|
189
|
-
transformFn:
|
|
204
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
190
205
|
paths: [
|
|
191
206
|
{
|
|
192
207
|
path: "publishedContent.fields.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
@@ -221,6 +236,18 @@ function queryPublishedContent(payload) {
|
|
|
221
236
|
{
|
|
222
237
|
path: "publishedContent.fields.richContent.nodes.imageData.image.duration"
|
|
223
238
|
},
|
|
239
|
+
{
|
|
240
|
+
path: "publishedContent.fields.richContent.nodes.imageData.crop.x"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
path: "publishedContent.fields.richContent.nodes.imageData.crop.y"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
path: "publishedContent.fields.richContent.nodes.imageData.crop.width"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
path: "publishedContent.fields.richContent.nodes.imageData.crop.height"
|
|
250
|
+
},
|
|
224
251
|
{
|
|
225
252
|
path: "publishedContent.fields.richContent.nodes.mapData.mapSettings.lat"
|
|
226
253
|
},
|
|
@@ -254,9 +281,27 @@ function queryPublishedContent(payload) {
|
|
|
254
281
|
{
|
|
255
282
|
path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
256
283
|
},
|
|
284
|
+
{
|
|
285
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
292
|
+
},
|
|
257
293
|
{
|
|
258
294
|
path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
259
295
|
},
|
|
296
|
+
{
|
|
297
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
304
|
+
},
|
|
260
305
|
{
|
|
261
306
|
path: "publishedContent.fields.richContent.nodes.layoutData.background.gradient.centerX"
|
|
262
307
|
},
|
|
@@ -290,6 +335,15 @@ function queryPublishedContent(payload) {
|
|
|
290
335
|
{
|
|
291
336
|
path: "publishedContent.fields.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
292
337
|
},
|
|
338
|
+
{
|
|
339
|
+
path: "publishedContent.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
path: "publishedContent.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
path: "publishedContent.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
346
|
+
},
|
|
293
347
|
{
|
|
294
348
|
path: "publishedContent.fields.richContent.nodes.tocData.fontSize"
|
|
295
349
|
},
|
|
@@ -348,9 +402,13 @@ function queryPublishedContent(payload) {
|
|
|
348
402
|
{
|
|
349
403
|
method: "POST",
|
|
350
404
|
url: resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(
|
|
351
|
-
{
|
|
405
|
+
{
|
|
406
|
+
protoPath: "/v3/published-contents/query",
|
|
407
|
+
data: serializedData,
|
|
408
|
+
host
|
|
409
|
+
}
|
|
352
410
|
),
|
|
353
|
-
data:
|
|
411
|
+
data: serializedData
|
|
354
412
|
}
|
|
355
413
|
]
|
|
356
414
|
};
|
|
@@ -455,6 +513,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
|
455
513
|
TextAlignment2["JUSTIFY"] = "JUSTIFY";
|
|
456
514
|
return TextAlignment2;
|
|
457
515
|
})(TextAlignment || {});
|
|
516
|
+
var LineCap = /* @__PURE__ */ ((LineCap2) => {
|
|
517
|
+
LineCap2["SQUARE"] = "SQUARE";
|
|
518
|
+
LineCap2["ROUND"] = "ROUND";
|
|
519
|
+
return LineCap2;
|
|
520
|
+
})(LineCap || {});
|
|
458
521
|
var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
|
|
459
522
|
LineStyle2["SINGLE"] = "SINGLE";
|
|
460
523
|
LineStyle2["DOUBLE"] = "DOUBLE";
|
|
@@ -678,6 +741,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
678
741
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
679
742
|
return ImagePosition2;
|
|
680
743
|
})(ImagePosition || {});
|
|
744
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
745
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
746
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
747
|
+
return LayoutDataBackgroundType2;
|
|
748
|
+
})(LayoutDataBackgroundType || {});
|
|
681
749
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
682
750
|
Origin2["IMAGE"] = "IMAGE";
|
|
683
751
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -688,11 +756,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
688
756
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
689
757
|
return BannerPosition2;
|
|
690
758
|
})(BannerPosition || {});
|
|
691
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
692
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
693
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
694
|
-
return LayoutDataBackgroundType2;
|
|
695
|
-
})(LayoutDataBackgroundType || {});
|
|
696
759
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
697
760
|
BackdropType2["COLOR"] = "COLOR";
|
|
698
761
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -938,7 +1001,7 @@ var onPublishedContentCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
938
1001
|
paths: [{ path: "entity.fields.document" }]
|
|
939
1002
|
},
|
|
940
1003
|
{
|
|
941
|
-
transformFn:
|
|
1004
|
+
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
942
1005
|
paths: [
|
|
943
1006
|
{
|
|
944
1007
|
path: "entity.fields.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
@@ -973,6 +1036,10 @@ var onPublishedContentCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
973
1036
|
{
|
|
974
1037
|
path: "entity.fields.richContent.nodes.imageData.image.duration"
|
|
975
1038
|
},
|
|
1039
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.x" },
|
|
1040
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.y" },
|
|
1041
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.width" },
|
|
1042
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.height" },
|
|
976
1043
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lat" },
|
|
977
1044
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lng" },
|
|
978
1045
|
{
|
|
@@ -1002,9 +1069,27 @@ var onPublishedContentCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1002
1069
|
{
|
|
1003
1070
|
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1004
1071
|
},
|
|
1072
|
+
{
|
|
1073
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1080
|
+
},
|
|
1005
1081
|
{
|
|
1006
1082
|
path: "entity.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1007
1083
|
},
|
|
1084
|
+
{
|
|
1085
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1092
|
+
},
|
|
1008
1093
|
{
|
|
1009
1094
|
path: "entity.fields.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1010
1095
|
},
|
|
@@ -1038,6 +1123,15 @@ var onPublishedContentCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1038
1123
|
{
|
|
1039
1124
|
path: "entity.fields.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1040
1125
|
},
|
|
1126
|
+
{
|
|
1127
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1134
|
+
},
|
|
1041
1135
|
{ path: "entity.fields.richContent.nodes.tocData.fontSize" },
|
|
1042
1136
|
{ path: "entity.fields.richContent.nodes.tocData.itemSpacing" },
|
|
1043
1137
|
{
|
|
@@ -1074,7 +1168,7 @@ var onPublishedContentDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1074
1168
|
paths: [{ path: "entity.fields.document" }]
|
|
1075
1169
|
},
|
|
1076
1170
|
{
|
|
1077
|
-
transformFn:
|
|
1171
|
+
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1078
1172
|
paths: [
|
|
1079
1173
|
{
|
|
1080
1174
|
path: "entity.fields.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
@@ -1109,6 +1203,10 @@ var onPublishedContentDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1109
1203
|
{
|
|
1110
1204
|
path: "entity.fields.richContent.nodes.imageData.image.duration"
|
|
1111
1205
|
},
|
|
1206
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.x" },
|
|
1207
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.y" },
|
|
1208
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.width" },
|
|
1209
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.height" },
|
|
1112
1210
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lat" },
|
|
1113
1211
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lng" },
|
|
1114
1212
|
{
|
|
@@ -1138,9 +1236,27 @@ var onPublishedContentDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1138
1236
|
{
|
|
1139
1237
|
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1140
1238
|
},
|
|
1239
|
+
{
|
|
1240
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1247
|
+
},
|
|
1141
1248
|
{
|
|
1142
1249
|
path: "entity.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1143
1250
|
},
|
|
1251
|
+
{
|
|
1252
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1259
|
+
},
|
|
1144
1260
|
{
|
|
1145
1261
|
path: "entity.fields.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1146
1262
|
},
|
|
@@ -1174,6 +1290,15 @@ var onPublishedContentDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1174
1290
|
{
|
|
1175
1291
|
path: "entity.fields.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1176
1292
|
},
|
|
1293
|
+
{
|
|
1294
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1301
|
+
},
|
|
1177
1302
|
{ path: "entity.fields.richContent.nodes.tocData.fontSize" },
|
|
1178
1303
|
{ path: "entity.fields.richContent.nodes.tocData.itemSpacing" },
|
|
1179
1304
|
{
|
|
@@ -1219,7 +1344,7 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1219
1344
|
]
|
|
1220
1345
|
},
|
|
1221
1346
|
{
|
|
1222
|
-
transformFn:
|
|
1347
|
+
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1223
1348
|
paths: [
|
|
1224
1349
|
{
|
|
1225
1350
|
path: "entity.fields.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
@@ -1254,6 +1379,10 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1254
1379
|
{
|
|
1255
1380
|
path: "entity.fields.richContent.nodes.imageData.image.duration"
|
|
1256
1381
|
},
|
|
1382
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.x" },
|
|
1383
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.y" },
|
|
1384
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.width" },
|
|
1385
|
+
{ path: "entity.fields.richContent.nodes.imageData.crop.height" },
|
|
1257
1386
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lat" },
|
|
1258
1387
|
{ path: "entity.fields.richContent.nodes.mapData.mapSettings.lng" },
|
|
1259
1388
|
{
|
|
@@ -1283,9 +1412,27 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1283
1412
|
{
|
|
1284
1413
|
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1285
1414
|
},
|
|
1415
|
+
{
|
|
1416
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
path: "entity.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1423
|
+
},
|
|
1286
1424
|
{
|
|
1287
1425
|
path: "entity.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1288
1426
|
},
|
|
1427
|
+
{
|
|
1428
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
path: "entity.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1435
|
+
},
|
|
1289
1436
|
{
|
|
1290
1437
|
path: "entity.fields.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1291
1438
|
},
|
|
@@ -1319,6 +1466,15 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1319
1466
|
{
|
|
1320
1467
|
path: "entity.fields.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1321
1468
|
},
|
|
1469
|
+
{
|
|
1470
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
path: "entity.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1477
|
+
},
|
|
1322
1478
|
{ path: "entity.fields.richContent.nodes.tocData.fontSize" },
|
|
1323
1479
|
{ path: "entity.fields.richContent.nodes.tocData.itemSpacing" },
|
|
1324
1480
|
{
|
|
@@ -1357,6 +1513,18 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1357
1513
|
{
|
|
1358
1514
|
path: "modifiedFields.fields.richContent.nodes.imageData.image.duration"
|
|
1359
1515
|
},
|
|
1516
|
+
{
|
|
1517
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.crop.x"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.crop.y"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.crop.width"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
path: "modifiedFields.fields.richContent.nodes.imageData.crop.height"
|
|
1527
|
+
},
|
|
1360
1528
|
{
|
|
1361
1529
|
path: "modifiedFields.fields.richContent.nodes.mapData.mapSettings.lat"
|
|
1362
1530
|
},
|
|
@@ -1390,9 +1558,27 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1390
1558
|
{
|
|
1391
1559
|
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1392
1560
|
},
|
|
1561
|
+
{
|
|
1562
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1569
|
+
},
|
|
1393
1570
|
{
|
|
1394
1571
|
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1395
1572
|
},
|
|
1573
|
+
{
|
|
1574
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
path: "modifiedFields.fields.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1581
|
+
},
|
|
1396
1582
|
{
|
|
1397
1583
|
path: "modifiedFields.fields.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1398
1584
|
},
|
|
@@ -1426,6 +1612,15 @@ var onPublishedContentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1426
1612
|
{
|
|
1427
1613
|
path: "modifiedFields.fields.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1428
1614
|
},
|
|
1615
|
+
{
|
|
1616
|
+
path: "modifiedFields.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
path: "modifiedFields.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
path: "modifiedFields.fields.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1623
|
+
},
|
|
1429
1624
|
{
|
|
1430
1625
|
path: "modifiedFields.fields.richContent.nodes.tocData.fontSize"
|
|
1431
1626
|
},
|
|
@@ -1507,6 +1702,7 @@ var onPublishedContentUpdated2 = (0, import_event_definition_modules.createEvent
|
|
|
1507
1702
|
Layout,
|
|
1508
1703
|
LayoutDataBackgroundType,
|
|
1509
1704
|
LayoutType,
|
|
1705
|
+
LineCap,
|
|
1510
1706
|
LineStyle,
|
|
1511
1707
|
ListStyle,
|
|
1512
1708
|
MapType,
|