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,47 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_AddNew = ('POST', '/api/OwnOrdersIssue/New')
|
|
6
|
+
def _prepare_AddNew(*, issue, order) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["issue"] = issue
|
|
9
|
+
data = order.model_dump_json(exclude_unset=True) if order is not None else None
|
|
10
|
+
return params or None, data
|
|
11
|
+
|
|
12
|
+
_REQUEST_Delete = ('DELETE', '/api/OwnOrdersIssue/Delete')
|
|
13
|
+
def _prepare_Delete(*, number, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
14
|
+
params: dict[str, Any] = {}
|
|
15
|
+
params["number"] = number
|
|
16
|
+
params["buffer"] = buffer
|
|
17
|
+
data = None
|
|
18
|
+
return params or None, data
|
|
19
|
+
|
|
20
|
+
_REQUEST_Issue = ('PUT', '/api/OwnOrdersIssue/InBuffer')
|
|
21
|
+
def _prepare_Issue(*, number) -> tuple[dict[str, Any] | None, Any]:
|
|
22
|
+
params: dict[str, Any] = {}
|
|
23
|
+
params["number"] = number
|
|
24
|
+
data = None
|
|
25
|
+
return params or None, data
|
|
26
|
+
|
|
27
|
+
_REQUEST_IssuePZ = ('PUT', '/api/OwnOrdersIssue/PZ')
|
|
28
|
+
def _prepare_IssuePZ(*, orderNumber) -> tuple[dict[str, Any] | None, Any]:
|
|
29
|
+
params: dict[str, Any] = {}
|
|
30
|
+
params["orderNumber"] = orderNumber
|
|
31
|
+
data = None
|
|
32
|
+
return params or None, data
|
|
33
|
+
|
|
34
|
+
_REQUEST_ChangeDocumentNumber = ('PATCH', '/api/OwnOrdersIssue/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
|
|
41
|
+
|
|
42
|
+
_REQUEST_IssueFV = ('PUT', '/api/OwnOrdersIssue/FV')
|
|
43
|
+
def _prepare_IssueFV(*, orderNumber) -> tuple[dict[str, Any] | None, Any]:
|
|
44
|
+
params: dict[str, Any] = {}
|
|
45
|
+
params["orderNumber"] = orderNumber
|
|
46
|
+
data = None
|
|
47
|
+
return params or None, data
|
|
@@ -0,0 +1,39 @@
|
|
|
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.OwnOrders.ViewModels import OwnOrder
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.OwnOrders.ViewModels import OwnOrderIssue
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.OwnOrders.ViewModels import OwnOrderPZ
|
|
10
|
+
|
|
11
|
+
_ADAPTER_AddNew = TypeAdapter(OwnOrder)
|
|
12
|
+
|
|
13
|
+
def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[OwnOrder]:
|
|
14
|
+
return parse_with_adapter(envelope, _ADAPTER_AddNew)
|
|
15
|
+
OP_AddNew = OperationSpec(method='POST', path='/api/OwnOrdersIssue/New', parser=_parse_AddNew)
|
|
16
|
+
|
|
17
|
+
def _parse_Delete(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
18
|
+
return parse_none(envelope)
|
|
19
|
+
OP_Delete = OperationSpec(method='DELETE', path='/api/OwnOrdersIssue/Delete', parser=_parse_Delete)
|
|
20
|
+
|
|
21
|
+
_ADAPTER_Issue = TypeAdapter(OwnOrder)
|
|
22
|
+
|
|
23
|
+
def _parse_Issue(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[OwnOrder]:
|
|
24
|
+
return parse_with_adapter(envelope, _ADAPTER_Issue)
|
|
25
|
+
OP_Issue = OperationSpec(method='PUT', path='/api/OwnOrdersIssue/InBuffer', parser=_parse_Issue)
|
|
26
|
+
|
|
27
|
+
_ADAPTER_IssuePZ = TypeAdapter(List[OwnOrderPZ])
|
|
28
|
+
|
|
29
|
+
def _parse_IssuePZ(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[OwnOrderPZ]]:
|
|
30
|
+
return parse_with_adapter(envelope, _ADAPTER_IssuePZ)
|
|
31
|
+
OP_IssuePZ = OperationSpec(method='PUT', path='/api/OwnOrdersIssue/PZ', parser=_parse_IssuePZ)
|
|
32
|
+
|
|
33
|
+
def _parse_ChangeDocumentNumber(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
34
|
+
return parse_none(envelope)
|
|
35
|
+
OP_ChangeDocumentNumber = OperationSpec(method='PATCH', path='/api/OwnOrdersIssue/DocumentNumber', parser=_parse_ChangeDocumentNumber)
|
|
36
|
+
|
|
37
|
+
def _parse_IssueFV(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
38
|
+
return parse_none(envelope)
|
|
39
|
+
OP_IssueFV = OperationSpec(method='PUT', path='/api/OwnOrdersIssue/FV', parser=_parse_IssueFV)
|
|
@@ -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__ = ("IOwnOrderDimensions2Controller", "IOwnOrderDimensionsController", "IOwnOrdersController", "IOwnOrdersIssueController",)
|
|
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 IOwnOrderDimensions2Controller as _IOwnOrderDimensions2Controller
|
|
22
|
+
from . import IOwnOrderDimensionsController as _IOwnOrderDimensionsController
|
|
23
|
+
from . import IOwnOrdersController as _IOwnOrdersController
|
|
24
|
+
from . import IOwnOrdersIssueController as _IOwnOrdersIssueController
|
|
@@ -0,0 +1,205 @@
|
|
|
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 (
|
|
9
|
+
DocumentAddress,
|
|
10
|
+
PaymentRegistryBase,
|
|
11
|
+
RelatedDocumentPosition,
|
|
12
|
+
VatRateBase,
|
|
13
|
+
)
|
|
14
|
+
from SymfWebAPI.WebAPI.Interface.Enums import (
|
|
15
|
+
enumCancelationType,
|
|
16
|
+
enumDocumentStatus,
|
|
17
|
+
enumManualSettledState,
|
|
18
|
+
enumPriceKind,
|
|
19
|
+
enumRDFStatus,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
class OwnOrder(BaseModel):
|
|
23
|
+
Id: int
|
|
24
|
+
DocumentNumber: str
|
|
25
|
+
Active: bool
|
|
26
|
+
Canceled: "enumCancelationType"
|
|
27
|
+
Buffer: bool
|
|
28
|
+
Settled: bool
|
|
29
|
+
IssueDate: Optional[datetime]
|
|
30
|
+
ReceiveDate: Optional[datetime]
|
|
31
|
+
MaturityDate: Optional[datetime]
|
|
32
|
+
TypeCode: str
|
|
33
|
+
Series: str
|
|
34
|
+
NumberInSeries: int
|
|
35
|
+
IssuerId: int
|
|
36
|
+
SellerId: Optional[int]
|
|
37
|
+
SellerAddressId: Optional[int]
|
|
38
|
+
DelivererId: Optional[int]
|
|
39
|
+
DelivererAddressId: Optional[int]
|
|
40
|
+
DepartmentId: int
|
|
41
|
+
PriceKind: "enumPriceKind"
|
|
42
|
+
NetValuePLN: Decimal
|
|
43
|
+
VatValuePLN: Decimal
|
|
44
|
+
NetValue: Decimal
|
|
45
|
+
GrossValue: Decimal
|
|
46
|
+
Currency: str
|
|
47
|
+
CurrencyRate: Decimal
|
|
48
|
+
PaymentRegistryId: int
|
|
49
|
+
PaymentFormId: int
|
|
50
|
+
Description: str
|
|
51
|
+
Note: str
|
|
52
|
+
CatalogId: int
|
|
53
|
+
KindId: int
|
|
54
|
+
Marker: int
|
|
55
|
+
Positions: List["OwnOrderPosition"]
|
|
56
|
+
SellerAddress: "DocumentAddress"
|
|
57
|
+
DelivererAddress: "DocumentAddress"
|
|
58
|
+
|
|
59
|
+
class OwnOrderFV(BaseModel):
|
|
60
|
+
Id: int
|
|
61
|
+
DocumentNumber: str
|
|
62
|
+
IssueDate: Optional[datetime]
|
|
63
|
+
BuyDate: Optional[datetime]
|
|
64
|
+
SellerId: int
|
|
65
|
+
DelivererId: int
|
|
66
|
+
|
|
67
|
+
class OwnOrderIssue(BaseModel):
|
|
68
|
+
TypeCode: str
|
|
69
|
+
Series: str
|
|
70
|
+
NumberInSeries: Optional[int]
|
|
71
|
+
Department: str
|
|
72
|
+
PaymentRegistry: "PaymentRegistryBase"
|
|
73
|
+
PaymentFormId: int
|
|
74
|
+
IssueDate: Optional[datetime]
|
|
75
|
+
ReceiveDate: Optional[datetime]
|
|
76
|
+
MaturityDate: Optional[datetime]
|
|
77
|
+
Currency: str
|
|
78
|
+
CurrencyRate: Decimal
|
|
79
|
+
PriceKind: "enumPriceKind"
|
|
80
|
+
Seller: "OwnOrderIssueContractor"
|
|
81
|
+
Deliverer: "OwnOrderIssueContractor"
|
|
82
|
+
Positions: List["OwnOrderIssuePosition"]
|
|
83
|
+
Catalog: "OwnOrderIssueCatalog"
|
|
84
|
+
Kind: "OwnOrderIssueKind"
|
|
85
|
+
Marker: int
|
|
86
|
+
Description: str
|
|
87
|
+
Note: str
|
|
88
|
+
|
|
89
|
+
class OwnOrderIssueCatalog(BaseModel):
|
|
90
|
+
FullPath: str
|
|
91
|
+
AddIfNotExist: bool
|
|
92
|
+
|
|
93
|
+
class OwnOrderIssueContractor(BaseModel):
|
|
94
|
+
Id: Optional[int]
|
|
95
|
+
Code: str
|
|
96
|
+
RecalculatePrices: bool
|
|
97
|
+
Data: "OwnOrderIssueContractorData"
|
|
98
|
+
DeliveryAddressCode: str
|
|
99
|
+
|
|
100
|
+
class OwnOrderIssueContractorData(BaseModel):
|
|
101
|
+
Name: str
|
|
102
|
+
NIP: str
|
|
103
|
+
Country: str
|
|
104
|
+
City: str
|
|
105
|
+
Street: str
|
|
106
|
+
HouseNo: str
|
|
107
|
+
ApartmentNo: str
|
|
108
|
+
PostCode: str
|
|
109
|
+
|
|
110
|
+
class OwnOrderIssueKind(BaseModel):
|
|
111
|
+
Code: str
|
|
112
|
+
AddIfNotExist: bool
|
|
113
|
+
|
|
114
|
+
class OwnOrderIssuePosition(BaseModel):
|
|
115
|
+
VatRate: "VatRateBase"
|
|
116
|
+
Elements: List["OwnOrderIssuePositionElement"]
|
|
117
|
+
Code: str
|
|
118
|
+
Name: str
|
|
119
|
+
Quantity: Decimal
|
|
120
|
+
UnitOfMeasurement: str
|
|
121
|
+
Value: Decimal
|
|
122
|
+
|
|
123
|
+
class OwnOrderIssuePositionElement(BaseModel):
|
|
124
|
+
Code: str
|
|
125
|
+
Name: str
|
|
126
|
+
Quantity: Decimal
|
|
127
|
+
UnitOfMeasurement: str
|
|
128
|
+
Value: Decimal
|
|
129
|
+
|
|
130
|
+
class OwnOrderListElement(BaseModel):
|
|
131
|
+
Id: int
|
|
132
|
+
DocumentNumber: str
|
|
133
|
+
Active: bool
|
|
134
|
+
Canceled: "enumCancelationType"
|
|
135
|
+
Buffer: bool
|
|
136
|
+
Settled: bool
|
|
137
|
+
IssueDate: Optional[datetime]
|
|
138
|
+
ReceiveDate: Optional[datetime]
|
|
139
|
+
MaturityDate: Optional[datetime]
|
|
140
|
+
TypeCode: str
|
|
141
|
+
Series: str
|
|
142
|
+
NumberInSeries: int
|
|
143
|
+
IssuerId: int
|
|
144
|
+
SellerId: Optional[int]
|
|
145
|
+
DelivererId: Optional[int]
|
|
146
|
+
DepartmentId: int
|
|
147
|
+
NetValuePLN: Decimal
|
|
148
|
+
VatValuePLN: Decimal
|
|
149
|
+
NetValue: Decimal
|
|
150
|
+
GrossValue: Decimal
|
|
151
|
+
Currency: str
|
|
152
|
+
Description: str
|
|
153
|
+
|
|
154
|
+
class OwnOrderPZ(BaseModel):
|
|
155
|
+
Id: int
|
|
156
|
+
DocumentNumber: str
|
|
157
|
+
IssueDate: Optional[datetime]
|
|
158
|
+
OperationDate: Optional[datetime]
|
|
159
|
+
DelivererId: int
|
|
160
|
+
|
|
161
|
+
class OwnOrderPosition(BaseModel):
|
|
162
|
+
Id: int
|
|
163
|
+
No: int
|
|
164
|
+
SetHeaderId: Optional[int]
|
|
165
|
+
ProductId: Optional[int]
|
|
166
|
+
ProductCode: str
|
|
167
|
+
Description: str
|
|
168
|
+
Quantity: Decimal
|
|
169
|
+
WrittenQuantity: Decimal
|
|
170
|
+
EnteredQuantity: Decimal
|
|
171
|
+
UnitOfMeasurement: str
|
|
172
|
+
WrittenUnitOfMeasurement: str
|
|
173
|
+
EnteredUnitOfMeasurement: str
|
|
174
|
+
VatRate: "VatRateBase"
|
|
175
|
+
PriceKind: "enumPriceKind"
|
|
176
|
+
PriceValuePLN: Decimal
|
|
177
|
+
PriceValue: Decimal
|
|
178
|
+
NetValuePLN: Decimal
|
|
179
|
+
NetValue: Decimal
|
|
180
|
+
VatValuePLN: Decimal
|
|
181
|
+
GrossValue: Decimal
|
|
182
|
+
|
|
183
|
+
class OwnOrderPositionRelation(BaseModel):
|
|
184
|
+
Id: int
|
|
185
|
+
No: int
|
|
186
|
+
ProductId: Optional[int]
|
|
187
|
+
ProductCode: str
|
|
188
|
+
Description: str
|
|
189
|
+
Quantity: Decimal
|
|
190
|
+
NetValuePLN: Decimal
|
|
191
|
+
OwnOrderId: int
|
|
192
|
+
OwnOrderNumber: str
|
|
193
|
+
RelatedFV: List["RelatedDocumentPosition"]
|
|
194
|
+
RelatedPZ: List["RelatedDocumentPosition"]
|
|
195
|
+
|
|
196
|
+
class OwnOrderStatus(BaseModel):
|
|
197
|
+
Id: int
|
|
198
|
+
DocumentNumber: str
|
|
199
|
+
Buffer: bool
|
|
200
|
+
PaymentSettled: int
|
|
201
|
+
WarehouseSettled: int
|
|
202
|
+
RDFStatus: "enumRDFStatus"
|
|
203
|
+
ManualSettled: "enumManualSettledState"
|
|
204
|
+
DocumentStatus: "enumDocumentStatus"
|
|
205
|
+
DocumentStatusText: str
|
|
@@ -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,189 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, List, Optional, overload
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from SymfWebAPI.operations import invoke_operation
|
|
6
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
7
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import DocumentSeries
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.Common.ViewModels import 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
|
+
from ._common import (
|
|
17
|
+
_prepare_Get,
|
|
18
|
+
_prepare_GetList,
|
|
19
|
+
_prepare_GetListByContractor,
|
|
20
|
+
_prepare_GetListByPaymentRegistry,
|
|
21
|
+
_prepare_GetListByReceivingPaymentRegistry,
|
|
22
|
+
_prepare_GetPDF,
|
|
23
|
+
_prepare_GetDocumentSeries,
|
|
24
|
+
_prepare_IssuePayment,
|
|
25
|
+
_prepare_IssueTransferMinus,
|
|
26
|
+
_prepare_IssueTransferPlus,
|
|
27
|
+
_prepare_IssueKP,
|
|
28
|
+
_prepare_GetPagedDocument,
|
|
29
|
+
)
|
|
30
|
+
from ._ops import (
|
|
31
|
+
OP_Get,
|
|
32
|
+
OP_GetList,
|
|
33
|
+
OP_GetListByContractor,
|
|
34
|
+
OP_GetListByPaymentRegistry,
|
|
35
|
+
OP_GetListByReceivingPaymentRegistry,
|
|
36
|
+
OP_GetPDF,
|
|
37
|
+
OP_GetDocumentSeries,
|
|
38
|
+
OP_IssuePayment,
|
|
39
|
+
OP_IssueTransferMinus,
|
|
40
|
+
OP_IssueTransferPlus,
|
|
41
|
+
OP_IssueKP,
|
|
42
|
+
OP_GetPagedDocument,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
@overload
|
|
46
|
+
def Get(api: SyncInvokerProtocol, number: str, buffer: bool) -> ResponseEnvelope[Payment]: ...
|
|
47
|
+
@overload
|
|
48
|
+
def Get(api: SyncRequestProtocol, number: str, buffer: bool) -> ResponseEnvelope[Payment]: ...
|
|
49
|
+
@overload
|
|
50
|
+
def Get(api: AsyncInvokerProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
51
|
+
@overload
|
|
52
|
+
def Get(api: AsyncRequestProtocol, number: str, buffer: bool) -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
53
|
+
def Get(api: object, number: str, buffer: bool) -> ResponseEnvelope[Payment] | Awaitable[ResponseEnvelope[Payment]]:
|
|
54
|
+
params, data = _prepare_Get(number=number, buffer=buffer)
|
|
55
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
56
|
+
|
|
57
|
+
@overload
|
|
58
|
+
def GetList(api: SyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
59
|
+
@overload
|
|
60
|
+
def GetList(api: SyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
61
|
+
@overload
|
|
62
|
+
def GetList(api: AsyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
63
|
+
@overload
|
|
64
|
+
def GetList(api: AsyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
65
|
+
def GetList(api: object, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]] | Awaitable[ResponseEnvelope[List[PaymentListElement]]]:
|
|
66
|
+
params, data = _prepare_GetList(dateFrom=dateFrom, dateTo=dateTo)
|
|
67
|
+
return invoke_operation(api, OP_GetList, params=params, data=data)
|
|
68
|
+
|
|
69
|
+
@overload
|
|
70
|
+
def GetListByContractor(api: SyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
71
|
+
@overload
|
|
72
|
+
def GetListByContractor(api: SyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
73
|
+
@overload
|
|
74
|
+
def GetListByContractor(api: AsyncInvokerProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
75
|
+
@overload
|
|
76
|
+
def GetListByContractor(api: AsyncRequestProtocol, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
77
|
+
def GetListByContractor(api: object, contractorCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]] | Awaitable[ResponseEnvelope[List[PaymentListElement]]]:
|
|
78
|
+
params, data = _prepare_GetListByContractor(contractorCode=contractorCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
79
|
+
return invoke_operation(api, OP_GetListByContractor, params=params, data=data)
|
|
80
|
+
|
|
81
|
+
@overload
|
|
82
|
+
def GetListByPaymentRegistry(api: SyncInvokerProtocol, paymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
83
|
+
@overload
|
|
84
|
+
def GetListByPaymentRegistry(api: SyncRequestProtocol, paymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
85
|
+
@overload
|
|
86
|
+
def GetListByPaymentRegistry(api: AsyncInvokerProtocol, paymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
87
|
+
@overload
|
|
88
|
+
def GetListByPaymentRegistry(api: AsyncRequestProtocol, paymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
89
|
+
def GetListByPaymentRegistry(api: object, paymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]] | Awaitable[ResponseEnvelope[List[PaymentListElement]]]:
|
|
90
|
+
params, data = _prepare_GetListByPaymentRegistry(paymentRegistryCode=paymentRegistryCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
91
|
+
return invoke_operation(api, OP_GetListByPaymentRegistry, params=params, data=data)
|
|
92
|
+
|
|
93
|
+
@overload
|
|
94
|
+
def GetListByReceivingPaymentRegistry(api: SyncInvokerProtocol, receivingPaymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
95
|
+
@overload
|
|
96
|
+
def GetListByReceivingPaymentRegistry(api: SyncRequestProtocol, receivingPaymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]]: ...
|
|
97
|
+
@overload
|
|
98
|
+
def GetListByReceivingPaymentRegistry(api: AsyncInvokerProtocol, receivingPaymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
99
|
+
@overload
|
|
100
|
+
def GetListByReceivingPaymentRegistry(api: AsyncRequestProtocol, receivingPaymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[PaymentListElement]]]: ...
|
|
101
|
+
def GetListByReceivingPaymentRegistry(api: object, receivingPaymentRegistryCode: str, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[PaymentListElement]] | Awaitable[ResponseEnvelope[List[PaymentListElement]]]:
|
|
102
|
+
params, data = _prepare_GetListByReceivingPaymentRegistry(receivingPaymentRegistryCode=receivingPaymentRegistryCode, dateFrom=dateFrom, dateTo=dateTo)
|
|
103
|
+
return invoke_operation(api, OP_GetListByReceivingPaymentRegistry, params=params, data=data)
|
|
104
|
+
|
|
105
|
+
@overload
|
|
106
|
+
def GetPDF(api: SyncInvokerProtocol, documentNumber: str, buffer: bool, printNote: bool) -> ResponseEnvelope[PDF]: ...
|
|
107
|
+
@overload
|
|
108
|
+
def GetPDF(api: SyncRequestProtocol, documentNumber: str, buffer: bool, printNote: bool) -> ResponseEnvelope[PDF]: ...
|
|
109
|
+
@overload
|
|
110
|
+
def GetPDF(api: AsyncInvokerProtocol, documentNumber: str, buffer: bool, printNote: bool) -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
111
|
+
@overload
|
|
112
|
+
def GetPDF(api: AsyncRequestProtocol, documentNumber: str, buffer: bool, printNote: bool) -> Awaitable[ResponseEnvelope[PDF]]: ...
|
|
113
|
+
def GetPDF(api: object, documentNumber: str, buffer: bool, printNote: bool) -> ResponseEnvelope[PDF] | Awaitable[ResponseEnvelope[PDF]]:
|
|
114
|
+
params, data = _prepare_GetPDF(documentNumber=documentNumber, buffer=buffer, printNote=printNote)
|
|
115
|
+
return invoke_operation(api, OP_GetPDF, params=params, data=data)
|
|
116
|
+
|
|
117
|
+
@overload
|
|
118
|
+
def GetDocumentSeries(api: SyncInvokerProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
119
|
+
@overload
|
|
120
|
+
def GetDocumentSeries(api: SyncRequestProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
121
|
+
@overload
|
|
122
|
+
def GetDocumentSeries(api: AsyncInvokerProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
123
|
+
@overload
|
|
124
|
+
def GetDocumentSeries(api: AsyncRequestProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
125
|
+
def GetDocumentSeries(api: object, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]] | Awaitable[ResponseEnvelope[List[DocumentSeries]]]:
|
|
126
|
+
params, data = _prepare_GetDocumentSeries(documentTypeId=documentTypeId)
|
|
127
|
+
return invoke_operation(api, OP_GetDocumentSeries, params=params, data=data)
|
|
128
|
+
|
|
129
|
+
@overload
|
|
130
|
+
def IssuePayment(api: SyncInvokerProtocol, payment: "PaymentIssue") -> ResponseEnvelope[Payment]: ...
|
|
131
|
+
@overload
|
|
132
|
+
def IssuePayment(api: SyncRequestProtocol, payment: "PaymentIssue") -> ResponseEnvelope[Payment]: ...
|
|
133
|
+
@overload
|
|
134
|
+
def IssuePayment(api: AsyncInvokerProtocol, payment: "PaymentIssue") -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
135
|
+
@overload
|
|
136
|
+
def IssuePayment(api: AsyncRequestProtocol, payment: "PaymentIssue") -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
137
|
+
def IssuePayment(api: object, payment: "PaymentIssue") -> ResponseEnvelope[Payment] | Awaitable[ResponseEnvelope[Payment]]:
|
|
138
|
+
params, data = _prepare_IssuePayment(payment=payment)
|
|
139
|
+
return invoke_operation(api, OP_IssuePayment, params=params, data=data)
|
|
140
|
+
|
|
141
|
+
@overload
|
|
142
|
+
def IssueTransferMinus(api: SyncInvokerProtocol, payment: "PaymentIssue") -> ResponseEnvelope[Payment]: ...
|
|
143
|
+
@overload
|
|
144
|
+
def IssueTransferMinus(api: SyncRequestProtocol, payment: "PaymentIssue") -> ResponseEnvelope[Payment]: ...
|
|
145
|
+
@overload
|
|
146
|
+
def IssueTransferMinus(api: AsyncInvokerProtocol, payment: "PaymentIssue") -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
147
|
+
@overload
|
|
148
|
+
def IssueTransferMinus(api: AsyncRequestProtocol, payment: "PaymentIssue") -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
149
|
+
def IssueTransferMinus(api: object, payment: "PaymentIssue") -> ResponseEnvelope[Payment] | Awaitable[ResponseEnvelope[Payment]]:
|
|
150
|
+
params, data = _prepare_IssueTransferMinus(payment=payment)
|
|
151
|
+
return invoke_operation(api, OP_IssueTransferMinus, params=params, data=data)
|
|
152
|
+
|
|
153
|
+
@overload
|
|
154
|
+
def IssueTransferPlus(api: SyncInvokerProtocol, paymentNumber: str) -> ResponseEnvelope[Payment]: ...
|
|
155
|
+
@overload
|
|
156
|
+
def IssueTransferPlus(api: SyncRequestProtocol, paymentNumber: str) -> ResponseEnvelope[Payment]: ...
|
|
157
|
+
@overload
|
|
158
|
+
def IssueTransferPlus(api: AsyncInvokerProtocol, paymentNumber: str) -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
159
|
+
@overload
|
|
160
|
+
def IssueTransferPlus(api: AsyncRequestProtocol, paymentNumber: str) -> Awaitable[ResponseEnvelope[Payment]]: ...
|
|
161
|
+
def IssueTransferPlus(api: object, paymentNumber: str) -> ResponseEnvelope[Payment] | Awaitable[ResponseEnvelope[Payment]]:
|
|
162
|
+
params, data = _prepare_IssueTransferPlus(paymentNumber=paymentNumber)
|
|
163
|
+
return invoke_operation(api, OP_IssueTransferPlus, params=params, data=data)
|
|
164
|
+
|
|
165
|
+
@overload
|
|
166
|
+
def IssueKP(api: SyncInvokerProtocol, payment: "PaymentKPIssue") -> ResponseEnvelope[None]: ...
|
|
167
|
+
@overload
|
|
168
|
+
def IssueKP(api: SyncRequestProtocol, payment: "PaymentKPIssue") -> ResponseEnvelope[None]: ...
|
|
169
|
+
@overload
|
|
170
|
+
def IssueKP(api: AsyncInvokerProtocol, payment: "PaymentKPIssue") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
171
|
+
@overload
|
|
172
|
+
def IssueKP(api: AsyncRequestProtocol, payment: "PaymentKPIssue") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
173
|
+
def IssueKP(api: object, payment: "PaymentKPIssue") -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
174
|
+
params, data = _prepare_IssueKP(payment=payment)
|
|
175
|
+
return invoke_operation(api, OP_IssueKP, params=params, data=data)
|
|
176
|
+
|
|
177
|
+
@overload
|
|
178
|
+
def GetPagedDocument(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
179
|
+
@overload
|
|
180
|
+
def GetPagedDocument(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
181
|
+
@overload
|
|
182
|
+
def GetPagedDocument(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
183
|
+
@overload
|
|
184
|
+
def GetPagedDocument(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
185
|
+
def GetPagedDocument(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
186
|
+
params, data = _prepare_GetPagedDocument(page=page, size=size, orderBy=orderBy)
|
|
187
|
+
return invoke_operation(api, OP_GetPagedDocument, params=params, data=data)
|
|
188
|
+
|
|
189
|
+
__all__ = ["Get", "GetList", "GetListByContractor", "GetListByPaymentRegistry", "GetListByReceivingPaymentRegistry", "GetPDF", "GetDocumentSeries", "IssuePayment", "IssueTransferMinus", "IssueTransferPlus", "IssueKP", "GetPagedDocument"]
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/Payments')
|
|
6
|
+
def _prepare_Get(*, number, buffer) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["number"] = number
|
|
9
|
+
params["buffer"] = buffer
|
|
10
|
+
data = None
|
|
11
|
+
return params or None, data
|
|
12
|
+
|
|
13
|
+
_REQUEST_GetList = ('GET', '/api/Payments/Filter')
|
|
14
|
+
def _prepare_GetList(*, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
if dateFrom is not None:
|
|
17
|
+
params["dateFrom"] = dateFrom
|
|
18
|
+
if dateTo is not None:
|
|
19
|
+
params["dateTo"] = dateTo
|
|
20
|
+
data = None
|
|
21
|
+
return params or None, data
|
|
22
|
+
|
|
23
|
+
_REQUEST_GetListByContractor = ('GET', '/api/Payments/Filter')
|
|
24
|
+
def _prepare_GetListByContractor(*, contractorCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
params["contractorCode"] = contractorCode
|
|
27
|
+
if dateFrom is not None:
|
|
28
|
+
params["dateFrom"] = dateFrom
|
|
29
|
+
if dateTo is not None:
|
|
30
|
+
params["dateTo"] = dateTo
|
|
31
|
+
data = None
|
|
32
|
+
return params or None, data
|
|
33
|
+
|
|
34
|
+
_REQUEST_GetListByPaymentRegistry = ('GET', '/api/Payments/Filter')
|
|
35
|
+
def _prepare_GetListByPaymentRegistry(*, paymentRegistryCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
36
|
+
params: dict[str, Any] = {}
|
|
37
|
+
params["paymentRegistryCode"] = paymentRegistryCode
|
|
38
|
+
if dateFrom is not None:
|
|
39
|
+
params["dateFrom"] = dateFrom
|
|
40
|
+
if dateTo is not None:
|
|
41
|
+
params["dateTo"] = dateTo
|
|
42
|
+
data = None
|
|
43
|
+
return params or None, data
|
|
44
|
+
|
|
45
|
+
_REQUEST_GetListByReceivingPaymentRegistry = ('GET', '/api/Payments/Filter')
|
|
46
|
+
def _prepare_GetListByReceivingPaymentRegistry(*, receivingPaymentRegistryCode, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
47
|
+
params: dict[str, Any] = {}
|
|
48
|
+
params["receivingPaymentRegistryCode"] = receivingPaymentRegistryCode
|
|
49
|
+
if dateFrom is not None:
|
|
50
|
+
params["dateFrom"] = dateFrom
|
|
51
|
+
if dateTo is not None:
|
|
52
|
+
params["dateTo"] = dateTo
|
|
53
|
+
data = None
|
|
54
|
+
return params or None, data
|
|
55
|
+
|
|
56
|
+
_REQUEST_GetPDF = ('GET', '/api/Payments/PDF')
|
|
57
|
+
def _prepare_GetPDF(*, documentNumber, buffer, printNote) -> tuple[dict[str, Any] | None, Any]:
|
|
58
|
+
params: dict[str, Any] = {}
|
|
59
|
+
params["documentNumber"] = documentNumber
|
|
60
|
+
params["buffer"] = buffer
|
|
61
|
+
params["printNote"] = printNote
|
|
62
|
+
data = None
|
|
63
|
+
return params or None, data
|
|
64
|
+
|
|
65
|
+
_REQUEST_GetDocumentSeries = ('GET', '/api/Payments/DocumentSeries')
|
|
66
|
+
def _prepare_GetDocumentSeries(*, documentTypeId) -> tuple[dict[str, Any] | None, Any]:
|
|
67
|
+
params: dict[str, Any] = {}
|
|
68
|
+
params["documentTypeId"] = documentTypeId
|
|
69
|
+
data = None
|
|
70
|
+
return params or None, data
|
|
71
|
+
|
|
72
|
+
_REQUEST_IssuePayment = ('POST', '/api/Payments/Payment')
|
|
73
|
+
def _prepare_IssuePayment(*, payment) -> tuple[dict[str, Any] | None, Any]:
|
|
74
|
+
params: dict[str, Any] = {}
|
|
75
|
+
data = payment.model_dump_json(exclude_unset=True) if payment is not None else None
|
|
76
|
+
return params or None, data
|
|
77
|
+
|
|
78
|
+
_REQUEST_IssueTransferMinus = ('POST', '/api/Payments/TransferMinus')
|
|
79
|
+
def _prepare_IssueTransferMinus(*, payment) -> tuple[dict[str, Any] | None, Any]:
|
|
80
|
+
params: dict[str, Any] = {}
|
|
81
|
+
data = payment.model_dump_json(exclude_unset=True) if payment is not None else None
|
|
82
|
+
return params or None, data
|
|
83
|
+
|
|
84
|
+
_REQUEST_IssueTransferPlus = ('PUT', '/api/Payments/TransferPlus')
|
|
85
|
+
def _prepare_IssueTransferPlus(*, paymentNumber) -> tuple[dict[str, Any] | None, Any]:
|
|
86
|
+
params: dict[str, Any] = {}
|
|
87
|
+
params["paymentNumber"] = paymentNumber
|
|
88
|
+
data = None
|
|
89
|
+
return params or None, data
|
|
90
|
+
|
|
91
|
+
_REQUEST_IssueKP = ('POST', '/api/Payments/IssueKP')
|
|
92
|
+
def _prepare_IssueKP(*, payment) -> tuple[dict[str, Any] | None, Any]:
|
|
93
|
+
params: dict[str, Any] = {}
|
|
94
|
+
data = payment.model_dump_json(exclude_unset=True) if payment is not None else None
|
|
95
|
+
return params or None, data
|
|
96
|
+
|
|
97
|
+
_REQUEST_GetPagedDocument = ('GET', '/api/Payments/Page')
|
|
98
|
+
def _prepare_GetPagedDocument(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
99
|
+
params: dict[str, Any] = {}
|
|
100
|
+
params["page"] = page
|
|
101
|
+
params["size"] = size
|
|
102
|
+
params["orderBy"] = orderBy.value
|
|
103
|
+
data = None
|
|
104
|
+
return params or None, data
|