@wix/blog 1.0.308 → 1.0.310
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.310",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/blog_blog-cache": "1.0.
|
|
22
|
-
"@wix/blog_blog-importer": "1.0.
|
|
23
|
-
"@wix/blog_categories": "1.0.
|
|
24
|
-
"@wix/blog_draft-posts": "1.0.
|
|
25
|
-
"@wix/blog_posts": "1.0.
|
|
26
|
-
"@wix/blog_tags": "1.0.
|
|
21
|
+
"@wix/blog_blog-cache": "1.0.8",
|
|
22
|
+
"@wix/blog_blog-importer": "1.0.19",
|
|
23
|
+
"@wix/blog_categories": "1.0.47",
|
|
24
|
+
"@wix/blog_draft-posts": "1.0.46",
|
|
25
|
+
"@wix/blog_posts": "1.0.52",
|
|
26
|
+
"@wix/blog_tags": "1.0.44"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"glob": "^10.4.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "9c351bcf5f3cc545f4b74d6f9a4db7775f403298b748f3af075f9246"
|
|
52
52
|
}
|
|
@@ -493,7 +493,7 @@ interface BlogCache {
|
|
|
493
493
|
* Date the blog cache was last updated
|
|
494
494
|
* @readonly
|
|
495
495
|
*/
|
|
496
|
-
_updatedDate?: Date;
|
|
496
|
+
_updatedDate?: Date | null;
|
|
497
497
|
}
|
|
498
498
|
interface SiteSupportedLanguage {
|
|
499
499
|
/** Language code */
|
|
@@ -1108,7 +1108,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
|
1108
1108
|
/** ID of the entity associated with the event. */
|
|
1109
1109
|
entityId?: string;
|
|
1110
1110
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1111
|
-
eventTime?: Date;
|
|
1111
|
+
eventTime?: Date | null;
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1114
1114
|
* (for example, GDPR).
|
|
@@ -1137,7 +1137,7 @@ interface EntityCreatedEvent$4 {
|
|
|
1137
1137
|
entity?: string;
|
|
1138
1138
|
}
|
|
1139
1139
|
interface RestoreInfo$4 {
|
|
1140
|
-
deletedDate?: Date;
|
|
1140
|
+
deletedDate?: Date | null;
|
|
1141
1141
|
}
|
|
1142
1142
|
interface EntityUpdatedEvent$4 {
|
|
1143
1143
|
/**
|
|
@@ -1472,7 +1472,7 @@ interface Category$2 {
|
|
|
1472
1472
|
* Date and time the Category was last updated.
|
|
1473
1473
|
* @readonly
|
|
1474
1474
|
*/
|
|
1475
|
-
_updatedDate?: Date;
|
|
1475
|
+
_updatedDate?: Date | null;
|
|
1476
1476
|
}
|
|
1477
1477
|
/**
|
|
1478
1478
|
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
@@ -1872,7 +1872,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
|
1872
1872
|
/** ID of the entity associated with the event. */
|
|
1873
1873
|
entityId?: string;
|
|
1874
1874
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1875
|
-
eventTime?: Date;
|
|
1875
|
+
eventTime?: Date | null;
|
|
1876
1876
|
/**
|
|
1877
1877
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1878
1878
|
* (for example, GDPR).
|
|
@@ -1901,7 +1901,7 @@ interface EntityCreatedEvent$3 {
|
|
|
1901
1901
|
entity?: string;
|
|
1902
1902
|
}
|
|
1903
1903
|
interface RestoreInfo$3 {
|
|
1904
|
-
deletedDate?: Date;
|
|
1904
|
+
deletedDate?: Date | null;
|
|
1905
1905
|
}
|
|
1906
1906
|
interface EntityUpdatedEvent$3 {
|
|
1907
1907
|
/**
|
|
@@ -2037,7 +2037,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
|
2037
2037
|
/** ID of the entity associated with the event. */
|
|
2038
2038
|
entityId?: string;
|
|
2039
2039
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2040
|
-
eventTime?: Date;
|
|
2040
|
+
eventTime?: Date | null;
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2043
2043
|
* (for example, GDPR).
|
|
@@ -2116,11 +2116,11 @@ interface CategoriesQueryBuilder {
|
|
|
2116
2116
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2117
2117
|
* @param value - Value to compare against.
|
|
2118
2118
|
*/
|
|
2119
|
-
eq: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2119
|
+
eq: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2120
2120
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2121
2121
|
* @param value - Value to compare against.
|
|
2122
2122
|
*/
|
|
2123
|
-
ne: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2123
|
+
ne: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2124
2124
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2125
2125
|
* @param value - Value to compare against.
|
|
2126
2126
|
*/
|
|
@@ -2141,12 +2141,8 @@ interface CategoriesQueryBuilder {
|
|
|
2141
2141
|
* @param string - String to compare against. Case-insensitive.
|
|
2142
2142
|
*/
|
|
2143
2143
|
startsWith: (propertyName: 'label' | 'title', value: string) => CategoriesQueryBuilder;
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
*/
|
|
2147
|
-
hasSome: (propertyName: '_id' | 'label' | 'title' | 'slug', value: any[]) => CategoriesQueryBuilder;
|
|
2148
|
-
in: (propertyName: 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2149
|
-
exists: (propertyName: 'label' | 'title' | 'translationId' | 'language', value: boolean) => CategoriesQueryBuilder;
|
|
2144
|
+
in: (propertyName: 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2145
|
+
exists: (propertyName: 'label' | 'title' | 'translationId' | 'language' | 'slug', value: boolean) => CategoriesQueryBuilder;
|
|
2150
2146
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
2151
2147
|
ascending: (...propertyNames: Array<'label' | 'postCount' | 'title' | 'displayPosition' | 'language' | 'slug'>) => CategoriesQueryBuilder;
|
|
2152
2148
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -2388,16 +2384,16 @@ interface DraftPost$1 {
|
|
|
2388
2384
|
* Date the draft post was last edited.
|
|
2389
2385
|
* @readonly
|
|
2390
2386
|
*/
|
|
2391
|
-
editedDate?: Date;
|
|
2387
|
+
editedDate?: Date | null;
|
|
2392
2388
|
/**
|
|
2393
2389
|
* Date the draft post is scheduled to be published.
|
|
2394
2390
|
* @readonly
|
|
2395
2391
|
*/
|
|
2396
|
-
scheduledPublishDate?: Date;
|
|
2392
|
+
scheduledPublishDate?: Date | null;
|
|
2397
2393
|
/** Reserved for internal use. */
|
|
2398
2394
|
content?: Record<string, any> | null;
|
|
2399
2395
|
/** Date the post was first published. */
|
|
2400
|
-
firstPublishedDate?: Date;
|
|
2396
|
+
firstPublishedDate?: Date | null;
|
|
2401
2397
|
/** SEO data. */
|
|
2402
2398
|
seoData?: SeoSchema$2;
|
|
2403
2399
|
/**
|
|
@@ -2422,7 +2418,7 @@ interface DraftPost$1 {
|
|
|
2422
2418
|
* Date the draft post was first created.
|
|
2423
2419
|
* @readonly
|
|
2424
2420
|
*/
|
|
2425
|
-
_createdDate?: Date;
|
|
2421
|
+
_createdDate?: Date | null;
|
|
2426
2422
|
/** SEO slug. */
|
|
2427
2423
|
seoSlug?: string | null;
|
|
2428
2424
|
/** Post cover media. */
|
|
@@ -3728,12 +3724,12 @@ interface Metadata$1 {
|
|
|
3728
3724
|
* @readonly
|
|
3729
3725
|
* @deprecated
|
|
3730
3726
|
*/
|
|
3731
|
-
createdTimestamp?: Date;
|
|
3727
|
+
createdTimestamp?: Date | null;
|
|
3732
3728
|
/**
|
|
3733
3729
|
* When the object was most recently updated.
|
|
3734
3730
|
* @deprecated
|
|
3735
3731
|
*/
|
|
3736
|
-
updatedTimestamp?: Date;
|
|
3732
|
+
updatedTimestamp?: Date | null;
|
|
3737
3733
|
/** Object ID. */
|
|
3738
3734
|
_id?: string | null;
|
|
3739
3735
|
}
|
|
@@ -3788,13 +3784,13 @@ interface ModerationDetails$1 {
|
|
|
3788
3784
|
/** Member ID of the person submitting the draft post for review. */
|
|
3789
3785
|
submittedBy?: string;
|
|
3790
3786
|
/** Date the post was submitted for review. */
|
|
3791
|
-
submittedDate?: Date;
|
|
3787
|
+
submittedDate?: Date | null;
|
|
3792
3788
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
3793
3789
|
status?: ModerationStatusStatus$1;
|
|
3794
3790
|
/** Member ID of the person who approved or rejected the post. */
|
|
3795
3791
|
moderatedBy?: string | null;
|
|
3796
3792
|
/** Date the post was approved or rejected. */
|
|
3797
|
-
moderationDate?: Date;
|
|
3793
|
+
moderationDate?: Date | null;
|
|
3798
3794
|
}
|
|
3799
3795
|
declare enum ModerationStatusStatus$1 {
|
|
3800
3796
|
UNKNOWN = "UNKNOWN",
|
|
@@ -4045,7 +4041,7 @@ interface BulkUpdateDraftPostsRequest {
|
|
|
4045
4041
|
*/
|
|
4046
4042
|
action?: Action;
|
|
4047
4043
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
4048
|
-
scheduledPublishDate?: Date;
|
|
4044
|
+
scheduledPublishDate?: Date | null;
|
|
4049
4045
|
/** Whether to return the full updated draft post entities in the response. */
|
|
4050
4046
|
returnFullEntity?: boolean;
|
|
4051
4047
|
/**
|
|
@@ -4210,7 +4206,7 @@ interface UpdateDraftPostRequest {
|
|
|
4210
4206
|
*/
|
|
4211
4207
|
action?: Action;
|
|
4212
4208
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
4213
|
-
scheduledPublishDate?: Date;
|
|
4209
|
+
scheduledPublishDate?: Date | null;
|
|
4214
4210
|
/**
|
|
4215
4211
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4216
4212
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -4447,7 +4443,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
4447
4443
|
/** ID of the entity associated with the event. */
|
|
4448
4444
|
entityId?: string;
|
|
4449
4445
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4450
|
-
eventTime?: Date;
|
|
4446
|
+
eventTime?: Date | null;
|
|
4451
4447
|
/**
|
|
4452
4448
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
4453
4449
|
* (for example, GDPR).
|
|
@@ -4476,7 +4472,7 @@ interface EntityCreatedEvent$2 {
|
|
|
4476
4472
|
entity?: string;
|
|
4477
4473
|
}
|
|
4478
4474
|
interface RestoreInfo$2 {
|
|
4479
|
-
deletedDate?: Date;
|
|
4475
|
+
deletedDate?: Date | null;
|
|
4480
4476
|
}
|
|
4481
4477
|
interface EntityUpdatedEvent$2 {
|
|
4482
4478
|
/**
|
|
@@ -4621,7 +4617,7 @@ interface Category$1 {
|
|
|
4621
4617
|
* Date and time the Category was last updated.
|
|
4622
4618
|
* @readonly
|
|
4623
4619
|
*/
|
|
4624
|
-
_updatedDate?: Date;
|
|
4620
|
+
_updatedDate?: Date | null;
|
|
4625
4621
|
}
|
|
4626
4622
|
interface CategoryTranslation$1 {
|
|
4627
4623
|
/** Category ID */
|
|
@@ -5218,7 +5214,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
|
5218
5214
|
/** ID of the entity associated with the event. */
|
|
5219
5215
|
entityId?: string;
|
|
5220
5216
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
5221
|
-
eventTime?: Date;
|
|
5217
|
+
eventTime?: Date | null;
|
|
5222
5218
|
/**
|
|
5223
5219
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
5224
5220
|
* (for example, GDPR).
|
|
@@ -5291,7 +5287,7 @@ interface BulkUpdateDraftPostsOptions {
|
|
|
5291
5287
|
*/
|
|
5292
5288
|
action?: Action;
|
|
5293
5289
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
5294
|
-
scheduledPublishDate?: Date;
|
|
5290
|
+
scheduledPublishDate?: Date | null;
|
|
5295
5291
|
/** Whether to return the full updated draft post entities in the response. */
|
|
5296
5292
|
returnFullEntity?: boolean;
|
|
5297
5293
|
/**
|
|
@@ -5423,16 +5419,16 @@ interface UpdateDraftPost {
|
|
|
5423
5419
|
* Date the draft post was last edited.
|
|
5424
5420
|
* @readonly
|
|
5425
5421
|
*/
|
|
5426
|
-
editedDate?: Date;
|
|
5422
|
+
editedDate?: Date | null;
|
|
5427
5423
|
/**
|
|
5428
5424
|
* Date the draft post is scheduled to be published.
|
|
5429
5425
|
* @readonly
|
|
5430
5426
|
*/
|
|
5431
|
-
scheduledPublishDate?: Date;
|
|
5427
|
+
scheduledPublishDate?: Date | null;
|
|
5432
5428
|
/** Reserved for internal use. */
|
|
5433
5429
|
content?: Record<string, any> | null;
|
|
5434
5430
|
/** Date the post was first published. */
|
|
5435
|
-
firstPublishedDate?: Date;
|
|
5431
|
+
firstPublishedDate?: Date | null;
|
|
5436
5432
|
/** SEO data. */
|
|
5437
5433
|
seoData?: SeoSchema$2;
|
|
5438
5434
|
/**
|
|
@@ -5457,7 +5453,7 @@ interface UpdateDraftPost {
|
|
|
5457
5453
|
* Date the draft post was first created.
|
|
5458
5454
|
* @readonly
|
|
5459
5455
|
*/
|
|
5460
|
-
_createdDate?: Date;
|
|
5456
|
+
_createdDate?: Date | null;
|
|
5461
5457
|
/** SEO slug. */
|
|
5462
5458
|
seoSlug?: string | null;
|
|
5463
5459
|
/** Post cover media. */
|
|
@@ -5486,7 +5482,7 @@ interface UpdateDraftPostOptions {
|
|
|
5486
5482
|
*/
|
|
5487
5483
|
action?: Action;
|
|
5488
5484
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
5489
|
-
scheduledPublishDate?: Date;
|
|
5485
|
+
scheduledPublishDate?: Date | null;
|
|
5490
5486
|
/**
|
|
5491
5487
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
5492
5488
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -5944,12 +5940,12 @@ interface Post {
|
|
|
5944
5940
|
*/
|
|
5945
5941
|
contentText?: string | null;
|
|
5946
5942
|
/** Date the post was first published. */
|
|
5947
|
-
firstPublishedDate?: Date;
|
|
5943
|
+
firstPublishedDate?: Date | null;
|
|
5948
5944
|
/**
|
|
5949
5945
|
* Date the post was last published.
|
|
5950
5946
|
* @readonly
|
|
5951
5947
|
*/
|
|
5952
|
-
lastPublishedDate?: Date;
|
|
5948
|
+
lastPublishedDate?: Date | null;
|
|
5953
5949
|
/** Post URL. */
|
|
5954
5950
|
url?: string;
|
|
5955
5951
|
/**
|
|
@@ -7370,9 +7366,9 @@ interface Metadata {
|
|
|
7370
7366
|
* When the object was created.
|
|
7371
7367
|
* @readonly
|
|
7372
7368
|
*/
|
|
7373
|
-
createdTimestamp?: Date;
|
|
7369
|
+
createdTimestamp?: Date | null;
|
|
7374
7370
|
/** When the object was most recently updated. */
|
|
7375
|
-
updatedTimestamp?: Date;
|
|
7371
|
+
updatedTimestamp?: Date | null;
|
|
7376
7372
|
/** Object ID. */
|
|
7377
7373
|
_id?: string | null;
|
|
7378
7374
|
}
|
|
@@ -7408,13 +7404,13 @@ interface ModerationDetails {
|
|
|
7408
7404
|
/** Member ID of the person who submitted the post. */
|
|
7409
7405
|
submittedBy?: string;
|
|
7410
7406
|
/** Date and time the post was submitted for moderation. */
|
|
7411
|
-
submittedDate?: Date;
|
|
7407
|
+
submittedDate?: Date | null;
|
|
7412
7408
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
7413
7409
|
status?: ModerationStatusStatus;
|
|
7414
7410
|
/** Member ID of the person who approved or rejected the post. */
|
|
7415
7411
|
moderatedBy?: string | null;
|
|
7416
7412
|
/** Date and time the post was approved or rejected by a moderator. */
|
|
7417
|
-
moderationDate?: Date;
|
|
7413
|
+
moderationDate?: Date | null;
|
|
7418
7414
|
}
|
|
7419
7415
|
declare enum ModerationStatusStatus {
|
|
7420
7416
|
UNKNOWN = "UNKNOWN",
|
|
@@ -7522,7 +7518,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
7522
7518
|
/** ID of the entity associated with the event. */
|
|
7523
7519
|
entityId?: string;
|
|
7524
7520
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
7525
|
-
eventTime?: Date;
|
|
7521
|
+
eventTime?: Date | null;
|
|
7526
7522
|
/**
|
|
7527
7523
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
7528
7524
|
* (for example, GDPR).
|
|
@@ -7551,7 +7547,7 @@ interface EntityCreatedEvent$1 {
|
|
|
7551
7547
|
entity?: string;
|
|
7552
7548
|
}
|
|
7553
7549
|
interface RestoreInfo$1 {
|
|
7554
|
-
deletedDate?: Date;
|
|
7550
|
+
deletedDate?: Date | null;
|
|
7555
7551
|
}
|
|
7556
7552
|
interface EntityUpdatedEvent$1 {
|
|
7557
7553
|
/**
|
|
@@ -7842,7 +7838,7 @@ interface Category {
|
|
|
7842
7838
|
* Date and time the Category was last updated.
|
|
7843
7839
|
* @readonly
|
|
7844
7840
|
*/
|
|
7845
|
-
_updatedDate?: Date;
|
|
7841
|
+
_updatedDate?: Date | null;
|
|
7846
7842
|
}
|
|
7847
7843
|
interface CategoryTranslation {
|
|
7848
7844
|
/** Category ID */
|
|
@@ -7962,16 +7958,16 @@ interface DraftPost {
|
|
|
7962
7958
|
* Date the draft post was last edited.
|
|
7963
7959
|
* @readonly
|
|
7964
7960
|
*/
|
|
7965
|
-
editedDate?: Date;
|
|
7961
|
+
editedDate?: Date | null;
|
|
7966
7962
|
/**
|
|
7967
7963
|
* Date the draft post is scheduled to be published.
|
|
7968
7964
|
* @readonly
|
|
7969
7965
|
*/
|
|
7970
|
-
scheduledPublishDate?: Date;
|
|
7966
|
+
scheduledPublishDate?: Date | null;
|
|
7971
7967
|
/** Reserved for internal use. */
|
|
7972
7968
|
content?: Record<string, any> | null;
|
|
7973
7969
|
/** Date the post was first published. */
|
|
7974
|
-
firstPublishedDate?: Date;
|
|
7970
|
+
firstPublishedDate?: Date | null;
|
|
7975
7971
|
/** SEO data. */
|
|
7976
7972
|
seoData?: SeoSchema$1;
|
|
7977
7973
|
/**
|
|
@@ -7995,7 +7991,7 @@ interface DraftPost {
|
|
|
7995
7991
|
* Date the draft post was first created.
|
|
7996
7992
|
* @readonly
|
|
7997
7993
|
*/
|
|
7998
|
-
_createdDate?: Date;
|
|
7994
|
+
_createdDate?: Date | null;
|
|
7999
7995
|
/** SEO slug. */
|
|
8000
7996
|
seoSlug?: string | null;
|
|
8001
7997
|
/** Post cover media. */
|
|
@@ -8565,9 +8561,9 @@ interface Reactions {
|
|
|
8565
8561
|
/** Get Blog Publications Count Stats request */
|
|
8566
8562
|
interface QueryPublicationsCountStatsRequest {
|
|
8567
8563
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
8568
|
-
rangeStart?: Date;
|
|
8564
|
+
rangeStart?: Date | null;
|
|
8569
8565
|
/** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
|
|
8570
|
-
rangeEnd?: Date;
|
|
8566
|
+
rangeEnd?: Date | null;
|
|
8571
8567
|
/** Order of the returned results. */
|
|
8572
8568
|
order?: QueryPublicationsCountStatsRequestOrder;
|
|
8573
8569
|
/** Number of months to include in the response. */
|
|
@@ -8594,14 +8590,14 @@ interface QueryPublicationsCountStatsResponse {
|
|
|
8594
8590
|
/** Publications count for a specific time period */
|
|
8595
8591
|
interface PeriodPublicationsCount {
|
|
8596
8592
|
/** Start of time range in ISO 8601 date and time format. */
|
|
8597
|
-
periodStart?: Date;
|
|
8593
|
+
periodStart?: Date | null;
|
|
8598
8594
|
/** Number of posts published during this month. */
|
|
8599
8595
|
publicationsCount?: number;
|
|
8600
8596
|
}
|
|
8601
8597
|
/** Get Blog Post Count Stats request */
|
|
8602
8598
|
interface QueryPostCountStatsRequest {
|
|
8603
8599
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
8604
|
-
rangeStart?: Date;
|
|
8600
|
+
rangeStart?: Date | null;
|
|
8605
8601
|
/**
|
|
8606
8602
|
* __Deprecated.__ Use `months` instead.
|
|
8607
8603
|
* This property will be removed on June 30, 2023.
|
|
@@ -8614,7 +8610,7 @@ interface QueryPostCountStatsRequest {
|
|
|
8614
8610
|
* @replacedBy months
|
|
8615
8611
|
* @targetRemovalDate 2024-06-30
|
|
8616
8612
|
*/
|
|
8617
|
-
rangeEnd?: Date;
|
|
8613
|
+
rangeEnd?: Date | null;
|
|
8618
8614
|
/**
|
|
8619
8615
|
* Order of returned results.
|
|
8620
8616
|
*
|
|
@@ -8653,7 +8649,7 @@ interface QueryPostCountStatsResponse {
|
|
|
8653
8649
|
/** Post count for a specific time period */
|
|
8654
8650
|
interface PeriodPostCount {
|
|
8655
8651
|
/** Start of time range in ISO 8601 date and time format. */
|
|
8656
|
-
periodStart?: Date;
|
|
8652
|
+
periodStart?: Date | null;
|
|
8657
8653
|
/** Number of posts published during this month. */
|
|
8658
8654
|
postCount?: number;
|
|
8659
8655
|
}
|
|
@@ -9093,7 +9089,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
9093
9089
|
/** ID of the entity associated with the event. */
|
|
9094
9090
|
entityId?: string;
|
|
9095
9091
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
9096
|
-
eventTime?: Date;
|
|
9092
|
+
eventTime?: Date | null;
|
|
9097
9093
|
/**
|
|
9098
9094
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
9099
9095
|
* (for example, GDPR).
|
|
@@ -9333,7 +9329,7 @@ interface PostsQueryBuilder {
|
|
|
9333
9329
|
}
|
|
9334
9330
|
interface QueryPostCountStatsOptions {
|
|
9335
9331
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
9336
|
-
rangeStart?: Date;
|
|
9332
|
+
rangeStart?: Date | null;
|
|
9337
9333
|
/**
|
|
9338
9334
|
* Reserved for internal use.
|
|
9339
9335
|
* @deprecated __Deprecated.__ Use `months` instead.
|
|
@@ -9343,7 +9339,7 @@ interface QueryPostCountStatsOptions {
|
|
|
9343
9339
|
* @replacedBy months
|
|
9344
9340
|
* @targetRemovalDate 2024-06-30
|
|
9345
9341
|
*/
|
|
9346
|
-
rangeEnd?: Date;
|
|
9342
|
+
rangeEnd?: Date | null;
|
|
9347
9343
|
/**
|
|
9348
9344
|
* Sort order.
|
|
9349
9345
|
* Use `'ASC'` for ascending order or `'DESC'` for descending order.
|
|
@@ -9841,12 +9837,12 @@ interface BlogTag {
|
|
|
9841
9837
|
* Date the tag was created.
|
|
9842
9838
|
* @readonly
|
|
9843
9839
|
*/
|
|
9844
|
-
_createdDate?: Date;
|
|
9840
|
+
_createdDate?: Date | null;
|
|
9845
9841
|
/**
|
|
9846
9842
|
* Date the tag was last updated.
|
|
9847
9843
|
* @readonly
|
|
9848
9844
|
*/
|
|
9849
|
-
_updatedDate?: Date;
|
|
9845
|
+
_updatedDate?: Date | null;
|
|
9850
9846
|
/**
|
|
9851
9847
|
* Reserved for internal use.
|
|
9852
9848
|
* @readonly
|
|
@@ -10387,7 +10383,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
10387
10383
|
/** ID of the entity associated with the event. */
|
|
10388
10384
|
entityId?: string;
|
|
10389
10385
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
10390
|
-
eventTime?: Date;
|
|
10386
|
+
eventTime?: Date | null;
|
|
10391
10387
|
/**
|
|
10392
10388
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
10393
10389
|
* (for example, GDPR).
|
|
@@ -10416,7 +10412,7 @@ interface EntityCreatedEvent {
|
|
|
10416
10412
|
entity?: string;
|
|
10417
10413
|
}
|
|
10418
10414
|
interface RestoreInfo {
|
|
10419
|
-
deletedDate?: Date;
|
|
10415
|
+
deletedDate?: Date | null;
|
|
10420
10416
|
}
|
|
10421
10417
|
interface EntityUpdatedEvent {
|
|
10422
10418
|
/**
|
|
@@ -10550,7 +10546,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
10550
10546
|
/** ID of the entity associated with the event. */
|
|
10551
10547
|
entityId?: string;
|
|
10552
10548
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
10553
|
-
eventTime?: Date;
|
|
10549
|
+
eventTime?: Date | null;
|
|
10554
10550
|
/**
|
|
10555
10551
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
10556
10552
|
* (for example, GDPR).
|
|
@@ -493,7 +493,7 @@ interface BlogCache {
|
|
|
493
493
|
* Date the blog cache was last updated
|
|
494
494
|
* @readonly
|
|
495
495
|
*/
|
|
496
|
-
_updatedDate?: Date;
|
|
496
|
+
_updatedDate?: Date | null;
|
|
497
497
|
}
|
|
498
498
|
interface SiteSupportedLanguage {
|
|
499
499
|
/** Language code */
|
|
@@ -1108,7 +1108,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
|
1108
1108
|
/** ID of the entity associated with the event. */
|
|
1109
1109
|
entityId?: string;
|
|
1110
1110
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1111
|
-
eventTime?: Date;
|
|
1111
|
+
eventTime?: Date | null;
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1114
1114
|
* (for example, GDPR).
|
|
@@ -1137,7 +1137,7 @@ interface EntityCreatedEvent$4 {
|
|
|
1137
1137
|
entity?: string;
|
|
1138
1138
|
}
|
|
1139
1139
|
interface RestoreInfo$4 {
|
|
1140
|
-
deletedDate?: Date;
|
|
1140
|
+
deletedDate?: Date | null;
|
|
1141
1141
|
}
|
|
1142
1142
|
interface EntityUpdatedEvent$4 {
|
|
1143
1143
|
/**
|
|
@@ -1472,7 +1472,7 @@ interface Category$2 {
|
|
|
1472
1472
|
* Date and time the Category was last updated.
|
|
1473
1473
|
* @readonly
|
|
1474
1474
|
*/
|
|
1475
|
-
_updatedDate?: Date;
|
|
1475
|
+
_updatedDate?: Date | null;
|
|
1476
1476
|
}
|
|
1477
1477
|
/**
|
|
1478
1478
|
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
@@ -1872,7 +1872,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
|
1872
1872
|
/** ID of the entity associated with the event. */
|
|
1873
1873
|
entityId?: string;
|
|
1874
1874
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1875
|
-
eventTime?: Date;
|
|
1875
|
+
eventTime?: Date | null;
|
|
1876
1876
|
/**
|
|
1877
1877
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1878
1878
|
* (for example, GDPR).
|
|
@@ -1901,7 +1901,7 @@ interface EntityCreatedEvent$3 {
|
|
|
1901
1901
|
entity?: string;
|
|
1902
1902
|
}
|
|
1903
1903
|
interface RestoreInfo$3 {
|
|
1904
|
-
deletedDate?: Date;
|
|
1904
|
+
deletedDate?: Date | null;
|
|
1905
1905
|
}
|
|
1906
1906
|
interface EntityUpdatedEvent$3 {
|
|
1907
1907
|
/**
|
|
@@ -2037,7 +2037,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
|
2037
2037
|
/** ID of the entity associated with the event. */
|
|
2038
2038
|
entityId?: string;
|
|
2039
2039
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2040
|
-
eventTime?: Date;
|
|
2040
|
+
eventTime?: Date | null;
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2043
2043
|
* (for example, GDPR).
|
|
@@ -2116,11 +2116,11 @@ interface CategoriesQueryBuilder {
|
|
|
2116
2116
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2117
2117
|
* @param value - Value to compare against.
|
|
2118
2118
|
*/
|
|
2119
|
-
eq: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2119
|
+
eq: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2120
2120
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2121
2121
|
* @param value - Value to compare against.
|
|
2122
2122
|
*/
|
|
2123
|
-
ne: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2123
|
+
ne: (propertyName: '_id' | 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2124
2124
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2125
2125
|
* @param value - Value to compare against.
|
|
2126
2126
|
*/
|
|
@@ -2141,12 +2141,8 @@ interface CategoriesQueryBuilder {
|
|
|
2141
2141
|
* @param string - String to compare against. Case-insensitive.
|
|
2142
2142
|
*/
|
|
2143
2143
|
startsWith: (propertyName: 'label' | 'title', value: string) => CategoriesQueryBuilder;
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
*/
|
|
2147
|
-
hasSome: (propertyName: '_id' | 'label' | 'title' | 'slug', value: any[]) => CategoriesQueryBuilder;
|
|
2148
|
-
in: (propertyName: 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language', value: any) => CategoriesQueryBuilder;
|
|
2149
|
-
exists: (propertyName: 'label' | 'title' | 'translationId' | 'language', value: boolean) => CategoriesQueryBuilder;
|
|
2144
|
+
in: (propertyName: 'label' | 'postCount' | 'title' | 'displayPosition' | 'translationId' | 'language' | 'slug', value: any) => CategoriesQueryBuilder;
|
|
2145
|
+
exists: (propertyName: 'label' | 'title' | 'translationId' | 'language' | 'slug', value: boolean) => CategoriesQueryBuilder;
|
|
2150
2146
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
2151
2147
|
ascending: (...propertyNames: Array<'label' | 'postCount' | 'title' | 'displayPosition' | 'language' | 'slug'>) => CategoriesQueryBuilder;
|
|
2152
2148
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -2388,16 +2384,16 @@ interface DraftPost$1 {
|
|
|
2388
2384
|
* Date the draft post was last edited.
|
|
2389
2385
|
* @readonly
|
|
2390
2386
|
*/
|
|
2391
|
-
editedDate?: Date;
|
|
2387
|
+
editedDate?: Date | null;
|
|
2392
2388
|
/**
|
|
2393
2389
|
* Date the draft post is scheduled to be published.
|
|
2394
2390
|
* @readonly
|
|
2395
2391
|
*/
|
|
2396
|
-
scheduledPublishDate?: Date;
|
|
2392
|
+
scheduledPublishDate?: Date | null;
|
|
2397
2393
|
/** Reserved for internal use. */
|
|
2398
2394
|
content?: Record<string, any> | null;
|
|
2399
2395
|
/** Date the post was first published. */
|
|
2400
|
-
firstPublishedDate?: Date;
|
|
2396
|
+
firstPublishedDate?: Date | null;
|
|
2401
2397
|
/** SEO data. */
|
|
2402
2398
|
seoData?: SeoSchema$2;
|
|
2403
2399
|
/**
|
|
@@ -2422,7 +2418,7 @@ interface DraftPost$1 {
|
|
|
2422
2418
|
* Date the draft post was first created.
|
|
2423
2419
|
* @readonly
|
|
2424
2420
|
*/
|
|
2425
|
-
_createdDate?: Date;
|
|
2421
|
+
_createdDate?: Date | null;
|
|
2426
2422
|
/** SEO slug. */
|
|
2427
2423
|
seoSlug?: string | null;
|
|
2428
2424
|
/** Post cover media. */
|
|
@@ -3728,12 +3724,12 @@ interface Metadata$1 {
|
|
|
3728
3724
|
* @readonly
|
|
3729
3725
|
* @deprecated
|
|
3730
3726
|
*/
|
|
3731
|
-
createdTimestamp?: Date;
|
|
3727
|
+
createdTimestamp?: Date | null;
|
|
3732
3728
|
/**
|
|
3733
3729
|
* When the object was most recently updated.
|
|
3734
3730
|
* @deprecated
|
|
3735
3731
|
*/
|
|
3736
|
-
updatedTimestamp?: Date;
|
|
3732
|
+
updatedTimestamp?: Date | null;
|
|
3737
3733
|
/** Object ID. */
|
|
3738
3734
|
_id?: string | null;
|
|
3739
3735
|
}
|
|
@@ -3788,13 +3784,13 @@ interface ModerationDetails$1 {
|
|
|
3788
3784
|
/** Member ID of the person submitting the draft post for review. */
|
|
3789
3785
|
submittedBy?: string;
|
|
3790
3786
|
/** Date the post was submitted for review. */
|
|
3791
|
-
submittedDate?: Date;
|
|
3787
|
+
submittedDate?: Date | null;
|
|
3792
3788
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
3793
3789
|
status?: ModerationStatusStatus$1;
|
|
3794
3790
|
/** Member ID of the person who approved or rejected the post. */
|
|
3795
3791
|
moderatedBy?: string | null;
|
|
3796
3792
|
/** Date the post was approved or rejected. */
|
|
3797
|
-
moderationDate?: Date;
|
|
3793
|
+
moderationDate?: Date | null;
|
|
3798
3794
|
}
|
|
3799
3795
|
declare enum ModerationStatusStatus$1 {
|
|
3800
3796
|
UNKNOWN = "UNKNOWN",
|
|
@@ -4045,7 +4041,7 @@ interface BulkUpdateDraftPostsRequest {
|
|
|
4045
4041
|
*/
|
|
4046
4042
|
action?: Action;
|
|
4047
4043
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
4048
|
-
scheduledPublishDate?: Date;
|
|
4044
|
+
scheduledPublishDate?: Date | null;
|
|
4049
4045
|
/** Whether to return the full updated draft post entities in the response. */
|
|
4050
4046
|
returnFullEntity?: boolean;
|
|
4051
4047
|
/**
|
|
@@ -4210,7 +4206,7 @@ interface UpdateDraftPostRequest {
|
|
|
4210
4206
|
*/
|
|
4211
4207
|
action?: Action;
|
|
4212
4208
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
4213
|
-
scheduledPublishDate?: Date;
|
|
4209
|
+
scheduledPublishDate?: Date | null;
|
|
4214
4210
|
/**
|
|
4215
4211
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4216
4212
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -4447,7 +4443,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
4447
4443
|
/** ID of the entity associated with the event. */
|
|
4448
4444
|
entityId?: string;
|
|
4449
4445
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4450
|
-
eventTime?: Date;
|
|
4446
|
+
eventTime?: Date | null;
|
|
4451
4447
|
/**
|
|
4452
4448
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
4453
4449
|
* (for example, GDPR).
|
|
@@ -4476,7 +4472,7 @@ interface EntityCreatedEvent$2 {
|
|
|
4476
4472
|
entity?: string;
|
|
4477
4473
|
}
|
|
4478
4474
|
interface RestoreInfo$2 {
|
|
4479
|
-
deletedDate?: Date;
|
|
4475
|
+
deletedDate?: Date | null;
|
|
4480
4476
|
}
|
|
4481
4477
|
interface EntityUpdatedEvent$2 {
|
|
4482
4478
|
/**
|
|
@@ -4621,7 +4617,7 @@ interface Category$1 {
|
|
|
4621
4617
|
* Date and time the Category was last updated.
|
|
4622
4618
|
* @readonly
|
|
4623
4619
|
*/
|
|
4624
|
-
_updatedDate?: Date;
|
|
4620
|
+
_updatedDate?: Date | null;
|
|
4625
4621
|
}
|
|
4626
4622
|
interface CategoryTranslation$1 {
|
|
4627
4623
|
/** Category ID */
|
|
@@ -5218,7 +5214,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
|
5218
5214
|
/** ID of the entity associated with the event. */
|
|
5219
5215
|
entityId?: string;
|
|
5220
5216
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
5221
|
-
eventTime?: Date;
|
|
5217
|
+
eventTime?: Date | null;
|
|
5222
5218
|
/**
|
|
5223
5219
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
5224
5220
|
* (for example, GDPR).
|
|
@@ -5291,7 +5287,7 @@ interface BulkUpdateDraftPostsOptions {
|
|
|
5291
5287
|
*/
|
|
5292
5288
|
action?: Action;
|
|
5293
5289
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
5294
|
-
scheduledPublishDate?: Date;
|
|
5290
|
+
scheduledPublishDate?: Date | null;
|
|
5295
5291
|
/** Whether to return the full updated draft post entities in the response. */
|
|
5296
5292
|
returnFullEntity?: boolean;
|
|
5297
5293
|
/**
|
|
@@ -5423,16 +5419,16 @@ interface UpdateDraftPost {
|
|
|
5423
5419
|
* Date the draft post was last edited.
|
|
5424
5420
|
* @readonly
|
|
5425
5421
|
*/
|
|
5426
|
-
editedDate?: Date;
|
|
5422
|
+
editedDate?: Date | null;
|
|
5427
5423
|
/**
|
|
5428
5424
|
* Date the draft post is scheduled to be published.
|
|
5429
5425
|
* @readonly
|
|
5430
5426
|
*/
|
|
5431
|
-
scheduledPublishDate?: Date;
|
|
5427
|
+
scheduledPublishDate?: Date | null;
|
|
5432
5428
|
/** Reserved for internal use. */
|
|
5433
5429
|
content?: Record<string, any> | null;
|
|
5434
5430
|
/** Date the post was first published. */
|
|
5435
|
-
firstPublishedDate?: Date;
|
|
5431
|
+
firstPublishedDate?: Date | null;
|
|
5436
5432
|
/** SEO data. */
|
|
5437
5433
|
seoData?: SeoSchema$2;
|
|
5438
5434
|
/**
|
|
@@ -5457,7 +5453,7 @@ interface UpdateDraftPost {
|
|
|
5457
5453
|
* Date the draft post was first created.
|
|
5458
5454
|
* @readonly
|
|
5459
5455
|
*/
|
|
5460
|
-
_createdDate?: Date;
|
|
5456
|
+
_createdDate?: Date | null;
|
|
5461
5457
|
/** SEO slug. */
|
|
5462
5458
|
seoSlug?: string | null;
|
|
5463
5459
|
/** Post cover media. */
|
|
@@ -5486,7 +5482,7 @@ interface UpdateDraftPostOptions {
|
|
|
5486
5482
|
*/
|
|
5487
5483
|
action?: Action;
|
|
5488
5484
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
5489
|
-
scheduledPublishDate?: Date;
|
|
5485
|
+
scheduledPublishDate?: Date | null;
|
|
5490
5486
|
/**
|
|
5491
5487
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
5492
5488
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -5944,12 +5940,12 @@ interface Post {
|
|
|
5944
5940
|
*/
|
|
5945
5941
|
contentText?: string | null;
|
|
5946
5942
|
/** Date the post was first published. */
|
|
5947
|
-
firstPublishedDate?: Date;
|
|
5943
|
+
firstPublishedDate?: Date | null;
|
|
5948
5944
|
/**
|
|
5949
5945
|
* Date the post was last published.
|
|
5950
5946
|
* @readonly
|
|
5951
5947
|
*/
|
|
5952
|
-
lastPublishedDate?: Date;
|
|
5948
|
+
lastPublishedDate?: Date | null;
|
|
5953
5949
|
/** Post URL. */
|
|
5954
5950
|
url?: string;
|
|
5955
5951
|
/**
|
|
@@ -7370,9 +7366,9 @@ interface Metadata {
|
|
|
7370
7366
|
* When the object was created.
|
|
7371
7367
|
* @readonly
|
|
7372
7368
|
*/
|
|
7373
|
-
createdTimestamp?: Date;
|
|
7369
|
+
createdTimestamp?: Date | null;
|
|
7374
7370
|
/** When the object was most recently updated. */
|
|
7375
|
-
updatedTimestamp?: Date;
|
|
7371
|
+
updatedTimestamp?: Date | null;
|
|
7376
7372
|
/** Object ID. */
|
|
7377
7373
|
_id?: string | null;
|
|
7378
7374
|
}
|
|
@@ -7408,13 +7404,13 @@ interface ModerationDetails {
|
|
|
7408
7404
|
/** Member ID of the person who submitted the post. */
|
|
7409
7405
|
submittedBy?: string;
|
|
7410
7406
|
/** Date and time the post was submitted for moderation. */
|
|
7411
|
-
submittedDate?: Date;
|
|
7407
|
+
submittedDate?: Date | null;
|
|
7412
7408
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
7413
7409
|
status?: ModerationStatusStatus;
|
|
7414
7410
|
/** Member ID of the person who approved or rejected the post. */
|
|
7415
7411
|
moderatedBy?: string | null;
|
|
7416
7412
|
/** Date and time the post was approved or rejected by a moderator. */
|
|
7417
|
-
moderationDate?: Date;
|
|
7413
|
+
moderationDate?: Date | null;
|
|
7418
7414
|
}
|
|
7419
7415
|
declare enum ModerationStatusStatus {
|
|
7420
7416
|
UNKNOWN = "UNKNOWN",
|
|
@@ -7522,7 +7518,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
7522
7518
|
/** ID of the entity associated with the event. */
|
|
7523
7519
|
entityId?: string;
|
|
7524
7520
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
7525
|
-
eventTime?: Date;
|
|
7521
|
+
eventTime?: Date | null;
|
|
7526
7522
|
/**
|
|
7527
7523
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
7528
7524
|
* (for example, GDPR).
|
|
@@ -7551,7 +7547,7 @@ interface EntityCreatedEvent$1 {
|
|
|
7551
7547
|
entity?: string;
|
|
7552
7548
|
}
|
|
7553
7549
|
interface RestoreInfo$1 {
|
|
7554
|
-
deletedDate?: Date;
|
|
7550
|
+
deletedDate?: Date | null;
|
|
7555
7551
|
}
|
|
7556
7552
|
interface EntityUpdatedEvent$1 {
|
|
7557
7553
|
/**
|
|
@@ -7842,7 +7838,7 @@ interface Category {
|
|
|
7842
7838
|
* Date and time the Category was last updated.
|
|
7843
7839
|
* @readonly
|
|
7844
7840
|
*/
|
|
7845
|
-
_updatedDate?: Date;
|
|
7841
|
+
_updatedDate?: Date | null;
|
|
7846
7842
|
}
|
|
7847
7843
|
interface CategoryTranslation {
|
|
7848
7844
|
/** Category ID */
|
|
@@ -7962,16 +7958,16 @@ interface DraftPost {
|
|
|
7962
7958
|
* Date the draft post was last edited.
|
|
7963
7959
|
* @readonly
|
|
7964
7960
|
*/
|
|
7965
|
-
editedDate?: Date;
|
|
7961
|
+
editedDate?: Date | null;
|
|
7966
7962
|
/**
|
|
7967
7963
|
* Date the draft post is scheduled to be published.
|
|
7968
7964
|
* @readonly
|
|
7969
7965
|
*/
|
|
7970
|
-
scheduledPublishDate?: Date;
|
|
7966
|
+
scheduledPublishDate?: Date | null;
|
|
7971
7967
|
/** Reserved for internal use. */
|
|
7972
7968
|
content?: Record<string, any> | null;
|
|
7973
7969
|
/** Date the post was first published. */
|
|
7974
|
-
firstPublishedDate?: Date;
|
|
7970
|
+
firstPublishedDate?: Date | null;
|
|
7975
7971
|
/** SEO data. */
|
|
7976
7972
|
seoData?: SeoSchema$1;
|
|
7977
7973
|
/**
|
|
@@ -7995,7 +7991,7 @@ interface DraftPost {
|
|
|
7995
7991
|
* Date the draft post was first created.
|
|
7996
7992
|
* @readonly
|
|
7997
7993
|
*/
|
|
7998
|
-
_createdDate?: Date;
|
|
7994
|
+
_createdDate?: Date | null;
|
|
7999
7995
|
/** SEO slug. */
|
|
8000
7996
|
seoSlug?: string | null;
|
|
8001
7997
|
/** Post cover media. */
|
|
@@ -8565,9 +8561,9 @@ interface Reactions {
|
|
|
8565
8561
|
/** Get Blog Publications Count Stats request */
|
|
8566
8562
|
interface QueryPublicationsCountStatsRequest {
|
|
8567
8563
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
8568
|
-
rangeStart?: Date;
|
|
8564
|
+
rangeStart?: Date | null;
|
|
8569
8565
|
/** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
|
|
8570
|
-
rangeEnd?: Date;
|
|
8566
|
+
rangeEnd?: Date | null;
|
|
8571
8567
|
/** Order of the returned results. */
|
|
8572
8568
|
order?: QueryPublicationsCountStatsRequestOrder;
|
|
8573
8569
|
/** Number of months to include in the response. */
|
|
@@ -8594,14 +8590,14 @@ interface QueryPublicationsCountStatsResponse {
|
|
|
8594
8590
|
/** Publications count for a specific time period */
|
|
8595
8591
|
interface PeriodPublicationsCount {
|
|
8596
8592
|
/** Start of time range in ISO 8601 date and time format. */
|
|
8597
|
-
periodStart?: Date;
|
|
8593
|
+
periodStart?: Date | null;
|
|
8598
8594
|
/** Number of posts published during this month. */
|
|
8599
8595
|
publicationsCount?: number;
|
|
8600
8596
|
}
|
|
8601
8597
|
/** Get Blog Post Count Stats request */
|
|
8602
8598
|
interface QueryPostCountStatsRequest {
|
|
8603
8599
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
8604
|
-
rangeStart?: Date;
|
|
8600
|
+
rangeStart?: Date | null;
|
|
8605
8601
|
/**
|
|
8606
8602
|
* __Deprecated.__ Use `months` instead.
|
|
8607
8603
|
* This property will be removed on June 30, 2023.
|
|
@@ -8614,7 +8610,7 @@ interface QueryPostCountStatsRequest {
|
|
|
8614
8610
|
* @replacedBy months
|
|
8615
8611
|
* @targetRemovalDate 2024-06-30
|
|
8616
8612
|
*/
|
|
8617
|
-
rangeEnd?: Date;
|
|
8613
|
+
rangeEnd?: Date | null;
|
|
8618
8614
|
/**
|
|
8619
8615
|
* Order of returned results.
|
|
8620
8616
|
*
|
|
@@ -8653,7 +8649,7 @@ interface QueryPostCountStatsResponse {
|
|
|
8653
8649
|
/** Post count for a specific time period */
|
|
8654
8650
|
interface PeriodPostCount {
|
|
8655
8651
|
/** Start of time range in ISO 8601 date and time format. */
|
|
8656
|
-
periodStart?: Date;
|
|
8652
|
+
periodStart?: Date | null;
|
|
8657
8653
|
/** Number of posts published during this month. */
|
|
8658
8654
|
postCount?: number;
|
|
8659
8655
|
}
|
|
@@ -9093,7 +9089,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
9093
9089
|
/** ID of the entity associated with the event. */
|
|
9094
9090
|
entityId?: string;
|
|
9095
9091
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
9096
|
-
eventTime?: Date;
|
|
9092
|
+
eventTime?: Date | null;
|
|
9097
9093
|
/**
|
|
9098
9094
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
9099
9095
|
* (for example, GDPR).
|
|
@@ -9333,7 +9329,7 @@ interface PostsQueryBuilder {
|
|
|
9333
9329
|
}
|
|
9334
9330
|
interface QueryPostCountStatsOptions {
|
|
9335
9331
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
9336
|
-
rangeStart?: Date;
|
|
9332
|
+
rangeStart?: Date | null;
|
|
9337
9333
|
/**
|
|
9338
9334
|
* Reserved for internal use.
|
|
9339
9335
|
* @deprecated __Deprecated.__ Use `months` instead.
|
|
@@ -9343,7 +9339,7 @@ interface QueryPostCountStatsOptions {
|
|
|
9343
9339
|
* @replacedBy months
|
|
9344
9340
|
* @targetRemovalDate 2024-06-30
|
|
9345
9341
|
*/
|
|
9346
|
-
rangeEnd?: Date;
|
|
9342
|
+
rangeEnd?: Date | null;
|
|
9347
9343
|
/**
|
|
9348
9344
|
* Sort order.
|
|
9349
9345
|
* Use `'ASC'` for ascending order or `'DESC'` for descending order.
|
|
@@ -9841,12 +9837,12 @@ interface BlogTag {
|
|
|
9841
9837
|
* Date the tag was created.
|
|
9842
9838
|
* @readonly
|
|
9843
9839
|
*/
|
|
9844
|
-
_createdDate?: Date;
|
|
9840
|
+
_createdDate?: Date | null;
|
|
9845
9841
|
/**
|
|
9846
9842
|
* Date the tag was last updated.
|
|
9847
9843
|
* @readonly
|
|
9848
9844
|
*/
|
|
9849
|
-
_updatedDate?: Date;
|
|
9845
|
+
_updatedDate?: Date | null;
|
|
9850
9846
|
/**
|
|
9851
9847
|
* Reserved for internal use.
|
|
9852
9848
|
* @readonly
|
|
@@ -10387,7 +10383,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
10387
10383
|
/** ID of the entity associated with the event. */
|
|
10388
10384
|
entityId?: string;
|
|
10389
10385
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
10390
|
-
eventTime?: Date;
|
|
10386
|
+
eventTime?: Date | null;
|
|
10391
10387
|
/**
|
|
10392
10388
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
10393
10389
|
* (for example, GDPR).
|
|
@@ -10416,7 +10412,7 @@ interface EntityCreatedEvent {
|
|
|
10416
10412
|
entity?: string;
|
|
10417
10413
|
}
|
|
10418
10414
|
interface RestoreInfo {
|
|
10419
|
-
deletedDate?: Date;
|
|
10415
|
+
deletedDate?: Date | null;
|
|
10420
10416
|
}
|
|
10421
10417
|
interface EntityUpdatedEvent {
|
|
10422
10418
|
/**
|
|
@@ -10550,7 +10546,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
10550
10546
|
/** ID of the entity associated with the event. */
|
|
10551
10547
|
entityId?: string;
|
|
10552
10548
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
10553
|
-
eventTime?: Date;
|
|
10549
|
+
eventTime?: Date | null;
|
|
10554
10550
|
/**
|
|
10555
10551
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
10556
10552
|
* (for example, GDPR).
|
|
@@ -15,7 +15,7 @@ interface BlogCache$1 {
|
|
|
15
15
|
* Date the blog cache was last updated
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
|
-
updatedDate?: Date;
|
|
18
|
+
updatedDate?: Date | null;
|
|
19
19
|
}
|
|
20
20
|
interface SiteSupportedLanguage$1 {
|
|
21
21
|
/** Language code */
|
|
@@ -389,7 +389,7 @@ interface BlogCache {
|
|
|
389
389
|
* Date the blog cache was last updated
|
|
390
390
|
* @readonly
|
|
391
391
|
*/
|
|
392
|
-
_updatedDate?: Date;
|
|
392
|
+
_updatedDate?: Date | null;
|
|
393
393
|
}
|
|
394
394
|
interface SiteSupportedLanguage {
|
|
395
395
|
/** Language code */
|
|
@@ -1028,7 +1028,7 @@ interface Category$1 {
|
|
|
1028
1028
|
* Date and time the Category was last updated.
|
|
1029
1029
|
* @readonly
|
|
1030
1030
|
*/
|
|
1031
|
-
updatedDate?: Date;
|
|
1031
|
+
updatedDate?: Date | null;
|
|
1032
1032
|
}
|
|
1033
1033
|
interface PageUrl$3 {
|
|
1034
1034
|
/** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */
|
|
@@ -1412,7 +1412,7 @@ interface Category {
|
|
|
1412
1412
|
* Date and time the Category was last updated.
|
|
1413
1413
|
* @readonly
|
|
1414
1414
|
*/
|
|
1415
|
-
_updatedDate?: Date;
|
|
1415
|
+
_updatedDate?: Date | null;
|
|
1416
1416
|
}
|
|
1417
1417
|
/**
|
|
1418
1418
|
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
@@ -1819,16 +1819,16 @@ interface DraftPost$1 {
|
|
|
1819
1819
|
* Date the draft post was last edited.
|
|
1820
1820
|
* @readonly
|
|
1821
1821
|
*/
|
|
1822
|
-
editedDate?: Date;
|
|
1822
|
+
editedDate?: Date | null;
|
|
1823
1823
|
/**
|
|
1824
1824
|
* Date the draft post is scheduled to be published.
|
|
1825
1825
|
* @readonly
|
|
1826
1826
|
*/
|
|
1827
|
-
scheduledPublishDate?: Date;
|
|
1827
|
+
scheduledPublishDate?: Date | null;
|
|
1828
1828
|
/** Reserved for internal use. */
|
|
1829
1829
|
content?: Record<string, any> | null;
|
|
1830
1830
|
/** Date the post was first published. */
|
|
1831
|
-
firstPublishedDate?: Date;
|
|
1831
|
+
firstPublishedDate?: Date | null;
|
|
1832
1832
|
/** SEO data. */
|
|
1833
1833
|
seoData?: SeoSchema$3;
|
|
1834
1834
|
/**
|
|
@@ -1852,7 +1852,7 @@ interface DraftPost$1 {
|
|
|
1852
1852
|
* Date the draft post was first created.
|
|
1853
1853
|
* @readonly
|
|
1854
1854
|
*/
|
|
1855
|
-
createdDate?: Date;
|
|
1855
|
+
createdDate?: Date | null;
|
|
1856
1856
|
/** SEO slug. */
|
|
1857
1857
|
seoSlug?: string | null;
|
|
1858
1858
|
/** Post cover media. */
|
|
@@ -3136,12 +3136,12 @@ interface Metadata$3 {
|
|
|
3136
3136
|
* @readonly
|
|
3137
3137
|
* @deprecated
|
|
3138
3138
|
*/
|
|
3139
|
-
createdTimestamp?: Date;
|
|
3139
|
+
createdTimestamp?: Date | null;
|
|
3140
3140
|
/**
|
|
3141
3141
|
* When the object was most recently updated.
|
|
3142
3142
|
* @deprecated
|
|
3143
3143
|
*/
|
|
3144
|
-
updatedTimestamp?: Date;
|
|
3144
|
+
updatedTimestamp?: Date | null;
|
|
3145
3145
|
/** Object ID. */
|
|
3146
3146
|
id?: string | null;
|
|
3147
3147
|
}
|
|
@@ -3196,13 +3196,13 @@ interface ModerationDetails$3 {
|
|
|
3196
3196
|
/** Member ID of the person submitting the draft post for review. */
|
|
3197
3197
|
submittedBy?: string;
|
|
3198
3198
|
/** Date the post was submitted for review. */
|
|
3199
|
-
submittedDate?: Date;
|
|
3199
|
+
submittedDate?: Date | null;
|
|
3200
3200
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
3201
3201
|
status?: ModerationStatusStatus$3;
|
|
3202
3202
|
/** Member ID of the person who approved or rejected the post. */
|
|
3203
3203
|
moderatedBy?: string | null;
|
|
3204
3204
|
/** Date the post was approved or rejected. */
|
|
3205
|
-
moderationDate?: Date;
|
|
3205
|
+
moderationDate?: Date | null;
|
|
3206
3206
|
}
|
|
3207
3207
|
declare enum ModerationStatusStatus$3 {
|
|
3208
3208
|
UNKNOWN = "UNKNOWN",
|
|
@@ -3442,7 +3442,7 @@ interface BulkUpdateDraftPostsRequest$1 {
|
|
|
3442
3442
|
*/
|
|
3443
3443
|
action?: Action$1;
|
|
3444
3444
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
3445
|
-
scheduledPublishDate?: Date;
|
|
3445
|
+
scheduledPublishDate?: Date | null;
|
|
3446
3446
|
/** Whether to return the full updated draft post entities in the response. */
|
|
3447
3447
|
returnFullEntity?: boolean;
|
|
3448
3448
|
/**
|
|
@@ -3578,7 +3578,7 @@ interface UpdateDraftPostRequest$1 {
|
|
|
3578
3578
|
*/
|
|
3579
3579
|
action?: Action$1;
|
|
3580
3580
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
3581
|
-
scheduledPublishDate?: Date;
|
|
3581
|
+
scheduledPublishDate?: Date | null;
|
|
3582
3582
|
/**
|
|
3583
3583
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3584
3584
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -4291,16 +4291,16 @@ interface DraftPost {
|
|
|
4291
4291
|
* Date the draft post was last edited.
|
|
4292
4292
|
* @readonly
|
|
4293
4293
|
*/
|
|
4294
|
-
editedDate?: Date;
|
|
4294
|
+
editedDate?: Date | null;
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Date the draft post is scheduled to be published.
|
|
4297
4297
|
* @readonly
|
|
4298
4298
|
*/
|
|
4299
|
-
scheduledPublishDate?: Date;
|
|
4299
|
+
scheduledPublishDate?: Date | null;
|
|
4300
4300
|
/** Reserved for internal use. */
|
|
4301
4301
|
content?: Record<string, any> | null;
|
|
4302
4302
|
/** Date the post was first published. */
|
|
4303
|
-
firstPublishedDate?: Date;
|
|
4303
|
+
firstPublishedDate?: Date | null;
|
|
4304
4304
|
/** SEO data. */
|
|
4305
4305
|
seoData?: SeoSchema$2;
|
|
4306
4306
|
/**
|
|
@@ -4325,7 +4325,7 @@ interface DraftPost {
|
|
|
4325
4325
|
* Date the draft post was first created.
|
|
4326
4326
|
* @readonly
|
|
4327
4327
|
*/
|
|
4328
|
-
_createdDate?: Date;
|
|
4328
|
+
_createdDate?: Date | null;
|
|
4329
4329
|
/** SEO slug. */
|
|
4330
4330
|
seoSlug?: string | null;
|
|
4331
4331
|
/** Post cover media. */
|
|
@@ -5586,12 +5586,12 @@ interface Metadata$2 {
|
|
|
5586
5586
|
* @readonly
|
|
5587
5587
|
* @deprecated
|
|
5588
5588
|
*/
|
|
5589
|
-
createdTimestamp?: Date;
|
|
5589
|
+
createdTimestamp?: Date | null;
|
|
5590
5590
|
/**
|
|
5591
5591
|
* When the object was most recently updated.
|
|
5592
5592
|
* @deprecated
|
|
5593
5593
|
*/
|
|
5594
|
-
updatedTimestamp?: Date;
|
|
5594
|
+
updatedTimestamp?: Date | null;
|
|
5595
5595
|
/** Object ID. */
|
|
5596
5596
|
_id?: string | null;
|
|
5597
5597
|
}
|
|
@@ -5646,13 +5646,13 @@ interface ModerationDetails$2 {
|
|
|
5646
5646
|
/** Member ID of the person submitting the draft post for review. */
|
|
5647
5647
|
submittedBy?: string;
|
|
5648
5648
|
/** Date the post was submitted for review. */
|
|
5649
|
-
submittedDate?: Date;
|
|
5649
|
+
submittedDate?: Date | null;
|
|
5650
5650
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
5651
5651
|
status?: ModerationStatusStatus$2;
|
|
5652
5652
|
/** Member ID of the person who approved or rejected the post. */
|
|
5653
5653
|
moderatedBy?: string | null;
|
|
5654
5654
|
/** Date the post was approved or rejected. */
|
|
5655
|
-
moderationDate?: Date;
|
|
5655
|
+
moderationDate?: Date | null;
|
|
5656
5656
|
}
|
|
5657
5657
|
declare enum ModerationStatusStatus$2 {
|
|
5658
5658
|
UNKNOWN = "UNKNOWN",
|
|
@@ -5862,7 +5862,7 @@ interface BulkUpdateDraftPostsRequest {
|
|
|
5862
5862
|
*/
|
|
5863
5863
|
action?: Action;
|
|
5864
5864
|
/** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
|
|
5865
|
-
scheduledPublishDate?: Date;
|
|
5865
|
+
scheduledPublishDate?: Date | null;
|
|
5866
5866
|
/** Whether to return the full updated draft post entities in the response. */
|
|
5867
5867
|
returnFullEntity?: boolean;
|
|
5868
5868
|
/**
|
|
@@ -5998,7 +5998,7 @@ interface UpdateDraftPostRequest {
|
|
|
5998
5998
|
*/
|
|
5999
5999
|
action?: Action;
|
|
6000
6000
|
/** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
|
|
6001
|
-
scheduledPublishDate?: Date;
|
|
6001
|
+
scheduledPublishDate?: Date | null;
|
|
6002
6002
|
/**
|
|
6003
6003
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
6004
6004
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -6673,12 +6673,12 @@ interface Post$1 {
|
|
|
6673
6673
|
*/
|
|
6674
6674
|
contentText?: string | null;
|
|
6675
6675
|
/** Date the post was first published. */
|
|
6676
|
-
firstPublishedDate?: Date;
|
|
6676
|
+
firstPublishedDate?: Date | null;
|
|
6677
6677
|
/**
|
|
6678
6678
|
* Date the post was last published.
|
|
6679
6679
|
* @readonly
|
|
6680
6680
|
*/
|
|
6681
|
-
lastPublishedDate?: Date;
|
|
6681
|
+
lastPublishedDate?: Date | null;
|
|
6682
6682
|
/** Post URL. */
|
|
6683
6683
|
url?: PageUrl$1;
|
|
6684
6684
|
/** Post slug. For example, `'post-slug'`. */
|
|
@@ -8084,9 +8084,9 @@ interface Metadata$1 {
|
|
|
8084
8084
|
* When the object was created.
|
|
8085
8085
|
* @readonly
|
|
8086
8086
|
*/
|
|
8087
|
-
createdTimestamp?: Date;
|
|
8087
|
+
createdTimestamp?: Date | null;
|
|
8088
8088
|
/** When the object was most recently updated. */
|
|
8089
|
-
updatedTimestamp?: Date;
|
|
8089
|
+
updatedTimestamp?: Date | null;
|
|
8090
8090
|
/** Object ID. */
|
|
8091
8091
|
id?: string | null;
|
|
8092
8092
|
}
|
|
@@ -8122,13 +8122,13 @@ interface ModerationDetails$1 {
|
|
|
8122
8122
|
/** Member ID of the person submitting the draft post for review. */
|
|
8123
8123
|
submittedBy?: string;
|
|
8124
8124
|
/** Date the post was submitted for review. */
|
|
8125
|
-
submittedDate?: Date;
|
|
8125
|
+
submittedDate?: Date | null;
|
|
8126
8126
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
8127
8127
|
status?: ModerationStatusStatus$1;
|
|
8128
8128
|
/** Member ID of the person who approved or rejected the post. */
|
|
8129
8129
|
moderatedBy?: string | null;
|
|
8130
8130
|
/** Date the post was approved or rejected. */
|
|
8131
|
-
moderationDate?: Date;
|
|
8131
|
+
moderationDate?: Date | null;
|
|
8132
8132
|
}
|
|
8133
8133
|
declare enum ModerationStatusStatus$1 {
|
|
8134
8134
|
UNKNOWN = "UNKNOWN",
|
|
@@ -8563,7 +8563,7 @@ interface GetPostMetricsResponse$1 {
|
|
|
8563
8563
|
/** Get Blog Post Count Stats request */
|
|
8564
8564
|
interface QueryPostCountStatsRequest$1 {
|
|
8565
8565
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
8566
|
-
rangeStart?: Date;
|
|
8566
|
+
rangeStart?: Date | null;
|
|
8567
8567
|
/**
|
|
8568
8568
|
* __Deprecated.__ Use `months` instead.
|
|
8569
8569
|
* This property will be removed on June 30, 2023.
|
|
@@ -8576,7 +8576,7 @@ interface QueryPostCountStatsRequest$1 {
|
|
|
8576
8576
|
* @replacedBy months
|
|
8577
8577
|
* @targetRemovalDate 2024-06-30
|
|
8578
8578
|
*/
|
|
8579
|
-
rangeEnd?: Date;
|
|
8579
|
+
rangeEnd?: Date | null;
|
|
8580
8580
|
/**
|
|
8581
8581
|
* Order of returned results.
|
|
8582
8582
|
*
|
|
@@ -8615,7 +8615,7 @@ interface QueryPostCountStatsResponse$1 {
|
|
|
8615
8615
|
/** Post count for a specific time period */
|
|
8616
8616
|
interface PeriodPostCount$1 {
|
|
8617
8617
|
/** Start of time range in ISO 8601 date and time format. */
|
|
8618
|
-
periodStart?: Date;
|
|
8618
|
+
periodStart?: Date | null;
|
|
8619
8619
|
/** Number of posts published during this month. */
|
|
8620
8620
|
postCount?: number;
|
|
8621
8621
|
}
|
|
@@ -9059,12 +9059,12 @@ interface Post {
|
|
|
9059
9059
|
*/
|
|
9060
9060
|
contentText?: string | null;
|
|
9061
9061
|
/** Date the post was first published. */
|
|
9062
|
-
firstPublishedDate?: Date;
|
|
9062
|
+
firstPublishedDate?: Date | null;
|
|
9063
9063
|
/**
|
|
9064
9064
|
* Date the post was last published.
|
|
9065
9065
|
* @readonly
|
|
9066
9066
|
*/
|
|
9067
|
-
lastPublishedDate?: Date;
|
|
9067
|
+
lastPublishedDate?: Date | null;
|
|
9068
9068
|
/** Post URL. */
|
|
9069
9069
|
url?: string;
|
|
9070
9070
|
/**
|
|
@@ -10445,9 +10445,9 @@ interface Metadata {
|
|
|
10445
10445
|
* When the object was created.
|
|
10446
10446
|
* @readonly
|
|
10447
10447
|
*/
|
|
10448
|
-
createdTimestamp?: Date;
|
|
10448
|
+
createdTimestamp?: Date | null;
|
|
10449
10449
|
/** When the object was most recently updated. */
|
|
10450
|
-
updatedTimestamp?: Date;
|
|
10450
|
+
updatedTimestamp?: Date | null;
|
|
10451
10451
|
/** Object ID. */
|
|
10452
10452
|
_id?: string | null;
|
|
10453
10453
|
}
|
|
@@ -10483,13 +10483,13 @@ interface ModerationDetails {
|
|
|
10483
10483
|
/** Member ID of the person who submitted the post. */
|
|
10484
10484
|
submittedBy?: string;
|
|
10485
10485
|
/** Date and time the post was submitted for moderation. */
|
|
10486
|
-
submittedDate?: Date;
|
|
10486
|
+
submittedDate?: Date | null;
|
|
10487
10487
|
/** Status indicating whether the submission was approved or rejected by the moderator. */
|
|
10488
10488
|
status?: ModerationStatusStatus;
|
|
10489
10489
|
/** Member ID of the person who approved or rejected the post. */
|
|
10490
10490
|
moderatedBy?: string | null;
|
|
10491
10491
|
/** Date and time the post was approved or rejected by a moderator. */
|
|
10492
|
-
moderationDate?: Date;
|
|
10492
|
+
moderationDate?: Date | null;
|
|
10493
10493
|
}
|
|
10494
10494
|
declare enum ModerationStatusStatus {
|
|
10495
10495
|
UNKNOWN = "UNKNOWN",
|
|
@@ -10866,7 +10866,7 @@ interface GetPostMetricsResponse {
|
|
|
10866
10866
|
/** Get Blog Post Count Stats request */
|
|
10867
10867
|
interface QueryPostCountStatsRequest {
|
|
10868
10868
|
/** Start of time range to return, in ISO 8601 date and time format. */
|
|
10869
|
-
rangeStart?: Date;
|
|
10869
|
+
rangeStart?: Date | null;
|
|
10870
10870
|
/**
|
|
10871
10871
|
* __Deprecated.__ Use `months` instead.
|
|
10872
10872
|
* This property will be removed on June 30, 2023.
|
|
@@ -10879,7 +10879,7 @@ interface QueryPostCountStatsRequest {
|
|
|
10879
10879
|
* @replacedBy months
|
|
10880
10880
|
* @targetRemovalDate 2024-06-30
|
|
10881
10881
|
*/
|
|
10882
|
-
rangeEnd?: Date;
|
|
10882
|
+
rangeEnd?: Date | null;
|
|
10883
10883
|
/**
|
|
10884
10884
|
* Order of returned results.
|
|
10885
10885
|
*
|
|
@@ -10918,7 +10918,7 @@ interface QueryPostCountStatsResponse {
|
|
|
10918
10918
|
/** Post count for a specific time period */
|
|
10919
10919
|
interface PeriodPostCount {
|
|
10920
10920
|
/** Start of time range in ISO 8601 date and time format. */
|
|
10921
|
-
periodStart?: Date;
|
|
10921
|
+
periodStart?: Date | null;
|
|
10922
10922
|
/** Number of posts published during this month. */
|
|
10923
10923
|
postCount?: number;
|
|
10924
10924
|
}
|
|
@@ -11364,12 +11364,12 @@ interface BlogTag$1 {
|
|
|
11364
11364
|
* Date the tag was created.
|
|
11365
11365
|
* @readonly
|
|
11366
11366
|
*/
|
|
11367
|
-
createdDate?: Date;
|
|
11367
|
+
createdDate?: Date | null;
|
|
11368
11368
|
/**
|
|
11369
11369
|
* Date the tag was last updated.
|
|
11370
11370
|
* @readonly
|
|
11371
11371
|
*/
|
|
11372
|
-
updatedDate?: Date;
|
|
11372
|
+
updatedDate?: Date | null;
|
|
11373
11373
|
/**
|
|
11374
11374
|
* Reserved for internal use.
|
|
11375
11375
|
* @readonly
|
|
@@ -11777,12 +11777,12 @@ interface BlogTag {
|
|
|
11777
11777
|
* Date the tag was created.
|
|
11778
11778
|
* @readonly
|
|
11779
11779
|
*/
|
|
11780
|
-
_createdDate?: Date;
|
|
11780
|
+
_createdDate?: Date | null;
|
|
11781
11781
|
/**
|
|
11782
11782
|
* Date the tag was last updated.
|
|
11783
11783
|
* @readonly
|
|
11784
11784
|
*/
|
|
11785
|
-
_updatedDate?: Date;
|
|
11785
|
+
_updatedDate?: Date | null;
|
|
11786
11786
|
/**
|
|
11787
11787
|
* Reserved for internal use.
|
|
11788
11788
|
* @readonly
|