@wix/auto_sdk_blog_posts 1.0.170 → 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.js +19 -19
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +175 -167
- package/build/cjs/index.typings.js +19 -19
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +175 -167
- package/build/cjs/meta.js +19 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2 -2
- package/build/cjs/schemas.js +4 -4
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +19 -19
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +175 -167
- package/build/es/index.typings.mjs +19 -19
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +175 -167
- package/build/es/meta.mjs +19 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2 -2
- package/build/es/schemas.mjs +4 -4
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +19 -19
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +229 -221
- package/build/internal/cjs/index.typings.js +19 -19
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +229 -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 +2 -2
- package/build/internal/cjs/schemas.js +4 -4
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +19 -19
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +229 -221
- package/build/internal/es/index.typings.mjs +19 -19
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +229 -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 +2 -2
- package/build/internal/es/schemas.mjs +4 -4
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -230,7 +230,15 @@ interface Tag {
|
|
|
230
230
|
meta?: Record<string, any> | null;
|
|
231
231
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
232
232
|
children?: string;
|
|
233
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
|
|
235
|
+
*
|
|
236
|
+
* Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
|
|
237
|
+
* only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
|
|
238
|
+
* or Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For
|
|
239
|
+
* those pages `false` therefore does not mean "not a custom tag" — it means this API could not tell.
|
|
240
|
+
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
241
|
+
*/
|
|
234
242
|
custom?: boolean;
|
|
235
243
|
/** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
|
|
236
244
|
disabled?: boolean;
|
|
@@ -3401,6 +3409,172 @@ interface GetTotalPostsResponse {
|
|
|
3401
3409
|
/** Total amount of published posts. */
|
|
3402
3410
|
total?: number;
|
|
3403
3411
|
}
|
|
3412
|
+
interface ListDemoPostsRequest {
|
|
3413
|
+
/**
|
|
3414
|
+
* Whether to return only featured posts.
|
|
3415
|
+
*
|
|
3416
|
+
* Default: `false`
|
|
3417
|
+
*/
|
|
3418
|
+
featured?: boolean;
|
|
3419
|
+
/**
|
|
3420
|
+
* Hashtag filter.
|
|
3421
|
+
*
|
|
3422
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3423
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3424
|
+
* @maxSize 100
|
|
3425
|
+
* @maxLength 100
|
|
3426
|
+
*/
|
|
3427
|
+
hashtags?: string[];
|
|
3428
|
+
/**
|
|
3429
|
+
* Category filter.
|
|
3430
|
+
*
|
|
3431
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3432
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3433
|
+
* @maxSize 50
|
|
3434
|
+
* @format GUID
|
|
3435
|
+
*/
|
|
3436
|
+
categoryIds?: string[];
|
|
3437
|
+
/**
|
|
3438
|
+
* Tag filter.
|
|
3439
|
+
*
|
|
3440
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3441
|
+
* If omitted, all posts with or without tags are returned.
|
|
3442
|
+
* @maxSize 50
|
|
3443
|
+
* @format GUID
|
|
3444
|
+
*/
|
|
3445
|
+
tagIds?: string[];
|
|
3446
|
+
/**
|
|
3447
|
+
* Sorting options.
|
|
3448
|
+
*
|
|
3449
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3450
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3451
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3452
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3453
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3454
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3455
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3456
|
+
* - `RATING`: reserved for internal use.
|
|
3457
|
+
*
|
|
3458
|
+
* Default: `FEED`
|
|
3459
|
+
*/
|
|
3460
|
+
sort?: GetPostsSortWithLiterals;
|
|
3461
|
+
/** Pagination options. */
|
|
3462
|
+
paging?: BlogPaging;
|
|
3463
|
+
/**
|
|
3464
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3465
|
+
* This parameter will be removed on June 30, 2023.
|
|
3466
|
+
*
|
|
3467
|
+
* List of post fields to be included in the response.
|
|
3468
|
+
* @maxSize 20
|
|
3469
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3470
|
+
* This parameter will be removed on June 30, 2023.
|
|
3471
|
+
*
|
|
3472
|
+
* List of post fields to be included in the response.
|
|
3473
|
+
* @replacedBy fieldsets
|
|
3474
|
+
* @targetRemovalDate 2024-06-30
|
|
3475
|
+
*/
|
|
3476
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3477
|
+
/**
|
|
3478
|
+
* Language filter.
|
|
3479
|
+
*
|
|
3480
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3481
|
+
* Pass a language to only receive posts that are in that language.
|
|
3482
|
+
* If omitted, posts in all languages are returned.
|
|
3483
|
+
* @format LANGUAGE_TAG
|
|
3484
|
+
*/
|
|
3485
|
+
language?: string | null;
|
|
3486
|
+
/**
|
|
3487
|
+
* Post owner's member ID.
|
|
3488
|
+
* @format GUID
|
|
3489
|
+
*/
|
|
3490
|
+
memberId?: string | null;
|
|
3491
|
+
/**
|
|
3492
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3493
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3494
|
+
* only the post’s base fields are returned.
|
|
3495
|
+
* @maxSize 20
|
|
3496
|
+
*/
|
|
3497
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3498
|
+
}
|
|
3499
|
+
declare enum GetPostsSort {
|
|
3500
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3501
|
+
FEED = "FEED",
|
|
3502
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3503
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3504
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3505
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3506
|
+
/** Ordered by total number of views in descending order. */
|
|
3507
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3508
|
+
/** Ordered by total number of likes in descending order. */
|
|
3509
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3510
|
+
/** Ordered by `title` in ascending order. */
|
|
3511
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3512
|
+
/** Ordered by `title` in descending order. */
|
|
3513
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3514
|
+
}
|
|
3515
|
+
/** @enumType */
|
|
3516
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3517
|
+
interface BlogPaging {
|
|
3518
|
+
/**
|
|
3519
|
+
* Number of items to skip in the current sort order.
|
|
3520
|
+
*
|
|
3521
|
+
*
|
|
3522
|
+
* Default: `0`
|
|
3523
|
+
*/
|
|
3524
|
+
offset?: number;
|
|
3525
|
+
/**
|
|
3526
|
+
* Number of items to return.
|
|
3527
|
+
*
|
|
3528
|
+
*
|
|
3529
|
+
* Default:`50`
|
|
3530
|
+
* @min 1
|
|
3531
|
+
* @max 100
|
|
3532
|
+
*/
|
|
3533
|
+
limit?: number;
|
|
3534
|
+
/**
|
|
3535
|
+
* Pointer to the next or previous page in the list of results.
|
|
3536
|
+
* @maxLength 2000
|
|
3537
|
+
*/
|
|
3538
|
+
cursor?: string | null;
|
|
3539
|
+
}
|
|
3540
|
+
declare enum PostFieldField {
|
|
3541
|
+
UNKNOWN = "UNKNOWN",
|
|
3542
|
+
/** Includes post URL when present. */
|
|
3543
|
+
URL = "URL",
|
|
3544
|
+
/** Includes post content text string when present. */
|
|
3545
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3546
|
+
/** Includes post metrics when present. */
|
|
3547
|
+
METRICS = "METRICS",
|
|
3548
|
+
/** Includes SEO data. */
|
|
3549
|
+
SEO = "SEO",
|
|
3550
|
+
/** Includes post owner's contact ID. */
|
|
3551
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3552
|
+
/** Includes post rich content. */
|
|
3553
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3554
|
+
/** Includes post reference ID field. */
|
|
3555
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3556
|
+
}
|
|
3557
|
+
/** @enumType */
|
|
3558
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3559
|
+
interface ListDemoPostsResponse {
|
|
3560
|
+
/** List of posts. */
|
|
3561
|
+
posts?: Post[];
|
|
3562
|
+
/** Details on the paged set of results returned. */
|
|
3563
|
+
metaData?: MetaData;
|
|
3564
|
+
}
|
|
3565
|
+
interface MetaData {
|
|
3566
|
+
/** Number of items returned in this response. */
|
|
3567
|
+
count?: number;
|
|
3568
|
+
/** Requested offset. */
|
|
3569
|
+
offset?: number;
|
|
3570
|
+
/** Total number of items that match the query. */
|
|
3571
|
+
total?: number;
|
|
3572
|
+
/**
|
|
3573
|
+
* Pointer to the next or previous page in the list of results.
|
|
3574
|
+
* @maxLength 2000
|
|
3575
|
+
*/
|
|
3576
|
+
cursor?: string | null;
|
|
3577
|
+
}
|
|
3404
3578
|
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3405
3579
|
/**
|
|
3406
3580
|
* Member ID of person who triggered the counter update
|
|
@@ -3470,25 +3644,6 @@ interface GetPostRequest {
|
|
|
3470
3644
|
*/
|
|
3471
3645
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3472
3646
|
}
|
|
3473
|
-
declare enum PostFieldField {
|
|
3474
|
-
UNKNOWN = "UNKNOWN",
|
|
3475
|
-
/** Includes post URL when present. */
|
|
3476
|
-
URL = "URL",
|
|
3477
|
-
/** Includes post content text string when present. */
|
|
3478
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3479
|
-
/** Includes post metrics when present. */
|
|
3480
|
-
METRICS = "METRICS",
|
|
3481
|
-
/** Includes SEO data. */
|
|
3482
|
-
SEO = "SEO",
|
|
3483
|
-
/** Includes post owner's contact ID. */
|
|
3484
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3485
|
-
/** Includes post rich content. */
|
|
3486
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3487
|
-
/** Includes post reference ID field. */
|
|
3488
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3489
|
-
}
|
|
3490
|
-
/** @enumType */
|
|
3491
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3492
3647
|
interface GetPostResponse {
|
|
3493
3648
|
/** Retrieved post info. */
|
|
3494
3649
|
post?: Post;
|
|
@@ -3581,66 +3736,12 @@ interface ListPostsRequest {
|
|
|
3581
3736
|
*/
|
|
3582
3737
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3583
3738
|
}
|
|
3584
|
-
declare enum GetPostsSort {
|
|
3585
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3586
|
-
FEED = "FEED",
|
|
3587
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3588
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3589
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3590
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3591
|
-
/** Ordered by total number of views in descending order. */
|
|
3592
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3593
|
-
/** Ordered by total number of likes in descending order. */
|
|
3594
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3595
|
-
/** Ordered by `title` in ascending order. */
|
|
3596
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3597
|
-
/** Ordered by `title` in descending order. */
|
|
3598
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3599
|
-
}
|
|
3600
|
-
/** @enumType */
|
|
3601
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3602
|
-
interface BlogPaging {
|
|
3603
|
-
/**
|
|
3604
|
-
* Number of items to skip in the current sort order.
|
|
3605
|
-
*
|
|
3606
|
-
*
|
|
3607
|
-
* Default: `0`
|
|
3608
|
-
*/
|
|
3609
|
-
offset?: number;
|
|
3610
|
-
/**
|
|
3611
|
-
* Number of items to return.
|
|
3612
|
-
*
|
|
3613
|
-
*
|
|
3614
|
-
* Default:`50`
|
|
3615
|
-
* @min 1
|
|
3616
|
-
* @max 100
|
|
3617
|
-
*/
|
|
3618
|
-
limit?: number;
|
|
3619
|
-
/**
|
|
3620
|
-
* Pointer to the next or previous page in the list of results.
|
|
3621
|
-
* @maxLength 2000
|
|
3622
|
-
*/
|
|
3623
|
-
cursor?: string | null;
|
|
3624
|
-
}
|
|
3625
3739
|
interface ListPostsResponse {
|
|
3626
3740
|
/** List of retrieved posts. */
|
|
3627
3741
|
posts?: Post[];
|
|
3628
3742
|
/** Details on the paged set of results returned. */
|
|
3629
3743
|
metaData?: MetaData;
|
|
3630
3744
|
}
|
|
3631
|
-
interface MetaData {
|
|
3632
|
-
/** Number of items returned in this response. */
|
|
3633
|
-
count?: number;
|
|
3634
|
-
/** Requested offset. */
|
|
3635
|
-
offset?: number;
|
|
3636
|
-
/** Total number of items that match the query. */
|
|
3637
|
-
total?: number;
|
|
3638
|
-
/**
|
|
3639
|
-
* Pointer to the next or previous page in the list of results.
|
|
3640
|
-
* @maxLength 2000
|
|
3641
|
-
*/
|
|
3642
|
-
cursor?: string | null;
|
|
3643
|
-
}
|
|
3644
3745
|
interface QueryPostsRequest {
|
|
3645
3746
|
/** Query options. */
|
|
3646
3747
|
query?: PlatformQuery;
|
|
@@ -3995,99 +4096,6 @@ interface PostCount {
|
|
|
3995
4096
|
/** Number of posts. */
|
|
3996
4097
|
postCount?: number;
|
|
3997
4098
|
}
|
|
3998
|
-
interface ListDemoPostsRequest {
|
|
3999
|
-
/**
|
|
4000
|
-
* Whether to return only featured posts.
|
|
4001
|
-
*
|
|
4002
|
-
* Default: `false`
|
|
4003
|
-
*/
|
|
4004
|
-
featured?: boolean;
|
|
4005
|
-
/**
|
|
4006
|
-
* Hashtag filter.
|
|
4007
|
-
*
|
|
4008
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
4009
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
4010
|
-
* @maxSize 100
|
|
4011
|
-
* @maxLength 100
|
|
4012
|
-
*/
|
|
4013
|
-
hashtags?: string[];
|
|
4014
|
-
/**
|
|
4015
|
-
* Category filter.
|
|
4016
|
-
*
|
|
4017
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
4018
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
4019
|
-
* @maxSize 50
|
|
4020
|
-
* @format GUID
|
|
4021
|
-
*/
|
|
4022
|
-
categoryIds?: string[];
|
|
4023
|
-
/**
|
|
4024
|
-
* Tag filter.
|
|
4025
|
-
*
|
|
4026
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
4027
|
-
* If omitted, all posts with or without tags are returned.
|
|
4028
|
-
* @maxSize 50
|
|
4029
|
-
* @format GUID
|
|
4030
|
-
*/
|
|
4031
|
-
tagIds?: string[];
|
|
4032
|
-
/**
|
|
4033
|
-
* Sorting options.
|
|
4034
|
-
*
|
|
4035
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
4036
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
4037
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
4038
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
4039
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
4040
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
4041
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
4042
|
-
* - `RATING`: reserved for internal use.
|
|
4043
|
-
*
|
|
4044
|
-
* Default: `FEED`
|
|
4045
|
-
*/
|
|
4046
|
-
sort?: GetPostsSortWithLiterals;
|
|
4047
|
-
/** Pagination options. */
|
|
4048
|
-
paging?: BlogPaging;
|
|
4049
|
-
/**
|
|
4050
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
4051
|
-
* This parameter will be removed on June 30, 2023.
|
|
4052
|
-
*
|
|
4053
|
-
* List of post fields to be included in the response.
|
|
4054
|
-
* @maxSize 20
|
|
4055
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4056
|
-
* This parameter will be removed on June 30, 2023.
|
|
4057
|
-
*
|
|
4058
|
-
* List of post fields to be included in the response.
|
|
4059
|
-
* @replacedBy fieldsets
|
|
4060
|
-
* @targetRemovalDate 2024-06-30
|
|
4061
|
-
*/
|
|
4062
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4063
|
-
/**
|
|
4064
|
-
* Language filter.
|
|
4065
|
-
*
|
|
4066
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4067
|
-
* Pass a language to only receive posts that are in that language.
|
|
4068
|
-
* If omitted, posts in all languages are returned.
|
|
4069
|
-
* @format LANGUAGE_TAG
|
|
4070
|
-
*/
|
|
4071
|
-
language?: string | null;
|
|
4072
|
-
/**
|
|
4073
|
-
* Post owner's member ID.
|
|
4074
|
-
* @format GUID
|
|
4075
|
-
*/
|
|
4076
|
-
memberId?: string | null;
|
|
4077
|
-
/**
|
|
4078
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4079
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4080
|
-
* only the post’s base fields are returned.
|
|
4081
|
-
* @maxSize 20
|
|
4082
|
-
*/
|
|
4083
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4084
|
-
}
|
|
4085
|
-
interface ListDemoPostsResponse {
|
|
4086
|
-
/** List of posts. */
|
|
4087
|
-
posts?: Post[];
|
|
4088
|
-
/** Details on the paged set of results returned. */
|
|
4089
|
-
metaData?: MetaData;
|
|
4090
|
-
}
|
|
4091
4099
|
interface BaseEventMetadata {
|
|
4092
4100
|
/**
|
|
4093
4101
|
* App instance ID.
|
|
@@ -1693,14 +1693,17 @@ var Order = /* @__PURE__ */ ((Order2) => {
|
|
|
1693
1693
|
Order2["NEWEST"] = "NEWEST";
|
|
1694
1694
|
return Order2;
|
|
1695
1695
|
})(Order || {});
|
|
1696
|
-
var
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1696
|
+
var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
|
|
1697
|
+
GetPostsSort2["FEED"] = "FEED";
|
|
1698
|
+
GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1699
|
+
GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
1700
|
+
GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1701
|
+
GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1702
|
+
GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
|
|
1703
|
+
GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
|
|
1704
|
+
GetPostsSort2["RATING"] = "RATING";
|
|
1705
|
+
return GetPostsSort2;
|
|
1706
|
+
})(GetPostsSort || {});
|
|
1704
1707
|
var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
1705
1708
|
PostFieldField2["UNKNOWN"] = "UNKNOWN";
|
|
1706
1709
|
PostFieldField2["COUNTERS"] = "COUNTERS";
|
|
@@ -1724,17 +1727,14 @@ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
|
1724
1727
|
PostFieldField2["IMAGE"] = "IMAGE";
|
|
1725
1728
|
return PostFieldField2;
|
|
1726
1729
|
})(PostFieldField || {});
|
|
1727
|
-
var
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
GetPostsSort2["RATING"] = "RATING";
|
|
1736
|
-
return GetPostsSort2;
|
|
1737
|
-
})(GetPostsSort || {});
|
|
1730
|
+
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1731
|
+
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1732
|
+
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1733
|
+
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1734
|
+
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1735
|
+
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1736
|
+
return Field2;
|
|
1737
|
+
})(Field || {});
|
|
1738
1738
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1739
1739
|
SortOrder2["ASC"] = "ASC";
|
|
1740
1740
|
SortOrder2["DESC"] = "DESC";
|