onfido-python 4.3.0__py3-none-any.whl → 4.4.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.
onfido/__init__.py CHANGED
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "4.3.0"
17
+ __version__ = "4.4.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from onfido.api.default_api import DefaultApi
onfido/api_client.py CHANGED
@@ -90,7 +90,7 @@ class ApiClient:
90
90
  self.default_headers[header_name] = header_value
91
91
  self.cookie = cookie
92
92
  # Set default User-Agent.
93
- self.user_agent = 'onfido-python/4.3.0'
93
+ self.user_agent = 'onfido-python/4.4.0'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
onfido/configuration.py CHANGED
@@ -394,7 +394,7 @@ conf = onfido.Configuration(
394
394
  "OS: {env}\n"\
395
395
  "Python Version: {pyversion}\n"\
396
396
  "Version of the API: v3.6\n"\
397
- "SDK Package Version: 4.3.0".\
397
+ "SDK Package Version: 4.4.0".\
398
398
  format(env=sys.platform, pyversion=sys.version)
399
399
 
400
400
  def get_host_settings(self):
onfido/models/task.py CHANGED
@@ -33,7 +33,7 @@ class Task(BaseModel):
33
33
  task_def_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The identifier for the Task Definition.")
34
34
  task_def_version: Optional[StrictStr] = Field(default=None, description="The task definition version.")
35
35
  input: Optional[Dict[str, Any]] = Field(default=None, description="Input object with the fields used by the Task to execute.")
36
- output: Optional[Dict[str, Any]] = Field(default=None, description="Output object with the fields produced by the Task execution.")
36
+ output: Any = Field(default=None, description="Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.")
37
37
  created_at: Optional[datetime] = Field(default=None, description="The date and time when the Task was created.")
38
38
  updated_at: Optional[datetime] = Field(default=None, description="The date and time when the Task was last updated.")
39
39
  additional_properties: Dict[str, Any] = {}
@@ -41,7 +41,7 @@ class WebhookEventPayloadResource(BaseModel):
41
41
  task_def_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The identifier for the Task Definition.")
42
42
  task_def_version: Optional[StrictStr] = Field(default=None, description="The task definition version.")
43
43
  input: Optional[Dict[str, Any]] = Field(default=None, description="Input object with the fields used by the Task execution.")
44
- output: Optional[Dict[str, Any]] = Field(default=None, description="Output object with the fields produced by the Task execution.")
44
+ output: Any = Field(default=None, description="Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.")
45
45
  reasons: Optional[List[StrictStr]] = Field(default=None, description="The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow Version.")
46
46
  link: Optional[WorkflowRunLink] = Field(default=None, description="Object for the configuration of the Workflow Run link.")
47
47
  error: Optional[WorkflowRunError] = Field(default=None, description="Error object that details why a Workflow Run is in Error status.")
@@ -32,6 +32,8 @@ class WebhookEventResourceType(str, Enum):
32
32
  WORKFLOW_RUN = 'workflow_run'
33
33
  WORKFLOW_TASK = 'workflow_task'
34
34
  WATCHLIST_MONITOR = 'watchlist_monitor'
35
+ WORKFLOW_TIMELINE_FILE = 'workflow_timeline_file'
36
+ WORKFLOW_RUN_EVIDENCE_FOLDER = 'workflow_run_evidence_folder'
35
37
 
36
38
  @classmethod
37
39
  def from_json(cls, json_str: str) -> Self:
@@ -43,6 +43,7 @@ class WebhookEventType(str, Enum):
43
43
  REPORT_DOT_COMPLETED = 'report.completed'
44
44
  WORKFLOW_TIMELINE_FILE_DOT_CREATED = 'workflow_timeline_file.created'
45
45
  WORKFLOW_SIGNED_EVIDENCE_FILE_DOT_CREATED = 'workflow_signed_evidence_file.created'
46
+ WORKFLOW_RUN_EVIDENCE_FOLDER_DOT_CREATED = 'workflow_run_evidence_folder.created'
46
47
 
47
48
  @classmethod
48
49
  def from_json(cls, json_str: str) -> Self:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: onfido-python
3
- Version: 4.3.0
3
+ Version: 4.4.0
4
4
  Summary: Python library for the Onfido API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,7 +1,7 @@
1
- onfido/__init__.py,sha256=fUx-3BVUj0CiDpCF2eeFTMkILdO8DQ7gK4nCKN5x_eo,28658
2
- onfido/api_client.py,sha256=YxjIwJgueAej2Crg0DdJfvE7oRBHC0BT_hsVwxrxFn4,27329
1
+ onfido/__init__.py,sha256=zcNjYI_unnb1qaR30pVOyiJkXHnzQfmK4F8QeBaK-uM,28658
2
+ onfido/api_client.py,sha256=lql3mwRQBgxK4tLxD7ZaEDXgnn4cCqGadI_SLs-bwKg,27329
3
3
  onfido/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- onfido/configuration.py,sha256=mBcbaUjn0GPVsmNj7Z3_LuV4mTZdcNH0vai4m-BpSX0,15012
4
+ onfido/configuration.py,sha256=SCZ792TldwRxNXWSzYNgQvtLohzYmfDQGr9f8iumZ2A,15012
5
5
  onfido/exceptions.py,sha256=5W4DJIPVwIzljxoedh5czPXOTBaq6CTTVD92h5ZyN88,5894
6
6
  onfido/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  onfido/rest.py,sha256=kI5k8RQ6_BemD6Zx99dJDmr7zwA1mSrHLlba2WwwoMM,9419
@@ -229,7 +229,7 @@ onfido/models/sdk_token.py,sha256=DuB5r4k1KWGbcykbZDmVNvz9KPH9quI_51nK0R76cpc,30
229
229
  onfido/models/sdk_token_builder.py,sha256=SkM6U6oGjZp762agxrgEoS3fDnPaUfQX2AKWR1WTcIQ,3666
230
230
  onfido/models/sdk_token_request.py,sha256=-JejrBUXbYxGRD6_o-vJ_CQCXI_g4pXYve7AIDI4sGs,3666
231
231
  onfido/models/sdk_token_response.py,sha256=GearM-RfjX9Spc1_zI7y6rLbpRWLmbGl07TlniviF-4,3055
232
- onfido/models/task.py,sha256=gnVzaGASfV8GvNvI8uUHA1_OJZunwxtVzDjxidOmebo,5612
232
+ onfido/models/task.py,sha256=9KpHmMPNupvwWspPxZ9o5tktiZDBAxBzDcSDjkxW4LI,5623
233
233
  onfido/models/task_item.py,sha256=X8tRI3qoIX4BBIgPPqKVDjDthSNjByq1wshy_GbFIYI,5055
234
234
  onfido/models/timeline_file_reference.py,sha256=t14T8-wVy-sxvQN0zZZ5p5V7SxB2ZvzE0JGuHWWWfWY,3340
235
235
  onfido/models/us_driving_licence_breakdown.py,sha256=sdYebAjfe0zhfOPCYcjKmVqi8dKJXAC17zgGsblynLg,4379
@@ -281,9 +281,9 @@ onfido/models/webhook_event.py,sha256=g5lobXwKJsA0J34puBVMcLbm7vcrVlZoFTuvRvCFE9
281
281
  onfido/models/webhook_event_object_status.py,sha256=4jEEia3Ecbji5bNaD4weG21BrgucVod3EKnEdKVJF6A,1267
282
282
  onfido/models/webhook_event_payload.py,sha256=aHlXjU0FX3F30zau9JBDkZqsZ2HgeBd_QXN19cNiRVo,4317
283
283
  onfido/models/webhook_event_payload_object.py,sha256=VbRajHlUahupevBm464VVuVWbYS4NrsXpEJFgC20KmU,3912
284
- onfido/models/webhook_event_payload_resource.py,sha256=NMYODrD8Q55ceu9b2L3SMMcjuWFR8nBOKcQu1_kRDgk,7234
285
- onfido/models/webhook_event_resource_type.py,sha256=9-yW9vX0p579IkKJvC0wsMkRZjFgn4DzVmR_VTsXm0w,847
286
- onfido/models/webhook_event_type.py,sha256=AP1JjrpjTyoATidiS0O_WnKyIEN4wrW-V0udJu-aLqs,1569
284
+ onfido/models/webhook_event_payload_resource.py,sha256=sGoNAlIX4AjxfM_QN3IglsHOxT4KVpB1Ba2jTxUkxbo,7245
285
+ onfido/models/webhook_event_resource_type.py,sha256=paadOwFMD8K8JCuBCAE3F_sWV-32HD3qhkabEl1Ae0E,967
286
+ onfido/models/webhook_event_type.py,sha256=S863kbG9lmTrvxcRUTHpKA5Nng9-uD-naW7XP2nVbS4,1655
287
287
  onfido/models/webhook_resend.py,sha256=H_qpNUnh0y1FJQUy1B6ngY69iH7nHU9qjglRXLXKmPc,3478
288
288
  onfido/models/webhook_response.py,sha256=VpnpGMafbWR7oj2Tws-sQlVmNzP9RPEMKvQ_g6wrbt0,3557
289
289
  onfido/models/webhook_shared.py,sha256=5KI0bTRB_XbewC1xG1Uhezj5lBjnKGqCIXfrdJvgFJI,4025
@@ -299,8 +299,8 @@ onfido/models/workflow_run_request.py,sha256=IGCpkcvqn6kJ2L2nZeuBHNeANqcSUfvx0Ig
299
299
  onfido/models/workflow_run_response.py,sha256=Ze469zDUWxZMxqIxas6Sjts3EB21z7PhZTfuWgs0Thw,5080
300
300
  onfido/models/workflow_run_shared.py,sha256=WP9qLkf79iaJTeK-QxkwzB2MvR4atT3LdZZRmZopPp4,4857
301
301
  onfido/models/workflow_run_status.py,sha256=34P9aHn0FEAirtAo64ej00LH4h-3V36ShZG1XbS_hZo,884
302
- onfido_python-4.3.0.dist-info/LICENSE,sha256=SKY_O1OkFX8yNWFuVVfYTsXvN46jsgtff-xReserHw4,1073
303
- onfido_python-4.3.0.dist-info/METADATA,sha256=daoEZLL5lY_Ydakny5C-7L5__rQRlto6hN_0g3o03cU,486
304
- onfido_python-4.3.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
305
- onfido_python-4.3.0.dist-info/top_level.txt,sha256=NHu8xI4S4Avh7xUark3dpdk9atpIVgyf-ptjHXU0-Ns,7
306
- onfido_python-4.3.0.dist-info/RECORD,,
302
+ onfido_python-4.4.0.dist-info/LICENSE,sha256=SKY_O1OkFX8yNWFuVVfYTsXvN46jsgtff-xReserHw4,1073
303
+ onfido_python-4.4.0.dist-info/METADATA,sha256=pBw-j-Pj_kS6IU_U3Wz_6RgeOD8w1PGuXKcvmzqy4Wc,486
304
+ onfido_python-4.4.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
305
+ onfido_python-4.4.0.dist-info/top_level.txt,sha256=NHu8xI4S4Avh7xUark3dpdk9atpIVgyf-ptjHXU0-Ns,7
306
+ onfido_python-4.4.0.dist-info/RECORD,,