@wix/blog 1.0.307 → 1.0.309

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.307",
3
+ "version": "1.0.309",
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.6",
22
- "@wix/blog_blog-importer": "1.0.17",
23
- "@wix/blog_categories": "1.0.44",
24
- "@wix/blog_draft-posts": "1.0.44",
25
- "@wix/blog_posts": "1.0.50",
26
- "@wix/blog_tags": "1.0.42"
21
+ "@wix/blog_blog-cache": "1.0.8",
22
+ "@wix/blog_blog-importer": "1.0.19",
23
+ "@wix/blog_categories": "1.0.46",
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": "e61700ba7fc994882ee2caeb6f386c95f3a373c0ba2fd11fb028fb26"
51
+ "falconPackageHash": "d2ae396c6b09505a11a1cc1c5658f0483baefc478f2ab7e8b2d46cfd"
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).
@@ -2388,16 +2388,16 @@ interface DraftPost$1 {
2388
2388
  * Date the draft post was last edited.
2389
2389
  * @readonly
2390
2390
  */
2391
- editedDate?: Date;
2391
+ editedDate?: Date | null;
2392
2392
  /**
2393
2393
  * Date the draft post is scheduled to be published.
2394
2394
  * @readonly
2395
2395
  */
2396
- scheduledPublishDate?: Date;
2396
+ scheduledPublishDate?: Date | null;
2397
2397
  /** Reserved for internal use. */
2398
2398
  content?: Record<string, any> | null;
2399
2399
  /** Date the post was first published. */
2400
- firstPublishedDate?: Date;
2400
+ firstPublishedDate?: Date | null;
2401
2401
  /** SEO data. */
2402
2402
  seoData?: SeoSchema$2;
2403
2403
  /**
@@ -2422,7 +2422,7 @@ interface DraftPost$1 {
2422
2422
  * Date the draft post was first created.
2423
2423
  * @readonly
2424
2424
  */
2425
- _createdDate?: Date;
2425
+ _createdDate?: Date | null;
2426
2426
  /** SEO slug. */
2427
2427
  seoSlug?: string | null;
2428
2428
  /** Post cover media. */
@@ -3728,12 +3728,12 @@ interface Metadata$1 {
3728
3728
  * @readonly
3729
3729
  * @deprecated
3730
3730
  */
3731
- createdTimestamp?: Date;
3731
+ createdTimestamp?: Date | null;
3732
3732
  /**
3733
3733
  * When the object was most recently updated.
3734
3734
  * @deprecated
3735
3735
  */
3736
- updatedTimestamp?: Date;
3736
+ updatedTimestamp?: Date | null;
3737
3737
  /** Object ID. */
3738
3738
  _id?: string | null;
3739
3739
  }
@@ -3788,13 +3788,13 @@ interface ModerationDetails$1 {
3788
3788
  /** Member ID of the person submitting the draft post for review. */
3789
3789
  submittedBy?: string;
3790
3790
  /** Date the post was submitted for review. */
3791
- submittedDate?: Date;
3791
+ submittedDate?: Date | null;
3792
3792
  /** Status indicating whether the submission was approved or rejected by the moderator. */
3793
3793
  status?: ModerationStatusStatus$1;
3794
3794
  /** Member ID of the person who approved or rejected the post. */
3795
3795
  moderatedBy?: string | null;
3796
3796
  /** Date the post was approved or rejected. */
3797
- moderationDate?: Date;
3797
+ moderationDate?: Date | null;
3798
3798
  }
3799
3799
  declare enum ModerationStatusStatus$1 {
3800
3800
  UNKNOWN = "UNKNOWN",
@@ -4045,7 +4045,7 @@ interface BulkUpdateDraftPostsRequest {
4045
4045
  */
4046
4046
  action?: Action;
4047
4047
  /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
4048
- scheduledPublishDate?: Date;
4048
+ scheduledPublishDate?: Date | null;
4049
4049
  /** Whether to return the full updated draft post entities in the response. */
4050
4050
  returnFullEntity?: boolean;
4051
4051
  /**
@@ -4210,7 +4210,7 @@ interface UpdateDraftPostRequest {
4210
4210
  */
4211
4211
  action?: Action;
4212
4212
  /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
4213
- scheduledPublishDate?: Date;
4213
+ scheduledPublishDate?: Date | null;
4214
4214
  /**
4215
4215
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4216
4216
  * 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 +4447,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
4447
4447
  /** ID of the entity associated with the event. */
4448
4448
  entityId?: string;
4449
4449
  /** 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;
4450
+ eventTime?: Date | null;
4451
4451
  /**
4452
4452
  * Whether the event was triggered as a result of a privacy regulation application
4453
4453
  * (for example, GDPR).
@@ -4476,7 +4476,7 @@ interface EntityCreatedEvent$2 {
4476
4476
  entity?: string;
4477
4477
  }
4478
4478
  interface RestoreInfo$2 {
4479
- deletedDate?: Date;
4479
+ deletedDate?: Date | null;
4480
4480
  }
4481
4481
  interface EntityUpdatedEvent$2 {
4482
4482
  /**
@@ -4621,7 +4621,7 @@ interface Category$1 {
4621
4621
  * Date and time the Category was last updated.
4622
4622
  * @readonly
4623
4623
  */
4624
- _updatedDate?: Date;
4624
+ _updatedDate?: Date | null;
4625
4625
  }
4626
4626
  interface CategoryTranslation$1 {
4627
4627
  /** Category ID */
@@ -5218,7 +5218,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
5218
5218
  /** ID of the entity associated with the event. */
5219
5219
  entityId?: string;
5220
5220
  /** 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;
5221
+ eventTime?: Date | null;
5222
5222
  /**
5223
5223
  * Whether the event was triggered as a result of a privacy regulation application
5224
5224
  * (for example, GDPR).
@@ -5291,7 +5291,7 @@ interface BulkUpdateDraftPostsOptions {
5291
5291
  */
5292
5292
  action?: Action;
5293
5293
  /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
5294
- scheduledPublishDate?: Date;
5294
+ scheduledPublishDate?: Date | null;
5295
5295
  /** Whether to return the full updated draft post entities in the response. */
5296
5296
  returnFullEntity?: boolean;
5297
5297
  /**
@@ -5423,16 +5423,16 @@ interface UpdateDraftPost {
5423
5423
  * Date the draft post was last edited.
5424
5424
  * @readonly
5425
5425
  */
5426
- editedDate?: Date;
5426
+ editedDate?: Date | null;
5427
5427
  /**
5428
5428
  * Date the draft post is scheduled to be published.
5429
5429
  * @readonly
5430
5430
  */
5431
- scheduledPublishDate?: Date;
5431
+ scheduledPublishDate?: Date | null;
5432
5432
  /** Reserved for internal use. */
5433
5433
  content?: Record<string, any> | null;
5434
5434
  /** Date the post was first published. */
5435
- firstPublishedDate?: Date;
5435
+ firstPublishedDate?: Date | null;
5436
5436
  /** SEO data. */
5437
5437
  seoData?: SeoSchema$2;
5438
5438
  /**
@@ -5457,7 +5457,7 @@ interface UpdateDraftPost {
5457
5457
  * Date the draft post was first created.
5458
5458
  * @readonly
5459
5459
  */
5460
- _createdDate?: Date;
5460
+ _createdDate?: Date | null;
5461
5461
  /** SEO slug. */
5462
5462
  seoSlug?: string | null;
5463
5463
  /** Post cover media. */
@@ -5486,7 +5486,7 @@ interface UpdateDraftPostOptions {
5486
5486
  */
5487
5487
  action?: Action;
5488
5488
  /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
5489
- scheduledPublishDate?: Date;
5489
+ scheduledPublishDate?: Date | null;
5490
5490
  /**
5491
5491
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
5492
5492
  * 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 +5944,12 @@ interface Post {
5944
5944
  */
5945
5945
  contentText?: string | null;
5946
5946
  /** Date the post was first published. */
5947
- firstPublishedDate?: Date;
5947
+ firstPublishedDate?: Date | null;
5948
5948
  /**
5949
5949
  * Date the post was last published.
5950
5950
  * @readonly
5951
5951
  */
5952
- lastPublishedDate?: Date;
5952
+ lastPublishedDate?: Date | null;
5953
5953
  /** Post URL. */
5954
5954
  url?: string;
5955
5955
  /**
@@ -7370,9 +7370,9 @@ interface Metadata {
7370
7370
  * When the object was created.
7371
7371
  * @readonly
7372
7372
  */
7373
- createdTimestamp?: Date;
7373
+ createdTimestamp?: Date | null;
7374
7374
  /** When the object was most recently updated. */
7375
- updatedTimestamp?: Date;
7375
+ updatedTimestamp?: Date | null;
7376
7376
  /** Object ID. */
7377
7377
  _id?: string | null;
7378
7378
  }
@@ -7408,13 +7408,13 @@ interface ModerationDetails {
7408
7408
  /** Member ID of the person who submitted the post. */
7409
7409
  submittedBy?: string;
7410
7410
  /** Date and time the post was submitted for moderation. */
7411
- submittedDate?: Date;
7411
+ submittedDate?: Date | null;
7412
7412
  /** Status indicating whether the submission was approved or rejected by the moderator. */
7413
7413
  status?: ModerationStatusStatus;
7414
7414
  /** Member ID of the person who approved or rejected the post. */
7415
7415
  moderatedBy?: string | null;
7416
7416
  /** Date and time the post was approved or rejected by a moderator. */
7417
- moderationDate?: Date;
7417
+ moderationDate?: Date | null;
7418
7418
  }
7419
7419
  declare enum ModerationStatusStatus {
7420
7420
  UNKNOWN = "UNKNOWN",
@@ -7522,7 +7522,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
7522
7522
  /** ID of the entity associated with the event. */
7523
7523
  entityId?: string;
7524
7524
  /** 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;
7525
+ eventTime?: Date | null;
7526
7526
  /**
7527
7527
  * Whether the event was triggered as a result of a privacy regulation application
7528
7528
  * (for example, GDPR).
@@ -7551,7 +7551,7 @@ interface EntityCreatedEvent$1 {
7551
7551
  entity?: string;
7552
7552
  }
7553
7553
  interface RestoreInfo$1 {
7554
- deletedDate?: Date;
7554
+ deletedDate?: Date | null;
7555
7555
  }
7556
7556
  interface EntityUpdatedEvent$1 {
7557
7557
  /**
@@ -7842,7 +7842,7 @@ interface Category {
7842
7842
  * Date and time the Category was last updated.
7843
7843
  * @readonly
7844
7844
  */
7845
- _updatedDate?: Date;
7845
+ _updatedDate?: Date | null;
7846
7846
  }
7847
7847
  interface CategoryTranslation {
7848
7848
  /** Category ID */
@@ -7962,16 +7962,16 @@ interface DraftPost {
7962
7962
  * Date the draft post was last edited.
7963
7963
  * @readonly
7964
7964
  */
7965
- editedDate?: Date;
7965
+ editedDate?: Date | null;
7966
7966
  /**
7967
7967
  * Date the draft post is scheduled to be published.
7968
7968
  * @readonly
7969
7969
  */
7970
- scheduledPublishDate?: Date;
7970
+ scheduledPublishDate?: Date | null;
7971
7971
  /** Reserved for internal use. */
7972
7972
  content?: Record<string, any> | null;
7973
7973
  /** Date the post was first published. */
7974
- firstPublishedDate?: Date;
7974
+ firstPublishedDate?: Date | null;
7975
7975
  /** SEO data. */
7976
7976
  seoData?: SeoSchema$1;
7977
7977
  /**
@@ -7995,7 +7995,7 @@ interface DraftPost {
7995
7995
  * Date the draft post was first created.
7996
7996
  * @readonly
7997
7997
  */
7998
- _createdDate?: Date;
7998
+ _createdDate?: Date | null;
7999
7999
  /** SEO slug. */
8000
8000
  seoSlug?: string | null;
8001
8001
  /** Post cover media. */
@@ -8565,9 +8565,9 @@ interface Reactions {
8565
8565
  /** Get Blog Publications Count Stats request */
8566
8566
  interface QueryPublicationsCountStatsRequest {
8567
8567
  /** Start of time range to return, in ISO 8601 date and time format. */
8568
- rangeStart?: Date;
8568
+ rangeStart?: Date | null;
8569
8569
  /** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
8570
- rangeEnd?: Date;
8570
+ rangeEnd?: Date | null;
8571
8571
  /** Order of the returned results. */
8572
8572
  order?: QueryPublicationsCountStatsRequestOrder;
8573
8573
  /** Number of months to include in the response. */
@@ -8594,14 +8594,14 @@ interface QueryPublicationsCountStatsResponse {
8594
8594
  /** Publications count for a specific time period */
8595
8595
  interface PeriodPublicationsCount {
8596
8596
  /** Start of time range in ISO 8601 date and time format. */
8597
- periodStart?: Date;
8597
+ periodStart?: Date | null;
8598
8598
  /** Number of posts published during this month. */
8599
8599
  publicationsCount?: number;
8600
8600
  }
8601
8601
  /** Get Blog Post Count Stats request */
8602
8602
  interface QueryPostCountStatsRequest {
8603
8603
  /** Start of time range to return, in ISO 8601 date and time format. */
8604
- rangeStart?: Date;
8604
+ rangeStart?: Date | null;
8605
8605
  /**
8606
8606
  * __Deprecated.__ Use `months` instead.
8607
8607
  * This property will be removed on June 30, 2023.
@@ -8614,7 +8614,7 @@ interface QueryPostCountStatsRequest {
8614
8614
  * @replacedBy months
8615
8615
  * @targetRemovalDate 2024-06-30
8616
8616
  */
8617
- rangeEnd?: Date;
8617
+ rangeEnd?: Date | null;
8618
8618
  /**
8619
8619
  * Order of returned results.
8620
8620
  *
@@ -8653,7 +8653,7 @@ interface QueryPostCountStatsResponse {
8653
8653
  /** Post count for a specific time period */
8654
8654
  interface PeriodPostCount {
8655
8655
  /** Start of time range in ISO 8601 date and time format. */
8656
- periodStart?: Date;
8656
+ periodStart?: Date | null;
8657
8657
  /** Number of posts published during this month. */
8658
8658
  postCount?: number;
8659
8659
  }
@@ -9093,7 +9093,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
9093
9093
  /** ID of the entity associated with the event. */
9094
9094
  entityId?: string;
9095
9095
  /** 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;
9096
+ eventTime?: Date | null;
9097
9097
  /**
9098
9098
  * Whether the event was triggered as a result of a privacy regulation application
9099
9099
  * (for example, GDPR).
@@ -9333,7 +9333,7 @@ interface PostsQueryBuilder {
9333
9333
  }
9334
9334
  interface QueryPostCountStatsOptions {
9335
9335
  /** Start of time range to return, in ISO 8601 date and time format. */
9336
- rangeStart?: Date;
9336
+ rangeStart?: Date | null;
9337
9337
  /**
9338
9338
  * Reserved for internal use.
9339
9339
  * @deprecated __Deprecated.__ Use `months` instead.
@@ -9343,7 +9343,7 @@ interface QueryPostCountStatsOptions {
9343
9343
  * @replacedBy months
9344
9344
  * @targetRemovalDate 2024-06-30
9345
9345
  */
9346
- rangeEnd?: Date;
9346
+ rangeEnd?: Date | null;
9347
9347
  /**
9348
9348
  * Sort order.
9349
9349
  * Use `'ASC'` for ascending order or `'DESC'` for descending order.
@@ -9841,12 +9841,12 @@ interface BlogTag {
9841
9841
  * Date the tag was created.
9842
9842
  * @readonly
9843
9843
  */
9844
- _createdDate?: Date;
9844
+ _createdDate?: Date | null;
9845
9845
  /**
9846
9846
  * Date the tag was last updated.
9847
9847
  * @readonly
9848
9848
  */
9849
- _updatedDate?: Date;
9849
+ _updatedDate?: Date | null;
9850
9850
  /**
9851
9851
  * Reserved for internal use.
9852
9852
  * @readonly
@@ -10387,7 +10387,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
10387
10387
  /** ID of the entity associated with the event. */
10388
10388
  entityId?: string;
10389
10389
  /** 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;
10390
+ eventTime?: Date | null;
10391
10391
  /**
10392
10392
  * Whether the event was triggered as a result of a privacy regulation application
10393
10393
  * (for example, GDPR).
@@ -10416,7 +10416,7 @@ interface EntityCreatedEvent {
10416
10416
  entity?: string;
10417
10417
  }
10418
10418
  interface RestoreInfo {
10419
- deletedDate?: Date;
10419
+ deletedDate?: Date | null;
10420
10420
  }
10421
10421
  interface EntityUpdatedEvent {
10422
10422
  /**
@@ -10550,7 +10550,7 @@ interface EventMetadata extends BaseEventMetadata {
10550
10550
  /** ID of the entity associated with the event. */
10551
10551
  entityId?: string;
10552
10552
  /** 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;
10553
+ eventTime?: Date | null;
10554
10554
  /**
10555
10555
  * Whether the event was triggered as a result of a privacy regulation application
10556
10556
  * (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).
@@ -2388,16 +2388,16 @@ interface DraftPost$1 {
2388
2388
  * Date the draft post was last edited.
2389
2389
  * @readonly
2390
2390
  */
2391
- editedDate?: Date;
2391
+ editedDate?: Date | null;
2392
2392
  /**
2393
2393
  * Date the draft post is scheduled to be published.
2394
2394
  * @readonly
2395
2395
  */
2396
- scheduledPublishDate?: Date;
2396
+ scheduledPublishDate?: Date | null;
2397
2397
  /** Reserved for internal use. */
2398
2398
  content?: Record<string, any> | null;
2399
2399
  /** Date the post was first published. */
2400
- firstPublishedDate?: Date;
2400
+ firstPublishedDate?: Date | null;
2401
2401
  /** SEO data. */
2402
2402
  seoData?: SeoSchema$2;
2403
2403
  /**
@@ -2422,7 +2422,7 @@ interface DraftPost$1 {
2422
2422
  * Date the draft post was first created.
2423
2423
  * @readonly
2424
2424
  */
2425
- _createdDate?: Date;
2425
+ _createdDate?: Date | null;
2426
2426
  /** SEO slug. */
2427
2427
  seoSlug?: string | null;
2428
2428
  /** Post cover media. */
@@ -3728,12 +3728,12 @@ interface Metadata$1 {
3728
3728
  * @readonly
3729
3729
  * @deprecated
3730
3730
  */
3731
- createdTimestamp?: Date;
3731
+ createdTimestamp?: Date | null;
3732
3732
  /**
3733
3733
  * When the object was most recently updated.
3734
3734
  * @deprecated
3735
3735
  */
3736
- updatedTimestamp?: Date;
3736
+ updatedTimestamp?: Date | null;
3737
3737
  /** Object ID. */
3738
3738
  _id?: string | null;
3739
3739
  }
@@ -3788,13 +3788,13 @@ interface ModerationDetails$1 {
3788
3788
  /** Member ID of the person submitting the draft post for review. */
3789
3789
  submittedBy?: string;
3790
3790
  /** Date the post was submitted for review. */
3791
- submittedDate?: Date;
3791
+ submittedDate?: Date | null;
3792
3792
  /** Status indicating whether the submission was approved or rejected by the moderator. */
3793
3793
  status?: ModerationStatusStatus$1;
3794
3794
  /** Member ID of the person who approved or rejected the post. */
3795
3795
  moderatedBy?: string | null;
3796
3796
  /** Date the post was approved or rejected. */
3797
- moderationDate?: Date;
3797
+ moderationDate?: Date | null;
3798
3798
  }
3799
3799
  declare enum ModerationStatusStatus$1 {
3800
3800
  UNKNOWN = "UNKNOWN",
@@ -4045,7 +4045,7 @@ interface BulkUpdateDraftPostsRequest {
4045
4045
  */
4046
4046
  action?: Action;
4047
4047
  /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
4048
- scheduledPublishDate?: Date;
4048
+ scheduledPublishDate?: Date | null;
4049
4049
  /** Whether to return the full updated draft post entities in the response. */
4050
4050
  returnFullEntity?: boolean;
4051
4051
  /**
@@ -4210,7 +4210,7 @@ interface UpdateDraftPostRequest {
4210
4210
  */
4211
4211
  action?: Action;
4212
4212
  /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
4213
- scheduledPublishDate?: Date;
4213
+ scheduledPublishDate?: Date | null;
4214
4214
  /**
4215
4215
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4216
4216
  * 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 +4447,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
4447
4447
  /** ID of the entity associated with the event. */
4448
4448
  entityId?: string;
4449
4449
  /** 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;
4450
+ eventTime?: Date | null;
4451
4451
  /**
4452
4452
  * Whether the event was triggered as a result of a privacy regulation application
4453
4453
  * (for example, GDPR).
@@ -4476,7 +4476,7 @@ interface EntityCreatedEvent$2 {
4476
4476
  entity?: string;
4477
4477
  }
4478
4478
  interface RestoreInfo$2 {
4479
- deletedDate?: Date;
4479
+ deletedDate?: Date | null;
4480
4480
  }
4481
4481
  interface EntityUpdatedEvent$2 {
4482
4482
  /**
@@ -4621,7 +4621,7 @@ interface Category$1 {
4621
4621
  * Date and time the Category was last updated.
4622
4622
  * @readonly
4623
4623
  */
4624
- _updatedDate?: Date;
4624
+ _updatedDate?: Date | null;
4625
4625
  }
4626
4626
  interface CategoryTranslation$1 {
4627
4627
  /** Category ID */
@@ -5218,7 +5218,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
5218
5218
  /** ID of the entity associated with the event. */
5219
5219
  entityId?: string;
5220
5220
  /** 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;
5221
+ eventTime?: Date | null;
5222
5222
  /**
5223
5223
  * Whether the event was triggered as a result of a privacy regulation application
5224
5224
  * (for example, GDPR).
@@ -5291,7 +5291,7 @@ interface BulkUpdateDraftPostsOptions {
5291
5291
  */
5292
5292
  action?: Action;
5293
5293
  /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
5294
- scheduledPublishDate?: Date;
5294
+ scheduledPublishDate?: Date | null;
5295
5295
  /** Whether to return the full updated draft post entities in the response. */
5296
5296
  returnFullEntity?: boolean;
5297
5297
  /**
@@ -5423,16 +5423,16 @@ interface UpdateDraftPost {
5423
5423
  * Date the draft post was last edited.
5424
5424
  * @readonly
5425
5425
  */
5426
- editedDate?: Date;
5426
+ editedDate?: Date | null;
5427
5427
  /**
5428
5428
  * Date the draft post is scheduled to be published.
5429
5429
  * @readonly
5430
5430
  */
5431
- scheduledPublishDate?: Date;
5431
+ scheduledPublishDate?: Date | null;
5432
5432
  /** Reserved for internal use. */
5433
5433
  content?: Record<string, any> | null;
5434
5434
  /** Date the post was first published. */
5435
- firstPublishedDate?: Date;
5435
+ firstPublishedDate?: Date | null;
5436
5436
  /** SEO data. */
5437
5437
  seoData?: SeoSchema$2;
5438
5438
  /**
@@ -5457,7 +5457,7 @@ interface UpdateDraftPost {
5457
5457
  * Date the draft post was first created.
5458
5458
  * @readonly
5459
5459
  */
5460
- _createdDate?: Date;
5460
+ _createdDate?: Date | null;
5461
5461
  /** SEO slug. */
5462
5462
  seoSlug?: string | null;
5463
5463
  /** Post cover media. */
@@ -5486,7 +5486,7 @@ interface UpdateDraftPostOptions {
5486
5486
  */
5487
5487
  action?: Action;
5488
5488
  /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
5489
- scheduledPublishDate?: Date;
5489
+ scheduledPublishDate?: Date | null;
5490
5490
  /**
5491
5491
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
5492
5492
  * 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 +5944,12 @@ interface Post {
5944
5944
  */
5945
5945
  contentText?: string | null;
5946
5946
  /** Date the post was first published. */
5947
- firstPublishedDate?: Date;
5947
+ firstPublishedDate?: Date | null;
5948
5948
  /**
5949
5949
  * Date the post was last published.
5950
5950
  * @readonly
5951
5951
  */
5952
- lastPublishedDate?: Date;
5952
+ lastPublishedDate?: Date | null;
5953
5953
  /** Post URL. */
5954
5954
  url?: string;
5955
5955
  /**
@@ -7370,9 +7370,9 @@ interface Metadata {
7370
7370
  * When the object was created.
7371
7371
  * @readonly
7372
7372
  */
7373
- createdTimestamp?: Date;
7373
+ createdTimestamp?: Date | null;
7374
7374
  /** When the object was most recently updated. */
7375
- updatedTimestamp?: Date;
7375
+ updatedTimestamp?: Date | null;
7376
7376
  /** Object ID. */
7377
7377
  _id?: string | null;
7378
7378
  }
@@ -7408,13 +7408,13 @@ interface ModerationDetails {
7408
7408
  /** Member ID of the person who submitted the post. */
7409
7409
  submittedBy?: string;
7410
7410
  /** Date and time the post was submitted for moderation. */
7411
- submittedDate?: Date;
7411
+ submittedDate?: Date | null;
7412
7412
  /** Status indicating whether the submission was approved or rejected by the moderator. */
7413
7413
  status?: ModerationStatusStatus;
7414
7414
  /** Member ID of the person who approved or rejected the post. */
7415
7415
  moderatedBy?: string | null;
7416
7416
  /** Date and time the post was approved or rejected by a moderator. */
7417
- moderationDate?: Date;
7417
+ moderationDate?: Date | null;
7418
7418
  }
7419
7419
  declare enum ModerationStatusStatus {
7420
7420
  UNKNOWN = "UNKNOWN",
@@ -7522,7 +7522,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
7522
7522
  /** ID of the entity associated with the event. */
7523
7523
  entityId?: string;
7524
7524
  /** 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;
7525
+ eventTime?: Date | null;
7526
7526
  /**
7527
7527
  * Whether the event was triggered as a result of a privacy regulation application
7528
7528
  * (for example, GDPR).
@@ -7551,7 +7551,7 @@ interface EntityCreatedEvent$1 {
7551
7551
  entity?: string;
7552
7552
  }
7553
7553
  interface RestoreInfo$1 {
7554
- deletedDate?: Date;
7554
+ deletedDate?: Date | null;
7555
7555
  }
7556
7556
  interface EntityUpdatedEvent$1 {
7557
7557
  /**
@@ -7842,7 +7842,7 @@ interface Category {
7842
7842
  * Date and time the Category was last updated.
7843
7843
  * @readonly
7844
7844
  */
7845
- _updatedDate?: Date;
7845
+ _updatedDate?: Date | null;
7846
7846
  }
7847
7847
  interface CategoryTranslation {
7848
7848
  /** Category ID */
@@ -7962,16 +7962,16 @@ interface DraftPost {
7962
7962
  * Date the draft post was last edited.
7963
7963
  * @readonly
7964
7964
  */
7965
- editedDate?: Date;
7965
+ editedDate?: Date | null;
7966
7966
  /**
7967
7967
  * Date the draft post is scheduled to be published.
7968
7968
  * @readonly
7969
7969
  */
7970
- scheduledPublishDate?: Date;
7970
+ scheduledPublishDate?: Date | null;
7971
7971
  /** Reserved for internal use. */
7972
7972
  content?: Record<string, any> | null;
7973
7973
  /** Date the post was first published. */
7974
- firstPublishedDate?: Date;
7974
+ firstPublishedDate?: Date | null;
7975
7975
  /** SEO data. */
7976
7976
  seoData?: SeoSchema$1;
7977
7977
  /**
@@ -7995,7 +7995,7 @@ interface DraftPost {
7995
7995
  * Date the draft post was first created.
7996
7996
  * @readonly
7997
7997
  */
7998
- _createdDate?: Date;
7998
+ _createdDate?: Date | null;
7999
7999
  /** SEO slug. */
8000
8000
  seoSlug?: string | null;
8001
8001
  /** Post cover media. */
@@ -8565,9 +8565,9 @@ interface Reactions {
8565
8565
  /** Get Blog Publications Count Stats request */
8566
8566
  interface QueryPublicationsCountStatsRequest {
8567
8567
  /** Start of time range to return, in ISO 8601 date and time format. */
8568
- rangeStart?: Date;
8568
+ rangeStart?: Date | null;
8569
8569
  /** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
8570
- rangeEnd?: Date;
8570
+ rangeEnd?: Date | null;
8571
8571
  /** Order of the returned results. */
8572
8572
  order?: QueryPublicationsCountStatsRequestOrder;
8573
8573
  /** Number of months to include in the response. */
@@ -8594,14 +8594,14 @@ interface QueryPublicationsCountStatsResponse {
8594
8594
  /** Publications count for a specific time period */
8595
8595
  interface PeriodPublicationsCount {
8596
8596
  /** Start of time range in ISO 8601 date and time format. */
8597
- periodStart?: Date;
8597
+ periodStart?: Date | null;
8598
8598
  /** Number of posts published during this month. */
8599
8599
  publicationsCount?: number;
8600
8600
  }
8601
8601
  /** Get Blog Post Count Stats request */
8602
8602
  interface QueryPostCountStatsRequest {
8603
8603
  /** Start of time range to return, in ISO 8601 date and time format. */
8604
- rangeStart?: Date;
8604
+ rangeStart?: Date | null;
8605
8605
  /**
8606
8606
  * __Deprecated.__ Use `months` instead.
8607
8607
  * This property will be removed on June 30, 2023.
@@ -8614,7 +8614,7 @@ interface QueryPostCountStatsRequest {
8614
8614
  * @replacedBy months
8615
8615
  * @targetRemovalDate 2024-06-30
8616
8616
  */
8617
- rangeEnd?: Date;
8617
+ rangeEnd?: Date | null;
8618
8618
  /**
8619
8619
  * Order of returned results.
8620
8620
  *
@@ -8653,7 +8653,7 @@ interface QueryPostCountStatsResponse {
8653
8653
  /** Post count for a specific time period */
8654
8654
  interface PeriodPostCount {
8655
8655
  /** Start of time range in ISO 8601 date and time format. */
8656
- periodStart?: Date;
8656
+ periodStart?: Date | null;
8657
8657
  /** Number of posts published during this month. */
8658
8658
  postCount?: number;
8659
8659
  }
@@ -9093,7 +9093,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
9093
9093
  /** ID of the entity associated with the event. */
9094
9094
  entityId?: string;
9095
9095
  /** 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;
9096
+ eventTime?: Date | null;
9097
9097
  /**
9098
9098
  * Whether the event was triggered as a result of a privacy regulation application
9099
9099
  * (for example, GDPR).
@@ -9333,7 +9333,7 @@ interface PostsQueryBuilder {
9333
9333
  }
9334
9334
  interface QueryPostCountStatsOptions {
9335
9335
  /** Start of time range to return, in ISO 8601 date and time format. */
9336
- rangeStart?: Date;
9336
+ rangeStart?: Date | null;
9337
9337
  /**
9338
9338
  * Reserved for internal use.
9339
9339
  * @deprecated __Deprecated.__ Use `months` instead.
@@ -9343,7 +9343,7 @@ interface QueryPostCountStatsOptions {
9343
9343
  * @replacedBy months
9344
9344
  * @targetRemovalDate 2024-06-30
9345
9345
  */
9346
- rangeEnd?: Date;
9346
+ rangeEnd?: Date | null;
9347
9347
  /**
9348
9348
  * Sort order.
9349
9349
  * Use `'ASC'` for ascending order or `'DESC'` for descending order.
@@ -9841,12 +9841,12 @@ interface BlogTag {
9841
9841
  * Date the tag was created.
9842
9842
  * @readonly
9843
9843
  */
9844
- _createdDate?: Date;
9844
+ _createdDate?: Date | null;
9845
9845
  /**
9846
9846
  * Date the tag was last updated.
9847
9847
  * @readonly
9848
9848
  */
9849
- _updatedDate?: Date;
9849
+ _updatedDate?: Date | null;
9850
9850
  /**
9851
9851
  * Reserved for internal use.
9852
9852
  * @readonly
@@ -10387,7 +10387,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
10387
10387
  /** ID of the entity associated with the event. */
10388
10388
  entityId?: string;
10389
10389
  /** 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;
10390
+ eventTime?: Date | null;
10391
10391
  /**
10392
10392
  * Whether the event was triggered as a result of a privacy regulation application
10393
10393
  * (for example, GDPR).
@@ -10416,7 +10416,7 @@ interface EntityCreatedEvent {
10416
10416
  entity?: string;
10417
10417
  }
10418
10418
  interface RestoreInfo {
10419
- deletedDate?: Date;
10419
+ deletedDate?: Date | null;
10420
10420
  }
10421
10421
  interface EntityUpdatedEvent {
10422
10422
  /**
@@ -10550,7 +10550,7 @@ interface EventMetadata extends BaseEventMetadata {
10550
10550
  /** ID of the entity associated with the event. */
10551
10551
  entityId?: string;
10552
10552
  /** 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;
10553
+ eventTime?: Date | null;
10554
10554
  /**
10555
10555
  * Whether the event was triggered as a result of a privacy regulation application
10556
10556
  * (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