@wix/auto_sdk_multilingual_translation-published-contents 1.0.36 → 1.0.38
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 +3 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +60 -1
- package/build/cjs/index.typings.js +3 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +249 -1
- package/build/cjs/meta.js +365 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +3 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +60 -1
- package/build/es/index.typings.mjs +3 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +249 -1
- package/build/es/meta.mjs +325 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +3 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +60 -1
- package/build/internal/cjs/index.typings.js +3 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +249 -1
- package/build/internal/cjs/meta.js +365 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +3 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +60 -1
- package/build/internal/es/index.typings.mjs +3 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +249 -1
- package/build/internal/es/meta.mjs +325 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -2049,6 +2049,65 @@ interface DeletePublishedContentRequest {
|
|
|
2049
2049
|
}
|
|
2050
2050
|
interface DeletePublishedContentResponse {
|
|
2051
2051
|
}
|
|
2052
|
+
interface BulkDeletePublishedContentRequest {
|
|
2053
|
+
/**
|
|
2054
|
+
* The ID of the published content to delete
|
|
2055
|
+
* @maxSize 100
|
|
2056
|
+
* @format GUID
|
|
2057
|
+
*/
|
|
2058
|
+
contentIds?: string[];
|
|
2059
|
+
}
|
|
2060
|
+
interface BulkDeletePublishedContentResponse {
|
|
2061
|
+
/**
|
|
2062
|
+
* Items created by bulk action.
|
|
2063
|
+
* @minSize 1
|
|
2064
|
+
* @maxSize 100
|
|
2065
|
+
*/
|
|
2066
|
+
results?: BulkContentResult[];
|
|
2067
|
+
/** Bulk action metadata. */
|
|
2068
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2069
|
+
}
|
|
2070
|
+
interface ItemMetadata {
|
|
2071
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
2072
|
+
_id?: string | null;
|
|
2073
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
2074
|
+
originalIndex?: number;
|
|
2075
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
2076
|
+
success?: boolean;
|
|
2077
|
+
/** Details about the error in case of failure. */
|
|
2078
|
+
error?: ApplicationError;
|
|
2079
|
+
}
|
|
2080
|
+
interface ApplicationError {
|
|
2081
|
+
/** Error code. */
|
|
2082
|
+
code?: string;
|
|
2083
|
+
/** Description of the error. */
|
|
2084
|
+
description?: string;
|
|
2085
|
+
/** Data related to the error. */
|
|
2086
|
+
data?: Record<string, any> | null;
|
|
2087
|
+
}
|
|
2088
|
+
interface BulkContentResult {
|
|
2089
|
+
/** Item metadata. */
|
|
2090
|
+
itemMetadata?: ItemMetadata;
|
|
2091
|
+
}
|
|
2092
|
+
interface BulkActionMetadata {
|
|
2093
|
+
/** Number of items that were successfully processed. */
|
|
2094
|
+
totalSuccesses?: number;
|
|
2095
|
+
/** Number of items that couldn't be processed. */
|
|
2096
|
+
totalFailures?: number;
|
|
2097
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2098
|
+
undetailedFailures?: number;
|
|
2099
|
+
}
|
|
2100
|
+
interface DeletePublishedContentByFilterRequest {
|
|
2101
|
+
/** the query filter content to delete */
|
|
2102
|
+
query?: CursorQuery;
|
|
2103
|
+
}
|
|
2104
|
+
interface DeletePublishedContentByFilterResponse {
|
|
2105
|
+
/**
|
|
2106
|
+
* follow the remove job.
|
|
2107
|
+
* @maxLength 128
|
|
2108
|
+
*/
|
|
2109
|
+
jobId?: string | null;
|
|
2110
|
+
}
|
|
2052
2111
|
interface MessageEnvelope {
|
|
2053
2112
|
/**
|
|
2054
2113
|
* App instance ID.
|
|
@@ -2299,4 +2358,4 @@ interface PublishedContentQueryBuilder {
|
|
|
2299
2358
|
find: () => Promise<PublishedContentQueryResult>;
|
|
2300
2359
|
}
|
|
2301
2360
|
|
|
2302
|
-
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePublishedContentRequest, type DeletePublishedContentResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPublishedContentRequest, type GetPublishedContentResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type PublishedContent, type PublishedContentCreatedEnvelope, type PublishedContentDeletedEnvelope, type PublishedContentField, type PublishedContentFieldValueOneOf, type PublishedContentQueryBuilder, type PublishedContentQueryResult, type PublishedContentUpdatedEnvelope, type QueryPublishedContentRequest, type QueryPublishedContentResponse, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type SchemaKey, SchemaScope, type SchemaScopeWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, onPublishedContentCreated, onPublishedContentDeleted, onPublishedContentUpdated, queryPublishedContent };
|
|
2361
|
+
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkContentResult, type BulkDeletePublishedContentRequest, type BulkDeletePublishedContentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePublishedContentByFilterRequest, type DeletePublishedContentByFilterResponse, type DeletePublishedContentRequest, type DeletePublishedContentResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPublishedContentRequest, type GetPublishedContentResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type PublishedContent, type PublishedContentCreatedEnvelope, type PublishedContentDeletedEnvelope, type PublishedContentField, type PublishedContentFieldValueOneOf, type PublishedContentQueryBuilder, type PublishedContentQueryResult, type PublishedContentUpdatedEnvelope, type QueryPublishedContentRequest, type QueryPublishedContentResponse, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type SchemaKey, SchemaScope, type SchemaScopeWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, onPublishedContentCreated, onPublishedContentDeleted, onPublishedContentUpdated, queryPublishedContent };
|
|
@@ -81,6 +81,9 @@ function queryPublishedContent(payload) {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
methodFqn: "com.wixpress.localizationpublic.v3.TranslationPublishedContent.QueryPublishedContent",
|
|
83
83
|
packageName: PACKAGE_NAME,
|
|
84
|
+
migrationOptions: {
|
|
85
|
+
optInTransformResponse: true
|
|
86
|
+
},
|
|
84
87
|
url: resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(
|
|
85
88
|
{ protoPath: "/v3/published-contents/query", data: payload, host }
|
|
86
89
|
),
|