@wix/auto_sdk_blog_draft-posts 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 +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -159
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +577 -1
- package/build/cjs/meta.js +461 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -159
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +577 -1
- package/build/es/meta.mjs +414 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -159
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +577 -1
- package/build/internal/cjs/meta.js +461 -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.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -159
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +577 -1
- package/build/internal/es/meta.mjs +414 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -2892,111 +2892,6 @@ interface UnpublishPostRequest {
|
|
|
2892
2892
|
}
|
|
2893
2893
|
interface UnpublishPostResponse {
|
|
2894
2894
|
}
|
|
2895
|
-
interface TranslateCategoryRequest {
|
|
2896
|
-
/**
|
|
2897
|
-
* Source category ID
|
|
2898
|
-
* @format GUID
|
|
2899
|
-
*/
|
|
2900
|
-
categoryId?: string;
|
|
2901
|
-
/**
|
|
2902
|
-
* Translation language
|
|
2903
|
-
* @format LANGUAGE_TAG
|
|
2904
|
-
*/
|
|
2905
|
-
language?: string;
|
|
2906
|
-
}
|
|
2907
|
-
interface TranslateCategoryResponse {
|
|
2908
|
-
/** Translated category */
|
|
2909
|
-
category?: Category;
|
|
2910
|
-
/** Other translations of returned category */
|
|
2911
|
-
translations?: CategoryTranslation[];
|
|
2912
|
-
}
|
|
2913
|
-
interface Category {
|
|
2914
|
-
/**
|
|
2915
|
-
* Category ID.
|
|
2916
|
-
* @immutable
|
|
2917
|
-
* @maxLength 38
|
|
2918
|
-
*/
|
|
2919
|
-
_id?: string;
|
|
2920
|
-
/**
|
|
2921
|
-
* Category label. Displayed in the Category Menu.
|
|
2922
|
-
* @maxLength 35
|
|
2923
|
-
*/
|
|
2924
|
-
label?: string;
|
|
2925
|
-
/**
|
|
2926
|
-
* Number of posts in the category.
|
|
2927
|
-
* @readonly
|
|
2928
|
-
*/
|
|
2929
|
-
postCount?: number;
|
|
2930
|
-
/**
|
|
2931
|
-
* The `url` of the page that lists every post with the specified category.
|
|
2932
|
-
* @readonly
|
|
2933
|
-
*/
|
|
2934
|
-
url?: string;
|
|
2935
|
-
/**
|
|
2936
|
-
* Category description.
|
|
2937
|
-
* @maxLength 500
|
|
2938
|
-
*/
|
|
2939
|
-
description?: string | null;
|
|
2940
|
-
/**
|
|
2941
|
-
* Category title.
|
|
2942
|
-
* @maxLength 200
|
|
2943
|
-
* @deprecated Category title.
|
|
2944
|
-
* @targetRemovalDate 2025-07-16
|
|
2945
|
-
*/
|
|
2946
|
-
title?: string;
|
|
2947
|
-
/**
|
|
2948
|
-
* Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
|
|
2949
|
-
* Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
|
|
2950
|
-
*
|
|
2951
|
-
* Default: `-1`
|
|
2952
|
-
*/
|
|
2953
|
-
displayPosition?: number | null;
|
|
2954
|
-
/**
|
|
2955
|
-
* ID of the category's translations. All translations of a single category share the same `translationId`.
|
|
2956
|
-
* @format GUID
|
|
2957
|
-
*/
|
|
2958
|
-
translationId?: string | null;
|
|
2959
|
-
/**
|
|
2960
|
-
* Category language.
|
|
2961
|
-
*
|
|
2962
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2963
|
-
* @immutable
|
|
2964
|
-
*/
|
|
2965
|
-
language?: string | null;
|
|
2966
|
-
/**
|
|
2967
|
-
* Part of a category's URL that refers to a specific category. For example, the slug of `https:/example.com/blog/category/famous-cats` is `famous-cats`.
|
|
2968
|
-
* @maxLength 100
|
|
2969
|
-
*/
|
|
2970
|
-
slug?: string;
|
|
2971
|
-
/** SEO data. */
|
|
2972
|
-
seoData?: SeoSchema;
|
|
2973
|
-
/** Category cover image. */
|
|
2974
|
-
coverImage?: string;
|
|
2975
|
-
/**
|
|
2976
|
-
* Date and time the Category was last updated.
|
|
2977
|
-
* @readonly
|
|
2978
|
-
*/
|
|
2979
|
-
_updatedDate?: Date | null;
|
|
2980
|
-
}
|
|
2981
|
-
interface CategoryTranslation {
|
|
2982
|
-
/**
|
|
2983
|
-
* Category ID.
|
|
2984
|
-
* @format GUID
|
|
2985
|
-
*/
|
|
2986
|
-
_id?: string;
|
|
2987
|
-
/**
|
|
2988
|
-
* Label displayed in the categories menu on the site.
|
|
2989
|
-
* @maxLength 100
|
|
2990
|
-
*/
|
|
2991
|
-
label?: string | null;
|
|
2992
|
-
/**
|
|
2993
|
-
* Language of the category.
|
|
2994
|
-
* @format LANGUAGE_TAG
|
|
2995
|
-
*/
|
|
2996
|
-
language?: string | null;
|
|
2997
|
-
/** URL of this category page. */
|
|
2998
|
-
url?: string;
|
|
2999
|
-
}
|
|
3000
2895
|
interface TranslateDraftRequest {
|
|
3001
2896
|
/**
|
|
3002
2897
|
* Source post or draft ID
|
|
@@ -3070,59 +2965,6 @@ interface UpdateDraftPostLanguageResponse {
|
|
|
3070
2965
|
/** Draft post */
|
|
3071
2966
|
draftPost?: DraftPost;
|
|
3072
2967
|
}
|
|
3073
|
-
interface BulkUpdateDraftPostLanguageRequest {
|
|
3074
|
-
/**
|
|
3075
|
-
* Source post or draft IDs
|
|
3076
|
-
* @maxSize 50
|
|
3077
|
-
* @format GUID
|
|
3078
|
-
*/
|
|
3079
|
-
ids?: string[];
|
|
3080
|
-
/**
|
|
3081
|
-
* New language to replace to
|
|
3082
|
-
* @format LANGUAGE_TAG
|
|
3083
|
-
*/
|
|
3084
|
-
language?: string;
|
|
3085
|
-
/** Should full draft post be returned */
|
|
3086
|
-
returnFullEntity?: boolean;
|
|
3087
|
-
/**
|
|
3088
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3089
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3090
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3091
|
-
* @maxSize 10
|
|
3092
|
-
*/
|
|
3093
|
-
fieldsets?: FieldWithLiterals[];
|
|
3094
|
-
}
|
|
3095
|
-
interface BulkUpdateDraftPostLanguageResponse {
|
|
3096
|
-
/** Bulk action results */
|
|
3097
|
-
results?: BulkDraftPostResult[];
|
|
3098
|
-
/** Bulk action metadata */
|
|
3099
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
3100
|
-
}
|
|
3101
|
-
interface GetPostAmountsByLanguageRequest {
|
|
3102
|
-
/**
|
|
3103
|
-
* Post status to filter by
|
|
3104
|
-
* @maxLength 100
|
|
3105
|
-
*/
|
|
3106
|
-
status?: string;
|
|
3107
|
-
}
|
|
3108
|
-
interface GetPostAmountsByLanguageResponse {
|
|
3109
|
-
/** Post amounts by language */
|
|
3110
|
-
postAmountsByLanguage?: PostAmountByLanguage[];
|
|
3111
|
-
}
|
|
3112
|
-
interface PostAmountByLanguage {
|
|
3113
|
-
/**
|
|
3114
|
-
* Post language code
|
|
3115
|
-
* @format LANGUAGE_TAG
|
|
3116
|
-
*/
|
|
3117
|
-
languageCode?: string;
|
|
3118
|
-
/**
|
|
3119
|
-
* Language flag
|
|
3120
|
-
* @format LANGUAGE_TAG
|
|
3121
|
-
*/
|
|
3122
|
-
flag?: string;
|
|
3123
|
-
/** Post amount in that language */
|
|
3124
|
-
postAmount?: number;
|
|
3125
|
-
}
|
|
3126
2968
|
interface BulkRevertToUnpublishedRequest {
|
|
3127
2969
|
/**
|
|
3128
2970
|
* Source post IDs.
|
|
@@ -3910,4 +3752,4 @@ interface DraftPostsQueryBuilder {
|
|
|
3910
3752
|
*/
|
|
3911
3753
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
3912
3754
|
|
|
3913
|
-
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type
|
|
3755
|
+
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, 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 GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, 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, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, 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, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
|