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.
Files changed (329) hide show
  1. SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/__init__.py +83 -0
  2. SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/_common.py +37 -0
  3. SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/IBankAccountsController/_ops.py +33 -0
  4. SymfWebAPI/WebAPI/Interface/BankAccounts/Interfaces/__init__.py +21 -0
  5. SymfWebAPI/WebAPI/Interface/BankAccounts/ViewModels/__init__.py +16 -0
  6. SymfWebAPI/WebAPI/Interface/BankAccounts/__init__.py +22 -0
  7. SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/__init__.py +56 -0
  8. SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/_common.py +33 -0
  9. SymfWebAPI/WebAPI/Interface/Common/Interfaces/ICurrencyRatesController/_ops.py +26 -0
  10. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/__init__.py +27 -0
  11. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/_common.py +10 -0
  12. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentSeriesController/_ops.py +13 -0
  13. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/__init__.py +41 -0
  14. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/_common.py +17 -0
  15. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IDocumentTypesController/_ops.py +19 -0
  16. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/__init__.py +40 -0
  17. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/_common.py +20 -0
  18. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IKsefController/_ops.py +14 -0
  19. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/__init__.py +27 -0
  20. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/_common.py +10 -0
  21. SymfWebAPI/WebAPI/Interface/Common/Interfaces/IPaymentFormsController/_ops.py +13 -0
  22. SymfWebAPI/WebAPI/Interface/Common/Interfaces/__init__.py +25 -0
  23. SymfWebAPI/WebAPI/Interface/Common/ViewModels/Aspects/__init__.py +45 -0
  24. SymfWebAPI/WebAPI/Interface/Common/ViewModels/__init__.py +118 -0
  25. SymfWebAPI/WebAPI/Interface/Common/__init__.py +22 -0
  26. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/__init__.py +54 -0
  27. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/_common.py +24 -0
  28. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorCardIndexController/_ops.py +17 -0
  29. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/__init__.py +55 -0
  30. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/_common.py +24 -0
  31. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDeliveryAddressesController/_ops.py +23 -0
  32. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/__init__.py +27 -0
  33. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/_common.py +10 -0
  34. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensions2Controller/_ops.py +13 -0
  35. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/__init__.py +41 -0
  36. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/_common.py +19 -0
  37. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorDimensionsController/_ops.py +17 -0
  38. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/__init__.py +230 -0
  39. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/_common.py +109 -0
  40. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/IContractorsController/_ops.py +100 -0
  41. SymfWebAPI/WebAPI/Interface/Contractors/Interfaces/__init__.py +25 -0
  42. SymfWebAPI/WebAPI/Interface/Contractors/ViewModels/__init__.py +64 -0
  43. SymfWebAPI/WebAPI/Interface/Contractors/__init__.py +22 -0
  44. SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/__init__.py +129 -0
  45. SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/_common.py +59 -0
  46. SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/IFKDictionariesController/_ops.py +48 -0
  47. SymfWebAPI/WebAPI/Interface/Dictionaries/Interfaces/__init__.py +21 -0
  48. SymfWebAPI/WebAPI/Interface/Dictionaries/ViewModels/__init__.py +49 -0
  49. SymfWebAPI/WebAPI/Interface/Dictionaries/__init__.py +22 -0
  50. SymfWebAPI/WebAPI/Interface/Enums/FKConfigurator/__init__.py +41 -0
  51. SymfWebAPI/WebAPI/Interface/Enums/__init__.py +459 -0
  52. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/__init__.py +42 -0
  53. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/_common.py +17 -0
  54. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/IFKAccountsChartController/_ops.py +20 -0
  55. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/Interfaces/__init__.py +21 -0
  56. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/ViewModels/__init__.py +30 -0
  57. SymfWebAPI/WebAPI/Interface/FKF/AccountsChart/__init__.py +22 -0
  58. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/__init__.py +28 -0
  59. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/_common.py +9 -0
  60. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsBusinessController/_ops.py +14 -0
  61. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/__init__.py +478 -0
  62. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/_common.py +353 -0
  63. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/IFKCalculationsController/_ops.py +208 -0
  64. SymfWebAPI/WebAPI/Interface/FKF/Calculations/Interfaces/__init__.py +22 -0
  65. SymfWebAPI/WebAPI/Interface/FKF/Calculations/ViewModels/__init__.py +149 -0
  66. SymfWebAPI/WebAPI/Interface/FKF/Calculations/__init__.py +22 -0
  67. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/__init__.py +56 -0
  68. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/_common.py +33 -0
  69. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKCurrenciesTablesController/_ops.py +26 -0
  70. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/__init__.py +27 -0
  71. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/_common.py +9 -0
  72. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/IFKYearsController/_ops.py +12 -0
  73. SymfWebAPI/WebAPI/Interface/FKF/Common/Interfaces/__init__.py +22 -0
  74. SymfWebAPI/WebAPI/Interface/FKF/Common/ViewModels/CriteriaFilter/__init__.py +14 -0
  75. SymfWebAPI/WebAPI/Interface/FKF/Common/ViewModels/__init__.py +50 -0
  76. SymfWebAPI/WebAPI/Interface/FKF/Common/__init__.py +22 -0
  77. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/__init__.py +55 -0
  78. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/_common.py +24 -0
  79. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensions2Controller/_ops.py +25 -0
  80. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/__init__.py +97 -0
  81. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_common.py +47 -0
  82. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorDimensionsController/_ops.py +37 -0
  83. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/__init__.py +158 -0
  84. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/_common.py +73 -0
  85. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/IFKContractorsController/_ops.py +70 -0
  86. SymfWebAPI/WebAPI/Interface/FKF/Contractors/Interfaces/__init__.py +23 -0
  87. SymfWebAPI/WebAPI/Interface/FKF/Contractors/ViewModels/V2026_1/__init__.py +35 -0
  88. SymfWebAPI/WebAPI/Interface/FKF/Contractors/ViewModels/__init__.py +79 -0
  89. SymfWebAPI/WebAPI/Interface/FKF/Contractors/__init__.py +22 -0
  90. SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/__init__.py +42 -0
  91. SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/_common.py +19 -0
  92. SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/IFKDimensionsController/_ops.py +20 -0
  93. SymfWebAPI/WebAPI/Interface/FKF/Dimensions/Interfaces/__init__.py +21 -0
  94. SymfWebAPI/WebAPI/Interface/FKF/Dimensions/__init__.py +21 -0
  95. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/__init__.py +41 -0
  96. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/_common.py +19 -0
  97. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentAttachmentsController/_ops.py +14 -0
  98. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/__init__.py +41 -0
  99. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/_common.py +19 -0
  100. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentLinksController/_ops.py +14 -0
  101. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/__init__.py +70 -0
  102. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/_common.py +27 -0
  103. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsBusinessIssueController/_ops.py +31 -0
  104. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/__init__.py +161 -0
  105. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/_common.py +91 -0
  106. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsController/_ops.py +75 -0
  107. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/__init__.py +43 -0
  108. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/_common.py +15 -0
  109. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/IFKDocumentsIssueController/_ops.py +21 -0
  110. SymfWebAPI/WebAPI/Interface/FKF/Documents/Interfaces/__init__.py +25 -0
  111. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/Business/__init__.py +75 -0
  112. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/Custom/__init__.py +151 -0
  113. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Issue/__init__.py +12 -0
  114. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Rdf/__init__.py +13 -0
  115. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/Transactions/__init__.py +33 -0
  116. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/V2026_1/__init__.py +73 -0
  117. SymfWebAPI/WebAPI/Interface/FKF/Documents/ViewModels/__init__.py +227 -0
  118. SymfWebAPI/WebAPI/Interface/FKF/Documents/__init__.py +22 -0
  119. SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/__init__.py +99 -0
  120. SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/_common.py +45 -0
  121. SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/IFKEmployeesController/_ops.py +42 -0
  122. SymfWebAPI/WebAPI/Interface/FKF/Employees/Interfaces/__init__.py +21 -0
  123. SymfWebAPI/WebAPI/Interface/FKF/Employees/ViewModels/__init__.py +30 -0
  124. SymfWebAPI/WebAPI/Interface/FKF/Employees/__init__.py +22 -0
  125. SymfWebAPI/WebAPI/Interface/FKF/__init__.py +27 -0
  126. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/__init__.py +28 -0
  127. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/_common.py +10 -0
  128. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicPurchasesController/_ops.py +13 -0
  129. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/__init__.py +58 -0
  130. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/_common.py +27 -0
  131. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/IDevelogicSalesController/_ops.py +27 -0
  132. SymfWebAPI/WebAPI/Interface/HMF/Develogic/Interfaces/__init__.py +22 -0
  133. SymfWebAPI/WebAPI/Interface/HMF/Develogic/ViewModels/V2026_1/__init__.py +62 -0
  134. SymfWebAPI/WebAPI/Interface/HMF/Develogic/ViewModels/__init__.py +69 -0
  135. SymfWebAPI/WebAPI/Interface/HMF/Develogic/__init__.py +22 -0
  136. SymfWebAPI/WebAPI/Interface/HMF/__init__.py +21 -0
  137. SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/__init__.py +34 -0
  138. SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/_common.py +10 -0
  139. SymfWebAPI/WebAPI/Interface/Interfaces/ISessionController/_ops.py +9 -0
  140. SymfWebAPI/WebAPI/Interface/Interfaces/__init__.py +21 -0
  141. SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/__init__.py +98 -0
  142. SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/_common.py +46 -0
  143. SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/IInventoryStatesController/_ops.py +44 -0
  144. SymfWebAPI/WebAPI/Interface/InventoryStates/Interfaces/__init__.py +21 -0
  145. SymfWebAPI/WebAPI/Interface/InventoryStates/ViewModels/__init__.py +11 -0
  146. SymfWebAPI/WebAPI/Interface/InventoryStates/__init__.py +22 -0
  147. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/__init__.py +55 -0
  148. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/_common.py +24 -0
  149. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssContractorsController/_ops.py +22 -0
  150. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/__init__.py +58 -0
  151. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/_common.py +25 -0
  152. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssOrderController/_ops.py +28 -0
  153. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/__init__.py +55 -0
  154. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/_common.py +24 -0
  155. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductController/_ops.py +24 -0
  156. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/__init__.py +84 -0
  157. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/_common.py +37 -0
  158. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssProductMapsController/_ops.py +36 -0
  159. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/__init__.py +55 -0
  160. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/_common.py +24 -0
  161. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssReportsController/_ops.py +24 -0
  162. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/__init__.py +58 -0
  163. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/_common.py +27 -0
  164. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/IOssSaleController/_ops.py +28 -0
  165. SymfWebAPI/WebAPI/Interface/OSS/Interfaces/__init__.py +26 -0
  166. SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Common/__init__.py +35 -0
  167. SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Orders/__init__.py +64 -0
  168. SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Sales/V2026_1/__init__.py +43 -0
  169. SymfWebAPI/WebAPI/Interface/OSS/ViewModels/Sales/__init__.py +85 -0
  170. SymfWebAPI/WebAPI/Interface/OSS/ViewModels/__init__.py +38 -0
  171. SymfWebAPI/WebAPI/Interface/OSS/__init__.py +22 -0
  172. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/__init__.py +70 -0
  173. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/_common.py +33 -0
  174. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensions2Controller/_ops.py +32 -0
  175. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/__init__.py +128 -0
  176. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/_common.py +63 -0
  177. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrderDimensionsController/_ops.py +52 -0
  178. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/__init__.py +236 -0
  179. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/_common.py +130 -0
  180. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersController/_ops.py +110 -0
  181. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/__init__.py +115 -0
  182. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/_common.py +55 -0
  183. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/IOrdersIssueController/_ops.py +49 -0
  184. SymfWebAPI/WebAPI/Interface/Orders/Interfaces/__init__.py +24 -0
  185. SymfWebAPI/WebAPI/Interface/Orders/ViewModels/__init__.py +302 -0
  186. SymfWebAPI/WebAPI/Interface/Orders/__init__.py +22 -0
  187. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/__init__.py +70 -0
  188. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/_common.py +33 -0
  189. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensions2Controller/_ops.py +32 -0
  190. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/__init__.py +128 -0
  191. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/_common.py +63 -0
  192. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrderDimensionsController/_ops.py +52 -0
  193. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/__init__.py +207 -0
  194. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/_common.py +115 -0
  195. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersController/_ops.py +97 -0
  196. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/__init__.py +99 -0
  197. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/_common.py +47 -0
  198. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/IOwnOrdersIssueController/_ops.py +39 -0
  199. SymfWebAPI/WebAPI/Interface/OwnOrders/Interfaces/__init__.py +24 -0
  200. SymfWebAPI/WebAPI/Interface/OwnOrders/ViewModels/__init__.py +205 -0
  201. SymfWebAPI/WebAPI/Interface/OwnOrders/__init__.py +22 -0
  202. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/__init__.py +189 -0
  203. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/_common.py +104 -0
  204. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/IPaymentsController/_ops.py +85 -0
  205. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/__init__.py +114 -0
  206. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/_common.py +69 -0
  207. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/ISettlementsController/_ops.py +48 -0
  208. SymfWebAPI/WebAPI/Interface/Payments/Interfaces/__init__.py +22 -0
  209. SymfWebAPI/WebAPI/Interface/Payments/ViewModels/Issue/__init__.py +38 -0
  210. SymfWebAPI/WebAPI/Interface/Payments/ViewModels/IssueKP/__init__.py +30 -0
  211. SymfWebAPI/WebAPI/Interface/Payments/ViewModels/__init__.py +124 -0
  212. SymfWebAPI/WebAPI/Interface/Payments/__init__.py +22 -0
  213. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/__init__.py +42 -0
  214. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/_common.py +16 -0
  215. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IPriceListsController/_ops.py +20 -0
  216. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/__init__.py +27 -0
  217. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/_common.py +10 -0
  218. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensions2Controller/_ops.py +13 -0
  219. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/__init__.py +41 -0
  220. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/_common.py +19 -0
  221. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductDimensionsController/_ops.py +17 -0
  222. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/__init__.py +28 -0
  223. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/_common.py +11 -0
  224. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPhotosController/_ops.py +13 -0
  225. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/__init__.py +178 -0
  226. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/_common.py +77 -0
  227. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductPricesController/_ops.py +80 -0
  228. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/__init__.py +247 -0
  229. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/_common.py +113 -0
  230. SymfWebAPI/WebAPI/Interface/Products/Interfaces/IProductsController/_ops.py +109 -0
  231. SymfWebAPI/WebAPI/Interface/Products/Interfaces/__init__.py +26 -0
  232. SymfWebAPI/WebAPI/Interface/Products/ViewModels/PriceCalculations/__init__.py +91 -0
  233. SymfWebAPI/WebAPI/Interface/Products/ViewModels/PriceLists/__init__.py +60 -0
  234. SymfWebAPI/WebAPI/Interface/Products/ViewModels/Prices/__init__.py +128 -0
  235. SymfWebAPI/WebAPI/Interface/Products/ViewModels/__init__.py +217 -0
  236. SymfWebAPI/WebAPI/Interface/Products/__init__.py +22 -0
  237. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/__init__.py +221 -0
  238. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/_common.py +124 -0
  239. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesController/_ops.py +103 -0
  240. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/__init__.py +70 -0
  241. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/_common.py +33 -0
  242. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensions2Controller/_ops.py +32 -0
  243. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/__init__.py +128 -0
  244. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/_common.py +63 -0
  245. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesDimensionsController/_ops.py +52 -0
  246. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/__init__.py +86 -0
  247. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/_common.py +40 -0
  248. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/IPurchasesIssueController/_ops.py +38 -0
  249. SymfWebAPI/WebAPI/Interface/Purchases/Interfaces/__init__.py +24 -0
  250. SymfWebAPI/WebAPI/Interface/Purchases/ViewModels/V2026_1/__init__.py +171 -0
  251. SymfWebAPI/WebAPI/Interface/Purchases/ViewModels/__init__.py +245 -0
  252. SymfWebAPI/WebAPI/Interface/Purchases/__init__.py +22 -0
  253. SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/__init__.py +28 -0
  254. SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/_common.py +11 -0
  255. SymfWebAPI/WebAPI/Interface/RepX/Interfaces/IReportsController/_ops.py +13 -0
  256. SymfWebAPI/WebAPI/Interface/RepX/Interfaces/__init__.py +21 -0
  257. SymfWebAPI/WebAPI/Interface/RepX/ViewModels/__init__.py +14 -0
  258. SymfWebAPI/WebAPI/Interface/RepX/__init__.py +22 -0
  259. SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/__init__.py +114 -0
  260. SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/_common.py +50 -0
  261. SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/IReservationsController/_ops.py +48 -0
  262. SymfWebAPI/WebAPI/Interface/Reservations/Interfaces/__init__.py +21 -0
  263. SymfWebAPI/WebAPI/Interface/Reservations/ViewModels/__init__.py +110 -0
  264. SymfWebAPI/WebAPI/Interface/Reservations/__init__.py +22 -0
  265. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/__init__.py +27 -0
  266. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/_common.py +10 -0
  267. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/IFiscalPrinterController/_ops.py +12 -0
  268. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/__init__.py +237 -0
  269. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/_common.py +130 -0
  270. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesController/_ops.py +111 -0
  271. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/__init__.py +70 -0
  272. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/_common.py +33 -0
  273. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensions2Controller/_ops.py +32 -0
  274. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/__init__.py +128 -0
  275. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/_common.py +63 -0
  276. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesDimensionsController/_ops.py +52 -0
  277. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/__init__.py +129 -0
  278. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/_common.py +63 -0
  279. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/ISalesIssueController/_ops.py +53 -0
  280. SymfWebAPI/WebAPI/Interface/Sales/Interfaces/__init__.py +25 -0
  281. SymfWebAPI/WebAPI/Interface/Sales/ViewModels/CorrectionIssue/V2026_1/__init__.py +42 -0
  282. SymfWebAPI/WebAPI/Interface/Sales/ViewModels/CorrectionIssue/__init__.py +23 -0
  283. SymfWebAPI/WebAPI/Interface/Sales/ViewModels/DocumentIssue/__init__.py +11 -0
  284. SymfWebAPI/WebAPI/Interface/Sales/ViewModels/__init__.py +325 -0
  285. SymfWebAPI/WebAPI/Interface/Sales/__init__.py +22 -0
  286. SymfWebAPI/WebAPI/Interface/ViewModels/__init__.py +16 -0
  287. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/__init__.py +27 -0
  288. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/_common.py +11 -0
  289. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveriesController/_ops.py +13 -0
  290. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/__init__.py +41 -0
  291. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/_common.py +19 -0
  292. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IDeliveryDimensionsController/_ops.py +17 -0
  293. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/__init__.py +70 -0
  294. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/_common.py +33 -0
  295. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensions2Controller/_ops.py +32 -0
  296. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/__init__.py +128 -0
  297. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/_common.py +63 -0
  298. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentDimensionsController/_ops.py +52 -0
  299. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/__init__.py +177 -0
  300. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/_common.py +100 -0
  301. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsController/_ops.py +83 -0
  302. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/__init__.py +85 -0
  303. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/_common.py +38 -0
  304. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/IWarehouseDocumentsIssueController/_ops.py +34 -0
  305. SymfWebAPI/WebAPI/Interface/Warehouse/Interfaces/__init__.py +26 -0
  306. SymfWebAPI/WebAPI/Interface/Warehouse/ViewModels/__init__.py +265 -0
  307. SymfWebAPI/WebAPI/Interface/Warehouse/__init__.py +22 -0
  308. SymfWebAPI/WebAPI/Interface/__init__.py +40 -0
  309. SymfWebAPI/WebAPI/__init__.py +21 -0
  310. SymfWebAPI/__init__.py +63 -0
  311. SymfWebAPI/client.py +129 -0
  312. SymfWebAPI/config.py +60 -0
  313. SymfWebAPI/enums.py +36 -0
  314. SymfWebAPI/errors.py +47 -0
  315. SymfWebAPI/executors.py +92 -0
  316. SymfWebAPI/operations.py +116 -0
  317. SymfWebAPI/protocols.py +85 -0
  318. SymfWebAPI/request_engine.py +43 -0
  319. SymfWebAPI/response.py +21 -0
  320. SymfWebAPI/runtime.py +85 -0
  321. SymfWebAPI/session.py +349 -0
  322. SymfWebAPI/transport/__init__.py +9 -0
  323. SymfWebAPI/transport/httpx_async.py +77 -0
  324. SymfWebAPI/transport/httpx_sync.py +78 -0
  325. symfwebapi-1.26.10.1.dist-info/METADATA +78 -0
  326. symfwebapi-1.26.10.1.dist-info/RECORD +329 -0
  327. symfwebapi-1.26.10.1.dist-info/WHEEL +5 -0
  328. symfwebapi-1.26.10.1.dist-info/licenses/LICENSE +29 -0
  329. symfwebapi-1.26.10.1.dist-info/top_level.txt +1 -0
