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,237 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, List, Optional, overload
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from SymfWebAPI.operations import invoke_operation
|
|
6
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
7
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import DocumentSeries
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import FilterDocumentType
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PDF
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PDFSettings
|
|
13
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleCorrection
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocument
|
|
16
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentCorrection
|
|
17
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentListElement
|
|
18
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentStatus
|
|
19
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentWZ
|
|
20
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentZMO
|
|
21
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
22
|
+
from ._common import (
|
|
23
|
+
_prepare_Get,
|
|
24
|
+
_prepare_GetList,
|
|
25
|
+
_prepare_GetListByBuyer,
|
|
26
|
+
_prepare_GetListByRecipient,
|
|
27
|
+
_prepare_GetListByDimension,
|
|
28
|
+
_prepare_GetWZ,
|
|
29
|
+
_prepare_GetZMO,
|
|
30
|
+
_prepare_GetStatus,
|
|
31
|
+
_prepare_GetDocumentSeries,
|
|
32
|
+
_prepare_GetPDF,
|
|
33
|
+
_prepare_GetCorrection,
|
|
34
|
+
_prepare_GetCorrectionSequence,
|
|
35
|
+
_prepare_IncrementalSync,
|
|
36
|
+
_prepare_GetPagedDocument,
|
|
37
|
+
_prepare_GetDocumentTypesWithRange,
|
|
38
|
+
)
|
|
39
|
+
from ._ops import (
|
|
40
|
+
OP_Get,
|
|
41
|
+
OP_GetList,
|
|
42
|
+
OP_GetListByBuyer,
|
|
43
|
+
OP_GetListByRecipient,
|
|
44
|
+
OP_GetListByDimension,
|
|
45
|
+
OP_GetWZ,
|
|
46
|
+
OP_GetZMO,
|
|
47
|
+
OP_GetStatus,
|
|
48
|
+
OP_GetDocumentSeries,
|
|
49
|
+
OP_GetPDF,
|
|
50
|
+
OP_GetCorrection,
|
|
51
|
+
OP_GetCorrectionSequence,
|
|
52
|
+
OP_IncrementalSync,
|
|
53
|
+
OP_GetPagedDocument,
|
|
54
|
+
OP_GetDocumentTypesWithRange,
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
@overload
|
|
58
|
+
def Get(api: SyncInvokerProtocol, number: str, buffer: bool) -> ResponseEnvelope[SaleDocument]: ...
|
|
59
|
+
@overload
|
|
60
|
+
def Get(api: SyncRequestProtocol, number: str, buffer: bool) -> ResponseEnvelope[SaleDocument]: ...
|
|
61
|
+
@overload
|
|
62
|
+
def Get(api: AsyncInvokerProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleDocument]]: ...
|
|
63
|
+
@overload
|
|
64
|
+
def Get(api: AsyncRequestProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleDocument]]: ...
|
|
65
|
+
def Get(api: object, number: str, buffer: bool) -> ResponseEnvelope[SaleDocument] | Awaitable[ResponseEnvelope[SaleDocument]]:
|
|
66
|
+
params, data = _prepare_Get(number=number, buffer=buffer)
|
|
67
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
68
|
+
|
|
69
|
+
@overload
|
|
70
|
+
def GetList(api: SyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
71
|
+
@overload
|
|
72
|
+
def GetList(api: SyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
73
|
+
@overload
|
|
74
|
+
def GetList(api: AsyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
75
|
+
@overload
|
|
76
|
+
def GetList(api: AsyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
77
|
+
def GetList(api: object, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]] | Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]:
|
|
78
|
+
params, data = _prepare_GetList(dateFrom=dateFrom, dateTo=dateTo)
|
|
79
|
+
return invoke_operation(api, OP_GetList, params=params, data=data)
|
|
80
|
+
|
|
81
|
+
@overload
|
|
82
|
+
def GetListByBuyer(api: SyncInvokerProtocol, buyerCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
83
|
+
@overload
|
|
84
|
+
def GetListByBuyer(api: SyncRequestProtocol, buyerCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
85
|
+
@overload
|
|
86
|
+
def GetListByBuyer(api: AsyncInvokerProtocol, buyerCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
87
|
+
@overload
|
|
88
|
+
def GetListByBuyer(api: AsyncRequestProtocol, buyerCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
89
|
+
def GetListByBuyer(api: object, buyerCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]] | Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]:
|
|
90
|
+
params, data = _prepare_GetListByBuyer(buyerCode=buyerCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
91
|
+
return invoke_operation(api, OP_GetListByBuyer, params=params, data=data)
|
|
92
|
+
|
|
93
|
+
@overload
|
|
94
|
+
def GetListByRecipient(api: SyncInvokerProtocol, recipientCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
95
|
+
@overload
|
|
96
|
+
def GetListByRecipient(api: SyncRequestProtocol, recipientCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
97
|
+
@overload
|
|
98
|
+
def GetListByRecipient(api: AsyncInvokerProtocol, recipientCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
99
|
+
@overload
|
|
100
|
+
def GetListByRecipient(api: AsyncRequestProtocol, recipientCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
101
|
+
def GetListByRecipient(api: object, recipientCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]] | Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]:
|
|
102
|
+
params, data = _prepare_GetListByRecipient(recipientCode=recipientCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
103
|
+
return invoke_operation(api, OP_GetListByRecipient, params=params, data=data)
|
|
104
|
+
|
|
105
|
+
@overload
|
|
106
|
+
def GetListByDimension(api: SyncInvokerProtocol, dimensionCode: str, dictionaryValue: str) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
107
|
+
@overload
|
|
108
|
+
def GetListByDimension(api: SyncRequestProtocol, dimensionCode: str, dictionaryValue: str) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
109
|
+
@overload
|
|
110
|
+
def GetListByDimension(api: AsyncInvokerProtocol, dimensionCode: str, dictionaryValue: str) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
111
|
+
@overload
|
|
112
|
+
def GetListByDimension(api: AsyncRequestProtocol, dimensionCode: str, dictionaryValue: str) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
113
|
+
def GetListByDimension(api: object, dimensionCode: str, dictionaryValue: str) -> ResponseEnvelope[List[SaleDocumentListElement]] | Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]:
|
|
114
|
+
params, data = _prepare_GetListByDimension(dimensionCode=dimensionCode, dictionaryValue=dictionaryValue)
|
|
115
|
+
return invoke_operation(api, OP_GetListByDimension, params=params, data=data)
|
|
116
|
+
|
|
117
|
+
@overload
|
|
118
|
+
def GetWZ(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentWZ]]: ...
|
|
119
|
+
@overload
|
|
120
|
+
def GetWZ(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentWZ]]: ...
|
|
121
|
+
@overload
|
|
122
|
+
def GetWZ(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentWZ]]]: ...
|
|
123
|
+
@overload
|
|
124
|
+
def GetWZ(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentWZ]]]: ...
|
|
125
|
+
def GetWZ(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentWZ]] | Awaitable[ResponseEnvelope[List[SaleDocumentWZ]]]:
|
|
126
|
+
params, data = _prepare_GetWZ(documentNumber=documentNumber, buffer=buffer)
|
|
127
|
+
return invoke_operation(api, OP_GetWZ, params=params, data=data)
|
|
128
|
+
|
|
129
|
+
@overload
|
|
130
|
+
def GetZMO(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentZMO]]: ...
|
|
131
|
+
@overload
|
|
132
|
+
def GetZMO(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentZMO]]: ...
|
|
133
|
+
@overload
|
|
134
|
+
def GetZMO(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentZMO]]]: ...
|
|
135
|
+
@overload
|
|
136
|
+
def GetZMO(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentZMO]]]: ...
|
|
137
|
+
def GetZMO(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentZMO]] | Awaitable[ResponseEnvelope[List[SaleDocumentZMO]]]:
|
|
138
|
+
params, data = _prepare_GetZMO(documentNumber=documentNumber, buffer=buffer)
|
|
139
|
+
return invoke_operation(api, OP_GetZMO, params=params, data=data)
|
|
140
|
+
|
|
141
|
+
@overload
|
|
142
|
+
def GetStatus(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[SaleDocumentStatus]: ...
|
|
143
|
+
@overload
|
|
144
|
+
def GetStatus(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[SaleDocumentStatus]: ...
|
|
145
|
+
@overload
|
|
146
|
+
def GetStatus(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleDocumentStatus]]: ...
|
|
147
|
+
@overload
|
|
148
|
+
def GetStatus(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleDocumentStatus]]: ...
|
|
149
|
+
def GetStatus(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[SaleDocumentStatus] | Awaitable[ResponseEnvelope[SaleDocumentStatus]]:
|
|
150
|
+
params, data = _prepare_GetStatus(documentNumber=documentNumber, buffer=buffer)
|
|
151
|
+
return invoke_operation(api, OP_GetStatus, params=params, data=data)
|
|
152
|
+
|
|
153
|
+
@overload
|
|
154
|
+
def GetDocumentSeries(api: SyncInvokerProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
155
|
+
@overload
|
|
156
|
+
def GetDocumentSeries(api: SyncRequestProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
157
|
+
@overload
|
|
158
|
+
def GetDocumentSeries(api: AsyncInvokerProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
159
|
+
@overload
|
|
160
|
+
def GetDocumentSeries(api: AsyncRequestProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
161
|
+
def GetDocumentSeries(api: object, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]] | Awaitable[ResponseEnvelope[List[DocumentSeries]]]:
|
|
162
|
+
params, data = _prepare_GetDocumentSeries(documentTypeId=documentTypeId)
|
|
163
|
+
return invoke_operation(api, OP_GetDocumentSeries, params=params, data=data)
|
|
164
|
+
|
|
165
|
+
@overload
|
|
166
|
+
def GetPDF(api: SyncInvokerProtocol, documentNumber: str, buffer: bool, settings: "PDFSettings") -> ResponseEnvelope[PDF]: ...
|
|
167
|
+
@overload
|
|
168
|
+
def GetPDF(api: SyncRequestProtocol, documentNumber: str, buffer: bool, settings: "PDFSettings") -> ResponseEnvelope[PDF]: ...
|
|
169
|
+
@overload
|
|
170
|
+
def GetPDF(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool, settings: "PDFSettings") -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
171
|
+
@overload
|
|
172
|
+
def GetPDF(api: AsyncRequestProtocol, documentNumber: str, buffer: bool, settings: "PDFSettings") -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
173
|
+
def GetPDF(api: object, documentNumber: str, buffer: bool, settings: "PDFSettings") -> ResponseEnvelope[PDF] | Awaitable[ResponseEnvelope[PDF]]:
|
|
174
|
+
params, data = _prepare_GetPDF(documentNumber=documentNumber, buffer=buffer, settings=settings)
|
|
175
|
+
return invoke_operation(api, OP_GetPDF, params=params, data=data)
|
|
176
|
+
|
|
177
|
+
@overload
|
|
178
|
+
def GetCorrection(api: SyncInvokerProtocol, number: str, buffer: bool) -> ResponseEnvelope[SaleCorrection]: ...
|
|
179
|
+
@overload
|
|
180
|
+
def GetCorrection(api: SyncRequestProtocol, number: str, buffer: bool) -> ResponseEnvelope[SaleCorrection]: ...
|
|
181
|
+
@overload
|
|
182
|
+
def GetCorrection(api: AsyncInvokerProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleCorrection]]: ...
|
|
183
|
+
@overload
|
|
184
|
+
def GetCorrection(api: AsyncRequestProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[SaleCorrection]]: ...
|
|
185
|
+
def GetCorrection(api: object, number: str, buffer: bool) -> ResponseEnvelope[SaleCorrection] | Awaitable[ResponseEnvelope[SaleCorrection]]:
|
|
186
|
+
params, data = _prepare_GetCorrection(number=number, buffer=buffer)
|
|
187
|
+
return invoke_operation(api, OP_GetCorrection, params=params, data=data)
|
|
188
|
+
|
|
189
|
+
@overload
|
|
190
|
+
def GetCorrectionSequence(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentCorrection]]: ...
|
|
191
|
+
@overload
|
|
192
|
+
def GetCorrectionSequence(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentCorrection]]: ...
|
|
193
|
+
@overload
|
|
194
|
+
def GetCorrectionSequence(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentCorrection]]]: ...
|
|
195
|
+
@overload
|
|
196
|
+
def GetCorrectionSequence(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[SaleDocumentCorrection]]]: ...
|
|
197
|
+
def GetCorrectionSequence(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[SaleDocumentCorrection]] | Awaitable[ResponseEnvelope[List[SaleDocumentCorrection]]]:
|
|
198
|
+
params, data = _prepare_GetCorrectionSequence(documentNumber=documentNumber, buffer=buffer)
|
|
199
|
+
return invoke_operation(api, OP_GetCorrectionSequence, params=params, data=data)
|
|
200
|
+
|
|
201
|
+
@overload
|
|
202
|
+
def IncrementalSync(api: SyncInvokerProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
203
|
+
@overload
|
|
204
|
+
def IncrementalSync(api: SyncRequestProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
205
|
+
@overload
|
|
206
|
+
def IncrementalSync(api: AsyncInvokerProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
207
|
+
@overload
|
|
208
|
+
def IncrementalSync(api: AsyncRequestProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
209
|
+
def IncrementalSync(api: object) -> ResponseEnvelope[List[IncrementalSyncListElement]] | Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]:
|
|
210
|
+
params, data = _prepare_IncrementalSync()
|
|
211
|
+
return invoke_operation(api, OP_IncrementalSync, params=params, data=data)
|
|
212
|
+
|
|
213
|
+
@overload
|
|
214
|
+
def GetPagedDocument(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
215
|
+
@overload
|
|
216
|
+
def GetPagedDocument(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
217
|
+
@overload
|
|
218
|
+
def GetPagedDocument(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
219
|
+
@overload
|
|
220
|
+
def GetPagedDocument(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
221
|
+
def GetPagedDocument(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
222
|
+
params, data = _prepare_GetPagedDocument(page=page, size=size, orderBy=orderBy)
|
|
223
|
+
return invoke_operation(api, OP_GetPagedDocument, params=params, data=data)
|
|
224
|
+
|
|
225
|
+
@overload
|
|
226
|
+
def GetDocumentTypesWithRange(api: SyncInvokerProtocol, dateFrom: "FilterDocumentType", dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
227
|
+
@overload
|
|
228
|
+
def GetDocumentTypesWithRange(api: SyncRequestProtocol, dateFrom: "FilterDocumentType", dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]]: ...
|
|
229
|
+
@overload
|
|
230
|
+
def GetDocumentTypesWithRange(api: AsyncInvokerProtocol, dateFrom: "FilterDocumentType", dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
231
|
+
@overload
|
|
232
|
+
def GetDocumentTypesWithRange(api: AsyncRequestProtocol, dateFrom: "FilterDocumentType", dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]: ...
|
|
233
|
+
def GetDocumentTypesWithRange(api: object, dateFrom: "FilterDocumentType", dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SaleDocumentListElement]] | Awaitable[ResponseEnvelope[List[SaleDocumentListElement]]]:
|
|
234
|
+
params, data = _prepare_GetDocumentTypesWithRange(dateFrom=dateFrom, dateTo=dateTo)
|
|
235
|
+
return invoke_operation(api, OP_GetDocumentTypesWithRange, params=params, data=data)
|
|
236
|
+
|
|
237
|
+
__all__ = ["Get", "GetList", "GetListByBuyer", "GetListByRecipient", "GetListByDimension", "GetWZ", "GetZMO", "GetStatus", "GetDocumentSeries", "GetPDF", "GetCorrection", "GetCorrectionSequence", "IncrementalSync", "GetPagedDocument", "GetDocumentTypesWithRange"]
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/Sales')
|
|
6
|
+
def _prepare_Get(*, number, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["number"] = number
|
|
9
|
+
params["buffer"] = buffer
|
|
10
|
+
data = None
|
|
11
|
+
return params or None, data
|
|
12
|
+
|
|
13
|
+
_REQUEST_GetList = ('GET', '/api/Sales/Filter')
|
|
14
|
+
def _prepare_GetList(*, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
if dateFrom is not None:
|
|
17
|
+
params["dateFrom"] = dateFrom
|
|
18
|
+
if dateTo is not None:
|
|
19
|
+
params["dateTo"] = dateTo
|
|
20
|
+
data = None
|
|
21
|
+
return params or None, data
|
|
22
|
+
|
|
23
|
+
_REQUEST_GetListByBuyer = ('GET', '/api/Sales/Filter')
|
|
24
|
+
def _prepare_GetListByBuyer(*, buyerCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
params["buyerCode"] = buyerCode
|
|
27
|
+
if dateFrom is not None:
|
|
28
|
+
params["dateFrom"] = dateFrom
|
|
29
|
+
if dateTo is not None:
|
|
30
|
+
params["dateTo"] = dateTo
|
|
31
|
+
data = None
|
|
32
|
+
return params or None, data
|
|
33
|
+
|
|
34
|
+
_REQUEST_GetListByRecipient = ('GET', '/api/Sales/Filter')
|
|
35
|
+
def _prepare_GetListByRecipient(*, recipientCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
36
|
+
params: dict[str, Any] = {}
|
|
37
|
+
params["recipientCode"] = recipientCode
|
|
38
|
+
if dateFrom is not None:
|
|
39
|
+
params["dateFrom"] = dateFrom
|
|
40
|
+
if dateTo is not None:
|
|
41
|
+
params["dateTo"] = dateTo
|
|
42
|
+
data = None
|
|
43
|
+
return params or None, data
|
|
44
|
+
|
|
45
|
+
_REQUEST_GetListByDimension = ('GET', '/api/Sales/Filter')
|
|
46
|
+
def _prepare_GetListByDimension(*, dimensionCode, dictionaryValue) -> tuple[dict[str, Any] | None, Any]:
|
|
47
|
+
params: dict[str, Any] = {}
|
|
48
|
+
params["dimensionCode"] = dimensionCode
|
|
49
|
+
params["dictionaryValue"] = dictionaryValue
|
|
50
|
+
data = None
|
|
51
|
+
return params or None, data
|
|
52
|
+
|
|
53
|
+
_REQUEST_GetWZ = ('GET', '/api/Sales/WZ')
|
|
54
|
+
def _prepare_GetWZ(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
55
|
+
params: dict[str, Any] = {}
|
|
56
|
+
params["documentNumber"] = documentNumber
|
|
57
|
+
params["buffer"] = buffer
|
|
58
|
+
data = None
|
|
59
|
+
return params or None, data
|
|
60
|
+
|
|
61
|
+
_REQUEST_GetZMO = ('GET', '/api/Sales/ZMO')
|
|
62
|
+
def _prepare_GetZMO(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
63
|
+
params: dict[str, Any] = {}
|
|
64
|
+
params["documentNumber"] = documentNumber
|
|
65
|
+
params["buffer"] = buffer
|
|
66
|
+
data = None
|
|
67
|
+
return params or None, data
|
|
68
|
+
|
|
69
|
+
_REQUEST_GetStatus = ('GET', '/api/Sales/Status')
|
|
70
|
+
def _prepare_GetStatus(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
71
|
+
params: dict[str, Any] = {}
|
|
72
|
+
params["documentNumber"] = documentNumber
|
|
73
|
+
params["buffer"] = buffer
|
|
74
|
+
data = None
|
|
75
|
+
return params or None, data
|
|
76
|
+
|
|
77
|
+
_REQUEST_GetDocumentSeries = ('GET', '/api/Sales/DocumentSeries')
|
|
78
|
+
def _prepare_GetDocumentSeries(*, documentTypeId) -> tuple[dict[str, Any] | None, Any]:
|
|
79
|
+
params: dict[str, Any] = {}
|
|
80
|
+
params["documentTypeId"] = documentTypeId
|
|
81
|
+
data = None
|
|
82
|
+
return params or None, data
|
|
83
|
+
|
|
84
|
+
_REQUEST_GetPDF = ('PATCH', '/api/Sales/PDF')
|
|
85
|
+
def _prepare_GetPDF(*, documentNumber, buffer, settings) -> tuple[dict[str, Any] | None, Any]:
|
|
86
|
+
params: dict[str, Any] = {}
|
|
87
|
+
params["documentNumber"] = documentNumber
|
|
88
|
+
params["buffer"] = buffer
|
|
89
|
+
data = settings.model_dump_json(exclude_unset=True) if settings is not None else None
|
|
90
|
+
return params or None, data
|
|
91
|
+
|
|
92
|
+
_REQUEST_GetCorrection = ('GET', '/api/Sales/Correction')
|
|
93
|
+
def _prepare_GetCorrection(*, number, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
94
|
+
params: dict[str, Any] = {}
|
|
95
|
+
params["number"] = number
|
|
96
|
+
params["buffer"] = buffer
|
|
97
|
+
data = None
|
|
98
|
+
return params or None, data
|
|
99
|
+
|
|
100
|
+
_REQUEST_GetCorrectionSequence = ('GET', '/api/Sales/CorrectionSequence')
|
|
101
|
+
def _prepare_GetCorrectionSequence(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
102
|
+
params: dict[str, Any] = {}
|
|
103
|
+
params["documentNumber"] = documentNumber
|
|
104
|
+
params["buffer"] = buffer
|
|
105
|
+
data = None
|
|
106
|
+
return params or None, data
|
|
107
|
+
|
|
108
|
+
_REQUEST_IncrementalSync = ('GET', '/api/Sales/IncrementalSync')
|
|
109
|
+
def _prepare_IncrementalSync() -> tuple[dict[str, Any] | None, Any]:
|
|
110
|
+
params: dict[str, Any] = {}
|
|
111
|
+
data = None
|
|
112
|
+
return params or None, data
|
|
113
|
+
|
|
114
|
+
_REQUEST_GetPagedDocument = ('GET', '/api/Sales/Page')
|
|
115
|
+
def _prepare_GetPagedDocument(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
116
|
+
params: dict[str, Any] = {}
|
|
117
|
+
params["page"] = page
|
|
118
|
+
params["size"] = size
|
|
119
|
+
params["orderBy"] = orderBy.value
|
|
120
|
+
data = None
|
|
121
|
+
return params or None, data
|
|
122
|
+
|
|
123
|
+
_REQUEST_GetDocumentTypesWithRange = ('GET', '/api/Sales/Filter/ByDocumentTypes')
|
|
124
|
+
def _prepare_GetDocumentTypesWithRange(*, dateFrom, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
125
|
+
params: dict[str, Any] = {}
|
|
126
|
+
params["dateFrom"] = dateFrom
|
|
127
|
+
if dateTo is not None:
|
|
128
|
+
params["dateTo"] = dateTo
|
|
129
|
+
data = None
|
|
130
|
+
return params or None, data
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from pydantic import TypeAdapter
|
|
6
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
7
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import DocumentSeries
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import FilterDocumentType
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PDF
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PDFSettings
|
|
13
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleCorrection
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocument
|
|
16
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentCorrection
|
|
17
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentListElement
|
|
18
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentStatus
|
|
19
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentWZ
|
|
20
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels import SaleDocumentZMO
|
|
21
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
22
|
+
|
|
23
|
+
_ADAPTER_Get = TypeAdapter(SaleDocument)
|
|
24
|
+
|
|
25
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[SaleDocument]:
|
|
26
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
27
|
+
OP_Get = OperationSpec(method='GET', path='/api/Sales', parser=_parse_Get)
|
|
28
|
+
|
|
29
|
+
_ADAPTER_GetList = TypeAdapter(List[SaleDocumentListElement])
|
|
30
|
+
|
|
31
|
+
def _parse_GetList(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentListElement]]:
|
|
32
|
+
return parse_with_adapter(envelope, _ADAPTER_GetList)
|
|
33
|
+
OP_GetList = OperationSpec(method='GET', path='/api/Sales/Filter', parser=_parse_GetList)
|
|
34
|
+
|
|
35
|
+
_ADAPTER_GetListByBuyer = TypeAdapter(List[SaleDocumentListElement])
|
|
36
|
+
|
|
37
|
+
def _parse_GetListByBuyer(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentListElement]]:
|
|
38
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByBuyer)
|
|
39
|
+
OP_GetListByBuyer = OperationSpec(method='GET', path='/api/Sales/Filter', parser=_parse_GetListByBuyer)
|
|
40
|
+
|
|
41
|
+
_ADAPTER_GetListByRecipient = TypeAdapter(List[SaleDocumentListElement])
|
|
42
|
+
|
|
43
|
+
def _parse_GetListByRecipient(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentListElement]]:
|
|
44
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByRecipient)
|
|
45
|
+
OP_GetListByRecipient = OperationSpec(method='GET', path='/api/Sales/Filter', parser=_parse_GetListByRecipient)
|
|
46
|
+
|
|
47
|
+
_ADAPTER_GetListByDimension = TypeAdapter(List[SaleDocumentListElement])
|
|
48
|
+
|
|
49
|
+
def _parse_GetListByDimension(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentListElement]]:
|
|
50
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByDimension)
|
|
51
|
+
OP_GetListByDimension = OperationSpec(method='GET', path='/api/Sales/Filter', parser=_parse_GetListByDimension)
|
|
52
|
+
|
|
53
|
+
_ADAPTER_GetWZ = TypeAdapter(List[SaleDocumentWZ])
|
|
54
|
+
|
|
55
|
+
def _parse_GetWZ(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentWZ]]:
|
|
56
|
+
return parse_with_adapter(envelope, _ADAPTER_GetWZ)
|
|
57
|
+
OP_GetWZ = OperationSpec(method='GET', path='/api/Sales/WZ', parser=_parse_GetWZ)
|
|
58
|
+
|
|
59
|
+
_ADAPTER_GetZMO = TypeAdapter(List[SaleDocumentZMO])
|
|
60
|
+
|
|
61
|
+
def _parse_GetZMO(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentZMO]]:
|
|
62
|
+
return parse_with_adapter(envelope, _ADAPTER_GetZMO)
|
|
63
|
+
OP_GetZMO = OperationSpec(method='GET', path='/api/Sales/ZMO', parser=_parse_GetZMO)
|
|
64
|
+
|
|
65
|
+
_ADAPTER_GetStatus = TypeAdapter(SaleDocumentStatus)
|
|
66
|
+
|
|
67
|
+
def _parse_GetStatus(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[SaleDocumentStatus]:
|
|
68
|
+
return parse_with_adapter(envelope, _ADAPTER_GetStatus)
|
|
69
|
+
OP_GetStatus = OperationSpec(method='GET', path='/api/Sales/Status', parser=_parse_GetStatus)
|
|
70
|
+
|
|
71
|
+
_ADAPTER_GetDocumentSeries = TypeAdapter(List[DocumentSeries])
|
|
72
|
+
|
|
73
|
+
def _parse_GetDocumentSeries(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[DocumentSeries]]:
|
|
74
|
+
return parse_with_adapter(envelope, _ADAPTER_GetDocumentSeries)
|
|
75
|
+
OP_GetDocumentSeries = OperationSpec(method='GET', path='/api/Sales/DocumentSeries', parser=_parse_GetDocumentSeries)
|
|
76
|
+
|
|
77
|
+
_ADAPTER_GetPDF = TypeAdapter(PDF)
|
|
78
|
+
|
|
79
|
+
def _parse_GetPDF(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PDF]:
|
|
80
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPDF)
|
|
81
|
+
OP_GetPDF = OperationSpec(method='PATCH', path='/api/Sales/PDF', parser=_parse_GetPDF)
|
|
82
|
+
|
|
83
|
+
_ADAPTER_GetCorrection = TypeAdapter(SaleCorrection)
|
|
84
|
+
|
|
85
|
+
def _parse_GetCorrection(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[SaleCorrection]:
|
|
86
|
+
return parse_with_adapter(envelope, _ADAPTER_GetCorrection)
|
|
87
|
+
OP_GetCorrection = OperationSpec(method='GET', path='/api/Sales/Correction', parser=_parse_GetCorrection)
|
|
88
|
+
|
|
89
|
+
_ADAPTER_GetCorrectionSequence = TypeAdapter(List[SaleDocumentCorrection])
|
|
90
|
+
|
|
91
|
+
def _parse_GetCorrectionSequence(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentCorrection]]:
|
|
92
|
+
return parse_with_adapter(envelope, _ADAPTER_GetCorrectionSequence)
|
|
93
|
+
OP_GetCorrectionSequence = OperationSpec(method='GET', path='/api/Sales/CorrectionSequence', parser=_parse_GetCorrectionSequence)
|
|
94
|
+
|
|
95
|
+
_ADAPTER_IncrementalSync = TypeAdapter(List[IncrementalSyncListElement])
|
|
96
|
+
|
|
97
|
+
def _parse_IncrementalSync(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[IncrementalSyncListElement]]:
|
|
98
|
+
return parse_with_adapter(envelope, _ADAPTER_IncrementalSync)
|
|
99
|
+
OP_IncrementalSync = OperationSpec(method='GET', path='/api/Sales/IncrementalSync', parser=_parse_IncrementalSync)
|
|
100
|
+
|
|
101
|
+
_ADAPTER_GetPagedDocument = TypeAdapter(Page)
|
|
102
|
+
|
|
103
|
+
def _parse_GetPagedDocument(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
104
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPagedDocument)
|
|
105
|
+
OP_GetPagedDocument = OperationSpec(method='GET', path='/api/Sales/Page', parser=_parse_GetPagedDocument)
|
|
106
|
+
|
|
107
|
+
_ADAPTER_GetDocumentTypesWithRange = TypeAdapter(List[SaleDocumentListElement])
|
|
108
|
+
|
|
109
|
+
def _parse_GetDocumentTypesWithRange(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SaleDocumentListElement]]:
|
|
110
|
+
return parse_with_adapter(envelope, _ADAPTER_GetDocumentTypesWithRange)
|
|
111
|
+
OP_GetDocumentTypesWithRange = OperationSpec(method='GET', path='/api/Sales/Filter/ByDocumentTypes', parser=_parse_GetDocumentTypesWithRange)
|
|
@@ -0,0 +1,70 @@
|
|
|
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.FKF.Common.ViewModels import Dimension
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PositionDimension
|
|
9
|
+
from ._common import (
|
|
10
|
+
_prepare_Get,
|
|
11
|
+
_prepare_GetPositionsByDocumentId,
|
|
12
|
+
_prepare_GetPositionsByDocumentNumber,
|
|
13
|
+
_prepare_GetPosition,
|
|
14
|
+
)
|
|
15
|
+
from ._ops import (
|
|
16
|
+
OP_Get,
|
|
17
|
+
OP_GetPositionsByDocumentId,
|
|
18
|
+
OP_GetPositionsByDocumentNumber,
|
|
19
|
+
OP_GetPosition,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
@overload
|
|
23
|
+
def Get(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[Dimension]]: ...
|
|
24
|
+
@overload
|
|
25
|
+
def Get(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[Dimension]]: ...
|
|
26
|
+
@overload
|
|
27
|
+
def Get(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
28
|
+
@overload
|
|
29
|
+
def Get(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
30
|
+
def Get(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[Dimension]] | Awaitable[ResponseEnvelope[List[Dimension]]]:
|
|
31
|
+
params, data = _prepare_Get(documentNumber=documentNumber, buffer=buffer)
|
|
32
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
33
|
+
|
|
34
|
+
@overload
|
|
35
|
+
def GetPositionsByDocumentId(api: SyncInvokerProtocol, documentId: int) -> ResponseEnvelope[List[PositionDimension]]: ...
|
|
36
|
+
@overload
|
|
37
|
+
def GetPositionsByDocumentId(api: SyncRequestProtocol, documentId: int) -> ResponseEnvelope[List[PositionDimension]]: ...
|
|
38
|
+
@overload
|
|
39
|
+
def GetPositionsByDocumentId(api: AsyncInvokerProtocol, documentId: int) -> Awaitable[ResponseEnvelope[List[PositionDimension]]]: ...
|
|
40
|
+
@overload
|
|
41
|
+
def GetPositionsByDocumentId(api: AsyncRequestProtocol, documentId: int) -> Awaitable[ResponseEnvelope[List[PositionDimension]]]: ...
|
|
42
|
+
def GetPositionsByDocumentId(api: object, documentId: int) -> ResponseEnvelope[List[PositionDimension]] | Awaitable[ResponseEnvelope[List[PositionDimension]]]:
|
|
43
|
+
params, data = _prepare_GetPositionsByDocumentId(documentId=documentId)
|
|
44
|
+
return invoke_operation(api, OP_GetPositionsByDocumentId, params=params, data=data)
|
|
45
|
+
|
|
46
|
+
@overload
|
|
47
|
+
def GetPositionsByDocumentNumber(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[PositionDimension]]: ...
|
|
48
|
+
@overload
|
|
49
|
+
def GetPositionsByDocumentNumber(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[PositionDimension]]: ...
|
|
50
|
+
@overload
|
|
51
|
+
def GetPositionsByDocumentNumber(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[PositionDimension]]]: ...
|
|
52
|
+
@overload
|
|
53
|
+
def GetPositionsByDocumentNumber(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[List[PositionDimension]]]: ...
|
|
54
|
+
def GetPositionsByDocumentNumber(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[List[PositionDimension]] | Awaitable[ResponseEnvelope[List[PositionDimension]]]:
|
|
55
|
+
params, data = _prepare_GetPositionsByDocumentNumber(documentNumber=documentNumber, buffer=buffer)
|
|
56
|
+
return invoke_operation(api, OP_GetPositionsByDocumentNumber, params=params, data=data)
|
|
57
|
+
|
|
58
|
+
@overload
|
|
59
|
+
def GetPosition(api: SyncInvokerProtocol, positionId: int) -> ResponseEnvelope[List[Dimension]]: ...
|
|
60
|
+
@overload
|
|
61
|
+
def GetPosition(api: SyncRequestProtocol, positionId: int) -> ResponseEnvelope[List[Dimension]]: ...
|
|
62
|
+
@overload
|
|
63
|
+
def GetPosition(api: AsyncInvokerProtocol, positionId: int) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
64
|
+
@overload
|
|
65
|
+
def GetPosition(api: AsyncRequestProtocol, positionId: int) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
66
|
+
def GetPosition(api: object, positionId: int) -> ResponseEnvelope[List[Dimension]] | Awaitable[ResponseEnvelope[List[Dimension]]]:
|
|
67
|
+
params, data = _prepare_GetPosition(positionId=positionId)
|
|
68
|
+
return invoke_operation(api, OP_GetPosition, params=params, data=data)
|
|
69
|
+
|
|
70
|
+
__all__ = ["Get", "GetPositionsByDocumentId", "GetPositionsByDocumentNumber", "GetPosition"]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/v2/SalesDimensions')
|
|
6
|
+
def _prepare_Get(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["documentNumber"] = documentNumber
|
|
9
|
+
params["buffer"] = buffer
|
|
10
|
+
data = None
|
|
11
|
+
return params or None, data
|
|
12
|
+
|
|
13
|
+
_REQUEST_GetPositionsByDocumentId = ('GET', '/api/v2/SalesDimensions/Positions')
|
|
14
|
+
def _prepare_GetPositionsByDocumentId(*, documentId) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
params["documentId"] = documentId
|
|
17
|
+
data = None
|
|
18
|
+
return params or None, data
|
|
19
|
+
|
|
20
|
+
_REQUEST_GetPositionsByDocumentNumber = ('GET', '/api/v2/SalesDimensions/Positions')
|
|
21
|
+
def _prepare_GetPositionsByDocumentNumber(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
22
|
+
params: dict[str, Any] = {}
|
|
23
|
+
params["documentNumber"] = documentNumber
|
|
24
|
+
params["buffer"] = buffer
|
|
25
|
+
data = None
|
|
26
|
+
return params or None, data
|
|
27
|
+
|
|
28
|
+
_REQUEST_GetPosition = ('GET', '/api/v2/SalesDimensions/Positions')
|
|
29
|
+
def _prepare_GetPosition(*, positionId) -> tuple[dict[str, Any] | None, Any]:
|
|
30
|
+
params: dict[str, Any] = {}
|
|
31
|
+
params["positionId"] = positionId
|
|
32
|
+
data = None
|
|
33
|
+
return params or None, data
|
|
@@ -0,0 +1,32 @@
|
|
|
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.FKF.Common.ViewModels import Dimension
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PositionDimension
|
|
9
|
+
|
|
10
|
+
_ADAPTER_Get = TypeAdapter(List[Dimension])
|
|
11
|
+
|
|
12
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
13
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
14
|
+
OP_Get = OperationSpec(method='GET', path='/api/v2/SalesDimensions', parser=_parse_Get)
|
|
15
|
+
|
|
16
|
+
_ADAPTER_GetPositionsByDocumentId = TypeAdapter(List[PositionDimension])
|
|
17
|
+
|
|
18
|
+
def _parse_GetPositionsByDocumentId(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PositionDimension]]:
|
|
19
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPositionsByDocumentId)
|
|
20
|
+
OP_GetPositionsByDocumentId = OperationSpec(method='GET', path='/api/v2/SalesDimensions/Positions', parser=_parse_GetPositionsByDocumentId)
|
|
21
|
+
|
|
22
|
+
_ADAPTER_GetPositionsByDocumentNumber = TypeAdapter(List[PositionDimension])
|
|
23
|
+
|
|
24
|
+
def _parse_GetPositionsByDocumentNumber(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PositionDimension]]:
|
|
25
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPositionsByDocumentNumber)
|
|
26
|
+
OP_GetPositionsByDocumentNumber = OperationSpec(method='GET', path='/api/v2/SalesDimensions/Positions', parser=_parse_GetPositionsByDocumentNumber)
|
|
27
|
+
|
|
28
|
+
_ADAPTER_GetPosition = TypeAdapter(List[Dimension])
|
|
29
|
+
|
|
30
|
+
def _parse_GetPosition(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
31
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPosition)
|
|
32
|
+
OP_GetPosition = OperationSpec(method='GET', path='/api/v2/SalesDimensions/Positions', parser=_parse_GetPosition)
|