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
|
@@ -9,7 +9,6 @@ from ...client import AuthenticatedClient, Client
|
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.list_sales_invoices_response import ListSalesInvoicesResponse
|
|
11
11
|
from ...models.sales_invoice_status import SalesInvoiceStatus
|
|
12
|
-
from ...models.sales_list_invoices_filter_operator_type_0 import SalesListInvoicesFilterOperatorType0
|
|
13
12
|
from ...models.sales_list_invoices_sort_direction_type_0 import SalesListInvoicesSortDirectionType0
|
|
14
13
|
from ...types import UNSET, Response, Unset
|
|
15
14
|
|
|
@@ -23,9 +22,7 @@ def _get_kwargs(
|
|
|
23
22
|
issue_date_to: datetime.datetime | None | Unset = UNSET,
|
|
24
23
|
sort_by: None | str | Unset = UNSET,
|
|
25
24
|
sort_direction: None | SalesListInvoicesSortDirectionType0 | Unset = UNSET,
|
|
26
|
-
|
|
27
|
-
filter_operator: None | SalesListInvoicesFilterOperatorType0 | Unset = UNSET,
|
|
28
|
-
filter_value: None | str | Unset = UNSET,
|
|
25
|
+
filters: None | str | Unset = UNSET,
|
|
29
26
|
limit: int | Unset = 50,
|
|
30
27
|
offset: int | Unset = 0,
|
|
31
28
|
project_id: str,
|
|
@@ -90,28 +87,12 @@ def _get_kwargs(
|
|
|
90
87
|
json_sort_direction = sort_direction
|
|
91
88
|
params["sort_direction"] = json_sort_direction
|
|
92
89
|
|
|
93
|
-
|
|
94
|
-
if isinstance(
|
|
95
|
-
|
|
90
|
+
json_filters: None | str | Unset
|
|
91
|
+
if isinstance(filters, Unset):
|
|
92
|
+
json_filters = UNSET
|
|
96
93
|
else:
|
|
97
|
-
|
|
98
|
-
params["
|
|
99
|
-
|
|
100
|
-
json_filter_operator: None | str | Unset
|
|
101
|
-
if isinstance(filter_operator, Unset):
|
|
102
|
-
json_filter_operator = UNSET
|
|
103
|
-
elif isinstance(filter_operator, SalesListInvoicesFilterOperatorType0):
|
|
104
|
-
json_filter_operator = filter_operator.value
|
|
105
|
-
else:
|
|
106
|
-
json_filter_operator = filter_operator
|
|
107
|
-
params["filter_operator"] = json_filter_operator
|
|
108
|
-
|
|
109
|
-
json_filter_value: None | str | Unset
|
|
110
|
-
if isinstance(filter_value, Unset):
|
|
111
|
-
json_filter_value = UNSET
|
|
112
|
-
else:
|
|
113
|
-
json_filter_value = filter_value
|
|
114
|
-
params["filter_value"] = json_filter_value
|
|
94
|
+
json_filters = filters
|
|
95
|
+
params["filters"] = json_filters
|
|
115
96
|
|
|
116
97
|
params["limit"] = limit
|
|
117
98
|
|
|
@@ -170,9 +151,7 @@ def sync_detailed(
|
|
|
170
151
|
issue_date_to: datetime.datetime | None | Unset = UNSET,
|
|
171
152
|
sort_by: None | str | Unset = UNSET,
|
|
172
153
|
sort_direction: None | SalesListInvoicesSortDirectionType0 | Unset = UNSET,
|
|
173
|
-
|
|
174
|
-
filter_operator: None | SalesListInvoicesFilterOperatorType0 | Unset = UNSET,
|
|
175
|
-
filter_value: None | str | Unset = UNSET,
|
|
154
|
+
filters: None | str | Unset = UNSET,
|
|
176
155
|
limit: int | Unset = 50,
|
|
177
156
|
offset: int | Unset = 0,
|
|
178
157
|
project_id: str,
|
|
@@ -187,9 +166,7 @@ def sync_detailed(
|
|
|
187
166
|
issue_date_to (datetime.datetime | None | Unset):
|
|
188
167
|
sort_by (None | str | Unset):
|
|
189
168
|
sort_direction (None | SalesListInvoicesSortDirectionType0 | Unset):
|
|
190
|
-
|
|
191
|
-
filter_operator (None | SalesListInvoicesFilterOperatorType0 | Unset):
|
|
192
|
-
filter_value (None | str | Unset):
|
|
169
|
+
filters (None | str | Unset):
|
|
193
170
|
limit (int | Unset): Default: 50.
|
|
194
171
|
offset (int | Unset): Default: 0.
|
|
195
172
|
project_id (str):
|
|
@@ -210,9 +187,7 @@ def sync_detailed(
|
|
|
210
187
|
issue_date_to=issue_date_to,
|
|
211
188
|
sort_by=sort_by,
|
|
212
189
|
sort_direction=sort_direction,
|
|
213
|
-
|
|
214
|
-
filter_operator=filter_operator,
|
|
215
|
-
filter_value=filter_value,
|
|
190
|
+
filters=filters,
|
|
216
191
|
limit=limit,
|
|
217
192
|
offset=offset,
|
|
218
193
|
project_id=project_id,
|
|
@@ -235,9 +210,7 @@ def sync(
|
|
|
235
210
|
issue_date_to: datetime.datetime | None | Unset = UNSET,
|
|
236
211
|
sort_by: None | str | Unset = UNSET,
|
|
237
212
|
sort_direction: None | SalesListInvoicesSortDirectionType0 | Unset = UNSET,
|
|
238
|
-
|
|
239
|
-
filter_operator: None | SalesListInvoicesFilterOperatorType0 | Unset = UNSET,
|
|
240
|
-
filter_value: None | str | Unset = UNSET,
|
|
213
|
+
filters: None | str | Unset = UNSET,
|
|
241
214
|
limit: int | Unset = 50,
|
|
242
215
|
offset: int | Unset = 0,
|
|
243
216
|
project_id: str,
|
|
@@ -252,9 +225,7 @@ def sync(
|
|
|
252
225
|
issue_date_to (datetime.datetime | None | Unset):
|
|
253
226
|
sort_by (None | str | Unset):
|
|
254
227
|
sort_direction (None | SalesListInvoicesSortDirectionType0 | Unset):
|
|
255
|
-
|
|
256
|
-
filter_operator (None | SalesListInvoicesFilterOperatorType0 | Unset):
|
|
257
|
-
filter_value (None | str | Unset):
|
|
228
|
+
filters (None | str | Unset):
|
|
258
229
|
limit (int | Unset): Default: 50.
|
|
259
230
|
offset (int | Unset): Default: 0.
|
|
260
231
|
project_id (str):
|
|
@@ -276,9 +247,7 @@ def sync(
|
|
|
276
247
|
issue_date_to=issue_date_to,
|
|
277
248
|
sort_by=sort_by,
|
|
278
249
|
sort_direction=sort_direction,
|
|
279
|
-
|
|
280
|
-
filter_operator=filter_operator,
|
|
281
|
-
filter_value=filter_value,
|
|
250
|
+
filters=filters,
|
|
282
251
|
limit=limit,
|
|
283
252
|
offset=offset,
|
|
284
253
|
project_id=project_id,
|
|
@@ -295,9 +264,7 @@ async def asyncio_detailed(
|
|
|
295
264
|
issue_date_to: datetime.datetime | None | Unset = UNSET,
|
|
296
265
|
sort_by: None | str | Unset = UNSET,
|
|
297
266
|
sort_direction: None | SalesListInvoicesSortDirectionType0 | Unset = UNSET,
|
|
298
|
-
|
|
299
|
-
filter_operator: None | SalesListInvoicesFilterOperatorType0 | Unset = UNSET,
|
|
300
|
-
filter_value: None | str | Unset = UNSET,
|
|
267
|
+
filters: None | str | Unset = UNSET,
|
|
301
268
|
limit: int | Unset = 50,
|
|
302
269
|
offset: int | Unset = 0,
|
|
303
270
|
project_id: str,
|
|
@@ -312,9 +279,7 @@ async def asyncio_detailed(
|
|
|
312
279
|
issue_date_to (datetime.datetime | None | Unset):
|
|
313
280
|
sort_by (None | str | Unset):
|
|
314
281
|
sort_direction (None | SalesListInvoicesSortDirectionType0 | Unset):
|
|
315
|
-
|
|
316
|
-
filter_operator (None | SalesListInvoicesFilterOperatorType0 | Unset):
|
|
317
|
-
filter_value (None | str | Unset):
|
|
282
|
+
filters (None | str | Unset):
|
|
318
283
|
limit (int | Unset): Default: 50.
|
|
319
284
|
offset (int | Unset): Default: 0.
|
|
320
285
|
project_id (str):
|
|
@@ -335,9 +300,7 @@ async def asyncio_detailed(
|
|
|
335
300
|
issue_date_to=issue_date_to,
|
|
336
301
|
sort_by=sort_by,
|
|
337
302
|
sort_direction=sort_direction,
|
|
338
|
-
|
|
339
|
-
filter_operator=filter_operator,
|
|
340
|
-
filter_value=filter_value,
|
|
303
|
+
filters=filters,
|
|
341
304
|
limit=limit,
|
|
342
305
|
offset=offset,
|
|
343
306
|
project_id=project_id,
|
|
@@ -358,9 +321,7 @@ async def asyncio(
|
|
|
358
321
|
issue_date_to: datetime.datetime | None | Unset = UNSET,
|
|
359
322
|
sort_by: None | str | Unset = UNSET,
|
|
360
323
|
sort_direction: None | SalesListInvoicesSortDirectionType0 | Unset = UNSET,
|
|
361
|
-
|
|
362
|
-
filter_operator: None | SalesListInvoicesFilterOperatorType0 | Unset = UNSET,
|
|
363
|
-
filter_value: None | str | Unset = UNSET,
|
|
324
|
+
filters: None | str | Unset = UNSET,
|
|
364
325
|
limit: int | Unset = 50,
|
|
365
326
|
offset: int | Unset = 0,
|
|
366
327
|
project_id: str,
|
|
@@ -375,9 +336,7 @@ async def asyncio(
|
|
|
375
336
|
issue_date_to (datetime.datetime | None | Unset):
|
|
376
337
|
sort_by (None | str | Unset):
|
|
377
338
|
sort_direction (None | SalesListInvoicesSortDirectionType0 | Unset):
|
|
378
|
-
|
|
379
|
-
filter_operator (None | SalesListInvoicesFilterOperatorType0 | Unset):
|
|
380
|
-
filter_value (None | str | Unset):
|
|
339
|
+
filters (None | str | Unset):
|
|
381
340
|
limit (int | Unset): Default: 50.
|
|
382
341
|
offset (int | Unset): Default: 0.
|
|
383
342
|
project_id (str):
|
|
@@ -400,9 +359,7 @@ async def asyncio(
|
|
|
400
359
|
issue_date_to=issue_date_to,
|
|
401
360
|
sort_by=sort_by,
|
|
402
361
|
sort_direction=sort_direction,
|
|
403
|
-
|
|
404
|
-
filter_operator=filter_operator,
|
|
405
|
-
filter_value=filter_value,
|
|
362
|
+
filters=filters,
|
|
406
363
|
limit=limit,
|
|
407
364
|
offset=offset,
|
|
408
365
|
project_id=project_id,
|
|
@@ -8,7 +8,6 @@ from ...client import AuthenticatedClient, Client
|
|
|
8
8
|
from ...models.canonical_status import CanonicalStatus
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.list_sales_orders_response import ListSalesOrdersResponse
|
|
11
|
-
from ...models.sales_list_orders_filter_operator_type_0 import SalesListOrdersFilterOperatorType0
|
|
12
11
|
from ...models.sales_list_orders_sort_direction_type_0 import SalesListOrdersSortDirectionType0
|
|
13
12
|
from ...types import UNSET, Response, Unset
|
|
14
13
|
|
|
@@ -21,9 +20,7 @@ def _get_kwargs(
|
|
|
21
20
|
channel_id: None | str | Unset = UNSET,
|
|
22
21
|
sort_by: None | str | Unset = UNSET,
|
|
23
22
|
sort_direction: None | SalesListOrdersSortDirectionType0 | Unset = UNSET,
|
|
24
|
-
|
|
25
|
-
filter_operator: None | SalesListOrdersFilterOperatorType0 | 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, SalesListOrdersFilterOperatorType0):
|
|
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
|
channel_id: None | str | Unset = UNSET,
|
|
157
138
|
sort_by: None | str | Unset = UNSET,
|
|
158
139
|
sort_direction: None | SalesListOrdersSortDirectionType0 | Unset = UNSET,
|
|
159
|
-
|
|
160
|
-
filter_operator: None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id (None | str | Unset):
|
|
173
152
|
sort_by (None | str | Unset):
|
|
174
153
|
sort_direction (None | SalesListOrdersSortDirectionType0 | Unset):
|
|
175
|
-
|
|
176
|
-
filter_operator (None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id=channel_id,
|
|
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
|
channel_id: None | str | Unset = UNSET,
|
|
219
194
|
sort_by: None | str | Unset = UNSET,
|
|
220
195
|
sort_direction: None | SalesListOrdersSortDirectionType0 | Unset = UNSET,
|
|
221
|
-
|
|
222
|
-
filter_operator: None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id (None | str | Unset):
|
|
235
208
|
sort_by (None | str | Unset):
|
|
236
209
|
sort_direction (None | SalesListOrdersSortDirectionType0 | Unset):
|
|
237
|
-
|
|
238
|
-
filter_operator (None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id=channel_id,
|
|
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
|
channel_id: None | str | Unset = UNSET,
|
|
276
245
|
sort_by: None | str | Unset = UNSET,
|
|
277
246
|
sort_direction: None | SalesListOrdersSortDirectionType0 | Unset = UNSET,
|
|
278
|
-
|
|
279
|
-
filter_operator: None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id (None | str | Unset):
|
|
292
259
|
sort_by (None | str | Unset):
|
|
293
260
|
sort_direction (None | SalesListOrdersSortDirectionType0 | Unset):
|
|
294
|
-
|
|
295
|
-
filter_operator (None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id=channel_id,
|
|
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
|
channel_id: None | str | Unset = UNSET,
|
|
336
299
|
sort_by: None | str | Unset = UNSET,
|
|
337
300
|
sort_direction: None | SalesListOrdersSortDirectionType0 | Unset = UNSET,
|
|
338
|
-
|
|
339
|
-
filter_operator: None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id (None | str | Unset):
|
|
352
313
|
sort_by (None | str | Unset):
|
|
353
314
|
sort_direction (None | SalesListOrdersSortDirectionType0 | Unset):
|
|
354
|
-
|
|
355
|
-
filter_operator (None | SalesListOrdersFilterOperatorType0 | 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
|
channel_id=channel_id,
|
|
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,
|
|
@@ -474,6 +474,7 @@ from .erp_configured_column_color_rule_config import ErpConfiguredColumnColorRul
|
|
|
474
474
|
from .erp_configured_column_color_rule_config_metadata import ErpConfiguredColumnColorRuleConfigMetadata
|
|
475
475
|
from .erp_configured_column_color_rule_config_operator import ErpConfiguredColumnColorRuleConfigOperator
|
|
476
476
|
from .erp_configured_column_config import ErpConfiguredColumnConfig
|
|
477
|
+
from .erp_configured_column_config_data_type_type_0 import ErpConfiguredColumnConfigDataTypeType0
|
|
477
478
|
from .erp_configured_column_config_metadata import ErpConfiguredColumnConfigMetadata
|
|
478
479
|
from .erp_configured_column_config_sourcetype import ErpConfiguredColumnConfigSourcetype
|
|
479
480
|
from .erp_configured_column_format_config import ErpConfiguredColumnFormatConfig
|
|
@@ -490,6 +491,7 @@ from .erp_module_gate_response_config_type_0 import ERPModuleGateResponseConfigT
|
|
|
490
491
|
from .erp_module_gate_response_ext_data_type_0 import ERPModuleGateResponseExtDataType0
|
|
491
492
|
from .erp_module_key import ERPModuleKey
|
|
492
493
|
from .erp_project_config import ErpProjectConfig
|
|
494
|
+
from .erp_project_config_tablecolumns import ErpProjectConfigTablecolumns
|
|
493
495
|
from .erp_project_settings import ERPProjectSettings
|
|
494
496
|
from .erp_project_settings_response import ERPProjectSettingsResponse
|
|
495
497
|
from .erp_project_settings_response_ext_data_type_0 import ERPProjectSettingsResponseExtDataType0
|
|
@@ -510,6 +512,10 @@ from .erp_status_mapping_response_ext_data_type_0 import ERPStatusMappingRespons
|
|
|
510
512
|
from .erp_surface_actions_config import ErpSurfaceActionsConfig
|
|
511
513
|
from .erp_surface_config import ErpSurfaceConfig
|
|
512
514
|
from .erp_surface_settings import ErpSurfaceSettings
|
|
515
|
+
from .erp_user_table_preference import ERPUserTablePreference
|
|
516
|
+
from .erp_user_table_preference_response import ERPUserTablePreferenceResponse
|
|
517
|
+
from .erp_user_table_preference_response_columnlabels import ERPUserTablePreferenceResponseColumnlabels
|
|
518
|
+
from .erp_user_table_preference_response_columnwidths import ERPUserTablePreferenceResponseColumnwidths
|
|
513
519
|
from .erp_variant_grid_attribute_sort_config import ErpVariantGridAttributeSortConfig
|
|
514
520
|
from .erp_variant_grid_attribute_sort_config_direction import ErpVariantGridAttributeSortConfigDirection
|
|
515
521
|
from .erp_variant_grid_attribute_sort_config_source import ErpVariantGridAttributeSortConfigSource
|
|
@@ -573,6 +579,8 @@ from .import_job_status import ImportJobStatus
|
|
|
573
579
|
from .import_preview_row import ImportPreviewRow
|
|
574
580
|
from .import_preview_row_cells import ImportPreviewRowCells
|
|
575
581
|
from .import_row_error import ImportRowError
|
|
582
|
+
from .import_task_payload import ImportTaskPayload
|
|
583
|
+
from .import_task_payload_type import ImportTaskPayloadType
|
|
576
584
|
from .import_warning import ImportWarning_
|
|
577
585
|
from .infor_connection import InforConnection
|
|
578
586
|
from .infor_connection_response import InforConnectionResponse
|
|
@@ -593,7 +601,6 @@ from .inventory_item_response import InventoryItemResponse
|
|
|
593
601
|
from .inventory_item_response_ext_data_type_0 import InventoryItemResponseExtDataType0
|
|
594
602
|
from .inventory_item_type import InventoryItemType
|
|
595
603
|
from .inventory_kpi_snapshot import InventoryKpiSnapshot
|
|
596
|
-
from .inventory_list_templates_filter_operator_type_0 import InventoryListTemplatesFilterOperatorType0
|
|
597
604
|
from .inventory_list_templates_sort_direction_type_0 import InventoryListTemplatesSortDirectionType0
|
|
598
605
|
from .inventory_replenishment_policy import InventoryReplenishmentPolicy
|
|
599
606
|
from .issue import Issue
|
|
@@ -685,11 +692,11 @@ from .list_classifications_response import ListClassificationsResponse
|
|
|
685
692
|
from .list_cost_lists_response import ListCostListsResponse
|
|
686
693
|
from .list_cost_rules_response import ListCostRulesResponse
|
|
687
694
|
from .list_customers_response import ListCustomersResponse
|
|
695
|
+
from .list_erp_user_table_preferences_response import ListERPUserTablePreferencesResponse
|
|
688
696
|
from .list_goods_receipts_response import ListGoodsReceiptsResponse
|
|
689
697
|
from .list_import_jobs_response import ListImportJobsResponse
|
|
690
698
|
from .list_inventory_item_categories_response import ListInventoryItemCategoriesResponse
|
|
691
699
|
from .list_inventory_items_request import ListInventoryItemsRequest
|
|
692
|
-
from .list_inventory_items_request_filter_operator_type_0 import ListInventoryItemsRequestFilterOperatorType0
|
|
693
700
|
from .list_inventory_items_request_sort_direction_type_0 import ListInventoryItemsRequestSortDirectionType0
|
|
694
701
|
from .list_inventory_items_response import ListInventoryItemsResponse
|
|
695
702
|
from .list_item_attribute_values_response import ListItemAttributeValuesResponse
|
|
@@ -853,10 +860,8 @@ from .purchase_order_writeback_response_provider_response_type_0 import (
|
|
|
853
860
|
from .purchase_order_writeback_validation_issue import PurchaseOrderWritebackValidationIssue
|
|
854
861
|
from .purchase_return import PurchaseReturn
|
|
855
862
|
from .purchase_return_line import PurchaseReturnLine
|
|
856
|
-
from .purchasing_list_pos_filter_operator_type_0 import PurchasingListPosFilterOperatorType0
|
|
857
863
|
from .purchasing_list_pos_sort_direction_type_0 import PurchasingListPosSortDirectionType0
|
|
858
864
|
from .purchasing_list_pos_status_group_type_0 import PurchasingListPosStatusGroupType0
|
|
859
|
-
from .purchasing_list_vendors_filter_operator_type_0 import PurchasingListVendorsFilterOperatorType0
|
|
860
865
|
from .purchasing_list_vendors_sort_direction_type_0 import PurchasingListVendorsSortDirectionType0
|
|
861
866
|
from .quick_books_connection import QuickBooksConnection
|
|
862
867
|
from .quick_books_connection_environment import QuickBooksConnectionEnvironment
|
|
@@ -945,9 +950,7 @@ from .sales_invoice_source import SalesInvoiceSource
|
|
|
945
950
|
from .sales_invoice_status import SalesInvoiceStatus
|
|
946
951
|
from .sales_invoicing_queue_item_response import SalesInvoicingQueueItemResponse
|
|
947
952
|
from .sales_invoicing_queue_line_response import SalesInvoicingQueueLineResponse
|
|
948
|
-
from .sales_list_invoices_filter_operator_type_0 import SalesListInvoicesFilterOperatorType0
|
|
949
953
|
from .sales_list_invoices_sort_direction_type_0 import SalesListInvoicesSortDirectionType0
|
|
950
|
-
from .sales_list_orders_filter_operator_type_0 import SalesListOrdersFilterOperatorType0
|
|
951
954
|
from .sales_list_orders_sort_direction_type_0 import SalesListOrdersSortDirectionType0
|
|
952
955
|
from .sales_order import SalesOrder
|
|
953
956
|
from .sales_order_allocation import SalesOrderAllocation
|
|
@@ -1093,6 +1096,9 @@ from .update_databricks_connection_request import UpdateDatabricksConnectionRequ
|
|
|
1093
1096
|
from .update_dataset_request import UpdateDatasetRequest
|
|
1094
1097
|
from .update_erp_project_settings_request import UpdateERPProjectSettingsRequest
|
|
1095
1098
|
from .update_erp_project_settings_request_ext_data_type_0 import UpdateERPProjectSettingsRequestExtDataType0
|
|
1099
|
+
from .update_erp_user_table_preference_request import UpdateERPUserTablePreferenceRequest
|
|
1100
|
+
from .update_erp_user_table_preference_request_columnlabels import UpdateERPUserTablePreferenceRequestColumnlabels
|
|
1101
|
+
from .update_erp_user_table_preference_request_columnwidths import UpdateERPUserTablePreferenceRequestColumnwidths
|
|
1096
1102
|
from .update_file_connection_request import UpdateFileConnectionRequest
|
|
1097
1103
|
from .update_infor_connection_request import UpdateInforConnectionRequest
|
|
1098
1104
|
from .update_inventory_item_category_assignments_request import UpdateInventoryItemCategoryAssignmentsRequest
|
|
@@ -1684,6 +1690,7 @@ __all__ = (
|
|
|
1684
1690
|
"ErpConfiguredColumnColorRuleConfigMetadata",
|
|
1685
1691
|
"ErpConfiguredColumnColorRuleConfigOperator",
|
|
1686
1692
|
"ErpConfiguredColumnConfig",
|
|
1693
|
+
"ErpConfiguredColumnConfigDataTypeType0",
|
|
1687
1694
|
"ErpConfiguredColumnConfigMetadata",
|
|
1688
1695
|
"ErpConfiguredColumnConfigSourcetype",
|
|
1689
1696
|
"ErpConfiguredColumnFormatConfig",
|
|
@@ -1700,6 +1707,7 @@ __all__ = (
|
|
|
1700
1707
|
"ERPModuleGateResponseExtDataType0",
|
|
1701
1708
|
"ERPModuleKey",
|
|
1702
1709
|
"ErpProjectConfig",
|
|
1710
|
+
"ErpProjectConfigTablecolumns",
|
|
1703
1711
|
"ERPProjectSettings",
|
|
1704
1712
|
"ERPProjectSettingsResponse",
|
|
1705
1713
|
"ERPProjectSettingsResponseExtDataType0",
|
|
@@ -1720,6 +1728,10 @@ __all__ = (
|
|
|
1720
1728
|
"ErpSurfaceActionsConfig",
|
|
1721
1729
|
"ErpSurfaceConfig",
|
|
1722
1730
|
"ErpSurfaceSettings",
|
|
1731
|
+
"ERPUserTablePreference",
|
|
1732
|
+
"ERPUserTablePreferenceResponse",
|
|
1733
|
+
"ERPUserTablePreferenceResponseColumnlabels",
|
|
1734
|
+
"ERPUserTablePreferenceResponseColumnwidths",
|
|
1723
1735
|
"ErpVariantGridAttributeSortConfig",
|
|
1724
1736
|
"ErpVariantGridAttributeSortConfigDirection",
|
|
1725
1737
|
"ErpVariantGridAttributeSortConfigSource",
|
|
@@ -1777,6 +1789,8 @@ __all__ = (
|
|
|
1777
1789
|
"ImportPreviewRow",
|
|
1778
1790
|
"ImportPreviewRowCells",
|
|
1779
1791
|
"ImportRowError",
|
|
1792
|
+
"ImportTaskPayload",
|
|
1793
|
+
"ImportTaskPayloadType",
|
|
1780
1794
|
"ImportWarning_",
|
|
1781
1795
|
"InforConnection",
|
|
1782
1796
|
"InforConnectionResponse",
|
|
@@ -1797,7 +1811,6 @@ __all__ = (
|
|
|
1797
1811
|
"InventoryItemResponseExtDataType0",
|
|
1798
1812
|
"InventoryItemType",
|
|
1799
1813
|
"InventoryKpiSnapshot",
|
|
1800
|
-
"InventoryListTemplatesFilterOperatorType0",
|
|
1801
1814
|
"InventoryListTemplatesSortDirectionType0",
|
|
1802
1815
|
"InventoryReplenishmentPolicy",
|
|
1803
1816
|
"Issue",
|
|
@@ -1889,11 +1902,11 @@ __all__ = (
|
|
|
1889
1902
|
"ListCostListsResponse",
|
|
1890
1903
|
"ListCostRulesResponse",
|
|
1891
1904
|
"ListCustomersResponse",
|
|
1905
|
+
"ListERPUserTablePreferencesResponse",
|
|
1892
1906
|
"ListGoodsReceiptsResponse",
|
|
1893
1907
|
"ListImportJobsResponse",
|
|
1894
1908
|
"ListInventoryItemCategoriesResponse",
|
|
1895
1909
|
"ListInventoryItemsRequest",
|
|
1896
|
-
"ListInventoryItemsRequestFilterOperatorType0",
|
|
1897
1910
|
"ListInventoryItemsRequestSortDirectionType0",
|
|
1898
1911
|
"ListInventoryItemsResponse",
|
|
1899
1912
|
"ListItemAttributesResponse",
|
|
@@ -2055,10 +2068,8 @@ __all__ = (
|
|
|
2055
2068
|
"PurchaseOrderWritebackValidationIssue",
|
|
2056
2069
|
"PurchaseReturn",
|
|
2057
2070
|
"PurchaseReturnLine",
|
|
2058
|
-
"PurchasingListPosFilterOperatorType0",
|
|
2059
2071
|
"PurchasingListPosSortDirectionType0",
|
|
2060
2072
|
"PurchasingListPosStatusGroupType0",
|
|
2061
|
-
"PurchasingListVendorsFilterOperatorType0",
|
|
2062
2073
|
"PurchasingListVendorsSortDirectionType0",
|
|
2063
2074
|
"QuickBooksConnection",
|
|
2064
2075
|
"QuickBooksConnectionEnvironment",
|
|
@@ -2145,9 +2156,7 @@ __all__ = (
|
|
|
2145
2156
|
"SalesInvoiceStatus",
|
|
2146
2157
|
"SalesInvoicingQueueItemResponse",
|
|
2147
2158
|
"SalesInvoicingQueueLineResponse",
|
|
2148
|
-
"SalesListInvoicesFilterOperatorType0",
|
|
2149
2159
|
"SalesListInvoicesSortDirectionType0",
|
|
2150
|
-
"SalesListOrdersFilterOperatorType0",
|
|
2151
2160
|
"SalesListOrdersSortDirectionType0",
|
|
2152
2161
|
"SalesOrder",
|
|
2153
2162
|
"SalesOrderAllocation",
|
|
@@ -2285,6 +2294,9 @@ __all__ = (
|
|
|
2285
2294
|
"UpdateDatasetRequest",
|
|
2286
2295
|
"UpdateERPProjectSettingsRequest",
|
|
2287
2296
|
"UpdateERPProjectSettingsRequestExtDataType0",
|
|
2297
|
+
"UpdateERPUserTablePreferenceRequest",
|
|
2298
|
+
"UpdateERPUserTablePreferenceRequestColumnlabels",
|
|
2299
|
+
"UpdateERPUserTablePreferenceRequestColumnwidths",
|
|
2288
2300
|
"UpdateFileConnectionRequest",
|
|
2289
2301
|
"UpdateInforConnectionRequest",
|
|
2290
2302
|
"UpdateInventoryItemCategoryAssignmentsRequest",
|
|
@@ -5,6 +5,7 @@ from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
|
5
5
|
|
|
6
6
|
from attrs import define as _attrs_define
|
|
7
7
|
|
|
8
|
+
from ..models.erp_configured_column_config_data_type_type_0 import ErpConfiguredColumnConfigDataTypeType0
|
|
8
9
|
from ..models.erp_configured_column_config_sourcetype import ErpConfiguredColumnConfigSourcetype
|
|
9
10
|
from ..types import UNSET, Unset
|
|
10
11
|
|
|
@@ -26,6 +27,7 @@ class ErpConfiguredColumnConfig:
|
|
|
26
27
|
label (str):
|
|
27
28
|
canonical_field (None | str | Unset):
|
|
28
29
|
ext_data_path (None | str | Unset):
|
|
30
|
+
data_type (ErpConfiguredColumnConfigDataTypeType0 | None | Unset):
|
|
29
31
|
visible (bool | Unset): Default: True.
|
|
30
32
|
order (int | Unset): Default: 0.
|
|
31
33
|
width (int | None | Unset):
|
|
@@ -41,6 +43,7 @@ class ErpConfiguredColumnConfig:
|
|
|
41
43
|
label: str
|
|
42
44
|
canonical_field: None | str | Unset = UNSET
|
|
43
45
|
ext_data_path: None | str | Unset = UNSET
|
|
46
|
+
data_type: ErpConfiguredColumnConfigDataTypeType0 | None | Unset = UNSET
|
|
44
47
|
visible: bool | Unset = True
|
|
45
48
|
order: int | Unset = 0
|
|
46
49
|
width: int | None | Unset = UNSET
|
|
@@ -69,6 +72,14 @@ class ErpConfiguredColumnConfig:
|
|
|
69
72
|
else:
|
|
70
73
|
ext_data_path = self.ext_data_path
|
|
71
74
|
|
|
75
|
+
data_type: None | str | Unset
|
|
76
|
+
if isinstance(self.data_type, Unset):
|
|
77
|
+
data_type = UNSET
|
|
78
|
+
elif isinstance(self.data_type, ErpConfiguredColumnConfigDataTypeType0):
|
|
79
|
+
data_type = self.data_type.value
|
|
80
|
+
else:
|
|
81
|
+
data_type = self.data_type
|
|
82
|
+
|
|
72
83
|
visible = self.visible
|
|
73
84
|
|
|
74
85
|
order = self.order
|
|
@@ -111,6 +122,8 @@ class ErpConfiguredColumnConfig:
|
|
|
111
122
|
field_dict["canonicalField"] = canonical_field
|
|
112
123
|
if ext_data_path is not UNSET:
|
|
113
124
|
field_dict["extDataPath"] = ext_data_path
|
|
125
|
+
if data_type is not UNSET:
|
|
126
|
+
field_dict["dataType"] = data_type
|
|
114
127
|
if visible is not UNSET:
|
|
115
128
|
field_dict["visible"] = visible
|
|
116
129
|
if order is not UNSET:
|
|
@@ -161,6 +174,23 @@ class ErpConfiguredColumnConfig:
|
|
|
161
174
|
|
|
162
175
|
ext_data_path = _parse_ext_data_path(d.pop("extDataPath", UNSET))
|
|
163
176
|
|
|
177
|
+
def _parse_data_type(data: object) -> ErpConfiguredColumnConfigDataTypeType0 | None | Unset:
|
|
178
|
+
if data is None:
|
|
179
|
+
return data
|
|
180
|
+
if isinstance(data, Unset):
|
|
181
|
+
return data
|
|
182
|
+
try:
|
|
183
|
+
if not isinstance(data, str):
|
|
184
|
+
raise TypeError()
|
|
185
|
+
data_type_type_0 = ErpConfiguredColumnConfigDataTypeType0(data)
|
|
186
|
+
|
|
187
|
+
return data_type_type_0
|
|
188
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
189
|
+
pass
|
|
190
|
+
return cast(ErpConfiguredColumnConfigDataTypeType0 | None | Unset, data)
|
|
191
|
+
|
|
192
|
+
data_type = _parse_data_type(d.pop("dataType", UNSET))
|
|
193
|
+
|
|
164
194
|
visible = d.pop("visible", UNSET)
|
|
165
195
|
|
|
166
196
|
order = d.pop("order", UNSET)
|
|
@@ -207,6 +237,7 @@ class ErpConfiguredColumnConfig:
|
|
|
207
237
|
label=label,
|
|
208
238
|
canonical_field=canonical_field,
|
|
209
239
|
ext_data_path=ext_data_path,
|
|
240
|
+
data_type=data_type,
|
|
210
241
|
visible=visible,
|
|
211
242
|
order=order,
|
|
212
243
|
width=width,
|