@wix/auto_sdk_blog_posts 1.0.170 → 1.0.172
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 +30 -35
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +199 -196
- package/build/cjs/index.typings.js +25 -25
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +182 -167
- package/build/cjs/meta.js +19 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +84 -86
- package/build/cjs/schemas.js +150 -156
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +30 -35
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +199 -196
- package/build/es/index.typings.mjs +25 -25
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +182 -167
- package/build/es/meta.mjs +19 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +84 -86
- package/build/es/schemas.mjs +150 -156
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +30 -35
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +253 -250
- package/build/internal/cjs/index.typings.js +25 -25
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +236 -221
- package/build/internal/cjs/meta.js +19 -19
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +84 -86
- package/build/internal/cjs/schemas.js +150 -156
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +30 -35
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +253 -250
- package/build/internal/es/index.typings.mjs +25 -25
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +236 -221
- package/build/internal/es/meta.mjs +19 -19
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +84 -86
- package/build/internal/es/schemas.mjs +150 -156
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -259,7 +259,22 @@ interface Tag {
|
|
|
259
259
|
meta?: Record<string, any> | null;
|
|
260
260
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
261
261
|
children?: string;
|
|
262
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
264
|
+
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
265
|
+
*
|
|
266
|
+
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
267
|
+
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
268
|
+
* default/pattern — standard tags always resolve with `custom: false`, even when their content comes
|
|
269
|
+
* from a page's manually saved SEO title/description override. Don't use this field to verify whether
|
|
270
|
+
* a live page reflects a manual per-page SEO edit.
|
|
271
|
+
*
|
|
272
|
+
* Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
|
|
273
|
+
* only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
|
|
274
|
+
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
275
|
+
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
276
|
+
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
277
|
+
*/
|
|
263
278
|
custom?: boolean;
|
|
264
279
|
/** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
|
|
265
280
|
disabled?: boolean;
|
|
@@ -3447,6 +3462,172 @@ interface GetTotalPostsResponse {
|
|
|
3447
3462
|
/** Total amount of published posts. */
|
|
3448
3463
|
total?: number;
|
|
3449
3464
|
}
|
|
3465
|
+
interface ListDemoPostsRequest {
|
|
3466
|
+
/**
|
|
3467
|
+
* Whether to return only featured posts.
|
|
3468
|
+
*
|
|
3469
|
+
* Default: `false`
|
|
3470
|
+
*/
|
|
3471
|
+
featured?: boolean;
|
|
3472
|
+
/**
|
|
3473
|
+
* Hashtag filter.
|
|
3474
|
+
*
|
|
3475
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3476
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3477
|
+
* @maxSize 100
|
|
3478
|
+
* @maxLength 100
|
|
3479
|
+
*/
|
|
3480
|
+
hashtags?: string[];
|
|
3481
|
+
/**
|
|
3482
|
+
* Category filter.
|
|
3483
|
+
*
|
|
3484
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3485
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3486
|
+
* @maxSize 50
|
|
3487
|
+
* @format GUID
|
|
3488
|
+
*/
|
|
3489
|
+
categoryIds?: string[];
|
|
3490
|
+
/**
|
|
3491
|
+
* Tag filter.
|
|
3492
|
+
*
|
|
3493
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3494
|
+
* If omitted, all posts with or without tags are returned.
|
|
3495
|
+
* @maxSize 50
|
|
3496
|
+
* @format GUID
|
|
3497
|
+
*/
|
|
3498
|
+
tagIds?: string[];
|
|
3499
|
+
/**
|
|
3500
|
+
* Sorting options.
|
|
3501
|
+
*
|
|
3502
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3503
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3504
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3505
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3506
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3507
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3508
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3509
|
+
* - `RATING`: reserved for internal use.
|
|
3510
|
+
*
|
|
3511
|
+
* Default: `FEED`
|
|
3512
|
+
*/
|
|
3513
|
+
sort?: GetPostsSortWithLiterals;
|
|
3514
|
+
/** Pagination options. */
|
|
3515
|
+
paging?: BlogPaging;
|
|
3516
|
+
/**
|
|
3517
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3518
|
+
* This parameter will be removed on June 30, 2023.
|
|
3519
|
+
*
|
|
3520
|
+
* List of post fields to be included in the response.
|
|
3521
|
+
* @maxSize 20
|
|
3522
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3523
|
+
* This parameter will be removed on June 30, 2023.
|
|
3524
|
+
*
|
|
3525
|
+
* List of post fields to be included in the response.
|
|
3526
|
+
* @replacedBy fieldsets
|
|
3527
|
+
* @targetRemovalDate 2024-06-30
|
|
3528
|
+
*/
|
|
3529
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3530
|
+
/**
|
|
3531
|
+
* Language filter.
|
|
3532
|
+
*
|
|
3533
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3534
|
+
* Pass a language to only receive posts that are in that language.
|
|
3535
|
+
* If omitted, posts in all languages are returned.
|
|
3536
|
+
* @format LANGUAGE_TAG
|
|
3537
|
+
*/
|
|
3538
|
+
language?: string | null;
|
|
3539
|
+
/**
|
|
3540
|
+
* Post owner's member ID.
|
|
3541
|
+
* @format GUID
|
|
3542
|
+
*/
|
|
3543
|
+
memberId?: string | null;
|
|
3544
|
+
/**
|
|
3545
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3546
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3547
|
+
* only the post’s base fields are returned.
|
|
3548
|
+
* @maxSize 20
|
|
3549
|
+
*/
|
|
3550
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3551
|
+
}
|
|
3552
|
+
declare enum GetPostsSort {
|
|
3553
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3554
|
+
FEED = "FEED",
|
|
3555
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3556
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3557
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3558
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3559
|
+
/** Ordered by total number of views in descending order. */
|
|
3560
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3561
|
+
/** Ordered by total number of likes in descending order. */
|
|
3562
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3563
|
+
/** Ordered by `title` in ascending order. */
|
|
3564
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3565
|
+
/** Ordered by `title` in descending order. */
|
|
3566
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3567
|
+
}
|
|
3568
|
+
/** @enumType */
|
|
3569
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3570
|
+
interface BlogPaging {
|
|
3571
|
+
/**
|
|
3572
|
+
* Number of items to skip in the current sort order.
|
|
3573
|
+
*
|
|
3574
|
+
*
|
|
3575
|
+
* Default: `0`
|
|
3576
|
+
*/
|
|
3577
|
+
offset?: number;
|
|
3578
|
+
/**
|
|
3579
|
+
* Number of items to return.
|
|
3580
|
+
*
|
|
3581
|
+
*
|
|
3582
|
+
* Default:`50`
|
|
3583
|
+
* @min 1
|
|
3584
|
+
* @max 100
|
|
3585
|
+
*/
|
|
3586
|
+
limit?: number;
|
|
3587
|
+
/**
|
|
3588
|
+
* Pointer to the next or previous page in the list of results.
|
|
3589
|
+
* @maxLength 2000
|
|
3590
|
+
*/
|
|
3591
|
+
cursor?: string | null;
|
|
3592
|
+
}
|
|
3593
|
+
declare enum PostFieldField {
|
|
3594
|
+
UNKNOWN = "UNKNOWN",
|
|
3595
|
+
/** Includes post URL when present. */
|
|
3596
|
+
URL = "URL",
|
|
3597
|
+
/** Includes post content text string when present. */
|
|
3598
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3599
|
+
/** Includes post metrics when present. */
|
|
3600
|
+
METRICS = "METRICS",
|
|
3601
|
+
/** Includes SEO data. */
|
|
3602
|
+
SEO = "SEO",
|
|
3603
|
+
/** Includes post owner's contact ID. */
|
|
3604
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3605
|
+
/** Includes post rich content. */
|
|
3606
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3607
|
+
/** Includes post reference ID field. */
|
|
3608
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3609
|
+
}
|
|
3610
|
+
/** @enumType */
|
|
3611
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3612
|
+
interface ListDemoPostsResponse {
|
|
3613
|
+
/** List of posts. */
|
|
3614
|
+
posts?: Post[];
|
|
3615
|
+
/** Details on the paged set of results returned. */
|
|
3616
|
+
metaData?: MetaData;
|
|
3617
|
+
}
|
|
3618
|
+
interface MetaData {
|
|
3619
|
+
/** Number of items returned in this response. */
|
|
3620
|
+
count?: number;
|
|
3621
|
+
/** Requested offset. */
|
|
3622
|
+
offset?: number;
|
|
3623
|
+
/** Total number of items that match the query. */
|
|
3624
|
+
total?: number;
|
|
3625
|
+
/**
|
|
3626
|
+
* Pointer to the next or previous page in the list of results.
|
|
3627
|
+
* @maxLength 2000
|
|
3628
|
+
*/
|
|
3629
|
+
cursor?: string | null;
|
|
3630
|
+
}
|
|
3450
3631
|
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3451
3632
|
/**
|
|
3452
3633
|
* Member ID of person who triggered the counter update
|
|
@@ -3516,25 +3697,6 @@ interface GetPostRequest {
|
|
|
3516
3697
|
*/
|
|
3517
3698
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3518
3699
|
}
|
|
3519
|
-
declare enum PostFieldField {
|
|
3520
|
-
UNKNOWN = "UNKNOWN",
|
|
3521
|
-
/** Includes post URL when present. */
|
|
3522
|
-
URL = "URL",
|
|
3523
|
-
/** Includes post content text string when present. */
|
|
3524
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3525
|
-
/** Includes post metrics when present. */
|
|
3526
|
-
METRICS = "METRICS",
|
|
3527
|
-
/** Includes SEO data. */
|
|
3528
|
-
SEO = "SEO",
|
|
3529
|
-
/** Includes post owner's contact ID. */
|
|
3530
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3531
|
-
/** Includes post rich content. */
|
|
3532
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3533
|
-
/** Includes post reference ID field. */
|
|
3534
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3535
|
-
}
|
|
3536
|
-
/** @enumType */
|
|
3537
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3538
3700
|
interface GetPostResponse {
|
|
3539
3701
|
/** Retrieved post info. */
|
|
3540
3702
|
post?: Post;
|
|
@@ -3627,66 +3789,12 @@ interface ListPostsRequest {
|
|
|
3627
3789
|
*/
|
|
3628
3790
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3629
3791
|
}
|
|
3630
|
-
declare enum GetPostsSort {
|
|
3631
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3632
|
-
FEED = "FEED",
|
|
3633
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3634
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3635
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3636
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3637
|
-
/** Ordered by total number of views in descending order. */
|
|
3638
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3639
|
-
/** Ordered by total number of likes in descending order. */
|
|
3640
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3641
|
-
/** Ordered by `title` in ascending order. */
|
|
3642
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3643
|
-
/** Ordered by `title` in descending order. */
|
|
3644
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3645
|
-
}
|
|
3646
|
-
/** @enumType */
|
|
3647
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3648
|
-
interface BlogPaging {
|
|
3649
|
-
/**
|
|
3650
|
-
* Number of items to skip in the current sort order.
|
|
3651
|
-
*
|
|
3652
|
-
*
|
|
3653
|
-
* Default: `0`
|
|
3654
|
-
*/
|
|
3655
|
-
offset?: number;
|
|
3656
|
-
/**
|
|
3657
|
-
* Number of items to return.
|
|
3658
|
-
*
|
|
3659
|
-
*
|
|
3660
|
-
* Default:`50`
|
|
3661
|
-
* @min 1
|
|
3662
|
-
* @max 100
|
|
3663
|
-
*/
|
|
3664
|
-
limit?: number;
|
|
3665
|
-
/**
|
|
3666
|
-
* Pointer to the next or previous page in the list of results.
|
|
3667
|
-
* @maxLength 2000
|
|
3668
|
-
*/
|
|
3669
|
-
cursor?: string | null;
|
|
3670
|
-
}
|
|
3671
3792
|
interface ListPostsResponse {
|
|
3672
3793
|
/** List of retrieved posts. */
|
|
3673
3794
|
posts?: Post[];
|
|
3674
3795
|
/** Details on the paged set of results returned. */
|
|
3675
3796
|
metaData?: MetaData;
|
|
3676
3797
|
}
|
|
3677
|
-
interface MetaData {
|
|
3678
|
-
/** Number of items returned in this response. */
|
|
3679
|
-
count?: number;
|
|
3680
|
-
/** Requested offset. */
|
|
3681
|
-
offset?: number;
|
|
3682
|
-
/** Total number of items that match the query. */
|
|
3683
|
-
total?: number;
|
|
3684
|
-
/**
|
|
3685
|
-
* Pointer to the next or previous page in the list of results.
|
|
3686
|
-
* @maxLength 2000
|
|
3687
|
-
*/
|
|
3688
|
-
cursor?: string | null;
|
|
3689
|
-
}
|
|
3690
3798
|
interface QueryPostsRequest {
|
|
3691
3799
|
/** Query options. */
|
|
3692
3800
|
query?: PlatformQuery;
|
|
@@ -4041,99 +4149,6 @@ interface PostCount {
|
|
|
4041
4149
|
/** Number of posts. */
|
|
4042
4150
|
postCount?: number;
|
|
4043
4151
|
}
|
|
4044
|
-
interface ListDemoPostsRequest {
|
|
4045
|
-
/**
|
|
4046
|
-
* Whether to return only featured posts.
|
|
4047
|
-
*
|
|
4048
|
-
* Default: `false`
|
|
4049
|
-
*/
|
|
4050
|
-
featured?: boolean;
|
|
4051
|
-
/**
|
|
4052
|
-
* Hashtag filter.
|
|
4053
|
-
*
|
|
4054
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
4055
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
4056
|
-
* @maxSize 100
|
|
4057
|
-
* @maxLength 100
|
|
4058
|
-
*/
|
|
4059
|
-
hashtags?: string[];
|
|
4060
|
-
/**
|
|
4061
|
-
* Category filter.
|
|
4062
|
-
*
|
|
4063
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
4064
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
4065
|
-
* @maxSize 50
|
|
4066
|
-
* @format GUID
|
|
4067
|
-
*/
|
|
4068
|
-
categoryIds?: string[];
|
|
4069
|
-
/**
|
|
4070
|
-
* Tag filter.
|
|
4071
|
-
*
|
|
4072
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
4073
|
-
* If omitted, all posts with or without tags are returned.
|
|
4074
|
-
* @maxSize 50
|
|
4075
|
-
* @format GUID
|
|
4076
|
-
*/
|
|
4077
|
-
tagIds?: string[];
|
|
4078
|
-
/**
|
|
4079
|
-
* Sorting options.
|
|
4080
|
-
*
|
|
4081
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
4082
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
4083
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
4084
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
4085
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
4086
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
4087
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
4088
|
-
* - `RATING`: reserved for internal use.
|
|
4089
|
-
*
|
|
4090
|
-
* Default: `FEED`
|
|
4091
|
-
*/
|
|
4092
|
-
sort?: GetPostsSortWithLiterals;
|
|
4093
|
-
/** Pagination options. */
|
|
4094
|
-
paging?: BlogPaging;
|
|
4095
|
-
/**
|
|
4096
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
4097
|
-
* This parameter will be removed on June 30, 2023.
|
|
4098
|
-
*
|
|
4099
|
-
* List of post fields to be included in the response.
|
|
4100
|
-
* @maxSize 20
|
|
4101
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4102
|
-
* This parameter will be removed on June 30, 2023.
|
|
4103
|
-
*
|
|
4104
|
-
* List of post fields to be included in the response.
|
|
4105
|
-
* @replacedBy fieldsets
|
|
4106
|
-
* @targetRemovalDate 2024-06-30
|
|
4107
|
-
*/
|
|
4108
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4109
|
-
/**
|
|
4110
|
-
* Language filter.
|
|
4111
|
-
*
|
|
4112
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4113
|
-
* Pass a language to only receive posts that are in that language.
|
|
4114
|
-
* If omitted, posts in all languages are returned.
|
|
4115
|
-
* @format LANGUAGE_TAG
|
|
4116
|
-
*/
|
|
4117
|
-
language?: string | null;
|
|
4118
|
-
/**
|
|
4119
|
-
* Post owner's member ID.
|
|
4120
|
-
* @format GUID
|
|
4121
|
-
*/
|
|
4122
|
-
memberId?: string | null;
|
|
4123
|
-
/**
|
|
4124
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4125
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4126
|
-
* only the post’s base fields are returned.
|
|
4127
|
-
* @maxSize 20
|
|
4128
|
-
*/
|
|
4129
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4130
|
-
}
|
|
4131
|
-
interface ListDemoPostsResponse {
|
|
4132
|
-
/** List of posts. */
|
|
4133
|
-
posts?: Post[];
|
|
4134
|
-
/** Details on the paged set of results returned. */
|
|
4135
|
-
metaData?: MetaData;
|
|
4136
|
-
}
|
|
4137
4152
|
|
|
4138
4153
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4139
4154
|
getUrl: (context: any) => string;
|
package/build/es/meta.mjs
CHANGED
|
@@ -1580,14 +1580,17 @@ var Order = /* @__PURE__ */ ((Order2) => {
|
|
|
1580
1580
|
Order2["NEWEST"] = "NEWEST";
|
|
1581
1581
|
return Order2;
|
|
1582
1582
|
})(Order || {});
|
|
1583
|
-
var
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1583
|
+
var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
|
|
1584
|
+
GetPostsSort2["FEED"] = "FEED";
|
|
1585
|
+
GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1586
|
+
GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
1587
|
+
GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1588
|
+
GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1589
|
+
GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
|
|
1590
|
+
GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
|
|
1591
|
+
GetPostsSort2["RATING"] = "RATING";
|
|
1592
|
+
return GetPostsSort2;
|
|
1593
|
+
})(GetPostsSort || {});
|
|
1591
1594
|
var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
1592
1595
|
PostFieldField2["UNKNOWN"] = "UNKNOWN";
|
|
1593
1596
|
PostFieldField2["COUNTERS"] = "COUNTERS";
|
|
@@ -1611,17 +1614,14 @@ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
|
1611
1614
|
PostFieldField2["IMAGE"] = "IMAGE";
|
|
1612
1615
|
return PostFieldField2;
|
|
1613
1616
|
})(PostFieldField || {});
|
|
1614
|
-
var
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
GetPostsSort2["RATING"] = "RATING";
|
|
1623
|
-
return GetPostsSort2;
|
|
1624
|
-
})(GetPostsSort || {});
|
|
1617
|
+
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1618
|
+
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1619
|
+
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1620
|
+
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1621
|
+
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1622
|
+
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1623
|
+
return Field2;
|
|
1624
|
+
})(Field || {});
|
|
1625
1625
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1626
1626
|
SortOrder2["ASC"] = "ASC";
|
|
1627
1627
|
SortOrder2["DESC"] = "DESC";
|