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,86 @@
|
|
|
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.Purchases.ViewModels.V2026_1 import PurchaseCorrection
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels import PurchaseCorrectionIssue
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels.V2026_1 import PurchaseDocument
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels import PurchaseDocumentPZ
|
|
11
|
+
from ._common import (
|
|
12
|
+
_prepare_AddNew,
|
|
13
|
+
_prepare_Issue,
|
|
14
|
+
_prepare_IssuePZ,
|
|
15
|
+
_prepare_IssuePZCorrection,
|
|
16
|
+
_prepare_ChangeDocumentNumber,
|
|
17
|
+
)
|
|
18
|
+
from ._ops import (
|
|
19
|
+
OP_AddNew,
|
|
20
|
+
OP_Issue,
|
|
21
|
+
OP_IssuePZ,
|
|
22
|
+
OP_IssuePZCorrection,
|
|
23
|
+
OP_ChangeDocumentNumber,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
@overload
|
|
27
|
+
def AddNew(api: SyncInvokerProtocol, issue: bool, correction: "PurchaseCorrectionIssue") -> ResponseEnvelope[PurchaseCorrection]: ...
|
|
28
|
+
@overload
|
|
29
|
+
def AddNew(api: SyncRequestProtocol, issue: bool, correction: "PurchaseCorrectionIssue") -> ResponseEnvelope[PurchaseCorrection]: ...
|
|
30
|
+
@overload
|
|
31
|
+
def AddNew(api: AsyncInvokerProtocol, issue: bool, correction: "PurchaseCorrectionIssue") -> Awaitable[ResponseEnvelope[PurchaseCorrection]]: ...
|
|
32
|
+
@overload
|
|
33
|
+
def AddNew(api: AsyncRequestProtocol, issue: bool, correction: "PurchaseCorrectionIssue") -> Awaitable[ResponseEnvelope[PurchaseCorrection]]: ...
|
|
34
|
+
def AddNew(api: object, issue: bool, correction: "PurchaseCorrectionIssue") -> ResponseEnvelope[PurchaseCorrection] | Awaitable[ResponseEnvelope[PurchaseCorrection]]:
|
|
35
|
+
params, data = _prepare_AddNew(issue=issue, correction=correction)
|
|
36
|
+
return invoke_operation(api, OP_AddNew, params=params, data=data)
|
|
37
|
+
|
|
38
|
+
@overload
|
|
39
|
+
def Issue(api: SyncInvokerProtocol, number: str) -> ResponseEnvelope[PurchaseDocument]: ...
|
|
40
|
+
@overload
|
|
41
|
+
def Issue(api: SyncRequestProtocol, number: str) -> ResponseEnvelope[PurchaseDocument]: ...
|
|
42
|
+
@overload
|
|
43
|
+
def Issue(api: AsyncInvokerProtocol, number: str) -> Awaitable[ResponseEnvelope[PurchaseDocument]]: ...
|
|
44
|
+
@overload
|
|
45
|
+
def Issue(api: AsyncRequestProtocol, number: str) -> Awaitable[ResponseEnvelope[PurchaseDocument]]: ...
|
|
46
|
+
def Issue(api: object, number: str) -> ResponseEnvelope[PurchaseDocument] | Awaitable[ResponseEnvelope[PurchaseDocument]]:
|
|
47
|
+
params, data = _prepare_Issue(number=number)
|
|
48
|
+
return invoke_operation(api, OP_Issue, params=params, data=data)
|
|
49
|
+
|
|
50
|
+
@overload
|
|
51
|
+
def IssuePZ(api: SyncInvokerProtocol, documentNumber: str) -> ResponseEnvelope[List[PurchaseDocumentPZ]]: ...
|
|
52
|
+
@overload
|
|
53
|
+
def IssuePZ(api: SyncRequestProtocol, documentNumber: str) -> ResponseEnvelope[List[PurchaseDocumentPZ]]: ...
|
|
54
|
+
@overload
|
|
55
|
+
def IssuePZ(api: AsyncInvokerProtocol, documentNumber: str) -> Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]: ...
|
|
56
|
+
@overload
|
|
57
|
+
def IssuePZ(api: AsyncRequestProtocol, documentNumber: str) -> Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]: ...
|
|
58
|
+
def IssuePZ(api: object, documentNumber: str) -> ResponseEnvelope[List[PurchaseDocumentPZ]] | Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]:
|
|
59
|
+
params, data = _prepare_IssuePZ(documentNumber=documentNumber)
|
|
60
|
+
return invoke_operation(api, OP_IssuePZ, params=params, data=data)
|
|
61
|
+
|
|
62
|
+
@overload
|
|
63
|
+
def IssuePZCorrection(api: SyncInvokerProtocol, documentNumber: str, issue: bool) -> ResponseEnvelope[List[PurchaseDocumentPZ]]: ...
|
|
64
|
+
@overload
|
|
65
|
+
def IssuePZCorrection(api: SyncRequestProtocol, documentNumber: str, issue: bool) -> ResponseEnvelope[List[PurchaseDocumentPZ]]: ...
|
|
66
|
+
@overload
|
|
67
|
+
def IssuePZCorrection(api: AsyncInvokerProtocol, documentNumber: str, issue: bool) -> Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]: ...
|
|
68
|
+
@overload
|
|
69
|
+
def IssuePZCorrection(api: AsyncRequestProtocol, documentNumber: str, issue: bool) -> Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]: ...
|
|
70
|
+
def IssuePZCorrection(api: object, documentNumber: str, issue: bool) -> ResponseEnvelope[List[PurchaseDocumentPZ]] | Awaitable[ResponseEnvelope[List[PurchaseDocumentPZ]]]:
|
|
71
|
+
params, data = _prepare_IssuePZCorrection(documentNumber=documentNumber, issue=issue)
|
|
72
|
+
return invoke_operation(api, OP_IssuePZCorrection, params=params, data=data)
|
|
73
|
+
|
|
74
|
+
@overload
|
|
75
|
+
def ChangeDocumentNumber(api: SyncInvokerProtocol, id: int, number: str) -> ResponseEnvelope[None]: ...
|
|
76
|
+
@overload
|
|
77
|
+
def ChangeDocumentNumber(api: SyncRequestProtocol, id: int, number: str) -> ResponseEnvelope[None]: ...
|
|
78
|
+
@overload
|
|
79
|
+
def ChangeDocumentNumber(api: AsyncInvokerProtocol, id: int, number: str) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
80
|
+
@overload
|
|
81
|
+
def ChangeDocumentNumber(api: AsyncRequestProtocol, id: int, number: str) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
82
|
+
def ChangeDocumentNumber(api: object, id: int, number: str) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
83
|
+
params, data = _prepare_ChangeDocumentNumber(id=id, number=number)
|
|
84
|
+
return invoke_operation(api, OP_ChangeDocumentNumber, params=params, data=data)
|
|
85
|
+
|
|
86
|
+
__all__ = ["AddNew", "Issue", "IssuePZ", "IssuePZCorrection", "ChangeDocumentNumber"]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_AddNew = ('POST', '/api/PurchasesIssue/NewCorrection')
|
|
6
|
+
def _prepare_AddNew(*, issue, correction) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["issue"] = issue
|
|
9
|
+
data = correction.model_dump_json(exclude_unset=True) if correction is not None else None
|
|
10
|
+
return params or None, data
|
|
11
|
+
|
|
12
|
+
_REQUEST_Issue = ('PUT', '/api/PurchasesIssue/InBuffer')
|
|
13
|
+
def _prepare_Issue(*, number) -> tuple[dict[str, Any] | None, Any]:
|
|
14
|
+
params: dict[str, Any] = {}
|
|
15
|
+
params["number"] = number
|
|
16
|
+
data = None
|
|
17
|
+
return params or None, data
|
|
18
|
+
|
|
19
|
+
_REQUEST_IssuePZ = ('PUT', '/api/PurchasesIssue/PZ')
|
|
20
|
+
def _prepare_IssuePZ(*, documentNumber) -> tuple[dict[str, Any] | None, Any]:
|
|
21
|
+
params: dict[str, Any] = {}
|
|
22
|
+
params["documentNumber"] = documentNumber
|
|
23
|
+
data = None
|
|
24
|
+
return params or None, data
|
|
25
|
+
|
|
26
|
+
_REQUEST_IssuePZCorrection = ('PUT', '/api/PurchasesIssue/PZCorrection')
|
|
27
|
+
def _prepare_IssuePZCorrection(*, documentNumber, issue) -> tuple[dict[str, Any] | None, Any]:
|
|
28
|
+
params: dict[str, Any] = {}
|
|
29
|
+
params["documentNumber"] = documentNumber
|
|
30
|
+
params["issue"] = issue
|
|
31
|
+
data = None
|
|
32
|
+
return params or None, data
|
|
33
|
+
|
|
34
|
+
_REQUEST_ChangeDocumentNumber = ('PATCH', '/api/PurchasesIssue/DocumentNumber')
|
|
35
|
+
def _prepare_ChangeDocumentNumber(*, id, number) -> tuple[dict[str, Any] | None, Any]:
|
|
36
|
+
params: dict[str, Any] = {}
|
|
37
|
+
params["id"] = id
|
|
38
|
+
params["number"] = number
|
|
39
|
+
data = None
|
|
40
|
+
return params or None, data
|
|
@@ -0,0 +1,38 @@
|
|
|
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.Purchases.ViewModels.V2026_1 import PurchaseCorrection
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels import PurchaseCorrectionIssue
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels.V2026_1 import PurchaseDocument
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels import PurchaseDocumentPZ
|
|
11
|
+
|
|
12
|
+
_ADAPTER_AddNew = TypeAdapter(PurchaseCorrection)
|
|
13
|
+
|
|
14
|
+
def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PurchaseCorrection]:
|
|
15
|
+
return parse_with_adapter(envelope, _ADAPTER_AddNew)
|
|
16
|
+
OP_AddNew = OperationSpec(method='POST', path='/api/PurchasesIssue/NewCorrection', parser=_parse_AddNew)
|
|
17
|
+
|
|
18
|
+
_ADAPTER_Issue = TypeAdapter(PurchaseDocument)
|
|
19
|
+
|
|
20
|
+
def _parse_Issue(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PurchaseDocument]:
|
|
21
|
+
return parse_with_adapter(envelope, _ADAPTER_Issue)
|
|
22
|
+
OP_Issue = OperationSpec(method='PUT', path='/api/PurchasesIssue/InBuffer', parser=_parse_Issue)
|
|
23
|
+
|
|
24
|
+
_ADAPTER_IssuePZ = TypeAdapter(List[PurchaseDocumentPZ])
|
|
25
|
+
|
|
26
|
+
def _parse_IssuePZ(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PurchaseDocumentPZ]]:
|
|
27
|
+
return parse_with_adapter(envelope, _ADAPTER_IssuePZ)
|
|
28
|
+
OP_IssuePZ = OperationSpec(method='PUT', path='/api/PurchasesIssue/PZ', parser=_parse_IssuePZ)
|
|
29
|
+
|
|
30
|
+
_ADAPTER_IssuePZCorrection = TypeAdapter(List[PurchaseDocumentPZ])
|
|
31
|
+
|
|
32
|
+
def _parse_IssuePZCorrection(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PurchaseDocumentPZ]]:
|
|
33
|
+
return parse_with_adapter(envelope, _ADAPTER_IssuePZCorrection)
|
|
34
|
+
OP_IssuePZCorrection = OperationSpec(method='PUT', path='/api/PurchasesIssue/PZCorrection', parser=_parse_IssuePZCorrection)
|
|
35
|
+
|
|
36
|
+
def _parse_ChangeDocumentNumber(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
37
|
+
return parse_none(envelope)
|
|
38
|
+
OP_ChangeDocumentNumber = OperationSpec(method='PATCH', path='/api/PurchasesIssue/DocumentNumber', parser=_parse_ChangeDocumentNumber)
|
|
@@ -0,0 +1,24 @@
|
|
|
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__ = ("IPurchasesController", "IPurchasesDimensions2Controller", "IPurchasesDimensionsController", "IPurchasesIssueController",)
|
|
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 IPurchasesController as _IPurchasesController
|
|
22
|
+
from . import IPurchasesDimensions2Controller as _IPurchasesDimensions2Controller
|
|
23
|
+
from . import IPurchasesDimensionsController as _IPurchasesDimensionsController
|
|
24
|
+
from . import IPurchasesIssueController as _IPurchasesIssueController
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import Any, List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import DocumentAddress, PaymentRegistryBase
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Enums import (
|
|
10
|
+
enumCancelationType,
|
|
11
|
+
enumFiscalizationStatus,
|
|
12
|
+
enumJPK_V7DocumentAttribute,
|
|
13
|
+
enumPriceKind,
|
|
14
|
+
)
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Purchases.ViewModels import (
|
|
16
|
+
PurchaseCorrectionPosition,
|
|
17
|
+
PurchaseDocumentIssueCatalog,
|
|
18
|
+
PurchaseDocumentIssueContractor,
|
|
19
|
+
PurchaseDocumentIssueKind,
|
|
20
|
+
PurchaseDocumentIssuePosition,
|
|
21
|
+
PurchaseDocumentPosition,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
class PurchaseCorrection(BaseModel):
|
|
25
|
+
ThirdPartyContractor: Optional[int]
|
|
26
|
+
Id: int
|
|
27
|
+
DocumentNumber: str
|
|
28
|
+
MasterDocumentOid: Optional[int]
|
|
29
|
+
Active: bool
|
|
30
|
+
Canceled: "enumCancelationType"
|
|
31
|
+
Buffer: bool
|
|
32
|
+
Settled: bool
|
|
33
|
+
Fisacal: "enumFiscalizationStatus"
|
|
34
|
+
eInvoice: bool
|
|
35
|
+
SplitPayment: bool
|
|
36
|
+
JPK_V7Attributes: "enumJPK_V7DocumentAttribute"
|
|
37
|
+
IssueDate: Optional[datetime]
|
|
38
|
+
ReceiveDate: Optional[datetime]
|
|
39
|
+
MaturityDate: Optional[datetime]
|
|
40
|
+
TypeCode: str
|
|
41
|
+
Series: str
|
|
42
|
+
NumberInSeries: int
|
|
43
|
+
IssuerId: int
|
|
44
|
+
SellerId: Optional[int]
|
|
45
|
+
SellerAddressId: Optional[int]
|
|
46
|
+
DelivererId: Optional[int]
|
|
47
|
+
DelivererAddressId: Optional[int]
|
|
48
|
+
ReceivedBy: str
|
|
49
|
+
DepartmentId: int
|
|
50
|
+
PriceKind: "enumPriceKind"
|
|
51
|
+
NetValuePLN: Decimal
|
|
52
|
+
VatValuePLN: Decimal
|
|
53
|
+
NetValue: Decimal
|
|
54
|
+
GrossValue: Decimal
|
|
55
|
+
Currency: str
|
|
56
|
+
CurrencyRate: Decimal
|
|
57
|
+
CurrencyRateCIT: Decimal
|
|
58
|
+
PaymentRegistryId: int
|
|
59
|
+
PaymentFormId: int
|
|
60
|
+
CorrectionReason: str
|
|
61
|
+
CatalogId: int
|
|
62
|
+
KindId: int
|
|
63
|
+
Marker: int
|
|
64
|
+
Note: str
|
|
65
|
+
ForeignDocumentDate: Optional[datetime]
|
|
66
|
+
PurchaseDate: Optional[datetime]
|
|
67
|
+
VoluntarySplitPayment: bool
|
|
68
|
+
WhiteList: bool
|
|
69
|
+
ForeignDocumentNumber: str
|
|
70
|
+
StatusKSeF: Optional[int]
|
|
71
|
+
NumberKSeF: str
|
|
72
|
+
IssueDateKSeF: Optional[datetime]
|
|
73
|
+
eArchiveId: Optional[str]
|
|
74
|
+
IsSmeProcedure: bool
|
|
75
|
+
IsIssuedByBuyer: bool
|
|
76
|
+
InvoiceKind: Any
|
|
77
|
+
Positions: List["PurchaseCorrectionPosition"]
|
|
78
|
+
SellerAddress: "DocumentAddress"
|
|
79
|
+
DelivererAddress: "DocumentAddress"
|
|
80
|
+
|
|
81
|
+
class PurchaseDocument(BaseModel):
|
|
82
|
+
ThirdPartyContractor: Optional[int]
|
|
83
|
+
ThirdPartyContractorAddress: "DocumentAddress"
|
|
84
|
+
Id: int
|
|
85
|
+
DocumentNumber: str
|
|
86
|
+
ForeignDocumentNumber: str
|
|
87
|
+
Active: bool
|
|
88
|
+
Canceled: "enumCancelationType"
|
|
89
|
+
Buffer: bool
|
|
90
|
+
Settled: bool
|
|
91
|
+
Fisacal: "enumFiscalizationStatus"
|
|
92
|
+
eInvoice: bool
|
|
93
|
+
SplitPayment: bool
|
|
94
|
+
VoluntarySplitPayment: bool
|
|
95
|
+
WhiteList: bool
|
|
96
|
+
JPK_V7Attributes: "enumJPK_V7DocumentAttribute"
|
|
97
|
+
IssueDate: Optional[datetime]
|
|
98
|
+
ReceiveDate: Optional[datetime]
|
|
99
|
+
MaturityDate: Optional[datetime]
|
|
100
|
+
ForeignDocumentDate: Optional[datetime]
|
|
101
|
+
PurchaseDate: Optional[datetime]
|
|
102
|
+
TypeCode: str
|
|
103
|
+
Series: str
|
|
104
|
+
NumberInSeries: int
|
|
105
|
+
IssuerId: int
|
|
106
|
+
SellerId: Optional[int]
|
|
107
|
+
SellerAddressId: Optional[int]
|
|
108
|
+
DelivererId: Optional[int]
|
|
109
|
+
DelivererAddressId: Optional[int]
|
|
110
|
+
ReceivedBy: str
|
|
111
|
+
DepartmentId: int
|
|
112
|
+
PriceKind: "enumPriceKind"
|
|
113
|
+
NetValuePLN: Decimal
|
|
114
|
+
VatValuePLN: Decimal
|
|
115
|
+
NetValue: Decimal
|
|
116
|
+
GrossValue: Decimal
|
|
117
|
+
Currency: str
|
|
118
|
+
CurrencyRate: Decimal
|
|
119
|
+
CurrencyRateCIT: Decimal
|
|
120
|
+
PaymentRegistryId: int
|
|
121
|
+
PaymentFormId: int
|
|
122
|
+
Description: str
|
|
123
|
+
CatalogId: int
|
|
124
|
+
KindId: int
|
|
125
|
+
Marker: int
|
|
126
|
+
Note: str
|
|
127
|
+
StatusKSeF: Optional[int]
|
|
128
|
+
NumberKSeF: str
|
|
129
|
+
IssueDateKSeF: Optional[datetime]
|
|
130
|
+
InvoiceKind: Any
|
|
131
|
+
eArchiveId: Optional[str]
|
|
132
|
+
IsSmeProcedure: bool
|
|
133
|
+
IsIssuedByBuyer: bool
|
|
134
|
+
Positions: List["PurchaseDocumentPosition"]
|
|
135
|
+
SellerAddress: "DocumentAddress"
|
|
136
|
+
DelivererAddress: "DocumentAddress"
|
|
137
|
+
|
|
138
|
+
class PurchaseDocumentIssue(BaseModel):
|
|
139
|
+
ThirdPartyContractor: "PurchaseDocumentIssueContractor"
|
|
140
|
+
TypeCode: str
|
|
141
|
+
Series: str
|
|
142
|
+
NumberInSeries: Optional[int]
|
|
143
|
+
Department: str
|
|
144
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
145
|
+
PaymentFormId: int
|
|
146
|
+
IssueDate: Optional[datetime]
|
|
147
|
+
ReceiveDate: Optional[datetime]
|
|
148
|
+
PurchaseDate: Optional[datetime]
|
|
149
|
+
ForeignDocumentDate: Optional[datetime]
|
|
150
|
+
MaturityDate: Optional[datetime]
|
|
151
|
+
Currency: str
|
|
152
|
+
CurrencyRate: Decimal
|
|
153
|
+
CurrencyRateCIT: Decimal
|
|
154
|
+
PriceKind: "enumPriceKind"
|
|
155
|
+
SplitPayment: bool
|
|
156
|
+
VoluntarySplitPayment: bool
|
|
157
|
+
WhiteList: bool
|
|
158
|
+
JPK_V7Attributes: Optional["enumJPK_V7DocumentAttribute"]
|
|
159
|
+
eArchiveId: Optional[str]
|
|
160
|
+
NumberKSeF: str
|
|
161
|
+
IssueDateKSeF: Optional[datetime]
|
|
162
|
+
Seller: "PurchaseDocumentIssueContractor"
|
|
163
|
+
Deliverer: "PurchaseDocumentIssueContractor"
|
|
164
|
+
Positions: List["PurchaseDocumentIssuePosition"]
|
|
165
|
+
Catalog: "PurchaseDocumentIssueCatalog"
|
|
166
|
+
Kind: "PurchaseDocumentIssueKind"
|
|
167
|
+
Marker: int
|
|
168
|
+
ForeignDocumentNumber: str
|
|
169
|
+
Description: str
|
|
170
|
+
Note: str
|
|
171
|
+
IsSmeProcedure: bool
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
import importlib
|
|
6
|
+
from typing import TYPE_CHECKING
|
|
7
|
+
from typing import Any, List, Optional
|
|
8
|
+
from datetime import datetime
|
|
9
|
+
from decimal import Decimal
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PaymentRegistryBase, VatRateBase
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Enums import (
|
|
12
|
+
enumCancelationType,
|
|
13
|
+
enumDocumentStatus,
|
|
14
|
+
enumJPK_V7DocumentAttribute,
|
|
15
|
+
enumManualSettledState,
|
|
16
|
+
enumPriceKind,
|
|
17
|
+
enumRDFStatus,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
class PurchaseCorrectionIssue(BaseModel):
|
|
21
|
+
MasterDocumentId: Optional[int]
|
|
22
|
+
MasterDocumentNumber: str
|
|
23
|
+
TypeCode: str
|
|
24
|
+
Series: str
|
|
25
|
+
NumberInSeries: Optional[int]
|
|
26
|
+
SplitPayment: bool
|
|
27
|
+
JPK_V7Attributes: Optional["enumJPK_V7DocumentAttribute"]
|
|
28
|
+
Seller: "PurchaseCorrectionIssueContractor"
|
|
29
|
+
Deliverer: "PurchaseCorrectionIssueContractor"
|
|
30
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
31
|
+
PaymentFormId: Optional[int]
|
|
32
|
+
IssueDate: Optional[datetime]
|
|
33
|
+
ReceiveDate: Optional[datetime]
|
|
34
|
+
PurchaseDate: Optional[datetime]
|
|
35
|
+
ForeignDocumentDate: Optional[datetime]
|
|
36
|
+
MaturityDate: Optional[datetime]
|
|
37
|
+
CurrencyRate: Optional[Decimal]
|
|
38
|
+
Positions: List["PurchaseCorrectionIssuePosition"]
|
|
39
|
+
Catalog: "PurchaseDocumentIssueCatalog"
|
|
40
|
+
Kind: "PurchaseDocumentIssueKind"
|
|
41
|
+
Marker: int
|
|
42
|
+
CorrectionReason: str
|
|
43
|
+
Note: str
|
|
44
|
+
ForeignDocumentNumber: str
|
|
45
|
+
VoluntarySplitPayment: bool
|
|
46
|
+
WhiteList: bool
|
|
47
|
+
|
|
48
|
+
class PurchaseCorrectionIssueContractor(BaseModel):
|
|
49
|
+
RecalculatePrices: bool
|
|
50
|
+
Data: "PurchaseDocumentIssueContractorData"
|
|
51
|
+
DeliveryAddressCode: str
|
|
52
|
+
|
|
53
|
+
class PurchaseCorrectionIssuePosition(BaseModel):
|
|
54
|
+
No: Optional[int]
|
|
55
|
+
VatRate: "VatRateBase"
|
|
56
|
+
Elements: List["PurchaseCorrectionIssuePositionElement"]
|
|
57
|
+
Code: str
|
|
58
|
+
Name: str
|
|
59
|
+
Quantity: Decimal
|
|
60
|
+
UnitOfMeasurement: str
|
|
61
|
+
Value: Decimal
|
|
62
|
+
Duty: Decimal
|
|
63
|
+
Excise: Decimal
|
|
64
|
+
PriceValue: Decimal
|
|
65
|
+
|
|
66
|
+
class PurchaseCorrectionIssuePositionElement(BaseModel):
|
|
67
|
+
Code: str
|
|
68
|
+
Name: str
|
|
69
|
+
Quantity: Decimal
|
|
70
|
+
UnitOfMeasurement: str
|
|
71
|
+
Value: Decimal
|
|
72
|
+
Duty: Decimal
|
|
73
|
+
Excise: Decimal
|
|
74
|
+
PriceValue: Decimal
|
|
75
|
+
|
|
76
|
+
class PurchaseCorrectionPosition(BaseModel):
|
|
77
|
+
No: int
|
|
78
|
+
BeforeCorrection: "PurchaseCorrectionPositionElement"
|
|
79
|
+
AfterCorrection: "PurchaseCorrectionPositionElement"
|
|
80
|
+
|
|
81
|
+
class PurchaseCorrectionPositionElement(BaseModel):
|
|
82
|
+
Id: int
|
|
83
|
+
SetHeaderId: Optional[int]
|
|
84
|
+
ProductId: Optional[int]
|
|
85
|
+
ProductCode: str
|
|
86
|
+
Description: str
|
|
87
|
+
Quantity: Decimal
|
|
88
|
+
WrittenQuantity: Decimal
|
|
89
|
+
UnitOfMeasurement: str
|
|
90
|
+
WrittenUnitOfMeasurement: str
|
|
91
|
+
VatRate: "VatRateBase"
|
|
92
|
+
PriceKind: "enumPriceKind"
|
|
93
|
+
PriceValuePLN: Decimal
|
|
94
|
+
PriceValue: Decimal
|
|
95
|
+
NetValuePLN: Decimal
|
|
96
|
+
NetValue: Decimal
|
|
97
|
+
VatValuePLN: Decimal
|
|
98
|
+
GrossValue: Decimal
|
|
99
|
+
Duty: Decimal
|
|
100
|
+
Excise: Decimal
|
|
101
|
+
|
|
102
|
+
class PurchaseDocumentCorrection(BaseModel):
|
|
103
|
+
No: int
|
|
104
|
+
Id: int
|
|
105
|
+
DocumentNumber: str
|
|
106
|
+
IssueDate: Optional[datetime]
|
|
107
|
+
ReceiveDate: Optional[datetime]
|
|
108
|
+
ForeignDocumentDate: Optional[datetime]
|
|
109
|
+
|
|
110
|
+
class PurchaseDocumentIssueCatalog(BaseModel):
|
|
111
|
+
FullPath: str
|
|
112
|
+
AddIfNotExist: bool
|
|
113
|
+
|
|
114
|
+
class PurchaseDocumentIssueContractor(BaseModel):
|
|
115
|
+
Id: Optional[int]
|
|
116
|
+
Code: str
|
|
117
|
+
RecalculatePrices: bool
|
|
118
|
+
Data: "PurchaseDocumentIssueContractorData"
|
|
119
|
+
DeliveryAddressCode: str
|
|
120
|
+
|
|
121
|
+
class PurchaseDocumentIssueContractorData(BaseModel):
|
|
122
|
+
Name: str
|
|
123
|
+
NIP: str
|
|
124
|
+
Country: str
|
|
125
|
+
City: str
|
|
126
|
+
Street: str
|
|
127
|
+
HouseNo: str
|
|
128
|
+
ApartmentNo: str
|
|
129
|
+
PostCode: str
|
|
130
|
+
|
|
131
|
+
class PurchaseDocumentIssueKind(BaseModel):
|
|
132
|
+
Code: str
|
|
133
|
+
AddIfNotExist: bool
|
|
134
|
+
|
|
135
|
+
class PurchaseDocumentIssuePosition(BaseModel):
|
|
136
|
+
VatRate: "VatRateBase"
|
|
137
|
+
Elements: List["PurchaseDocumentIssuePositionElement"]
|
|
138
|
+
Code: str
|
|
139
|
+
Name: str
|
|
140
|
+
Quantity: Decimal
|
|
141
|
+
UnitOfMeasurement: str
|
|
142
|
+
Value: Decimal
|
|
143
|
+
Duty: Decimal
|
|
144
|
+
Excise: Decimal
|
|
145
|
+
PriceValue: Decimal
|
|
146
|
+
|
|
147
|
+
class PurchaseDocumentIssuePositionElement(BaseModel):
|
|
148
|
+
Code: str
|
|
149
|
+
Name: str
|
|
150
|
+
Quantity: Decimal
|
|
151
|
+
UnitOfMeasurement: str
|
|
152
|
+
Value: Decimal
|
|
153
|
+
Duty: Decimal
|
|
154
|
+
Excise: Decimal
|
|
155
|
+
PriceValue: Decimal
|
|
156
|
+
|
|
157
|
+
class PurchaseDocumentListElement(BaseModel):
|
|
158
|
+
Id: int
|
|
159
|
+
DocumentNumber: str
|
|
160
|
+
Active: bool
|
|
161
|
+
Canceled: "enumCancelationType"
|
|
162
|
+
Buffer: bool
|
|
163
|
+
Settled: bool
|
|
164
|
+
IssueDate: Optional[datetime]
|
|
165
|
+
PurchaseDate: Optional[datetime]
|
|
166
|
+
ReceiveDate: Optional[datetime]
|
|
167
|
+
MaturityDate: Optional[datetime]
|
|
168
|
+
ForeignDocumentDate: Optional[datetime]
|
|
169
|
+
TypeCode: str
|
|
170
|
+
Series: str
|
|
171
|
+
NumberInSeries: int
|
|
172
|
+
IssuerId: int
|
|
173
|
+
SellerId: Optional[int]
|
|
174
|
+
DelivererId: Optional[int]
|
|
175
|
+
DepartmentId: int
|
|
176
|
+
NetValuePLN: Decimal
|
|
177
|
+
VatValuePLN: Decimal
|
|
178
|
+
NetValue: Decimal
|
|
179
|
+
GrossValue: Decimal
|
|
180
|
+
Currency: str
|
|
181
|
+
Description: str
|
|
182
|
+
IsSmeProcedure: bool
|
|
183
|
+
IsIssuedByBuyer: bool
|
|
184
|
+
InvoiceKind: Any
|
|
185
|
+
|
|
186
|
+
class PurchaseDocumentPZ(BaseModel):
|
|
187
|
+
Id: int
|
|
188
|
+
DocumentNumber: str
|
|
189
|
+
IssueDate: Optional[datetime]
|
|
190
|
+
OperationDate: Optional[datetime]
|
|
191
|
+
DelivererId: int
|
|
192
|
+
|
|
193
|
+
class PurchaseDocumentPosition(BaseModel):
|
|
194
|
+
Id: int
|
|
195
|
+
No: int
|
|
196
|
+
SetHeaderId: Optional[int]
|
|
197
|
+
ProductId: Optional[int]
|
|
198
|
+
ProductCode: str
|
|
199
|
+
Description: str
|
|
200
|
+
Quantity: Decimal
|
|
201
|
+
WrittenQuantity: Decimal
|
|
202
|
+
UnitOfMeasurement: str
|
|
203
|
+
WrittenUnitOfMeasurement: str
|
|
204
|
+
VatRate: "VatRateBase"
|
|
205
|
+
PriceKind: "enumPriceKind"
|
|
206
|
+
PriceValuePLN: Decimal
|
|
207
|
+
PriceValue: Decimal
|
|
208
|
+
NetValuePLN: Decimal
|
|
209
|
+
NetValue: Decimal
|
|
210
|
+
VatValuePLN: Decimal
|
|
211
|
+
GrossValue: Decimal
|
|
212
|
+
Duty: Decimal
|
|
213
|
+
Excise: Decimal
|
|
214
|
+
|
|
215
|
+
class PurchaseDocumentStatus(BaseModel):
|
|
216
|
+
Id: int
|
|
217
|
+
DocumentNumber: str
|
|
218
|
+
Buffer: bool
|
|
219
|
+
PaymentSettled: int
|
|
220
|
+
WarehouseSettled: int
|
|
221
|
+
RDFStatus: "enumRDFStatus"
|
|
222
|
+
ManualSettled: "enumManualSettledState"
|
|
223
|
+
DocumentStatus: "enumDocumentStatus"
|
|
224
|
+
DocumentStatusText: str
|
|
225
|
+
|
|
226
|
+
_VERSIONED_EXPORTS = {
|
|
227
|
+
'PurchaseCorrection': 'V2026_1',
|
|
228
|
+
'PurchaseDocument': 'V2026_1',
|
|
229
|
+
'PurchaseDocumentIssue': 'V2026_1',
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
def __getattr__(name: str):
|
|
233
|
+
child_name = _VERSIONED_EXPORTS.get(name)
|
|
234
|
+
if child_name is None:
|
|
235
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
236
|
+
module = importlib.import_module(f".{child_name}", __name__)
|
|
237
|
+
value = getattr(module, name)
|
|
238
|
+
globals()[name] = value
|
|
239
|
+
return value
|
|
240
|
+
|
|
241
|
+
def __dir__():
|
|
242
|
+
return sorted(set(_VERSIONED_EXPORTS) | {n for n in globals() if not n.startswith('_')})
|
|
243
|
+
|
|
244
|
+
if TYPE_CHECKING:
|
|
245
|
+
from .V2026_1 import PurchaseCorrection, PurchaseDocument, PurchaseDocumentIssue
|
|
@@ -0,0 +1,22 @@
|
|
|
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__ = ("Interfaces", "ViewModels",)
|
|
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 Interfaces as _Interfaces
|
|
22
|
+
from . import ViewModels as _ViewModels
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, 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 PDF
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.RepX.ViewModels import PrintData
|
|
9
|
+
from ._common import (
|
|
10
|
+
_prepare_Get,
|
|
11
|
+
)
|
|
12
|
+
from ._ops import (
|
|
13
|
+
OP_Get,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
@overload
|
|
17
|
+
def Get(api: SyncInvokerProtocol, reportId: int, objectId: int, data: "PrintData") -> ResponseEnvelope[PDF]: ...
|
|
18
|
+
@overload
|
|
19
|
+
def Get(api: SyncRequestProtocol, reportId: int, objectId: int, data: "PrintData") -> ResponseEnvelope[PDF]: ...
|
|
20
|
+
@overload
|
|
21
|
+
def Get(api: AsyncInvokerProtocol, reportId: int, objectId: int, data: "PrintData") -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
22
|
+
@overload
|
|
23
|
+
def Get(api: AsyncRequestProtocol, reportId: int, objectId: int, data: "PrintData") -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
24
|
+
def Get(api: object, reportId: int, objectId: int, data: "PrintData") -> ResponseEnvelope[PDF] | Awaitable[ResponseEnvelope[PDF]]:
|
|
25
|
+
params, data = _prepare_Get(reportId=reportId, objectId=objectId, data=data)
|
|
26
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
27
|
+
|
|
28
|
+
__all__ = ["Get"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('PATCH', '/api/Reports')
|
|
6
|
+
def _prepare_Get(*, reportId, objectId, data) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["reportId"] = reportId
|
|
9
|
+
params["objectId"] = objectId
|
|
10
|
+
data = data.model_dump_json(exclude_unset=True) if data is not None else None
|
|
11
|
+
return params or None, data
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import TypeAdapter
|
|
4
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
5
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
6
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PDF
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.RepX.ViewModels import PrintData
|
|
8
|
+
|
|
9
|
+
_ADAPTER_Get = TypeAdapter(PDF)
|
|
10
|
+
|
|
11
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PDF]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
13
|
+
OP_Get = OperationSpec(method='PATCH', path='/api/Reports', parser=_parse_Get)
|