@wix/auto_sdk_blog_posts 1.0.169 → 1.0.171
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 +15 -11
- package/build/cjs/index.js +50 -30
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +262 -189
- package/build/cjs/index.typings.js +40 -25
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +233 -172
- package/build/cjs/meta.js +34 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +86 -84
- package/build/cjs/schemas.js +156 -150
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +49 -30
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +262 -189
- package/build/es/index.typings.mjs +39 -25
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +233 -172
- package/build/es/meta.mjs +33 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +86 -84
- package/build/es/schemas.mjs +156 -150
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +50 -30
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +316 -243
- package/build/internal/cjs/index.typings.js +40 -25
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +287 -226
- package/build/internal/cjs/meta.js +34 -19
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +86 -84
- package/build/internal/cjs/schemas.js +156 -150
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +49 -30
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +316 -243
- package/build/internal/es/index.typings.mjs +39 -25
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +287 -226
- package/build/internal/es/meta.mjs +33 -19
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +86 -84
- package/build/internal/es/schemas.mjs +156 -150
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -335,7 +335,15 @@ interface Tag {
|
|
|
335
335
|
meta?: Record<string, any> | null;
|
|
336
336
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
337
337
|
children?: string;
|
|
338
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
|
|
340
|
+
*
|
|
341
|
+
* Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
|
|
342
|
+
* only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
|
|
343
|
+
* or Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For
|
|
344
|
+
* those pages `false` therefore does not mean "not a custom tag" — it means this API could not tell.
|
|
345
|
+
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
346
|
+
*/
|
|
339
347
|
custom?: boolean;
|
|
340
348
|
/** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
|
|
341
349
|
disabled?: boolean;
|
|
@@ -859,17 +867,27 @@ interface Rel {
|
|
|
859
867
|
interface Animation {
|
|
860
868
|
/** Animation kind. */
|
|
861
869
|
type?: TypeWithLiterals;
|
|
862
|
-
/** Entrance animation, played once when the node first enters the viewport. */
|
|
870
|
+
/** Entrance animation, played once when the node first enters the viewport (VIEW). */
|
|
863
871
|
entrance?: EntranceAnimation;
|
|
864
|
-
/** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
|
|
872
|
+
/** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
|
|
865
873
|
loop?: LoopAnimation;
|
|
874
|
+
/**
|
|
875
|
+
* POINTER carries its fields directly on the union member in the JTD wall, hence
|
|
876
|
+
* flat fields here (ts-proto camelCase must equal the JTD property names). A future
|
|
877
|
+
* SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
|
|
878
|
+
*/
|
|
879
|
+
effect?: PointerEffect;
|
|
880
|
+
/** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
|
|
881
|
+
transitionDuration?: number | null;
|
|
866
882
|
}
|
|
867
883
|
declare enum Type {
|
|
868
884
|
/** Animations that play while the node is in view. */
|
|
869
|
-
VIEW = "VIEW"
|
|
885
|
+
VIEW = "VIEW",
|
|
886
|
+
/** Animations driven by the visitor's mouse position. */
|
|
887
|
+
POINTER = "POINTER"
|
|
870
888
|
}
|
|
871
889
|
/** @enumType */
|
|
872
|
-
type TypeWithLiterals = Type | 'VIEW';
|
|
890
|
+
type TypeWithLiterals = Type | 'VIEW' | 'POINTER';
|
|
873
891
|
interface EntranceAnimation {
|
|
874
892
|
/** The entrance effect to play. */
|
|
875
893
|
effect?: EntranceEffect;
|
|
@@ -989,6 +1007,49 @@ declare enum LoopEffectType {
|
|
|
989
1007
|
}
|
|
990
1008
|
/** @enumType */
|
|
991
1009
|
type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
|
|
1010
|
+
interface PointerEffect {
|
|
1011
|
+
/** The mouse effect type. */
|
|
1012
|
+
type?: PointerEffectTypeWithLiterals;
|
|
1013
|
+
/** Reacts away from the pointer instead of toward it. */
|
|
1014
|
+
inverted?: boolean | null;
|
|
1015
|
+
/**
|
|
1016
|
+
* One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.
|
|
1017
|
+
* @maxLength 20
|
|
1018
|
+
*/
|
|
1019
|
+
axis?: string | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
|
|
1022
|
+
* @maxLength 8
|
|
1023
|
+
*/
|
|
1024
|
+
direction?: string | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Motion style: GENTLE, MODERATE, or INTENSE.
|
|
1027
|
+
* @maxLength 100
|
|
1028
|
+
*/
|
|
1029
|
+
easing?: string | null;
|
|
1030
|
+
}
|
|
1031
|
+
declare enum PointerEffectType {
|
|
1032
|
+
/** Drifts loosely after the pointer with a light rotation. */
|
|
1033
|
+
AIRY = "AIRY",
|
|
1034
|
+
/** Squashes and stretches toward the pointer. */
|
|
1035
|
+
BLOB = "BLOB",
|
|
1036
|
+
/** Shifts after the pointer while blurring. */
|
|
1037
|
+
BLUR = "BLUR",
|
|
1038
|
+
/** Scales as the pointer approaches. */
|
|
1039
|
+
SCALE = "SCALE",
|
|
1040
|
+
/** Skews toward the pointer. */
|
|
1041
|
+
SKEW = "SKEW",
|
|
1042
|
+
/** Rotates around a pivot edge or axis, following the pointer. */
|
|
1043
|
+
SWIVEL = "SWIVEL",
|
|
1044
|
+
/** Tilts in 3D perspective toward the pointer. */
|
|
1045
|
+
TILT_3D = "TILT_3D",
|
|
1046
|
+
/** Follows the pointer's position. */
|
|
1047
|
+
TRACK = "TRACK",
|
|
1048
|
+
/** Follows the pointer with a 3D depth motion. */
|
|
1049
|
+
TRACK_3D = "TRACK_3D"
|
|
1050
|
+
}
|
|
1051
|
+
/** @enumType */
|
|
1052
|
+
type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
|
|
992
1053
|
interface CodeBlockData {
|
|
993
1054
|
/** Styling for the code block's text. */
|
|
994
1055
|
textStyle?: TextStyle;
|
|
@@ -3527,91 +3588,62 @@ interface GetTotalPostsResponse {
|
|
|
3527
3588
|
/** Total amount of published posts. */
|
|
3528
3589
|
total?: number;
|
|
3529
3590
|
}
|
|
3530
|
-
interface
|
|
3531
|
-
/**
|
|
3532
|
-
* Member ID of person who triggered the counter update
|
|
3533
|
-
* @format GUID
|
|
3534
|
-
*/
|
|
3535
|
-
memberId?: string | null;
|
|
3536
|
-
/**
|
|
3537
|
-
* Visitor ID if person that liked the post is not logged in
|
|
3538
|
-
* @format GUID
|
|
3539
|
-
*/
|
|
3540
|
-
anonymousVisitorId?: string | null;
|
|
3541
|
-
/**
|
|
3542
|
-
* ID of the post which counters were updated.
|
|
3543
|
-
* @format GUID
|
|
3544
|
-
*/
|
|
3545
|
-
postId?: string;
|
|
3546
|
-
/**
|
|
3547
|
-
* Internal ID of the post which counters were updated.
|
|
3548
|
-
* @internal
|
|
3549
|
-
* @maxLength 24
|
|
3550
|
-
*/
|
|
3551
|
-
postInternalId?: string;
|
|
3552
|
-
/** Field of the updated counter. */
|
|
3553
|
-
updatedCounterField?: FieldWithLiterals;
|
|
3554
|
-
/** New counter value. */
|
|
3555
|
-
counter?: number;
|
|
3556
|
-
}
|
|
3557
|
-
/** @oneof */
|
|
3558
|
-
interface PostCountersUpdatedInitiatorOneOf {
|
|
3591
|
+
interface ListDemoPostsRequest {
|
|
3559
3592
|
/**
|
|
3560
|
-
*
|
|
3561
|
-
*
|
|
3593
|
+
* Whether to return only featured posts.
|
|
3594
|
+
*
|
|
3595
|
+
* Default: `false`
|
|
3562
3596
|
*/
|
|
3563
|
-
|
|
3597
|
+
featured?: boolean;
|
|
3564
3598
|
/**
|
|
3565
|
-
*
|
|
3566
|
-
*
|
|
3599
|
+
* Hashtag filter.
|
|
3600
|
+
*
|
|
3601
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3602
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3603
|
+
* @maxSize 100
|
|
3604
|
+
* @maxLength 100
|
|
3567
3605
|
*/
|
|
3568
|
-
|
|
3569
|
-
}
|
|
3570
|
-
declare enum Field {
|
|
3571
|
-
/** Undefined field. */
|
|
3572
|
-
UNKNOWN = "UNKNOWN",
|
|
3573
|
-
/** Total comments field. */
|
|
3574
|
-
TOTAL_COMMENTS = "TOTAL_COMMENTS",
|
|
3575
|
-
/** Like count field. */
|
|
3576
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3577
|
-
/** View count field. */
|
|
3578
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3579
|
-
/** Rating count field. */
|
|
3580
|
-
RATING_COUNT = "RATING_COUNT"
|
|
3581
|
-
}
|
|
3582
|
-
/** @enumType */
|
|
3583
|
-
type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
|
|
3584
|
-
interface PostOwnerChanged {
|
|
3606
|
+
hashtags?: string[];
|
|
3585
3607
|
/**
|
|
3586
|
-
*
|
|
3587
|
-
*
|
|
3608
|
+
* Category filter.
|
|
3609
|
+
*
|
|
3610
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3611
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3612
|
+
* @maxSize 50
|
|
3588
3613
|
* @format GUID
|
|
3589
3614
|
*/
|
|
3590
|
-
|
|
3615
|
+
categoryIds?: string[];
|
|
3591
3616
|
/**
|
|
3592
|
-
*
|
|
3593
|
-
*
|
|
3617
|
+
* Tag filter.
|
|
3618
|
+
*
|
|
3619
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3620
|
+
* If omitted, all posts with or without tags are returned.
|
|
3621
|
+
* @maxSize 50
|
|
3594
3622
|
* @format GUID
|
|
3595
3623
|
*/
|
|
3596
|
-
|
|
3597
|
-
}
|
|
3598
|
-
interface InitialPostsCopied {
|
|
3599
|
-
/** Number of posts copied. */
|
|
3600
|
-
count?: number;
|
|
3601
|
-
}
|
|
3602
|
-
interface GetPostRequest {
|
|
3624
|
+
tagIds?: string[];
|
|
3603
3625
|
/**
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3606
|
-
*
|
|
3626
|
+
* Sorting options.
|
|
3627
|
+
*
|
|
3628
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3629
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3630
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3631
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3632
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3633
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3634
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3635
|
+
* - `RATING`: reserved for internal use.
|
|
3636
|
+
*
|
|
3637
|
+
* Default: `FEED`
|
|
3607
3638
|
*/
|
|
3608
|
-
|
|
3639
|
+
sort?: GetPostsSortWithLiterals;
|
|
3640
|
+
/** Pagination options. */
|
|
3641
|
+
paging?: BlogPaging;
|
|
3609
3642
|
/**
|
|
3610
3643
|
* __Deprecated.__ Use `fieldsets` instead.
|
|
3611
3644
|
* This parameter will be removed on June 30, 2023.
|
|
3612
3645
|
*
|
|
3613
3646
|
* List of post fields to be included in the response.
|
|
3614
|
-
* @internal
|
|
3615
3647
|
* @maxSize 20
|
|
3616
3648
|
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3617
3649
|
* This parameter will be removed on June 30, 2023.
|
|
@@ -3621,6 +3653,20 @@ interface GetPostRequest {
|
|
|
3621
3653
|
* @targetRemovalDate 2024-06-30
|
|
3622
3654
|
*/
|
|
3623
3655
|
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3656
|
+
/**
|
|
3657
|
+
* Language filter.
|
|
3658
|
+
*
|
|
3659
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3660
|
+
* Pass a language to only receive posts that are in that language.
|
|
3661
|
+
* If omitted, posts in all languages are returned.
|
|
3662
|
+
* @format LANGUAGE_TAG
|
|
3663
|
+
*/
|
|
3664
|
+
language?: string | null;
|
|
3665
|
+
/**
|
|
3666
|
+
* Post owner's member ID.
|
|
3667
|
+
* @format GUID
|
|
3668
|
+
*/
|
|
3669
|
+
memberId?: string | null;
|
|
3624
3670
|
/**
|
|
3625
3671
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3626
3672
|
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -3629,6 +3675,52 @@ interface GetPostRequest {
|
|
|
3629
3675
|
*/
|
|
3630
3676
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3631
3677
|
}
|
|
3678
|
+
declare enum GetPostsSort {
|
|
3679
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3680
|
+
FEED = "FEED",
|
|
3681
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3682
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3683
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3684
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3685
|
+
/** Ordered by total number of views in descending order. */
|
|
3686
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3687
|
+
/** Ordered by total number of likes in descending order. */
|
|
3688
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3689
|
+
/** Ordered by `title` in ascending order. */
|
|
3690
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3691
|
+
/** Ordered by `title` in descending order. */
|
|
3692
|
+
TITLE_DESC = "TITLE_DESC",
|
|
3693
|
+
/**
|
|
3694
|
+
* Sorting by post rating descending.
|
|
3695
|
+
* @internal
|
|
3696
|
+
*/
|
|
3697
|
+
RATING = "RATING"
|
|
3698
|
+
}
|
|
3699
|
+
/** @enumType */
|
|
3700
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3701
|
+
interface BlogPaging {
|
|
3702
|
+
/**
|
|
3703
|
+
* Number of items to skip in the current sort order.
|
|
3704
|
+
*
|
|
3705
|
+
*
|
|
3706
|
+
* Default: `0`
|
|
3707
|
+
*/
|
|
3708
|
+
offset?: number;
|
|
3709
|
+
/**
|
|
3710
|
+
* Number of items to return.
|
|
3711
|
+
*
|
|
3712
|
+
*
|
|
3713
|
+
* Default:`50`
|
|
3714
|
+
* @min 1
|
|
3715
|
+
* @max 100
|
|
3716
|
+
*/
|
|
3717
|
+
limit?: number;
|
|
3718
|
+
/**
|
|
3719
|
+
* Pointer to the next or previous page in the list of results.
|
|
3720
|
+
* @maxLength 2000
|
|
3721
|
+
*/
|
|
3722
|
+
cursor?: string | null;
|
|
3723
|
+
}
|
|
3632
3724
|
declare enum PostFieldField {
|
|
3633
3725
|
UNKNOWN = "UNKNOWN",
|
|
3634
3726
|
/**
|
|
@@ -3710,6 +3802,127 @@ declare enum PostFieldField {
|
|
|
3710
3802
|
}
|
|
3711
3803
|
/** @enumType */
|
|
3712
3804
|
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3805
|
+
interface ListDemoPostsResponse {
|
|
3806
|
+
/** List of posts. */
|
|
3807
|
+
posts?: Post[];
|
|
3808
|
+
/** Details on the paged set of results returned. */
|
|
3809
|
+
metaData?: MetaData;
|
|
3810
|
+
}
|
|
3811
|
+
interface MetaData {
|
|
3812
|
+
/** Number of items returned in this response. */
|
|
3813
|
+
count?: number;
|
|
3814
|
+
/** Requested offset. */
|
|
3815
|
+
offset?: number;
|
|
3816
|
+
/** Total number of items that match the query. */
|
|
3817
|
+
total?: number;
|
|
3818
|
+
/**
|
|
3819
|
+
* Pointer to the next or previous page in the list of results.
|
|
3820
|
+
* @maxLength 2000
|
|
3821
|
+
*/
|
|
3822
|
+
cursor?: string | null;
|
|
3823
|
+
}
|
|
3824
|
+
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3825
|
+
/**
|
|
3826
|
+
* Member ID of person who triggered the counter update
|
|
3827
|
+
* @format GUID
|
|
3828
|
+
*/
|
|
3829
|
+
memberId?: string | null;
|
|
3830
|
+
/**
|
|
3831
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3832
|
+
* @format GUID
|
|
3833
|
+
*/
|
|
3834
|
+
anonymousVisitorId?: string | null;
|
|
3835
|
+
/**
|
|
3836
|
+
* ID of the post which counters were updated.
|
|
3837
|
+
* @format GUID
|
|
3838
|
+
*/
|
|
3839
|
+
postId?: string;
|
|
3840
|
+
/**
|
|
3841
|
+
* Internal ID of the post which counters were updated.
|
|
3842
|
+
* @internal
|
|
3843
|
+
* @maxLength 24
|
|
3844
|
+
*/
|
|
3845
|
+
postInternalId?: string;
|
|
3846
|
+
/** Field of the updated counter. */
|
|
3847
|
+
updatedCounterField?: FieldWithLiterals;
|
|
3848
|
+
/** New counter value. */
|
|
3849
|
+
counter?: number;
|
|
3850
|
+
}
|
|
3851
|
+
/** @oneof */
|
|
3852
|
+
interface PostCountersUpdatedInitiatorOneOf {
|
|
3853
|
+
/**
|
|
3854
|
+
* Member ID of person who triggered the counter update
|
|
3855
|
+
* @format GUID
|
|
3856
|
+
*/
|
|
3857
|
+
memberId?: string | null;
|
|
3858
|
+
/**
|
|
3859
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3860
|
+
* @format GUID
|
|
3861
|
+
*/
|
|
3862
|
+
anonymousVisitorId?: string | null;
|
|
3863
|
+
}
|
|
3864
|
+
declare enum Field {
|
|
3865
|
+
/** Undefined field. */
|
|
3866
|
+
UNKNOWN = "UNKNOWN",
|
|
3867
|
+
/** Total comments field. */
|
|
3868
|
+
TOTAL_COMMENTS = "TOTAL_COMMENTS",
|
|
3869
|
+
/** Like count field. */
|
|
3870
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3871
|
+
/** View count field. */
|
|
3872
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3873
|
+
/** Rating count field. */
|
|
3874
|
+
RATING_COUNT = "RATING_COUNT"
|
|
3875
|
+
}
|
|
3876
|
+
/** @enumType */
|
|
3877
|
+
type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
|
|
3878
|
+
interface PostOwnerChanged {
|
|
3879
|
+
/**
|
|
3880
|
+
* Member ID of the post's owner before the change.
|
|
3881
|
+
* @internal
|
|
3882
|
+
* @format GUID
|
|
3883
|
+
*/
|
|
3884
|
+
oldMemberId?: string;
|
|
3885
|
+
/**
|
|
3886
|
+
* Member ID of the post's owner after the change.
|
|
3887
|
+
* @internal
|
|
3888
|
+
* @format GUID
|
|
3889
|
+
*/
|
|
3890
|
+
newMemberId?: string;
|
|
3891
|
+
}
|
|
3892
|
+
interface InitialPostsCopied {
|
|
3893
|
+
/** Number of posts copied. */
|
|
3894
|
+
count?: number;
|
|
3895
|
+
}
|
|
3896
|
+
interface GetPostRequest {
|
|
3897
|
+
/**
|
|
3898
|
+
* Post ID.
|
|
3899
|
+
* @minLength 1
|
|
3900
|
+
* @maxLength 38
|
|
3901
|
+
*/
|
|
3902
|
+
postId: string;
|
|
3903
|
+
/**
|
|
3904
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3905
|
+
* This parameter will be removed on June 30, 2023.
|
|
3906
|
+
*
|
|
3907
|
+
* List of post fields to be included in the response.
|
|
3908
|
+
* @internal
|
|
3909
|
+
* @maxSize 20
|
|
3910
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3911
|
+
* This parameter will be removed on June 30, 2023.
|
|
3912
|
+
*
|
|
3913
|
+
* List of post fields to be included in the response.
|
|
3914
|
+
* @replacedBy fieldsets
|
|
3915
|
+
* @targetRemovalDate 2024-06-30
|
|
3916
|
+
*/
|
|
3917
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3918
|
+
/**
|
|
3919
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3920
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3921
|
+
* only the post’s base fields are returned.
|
|
3922
|
+
* @maxSize 20
|
|
3923
|
+
*/
|
|
3924
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3925
|
+
}
|
|
3713
3926
|
interface GetPostResponse {
|
|
3714
3927
|
/** Retrieved post info. */
|
|
3715
3928
|
post?: Post;
|
|
@@ -3832,71 +4045,12 @@ interface ListPostsRequest {
|
|
|
3832
4045
|
*/
|
|
3833
4046
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3834
4047
|
}
|
|
3835
|
-
declare enum GetPostsSort {
|
|
3836
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3837
|
-
FEED = "FEED",
|
|
3838
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3839
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3840
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3841
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3842
|
-
/** Ordered by total number of views in descending order. */
|
|
3843
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3844
|
-
/** Ordered by total number of likes in descending order. */
|
|
3845
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3846
|
-
/** Ordered by `title` in ascending order. */
|
|
3847
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3848
|
-
/** Ordered by `title` in descending order. */
|
|
3849
|
-
TITLE_DESC = "TITLE_DESC",
|
|
3850
|
-
/**
|
|
3851
|
-
* Sorting by post rating descending.
|
|
3852
|
-
* @internal
|
|
3853
|
-
*/
|
|
3854
|
-
RATING = "RATING"
|
|
3855
|
-
}
|
|
3856
|
-
/** @enumType */
|
|
3857
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3858
|
-
interface BlogPaging {
|
|
3859
|
-
/**
|
|
3860
|
-
* Number of items to skip in the current sort order.
|
|
3861
|
-
*
|
|
3862
|
-
*
|
|
3863
|
-
* Default: `0`
|
|
3864
|
-
*/
|
|
3865
|
-
offset?: number;
|
|
3866
|
-
/**
|
|
3867
|
-
* Number of items to return.
|
|
3868
|
-
*
|
|
3869
|
-
*
|
|
3870
|
-
* Default:`50`
|
|
3871
|
-
* @min 1
|
|
3872
|
-
* @max 100
|
|
3873
|
-
*/
|
|
3874
|
-
limit?: number;
|
|
3875
|
-
/**
|
|
3876
|
-
* Pointer to the next or previous page in the list of results.
|
|
3877
|
-
* @maxLength 2000
|
|
3878
|
-
*/
|
|
3879
|
-
cursor?: string | null;
|
|
3880
|
-
}
|
|
3881
4048
|
interface ListPostsResponse {
|
|
3882
4049
|
/** List of retrieved posts. */
|
|
3883
4050
|
posts?: Post[];
|
|
3884
4051
|
/** Details on the paged set of results returned. */
|
|
3885
4052
|
metaData?: MetaData;
|
|
3886
4053
|
}
|
|
3887
|
-
interface MetaData {
|
|
3888
|
-
/** Number of items returned in this response. */
|
|
3889
|
-
count?: number;
|
|
3890
|
-
/** Requested offset. */
|
|
3891
|
-
offset?: number;
|
|
3892
|
-
/** Total number of items that match the query. */
|
|
3893
|
-
total?: number;
|
|
3894
|
-
/**
|
|
3895
|
-
* Pointer to the next or previous page in the list of results.
|
|
3896
|
-
* @maxLength 2000
|
|
3897
|
-
*/
|
|
3898
|
-
cursor?: string | null;
|
|
3899
|
-
}
|
|
3900
4054
|
interface QueryPostsRequest {
|
|
3901
4055
|
/**
|
|
3902
4056
|
* __Deprecated.__ Use `query` instead.
|
|
@@ -4344,99 +4498,6 @@ interface PostCount {
|
|
|
4344
4498
|
/** Number of posts. */
|
|
4345
4499
|
postCount?: number;
|
|
4346
4500
|
}
|
|
4347
|
-
interface ListDemoPostsRequest {
|
|
4348
|
-
/**
|
|
4349
|
-
* Whether to return only featured posts.
|
|
4350
|
-
*
|
|
4351
|
-
* Default: `false`
|
|
4352
|
-
*/
|
|
4353
|
-
featured?: boolean;
|
|
4354
|
-
/**
|
|
4355
|
-
* Hashtag filter.
|
|
4356
|
-
*
|
|
4357
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
4358
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
4359
|
-
* @maxSize 100
|
|
4360
|
-
* @maxLength 100
|
|
4361
|
-
*/
|
|
4362
|
-
hashtags?: string[];
|
|
4363
|
-
/**
|
|
4364
|
-
* Category filter.
|
|
4365
|
-
*
|
|
4366
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
4367
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
4368
|
-
* @maxSize 50
|
|
4369
|
-
* @format GUID
|
|
4370
|
-
*/
|
|
4371
|
-
categoryIds?: string[];
|
|
4372
|
-
/**
|
|
4373
|
-
* Tag filter.
|
|
4374
|
-
*
|
|
4375
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
4376
|
-
* If omitted, all posts with or without tags are returned.
|
|
4377
|
-
* @maxSize 50
|
|
4378
|
-
* @format GUID
|
|
4379
|
-
*/
|
|
4380
|
-
tagIds?: string[];
|
|
4381
|
-
/**
|
|
4382
|
-
* Sorting options.
|
|
4383
|
-
*
|
|
4384
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
4385
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
4386
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
4387
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
4388
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
4389
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
4390
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
4391
|
-
* - `RATING`: reserved for internal use.
|
|
4392
|
-
*
|
|
4393
|
-
* Default: `FEED`
|
|
4394
|
-
*/
|
|
4395
|
-
sort?: GetPostsSortWithLiterals;
|
|
4396
|
-
/** Pagination options. */
|
|
4397
|
-
paging?: BlogPaging;
|
|
4398
|
-
/**
|
|
4399
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
4400
|
-
* This parameter will be removed on June 30, 2023.
|
|
4401
|
-
*
|
|
4402
|
-
* List of post fields to be included in the response.
|
|
4403
|
-
* @maxSize 20
|
|
4404
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4405
|
-
* This parameter will be removed on June 30, 2023.
|
|
4406
|
-
*
|
|
4407
|
-
* List of post fields to be included in the response.
|
|
4408
|
-
* @replacedBy fieldsets
|
|
4409
|
-
* @targetRemovalDate 2024-06-30
|
|
4410
|
-
*/
|
|
4411
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4412
|
-
/**
|
|
4413
|
-
* Language filter.
|
|
4414
|
-
*
|
|
4415
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4416
|
-
* Pass a language to only receive posts that are in that language.
|
|
4417
|
-
* If omitted, posts in all languages are returned.
|
|
4418
|
-
* @format LANGUAGE_TAG
|
|
4419
|
-
*/
|
|
4420
|
-
language?: string | null;
|
|
4421
|
-
/**
|
|
4422
|
-
* Post owner's member ID.
|
|
4423
|
-
* @format GUID
|
|
4424
|
-
*/
|
|
4425
|
-
memberId?: string | null;
|
|
4426
|
-
/**
|
|
4427
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4428
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4429
|
-
* only the post’s base fields are returned.
|
|
4430
|
-
* @maxSize 20
|
|
4431
|
-
*/
|
|
4432
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4433
|
-
}
|
|
4434
|
-
interface ListDemoPostsResponse {
|
|
4435
|
-
/** List of posts. */
|
|
4436
|
-
posts?: Post[];
|
|
4437
|
-
/** Details on the paged set of results returned. */
|
|
4438
|
-
metaData?: MetaData;
|
|
4439
|
-
}
|
|
4440
4501
|
interface BaseEventMetadata {
|
|
4441
4502
|
/**
|
|
4442
4503
|
* App instance ID.
|
|
@@ -4584,13 +4645,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4584
4645
|
/**
|
|
4585
4646
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4586
4647
|
*
|
|
4587
|
-
*
|
|
4588
|
-
* The
|
|
4589
|
-
*
|
|
4590
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4591
|
-
*
|
|
4592
|
-
*
|
|
4648
|
+
*
|
|
4649
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
4650
|
+
*
|
|
4651
|
+
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
|
|
4652
|
+
*
|
|
4653
|
+
* >**Note:** If there are no published posts in a specific month, 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.
|
|
4593
4654
|
* @public
|
|
4655
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
4594
4656
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4595
4657
|
* @applicableIdentity APP
|
|
4596
4658
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4631,6 +4693,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4631
4693
|
/**
|
|
4632
4694
|
* Retrieves the total amount of published posts of the blog.
|
|
4633
4695
|
* @public
|
|
4696
|
+
* @param options - Language Options.
|
|
4634
4697
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4635
4698
|
* @applicableIdentity APP
|
|
4636
4699
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4651,12 +4714,12 @@ interface GetTotalPostsOptions {
|
|
|
4651
4714
|
* @param postId - Post ID.
|
|
4652
4715
|
* @public
|
|
4653
4716
|
* @requiredField postId
|
|
4717
|
+
* @param options - Options specifying which fields to return.
|
|
4654
4718
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4655
4719
|
* @applicableIdentity APP
|
|
4656
|
-
* @returns Retrieved post info.
|
|
4657
4720
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4658
4721
|
*/
|
|
4659
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4722
|
+
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
|
|
4660
4723
|
interface GetPostOptions {
|
|
4661
4724
|
/**
|
|
4662
4725
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4676,6 +4739,7 @@ interface GetPostOptions {
|
|
|
4676
4739
|
* @param slug - Slug of the post to retrieve.
|
|
4677
4740
|
* @public
|
|
4678
4741
|
* @requiredField slug
|
|
4742
|
+
* @param options - Options specifying which fields to return.
|
|
4679
4743
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4680
4744
|
* @applicableIdentity APP
|
|
4681
4745
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4703,6 +4767,7 @@ interface GetPostBySlugOptions {
|
|
|
4703
4767
|
* - `paging.limit` is `50`.
|
|
4704
4768
|
* - `paging.offset` is `0`.
|
|
4705
4769
|
* @public
|
|
4770
|
+
* @param options - Sort, filter, and paging options.
|
|
4706
4771
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4707
4772
|
* @applicableIdentity APP
|
|
4708
4773
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4773,18 +4838,26 @@ interface ListPostsOptions {
|
|
|
4773
4838
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4774
4839
|
}
|
|
4775
4840
|
/**
|
|
4776
|
-
*
|
|
4841
|
+
* Creates a query to retrieve a list of posts.
|
|
4777
4842
|
*
|
|
4778
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4779
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4780
|
-
* - `paging.limit` is `50`.
|
|
4781
|
-
* - `paging.offset` is `0`.
|
|
4782
4843
|
*
|
|
4783
|
-
*
|
|
4784
|
-
*
|
|
4785
|
-
*
|
|
4786
|
-
*
|
|
4844
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4845
|
+
*
|
|
4846
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4847
|
+
*
|
|
4848
|
+
* 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.
|
|
4849
|
+
*
|
|
4850
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4851
|
+
* + `limit(50)`
|
|
4852
|
+
* + `descending('firstPublishedDate')`
|
|
4853
|
+
*
|
|
4854
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4855
|
+
*
|
|
4856
|
+
* To learn how to query posts, refer to the table below.
|
|
4857
|
+
*
|
|
4858
|
+
* The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
|
|
4787
4859
|
* @public
|
|
4860
|
+
* @param options - Options specifying which fields to return.
|
|
4788
4861
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4789
4862
|
* @applicableIdentity APP
|
|
4790
4863
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -5127,4 +5200,4 @@ declare const utils: {
|
|
|
5127
5200
|
*/
|
|
5128
5201
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
5129
5202
|
|
|
5130
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, 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, BannerPosition, type BannerPositionWithLiterals, 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, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, 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 DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, 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, GetPostsSort, type GetPostsSortWithLiterals, 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 ImageDataCrop, 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, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, 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 SketchData, 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, Variant, type VariantWithLiterals, 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 };
|
|
5203
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, 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, BannerPosition, type BannerPositionWithLiterals, 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, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, 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 DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, 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, GetPostsSort, type GetPostsSortWithLiterals, 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 ImageDataCrop, 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, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, 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 PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, 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 SketchData, 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, Variant, type VariantWithLiterals, 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 };
|