capmonstercloudclient 3.0.0__tar.gz → 3.1.0__tar.gz

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.
Files changed (48) hide show
  1. {capmonstercloudclient-3.0.0/capmonstercloudclient.egg-info → capmonstercloudclient-3.1.0}/PKG-INFO +1 -1
  2. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/ImpervaCustomTaskRequest.py +9 -9
  3. capmonstercloudclient-3.1.0/capmonstercloud_client/version.txt +1 -0
  4. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0/capmonstercloudclient.egg-info}/PKG-INFO +1 -1
  5. capmonstercloudclient-3.0.0/capmonstercloud_client/version.txt +0 -1
  6. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/LICENSE +0 -0
  7. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/MANIFEST.in +0 -0
  8. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/README.md +0 -0
  9. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/CapMonsterCloudClient.py +0 -0
  10. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/GetResultTimeouts.py +0 -0
  11. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/__init__.py +0 -0
  12. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/captchaResult.py +0 -0
  13. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/clientOptions.py +0 -0
  14. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/exceptions.py +0 -0
  15. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requestController.py +0 -0
  16. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/AmazonWafRequest.py +0 -0
  17. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/BasiliskCustomTaskRequest.py +0 -0
  18. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/BinanceTaskRequest.py +0 -0
  19. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/ComplexImageTaskBase.py +0 -0
  20. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/CustomTaskRequestBase.py +0 -0
  21. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/DataDomeCustomTaskRequest.py +0 -0
  22. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/FuncaptchaComplexImageTask.py +0 -0
  23. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/FuncaptchaRequest.py +0 -0
  24. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/GeetestRequest.py +0 -0
  25. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/HcaptchaComplexImageTask.py +0 -0
  26. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/HcaptchaRequest.py +0 -0
  27. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/ImageToTextRequest.py +0 -0
  28. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/RecaptchaComplexImageTask.py +0 -0
  29. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/RecaptchaV2EnterpiseRequest.py +0 -0
  30. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/RecaptchaV2Request.py +0 -0
  31. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/RecaptchaV3ProxylessRequest.py +0 -0
  32. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/RecognitionComplexImageTaskRequest.py +0 -0
  33. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/TenDiCustomTaskRequest.py +0 -0
  34. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/TurnstileRequest.py +0 -0
  35. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/__init__.py +0 -0
  36. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/baseRequest.py +0 -0
  37. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/baseRequestWithProxy.py +0 -0
  38. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/enums.py +0 -0
  39. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/requests/proxy_info.py +0 -0
  40. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloud_client/utils.py +0 -0
  41. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloudclient.egg-info/SOURCES.txt +0 -0
  42. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloudclient.egg-info/dependency_links.txt +0 -0
  43. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloudclient.egg-info/requires.txt +0 -0
  44. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/capmonstercloudclient.egg-info/top_level.txt +0 -0
  45. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/pyproject.toml +0 -0
  46. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/requirements.txt +0 -0
  47. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/setup.cfg +0 -0
  48. {capmonstercloudclient-3.0.0 → capmonstercloudclient-3.1.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capmonstercloudclient
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: Official CapMonsterCloud Client: https://capmonster.cloud/
5
5
  Home-page: https://github.com/ZennoLab/capmonstercloud-client-python
6
6
  Author: Andrey Ilyin
@@ -9,17 +9,17 @@ class ImpervaCustomTaskRequest(CustomTaskRequestBase):
9
9
 
10
10
  @validator('metadata')
11
11
  def validate_metadata(cls, value):
12
- if value.get('incapsulaScriptBase64') is None:
13
- raise TypeError(f'Expect that incapsulaScriptBase64 will be defined.')
12
+ if value.get('incapsulaScriptUrl') is None:
13
+ raise TypeError(f'Expect that incapsulaScriptUrl will be defined.')
14
14
  else:
15
- if not isinstance(value.get('incapsulaScriptBase64'), str):
16
- raise TypeError(f'Expect that incapsulaScriptBase64 will be str.')
17
- if value.get('incapsulaSessionCookie') is None:
18
- raise TypeError(f'Expect that incapsulaSessionCookie will be defined.')
15
+ if not isinstance(value.get('incapsulaScriptUrl'), str):
16
+ raise TypeError(f'Expect that incapsulaScriptUrl will be str.')
17
+ if value.get('incapsulaCookie') is None:
18
+ raise TypeError(f'Expect that incapsulaCookie will be defined.')
19
19
  else:
20
- if not isinstance(value.get('incapsulaSessionCookie'), str):
21
- raise TypeError(f'Expect that incapsulaSessionCookie will be str.')
22
- if value.get('reese84UrlEndpoint') is not None and not isinstance(value.get('incapsulaSessionCookie'), str):
20
+ if not isinstance(value.get('incapsulaCookie'), str):
21
+ raise TypeError(f'Expect that incapsulaCookie will be str.')
22
+ if value.get('reese84UrlEndpoint') is not None and not isinstance(value.get('reese84UrlEndpoint'), str):
23
23
  raise TypeError(f'Expect that reese84UrlEndpoint will be str.')
24
24
  return value
25
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capmonstercloudclient
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: Official CapMonsterCloud Client: https://capmonster.cloud/
5
5
  Home-page: https://github.com/ZennoLab/capmonstercloud-client-python
6
6
  Author: Andrey Ilyin