You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: onfido/api/default_api.py
+35-17Lines changed: 35 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
from typing import Any, Dict, List, Optional, Tuple, Union
17
17
from typing_extensions import Annotated
18
18
19
-
from datetime import datetime
19
+
from datetime import date
20
20
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
21
21
from typing import List, Optional, Tuple, Union
22
22
from typing_extensions import Annotated
@@ -17153,10 +17153,11 @@ def list_workflow_runs(
17153
17153
self,
17154
17154
page: Annotated[Optional[StrictInt], Field(description="The number of the page to be retrieved. If not specified, defaults to 1.")] = None,
17155
17155
status: Annotated[Optional[StrictStr], Field(description="A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.")] = None,
17156
-
created_at_gt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17157
-
created_at_lt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17156
+
created_at_gt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17157
+
created_at_lt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17158
17158
sort: Annotated[Optional[StrictStr], Field(description="A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.")] = None,
tags: Annotated[Optional[List[StrictStr]], Field(description="A list of tags to filter the results.")] = None,
17160
17161
_request_timeout: Union[
17161
17162
None,
17162
17163
Annotated[StrictFloat, Field(gt=0)],
@@ -17179,13 +17180,15 @@ def list_workflow_runs(
17179
17180
:param status: A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.
17180
17181
:type status: str
17181
17182
:param created_at_gt: A ISO-8601 date to filter results with a created date greater than (after) the one provided.
17182
-
:type created_at_gt: datetime
17183
+
:type created_at_gt: date
17183
17184
:param created_at_lt: A ISO-8601 date to filter results with a created date less than (before) the one provided.
17184
-
:type created_at_lt: datetime
17185
+
:type created_at_lt: date
17185
17186
:param sort: A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.
17186
17187
:type sort: str
17187
17188
:param applicant_id: the applicant's id.
17188
17189
:type applicant_id: str
17190
+
:param tags: A list of tags to filter the results.
17191
+
:type tags: List[str]
17189
17192
:param _request_timeout: timeout setting for this request. If one
page: Annotated[Optional[StrictInt], Field(description="The number of the page to be retrieved. If not specified, defaults to 1.")] = None,
17242
17246
status: Annotated[Optional[StrictStr], Field(description="A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.")] = None,
17243
-
created_at_gt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17244
-
created_at_lt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17247
+
created_at_gt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17248
+
created_at_lt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17245
17249
sort: Annotated[Optional[StrictStr], Field(description="A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.")] = None,
:param status: A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.
17267
17272
:type status: str
17268
17273
:param created_at_gt: A ISO-8601 date to filter results with a created date greater than (after) the one provided.
17269
-
:type created_at_gt: datetime
17274
+
:type created_at_gt: date
17270
17275
:param created_at_lt: A ISO-8601 date to filter results with a created date less than (before) the one provided.
17271
-
:type created_at_lt: datetime
17276
+
:type created_at_lt: date
17272
17277
:param sort: A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.
17273
17278
:type sort: str
17274
17279
:param applicant_id: the applicant's id.
17275
17280
:type applicant_id: str
17281
+
:param tags: A list of tags to filter the results.
17282
+
:type tags: List[str]
17276
17283
:param _request_timeout: timeout setting for this request. If one
page: Annotated[Optional[StrictInt], Field(description="The number of the page to be retrieved. If not specified, defaults to 1.")] = None,
17329
17337
status: Annotated[Optional[StrictStr], Field(description="A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.")] = None,
17330
-
created_at_gt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17331
-
created_at_lt: Annotated[Optional[datetime], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17338
+
created_at_gt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date greater than (after) the one provided.")] = None,
17339
+
created_at_lt: Annotated[Optional[date], Field(description="A ISO-8601 date to filter results with a created date less than (before) the one provided.")] = None,
17332
17340
sort: Annotated[Optional[StrictStr], Field(description="A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.")] = None,
:param status: A list of comma separated status values to filter the results. Possible values are 'processing', 'awaiting_input', 'approved', 'declined', 'review', 'abandoned' and 'error'.
17354
17363
:type status: str
17355
17364
:param created_at_gt: A ISO-8601 date to filter results with a created date greater than (after) the one provided.
17356
-
:type created_at_gt: datetime
17365
+
:type created_at_gt: date
17357
17366
:param created_at_lt: A ISO-8601 date to filter results with a created date less than (before) the one provided.
17358
-
:type created_at_lt: datetime
17367
+
:type created_at_lt: date
17359
17368
:param sort: A string with the value 'desc' or 'asc' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to 'desc'.
17360
17369
:type sort: str
17361
17370
:param applicant_id: the applicant's id.
17362
17371
:type applicant_id: str
17372
+
:param tags: A list of tags to filter the results.
17373
+
:type tags: List[str]
17363
17374
:param _request_timeout: timeout setting for this request. If one
0 commit comments