wordlift-client 1.123.0__py3-none-any.whl → 1.125.0__py3-none-any.whl

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.
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.123.0"
18
+ __version__ = "1.125.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from wordlift_client.api.account_api import AccountApi
@@ -76,7 +76,6 @@ from wordlift_client.api.plugin_events_api import PluginEventsApi
76
76
  from wordlift_client.api.questions_and_answers_api import QuestionsAndAnswersApi
77
77
  from wordlift_client.api.redeem_codes_api import RedeemCodesApi
78
78
  from wordlift_client.api.rules_api import RulesApi
79
- from wordlift_client.api.seo_scores_api import SEOScoresApi
80
79
  from wordlift_client.api.sitemap_generator_api import SitemapGeneratorApi
81
80
  from wordlift_client.api.sitemap_imports_api import SitemapImportsApi
82
81
  from wordlift_client.api.summarizations_api import SummarizationsApi
@@ -152,8 +151,7 @@ from wordlift_client.models.content_generation_request import ContentGenerationR
152
151
  from wordlift_client.models.content_generation_stats import ContentGenerationStats
153
152
  from wordlift_client.models.content_structure import ContentStructure
154
153
  from wordlift_client.models.create_embeddings_input import CreateEmbeddingsInput
155
- from wordlift_client.models.create_seo_score200_response import CreateSEOScore200Response
156
- from wordlift_client.models.create_seo_score_request import CreateSEOScoreRequest
154
+ from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
157
155
  from wordlift_client.models.diagnostic_plugin import DiagnosticPlugin
158
156
  from wordlift_client.models.diagnostic_plugin_request import DiagnosticPluginRequest
159
157
  from wordlift_client.models.domain_validation_request import DomainValidationRequest
@@ -59,7 +59,6 @@ from wordlift_client.api.plugin_events_api import PluginEventsApi
59
59
  from wordlift_client.api.questions_and_answers_api import QuestionsAndAnswersApi
60
60
  from wordlift_client.api.redeem_codes_api import RedeemCodesApi
61
61
  from wordlift_client.api.rules_api import RulesApi
62
- from wordlift_client.api.seo_scores_api import SEOScoresApi
63
62
  from wordlift_client.api.sitemap_generator_api import SitemapGeneratorApi
64
63
  from wordlift_client.api.sitemap_imports_api import SitemapImportsApi
65
64
  from wordlift_client.api.summarizations_api import SummarizationsApi
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
20
20
  from pydantic import Field, StrictInt, StrictStr
21
21
  from typing import List, Optional
22
22
  from typing_extensions import Annotated
23
+ from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
23
24
  from wordlift_client.models.page_website import PageWebsite
24
25
  from wordlift_client.models.page_website_search import PageWebsiteSearch
25
26
 
@@ -41,6 +42,280 @@ class GoogleSearchConsoleApi:
41
42
  self.api_client = api_client
42
43
 
43
44
 
