@wix/blog 1.0.316 → 1.0.317
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.317",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@wix/blog_blog-cache": "1.0.10",
|
|
25
25
|
"@wix/blog_blog-importer": "1.0.23",
|
|
26
26
|
"@wix/blog_categories": "1.0.49",
|
|
27
|
-
"@wix/blog_draft-posts": "1.0.
|
|
28
|
-
"@wix/blog_posts": "1.0.
|
|
27
|
+
"@wix/blog_draft-posts": "1.0.50",
|
|
28
|
+
"@wix/blog_posts": "1.0.56",
|
|
29
29
|
"@wix/blog_tags": "1.0.46"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"fqdn": ""
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "b17913da37e960c9ed20cda6c03213c04c5e8bb3ae93c3f93940a9c8"
|
|
55
55
|
}
|
|
@@ -3945,6 +3945,7 @@ declare enum Type$1 {
|
|
|
3945
3945
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
3946
3946
|
}
|
|
3947
3947
|
declare enum Field$2 {
|
|
3948
|
+
/** Unknown field. */
|
|
3948
3949
|
UNKNOWN = "UNKNOWN",
|
|
3949
3950
|
/** Includes draft post preview URL. */
|
|
3950
3951
|
URL = "URL",
|
|
@@ -4049,19 +4050,19 @@ interface MaskedDraftPosts {
|
|
|
4049
4050
|
draftPost?: DraftPost$1;
|
|
4050
4051
|
}
|
|
4051
4052
|
declare enum Action {
|
|
4052
|
-
/** Update draft post
|
|
4053
|
+
/** Update the draft post. */
|
|
4053
4054
|
UPDATE = "UPDATE",
|
|
4054
|
-
/** Update and publish draft post. */
|
|
4055
|
+
/** Update and publish a draft post. */
|
|
4055
4056
|
UPDATE_PUBLISH = "UPDATE_PUBLISH",
|
|
4056
|
-
/** Update and schedule
|
|
4057
|
+
/** Update the draft post and schedule a publish date. */
|
|
4057
4058
|
UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
|
|
4058
|
-
/** Update and revert to draft
|
|
4059
|
+
/** Update the post and revert it to draft. */
|
|
4059
4060
|
UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
|
|
4060
|
-
/** Update draft and cancel
|
|
4061
|
+
/** Update the draft post and cancel the scheduled publish date. */
|
|
4061
4062
|
UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
|
|
4062
|
-
/** Update and reject draft post
|
|
4063
|
+
/** Update and reject draft post. */
|
|
4063
4064
|
UPDATE_REJECT = "UPDATE_REJECT",
|
|
4064
|
-
/** Update published draft post. */
|
|
4065
|
+
/** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
|
|
4065
4066
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
4066
4067
|
}
|
|
4067
4068
|
interface BulkUpdateDraftPostsResponse {
|
|
@@ -4083,9 +4084,6 @@ interface ListDeletedDraftPostsRequest {
|
|
|
4083
4084
|
/**
|
|
4084
4085
|
* Sorting options.
|
|
4085
4086
|
*
|
|
4086
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
4087
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
4088
|
-
*
|
|
4089
4087
|
* Default: `EDITING_DATE_DESCENDING`
|
|
4090
4088
|
*/
|
|
4091
4089
|
sort?: GetDraftPostsSort;
|
|
@@ -4101,9 +4099,9 @@ interface ListDeletedDraftPostsRequest {
|
|
|
4101
4099
|
draftPostIds?: string[];
|
|
4102
4100
|
}
|
|
4103
4101
|
declare enum GetDraftPostsSort {
|
|
4104
|
-
/**
|
|
4102
|
+
/** Sort by `editedDate` in descending order. */
|
|
4105
4103
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
4106
|
-
/**
|
|
4104
|
+
/** Sort by `editedDate` in ascending order. */
|
|
4107
4105
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
4108
4106
|
}
|
|
4109
4107
|
interface BlogPaging$1 {
|
|
@@ -4187,14 +4185,6 @@ interface UpdateDraftPostRequest {
|
|
|
4187
4185
|
/**
|
|
4188
4186
|
* Action to perform on the post.
|
|
4189
4187
|
*
|
|
4190
|
-
* - `UPDATE`: Update the draft post.
|
|
4191
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
4192
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
4193
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
4194
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
4195
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
4196
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
4197
|
-
*
|
|
4198
4188
|
* Default: `UPDATE`
|
|
4199
4189
|
*/
|
|
4200
4190
|
action?: Action;
|
|
@@ -4259,9 +4249,6 @@ interface ListDraftPostsRequest {
|
|
|
4259
4249
|
/**
|
|
4260
4250
|
* Sort options.
|
|
4261
4251
|
*
|
|
4262
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
4263
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
4264
|
-
*
|
|
4265
4252
|
* Default: `EDITING_DATE_DESCENDING`
|
|
4266
4253
|
*/
|
|
4267
4254
|
sort?: GetDraftPostsSort;
|
|
@@ -5305,9 +5292,6 @@ interface ListDeletedDraftPostsOptions {
|
|
|
5305
5292
|
/**
|
|
5306
5293
|
* Sorting options.
|
|
5307
5294
|
*
|
|
5308
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
5309
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
5310
|
-
*
|
|
5311
5295
|
* Default: `EDITING_DATE_DESCENDING`
|
|
5312
5296
|
*/
|
|
5313
5297
|
sort?: GetDraftPostsSort;
|
|
@@ -5467,14 +5451,6 @@ interface UpdateDraftPostOptions {
|
|
|
5467
5451
|
/**
|
|
5468
5452
|
* Action to perform on the post.
|
|
5469
5453
|
*
|
|
5470
|
-
* - `UPDATE`: Update the draft post.
|
|
5471
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
5472
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
5473
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
5474
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
5475
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
5476
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
5477
|
-
*
|
|
5478
5454
|
* Default: `UPDATE`
|
|
5479
5455
|
*/
|
|
5480
5456
|
action?: Action;
|
|
@@ -5517,9 +5493,6 @@ interface ListDraftPostsOptions {
|
|
|
5517
5493
|
/**
|
|
5518
5494
|
* Sort options.
|
|
5519
5495
|
*
|
|
5520
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
5521
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
5522
|
-
*
|
|
5523
5496
|
* Default: `EDITING_DATE_DESCENDING`
|
|
5524
5497
|
*/
|
|
5525
5498
|
sort?: GetDraftPostsSort;
|
|
@@ -7696,19 +7669,19 @@ interface ListDemoPostsRequest {
|
|
|
7696
7669
|
fieldsets?: PostFieldField[];
|
|
7697
7670
|
}
|
|
7698
7671
|
declare enum GetPostsSort {
|
|
7699
|
-
/**
|
|
7672
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
7700
7673
|
FEED = "FEED",
|
|
7701
|
-
/**
|
|
7674
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
7702
7675
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
7703
|
-
/**
|
|
7676
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
7704
7677
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
7705
|
-
/**
|
|
7678
|
+
/** Ordered by total number of views in descending order. */
|
|
7706
7679
|
VIEW_COUNT = "VIEW_COUNT",
|
|
7707
|
-
/**
|
|
7680
|
+
/** Ordered by total number of likes in descending order. */
|
|
7708
7681
|
LIKE_COUNT = "LIKE_COUNT",
|
|
7709
|
-
/**
|
|
7682
|
+
/** Ordered by `title` in ascening order. */
|
|
7710
7683
|
TITLE_ASC = "TITLE_ASC",
|
|
7711
|
-
/**
|
|
7684
|
+
/** Ordered by `title` in descending order. */
|
|
7712
7685
|
TITLE_DESC = "TITLE_DESC"
|
|
7713
7686
|
}
|
|
7714
7687
|
interface BlogPaging {
|
|
@@ -7731,17 +7704,17 @@ interface BlogPaging {
|
|
|
7731
7704
|
}
|
|
7732
7705
|
declare enum PostFieldField {
|
|
7733
7706
|
UNKNOWN = "UNKNOWN",
|
|
7734
|
-
/** Includes Post url when present */
|
|
7707
|
+
/** Includes Post url when present. */
|
|
7735
7708
|
URL = "URL",
|
|
7736
|
-
/** Includes Post content text string when present */
|
|
7709
|
+
/** Includes Post content text string when present. */
|
|
7737
7710
|
CONTENT_TEXT = "CONTENT_TEXT",
|
|
7738
|
-
/** Includes Post metrics when present */
|
|
7711
|
+
/** Includes Post metrics when present. */
|
|
7739
7712
|
METRICS = "METRICS",
|
|
7740
|
-
/** Includes SEO data */
|
|
7713
|
+
/** Includes SEO data. */
|
|
7741
7714
|
SEO = "SEO",
|
|
7742
|
-
/** Includes post owners Contact Id */
|
|
7715
|
+
/** Includes post owners Contact Id. */
|
|
7743
7716
|
CONTACT_ID = "CONTACT_ID",
|
|
7744
|
-
/** Includes post rich content */
|
|
7717
|
+
/** Includes post rich content. */
|
|
7745
7718
|
RICH_CONTENT = "RICH_CONTENT"
|
|
7746
7719
|
}
|
|
7747
7720
|
interface ListDemoPostsResponse {
|
|
@@ -7777,9 +7750,9 @@ interface ListTemplatesRequest {
|
|
|
7777
7750
|
paging?: BlogPaging;
|
|
7778
7751
|
}
|
|
7779
7752
|
declare enum GetPostTemplatesSort {
|
|
7780
|
-
/**
|
|
7753
|
+
/** Sort by ascending publishing date. */
|
|
7781
7754
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
7782
|
-
/**
|
|
7755
|
+
/** Sort by descending publishing date. */
|
|
7783
7756
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
7784
7757
|
}
|
|
7785
7758
|
interface ListTemplatesResponse {
|
|
@@ -3945,6 +3945,7 @@ declare enum Type$1 {
|
|
|
3945
3945
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
3946
3946
|
}
|
|
3947
3947
|
declare enum Field$2 {
|
|
3948
|
+
/** Unknown field. */
|
|
3948
3949
|
UNKNOWN = "UNKNOWN",
|
|
3949
3950
|
/** Includes draft post preview URL. */
|
|
3950
3951
|
URL = "URL",
|
|
@@ -4049,19 +4050,19 @@ interface MaskedDraftPosts {
|
|
|
4049
4050
|
draftPost?: DraftPost$1;
|
|
4050
4051
|
}
|
|
4051
4052
|
declare enum Action {
|
|
4052
|
-
/** Update draft post
|
|
4053
|
+
/** Update the draft post. */
|
|
4053
4054
|
UPDATE = "UPDATE",
|
|
4054
|
-
/** Update and publish draft post. */
|
|
4055
|
+
/** Update and publish a draft post. */
|
|
4055
4056
|
UPDATE_PUBLISH = "UPDATE_PUBLISH",
|
|
4056
|
-
/** Update and schedule
|
|
4057
|
+
/** Update the draft post and schedule a publish date. */
|
|
4057
4058
|
UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
|
|
4058
|
-
/** Update and revert to draft
|
|
4059
|
+
/** Update the post and revert it to draft. */
|
|
4059
4060
|
UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
|
|
4060
|
-
/** Update draft and cancel
|
|
4061
|
+
/** Update the draft post and cancel the scheduled publish date. */
|
|
4061
4062
|
UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
|
|
4062
|
-
/** Update and reject draft post
|
|
4063
|
+
/** Update and reject draft post. */
|
|
4063
4064
|
UPDATE_REJECT = "UPDATE_REJECT",
|
|
4064
|
-
/** Update published draft post. */
|
|
4065
|
+
/** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
|
|
4065
4066
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
4066
4067
|
}
|
|
4067
4068
|
interface BulkUpdateDraftPostsResponse {
|
|
@@ -4083,9 +4084,6 @@ interface ListDeletedDraftPostsRequest {
|
|
|
4083
4084
|
/**
|
|
4084
4085
|
* Sorting options.
|
|
4085
4086
|
*
|
|
4086
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
4087
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
4088
|
-
*
|
|
4089
4087
|
* Default: `EDITING_DATE_DESCENDING`
|
|
4090
4088
|
*/
|
|
4091
4089
|
sort?: GetDraftPostsSort;
|
|
@@ -4101,9 +4099,9 @@ interface ListDeletedDraftPostsRequest {
|
|
|
4101
4099
|
draftPostIds?: string[];
|
|
4102
4100
|
}
|
|
4103
4101
|
declare enum GetDraftPostsSort {
|
|
4104
|
-
/**
|
|
4102
|
+
/** Sort by `editedDate` in descending order. */
|
|
4105
4103
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
4106
|
-
/**
|
|
4104
|
+
/** Sort by `editedDate` in ascending order. */
|
|
4107
4105
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
4108
4106
|
}
|
|
4109
4107
|
interface BlogPaging$1 {
|
|
@@ -4187,14 +4185,6 @@ interface UpdateDraftPostRequest {
|
|
|
4187
4185
|
/**
|
|
4188
4186
|
* Action to perform on the post.
|
|
4189
4187
|
*
|
|
4190
|
-
* - `UPDATE`: Update the draft post.
|
|
4191
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
4192
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
4193
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
4194
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
4195
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
4196
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
4197
|
-
*
|
|
4198
4188
|
* Default: `UPDATE`
|
|
4199
4189
|
*/
|
|
4200
4190
|
action?: Action;
|
|
@@ -4259,9 +4249,6 @@ interface ListDraftPostsRequest {
|
|
|
4259
4249
|
/**
|
|
4260
4250
|
* Sort options.
|
|
4261
4251
|
*
|
|
4262
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
4263
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
4264
|
-
*
|
|
4265
4252
|
* Default: `EDITING_DATE_DESCENDING`
|
|
4266
4253
|
*/
|
|
4267
4254
|
sort?: GetDraftPostsSort;
|
|
@@ -5305,9 +5292,6 @@ interface ListDeletedDraftPostsOptions {
|
|
|
5305
5292
|
/**
|
|
5306
5293
|
* Sorting options.
|
|
5307
5294
|
*
|
|
5308
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
5309
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
5310
|
-
*
|
|
5311
5295
|
* Default: `EDITING_DATE_DESCENDING`
|
|
5312
5296
|
*/
|
|
5313
5297
|
sort?: GetDraftPostsSort;
|
|
@@ -5467,14 +5451,6 @@ interface UpdateDraftPostOptions {
|
|
|
5467
5451
|
/**
|
|
5468
5452
|
* Action to perform on the post.
|
|
5469
5453
|
*
|
|
5470
|
-
* - `UPDATE`: Update the draft post.
|
|
5471
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
5472
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
5473
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
5474
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
5475
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
5476
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
5477
|
-
*
|
|
5478
5454
|
* Default: `UPDATE`
|
|
5479
5455
|
*/
|
|
5480
5456
|
action?: Action;
|
|
@@ -5517,9 +5493,6 @@ interface ListDraftPostsOptions {
|
|
|
5517
5493
|
/**
|
|
5518
5494
|
* Sort options.
|
|
5519
5495
|
*
|
|
5520
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
5521
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
5522
|
-
*
|
|
5523
5496
|
* Default: `EDITING_DATE_DESCENDING`
|
|
5524
5497
|
*/
|
|
5525
5498
|
sort?: GetDraftPostsSort;
|
|
@@ -7696,19 +7669,19 @@ interface ListDemoPostsRequest {
|
|
|
7696
7669
|
fieldsets?: PostFieldField[];
|
|
7697
7670
|
}
|
|
7698
7671
|
declare enum GetPostsSort {
|
|
7699
|
-
/**
|
|
7672
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
7700
7673
|
FEED = "FEED",
|
|
7701
|
-
/**
|
|
7674
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
7702
7675
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
7703
|
-
/**
|
|
7676
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
7704
7677
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
7705
|
-
/**
|
|
7678
|
+
/** Ordered by total number of views in descending order. */
|
|
7706
7679
|
VIEW_COUNT = "VIEW_COUNT",
|
|
7707
|
-
/**
|
|
7680
|
+
/** Ordered by total number of likes in descending order. */
|
|
7708
7681
|
LIKE_COUNT = "LIKE_COUNT",
|
|
7709
|
-
/**
|
|
7682
|
+
/** Ordered by `title` in ascening order. */
|
|
7710
7683
|
TITLE_ASC = "TITLE_ASC",
|
|
7711
|
-
/**
|
|
7684
|
+
/** Ordered by `title` in descending order. */
|
|
7712
7685
|
TITLE_DESC = "TITLE_DESC"
|
|
7713
7686
|
}
|
|
7714
7687
|
interface BlogPaging {
|
|
@@ -7731,17 +7704,17 @@ interface BlogPaging {
|
|
|
7731
7704
|
}
|
|
7732
7705
|
declare enum PostFieldField {
|
|
7733
7706
|
UNKNOWN = "UNKNOWN",
|
|
7734
|
-
/** Includes Post url when present */
|
|
7707
|
+
/** Includes Post url when present. */
|
|
7735
7708
|
URL = "URL",
|
|
7736
|
-
/** Includes Post content text string when present */
|
|
7709
|
+
/** Includes Post content text string when present. */
|
|
7737
7710
|
CONTENT_TEXT = "CONTENT_TEXT",
|
|
7738
|
-
/** Includes Post metrics when present */
|
|
7711
|
+
/** Includes Post metrics when present. */
|
|
7739
7712
|
METRICS = "METRICS",
|
|
7740
|
-
/** Includes SEO data */
|
|
7713
|
+
/** Includes SEO data. */
|
|
7741
7714
|
SEO = "SEO",
|
|
7742
|
-
/** Includes post owners Contact Id */
|
|
7715
|
+
/** Includes post owners Contact Id. */
|
|
7743
7716
|
CONTACT_ID = "CONTACT_ID",
|
|
7744
|
-
/** Includes post rich content */
|
|
7717
|
+
/** Includes post rich content. */
|
|
7745
7718
|
RICH_CONTENT = "RICH_CONTENT"
|
|
7746
7719
|
}
|
|
7747
7720
|
interface ListDemoPostsResponse {
|
|
@@ -7777,9 +7750,9 @@ interface ListTemplatesRequest {
|
|
|
7777
7750
|
paging?: BlogPaging;
|
|
7778
7751
|
}
|
|
7779
7752
|
declare enum GetPostTemplatesSort {
|
|
7780
|
-
/**
|
|
7753
|
+
/** Sort by ascending publishing date. */
|
|
7781
7754
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
7782
|
-
/**
|
|
7755
|
+
/** Sort by descending publishing date. */
|
|
7783
7756
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
7784
7757
|
}
|
|
7785
7758
|
interface ListTemplatesResponse {
|
|
@@ -3348,6 +3348,7 @@ interface CreateDraftPostRequest$1 {
|
|
|
3348
3348
|
fieldsets?: Field$3[];
|
|
3349
3349
|
}
|
|
3350
3350
|
declare enum Field$3 {
|
|
3351
|
+
/** Unknown field. */
|
|
3351
3352
|
UNKNOWN = "UNKNOWN",
|
|
3352
3353
|
/** Includes draft post preview URL. */
|
|
3353
3354
|
URL = "URL",
|
|
@@ -3425,14 +3426,6 @@ interface BulkUpdateDraftPostsRequest$1 {
|
|
|
3425
3426
|
/**
|
|
3426
3427
|
* Action to perform on the posts.
|
|
3427
3428
|
*
|
|
3428
|
-
* - `UPDATE`: Update the draft post.
|
|
3429
|
-
* - `UPDATE_PUBLISH`: Update and publish the draft post.
|
|
3430
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
3431
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to a draft post.
|
|
3432
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
3433
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
3434
|
-
* - `UPDATE_PUBLICATION`: Update a published post. This creates and updates a draft version of the post. The original post is still published.
|
|
3435
|
-
*
|
|
3436
3429
|
* Default: `UPDATE`
|
|
3437
3430
|
*/
|
|
3438
3431
|
action?: Action$1;
|
|
@@ -3452,19 +3445,19 @@ interface MaskedDraftPosts$1 {
|
|
|
3452
3445
|
draftPost?: DraftPost$1;
|
|
3453
3446
|
}
|
|
3454
3447
|
declare enum Action$1 {
|
|
3455
|
-
/** Update draft post
|
|
3448
|
+
/** Update the draft post. */
|
|
3456
3449
|
UPDATE = "UPDATE",
|
|
3457
|
-
/** Update and publish draft post. */
|
|
3450
|
+
/** Update and publish a draft post. */
|
|
3458
3451
|
UPDATE_PUBLISH = "UPDATE_PUBLISH",
|
|
3459
|
-
/** Update and schedule
|
|
3452
|
+
/** Update the draft post and schedule a publish date. */
|
|
3460
3453
|
UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
|
|
3461
|
-
/** Update and revert to draft
|
|
3454
|
+
/** Update the post and revert it to draft. */
|
|
3462
3455
|
UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
|
|
3463
|
-
/** Update draft and cancel
|
|
3456
|
+
/** Update the draft post and cancel the scheduled publish date. */
|
|
3464
3457
|
UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
|
|
3465
|
-
/** Update and reject draft post
|
|
3458
|
+
/** Update and reject draft post. */
|
|
3466
3459
|
UPDATE_REJECT = "UPDATE_REJECT",
|
|
3467
|
-
/** Update published draft post. */
|
|
3460
|
+
/** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
|
|
3468
3461
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
3469
3462
|
}
|
|
3470
3463
|
interface BulkUpdateDraftPostsResponse$1 {
|
|
@@ -3484,9 +3477,6 @@ interface ListDeletedDraftPostsRequest$1 {
|
|
|
3484
3477
|
/**
|
|
3485
3478
|
* Sorting options.
|
|
3486
3479
|
*
|
|
3487
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
3488
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
3489
|
-
*
|
|
3490
3480
|
* Default: `EDITING_DATE_DESCENDING`
|
|
3491
3481
|
*/
|
|
3492
3482
|
sort?: GetDraftPostsSort$1;
|
|
@@ -3502,9 +3492,9 @@ interface ListDeletedDraftPostsRequest$1 {
|
|
|
3502
3492
|
draftPostIds?: string[];
|
|
3503
3493
|
}
|
|
3504
3494
|
declare enum GetDraftPostsSort$1 {
|
|
3505
|
-
/**
|
|
3495
|
+
/** Sort by `editedDate` in descending order. */
|
|
3506
3496
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
3507
|
-
/**
|
|
3497
|
+
/** Sort by `editedDate` in ascending order. */
|
|
3508
3498
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
3509
3499
|
}
|
|
3510
3500
|
interface BlogPaging$3 {
|
|
@@ -3561,14 +3551,6 @@ interface UpdateDraftPostRequest$1 {
|
|
|
3561
3551
|
/**
|
|
3562
3552
|
* Action to perform on the post.
|
|
3563
3553
|
*
|
|
3564
|
-
* - `UPDATE`: Update the draft post.
|
|
3565
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
3566
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
3567
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
3568
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
3569
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
3570
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
3571
|
-
*
|
|
3572
3554
|
* Default: `UPDATE`
|
|
3573
3555
|
*/
|
|
3574
3556
|
action?: Action$1;
|
|
@@ -3633,9 +3615,6 @@ interface ListDraftPostsRequest$1 {
|
|
|
3633
3615
|
/**
|
|
3634
3616
|
* Sort options.
|
|
3635
3617
|
*
|
|
3636
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
3637
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
3638
|
-
*
|
|
3639
3618
|
* Default: `EDITING_DATE_DESCENDING`
|
|
3640
3619
|
*/
|
|
3641
3620
|
sort?: GetDraftPostsSort$1;
|
|
@@ -5783,6 +5762,7 @@ interface CreateDraftPostRequest {
|
|
|
5783
5762
|
fieldsets?: Field$2[];
|
|
5784
5763
|
}
|
|
5785
5764
|
declare enum Field$2 {
|
|
5765
|
+
/** Unknown field. */
|
|
5786
5766
|
UNKNOWN = "UNKNOWN",
|
|
5787
5767
|
/** Includes draft post preview URL. */
|
|
5788
5768
|
URL = "URL",
|
|
@@ -5887,19 +5867,19 @@ interface MaskedDraftPosts {
|
|
|
5887
5867
|
draftPost?: DraftPost;
|
|
5888
5868
|
}
|
|
5889
5869
|
declare enum Action {
|
|
5890
|
-
/** Update draft post
|
|
5870
|
+
/** Update the draft post. */
|
|
5891
5871
|
UPDATE = "UPDATE",
|
|
5892
|
-
/** Update and publish draft post. */
|
|
5872
|
+
/** Update and publish a draft post. */
|
|
5893
5873
|
UPDATE_PUBLISH = "UPDATE_PUBLISH",
|
|
5894
|
-
/** Update and schedule
|
|
5874
|
+
/** Update the draft post and schedule a publish date. */
|
|
5895
5875
|
UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
|
|
5896
|
-
/** Update and revert to draft
|
|
5876
|
+
/** Update the post and revert it to draft. */
|
|
5897
5877
|
UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
|
|
5898
|
-
/** Update draft and cancel
|
|
5878
|
+
/** Update the draft post and cancel the scheduled publish date. */
|
|
5899
5879
|
UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
|
|
5900
|
-
/** Update and reject draft post
|
|
5880
|
+
/** Update and reject draft post. */
|
|
5901
5881
|
UPDATE_REJECT = "UPDATE_REJECT",
|
|
5902
|
-
/** Update published draft post. */
|
|
5882
|
+
/** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
|
|
5903
5883
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
5904
5884
|
}
|
|
5905
5885
|
interface BulkUpdateDraftPostsResponse {
|
|
@@ -5919,9 +5899,6 @@ interface ListDeletedDraftPostsRequest {
|
|
|
5919
5899
|
/**
|
|
5920
5900
|
* Sorting options.
|
|
5921
5901
|
*
|
|
5922
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
5923
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
5924
|
-
*
|
|
5925
5902
|
* Default: `EDITING_DATE_DESCENDING`
|
|
5926
5903
|
*/
|
|
5927
5904
|
sort?: GetDraftPostsSort;
|
|
@@ -5937,9 +5914,9 @@ interface ListDeletedDraftPostsRequest {
|
|
|
5937
5914
|
draftPostIds?: string[];
|
|
5938
5915
|
}
|
|
5939
5916
|
declare enum GetDraftPostsSort {
|
|
5940
|
-
/**
|
|
5917
|
+
/** Sort by `editedDate` in descending order. */
|
|
5941
5918
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
5942
|
-
/**
|
|
5919
|
+
/** Sort by `editedDate` in ascending order. */
|
|
5943
5920
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
5944
5921
|
}
|
|
5945
5922
|
interface BlogPaging$2 {
|
|
@@ -5996,14 +5973,6 @@ interface UpdateDraftPostRequest {
|
|
|
5996
5973
|
/**
|
|
5997
5974
|
* Action to perform on the post.
|
|
5998
5975
|
*
|
|
5999
|
-
* - `UPDATE`: Update the draft post.
|
|
6000
|
-
* - `UPDATE_PUBLISH`: Update and publish a draft post.
|
|
6001
|
-
* - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
|
|
6002
|
-
* - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
|
|
6003
|
-
* - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
|
|
6004
|
-
* - `UPDATE_REJECT`: Update and reject draft post.
|
|
6005
|
-
* - `UPDATE_PUBLICATION`: Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published.
|
|
6006
|
-
*
|
|
6007
5976
|
* Default: `UPDATE`
|
|
6008
5977
|
*/
|
|
6009
5978
|
action?: Action;
|
|
@@ -6068,9 +6037,6 @@ interface ListDraftPostsRequest {
|
|
|
6068
6037
|
/**
|
|
6069
6038
|
* Sort options.
|
|
6070
6039
|
*
|
|
6071
|
-
* - `EDITING_DATE_ASC`: `editedDate` in ascending order.
|
|
6072
|
-
* - `EDITING_DATE_DESC`: `editedDate` in descending order.
|
|
6073
|
-
*
|
|
6074
6040
|
* Default: `EDITING_DATE_DESCENDING`
|
|
6075
6041
|
*/
|
|
6076
6042
|
sort?: GetDraftPostsSort;
|
|
@@ -8219,19 +8185,19 @@ interface EmbedVideo$1 {
|
|
|
8219
8185
|
height?: number;
|
|
8220
8186
|
}
|
|
8221
8187
|
declare enum GetPostsSort$1 {
|
|
8222
|
-
/**
|
|
8188
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
8223
8189
|
FEED = "FEED",
|
|
8224
|
-
/**
|
|
8190
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
8225
8191
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
8226
|
-
/**
|
|
8192
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
8227
8193
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
8228
|
-
/**
|
|
8194
|
+
/** Ordered by total number of views in descending order. */
|
|
8229
8195
|
VIEW_COUNT = "VIEW_COUNT",
|
|
8230
|
-
/**
|
|
8196
|
+
/** Ordered by total number of likes in descending order. */
|
|
8231
8197
|
LIKE_COUNT = "LIKE_COUNT",
|
|
8232
|
-
/**
|
|
8198
|
+
/** Ordered by `title` in ascening order. */
|
|
8233
8199
|
TITLE_ASC = "TITLE_ASC",
|
|
8234
|
-
/**
|
|
8200
|
+
/** Ordered by `title` in descending order. */
|
|
8235
8201
|
TITLE_DESC = "TITLE_DESC"
|
|
8236
8202
|
}
|
|
8237
8203
|
interface BlogPaging$1 {
|
|
@@ -8254,17 +8220,17 @@ interface BlogPaging$1 {
|
|
|
8254
8220
|
}
|
|
8255
8221
|
declare enum PostFieldField$1 {
|
|
8256
8222
|
UNKNOWN = "UNKNOWN",
|
|
8257
|
-
/** Includes Post url when present */
|
|
8223
|
+
/** Includes Post url when present. */
|
|
8258
8224
|
URL = "URL",
|
|
8259
|
-
/** Includes Post content text string when present */
|
|
8225
|
+
/** Includes Post content text string when present. */
|
|
8260
8226
|
CONTENT_TEXT = "CONTENT_TEXT",
|
|
8261
|
-
/** Includes Post metrics when present */
|
|
8227
|
+
/** Includes Post metrics when present. */
|
|
8262
8228
|
METRICS = "METRICS",
|
|
8263
|
-
/** Includes SEO data */
|
|
8229
|
+
/** Includes SEO data. */
|
|
8264
8230
|
SEO = "SEO",
|
|
8265
|
-
/** Includes post owners Contact Id */
|
|
8231
|
+
/** Includes post owners Contact Id. */
|
|
8266
8232
|
CONTACT_ID = "CONTACT_ID",
|
|
8267
|
-
/** Includes post rich content */
|
|
8233
|
+
/** Includes post rich content. */
|
|
8268
8234
|
RICH_CONTENT = "RICH_CONTENT"
|
|
8269
8235
|
}
|
|
8270
8236
|
interface MetaData$3 {
|
|
@@ -8362,15 +8328,6 @@ interface ListPostsRequest$1 {
|
|
|
8362
8328
|
/**
|
|
8363
8329
|
* Sorting options.
|
|
8364
8330
|
*
|
|
8365
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
8366
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
8367
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
8368
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
8369
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
8370
|
-
* - `TITLE_ASC`: Ordered by `title` in ascening order.
|
|
8371
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
8372
|
-
* - `RATING`: reserved for internal use.
|
|
8373
|
-
*
|
|
8374
8331
|
* Default: `FEED`
|
|
8375
8332
|
*/
|
|
8376
8333
|
sort?: GetPostsSort$1;
|
|
@@ -10560,19 +10517,19 @@ interface EmbedVideo {
|
|
|
10560
10517
|
height?: number;
|
|
10561
10518
|
}
|
|
10562
10519
|
declare enum GetPostsSort {
|
|
10563
|
-
/**
|
|
10520
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
10564
10521
|
FEED = "FEED",
|
|
10565
|
-
/**
|
|
10522
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
10566
10523
|
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
10567
|
-
/**
|
|
10524
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
10568
10525
|
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
10569
|
-
/**
|
|
10526
|
+
/** Ordered by total number of views in descending order. */
|
|
10570
10527
|
VIEW_COUNT = "VIEW_COUNT",
|
|
10571
|
-
/**
|
|
10528
|
+
/** Ordered by total number of likes in descending order. */
|
|
10572
10529
|
LIKE_COUNT = "LIKE_COUNT",
|
|
10573
|
-
/**
|
|
10530
|
+
/** Ordered by `title` in ascening order. */
|
|
10574
10531
|
TITLE_ASC = "TITLE_ASC",
|
|
10575
|
-
/**
|
|
10532
|
+
/** Ordered by `title` in descending order. */
|
|
10576
10533
|
TITLE_DESC = "TITLE_DESC"
|
|
10577
10534
|
}
|
|
10578
10535
|
interface BlogPaging {
|
|
@@ -10595,17 +10552,17 @@ interface BlogPaging {
|
|
|
10595
10552
|
}
|
|
10596
10553
|
declare enum PostFieldField {
|
|
10597
10554
|
UNKNOWN = "UNKNOWN",
|
|
10598
|
-
/** Includes Post url when present */
|
|
10555
|
+
/** Includes Post url when present. */
|
|
10599
10556
|
URL = "URL",
|
|
10600
|
-
/** Includes Post content text string when present */
|
|
10557
|
+
/** Includes Post content text string when present. */
|
|
10601
10558
|
CONTENT_TEXT = "CONTENT_TEXT",
|
|
10602
|
-
/** Includes Post metrics when present */
|
|
10559
|
+
/** Includes Post metrics when present. */
|
|
10603
10560
|
METRICS = "METRICS",
|
|
10604
|
-
/** Includes SEO data */
|
|
10561
|
+
/** Includes SEO data. */
|
|
10605
10562
|
SEO = "SEO",
|
|
10606
|
-
/** Includes post owners Contact Id */
|
|
10563
|
+
/** Includes post owners Contact Id. */
|
|
10607
10564
|
CONTACT_ID = "CONTACT_ID",
|
|
10608
|
-
/** Includes post rich content */
|
|
10565
|
+
/** Includes post rich content. */
|
|
10609
10566
|
RICH_CONTENT = "RICH_CONTENT"
|
|
10610
10567
|
}
|
|
10611
10568
|
interface MetaData$2 {
|