@wix/auto_sdk_seo_page-optimization 1.0.4 → 1.0.6

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.
@@ -85,18 +85,6 @@ interface TriggerPageOptimizationResponse {
85
85
  predictionId?: string;
86
86
  }
87
87
  interface TriggerHomePageOptimizationRequest {
88
- /**
89
- * ID of the site's homepage.
90
- * @maxLength 1000
91
- * @minLength 1
92
- */
93
- pageId: string;
94
- /**
95
- * URL path of the homepage. Usually `/`.
96
- * @maxLength 1000
97
- * @minLength 1
98
- */
99
- pagePath: string;
100
88
  }
101
89
  interface TriggerHomePageOptimizationResponse {
102
90
  /**
@@ -105,6 +93,14 @@ interface TriggerHomePageOptimizationResponse {
105
93
  * @maxLength 200
106
94
  */
107
95
  predictionId?: string;
96
+ /**
97
+ * ID of the page the service resolved as the site's homepage. Pass to Get
98
+ * Page Optimization Results to retrieve the homepage's latest generation
99
+ * after the `predictionId` expires.
100
+ * @readonly
101
+ * @maxLength 1000
102
+ */
103
+ pageId?: string;
108
104
  }
109
105
  interface GetPageOptimizationResultsRequest {
110
106
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_seo_page-optimization",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.seo.suggestions.v1.page_optimization"
51
51
  }
52
52
  },
53
- "falconPackageHash": "77368f80a624ff04509ce5ff9f80ec4e013ee158bcb3b07bf616dd7e"
53
+ "falconPackageHash": "e014b3f70d98563405ef6b35a1e796aa7831a4b615f839c708b7bf69"
54
54
  }