@@ -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__ = ("Develogic",)
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 Develogic as _Develogic
@@ -0,0 +1,34 @@
1
+ from __future__ import annotations
2
+
3
+ import warnings
4
+
5
+ from typing import Awaitable, overload
6
+ from SymfWebAPI.operations import invoke_operation
7
+ from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
8
+ from SymfWebAPI.response import ResponseEnvelope
9
+ from SymfWebAPI.errors import SessionManagementBypassWarning
10
+ from ._common import (
11
+ _prepare_OpenNewSession,
12
+ )
13
+ from ._ops import (
14
+ OP_OpenNewSession,
15
+ )
16
+
17
+ @overload
18
+ def OpenNewSession(api: SyncInvokerProtocol, deviceName: str) -> ResponseEnvelope[None]: ...
19
+ @overload
20
+ def OpenNewSession(api: SyncRequestProtocol, deviceName: str) -> ResponseEnvelope[None]: ...
21
+ @overload
22
+ def OpenNewSession(api: AsyncInvokerProtocol, deviceName: str) -> Awaitable[ResponseEnvelope[None]]: ...
23
+ @overload
24
+ def OpenNewSession(api: AsyncRequestProtocol, deviceName: str) -> Awaitable[ResponseEnvelope[None]]: ...
25
+ def OpenNewSession(api: object, deviceName: str) -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
26
+ warnings.warn(
27
+ "Manual call to session endpoint bypasses SessionManager; " "prefer api.open()/api.close() unless you intentionally manage sessions manually.",
28
+ SessionManagementBypassWarning,
29
+ stacklevel=2,
30
+ )
31
+ params, data = _prepare_OpenNewSession(deviceName=deviceName)
32
+ return invoke_operation(api, OP_OpenNewSession, params=params, data=data)
33
+
34
+ __all__ = ["OpenNewSession"]
@@ -0,0 +1,10 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ _REQUEST_OpenNewSession = ('GET', '/api/Sessions/OpenNewSession')
6
+ def _prepare_OpenNewSession(*, deviceName) -> tuple[dict[str, Any] | None, Any]:
7
+ params: dict[str, Any] = {}
8
+ params["deviceName"] = deviceName
9
+ data = None
10
+ return params or None, data
@@ -0,0 +1,9 @@
1
+ from __future__ import annotations
2
+
3
+ from pydantic import TypeAdapter
4
+ from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
5
+ from SymfWebAPI.response import ResponseEnvelope
6
+
7
+ def _parse_OpenNewSession(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
8
+ return parse_none(envelope)
9
+ OP_OpenNewSession = OperationSpec(method='GET', path='/api/Sessions/OpenNewSession', parser=_parse_OpenNewSession)
@@ -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__ = ("ISessionController",)
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 ISessionController as _ISessionController
@@ -0,0 +1,98 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Awaitable, List, 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.InventoryStates.ViewModels import InventoryState
9
+ from ._common import (
10
+ _prepare_GetByProductId,
11
+ _prepare_GetByProductCode,
12
+ _prepare_GetByWarehouseId,
13
+ _prepare_GetByWarehouseCode,
14
+ _prepare_GetByProductIdAndWarehouseId,
15
+ _prepare_GetChanges,
16
+ )
17
+ from ._ops import (
18
+ OP_GetByProductId,
19
+ OP_GetByProductCode,
20
+ OP_GetByWarehouseId,
21
+ OP_GetByWarehouseCode,
22
+ OP_GetByProductIdAndWarehouseId,
23
+ OP_GetChanges,
24
+ )
25
+
26
+ @overload
27
+ def GetByProductId(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[List[InventoryState]]: ...
28
+ @overload
29
+ def GetByProductId(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[List[InventoryState]]: ...
30
+ @overload
31
+ def GetByProductId(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
32
+ @overload
33
+ def GetByProductId(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
34
+ def GetByProductId(api: object, id: int) -> ResponseEnvelope[List[InventoryState]] | Awaitable[ResponseEnvelope[List[InventoryState]]]:
35
+ params, data = _prepare_GetByProductId(id=id)
36
+ return invoke_operation(api, OP_GetByProductId, params=params, data=data)
37
+
38
+ @overload
39
+ def GetByProductCode(api: SyncInvokerProtocol, code: str) -> ResponseEnvelope[List[InventoryState]]: ...
40
+ @overload
41
+ def GetByProductCode(api: SyncRequestProtocol, code: str) -> ResponseEnvelope[List[InventoryState]]: ...
42
+ @overload
43
+ def GetByProductCode(api: AsyncInvokerProtocol, code: str) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
44
+ @overload
45
+ def GetByProductCode(api: AsyncRequestProtocol, code: str) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
46
+ def GetByProductCode(api: object, code: str) -> ResponseEnvelope[List[InventoryState]] | Awaitable[ResponseEnvelope[List[InventoryState]]]:
47
+ params, data = _prepare_GetByProductCode(code=code)
48
+ return invoke_operation(api, OP_GetByProductCode, params=params, data=data)
49
+
50
+ @overload
51
+ def GetByWarehouseId(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[List[InventoryState]]: ...
52
+ @overload
53
+ def GetByWarehouseId(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[List[InventoryState]]: ...
54
+ @overload
55
+ def GetByWarehouseId(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
56
+ @overload
57
+ def GetByWarehouseId(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
58
+ def GetByWarehouseId(api: object, id: int) -> ResponseEnvelope[List[InventoryState]] | Awaitable[ResponseEnvelope[List[InventoryState]]]:
59
+ params, data = _prepare_GetByWarehouseId(id=id)
60
+ return invoke_operation(api, OP_GetByWarehouseId, params=params, data=data)
61
+
62
+ @overload
63
+ def GetByWarehouseCode(api: SyncInvokerProtocol, code: str) -> ResponseEnvelope[List[InventoryState]]: ...
64
+ @overload
65
+ def GetByWarehouseCode(api: SyncRequestProtocol, code: str) -> ResponseEnvelope[List[InventoryState]]: ...
66
+ @overload
67
+ def GetByWarehouseCode(api: AsyncInvokerProtocol, code: str) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
68
+ @overload
69
+ def GetByWarehouseCode(api: AsyncRequestProtocol, code: str) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
70
+ def GetByWarehouseCode(api: object, code: str) -> ResponseEnvelope[List[InventoryState]] | Awaitable[ResponseEnvelope[List[InventoryState]]]:
71
+ params, data = _prepare_GetByWarehouseCode(code=code)
72
+ return invoke_operation(api, OP_GetByWarehouseCode, params=params, data=data)
73
+
74
+ @overload
75
+ def GetByProductIdAndWarehouseId(api: SyncInvokerProtocol, productId: int, warehouseId: int) -> ResponseEnvelope[InventoryState]: ...
76
+ @overload
77
+ def GetByProductIdAndWarehouseId(api: SyncRequestProtocol, productId: int, warehouseId: int) -> ResponseEnvelope[InventoryState]: ...
78
+ @overload
79
+ def GetByProductIdAndWarehouseId(api: AsyncInvokerProtocol, productId: int, warehouseId: int) -> Awaitable[ResponseEnvelope[InventoryState]]: ...
80
+ @overload
81
+ def GetByProductIdAndWarehouseId(api: AsyncRequestProtocol, productId: int, warehouseId: int) -> Awaitable[ResponseEnvelope[InventoryState]]: ...
82
+ def GetByProductIdAndWarehouseId(api: object, productId: int, warehouseId: int) -> ResponseEnvelope[InventoryState] | Awaitable[ResponseEnvelope[InventoryState]]:
83
+ params, data = _prepare_GetByProductIdAndWarehouseId(productId=productId, warehouseId=warehouseId)
84
+ return invoke_operation(api, OP_GetByProductIdAndWarehouseId, params=params, data=data)
85
+
86
+ @overload
87
+ def GetChanges(api: SyncInvokerProtocol, date: datetime) -> ResponseEnvelope[List[InventoryState]]: ...
88
+ @overload
89
+ def GetChanges(api: SyncRequestProtocol, date: datetime) -> ResponseEnvelope[List[InventoryState]]: ...
90
+ @overload
91
+ def GetChanges(api: AsyncInvokerProtocol, date: datetime) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
92
+ @overload
93
+ def GetChanges(api: AsyncRequestProtocol, date: datetime) -> Awaitable[ResponseEnvelope[List[InventoryState]]]: ...
94
+ def GetChanges(api: object, date: datetime) -> ResponseEnvelope[List[InventoryState]] | Awaitable[ResponseEnvelope[List[InventoryState]]]:
95
+ params, data = _prepare_GetChanges(date=date)
96
+ return invoke_operation(api, OP_GetChanges, params=params, data=data)
97
+
98
+ __all__ = ["GetByProductId", "GetByProductCode", "GetByWarehouseId", "GetByWarehouseCode", "GetByProductIdAndWarehouseId", "GetChanges"]
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ _REQUEST_GetByProductId = ('GET', '/api/InventoryStates/ByProduct')
6
+ def _prepare_GetByProductId(*, 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_GetByProductCode = ('GET', '/api/InventoryStates/ByProduct')
13
+ def _prepare_GetByProductCode(*, code) -> tuple[dict[str, Any] | None, Any]:
14
+ params: dict[str, Any] = {}
15
+ params["code"] = code
16
+ data = None
17
+ return params or None, data
18
+
19
+ _REQUEST_GetByWarehouseId = ('GET', '/api/InventoryStates/ByWarehouse')
20
+ def _prepare_GetByWarehouseId(*, id) -> tuple[dict[str, Any] | None, Any]:
21
+ params: dict[str, Any] = {}
22
+ params["id"] = id
23
+ data = None
24
+ return params or None, data
25
+
26
+ _REQUEST_GetByWarehouseCode = ('GET', '/api/InventoryStates/ByWarehouse')
27
+ def _prepare_GetByWarehouseCode(*, code) -> tuple[dict[str, Any] | None, Any]:
28
+ params: dict[str, Any] = {}
29
+ params["code"] = code
30
+ data = None
31
+ return params or None, data
32
+
33
+ _REQUEST_GetByProductIdAndWarehouseId = ('GET', '/api/InventoryStates/ByProductAndWarehouse')
34
+ def _prepare_GetByProductIdAndWarehouseId(*, productId, warehouseId) -> tuple[dict[str, Any] | None, Any]:
35
+ params: dict[str, Any] = {}
36
+ params["productId"] = productId
37
+ params["warehouseId"] = warehouseId
38
+ data = None
39
+ return params or None, data
40
+
41
+ _REQUEST_GetChanges = ('GET', '/api/InventoryStates/Changes')
42
+ def _prepare_GetChanges(*, date) -> tuple[dict[str, Any] | None, Any]:
43
+ params: dict[str, Any] = {}
44
+ params["date"] = date
45
+ data = None
46
+ return params or None, data
@@ -0,0 +1,44 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import List
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.InventoryStates.ViewModels import InventoryState
9
+
10
+ _ADAPTER_GetByProductId = TypeAdapter(List[InventoryState])
11
+
12
+ def _parse_GetByProductId(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[InventoryState]]:
13
+ return parse_with_adapter(envelope, _ADAPTER_GetByProductId)
14
+ OP_GetByProductId = OperationSpec(method='GET', path='/api/InventoryStates/ByProduct', parser=_parse_GetByProductId)
15
+
16
+ _ADAPTER_GetByProductCode = TypeAdapter(List[InventoryState])
17
+
18
+ def _parse_GetByProductCode(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[InventoryState]]:
19
+ return parse_with_adapter(envelope, _ADAPTER_GetByProductCode)
20
+ OP_GetByProductCode = OperationSpec(method='GET', path='/api/InventoryStates/ByProduct', parser=_parse_GetByProductCode)
21
+
22
+ _ADAPTER_GetByWarehouseId = TypeAdapter(List[InventoryState])
23
+
24
+ def _parse_GetByWarehouseId(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[InventoryState]]:
25
+ return parse_with_adapter(envelope, _ADAPTER_GetByWarehouseId)
26
+ OP_GetByWarehouseId = OperationSpec(method='GET', path='/api/InventoryStates/ByWarehouse', parser=_parse_GetByWarehouseId)
27
+
28
+ _ADAPTER_GetByWarehouseCode = TypeAdapter(List[InventoryState])
29
+
30
+ def _parse_GetByWarehouseCode(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[InventoryState]]:
31
+ return parse_with_adapter(envelope, _ADAPTER_GetByWarehouseCode)
32
+ OP_GetByWarehouseCode = OperationSpec(method='GET', path='/api/InventoryStates/ByWarehouse', parser=_parse_GetByWarehouseCode)
33
+
34
+ _ADAPTER_GetByProductIdAndWarehouseId = TypeAdapter(InventoryState)
35
+
36
+ def _parse_GetByProductIdAndWarehouseId(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[InventoryState]:
37
+ return parse_with_adapter(envelope, _ADAPTER_GetByProductIdAndWarehouseId)
38
+ OP_GetByProductIdAndWarehouseId = OperationSpec(method='GET', path='/api/InventoryStates/ByProductAndWarehouse', parser=_parse_GetByProductIdAndWarehouseId)
39
+
40
+ _ADAPTER_GetChanges = TypeAdapter(List[InventoryState])
41
+
42
+ def _parse_GetChanges(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[InventoryState]]:
43
+ return parse_with_adapter(envelope, _ADAPTER_GetChanges)
44
+ OP_GetChanges = OperationSpec(method='GET', path='/api/InventoryStates/Changes', parser=_parse_GetChanges)
@@ -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__ = ("IInventoryStatesController",)
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 IInventoryStatesController as _IInventoryStatesController
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from pydantic import BaseModel
4
+
5
+ from decimal import Decimal
6
+
7
+ class InventoryState(BaseModel):
8
+ ProductId: int
9
+ WarehouseId: int
10
+ AmountInStore: Decimal
11
+ AmountToSale: Decimal
@@ -0,0 +1,22 @@
1
+ """Auto-generated package (lazy imports)."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import importlib
6
+ from typing import TYPE_CHECKING
7
+
8
+ __all__ = ("Interfaces", "ViewModels",)
9
+
10
+ def __getattr__(name: str):
11
+ if name in __all__:
12
+ module = importlib.import_module(f".{name}", __name__)
13
+ globals()[name] = module
14
+ return module
15
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
16
+
17
+ def __dir__():
18
+ return sorted(set(__all__) | {n for n in globals() if not n.startswith('_')})
19
+
20
+ if TYPE_CHECKING:
21
+ from . import Interfaces as _Interfaces
22
+ from . import ViewModels as _ViewModels
@@ -0,0 +1,55 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Awaitable, overload
4
+ from SymfWebAPI.operations import invoke_operation
5
+ from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
6
+ from SymfWebAPI.response import ResponseEnvelope
7
+ from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels.V2026_1 import Contractor
8
+ from ._common import (
9
+ _prepare_Get,
10
+ _prepare_AddNew,
11
+ _prepare_Update,
12
+ )
13
+ from ._ops import (
14
+ OP_Get,
15
+ OP_AddNew,
16
+ OP_Update,
17
+ )
18
+
19
+ @overload
20
+ def Get(api: SyncInvokerProtocol, id: int) -> ResponseEnvelope[Contractor]: ...
21
+ @overload
22
+ def Get(api: SyncRequestProtocol, id: int) -> ResponseEnvelope[Contractor]: ...
23
+ @overload
24
+ def Get(api: AsyncInvokerProtocol, id: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
25
+ @overload
26
+ def Get(api: AsyncRequestProtocol, id: int) -> Awaitable[ResponseEnvelope[Contractor]]: ...
27
+ def Get(api: object, id: int) -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
28
+ params, data = _prepare_Get(id=id)
29
+ return invoke_operation(api, OP_Get, params=params, data=data)
30
+
31
+ @overload
32
+ def AddNew(api: SyncInvokerProtocol, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[Contractor]: ...
33
+ @overload
34
+ def AddNew(api: SyncRequestProtocol, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[Contractor]: ...
35
+ @overload
36
+ def AddNew(api: AsyncInvokerProtocol, syncFk: bool, contractor: "Contractor") -> Awaitable[ResponseEnvelope[Contractor]]: ...
37
+ @overload
38
+ def AddNew(api: AsyncRequestProtocol, syncFk: bool, contractor: "Contractor") -> Awaitable[ResponseEnvelope[Contractor]]: ...
39
+ def AddNew(api: object, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[Contractor] | Awaitable[ResponseEnvelope[Contractor]]:
40
+ params, data = _prepare_AddNew(syncFk=syncFk, contractor=contractor)
41
+ return invoke_operation(api, OP_AddNew, params=params, data=data)
42
+
43
+ @overload
44
+ def Update(api: SyncInvokerProtocol, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[None]: ...
45
+ @overload
46
+ def Update(api: SyncRequestProtocol, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[None]: ...
47
+ @overload
48
+ def Update(api: AsyncInvokerProtocol, syncFk: bool, contractor: "Contractor") -> Awaitable[ResponseEnvelope[None]]: ...
49
+ @overload
50
+ def Update(api: AsyncRequestProtocol, syncFk: bool, contractor: "Contractor") -> Awaitable[ResponseEnvelope[None]]: ...
51
+ def Update(api: object, syncFk: bool, contractor: "Contractor") -> ResponseEnvelope[None] | Awaitable[ResponseEnvelope[None]]:
52
+ params, data = _prepare_Update(syncFk=syncFk, contractor=contractor)
53
+ return invoke_operation(api, OP_Update, params=params, data=data)
54
+
55
+ __all__ = ["Get", "AddNew", "Update"]
@@ -0,0 +1,24 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ _REQUEST_Get = ('GET', '/api/OssContractors')
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_AddNew = ('POST', '/api/OssContractors/Create')
13
+ def _prepare_AddNew(*, syncFk, contractor) -> tuple[dict[str, Any] | None, Any]:
14
+ params: dict[str, Any] = {}
15
+ params["syncFk"] = syncFk
16
+ data = contractor.model_dump_json(exclude_unset=True) if contractor is not None else None
17
+ return params or None, data
18
+
19
+ _REQUEST_Update = ('PUT', '/api/OssContractors/Update')
20
+ def _prepare_Update(*, syncFk, contractor) -> tuple[dict[str, Any] | None, Any]:
21
+ params: dict[str, Any] = {}
22
+ params["syncFk"] = syncFk
23
+ data = contractor.model_dump_json(exclude_unset=True) if contractor is not None else None
24
+ return params or None, data
@@ -0,0 +1,22 @@
1
+ from __future__ import annotations
2
+
3
+ from pydantic import TypeAdapter
4
+ from SymfWebAPI.operations import OperationSpec, parse_none, parse_with_adapter
5
+ from SymfWebAPI.response import ResponseEnvelope
6
+ from SymfWebAPI.WebAPI.Interface.FKF.Contractors.ViewModels.V2026_1 import Contractor
7
+
8
+ _ADAPTER_Get = TypeAdapter(Contractor)
9
+
10
+ def _parse_Get(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
11
+ return parse_with_adapter(envelope, _ADAPTER_Get)
12
+ OP_Get = OperationSpec(method='GET', path='/api/OssContractors', parser=_parse_Get)
13
+
14
+ _ADAPTER_AddNew = TypeAdapter(Contractor)
15
+
16
+ def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Contractor]:
17
+ return parse_with_adapter(envelope, _ADAPTER_AddNew)
18
+ OP_AddNew = OperationSpec(method='POST', path='/api/OssContractors/Create', parser=_parse_AddNew)
19
+
20
+ def _parse_Update(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[None]:
21
+ return parse_none(envelope)
22
+ OP_Update = OperationSpec(method='PUT', path='/api/OssContractors/Update', parser=_parse_Update)
@@ -0,0 +1,58 @@
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.Orders.ViewModels import Order
8
+ from SymfWebAPI.WebAPI.Interface.Orders.ViewModels import OrderFV
9
+ from SymfWebAPI.WebAPI.Interface.Orders.ViewModels import OrderWZ
10
+ from SymfWebAPI.WebAPI.Interface.OSS.ViewModels.Orders import OssOrder
11
+ from ._common import (
12
+ _prepare_AddNew,
13
+ _prepare_IssueFV,
14
+ _prepare_IssueWZ,
15
+ )
16
+ from ._ops import (
17
+ OP_AddNew,
18
+ OP_IssueFV,
19
+ OP_IssueWZ,
20
+ )
21
+
22
+ @overload
23
+ def AddNew(api: SyncInvokerProtocol, issue: bool, order: "OssOrder") -> ResponseEnvelope[Order]: ...
24
+ @overload
25
+ def AddNew(api: SyncRequestProtocol, issue: bool, order: "OssOrder") -> ResponseEnvelope[Order]: ...
26
+ @overload
27
+ def AddNew(api: AsyncInvokerProtocol, issue: bool, order: "OssOrder") -> Awaitable[ResponseEnvelope[Order]]: ...
28
+ @overload
29
+ def AddNew(api: AsyncRequestProtocol, issue: bool, order: "OssOrder") -> Awaitable[ResponseEnvelope[Order]]: ...
30
+ def AddNew(api: object, issue: bool, order: "OssOrder") -> ResponseEnvelope[Order] | Awaitable[ResponseEnvelope[Order]]:
31
+ params, data = _prepare_AddNew(issue=issue, order=order)
32
+ return invoke_operation(api, OP_AddNew, params=params, data=data)
33
+
34
+ @overload
35
+ def IssueFV(api: SyncInvokerProtocol, orderId: int) -> ResponseEnvelope[List[OrderFV]]: ...
36
+ @overload
37
+ def IssueFV(api: SyncRequestProtocol, orderId: int) -> ResponseEnvelope[List[OrderFV]]: ...
38
+ @overload
39
+ def IssueFV(api: AsyncInvokerProtocol, orderId: int) -> Awaitable[ResponseEnvelope[List[OrderFV]]]: ...
40
+ @overload
41
+ def IssueFV(api: AsyncRequestProtocol, orderId: int) -> Awaitable[ResponseEnvelope[List[OrderFV]]]: ...
42
+ def IssueFV(api: object, orderId: int) -> ResponseEnvelope[List[OrderFV]] | Awaitable[ResponseEnvelope[List[OrderFV]]]:
43
+ params, data = _prepare_IssueFV(orderId=orderId)
44
+ return invoke_operation(api, OP_IssueFV, params=params, data=data)
45
+
46
+ @overload
47
+ def IssueWZ(api: SyncInvokerProtocol, orderId: int, inBuffer: bool) -> ResponseEnvelope[List[OrderWZ]]: ...
48
+ @overload
49
+ def IssueWZ(api: SyncRequestProtocol, orderId: int, inBuffer: bool) -> ResponseEnvelope[List[OrderWZ]]: ...
50
+ @overload
51
+ def IssueWZ(api: AsyncInvokerProtocol, orderId: int, inBuffer: bool) -> Awaitable[ResponseEnvelope[List[OrderWZ]]]: ...
52
+ @overload
53
+ def IssueWZ(api: AsyncRequestProtocol, orderId: int, inBuffer: bool) -> Awaitable[ResponseEnvelope[List[OrderWZ]]]: ...
54
+ def IssueWZ(api: object, orderId: int, inBuffer: bool) -> ResponseEnvelope[List[OrderWZ]] | Awaitable[ResponseEnvelope[List[OrderWZ]]]:
55
+ params, data = _prepare_IssueWZ(orderId=orderId, inBuffer=inBuffer)
56
+ return invoke_operation(api, OP_IssueWZ, params=params, data=data)
57
+
58
+ __all__ = ["AddNew", "IssueFV", "IssueWZ"]
@@ -0,0 +1,25 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ _REQUEST_AddNew = ('POST', '/api/OssOrder/New')
6
+ def _prepare_AddNew(*, issue, order) -> tuple[dict[str, Any] | None, Any]:
7
+ params: dict[str, Any] = {}
8
+ params["issue"] = issue
9
+ data = order.model_dump_json(exclude_unset=True) if order is not None else None
10
+ return params or None, data
11
+
12
+ _REQUEST_IssueFV = ('PUT', '/api/OssOrder/FV')
13
+ def _prepare_IssueFV(*, orderId) -> tuple[dict[str, Any] | None, Any]:
14
+ params: dict[str, Any] = {}
15
+ params["orderId"] = orderId
16
+ data = None
17
+ return params or None, data
18
+
19
+ _REQUEST_IssueWZ = ('PUT', '/api/OssOrder/WZ')
20
+ def _prepare_IssueWZ(*, orderId, inBuffer) -> tuple[dict[str, Any] | None, Any]:
21
+ params: dict[str, Any] = {}
22
+ params["orderId"] = orderId
23
+ params["inBuffer"] = inBuffer
24
+ data = None
25
+ return params or None, data
@@ -0,0 +1,28 @@
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.Orders.ViewModels import Order
8
+ from SymfWebAPI.WebAPI.Interface.Orders.ViewModels import OrderFV
9
+ from SymfWebAPI.WebAPI.Interface.Orders.ViewModels import OrderWZ
10
+ from SymfWebAPI.WebAPI.Interface.OSS.ViewModels.Orders import OssOrder
11
+
12
+ _ADAPTER_AddNew = TypeAdapter(Order)
13
+
14
+ def _parse_AddNew(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[Order]:
15
+ return parse_with_adapter(envelope, _ADAPTER_AddNew)
16
+ OP_AddNew = OperationSpec(method='POST', path='/api/OssOrder/New', parser=_parse_AddNew)
17
+
18
+ _ADAPTER_IssueFV = TypeAdapter(List[OrderFV])
19
+
20
+ def _parse_IssueFV(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[OrderFV]]:
21
+ return parse_with_adapter(envelope, _ADAPTER_IssueFV)
22
+ OP_IssueFV = OperationSpec(method='PUT', path='/api/OssOrder/FV', parser=_parse_IssueFV)
23
+
24
+ _ADAPTER_IssueWZ = TypeAdapter(List[OrderWZ])
25
+
26
+ def _parse_IssueWZ(envelope: ResponseEnvelope[object]) -> ResponseEnvelope[List[OrderWZ]]:
27
+ return parse_with_adapter(envelope, _ADAPTER_IssueWZ)
28
+ OP_IssueWZ = OperationSpec(method='PUT', path='/api/OssOrder/WZ', parser=_parse_IssueWZ)
@@ -0,0 +1,55 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Awaitable, overload
4
+ from SymfWebAPI.operations import invoke_operation
5
+ from SymfWebAPI.protocols import (AsyncInvokerProtocol, AsyncRequestProtocol, SyncInvokerProtocol, SyncRequestProtocol)
6
+ from SymfWebAPI.response import ResponseEnvelope
7
+ from SymfWebAPI.WebAPI.Interface.OSS.ViewModels import CountryProductList
8
+ from ._common import (
9
+ _prepare_GetByCountry,
10
+ _prepare_GetByErpProduct,
11
+ _prepare_GetByShopProduct,
12
+ )
13
+ from ._ops import (
14
+ OP_GetByCountry,
15
+ OP_GetByErpProduct,
16
+ OP_GetByShopProduct,
17
+ )
18
+
19
+ @overload
20
+ def GetByCountry(api: SyncInvokerProtocol, countryId: int) -> ResponseEnvelope[CountryProductList]: ...
21
+ @overload
22
+ def GetByCountry(api: SyncRequestProtocol, countryId: int) -> ResponseEnvelope[CountryProductList]: ...
23
+ @overload
24
+ def GetByCountry(api: AsyncInvokerProtocol, countryId: int) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
25
+ @overload
26
+ def GetByCountry(api: AsyncRequestProtocol, countryId: int) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
27
+ def GetByCountry(api: object, countryId: int) -> ResponseEnvelope[CountryProductList] | Awaitable[ResponseEnvelope[CountryProductList]]:
28
+ params, data = _prepare_GetByCountry(countryId=countryId)
29
+ return invoke_operation(api, OP_GetByCountry, params=params, data=data)
30
+
31
+ @overload
32
+ def GetByErpProduct(api: SyncInvokerProtocol, erpProductId: int) -> ResponseEnvelope[CountryProductList]: ...
33
+ @overload
34
+ def GetByErpProduct(api: SyncRequestProtocol, erpProductId: int) -> ResponseEnvelope[CountryProductList]: ...
35
+ @overload
36
+ def GetByErpProduct(api: AsyncInvokerProtocol, erpProductId: int) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
37
+ @overload
38
+ def GetByErpProduct(api: AsyncRequestProtocol, erpProductId: int) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
39
+ def GetByErpProduct(api: object, erpProductId: int) -> ResponseEnvelope[CountryProductList] | Awaitable[ResponseEnvelope[CountryProductList]]:
40
+ params, data = _prepare_GetByErpProduct(erpProductId=erpProductId)
41
+ return invoke_operation(api, OP_GetByErpProduct, params=params, data=data)
42
+
43
+ @overload
44
+ def GetByShopProduct(api: SyncInvokerProtocol, shopProductId: str) -> ResponseEnvelope[CountryProductList]: ...
45
+ @overload
46
+ def GetByShopProduct(api: SyncRequestProtocol, shopProductId: str) -> ResponseEnvelope[CountryProductList]: ...
47
+ @overload
48
+ def GetByShopProduct(api: AsyncInvokerProtocol, shopProductId: str) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
49
+ @overload
50
+ def GetByShopProduct(api: AsyncRequestProtocol, shopProductId: str) -> Awaitable[ResponseEnvelope[CountryProductList]]: ...
51
+ def GetByShopProduct(api: object, shopProductId: str) -> ResponseEnvelope[CountryProductList] | Awaitable[ResponseEnvelope[CountryProductList]]:
52
+ params, data = _prepare_GetByShopProduct(shopProductId=shopProductId)
53
+ return invoke_operation(api, OP_GetByShopProduct, params=params, data=data)
54
+
55
+ __all__ = ["GetByCountry", "GetByErpProduct", "GetByShopProduct"]
@@ -0,0 +1,24 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ _REQUEST_GetByCountry = ('GET', '/api/OssProduct')
6
+ def _prepare_GetByCountry(*, countryId) -> tuple[dict[str, Any] | None, Any]:
7
+ params: dict[str, Any] = {}
8
+ params["countryId"] = countryId
9
+ data = None
10
+ return params or None, data
11
+
12
+ _REQUEST_GetByErpProduct = ('GET', '/api/OssProduct')
13
+ def _prepare_GetByErpProduct(*, erpProductId) -> tuple[dict[str, Any] | None, Any]:
14
+ params: dict[str, Any] = {}
15
+ params["erpProductId"] = erpProductId
16
+ data = None
17
+ return params or None, data
18
+
19
+ _REQUEST_GetByShopProduct = ('GET', '/api/OssProduct')
20
+ def _prepare_GetByShopProduct(*, shopProductId) -> tuple[dict[str, Any] | None, Any]:
21
+ params: dict[str, Any] = {}
22
+ params["shopProductId"] = shopProductId
23
+ data = None
24
+ return params or None, data