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
SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_common.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
|
|
7
|
+
_REQUEST_GetById = ('GET', '/api/FKContractorDimensions')
|
|
8
|
+
def _prepare_GetById(*, contractorId) -> tuple[dict[str, Any] | None, Any]:
|
|
9
|
+
params: dict[str, Any] = {}
|
|
10
|
+
params["contractorId"] = contractorId
|
|
11
|
+
data = None
|
|
12
|
+
return params or None, data
|
|
13
|
+
|
|
14
|
+
_REQUEST_GetByPosition = ('GET', '/api/FKContractorDimensions')
|
|
15
|
+
def _prepare_GetByPosition(*, contractorPosition) -> tuple[dict[str, Any] | None, Any]:
|
|
16
|
+
params: dict[str, Any] = {}
|
|
17
|
+
params["contractorPosition"] = contractorPosition
|
|
18
|
+
data = None
|
|
19
|
+
return params or None, data
|
|
20
|
+
|
|
21
|
+
_REQUEST_GetByCode = ('GET', '/api/FKContractorDimensions')
|
|
22
|
+
def _prepare_GetByCode(*, contractorCode) -> tuple[dict[str, Any] | None, Any]:
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
params["contractorCode"] = contractorCode
|
|
25
|
+
data = None
|
|
26
|
+
return params or None, data
|
|
27
|
+
|
|
28
|
+
_REQUEST_UpdateById = ('PUT', '/api/FKContractorDimensions/UpdateList')
|
|
29
|
+
def _prepare_UpdateById(*, contractorId, contractorDimensions) -> tuple[dict[str, Any] | None, Any]:
|
|
30
|
+
params: dict[str, Any] = {}
|
|
31
|
+
params["contractorId"] = contractorId
|
|
32
|
+
data = json.dumps(contractorDimensions) if contractorDimensions is not None else None
|
|
33
|
+
return params or None, data
|
|
34
|
+
|
|
35
|
+
_REQUEST_UpdateByPosition = ('PUT', '/api/FKContractorDimensions/UpdateList')
|
|
36
|
+
def _prepare_UpdateByPosition(*, contractorPosition, contractorDimensions) -> tuple[dict[str, Any] | None, Any]:
|
|
37
|
+
params: dict[str, Any] = {}
|
|
38
|
+
params["contractorPosition"] = contractorPosition
|
|
39
|
+
data = json.dumps(contractorDimensions) if contractorDimensions is not None else None
|
|
40
|
+
return params or None, data
|
|
41
|
+
|
|
42
|
+
_REQUEST_UpdateByCode = ('PUT', '/api/FKContractorDimensions/UpdateList')
|
|
43
|
+
def _prepare_UpdateByCode(*, contractorCode, contractorDimensions) -> tuple[dict[str, Any] | None, Any]:
|
|
44
|
+
params: dict[str, Any] = {}
|
|
45
|
+
params["contractorCode"] = contractorCode
|
|
46
|
+
data = json.dumps(contractorDimensions) if contractorDimensions is not None else None
|
|
47
|
+
return params or None, data
|
SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_ops.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import Dimension
|
|
8
|
+
|
|
9
|
+
_ADAPTER_GetById = TypeAdapter(List[Dimension])
|
|
10
|
+
|
|
11
|
+
def _parse_GetById(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
12
|
+
return parse_with_adapter(envelope, _ADAPTER_GetById)
|
|
13
|
+
OP_GetById = OperationSpec(method='GET', path='/api/FKContractorDimensions', parser=_parse_GetById)
|
|
14
|
+
|
|
15
|
+
_ADAPTER_GetByPosition = TypeAdapter(List[Dimension])
|
|
16
|
+
|
|
17
|
+
def _parse_GetByPosition(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
18
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByPosition)
|
|
19
|
+
OP_GetByPosition = OperationSpec(method='GET', path='/api/FKContractorDimensions', parser=_parse_GetByPosition)
|
|
20
|
+
|
|
21
|
+
_ADAPTER_GetByCode = TypeAdapter(List[Dimension])
|
|
22
|
+
|
|
23
|
+
def _parse_GetByCode(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
24
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByCode)
|
|
25
|
+
OP_GetByCode = OperationSpec(method='GET', path='/api/FKContractorDimensions', parser=_parse_GetByCode)
|
|
26
|
+
|
|
27
|
+
def _parse_UpdateById(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
28
|
+
return parse_none(envelope)
|
|
29
|
+
OP_UpdateById = OperationSpec(method='PUT', path='/api/FKContractorDimensions/UpdateList', parser=_parse_UpdateById)
|
|
30
|
+
|
|
31
|
+
def _parse_UpdateByPosition(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
32
|
+
return parse_none(envelope)
|
|
33
|
+
OP_UpdateByPosition = OperationSpec(method='PUT', path='/api/FKContractorDimensions/UpdateList', parser=_parse_UpdateByPosition)
|
|
34
|
+
|
|
35
|
+
def _parse_UpdateByCode(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
36
|
+
return parse_none(envelope)
|
|
37
|
+
OP_UpdateByCode = OperationSpec(method='PUT', path='/api/FKContractorDimensions/UpdateList', parser=_parse_UpdateByCode)
|
|
@@ -0,0 +1,158 @@
|
|
|
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.Contractors.ViewModels.V2026_1 import Contractor
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels import ContractorCriteriaFilter
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels import ContractorListElement
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import FilterCriteria
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
13
|
+
from ._common import (
|
|
14
|
+
_prepare_GetById,
|
|
15
|
+
_prepare_GetByPosition,
|
|
16
|
+
_prepare_GetByCode,
|
|
17
|
+
_prepare_GetByNIP,
|
|
18
|
+
_prepare_GetByPesel,
|
|
19
|
+
_prepare_Filter,
|
|
20
|
+
_prepare_AddNew,
|
|
21
|
+
_prepare_Update,
|
|
22
|
+
_prepare_GetPagedDocument,
|
|
23
|
+
_prepare_FilterSql,
|
|
24
|
+
)
|
|
25
|
+
from ._ops import (
|
|
26
|
+
OP_GetById,
|
|
27
|
+
OP_GetByPosition,
|
|
28
|
+
OP_GetByCode,
|
|
29
|
+
OP_GetByNIP,
|
|
30
|
+
OP_GetByPesel,
|
|
31
|
+
OP_Filter,
|
|
32
|
+
OP_AddNew,
|
|
33
|
+
OP_Update,
|
|
34
|
+
OP_GetPagedDocument,
|
|
35
|
+
OP_FilterSql,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
@overload
|
|
39
|
+
def GetById(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[Contractor]: ...
|
|
40
|
+
@overload
|
|
41
|
+
def GetById(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[Contractor]: ...
|
|
42
|
+
@overload
|
|
43
|
+
def GetById(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
44
|
+
@overload
|
|
45
|
+
def GetById(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
46
|
+
def GetById(api: object, id: int) -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
|
|
47
|
+
params, data = _prepare_GetById(id=id)
|
|
48
|
+
return invoke_operation(api, OP_GetById, params=params, data=data)
|
|
49
|
+
|
|
50
|
+
@overload
|
|
51
|
+
def GetByPosition(api: SyncInvokerProtocol, position: int) -> ResponseEnvelope[Contractor]: ...
|
|
52
|
+
@overload
|
|
53
|
+
def GetByPosition(api: SyncRequestProtocol, position: int) -> ResponseEnvelope[Contractor]: ...
|
|
54
|
+
@overload
|
|
55
|
+
def GetByPosition(api: AsyncInvokerProtocol, position: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
56
|
+
@overload
|
|
57
|
+
def GetByPosition(api: AsyncRequestProtocol, position: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
58
|
+
def GetByPosition(api: object, position: int) -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
|
|
59
|
+
params, data = _prepare_GetByPosition(position=position)
|
|
60
|
+
return invoke_operation(api, OP_GetByPosition, params=params, data=data)
|
|
61
|
+
|
|
62
|
+
@overload
|
|
63
|
+
def GetByCode(api: SyncInvokerProtocol, code: str) -> ResponseEnvelope[Contractor]: ...
|
|
64
|
+
@overload
|
|
65
|
+
def GetByCode(api: SyncRequestProtocol, code: str) -> ResponseEnvelope[Contractor]: ...
|
|
66
|
+
@overload
|
|
67
|
+
def GetByCode(api: AsyncInvokerProtocol, code: str) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
68
|
+
@overload
|
|
69
|
+
def GetByCode(api: AsyncRequestProtocol, code: str) -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
70
|
+
def GetByCode(api: object, code: str) -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
|
|
71
|
+
params, data = _prepare_GetByCode(code=code)
|
|
72
|
+
return invoke_operation(api, OP_GetByCode, params=params, data=data)
|
|
73
|
+
|
|
74
|
+
@overload
|
|
75
|
+
def GetByNIP(api: SyncInvokerProtocol, nip: str) -> ResponseEnvelope[List[Contractor]]: ...
|
|
76
|
+
@overload
|
|
77
|
+
def GetByNIP(api: SyncRequestProtocol, nip: str) -> ResponseEnvelope[List[Contractor]]: ...
|
|
78
|
+
@overload
|
|
79
|
+
def GetByNIP(api: AsyncInvokerProtocol, nip: str) -> Awaitable[ResponseEnvelope[List[Contractor]]]: ...
|
|
80
|
+
@overload
|
|
81
|
+
def GetByNIP(api: AsyncRequestProtocol, nip: str) -> Awaitable[ResponseEnvelope[List[Contractor]]]: ...
|
|
82
|
+
def GetByNIP(api: object, nip: str) -> ResponseEnvelope[List[Contractor]] | Awaitable[ResponseEnvelope[List[Contractor]]]:
|
|
83
|
+
params, data = _prepare_GetByNIP(nip=nip)
|
|
84
|
+
return invoke_operation(api, OP_GetByNIP, params=params, data=data)
|
|
85
|
+
|
|
86
|
+
@overload
|
|
87
|
+
def GetByPesel(api: SyncInvokerProtocol, pesel: str) -> ResponseEnvelope[List[Contractor]]: ...
|
|
88
|
+
@overload
|
|
89
|
+
def GetByPesel(api: SyncRequestProtocol, pesel: str) -> ResponseEnvelope[List[Contractor]]: ...
|
|
90
|
+
@overload
|
|
91
|
+
def GetByPesel(api: AsyncInvokerProtocol, pesel: str) -> Awaitable[ResponseEnvelope[List[Contractor]]]: ...
|
|
92
|
+
@overload
|
|
93
|
+
def GetByPesel(api: AsyncRequestProtocol, pesel: str) -> Awaitable[ResponseEnvelope[List[Contractor]]]: ...
|
|
94
|
+
def GetByPesel(api: object, pesel: str) -> ResponseEnvelope[List[Contractor]] | Awaitable[ResponseEnvelope[List[Contractor]]]:
|
|
95
|
+
params, data = _prepare_GetByPesel(pesel=pesel)
|
|
96
|
+
return invoke_operation(api, OP_GetByPesel, params=params, data=data)
|
|
97
|
+
|
|
98
|
+
@overload
|
|
99
|
+
def Filter(api: SyncInvokerProtocol, criteria: List["FilterCriteria"]) -> ResponseEnvelope[List[ContractorListElement]]: ...
|
|
100
|
+
@overload
|
|
101
|
+
def Filter(api: SyncRequestProtocol, criteria: List["FilterCriteria"]) -> ResponseEnvelope[List[ContractorListElement]]: ...
|
|
102
|
+
@overload
|
|
103
|
+
def Filter(api: AsyncInvokerProtocol, criteria: List["FilterCriteria"]) -> Awaitable[ResponseEnvelope[List[ContractorListElement]]]: ...
|
|
104
|
+
@overload
|
|
105
|
+
def Filter(api: AsyncRequestProtocol, criteria: List["FilterCriteria"]) -> Awaitable[ResponseEnvelope[List[ContractorListElement]]]: ...
|
|
106
|
+
def Filter(api: object, criteria: List["FilterCriteria"]) -> ResponseEnvelope[List[ContractorListElement]] | Awaitable[ResponseEnvelope[List[ContractorListElement]]]:
|
|
107
|
+
params, data = _prepare_Filter(criteria=criteria)
|
|
108
|
+
return invoke_operation(api, OP_Filter, params=params, data=data)
|
|
109
|
+
|
|
110
|
+
@overload
|
|
111
|
+
def AddNew(api: SyncInvokerProtocol, contractor: "Contractor") -> ResponseEnvelope[Contractor]: ...
|
|
112
|
+
@overload
|
|
113
|
+
def AddNew(api: SyncRequestProtocol, contractor: "Contractor") -> ResponseEnvelope[Contractor]: ...
|
|
114
|
+
@overload
|
|
115
|
+
def AddNew(api: AsyncInvokerProtocol, contractor: "Contractor") -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
116
|
+
@overload
|
|
117
|
+
def AddNew(api: AsyncRequestProtocol, contractor: "Contractor") -> Awaitable[ResponseEnvelope[Contractor]]: ...
|
|
118
|
+
def AddNew(api: object, contractor: "Contractor") -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
|
|
119
|
+
params, data = _prepare_AddNew(contractor=contractor)
|
|
120
|
+
return invoke_operation(api, OP_AddNew, params=params, data=data)
|
|
121
|
+
|
|
122
|
+
@overload
|
|
123
|
+
def Update(api: SyncInvokerProtocol, contractor: "Contractor") -> ResponseEnvelope[None]: ...
|
|
124
|
+
@overload
|
|
125
|
+
def Update(api: SyncRequestProtocol, contractor: "Contractor") -> ResponseEnvelope[None]: ...
|
|
126
|
+
@overload
|
|
127
|
+
def Update(api: AsyncInvokerProtocol, contractor: "Contractor") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
128
|
+
@overload
|
|
129
|
+
def Update(api: AsyncRequestProtocol, contractor: "Contractor") -> Awaitable[ResponseEnvelope[None]]: ...
|
|
130
|
+
def Update(api: object, contractor: "Contractor") -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
|
|
131
|
+
params, data = _prepare_Update(contractor=contractor)
|
|
132
|
+
return invoke_operation(api, OP_Update, params=params, data=data)
|
|
133
|
+
|
|
134
|
+
@overload
|
|
135
|
+
def GetPagedDocument(api: SyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
136
|
+
@overload
|
|
137
|
+
def GetPagedDocument(api: SyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page]: ...
|
|
138
|
+
@overload
|
|
139
|
+
def GetPagedDocument(api: AsyncInvokerProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
140
|
+
@overload
|
|
141
|
+
def GetPagedDocument(api: AsyncRequestProtocol, page: int, size: int, orderBy: "enumOrderByType") -> Awaitable[ResponseEnvelope[Page]]: ...
|
|
142
|
+
def GetPagedDocument(api: object, page: int, size: int, orderBy: "enumOrderByType") -> ResponseEnvelope[Page] | Awaitable[ResponseEnvelope[Page]]:
|
|
143
|
+
params, data = _prepare_GetPagedDocument(page=page, size=size, orderBy=orderBy)
|
|
144
|
+
return invoke_operation(api, OP_GetPagedDocument, params=params, data=data)
|
|
145
|
+
|
|
146
|
+
@overload
|
|
147
|
+
def FilterSql(api: SyncInvokerProtocol, criteriaFilter: "ContractorCriteriaFilter") -> ResponseEnvelope[List[ContractorListElement]]: ...
|
|
148
|
+
@overload
|
|
149
|
+
def FilterSql(api: SyncRequestProtocol, criteriaFilter: "ContractorCriteriaFilter") -> ResponseEnvelope[List[ContractorListElement]]: ...
|
|
150
|
+
@overload
|
|
151
|
+
def FilterSql(api: AsyncInvokerProtocol, criteriaFilter: "ContractorCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ContractorListElement]]]: ...
|
|
152
|
+
@overload
|
|
153
|
+
def FilterSql(api: AsyncRequestProtocol, criteriaFilter: "ContractorCriteriaFilter") -> Awaitable[ResponseEnvelope[List[ContractorListElement]]]: ...
|
|
154
|
+
def FilterSql(api: object, criteriaFilter: "ContractorCriteriaFilter") -> ResponseEnvelope[List[ContractorListElement]] | Awaitable[ResponseEnvelope[List[ContractorListElement]]]:
|
|
155
|
+
params, data = _prepare_FilterSql(criteriaFilter=criteriaFilter)
|
|
156
|
+
return invoke_operation(api, OP_FilterSql, params=params, data=data)
|
|
157
|
+
|
|
158
|
+
__all__ = ["GetById", "GetByPosition", "GetByCode", "GetByNIP", "GetByPesel", "Filter", "AddNew", "Update", "GetPagedDocument", "FilterSql"]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
|
|
7
|
+
_REQUEST_GetById = ('GET', '/api/FKContractors')
|
|
8
|
+
def _prepare_GetById(*, id) -> tuple[dict[str, Any] | None, Any]:
|
|
9
|
+
params: dict[str, Any] = {}
|
|
10
|
+
params["id"] = id
|
|
11
|
+
data = None
|
|
12
|
+
return params or None, data
|
|
13
|
+
|
|
14
|
+
_REQUEST_GetByPosition = ('GET', '/api/FKContractors')
|
|
15
|
+
def _prepare_GetByPosition(*, position) -> tuple[dict[str, Any] | None, Any]:
|
|
16
|
+
params: dict[str, Any] = {}
|
|
17
|
+
params["position"] = position
|
|
18
|
+
data = None
|
|
19
|
+
return params or None, data
|
|
20
|
+
|
|
21
|
+
_REQUEST_GetByCode = ('GET', '/api/FKContractors')
|
|
22
|
+
def _prepare_GetByCode(*, code) -> tuple[dict[str, Any] | None, Any]:
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
params["code"] = code
|
|
25
|
+
data = None
|
|
26
|
+
return params or None, data
|
|
27
|
+
|
|
28
|
+
_REQUEST_GetByNIP = ('GET', '/api/FKContractors')
|
|
29
|
+
def _prepare_GetByNIP(*, nip) -> tuple[dict[str, Any] | None, Any]:
|
|
30
|
+
params: dict[str, Any] = {}
|
|
31
|
+
params["nip"] = nip
|
|
32
|
+
data = None
|
|
33
|
+
return params or None, data
|
|
34
|
+
|
|
35
|
+
_REQUEST_GetByPesel = ('GET', '/api/FKContractors')
|
|
36
|
+
def _prepare_GetByPesel(*, pesel) -> tuple[dict[str, Any] | None, Any]:
|
|
37
|
+
params: dict[str, Any] = {}
|
|
38
|
+
params["pesel"] = pesel
|
|
39
|
+
data = None
|
|
40
|
+
return params or None, data
|
|
41
|
+
|
|
42
|
+
_REQUEST_Filter = ('PATCH', '/api/FKContractors/Filter')
|
|
43
|
+
def _prepare_Filter(*, criteria) -> tuple[dict[str, Any] | None, Any]:
|
|
44
|
+
params: dict[str, Any] = {}
|
|
45
|
+
data = json.dumps(criteria) if criteria is not None else None
|
|
46
|
+
return params or None, data
|
|
47
|
+
|
|
48
|
+
_REQUEST_AddNew = ('POST', '/api/FKContractors/Create')
|
|
49
|
+
def _prepare_AddNew(*, contractor) -> tuple[dict[str, Any] | None, Any]:
|
|
50
|
+
params: dict[str, Any] = {}
|
|
51
|
+
data = contractor.model_dump_json(exclude_unset=True) if contractor is not None else None
|
|
52
|
+
return params or None, data
|
|
53
|
+
|
|
54
|
+
_REQUEST_Update = ('PUT', '/api/FKContractors/Update')
|
|
55
|
+
def _prepare_Update(*, contractor) -> tuple[dict[str, Any] | None, Any]:
|
|
56
|
+
params: dict[str, Any] = {}
|
|
57
|
+
data = contractor.model_dump_json(exclude_unset=True) if contractor is not None else None
|
|
58
|
+
return params or None, data
|
|
59
|
+
|
|
60
|
+
_REQUEST_GetPagedDocument = ('GET', '/api/FKContractors/Page')
|
|
61
|
+
def _prepare_GetPagedDocument(*, page, size, orderBy) -> tuple[dict[str, Any] | None, Any]:
|
|
62
|
+
params: dict[str, Any] = {}
|
|
63
|
+
params["page"] = page
|
|
64
|
+
params["size"] = size
|
|
65
|
+
params["orderBy"] = orderBy.value
|
|
66
|
+
data = None
|
|
67
|
+
return params or None, data
|
|
68
|
+
|
|
69
|
+
_REQUEST_FilterSql = ('PATCH', '/api/FKContractors/FilterSql')
|
|
70
|
+
def _prepare_FilterSql(*, criteriaFilter) -> tuple[dict[str, Any] | None, Any]:
|
|
71
|
+
params: dict[str, Any] = {}
|
|
72
|
+
data = criteriaFilter.model_dump_json(exclude_unset=True) if criteriaFilter is not None else None
|
|
73
|
+
return params or None, data
|
|
@@ -0,0 +1,70 @@
|
|
|
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.Contractors.ViewModels.V2026_1 import Contractor
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels import ContractorCriteriaFilter
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels import ContractorListElement
|
|
10
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import FilterCriteria
|
|
11
|
+
from SymfWebAPI.WebAPI.Interface.ViewModels import Page
|
|
12
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumOrderByType
|
|
13
|
+
|
|
14
|
+
_ADAPTER_GetById = TypeAdapter(Contractor)
|
|
15
|
+
|
|
16
|
+
def _parse_GetById(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
|
|
17
|
+
return parse_with_adapter(envelope, _ADAPTER_GetById)
|
|
18
|
+
OP_GetById = OperationSpec(method='GET', path='/api/FKContractors', parser=_parse_GetById)
|
|
19
|
+
|
|
20
|
+
_ADAPTER_GetByPosition = TypeAdapter(Contractor)
|
|
21
|
+
|
|
22
|
+
def _parse_GetByPosition(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
|
|
23
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByPosition)
|
|
24
|
+
OP_GetByPosition = OperationSpec(method='GET', path='/api/FKContractors', parser=_parse_GetByPosition)
|
|
25
|
+
|
|
26
|
+
_ADAPTER_GetByCode = TypeAdapter(Contractor)
|
|
27
|
+
|
|
28
|
+
def _parse_GetByCode(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
|
|
29
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByCode)
|
|
30
|
+
OP_GetByCode = OperationSpec(method='GET', path='/api/FKContractors', parser=_parse_GetByCode)
|
|
31
|
+
|
|
32
|
+
_ADAPTER_GetByNIP = TypeAdapter(List[Contractor])
|
|
33
|
+
|
|
34
|
+
def _parse_GetByNIP(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Contractor]]:
|
|
35
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByNIP)
|
|
36
|
+
OP_GetByNIP = OperationSpec(method='GET', path='/api/FKContractors', parser=_parse_GetByNIP)
|
|
37
|
+
|
|
38
|
+
_ADAPTER_GetByPesel = TypeAdapter(List[Contractor])
|
|
39
|
+
|
|
40
|
+
def _parse_GetByPesel(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Contractor]]:
|
|
41
|
+
return parse_with_adapter(envelope, _ADAPTER_GetByPesel)
|
|
42
|
+
OP_GetByPesel = OperationSpec(method='GET', path='/api/FKContractors', parser=_parse_GetByPesel)
|
|
43
|
+
|
|
44
|
+
_ADAPTER_Filter = TypeAdapter(List[ContractorListElement])
|
|
45
|
+
|
|
46
|
+
def _parse_Filter(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ContractorListElement]]:
|
|
47
|
+
return parse_with_adapter(envelope, _ADAPTER_Filter)
|
|
48
|
+
OP_Filter = OperationSpec(method='PATCH', path='/api/FKContractors/Filter', parser=_parse_Filter)
|
|
49
|
+
|
|
50
|
+
_ADAPTER_AddNew = TypeAdapter(Contractor)
|
|
51
|
+
|
|
52
|
+
def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
|
|
53
|
+
return parse_with_adapter(envelope, _ADAPTER_AddNew)
|
|
54
|
+
OP_AddNew = OperationSpec(method='POST', path='/api/FKContractors/Create', parser=_parse_AddNew)
|
|
55
|
+
|
|
56
|
+
def _parse_Update(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
|
|
57
|
+
return parse_none(envelope)
|
|
58
|
+
OP_Update = OperationSpec(method='PUT', path='/api/FKContractors/Update', parser=_parse_Update)
|
|
59
|
+
|
|
60
|
+
_ADAPTER_GetPagedDocument = TypeAdapter(Page)
|
|
61
|
+
|
|
62
|
+
def _parse_GetPagedDocument(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Page]:
|
|
63
|
+
return parse_with_adapter(envelope, _ADAPTER_GetPagedDocument)
|
|
64
|
+
OP_GetPagedDocument = OperationSpec(method='GET', path='/api/FKContractors/Page', parser=_parse_GetPagedDocument)
|
|
65
|
+
|
|
66
|
+
_ADAPTER_FilterSql = TypeAdapter(List[ContractorListElement])
|
|
67
|
+
|
|
68
|
+
def _parse_FilterSql(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[ContractorListElement]]:
|
|
69
|
+
return parse_with_adapter(envelope, _ADAPTER_FilterSql)
|
|
70
|
+
OP_FilterSql = OperationSpec(method='PATCH', path='/api/FKContractors/FilterSql', parser=_parse_FilterSql)
|
|
@@ -0,0 +1,23 @@
|
|
|
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__ = ("IFKContractorDimensions2Controller", "IFKContractorDimensionsController", "IFKContractorsController",)
|
|
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 IFKContractorDimensions2Controller as _IFKContractorDimensions2Controller
|
|
22
|
+
from . import IFKContractorDimensionsController as _IFKContractorDimensionsController
|
|
23
|
+
from . import IFKContractorsController as _IFKContractorsController
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from decimal import Decimal
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumContractorSplitPayment, enumContractorType
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import Dimension
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels import (
|
|
10
|
+
ContractorAddress,
|
|
11
|
+
ContractorBankInfo,
|
|
12
|
+
ContractorContact,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
class Contractor(BaseModel):
|
|
16
|
+
LinkedUnit: Optional[bool]
|
|
17
|
+
Id: Optional[int]
|
|
18
|
+
Position: Optional[int]
|
|
19
|
+
Active: bool
|
|
20
|
+
Code: str
|
|
21
|
+
Name: str
|
|
22
|
+
Vies: bool
|
|
23
|
+
VATTaxPayer: bool
|
|
24
|
+
SplitPayment: "enumContractorSplitPayment"
|
|
25
|
+
NIP: str
|
|
26
|
+
Regon: str
|
|
27
|
+
Pesel: str
|
|
28
|
+
CreditLimit: bool
|
|
29
|
+
MaxCreditValue: Decimal
|
|
30
|
+
CreditCurrency: str
|
|
31
|
+
Type: "enumContractorType"
|
|
32
|
+
Contact: "ContractorContact"
|
|
33
|
+
Address: "ContractorAddress"
|
|
34
|
+
BankInfo: "ContractorBankInfo"
|
|
35
|
+
Dimensions: List["Dimension"]
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
import importlib
|
|
6
|
+
from typing import TYPE_CHECKING
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.Enums import enumContractorType
|
|
9
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels.CriteriaFilter import (
|
|
10
|
+
IntCriteriaFilter,
|
|
11
|
+
StringCriteriaFilter,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
class ContractorAddress(BaseModel):
|
|
15
|
+
Country: str
|
|
16
|
+
City: str
|
|
17
|
+
Province: str
|
|
18
|
+
Street: str
|
|
19
|
+
HouseNo: str
|
|
20
|
+
ApartmentNo: str
|
|
21
|
+
PostCode: str
|
|
22
|
+
|
|
23
|
+
class ContractorBankInfo(BaseModel):
|
|
24
|
+
AccountNumber: str
|
|
25
|
+
BankName: str
|
|
26
|
+
|
|
27
|
+
class ContractorContact(BaseModel):
|
|
28
|
+
Name: str
|
|
29
|
+
Surname: str
|
|
30
|
+
Phone1: str
|
|
31
|
+
Phone2: str
|
|
32
|
+
Fax: str
|
|
33
|
+
Telex: str
|
|
34
|
+
Email: str
|
|
35
|
+
WWW: str
|
|
36
|
+
Facebook: str
|
|
37
|
+
|
|
38
|
+
class ContractorCriteriaFilter(BaseModel):
|
|
39
|
+
Code: "StringCriteriaFilter"
|
|
40
|
+
Name: "StringCriteriaFilter"
|
|
41
|
+
NIP: "StringCriteriaFilter"
|
|
42
|
+
City: "StringCriteriaFilter"
|
|
43
|
+
Province: "StringCriteriaFilter"
|
|
44
|
+
Marker: "IntCriteriaFilter"
|
|
45
|
+
Active: Optional[bool]
|
|
46
|
+
Country: "StringCriteriaFilter"
|
|
47
|
+
EmailDomain: "StringCriteriaFilter"
|
|
48
|
+
KindId: Optional[int]
|
|
49
|
+
CatalogId: Optional[int]
|
|
50
|
+
|
|
51
|
+
class ContractorListElement(BaseModel):
|
|
52
|
+
Id: int
|
|
53
|
+
Position: int
|
|
54
|
+
Code: str
|
|
55
|
+
Name: str
|
|
56
|
+
Type: Optional["enumContractorType"]
|
|
57
|
+
NIP: str
|
|
58
|
+
Active: bool
|
|
59
|
+
Place: str
|
|
60
|
+
PostCode: str
|
|
61
|
+
|
|
62
|
+
_VERSIONED_EXPORTS = {
|
|
63
|
+
'Contractor': 'V2026_1',
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
def __getattr__(name: str):
|
|
67
|
+
child_name = _VERSIONED_EXPORTS.get(name)
|
|
68
|
+
if child_name is None:
|
|
69
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
70
|
+
module = importlib.import_module(f".{child_name}", __name__)
|
|
71
|
+
value = getattr(module, name)
|
|
72
|
+
globals()[name] = value
|
|
73
|
+
return value
|
|
74
|
+
|
|
75
|
+
def __dir__():
|
|
76
|
+
return sorted(set(_VERSIONED_EXPORTS) | {n for n in globals() if not n.startswith('_')})
|
|
77
|
+
|
|
78
|
+
if TYPE_CHECKING:
|
|
79
|
+
from .V2026_1 import Contractor
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Auto-generated package (lazy imports)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import importlib
|
|
6
|
+
from typing import TYPE_CHECKING
|
|
7
|
+
|
|
8
|
+
__all__ = ("Interfaces", "ViewModels",)
|
|
9
|
+
|
|
10
|
+
def __getattr__(name: str):
|
|
11
|
+
if name in __all__:
|
|
12
|
+
module = importlib.import_module(f".{name}", __name__)
|
|
13
|
+
globals()[name] = module
|
|
14
|
+
return module
|
|
15
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
16
|
+
|
|
17
|
+
def __dir__():
|
|
18
|
+
return sorted(set(__all__) | {n for n in globals() if not n.startswith('_')})
|
|
19
|
+
|
|
20
|
+
if TYPE_CHECKING:
|
|
21
|
+
from . import Interfaces as _Interfaces
|
|
22
|
+
from . import ViewModels as _ViewModels
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Awaitable, List, overload
|
|
4
|
+
from SymfWebAPI.operations import invoke_operation
|
|
5
|
+
from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import Dimension
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Documents.ViewModels.V2026_1 import Document
|
|
9
|
+
from ._common import (
|
|
10
|
+
_prepare_GetAccountChartByIdAndYear,
|
|
11
|
+
_prepare_GetDocumentByIdAndYear,
|
|
12
|
+
)
|
|
13
|
+
from ._ops import (
|
|
14
|
+
OP_GetAccountChartByIdAndYear,
|
|
15
|
+
OP_GetDocumentByIdAndYear,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
@overload
|
|
19
|
+
def GetAccountChartByIdAndYear(api: SyncInvokerProtocol, id: int, yearId: int) -> ResponseEnvelope[List[Dimension]]: ...
|
|
20
|
+
@overload
|
|
21
|
+
def GetAccountChartByIdAndYear(api: SyncRequestProtocol, id: int, yearId: int) -> ResponseEnvelope[List[Dimension]]: ...
|
|
22
|
+
@overload
|
|
23
|
+
def GetAccountChartByIdAndYear(api: AsyncInvokerProtocol, id: int, yearId: int) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
24
|
+
@overload
|
|
25
|
+
def GetAccountChartByIdAndYear(api: AsyncRequestProtocol, id: int, yearId: int) -> Awaitable[ResponseEnvelope[List[Dimension]]]: ...
|
|
26
|
+
def GetAccountChartByIdAndYear(api: object, id: int, yearId: int) -> ResponseEnvelope[List[Dimension]] | Awaitable[ResponseEnvelope[List[Dimension]]]:
|
|
27
|
+
params, data = _prepare_GetAccountChartByIdAndYear(id=id, yearId=yearId)
|
|
28
|
+
return invoke_operation(api, OP_GetAccountChartByIdAndYear, params=params, data=data)
|
|
29
|
+
|
|
30
|
+
@overload
|
|
31
|
+
def GetDocumentByIdAndYear(api: SyncInvokerProtocol, id: int, yearId: int) -> ResponseEnvelope[Document]: ...
|
|
32
|
+
@overload
|
|
33
|
+
def GetDocumentByIdAndYear(api: SyncRequestProtocol, id: int, yearId: int) -> ResponseEnvelope[Document]: ...
|
|
34
|
+
@overload
|
|
35
|
+
def GetDocumentByIdAndYear(api: AsyncInvokerProtocol, id: int, yearId: int) -> Awaitable[ResponseEnvelope[Document]]: ...
|
|
36
|
+
@overload
|
|
37
|
+
def GetDocumentByIdAndYear(api: AsyncRequestProtocol, id: int, yearId: int) -> Awaitable[ResponseEnvelope[Document]]: ...
|
|
38
|
+
def GetDocumentByIdAndYear(api: object, id: int, yearId: int) -> ResponseEnvelope[Document] | Awaitable[ResponseEnvelope[Document]]:
|
|
39
|
+
params, data = _prepare_GetDocumentByIdAndYear(id=id, yearId=yearId)
|
|
40
|
+
return invoke_operation(api, OP_GetDocumentByIdAndYear, params=params, data=data)
|
|
41
|
+
|
|
42
|
+
__all__ = ["GetAccountChartByIdAndYear", "GetDocumentByIdAndYear"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
_REQUEST_GetAccountChartByIdAndYear = ('GET', '/api/FKDimensions/AccountChart')
|
|
6
|
+
def _prepare_GetAccountChartByIdAndYear(*, id, yearId) -> tuple[dict[str, Any] | None, Any]:
|
|
7
|
+
params: dict[str, Any] = {}
|
|
8
|
+
params["id"] = id
|
|
9
|
+
params["yearId"] = yearId
|
|
10
|
+
data = None
|
|
11
|
+
return params or None, data
|
|
12
|
+
|
|
13
|
+
_REQUEST_GetDocumentByIdAndYear = ('GET', '/api/FKDimensions/Document')
|
|
14
|
+
def _prepare_GetDocumentByIdAndYear(*, id, yearId) -> tuple[dict[str, Any] | None, Any]:
|
|
15
|
+
params: dict[str, Any] = {}
|
|
16
|
+
params["id"] = id
|
|
17
|
+
params["yearId"] = yearId
|
|
18
|
+
data = None
|
|
19
|
+
return params or None, data
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from pydantic import TypeAdapter
|
|
5
|
+
from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
|
|
6
|
+
from SymfWebAPI.response import ResponseEnvelope
|
|
7
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Common.ViewModels import Dimension
|
|
8
|
+
from SymfWebAPI.WebAPI.Interface.FKF.Documents.ViewModels.V2026_1 import Document
|
|
9
|
+
|
|
10
|
+
_ADAPTER_GetAccountChartByIdAndYear = TypeAdapter(List[Dimension])
|
|
11
|
+
|
|
12
|
+
def _parse_GetAccountChartByIdAndYear(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[Dimension]]:
|
|
13
|
+
return parse_with_adapter(envelope, _ADAPTER_GetAccountChartByIdAndYear)
|
|
14
|
+
OP_GetAccountChartByIdAndYear = OperationSpec(method='GET', path='/api/FKDimensions/AccountChart', parser=_parse_GetAccountChartByIdAndYear)
|
|
15
|
+
|
|
16
|
+
_ADAPTER_GetDocumentByIdAndYear = TypeAdapter(Document)
|
|
17
|
+
|
|
18
|
+
def _parse_GetDocumentByIdAndYear(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Document]:
|
|
19
|
+
return parse_with_adapter(envelope, _ADAPTER_GetDocumentByIdAndYear)
|
|
20
|
+
OP_GetDocumentByIdAndYear = OperationSpec(method='GET', path='/api/FKDimensions/Document', parser=_parse_GetDocumentByIdAndYear)
|
|
@@ -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__ = ("IFKDimensionsController",)
|
|
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 IFKDimensionsController as _IFKDimensionsController
|