convexity-api-client 0.21.0.dev330__py3-none-any.whl → 0.21.0.dev332__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.
- convexity_api_client/api/v1/erp_config_delete_user_table_preference.py +180 -0
- convexity_api_client/api/v1/erp_config_list_user_table_preferences.py +166 -0
- convexity_api_client/api/v1/erp_config_update_user_table_preference.py +202 -0
- convexity_api_client/api/v1/inventory_list_templates.py +18 -61
- convexity_api_client/api/v1/purchasing_list_pos.py +18 -61
- convexity_api_client/api/v1/purchasing_list_vendors.py +18 -61
- convexity_api_client/api/v1/sales_list_invoices.py +18 -61
- convexity_api_client/api/v1/sales_list_orders.py +18 -61
- convexity_api_client/models/__init__.py +24 -12
- convexity_api_client/models/erp_configured_column_config.py +31 -0
- convexity_api_client/models/erp_configured_column_config_data_type_type_0.py +12 -0
- convexity_api_client/models/erp_project_config.py +18 -0
- convexity_api_client/models/erp_project_config_tablecolumns.py +68 -0
- convexity_api_client/models/erp_user_table_preference.py +201 -0
- convexity_api_client/models/erp_user_table_preference_response.py +102 -0
- convexity_api_client/models/erp_user_table_preference_response_columnlabels.py +47 -0
- convexity_api_client/models/erp_user_table_preference_response_columnwidths.py +47 -0
- convexity_api_client/models/import_task_payload.py +108 -0
- convexity_api_client/models/import_task_payload_type.py +9 -0
- convexity_api_client/models/list_erp_user_table_preferences_response.py +75 -0
- convexity_api_client/models/list_inventory_items_request.py +11 -62
- convexity_api_client/models/profile.py +43 -0
- convexity_api_client/models/project.py +43 -0
- convexity_api_client/models/search_purchase_orders_request.py +11 -51
- convexity_api_client/models/update_erp_user_table_preference_request.py +92 -0
- convexity_api_client/models/update_erp_user_table_preference_request_columnlabels.py +47 -0
- convexity_api_client/models/update_erp_user_table_preference_request_columnwidths.py +47 -0
- convexity_api_client/models/worker_task_response.py +18 -2
- {convexity_api_client-0.21.0.dev330.dist-info → convexity_api_client-0.21.0.dev332.dist-info}/METADATA +1 -1
- {convexity_api_client-0.21.0.dev330.dist-info → convexity_api_client-0.21.0.dev332.dist-info}/RECORD +31 -22
- {convexity_api_client-0.21.0.dev330.dist-info → convexity_api_client-0.21.0.dev332.dist-info}/WHEEL +1 -1
- convexity_api_client/models/inventory_list_templates_filter_operator_type_0.py +0 -19
- convexity_api_client/models/list_inventory_items_request_filter_operator_type_0.py +0 -19
- convexity_api_client/models/purchasing_list_pos_filter_operator_type_0.py +0 -19
- convexity_api_client/models/purchasing_list_vendors_filter_operator_type_0.py +0 -19
- convexity_api_client/models/sales_list_invoices_filter_operator_type_0.py +0 -19
- convexity_api_client/models/sales_list_orders_filter_operator_type_0.py +0 -19
|
@@ -7,7 +7,6 @@ from ... import errors
|
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.http_validation_error import HTTPValidationError
|
|
9
9
|
from ...models.inventory_item_type import InventoryItemType
|
|
10
|
-
from ...models.inventory_list_templates_filter_operator_type_0 import InventoryListTemplatesFilterOperatorType0
|
|
11
10
|
from ...models.inventory_list_templates_sort_direction_type_0 import InventoryListTemplatesSortDirectionType0
|
|
12
11
|
from ...models.list_item_templates_response import ListItemTemplatesResponse
|
|
13
12
|
from ...types import UNSET, Response, Unset
|
|
@@ -21,9 +20,7 @@ def _get_kwargs(
|
|
|
21
20
|
item_type: InventoryItemType | None | Unset = UNSET,
|
|
22
21
|
sort_by: None | str | Unset = UNSET,
|
|
23
22
|
sort_direction: InventoryListTemplatesSortDirectionType0 | None | Unset = UNSET,
|
|
24
|
-
|
|
25
|
-
filter_operator: InventoryListTemplatesFilterOperatorType0 | None | Unset = UNSET,
|
|
26
|
-
filter_value: None | str | Unset = UNSET,
|
|
23
|
+
filters: None | str | Unset = UNSET,
|
|
27
24
|
limit: int | Unset = 50,
|
|
28
25
|
offset: int | Unset = 0,
|
|
29
26
|
project_id: str,
|
|
@@ -77,28 +74,12 @@ def _get_kwargs(
|
|
|
77
74
|
json_sort_direction = sort_direction
|
|
78
75
|
params["sort_direction"] = json_sort_direction
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
if isinstance(
|
|
82
|
-
|
|
77
|
+
json_filters: None | str | Unset
|
|
78
|
+
if isinstance(filters, Unset):
|
|
79
|
+
json_filters = UNSET
|
|
83
80
|
else:
|
|
84
|
-
|
|
85
|
-
params["
|
|
86
|
-
|
|
87
|
-
json_filter_operator: None | str | Unset
|
|
88
|
-
if isinstance(filter_operator, Unset):
|
|
89
|
-
json_filter_operator = UNSET
|
|
90
|
-
elif isinstance(filter_operator, InventoryListTemplatesFilterOperatorType0):
|
|
91
|
-
json_filter_operator = filter_operator.value
|
|
92
|
-
else:
|
|
93
|
-
json_filter_operator = filter_operator
|
|
94
|
-
params["filter_operator"] = json_filter_operator
|
|
95
|
-
|
|
96
|
-
json_filter_value: None | str | Unset
|
|
97
|
-
if isinstance(filter_value, Unset):
|
|
98
|
-
json_filter_value = UNSET
|
|
99
|
-
else:
|
|
100
|
-
json_filter_value = filter_value
|
|
101
|
-
params["filter_value"] = json_filter_value
|
|
81
|
+
json_filters = filters
|
|
82
|
+
params["filters"] = json_filters
|
|
102
83
|
|
|
103
84
|
params["limit"] = limit
|
|
104
85
|
|
|
@@ -156,9 +137,7 @@ def sync_detailed(
|
|
|
156
137
|
item_type: InventoryItemType | None | Unset = UNSET,
|
|
157
138
|
sort_by: None | str | Unset = UNSET,
|
|
158
139
|
sort_direction: InventoryListTemplatesSortDirectionType0 | None | Unset = UNSET,
|
|
159
|
-
|
|
160
|
-
filter_operator: InventoryListTemplatesFilterOperatorType0 | None | Unset = UNSET,
|
|
161
|
-
filter_value: None | str | Unset = UNSET,
|
|
140
|
+
filters: None | str | Unset = UNSET,
|
|
162
141
|
limit: int | Unset = 50,
|
|
163
142
|
offset: int | Unset = 0,
|
|
164
143
|
project_id: str,
|
|
@@ -172,9 +151,7 @@ def sync_detailed(
|
|
|
172
151
|
item_type (InventoryItemType | None | Unset):
|
|
173
152
|
sort_by (None | str | Unset):
|
|
174
153
|
sort_direction (InventoryListTemplatesSortDirectionType0 | None | Unset):
|
|
175
|
-
|
|
176
|
-
filter_operator (InventoryListTemplatesFilterOperatorType0 | None | Unset):
|
|
177
|
-
filter_value (None | str | Unset):
|
|
154
|
+
filters (None | str | Unset):
|
|
178
155
|
limit (int | Unset): Default: 50.
|
|
179
156
|
offset (int | Unset): Default: 0.
|
|
180
157
|
project_id (str):
|
|
@@ -194,9 +171,7 @@ def sync_detailed(
|
|
|
194
171
|
item_type=item_type,
|
|
195
172
|
sort_by=sort_by,
|
|
196
173
|
sort_direction=sort_direction,
|
|
197
|
-
|
|
198
|
-
filter_operator=filter_operator,
|
|
199
|
-
filter_value=filter_value,
|
|
174
|
+
filters=filters,
|
|
200
175
|
limit=limit,
|
|
201
176
|
offset=offset,
|
|
202
177
|
project_id=project_id,
|
|
@@ -218,9 +193,7 @@ def sync(
|
|
|
218
193
|
item_type: InventoryItemType | None | Unset = UNSET,
|
|
219
194
|
sort_by: None | str | Unset = UNSET,
|
|
220
195
|
sort_direction: InventoryListTemplatesSortDirectionType0 | None | Unset = UNSET,
|
|
221
|
-
|
|
222
|
-
filter_operator: InventoryListTemplatesFilterOperatorType0 | None | Unset = UNSET,
|
|
223
|
-
filter_value: None | str | Unset = UNSET,
|
|
196
|
+
filters: None | str | Unset = UNSET,
|
|
224
197
|
limit: int | Unset = 50,
|
|
225
198
|
offset: int | Unset = 0,
|
|
226
199
|
project_id: str,
|
|
@@ -234,9 +207,7 @@ def sync(
|
|
|
234
207
|
item_type (InventoryItemType | None | Unset):
|
|
235
208
|
sort_by (None | str | Unset):
|
|
236
209
|
sort_direction (InventoryListTemplatesSortDirectionType0 | None | Unset):
|
|
237
|
-
|
|
238
|
-
filter_operator (InventoryListTemplatesFilterOperatorType0 | None | Unset):
|
|
239
|
-
filter_value (None | str | Unset):
|
|
210
|
+
filters (None | str | Unset):
|
|
240
211
|
limit (int | Unset): Default: 50.
|
|
241
212
|
offset (int | Unset): Default: 0.
|
|
242
213
|
project_id (str):
|
|
@@ -257,9 +228,7 @@ def sync(
|
|
|
257
228
|
item_type=item_type,
|
|
258
229
|
sort_by=sort_by,
|
|
259
230
|
sort_direction=sort_direction,
|
|
260
|
-
|
|
261
|
-
filter_operator=filter_operator,
|
|
262
|
-
filter_value=filter_value,
|
|
231
|
+
filters=filters,
|
|
263
232
|
limit=limit,
|
|
264
233
|
offset=offset,
|
|
265
234
|
project_id=project_id,
|
|
@@ -275,9 +244,7 @@ async def asyncio_detailed(
|
|
|
275
244
|
item_type: InventoryItemType | None | Unset = UNSET,
|
|
276
245
|
sort_by: None | str | Unset = UNSET,
|
|
277
246
|
sort_direction: InventoryListTemplatesSortDirectionType0 | None | Unset = UNSET,
|
|
278
|
-
|
|
279
|
-
filter_operator: InventoryListTemplatesFilterOperatorType0 | None | Unset = UNSET,
|
|
280
|
-
filter_value: None | str | Unset = UNSET,
|
|
247
|
+
filters: None | str | Unset = UNSET,
|
|
281
248
|
limit: int | Unset = 50,
|
|
282
249
|
offset: int | Unset = 0,
|
|
283
250
|
project_id: str,
|
|
@@ -291,9 +258,7 @@ async def asyncio_detailed(
|
|
|
291
258
|
item_type (InventoryItemType | None | Unset):
|
|
292
259
|
sort_by (None | str | Unset):
|
|
293
260
|
sort_direction (InventoryListTemplatesSortDirectionType0 | None | Unset):
|
|
294
|
-
|
|
295
|
-
filter_operator (InventoryListTemplatesFilterOperatorType0 | None | Unset):
|
|
296
|
-
filter_value (None | str | Unset):
|
|
261
|
+
filters (None | str | Unset):
|
|
297
262
|
limit (int | Unset): Default: 50.
|
|
298
263
|
offset (int | Unset): Default: 0.
|
|
299
264
|
project_id (str):
|
|
@@ -313,9 +278,7 @@ async def asyncio_detailed(
|
|
|
313
278
|
item_type=item_type,
|
|
314
279
|
sort_by=sort_by,
|
|
315
280
|
sort_direction=sort_direction,
|
|
316
|
-
|
|
317
|
-
filter_operator=filter_operator,
|
|
318
|
-
filter_value=filter_value,
|
|
281
|
+
filters=filters,
|
|
319
282
|
limit=limit,
|
|
320
283
|
offset=offset,
|
|
321
284
|
project_id=project_id,
|
|
@@ -335,9 +298,7 @@ async def asyncio(
|
|
|
335
298
|
item_type: InventoryItemType | None | Unset = UNSET,
|
|
336
299
|
sort_by: None | str | Unset = UNSET,
|
|
337
300
|
sort_direction: InventoryListTemplatesSortDirectionType0 | None | Unset = UNSET,
|
|
338
|
-
|
|
339
|
-
filter_operator: InventoryListTemplatesFilterOperatorType0 | None | Unset = UNSET,
|
|
340
|
-
filter_value: None | str | Unset = UNSET,
|
|
301
|
+
filters: None | str | Unset = UNSET,
|
|
341
302
|
limit: int | Unset = 50,
|
|
342
303
|
offset: int | Unset = 0,
|
|
343
304
|
project_id: str,
|
|
@@ -351,9 +312,7 @@ async def asyncio(
|
|
|
351
312
|
item_type (InventoryItemType | None | Unset):
|
|
352
313
|
sort_by (None | str | Unset):
|
|
353
314
|
sort_direction (InventoryListTemplatesSortDirectionType0 | None | Unset):
|
|
354
|
-
|
|
355
|
-
filter_operator (InventoryListTemplatesFilterOperatorType0 | None | Unset):
|
|
356
|
-
filter_value (None | str | Unset):
|
|
315
|
+
filters (None | str | Unset):
|
|
357
316
|
limit (int | Unset): Default: 50.
|
|
358
317
|
offset (int | Unset): Default: 0.
|
|
359
318
|
project_id (str):
|
|
@@ -375,9 +334,7 @@ async def asyncio(
|
|
|
375
334
|
item_type=item_type,
|
|
376
335
|
sort_by=sort_by,
|
|
377
336
|
sort_direction=sort_direction,
|
|
378
|
-
|
|
379
|
-
filter_operator=filter_operator,
|
|
380
|
-
filter_value=filter_value,
|
|
337
|
+
filters=filters,
|
|
381
338
|
limit=limit,
|
|
382
339
|
offset=offset,
|
|
383
340
|
project_id=project_id,
|
|
@@ -9,7 +9,6 @@ from ...models.canonical_status import CanonicalStatus
|
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.list_purchase_orders_response import ListPurchaseOrdersResponse
|
|
11
11
|
from ...models.purchase_order_workflow_status import PurchaseOrderWorkflowStatus
|
|
12
|
-
from ...models.purchasing_list_pos_filter_operator_type_0 import PurchasingListPosFilterOperatorType0
|
|
13
12
|
from ...models.purchasing_list_pos_sort_direction_type_0 import PurchasingListPosSortDirectionType0
|
|
14
13
|
from ...models.purchasing_list_pos_status_group_type_0 import PurchasingListPosStatusGroupType0
|
|
15
14
|
from ...models.receipt_status import ReceiptStatus
|
|
@@ -25,9 +24,7 @@ def _get_kwargs(
|
|
|
25
24
|
receipt_status: None | ReceiptStatus | Unset = UNSET,
|
|
26
25
|
sort_by: None | str | Unset = UNSET,
|
|
27
26
|
sort_direction: None | PurchasingListPosSortDirectionType0 | Unset = UNSET,
|
|
28
|
-
|
|
29
|
-
filter_operator: None | PurchasingListPosFilterOperatorType0 | Unset = UNSET,
|
|
30
|
-
filter_value: None | str | Unset = UNSET,
|
|
27
|
+
filters: None | str | Unset = UNSET,
|
|
31
28
|
limit: int | Unset = 50,
|
|
32
29
|
offset: int | Unset = 0,
|
|
33
30
|
project_id: str,
|
|
@@ -94,28 +91,12 @@ def _get_kwargs(
|
|
|
94
91
|
json_sort_direction = sort_direction
|
|
95
92
|
params["sort_direction"] = json_sort_direction
|
|
96
93
|
|
|
97
|
-
|
|
98
|
-
if isinstance(
|
|
99
|
-
|
|
94
|
+
json_filters: None | str | Unset
|
|
95
|
+
if isinstance(filters, Unset):
|
|
96
|
+
json_filters = UNSET
|
|
100
97
|
else:
|
|
101
|
-
|
|
102
|
-
params["
|
|
103
|
-
|
|
104
|
-
json_filter_operator: None | str | Unset
|
|
105
|
-
if isinstance(filter_operator, Unset):
|
|
106
|
-
json_filter_operator = UNSET
|
|
107
|
-
elif isinstance(filter_operator, PurchasingListPosFilterOperatorType0):
|
|
108
|
-
json_filter_operator = filter_operator.value
|
|
109
|
-
else:
|
|
110
|
-
json_filter_operator = filter_operator
|
|
111
|
-
params["filter_operator"] = json_filter_operator
|
|
112
|
-
|
|
113
|
-
json_filter_value: None | str | Unset
|
|
114
|
-
if isinstance(filter_value, Unset):
|
|
115
|
-
json_filter_value = UNSET
|
|
116
|
-
else:
|
|
117
|
-
json_filter_value = filter_value
|
|
118
|
-
params["filter_value"] = json_filter_value
|
|
98
|
+
json_filters = filters
|
|
99
|
+
params["filters"] = json_filters
|
|
119
100
|
|
|
120
101
|
params["limit"] = limit
|
|
121
102
|
|
|
@@ -174,9 +155,7 @@ def sync_detailed(
|
|
|
174
155
|
receipt_status: None | ReceiptStatus | Unset = UNSET,
|
|
175
156
|
sort_by: None | str | Unset = UNSET,
|
|
176
157
|
sort_direction: None | PurchasingListPosSortDirectionType0 | Unset = UNSET,
|
|
177
|
-
|
|
178
|
-
filter_operator: None | PurchasingListPosFilterOperatorType0 | Unset = UNSET,
|
|
179
|
-
filter_value: None | str | Unset = UNSET,
|
|
158
|
+
filters: None | str | Unset = UNSET,
|
|
180
159
|
limit: int | Unset = 50,
|
|
181
160
|
offset: int | Unset = 0,
|
|
182
161
|
project_id: str,
|
|
@@ -191,9 +170,7 @@ def sync_detailed(
|
|
|
191
170
|
receipt_status (None | ReceiptStatus | Unset):
|
|
192
171
|
sort_by (None | str | Unset):
|
|
193
172
|
sort_direction (None | PurchasingListPosSortDirectionType0 | Unset):
|
|
194
|
-
|
|
195
|
-
filter_operator (None | PurchasingListPosFilterOperatorType0 | Unset):
|
|
196
|
-
filter_value (None | str | Unset):
|
|
173
|
+
filters (None | str | Unset):
|
|
197
174
|
limit (int | Unset): Default: 50.
|
|
198
175
|
offset (int | Unset): Default: 0.
|
|
199
176
|
project_id (str):
|
|
@@ -214,9 +191,7 @@ def sync_detailed(
|
|
|
214
191
|
receipt_status=receipt_status,
|
|
215
192
|
sort_by=sort_by,
|
|
216
193
|
sort_direction=sort_direction,
|
|
217
|
-
|
|
218
|
-
filter_operator=filter_operator,
|
|
219
|
-
filter_value=filter_value,
|
|
194
|
+
filters=filters,
|
|
220
195
|
limit=limit,
|
|
221
196
|
offset=offset,
|
|
222
197
|
project_id=project_id,
|
|
@@ -239,9 +214,7 @@ def sync(
|
|
|
239
214
|
receipt_status: None | ReceiptStatus | Unset = UNSET,
|
|
240
215
|
sort_by: None | str | Unset = UNSET,
|
|
241
216
|
sort_direction: None | PurchasingListPosSortDirectionType0 | Unset = UNSET,
|
|
242
|
-
|
|
243
|
-
filter_operator: None | PurchasingListPosFilterOperatorType0 | Unset = UNSET,
|
|
244
|
-
filter_value: None | str | Unset = UNSET,
|
|
217
|
+
filters: None | str | Unset = UNSET,
|
|
245
218
|
limit: int | Unset = 50,
|
|
246
219
|
offset: int | Unset = 0,
|
|
247
220
|
project_id: str,
|
|
@@ -256,9 +229,7 @@ def sync(
|
|
|
256
229
|
receipt_status (None | ReceiptStatus | Unset):
|
|
257
230
|
sort_by (None | str | Unset):
|
|
258
231
|
sort_direction (None | PurchasingListPosSortDirectionType0 | Unset):
|
|
259
|
-
|
|
260
|
-
filter_operator (None | PurchasingListPosFilterOperatorType0 | Unset):
|
|
261
|
-
filter_value (None | str | Unset):
|
|
232
|
+
filters (None | str | Unset):
|
|
262
233
|
limit (int | Unset): Default: 50.
|
|
263
234
|
offset (int | Unset): Default: 0.
|
|
264
235
|
project_id (str):
|
|
@@ -280,9 +251,7 @@ def sync(
|
|
|
280
251
|
receipt_status=receipt_status,
|
|
281
252
|
sort_by=sort_by,
|
|
282
253
|
sort_direction=sort_direction,
|
|
283
|
-
|
|
284
|
-
filter_operator=filter_operator,
|
|
285
|
-
filter_value=filter_value,
|
|
254
|
+
filters=filters,
|
|
286
255
|
limit=limit,
|
|
287
256
|
offset=offset,
|
|
288
257
|
project_id=project_id,
|
|
@@ -299,9 +268,7 @@ async def asyncio_detailed(
|
|
|
299
268
|
receipt_status: None | ReceiptStatus | Unset = UNSET,
|
|
300
269
|
sort_by: None | str | Unset = UNSET,
|
|
301
270
|
sort_direction: None | PurchasingListPosSortDirectionType0 | Unset = UNSET,
|
|
302
|
-
|
|
303
|
-
filter_operator: None | PurchasingListPosFilterOperatorType0 | Unset = UNSET,
|
|
304
|
-
filter_value: None | str | Unset = UNSET,
|
|
271
|
+
filters: None | str | Unset = UNSET,
|
|
305
272
|
limit: int | Unset = 50,
|
|
306
273
|
offset: int | Unset = 0,
|
|
307
274
|
project_id: str,
|
|
@@ -316,9 +283,7 @@ async def asyncio_detailed(
|
|
|
316
283
|
receipt_status (None | ReceiptStatus | Unset):
|
|
317
284
|
sort_by (None | str | Unset):
|
|
318
285
|
sort_direction (None | PurchasingListPosSortDirectionType0 | Unset):
|
|
319
|
-
|
|
320
|
-
filter_operator (None | PurchasingListPosFilterOperatorType0 | Unset):
|
|
321
|
-
filter_value (None | str | Unset):
|
|
286
|
+
filters (None | str | Unset):
|
|
322
287
|
limit (int | Unset): Default: 50.
|
|
323
288
|
offset (int | Unset): Default: 0.
|
|
324
289
|
project_id (str):
|
|
@@ -339,9 +304,7 @@ async def asyncio_detailed(
|
|
|
339
304
|
receipt_status=receipt_status,
|
|
340
305
|
sort_by=sort_by,
|
|
341
306
|
sort_direction=sort_direction,
|
|
342
|
-
|
|
343
|
-
filter_operator=filter_operator,
|
|
344
|
-
filter_value=filter_value,
|
|
307
|
+
filters=filters,
|
|
345
308
|
limit=limit,
|
|
346
309
|
offset=offset,
|
|
347
310
|
project_id=project_id,
|
|
@@ -362,9 +325,7 @@ async def asyncio(
|
|
|
362
325
|
receipt_status: None | ReceiptStatus | Unset = UNSET,
|
|
363
326
|
sort_by: None | str | Unset = UNSET,
|
|
364
327
|
sort_direction: None | PurchasingListPosSortDirectionType0 | Unset = UNSET,
|
|
365
|
-
|
|
366
|
-
filter_operator: None | PurchasingListPosFilterOperatorType0 | Unset = UNSET,
|
|
367
|
-
filter_value: None | str | Unset = UNSET,
|
|
328
|
+
filters: None | str | Unset = UNSET,
|
|
368
329
|
limit: int | Unset = 50,
|
|
369
330
|
offset: int | Unset = 0,
|
|
370
331
|
project_id: str,
|
|
@@ -379,9 +340,7 @@ async def asyncio(
|
|
|
379
340
|
receipt_status (None | ReceiptStatus | Unset):
|
|
380
341
|
sort_by (None | str | Unset):
|
|
381
342
|
sort_direction (None | PurchasingListPosSortDirectionType0 | Unset):
|
|
382
|
-
|
|
383
|
-
filter_operator (None | PurchasingListPosFilterOperatorType0 | Unset):
|
|
384
|
-
filter_value (None | str | Unset):
|
|
343
|
+
filters (None | str | Unset):
|
|
385
344
|
limit (int | Unset): Default: 50.
|
|
386
345
|
offset (int | Unset): Default: 0.
|
|
387
346
|
project_id (str):
|
|
@@ -404,9 +363,7 @@ async def asyncio(
|
|
|
404
363
|
receipt_status=receipt_status,
|
|
405
364
|
sort_by=sort_by,
|
|
406
365
|
sort_direction=sort_direction,
|
|
407
|
-
|
|
408
|
-
filter_operator=filter_operator,
|
|
409
|
-
filter_value=filter_value,
|
|
366
|
+
filters=filters,
|
|
410
367
|
limit=limit,
|
|
411
368
|
offset=offset,
|
|
412
369
|
project_id=project_id,
|
|
@@ -7,7 +7,6 @@ from ... import errors
|
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.http_validation_error import HTTPValidationError
|
|
9
9
|
from ...models.list_vendors_response import ListVendorsResponse
|
|
10
|
-
from ...models.purchasing_list_vendors_filter_operator_type_0 import PurchasingListVendorsFilterOperatorType0
|
|
11
10
|
from ...models.purchasing_list_vendors_sort_direction_type_0 import PurchasingListVendorsSortDirectionType0
|
|
12
11
|
from ...types import UNSET, Response, Unset
|
|
13
12
|
|
|
@@ -21,9 +20,7 @@ def _get_kwargs(
|
|
|
21
20
|
is_excluded: bool | None | Unset = UNSET,
|
|
22
21
|
sort_by: None | str | Unset = UNSET,
|
|
23
22
|
sort_direction: None | PurchasingListVendorsSortDirectionType0 | Unset = UNSET,
|
|
24
|
-
|
|
25
|
-
filter_operator: None | PurchasingListVendorsFilterOperatorType0 | Unset = UNSET,
|
|
26
|
-
filter_value: None | str | Unset = UNSET,
|
|
23
|
+
filters: None | str | Unset = UNSET,
|
|
27
24
|
limit: int | Unset = 50,
|
|
28
25
|
offset: int | Unset = 0,
|
|
29
26
|
project_id: str,
|
|
@@ -82,28 +79,12 @@ def _get_kwargs(
|
|
|
82
79
|
json_sort_direction = sort_direction
|
|
83
80
|
params["sort_direction"] = json_sort_direction
|
|
84
81
|
|
|
85
|
-
|
|
86
|
-
if isinstance(
|
|
87
|
-
|
|
82
|
+
json_filters: None | str | Unset
|
|
83
|
+
if isinstance(filters, Unset):
|
|
84
|
+
json_filters = UNSET
|
|
88
85
|
else:
|
|
89
|
-
|
|
90
|
-
params["
|
|
91
|
-
|
|
92
|
-
json_filter_operator: None | str | Unset
|
|
93
|
-
if isinstance(filter_operator, Unset):
|
|
94
|
-
json_filter_operator = UNSET
|
|
95
|
-
elif isinstance(filter_operator, PurchasingListVendorsFilterOperatorType0):
|
|
96
|
-
json_filter_operator = filter_operator.value
|
|
97
|
-
else:
|
|
98
|
-
json_filter_operator = filter_operator
|
|
99
|
-
params["filter_operator"] = json_filter_operator
|
|
100
|
-
|
|
101
|
-
json_filter_value: None | str | Unset
|
|
102
|
-
if isinstance(filter_value, Unset):
|
|
103
|
-
json_filter_value = UNSET
|
|
104
|
-
else:
|
|
105
|
-
json_filter_value = filter_value
|
|
106
|
-
params["filter_value"] = json_filter_value
|
|
86
|
+
json_filters = filters
|
|
87
|
+
params["filters"] = json_filters
|
|
107
88
|
|
|
108
89
|
params["limit"] = limit
|
|
109
90
|
|
|
@@ -162,9 +143,7 @@ def sync_detailed(
|
|
|
162
143
|
is_excluded: bool | None | Unset = UNSET,
|
|
163
144
|
sort_by: None | str | Unset = UNSET,
|
|
164
145
|
sort_direction: None | PurchasingListVendorsSortDirectionType0 | Unset = UNSET,
|
|
165
|
-
|
|
166
|
-
filter_operator: None | PurchasingListVendorsFilterOperatorType0 | Unset = UNSET,
|
|
167
|
-
filter_value: None | str | Unset = UNSET,
|
|
146
|
+
filters: None | str | Unset = UNSET,
|
|
168
147
|
limit: int | Unset = 50,
|
|
169
148
|
offset: int | Unset = 0,
|
|
170
149
|
project_id: str,
|
|
@@ -179,9 +158,7 @@ def sync_detailed(
|
|
|
179
158
|
is_excluded (bool | None | Unset):
|
|
180
159
|
sort_by (None | str | Unset):
|
|
181
160
|
sort_direction (None | PurchasingListVendorsSortDirectionType0 | Unset):
|
|
182
|
-
|
|
183
|
-
filter_operator (None | PurchasingListVendorsFilterOperatorType0 | Unset):
|
|
184
|
-
filter_value (None | str | Unset):
|
|
161
|
+
filters (None | str | Unset):
|
|
185
162
|
limit (int | Unset): Default: 50.
|
|
186
163
|
offset (int | Unset): Default: 0.
|
|
187
164
|
project_id (str):
|
|
@@ -202,9 +179,7 @@ def sync_detailed(
|
|
|
202
179
|
is_excluded=is_excluded,
|
|
203
180
|
sort_by=sort_by,
|
|
204
181
|
sort_direction=sort_direction,
|
|
205
|
-
|
|
206
|
-
filter_operator=filter_operator,
|
|
207
|
-
filter_value=filter_value,
|
|
182
|
+
filters=filters,
|
|
208
183
|
limit=limit,
|
|
209
184
|
offset=offset,
|
|
210
185
|
project_id=project_id,
|
|
@@ -227,9 +202,7 @@ def sync(
|
|
|
227
202
|
is_excluded: bool | None | Unset = UNSET,
|
|
228
203
|
sort_by: None | str | Unset = UNSET,
|
|
229
204
|
sort_direction: None | PurchasingListVendorsSortDirectionType0 | Unset = UNSET,
|
|
230
|
-
|
|
231
|
-
filter_operator: None | PurchasingListVendorsFilterOperatorType0 | Unset = UNSET,
|
|
232
|
-
filter_value: None | str | Unset = UNSET,
|
|
205
|
+
filters: None | str | Unset = UNSET,
|
|
233
206
|
limit: int | Unset = 50,
|
|
234
207
|
offset: int | Unset = 0,
|
|
235
208
|
project_id: str,
|
|
@@ -244,9 +217,7 @@ def sync(
|
|
|
244
217
|
is_excluded (bool | None | Unset):
|
|
245
218
|
sort_by (None | str | Unset):
|
|
246
219
|
sort_direction (None | PurchasingListVendorsSortDirectionType0 | Unset):
|
|
247
|
-
|
|
248
|
-
filter_operator (None | PurchasingListVendorsFilterOperatorType0 | Unset):
|
|
249
|
-
filter_value (None | str | Unset):
|
|
220
|
+
filters (None | str | Unset):
|
|
250
221
|
limit (int | Unset): Default: 50.
|
|
251
222
|
offset (int | Unset): Default: 0.
|
|
252
223
|
project_id (str):
|
|
@@ -268,9 +239,7 @@ def sync(
|
|
|
268
239
|
is_excluded=is_excluded,
|
|
269
240
|
sort_by=sort_by,
|
|
270
241
|
sort_direction=sort_direction,
|
|
271
|
-
|
|
272
|
-
filter_operator=filter_operator,
|
|
273
|
-
filter_value=filter_value,
|
|
242
|
+
filters=filters,
|
|
274
243
|
limit=limit,
|
|
275
244
|
offset=offset,
|
|
276
245
|
project_id=project_id,
|
|
@@ -287,9 +256,7 @@ async def asyncio_detailed(
|
|
|
287
256
|
is_excluded: bool | None | Unset = UNSET,
|
|
288
257
|
sort_by: None | str | Unset = UNSET,
|
|
289
258
|
sort_direction: None | PurchasingListVendorsSortDirectionType0 | Unset = UNSET,
|
|
290
|
-
|
|
291
|
-
filter_operator: None | PurchasingListVendorsFilterOperatorType0 | Unset = UNSET,
|
|
292
|
-
filter_value: None | str | Unset = UNSET,
|
|
259
|
+
filters: None | str | Unset = UNSET,
|
|
293
260
|
limit: int | Unset = 50,
|
|
294
261
|
offset: int | Unset = 0,
|
|
295
262
|
project_id: str,
|
|
@@ -304,9 +271,7 @@ async def asyncio_detailed(
|
|
|
304
271
|
is_excluded (bool | None | Unset):
|
|
305
272
|
sort_by (None | str | Unset):
|
|
306
273
|
sort_direction (None | PurchasingListVendorsSortDirectionType0 | Unset):
|
|
307
|
-
|
|
308
|
-
filter_operator (None | PurchasingListVendorsFilterOperatorType0 | Unset):
|
|
309
|
-
filter_value (None | str | Unset):
|
|
274
|
+
filters (None | str | Unset):
|
|
310
275
|
limit (int | Unset): Default: 50.
|
|
311
276
|
offset (int | Unset): Default: 0.
|
|
312
277
|
project_id (str):
|
|
@@ -327,9 +292,7 @@ async def asyncio_detailed(
|
|
|
327
292
|
is_excluded=is_excluded,
|
|
328
293
|
sort_by=sort_by,
|
|
329
294
|
sort_direction=sort_direction,
|
|
330
|
-
|
|
331
|
-
filter_operator=filter_operator,
|
|
332
|
-
filter_value=filter_value,
|
|
295
|
+
filters=filters,
|
|
333
296
|
limit=limit,
|
|
334
297
|
offset=offset,
|
|
335
298
|
project_id=project_id,
|
|
@@ -350,9 +313,7 @@ async def asyncio(
|
|
|
350
313
|
is_excluded: bool | None | Unset = UNSET,
|
|
351
314
|
sort_by: None | str | Unset = UNSET,
|
|
352
315
|
sort_direction: None | PurchasingListVendorsSortDirectionType0 | Unset = UNSET,
|
|
353
|
-
|
|
354
|
-
filter_operator: None | PurchasingListVendorsFilterOperatorType0 | Unset = UNSET,
|
|
355
|
-
filter_value: None | str | Unset = UNSET,
|
|
316
|
+
filters: None | str | Unset = UNSET,
|
|
356
317
|
limit: int | Unset = 50,
|
|
357
318
|
offset: int | Unset = 0,
|
|
358
319
|
project_id: str,
|
|
@@ -367,9 +328,7 @@ async def asyncio(
|
|
|
367
328
|
is_excluded (bool | None | Unset):
|
|
368
329
|
sort_by (None | str | Unset):
|
|
369
330
|
sort_direction (None | PurchasingListVendorsSortDirectionType0 | Unset):
|
|
370
|
-
|
|
371
|
-
filter_operator (None | PurchasingListVendorsFilterOperatorType0 | Unset):
|
|
372
|
-
filter_value (None | str | Unset):
|
|
331
|
+
filters (None | str | Unset):
|
|
373
332
|
limit (int | Unset): Default: 50.
|
|
374
333
|
offset (int | Unset): Default: 0.
|
|
375
334
|
project_id (str):
|
|
@@ -392,9 +351,7 @@ async def asyncio(
|
|
|
392
351
|
is_excluded=is_excluded,
|
|
393
352
|
sort_by=sort_by,
|
|
394
353
|
sort_direction=sort_direction,
|
|
395
|
-
|
|
396
|
-
filter_operator=filter_operator,
|
|
397
|
-
filter_value=filter_value,
|
|
354
|
+
filters=filters,
|
|
398
355
|
limit=limit,
|
|
399
356
|
offset=offset,
|
|
400
357
|
project_id=project_id,
|