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,85 @@
|
|
|
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 PDF
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels import Payment
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels.Issue import PaymentIssue
|
|
13
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels.IssueKP import PaymentKPIssue
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels import PaymentListElement
|
|
15
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
16
|
+
|
|
17
|
+
_ADAPTER_Get = TypeAdapter(Payment)
|
|
18
|
+
|
|
19
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Payment]:
|
|
20
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
21
|
+
OP_Get = OperationSpec(method='GET', path='/api/Payments', parser=_parse_Get)
|
|
22
|
+
|
|
23
|
+
_ADAPTER_GetList = TypeAdapter(List[PaymentListElement])
|
|
24
|
+
|
|
25
|
+
def _parse_GetList(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PaymentListElement]]:
|
|
26
|
+
return parse_with_adapter(envelope, _ADAPTER_GetList)
|
|
27
|
+
OP_GetList = OperationSpec(method='GET', path='/api/Payments/Filter', parser=_parse_GetList)
|
|
28
|
+
|
|
29
|
+
_ADAPTER_GetListByContractor = TypeAdapter(List[PaymentListElement])
|
|
30
|
+
|
|
31
|
+
def _parse_GetListByContractor(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PaymentListElement]]:
|
|
32
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByContractor)
|
|
33
|
+
OP_GetListByContractor = OperationSpec(method='GET', path='/api/Payments/Filter', parser=_parse_GetListByContractor)
|
|
34
|
+
|
|
35
|
+
_ADAPTER_GetListByPaymentRegistry = TypeAdapter(List[PaymentListElement])
|
|
36
|
+
|
|
37
|
+
def _parse_GetListByPaymentRegistry(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PaymentListElement]]:
|
|
38
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByPaymentRegistry)
|
|
39
|
+
OP_GetListByPaymentRegistry = OperationSpec(method='GET', path='/api/Payments/Filter', parser=_parse_GetListByPaymentRegistry)
|
|
40
|
+
|
|
41
|
+
_ADAPTER_GetListByReceivingPaymentRegistry = TypeAdapter(List[PaymentListElement])
|
|
42
|
+
|
|
43
|
+
def _parse_GetListByReceivingPaymentRegistry(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PaymentListElement]]:
|
|
44
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByReceivingPaymentRegistry)
|
|
45
|
+
OP_GetListByReceivingPaymentRegistry = OperationSpec(method='GET', path='/api/Payments/Filter', parser=_parse_GetListByReceivingPaymentRegistry)
|
|
46
|
+
|
|
47
|
+
_ADAPTER_GetPDF = TypeAdapter(PDF)
|
|
48
|
+
|
|
49
|
+
def _parse_GetPDF(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PDF]:
|
|
50
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPDF)
|
|
51
|
+
OP_GetPDF = OperationSpec(method='GET', path='/api/Payments/PDF', parser=_parse_GetPDF)
|
|
52
|
+
|
|
53
|
+
_ADAPTER_GetDocumentSeries = TypeAdapter(List[DocumentSeries])
|
|
54
|
+
|
|
55
|
+
def _parse_GetDocumentSeries(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[DocumentSeries]]:
|
|
56
|
+
return parse_with_adapter(envelope, _ADAPTER_GetDocumentSeries)
|
|
57
|
+
OP_GetDocumentSeries = OperationSpec(method='GET', path='/api/Payments/DocumentSeries', parser=_parse_GetDocumentSeries)
|
|
58
|
+
|
|
59
|
+
_ADAPTER_IssuePayment = TypeAdapter(Payment)
|
|
60
|
+
|
|
61
|
+
def _parse_IssuePayment(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Payment]:
|
|
62
|
+
return parse_with_adapter(envelope, _ADAPTER_IssuePayment)
|
|
63
|
+
OP_IssuePayment = OperationSpec(method='POST', path='/api/Payments/Payment', parser=_parse_IssuePayment)
|
|
64
|
+
|
|
65
|
+
_ADAPTER_IssueTransferMinus = TypeAdapter(Payment)
|
|
66
|
+
|
|
67
|
+
def _parse_IssueTransferMinus(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Payment]:
|
|
68
|
+
return parse_with_adapter(envelope, _ADAPTER_IssueTransferMinus)
|
|
69
|
+
OP_IssueTransferMinus = OperationSpec(method='POST', path='/api/Payments/TransferMinus', parser=_parse_IssueTransferMinus)
|
|
70
|
+
|
|
71
|
+
_ADAPTER_IssueTransferPlus = TypeAdapter(Payment)
|
|
72
|
+
|
|
73
|
+
def _parse_IssueTransferPlus(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Payment]:
|
|
74
|
+
return parse_with_adapter(envelope, _ADAPTER_IssueTransferPlus)
|
|
75
|
+
OP_IssueTransferPlus = OperationSpec(method='PUT', path='/api/Payments/TransferPlus', parser=_parse_IssueTransferPlus)
|
|
76
|
+
|
|
77
|
+
def _parse_IssueKP(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
78
|
+
return parse_none(envelope)
|
|
79
|
+
OP_IssueKP = OperationSpec(method='POST', path='/api/Payments/IssueKP', parser=_parse_IssueKP)
|
|
80
|
+
|
|
81
|
+
_ADAPTER_GetPagedDocument = TypeAdapter(Page)
|
|
82
|
+
|
|
83
|
+
def _parse_GetPagedDocument(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
84
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPagedDocument)
|
|
85
|
+
OP_GetPagedDocument = OperationSpec(method='GET', path='/api/Payments/Page', parser=_parse_GetPagedDocument)
|
|
@@ -0,0 +1,114 @@
|
|
|
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.Payments.ViewModels import Settlement
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels.Issue import SettlementIssue
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels import SettlementListElement
|
|
11
|
+
from ._common import (
|
|
12
|
+
_prepare_Get,
|
|
13
|
+
_prepare_GetByDocument,
|
|
14
|
+
_prepare_GetListByIssueDate,
|
|
15
|
+
_prepare_GetListByMaturityDate,
|
|
16
|
+
_prepare_GetNotSettledByIssueDate,
|
|
17
|
+
_prepare_GetNotSettledByMaturityDate,
|
|
18
|
+
_prepare_Issue,
|
|
19
|
+
)
|
|
20
|
+
from ._ops import (
|
|
21
|
+
OP_Get,
|
|
22
|
+
OP_GetByDocument,
|
|
23
|
+
OP_GetListByIssueDate,
|
|
24
|
+
OP_GetListByMaturityDate,
|
|
25
|
+
OP_GetNotSettledByIssueDate,
|
|
26
|
+
OP_GetNotSettledByMaturityDate,
|
|
27
|
+
OP_Issue,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
@overload
|
|
31
|
+
def Get(api: SyncInvokerProtocol, number: str, buffer: bool) -> ResponseEnvelope[Settlement]: ...
|
|
32
|
+
@overload
|
|
33
|
+
def Get(api: SyncRequestProtocol, number: str, buffer: bool) -> ResponseEnvelope[Settlement]: ...
|
|
34
|
+
@overload
|
|
35
|
+
def Get(api: AsyncInvokerProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
36
|
+
@overload
|
|
37
|
+
def Get(api: AsyncRequestProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
38
|
+
def Get(api: object, number: str, buffer: bool) -> ResponseEnvelope[Settlement] | Awaitable[ResponseEnvelope[Settlement]]:
|
|
39
|
+
params, data = _prepare_Get(number=number, buffer=buffer)
|
|
40
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
41
|
+
|
|
42
|
+
@overload
|
|
43
|
+
def GetByDocument(api: SyncInvokerProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[Settlement]: ...
|
|
44
|
+
@overload
|
|
45
|
+
def GetByDocument(api: SyncRequestProtocol, documentNumber: str, buffer: bool) -> ResponseEnvelope[Settlement]: ...
|
|
46
|
+
@overload
|
|
47
|
+
def GetByDocument(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
48
|
+
@overload
|
|
49
|
+
def GetByDocument(api: AsyncRequestProtocol, documentNumber: str, buffer: bool) -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
50
|
+
def GetByDocument(api: object, documentNumber: str, buffer: bool) -> ResponseEnvelope[Settlement] | Awaitable[ResponseEnvelope[Settlement]]:
|
|
51
|
+
params, data = _prepare_GetByDocument(documentNumber=documentNumber, buffer=buffer)
|
|
52
|
+
return invoke_operation(api, OP_GetByDocument, params=params, data=data)
|
|
53
|
+
|
|
54
|
+
@overload
|
|
55
|
+
def GetListByIssueDate(api: SyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None]: ...
|
|
56
|
+
@overload
|
|
57
|
+
def GetListByIssueDate(api: SyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None]: ...
|
|
58
|
+
@overload
|
|
59
|
+
def GetListByIssueDate(api: AsyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
60
|
+
@overload
|
|
61
|
+
def GetListByIssueDate(api: AsyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
62
|
+
def GetListByIssueDate(api: object, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
63
|
+
params, data = _prepare_GetListByIssueDate(contractorCode=contractorCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
64
|
+
return invoke_operation(api, OP_GetListByIssueDate, params=params, data=data)
|
|
65
|
+
|
|
66
|
+
@overload
|
|
67
|
+
def GetListByMaturityDate(api: SyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]]: ...
|
|
68
|
+
@overload
|
|
69
|
+
def GetListByMaturityDate(api: SyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]]: ...
|
|
70
|
+
@overload
|
|
71
|
+
def GetListByMaturityDate(api: AsyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SettlementListElement]]]: ...
|
|
72
|
+
@overload
|
|
73
|
+
def GetListByMaturityDate(api: AsyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SettlementListElement]]]: ...
|
|
74
|
+
def GetListByMaturityDate(api: object, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]] | Awaitable[ResponseEnvelope[List[SettlementListElement]]]:
|
|
75
|
+
params, data = _prepare_GetListByMaturityDate(contractorCode=contractorCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
76
|
+
return invoke_operation(api, OP_GetListByMaturityDate, params=params, data=data)
|
|
77
|
+
|
|
78
|
+
@overload
|
|
79
|
+
def GetNotSettledByIssueDate(api: SyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None]: ...
|
|
80
|
+
@overload
|
|
81
|
+
def GetNotSettledByIssueDate(api: SyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None]: ...
|
|
82
|
+
@overload
|
|
83
|
+
def GetNotSettledByIssueDate(api: AsyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
84
|
+
@overload
|
|
85
|
+
def GetNotSettledByIssueDate(api: AsyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
86
|
+
def GetNotSettledByIssueDate(api: object, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
87
|
+
params, data = _prepare_GetNotSettledByIssueDate(contractorCode=contractorCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
88
|
+
return invoke_operation(api, OP_GetNotSettledByIssueDate, params=params, data=data)
|
|
89
|
+
|
|
90
|
+
@overload
|
|
91
|
+
def GetNotSettledByMaturityDate(api: SyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]]: ...
|
|
92
|
+
@overload
|
|
93
|
+
def GetNotSettledByMaturityDate(api: SyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]]: ...
|
|
94
|
+
@overload
|
|
95
|
+
def GetNotSettledByMaturityDate(api: AsyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SettlementListElement]]]: ...
|
|
96
|
+
@overload
|
|
97
|
+
def GetNotSettledByMaturityDate(api: AsyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[SettlementListElement]]]: ...
|
|
98
|
+
def GetNotSettledByMaturityDate(api: object, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[SettlementListElement]] | Awaitable[ResponseEnvelope[List[SettlementListElement]]]:
|
|
99
|
+
params, data = _prepare_GetNotSettledByMaturityDate(contractorCode=contractorCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
100
|
+
return invoke_operation(api, OP_GetNotSettledByMaturityDate, params=params, data=data)
|
|
101
|
+
|
|
102
|
+
@overload
|
|
103
|
+
def Issue(api: SyncInvokerProtocol, settlement: "SettlementIssue") -> ResponseEnvelope[Settlement]: ...
|
|
104
|
+
@overload
|
|
105
|
+
def Issue(api: SyncRequestProtocol, settlement: "SettlementIssue") -> ResponseEnvelope[Settlement]: ...
|
|
106
|
+
@overload
|
|
107
|
+
def Issue(api: AsyncInvokerProtocol, settlement: "SettlementIssue") -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
108
|
+
@overload
|
|
109
|
+
def Issue(api: AsyncRequestProtocol, settlement: "SettlementIssue") -> Awaitable[ResponseEnvelope[Settlement]]: ...
|
|
110
|
+
def Issue(api: object, settlement: "SettlementIssue") -> ResponseEnvelope[Settlement] | Awaitable[ResponseEnvelope[Settlement]]:
|
|
111
|
+
params, data = _prepare_Issue(settlement=settlement)
|
|
112
|
+
return invoke_operation(api, OP_Issue, params=params, data=data)
|
|
113
|
+
|
|
114
|
+
__all__ = ["Get", "GetByDocument", "GetListByIssueDate", "GetListByMaturityDate", "GetNotSettledByIssueDate", "GetNotSettledByMaturityDate", "Issue"]
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/Settlements')
|
|
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_GetByDocument = ('GET', '/api/Settlements')
|
|
14
|
+
def _prepare_GetByDocument(*, documentNumber, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
params["documentNumber"] = documentNumber
|
|
17
|
+
params["buffer"] = buffer
|
|
18
|
+
data = None
|
|
19
|
+
return params or None, data
|
|
20
|
+
|
|
21
|
+
_REQUEST_GetListByIssueDate = ('GET', '/api/Settlements/Filter/ByIssueDate')
|
|
22
|
+
def _prepare_GetListByIssueDate(*, contractorCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
params["contractorCode"] = contractorCode
|
|
25
|
+
if dateFrom is not None:
|
|
26
|
+
params["dateFrom"] = dateFrom
|
|
27
|
+
if dateTo is not None:
|
|
28
|
+
params["dateTo"] = dateTo
|
|
29
|
+
data = None
|
|
30
|
+
return params or None, data
|
|
31
|
+
|
|
32
|
+
_REQUEST_GetListByMaturityDate = ('GET', '/api/Settlements/Filter/ByMaturityDate')
|
|
33
|
+
def _prepare_GetListByMaturityDate(*, contractorCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
34
|
+
params: dict[str, Any] = {}
|
|
35
|
+
params["contractorCode"] = contractorCode
|
|
36
|
+
if dateFrom is not None:
|
|
37
|
+
params["dateFrom"] = dateFrom
|
|
38
|
+
if dateTo is not None:
|
|
39
|
+
params["dateTo"] = dateTo
|
|
40
|
+
data = None
|
|
41
|
+
return params or None, data
|
|
42
|
+
|
|
43
|
+
_REQUEST_GetNotSettledByIssueDate = ('GET', '/api/Settlements/Filter/NotSettled/ByIssueDate')
|
|
44
|
+
def _prepare_GetNotSettledByIssueDate(*, contractorCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
45
|
+
params: dict[str, Any] = {}
|
|
46
|
+
params["contractorCode"] = contractorCode
|
|
47
|
+
if dateFrom is not None:
|
|
48
|
+
params["dateFrom"] = dateFrom
|
|
49
|
+
if dateTo is not None:
|
|
50
|
+
params["dateTo"] = dateTo
|
|
51
|
+
data = None
|
|
52
|
+
return params or None, data
|
|
53
|
+
|
|
54
|
+
_REQUEST_GetNotSettledByMaturityDate = ('GET', '/api/Settlements/Filter/NotSettled/ByMaturityDate')
|
|
55
|
+
def _prepare_GetNotSettledByMaturityDate(*, contractorCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
56
|
+
params: dict[str, Any] = {}
|
|
57
|
+
params["contractorCode"] = contractorCode
|
|
58
|
+
if dateFrom is not None:
|
|
59
|
+
params["dateFrom"] = dateFrom
|
|
60
|
+
if dateTo is not None:
|
|
61
|
+
params["dateTo"] = dateTo
|
|
62
|
+
data = None
|
|
63
|
+
return params or None, data
|
|
64
|
+
|
|
65
|
+
_REQUEST_Issue = ('POST', '/api/Settlements/Issue')
|
|
66
|
+
def _prepare_Issue(*, settlement) -> tuple[dict[str, Any] | None, Any]:
|
|
67
|
+
params: dict[str, Any] = {}
|
|
68
|
+
data = settlement.model_dump_json(exclude_unset=True) if settlement is not None else None
|
|
69
|
+
return params or None, data
|
|
@@ -0,0 +1,48 @@
|
|
|
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.Payments.ViewModels import Settlement
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels.Issue import SettlementIssue
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.Payments.ViewModels import SettlementListElement
|
|
11
|
+
|
|
12
|
+
_ADAPTER_Get = TypeAdapter(Settlement)
|
|
13
|
+
|
|
14
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Settlement]:
|
|
15
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
16
|
+
OP_Get = OperationSpec(method='GET', path='/api/Settlements', parser=_parse_Get)
|
|
17
|
+
|
|
18
|
+
_ADAPTER_GetByDocument = TypeAdapter(Settlement)
|
|
19
|
+
|
|
20
|
+
def _parse_GetByDocument(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Settlement]:
|
|
21
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByDocument)
|
|
22
|
+
OP_GetByDocument = OperationSpec(method='GET', path='/api/Settlements', parser=_parse_GetByDocument)
|
|
23
|
+
|
|
24
|
+
def _parse_GetListByIssueDate(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
25
|
+
return parse_none(envelope)
|
|
26
|
+
OP_GetListByIssueDate = OperationSpec(method='GET', path='/api/Settlements/Filter/ByIssueDate', parser=_parse_GetListByIssueDate)
|
|
27
|
+
|
|
28
|
+
_ADAPTER_GetListByMaturityDate = TypeAdapter(List[SettlementListElement])
|
|
29
|
+
|
|
30
|
+
def _parse_GetListByMaturityDate(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SettlementListElement]]:
|
|
31
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByMaturityDate)
|
|
32
|
+
OP_GetListByMaturityDate = OperationSpec(method='GET', path='/api/Settlements/Filter/ByMaturityDate', parser=_parse_GetListByMaturityDate)
|
|
33
|
+
|
|
34
|
+
def _parse_GetNotSettledByIssueDate(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
35
|
+
return parse_none(envelope)
|
|
36
|
+
OP_GetNotSettledByIssueDate = OperationSpec(method='GET', path='/api/Settlements/Filter/NotSettled/ByIssueDate', parser=_parse_GetNotSettledByIssueDate)
|
|
37
|
+
|
|
38
|
+
_ADAPTER_GetNotSettledByMaturityDate = TypeAdapter(List[SettlementListElement])
|
|
39
|
+
|
|
40
|
+
def _parse_GetNotSettledByMaturityDate(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[SettlementListElement]]:
|
|
41
|
+
return parse_with_adapter(envelope, _ADAPTER_GetNotSettledByMaturityDate)
|
|
42
|
+
OP_GetNotSettledByMaturityDate = OperationSpec(method='GET', path='/api/Settlements/Filter/NotSettled/ByMaturityDate', parser=_parse_GetNotSettledByMaturityDate)
|
|
43
|
+
|
|
44
|
+
_ADAPTER_Issue = TypeAdapter(Settlement)
|
|
45
|
+
|
|
46
|
+
def _parse_Issue(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Settlement]:
|
|
47
|
+
return parse_with_adapter(envelope, _ADAPTER_Issue)
|
|
48
|
+
OP_Issue = OperationSpec(method='POST', path='/api/Settlements/Issue', parser=_parse_Issue)
|
|
@@ -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__ = ("IPaymentsController", "ISettlementsController",)
|
|
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 IPaymentsController as _IPaymentsController
|
|
22
|
+
from . import ISettlementsController as _ISettlementsController
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PaymentRegistryBase
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Sales.ViewModels.DocumentIssue import DocumentIssueSettlement
|
|
10
|
+
|
|
11
|
+
class DocumentIssueSubject(BaseModel):
|
|
12
|
+
Id: Optional[int]
|
|
13
|
+
Code: str
|
|
14
|
+
|
|
15
|
+
class PaymentIssue(BaseModel):
|
|
16
|
+
Series: str
|
|
17
|
+
TypeCode: str
|
|
18
|
+
Currency: str
|
|
19
|
+
CurrencyRate: Decimal
|
|
20
|
+
Note: str
|
|
21
|
+
TotalValue: Optional[Decimal]
|
|
22
|
+
PaymentDate: Optional[datetime]
|
|
23
|
+
Subject: "DocumentIssueSubject"
|
|
24
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
25
|
+
Settlements: List["DocumentIssueSettlement"]
|
|
26
|
+
|
|
27
|
+
class SettlementIssue(BaseModel):
|
|
28
|
+
MaturityDate: Optional[datetime]
|
|
29
|
+
Series: str
|
|
30
|
+
TypeCode: str
|
|
31
|
+
Currency: str
|
|
32
|
+
CurrencyRate: Decimal
|
|
33
|
+
Note: str
|
|
34
|
+
TotalValue: Optional[Decimal]
|
|
35
|
+
PaymentDate: Optional[datetime]
|
|
36
|
+
Subject: "DocumentIssueSubject"
|
|
37
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
38
|
+
Settlements: List["DocumentIssueSettlement"]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import PaymentRegistryBase
|
|
9
|
+
|
|
10
|
+
class PaymentKPIssue(BaseModel):
|
|
11
|
+
Series: str
|
|
12
|
+
TypeCode: str
|
|
13
|
+
Currency: str
|
|
14
|
+
CurrencyRate: Decimal
|
|
15
|
+
Note: str
|
|
16
|
+
TotalValue: Optional[Decimal]
|
|
17
|
+
PaymentDate: Optional[datetime]
|
|
18
|
+
Contractor: "PaymentKPIssueContractor"
|
|
19
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
20
|
+
Invoices: List["PaymentKPIssueInvoice"]
|
|
21
|
+
|
|
22
|
+
class PaymentKPIssueContractor(BaseModel):
|
|
23
|
+
Id: Optional[int]
|
|
24
|
+
Code: str
|
|
25
|
+
|
|
26
|
+
class PaymentKPIssueInvoice(BaseModel):
|
|
27
|
+
Id: Optional[int]
|
|
28
|
+
DocumentNumber: str
|
|
29
|
+
SettlementDate: Optional[datetime]
|
|
30
|
+
Value: Decimal
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from decimal import Decimal
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Enums import (
|
|
9
|
+
enumCancelationType,
|
|
10
|
+
enumPaymentSubjectType,
|
|
11
|
+
enumPaymentType,
|
|
12
|
+
enumSettlementType,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
class Payment(BaseModel):
|
|
16
|
+
Id: int
|
|
17
|
+
DocumentNumber: str
|
|
18
|
+
Active: bool
|
|
19
|
+
Canceled: "enumCancelationType"
|
|
20
|
+
Buffer: bool
|
|
21
|
+
Settled: bool
|
|
22
|
+
IssueDate: Optional[datetime]
|
|
23
|
+
MaturityDate: Optional[datetime]
|
|
24
|
+
SettlementDate: Optional[datetime]
|
|
25
|
+
TypeCode: str
|
|
26
|
+
Series: str
|
|
27
|
+
NumberInSeries: int
|
|
28
|
+
IssuerId: int
|
|
29
|
+
SubjectId: Optional[int]
|
|
30
|
+
ReceivingPaymentRegistryId: Optional[int]
|
|
31
|
+
Description: str
|
|
32
|
+
Currency: str
|
|
33
|
+
CurrencyRate: Decimal
|
|
34
|
+
TotalValue: Decimal
|
|
35
|
+
SettledValue: Decimal
|
|
36
|
+
SettledValuePLN: Decimal
|
|
37
|
+
PaymentRegistryId: int
|
|
38
|
+
PaymentType: "enumPaymentType"
|
|
39
|
+
SubjectType: "enumPaymentSubjectType"
|
|
40
|
+
Positions: List["PaymentPosition"]
|
|
41
|
+
|
|
42
|
+
class PaymentListElement(BaseModel):
|
|
43
|
+
Id: int
|
|
44
|
+
DocumentNumber: str
|
|
45
|
+
SubjectId: Optional[int]
|
|
46
|
+
ReceivingPaymentRegistryId: Optional[int]
|
|
47
|
+
PaymentRegistryId: Optional[int]
|
|
48
|
+
IssueDate: Optional[datetime]
|
|
49
|
+
MaturityDate: Optional[datetime]
|
|
50
|
+
SettlementDate: Optional[datetime]
|
|
51
|
+
PaymentType: "enumPaymentType"
|
|
52
|
+
SubjectType: "enumPaymentSubjectType"
|
|
53
|
+
Currency: str
|
|
54
|
+
CurrencyRate: Decimal
|
|
55
|
+
TotalValue: Decimal
|
|
56
|
+
SettledValue: Decimal
|
|
57
|
+
SettledValuePLN: Decimal
|
|
58
|
+
|
|
59
|
+
class PaymentPosition(BaseModel):
|
|
60
|
+
Id: int
|
|
61
|
+
DocumentNumber: str
|
|
62
|
+
ValuePLN: Decimal
|
|
63
|
+
ValueSettlement: Decimal
|
|
64
|
+
ValuePayment: Decimal
|
|
65
|
+
CurrencyRateSettlement: Decimal
|
|
66
|
+
CurrencyRatePayment: Decimal
|
|
67
|
+
|
|
68
|
+
class Settlement(BaseModel):
|
|
69
|
+
Id: int
|
|
70
|
+
DocumentId: Optional[int]
|
|
71
|
+
DocumentNumber: str
|
|
72
|
+
Active: bool
|
|
73
|
+
Canceled: "enumCancelationType"
|
|
74
|
+
Buffer: bool
|
|
75
|
+
Settled: bool
|
|
76
|
+
IssueDate: Optional[datetime]
|
|
77
|
+
MaturityDate: Optional[datetime]
|
|
78
|
+
SettlementDate: Optional[datetime]
|
|
79
|
+
TypeCode: str
|
|
80
|
+
Series: str
|
|
81
|
+
NumberInSeries: int
|
|
82
|
+
IssuerId: int
|
|
83
|
+
ContractorId: Optional[int]
|
|
84
|
+
SubjectId: Optional[int]
|
|
85
|
+
Description: str
|
|
86
|
+
Currency: str
|
|
87
|
+
CurrencyRate: Decimal
|
|
88
|
+
TotalValue: Decimal
|
|
89
|
+
PaidValue: Decimal
|
|
90
|
+
PaidValuePLN: Decimal
|
|
91
|
+
LeftToPayValue: Decimal
|
|
92
|
+
LeftToPayValuePLN: Decimal
|
|
93
|
+
PaymentRegistryId: int
|
|
94
|
+
SettlementType: "enumSettlementType"
|
|
95
|
+
SubjectType: "enumPaymentSubjectType"
|
|
96
|
+
Positions: List["SettlementPosition"]
|
|
97
|
+
|
|
98
|
+
class SettlementListElement(BaseModel):
|
|
99
|
+
Id: int
|
|
100
|
+
DocumentId: Optional[int]
|
|
101
|
+
DocumentNumber: str
|
|
102
|
+
ContractorId: Optional[int]
|
|
103
|
+
SubjectId: Optional[int]
|
|
104
|
+
IssueDate: Optional[datetime]
|
|
105
|
+
MaturityDate: Optional[datetime]
|
|
106
|
+
SettlementDate: Optional[datetime]
|
|
107
|
+
SettlementType: "enumSettlementType"
|
|
108
|
+
SubjectType: "enumPaymentSubjectType"
|
|
109
|
+
Currency: str
|
|
110
|
+
CurrencyRate: Decimal
|
|
111
|
+
TotalValue: Decimal
|
|
112
|
+
PaidValue: Decimal
|
|
113
|
+
PaidValuePLN: Decimal
|
|
114
|
+
LeftToPayValue: Decimal
|
|
115
|
+
LeftToPayValuePLN: Decimal
|
|
116
|
+
|
|
117
|
+
class SettlementPosition(BaseModel):
|
|
118
|
+
Id: int
|
|
119
|
+
DocumentNumber: str
|
|
120
|
+
ValuePLN: Decimal
|
|
121
|
+
ValueSettlement: Decimal
|
|
122
|
+
ValuePayment: Decimal
|
|
123
|
+
CurrencyRateSettlement: Decimal
|
|
124
|
+
CurrencyRatePayment: Decimal
|
|
@@ -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,42 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, List, overload
|
|
4
|
+
from SymfWebAPI.operations import invoke_operation
|
|
5
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels.PriceLists import PriceList
|
|
9
|
+
from ._common import (
|
|
10
|
+
_prepare_Get,
|
|
11
|
+
_prepare_IncrementalSync,
|
|
12
|
+
)
|
|
13
|
+
from ._ops import (
|
|
14
|
+
OP_Get,
|
|
15
|
+
OP_IncrementalSync,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
@overload
|
|
19
|
+
def Get(api: SyncInvokerProtocol, code: str) -> ResponseEnvelope[PriceList]: ...
|
|
20
|
+
@overload
|
|
21
|
+
def Get(api: SyncRequestProtocol, code: str) -> ResponseEnvelope[PriceList]: ...
|
|
22
|
+
@overload
|
|
23
|
+
def Get(api: AsyncInvokerProtocol, code: str) -> Awaitable[ResponseEnvelope[PriceList]]: ...
|
|
24
|
+
@overload
|
|
25
|
+
def Get(api: AsyncRequestProtocol, code: str) -> Awaitable[ResponseEnvelope[PriceList]]: ...
|
|
26
|
+
def Get(api: object, code: str) -> ResponseEnvelope[PriceList] | Awaitable[ResponseEnvelope[PriceList]]:
|
|
27
|
+
params, data = _prepare_Get(code=code)
|
|
28
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
29
|
+
|
|
30
|
+
@overload
|
|
31
|
+
def IncrementalSync(api: SyncInvokerProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
32
|
+
@overload
|
|
33
|
+
def IncrementalSync(api: SyncRequestProtocol) -> ResponseEnvelope[List[IncrementalSyncListElement]]: ...
|
|
34
|
+
@overload
|
|
35
|
+
def IncrementalSync(api: AsyncInvokerProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
36
|
+
@overload
|
|
37
|
+
def IncrementalSync(api: AsyncRequestProtocol) -> Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]: ...
|
|
38
|
+
def IncrementalSync(api: object) -> ResponseEnvelope[List[IncrementalSyncListElement]] | Awaitable[ResponseEnvelope[List[IncrementalSyncListElement]]]:
|
|
39
|
+
params, data = _prepare_IncrementalSync()
|
|
40
|
+
return invoke_operation(api, OP_IncrementalSync, params=params, data=data)
|
|
41
|
+
|
|
42
|
+
__all__ = ["Get", "IncrementalSync"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/PriceLists')
|
|
6
|
+
def _prepare_Get(*, code) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["code"] = code
|
|
9
|
+
data = None
|
|
10
|
+
return params or None, data
|
|
11
|
+
|
|
12
|
+
_REQUEST_IncrementalSync = ('GET', '/api/PriceLists/IncrementalSync')
|
|
13
|
+
def _prepare_IncrementalSync() -> tuple[dict[str, Any] | None, Any]:
|
|
14
|
+
params: dict[str, Any] = {}
|
|
15
|
+
data = None
|
|
16
|
+
return params or None, data
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import IncrementalSyncListElement
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Products.ViewModels.PriceLists import PriceList
|
|
9
|
+
|
|
10
|
+
_ADAPTER_Get = TypeAdapter(PriceList)
|
|
11
|
+
|
|
12
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[PriceList]:
|
|
13
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
14
|
+
OP_Get = OperationSpec(method='GET', path='/api/PriceLists', parser=_parse_Get)
|
|
15
|
+
|
|
16
|
+
_ADAPTER_IncrementalSync = TypeAdapter(List[IncrementalSyncListElement])
|
|
17
|
+
|
|
18
|
+
def _parse_IncrementalSync(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[IncrementalSyncListElement]]:
|
|
19
|
+
return parse_with_adapter(envelope, _ADAPTER_IncrementalSync)
|
|
20
|
+
OP_IncrementalSync = OperationSpec(method='GET', path='/api/PriceLists/IncrementalSync', parser=_parse_IncrementalSync)
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ._common import (
|
|
9
|
+
_prepare_Get,
|
|
10
|
+
)
|
|
11
|
+
from ._ops import (
|
|
12
|
+
OP_Get,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
@overload
|
|
16
|
+
def Get(api: SyncInvokerProtocol, productCode: str) -> ResponseEnvelope[List[Dimension]]: ...
|
|
17
|
+
@overload
|
|
18
|
+
def Get(api: SyncRequestProtocol, productCode: str) -> ResponseEnvelope[List[Dimension]]: ...
|
|
19
|
+
@overload
|
|
20
|
+
def Get(api: AsyncInvokerProtocol, productCode: str) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
21
|
+
@overload
|
|
22
|
+
def Get(api: AsyncRequestProtocol, productCode: str) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
23
|
+
def Get(api: object, productCode: str) -> ResponseEnvelope[List[Dimension]] | Awaitable[ResponseEnvelope[List[Dimension]]]:
|
|
24
|
+
params, data = _prepare_Get(productCode=productCode)
|
|
25
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
26
|
+
|
|
27
|
+
__all__ = ["Get"]
|