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,83 @@
|
|
|
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.BankAccounts.ViewModels import BankAccount
|
|
8
|
+
from ._common import (
|
|
9
|
+
_prepare_Get,
|
|
10
|
+
_prepare_GetListByContractor,
|
|
11
|
+
_prepare_Insert,
|
|
12
|
+
_prepare_Update,
|
|
13
|
+
_prepare_SetAsMain,
|
|
14
|
+
)
|
|
15
|
+
from ._ops import (
|
|
16
|
+
OP_Get,
|
|
17
|
+
OP_GetListByContractor,
|
|
18
|
+
OP_Insert,
|
|
19
|
+
OP_Update,
|
|
20
|
+
OP_SetAsMain,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
@overload
|
|
24
|
+
def Get(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[BankAccount]: ...
|
|
25
|
+
@overload
|
|
26
|
+
def Get(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[BankAccount]: ...
|
|
27
|
+
@overload
|
|
28
|
+
def Get(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[BankAccount]]: ...
|
|
29
|
+
@overload
|
|
30
|
+
def Get(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[BankAccount]]: ...
|
|
31
|
+
def Get(api: object, id: int) -> ResponseEnvelope[BankAccount] | Awaitable[ResponseEnvelope[BankAccount]]:
|
|
32
|
+
params, data = _prepare_Get(id=id)
|
|
33
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
34
|
+
|
|
35
|
+
@overload
|
|
36
|
+
def GetListByContractor(api: SyncInvokerProtocol, contractorCode: str) -> ResponseEnvelope[List[BankAccount]]: ...
|
|
37
|
+
@overload
|
|
38
|
+
def GetListByContractor(api: SyncRequestProtocol, contractorCode: str) -> ResponseEnvelope[List[BankAccount]]: ...
|
|
39
|
+
@overload
|
|
40
|
+
def GetListByContractor(api: AsyncInvokerProtocol, contractorCode: str) -> Awaitable[ResponseEnvelope[List[BankAccount]]]: ...
|
|
41
|
+
@overload
|
|
42
|
+
def GetListByContractor(api: AsyncRequestProtocol, contractorCode: str) -> Awaitable[ResponseEnvelope[List[BankAccount]]]: ...
|
|
43
|
+
def GetListByContractor(api: object, contractorCode: str) -> ResponseEnvelope[List[BankAccount]] | Awaitable[ResponseEnvelope[List[BankAccount]]]:
|
|
44
|
+
params, data = _prepare_GetListByContractor(contractorCode=contractorCode)
|
|
45
|
+
return invoke_operation(api, OP_GetListByContractor, params=params, data=data)
|
|
46
|
+
|
|
47
|
+
@overload
|
|
48
|
+
def Insert(api: SyncInvokerProtocol, contractorCode: str, bankAccount: "BankAccount") -> ResponseEnvelope[BankAccount]: ...
|
|
49
|
+
@overload
|
|
50
|
+
def Insert(api: SyncRequestProtocol, contractorCode: str, bankAccount: "BankAccount") -> ResponseEnvelope[BankAccount]: ...
|
|
51
|
+
@overload
|
|
52
|
+
def Insert(api: AsyncInvokerProtocol, contractorCode: str, bankAccount: "BankAccount") -> Awaitable[ResponseEnvelope[BankAccount]]: ...
|
|
53
|
+
@overload
|
|
54
|
+
def Insert(api: AsyncRequestProtocol, contractorCode: str, bankAccount: "BankAccount") -> Awaitable[ResponseEnvelope[BankAccount]]: ...
|
|
55
|
+
def Insert(api: object, contractorCode: str, bankAccount: "BankAccount") -> ResponseEnvelope[BankAccount] | Awaitable[ResponseEnvelope[BankAccount]]:
|
|
56
|
+
params, data = _prepare_Insert(contractorCode=contractorCode, bankAccount=bankAccount)
|
|
57
|
+
return invoke_operation(api, OP_Insert, params=params, data=data)
|
|
58
|
+
|
|
59
|
+
@overload
|
|
60
|
+
def Update(api: SyncInvokerProtocol, bankAccount: "BankAccount") -> ResponseEnvelope[None]: ...
|
|
61
|
+
@overload
|
|
62
|
+
def Update(api: SyncRequestProtocol, bankAccount: "BankAccount") -> ResponseEnvelope[None]: ...
|
|
63
|
+
@overload
|
|
64
|
+
def Update(api: AsyncInvokerProtocol, bankAccount: "BankAccount") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
65
|
+
@overload
|
|
66
|
+
def Update(api: AsyncRequestProtocol, bankAccount: "BankAccount") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
67
|
+
def Update(api: object, bankAccount: "BankAccount") -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
68
|
+
params, data = _prepare_Update(bankAccount=bankAccount)
|
|
69
|
+
return invoke_operation(api, OP_Update, params=params, data=data)
|
|
70
|
+
|
|
71
|
+
@overload
|
|
72
|
+
def SetAsMain(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[None]: ...
|
|
73
|
+
@overload
|
|
74
|
+
def SetAsMain(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[None]: ...
|
|
75
|
+
@overload
|
|
76
|
+
def SetAsMain(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
77
|
+
@overload
|
|
78
|
+
def SetAsMain(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
79
|
+
def SetAsMain(api: object, id: int) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
80
|
+
params, data = _prepare_SetAsMain(id=id)
|
|
81
|
+
return invoke_operation(api, OP_SetAsMain, params=params, data=data)
|
|
82
|
+
|
|
83
|
+
__all__ = ["Get", "GetListByContractor", "Insert", "Update", "SetAsMain"]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/BankAccounts')
|
|
6
|
+
def _prepare_Get(*, id) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["id"] = id
|
|
9
|
+
data = None
|
|
10
|
+
return params or None, data
|
|
11
|
+
|
|
12
|
+
_REQUEST_GetListByContractor = ('GET', '/api/BankAccounts')
|
|
13
|
+
def _prepare_GetListByContractor(*, contractorCode) -> tuple[dict[str, Any] | None, Any]:
|
|
14
|
+
params: dict[str, Any] = {}
|
|
15
|
+
params["contractorCode"] = contractorCode
|
|
16
|
+
data = None
|
|
17
|
+
return params or None, data
|
|
18
|
+
|
|
19
|
+
_REQUEST_Insert = ('POST', '/api/BankAccounts/Create')
|
|
20
|
+
def _prepare_Insert(*, contractorCode, bankAccount) -> tuple[dict[str, Any] | None, Any]:
|
|
21
|
+
params: dict[str, Any] = {}
|
|
22
|
+
params["contractorCode"] = contractorCode
|
|
23
|
+
data = bankAccount.model_dump_json(exclude_unset=True) if bankAccount is not None else None
|
|
24
|
+
return params or None, data
|
|
25
|
+
|
|
26
|
+
_REQUEST_Update = ('PUT', '/api/BankAccounts/Update')
|
|
27
|
+
def _prepare_Update(*, bankAccount) -> tuple[dict[str, Any] | None, Any]:
|
|
28
|
+
params: dict[str, Any] = {}
|
|
29
|
+
data = bankAccount.model_dump_json(exclude_unset=True) if bankAccount is not None else None
|
|
30
|
+
return params or None, data
|
|
31
|
+
|
|
32
|
+
_REQUEST_SetAsMain = ('PATCH', '/api/BankAccounts/SetAsMain')
|
|
33
|
+
def _prepare_SetAsMain(*, id) -> tuple[dict[str, Any] | None, Any]:
|
|
34
|
+
params: dict[str, Any] = {}
|
|
35
|
+
params["id"] = id
|
|
36
|
+
data = None
|
|
37
|
+
return params or None, data
|
|
@@ -0,0 +1,33 @@
|
|
|
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.BankAccounts.ViewModels import BankAccount
|
|
8
|
+
|
|
9
|
+
_ADAPTER_Get = TypeAdapter(BankAccount)
|
|
10
|
+
|
|
11
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[BankAccount]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
13
|
+
OP_Get = OperationSpec(method='GET', path='/api/BankAccounts', parser=_parse_Get)
|
|
14
|
+
|
|
15
|
+
_ADAPTER_GetListByContractor = TypeAdapter(List[BankAccount])
|
|
16
|
+
|
|
17
|
+
def _parse_GetListByContractor(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[BankAccount]]:
|
|
18
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByContractor)
|
|
19
|
+
OP_GetListByContractor = OperationSpec(method='GET', path='/api/BankAccounts', parser=_parse_GetListByContractor)
|
|
20
|
+
|
|
21
|
+
_ADAPTER_Insert = TypeAdapter(BankAccount)
|
|
22
|
+
|
|
23
|
+
def _parse_Insert(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[BankAccount]:
|
|
24
|
+
return parse_with_adapter(envelope, _ADAPTER_Insert)
|
|
25
|
+
OP_Insert = OperationSpec(method='POST', path='/api/BankAccounts/Create', parser=_parse_Insert)
|
|
26
|
+
|
|
27
|
+
def _parse_Update(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
28
|
+
return parse_none(envelope)
|
|
29
|
+
OP_Update = OperationSpec(method='PUT', path='/api/BankAccounts/Update', parser=_parse_Update)
|
|
30
|
+
|
|
31
|
+
def _parse_SetAsMain(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
32
|
+
return parse_none(envelope)
|
|
33
|
+
OP_SetAsMain = OperationSpec(method='PATCH', path='/api/BankAccounts/SetAsMain', parser=_parse_SetAsMain)
|
|
@@ -0,0 +1,21 @@
|
|
|
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__ = ("IBankAccountsController",)
|
|
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 IBankAccountsController as _IBankAccountsController
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
|
|
8
|
+
class BankAccount(BaseModel):
|
|
9
|
+
Id: int
|
|
10
|
+
AccountNumber: str
|
|
11
|
+
BankName: str
|
|
12
|
+
Active: bool
|
|
13
|
+
Main: bool
|
|
14
|
+
SWIFT_BIC: str
|
|
15
|
+
WhiteList: Optional[bool]
|
|
16
|
+
WhiteListDate: Optional[datetime]
|
|
@@ -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,56 @@
|
|
|
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 CurrencyRate
|
|
9
|
+
from ._common import (
|
|
10
|
+
_prepare_Get,
|
|
11
|
+
_prepare_GetList,
|
|
12
|
+
_prepare_GetListByCurrency,
|
|
13
|
+
)
|
|
14
|
+
from ._ops import (
|
|
15
|
+
OP_Get,
|
|
16
|
+
OP_GetList,
|
|
17
|
+
OP_GetListByCurrency,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
@overload
|
|
21
|
+
def Get(api: SyncInvokerProtocol, currencyId: int, date: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
22
|
+
@overload
|
|
23
|
+
def Get(api: SyncRequestProtocol, currencyId: int, date: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
24
|
+
@overload
|
|
25
|
+
def Get(api: AsyncInvokerProtocol, currencyId: int, date: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
26
|
+
@overload
|
|
27
|
+
def Get(api: AsyncRequestProtocol, currencyId: int, date: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
28
|
+
def Get(api: object, currencyId: int, date: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]] | Awaitable[ResponseEnvelope[List[CurrencyRate]]]:
|
|
29
|
+
params, data = _prepare_Get(currencyId=currencyId, date=date)
|
|
30
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
31
|
+
|
|
32
|
+
@overload
|
|
33
|
+
def GetList(api: SyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
34
|
+
@overload
|
|
35
|
+
def GetList(api: SyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
36
|
+
@overload
|
|
37
|
+
def GetList(api: AsyncInvokerProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
38
|
+
@overload
|
|
39
|
+
def GetList(api: AsyncRequestProtocol, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
40
|
+
def GetList(api: object, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]] | Awaitable[ResponseEnvelope[List[CurrencyRate]]]:
|
|
41
|
+
params, data = _prepare_GetList(dateFrom=dateFrom, dateTo=dateTo)
|
|
42
|
+
return invoke_operation(api, OP_GetList, params=params, data=data)
|
|
43
|
+
|
|
44
|
+
@overload
|
|
45
|
+
def GetListByCurrency(api: SyncInvokerProtocol, currencyId: int, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
46
|
+
@overload
|
|
47
|
+
def GetListByCurrency(api: SyncRequestProtocol, currencyId: int, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]]: ...
|
|
48
|
+
@overload
|
|
49
|
+
def GetListByCurrency(api: AsyncInvokerProtocol, currencyId: int, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
50
|
+
@overload
|
|
51
|
+
def GetListByCurrency(api: AsyncRequestProtocol, currencyId: int, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> Awaitable[ResponseEnvelope[List[CurrencyRate]]]: ...
|
|
52
|
+
def GetListByCurrency(api: object, currencyId: int, dateFrom: Optional[datetime] = None, dateTo: Optional[datetime] = None) -> ResponseEnvelope[List[CurrencyRate]] | Awaitable[ResponseEnvelope[List[CurrencyRate]]]:
|
|
53
|
+
params, data = _prepare_GetListByCurrency(currencyId=currencyId, dateFrom=dateFrom, dateTo=dateTo)
|
|
54
|
+
return invoke_operation(api, OP_GetListByCurrency, params=params, data=data)
|
|
55
|
+
|
|
56
|
+
__all__ = ["Get", "GetList", "GetListByCurrency"]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/CurrencyRates')
|
|
6
|
+
def _prepare_Get(*, currencyId, date = None) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["currencyId"] = currencyId
|
|
9
|
+
if date is not None:
|
|
10
|
+
params["date"] = date
|
|
11
|
+
data = None
|
|
12
|
+
return params or None, data
|
|
13
|
+
|
|
14
|
+
_REQUEST_GetList = ('GET', '/api/CurrencyRates/Filter')
|
|
15
|
+
def _prepare_GetList(*, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
16
|
+
params: dict[str, Any] = {}
|
|
17
|
+
if dateFrom is not None:
|
|
18
|
+
params["dateFrom"] = dateFrom
|
|
19
|
+
if dateTo is not None:
|
|
20
|
+
params["dateTo"] = dateTo
|
|
21
|
+
data = None
|
|
22
|
+
return params or None, data
|
|
23
|
+
|
|
24
|
+
_REQUEST_GetListByCurrency = ('GET', '/api/CurrencyRates/Filter')
|
|
25
|
+
def _prepare_GetListByCurrency(*, currencyId, dateFrom = None, dateTo = None) -> tuple[dict[str, Any] | None, Any]:
|
|
26
|
+
params: dict[str, Any] = {}
|
|
27
|
+
params["currencyId"] = currencyId
|
|
28
|
+
if dateFrom is not None:
|
|
29
|
+
params["dateFrom"] = dateFrom
|
|
30
|
+
if dateTo is not None:
|
|
31
|
+
params["dateTo"] = dateTo
|
|
32
|
+
data = None
|
|
33
|
+
return params or None, data
|
|
@@ -0,0 +1,26 @@
|
|
|
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 CurrencyRate
|
|
9
|
+
|
|
10
|
+
_ADAPTER_Get = TypeAdapter(List[CurrencyRate])
|
|
11
|
+
|
|
12
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[CurrencyRate]]:
|
|
13
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
14
|
+
OP_Get = OperationSpec(method='GET', path='/api/CurrencyRates', parser=_parse_Get)
|
|
15
|
+
|
|
16
|
+
_ADAPTER_GetList = TypeAdapter(List[CurrencyRate])
|
|
17
|
+
|
|
18
|
+
def _parse_GetList(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[CurrencyRate]]:
|
|
19
|
+
return parse_with_adapter(envelope, _ADAPTER_GetList)
|
|
20
|
+
OP_GetList = OperationSpec(method='GET', path='/api/CurrencyRates/Filter', parser=_parse_GetList)
|
|
21
|
+
|
|
22
|
+
_ADAPTER_GetListByCurrency = TypeAdapter(List[CurrencyRate])
|
|
23
|
+
|
|
24
|
+
def _parse_GetListByCurrency(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[CurrencyRate]]:
|
|
25
|
+
return parse_with_adapter(envelope, _ADAPTER_GetListByCurrency)
|
|
26
|
+
OP_GetListByCurrency = OperationSpec(method='GET', path='/api/CurrencyRates/Filter', parser=_parse_GetListByCurrency)
|
|
@@ -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.Common.ViewModels import DocumentSeries
|
|
8
|
+
from ._common import (
|
|
9
|
+
_prepare_Get,
|
|
10
|
+
)
|
|
11
|
+
from ._ops import (
|
|
12
|
+
OP_Get,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
@overload
|
|
16
|
+
def Get(api: SyncInvokerProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
17
|
+
@overload
|
|
18
|
+
def Get(api: SyncRequestProtocol, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]]: ...
|
|
19
|
+
@overload
|
|
20
|
+
def Get(api: AsyncInvokerProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
21
|
+
@overload
|
|
22
|
+
def Get(api: AsyncRequestProtocol, documentTypeId: int) -> Awaitable[ResponseEnvelope[List[DocumentSeries]]]: ...
|
|
23
|
+
def Get(api: object, documentTypeId: int) -> ResponseEnvelope[List[DocumentSeries]] | Awaitable[ResponseEnvelope[List[DocumentSeries]]]:
|
|
24
|
+
params, data = _prepare_Get(documentTypeId=documentTypeId)
|
|
25
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
26
|
+
|
|
27
|
+
__all__ = ["Get"]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/DocumentSeries')
|
|
6
|
+
def _prepare_Get(*, documentTypeId) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["documentTypeId"] = documentTypeId
|
|
9
|
+
data = None
|
|
10
|
+
return params or None, data
|
|
@@ -0,0 +1,13 @@
|
|
|
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 DocumentSeries
|
|
8
|
+
|
|
9
|
+
_ADAPTER_Get = TypeAdapter(List[DocumentSeries])
|
|
10
|
+
|
|
11
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[DocumentSeries]]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
13
|
+
OP_Get = OperationSpec(method='GET', path='/api/DocumentSeries', parser=_parse_Get)
|
|
@@ -0,0 +1,41 @@
|
|
|
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.Documents.ViewModels import DocumentType
|
|
8
|
+
from ._common import (
|
|
9
|
+
_prepare_Get,
|
|
10
|
+
_prepare_GetByCharacter,
|
|
11
|
+
)
|
|
12
|
+
from ._ops import (
|
|
13
|
+
OP_Get,
|
|
14
|
+
OP_GetByCharacter,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
@overload
|
|
18
|
+
def Get(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[DocumentType]: ...
|
|
19
|
+
@overload
|
|
20
|
+
def Get(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[DocumentType]: ...
|
|
21
|
+
@overload
|
|
22
|
+
def Get(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[DocumentType]]: ...
|
|
23
|
+
@overload
|
|
24
|
+
def Get(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[DocumentType]]: ...
|
|
25
|
+
def Get(api: object, id: int) -> ResponseEnvelope[DocumentType] | Awaitable[ResponseEnvelope[DocumentType]]:
|
|
26
|
+
params, data = _prepare_Get(id=id)
|
|
27
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
28
|
+
|
|
29
|
+
@overload
|
|
30
|
+
def GetByCharacter(api: SyncInvokerProtocol, documentCharacter: int) -> ResponseEnvelope[List[DocumentType]]: ...
|
|
31
|
+
@overload
|
|
32
|
+
def GetByCharacter(api: SyncRequestProtocol, documentCharacter: int) -> ResponseEnvelope[List[DocumentType]]: ...
|
|
33
|
+
@overload
|
|
34
|
+
def GetByCharacter(api: AsyncInvokerProtocol, documentCharacter: int) -> Awaitable[ResponseEnvelope[List[DocumentType]]]: ...
|
|
35
|
+
@overload
|
|
36
|
+
def GetByCharacter(api: AsyncRequestProtocol, documentCharacter: int) -> Awaitable[ResponseEnvelope[List[DocumentType]]]: ...
|
|
37
|
+
def GetByCharacter(api: object, documentCharacter: int) -> ResponseEnvelope[List[DocumentType]] | Awaitable[ResponseEnvelope[List[DocumentType]]]:
|
|
38
|
+
params, data = _prepare_GetByCharacter(documentCharacter=documentCharacter)
|
|
39
|
+
return invoke_operation(api, OP_GetByCharacter, params=params, data=data)
|
|
40
|
+
|
|
41
|
+
__all__ = ["Get", "GetByCharacter"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/DocumentTypes')
|
|
6
|
+
def _prepare_Get(*, id) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["id"] = id
|
|
9
|
+
data = None
|
|
10
|
+
return params or None, data
|
|
11
|
+
|
|
12
|
+
_REQUEST_GetByCharacter = ('GET', '/api/DocumentTypes')
|
|
13
|
+
def _prepare_GetByCharacter(*, documentCharacter) -> tuple[dict[str, Any] | None, Any]:
|
|
14
|
+
params: dict[str, Any] = {}
|
|
15
|
+
params["documentCharacter"] = documentCharacter
|
|
16
|
+
data = None
|
|
17
|
+
return params or None, data
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Documents.ViewModels import DocumentType
|
|
8
|
+
|
|
9
|
+
_ADAPTER_Get = TypeAdapter(DocumentType)
|
|
10
|
+
|
|
11
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[DocumentType]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
13
|
+
OP_Get = OperationSpec(method='GET', path='/api/DocumentTypes', parser=_parse_Get)
|
|
14
|
+
|
|
15
|
+
_ADAPTER_GetByCharacter = TypeAdapter(List[DocumentType])
|
|
16
|
+
|
|
17
|
+
def _parse_GetByCharacter(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[DocumentType]]:
|
|
18
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByCharacter)
|
|
19
|
+
OP_GetByCharacter = OperationSpec(method='GET', path='/api/DocumentTypes', parser=_parse_GetByCharacter)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any, Awaitable, overload
|
|
4
|
+
from SymfWebAPI.operations import invoke_operation
|
|
5
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from ._common import (
|
|
8
|
+
_prepare_AddSendToKsefEventAsync,
|
|
9
|
+
_prepare_ChangeKsefStatusAsync,
|
|
10
|
+
)
|
|
11
|
+
from ._ops import (
|
|
12
|
+
OP_AddSendToKsefEventAsync,
|
|
13
|
+
OP_ChangeKsefStatusAsync,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
@overload
|
|
17
|
+
def AddSendToKsefEventAsync(api: SyncInvokerProtocol, cancellationToken: int, docId: Any) -> ResponseEnvelope[None]: ...
|
|
18
|
+
@overload
|
|
19
|
+
def AddSendToKsefEventAsync(api: SyncRequestProtocol, cancellationToken: int, docId: Any) -> ResponseEnvelope[None]: ...
|
|
20
|
+
@overload
|
|
21
|
+
def AddSendToKsefEventAsync(api: AsyncInvokerProtocol, cancellationToken: int, docId: Any) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
22
|
+
@overload
|
|
23
|
+
def AddSendToKsefEventAsync(api: AsyncRequestProtocol, cancellationToken: int, docId: Any) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
24
|
+
def AddSendToKsefEventAsync(api: object, cancellationToken: int, docId: Any) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
25
|
+
params, data = _prepare_AddSendToKsefEventAsync(cancellationToken=cancellationToken, docId=docId)
|
|
26
|
+
return invoke_operation(api, OP_AddSendToKsefEventAsync, params=params, data=data)
|
|
27
|
+
|
|
28
|
+
@overload
|
|
29
|
+
def ChangeKsefStatusAsync(api: SyncInvokerProtocol, id: int, ksefStatus: int, cancellationToken: Any) -> ResponseEnvelope[None]: ...
|
|
30
|
+
@overload
|
|
31
|
+
def ChangeKsefStatusAsync(api: SyncRequestProtocol, id: int, ksefStatus: int, cancellationToken: Any) -> ResponseEnvelope[None]: ...
|
|
32
|
+
@overload
|
|
33
|
+
def ChangeKsefStatusAsync(api: AsyncInvokerProtocol, id: int, ksefStatus: int, cancellationToken: Any) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
34
|
+
@overload
|
|
35
|
+
def ChangeKsefStatusAsync(api: AsyncRequestProtocol, id: int, ksefStatus: int, cancellationToken: Any) -> Awaitable[ResponseEnvelope[None]]: ...
|
|
36
|
+
def ChangeKsefStatusAsync(api: object, id: int, ksefStatus: int, cancellationToken: Any) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
37
|
+
params, data = _prepare_ChangeKsefStatusAsync(id=id, ksefStatus=ksefStatus, cancellationToken=cancellationToken)
|
|
38
|
+
return invoke_operation(api, OP_ChangeKsefStatusAsync, params=params, data=data)
|
|
39
|
+
|
|
40
|
+
__all__ = ["AddSendToKsefEventAsync", "ChangeKsefStatusAsync"]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_AddSendToKsefEventAsync = ('POST', '/api/Ksef/AddSendToKsefEvent')
|
|
6
|
+
def _prepare_AddSendToKsefEventAsync(*, cancellationToken, docId) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["cancellationToken"] = cancellationToken
|
|
9
|
+
params["docId"] = docId
|
|
10
|
+
data = None
|
|
11
|
+
return params or None, data
|
|
12
|
+
|
|
13
|
+
_REQUEST_ChangeKsefStatusAsync = ('POST', '/api/Ksef/ChangeKsefStatusAsync')
|
|
14
|
+
def _prepare_ChangeKsefStatusAsync(*, id, ksefStatus, cancellationToken) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
params["id"] = id
|
|
17
|
+
params["ksefStatus"] = ksefStatus
|
|
18
|
+
params["cancellationToken"] = cancellationToken
|
|
19
|
+
data = None
|
|
20
|
+
return params or None, data
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
|
|
8
|
+
def _parse_AddSendToKsefEventAsync(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
9
|
+
return parse_none(envelope)
|
|
10
|
+
OP_AddSendToKsefEventAsync = OperationSpec(method='POST', path='/api/Ksef/AddSendToKsefEvent', parser=_parse_AddSendToKsefEventAsync)
|
|
11
|
+
|
|
12
|
+
def _parse_ChangeKsefStatusAsync(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
13
|
+
return parse_none(envelope)
|
|
14
|
+
OP_ChangeKsefStatusAsync = OperationSpec(method='POST', path='/api/Ksef/ChangeKsefStatusAsync', parser=_parse_ChangeKsefStatusAsync)
|
|
@@ -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.Common.ViewModels import PaymentForm
|
|
8
|
+
from ._common import (
|
|
9
|
+
_prepare_Get,
|
|
10
|
+
)
|
|
11
|
+
from ._ops import (
|
|
12
|
+
OP_Get,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
@overload
|
|
16
|
+
def Get(api: SyncInvokerProtocol, registryId: int) -> ResponseEnvelope[List[PaymentForm]]: ...
|
|
17
|
+
@overload
|
|
18
|
+
def Get(api: SyncRequestProtocol, registryId: int) -> ResponseEnvelope[List[PaymentForm]]: ...
|
|
19
|
+
@overload
|
|
20
|
+
def Get(api: AsyncInvokerProtocol, registryId: int) -> Awaitable[ResponseEnvelope[List[PaymentForm]]]: ...
|
|
21
|
+
@overload
|
|
22
|
+
def Get(api: AsyncRequestProtocol, registryId: int) -> Awaitable[ResponseEnvelope[List[PaymentForm]]]: ...
|
|
23
|
+
def Get(api: object, registryId: int) -> ResponseEnvelope[List[PaymentForm]] | Awaitable[ResponseEnvelope[List[PaymentForm]]]:
|
|
24
|
+
params, data = _prepare_Get(registryId=registryId)
|
|
25
|
+
return invoke_operation(api, OP_Get, params=params, data=data)
|
|
26
|
+
|
|
27
|
+
__all__ = ["Get"]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_Get = ('GET', '/api/PaymentForms')
|
|
6
|
+
def _prepare_Get(*, registryId) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["registryId"] = registryId
|
|
9
|
+
data = None
|
|
10
|
+
return params or None, data
|
|
@@ -0,0 +1,13 @@
|
|
|
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 PaymentForm
|
|
8
|
+
|
|
9
|
+
_ADAPTER_Get = TypeAdapter(List[PaymentForm])
|
|
10
|
+
|
|
11
|
+
def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[PaymentForm]]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_Get)
|
|
13
|
+
OP_Get = OperationSpec(method='GET', path='/api/PaymentForms', parser=_parse_Get)
|
|
@@ -0,0 +1,25 @@
|
|
|
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__ = ("ICurrencyRatesController", "IDocumentSeriesController", "IDocumentTypesController", "IKsefController", "IPaymentFormsController",)
|
|
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 ICurrencyRatesController as _ICurrencyRatesController
|
|
22
|
+
from . import IDocumentSeriesController as _IDocumentSeriesController
|
|
23
|
+
from . import IDocumentTypesController as _IDocumentTypesController
|
|
24
|
+
from . import IKsefController as _IKsefController
|
|
25
|
+
from . import IPaymentFormsController as _IPaymentFormsController
|