45
+ @validate_call
46
+ async def create_url_inspection(
47
+ self,
48
+ create_url_inspection_request: CreateUrlInspectionRequest,
49
+ _request_timeout: Union[
50
+ None,
51
+ Annotated[StrictFloat, Field(gt=0)],
52
+ Tuple[
53
+ Annotated[StrictFloat, Field(gt=0)],
54
+ Annotated[StrictFloat, Field(gt=0)]
55
+ ]
56
+ ] = None,
57
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
58
+ _content_type: Optional[StrictStr] = None,
59
+ _headers: Optional[Dict[StrictStr, Any]] = None,
60
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61
+ ) -> str:
62
+ """Create
63
+
64
+ Inspect a URL using the Google Search Console connected to the authenticated account.
65
+
66
+ :param create_url_inspection_request: (required)
67
+ :type create_url_inspection_request: CreateUrlInspectionRequest
68
+ :param _request_timeout: timeout setting for this request. If one
69
+ number provided, it will be total request
70
+ timeout. It can also be a pair (tuple) of
71
+ (connection, read) timeouts.
72
+ :type _request_timeout: int, tuple(int, int), optional
73
+ :param _request_auth: set to override the auth_settings for an a single
74
+ request; this effectively ignores the
75
+ authentication in the spec for a single request.
76
+ :type _request_auth: dict, optional
77
+ :param _content_type: force content-type for the request.
78
+ :type _content_type: str, Optional
79
+ :param _headers: set to override the headers for a single
80
+ request; this effectively ignores the headers
81
+ in the spec for a single request.
82
+ :type _headers: dict, optional
83
+ :param _host_index: set to override the host_index for a single
84
+ request; this effectively ignores the host_index
85
+ in the spec for a single request.
86
+ :type _host_index: int, optional
87
+ :return: Returns the result object.
88
+ """ # noqa: E501
89
+
90
+ _param = self._create_url_inspection_serialize(
91
+ create_url_inspection_request=create_url_inspection_request,
92
+ _request_auth=_request_auth,
93
+ _content_type=_content_type,
94
+ _headers=_headers,
95
+ _host_index=_host_index
96
+ )
97
+
98
+ _response_types_map: Dict[str, Optional[str]] = {
99
+ '200': "str",
100
+ '301': None,
101
+ }
102
+ response_data = await self.api_client.call_api(
103
+ *_param,
104
+ _request_timeout=_request_timeout
105
+ )
106
+ await response_data.read()
107
+ return self.api_client.response_deserialize(
108
+ response_data=response_data,
109
+ response_types_map=_response_types_map,
110
+ ).data
111
+
112
+
113
+ @validate_call
114
+ async def create_url_inspection_with_http_info(
115
+ self,
116
+ create_url_inspection_request: CreateUrlInspectionRequest,
117
+ _request_timeout: Union[
118
+ None,
119
+ Annotated[StrictFloat, Field(gt=0)],
120
+ Tuple[
121
+ Annotated[StrictFloat, Field(gt=0)],
122
+ Annotated[StrictFloat, Field(gt=0)]
123
+ ]
124
+ ] = None,
125
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
126
+ _content_type: Optional[StrictStr] = None,
127
+ _headers: Optional[Dict[StrictStr, Any]] = None,
128
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
129
+ ) -> ApiResponse[str]:
130
+ """Create
131
+
132
+ Inspect a URL using the Google Search Console connected to the authenticated account.
133
+
134
+ :param create_url_inspection_request: (required)
135
+ :type create_url_inspection_request: CreateUrlInspectionRequest
136
+ :param _request_timeout: timeout setting for this request. If one
137
+ number provided, it will be total request
138
+ timeout. It can also be a pair (tuple) of
139
+ (connection, read) timeouts.
140
+ :type _request_timeout: int, tuple(int, int), optional
141
+ :param _request_auth: set to override the auth_settings for an a single
142
+ request; this effectively ignores the
143
+ authentication in the spec for a single request.
144
+ :type _request_auth: dict, optional
145
+ :param _content_type: force content-type for the request.
146
+ :type _content_type: str, Optional
147
+ :param _headers: set to override the headers for a single
148
+ request; this effectively ignores the headers
149
+ in the spec for a single request.
150
+ :type _headers: dict, optional
151
+ :param _host_index: set to override the host_index for a single
152
+ request; this effectively ignores the host_index
153
+ in the spec for a single request.
154
+ :type _host_index: int, optional
155
+ :return: Returns the result object.
156
+ """ # noqa: E501
157
+
158
+ _param = self._create_url_inspection_serialize(
159
+ create_url_inspection_request=create_url_inspection_request,
160
+ _request_auth=_request_auth,
161
+ _content_type=_content_type,
162
+ _headers=_headers,
163
+ _host_index=_host_index
164
+ )
165
+
166
+ _response_types_map: Dict[str, Optional[str]] = {
167
+ '200': "str",
168
+ '301': None,
169
+ }
170
+ response_data = await self.api_client.call_api(
171
+ *_param,
172
+ _request_timeout=_request_timeout
173
+ )
174
+ await response_data.read()
175
+ return self.api_client.response_deserialize(
176
+ response_data=response_data,
177
+ response_types_map=_response_types_map,
178
+ )
179
+
180
+
181
+ @validate_call
182
+ async def create_url_inspection_without_preload_content(
183
+ self,
184
+ create_url_inspection_request: CreateUrlInspectionRequest,
185
+ _request_timeout: Union[
186
+ None,
187
+ Annotated[StrictFloat, Field(gt=0)],
188
+ Tuple[
189
+ Annotated[StrictFloat, Field(gt=0)],
190
+ Annotated[StrictFloat, Field(gt=0)]
191
+ ]
192
+ ] = None,
193
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
194
+ _content_type: Optional[StrictStr] = None,
195
+ _headers: Optional[Dict[StrictStr, Any]] = None,
196
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
197
+ ) -> RESTResponseType:
198
+ """Create
199
+
200
+ Inspect a URL using the Google Search Console connected to the authenticated account.
201
+
202
+ :param create_url_inspection_request: (required)
203
+ :type create_url_inspection_request: CreateUrlInspectionRequest
204
+ :param _request_timeout: timeout setting for this request. If one
205
+ number provided, it will be total request
206
+ timeout. It can also be a pair (tuple) of
207
+ (connection, read) timeouts.
208
+ :type _request_timeout: int, tuple(int, int), optional
209
+ :param _request_auth: set to override the auth_settings for an a single
210
+ request; this effectively ignores the
211
+ authentication in the spec for a single request.
212
+ :type _request_auth: dict, optional
213
+ :param _content_type: force content-type for the request.
214
+ :type _content_type: str, Optional
215
+ :param _headers: set to override the headers for a single
216
+ request; this effectively ignores the headers
217
+ in the spec for a single request.
218
+ :type _headers: dict, optional
219
+ :param _host_index: set to override the host_index for a single
220
+ request; this effectively ignores the host_index
221
+ in the spec for a single request.
222
+ :type _host_index: int, optional
223
+ :return: Returns the result object.
224
+ """ # noqa: E501
225
+
226
+ _param = self._create_url_inspection_serialize(
227
+ create_url_inspection_request=create_url_inspection_request,
228
+ _request_auth=_request_auth,
229
+ _content_type=_content_type,
230
+ _headers=_headers,
231
+ _host_index=_host_index
232
+ )
233
+
234
+ _response_types_map: Dict[str, Optional[str]] = {
235
+ '200': "str",
236
+ '301': None,
237
+ }
238
+ response_data = await self.api_client.call_api(
239
+ *_param,
240
+ _request_timeout=_request_timeout
241
+ )
242
+ return response_data.response
243
+
244
+
245
+ def _create_url_inspection_serialize(
246
+ self,
247
+ create_url_inspection_request,
248
+ _request_auth,
249
+ _content_type,
250
+ _headers,
251
+ _host_index,
252
+ ) -> RequestSerialized:
253
+
254
+ _host = None
255
+
256
+ _collection_formats: Dict[str, str] = {
257
+ }
258
+
259
+ _path_params: Dict[str, str] = {}
260
+ _query_params: List[Tuple[str, str]] = []
261
+ _header_params: Dict[str, Optional[str]] = _headers or {}
262
+ _form_params: List[Tuple[str, str]] = []
263
+ _files: Dict[str, Union[str, bytes]] = {}
264
+ _body_params: Optional[bytes] = None
265
+
266
+ # process the path parameters
267
+ # process the query parameters
268
+ # process the header parameters
269
+ # process the form parameters
270
+ # process the body parameter
271
+ if create_url_inspection_request is not None:
272
+ _body_params = create_url_inspection_request
273
+
274
+
275
+ # set the HTTP header `Accept`
276
+ _header_params['Accept'] = self.api_client.select_header_accept(
277
+ [
278
+ 'application/json'
279
+ ]
280
+ )
281
+
282
+ # set the HTTP header `Content-Type`
283
+ if _content_type:
284
+ _header_params['Content-Type'] = _content_type
285
+ else:
286
+ _default_content_type = (
287
+ self.api_client.select_header_content_type(
288
+ [
289
+ 'application/json'
290
+ ]
291
+ )
292
+ )
293
+ if _default_content_type is not None:
294
+ _header_params['Content-Type'] = _default_content_type
295
+
296
+ # authentication setting
297
+ _auth_settings: List[str] = [
298
+ 'ApiKey'
299
+ ]
300
+
301
+ return self.api_client.param_serialize(
302
+ method='POST',
303
+ resource_path='/gsc/url-inspections',
304
+ path_params=_path_params,
305
+ query_params=_query_params,
306
+ header_params=_header_params,
307
+ body=_body_params,
308
+ post_params=_form_params,
309
+ files=_files,
310
+ auth_settings=_auth_settings,
311
+ collection_formats=_collection_formats,
312
+ _host=_host,
313
+ _request_auth=_request_auth
314
+ )
315
+
316
+
317
+
318
+
44
319
  @validate_call
