@wix/blog 1.0.315 → 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.315",
3
+ "version": "1.0.317",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -22,10 +22,10 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@wix/blog_blog-cache": "1.0.10",
25
- "@wix/blog_blog-importer": "1.0.22",
25
+ "@wix/blog_blog-importer": "1.0.23",
26
26
  "@wix/blog_categories": "1.0.49",
27
- "@wix/blog_draft-posts": "1.0.49",
28
- "@wix/blog_posts": "1.0.55",
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": "46992a6a17e9c5b2b3196a3683cad54054da5d98e0fc1bd7f39d0c80"
54
+ "falconPackageHash": "b17913da37e960c9ed20cda6c03213c04c5e8bb3ae93c3f93940a9c8"
55
55
  }
@@ -1270,6 +1270,8 @@ interface StartImportResponse {
1270
1270
  interface SubmitUrlForImportRequest {
1271
1271
  /** Url to wordpress xml file. */
1272
1272
  url: string;
1273
+ /** Domain of the site without www or https://. */
1274
+ siteDomain?: string | null;
1273
1275
  }
1274
1276
  interface SubmitUrlForImportResponse {
1275
1277
  }
@@ -1326,6 +1328,10 @@ interface StartImportOptions {
1326
1328
  /** Should publish the posts after import. */
1327
1329
  shouldPublish?: boolean | null;
1328
1330
  }
1331
+ interface SubmitUrlForImportOptions {
1332
+ /** Domain of the site without www or https://. */
1333
+ siteDomain?: string | null;
1334
+ }
1329
1335
 
1330
1336
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1331
1337
  interface StartImportSignature {
@@ -1343,7 +1349,7 @@ interface SubmitUrlForImportSignature {
1343
1349
  * Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
1344
1350
  * @param - Url to wordpress xml file.
1345
1351
  */
1346
- (url: string): Promise<void>;
1352
+ (url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
1347
1353
  }
1348
1354
  declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
1349
1355
  interface ValidateUrlForImportSignature {
@@ -1381,6 +1387,7 @@ type context$4_ImportStatus = ImportStatus;
1381
1387
  type context$4_StartImportOptions = StartImportOptions;
1382
1388
  type context$4_StartImportRequest = StartImportRequest;
1383
1389
  type context$4_StartImportResponse = StartImportResponse;
1390
+ type context$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
1384
1391
  type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1385
1392
  type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1386
1393
  type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
@@ -1391,7 +1398,7 @@ declare const context$4_startImport: typeof startImport;
1391
1398
  declare const context$4_submitUrlForImport: typeof submitUrlForImport;
1392
1399
  declare const context$4_validateUrlForImport: typeof validateUrlForImport;
1393
1400
  declare namespace context$4 {
1394
- export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, type Post$1 as Post, type context$4_StartImportOptions as StartImportOptions, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type context$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type context$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport, context$4_validateUrlForImport as validateUrlForImport };
1401
+ export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, type Post$1 as Post, type context$4_StartImportOptions as StartImportOptions, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportOptions as SubmitUrlForImportOptions, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type context$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type context$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport, context$4_validateUrlForImport as validateUrlForImport };
1395
1402
  }
1396
1403
 
1397
1404
  interface Category$2 {
@@ -3938,6 +3945,7 @@ declare enum Type$1 {
3938
3945
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
3939
3946
  }
3940
3947
  declare enum Field$2 {
3948
+ /** Unknown field. */
3941
3949
  UNKNOWN = "UNKNOWN",
3942
3950
  /** Includes draft post preview URL. */
3943
3951
  URL = "URL",
@@ -4042,19 +4050,19 @@ interface MaskedDraftPosts {
4042
4050
  draftPost?: DraftPost$1;
4043
4051
  }
4044
4052
  declare enum Action {
4045
- /** Update draft post properties. */
4053
+ /** Update the draft post. */
4046
4054
  UPDATE = "UPDATE",
4047
- /** Update and publish draft post. */
4055
+ /** Update and publish a draft post. */
4048
4056
  UPDATE_PUBLISH = "UPDATE_PUBLISH",
4049
- /** Update and schedule draft post. */
4057
+ /** Update the draft post and schedule a publish date. */
4050
4058
  UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
4051
- /** Update and revert to draft a published post. */
4059
+ /** Update the post and revert it to draft. */
4052
4060
  UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
4053
- /** Update draft and cancel post scheduling. */
4061
+ /** Update the draft post and cancel the scheduled publish date. */
4054
4062
  UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
4055
- /** Update and reject draft post in moderation. */
4063
+ /** Update and reject draft post. */
4056
4064
  UPDATE_REJECT = "UPDATE_REJECT",
4057
- /** 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. */
4058
4066
  UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
4059
4067
  }
4060
4068
  interface BulkUpdateDraftPostsResponse {
@@ -4076,9 +4084,6 @@ interface ListDeletedDraftPostsRequest {
4076
4084
  /**
4077
4085
  * Sorting options.
4078
4086
  *
4079
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
4080
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
4081
- *
4082
4087
  * Default: `EDITING_DATE_DESCENDING`
4083
4088
  */
4084
4089
  sort?: GetDraftPostsSort;
@@ -4094,9 +4099,9 @@ interface ListDeletedDraftPostsRequest {
4094
4099
  draftPostIds?: string[];
4095
4100
  }
4096
4101
  declare enum GetDraftPostsSort {
4097
- /** Sorting by editing date descending. */
4102
+ /** Sort by `editedDate` in descending order. */
4098
4103
  EDITING_DATE_DESC = "EDITING_DATE_DESC",
4099
- /** Sorting by editing date ascending. */
4104
+ /** Sort by `editedDate` in ascending order. */
4100
4105
  EDITING_DATE_ASC = "EDITING_DATE_ASC"
4101
4106
  }
4102
4107
  interface BlogPaging$1 {
@@ -4180,14 +4185,6 @@ interface UpdateDraftPostRequest {
4180
4185
  /**
4181
4186
  * Action to perform on the post.
4182
4187
  *
4183
- * - `UPDATE`: Update the draft post.
4184
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
4185
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
4186
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
4187
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
4188
- * - `UPDATE_REJECT`: Update and reject draft post.
4189
- * - `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.
4190
- *
4191
4188
  * Default: `UPDATE`
4192
4189
  */
4193
4190
  action?: Action;
@@ -4252,9 +4249,6 @@ interface ListDraftPostsRequest {
4252
4249
  /**
4253
4250
  * Sort options.
4254
4251
  *
4255
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
4256
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
4257
- *
4258
4252
  * Default: `EDITING_DATE_DESCENDING`
4259
4253
  */
4260
4254
  sort?: GetDraftPostsSort;
@@ -5298,9 +5292,6 @@ interface ListDeletedDraftPostsOptions {
5298
5292
  /**
5299
5293
  * Sorting options.
5300
5294
  *
5301
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
5302
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
5303
- *
5304
5295
  * Default: `EDITING_DATE_DESCENDING`
5305
5296
  */
5306
5297
  sort?: GetDraftPostsSort;
@@ -5460,14 +5451,6 @@ interface UpdateDraftPostOptions {
5460
5451
  /**
5461
5452
  * Action to perform on the post.
5462
5453
  *
5463
- * - `UPDATE`: Update the draft post.
5464
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
5465
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
5466
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
5467
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
5468
- * - `UPDATE_REJECT`: Update and reject draft post.
5469
- * - `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.
5470
- *
5471
5454
  * Default: `UPDATE`
5472
5455
  */
5473
5456
  action?: Action;
@@ -5510,9 +5493,6 @@ interface ListDraftPostsOptions {
5510
5493
  /**
5511
5494
  * Sort options.
5512
5495
  *
5513
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
5514
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
5515
- *
5516
5496
  * Default: `EDITING_DATE_DESCENDING`
5517
5497
  */
5518
5498
  sort?: GetDraftPostsSort;
@@ -7689,19 +7669,19 @@ interface ListDemoPostsRequest {
7689
7669
  fieldsets?: PostFieldField[];
7690
7670
  }
7691
7671
  declare enum GetPostsSort {
7692
- /** Sorting by publishing date descending with pinned posts first. The default value */
7672
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
7693
7673
  FEED = "FEED",
7694
- /** Sorting by publishing date ascending */
7674
+ /** Ordered by `firstPublishedDate` in ascending order. */
7695
7675
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7696
- /** Sorting by publishing date descending */
7676
+ /** Ordered by `firstPublishedDate` in descending order. */
7697
7677
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
7698
- /** Sorting by view count descending */
7678
+ /** Ordered by total number of views in descending order. */
7699
7679
  VIEW_COUNT = "VIEW_COUNT",
7700
- /** Sorting by like count descending */
7680
+ /** Ordered by total number of likes in descending order. */
7701
7681
  LIKE_COUNT = "LIKE_COUNT",
7702
- /** Sorting by title ascending */
7682
+ /** Ordered by `title` in ascening order. */
7703
7683
  TITLE_ASC = "TITLE_ASC",
7704
- /** Sorting by title descending */
7684
+ /** Ordered by `title` in descending order. */
7705
7685
  TITLE_DESC = "TITLE_DESC"
7706
7686
  }
7707
7687
  interface BlogPaging {
@@ -7724,17 +7704,17 @@ interface BlogPaging {
7724
7704
  }
7725
7705
  declare enum PostFieldField {
7726
7706
  UNKNOWN = "UNKNOWN",
7727
- /** Includes Post url when present */
7707
+ /** Includes Post url when present. */
7728
7708
  URL = "URL",
7729
- /** Includes Post content text string when present */
7709
+ /** Includes Post content text string when present. */
7730
7710
  CONTENT_TEXT = "CONTENT_TEXT",
7731
- /** Includes Post metrics when present */
7711
+ /** Includes Post metrics when present. */
7732
7712
  METRICS = "METRICS",
7733
- /** Includes SEO data */
7713
+ /** Includes SEO data. */
7734
7714
  SEO = "SEO",
7735
- /** Includes post owners Contact Id */
7715
+ /** Includes post owners Contact Id. */
7736
7716
  CONTACT_ID = "CONTACT_ID",
7737
- /** Includes post rich content */
7717
+ /** Includes post rich content. */
7738
7718
  RICH_CONTENT = "RICH_CONTENT"
7739
7719
  }
7740
7720
  interface ListDemoPostsResponse {
@@ -7770,9 +7750,9 @@ interface ListTemplatesRequest {
7770
7750
  paging?: BlogPaging;
7771
7751
  }
7772
7752
  declare enum GetPostTemplatesSort {
7773
- /** Sorting by publishing date ascending */
7753
+ /** Sort by ascending publishing date. */
7774
7754
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7775
- /** Sorting by publishing date descending */
7755
+ /** Sort by descending publishing date. */
7776
7756
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
7777
7757
  }
7778
7758
  interface ListTemplatesResponse {
@@ -1270,6 +1270,8 @@ interface StartImportResponse {
1270
1270
  interface SubmitUrlForImportRequest {
1271
1271
  /** Url to wordpress xml file. */
1272
1272
  url: string;
1273
+ /** Domain of the site without www or https://. */
1274
+ siteDomain?: string | null;
1273
1275
  }
1274
1276
  interface SubmitUrlForImportResponse {
1275
1277
  }
@@ -1326,6 +1328,10 @@ interface StartImportOptions {
1326
1328
  /** Should publish the posts after import. */
1327
1329
  shouldPublish?: boolean | null;
1328
1330
  }
1331
+ interface SubmitUrlForImportOptions {
1332
+ /** Domain of the site without www or https://. */
1333
+ siteDomain?: string | null;
1334
+ }
1329
1335
 
1330
1336
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1331
1337
  interface StartImportSignature {
@@ -1343,7 +1349,7 @@ interface SubmitUrlForImportSignature {
1343
1349
  * Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
1344
1350
  * @param - Url to wordpress xml file.
1345
1351
  */
1346
- (url: string): Promise<void>;
1352
+ (url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
1347
1353
  }
1348
1354
  declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
1349
1355
  interface ValidateUrlForImportSignature {
@@ -1381,6 +1387,7 @@ type index_d$4_ImportStatus = ImportStatus;
1381
1387
  type index_d$4_StartImportOptions = StartImportOptions;
1382
1388
  type index_d$4_StartImportRequest = StartImportRequest;
1383
1389
  type index_d$4_StartImportResponse = StartImportResponse;
1390
+ type index_d$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
1384
1391
  type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1385
1392
  type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1386
1393
  type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
@@ -1391,7 +1398,7 @@ declare const index_d$4_startImport: typeof startImport;
1391
1398
  declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
1392
1399
  declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
1393
1400
  declare namespace index_d$4 {
1394
- export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, type Post$1 as Post, type index_d$4_StartImportOptions as StartImportOptions, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type index_d$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport, index_d$4_validateUrlForImport as validateUrlForImport };
1401
+ export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, type Post$1 as Post, type index_d$4_StartImportOptions as StartImportOptions, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportOptions as SubmitUrlForImportOptions, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type index_d$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport, index_d$4_validateUrlForImport as validateUrlForImport };
1395
1402
  }
1396
1403
 
1397
1404
  interface Category$2 {
@@ -3938,6 +3945,7 @@ declare enum Type$1 {
3938
3945
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
3939
3946
  }
3940
3947
  declare enum Field$2 {
3948
+ /** Unknown field. */
3941
3949
  UNKNOWN = "UNKNOWN",
3942
3950
  /** Includes draft post preview URL. */
3943
3951
  URL = "URL",
@@ -4042,19 +4050,19 @@ interface MaskedDraftPosts {
4042
4050
  draftPost?: DraftPost$1;
4043
4051
  }
4044
4052
  declare enum Action {
4045
- /** Update draft post properties. */
4053
+ /** Update the draft post. */
4046
4054
  UPDATE = "UPDATE",
4047
- /** Update and publish draft post. */
4055
+ /** Update and publish a draft post. */
4048
4056
  UPDATE_PUBLISH = "UPDATE_PUBLISH",
4049
- /** Update and schedule draft post. */
4057
+ /** Update the draft post and schedule a publish date. */
4050
4058
  UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
4051
- /** Update and revert to draft a published post. */
4059
+ /** Update the post and revert it to draft. */
4052
4060
  UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
4053
- /** Update draft and cancel post scheduling. */
4061
+ /** Update the draft post and cancel the scheduled publish date. */
4054
4062
  UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
4055
- /** Update and reject draft post in moderation. */
4063
+ /** Update and reject draft post. */
4056
4064
  UPDATE_REJECT = "UPDATE_REJECT",
4057
- /** 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. */
4058
4066
  UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
4059
4067
  }
4060
4068
  interface BulkUpdateDraftPostsResponse {
@@ -4076,9 +4084,6 @@ interface ListDeletedDraftPostsRequest {
4076
4084
  /**
4077
4085
  * Sorting options.
4078
4086
  *
4079
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
4080
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
4081
- *
4082
4087
  * Default: `EDITING_DATE_DESCENDING`
4083
4088
  */
4084
4089
  sort?: GetDraftPostsSort;
@@ -4094,9 +4099,9 @@ interface ListDeletedDraftPostsRequest {
4094
4099
  draftPostIds?: string[];
4095
4100
  }
4096
4101
  declare enum GetDraftPostsSort {
4097
- /** Sorting by editing date descending. */
4102
+ /** Sort by `editedDate` in descending order. */
4098
4103
  EDITING_DATE_DESC = "EDITING_DATE_DESC",
4099
- /** Sorting by editing date ascending. */
4104
+ /** Sort by `editedDate` in ascending order. */
4100
4105
  EDITING_DATE_ASC = "EDITING_DATE_ASC"
4101
4106
  }
4102
4107
  interface BlogPaging$1 {
@@ -4180,14 +4185,6 @@ interface UpdateDraftPostRequest {
4180
4185
  /**
4181
4186
  * Action to perform on the post.
4182
4187
  *
4183
- * - `UPDATE`: Update the draft post.
4184
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
4185
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
4186
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
4187
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
4188
- * - `UPDATE_REJECT`: Update and reject draft post.
4189
- * - `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.
4190
- *
4191
4188
  * Default: `UPDATE`
4192
4189
  */
4193
4190
  action?: Action;
@@ -4252,9 +4249,6 @@ interface ListDraftPostsRequest {
4252
4249
  /**
4253
4250
  * Sort options.
4254
4251
  *
4255
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
4256
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
4257
- *
4258
4252
  * Default: `EDITING_DATE_DESCENDING`
4259
4253
  */
4260
4254
  sort?: GetDraftPostsSort;
@@ -5298,9 +5292,6 @@ interface ListDeletedDraftPostsOptions {
5298
5292
  /**
5299
5293
  * Sorting options.
5300
5294
  *
5301
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
5302
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
5303
- *
5304
5295
  * Default: `EDITING_DATE_DESCENDING`
5305
5296
  */
5306
5297
  sort?: GetDraftPostsSort;
@@ -5460,14 +5451,6 @@ interface UpdateDraftPostOptions {
5460
5451
  /**
5461
5452
  * Action to perform on the post.
5462
5453
  *
5463
- * - `UPDATE`: Update the draft post.
5464
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
5465
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
5466
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
5467
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
5468
- * - `UPDATE_REJECT`: Update and reject draft post.
5469
- * - `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.
5470
- *
5471
5454
  * Default: `UPDATE`
5472
5455
  */
5473
5456
  action?: Action;
@@ -5510,9 +5493,6 @@ interface ListDraftPostsOptions {
5510
5493
  /**
5511
5494
  * Sort options.
5512
5495
  *
5513
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
5514
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
5515
- *
5516
5496
  * Default: `EDITING_DATE_DESCENDING`
5517
5497
  */
5518
5498
  sort?: GetDraftPostsSort;
@@ -7689,19 +7669,19 @@ interface ListDemoPostsRequest {
7689
7669
  fieldsets?: PostFieldField[];
7690
7670
  }
7691
7671
  declare enum GetPostsSort {
7692
- /** Sorting by publishing date descending with pinned posts first. The default value */
7672
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
7693
7673
  FEED = "FEED",
7694
- /** Sorting by publishing date ascending */
7674
+ /** Ordered by `firstPublishedDate` in ascending order. */
7695
7675
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7696
- /** Sorting by publishing date descending */
7676
+ /** Ordered by `firstPublishedDate` in descending order. */
7697
7677
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
7698
- /** Sorting by view count descending */
7678
+ /** Ordered by total number of views in descending order. */
7699
7679
  VIEW_COUNT = "VIEW_COUNT",
7700
- /** Sorting by like count descending */
7680
+ /** Ordered by total number of likes in descending order. */
7701
7681
  LIKE_COUNT = "LIKE_COUNT",
7702
- /** Sorting by title ascending */
7682
+ /** Ordered by `title` in ascening order. */
7703
7683
  TITLE_ASC = "TITLE_ASC",
7704
- /** Sorting by title descending */
7684
+ /** Ordered by `title` in descending order. */
7705
7685
  TITLE_DESC = "TITLE_DESC"
7706
7686
  }
7707
7687
  interface BlogPaging {
@@ -7724,17 +7704,17 @@ interface BlogPaging {
7724
7704
  }
7725
7705
  declare enum PostFieldField {
7726
7706
  UNKNOWN = "UNKNOWN",
7727
- /** Includes Post url when present */
7707
+ /** Includes Post url when present. */
7728
7708
  URL = "URL",
7729
- /** Includes Post content text string when present */
7709
+ /** Includes Post content text string when present. */
7730
7710
  CONTENT_TEXT = "CONTENT_TEXT",
7731
- /** Includes Post metrics when present */
7711
+ /** Includes Post metrics when present. */
7732
7712
  METRICS = "METRICS",
7733
- /** Includes SEO data */
7713
+ /** Includes SEO data. */
7734
7714
  SEO = "SEO",
7735
- /** Includes post owners Contact Id */
7715
+ /** Includes post owners Contact Id. */
7736
7716
  CONTACT_ID = "CONTACT_ID",
7737
- /** Includes post rich content */
7717
+ /** Includes post rich content. */
7738
7718
  RICH_CONTENT = "RICH_CONTENT"
7739
7719
  }
7740
7720
  interface ListDemoPostsResponse {
@@ -7770,9 +7750,9 @@ interface ListTemplatesRequest {
7770
7750
  paging?: BlogPaging;
7771
7751
  }
7772
7752
  declare enum GetPostTemplatesSort {
7773
- /** Sorting by publishing date ascending */
7753
+ /** Sort by ascending publishing date. */
7774
7754
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7775
- /** Sorting by publishing date descending */
7755
+ /** Sort by descending publishing date. */
7776
7756
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
7777
7757
  }
7778
7758
  interface ListTemplatesResponse {
@@ -796,6 +796,8 @@ interface StartImportResponse$1 {
796
796
  interface SubmitUrlForImportRequest$1 {
797
797
  /** Url to wordpress xml file. */
798
798
  url: string;
799
+ /** Domain of the site without www or https://. */
800
+ siteDomain?: string | null;
799
801
  }
800
802
  interface SubmitUrlForImportResponse$1 {
801
803
  }
@@ -882,6 +884,8 @@ interface StartImportResponse {
882
884
  interface SubmitUrlForImportRequest {
883
885
  /** Url to wordpress xml file. */
884
886
  url: string;
887
+ /** Domain of the site without www or https://. */
888
+ siteDomain?: string | null;
885
889
  }
886
890
  interface SubmitUrlForImportResponse {
887
891
  }
@@ -3344,6 +3348,7 @@ interface CreateDraftPostRequest$1 {
3344
3348
  fieldsets?: Field$3[];
3345
3349
  }
3346
3350
  declare enum Field$3 {
3351
+ /** Unknown field. */
3347
3352
  UNKNOWN = "UNKNOWN",
3348
3353
  /** Includes draft post preview URL. */
3349
3354
  URL = "URL",
@@ -3421,14 +3426,6 @@ interface BulkUpdateDraftPostsRequest$1 {
3421
3426
  /**
3422
3427
  * Action to perform on the posts.
3423
3428
  *
3424
- * - `UPDATE`: Update the draft post.
3425
- * - `UPDATE_PUBLISH`: Update and publish the draft post.
3426
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
3427
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to a draft post.
3428
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
3429
- * - `UPDATE_REJECT`: Update and reject draft post.
3430
- * - `UPDATE_PUBLICATION`: Update a published post. This creates and updates a draft version of the post. The original post is still published.
3431
- *
3432
3429
  * Default: `UPDATE`
3433
3430
  */
3434
3431
  action?: Action$1;
@@ -3448,19 +3445,19 @@ interface MaskedDraftPosts$1 {
3448
3445
  draftPost?: DraftPost$1;
3449
3446
  }
3450
3447
  declare enum Action$1 {
3451
- /** Update draft post properties. */
3448
+ /** Update the draft post. */
3452
3449
  UPDATE = "UPDATE",
3453
- /** Update and publish draft post. */
3450
+ /** Update and publish a draft post. */
3454
3451
  UPDATE_PUBLISH = "UPDATE_PUBLISH",
3455
- /** Update and schedule draft post. */
3452
+ /** Update the draft post and schedule a publish date. */
3456
3453
  UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
3457
- /** Update and revert to draft a published post. */
3454
+ /** Update the post and revert it to draft. */
3458
3455
  UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
3459
- /** Update draft and cancel post scheduling. */
3456
+ /** Update the draft post and cancel the scheduled publish date. */
3460
3457
  UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
3461
- /** Update and reject draft post in moderation. */
3458
+ /** Update and reject draft post. */
3462
3459
  UPDATE_REJECT = "UPDATE_REJECT",
3463
- /** 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. */
3464
3461
  UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
3465
3462
  }
3466
3463
  interface BulkUpdateDraftPostsResponse$1 {
@@ -3480,9 +3477,6 @@ interface ListDeletedDraftPostsRequest$1 {
3480
3477
  /**
3481
3478
  * Sorting options.
3482
3479
  *
3483
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
3484
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
3485
- *
3486
3480
  * Default: `EDITING_DATE_DESCENDING`
3487
3481
  */
3488
3482
  sort?: GetDraftPostsSort$1;
@@ -3498,9 +3492,9 @@ interface ListDeletedDraftPostsRequest$1 {
3498
3492
  draftPostIds?: string[];
3499
3493
  }
3500
3494
  declare enum GetDraftPostsSort$1 {
3501
- /** Sorting by editing date descending. */
3495
+ /** Sort by `editedDate` in descending order. */
3502
3496
  EDITING_DATE_DESC = "EDITING_DATE_DESC",
3503
- /** Sorting by editing date ascending. */
3497
+ /** Sort by `editedDate` in ascending order. */
3504
3498
  EDITING_DATE_ASC = "EDITING_DATE_ASC"
3505
3499
  }
3506
3500
  interface BlogPaging$3 {
@@ -3557,14 +3551,6 @@ interface UpdateDraftPostRequest$1 {
3557
3551
  /**
3558
3552
  * Action to perform on the post.
3559
3553
  *
3560
- * - `UPDATE`: Update the draft post.
3561
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
3562
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
3563
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
3564
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
3565
- * - `UPDATE_REJECT`: Update and reject draft post.
3566
- * - `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.
3567
- *
3568
3554
  * Default: `UPDATE`
3569
3555
  */
3570
3556
  action?: Action$1;
@@ -3629,9 +3615,6 @@ interface ListDraftPostsRequest$1 {
3629
3615
  /**
3630
3616
  * Sort options.
3631
3617
  *
3632
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
3633
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
3634
- *
3635
3618
  * Default: `EDITING_DATE_DESCENDING`
3636
3619
  */
3637
3620
  sort?: GetDraftPostsSort$1;
@@ -5779,6 +5762,7 @@ interface CreateDraftPostRequest {
5779
5762
  fieldsets?: Field$2[];
5780
5763
  }
5781
5764
  declare enum Field$2 {
5765
+ /** Unknown field. */
5782
5766
  UNKNOWN = "UNKNOWN",
5783
5767
  /** Includes draft post preview URL. */
5784
5768
  URL = "URL",
@@ -5883,19 +5867,19 @@ interface MaskedDraftPosts {
5883
5867
  draftPost?: DraftPost;
5884
5868
  }
5885
5869
  declare enum Action {
5886
- /** Update draft post properties. */
5870
+ /** Update the draft post. */
5887
5871
  UPDATE = "UPDATE",
5888
- /** Update and publish draft post. */
5872
+ /** Update and publish a draft post. */
5889
5873
  UPDATE_PUBLISH = "UPDATE_PUBLISH",
5890
- /** Update and schedule draft post. */
5874
+ /** Update the draft post and schedule a publish date. */
5891
5875
  UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
5892
- /** Update and revert to draft a published post. */
5876
+ /** Update the post and revert it to draft. */
5893
5877
  UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
5894
- /** Update draft and cancel post scheduling. */
5878
+ /** Update the draft post and cancel the scheduled publish date. */
5895
5879
  UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
5896
- /** Update and reject draft post in moderation. */
5880
+ /** Update and reject draft post. */
5897
5881
  UPDATE_REJECT = "UPDATE_REJECT",
5898
- /** 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. */
5899
5883
  UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
5900
5884
  }
5901
5885
  interface BulkUpdateDraftPostsResponse {
@@ -5915,9 +5899,6 @@ interface ListDeletedDraftPostsRequest {
5915
5899
  /**
5916
5900
  * Sorting options.
5917
5901
  *
5918
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
5919
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
5920
- *
5921
5902
  * Default: `EDITING_DATE_DESCENDING`
5922
5903
  */
5923
5904
  sort?: GetDraftPostsSort;
@@ -5933,9 +5914,9 @@ interface ListDeletedDraftPostsRequest {
5933
5914
  draftPostIds?: string[];
5934
5915
  }
5935
5916
  declare enum GetDraftPostsSort {
5936
- /** Sorting by editing date descending. */
5917
+ /** Sort by `editedDate` in descending order. */
5937
5918
  EDITING_DATE_DESC = "EDITING_DATE_DESC",
5938
- /** Sorting by editing date ascending. */
5919
+ /** Sort by `editedDate` in ascending order. */
5939
5920
  EDITING_DATE_ASC = "EDITING_DATE_ASC"
5940
5921
  }
5941
5922
  interface BlogPaging$2 {
@@ -5992,14 +5973,6 @@ interface UpdateDraftPostRequest {
5992
5973
  /**
5993
5974
  * Action to perform on the post.
5994
5975
  *
5995
- * - `UPDATE`: Update the draft post.
5996
- * - `UPDATE_PUBLISH`: Update and publish a draft post.
5997
- * - `UPDATE_SCHEDULE`: Update the draft post and schedule a publish date.
5998
- * - `UPDATE_REVERT_TO_DRAFT`: Update the post and revert it to draft.
5999
- * - `UPDATE_CANCEL_SCHEDULE`: Update the draft post and cancel the scheduled publish date.
6000
- * - `UPDATE_REJECT`: Update and reject draft post.
6001
- * - `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.
6002
- *
6003
5976
  * Default: `UPDATE`
6004
5977
  */
6005
5978
  action?: Action;
@@ -6064,9 +6037,6 @@ interface ListDraftPostsRequest {
6064
6037
  /**
6065
6038
  * Sort options.
6066
6039
  *
6067
- * - `EDITING_DATE_ASC`: `editedDate` in ascending order.
6068
- * - `EDITING_DATE_DESC`: `editedDate` in descending order.
6069
- *
6070
6040
  * Default: `EDITING_DATE_DESCENDING`
6071
6041
  */
6072
6042
  sort?: GetDraftPostsSort;
@@ -8215,19 +8185,19 @@ interface EmbedVideo$1 {
8215
8185
  height?: number;
8216
8186
  }
8217
8187
  declare enum GetPostsSort$1 {
8218
- /** Sorting by publishing date descending with pinned posts first. The default value */
8188
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
8219
8189
  FEED = "FEED",
8220
- /** Sorting by publishing date ascending */
8190
+ /** Ordered by `firstPublishedDate` in ascending order. */
8221
8191
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
8222
- /** Sorting by publishing date descending */
8192
+ /** Ordered by `firstPublishedDate` in descending order. */
8223
8193
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
8224
- /** Sorting by view count descending */
8194
+ /** Ordered by total number of views in descending order. */
8225
8195
  VIEW_COUNT = "VIEW_COUNT",
8226
- /** Sorting by like count descending */
8196
+ /** Ordered by total number of likes in descending order. */
8227
8197
  LIKE_COUNT = "LIKE_COUNT",
8228
- /** Sorting by title ascending */
8198
+ /** Ordered by `title` in ascening order. */
8229
8199
  TITLE_ASC = "TITLE_ASC",
8230
- /** Sorting by title descending */
8200
+ /** Ordered by `title` in descending order. */
8231
8201
  TITLE_DESC = "TITLE_DESC"
8232
8202
  }
8233
8203
  interface BlogPaging$1 {
@@ -8250,17 +8220,17 @@ interface BlogPaging$1 {
8250
8220
  }
8251
8221
  declare enum PostFieldField$1 {
8252
8222
  UNKNOWN = "UNKNOWN",
8253
- /** Includes Post url when present */
8223
+ /** Includes Post url when present. */
8254
8224
  URL = "URL",
8255
- /** Includes Post content text string when present */
8225
+ /** Includes Post content text string when present. */
8256
8226
  CONTENT_TEXT = "CONTENT_TEXT",
8257
- /** Includes Post metrics when present */
8227
+ /** Includes Post metrics when present. */
8258
8228
  METRICS = "METRICS",
8259
- /** Includes SEO data */
8229
+ /** Includes SEO data. */
8260
8230
  SEO = "SEO",
8261
- /** Includes post owners Contact Id */
8231
+ /** Includes post owners Contact Id. */
8262
8232
  CONTACT_ID = "CONTACT_ID",
8263
- /** Includes post rich content */
8233
+ /** Includes post rich content. */
8264
8234
  RICH_CONTENT = "RICH_CONTENT"
8265
8235
  }
8266
8236
  interface MetaData$3 {
@@ -8358,15 +8328,6 @@ interface ListPostsRequest$1 {
8358
8328
  /**
8359
8329
  * Sorting options.
8360
8330
  *
8361
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
8362
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
8363
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
8364
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
8365
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
8366
- * - `TITLE_ASC`: Ordered by `title` in ascening order.
8367
- * - `TITLE_DESC`: Ordered by `title` in descending order.
8368
- * - `RATING`: reserved for internal use.
8369
- *
8370
8331
  * Default: `FEED`
8371
8332
  */
8372
8333
  sort?: GetPostsSort$1;
@@ -10556,19 +10517,19 @@ interface EmbedVideo {
10556
10517
  height?: number;
10557
10518
  }
10558
10519
  declare enum GetPostsSort {
10559
- /** Sorting by publishing date descending with pinned posts first. The default value */
10520
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
10560
10521
  FEED = "FEED",
10561
- /** Sorting by publishing date ascending */
10522
+ /** Ordered by `firstPublishedDate` in ascending order. */
10562
10523
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
10563
- /** Sorting by publishing date descending */
10524
+ /** Ordered by `firstPublishedDate` in descending order. */
10564
10525
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
10565
- /** Sorting by view count descending */
10526
+ /** Ordered by total number of views in descending order. */
10566
10527
  VIEW_COUNT = "VIEW_COUNT",
10567
- /** Sorting by like count descending */
10528
+ /** Ordered by total number of likes in descending order. */
10568
10529
  LIKE_COUNT = "LIKE_COUNT",
10569
- /** Sorting by title ascending */
10530
+ /** Ordered by `title` in ascening order. */
10570
10531
  TITLE_ASC = "TITLE_ASC",
10571
- /** Sorting by title descending */
10532
+ /** Ordered by `title` in descending order. */
10572
10533
  TITLE_DESC = "TITLE_DESC"
10573
10534
  }
10574
10535
  interface BlogPaging {
@@ -10591,17 +10552,17 @@ interface BlogPaging {
10591
10552
  }
10592
10553
  declare enum PostFieldField {
10593
10554
  UNKNOWN = "UNKNOWN",
10594
- /** Includes Post url when present */
10555
+ /** Includes Post url when present. */
10595
10556
  URL = "URL",
10596
- /** Includes Post content text string when present */
10557
+ /** Includes Post content text string when present. */
10597
10558
  CONTENT_TEXT = "CONTENT_TEXT",
10598
- /** Includes Post metrics when present */
10559
+ /** Includes Post metrics when present. */
10599
10560
  METRICS = "METRICS",
10600
- /** Includes SEO data */
10561
+ /** Includes SEO data. */
10601
10562
  SEO = "SEO",
10602
- /** Includes post owners Contact Id */
10563
+ /** Includes post owners Contact Id. */
10603
10564
  CONTACT_ID = "CONTACT_ID",
10604
- /** Includes post rich content */
10565
+ /** Includes post rich content. */
10605
10566
  RICH_CONTENT = "RICH_CONTENT"
10606
10567
  }
10607
10568
  interface MetaData$2 {