SymfWebAPI 1.26.10.1__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.
- SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/__init__.py +83 -0
- SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/_common.py +37 -0
- SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/_ops.py +33 -0
- SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/BankAccounts/ViewModels/__init__.py +16 -0
- SymfWebAPI/WebAPI/Interface/BankAccounts/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/__init__.py +56 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/_ops.py +26 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/_common.py +17 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/_ops.py +19 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/__init__.py +40 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/_common.py +20 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/_ops.py +14 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Common/Interfaces/__init__.py +25 -0
- SymfWebAPI/WebAPI/Interface/Common/ViewModels/Aspects/__init__.py +45 -0
- SymfWebAPI/WebAPI/Interface/Common/ViewModels/__init__.py +118 -0
- SymfWebAPI/WebAPI/Interface/Common/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/__init__.py +54 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/_ops.py +17 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/__init__.py +55 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/_ops.py +23 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/_ops.py +17 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/__init__.py +230 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/_common.py +109 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/_ops.py +100 -0
- SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/__init__.py +25 -0
- SymfWebAPI/WebAPI/Interface/Contractors/ViewModels/__init__.py +64 -0
- SymfWebAPI/WebAPI/Interface/Contractors/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/__init__.py +129 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/_common.py +59 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/_ops.py +48 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/ViewModels/__init__.py +49 -0
- SymfWebAPI/WebAPI/Interface/Dictionaries/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Enums/FKConfigurator/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/Enums/__init__.py +459 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/__init__.py +42 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/_common.py +17 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/_ops.py +20 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/ViewModels/__init__.py +30 -0
- SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/__init__.py +28 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/_common.py +9 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/_ops.py +14 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/__init__.py +478 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/_common.py +353 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/_ops.py +208 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/ViewModels/__init__.py +149 -0
- SymfWebAPI/WebAPI/Interface/FKF/Calculations/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/__init__.py +56 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/_ops.py +26 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/_common.py +9 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/_ops.py +12 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/ViewModels/CriteriaFilter/__init__.py +14 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/ViewModels/__init__.py +50 -0
- SymfWebAPI/WebAPI/Interface/FKF/Common/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/__init__.py +55 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/_ops.py +25 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/__init__.py +97 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_common.py +47 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_ops.py +37 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/__init__.py +158 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/_common.py +73 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/_ops.py +70 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/__init__.py +23 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/ViewModels/V2026_1/__init__.py +35 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/ViewModels/__init__.py +79 -0
- SymfWebAPI/WebAPI/Interface/FKF/Contractors/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/__init__.py +42 -0
- SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/_ops.py +20 -0
- SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/FKF/Dimensions/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/_ops.py +14 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/_ops.py +14 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/_common.py +27 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/_ops.py +31 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/__init__.py +161 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/_common.py +91 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/_ops.py +75 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/__init__.py +43 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/_common.py +15 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/_ops.py +21 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/__init__.py +25 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/Business/__init__.py +75 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/Custom/__init__.py +151 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/__init__.py +12 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Rdf/__init__.py +13 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Transactions/__init__.py +33 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/V2026_1/__init__.py +73 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/__init__.py +227 -0
- SymfWebAPI/WebAPI/Interface/FKF/Documents/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/__init__.py +99 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/_common.py +45 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/_ops.py +42 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/ViewModels/__init__.py +30 -0
- SymfWebAPI/WebAPI/Interface/FKF/Employees/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/FKF/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/__init__.py +28 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/__init__.py +58 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/_common.py +27 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/_ops.py +27 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/ViewModels/V2026_1/__init__.py +62 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/ViewModels/__init__.py +69 -0
- SymfWebAPI/WebAPI/Interface/HMF/Develogic/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/HMF/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/__init__.py +34 -0
- SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/_ops.py +9 -0
- SymfWebAPI/WebAPI/Interface/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/__init__.py +98 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/_common.py +46 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/_ops.py +44 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/ViewModels/__init__.py +11 -0
- SymfWebAPI/WebAPI/Interface/InventoryStates/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/__init__.py +55 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/_ops.py +22 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/__init__.py +58 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/_common.py +25 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/_ops.py +28 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/__init__.py +55 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/_ops.py +24 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/__init__.py +84 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/_common.py +37 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/_ops.py +36 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/__init__.py +55 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/_common.py +24 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/_ops.py +24 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/__init__.py +58 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/_common.py +27 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/_ops.py +28 -0
- SymfWebAPI/WebAPI/Interface/OSS/Interfaces/__init__.py +26 -0
- SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Common/__init__.py +35 -0
- SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Orders/__init__.py +64 -0
- SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Sales/V2026_1/__init__.py +43 -0
- SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Sales/__init__.py +85 -0
- SymfWebAPI/WebAPI/Interface/OSS/ViewModels/__init__.py +38 -0
- SymfWebAPI/WebAPI/Interface/OSS/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/_ops.py +32 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/_ops.py +52 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/__init__.py +236 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/_common.py +130 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/_ops.py +110 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/__init__.py +115 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/_common.py +55 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/_ops.py +49 -0
- SymfWebAPI/WebAPI/Interface/Orders/Interfaces/__init__.py +24 -0
- SymfWebAPI/WebAPI/Interface/Orders/ViewModels/__init__.py +302 -0
- SymfWebAPI/WebAPI/Interface/Orders/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/_ops.py +32 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/_ops.py +52 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/__init__.py +207 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/_common.py +115 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/_ops.py +97 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/__init__.py +99 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/_common.py +47 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/_ops.py +39 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/__init__.py +24 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/ViewModels/__init__.py +205 -0
- SymfWebAPI/WebAPI/Interface/OwnOrders/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/__init__.py +189 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/_common.py +104 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/_ops.py +85 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/__init__.py +114 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/_common.py +69 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/_ops.py +48 -0
- SymfWebAPI/WebAPI/Interface/Payments/Interfaces/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Payments/ViewModels/Issue/__init__.py +38 -0
- SymfWebAPI/WebAPI/Interface/Payments/ViewModels/IssueKP/__init__.py +30 -0
- SymfWebAPI/WebAPI/Interface/Payments/ViewModels/__init__.py +124 -0
- SymfWebAPI/WebAPI/Interface/Payments/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/__init__.py +42 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/_common.py +16 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/_ops.py +20 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/_ops.py +17 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/__init__.py +28 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/_common.py +11 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/__init__.py +178 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/_common.py +77 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/_ops.py +80 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/__init__.py +247 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/_common.py +113 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/_ops.py +109 -0
- SymfWebAPI/WebAPI/Interface/Products/Interfaces/__init__.py +26 -0
- SymfWebAPI/WebAPI/Interface/Products/ViewModels/PriceCalculations/__init__.py +91 -0
- SymfWebAPI/WebAPI/Interface/Products/ViewModels/PriceLists/__init__.py +60 -0
- SymfWebAPI/WebAPI/Interface/Products/ViewModels/Prices/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/Products/ViewModels/__init__.py +217 -0
- SymfWebAPI/WebAPI/Interface/Products/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/__init__.py +221 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/_common.py +124 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/_ops.py +103 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/_ops.py +32 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/_ops.py +52 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/__init__.py +86 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/_common.py +40 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/_ops.py +38 -0
- SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/__init__.py +24 -0
- SymfWebAPI/WebAPI/Interface/Purchases/ViewModels/V2026_1/__init__.py +171 -0
- SymfWebAPI/WebAPI/Interface/Purchases/ViewModels/__init__.py +245 -0
- SymfWebAPI/WebAPI/Interface/Purchases/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/__init__.py +28 -0
- SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/_common.py +11 -0
- SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/RepX/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/RepX/ViewModels/__init__.py +14 -0
- SymfWebAPI/WebAPI/Interface/RepX/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/__init__.py +114 -0
- SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/_common.py +50 -0
- SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/_ops.py +48 -0
- SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/__init__.py +21 -0
- SymfWebAPI/WebAPI/Interface/Reservations/ViewModels/__init__.py +110 -0
- SymfWebAPI/WebAPI/Interface/Reservations/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/_common.py +10 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/_ops.py +12 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/__init__.py +237 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/_common.py +130 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/_ops.py +111 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/_ops.py +32 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/_ops.py +52 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/__init__.py +129 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/_ops.py +53 -0
- SymfWebAPI/WebAPI/Interface/Sales/Interfaces/__init__.py +25 -0
- SymfWebAPI/WebAPI/Interface/Sales/ViewModels/CorrectionIssue/V2026_1/__init__.py +42 -0
- SymfWebAPI/WebAPI/Interface/Sales/ViewModels/CorrectionIssue/__init__.py +23 -0
- SymfWebAPI/WebAPI/Interface/Sales/ViewModels/DocumentIssue/__init__.py +11 -0
- SymfWebAPI/WebAPI/Interface/Sales/ViewModels/__init__.py +325 -0
- SymfWebAPI/WebAPI/Interface/Sales/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/ViewModels/__init__.py +16 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/__init__.py +27 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/_common.py +11 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/_ops.py +13 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/__init__.py +41 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/_common.py +19 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/_ops.py +17 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/__init__.py +70 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/_common.py +33 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/_ops.py +32 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/__init__.py +128 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/_common.py +63 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/_ops.py +52 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/__init__.py +177 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/_common.py +100 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/_ops.py +83 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/__init__.py +85 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/_common.py +38 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/_ops.py +34 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/__init__.py +26 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/ViewModels/__init__.py +265 -0
- SymfWebAPI/WebAPI/Interface/Warehouse/__init__.py +22 -0
- SymfWebAPI/WebAPI/Interface/__init__.py +40 -0
- SymfWebAPI/WebAPI/__init__.py +21 -0
- SymfWebAPI/__init__.py +63 -0
- SymfWebAPI/client.py +129 -0
- SymfWebAPI/config.py +60 -0
- SymfWebAPI/enums.py +36 -0
- SymfWebAPI/errors.py +47 -0
- SymfWebAPI/executors.py +92 -0
- SymfWebAPI/operations.py +116 -0
- SymfWebAPI/protocols.py +85 -0
- SymfWebAPI/request_engine.py +43 -0
- SymfWebAPI/response.py +21 -0
- SymfWebAPI/runtime.py +85 -0
- SymfWebAPI/session.py +349 -0
- SymfWebAPI/transport/__init__.py +9 -0
- SymfWebAPI/transport/httpx_async.py +77 -0
- SymfWebAPI/transport/httpx_sync.py +78 -0
- symfwebapi-1.26.10.1.dist-info/METADATA +78 -0
- symfwebapi-1.26.10.1.dist-info/RECORD +329 -0
- symfwebapi-1.26.10.1.dist-info/WHEEL +5 -0
- symfwebapi-1.26.10.1.dist-info/licenses/LICENSE +29 -0
- symfwebapi-1.26.10.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, List, overload
|
|
4
|
+
from SymfWebAPI.operations import invoke_operation
|
|
5
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import Product
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductBarcodes
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductCriteriaFilter
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductFilterCriteria
|
|
13
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElement
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElementWithDimensions
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElementWithSalePrices
|
|
16
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductLogisticField
|
|
17
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
18
|
+
from ._common import (
|
|
19
|
+
_prepare_Get,
|
|
20
|
+
_prepare_Filter,
|
|
21
|
+
_prepare_FilterWithSalePrices,
|
|
22
|
+
_prepare_FilterWithDimensions,
|
|
23
|
+
_prepare_AddNew,
|
|
24
|
+
_prepare_Update,
|
|
25
|
+
_prepare_IncrementalSync,
|
|
26
|
+
_prepare_GetBarcodes,
|
|
27
|
+
_prepare_UpdateBarcodes,
|
|
28
|
+
_prepare_FilterSql,
|
|
29
|
+
_prepare_GetPagedDocument,
|
|
30
|
+
_prepare_GetPageWithSalePrices,
|
|
31
|
+
_prepare_GetPageWithDimensions,
|
|
32
|
+
_prepare_FilterSqlWthSalePrices,
|
|
33
|
+
_prepare_FilterSqlWthDimensions,
|
|
34
|
+
_prepare_GetLogisticFields,
|
|
35
|
+
)
|
|
36
|
+
from ._ops import (
|
|
37
|
+
OP_Get,
|
|
38
|
+
OP_Filter,
|
|
39
|
+
OP_FilterWithSalePrices,
|
|
40
|
+
OP_FilterWithDimensions,
|
|
41
|
+
OP_AddNew,
|
|
42
|
+
OP_Update,
|
|
43
|
+
OP_IncrementalSync,
|
|
44
|
+
OP_GetBarcodes,
|
|
45
|
+
OP_UpdateBarcodes,
|
|
46
|
+
OP_FilterSql,
|
|
47
|
+
OP_GetPagedDocument,
|
|
48
|
+
OP_GetPageWithSalePrices,
|
|
49
|
+
OP_GetPageWithDimensions,
|
|
50
|
+
OP_FilterSqlWthSalePrices,
|
|
51
|
+
OP_FilterSqlWthDimensions,
|
|
52
|
+
OP_GetLogisticFields,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
@overload
|
|
56
|
+
def Get(api: SyncInvokerProtocol, salePrices: bool) -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
57
|
+
@overload
|
|
58
|
+
def Get(api: SyncRequestProtocol, salePrices: bool) -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
59
|
+
@overload
|
|
60
|
+
def Get(api: AsyncInvokerProtocol, salePrices: bool) -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
61
|
+
@overload
|
|
62
|
+
def Get(api: AsyncRequestProtocol, salePrices: bool) -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
63
|
+
def Get(api: object, salePrices: bool) -> ResponseEnvelope[List[ProductListElement]] | Awaitable[ResponseEnvelope[List[ProductListElement]]]:
|
|
64
|
+
params, data = _prepare_Get(salePrices=salePrices)
|
|
65
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
66
|
+
|
|
67
|
+
@overload
|
|
68
|
+
def Filter(api: SyncInvokerProtocol, salePrices: bool, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
69
|
+
@overload
|
|
70
|
+
def Filter(api: SyncRequestProtocol, salePrices: bool, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
71
|
+
@overload
|
|
72
|
+
def Filter(api: AsyncInvokerProtocol, salePrices: bool, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
73
|
+
@overload
|
|
74
|
+
def Filter(api: AsyncRequestProtocol, salePrices: bool, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
75
|
+
def Filter(api: object, salePrices: bool, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElement]] | Awaitable[ResponseEnvelope[List[ProductListElement]]]:
|
|
76
|
+
params, data = _prepare_Filter(salePrices=salePrices, criteria=criteria)
|
|
77
|
+
return invoke_operation(api, OP_Filter, params=params, data=data)
|
|
78
|
+
|
|
79
|
+
@overload
|
|
80
|
+
def FilterWithSalePrices(api: SyncInvokerProtocol, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithSalePrices]]: ...
|
|
81
|
+
@overload
|
|
82
|
+
def FilterWithSalePrices(api: SyncRequestProtocol, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithSalePrices]]: ...
|
|
83
|
+
@overload
|
|
84
|
+
def FilterWithSalePrices(api: AsyncInvokerProtocol, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]: ...
|
|
85
|
+
@overload
|
|
86
|
+
def FilterWithSalePrices(api: AsyncRequestProtocol, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]: ...
|
|
87
|
+
def FilterWithSalePrices(api: object, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithSalePrices]] | Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]:
|
|
88
|
+
params, data = _prepare_FilterWithSalePrices(criteria=criteria)
|
|
89
|
+
return invoke_operation(api, OP_FilterWithSalePrices, params=params, data=data)
|
|
90
|
+
|
|
91
|
+
@overload
|
|
92
|
+
def FilterWithDimensions(api: SyncInvokerProtocol, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithDimensions]]: ...
|
|
93
|
+
@overload
|
|
94
|
+
def FilterWithDimensions(api: SyncRequestProtocol, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithDimensions]]: ...
|
|
95
|
+
@overload
|
|
96
|
+
def FilterWithDimensions(api: AsyncInvokerProtocol, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]: ...
|
|
97
|
+
@overload
|
|
98
|
+
def FilterWithDimensions(api: AsyncRequestProtocol, criteria: "ProductFilterCriteria") -> Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]: ...
|
|
99
|
+
def FilterWithDimensions(api: object, criteria: "ProductFilterCriteria") -> ResponseEnvelope[List[ProductListElementWithDimensions]] | Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]:
|
|
100
|
+
params, data = _prepare_FilterWithDimensions(criteria=criteria)
|
|
101
|
+
return invoke_operation(api, OP_FilterWithDimensions, params=params, data=data)
|
|
102
|
+
|
|
103
|
+
@overload
|
|
104
|
+
def AddNew(api: SyncInvokerProtocol, product: "Product") -> ResponseEnvelope[Product]: ...
|
|
105
|
+
@overload
|
|
106
|
+
def AddNew(api: SyncRequestProtocol, product: "Product") -> ResponseEnvelope[Product]: ...
|
|
107
|
+
@overload
|
|
108
|
+
def AddNew(api: AsyncInvokerProtocol, product: "Product") -> Awaitable[ResponseEnvelope[Product]]: ...
|
|
109
|
+
@overload
|
|
110
|
+
def AddNew(api: AsyncRequestProtocol, product: "Product") -> Awaitable[ResponseEnvelope[Product]]: ...
|
|
111
|
+
def AddNew(api: object, product: "Product") -> ResponseEnvelope[Product] | Awaitable[ResponseEnvelope[Product]]:
|
|
112
|
+
params, data = _prepare_AddNew(product=product)
|
|
113
|
+
return invoke_operation(api, OP_AddNew, params=params, data=data)
|
|
114
|
+
|
|
115
|
+
@overload
|
|
116
|
+
def Update(api: SyncInvokerProtocol, product: "Product") -> ResponseEnvelope[None]: ...
|
|
117
|
+
@overload
|
|
118
|
+
def Update(api: SyncRequestProtocol, product: "Product") -> ResponseEnvelope[None]: ...
|
|
119
|
+
@overload
|
|
120
|
+
def Update(api: AsyncInvokerProtocol, product: "Product") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
121
|
+
@overload
|
|
122
|
+
def Update(api: AsyncRequestProtocol, product: "Product") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
123
|
+
def Update(api: object, product: "Product") -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
124
|
+
params, data = _prepare_Update(product=product)
|
|
125
|
+
return invoke_operation(api, OP_Update, params=params, data=data)
|
|
126
|
+
|
|
127
|
+
@overload
|
|
128
|
+
def IncrementalSync(api: SyncInvokerProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
129
|
+
@overload
|
|
130
|
+
def IncrementalSync(api: SyncRequestProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
131
|
+
@overload
|
|
132
|
+
def IncrementalSync(api: AsyncInvokerProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
133
|
+
@overload
|
|
134
|
+
def IncrementalSync(api: AsyncRequestProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
135
|
+
def IncrementalSync(api: object) -> ResponseEnvelope[List[IncrementalSyncListElement]] | Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]:
|
|
136
|
+
params, data = _prepare_IncrementalSync()
|
|
137
|
+
return invoke_operation(api, OP_IncrementalSync, params=params, data=data)
|
|
138
|
+
|
|
139
|
+
@overload
|
|
140
|
+
def GetBarcodes(api: SyncInvokerProtocol, productCode: str) -> ResponseEnvelope[ProductBarcodes]: ...
|
|
141
|
+
@overload
|
|
142
|
+
def GetBarcodes(api: SyncRequestProtocol, productCode: str) -> ResponseEnvelope[ProductBarcodes]: ...
|
|
143
|
+
@overload
|
|
144
|
+
def GetBarcodes(api: AsyncInvokerProtocol, productCode: str) -> Awaitable[ResponseEnvelope[ProductBarcodes]]: ...
|
|
145
|
+
@overload
|
|
146
|
+
def GetBarcodes(api: AsyncRequestProtocol, productCode: str) -> Awaitable[ResponseEnvelope[ProductBarcodes]]: ...
|
|
147
|
+
def GetBarcodes(api: object, productCode: str) -> ResponseEnvelope[ProductBarcodes] | Awaitable[ResponseEnvelope[ProductBarcodes]]:
|
|
148
|
+
params, data = _prepare_GetBarcodes(productCode=productCode)
|
|
149
|
+
return invoke_operation(api, OP_GetBarcodes, params=params, data=data)
|
|
150
|
+
|
|
151
|
+
@overload
|
|
152
|
+
def UpdateBarcodes(api: SyncInvokerProtocol, productCode: str) -> ResponseEnvelope[None]: ...
|
|
153
|
+
@overload
|
|
154
|
+
def UpdateBarcodes(api: SyncRequestProtocol, productCode: str) -> ResponseEnvelope[None]: ...
|
|
155
|
+
@overload
|
|
156
|
+
def UpdateBarcodes(api: AsyncInvokerProtocol, productCode: str) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
157
|
+
@overload
|
|
158
|
+
def UpdateBarcodes(api: AsyncRequestProtocol, productCode: str) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
159
|
+
def UpdateBarcodes(api: object, productCode: str) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
160
|
+
params, data = _prepare_UpdateBarcodes(productCode=productCode)
|
|
161
|
+
return invoke_operation(api, OP_UpdateBarcodes, params=params, data=data)
|
|
162
|
+
|
|
163
|
+
@overload
|
|
164
|
+
def FilterSql(api: SyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
165
|
+
@overload
|
|
166
|
+
def FilterSql(api: SyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElement]]: ...
|
|
167
|
+
@overload
|
|
168
|
+
def FilterSql(api: AsyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
169
|
+
@overload
|
|
170
|
+
def FilterSql(api: AsyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElement]]]: ...
|
|
171
|
+
def FilterSql(api: object, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElement]] | Awaitable[ResponseEnvelope[List[ProductListElement]]]:
|
|
172
|
+
params, data = _prepare_FilterSql(criteriaFilter=criteriaFilter)
|
|
173
|
+
return invoke_operation(api, OP_FilterSql, params=params, data=data)
|
|
174
|
+
|
|
175
|
+
@overload
|
|
176
|
+
def GetPagedDocument(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
177
|
+
@overload
|
|
178
|
+
def GetPagedDocument(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
179
|
+
@overload
|
|
180
|
+
def GetPagedDocument(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
181
|
+
@overload
|
|
182
|
+
def GetPagedDocument(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
183
|
+
def GetPagedDocument(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
184
|
+
params, data = _prepare_GetPagedDocument(page=page, size=size, orderBy=orderBy)
|
|
185
|
+
return invoke_operation(api, OP_GetPagedDocument, params=params, data=data)
|
|
186
|
+
|
|
187
|
+
@overload
|
|
188
|
+
def GetPageWithSalePrices(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
189
|
+
@overload
|
|
190
|
+
def GetPageWithSalePrices(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
191
|
+
@overload
|
|
192
|
+
def GetPageWithSalePrices(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
193
|
+
@overload
|
|
194
|
+
def GetPageWithSalePrices(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
195
|
+
def GetPageWithSalePrices(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
196
|
+
params, data = _prepare_GetPageWithSalePrices(page=page, size=size, orderBy=orderBy)
|
|
197
|
+
return invoke_operation(api, OP_GetPageWithSalePrices, params=params, data=data)
|
|
198
|
+
|
|
199
|
+
@overload
|
|
200
|
+
def GetPageWithDimensions(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
201
|
+
@overload
|
|
202
|
+
def GetPageWithDimensions(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
203
|
+
@overload
|
|
204
|
+
def GetPageWithDimensions(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
205
|
+
@overload
|
|
206
|
+
def GetPageWithDimensions(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
207
|
+
def GetPageWithDimensions(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
208
|
+
params, data = _prepare_GetPageWithDimensions(page=page, size=size, orderBy=orderBy)
|
|
209
|
+
return invoke_operation(api, OP_GetPageWithDimensions, params=params, data=data)
|
|
210
|
+
|
|
211
|
+
@overload
|
|
212
|
+
def FilterSqlWthSalePrices(api: SyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithSalePrices]]: ...
|
|
213
|
+
@overload
|
|
214
|
+
def FilterSqlWthSalePrices(api: SyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithSalePrices]]: ...
|
|
215
|
+
@overload
|
|
216
|
+
def FilterSqlWthSalePrices(api: AsyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]: ...
|
|
217
|
+
@overload
|
|
218
|
+
def FilterSqlWthSalePrices(api: AsyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]: ...
|
|
219
|
+
def FilterSqlWthSalePrices(api: object, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithSalePrices]] | Awaitable[ResponseEnvelope[List[ProductListElementWithSalePrices]]]:
|
|
220
|
+
params, data = _prepare_FilterSqlWthSalePrices(criteriaFilter=criteriaFilter)
|
|
221
|
+
return invoke_operation(api, OP_FilterSqlWthSalePrices, params=params, data=data)
|
|
222
|
+
|
|
223
|
+
@overload
|
|
224
|
+
def FilterSqlWthDimensions(api: SyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithDimensions]]: ...
|
|
225
|
+
@overload
|
|
226
|
+
def FilterSqlWthDimensions(api: SyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithDimensions]]: ...
|
|
227
|
+
@overload
|
|
228
|
+
def FilterSqlWthDimensions(api: AsyncInvokerProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]: ...
|
|
229
|
+
@overload
|
|
230
|
+
def FilterSqlWthDimensions(api: AsyncRequestProtocol, criteriaFilter: "ProductCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]: ...
|
|
231
|
+
def FilterSqlWthDimensions(api: object, criteriaFilter: "ProductCriteriaFilter") -> ResponseEnvelope[List[ProductListElementWithDimensions]] | Awaitable[ResponseEnvelope[List[ProductListElementWithDimensions]]]:
|
|
232
|
+
params, data = _prepare_FilterSqlWthDimensions(criteriaFilter=criteriaFilter)
|
|
233
|
+
return invoke_operation(api, OP_FilterSqlWthDimensions, params=params, data=data)
|
|
234
|
+
|
|
235
|
+
@overload
|
|
236
|
+
def GetLogisticFields(api: SyncInvokerProtocol, productCode: str) -> ResponseEnvelope[List[ProductLogisticField]]: ...
|
|
237
|
+
@overload
|
|
238
|
+
def GetLogisticFields(api: SyncRequestProtocol, productCode: str) -> ResponseEnvelope[List[ProductLogisticField]]: ...
|
|
239
|
+
@overload
|
|
240
|
+
def GetLogisticFields(api: AsyncInvokerProtocol, productCode: str) -> Awaitable[ResponseEnvelope[List[ProductLogisticField]]]: ...
|
|
241
|
+
@overload
|
|
242
|
+
def GetLogisticFields(api: AsyncRequestProtocol, productCode: str) -> Awaitable[ResponseEnvelope[List[ProductLogisticField]]]: ...
|
|
243
|
+
def GetLogisticFields(api: object, productCode: str) -> ResponseEnvelope[List[ProductLogisticField]] | Awaitable[ResponseEnvelope[List[ProductLogisticField]]]:
|
|
244
|
+
params, data = _prepare_GetLogisticFields(productCode=productCode)
|
|
245
|
+
return invoke_operation(api, OP_GetLogisticFields, params=params, data=data)
|
|
246
|
+
|
|
247
|
+
__all__ = ["Get", "Filter", "FilterWithSalePrices", "FilterWithDimensions", "AddNew", "Update", "IncrementalSync", "GetBarcodes", "UpdateBarcodes", "FilterSql", "GetPagedDocument", "GetPageWithSalePrices", "GetPageWithDimensions", "FilterSqlWthSalePrices", "FilterSqlWthDimensions", "GetLogisticFields"]
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
|
|
7
|
+
_REQUEST_Get = ('GET', '/api/Products')
|
|
8
|
+
def _prepare_Get(*, salePrices) -> tuple[dict[str, Any] | None, Any]:
|
|
9
|
+
params: dict[str, Any] = {}
|
|
10
|
+
params["salePrices"] = salePrices
|
|
11
|
+
data = None
|
|
12
|
+
return params or None, data
|
|
13
|
+
|
|
14
|
+
_REQUEST_Filter = ('PATCH', '/api/Products/Filter')
|
|
15
|
+
def _prepare_Filter(*, salePrices, criteria) -> tuple[dict[str, Any] | None, Any]:
|
|
16
|
+
params: dict[str, Any] = {}
|
|
17
|
+
params["salePrices"] = salePrices
|
|
18
|
+
data = criteria.model_dump_json(exclude_unset=True) if criteria is not None else None
|
|
19
|
+
return params or None, data
|
|
20
|
+
|
|
21
|
+
_REQUEST_FilterWithSalePrices = ('PATCH', '/api/Products/Filter/WithSalePrices')
|
|
22
|
+
def _prepare_FilterWithSalePrices(*, criteria) -> tuple[dict[str, Any] | None, Any]:
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
data = criteria.model_dump_json(exclude_unset=True) if criteria is not None else None
|
|
25
|
+
return params or None, data
|
|
26
|
+
|
|
27
|
+
_REQUEST_FilterWithDimensions = ('PATCH', '/api/Products/Filter/WithDimensions')
|
|
28
|
+
def _prepare_FilterWithDimensions(*, criteria) -> tuple[dict[str, Any] | None, Any]:
|
|
29
|
+
params: dict[str, Any] = {}
|
|
30
|
+
data = criteria.model_dump_json(exclude_unset=True) if criteria is not None else None
|
|
31
|
+
return params or None, data
|
|
32
|
+
|
|
33
|
+
_REQUEST_AddNew = ('POST', '/api/Products/Create')
|
|
34
|
+
def _prepare_AddNew(*, product) -> tuple[dict[str, Any] | None, Any]:
|
|
35
|
+
params: dict[str, Any] = {}
|
|
36
|
+
data = product.model_dump_json(exclude_unset=True) if product is not None else None
|
|
37
|
+
return params or None, data
|
|
38
|
+
|
|
39
|
+
_REQUEST_Update = ('PUT', '/api/Products/Update')
|
|
40
|
+
def _prepare_Update(*, product) -> tuple[dict[str, Any] | None, Any]:
|
|
41
|
+
params: dict[str, Any] = {}
|
|
42
|
+
data = product.model_dump_json(exclude_unset=True) if product is not None else None
|
|
43
|
+
return params or None, data
|
|
44
|
+
|
|
45
|
+
_REQUEST_IncrementalSync = ('GET', '/api/Products/IncrementalSync')
|
|
46
|
+
def _prepare_IncrementalSync() -> tuple[dict[str, Any] | None, Any]:
|
|
47
|
+
params: dict[str, Any] = {}
|
|
48
|
+
data = None
|
|
49
|
+
return params or None, data
|
|
50
|
+
|
|
51
|
+
_REQUEST_GetBarcodes = ('GET', '/api/Products/Barcodes')
|
|
52
|
+
def _prepare_GetBarcodes(*, productCode) -> tuple[dict[str, Any] | None, Any]:
|
|
53
|
+
params: dict[str, Any] = {}
|
|
54
|
+
data = json.dumps(productCode) if productCode is not None else None
|
|
55
|
+
return params or None, data
|
|
56
|
+
|
|
57
|
+
_REQUEST_UpdateBarcodes = ('GET', '/api/Products/UpdateBarcodes')
|
|
58
|
+
def _prepare_UpdateBarcodes(*, productCode) -> tuple[dict[str, Any] | None, Any]:
|
|
59
|
+
params: dict[str, Any] = {}
|
|
60
|
+
params["productCode"] = productCode
|
|
61
|
+
data = None
|
|
62
|
+
return params or None, data
|
|
63
|
+
|
|
64
|
+
_REQUEST_FilterSql = ('PATCH', '/api/Products/FilterSql')
|
|
65
|
+
def _prepare_FilterSql(*, criteriaFilter) -> tuple[dict[str, Any] | None, Any]:
|
|
66
|
+
params: dict[str, Any] = {}
|
|
67
|
+
data = criteriaFilter.model_dump_json(exclude_unset=True) if criteriaFilter is not None else None
|
|
68
|
+
return params or None, data
|
|
69
|
+
|
|
70
|
+
_REQUEST_GetPagedDocument = ('GET', '/api/Products/Page')
|
|
71
|
+
def _prepare_GetPagedDocument(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
72
|
+
params: dict[str, Any] = {}
|
|
73
|
+
params["page"] = page
|
|
74
|
+
params["size"] = size
|
|
75
|
+
params["orderBy"] = orderBy.value
|
|
76
|
+
data = None
|
|
77
|
+
return params or None, data
|
|
78
|
+
|
|
79
|
+
_REQUEST_GetPageWithSalePrices = ('GET', '/api/Products/Page/WithSalePrices')
|
|
80
|
+
def _prepare_GetPageWithSalePrices(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
81
|
+
params: dict[str, Any] = {}
|
|
82
|
+
params["page"] = page
|
|
83
|
+
params["size"] = size
|
|
84
|
+
params["orderBy"] = orderBy.value
|
|
85
|
+
data = None
|
|
86
|
+
return params or None, data
|
|
87
|
+
|
|
88
|
+
_REQUEST_GetPageWithDimensions = ('GET', '/api/Products/Page/WithDimensions')
|
|
89
|
+
def _prepare_GetPageWithDimensions(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
90
|
+
params: dict[str, Any] = {}
|
|
91
|
+
params["page"] = page
|
|
92
|
+
params["size"] = size
|
|
93
|
+
params["orderBy"] = orderBy.value
|
|
94
|
+
data = None
|
|
95
|
+
return params or None, data
|
|
96
|
+
|
|
97
|
+
_REQUEST_FilterSqlWthSalePrices = ('PATCH', '/api/Products/FilterSql/WithSalePrices')
|
|
98
|
+
def _prepare_FilterSqlWthSalePrices(*, criteriaFilter) -> tuple[dict[str, Any] | None, Any]:
|
|
99
|
+
params: dict[str, Any] = {}
|
|
100
|
+
data = criteriaFilter.model_dump_json(exclude_unset=True) if criteriaFilter is not None else None
|
|
101
|
+
return params or None, data
|
|
102
|
+
|
|
103
|
+
_REQUEST_FilterSqlWthDimensions = ('PATCH', '/api/Products/FilterSql/WithDimensions')
|
|
104
|
+
def _prepare_FilterSqlWthDimensions(*, criteriaFilter) -> tuple[dict[str, Any] | None, Any]:
|
|
105
|
+
params: dict[str, Any] = {}
|
|
106
|
+
data = criteriaFilter.model_dump_json(exclude_unset=True) if criteriaFilter is not None else None
|
|
107
|
+
return params or None, data
|
|
108
|
+
|
|
109
|
+
_REQUEST_GetLogisticFields = ('GET', '/api/Products/LogisticFields')
|
|
110
|
+
def _prepare_GetLogisticFields(*, productCode) -> tuple[dict[str, Any] | None, Any]:
|
|
111
|
+
params: dict[str, Any] = {}
|
|
112
|
+
data = json.dumps(productCode) if productCode is not None else None
|
|
113
|
+
return params or None, data
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import Product
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductBarcodes
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductCriteriaFilter
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductFilterCriteria
|
|
13
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElement
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElementWithDimensions
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductListElementWithSalePrices
|
|
16
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels import ProductLogisticField
|
|
17
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
18
|
+
|
|
19
|
+
_ADAPTER_Get = TypeAdapter(List[ProductListElement])
|
|
20
|
+
|
|
21
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElement]]:
|
|
22
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
23
|
+
OP_Get = OperationSpec(method='GET', path='/api/Products', parser=_parse_Get)
|
|
24
|
+
|
|
25
|
+
_ADAPTER_Filter = TypeAdapter(List[ProductListElement])
|
|
26
|
+
|
|
27
|
+
def _parse_Filter(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElement]]:
|
|
28
|
+
return parse_with_adapter(envelope, _ADAPTER_Filter)
|
|
29
|
+
OP_Filter = OperationSpec(method='PATCH', path='/api/Products/Filter', parser=_parse_Filter)
|
|
30
|
+
|
|
31
|
+
_ADAPTER_FilterWithSalePrices = TypeAdapter(List[ProductListElementWithSalePrices])
|
|
32
|
+
|
|
33
|
+
def _parse_FilterWithSalePrices(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElementWithSalePrices]]:
|
|
34
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterWithSalePrices)
|
|
35
|
+
OP_FilterWithSalePrices = OperationSpec(method='PATCH', path='/api/Products/Filter/WithSalePrices', parser=_parse_FilterWithSalePrices)
|
|
36
|
+
|
|
37
|
+
_ADAPTER_FilterWithDimensions = TypeAdapter(List[ProductListElementWithDimensions])
|
|
38
|
+
|
|
39
|
+
def _parse_FilterWithDimensions(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElementWithDimensions]]:
|
|
40
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterWithDimensions)
|
|
41
|
+
OP_FilterWithDimensions = OperationSpec(method='PATCH', path='/api/Products/Filter/WithDimensions', parser=_parse_FilterWithDimensions)
|
|
42
|
+
|
|
43
|
+
_ADAPTER_AddNew = TypeAdapter(Product)
|
|
44
|
+
|
|
45
|
+
def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Product]:
|
|
46
|
+
return parse_with_adapter(envelope, _ADAPTER_AddNew)
|
|
47
|
+
OP_AddNew = OperationSpec(method='POST', path='/api/Products/Create', parser=_parse_AddNew)
|
|
48
|
+
|
|
49
|
+
def _parse_Update(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
50
|
+
return parse_none(envelope)
|
|
51
|
+
OP_Update = OperationSpec(method='PUT', path='/api/Products/Update', parser=_parse_Update)
|
|
52
|
+
|
|
53
|
+
_ADAPTER_IncrementalSync = TypeAdapter(List[IncrementalSyncListElement])
|
|
54
|
+
|
|
55
|
+
def _parse_IncrementalSync(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[IncrementalSyncListElement]]:
|
|
56
|
+
return parse_with_adapter(envelope, _ADAPTER_IncrementalSync)
|
|
57
|
+
OP_IncrementalSync = OperationSpec(method='GET', path='/api/Products/IncrementalSync', parser=_parse_IncrementalSync)
|
|
58
|
+
|
|
59
|
+
_ADAPTER_GetBarcodes = TypeAdapter(ProductBarcodes)
|
|
60
|
+
|
|
61
|
+
def _parse_GetBarcodes(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[ProductBarcodes]:
|
|
62
|
+
return parse_with_adapter(envelope, _ADAPTER_GetBarcodes)
|
|
63
|
+
OP_GetBarcodes = OperationSpec(method='GET', path='/api/Products/Barcodes', parser=_parse_GetBarcodes)
|
|
64
|
+
|
|
65
|
+
def _parse_UpdateBarcodes(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
66
|
+
return parse_none(envelope)
|
|
67
|
+
OP_UpdateBarcodes = OperationSpec(method='GET', path='/api/Products/UpdateBarcodes', parser=_parse_UpdateBarcodes)
|
|
68
|
+
|
|
69
|
+
_ADAPTER_FilterSql = TypeAdapter(List[ProductListElement])
|
|
70
|
+
|
|
71
|
+
def _parse_FilterSql(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElement]]:
|
|
72
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterSql)
|
|
73
|
+
OP_FilterSql = OperationSpec(method='PATCH', path='/api/Products/FilterSql', parser=_parse_FilterSql)
|
|
74
|
+
|
|
75
|
+
_ADAPTER_GetPagedDocument = TypeAdapter(Page)
|
|
76
|
+
|
|
77
|
+
def _parse_GetPagedDocument(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
78
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPagedDocument)
|
|
79
|
+
OP_GetPagedDocument = OperationSpec(method='GET', path='/api/Products/Page', parser=_parse_GetPagedDocument)
|
|
80
|
+
|
|
81
|
+
_ADAPTER_GetPageWithSalePrices = TypeAdapter(Page)
|
|
82
|
+
|
|
83
|
+
def _parse_GetPageWithSalePrices(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
84
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPageWithSalePrices)
|
|
85
|
+
OP_GetPageWithSalePrices = OperationSpec(method='GET', path='/api/Products/Page/WithSalePrices', parser=_parse_GetPageWithSalePrices)
|
|
86
|
+
|
|
87
|
+
_ADAPTER_GetPageWithDimensions = TypeAdapter(Page)
|
|
88
|
+
|
|
89
|
+
def _parse_GetPageWithDimensions(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
90
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPageWithDimensions)
|
|
91
|
+
OP_GetPageWithDimensions = OperationSpec(method='GET', path='/api/Products/Page/WithDimensions', parser=_parse_GetPageWithDimensions)
|
|
92
|
+
|
|
93
|
+
_ADAPTER_FilterSqlWthSalePrices = TypeAdapter(List[ProductListElementWithSalePrices])
|
|
94
|
+
|
|
95
|
+
def _parse_FilterSqlWthSalePrices(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElementWithSalePrices]]:
|
|
96
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterSqlWthSalePrices)
|
|
97
|
+
OP_FilterSqlWthSalePrices = OperationSpec(method='PATCH', path='/api/Products/FilterSql/WithSalePrices', parser=_parse_FilterSqlWthSalePrices)
|
|
98
|
+
|
|
99
|
+
_ADAPTER_FilterSqlWthDimensions = TypeAdapter(List[ProductListElementWithDimensions])
|
|
100
|
+
|
|
101
|
+
def _parse_FilterSqlWthDimensions(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductListElementWithDimensions]]:
|
|
102
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterSqlWthDimensions)
|
|
103
|
+
OP_FilterSqlWthDimensions = OperationSpec(method='PATCH', path='/api/Products/FilterSql/WithDimensions', parser=_parse_FilterSqlWthDimensions)
|
|
104
|
+
|
|
105
|
+
_ADAPTER_GetLogisticFields = TypeAdapter(List[ProductLogisticField])
|
|
106
|
+
|
|
107
|
+
def _parse_GetLogisticFields(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ProductLogisticField]]:
|
|
108
|
+
return parse_with_adapter(envelope, _ADAPTER_GetLogisticFields)
|
|
109
|
+
OP_GetLogisticFields = OperationSpec(method='GET', path='/api/Products/LogisticFields', parser=_parse_GetLogisticFields)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Auto-generated package (lazy imports)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import importlib
|
|
6
|
+
from typing import TYPE_CHECKING
|
|
7
|
+
|
|
8
|
+
__all__ = ("IPriceListsController", "IProductDimensions2Controller", "IProductDimensionsController", "IProductPhotosController", "IProductPricesController", "IProductsController",)
|
|
9
|
+
|
|
10
|
+
def __getattr__(name: str):
|
|
11
|
+
if name in __all__:
|
|
12
|
+
module = importlib.import_module(f".{name}", __name__)
|
|
13
|
+
globals()[name] = module
|
|
14
|
+
return module
|
|
15
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
16
|
+
|
|
17
|
+
def __dir__():
|
|
18
|
+
return sorted(set(__all__) | {n for n in globals() if not n.startswith('_')})
|
|
19
|
+
|
|
20
|
+
if TYPE_CHECKING:
|
|
21
|
+
from . import IPriceListsController as _IPriceListsController
|
|
22
|
+
from . import IProductDimensions2Controller as _IProductDimensions2Controller
|
|
23
|
+
from . import IProductDimensionsController as _IProductDimensionsController
|
|
24
|
+
from . import IProductPhotosController as _IProductPhotosController
|
|
25
|
+
from . import IProductPricesController as _IProductPricesController
|
|
26
|
+
from . import IProductsController as _IProductsController
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumPriceCalculationMethod, enumSalePriceType
|
|
9
|
+
|
|
10
|
+
class PriceCalculation(BaseModel):
|
|
11
|
+
DepartmentId: int
|
|
12
|
+
ContractorId: int
|
|
13
|
+
Date: datetime
|
|
14
|
+
PriceType: "enumSalePriceType"
|
|
15
|
+
Currency: str
|
|
16
|
+
|
|
17
|
+
class PriceCalculationCriteria(BaseModel):
|
|
18
|
+
CalculationMethod: "enumPriceCalculationMethod"
|
|
19
|
+
Products: List["PriceCalculationProductCriteria"]
|
|
20
|
+
DepartmentId: int
|
|
21
|
+
ContractorId: int
|
|
22
|
+
Date: datetime
|
|
23
|
+
PriceType: "enumSalePriceType"
|
|
24
|
+
Currency: str
|
|
25
|
+
|
|
26
|
+
class PriceCalculationProduct(BaseModel):
|
|
27
|
+
Id: int
|
|
28
|
+
Quantity: Decimal
|
|
29
|
+
|
|
30
|
+
class PriceCalculationProductCriteria(BaseModel):
|
|
31
|
+
Id: int
|
|
32
|
+
Quantity: Decimal
|
|
33
|
+
|
|
34
|
+
class PriceCalculationProductResult(BaseModel):
|
|
35
|
+
Price: Decimal
|
|
36
|
+
Id: int
|
|
37
|
+
Quantity: Decimal
|
|
38
|
+
|
|
39
|
+
class PriceCalculationResult(BaseModel):
|
|
40
|
+
Products: List["PriceCalculationProductResult"]
|
|
41
|
+
DepartmentId: int
|
|
42
|
+
ContractorId: int
|
|
43
|
+
Date: datetime
|
|
44
|
+
PriceType: "enumSalePriceType"
|
|
45
|
+
Currency: str
|
|
46
|
+
|
|
47
|
+
class PriceOrder(BaseModel):
|
|
48
|
+
Department: str
|
|
49
|
+
Date: datetime
|
|
50
|
+
SalePriceType: "enumSalePriceType"
|
|
51
|
+
Currency: str
|
|
52
|
+
|
|
53
|
+
class PriceOrderContractor(BaseModel):
|
|
54
|
+
Id: Optional[int]
|
|
55
|
+
Code: str
|
|
56
|
+
|
|
57
|
+
class PriceOrderContractorCriteria(BaseModel):
|
|
58
|
+
Id: Optional[int]
|
|
59
|
+
Code: str
|
|
60
|
+
|
|
61
|
+
class PriceOrderCriteria(BaseModel):
|
|
62
|
+
Contractor: "PriceOrderContractorCriteria"
|
|
63
|
+
TypeCode: str
|
|
64
|
+
Series: str
|
|
65
|
+
Products: List["PriceOrderProductCriteria"]
|
|
66
|
+
Department: str
|
|
67
|
+
Date: datetime
|
|
68
|
+
SalePriceType: "enumSalePriceType"
|
|
69
|
+
Currency: str
|
|
70
|
+
|
|
71
|
+
class PriceOrderProduct(BaseModel):
|
|
72
|
+
Code: str
|
|
73
|
+
Quantity: Decimal
|
|
74
|
+
|
|
75
|
+
class PriceOrderProductCriteria(BaseModel):
|
|
76
|
+
Code: str
|
|
77
|
+
Quantity: Decimal
|
|
78
|
+
|
|
79
|
+
class PriceOrderProductResult(BaseModel):
|
|
80
|
+
Id: int
|
|
81
|
+
Price: Decimal
|
|
82
|
+
Code: str
|
|
83
|
+
Quantity: Decimal
|
|
84
|
+
|
|
85
|
+
class PriceOrderResult(BaseModel):
|
|
86
|
+
Contractor: "PriceOrderContractor"
|
|
87
|
+
Products: List["PriceOrderProductResult"]
|
|
88
|
+
Department: str
|
|
89
|
+
Date: datetime
|
|
90
|
+
SalePriceType: "enumSalePriceType"
|
|
91
|
+
Currency: str
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Enums import (
|
|
9
|
+
enumPriceFactorType,
|
|
10
|
+
enumPriceKind,
|
|
11
|
+
enumPriceListConnectionType,
|
|
12
|
+
enumSalePriceType,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
class PriceList(BaseModel):
|
|
16
|
+
Id: int
|
|
17
|
+
Code: str
|
|
18
|
+
Description: str
|
|
19
|
+
Active: bool
|
|
20
|
+
DateFrom: Optional[datetime]
|
|
21
|
+
DateTo: Optional[datetime]
|
|
22
|
+
DepartmentId: Optional[int]
|
|
23
|
+
IsPriceListHistoryEnabled: bool
|
|
24
|
+
IsCurrencyPriceList: bool
|
|
25
|
+
PriceListCurrency: str
|
|
26
|
+
ForAllContractors: bool
|
|
27
|
+
Priority: int
|
|
28
|
+
MinimalPriority: int
|
|
29
|
+
ConnectionType: "enumPriceListConnectionType"
|
|
30
|
+
Type: "enumPriceFactorType"
|
|
31
|
+
SpecificWeekdays: bool
|
|
32
|
+
AvailableOnMonday: bool
|
|
33
|
+
AvailableOnTuesday: bool
|
|
34
|
+
AvailableOnWednesday: bool
|
|
35
|
+
AvailableOnThursday: bool
|
|
36
|
+
AvailableOnFriday: bool
|
|
37
|
+
AvailableOnSaturday: bool
|
|
38
|
+
AvailableOnSunday: bool
|
|
39
|
+
Products: List["PriceListSubjectDetails"]
|
|
40
|
+
ProductKinds: List["PriceListSubjectDetails"]
|
|
41
|
+
Contractors: List["PriceListSubject"]
|
|
42
|
+
ContractorKinds: List["PriceListSubject"]
|
|
43
|
+
|
|
44
|
+
class PriceListDetails(BaseModel):
|
|
45
|
+
Value: Optional[Decimal]
|
|
46
|
+
Currency: str
|
|
47
|
+
PriceType: "enumSalePriceType"
|
|
48
|
+
PriceKind: "enumPriceKind"
|
|
49
|
+
Type: "enumPriceFactorType"
|
|
50
|
+
|
|
51
|
+
class PriceListSubject(BaseModel):
|
|
52
|
+
Id: int
|
|
53
|
+
Code: str
|
|
54
|
+
Name: str
|
|
55
|
+
|
|
56
|
+
class PriceListSubjectDetails(BaseModel):
|
|
57
|
+
Prices: List["PriceListDetails"]
|
|
58
|
+
Id: int
|
|
59
|
+
Code: str
|
|
60
|
+
Name: str
|