@wix/auto_sdk_blog_posts 1.0.145 → 1.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +11 -15
- package/build/cjs/index.js +69 -23
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +116 -33
- package/build/cjs/index.typings.js +52 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +99 -3
- package/build/cjs/meta.js +46 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +82 -84
- package/build/cjs/schemas.js +147 -153
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +67 -23
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +116 -33
- package/build/es/index.typings.mjs +50 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +99 -3
- package/build/es/meta.mjs +44 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +82 -84
- package/build/es/schemas.mjs +147 -153
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +69 -23
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +116 -33
- package/build/internal/cjs/index.typings.js +52 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +99 -3
- package/build/internal/cjs/meta.js +46 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +82 -84
- package/build/internal/cjs/schemas.js +147 -153
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +67 -23
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +116 -33
- package/build/internal/es/index.typings.mjs +50 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +99 -3
- package/build/internal/es/meta.mjs +44 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +82 -84
- package/build/internal/es/schemas.mjs +147 -153
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -327,6 +327,10 @@ interface Node extends NodeDataOneOf {
|
|
|
327
327
|
cardData?: CardData;
|
|
328
328
|
/** Data for a table of contents node. */
|
|
329
329
|
tocData?: TocData;
|
|
330
|
+
/** Data for a smart block node. */
|
|
331
|
+
smartBlockData?: SmartBlockData;
|
|
332
|
+
/** Data for a smart block cell node. */
|
|
333
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
330
334
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
331
335
|
type?: NodeTypeWithLiterals;
|
|
332
336
|
/** Node ID. */
|
|
@@ -400,6 +404,10 @@ interface NodeDataOneOf {
|
|
|
400
404
|
cardData?: CardData;
|
|
401
405
|
/** Data for a table of contents node. */
|
|
402
406
|
tocData?: TocData;
|
|
407
|
+
/** Data for a smart block node. */
|
|
408
|
+
smartBlockData?: SmartBlockData;
|
|
409
|
+
/** Data for a smart block cell node. */
|
|
410
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
403
411
|
}
|
|
404
412
|
declare enum NodeType {
|
|
405
413
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -438,10 +446,12 @@ declare enum NodeType {
|
|
|
438
446
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
439
447
|
SHAPE = "SHAPE",
|
|
440
448
|
CARD = "CARD",
|
|
441
|
-
TOC = "TOC"
|
|
449
|
+
TOC = "TOC",
|
|
450
|
+
SMART_BLOCK = "SMART_BLOCK",
|
|
451
|
+
SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
|
|
442
452
|
}
|
|
443
453
|
/** @enumType */
|
|
444
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
454
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC' | 'SMART_BLOCK' | 'SMART_BLOCK_CELL';
|
|
445
455
|
interface NodeStyle {
|
|
446
456
|
/** The top padding value in pixels. */
|
|
447
457
|
paddingTop?: string | null;
|
|
@@ -1059,6 +1069,8 @@ interface HeadingData {
|
|
|
1059
1069
|
textStyle?: TextStyle;
|
|
1060
1070
|
/** Indentation level from 1-4. */
|
|
1061
1071
|
indentation?: number | null;
|
|
1072
|
+
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
1073
|
+
renderedLevel?: number | null;
|
|
1062
1074
|
}
|
|
1063
1075
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
1064
1076
|
/** The URL for the HTML code for the node. */
|
|
@@ -1932,6 +1944,8 @@ interface TableData {
|
|
|
1932
1944
|
* @maxSize 4
|
|
1933
1945
|
*/
|
|
1934
1946
|
cellPadding?: number[];
|
|
1947
|
+
/** Table's alternative text. */
|
|
1948
|
+
altText?: string | null;
|
|
1935
1949
|
}
|
|
1936
1950
|
interface Dimensions {
|
|
1937
1951
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -2373,6 +2387,88 @@ declare enum Indentation {
|
|
|
2373
2387
|
}
|
|
2374
2388
|
/** @enumType */
|
|
2375
2389
|
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2390
|
+
/** Data for a smart block node. */
|
|
2391
|
+
interface SmartBlockData {
|
|
2392
|
+
/** The type of the smart block. */
|
|
2393
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2394
|
+
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
|
|
2395
|
+
orientation?: string | null;
|
|
2396
|
+
/** Column size controlling cells per row. */
|
|
2397
|
+
columnSize?: ColumnSizeWithLiterals;
|
|
2398
|
+
/** Border color (for SOLID_JOINED_BOXES variant). */
|
|
2399
|
+
borderColor?: string | null;
|
|
2400
|
+
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2401
|
+
borderWidth?: number | null;
|
|
2402
|
+
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2403
|
+
borderRadius?: number | null;
|
|
2404
|
+
}
|
|
2405
|
+
/** Layout type of the smart block */
|
|
2406
|
+
declare enum SmartBlockDataType {
|
|
2407
|
+
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
|
|
2408
|
+
SOLID_BOXES = "SOLID_BOXES",
|
|
2409
|
+
/** Numbered boxes. */
|
|
2410
|
+
NUMBERED_BOXES = "NUMBERED_BOXES",
|
|
2411
|
+
/** Statistics display with large numbers/values. */
|
|
2412
|
+
STATS = "STATS",
|
|
2413
|
+
/** Statistics with circular visual elements. */
|
|
2414
|
+
CIRCLE_STATS = "CIRCLE_STATS",
|
|
2415
|
+
/** Staggered/zigzag grid layout with alternating box positions. */
|
|
2416
|
+
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
|
|
2417
|
+
/** Grid layout with boxes visually joined (no gaps, shared container border). */
|
|
2418
|
+
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
|
|
2419
|
+
/** Transparent cells with only a left side line. */
|
|
2420
|
+
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
|
|
2421
|
+
/** Transparent cells with only a top line. */
|
|
2422
|
+
TOP_LINE_TEXT = "TOP_LINE_TEXT",
|
|
2423
|
+
/** Outlined boxes with a numbered/icon circle at the top. */
|
|
2424
|
+
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
|
|
2425
|
+
/** Large icon bullets with text content. */
|
|
2426
|
+
BIG_BULLETS = "BIG_BULLETS",
|
|
2427
|
+
/** Small dot bullets with text content. */
|
|
2428
|
+
SMALL_BULLETS = "SMALL_BULLETS",
|
|
2429
|
+
/** Arrow icon bullets with text content. */
|
|
2430
|
+
ARROW_BULLETS = "ARROW_BULLETS",
|
|
2431
|
+
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2432
|
+
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2433
|
+
/** Statistics with bar visual elements. */
|
|
2434
|
+
BAR_STATS = "BAR_STATS"
|
|
2435
|
+
}
|
|
2436
|
+
/** @enumType */
|
|
2437
|
+
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
|
|
2438
|
+
/** Column size controlling how many cells appear per row. */
|
|
2439
|
+
declare enum ColumnSize {
|
|
2440
|
+
/** Up to 4 cells in a row. */
|
|
2441
|
+
SMALL = "SMALL",
|
|
2442
|
+
/** Up to 3 cells in a row (default). */
|
|
2443
|
+
MEDIUM = "MEDIUM",
|
|
2444
|
+
/** Up to 2 cells in a row. */
|
|
2445
|
+
LARGE = "LARGE",
|
|
2446
|
+
/** 1 cell in a row. */
|
|
2447
|
+
EXTRA_LARGE = "EXTRA_LARGE"
|
|
2448
|
+
}
|
|
2449
|
+
/** @enumType */
|
|
2450
|
+
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2451
|
+
/** Data for a smart block cell node. */
|
|
2452
|
+
interface SmartBlockCellData {
|
|
2453
|
+
/** Optional label text for the cell (e.g., for stats variants). */
|
|
2454
|
+
label?: string | null;
|
|
2455
|
+
/** Shape file details. */
|
|
2456
|
+
shape?: V1Media;
|
|
2457
|
+
/** Border color of the cell. */
|
|
2458
|
+
borderColor?: string | null;
|
|
2459
|
+
/** Border width in pixels. */
|
|
2460
|
+
borderWidth?: number | null;
|
|
2461
|
+
/** Border radius in pixels. */
|
|
2462
|
+
borderRadius?: number | null;
|
|
2463
|
+
/** The type of the parent smart block (must match parent). */
|
|
2464
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2465
|
+
/** Accent color for non-background variants (e.g., line, bullet, label color). */
|
|
2466
|
+
accentColor?: string | null;
|
|
2467
|
+
/** Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES). */
|
|
2468
|
+
backgroundColor?: string | null;
|
|
2469
|
+
/** Shape fill color as a hexadecimal value. */
|
|
2470
|
+
shapeColor?: string | null;
|
|
2471
|
+
}
|
|
2376
2472
|
interface Metadata {
|
|
2377
2473
|
/** Schema version. */
|
|
2378
2474
|
version?: number;
|
|
@@ -4161,14 +4257,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4161
4257
|
/**
|
|
4162
4258
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4163
4259
|
*
|
|
4164
|
-
*
|
|
4165
|
-
* The
|
|
4166
|
-
*
|
|
4167
|
-
*
|
|
4168
|
-
*
|
|
4169
|
-
*
|
|
4260
|
+
* The time range is set using the `rangeStart` and `months` properties.
|
|
4261
|
+
* The time range always starts on the 1st day of the month set in `rangeStart` and
|
|
4262
|
+
* includes the number of `months` following `rangeStart`.
|
|
4263
|
+
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4264
|
+
* the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
|
|
4265
|
+
* > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
|
|
4170
4266
|
* @public
|
|
4171
|
-
* @param options - Options specifying time frame, sort, and filter.
|
|
4172
4267
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4173
4268
|
* @applicableIdentity APP
|
|
4174
4269
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4209,7 +4304,6 @@ interface QueryPostCountStatsOptions {
|
|
|
4209
4304
|
/**
|
|
4210
4305
|
* Retrieves the total amount of published posts of the blog.
|
|
4211
4306
|
* @public
|
|
4212
|
-
* @param options - Language Options.
|
|
4213
4307
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4214
4308
|
* @applicableIdentity APP
|
|
4215
4309
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4230,12 +4324,12 @@ interface GetTotalPostsOptions {
|
|
|
4230
4324
|
* @param postId - Post ID.
|
|
4231
4325
|
* @public
|
|
4232
4326
|
* @requiredField postId
|
|
4233
|
-
* @param options - Options specifying which fields to return.
|
|
4234
4327
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4235
4328
|
* @applicableIdentity APP
|
|
4329
|
+
* @returns Retrieved post info.
|
|
4236
4330
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4237
4331
|
*/
|
|
4238
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4332
|
+
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
|
|
4239
4333
|
interface GetPostOptions {
|
|
4240
4334
|
/**
|
|
4241
4335
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4255,7 +4349,6 @@ interface GetPostOptions {
|
|
|
4255
4349
|
* @param slug - Slug of the post to retrieve.
|
|
4256
4350
|
* @public
|
|
4257
4351
|
* @requiredField slug
|
|
4258
|
-
* @param options - Options specifying which fields to return.
|
|
4259
4352
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4260
4353
|
* @applicableIdentity APP
|
|
4261
4354
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4283,7 +4376,6 @@ interface GetPostBySlugOptions {
|
|
|
4283
4376
|
* - `paging.limit` is `50`.
|
|
4284
4377
|
* - `paging.offset` is `0`.
|
|
4285
4378
|
* @public
|
|
4286
|
-
* @param options - Sort, filter, and paging options.
|
|
4287
4379
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4288
4380
|
* @applicableIdentity APP
|
|
4289
4381
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4354,26 +4446,18 @@ interface ListPostsOptions {
|
|
|
4354
4446
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4355
4447
|
}
|
|
4356
4448
|
/**
|
|
4357
|
-
*
|
|
4358
|
-
*
|
|
4449
|
+
* Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
|
|
4359
4450
|
*
|
|
4360
|
-
*
|
|
4361
|
-
*
|
|
4362
|
-
*
|
|
4363
|
-
*
|
|
4364
|
-
* You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
|
|
4365
|
-
*
|
|
4366
|
-
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4367
|
-
* + `limit(50)`
|
|
4368
|
-
* + `descending('firstPublishedDate')`
|
|
4369
|
-
*
|
|
4370
|
-
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4371
|
-
*
|
|
4372
|
-
* To learn how to query posts, refer to the table below.
|
|
4451
|
+
* Query Posts runs with these defaults, which you can override:
|
|
4452
|
+
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4453
|
+
* - `paging.limit` is `50`.
|
|
4454
|
+
* - `paging.offset` is `0`.
|
|
4373
4455
|
*
|
|
4374
|
-
*
|
|
4456
|
+
* To learn about working with _Query_ endpoints, see
|
|
4457
|
+
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
4458
|
+
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
|
|
4459
|
+
* [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
4375
4460
|
* @public
|
|
4376
|
-
* @param options - Options specifying which fields to return.
|
|
4377
4461
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4378
4462
|
* @applicableIdentity APP
|
|
4379
4463
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4621,7 +4705,6 @@ type PostQuery = {
|
|
|
4621
4705
|
};
|
|
4622
4706
|
declare const utils: {
|
|
4623
4707
|
query: {
|
|
4624
|
-
/** Data for a spoiler decoration. */
|
|
4625
4708
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
|
|
4626
4709
|
Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
|
|
4627
4710
|
Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
|
|
@@ -4640,4 +4723,4 @@ declare const utils: {
|
|
|
4640
4723
|
*/
|
|
4641
4724
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4642
4725
|
|
|
4643
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
4726
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
@@ -450,7 +450,10 @@ function getPost(payload) {
|
|
|
450
450
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
451
451
|
},
|
|
452
452
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
453
|
-
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
453
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
454
|
+
{
|
|
455
|
+
path: "post.richContent.nodes.smartBlockCellData.shape.duration"
|
|
456
|
+
}
|
|
454
457
|
]
|
|
455
458
|
}
|
|
456
459
|
])
|
|
@@ -598,7 +601,10 @@ function getPostBySlug(payload) {
|
|
|
598
601
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
599
602
|
},
|
|
600
603
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
601
|
-
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
604
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
605
|
+
{
|
|
606
|
+
path: "post.richContent.nodes.smartBlockCellData.shape.duration"
|
|
607
|
+
}
|
|
602
608
|
]
|
|
603
609
|
}
|
|
604
610
|
])
|
|
@@ -750,7 +756,10 @@ function listPosts(payload) {
|
|
|
750
756
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
751
757
|
},
|
|
752
758
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
753
|
-
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
759
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
760
|
+
{
|
|
761
|
+
path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
|
|
762
|
+
}
|
|
754
763
|
]
|
|
755
764
|
}
|
|
756
765
|
])
|
|
@@ -902,7 +911,10 @@ function queryPosts(payload) {
|
|
|
902
911
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
903
912
|
},
|
|
904
913
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
905
|
-
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
914
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
915
|
+
{
|
|
916
|
+
path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
|
|
917
|
+
}
|
|
906
918
|
]
|
|
907
919
|
}
|
|
908
920
|
])
|
|
@@ -982,6 +994,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
982
994
|
NodeType2["SHAPE"] = "SHAPE";
|
|
983
995
|
NodeType2["CARD"] = "CARD";
|
|
984
996
|
NodeType2["TOC"] = "TOC";
|
|
997
|
+
NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
|
|
998
|
+
NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
|
|
985
999
|
return NodeType2;
|
|
986
1000
|
})(NodeType || {});
|
|
987
1001
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -1309,6 +1323,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
|
1309
1323
|
Indentation2["FLAT"] = "FLAT";
|
|
1310
1324
|
return Indentation2;
|
|
1311
1325
|
})(Indentation || {});
|
|
1326
|
+
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
1327
|
+
SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
|
|
1328
|
+
SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
|
|
1329
|
+
SmartBlockDataType2["STATS"] = "STATS";
|
|
1330
|
+
SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
|
|
1331
|
+
SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
|
|
1332
|
+
SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
|
|
1333
|
+
SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
|
|
1334
|
+
SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
|
|
1335
|
+
SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
|
|
1336
|
+
SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
|
|
1337
|
+
SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
|
|
1338
|
+
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
1339
|
+
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
1340
|
+
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
1341
|
+
return SmartBlockDataType2;
|
|
1342
|
+
})(SmartBlockDataType || {});
|
|
1343
|
+
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
1344
|
+
ColumnSize2["SMALL"] = "SMALL";
|
|
1345
|
+
ColumnSize2["MEDIUM"] = "MEDIUM";
|
|
1346
|
+
ColumnSize2["LARGE"] = "LARGE";
|
|
1347
|
+
ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
|
|
1348
|
+
return ColumnSize2;
|
|
1349
|
+
})(ColumnSize || {});
|
|
1312
1350
|
var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
1313
1351
|
ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1314
1352
|
ModerationStatusStatus2["APPROVED"] = "APPROVED";
|
|
@@ -1515,8 +1553,8 @@ async function getPost2(postId, options) {
|
|
|
1515
1553
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1516
1554
|
}
|
|
1517
1555
|
]),
|
|
1518
|
-
["post.richContent"
|
|
1519
|
-
);
|
|
1556
|
+
["post.richContent"]
|
|
1557
|
+
)?.post;
|
|
1520
1558
|
} catch (err) {
|
|
1521
1559
|
const transformedError = sdkTransformError(
|
|
1522
1560
|
err,
|
|
@@ -1563,7 +1601,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1563
1601
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1564
1602
|
}
|
|
1565
1603
|
]),
|
|
1566
|
-
["post.richContent"
|
|
1604
|
+
["post.richContent"]
|
|
1567
1605
|
);
|
|
1568
1606
|
} catch (err) {
|
|
1569
1607
|
const transformedError = sdkTransformError(
|
|
@@ -1622,7 +1660,7 @@ async function listPosts2(options) {
|
|
|
1622
1660
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1623
1661
|
}
|
|
1624
1662
|
]),
|
|
1625
|
-
["posts.richContent"
|
|
1663
|
+
["posts.richContent"]
|
|
1626
1664
|
);
|
|
1627
1665
|
} catch (err) {
|
|
1628
1666
|
const transformedError = sdkTransformError(
|
|
@@ -1692,7 +1730,7 @@ function queryPosts2(options) {
|
|
|
1692
1730
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1693
1731
|
}
|
|
1694
1732
|
]),
|
|
1695
|
-
["posts.richContent"
|
|
1733
|
+
["posts.richContent"]
|
|
1696
1734
|
);
|
|
1697
1735
|
return {
|
|
1698
1736
|
items: transformedData?.posts,
|
|
@@ -1740,7 +1778,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1740
1778
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1741
1779
|
}
|
|
1742
1780
|
]),
|
|
1743
|
-
["posts.richContent"
|
|
1781
|
+
["posts.richContent"]
|
|
1744
1782
|
);
|
|
1745
1783
|
} catch (err) {
|
|
1746
1784
|
const transformedError = sdkTransformError(
|
|
@@ -1793,6 +1831,7 @@ export {
|
|
|
1793
1831
|
BannerOrigin,
|
|
1794
1832
|
ButtonDataType,
|
|
1795
1833
|
CardDataBackgroundType,
|
|
1834
|
+
ColumnSize,
|
|
1796
1835
|
Crop,
|
|
1797
1836
|
DecorationType,
|
|
1798
1837
|
DesignTarget,
|
|
@@ -1832,6 +1871,7 @@ export {
|
|
|
1832
1871
|
Resizing,
|
|
1833
1872
|
ResponsivenessBehaviour,
|
|
1834
1873
|
Scaling,
|
|
1874
|
+
SmartBlockDataType,
|
|
1835
1875
|
SortOrder,
|
|
1836
1876
|
Source,
|
|
1837
1877
|
Status,
|