@wix/auto_sdk_blog_draft-posts 1.0.14 → 1.0.15
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/src/blog-v3-draft-draft-posts.context.d.ts +1 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.meta.d.ts +12 -12
- package/build/cjs/src/blog-v3-draft-draft-posts.meta.js.map +1 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.public.d.ts +13 -13
- package/build/cjs/src/blog-v3-draft-draft-posts.public.js.map +1 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.types.d.ts +38 -459
- package/build/cjs/src/blog-v3-draft-draft-posts.types.js.map +1 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.universal.d.ts +79 -434
- package/build/cjs/src/blog-v3-draft-draft-posts.universal.js.map +1 -1
- package/build/es/src/blog-v3-draft-draft-posts.context.d.ts +1 -1
- package/build/es/src/blog-v3-draft-draft-posts.meta.d.ts +12 -12
- package/build/es/src/blog-v3-draft-draft-posts.meta.js.map +1 -1
- package/build/es/src/blog-v3-draft-draft-posts.public.d.ts +13 -13
- package/build/es/src/blog-v3-draft-draft-posts.public.js.map +1 -1
- package/build/es/src/blog-v3-draft-draft-posts.types.d.ts +38 -459
- package/build/es/src/blog-v3-draft-draft-posts.types.js.map +1 -1
- package/build/es/src/blog-v3-draft-draft-posts.universal.d.ts +79 -434
- package/build/es/src/blog-v3-draft-draft-posts.universal.js.map +1 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.context.d.ts +1 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.meta.d.ts +12 -12
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.meta.js.map +1 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.public.d.ts +13 -13
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.public.js.map +1 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.types.d.ts +38 -459
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.types.js.map +1 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.universal.d.ts +79 -434
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.universal.js.map +1 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.context.d.ts +1 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.meta.d.ts +12 -12
- package/build/internal/es/src/blog-v3-draft-draft-posts.meta.js.map +1 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.public.d.ts +13 -13
- package/build/internal/es/src/blog-v3-draft-draft-posts.public.js.map +1 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.types.d.ts +38 -459
- package/build/internal/es/src/blog-v3-draft-draft-posts.types.js.map +1 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.universal.d.ts +79 -434
- package/build/internal/es/src/blog-v3-draft-draft-posts.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface DraftPost {
|
|
2
3
|
/**
|
|
3
4
|
* Draft post ID.
|
|
@@ -2298,8 +2299,21 @@ export interface BlogPaging {
|
|
|
2298
2299
|
export interface ListDeletedDraftPostsResponse {
|
|
2299
2300
|
/** List of draft posts. */
|
|
2300
2301
|
draftPosts?: DraftPost[];
|
|
2301
|
-
/**
|
|
2302
|
+
/**
|
|
2303
|
+
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
2304
|
+
* This property will be removed on June 30, 2025.
|
|
2305
|
+
*
|
|
2306
|
+
* Details on the paged set of results returned.
|
|
2307
|
+
* @deprecated __Deprecated.__ Use `pagingMetadata` instead.
|
|
2308
|
+
* This property will be removed on June 30, 2025.
|
|
2309
|
+
*
|
|
2310
|
+
* Details on the paged set of results returned.
|
|
2311
|
+
* @replacedBy pagingMetadata
|
|
2312
|
+
* @targetRemovalDate 2025-06-30
|
|
2313
|
+
*/
|
|
2302
2314
|
metaData?: MetaData;
|
|
2315
|
+
/** Details on the paged set of results returned. */
|
|
2316
|
+
pagingMetadata?: PagingMetadataV2;
|
|
2303
2317
|
}
|
|
2304
2318
|
export interface MetaData {
|
|
2305
2319
|
/** Number of items returned in this response. */
|
|
@@ -2314,6 +2328,30 @@ export interface MetaData {
|
|
|
2314
2328
|
*/
|
|
2315
2329
|
cursor?: string | null;
|
|
2316
2330
|
}
|
|
2331
|
+
export interface PagingMetadataV2 {
|
|
2332
|
+
/** Number of items returned in the response. */
|
|
2333
|
+
count?: number | null;
|
|
2334
|
+
/** Offset that was requested. */
|
|
2335
|
+
offset?: number | null;
|
|
2336
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2337
|
+
total?: number | null;
|
|
2338
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2339
|
+
tooManyToCount?: boolean | null;
|
|
2340
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2341
|
+
cursors?: Cursors;
|
|
2342
|
+
}
|
|
2343
|
+
export interface Cursors {
|
|
2344
|
+
/**
|
|
2345
|
+
* Cursor pointing to next page in the list of results.
|
|
2346
|
+
* @maxLength 2000
|
|
2347
|
+
*/
|
|
2348
|
+
next?: string | null;
|
|
2349
|
+
/**
|
|
2350
|
+
* Cursor pointing to previous page in the list of results.
|
|
2351
|
+
* @maxLength 2000
|
|
2352
|
+
*/
|
|
2353
|
+
prev?: string | null;
|
|
2354
|
+
}
|
|
2317
2355
|
export interface GetDraftPostRequest {
|
|
2318
2356
|
/**
|
|
2319
2357
|
* Draft post ID.
|
|
@@ -2575,30 +2613,6 @@ export interface QueryDraftPostsResponse {
|
|
|
2575
2613
|
/** Details on the paged set of results returned. */
|
|
2576
2614
|
pagingMetadata?: PagingMetadataV2;
|
|
2577
2615
|
}
|
|
2578
|
-
export interface PagingMetadataV2 {
|
|
2579
|
-
/** Number of items returned in the response. */
|
|
2580
|
-
count?: number | null;
|
|
2581
|
-
/** Offset that was requested. */
|
|
2582
|
-
offset?: number | null;
|
|
2583
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2584
|
-
total?: number | null;
|
|
2585
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2586
|
-
tooManyToCount?: boolean | null;
|
|
2587
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2588
|
-
cursors?: Cursors;
|
|
2589
|
-
}
|
|
2590
|
-
export interface Cursors {
|
|
2591
|
-
/**
|
|
2592
|
-
* Cursor pointing to next page in the list of results.
|
|
2593
|
-
* @maxLength 2000
|
|
2594
|
-
*/
|
|
2595
|
-
next?: string | null;
|
|
2596
|
-
/**
|
|
2597
|
-
* Cursor pointing to previous page in the list of results.
|
|
2598
|
-
* @maxLength 2000
|
|
2599
|
-
*/
|
|
2600
|
-
prev?: string | null;
|
|
2601
|
-
}
|
|
2602
2616
|
export interface PublishDraftPostRequest {
|
|
2603
2617
|
/**
|
|
2604
2618
|
* Draft post ID.
|
|
@@ -2964,404 +2978,6 @@ export interface MarkPostAsInModerationResponse {
|
|
|
2964
2978
|
/** Updated post draft. */
|
|
2965
2979
|
draftPost?: DraftPost;
|
|
2966
2980
|
}
|
|
2967
|
-
interface CoverMediaNonNullableFields {
|
|
2968
|
-
image: string;
|
|
2969
|
-
video: string;
|
|
2970
|
-
enabled: boolean;
|
|
2971
|
-
displayed: boolean;
|
|
2972
|
-
custom: boolean;
|
|
2973
|
-
}
|
|
2974
|
-
interface PluginContainerDataWidthNonNullableFields {
|
|
2975
|
-
size: WidthType;
|
|
2976
|
-
}
|
|
2977
|
-
interface PluginContainerDataNonNullableFields {
|
|
2978
|
-
width?: PluginContainerDataWidthNonNullableFields;
|
|
2979
|
-
alignment: PluginContainerDataAlignment;
|
|
2980
|
-
}
|
|
2981
|
-
interface LinkNonNullableFields {
|
|
2982
|
-
url: string;
|
|
2983
|
-
anchor: string;
|
|
2984
|
-
target: Target;
|
|
2985
|
-
}
|
|
2986
|
-
interface ButtonDataNonNullableFields {
|
|
2987
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2988
|
-
type: ButtonDataType;
|
|
2989
|
-
link?: LinkNonNullableFields;
|
|
2990
|
-
}
|
|
2991
|
-
interface TextStyleNonNullableFields {
|
|
2992
|
-
textAlignment: TextAlignment;
|
|
2993
|
-
}
|
|
2994
|
-
interface CodeBlockDataNonNullableFields {
|
|
2995
|
-
textStyle?: TextStyleNonNullableFields;
|
|
2996
|
-
}
|
|
2997
|
-
interface DividerDataNonNullableFields {
|
|
2998
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2999
|
-
lineStyle: LineStyle;
|
|
3000
|
-
width: Width;
|
|
3001
|
-
alignment: Alignment;
|
|
3002
|
-
}
|
|
3003
|
-
interface PDFSettingsNonNullableFields {
|
|
3004
|
-
viewMode: ViewMode;
|
|
3005
|
-
}
|
|
3006
|
-
interface FileDataNonNullableFields {
|
|
3007
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3008
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
|
3009
|
-
}
|
|
3010
|
-
interface ImageNonNullableFields {
|
|
3011
|
-
link?: LinkNonNullableFields;
|
|
3012
|
-
}
|
|
3013
|
-
interface ItemNonNullableFields {
|
|
3014
|
-
image?: ImageNonNullableFields;
|
|
3015
|
-
}
|
|
3016
|
-
interface LayoutNonNullableFields {
|
|
3017
|
-
type: LayoutType;
|
|
3018
|
-
orientation: Orientation;
|
|
3019
|
-
}
|
|
3020
|
-
interface ItemStyleNonNullableFields {
|
|
3021
|
-
crop: Crop;
|
|
3022
|
-
}
|
|
3023
|
-
interface ThumbnailsNonNullableFields {
|
|
3024
|
-
placement: ThumbnailsAlignment;
|
|
3025
|
-
}
|
|
3026
|
-
interface GalleryOptionsNonNullableFields {
|
|
3027
|
-
layout?: LayoutNonNullableFields;
|
|
3028
|
-
item?: ItemStyleNonNullableFields;
|
|
3029
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
|
3030
|
-
}
|
|
3031
|
-
interface GalleryDataNonNullableFields {
|
|
3032
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3033
|
-
items: ItemNonNullableFields[];
|
|
3034
|
-
options?: GalleryOptionsNonNullableFields;
|
|
3035
|
-
}
|
|
3036
|
-
interface GIFDataNonNullableFields {
|
|
3037
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3038
|
-
height: number;
|
|
3039
|
-
width: number;
|
|
3040
|
-
gifType: GIFType;
|
|
3041
|
-
}
|
|
3042
|
-
interface HeadingDataNonNullableFields {
|
|
3043
|
-
level: number;
|
|
3044
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3045
|
-
}
|
|
3046
|
-
interface HTMLDataNonNullableFields {
|
|
3047
|
-
url: string;
|
|
3048
|
-
html: string;
|
|
3049
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3050
|
-
source: Source;
|
|
3051
|
-
}
|
|
3052
|
-
interface ImageDataNonNullableFields {
|
|
3053
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3054
|
-
link?: LinkNonNullableFields;
|
|
3055
|
-
}
|
|
3056
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
|
3057
|
-
thumbnailPosition: Position;
|
|
3058
|
-
}
|
|
3059
|
-
interface LinkPreviewDataNonNullableFields {
|
|
3060
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3061
|
-
link?: LinkNonNullableFields;
|
|
3062
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
|
3063
|
-
}
|
|
3064
|
-
interface MapSettingsNonNullableFields {
|
|
3065
|
-
mapType: MapType;
|
|
3066
|
-
}
|
|
3067
|
-
interface MapDataNonNullableFields {
|
|
3068
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3069
|
-
mapSettings?: MapSettingsNonNullableFields;
|
|
3070
|
-
}
|
|
3071
|
-
interface ParagraphDataNonNullableFields {
|
|
3072
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3073
|
-
}
|
|
3074
|
-
interface PermissionsNonNullableFields {
|
|
3075
|
-
view: ViewRole;
|
|
3076
|
-
vote: VoteRole;
|
|
3077
|
-
}
|
|
3078
|
-
interface PollSettingsNonNullableFields {
|
|
3079
|
-
permissions?: PermissionsNonNullableFields;
|
|
3080
|
-
}
|
|
3081
|
-
interface PollNonNullableFields {
|
|
3082
|
-
settings?: PollSettingsNonNullableFields;
|
|
3083
|
-
}
|
|
3084
|
-
interface PollLayoutNonNullableFields {
|
|
3085
|
-
type: PollLayoutType;
|
|
3086
|
-
direction: PollLayoutDirection;
|
|
3087
|
-
}
|
|
3088
|
-
interface PollDataLayoutNonNullableFields {
|
|
3089
|
-
poll?: PollLayoutNonNullableFields;
|
|
3090
|
-
}
|
|
3091
|
-
interface BackgroundNonNullableFields {
|
|
3092
|
-
type: BackgroundType;
|
|
3093
|
-
}
|
|
3094
|
-
interface PollDesignNonNullableFields {
|
|
3095
|
-
background?: BackgroundNonNullableFields;
|
|
3096
|
-
}
|
|
3097
|
-
interface DesignNonNullableFields {
|
|
3098
|
-
poll?: PollDesignNonNullableFields;
|
|
3099
|
-
}
|
|
3100
|
-
interface PollDataNonNullableFields {
|
|
3101
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3102
|
-
poll?: PollNonNullableFields;
|
|
3103
|
-
layout?: PollDataLayoutNonNullableFields;
|
|
3104
|
-
design?: DesignNonNullableFields;
|
|
3105
|
-
}
|
|
3106
|
-
interface AnchorDataNonNullableFields {
|
|
3107
|
-
anchor: string;
|
|
3108
|
-
}
|
|
3109
|
-
interface LinkDataNonNullableFields {
|
|
3110
|
-
link?: LinkNonNullableFields;
|
|
3111
|
-
}
|
|
3112
|
-
interface MentionDataNonNullableFields {
|
|
3113
|
-
name: string;
|
|
3114
|
-
slug: string;
|
|
3115
|
-
}
|
|
3116
|
-
interface FontSizeDataNonNullableFields {
|
|
3117
|
-
unit: FontType;
|
|
3118
|
-
}
|
|
3119
|
-
interface DecorationNonNullableFields {
|
|
3120
|
-
anchorData?: AnchorDataNonNullableFields;
|
|
3121
|
-
linkData?: LinkDataNonNullableFields;
|
|
3122
|
-
mentionData?: MentionDataNonNullableFields;
|
|
3123
|
-
fontSizeData?: FontSizeDataNonNullableFields;
|
|
3124
|
-
type: DecorationType;
|
|
3125
|
-
}
|
|
3126
|
-
interface TextDataNonNullableFields {
|
|
3127
|
-
text: string;
|
|
3128
|
-
decorations: DecorationNonNullableFields[];
|
|
3129
|
-
}
|
|
3130
|
-
interface AppEmbedDataNonNullableFields {
|
|
3131
|
-
type: AppType;
|
|
3132
|
-
}
|
|
3133
|
-
interface VideoDataNonNullableFields {
|
|
3134
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3135
|
-
}
|
|
3136
|
-
interface EmbedDataNonNullableFields {
|
|
3137
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3138
|
-
}
|
|
3139
|
-
interface CollapsibleListDataNonNullableFields {
|
|
3140
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3141
|
-
initialExpandedItems: InitialExpandedItems;
|
|
3142
|
-
direction: Direction;
|
|
3143
|
-
}
|
|
3144
|
-
interface DimensionsNonNullableFields {
|
|
3145
|
-
colsWidthRatio: number[];
|
|
3146
|
-
rowsHeight: number[];
|
|
3147
|
-
colsMinWidth: number[];
|
|
3148
|
-
}
|
|
3149
|
-
interface TableDataNonNullableFields {
|
|
3150
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3151
|
-
dimensions?: DimensionsNonNullableFields;
|
|
3152
|
-
}
|
|
3153
|
-
interface CellStyleNonNullableFields {
|
|
3154
|
-
verticalAlignment: VerticalAlignment;
|
|
3155
|
-
}
|
|
3156
|
-
interface TableCellDataNonNullableFields {
|
|
3157
|
-
cellStyle?: CellStyleNonNullableFields;
|
|
3158
|
-
}
|
|
3159
|
-
interface AudioDataNonNullableFields {
|
|
3160
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3161
|
-
}
|
|
3162
|
-
interface OrderedListDataNonNullableFields {
|
|
3163
|
-
indentation: number;
|
|
3164
|
-
}
|
|
3165
|
-
interface BulletedListDataNonNullableFields {
|
|
3166
|
-
indentation: number;
|
|
3167
|
-
}
|
|
3168
|
-
interface BlockquoteDataNonNullableFields {
|
|
3169
|
-
indentation: number;
|
|
3170
|
-
}
|
|
3171
|
-
interface CaptionDataNonNullableFields {
|
|
3172
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3173
|
-
}
|
|
3174
|
-
interface NodeNonNullableFields {
|
|
3175
|
-
buttonData?: ButtonDataNonNullableFields;
|
|
3176
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
|
3177
|
-
dividerData?: DividerDataNonNullableFields;
|
|
3178
|
-
fileData?: FileDataNonNullableFields;
|
|
3179
|
-
galleryData?: GalleryDataNonNullableFields;
|
|
3180
|
-
gifData?: GIFDataNonNullableFields;
|
|
3181
|
-
headingData?: HeadingDataNonNullableFields;
|
|
3182
|
-
htmlData?: HTMLDataNonNullableFields;
|
|
3183
|
-
imageData?: ImageDataNonNullableFields;
|
|
3184
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
|
3185
|
-
mapData?: MapDataNonNullableFields;
|
|
3186
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
|
3187
|
-
pollData?: PollDataNonNullableFields;
|
|
3188
|
-
textData?: TextDataNonNullableFields;
|
|
3189
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
|
3190
|
-
videoData?: VideoDataNonNullableFields;
|
|
3191
|
-
embedData?: EmbedDataNonNullableFields;
|
|
3192
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
|
3193
|
-
tableData?: TableDataNonNullableFields;
|
|
3194
|
-
tableCellData?: TableCellDataNonNullableFields;
|
|
3195
|
-
audioData?: AudioDataNonNullableFields;
|
|
3196
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
|
3197
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
|
3198
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
|
3199
|
-
captionData?: CaptionDataNonNullableFields;
|
|
3200
|
-
type: NodeType;
|
|
3201
|
-
_id: string;
|
|
3202
|
-
nodes: NodeNonNullableFields[];
|
|
3203
|
-
}
|
|
3204
|
-
interface MetadataNonNullableFields {
|
|
3205
|
-
version: number;
|
|
3206
|
-
}
|
|
3207
|
-
interface TextNodeStyleNonNullableFields {
|
|
3208
|
-
decorations: DecorationNonNullableFields[];
|
|
3209
|
-
}
|
|
3210
|
-
interface DocumentStyleNonNullableFields {
|
|
3211
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
|
3212
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
|
3213
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
|
3214
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
|
3215
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
|
3216
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
|
3217
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
|
3218
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
|
3219
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
|
3220
|
-
}
|
|
3221
|
-
interface RichContentNonNullableFields {
|
|
3222
|
-
nodes: NodeNonNullableFields[];
|
|
3223
|
-
metadata?: MetadataNonNullableFields;
|
|
3224
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
|
3225
|
-
}
|
|
3226
|
-
interface ModerationDetailsNonNullableFields {
|
|
3227
|
-
submittedBy: string;
|
|
3228
|
-
status: ModerationStatusStatus;
|
|
3229
|
-
}
|
|
3230
|
-
interface TagNonNullableFields {
|
|
3231
|
-
type: string;
|
|
3232
|
-
children: string;
|
|
3233
|
-
custom: boolean;
|
|
3234
|
-
disabled: boolean;
|
|
3235
|
-
}
|
|
3236
|
-
interface KeywordNonNullableFields {
|
|
3237
|
-
term: string;
|
|
3238
|
-
isMain: boolean;
|
|
3239
|
-
}
|
|
3240
|
-
interface SettingsNonNullableFields {
|
|
3241
|
-
preventAutoRedirect: boolean;
|
|
3242
|
-
keywords: KeywordNonNullableFields[];
|
|
3243
|
-
}
|
|
3244
|
-
interface SeoSchemaNonNullableFields {
|
|
3245
|
-
tags: TagNonNullableFields[];
|
|
3246
|
-
settings?: SettingsNonNullableFields;
|
|
3247
|
-
}
|
|
3248
|
-
interface WixMediaNonNullableFields {
|
|
3249
|
-
image: string;
|
|
3250
|
-
videoV2: string;
|
|
3251
|
-
}
|
|
3252
|
-
interface EmbedThumbnailNonNullableFields {
|
|
3253
|
-
url: string;
|
|
3254
|
-
width: number;
|
|
3255
|
-
height: number;
|
|
3256
|
-
}
|
|
3257
|
-
interface EmbedVideoNonNullableFields {
|
|
3258
|
-
url: string;
|
|
3259
|
-
width: number;
|
|
3260
|
-
height: number;
|
|
3261
|
-
}
|
|
3262
|
-
interface EmbedMediaNonNullableFields {
|
|
3263
|
-
thumbnail?: EmbedThumbnailNonNullableFields;
|
|
3264
|
-
video?: EmbedVideoNonNullableFields;
|
|
3265
|
-
}
|
|
3266
|
-
interface MediaNonNullableFields {
|
|
3267
|
-
wixMedia?: WixMediaNonNullableFields;
|
|
3268
|
-
embedMedia?: EmbedMediaNonNullableFields;
|
|
3269
|
-
displayed: boolean;
|
|
3270
|
-
custom: boolean;
|
|
3271
|
-
}
|
|
3272
|
-
interface DraftPostTranslationNonNullableFields {
|
|
3273
|
-
_id: string;
|
|
3274
|
-
status: Status;
|
|
3275
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
3276
|
-
url: string;
|
|
3277
|
-
}
|
|
3278
|
-
interface DraftPostNonNullableFields {
|
|
3279
|
-
_id: string;
|
|
3280
|
-
title: string;
|
|
3281
|
-
categoryIds: string[];
|
|
3282
|
-
coverMedia?: CoverMediaNonNullableFields;
|
|
3283
|
-
hashtags: string[];
|
|
3284
|
-
minutesToRead: number;
|
|
3285
|
-
heroImage: string;
|
|
3286
|
-
tagIds: string[];
|
|
3287
|
-
relatedPostIds: string[];
|
|
3288
|
-
pricingPlanIds: string[];
|
|
3289
|
-
changeOrigin: Origin;
|
|
3290
|
-
richContent?: RichContentNonNullableFields;
|
|
3291
|
-
status: Status;
|
|
3292
|
-
moderationDetails?: ModerationDetailsNonNullableFields;
|
|
3293
|
-
hasUnpublishedChanges: boolean;
|
|
3294
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
3295
|
-
slugs: string[];
|
|
3296
|
-
url: string;
|
|
3297
|
-
media?: MediaNonNullableFields;
|
|
3298
|
-
translations: DraftPostTranslationNonNullableFields[];
|
|
3299
|
-
}
|
|
3300
|
-
export interface CreateDraftPostResponseNonNullableFields {
|
|
3301
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3302
|
-
}
|
|
3303
|
-
interface ApplicationErrorNonNullableFields {
|
|
3304
|
-
code: string;
|
|
3305
|
-
description: string;
|
|
3306
|
-
}
|
|
3307
|
-
interface ItemMetadataNonNullableFields {
|
|
3308
|
-
originalIndex: number;
|
|
3309
|
-
success: boolean;
|
|
3310
|
-
error?: ApplicationErrorNonNullableFields;
|
|
3311
|
-
}
|
|
3312
|
-
interface BulkDraftPostResultNonNullableFields {
|
|
3313
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
3314
|
-
item?: DraftPostNonNullableFields;
|
|
3315
|
-
}
|
|
3316
|
-
interface BulkActionMetadataNonNullableFields {
|
|
3317
|
-
totalSuccesses: number;
|
|
3318
|
-
totalFailures: number;
|
|
3319
|
-
undetailedFailures: number;
|
|
3320
|
-
}
|
|
3321
|
-
export interface BulkCreateDraftPostsResponseNonNullableFields {
|
|
3322
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3323
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3324
|
-
}
|
|
3325
|
-
export interface BulkUpdateDraftPostsResponseNonNullableFields {
|
|
3326
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3327
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3328
|
-
}
|
|
3329
|
-
interface MetaDataNonNullableFields {
|
|
3330
|
-
count: number;
|
|
3331
|
-
offset: number;
|
|
3332
|
-
total: number;
|
|
3333
|
-
}
|
|
3334
|
-
export interface ListDeletedDraftPostsResponseNonNullableFields {
|
|
3335
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3336
|
-
metaData?: MetaDataNonNullableFields;
|
|
3337
|
-
}
|
|
3338
|
-
export interface GetDraftPostResponseNonNullableFields {
|
|
3339
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3340
|
-
}
|
|
3341
|
-
export interface UpdateDraftPostResponseNonNullableFields {
|
|
3342
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3343
|
-
}
|
|
3344
|
-
export interface BulkDeleteDraftPostsResponseNonNullableFields {
|
|
3345
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3346
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3347
|
-
}
|
|
3348
|
-
export interface ListDraftPostsResponseNonNullableFields {
|
|
3349
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3350
|
-
metaData?: MetaDataNonNullableFields;
|
|
3351
|
-
}
|
|
3352
|
-
export interface GetDeletedDraftPostResponseNonNullableFields {
|
|
3353
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3354
|
-
}
|
|
3355
|
-
export interface RestoreFromTrashBinResponseNonNullableFields {
|
|
3356
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3357
|
-
}
|
|
3358
|
-
export interface QueryDraftPostsResponseNonNullableFields {
|
|
3359
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3360
|
-
metaData?: MetaDataNonNullableFields;
|
|
3361
|
-
}
|
|
3362
|
-
export interface PublishDraftPostResponseNonNullableFields {
|
|
3363
|
-
postId: string;
|
|
3364
|
-
}
|
|
3365
2981
|
export interface BaseEventMetadata {
|
|
3366
2982
|
/**
|
|
3367
2983
|
* App instance ID.
|
|
@@ -3486,6 +3102,7 @@ export interface DraftUpdatedEnvelope {
|
|
|
3486
3102
|
* @slug updated
|
|
3487
3103
|
*/
|
|
3488
3104
|
export declare function onDraftUpdated(handler: (event: DraftUpdatedEnvelope) => void | Promise<void>): void;
|
|
3105
|
+
type DraftNonNullablePaths = `_id` | `title` | `categoryIds` | `hashtags` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `richContent.nodes` | `richContent.nodes.${number}.buttonData.containerData.width.size` | `richContent.nodes.${number}.buttonData.containerData.alignment` | `richContent.nodes.${number}.buttonData.type` | `richContent.nodes.${number}.buttonData.link.url` | `richContent.nodes.${number}.buttonData.link.anchor` | `richContent.nodes.${number}.buttonData.link.target` | `richContent.nodes.${number}.codeBlockData.textStyle.textAlignment` | `richContent.nodes.${number}.dividerData.lineStyle` | `richContent.nodes.${number}.dividerData.width` | `richContent.nodes.${number}.dividerData.alignment` | `richContent.nodes.${number}.fileData.pdfSettings.viewMode` | `richContent.nodes.${number}.galleryData.items` | `richContent.nodes.${number}.galleryData.options.layout.type` | `richContent.nodes.${number}.galleryData.options.layout.orientation` | `richContent.nodes.${number}.galleryData.options.item.crop` | `richContent.nodes.${number}.galleryData.options.thumbnails.placement` | `richContent.nodes.${number}.gifData.height` | `richContent.nodes.${number}.gifData.width` | `richContent.nodes.${number}.gifData.gifType` | `richContent.nodes.${number}.headingData.level` | `richContent.nodes.${number}.htmlData.url` | `richContent.nodes.${number}.htmlData.html` | `richContent.nodes.${number}.htmlData.source` | `richContent.nodes.${number}.linkPreviewData.styles.thumbnailPosition` | `richContent.nodes.${number}.mapData.mapSettings.mapType` | `richContent.nodes.${number}.pollData.poll.options` | `richContent.nodes.${number}.pollData.poll.settings.permissions.view` | `richContent.nodes.${number}.pollData.poll.settings.permissions.vote` | `richContent.nodes.${number}.pollData.layout.poll.type` | `richContent.nodes.${number}.pollData.layout.poll.direction` | `richContent.nodes.${number}.pollData.design.poll.background.type` | `richContent.nodes.${number}.textData.text` | `richContent.nodes.${number}.textData.decorations` | `richContent.nodes.${number}.textData.decorations.${number}.anchorData.anchor` | `richContent.nodes.${number}.textData.decorations.${number}.mentionData.name` | `richContent.nodes.${number}.textData.decorations.${number}.mentionData.slug` | `richContent.nodes.${number}.textData.decorations.${number}.fontSizeData.unit` | `richContent.nodes.${number}.textData.decorations.${number}.type` | `richContent.nodes.${number}.appEmbedData.type` | `richContent.nodes.${number}.collapsibleListData.initialExpandedItems` | `richContent.nodes.${number}.collapsibleListData.direction` | `richContent.nodes.${number}.tableData.dimensions.colsWidthRatio` | `richContent.nodes.${number}.tableData.dimensions.rowsHeight` | `richContent.nodes.${number}.tableData.dimensions.colsMinWidth` | `richContent.nodes.${number}.tableCellData.cellStyle.verticalAlignment` | `richContent.nodes.${number}.orderedListData.indentation` | `richContent.nodes.${number}.bulletedListData.indentation` | `richContent.nodes.${number}.blockquoteData.indentation` | `richContent.nodes.${number}.type` | `richContent.nodes.${number}._id` | `richContent.nodes.${number}.nodes` | `richContent.metadata.version` | `richContent.documentStyle.headerOne.decorations` | `status` | `moderationDetails.submittedBy` | `moderationDetails.status` | `hasUnpublishedChanges` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom`;
|
|
3489
3106
|
/**
|
|
3490
3107
|
* Creates a draft post.
|
|
3491
3108
|
*
|
|
@@ -3507,7 +3124,9 @@ export declare function onDraftUpdated(handler: (event: DraftUpdatedEnvelope) =>
|
|
|
3507
3124
|
* @applicableIdentity APP
|
|
3508
3125
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost
|
|
3509
3126
|
*/
|
|
3510
|
-
export declare function createDraftPost(draftPost: DraftPost, options?: CreateDraftPostOptions): Promise<CreateDraftPostResponse
|
|
3127
|
+
export declare function createDraftPost(draftPost: NonNullablePaths<DraftPost, `title`>, options?: CreateDraftPostOptions): Promise<NonNullablePaths<CreateDraftPostResponse, {
|
|
3128
|
+
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3129
|
+
}[DraftNonNullablePaths]>>;
|
|
3511
3130
|
export interface CreateDraftPostOptions {
|
|
3512
3131
|
/**
|
|
3513
3132
|
* Whether the draft post should be published on creation.
|
|
@@ -3536,7 +3155,9 @@ export interface CreateDraftPostOptions {
|
|
|
3536
3155
|
* @applicableIdentity APP
|
|
3537
3156
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts
|
|
3538
3157
|
*/
|
|
3539
|
-
export declare function bulkCreateDraftPosts(draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions): Promise<BulkCreateDraftPostsResponse
|
|
3158
|
+
export declare function bulkCreateDraftPosts(draftPosts: NonNullablePaths<DraftPost, `title`>[], options?: BulkCreateDraftPostsOptions): Promise<NonNullablePaths<BulkCreateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3159
|
+
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3160
|
+
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3540
3161
|
export interface BulkCreateDraftPostsOptions {
|
|
3541
3162
|
/** Whether the draft post should be published after creation. */
|
|
3542
3163
|
publish?: boolean;
|
|
@@ -3562,7 +3183,9 @@ export interface BulkCreateDraftPostsOptions {
|
|
|
3562
3183
|
* @applicableIdentity APP
|
|
3563
3184
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts
|
|
3564
3185
|
*/
|
|
3565
|
-
export declare function bulkUpdateDraftPosts(options?: BulkUpdateDraftPostsOptions): Promise<BulkUpdateDraftPostsResponse
|
|
3186
|
+
export declare function bulkUpdateDraftPosts(options?: NonNullablePaths<BulkUpdateDraftPostsOptions, `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`>): Promise<NonNullablePaths<BulkUpdateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3187
|
+
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3188
|
+
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3566
3189
|
export interface BulkUpdateDraftPostsOptions {
|
|
3567
3190
|
/**
|
|
3568
3191
|
* Draft posts to update.
|
|
@@ -3603,7 +3226,9 @@ export interface BulkUpdateDraftPostsOptions {
|
|
|
3603
3226
|
* @applicableIdentity APP
|
|
3604
3227
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts
|
|
3605
3228
|
*/
|
|
3606
|
-
export declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<ListDeletedDraftPostsResponse
|
|
3229
|
+
export declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<NonNullablePaths<ListDeletedDraftPostsResponse, {
|
|
3230
|
+
[P in DraftNonNullablePaths]: `draftPosts.${number}.${P}`;
|
|
3231
|
+
}[DraftNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
|
|
3607
3232
|
export interface ListDeletedDraftPostsOptions {
|
|
3608
3233
|
/**
|
|
3609
3234
|
* Language filter.
|
|
@@ -3647,7 +3272,9 @@ export interface ListDeletedDraftPostsOptions {
|
|
|
3647
3272
|
* @applicableIdentity APP
|
|
3648
3273
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost
|
|
3649
3274
|
*/
|
|
3650
|
-
export declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<GetDraftPostResponse
|
|
3275
|
+
export declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<NonNullablePaths<GetDraftPostResponse, {
|
|
3276
|
+
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3277
|
+
}[DraftNonNullablePaths]>>;
|
|
3651
3278
|
export interface GetDraftPostOptions {
|
|
3652
3279
|
/**
|
|
3653
3280
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -3671,7 +3298,9 @@ export interface GetDraftPostOptions {
|
|
|
3671
3298
|
* @applicableIdentity APP
|
|
3672
3299
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost
|
|
3673
3300
|
*/
|
|
3674
|
-
export declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<UpdateDraftPostResponse
|
|
3301
|
+
export declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<NonNullablePaths<UpdateDraftPostResponse, {
|
|
3302
|
+
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3303
|
+
}[DraftNonNullablePaths]>>;
|
|
3675
3304
|
export interface UpdateDraftPost {
|
|
3676
3305
|
/**
|
|
3677
3306
|
* Draft post ID.
|
|
@@ -3874,7 +3503,9 @@ export declare function removeFromTrashBin(draftPostId: string): Promise<void>;
|
|
|
3874
3503
|
* @applicableIdentity APP
|
|
3875
3504
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts
|
|
3876
3505
|
*/
|
|
3877
|
-
export declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<BulkDeleteDraftPostsResponse
|
|
3506
|
+
export declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<NonNullablePaths<BulkDeleteDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3507
|
+
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3508
|
+
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3878
3509
|
export interface BulkDeleteDraftPostsOptions {
|
|
3879
3510
|
/** Should delete bypassing the trash-bin. */
|
|
3880
3511
|
permanent?: boolean;
|
|
@@ -3894,7 +3525,9 @@ export interface BulkDeleteDraftPostsOptions {
|
|
|
3894
3525
|
* @applicableIdentity APP
|
|
3895
3526
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts
|
|
3896
3527
|
*/
|
|
3897
|
-
export declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<ListDraftPostsResponse
|
|
3528
|
+
export declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<NonNullablePaths<ListDraftPostsResponse, {
|
|
3529
|
+
[P in DraftNonNullablePaths]: `draftPosts.${number}.${P}`;
|
|
3530
|
+
}[DraftNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
|
|
3898
3531
|
export interface ListDraftPostsOptions {
|
|
3899
3532
|
/**
|
|
3900
3533
|
* Draft post status filter.
|
|
@@ -3937,7 +3570,9 @@ export interface ListDraftPostsOptions {
|
|
|
3937
3570
|
* @applicableIdentity APP
|
|
3938
3571
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost
|
|
3939
3572
|
*/
|
|
3940
|
-
export declare function getDeletedDraftPost(draftPostId: string): Promise<GetDeletedDraftPostResponse
|
|
3573
|
+
export declare function getDeletedDraftPost(draftPostId: string): Promise<NonNullablePaths<GetDeletedDraftPostResponse, {
|
|
3574
|
+
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3575
|
+
}[DraftNonNullablePaths]>>;
|
|
3941
3576
|
/**
|
|
3942
3577
|
* Restores a deleted draft post from the trash bin by the provided ID.
|
|
3943
3578
|
* @param draftPostId - Draft post ID.
|
|
@@ -3949,7 +3584,9 @@ export declare function getDeletedDraftPost(draftPostId: string): Promise<GetDel
|
|
|
3949
3584
|
* @applicableIdentity APP
|
|
3950
3585
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin
|
|
3951
3586
|
*/
|
|
3952
|
-
export declare function restoreFromTrashBin(draftPostId: string): Promise<RestoreFromTrashBinResponse
|
|
3587
|
+
export declare function restoreFromTrashBin(draftPostId: string): Promise<NonNullablePaths<RestoreFromTrashBinResponse, {
|
|
3588
|
+
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3589
|
+
}[DraftNonNullablePaths]>>;
|
|
3953
3590
|
/**
|
|
3954
3591
|
* Creates a query to retrieve a list of up to 100 draft posts.
|
|
3955
3592
|
*
|
|
@@ -4025,6 +3662,14 @@ export interface DraftPostsQueryBuilder {
|
|
|
4025
3662
|
* @param string - String to compare against. Case-insensitive.
|
|
4026
3663
|
*/
|
|
4027
3664
|
startsWith: (propertyName: 'title' | 'excerpt', value: string) => DraftPostsQueryBuilder;
|
|
3665
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
3666
|
+
* @param values - List of values to compare against.
|
|
3667
|
+
*/
|
|
3668
|
+
hasSome: (propertyName: 'categoryIds' | 'hashtags' | 'tagIds' | 'pricingPlanIds', value: any[]) => DraftPostsQueryBuilder;
|
|
3669
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
3670
|
+
* @param values - List of values to compare against.
|
|
3671
|
+
*/
|
|
3672
|
+
hasAll: (propertyName: 'categoryIds' | 'hashtags' | 'tagIds' | 'pricingPlanIds', value: any[]) => DraftPostsQueryBuilder;
|
|
4028
3673
|
in: (propertyName: '_id' | 'title' | 'excerpt' | 'minutesToRead' | 'translationId' | 'language' | 'status' | 'editedDate' | 'scheduledPublishDate', value: any) => DraftPostsQueryBuilder;
|
|
4029
3674
|
exists: (propertyName: 'title' | 'excerpt' | 'translationId' | 'language', value: boolean) => DraftPostsQueryBuilder;
|
|
4030
3675
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -4052,5 +3697,5 @@ export interface DraftPostsQueryBuilder {
|
|
|
4052
3697
|
* @applicableIdentity APP
|
|
4053
3698
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
|
|
4054
3699
|
*/
|
|
4055
|
-
export declare function publishDraftPost(draftPostId: string): Promise<PublishDraftPostResponse
|
|
3700
|
+
export declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`>>;
|
|
4056
3701
|
export {};
|