@wix/auto_sdk_blog_posts 1.0.188 → 1.0.190

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.
@@ -77,7 +77,9 @@ interface ViewPostSignature {
77
77
  /**
78
78
  * Increments a post's view count.
79
79
  *
80
- * Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
80
+ * Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
81
+ *
82
+ * This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
81
83
  * @param - Post ID.
82
84
  */
83
85
  (postId: string): Promise<NonNullablePaths<ViewPostResponse, `views`, 0>>;
@@ -4496,7 +4496,7 @@ interface ViewPostRequest {
4496
4496
  postId: string;
4497
4497
  }
4498
4498
  interface ViewPostResponse {
4499
- /** Total number of post views */
4499
+ /** Updated total number of views for the post. */
4500
4500
  views?: number;
4501
4501
  }
4502
4502
  interface LikePostRequest {
@@ -5413,7 +5413,9 @@ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPos
5413
5413
  /**
5414
5414
  * Increments a post's view count.
5415
5415
  *
5416
- * Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
5416
+ * Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
5417
+ *
5418
+ * This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
5417
5419
  * @param postId - Post ID.
5418
5420
  * @public
5419
5421
  * @requiredField postId
@@ -4656,7 +4656,7 @@ interface ViewPostRequest {
4656
4656
  postId: string;
4657
4657
  }
4658
4658
  interface ViewPostResponse {
4659
- /** Total number of post views */
4659
+ /** Updated total number of views for the post. */
4660
4660
  views?: number;
4661
4661
  }
4662
4662
  interface LikePostRequest {
@@ -77,7 +77,9 @@ interface ViewPostSignature {
77
77
  /**
78
78
  * Increments a post's view count.
79
79
  *
80
- * Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
80
+ * Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
81
+ *
82
+ * This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
81
83
  * @param - Post ID.
82
84
  */
83
85
  (postId: string): Promise<NonNullablePaths<ViewPostResponse, `views`, 0>>;
@@ -4496,7 +4496,7 @@ interface ViewPostRequest {
4496
4496
  postId: string;
4497
4497
  }
4498
4498
  interface ViewPostResponse {
4499
- /** Total number of post views */
4499
+ /** Updated total number of views for the post. */
4500
4500
  views?: number;
4501
4501
  }
4502
4502
  interface LikePostRequest {
@@ -5413,7 +5413,9 @@ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPos
5413
5413
  /**
5414
5414
  * Increments a post's view count.
5415
5415
  *
5416
- * Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
5416
+ * Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
5417
+ *
5418
+ * This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
5417
5419
  * @param postId - Post ID.
5418
5420
  * @public
5419
5421
  * @requiredField postId
@@ -4656,7 +4656,7 @@ interface ViewPostRequest {
4656
4656
  postId: string;
4657
4657
  }
4658
4658
  interface ViewPostResponse {
4659
- /** Total number of post views */
4659
+ /** Updated total number of views for the post. */
4660
4660
  views?: number;
4661
4661
  }
4662
4662
  interface LikePostRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_blog_posts",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.blog.v3.post"
51
51
  }
52
52
  },
53
- "falconPackageHash": "143fb2a81f09091e4862ede50217f1f05492ace0981df7fbd9bf807f"
53
+ "falconPackageHash": "956dbb4097042971e35ec03644b21b34f43e477bbb75aed79d1af28f"
54
54
  }