@wix/blog_draft-posts
Advanced tools
Comparing version 1.0.33 to 1.0.34
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-draft-draft-posts.public'; | ||
export * from './src/blog-v3-draft-draft-posts.context'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./src/blog-v3-draft-draft-posts.public"), exports); | ||
__exportStar(require("./src/blog-v3-draft-draft-posts.context"), exports); | ||
//# sourceMappingURL=index.js.map |
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost } from './blog-v3-draft-draft-posts.public'; | ||
import { BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { BuildRESTFunction } from '@wix/sdk-types'; | ||
import { onDraftCreated as publicOnDraftCreated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftUpdated as publicOnDraftUpdated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftDeleted as publicOnDraftDeleted } from './blog-v3-draft-draft-posts.public'; | ||
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost>; | ||
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts>; | ||
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts>; | ||
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts>; | ||
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost>; | ||
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost>; | ||
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost>; | ||
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin>; | ||
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts>; | ||
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts>; | ||
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost>; | ||
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin>; | ||
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts>; | ||
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost>; | ||
export declare const onDraftCreated: BuildEventDefinition<typeof publicOnDraftCreated>; | ||
export declare const onDraftUpdated: BuildEventDefinition<typeof publicOnDraftUpdated>; | ||
export declare const onDraftDeleted: BuildEventDefinition<typeof publicOnDraftDeleted>; | ||
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost> & typeof publicCreateDraftPost; | ||
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts> & typeof publicBulkCreateDraftPosts; | ||
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts> & typeof publicBulkUpdateDraftPosts; | ||
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts> & typeof publicListDeletedDraftPosts; | ||
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost> & typeof publicGetDraftPost; | ||
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost> & typeof publicUpdateDraftPost; | ||
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost> & typeof publicDeleteDraftPost; | ||
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin> & typeof publicRemoveFromTrashBin; | ||
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts> & typeof publicBulkDeleteDraftPosts; | ||
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts> & typeof publicListDraftPosts; | ||
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost> & typeof publicGetDeletedDraftPost; | ||
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin> & typeof publicRestoreFromTrashBin; | ||
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts> & typeof publicQueryDraftPosts; | ||
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost> & typeof publicPublishDraftPost; | ||
export { publicOnDraftCreated }; | ||
export type _publicOnDraftCreatedType = typeof publicOnDraftCreated; | ||
/** | ||
* Triggered when a draft post is created. | ||
*/ | ||
export declare const onDraftCreated: ReturnType<typeof createEventModule<_publicOnDraftCreatedType>>; | ||
export { publicOnDraftUpdated }; | ||
export type _publicOnDraftUpdatedType = typeof publicOnDraftUpdated; | ||
/** | ||
* Triggered when a draft post is updated. | ||
*/ | ||
export declare const onDraftUpdated: ReturnType<typeof createEventModule<_publicOnDraftUpdatedType>>; | ||
export { publicOnDraftDeleted }; | ||
export type _publicOnDraftDeletedType = typeof publicOnDraftDeleted; | ||
/** | ||
* Triggered when a draft post is deleted. | ||
*/ | ||
export declare const onDraftDeleted: ReturnType<typeof createEventModule<_publicOnDraftDeletedType>>; | ||
export { Origin, NodeType, WidthType, PluginContainerDataAlignment, ButtonDataType, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Status, ModerationStatusStatus, Type, Field, Action, GetDraftPostsSort, SortOrder, WebhookIdentityType, TotalDraftPostsGroupingField, } from './blog-v3-draft-draft-posts.universal'; | ||
export { DraftPost, CoverMedia, CoverMediaMediaOneOf, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, SeoSchema, Keyword, Tag, Settings, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, DraftPostTranslation, InitialDraftPostsCopied, CreateDraftPostRequest, CreateDraftPostResponse, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkDraftPostResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateDraftPostsRequest, MaskedDraftPosts, BulkUpdateDraftPostsResponse, DraftPostOwnerChanged, ListDeletedDraftPostsRequest, BlogPaging, ListDeletedDraftPostsResponse, MetaData, GetDraftPostRequest, GetDraftPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostRequest, UpdateDraftPostResponse, DeleteDraftPostRequest, DeleteDraftPostResponse, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, ListDraftPostsRequest, ListDraftPostsResponse, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, QueryDraftPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryDraftPostsResponse, PagingMetadataV2, Cursors, PublishDraftPostRequest, PublishDraftPostResponse, UnpublishPostRequest, UnpublishPostResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, TotalDraftPosts, TranslateCategoryRequest, TranslateCategoryResponse, Category, CategoryTranslation, TranslateDraftRequest, TranslateDraftResponse, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, PostAmountByLanguage, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RejectDraftPostRequest, RejectDraftPostResponse, ApproveDraftPostRequest, ApproveDraftPostResponse, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, CreateDraftPostResponseNonNullableFields, BulkCreateDraftPostsResponseNonNullableFields, BulkUpdateDraftPostsResponseNonNullableFields, ListDeletedDraftPostsResponseNonNullableFields, GetDraftPostResponseNonNullableFields, UpdateDraftPostResponseNonNullableFields, BulkDeleteDraftPostsResponseNonNullableFields, ListDraftPostsResponseNonNullableFields, GetDeletedDraftPostResponseNonNullableFields, RestoreFromTrashBinResponseNonNullableFields, QueryDraftPostsResponseNonNullableFields, PublishDraftPostResponseNonNullableFields, BaseEventMetadata, EventMetadata, DraftCreatedEnvelope, DraftUpdatedEnvelope, DraftDeletedEnvelope, CreateDraftPostOptions, BulkCreateDraftPostsOptions, BulkUpdateDraftPostsOptions, ListDeletedDraftPostsOptions, GetDraftPostOptions, UpdateDraftPost, UpdateDraftPostOptions, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, ListDraftPostsOptions, QueryDraftPostsOptions, DraftPostsQueryResult, DraftPostsQueryBuilder, } from './blog-v3-draft-draft-posts.universal'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.onDraftDeleted = exports.onDraftUpdated = exports.onDraftCreated = exports.publishDraftPost = exports.queryDraftPosts = exports.restoreFromTrashBin = exports.getDeletedDraftPost = exports.listDraftPosts = exports.bulkDeleteDraftPosts = exports.removeFromTrashBin = exports.deleteDraftPost = exports.updateDraftPost = exports.getDraftPost = exports.listDeletedDraftPosts = exports.bulkUpdateDraftPosts = exports.bulkCreateDraftPosts = exports.createDraftPost = void 0; | ||
exports.Status = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.Target = exports.ButtonDataType = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.Origin = exports.onDraftDeleted = exports.publicOnDraftDeleted = exports.onDraftUpdated = exports.publicOnDraftUpdated = exports.onDraftCreated = exports.publicOnDraftCreated = exports.publishDraftPost = exports.queryDraftPosts = exports.restoreFromTrashBin = exports.getDeletedDraftPost = exports.listDraftPosts = exports.bulkDeleteDraftPosts = exports.removeFromTrashBin = exports.deleteDraftPost = exports.updateDraftPost = exports.getDraftPost = exports.listDeletedDraftPosts = exports.bulkUpdateDraftPosts = exports.bulkCreateDraftPosts = exports.createDraftPost = void 0; | ||
exports.TotalDraftPostsGroupingField = exports.WebhookIdentityType = exports.SortOrder = exports.GetDraftPostsSort = exports.Action = exports.Field = exports.Type = exports.ModerationStatusStatus = void 0; | ||
const blog_v3_draft_draft_posts_public_1 = require("./blog-v3-draft-draft-posts.public"); | ||
const context_1 = require("@wix/sdk-runtime/context"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules"); | ||
const blog_v3_draft_draft_posts_public_2 = require("./blog-v3-draft-draft-posts.public"); | ||
Object.defineProperty(exports, "publicOnDraftCreated", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_public_2.onDraftCreated; } }); | ||
const blog_v3_draft_draft_posts_public_3 = require("./blog-v3-draft-draft-posts.public"); | ||
Object.defineProperty(exports, "publicOnDraftUpdated", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_public_3.onDraftUpdated; } }); | ||
const blog_v3_draft_draft_posts_public_4 = require("./blog-v3-draft-draft-posts.public"); | ||
exports.createDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.createDraftPost, 1); | ||
exports.bulkCreateDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.bulkCreateDraftPosts, 1); | ||
exports.bulkUpdateDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.bulkUpdateDraftPosts, 1); | ||
exports.listDeletedDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.listDeletedDraftPosts, 1); | ||
exports.getDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.getDraftPost, 1); | ||
exports.updateDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.updateDraftPost, 1); | ||
exports.deleteDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.deleteDraftPost, 1); | ||
exports.removeFromTrashBin = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.removeFromTrashBin, 1); | ||
exports.bulkDeleteDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.bulkDeleteDraftPosts, 1); | ||
exports.listDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.listDraftPosts, 1); | ||
exports.getDeletedDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.getDeletedDraftPost, 1); | ||
exports.restoreFromTrashBin = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.restoreFromTrashBin, 1); | ||
exports.queryDraftPosts = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.queryDraftPosts, 1); | ||
exports.publishDraftPost = (0, context_1.contextualizeRESTModule)(blog_v3_draft_draft_posts_public_1.publishDraftPost, 1); | ||
exports.onDraftCreated = (0, context_1.contextualizeEventDefinitionModule)(blog_v3_draft_draft_posts_public_2.onDraftCreated); | ||
exports.onDraftUpdated = (0, context_1.contextualizeEventDefinitionModule)(blog_v3_draft_draft_posts_public_3.onDraftUpdated); | ||
exports.onDraftDeleted = (0, context_1.contextualizeEventDefinitionModule)(blog_v3_draft_draft_posts_public_4.onDraftDeleted); | ||
Object.defineProperty(exports, "publicOnDraftDeleted", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_public_4.onDraftDeleted; } }); | ||
exports.createDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.createDraftPost); | ||
exports.bulkCreateDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.bulkCreateDraftPosts); | ||
exports.bulkUpdateDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.bulkUpdateDraftPosts); | ||
exports.listDeletedDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.listDeletedDraftPosts); | ||
exports.getDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.getDraftPost); | ||
exports.updateDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.updateDraftPost); | ||
exports.deleteDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.deleteDraftPost); | ||
exports.removeFromTrashBin = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.removeFromTrashBin); | ||
exports.bulkDeleteDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.bulkDeleteDraftPosts); | ||
exports.listDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.listDraftPosts); | ||
exports.getDeletedDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.getDeletedDraftPost); | ||
exports.restoreFromTrashBin = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.restoreFromTrashBin); | ||
exports.queryDraftPosts = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.queryDraftPosts); | ||
exports.publishDraftPost = (0, rest_modules_1.createRESTModule)(blog_v3_draft_draft_posts_public_1.publishDraftPost); | ||
/** | ||
* Triggered when a draft post is created. | ||
*/ | ||
exports.onDraftCreated = (0, event_definition_modules_1.createEventModule)(blog_v3_draft_draft_posts_public_2.onDraftCreated); | ||
/** | ||
* Triggered when a draft post is updated. | ||
*/ | ||
exports.onDraftUpdated = (0, event_definition_modules_1.createEventModule)(blog_v3_draft_draft_posts_public_3.onDraftUpdated); | ||
/** | ||
* Triggered when a draft post is deleted. | ||
*/ | ||
exports.onDraftDeleted = (0, event_definition_modules_1.createEventModule)(blog_v3_draft_draft_posts_public_4.onDraftDeleted); | ||
var blog_v3_draft_draft_posts_universal_1 = require("./blog-v3-draft-draft-posts.universal"); | ||
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Origin; } }); | ||
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.NodeType; } }); | ||
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.WidthType; } }); | ||
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.PluginContainerDataAlignment; } }); | ||
Object.defineProperty(exports, "ButtonDataType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.ButtonDataType; } }); | ||
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Target; } }); | ||
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.TextAlignment; } }); | ||
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.LineStyle; } }); | ||
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Width; } }); | ||
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Alignment; } }); | ||
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.ViewMode; } }); | ||
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.LayoutType; } }); | ||
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Orientation; } }); | ||
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Crop; } }); | ||
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.ThumbnailsAlignment; } }); | ||
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Source; } }); | ||
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.MapType; } }); | ||
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.ViewRole; } }); | ||
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.VoteRole; } }); | ||
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.PollLayoutType; } }); | ||
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.PollLayoutDirection; } }); | ||
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.BackgroundType; } }); | ||
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.DecorationType; } }); | ||
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.FontType; } }); | ||
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.AppType; } }); | ||
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.InitialExpandedItems; } }); | ||
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Direction; } }); | ||
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.VerticalAlignment; } }); | ||
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.NullValue; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Status; } }); | ||
Object.defineProperty(exports, "ModerationStatusStatus", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.ModerationStatusStatus; } }); | ||
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Type; } }); | ||
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Field; } }); | ||
Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.Action; } }); | ||
Object.defineProperty(exports, "GetDraftPostsSort", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.GetDraftPostsSort; } }); | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.SortOrder; } }); | ||
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.WebhookIdentityType; } }); | ||
Object.defineProperty(exports, "TotalDraftPostsGroupingField", { enumerable: true, get: function () { return blog_v3_draft_draft_posts_universal_1.TotalDraftPostsGroupingField; } }); | ||
//# sourceMappingURL=blog-v3-draft-draft-posts.context.js.map |
import { EventDefinition, HttpClient } from '@wix/sdk-types'; | ||
import { BulkCreateDraftPostsOptions, BulkDeleteDraftPostsOptions, BulkUpdateDraftPostsOptions, CreateDraftPostOptions, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftUpdatedEnvelope, GetDraftPostOptions, ListDeletedDraftPostsOptions, ListDraftPostsOptions, QueryDraftPostsOptions, UpdateDraftPost, UpdateDraftPostOptions } from './blog-v3-draft-draft-posts.universal'; | ||
import { BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, CreateDraftPostOptions, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostsQueryBuilder, DraftUpdatedEnvelope, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields } from './blog-v3-draft-draft-posts.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function createDraftPost(httpClient: HttpClient): (draftPost: DraftPost, options?: CreateDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").CreateDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").CreateDraftPostResponseNonNullableFields>; | ||
export declare function bulkCreateDraftPosts(httpClient: HttpClient): (draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkCreateDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkCreateDraftPostsResponseNonNullableFields>; | ||
export declare function bulkUpdateDraftPosts(httpClient: HttpClient): (options?: BulkUpdateDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkUpdateDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkUpdateDraftPostsResponseNonNullableFields>; | ||
export declare function listDeletedDraftPosts(httpClient: HttpClient): (options?: ListDeletedDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").ListDeletedDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").ListDeletedDraftPostsResponseNonNullableFields>; | ||
export declare function getDraftPost(httpClient: HttpClient): (draftPostId: string, options?: GetDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").GetDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").GetDraftPostResponseNonNullableFields>; | ||
export declare function updateDraftPost(httpClient: HttpClient): (_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").UpdateDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").UpdateDraftPostResponseNonNullableFields>; | ||
export declare function deleteDraftPost(httpClient: HttpClient): (draftPostId: string, options?: DeleteDraftPostOptions) => Promise<void>; | ||
export declare function removeFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<void>; | ||
export declare function bulkDeleteDraftPosts(httpClient: HttpClient): (postIds: string[], options?: BulkDeleteDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkDeleteDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkDeleteDraftPostsResponseNonNullableFields>; | ||
export declare function listDraftPosts(httpClient: HttpClient): (options?: ListDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").ListDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").ListDraftPostsResponseNonNullableFields>; | ||
export declare function getDeletedDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").GetDeletedDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").GetDeletedDraftPostResponseNonNullableFields>; | ||
export declare function restoreFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").RestoreFromTrashBinResponse & import("./blog-v3-draft-draft-posts.universal").RestoreFromTrashBinResponseNonNullableFields>; | ||
export declare function queryDraftPosts(httpClient: HttpClient): (options?: QueryDraftPostsOptions) => import("./blog-v3-draft-draft-posts.universal").DraftPostsQueryBuilder; | ||
export declare function publishDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").PublishDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").PublishDraftPostResponseNonNullableFields>; | ||
export declare function createDraftPost(httpClient: HttpClient): CreateDraftPostSignature; | ||
interface CreateDraftPostSignature { | ||
/** | ||
* Creates a draft post. | ||
* | ||
* The draft post's `memberId` is required for third-party apps. | ||
* @param - Draft post to create. | ||
* @param - Options for creating a draft post. | ||
*/ | ||
(draftPost: DraftPost, options?: CreateDraftPostOptions | undefined): Promise<CreateDraftPostResponse & CreateDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function bulkCreateDraftPosts(httpClient: HttpClient): BulkCreateDraftPostsSignature; | ||
interface BulkCreateDraftPostsSignature { | ||
/** | ||
* Creates multiple draft posts. | ||
* @param - Draft posts to create. | ||
* @param - Options for creating multiple draft posts. | ||
*/ | ||
(draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions | undefined): Promise<BulkCreateDraftPostsResponse & BulkCreateDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function bulkUpdateDraftPosts(httpClient: HttpClient): BulkUpdateDraftPostsSignature; | ||
interface BulkUpdateDraftPostsSignature { | ||
/** | ||
* Updates multiple draft posts. | ||
* @param - Options for updating multiple draft posts. | ||
*/ | ||
(options?: BulkUpdateDraftPostsOptions | undefined): Promise<BulkUpdateDraftPostsResponse & BulkUpdateDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function listDeletedDraftPosts(httpClient: HttpClient): ListDeletedDraftPostsSignature; | ||
interface ListDeletedDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 deleted draft posts. | ||
* | ||
* List Deleted Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for listing deleted draft posts. | ||
*/ | ||
(options?: ListDeletedDraftPostsOptions | undefined): Promise<ListDeletedDraftPostsResponse & ListDeletedDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function getDraftPost(httpClient: HttpClient): GetDraftPostSignature; | ||
interface GetDraftPostSignature { | ||
/** | ||
* Gets a draft post by the provided ID. | ||
* | ||
* Uses the provided `draftPostId` to retrieve a draft post. | ||
* @param - Draft post ID. | ||
* @param - Options for getting a draft post. | ||
*/ | ||
(draftPostId: string, options?: GetDraftPostOptions | undefined): Promise<GetDraftPostResponse & GetDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function updateDraftPost(httpClient: HttpClient): UpdateDraftPostSignature; | ||
interface UpdateDraftPostSignature { | ||
/** | ||
* Updates a draft post. | ||
* @param - Draft post ID. | ||
* @param - Options for updating a draft post. | ||
* @param - Draft Post info. | ||
*/ | ||
(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions | undefined): Promise<UpdateDraftPostResponse & UpdateDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function deleteDraftPost(httpClient: HttpClient): DeleteDraftPostSignature; | ||
interface DeleteDraftPostSignature { | ||
/** | ||
* Moves a draft post with the provided ID to the trash bin. | ||
* A published post can also be deleted by its provided `draftPostId`. | ||
* | ||
* The optional `permanent` field enables you to delete a post permanently, bypassing the trash bin. When a draft post is deleted this way, it can't be restored. | ||
* @param - Draft post ID. | ||
* @param - Options for deleting a draft post. | ||
*/ | ||
(draftPostId: string, options?: DeleteDraftPostOptions | undefined): Promise<void>; | ||
} | ||
export declare function removeFromTrashBin(httpClient: HttpClient): RemoveFromTrashBinSignature; | ||
interface RemoveFromTrashBinSignature { | ||
/** | ||
* Permanently deletes a draft post by the provided ID from the trash bin. | ||
* | ||
* Uses the provided `draftPostId` to permanently delete a draft post from the trash bin. This action is permanent and cannot be reversed. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<void>; | ||
} | ||
export declare function bulkDeleteDraftPosts(httpClient: HttpClient): BulkDeleteDraftPostsSignature; | ||
interface BulkDeleteDraftPostsSignature { | ||
/** | ||
* Deletes multiple draft posts. | ||
* @param - Post IDs. | ||
* @param - Options for deleting multiple draft posts. | ||
*/ | ||
(postIds: string[], options?: BulkDeleteDraftPostsOptions | undefined): Promise<BulkDeleteDraftPostsResponse & BulkDeleteDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function listDraftPosts(httpClient: HttpClient): ListDraftPostsSignature; | ||
interface ListDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 draft posts per request. | ||
* | ||
* List Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in descending order. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for listing multiple draft posts. | ||
*/ | ||
(options?: ListDraftPostsOptions | undefined): Promise<ListDraftPostsResponse & ListDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function getDeletedDraftPost(httpClient: HttpClient): GetDeletedDraftPostSignature; | ||
interface GetDeletedDraftPostSignature { | ||
/** | ||
* Gets a deleted draft post from the trash bin by the provided ID. | ||
* | ||
* Uses the provided `draftPostId` to retrieve a previously deleted draft post from the trash bin. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<GetDeletedDraftPostResponse & GetDeletedDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function restoreFromTrashBin(httpClient: HttpClient): RestoreFromTrashBinSignature; | ||
interface RestoreFromTrashBinSignature { | ||
/** | ||
* Restores a deleted draft post from the trash bin by the provided ID. | ||
* | ||
* Uses the `draftPostId` to restore a deleted draft post from the trash bin. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<RestoreFromTrashBinResponse & RestoreFromTrashBinResponseNonNullableFields>; | ||
} | ||
export declare function queryDraftPosts(httpClient: HttpClient): QueryDraftPostsSignature; | ||
interface QueryDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 draft posts, given the provided paging, filtering, and sorting. | ||
* | ||
* Query Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in `DESC` order. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for querying draft posts. | ||
*/ | ||
(options?: QueryDraftPostsOptions | undefined): DraftPostsQueryBuilder; | ||
} | ||
export declare function publishDraftPost(httpClient: HttpClient): PublishDraftPostSignature; | ||
interface PublishDraftPostSignature { | ||
/** | ||
* Publishes a specified draft post by ID. This creates a new post entity with the data from the draft post. | ||
* | ||
* If the specified draft post was already published, the published post will be updated with the latest values from the draft post entity. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<PublishDraftPostResponse & PublishDraftPostResponseNonNullableFields>; | ||
} | ||
export declare const onDraftCreated: EventDefinition<DraftCreatedEnvelope, "wix.blog.v3.draft_created">; | ||
export declare const onDraftUpdated: EventDefinition<DraftUpdatedEnvelope, "wix.blog.v3.draft_updated">; | ||
export declare const onDraftDeleted: EventDefinition<DraftDeletedEnvelope, "wix.blog.v3.draft_deleted">; | ||
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsOptions, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsRequest, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, BulletedListData, ButtonData, ButtonDataType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostOptions, CreateDraftPostRequest, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostOptions, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryBuilder, DraftPostsQueryResult, DraftUpdatedEnvelope, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostRequest, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDeletedDraftPostsOptions, ListDeletedDraftPostsRequest, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsRequest, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, PostAmountByLanguage, PublishDraftPostRequest, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, QueryDraftPostsRequest, QueryDraftPostsResponse, QueryDraftPostsResponseNonNullableFields, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPost, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostOptions, UpdateDraftPostRequest, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-draft-draft-posts.universal'; | ||
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsOptions, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsRequest, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, BulletedListData, ButtonData, ButtonDataType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostOptions, CreateDraftPostRequest, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostOptions, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryBuilder, DraftPostsQueryResult, DraftUpdatedEnvelope, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostRequest, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDeletedDraftPostsOptions, ListDeletedDraftPostsRequest, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsRequest, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, PostAmountByLanguage, PublishDraftPostRequest, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, QueryDraftPostsRequest, QueryDraftPostsResponse, QueryDraftPostsResponseNonNullableFields, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPost, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostOptions, UpdateDraftPostRequest, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-draft-draft-posts.universal'; |
@@ -159,3 +159,3 @@ "use strict"; | ||
TextAlignment["CENTER"] = "CENTER"; | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */ | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ | ||
TextAlignment["JUSTIFY"] = "JUSTIFY"; | ||
@@ -162,0 +162,0 @@ })(TextAlignment || (exports.TextAlignment = TextAlignment = {})); |
@@ -197,3 +197,3 @@ "use strict"; | ||
TextAlignment["CENTER"] = "CENTER"; | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */ | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ | ||
TextAlignment["JUSTIFY"] = "JUSTIFY"; | ||
@@ -611,4 +611,8 @@ })(TextAlignment || (exports.TextAlignment = TextAlignment = {})); | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -619,3 +623,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -715,4 +718,8 @@ */ | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -723,3 +730,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -958,4 +964,8 @@ */ | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -966,3 +976,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -1386,2 +1395,3 @@ */ | ||
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG | ||
* @permissionId BLOG.READ_DRAFT | ||
* @applicableIdentity APP | ||
@@ -1388,0 +1398,0 @@ */ |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-draft-draft-posts.public'; | ||
export * from './src/blog-v3-draft-draft-posts.context'; |
@@ -1,2 +0,2 @@ | ||
export * from './src/blog-v3-draft-draft-posts.public'; | ||
export * from './src/blog-v3-draft-draft-posts.context'; | ||
//# sourceMappingURL=index.js.map |
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost } from './blog-v3-draft-draft-posts.public'; | ||
import { BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { BuildRESTFunction } from '@wix/sdk-types'; | ||
import { onDraftCreated as publicOnDraftCreated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftUpdated as publicOnDraftUpdated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftDeleted as publicOnDraftDeleted } from './blog-v3-draft-draft-posts.public'; | ||
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost>; | ||
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts>; | ||
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts>; | ||
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts>; | ||
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost>; | ||
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost>; | ||
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost>; | ||
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin>; | ||
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts>; | ||
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts>; | ||
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost>; | ||
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin>; | ||
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts>; | ||
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost>; | ||
export declare const onDraftCreated: BuildEventDefinition<typeof publicOnDraftCreated>; | ||
export declare const onDraftUpdated: BuildEventDefinition<typeof publicOnDraftUpdated>; | ||
export declare const onDraftDeleted: BuildEventDefinition<typeof publicOnDraftDeleted>; | ||
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost> & typeof publicCreateDraftPost; | ||
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts> & typeof publicBulkCreateDraftPosts; | ||
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts> & typeof publicBulkUpdateDraftPosts; | ||
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts> & typeof publicListDeletedDraftPosts; | ||
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost> & typeof publicGetDraftPost; | ||
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost> & typeof publicUpdateDraftPost; | ||
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost> & typeof publicDeleteDraftPost; | ||
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin> & typeof publicRemoveFromTrashBin; | ||
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts> & typeof publicBulkDeleteDraftPosts; | ||
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts> & typeof publicListDraftPosts; | ||
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost> & typeof publicGetDeletedDraftPost; | ||
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin> & typeof publicRestoreFromTrashBin; | ||
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts> & typeof publicQueryDraftPosts; | ||
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost> & typeof publicPublishDraftPost; | ||
export { publicOnDraftCreated }; | ||
export type _publicOnDraftCreatedType = typeof publicOnDraftCreated; | ||
/** | ||
* Triggered when a draft post is created. | ||
*/ | ||
export declare const onDraftCreated: ReturnType<typeof createEventModule<_publicOnDraftCreatedType>>; | ||
export { publicOnDraftUpdated }; | ||
export type _publicOnDraftUpdatedType = typeof publicOnDraftUpdated; | ||
/** | ||
* Triggered when a draft post is updated. | ||
*/ | ||
export declare const onDraftUpdated: ReturnType<typeof createEventModule<_publicOnDraftUpdatedType>>; | ||
export { publicOnDraftDeleted }; | ||
export type _publicOnDraftDeletedType = typeof publicOnDraftDeleted; | ||
/** | ||
* Triggered when a draft post is deleted. | ||
*/ | ||
export declare const onDraftDeleted: ReturnType<typeof createEventModule<_publicOnDraftDeletedType>>; | ||
export { Origin, NodeType, WidthType, PluginContainerDataAlignment, ButtonDataType, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Status, ModerationStatusStatus, Type, Field, Action, GetDraftPostsSort, SortOrder, WebhookIdentityType, TotalDraftPostsGroupingField, } from './blog-v3-draft-draft-posts.universal'; | ||
export { DraftPost, CoverMedia, CoverMediaMediaOneOf, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, SeoSchema, Keyword, Tag, Settings, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, DraftPostTranslation, InitialDraftPostsCopied, CreateDraftPostRequest, CreateDraftPostResponse, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkDraftPostResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateDraftPostsRequest, MaskedDraftPosts, BulkUpdateDraftPostsResponse, DraftPostOwnerChanged, ListDeletedDraftPostsRequest, BlogPaging, ListDeletedDraftPostsResponse, MetaData, GetDraftPostRequest, GetDraftPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostRequest, UpdateDraftPostResponse, DeleteDraftPostRequest, DeleteDraftPostResponse, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, ListDraftPostsRequest, ListDraftPostsResponse, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, QueryDraftPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryDraftPostsResponse, PagingMetadataV2, Cursors, PublishDraftPostRequest, PublishDraftPostResponse, UnpublishPostRequest, UnpublishPostResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, TotalDraftPosts, TranslateCategoryRequest, TranslateCategoryResponse, Category, CategoryTranslation, TranslateDraftRequest, TranslateDraftResponse, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, PostAmountByLanguage, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RejectDraftPostRequest, RejectDraftPostResponse, ApproveDraftPostRequest, ApproveDraftPostResponse, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, CreateDraftPostResponseNonNullableFields, BulkCreateDraftPostsResponseNonNullableFields, BulkUpdateDraftPostsResponseNonNullableFields, ListDeletedDraftPostsResponseNonNullableFields, GetDraftPostResponseNonNullableFields, UpdateDraftPostResponseNonNullableFields, BulkDeleteDraftPostsResponseNonNullableFields, ListDraftPostsResponseNonNullableFields, GetDeletedDraftPostResponseNonNullableFields, RestoreFromTrashBinResponseNonNullableFields, QueryDraftPostsResponseNonNullableFields, PublishDraftPostResponseNonNullableFields, BaseEventMetadata, EventMetadata, DraftCreatedEnvelope, DraftUpdatedEnvelope, DraftDeletedEnvelope, CreateDraftPostOptions, BulkCreateDraftPostsOptions, BulkUpdateDraftPostsOptions, ListDeletedDraftPostsOptions, GetDraftPostOptions, UpdateDraftPost, UpdateDraftPostOptions, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, ListDraftPostsOptions, QueryDraftPostsOptions, DraftPostsQueryResult, DraftPostsQueryBuilder, } from './blog-v3-draft-draft-posts.universal'; |
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost, } from './blog-v3-draft-draft-posts.public'; | ||
import { contextualizeRESTModule, contextualizeEventDefinitionModule, } from '@wix/sdk-runtime/context'; | ||
import { createRESTModule } from '@wix/sdk-runtime/rest-modules'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { onDraftCreated as publicOnDraftCreated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftUpdated as publicOnDraftUpdated } from './blog-v3-draft-draft-posts.public'; | ||
import { onDraftDeleted as publicOnDraftDeleted } from './blog-v3-draft-draft-posts.public'; | ||
export const createDraftPost = contextualizeRESTModule(publicCreateDraftPost, 1); | ||
export const bulkCreateDraftPosts = contextualizeRESTModule(publicBulkCreateDraftPosts, 1); | ||
export const bulkUpdateDraftPosts = contextualizeRESTModule(publicBulkUpdateDraftPosts, 1); | ||
export const listDeletedDraftPosts = contextualizeRESTModule(publicListDeletedDraftPosts, 1); | ||
export const getDraftPost = contextualizeRESTModule(publicGetDraftPost, 1); | ||
export const updateDraftPost = contextualizeRESTModule(publicUpdateDraftPost, 1); | ||
export const deleteDraftPost = contextualizeRESTModule(publicDeleteDraftPost, 1); | ||
export const removeFromTrashBin = contextualizeRESTModule(publicRemoveFromTrashBin, 1); | ||
export const bulkDeleteDraftPosts = contextualizeRESTModule(publicBulkDeleteDraftPosts, 1); | ||
export const listDraftPosts = contextualizeRESTModule(publicListDraftPosts, 1); | ||
export const getDeletedDraftPost = contextualizeRESTModule(publicGetDeletedDraftPost, 1); | ||
export const restoreFromTrashBin = contextualizeRESTModule(publicRestoreFromTrashBin, 1); | ||
export const queryDraftPosts = contextualizeRESTModule(publicQueryDraftPosts, 1); | ||
export const publishDraftPost = contextualizeRESTModule(publicPublishDraftPost, 1); | ||
export const onDraftCreated = contextualizeEventDefinitionModule(publicOnDraftCreated); | ||
export const onDraftUpdated = contextualizeEventDefinitionModule(publicOnDraftUpdated); | ||
export const onDraftDeleted = contextualizeEventDefinitionModule(publicOnDraftDeleted); | ||
export const createDraftPost = createRESTModule(publicCreateDraftPost); | ||
export const bulkCreateDraftPosts = createRESTModule(publicBulkCreateDraftPosts); | ||
export const bulkUpdateDraftPosts = createRESTModule(publicBulkUpdateDraftPosts); | ||
export const listDeletedDraftPosts = createRESTModule(publicListDeletedDraftPosts); | ||
export const getDraftPost = createRESTModule(publicGetDraftPost); | ||
export const updateDraftPost = createRESTModule(publicUpdateDraftPost); | ||
export const deleteDraftPost = createRESTModule(publicDeleteDraftPost); | ||
export const removeFromTrashBin = createRESTModule(publicRemoveFromTrashBin); | ||
export const bulkDeleteDraftPosts = createRESTModule(publicBulkDeleteDraftPosts); | ||
export const listDraftPosts = createRESTModule(publicListDraftPosts); | ||
export const getDeletedDraftPost = createRESTModule(publicGetDeletedDraftPost); | ||
export const restoreFromTrashBin = createRESTModule(publicRestoreFromTrashBin); | ||
export const queryDraftPosts = createRESTModule(publicQueryDraftPosts); | ||
export const publishDraftPost = createRESTModule(publicPublishDraftPost); | ||
export { publicOnDraftCreated }; | ||
/** | ||
* Triggered when a draft post is created. | ||
*/ | ||
export const onDraftCreated = createEventModule(publicOnDraftCreated); | ||
export { publicOnDraftUpdated }; | ||
/** | ||
* Triggered when a draft post is updated. | ||
*/ | ||
export const onDraftUpdated = createEventModule(publicOnDraftUpdated); | ||
export { publicOnDraftDeleted }; | ||
/** | ||
* Triggered when a draft post is deleted. | ||
*/ | ||
export const onDraftDeleted = createEventModule(publicOnDraftDeleted); | ||
export { Origin, NodeType, WidthType, PluginContainerDataAlignment, ButtonDataType, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Status, ModerationStatusStatus, Type, Field, Action, GetDraftPostsSort, SortOrder, WebhookIdentityType, TotalDraftPostsGroupingField, } from './blog-v3-draft-draft-posts.universal'; | ||
//# sourceMappingURL=blog-v3-draft-draft-posts.context.js.map |
import { EventDefinition, HttpClient } from '@wix/sdk-types'; | ||
import { BulkCreateDraftPostsOptions, BulkDeleteDraftPostsOptions, BulkUpdateDraftPostsOptions, CreateDraftPostOptions, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftUpdatedEnvelope, GetDraftPostOptions, ListDeletedDraftPostsOptions, ListDraftPostsOptions, QueryDraftPostsOptions, UpdateDraftPost, UpdateDraftPostOptions } from './blog-v3-draft-draft-posts.universal'; | ||
import { BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, CreateDraftPostOptions, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostsQueryBuilder, DraftUpdatedEnvelope, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields } from './blog-v3-draft-draft-posts.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function createDraftPost(httpClient: HttpClient): (draftPost: DraftPost, options?: CreateDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").CreateDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").CreateDraftPostResponseNonNullableFields>; | ||
export declare function bulkCreateDraftPosts(httpClient: HttpClient): (draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkCreateDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkCreateDraftPostsResponseNonNullableFields>; | ||
export declare function bulkUpdateDraftPosts(httpClient: HttpClient): (options?: BulkUpdateDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkUpdateDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkUpdateDraftPostsResponseNonNullableFields>; | ||
export declare function listDeletedDraftPosts(httpClient: HttpClient): (options?: ListDeletedDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").ListDeletedDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").ListDeletedDraftPostsResponseNonNullableFields>; | ||
export declare function getDraftPost(httpClient: HttpClient): (draftPostId: string, options?: GetDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").GetDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").GetDraftPostResponseNonNullableFields>; | ||
export declare function updateDraftPost(httpClient: HttpClient): (_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").UpdateDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").UpdateDraftPostResponseNonNullableFields>; | ||
export declare function deleteDraftPost(httpClient: HttpClient): (draftPostId: string, options?: DeleteDraftPostOptions) => Promise<void>; | ||
export declare function removeFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<void>; | ||
export declare function bulkDeleteDraftPosts(httpClient: HttpClient): (postIds: string[], options?: BulkDeleteDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").BulkDeleteDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").BulkDeleteDraftPostsResponseNonNullableFields>; | ||
export declare function listDraftPosts(httpClient: HttpClient): (options?: ListDraftPostsOptions) => Promise<import("./blog-v3-draft-draft-posts.universal").ListDraftPostsResponse & import("./blog-v3-draft-draft-posts.universal").ListDraftPostsResponseNonNullableFields>; | ||
export declare function getDeletedDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").GetDeletedDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").GetDeletedDraftPostResponseNonNullableFields>; | ||
export declare function restoreFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").RestoreFromTrashBinResponse & import("./blog-v3-draft-draft-posts.universal").RestoreFromTrashBinResponseNonNullableFields>; | ||
export declare function queryDraftPosts(httpClient: HttpClient): (options?: QueryDraftPostsOptions) => import("./blog-v3-draft-draft-posts.universal").DraftPostsQueryBuilder; | ||
export declare function publishDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft-draft-posts.universal").PublishDraftPostResponse & import("./blog-v3-draft-draft-posts.universal").PublishDraftPostResponseNonNullableFields>; | ||
export declare function createDraftPost(httpClient: HttpClient): CreateDraftPostSignature; | ||
interface CreateDraftPostSignature { | ||
/** | ||
* Creates a draft post. | ||
* | ||
* The draft post's `memberId` is required for third-party apps. | ||
* @param - Draft post to create. | ||
* @param - Options for creating a draft post. | ||
*/ | ||
(draftPost: DraftPost, options?: CreateDraftPostOptions | undefined): Promise<CreateDraftPostResponse & CreateDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function bulkCreateDraftPosts(httpClient: HttpClient): BulkCreateDraftPostsSignature; | ||
interface BulkCreateDraftPostsSignature { | ||
/** | ||
* Creates multiple draft posts. | ||
* @param - Draft posts to create. | ||
* @param - Options for creating multiple draft posts. | ||
*/ | ||
(draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions | undefined): Promise<BulkCreateDraftPostsResponse & BulkCreateDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function bulkUpdateDraftPosts(httpClient: HttpClient): BulkUpdateDraftPostsSignature; | ||
interface BulkUpdateDraftPostsSignature { | ||
/** | ||
* Updates multiple draft posts. | ||
* @param - Options for updating multiple draft posts. | ||
*/ | ||
(options?: BulkUpdateDraftPostsOptions | undefined): Promise<BulkUpdateDraftPostsResponse & BulkUpdateDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function listDeletedDraftPosts(httpClient: HttpClient): ListDeletedDraftPostsSignature; | ||
interface ListDeletedDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 deleted draft posts. | ||
* | ||
* List Deleted Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for listing deleted draft posts. | ||
*/ | ||
(options?: ListDeletedDraftPostsOptions | undefined): Promise<ListDeletedDraftPostsResponse & ListDeletedDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function getDraftPost(httpClient: HttpClient): GetDraftPostSignature; | ||
interface GetDraftPostSignature { | ||
/** | ||
* Gets a draft post by the provided ID. | ||
* | ||
* Uses the provided `draftPostId` to retrieve a draft post. | ||
* @param - Draft post ID. | ||
* @param - Options for getting a draft post. | ||
*/ | ||
(draftPostId: string, options?: GetDraftPostOptions | undefined): Promise<GetDraftPostResponse & GetDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function updateDraftPost(httpClient: HttpClient): UpdateDraftPostSignature; | ||
interface UpdateDraftPostSignature { | ||
/** | ||
* Updates a draft post. | ||
* @param - Draft post ID. | ||
* @param - Options for updating a draft post. | ||
* @param - Draft Post info. | ||
*/ | ||
(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions | undefined): Promise<UpdateDraftPostResponse & UpdateDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function deleteDraftPost(httpClient: HttpClient): DeleteDraftPostSignature; | ||
interface DeleteDraftPostSignature { | ||
/** | ||
* Moves a draft post with the provided ID to the trash bin. | ||
* A published post can also be deleted by its provided `draftPostId`. | ||
* | ||
* The optional `permanent` field enables you to delete a post permanently, bypassing the trash bin. When a draft post is deleted this way, it can't be restored. | ||
* @param - Draft post ID. | ||
* @param - Options for deleting a draft post. | ||
*/ | ||
(draftPostId: string, options?: DeleteDraftPostOptions | undefined): Promise<void>; | ||
} | ||
export declare function removeFromTrashBin(httpClient: HttpClient): RemoveFromTrashBinSignature; | ||
interface RemoveFromTrashBinSignature { | ||
/** | ||
* Permanently deletes a draft post by the provided ID from the trash bin. | ||
* | ||
* Uses the provided `draftPostId` to permanently delete a draft post from the trash bin. This action is permanent and cannot be reversed. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<void>; | ||
} | ||
export declare function bulkDeleteDraftPosts(httpClient: HttpClient): BulkDeleteDraftPostsSignature; | ||
interface BulkDeleteDraftPostsSignature { | ||
/** | ||
* Deletes multiple draft posts. | ||
* @param - Post IDs. | ||
* @param - Options for deleting multiple draft posts. | ||
*/ | ||
(postIds: string[], options?: BulkDeleteDraftPostsOptions | undefined): Promise<BulkDeleteDraftPostsResponse & BulkDeleteDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function listDraftPosts(httpClient: HttpClient): ListDraftPostsSignature; | ||
interface ListDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 draft posts per request. | ||
* | ||
* List Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in descending order. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for listing multiple draft posts. | ||
*/ | ||
(options?: ListDraftPostsOptions | undefined): Promise<ListDraftPostsResponse & ListDraftPostsResponseNonNullableFields>; | ||
} | ||
export declare function getDeletedDraftPost(httpClient: HttpClient): GetDeletedDraftPostSignature; | ||
interface GetDeletedDraftPostSignature { | ||
/** | ||
* Gets a deleted draft post from the trash bin by the provided ID. | ||
* | ||
* Uses the provided `draftPostId` to retrieve a previously deleted draft post from the trash bin. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<GetDeletedDraftPostResponse & GetDeletedDraftPostResponseNonNullableFields>; | ||
} | ||
export declare function restoreFromTrashBin(httpClient: HttpClient): RestoreFromTrashBinSignature; | ||
interface RestoreFromTrashBinSignature { | ||
/** | ||
* Restores a deleted draft post from the trash bin by the provided ID. | ||
* | ||
* Uses the `draftPostId` to restore a deleted draft post from the trash bin. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<RestoreFromTrashBinResponse & RestoreFromTrashBinResponseNonNullableFields>; | ||
} | ||
export declare function queryDraftPosts(httpClient: HttpClient): QueryDraftPostsSignature; | ||
interface QueryDraftPostsSignature { | ||
/** | ||
* Retrieves a list of up to 100 draft posts, given the provided paging, filtering, and sorting. | ||
* | ||
* Query Draft Posts runs with these defaults, which you can override: | ||
* - `editedDate` is sorted in `DESC` order. | ||
* - `paging.limit` is `50`. | ||
* - `paging.offset` is `0`. | ||
* @param - Options for querying draft posts. | ||
*/ | ||
(options?: QueryDraftPostsOptions | undefined): DraftPostsQueryBuilder; | ||
} | ||
export declare function publishDraftPost(httpClient: HttpClient): PublishDraftPostSignature; | ||
interface PublishDraftPostSignature { | ||
/** | ||
* Publishes a specified draft post by ID. This creates a new post entity with the data from the draft post. | ||
* | ||
* If the specified draft post was already published, the published post will be updated with the latest values from the draft post entity. | ||
* @param - Draft post ID. | ||
*/ | ||
(draftPostId: string): Promise<PublishDraftPostResponse & PublishDraftPostResponseNonNullableFields>; | ||
} | ||
export declare const onDraftCreated: EventDefinition<DraftCreatedEnvelope, "wix.blog.v3.draft_created">; | ||
export declare const onDraftUpdated: EventDefinition<DraftUpdatedEnvelope, "wix.blog.v3.draft_updated">; | ||
export declare const onDraftDeleted: EventDefinition<DraftDeletedEnvelope, "wix.blog.v3.draft_deleted">; | ||
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsOptions, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsRequest, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, BulletedListData, ButtonData, ButtonDataType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostOptions, CreateDraftPostRequest, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostOptions, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryBuilder, DraftPostsQueryResult, DraftUpdatedEnvelope, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostRequest, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDeletedDraftPostsOptions, ListDeletedDraftPostsRequest, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsRequest, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, PostAmountByLanguage, PublishDraftPostRequest, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, QueryDraftPostsRequest, QueryDraftPostsResponse, QueryDraftPostsResponseNonNullableFields, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPost, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostOptions, UpdateDraftPostRequest, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-draft-draft-posts.universal'; | ||
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsOptions, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkCreateDraftPostsResponseNonNullableFields, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, BulkDeleteDraftPostsResponseNonNullableFields, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsRequest, BulkUpdateDraftPostsResponse, BulkUpdateDraftPostsResponseNonNullableFields, BulletedListData, ButtonData, ButtonDataType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostOptions, CreateDraftPostRequest, CreateDraftPostResponse, CreateDraftPostResponseNonNullableFields, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostOptions, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryBuilder, DraftPostsQueryResult, DraftUpdatedEnvelope, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, GetDeletedDraftPostResponseNonNullableFields, GetDraftPostOptions, GetDraftPostRequest, GetDraftPostResponse, GetDraftPostResponseNonNullableFields, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDeletedDraftPostsOptions, ListDeletedDraftPostsRequest, ListDeletedDraftPostsResponse, ListDeletedDraftPostsResponseNonNullableFields, ListDraftPostsOptions, ListDraftPostsRequest, ListDraftPostsResponse, ListDraftPostsResponseNonNullableFields, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, PostAmountByLanguage, PublishDraftPostRequest, PublishDraftPostResponse, PublishDraftPostResponseNonNullableFields, QueryDraftPostsOptions, QueryDraftPostsRequest, QueryDraftPostsResponse, QueryDraftPostsResponseNonNullableFields, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, RestoreFromTrashBinResponseNonNullableFields, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPost, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostOptions, UpdateDraftPostRequest, UpdateDraftPostResponse, UpdateDraftPostResponseNonNullableFields, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-draft-draft-posts.universal'; |
@@ -156,3 +156,3 @@ export var Origin; | ||
TextAlignment["CENTER"] = "CENTER"; | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */ | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ | ||
TextAlignment["JUSTIFY"] = "JUSTIFY"; | ||
@@ -159,0 +159,0 @@ })(TextAlignment || (TextAlignment = {})); |
@@ -170,3 +170,3 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error'; | ||
TextAlignment["CENTER"] = "CENTER"; | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */ | ||
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ | ||
TextAlignment["JUSTIFY"] = "JUSTIFY"; | ||
@@ -583,4 +583,8 @@ })(TextAlignment || (TextAlignment = {})); | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -591,3 +595,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -686,4 +689,8 @@ */ | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -694,3 +701,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -926,4 +932,8 @@ */ | ||
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION | ||
* @permissionScope Manage Portfolio | ||
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO | ||
* @permissionScope Read Members and Contacts - all read permissions | ||
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS | ||
* @permissionScope Manage Restaurants - all permissions | ||
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES | ||
* @permissionScope Read Members | ||
@@ -934,3 +944,2 @@ * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS | ||
* @applicableIdentity APP | ||
* @applicableIdentity MEMBER | ||
* @applicableIdentity VISITOR | ||
@@ -1347,2 +1356,3 @@ */ | ||
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG | ||
* @permissionId BLOG.READ_DRAFT | ||
* @applicableIdentity APP | ||
@@ -1349,0 +1359,0 @@ */ |
{ | ||
"name": "@wix/blog_draft-posts", | ||
"version": "1.0.33", | ||
"version": "1.0.34", | ||
"publishConfig": { | ||
@@ -23,4 +23,4 @@ "registry": "https://registry.npmjs.org/", | ||
"@wix/motion-edm-autogen-query-wrapper": "^1.0.37", | ||
"@wix/sdk-runtime": "^0.3.2", | ||
"@wix/sdk-types": "^1.9.0" | ||
"@wix/sdk-runtime": "^0.3.14", | ||
"@wix/sdk-types": "^1.9.2" | ||
}, | ||
@@ -34,4 +34,5 @@ "devDependencies": { | ||
"scripts": { | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles", | ||
"build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'", | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles && npm run build:validate-dts", | ||
"build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'", | ||
"build:validate-dts": "tsc type-bundles/*.d.ts --noEmit", | ||
"test": ":" | ||
@@ -49,3 +50,3 @@ }, | ||
}, | ||
"falconPackageHash": "68cf51e180219b9307d312c679838fbb14fadb1ef1396f270155fb9e" | ||
"falconPackageHash": "262e5fb2ff6edafe87f34df22398ba518ba8c1cb9e19e565332a6f9d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1607834
37806
Updated@wix/sdk-runtime@^0.3.14
Updated@wix/sdk-types@^1.9.2