@wix/auto_sdk_blog_posts 1.0.140 → 1.0.141
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 +73 -43
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +576 -533
- package/build/cjs/index.typings.js +59 -30
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +413 -358
- package/build/cjs/meta.js +53 -24
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +71 -43
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +576 -533
- package/build/es/index.typings.mjs +57 -30
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +413 -358
- package/build/es/meta.mjs +51 -24
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +73 -43
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +576 -533
- package/build/internal/cjs/index.typings.js +59 -30
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +413 -358
- package/build/internal/cjs/meta.js +53 -24
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +71 -43
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +576 -533
- package/build/internal/es/index.typings.mjs +57 -30
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +413 -358
- package/build/internal/es/meta.mjs +51 -24
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -325,6 +325,8 @@ interface Node extends NodeDataOneOf {
|
|
|
325
325
|
shapeData?: ShapeData;
|
|
326
326
|
/** Data for a card node. */
|
|
327
327
|
cardData?: CardData;
|
|
328
|
+
/** Data for a table of contents node. */
|
|
329
|
+
tocData?: TocData;
|
|
328
330
|
/** 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. */
|
|
329
331
|
type?: NodeTypeWithLiterals;
|
|
330
332
|
/** Node ID. */
|
|
@@ -396,6 +398,8 @@ interface NodeDataOneOf {
|
|
|
396
398
|
shapeData?: ShapeData;
|
|
397
399
|
/** Data for a card node. */
|
|
398
400
|
cardData?: CardData;
|
|
401
|
+
/** Data for a table of contents node. */
|
|
402
|
+
tocData?: TocData;
|
|
399
403
|
}
|
|
400
404
|
declare enum NodeType {
|
|
401
405
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -433,10 +437,11 @@ declare enum NodeType {
|
|
|
433
437
|
LAYOUT = "LAYOUT",
|
|
434
438
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
435
439
|
SHAPE = "SHAPE",
|
|
436
|
-
CARD = "CARD"
|
|
440
|
+
CARD = "CARD",
|
|
441
|
+
TOC = "TOC"
|
|
437
442
|
}
|
|
438
443
|
/** @enumType */
|
|
439
|
-
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';
|
|
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';
|
|
440
445
|
interface NodeStyle {
|
|
441
446
|
/** The top padding value in pixels. */
|
|
442
447
|
paddingTop?: string | null;
|
|
@@ -1065,6 +1070,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
1065
1070
|
* @deprecated
|
|
1066
1071
|
*/
|
|
1067
1072
|
isAdsense?: boolean | null;
|
|
1073
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1074
|
+
widgetId?: string;
|
|
1068
1075
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
1069
1076
|
containerData?: PluginContainerData;
|
|
1070
1077
|
/** The type of HTML code. */
|
|
@@ -1083,14 +1090,17 @@ interface HTMLDataDataOneOf {
|
|
|
1083
1090
|
* @deprecated
|
|
1084
1091
|
*/
|
|
1085
1092
|
isAdsense?: boolean | null;
|
|
1093
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1094
|
+
widgetId?: string;
|
|
1086
1095
|
}
|
|
1087
1096
|
declare enum Source {
|
|
1088
1097
|
HTML = "HTML",
|
|
1089
1098
|
ADSENSE = "ADSENSE",
|
|
1090
|
-
AI = "AI"
|
|
1099
|
+
AI = "AI",
|
|
1100
|
+
AI_WIDGET = "AI_WIDGET"
|
|
1091
1101
|
}
|
|
1092
1102
|
/** @enumType */
|
|
1093
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
1103
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
1094
1104
|
interface ImageData {
|
|
1095
1105
|
/** Styling for the image's container. */
|
|
1096
1106
|
containerData?: PluginContainerData;
|
|
@@ -2318,6 +2328,51 @@ interface BackgroundImage {
|
|
|
2318
2328
|
/** Position of background. Defaults to `CENTER`. */
|
|
2319
2329
|
position?: ImagePositionPositionWithLiterals;
|
|
2320
2330
|
}
|
|
2331
|
+
interface TocData {
|
|
2332
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2333
|
+
includedHeadings?: number[];
|
|
2334
|
+
/** List style. Default: PLAIN. */
|
|
2335
|
+
listStyle?: ListStyleWithLiterals;
|
|
2336
|
+
/** Optional override for the font size in pixels. */
|
|
2337
|
+
fontSize?: number | null;
|
|
2338
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2339
|
+
itemSpacing?: number | null;
|
|
2340
|
+
/**
|
|
2341
|
+
* Optional override for the text color.
|
|
2342
|
+
* @format COLOR_HEX
|
|
2343
|
+
*/
|
|
2344
|
+
color?: string | null;
|
|
2345
|
+
/** Indentation style. Default: NESTED. */
|
|
2346
|
+
indentation?: IndentationWithLiterals;
|
|
2347
|
+
}
|
|
2348
|
+
/** List style. */
|
|
2349
|
+
declare enum ListStyle {
|
|
2350
|
+
/** No markers (default) */
|
|
2351
|
+
PLAIN = "PLAIN",
|
|
2352
|
+
/** Numbered list */
|
|
2353
|
+
NUMBERED = "NUMBERED",
|
|
2354
|
+
/** Alphabetic letters */
|
|
2355
|
+
LETTERS = "LETTERS",
|
|
2356
|
+
/** Roman numerals */
|
|
2357
|
+
ROMAN = "ROMAN",
|
|
2358
|
+
/** Bulleted list */
|
|
2359
|
+
BULLETED = "BULLETED",
|
|
2360
|
+
/** Alphabetical index */
|
|
2361
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2362
|
+
/** Alphabetical index (compact top-row only) */
|
|
2363
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2364
|
+
}
|
|
2365
|
+
/** @enumType */
|
|
2366
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2367
|
+
/** Indentation style. */
|
|
2368
|
+
declare enum Indentation {
|
|
2369
|
+
/** Sub-headings indented under parents (default) */
|
|
2370
|
+
NESTED = "NESTED",
|
|
2371
|
+
/** All items at the same level */
|
|
2372
|
+
FLAT = "FLAT"
|
|
2373
|
+
}
|
|
2374
|
+
/** @enumType */
|
|
2375
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2321
2376
|
interface Metadata {
|
|
2322
2377
|
/** Schema version. */
|
|
2323
2378
|
version?: number;
|
|
@@ -2585,396 +2640,123 @@ interface PostUnlikedInitiatorOneOf {
|
|
|
2585
2640
|
*/
|
|
2586
2641
|
anonymousVisitorId?: string | null;
|
|
2587
2642
|
}
|
|
2588
|
-
|
|
2589
|
-
interface QueryPublicationsCountStatsRequest {
|
|
2590
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2591
|
-
rangeStart?: Date | null;
|
|
2592
|
-
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2593
|
-
rangeEnd?: Date | null;
|
|
2594
|
-
/** Order of the returned results. */
|
|
2595
|
-
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
2596
|
-
/** Number of months to include in the response. */
|
|
2597
|
-
months?: number;
|
|
2643
|
+
interface ListTemplatesRequest {
|
|
2598
2644
|
/**
|
|
2599
|
-
*
|
|
2600
|
-
*
|
|
2601
|
-
*
|
|
2602
|
-
* @format LANGUAGE_TAG
|
|
2645
|
+
* Filter post templates by given template category ids
|
|
2646
|
+
* @maxSize 50
|
|
2647
|
+
* @format GUID
|
|
2603
2648
|
*/
|
|
2604
|
-
|
|
2649
|
+
categoryIds?: string[];
|
|
2605
2650
|
/**
|
|
2606
|
-
*
|
|
2607
|
-
* @
|
|
2608
|
-
* @maxLength 100
|
|
2651
|
+
* Filter post templates by provided language
|
|
2652
|
+
* @format LANGUAGE_TAG
|
|
2609
2653
|
*/
|
|
2610
|
-
|
|
2654
|
+
language?: string | null;
|
|
2655
|
+
/** Returns post template categories when set to TRUE */
|
|
2656
|
+
listTemplateCategories?: boolean;
|
|
2657
|
+
/** Sort order by ascending/descending publish date. Default is ascending publish date sort */
|
|
2658
|
+
sort?: GetPostTemplatesSortWithLiterals;
|
|
2659
|
+
/** Pagination options. */
|
|
2660
|
+
paging?: BlogPaging;
|
|
2611
2661
|
}
|
|
2612
|
-
declare enum
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2662
|
+
declare enum GetPostTemplatesSort {
|
|
2663
|
+
/** Sort by ascending publishing date. */
|
|
2664
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
2665
|
+
/** Sort by descending publishing date. */
|
|
2666
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
2616
2667
|
}
|
|
2617
2668
|
/** @enumType */
|
|
2618
|
-
type
|
|
2619
|
-
|
|
2620
|
-
interface QueryPublicationsCountStatsResponse {
|
|
2621
|
-
/** Chronologically ordered list of publications. */
|
|
2622
|
-
stats?: PeriodPublicationsCount[];
|
|
2623
|
-
}
|
|
2624
|
-
/** Publications count for a specific time period */
|
|
2625
|
-
interface PeriodPublicationsCount {
|
|
2626
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2627
|
-
periodStart?: Date | null;
|
|
2628
|
-
/** Number of posts published during this month. */
|
|
2629
|
-
publicationsCount?: number;
|
|
2630
|
-
}
|
|
2631
|
-
/** Get Blog Post Count Stats request */
|
|
2632
|
-
interface QueryPostCountStatsRequest {
|
|
2633
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2634
|
-
rangeStart?: Date | null;
|
|
2669
|
+
type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
|
|
2670
|
+
interface BlogPaging {
|
|
2635
2671
|
/**
|
|
2636
|
-
*
|
|
2672
|
+
* Number of items to skip in the current sort order.
|
|
2637
2673
|
*
|
|
2638
|
-
* - `OLDEST`: posts by date in ascending order.
|
|
2639
|
-
* - `NEWEST`: posts by date in descending order.
|
|
2640
2674
|
*
|
|
2641
|
-
* Default: `
|
|
2675
|
+
* Default: `0`
|
|
2642
2676
|
*/
|
|
2643
|
-
|
|
2644
|
-
/** Number of months to include in response. */
|
|
2645
|
-
months?: number;
|
|
2677
|
+
offset?: number;
|
|
2646
2678
|
/**
|
|
2647
|
-
*
|
|
2679
|
+
* Number of items to return.
|
|
2648
2680
|
*
|
|
2649
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2650
|
-
* Pass a language to only receive the period post count for that specified language.
|
|
2651
|
-
* @format LANGUAGE_TAG
|
|
2652
|
-
*/
|
|
2653
|
-
language?: string | null;
|
|
2654
|
-
/**
|
|
2655
|
-
* Time zone to use when calculating the start of the month.
|
|
2656
2681
|
*
|
|
2657
|
-
*
|
|
2658
|
-
* @
|
|
2659
|
-
* @
|
|
2682
|
+
* Default:`50`
|
|
2683
|
+
* @min 1
|
|
2684
|
+
* @max 100
|
|
2660
2685
|
*/
|
|
2661
|
-
|
|
2662
|
-
}
|
|
2663
|
-
declare enum Order {
|
|
2664
|
-
UNKNOWN = "UNKNOWN",
|
|
2665
|
-
OLDEST = "OLDEST",
|
|
2666
|
-
NEWEST = "NEWEST"
|
|
2667
|
-
}
|
|
2668
|
-
/** @enumType */
|
|
2669
|
-
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2670
|
-
/** Get Blog Post Count Stats response */
|
|
2671
|
-
interface QueryPostCountStatsResponse {
|
|
2672
|
-
/** List of published post counts by month. */
|
|
2673
|
-
stats?: PeriodPostCount[];
|
|
2674
|
-
}
|
|
2675
|
-
/** Post count for a specific time period */
|
|
2676
|
-
interface PeriodPostCount {
|
|
2677
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2678
|
-
periodStart?: Date | null;
|
|
2679
|
-
/** Number of posts published during this month. */
|
|
2680
|
-
postCount?: number;
|
|
2681
|
-
}
|
|
2682
|
-
interface GetTotalPublicationsRequest {
|
|
2686
|
+
limit?: number;
|
|
2683
2687
|
/**
|
|
2684
|
-
*
|
|
2685
|
-
* @
|
|
2686
|
-
* @format LANGUAGE_TAG
|
|
2688
|
+
* Pointer to the next or previous page in the list of results.
|
|
2689
|
+
* @maxLength 2000
|
|
2687
2690
|
*/
|
|
2688
|
-
|
|
2691
|
+
cursor?: string | null;
|
|
2689
2692
|
}
|
|
2690
|
-
interface
|
|
2691
|
-
/**
|
|
2692
|
-
|
|
2693
|
+
interface ListTemplatesResponse {
|
|
2694
|
+
/** Available post templates */
|
|
2695
|
+
postTemplates?: Post[];
|
|
2696
|
+
/** Details on the paged set of posts templates returned. */
|
|
2697
|
+
postTemplatesMetaData?: MetaData;
|
|
2698
|
+
/** Post template categories. This value is returned empty unless asked explicitly */
|
|
2699
|
+
templateCategories?: Category[];
|
|
2693
2700
|
}
|
|
2694
|
-
interface
|
|
2701
|
+
interface MetaData {
|
|
2702
|
+
/** Number of items returned in this response. */
|
|
2703
|
+
count?: number;
|
|
2704
|
+
/** Requested offset. */
|
|
2705
|
+
offset?: number;
|
|
2706
|
+
/** Total number of items that match the query. */
|
|
2707
|
+
total?: number;
|
|
2695
2708
|
/**
|
|
2696
|
-
*
|
|
2697
|
-
*
|
|
2698
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2699
|
-
* Pass a language to receive the total amount of posts in that specified language.
|
|
2700
|
-
* @format LANGUAGE_TAG
|
|
2709
|
+
* Pointer to the next or previous page in the list of results.
|
|
2710
|
+
* @maxLength 2000
|
|
2701
2711
|
*/
|
|
2702
|
-
|
|
2703
|
-
}
|
|
2704
|
-
interface GetTotalPostsResponse {
|
|
2705
|
-
/** Total amount of published posts. */
|
|
2706
|
-
total?: number;
|
|
2712
|
+
cursor?: string | null;
|
|
2707
2713
|
}
|
|
2708
|
-
interface
|
|
2709
|
-
createdEvent?: EntityCreatedEvent;
|
|
2710
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
2711
|
-
deletedEvent?: EntityDeletedEvent;
|
|
2712
|
-
actionEvent?: ActionEvent;
|
|
2713
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
2714
|
-
_id?: string;
|
|
2714
|
+
interface Category {
|
|
2715
2715
|
/**
|
|
2716
|
-
*
|
|
2717
|
-
*
|
|
2716
|
+
* Category ID.
|
|
2717
|
+
* @immutable
|
|
2718
|
+
* @maxLength 38
|
|
2718
2719
|
*/
|
|
2719
|
-
|
|
2720
|
+
_id?: string;
|
|
2720
2721
|
/**
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2722
|
+
* Category label. Displayed in the Category Menu.
|
|
2723
|
+
* @maxLength 35
|
|
2723
2724
|
*/
|
|
2724
|
-
|
|
2725
|
-
/** ID of the entity associated with the event. */
|
|
2726
|
-
entityId?: string;
|
|
2727
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
2728
|
-
eventTime?: Date | null;
|
|
2725
|
+
label?: string;
|
|
2729
2726
|
/**
|
|
2730
|
-
*
|
|
2731
|
-
*
|
|
2727
|
+
* Number of posts in the category.
|
|
2728
|
+
* @readonly
|
|
2732
2729
|
*/
|
|
2733
|
-
|
|
2734
|
-
/** If present, indicates the action that triggered the event. */
|
|
2735
|
-
originatedFrom?: string | null;
|
|
2730
|
+
postCount?: number;
|
|
2736
2731
|
/**
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2732
|
+
* The `url` of the page that lists every post with the specified category.
|
|
2733
|
+
* @readonly
|
|
2739
2734
|
*/
|
|
2740
|
-
|
|
2741
|
-
}
|
|
2742
|
-
/** @oneof */
|
|
2743
|
-
interface DomainEventBodyOneOf {
|
|
2744
|
-
createdEvent?: EntityCreatedEvent;
|
|
2745
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
2746
|
-
deletedEvent?: EntityDeletedEvent;
|
|
2747
|
-
actionEvent?: ActionEvent;
|
|
2748
|
-
}
|
|
2749
|
-
interface EntityCreatedEvent {
|
|
2750
|
-
entity?: string;
|
|
2751
|
-
}
|
|
2752
|
-
interface RestoreInfo {
|
|
2753
|
-
deletedDate?: Date | null;
|
|
2754
|
-
}
|
|
2755
|
-
interface EntityUpdatedEvent {
|
|
2735
|
+
url?: string;
|
|
2756
2736
|
/**
|
|
2757
|
-
*
|
|
2758
|
-
*
|
|
2759
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2737
|
+
* Category description.
|
|
2738
|
+
* @maxLength 500
|
|
2760
2739
|
*/
|
|
2761
|
-
|
|
2762
|
-
}
|
|
2763
|
-
interface EntityDeletedEvent {
|
|
2764
|
-
/** Entity that was deleted. */
|
|
2765
|
-
deletedEntity?: string | null;
|
|
2766
|
-
}
|
|
2767
|
-
interface ActionEvent {
|
|
2768
|
-
body?: string;
|
|
2769
|
-
}
|
|
2770
|
-
interface MessageEnvelope {
|
|
2740
|
+
description?: string | null;
|
|
2771
2741
|
/**
|
|
2772
|
-
*
|
|
2773
|
-
* @
|
|
2742
|
+
* Category title.
|
|
2743
|
+
* @maxLength 200
|
|
2744
|
+
* @deprecated Category title.
|
|
2745
|
+
* @targetRemovalDate 2025-07-16
|
|
2774
2746
|
*/
|
|
2775
|
-
|
|
2747
|
+
title?: string;
|
|
2776
2748
|
/**
|
|
2777
|
-
*
|
|
2778
|
-
*
|
|
2749
|
+
* Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
|
|
2750
|
+
* Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
|
|
2751
|
+
*
|
|
2752
|
+
* Default: `-1`
|
|
2779
2753
|
*/
|
|
2780
|
-
|
|
2781
|
-
/** The identification type and identity data. */
|
|
2782
|
-
identity?: IdentificationData;
|
|
2783
|
-
/** Stringify payload. */
|
|
2784
|
-
data?: string;
|
|
2785
|
-
/** Details related to the account */
|
|
2786
|
-
accountInfo?: AccountInfo;
|
|
2787
|
-
}
|
|
2788
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2754
|
+
displayPosition?: number | null;
|
|
2789
2755
|
/**
|
|
2790
|
-
* ID of
|
|
2756
|
+
* ID of the category's translations. All translations of a single category share the same `translationId`.
|
|
2791
2757
|
* @format GUID
|
|
2792
2758
|
*/
|
|
2793
|
-
|
|
2794
|
-
/**
|
|
2795
|
-
* ID of a site visitor that has logged in to the site.
|
|
2796
|
-
* @format GUID
|
|
2797
|
-
*/
|
|
2798
|
-
memberId?: string;
|
|
2799
|
-
/**
|
|
2800
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
2801
|
-
* @format GUID
|
|
2802
|
-
*/
|
|
2803
|
-
wixUserId?: string;
|
|
2804
|
-
/**
|
|
2805
|
-
* ID of an app.
|
|
2806
|
-
* @format GUID
|
|
2807
|
-
*/
|
|
2808
|
-
appId?: string;
|
|
2809
|
-
/** @readonly */
|
|
2810
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
2811
|
-
}
|
|
2812
|
-
/** @oneof */
|
|
2813
|
-
interface IdentificationDataIdOneOf {
|
|
2814
|
-
/**
|
|
2815
|
-
* ID of a site visitor that has not logged in to the site.
|
|
2816
|
-
* @format GUID
|
|
2817
|
-
*/
|
|
2818
|
-
anonymousVisitorId?: string;
|
|
2819
|
-
/**
|
|
2820
|
-
* ID of a site visitor that has logged in to the site.
|
|
2821
|
-
* @format GUID
|
|
2822
|
-
*/
|
|
2823
|
-
memberId?: string;
|
|
2824
|
-
/**
|
|
2825
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
2826
|
-
* @format GUID
|
|
2827
|
-
*/
|
|
2828
|
-
wixUserId?: string;
|
|
2829
|
-
/**
|
|
2830
|
-
* ID of an app.
|
|
2831
|
-
* @format GUID
|
|
2832
|
-
*/
|
|
2833
|
-
appId?: string;
|
|
2834
|
-
}
|
|
2835
|
-
declare enum WebhookIdentityType {
|
|
2836
|
-
UNKNOWN = "UNKNOWN",
|
|
2837
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2838
|
-
MEMBER = "MEMBER",
|
|
2839
|
-
WIX_USER = "WIX_USER",
|
|
2840
|
-
APP = "APP"
|
|
2841
|
-
}
|
|
2842
|
-
/** @enumType */
|
|
2843
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2844
|
-
interface AccountInfo {
|
|
2845
|
-
/**
|
|
2846
|
-
* ID of the Wix account associated with the event.
|
|
2847
|
-
* @format GUID
|
|
2848
|
-
*/
|
|
2849
|
-
accountId?: string | null;
|
|
2850
|
-
/**
|
|
2851
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
2852
|
-
* @format GUID
|
|
2853
|
-
*/
|
|
2854
|
-
parentAccountId?: string | null;
|
|
2855
|
-
/**
|
|
2856
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
2857
|
-
* @format GUID
|
|
2858
|
-
*/
|
|
2859
|
-
siteId?: string | null;
|
|
2860
|
-
}
|
|
2861
|
-
interface ListTemplatesRequest {
|
|
2862
|
-
/**
|
|
2863
|
-
* Filter post templates by given template category ids
|
|
2864
|
-
* @maxSize 50
|
|
2865
|
-
* @format GUID
|
|
2866
|
-
*/
|
|
2867
|
-
categoryIds?: string[];
|
|
2868
|
-
/**
|
|
2869
|
-
* Filter post templates by provided language
|
|
2870
|
-
* @format LANGUAGE_TAG
|
|
2871
|
-
*/
|
|
2872
|
-
language?: string | null;
|
|
2873
|
-
/** Returns post template categories when set to TRUE */
|
|
2874
|
-
listTemplateCategories?: boolean;
|
|
2875
|
-
/** Sort order by ascending/descending publish date. Default is ascending publish date sort */
|
|
2876
|
-
sort?: GetPostTemplatesSortWithLiterals;
|
|
2877
|
-
/** Pagination options. */
|
|
2878
|
-
paging?: BlogPaging;
|
|
2879
|
-
}
|
|
2880
|
-
declare enum GetPostTemplatesSort {
|
|
2881
|
-
/** Sort by ascending publishing date. */
|
|
2882
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
2883
|
-
/** Sort by descending publishing date. */
|
|
2884
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
2885
|
-
}
|
|
2886
|
-
/** @enumType */
|
|
2887
|
-
type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
|
|
2888
|
-
interface BlogPaging {
|
|
2889
|
-
/**
|
|
2890
|
-
* Number of items to skip in the current sort order.
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
2893
|
-
* Default: `0`
|
|
2894
|
-
*/
|
|
2895
|
-
offset?: number;
|
|
2896
|
-
/**
|
|
2897
|
-
* Number of items to return.
|
|
2898
|
-
*
|
|
2899
|
-
*
|
|
2900
|
-
* Default:`50`
|
|
2901
|
-
* @min 1
|
|
2902
|
-
* @max 100
|
|
2903
|
-
*/
|
|
2904
|
-
limit?: number;
|
|
2905
|
-
/**
|
|
2906
|
-
* Pointer to the next or previous page in the list of results.
|
|
2907
|
-
* @maxLength 2000
|
|
2908
|
-
*/
|
|
2909
|
-
cursor?: string | null;
|
|
2910
|
-
}
|
|
2911
|
-
interface ListTemplatesResponse {
|
|
2912
|
-
/** Available post templates */
|
|
2913
|
-
postTemplates?: Post[];
|
|
2914
|
-
/** Details on the paged set of posts templates returned. */
|
|
2915
|
-
postTemplatesMetaData?: MetaData;
|
|
2916
|
-
/** Post template categories. This value is returned empty unless asked explicitly */
|
|
2917
|
-
templateCategories?: Category[];
|
|
2918
|
-
}
|
|
2919
|
-
interface MetaData {
|
|
2920
|
-
/** Number of items returned in this response. */
|
|
2921
|
-
count?: number;
|
|
2922
|
-
/** Requested offset. */
|
|
2923
|
-
offset?: number;
|
|
2924
|
-
/** Total number of items that match the query. */
|
|
2925
|
-
total?: number;
|
|
2926
|
-
/**
|
|
2927
|
-
* Pointer to the next or previous page in the list of results.
|
|
2928
|
-
* @maxLength 2000
|
|
2929
|
-
*/
|
|
2930
|
-
cursor?: string | null;
|
|
2931
|
-
}
|
|
2932
|
-
interface Category {
|
|
2933
|
-
/**
|
|
2934
|
-
* Category ID.
|
|
2935
|
-
* @immutable
|
|
2936
|
-
* @maxLength 38
|
|
2937
|
-
*/
|
|
2938
|
-
_id?: string;
|
|
2939
|
-
/**
|
|
2940
|
-
* Category label. Displayed in the Category Menu.
|
|
2941
|
-
* @maxLength 35
|
|
2942
|
-
*/
|
|
2943
|
-
label?: string;
|
|
2944
|
-
/**
|
|
2945
|
-
* Number of posts in the category.
|
|
2946
|
-
* @readonly
|
|
2947
|
-
*/
|
|
2948
|
-
postCount?: number;
|
|
2949
|
-
/**
|
|
2950
|
-
* The `url` of the page that lists every post with the specified category.
|
|
2951
|
-
* @readonly
|
|
2952
|
-
*/
|
|
2953
|
-
url?: string;
|
|
2954
|
-
/**
|
|
2955
|
-
* Category description.
|
|
2956
|
-
* @maxLength 500
|
|
2957
|
-
*/
|
|
2958
|
-
description?: string | null;
|
|
2959
|
-
/**
|
|
2960
|
-
* Category title.
|
|
2961
|
-
* @maxLength 200
|
|
2962
|
-
* @deprecated Category title.
|
|
2963
|
-
* @targetRemovalDate 2025-07-16
|
|
2964
|
-
*/
|
|
2965
|
-
title?: string;
|
|
2966
|
-
/**
|
|
2967
|
-
* Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
|
|
2968
|
-
* Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
|
|
2969
|
-
*
|
|
2970
|
-
* Default: `-1`
|
|
2971
|
-
*/
|
|
2972
|
-
displayPosition?: number | null;
|
|
2973
|
-
/**
|
|
2974
|
-
* ID of the category's translations. All translations of a single category share the same `translationId`.
|
|
2975
|
-
* @format GUID
|
|
2976
|
-
*/
|
|
2977
|
-
translationId?: string | null;
|
|
2759
|
+
translationId?: string | null;
|
|
2978
2760
|
/**
|
|
2979
2761
|
* Category language.
|
|
2980
2762
|
*
|
|
@@ -3111,180 +2893,453 @@ interface DraftPost {
|
|
|
3111
2893
|
* Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.
|
|
3112
2894
|
* @format GUID
|
|
3113
2895
|
*/
|
|
3114
|
-
translationId?: string | null;
|
|
2896
|
+
translationId?: string | null;
|
|
2897
|
+
/**
|
|
2898
|
+
* Language the draft post is written in.
|
|
2899
|
+
*
|
|
2900
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2901
|
+
* @format LANGUAGE_TAG
|
|
2902
|
+
*/
|
|
2903
|
+
language?: string | null;
|
|
2904
|
+
/**
|
|
2905
|
+
* Draft Post rich content.
|
|
2906
|
+
*
|
|
2907
|
+
* <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll" exampleid="72c23a25-524f-4f70-a260-4a2777b6f5d5">
|
|
2908
|
+
* <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
|
|
2909
|
+
* </widget>
|
|
2910
|
+
*/
|
|
2911
|
+
richContent?: RichContent;
|
|
2912
|
+
/**
|
|
2913
|
+
* Status of the draft post.
|
|
2914
|
+
* @readonly
|
|
2915
|
+
*/
|
|
2916
|
+
status?: StatusWithLiterals;
|
|
2917
|
+
/** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
|
|
2918
|
+
moderationDetails?: ModerationDetails;
|
|
2919
|
+
/**
|
|
2920
|
+
* Indicates if there are changes made to the draft post that have not yet been published.
|
|
2921
|
+
* @readonly
|
|
2922
|
+
*/
|
|
2923
|
+
hasUnpublishedChanges?: boolean;
|
|
2924
|
+
/**
|
|
2925
|
+
* Date the draft post was last edited.
|
|
2926
|
+
* @readonly
|
|
2927
|
+
*/
|
|
2928
|
+
editedDate?: Date | null;
|
|
2929
|
+
/**
|
|
2930
|
+
* Date the draft post is scheduled to be published.
|
|
2931
|
+
* @readonly
|
|
2932
|
+
*/
|
|
2933
|
+
scheduledPublishDate?: Date | null;
|
|
2934
|
+
/** Date the post was first published. */
|
|
2935
|
+
firstPublishedDate?: Date | null;
|
|
2936
|
+
/** SEO data. */
|
|
2937
|
+
seoData?: SeoSchema;
|
|
2938
|
+
/**
|
|
2939
|
+
* Draft post URL preview. What the URL will look like once the post is published.
|
|
2940
|
+
* @readonly
|
|
2941
|
+
*/
|
|
2942
|
+
url?: string;
|
|
2943
|
+
/**
|
|
2944
|
+
* Date the draft post was first created.
|
|
2945
|
+
* @readonly
|
|
2946
|
+
*/
|
|
2947
|
+
_createdDate?: Date | null;
|
|
2948
|
+
/**
|
|
2949
|
+
* SEO slug.
|
|
2950
|
+
* @maxLength 100
|
|
2951
|
+
*/
|
|
2952
|
+
seoSlug?: string | null;
|
|
2953
|
+
/** Post cover media. */
|
|
2954
|
+
media?: Media;
|
|
2955
|
+
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
2956
|
+
previewTextParagraph?: number | null;
|
|
2957
|
+
}
|
|
2958
|
+
declare enum Origin {
|
|
2959
|
+
UNKNOWN = "UNKNOWN",
|
|
2960
|
+
/** Changed by admin */
|
|
2961
|
+
ADMIN = "ADMIN",
|
|
2962
|
+
/** Categories were changed */
|
|
2963
|
+
ADD_CATEGORIES = "ADD_CATEGORIES",
|
|
2964
|
+
/** Saved automatically */
|
|
2965
|
+
AUTO_SAVE = "AUTO_SAVE",
|
|
2966
|
+
/** Copied from template */
|
|
2967
|
+
COPY_TEMPLATE = "COPY_TEMPLATE",
|
|
2968
|
+
/** Imported */
|
|
2969
|
+
IMPORT = "IMPORT",
|
|
2970
|
+
/** Imported in bulk */
|
|
2971
|
+
IMPORT_BULK = "IMPORT_BULK",
|
|
2972
|
+
/** Imported with html import */
|
|
2973
|
+
IMPORT_HTML = "IMPORT_HTML",
|
|
2974
|
+
/** Patch import */
|
|
2975
|
+
IMPORT_PATCH = "IMPORT_PATCH",
|
|
2976
|
+
/** Changed language */
|
|
2977
|
+
LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
|
|
2978
|
+
/** Saved manually */
|
|
2979
|
+
MANUAL_SAVE = "MANUAL_SAVE",
|
|
2980
|
+
/** Affected by migration */
|
|
2981
|
+
MIGRATION = "MIGRATION",
|
|
2982
|
+
/** Affected by moderation */
|
|
2983
|
+
MODERATION = "MODERATION",
|
|
2984
|
+
/** Moved to trash */
|
|
2985
|
+
MOVE_TO_TRASH = "MOVE_TO_TRASH",
|
|
2986
|
+
/** Pricing plans were changed */
|
|
2987
|
+
PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
|
|
2988
|
+
/** Was provisioned */
|
|
2989
|
+
PROVISION = "PROVISION",
|
|
2990
|
+
/** Was published */
|
|
2991
|
+
PUBLISH = "PUBLISH",
|
|
2992
|
+
/** Owner was reassigned */
|
|
2993
|
+
REASSIGN_OWNER = "REASSIGN_OWNER",
|
|
2994
|
+
/** Was reblogged */
|
|
2995
|
+
REBLOG = "REBLOG",
|
|
2996
|
+
/** Was restored */
|
|
2997
|
+
RESTORE = "RESTORE",
|
|
2998
|
+
/** Reverted to draft */
|
|
2999
|
+
REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
|
|
3000
|
+
/** Was translated */
|
|
3001
|
+
TRANSLATION = "TRANSLATION",
|
|
3002
|
+
/** Was unpublished */
|
|
3003
|
+
UNPUBLISH = "UNPUBLISH",
|
|
3004
|
+
/** Was unscheduled */
|
|
3005
|
+
UNSCHEDULE = "UNSCHEDULE",
|
|
3006
|
+
/** New edit session started which updated editing_session_id id */
|
|
3007
|
+
NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
|
|
3008
|
+
/** Was scheduled by Later */
|
|
3009
|
+
SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
|
|
3010
|
+
/** Was unscheduled by Later */
|
|
3011
|
+
SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
|
|
3012
|
+
/** Was published by Later */
|
|
3013
|
+
SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
|
|
3014
|
+
/** Was scheduled */
|
|
3015
|
+
SCHEDULE = "SCHEDULE",
|
|
3016
|
+
/** Was removed from moderation */
|
|
3017
|
+
REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
|
|
3018
|
+
/** Was rejected from moderation */
|
|
3019
|
+
REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
|
|
3020
|
+
/** Was approved in moderation */
|
|
3021
|
+
APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
|
|
3022
|
+
/** Tag was deleted */
|
|
3023
|
+
DELETE_TAG = "DELETE_TAG",
|
|
3024
|
+
/** Post was pinned */
|
|
3025
|
+
PIN = "PIN",
|
|
3026
|
+
/** Post was unpinned */
|
|
3027
|
+
UNPIN = "UNPIN",
|
|
3028
|
+
/** Saved automatically by AI tool. */
|
|
3029
|
+
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
3030
|
+
}
|
|
3031
|
+
/** @enumType */
|
|
3032
|
+
type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
|
|
3033
|
+
declare enum Status {
|
|
3034
|
+
UNKNOWN = "UNKNOWN",
|
|
3035
|
+
/** Status indicating the draft post is published. */
|
|
3036
|
+
PUBLISHED = "PUBLISHED",
|
|
3037
|
+
/** Status indicating the draft post is unpublished. */
|
|
3038
|
+
UNPUBLISHED = "UNPUBLISHED",
|
|
3039
|
+
/** Status indicating the draft post is scheduled for publication. */
|
|
3040
|
+
SCHEDULED = "SCHEDULED",
|
|
3041
|
+
/** Status indicating the draft post is deleted. */
|
|
3042
|
+
DELETED = "DELETED",
|
|
3043
|
+
/** Status indicating the draft post is in review. */
|
|
3044
|
+
IN_REVIEW = "IN_REVIEW"
|
|
3045
|
+
}
|
|
3046
|
+
/** @enumType */
|
|
3047
|
+
type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
|
|
3048
|
+
interface DraftPostTranslation {
|
|
3049
|
+
/**
|
|
3050
|
+
* Post ID.
|
|
3051
|
+
* @format GUID
|
|
3052
|
+
*/
|
|
3053
|
+
_id?: string;
|
|
3054
|
+
/** Post status. */
|
|
3055
|
+
status?: StatusWithLiterals;
|
|
3056
|
+
/**
|
|
3057
|
+
* Language the post is written in.
|
|
3058
|
+
* @format LANGUAGE_TAG
|
|
3059
|
+
*/
|
|
3060
|
+
language?: string | null;
|
|
3061
|
+
/**
|
|
3062
|
+
* Post slug. For example, 'post-slug'.
|
|
3063
|
+
* @maxLength 100
|
|
3064
|
+
*/
|
|
3065
|
+
slug?: string | null;
|
|
3066
|
+
/** SEO data. */
|
|
3067
|
+
seoData?: SeoSchema;
|
|
3068
|
+
/** Post URL. */
|
|
3069
|
+
url?: string;
|
|
3070
|
+
}
|
|
3071
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
3072
|
+
createdEvent?: EntityCreatedEvent;
|
|
3073
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3074
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3075
|
+
actionEvent?: ActionEvent;
|
|
3076
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
3077
|
+
_id?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
3080
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
3081
|
+
*/
|
|
3082
|
+
entityFqdn?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
3085
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
3086
|
+
*/
|
|
3087
|
+
slug?: string;
|
|
3088
|
+
/** ID of the entity associated with the event. */
|
|
3089
|
+
entityId?: string;
|
|
3090
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
3091
|
+
eventTime?: Date | null;
|
|
3092
|
+
/**
|
|
3093
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
3094
|
+
* (for example, GDPR).
|
|
3095
|
+
*/
|
|
3096
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
3097
|
+
/** If present, indicates the action that triggered the event. */
|
|
3098
|
+
originatedFrom?: string | null;
|
|
3099
|
+
/**
|
|
3100
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
3101
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
3102
|
+
*/
|
|
3103
|
+
entityEventSequence?: string | null;
|
|
3104
|
+
}
|
|
3105
|
+
/** @oneof */
|
|
3106
|
+
interface DomainEventBodyOneOf {
|
|
3107
|
+
createdEvent?: EntityCreatedEvent;
|
|
3108
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3109
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3110
|
+
actionEvent?: ActionEvent;
|
|
3111
|
+
}
|
|
3112
|
+
interface EntityCreatedEvent {
|
|
3113
|
+
entity?: string;
|
|
3114
|
+
}
|
|
3115
|
+
interface RestoreInfo {
|
|
3116
|
+
deletedDate?: Date | null;
|
|
3117
|
+
}
|
|
3118
|
+
interface EntityUpdatedEvent {
|
|
3119
|
+
/**
|
|
3120
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
3121
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
3122
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
3123
|
+
*/
|
|
3124
|
+
currentEntity?: string;
|
|
3125
|
+
}
|
|
3126
|
+
interface EntityDeletedEvent {
|
|
3127
|
+
/** Entity that was deleted. */
|
|
3128
|
+
deletedEntity?: string | null;
|
|
3129
|
+
}
|
|
3130
|
+
interface ActionEvent {
|
|
3131
|
+
body?: string;
|
|
3132
|
+
}
|
|
3133
|
+
interface MessageEnvelope {
|
|
3134
|
+
/**
|
|
3135
|
+
* App instance ID.
|
|
3136
|
+
* @format GUID
|
|
3137
|
+
*/
|
|
3138
|
+
instanceId?: string | null;
|
|
3139
|
+
/**
|
|
3140
|
+
* Event type.
|
|
3141
|
+
* @maxLength 150
|
|
3142
|
+
*/
|
|
3143
|
+
eventType?: string;
|
|
3144
|
+
/** The identification type and identity data. */
|
|
3145
|
+
identity?: IdentificationData;
|
|
3146
|
+
/** Stringify payload. */
|
|
3147
|
+
data?: string;
|
|
3148
|
+
/** Details related to the account */
|
|
3149
|
+
accountInfo?: AccountInfo;
|
|
3150
|
+
}
|
|
3151
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3152
|
+
/**
|
|
3153
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3154
|
+
* @format GUID
|
|
3155
|
+
*/
|
|
3156
|
+
anonymousVisitorId?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* ID of a site visitor that has logged in to the site.
|
|
3159
|
+
* @format GUID
|
|
3160
|
+
*/
|
|
3161
|
+
memberId?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3164
|
+
* @format GUID
|
|
3165
|
+
*/
|
|
3166
|
+
wixUserId?: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* ID of an app.
|
|
3169
|
+
* @format GUID
|
|
3170
|
+
*/
|
|
3171
|
+
appId?: string;
|
|
3172
|
+
/** @readonly */
|
|
3173
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3174
|
+
}
|
|
3175
|
+
/** @oneof */
|
|
3176
|
+
interface IdentificationDataIdOneOf {
|
|
3177
|
+
/**
|
|
3178
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3179
|
+
* @format GUID
|
|
3180
|
+
*/
|
|
3181
|
+
anonymousVisitorId?: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* ID of a site visitor that has logged in to the site.
|
|
3184
|
+
* @format GUID
|
|
3185
|
+
*/
|
|
3186
|
+
memberId?: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3189
|
+
* @format GUID
|
|
3190
|
+
*/
|
|
3191
|
+
wixUserId?: string;
|
|
3192
|
+
/**
|
|
3193
|
+
* ID of an app.
|
|
3194
|
+
* @format GUID
|
|
3195
|
+
*/
|
|
3196
|
+
appId?: string;
|
|
3197
|
+
}
|
|
3198
|
+
declare enum WebhookIdentityType {
|
|
3199
|
+
UNKNOWN = "UNKNOWN",
|
|
3200
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3201
|
+
MEMBER = "MEMBER",
|
|
3202
|
+
WIX_USER = "WIX_USER",
|
|
3203
|
+
APP = "APP"
|
|
3204
|
+
}
|
|
3205
|
+
/** @enumType */
|
|
3206
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3207
|
+
interface AccountInfo {
|
|
3208
|
+
/**
|
|
3209
|
+
* ID of the Wix account associated with the event.
|
|
3210
|
+
* @format GUID
|
|
3211
|
+
*/
|
|
3212
|
+
accountId?: string | null;
|
|
3213
|
+
/**
|
|
3214
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
3215
|
+
* @format GUID
|
|
3216
|
+
*/
|
|
3217
|
+
parentAccountId?: string | null;
|
|
3218
|
+
/**
|
|
3219
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
3220
|
+
* @format GUID
|
|
3221
|
+
*/
|
|
3222
|
+
siteId?: string | null;
|
|
3223
|
+
}
|
|
3224
|
+
/** Get Blog Publications Count Stats request */
|
|
3225
|
+
interface QueryPublicationsCountStatsRequest {
|
|
3226
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3227
|
+
rangeStart?: Date | null;
|
|
3228
|
+
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3229
|
+
rangeEnd?: Date | null;
|
|
3230
|
+
/** Order of the returned results. */
|
|
3231
|
+
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
3232
|
+
/** Number of months to include in the response. */
|
|
3233
|
+
months?: number;
|
|
3115
3234
|
/**
|
|
3116
|
-
* Language
|
|
3235
|
+
* Language filter
|
|
3117
3236
|
*
|
|
3118
3237
|
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3119
3238
|
* @format LANGUAGE_TAG
|
|
3120
3239
|
*/
|
|
3121
3240
|
language?: string | null;
|
|
3122
3241
|
/**
|
|
3123
|
-
*
|
|
3124
|
-
*
|
|
3125
|
-
*
|
|
3126
|
-
* <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
|
|
3127
|
-
* </widget>
|
|
3128
|
-
*/
|
|
3129
|
-
richContent?: RichContent;
|
|
3130
|
-
/**
|
|
3131
|
-
* Status of the draft post.
|
|
3132
|
-
* @readonly
|
|
3133
|
-
*/
|
|
3134
|
-
status?: StatusWithLiterals;
|
|
3135
|
-
/** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
|
|
3136
|
-
moderationDetails?: ModerationDetails;
|
|
3137
|
-
/**
|
|
3138
|
-
* Indicates if there are changes made to the draft post that have not yet been published.
|
|
3139
|
-
* @readonly
|
|
3140
|
-
*/
|
|
3141
|
-
hasUnpublishedChanges?: boolean;
|
|
3142
|
-
/**
|
|
3143
|
-
* Date the draft post was last edited.
|
|
3144
|
-
* @readonly
|
|
3145
|
-
*/
|
|
3146
|
-
editedDate?: Date | null;
|
|
3147
|
-
/**
|
|
3148
|
-
* Date the draft post is scheduled to be published.
|
|
3149
|
-
* @readonly
|
|
3242
|
+
* Timezone of the client.
|
|
3243
|
+
* @minLength 3
|
|
3244
|
+
* @maxLength 100
|
|
3150
3245
|
*/
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3246
|
+
timeZone?: string | null;
|
|
3247
|
+
}
|
|
3248
|
+
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
3249
|
+
UNKNOWN = "UNKNOWN",
|
|
3250
|
+
OLDEST = "OLDEST",
|
|
3251
|
+
NEWEST = "NEWEST"
|
|
3252
|
+
}
|
|
3253
|
+
/** @enumType */
|
|
3254
|
+
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3255
|
+
/** Get Blog Publications Count Stats response */
|
|
3256
|
+
interface QueryPublicationsCountStatsResponse {
|
|
3257
|
+
/** Chronologically ordered list of publications. */
|
|
3258
|
+
stats?: PeriodPublicationsCount[];
|
|
3259
|
+
}
|
|
3260
|
+
/** Publications count for a specific time period */
|
|
3261
|
+
interface PeriodPublicationsCount {
|
|
3262
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3263
|
+
periodStart?: Date | null;
|
|
3264
|
+
/** Number of posts published during this month. */
|
|
3265
|
+
publicationsCount?: number;
|
|
3266
|
+
}
|
|
3267
|
+
/** Get Blog Post Count Stats request */
|
|
3268
|
+
interface QueryPostCountStatsRequest {
|
|
3269
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3270
|
+
rangeStart?: Date | null;
|
|
3156
3271
|
/**
|
|
3157
|
-
*
|
|
3158
|
-
*
|
|
3272
|
+
* Order of returned results.
|
|
3273
|
+
*
|
|
3274
|
+
* - `OLDEST`: posts by date in ascending order.
|
|
3275
|
+
* - `NEWEST`: posts by date in descending order.
|
|
3276
|
+
*
|
|
3277
|
+
* Default: `OLDEST`
|
|
3159
3278
|
*/
|
|
3160
|
-
|
|
3279
|
+
order?: OrderWithLiterals;
|
|
3280
|
+
/** Number of months to include in response. */
|
|
3281
|
+
months?: number;
|
|
3161
3282
|
/**
|
|
3162
|
-
*
|
|
3163
|
-
*
|
|
3283
|
+
* Language filter.
|
|
3284
|
+
*
|
|
3285
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3286
|
+
* Pass a language to only receive the period post count for that specified language.
|
|
3287
|
+
* @format LANGUAGE_TAG
|
|
3164
3288
|
*/
|
|
3165
|
-
|
|
3289
|
+
language?: string | null;
|
|
3166
3290
|
/**
|
|
3167
|
-
*
|
|
3291
|
+
* Time zone to use when calculating the start of the month.
|
|
3292
|
+
*
|
|
3293
|
+
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
3294
|
+
* @minLength 3
|
|
3168
3295
|
* @maxLength 100
|
|
3169
3296
|
*/
|
|
3170
|
-
|
|
3171
|
-
/** Post cover media. */
|
|
3172
|
-
media?: Media;
|
|
3173
|
-
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
3174
|
-
previewTextParagraph?: number | null;
|
|
3297
|
+
timeZone?: string | null;
|
|
3175
3298
|
}
|
|
3176
|
-
declare enum
|
|
3299
|
+
declare enum Order {
|
|
3177
3300
|
UNKNOWN = "UNKNOWN",
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
/** Categories were changed */
|
|
3181
|
-
ADD_CATEGORIES = "ADD_CATEGORIES",
|
|
3182
|
-
/** Saved automatically */
|
|
3183
|
-
AUTO_SAVE = "AUTO_SAVE",
|
|
3184
|
-
/** Copied from template */
|
|
3185
|
-
COPY_TEMPLATE = "COPY_TEMPLATE",
|
|
3186
|
-
/** Imported */
|
|
3187
|
-
IMPORT = "IMPORT",
|
|
3188
|
-
/** Imported in bulk */
|
|
3189
|
-
IMPORT_BULK = "IMPORT_BULK",
|
|
3190
|
-
/** Imported with html import */
|
|
3191
|
-
IMPORT_HTML = "IMPORT_HTML",
|
|
3192
|
-
/** Patch import */
|
|
3193
|
-
IMPORT_PATCH = "IMPORT_PATCH",
|
|
3194
|
-
/** Changed language */
|
|
3195
|
-
LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
|
|
3196
|
-
/** Saved manually */
|
|
3197
|
-
MANUAL_SAVE = "MANUAL_SAVE",
|
|
3198
|
-
/** Affected by migration */
|
|
3199
|
-
MIGRATION = "MIGRATION",
|
|
3200
|
-
/** Affected by moderation */
|
|
3201
|
-
MODERATION = "MODERATION",
|
|
3202
|
-
/** Moved to trash */
|
|
3203
|
-
MOVE_TO_TRASH = "MOVE_TO_TRASH",
|
|
3204
|
-
/** Pricing plans were changed */
|
|
3205
|
-
PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
|
|
3206
|
-
/** Was provisioned */
|
|
3207
|
-
PROVISION = "PROVISION",
|
|
3208
|
-
/** Was published */
|
|
3209
|
-
PUBLISH = "PUBLISH",
|
|
3210
|
-
/** Owner was reassigned */
|
|
3211
|
-
REASSIGN_OWNER = "REASSIGN_OWNER",
|
|
3212
|
-
/** Was reblogged */
|
|
3213
|
-
REBLOG = "REBLOG",
|
|
3214
|
-
/** Was restored */
|
|
3215
|
-
RESTORE = "RESTORE",
|
|
3216
|
-
/** Reverted to draft */
|
|
3217
|
-
REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
|
|
3218
|
-
/** Was translated */
|
|
3219
|
-
TRANSLATION = "TRANSLATION",
|
|
3220
|
-
/** Was unpublished */
|
|
3221
|
-
UNPUBLISH = "UNPUBLISH",
|
|
3222
|
-
/** Was unscheduled */
|
|
3223
|
-
UNSCHEDULE = "UNSCHEDULE",
|
|
3224
|
-
/** New edit session started which updated editing_session_id id */
|
|
3225
|
-
NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
|
|
3226
|
-
/** Was scheduled by Later */
|
|
3227
|
-
SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
|
|
3228
|
-
/** Was unscheduled by Later */
|
|
3229
|
-
SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
|
|
3230
|
-
/** Was published by Later */
|
|
3231
|
-
SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
|
|
3232
|
-
/** Was scheduled */
|
|
3233
|
-
SCHEDULE = "SCHEDULE",
|
|
3234
|
-
/** Was removed from moderation */
|
|
3235
|
-
REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
|
|
3236
|
-
/** Was rejected from moderation */
|
|
3237
|
-
REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
|
|
3238
|
-
/** Was approved in moderation */
|
|
3239
|
-
APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
|
|
3240
|
-
/** Tag was deleted */
|
|
3241
|
-
DELETE_TAG = "DELETE_TAG",
|
|
3242
|
-
/** Post was pinned */
|
|
3243
|
-
PIN = "PIN",
|
|
3244
|
-
/** Post was unpinned */
|
|
3245
|
-
UNPIN = "UNPIN",
|
|
3246
|
-
/** Saved automatically by AI tool. */
|
|
3247
|
-
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
3301
|
+
OLDEST = "OLDEST",
|
|
3302
|
+
NEWEST = "NEWEST"
|
|
3248
3303
|
}
|
|
3249
3304
|
/** @enumType */
|
|
3250
|
-
type
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
/**
|
|
3254
|
-
|
|
3255
|
-
/** Status indicating the draft post is unpublished. */
|
|
3256
|
-
UNPUBLISHED = "UNPUBLISHED",
|
|
3257
|
-
/** Status indicating the draft post is scheduled for publication. */
|
|
3258
|
-
SCHEDULED = "SCHEDULED",
|
|
3259
|
-
/** Status indicating the draft post is deleted. */
|
|
3260
|
-
DELETED = "DELETED",
|
|
3261
|
-
/** Status indicating the draft post is in review. */
|
|
3262
|
-
IN_REVIEW = "IN_REVIEW"
|
|
3305
|
+
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3306
|
+
/** Get Blog Post Count Stats response */
|
|
3307
|
+
interface QueryPostCountStatsResponse {
|
|
3308
|
+
/** List of published post counts by month. */
|
|
3309
|
+
stats?: PeriodPostCount[];
|
|
3263
3310
|
}
|
|
3264
|
-
/**
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
/** Post status. */
|
|
3273
|
-
status?: StatusWithLiterals;
|
|
3311
|
+
/** Post count for a specific time period */
|
|
3312
|
+
interface PeriodPostCount {
|
|
3313
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3314
|
+
periodStart?: Date | null;
|
|
3315
|
+
/** Number of posts published during this month. */
|
|
3316
|
+
postCount?: number;
|
|
3317
|
+
}
|
|
3318
|
+
interface GetTotalPublicationsRequest {
|
|
3274
3319
|
/**
|
|
3275
|
-
* Language
|
|
3320
|
+
* Language filter
|
|
3321
|
+
* @minLength 2
|
|
3276
3322
|
* @format LANGUAGE_TAG
|
|
3277
3323
|
*/
|
|
3278
3324
|
language?: string | null;
|
|
3325
|
+
}
|
|
3326
|
+
interface GetTotalPublicationsResponse {
|
|
3327
|
+
/** Total amount of publications. */
|
|
3328
|
+
total?: number;
|
|
3329
|
+
}
|
|
3330
|
+
interface GetTotalPostsRequest {
|
|
3279
3331
|
/**
|
|
3280
|
-
*
|
|
3281
|
-
*
|
|
3332
|
+
* Language filter.
|
|
3333
|
+
*
|
|
3334
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3335
|
+
* Pass a language to receive the total amount of posts in that specified language.
|
|
3336
|
+
* @format LANGUAGE_TAG
|
|
3282
3337
|
*/
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
/**
|
|
3287
|
-
|
|
3338
|
+
language?: string | null;
|
|
3339
|
+
}
|
|
3340
|
+
interface GetTotalPostsResponse {
|
|
3341
|
+
/** Total amount of published posts. */
|
|
3342
|
+
total?: number;
|
|
3288
3343
|
}
|
|
3289
3344
|
interface GetTotalLikesPerMemberRequest {
|
|
3290
3345
|
/**
|
|
@@ -4106,14 +4161,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4106
4161
|
/**
|
|
4107
4162
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4108
4163
|
*
|
|
4109
|
-
*
|
|
4110
|
-
* The
|
|
4111
|
-
*
|
|
4112
|
-
*
|
|
4113
|
-
*
|
|
4114
|
-
*
|
|
4164
|
+
* The time range is set using the `rangeStart` and `months` properties.
|
|
4165
|
+
* The time range always starts on the 1st day of the month set in `rangeStart` and
|
|
4166
|
+
* includes the number of `months` following `rangeStart`.
|
|
4167
|
+
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4168
|
+
* 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.
|
|
4169
|
+
* > 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.
|
|
4115
4170
|
* @public
|
|
4116
|
-
* @param options - Options specifying time frame, sort, and filter.
|
|
4117
4171
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4118
4172
|
* @applicableIdentity APP
|
|
4119
4173
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4154,7 +4208,6 @@ interface QueryPostCountStatsOptions {
|
|
|
4154
4208
|
/**
|
|
4155
4209
|
* Retrieves the total amount of published posts of the blog.
|
|
4156
4210
|
* @public
|
|
4157
|
-
* @param options - Language Options.
|
|
4158
4211
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4159
4212
|
* @applicableIdentity APP
|
|
4160
4213
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4175,12 +4228,12 @@ interface GetTotalPostsOptions {
|
|
|
4175
4228
|
* @param postId - Post ID.
|
|
4176
4229
|
* @public
|
|
4177
4230
|
* @requiredField postId
|
|
4178
|
-
* @param options - Options specifying which fields to return.
|
|
4179
4231
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4180
4232
|
* @applicableIdentity APP
|
|
4233
|
+
* @returns Retrieved post info.
|
|
4181
4234
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4182
4235
|
*/
|
|
4183
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4236
|
+
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>>;
|
|
4184
4237
|
interface GetPostOptions {
|
|
4185
4238
|
/**
|
|
4186
4239
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4200,7 +4253,6 @@ interface GetPostOptions {
|
|
|
4200
4253
|
* @param slug - Slug of the post to retrieve.
|
|
4201
4254
|
* @public
|
|
4202
4255
|
* @requiredField slug
|
|
4203
|
-
* @param options - Options specifying which fields to return.
|
|
4204
4256
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4205
4257
|
* @applicableIdentity APP
|
|
4206
4258
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4228,7 +4280,6 @@ interface GetPostBySlugOptions {
|
|
|
4228
4280
|
* - `paging.limit` is `50`.
|
|
4229
4281
|
* - `paging.offset` is `0`.
|
|
4230
4282
|
* @public
|
|
4231
|
-
* @param options - Sort, filter, and paging options.
|
|
4232
4283
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4233
4284
|
* @applicableIdentity APP
|
|
4234
4285
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4299,26 +4350,18 @@ interface ListPostsOptions {
|
|
|
4299
4350
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4300
4351
|
}
|
|
4301
4352
|
/**
|
|
4302
|
-
*
|
|
4303
|
-
*
|
|
4353
|
+
* Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
|
|
4304
4354
|
*
|
|
4305
|
-
*
|
|
4306
|
-
*
|
|
4307
|
-
*
|
|
4308
|
-
*
|
|
4309
|
-
* 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.
|
|
4310
|
-
*
|
|
4311
|
-
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4312
|
-
* + `limit(50)`
|
|
4313
|
-
* + `descending('firstPublishedDate')`
|
|
4314
|
-
*
|
|
4315
|
-
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4316
|
-
*
|
|
4317
|
-
* To learn how to query posts, refer to the table below.
|
|
4355
|
+
* Query Posts runs with these defaults, which you can override:
|
|
4356
|
+
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4357
|
+
* - `paging.limit` is `50`.
|
|
4358
|
+
* - `paging.offset` is `0`.
|
|
4318
4359
|
*
|
|
4319
|
-
*
|
|
4360
|
+
* To learn about working with _Query_ endpoints, see
|
|
4361
|
+
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
4362
|
+
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
|
|
4363
|
+
* [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
4320
4364
|
* @public
|
|
4321
|
-
* @param options - Options specifying which fields to return.
|
|
4322
4365
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4323
4366
|
* @applicableIdentity APP
|
|
4324
4367
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4594,4 +4637,4 @@ declare const utils: {
|
|
|
4594
4637
|
*/
|
|
4595
4638
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4596
4639
|
|
|
4597
|
-
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, 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, 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, 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 };
|
|
4640
|
+
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 };
|