45
320
  async def list_website_search(
46
321
  self,
@@ -89,7 +89,7 @@ class ApiClient:
89
89
  self.default_headers[header_name] = header_value
90
90
  self.cookie = cookie
91
91
  # Set default User-Agent.
92
- self.user_agent = 'OpenAPI-Generator/1.123.0/python'
92
+ self.user_agent = 'OpenAPI-Generator/1.125.0/python'
93
93
  self.client_side_validation = configuration.client_side_validation
94
94
 
95
95
  async def __aenter__(self):
@@ -426,7 +426,7 @@ conf = wordlift_client.Configuration(
426
426
  "OS: {env}\n"\
427
427
  "Python Version: {pyversion}\n"\
428
428
  "Version of the API: 1.0\n"\
429
- "SDK Package Version: 1.123.0".\
429
+ "SDK Package Version: 1.125.0".\
430
430
  format(env=sys.platform, pyversion=sys.version)
431
431
 
432
432
  def get_host_settings(self):
@@ -66,8 +66,7 @@ from wordlift_client.models.content_generation_request import ContentGenerationR
66
66
  from wordlift_client.models.content_generation_stats import ContentGenerationStats
67
67
  from wordlift_client.models.content_structure import ContentStructure
68
68
  from wordlift_client.models.create_embeddings_input import CreateEmbeddingsInput
69
- from wordlift_client.models.create_seo_score200_response import CreateSEOScore200Response
70
- from wordlift_client.models.create_seo_score_request import CreateSEOScoreRequest
69
+ from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
71
70
  from wordlift_client.models.diagnostic_plugin import DiagnosticPlugin
72
71
  from wordlift_client.models.diagnostic_plugin_request import DiagnosticPluginRequest
73
72
  from wordlift_client.models.domain_validation_request import DomainValidationRequest
@@ -27,11 +27,12 @@ class AccountStats(BaseModel):
27
27
  """
28
28
  The Account statistics
29
29
  """ # noqa: E501
30
+ account_id: StrictInt = Field(description="The account ID.")
30
31
  entities: StrictInt = Field(description="The number of entities.")
31
32
  entities_with_url: StrictInt = Field(description="The number of entities with URL.")
32
33
  product_groups: StrictInt = Field(description="The number of product groups in the KG.")
33
34
  products: StrictInt = Field(description="The number of products in the KG.")
34
- __properties: ClassVar[List[str]] = ["entities", "entities_with_url", "product_groups", "products"]
35
+ __properties: ClassVar[List[str]] = ["account_id", "entities", "entities_with_url", "product_groups", "products"]
35
36
 
36
37
  model_config = ConfigDict(
37
38
  populate_by_name=True,
@@ -84,6 +85,7 @@ class AccountStats(BaseModel):
84
85
  return cls.model_validate(obj)
85
86
 
86
87
  _obj = cls.model_validate({
88
+ "account_id": obj.get("account_id"),
87
89
  "entities": obj.get("entities"),
88
90
  "entities_with_url": obj.get("entities_with_url"),
89
91
  "product_groups": obj.get("product_groups"),
@@ -38,8 +38,8 @@ class AutomationReadiness(BaseModel):
38
38
  if value is None:
39
39
  return value
40
40
 
41
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
42
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
41
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
42
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
43
43
  return value
44
44
 
45
45
  model_config = ConfigDict(
@@ -39,8 +39,8 @@ class ContentStructure(BaseModel):
39
39
  if value is None:
40
40
  return value
41
41
 
42
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
43
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
42
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
43
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
44
44
  return value
45
45
 
46
46
  model_config = ConfigDict(
@@ -0,0 +1,88 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ WordLift API
5
+
6
+ WordLift API
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Contact: hello@wordlift.io
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
+ from typing import Any, ClassVar, Dict, List
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class CreateUrlInspectionRequest(BaseModel):
27
+ """
28
+ A URL inspection request.
29
+ """ # noqa: E501
30
+ url: StrictStr = Field(description="The URL to analyze.")
31
+ __properties: ClassVar[List[str]] = ["url"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of CreateUrlInspectionRequest from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([
65
+ ])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ return _dict
73
+
74
+ @classmethod
75
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
+ """Create an instance of CreateUrlInspectionRequest from a dict"""
77
+ if obj is None:
78
+ return None
79
+
80
+ if not isinstance(obj, dict):
81
+ return cls.model_validate(obj)
82
+
83
+ _obj = cls.model_validate({
84
+ "url": obj.get("url")
85
+ })
86
+ return _obj
87
+
88
+
@@ -41,8 +41,8 @@ class ImageAccessibility(BaseModel):
41
41
  if value is None:
42
42
  return value
43
43
 
44
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
45
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
44
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
45
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
46
46
  return value
47
47
 
48
48
  model_config = ConfigDict(
@@ -42,8 +42,8 @@ class JsRendering(BaseModel):
42
42
  if value is None:
43
43
  return value
44
44
 
45
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
46
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
45
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
46
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
47
47
  return value
48
48
 
49
49
  @field_validator('rendering_type')
@@ -52,8 +52,8 @@ class JsRendering(BaseModel):
52
52
  if value is None:
53
53
  return value
54
54
 
55
- if value not in set(['Static', 'SSR', 'CSR', 'Hybrid']):
56
- raise ValueError("must be one of enum values ('Static', 'SSR', 'CSR', 'Hybrid')")
55
+ if value not in set(['Static', 'SSR', 'SSG', 'CSR', 'Hybrid']):
56
+ raise ValueError("must be one of enum values ('Static', 'SSR', 'SSG', 'CSR', 'Hybrid')")
57
57
  return value
58
58
 
59
59
  @field_validator('ai_accessibility')
@@ -62,8 +62,8 @@ class JsRendering(BaseModel):
62
62
  if value is None:
63
63
  return value
64
64
 
65
- if value not in set(['Excellent', 'Good', 'Fair', 'Poor']):
66
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Fair', 'Poor')")
65
+ if value not in set(['Excellent', 'Good', 'Limited', 'Blocked']):
66
+ raise ValueError("must be one of enum values ('Excellent', 'Good', 'Limited', 'Blocked')")
67
67
  return value
68
68
 
69
69
  model_config = ConfigDict(
@@ -40,8 +40,8 @@ class SeoFundamentals(BaseModel):
40
40
  if value is None:
41
41
  return value
42
42
 
43
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
44
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
43
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
44
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
45
45
  return value
46
46
 
47
47
  model_config = ConfigDict(
@@ -41,8 +41,8 @@ class SiteFiles(BaseModel):
41
41
  if value is None:
42
42
  return value
43
43
 
44
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
45
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
44
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
45
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
46
46
  return value
47
47
 
48
48
  @field_validator('robots_txt')
@@ -38,8 +38,8 @@ class SiteFilesBotAccess(BaseModel):
38
38
  if value is None:
39
39
  return value
40
40
 
41
- if value not in set(['allowed', 'disallowed', 'not_specified']):
42
- raise ValueError("must be one of enum values ('allowed', 'disallowed', 'not_specified')")
41
+ if value not in set(['allowed', 'blocked', 'not_specified']):
42
+ raise ValueError("must be one of enum values ('allowed', 'blocked', 'not_specified')")
43
43
  return value
44
44
 
45
45
  @field_validator('claude')
@@ -48,8 +48,8 @@ class SiteFilesBotAccess(BaseModel):
48
48
  if value is None:
49
49
  return value
50
50
 
51
- if value not in set(['allowed', 'disallowed', 'not_specified']):
52
- raise ValueError("must be one of enum values ('allowed', 'disallowed', 'not_specified')")
51
+ if value not in set(['allowed', 'blocked', 'not_specified']):
52
+ raise ValueError("must be one of enum values ('allowed', 'blocked', 'not_specified')")
53
53
  return value
54
54
 
55
55
  @field_validator('googlebot')
@@ -58,8 +58,8 @@ class SiteFilesBotAccess(BaseModel):
58
58
  if value is None:
59
59
  return value
60
60
 
61
- if value not in set(['allowed', 'disallowed', 'not_specified']):
62
- raise ValueError("must be one of enum values ('allowed', 'disallowed', 'not_specified')")
61
+ if value not in set(['allowed', 'blocked', 'not_specified']):
62
+ raise ValueError("must be one of enum values ('allowed', 'blocked', 'not_specified')")
63
63
  return value
64
64
 
65
65
  model_config = ConfigDict(
@@ -40,8 +40,8 @@ class StructuredData(BaseModel):
40
40
  if value is None:
41
41
  return value
42
42
 
43
- if value not in set(['Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable']):
44
- raise ValueError("must be one of enum values ('Excellent', 'Good', 'Needs Improvement', 'Poor', 'Not Applicable')")
43
+ if value not in set(['Good', 'Needs Improvement', 'Poor']):
44
+ raise ValueError("must be one of enum values ('Good', 'Needs Improvement', 'Poor')")
45
45
  return value
46
46
 
47
47
  model_config = ConfigDict(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wordlift-client
3
- Version: 1.123.0
3
+ Version: 1.125.0
4
4
  Summary: WordLift API
5
5
  Home-page:
6
6
  Author: WordLift
@@ -1,11 +1,11 @@
1
- wordlift_client/__init__.py,sha256=Yfo6OivRnGuLt597NzVTpWA2cTloPZy6dDRZGZoRKNs,20064
2
- wordlift_client/api_client.py,sha256=f2LRLsQ4npRyndW0StW_D_mKNuaRH9XpVhCuaTfLwH8,26397
1
+ wordlift_client/__init__.py,sha256=iXu3Zo9pb4XhmLw14wLMdwaj1QXeuxRnlajLy-DvhWc,19924
2
+ wordlift_client/api_client.py,sha256=OgQYk9oKCoaugvRbDU6jttk7Itwq_3jZqQC_bIbcYqs,26397
3
3
  wordlift_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- wordlift_client/configuration.py,sha256=pJ20Rr6wTCgB2yffrQbuFDFnYolZTMUgZoOtuh_Qe1Y,15932
4
+ wordlift_client/configuration.py,sha256=-tL1kSArEyQzMYyeK533c0OHwy6u3CGRxvwix-cBXik,15932
5
5
  wordlift_client/exceptions.py,sha256=KvTu-E964XhAzMXOSfVycfOL1Eeraob5bgD4CfElD7M,5912
6
6
  wordlift_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  wordlift_client/rest.py,sha256=3D4hicZkeSFLxmhmgnlH63K7P39ToGyPk_3aQlHGznI,6817
8
- wordlift_client/api/__init__.py,sha256=CG7h1l44n9rrfYpqftS252Vm-zbsALWMiNbEF7-JHiU,5091
8
+ wordlift_client/api/__init__.py,sha256=ZFtlLTTprWNEj_vslrt3v3nploOs7k1X7XAAixnYIN4,5031
9
9
  wordlift_client/api/account_api.py,sha256=wxVhHEPyMfNpC1_sBLp2nECfvyGIVwlqqM2Xu3EGSHI,10288
10
10
  wordlift_client/api/account_google_search_console_api.py,sha256=QruHrGZ1LMRhVrVt5k1UOAQZSkMY8zMZWkQ2DdeD5Dw,12119
11
11
  wordlift_client/api/account_stats_api.py,sha256=tQshIfkbME-WMY-sBMwUUZdSTDBeoaV0wnrtAnaFv_g,10480
@@ -43,7 +43,7 @@ wordlift_client/api/entities_api.py,sha256=6cQ2m_b5f9aWCGnbb6auGiyrBP6LV7ZQQZDyv
43
43
  wordlift_client/api/entity_gaps_api.py,sha256=9jd4dkhQlDX409rDUPHQeDBPzF5q5RfjXRUC8M4lk94,11687
44
44
  wordlift_client/api/fact_check_api.py,sha256=ejsnMmKtmeOVeLEoOxNo46tlnUsz4BfMq_PcEV4sKf0,11656
45
45
  wordlift_client/api/google_merchants_api.py,sha256=EnyR-eOF3jDJzky31X7EkCSpxDk9Ju010MBy9Twg1OM,11056
46
- wordlift_client/api/google_search_console_api.py,sha256=bEscJU_3yid1dzGPBtuGaq22JdLVhCd-7haJbAvrzJw,27941
46
+ wordlift_client/api/google_search_console_api.py,sha256=lPlbuJzfxN69NsfvtrDRnpU9_W5GbuEPFUjCrqJYtSY,38851
47
47
  wordlift_client/api/google_search_console_o_auth2_api.py,sha256=P5Pe1zZ35us54zau9x7FHNmb_sd2ul0WhKKXS5f1f9o,66483
48
48
  wordlift_client/api/google_search_console_searches_api.py,sha256=hBIllob_UKFnEfXfJKcmhP7jDD86_etzzvsJwOAoGsQ,16584
49
49
  wordlift_client/api/google_search_console_websites_api.py,sha256=mye31mqzTqxUloOMarfXbu0gUk3SvgFgIAHFwD0dyak,12256
@@ -80,11 +80,11 @@ wordlift_client/api/web_asyncs_metadata_api.py,sha256=cpDQmIGc6uHu5rFXwZAy1cVgcW
80
80
  wordlift_client/api/web_asyncs_responses_api.py,sha256=h91xI3iIgGoMUcZ7Oft5xiLy0rHh_2qzZDrFTRz3P8w,10889
81
81
  wordlift_client/api/web_pages_api.py,sha256=VKPLIaQRxxDn3daP0zvXRiHj2eegsZIjxUmHKzxZXoc,10839
82
82
  wordlift_client/api/web_pages_imports_api.py,sha256=yPhNLZ1jV2dEDnYuHb7OpiFH3K2ROrRYHG4ZrAf4VMU,11719
83
- wordlift_client/models/__init__.py,sha256=Wu8qlfOSbj9VCbYnSkO26I7WgQUW9igAUfavZ14iP-M,14466
83
+ wordlift_client/models/__init__.py,sha256=JiVI6hniFzJl7yIWkF_uALxoroNrgbZjUiS2clqtgps,14386
84
84
  wordlift_client/models/account.py,sha256=trGNzy3ZBGE1VsSke4aoXBQem-3jK60xVz0OWOOMWso,5523
85
85
  wordlift_client/models/account_config.py,sha256=_4YZ8IGS4h16wa9aSaL9rpeoZYR8faiwEAtovP4eBVI,2592
86
86
  wordlift_client/models/account_info.py,sha256=tCqVHqfeK5u1cQkLOBgJRUTs-e8vmGCjqZ4wgfmNIuw,7750
87
- wordlift_client/models/account_stats.py,sha256=9qk0jlNvz7H2LSFEAp_AhHbI_w6rAxkp_-mrHAkAaO8,2963
87
+ wordlift_client/models/account_stats.py,sha256=hMtiIDYGGMp4ytKgvgBIx40U5EyWr6-IJCrqVO4g7BI,3091
88
88
  wordlift_client/models/account_subscription.py,sha256=hJNuMXCDt9EqLvp3vfgv2xMc1Uk7UQ7gzTM320MsPbk,2858
89
89
  wordlift_client/models/active_account.py,sha256=rFDPX3X2hwMQfMnURcLEPgb9W5NGE1xmDIQhPZRMXQA,5707
90
90
  wordlift_client/models/add_on_configuration.py,sha256=8sEIAr91rjmj-A3B1vGUVlZkc_hVxOSmO_Irt4irhz4,3731
@@ -105,7 +105,7 @@ wordlift_client/models/author_request.py,sha256=-tlrtx2BacQhIqWOxdEp5shjHf6Pfwfh
105
105
  wordlift_client/models/authorization.py,sha256=VNm4E9yox7vunAjtmSV-5SnL_jWFZ2ey7TRMtvLtwfc,3324
106
106
  wordlift_client/models/authorization_status.py,sha256=YLw0WWVlTTtqS7KMfd21Wh97SyPkKSuZZf6u0Ac7fTk,697
107
107
  wordlift_client/models/autocomplete_result.py,sha256=EIAcjVe8lmX5tI-FKvidO5c4jTOBSVmHosRYZY0oW0I,4159
108
- wordlift_client/models/automation_readiness.py,sha256=5Smbj6KhVNQ5P-BwVQ_uJkW56FNSz2EINy05uLXrzE0,3180
108
+ wordlift_client/models/automation_readiness.py,sha256=Fh0pi0n4f1E65hSpFfwScCce-nTakIcHG-gZCk9hDsY,3118
109
109
  wordlift_client/models/batch_request.py,sha256=grr0474p7OooNlz2xwqWCYuBSMP6s9TMUdoKxQWgMqw,2742
110
110
  wordlift_client/models/botify_crawl_import_request.py,sha256=mKP8_tSa2AB299-Tp1wDmiJXymN82WPiHkl_6eB4hTw,3656
111
111
  wordlift_client/models/build_authorize_uri_request.py,sha256=6KxljTA8M8InFNOl3RRsDKzycSFZWJomPCu-MkS7bFM,2617
@@ -130,10 +130,11 @@ wordlift_client/models/content_expansion_response.py,sha256=M3UGVHEHpPne6kTYaa-B
130
130
  wordlift_client/models/content_generation.py,sha256=5VY9sDx8frKNy2hEWnF9N381vJZfFgbb4JoLAPmeKN4,5883
131
131
  wordlift_client/models/content_generation_request.py,sha256=pH3mXp9_bwWg9l_giZgZBDGtagGN5MWp-yPWHwcn3aw,5030
132
132
  wordlift_client/models/content_generation_stats.py,sha256=phgHuD65AXa1Z39OLwIIA56qeH4AKZSzeANDHW8-yBw,3190
133
- wordlift_client/models/content_structure.py,sha256=Knn5ZIZBZNV3Ih0Mu4DGjmMgeTdZhaDefyrJlWmzi50,3304
133
+ wordlift_client/models/content_structure.py,sha256=ulwbJfzQ24GqcM2j7SLxc-ljEbkKFRhDpb6KIAQqLJ0,3242
134
134
  wordlift_client/models/create_embeddings_input.py,sha256=tbdsI0ptkn7zr_jcWwOPA8lAX2UydT4R-KzW82wzoFg,2440
135
135
  wordlift_client/models/create_seo_score200_response.py,sha256=qh4q1BUNCp6ZaXPftYNbPTuiGAbfP6sk8J2iKvaiZVM,2632
136
136
  wordlift_client/models/create_seo_score_request.py,sha256=yOMTVyZqWIOwqm4wtRW7VEIUtJQLHywaAcVUCNH3Itk,3149
137
+ wordlift_client/models/create_url_inspection_request.py,sha256=V7YbX-EEXZhPe2fAQT_gX2E0IPS5NG_llsAe3muZJWI,2505
137
138
  wordlift_client/models/diagnostic_plugin.py,sha256=OMBS9gMlDJyGpEbVDtq4LCGVWhKOiMXuw4lEXpjw40I,3512
138
139
  wordlift_client/models/diagnostic_plugin_request.py,sha256=3PyfOenoFYHTHE8BxWuxE_OWAnUsvTKAg-PqoZfLDQQ,2843
139
140
  wordlift_client/models/domain_validation_request.py,sha256=QuwI43904xfAE732CvM_YpsXqWiia2YMAIp-2t8lIUY,2719
@@ -158,7 +159,7 @@ wordlift_client/models/graphql_request.py,sha256=TkvPntW0xmcruYj5j3fxLCvMdwMIxQQ
158
159
  wordlift_client/models/html.py,sha256=keTq3omKua8Yhi4mdrgq1NhXCSLKQSnCnpV1w3fpoXM,2700
159
160
  wordlift_client/models/http_validation_error.py,sha256=4qnhNjH0bYJfmTa-UTbfPA4lc8fZUzrMOy44aks-MRo,2924
160
161
  wordlift_client/models/image.py,sha256=EknFeRXBnBAkgyXyS78NPrtYHz6lI1sG8wvn0ZbkPuI,2591
161
- wordlift_client/models/image_accessibility.py,sha256=AvhYRfXT7Q8iJPRqbZrPhKyhgu5SfK_A2m4jrSqizdA,3825
162
+ wordlift_client/models/image_accessibility.py,sha256=_xwaepcdvy2V7jDUbrx2mtAc2Ztr3oQlPJ8oZ7hNwkA,3763
162
163
  wordlift_client/models/image_to_text_request.py,sha256=7F1d91USnr4U9-u7h5c2laoTGTVXyFLC_EUwWRaYBKc,3157
163
164
  wordlift_client/models/image_to_text_response.py,sha256=czD74ZlWPGXaxwT2ngZaSJTekfj9f8V2uYktOgyzIG0,2502
164
165
  wordlift_client/models/include_exclude.py,sha256=oYpxf-RmSRG2D3ghdxk6X70wsvCHpDaBmvzuTaNm_Gk,3302
@@ -169,7 +170,7 @@ wordlift_client/models/internal_link_destination.py,sha256=xWWqeUtc7MY2ErG7zitUP
169
170
  wordlift_client/models/internal_link_request.py,sha256=72ouLEOqachUNYOAEDxhOwrG43wBTGDZ5g1y6dibfvs,3537
170
171
  wordlift_client/models/internal_link_source.py,sha256=TCovpxQBR2v537rFePpptO4DEi--5V9fmmqMYA0jPrQ,2740
171
172
  wordlift_client/models/item.py,sha256=MvFFi8thULENZd9sbzTYlZH2bwqCGxwXJp4YJqtQvFs,3092
172
- wordlift_client/models/js_rendering.py,sha256=rAlMQSdmdZgt72LmHy9rmIXBMO16Qz6_Kv5TCcIpe4s,4829
173
+ wordlift_client/models/js_rendering.py,sha256=Dj8noiEnug888bjQijWWg9Y0dHbsInDB_F0c7pEmL44,4793
173
174
  wordlift_client/models/kg_embedding_request.py,sha256=du2ce52FsAkkr5sLGvShzCQXFsXJHvQ8dDy5ita2tWw,2974
174
175
  wordlift_client/models/kg_embedding_response.py,sha256=v4fz8xCXdcHclAbvBxLmmgV2k-Fki_OJfIhL8GzIHpk,2569
175
176
  wordlift_client/models/level_enum.py,sha256=0SRm7XXcgWCxcbrVHFi7GoFdmpla38Fl3RXIXH8_YVk,700
@@ -232,13 +233,13 @@ wordlift_client/models/response2.py,sha256=8ZNs6RJIVuUtUMcH2Nvdrc8d4syJ5DkF9SRkb
232
233
  wordlift_client/models/rule.py,sha256=23YiNYJrMuFG4FYjBtDHmlS1H_zLFIb190Y7wTY_WQU,5679
233
234
  wordlift_client/models/rule_request.py,sha256=LlSs39bL6JG00IFNrhX0NyVe7VsW5nE8p1Lvo0HZ_bI,5186
234
235
  wordlift_client/models/scope.py,sha256=VwGzE4WpI5IwFwjJ-E00a0VfUHQhfOFvAEB4KW73hmE,676
235
- wordlift_client/models/seo_fundamentals.py,sha256=biY3z_uU7e9URsxbvUnmJAwWuqTUnrYF8UBQPex2CRM,3913
236
- wordlift_client/models/site_files.py,sha256=d3vXNgviNb_RLd0KIhF_8BYoKRcuR7mv5cPYw0ucZuE,4619
237
- wordlift_client/models/site_files_bot_access.py,sha256=U1_2v-j76PQIN4JzA6eQbtkBjjevnqpIw8vE6TZ29h8,3743
236
+ wordlift_client/models/seo_fundamentals.py,sha256=RJGN7J-upS7kpglVA3Ylnf_Klo0KvsWyaYKV2TU5Gc8,3851
237
+ wordlift_client/models/site_files.py,sha256=73VbrmAkTWBRz-SJ4kJJCDE7Lyx9HHbwdpE4a7KVYic,4557
238
+ wordlift_client/models/site_files_bot_access.py,sha256=_54Atx51_zCrxgXgxXRM_Cd_bnnOTNz8uUZSHS1WYXw,3725
238
239
  wordlift_client/models/sitemap_import_request.py,sha256=sa_eJNleJlPCiJ7eZp6Alc2pG-Q3Qa7g4f-P5mMnCnQ,4440
239
240
  wordlift_client/models/smart_content.py,sha256=k6p7FXUkoEZ-UPy8WRTuMwA3E7dODmVPOdvSvIn1XRI,3274
240
241
  wordlift_client/models/smart_content_request.py,sha256=DKmgsasJuBhv7wItsMMWga016qcawhaM5RSHrsq16FE,3991
241
- wordlift_client/models/structured_data.py,sha256=Tqrtp72nw7LPbUKycuxt-yB08QGGxBxqBJgE6-jbR5A,3605
242
+ wordlift_client/models/structured_data.py,sha256=t7BYdqGMA1sFsdQ_v1XdwN4cJgsVT6_xH6TdSSMww40,3543
242
243
  wordlift_client/models/submit_fact_check200_response.py,sha256=K_J_8_N12bSWcnDi_rmvWzl6Hujz5PswSoxhWaKtkaY,2503
243
244
  wordlift_client/models/submit_fact_check_request.py,sha256=CZmGQklpRWMn5OnBUAFId9b_DQFxMJ-RurF3IcJtPJg,2475
244
245
  wordlift_client/models/token_response.py,sha256=Bc0JsyjFwIEw057vbtGQKvBe4we-xjUs_uqNuahhW88,3195
@@ -275,8 +276,8 @@ wordlift_client/models/with_limits.py,sha256=rSzDb_If8APxR2Rw2U6cfFRFubnnai3Vj3-
275
276
  wordlift_client/models/word.py,sha256=FPCGb6ohwdfydE5_qG4PT-UrnMzaTktAWqEEnezwaso,3922
276
277
  wordlift_client/models/word_repetition_data.py,sha256=CQnxCnhakt12czl6a_AQIPgHlJtvR9YGBIjGV22rq14,2659
277
278
  wordlift_client/models/word_request.py,sha256=ZD13xNRYCZmF14jxEDrRRyEMAd-quDT-HsqkbUP_xWU,2627
278
- wordlift_client-1.123.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
279
- wordlift_client-1.123.0.dist-info/METADATA,sha256=kTKoQGEw-vg7M5FNgjlystvsCUb28PwgAmf7WWJUmy4,530
280
- wordlift_client-1.123.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
281
- wordlift_client-1.123.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
282
- wordlift_client-1.123.0.dist-info/RECORD,,
279
+ wordlift_client-1.125.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
280
+ wordlift_client-1.125.0.dist-info/METADATA,sha256=33SE7W7PVoOAKyJeg6IEmZDZhRcF6yiRuuSR2M_t8a8,530
281
+ wordlift_client-1.125.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
282
+ wordlift_client-1.125.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
283
+ wordlift_client-1.125.0.dist-info/RECORD,,