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
authorization: Annotated[StrictStr, Field(description="Specify the generated authorization token of the bearer type.")],
47
48
merchant_id: Annotated[StrictStr, Field(description="The merchant's ID that is in GrabFood's database.")],
48
-
var_date: StrictStr,
49
-
page: Annotated[StrictInt, Field(description="Specify the page number for the report.")],
49
+
var_date: Optional[StrictStr] =None,
50
+
page: Annotated[Optional[StrictInt], Field(description="Specify the page number for the report. Required if orderIDs is not provided.")] =None,
51
+
order_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=10)]], Field(description="List of order IDs. If provided, date and page are not required.")] =None,
50
52
_request_timeout: Union[
51
53
None,
52
54
Annotated[StrictFloat, Field(gt=0)],
@@ -67,10 +69,12 @@ def list_orders(
67
69
:type authorization: str
68
70
:param merchant_id: The merchant's ID that is in GrabFood's database. (required)
69
71
:type merchant_id: str
70
-
:param var_date: (required)
72
+
:param var_date:
71
73
:type var_date: str
72
-
:param page: Specify the page number for the report. (required)
74
+
:param page: Specify the page number for the report. Required if orderIDs is not provided.
73
75
:type page: int
76
+
:param order_ids: List of order IDs. If provided, date and page are not required.
77
+
:type order_ids: List[str]
74
78
:param _request_timeout: timeout setting for this request. If one
authorization: Annotated[StrictStr, Field(description="Specify the generated authorization token of the bearer type.")],
125
130
merchant_id: Annotated[StrictStr, Field(description="The merchant's ID that is in GrabFood's database.")],
126
-
var_date: StrictStr,
127
-
page: Annotated[StrictInt, Field(description="Specify the page number for the report.")],
131
+
var_date: Optional[StrictStr] =None,
132
+
page: Annotated[Optional[StrictInt], Field(description="Specify the page number for the report. Required if orderIDs is not provided.")] =None,
133
+
order_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=10)]], Field(description="List of order IDs. If provided, date and page are not required.")] =None,
authorization: Annotated[StrictStr, Field(description="Specify the generated authorization token of the bearer type.")],
203
212
merchant_id: Annotated[StrictStr, Field(description="The merchant's ID that is in GrabFood's database.")],
204
-
var_date: StrictStr,
205
-
page: Annotated[StrictInt, Field(description="Specify the page number for the report.")],
213
+
var_date: Optional[StrictStr] =None,
214
+
page: Annotated[Optional[StrictInt], Field(description="Specify the page number for the report. Required if orderIDs is not provided.")] =None,
215
+
order_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=10)]], Field(description="List of order IDs. If provided, date and page are not required.")] =None,
0 commit comments