@fenixalliance/abs-api-client 1.0.2 → 2.0.0

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 (544) hide show
  1. package/FenixAlliance.ABP.SDK.TypeScript.xml +8 -0
  2. package/LICENSE +21 -21
  3. package/LICENSE.md +35 -35
  4. package/README.md +299 -299
  5. package/THIRD_PARTY_NOTICES.md +129 -129
  6. package/app/index.ts +4 -4
  7. package/clients/cartService/core/ApiError.ts +2 -2
  8. package/clients/cartService/core/ApiRequestOptions.ts +2 -2
  9. package/clients/cartService/core/ApiResult.ts +2 -2
  10. package/clients/cartService/core/CancelablePromise.ts +5 -5
  11. package/clients/cartService/core/OpenAPI.ts +2 -2
  12. package/clients/cartService/core/request.ts +3 -3
  13. package/clients/cartService/index.ts +6 -1
  14. package/clients/cartService/models/AddProductToCompareRequest.ts +10 -10
  15. package/clients/cartService/models/BooleanEnvelope.ts +13 -13
  16. package/clients/cartService/models/CartDto.ts +18 -18
  17. package/clients/cartService/models/CartDtoEnvelope.ts +14 -14
  18. package/clients/cartService/models/CartUpdateRequest.ts +9 -9
  19. package/clients/cartService/models/CountryDto.ts +14 -0
  20. package/clients/{holderService/models/OrderDtoListEnvelope.ts → cartService/models/CountryDtoEnvelope.ts} +14 -14
  21. package/clients/cartService/models/CountrySwitchRequest.ts +9 -9
  22. package/clients/cartService/models/CurrencyDto.ts +13 -0
  23. package/clients/{holderService/models/InvoiceDtoListEnvelope.ts → cartService/models/CurrencyDtoEnvelope.ts} +14 -14
  24. package/clients/cartService/models/CurrencySwitchRequest.ts +9 -9
  25. package/clients/cartService/models/EmptyEnvelope.ts +11 -11
  26. package/clients/cartService/models/ErrorEnvelope.ts +12 -12
  27. package/clients/cartService/models/ItemCartRecordCreateDto.ts +12 -12
  28. package/clients/cartService/models/ItemCartRecordDto.ts +101 -100
  29. package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +14 -14
  30. package/clients/cartService/models/ItemCartRecordDtoListEnvelope.ts +14 -14
  31. package/clients/cartService/models/ItemCartRecordUpdateDto.ts +10 -10
  32. package/clients/cartService/models/ItemToCompareCartRecordDto.ts +11 -11
  33. package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +14 -14
  34. package/clients/cartService/models/ItemToCompareCartRecordDtoListEnvelope.ts +14 -14
  35. package/clients/cartService/models/NewWishListRequest.ts +11 -11
  36. package/clients/cartService/models/ProductToWishListRequest.ts +9 -9
  37. package/clients/cartService/models/WishListDto.ts +13 -13
  38. package/clients/{holderService/models/PaymentDtoListEnvelope.ts → cartService/models/WishListDtoEnvelope.ts} +14 -14
  39. package/clients/cartService/models/WishListItemRecordDto.ts +11 -11
  40. package/clients/cartService/models/WishListUpdateDto.ts +10 -10
  41. package/clients/cartService/services/CartsService.ts +902 -149
  42. package/clients/cartService/services/CompareService.ts +90 -90
  43. package/clients/cartService/services/RecordsService.ts +259 -209
  44. package/clients/cartService/services/WishListsService.ts +197 -145
  45. package/clients/catalogService/core/ApiError.ts +2 -2
  46. package/clients/catalogService/core/ApiRequestOptions.ts +2 -2
  47. package/clients/catalogService/core/ApiResult.ts +2 -2
  48. package/clients/catalogService/core/CancelablePromise.ts +5 -5
  49. package/clients/catalogService/core/OpenAPI.ts +2 -2
  50. package/clients/catalogService/core/request.ts +3 -3
  51. package/clients/catalogService/index.ts +1 -1
  52. package/clients/catalogService/models/EmptyEnvelope.ts +11 -11
  53. package/clients/catalogService/models/ErrorEnvelope.ts +12 -12
  54. package/clients/catalogService/models/ItemAttachmentCreateDto.ts +21 -19
  55. package/clients/catalogService/models/ItemAttachmentDto.ts +30 -28
  56. package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +14 -14
  57. package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +14 -14
  58. package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +19 -16
  59. package/clients/catalogService/models/ItemAttributeCreateDto.ts +12 -12
  60. package/clients/catalogService/models/ItemAttributeDto.ts +12 -12
  61. package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +14 -14
  62. package/clients/catalogService/models/ItemAttributeDtoListEnvelope.ts +14 -14
  63. package/clients/catalogService/models/ItemAttributeOptionDto.ts +12 -12
  64. package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +14 -14
  65. package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +14 -14
  66. package/clients/catalogService/models/ItemAttributeUpdateDto.ts +9 -9
  67. package/clients/catalogService/models/ItemBrandCreateDto.ts +17 -17
  68. package/clients/catalogService/models/ItemBrandDto.ts +17 -17
  69. package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +14 -14
  70. package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +14 -14
  71. package/clients/catalogService/models/ItemBrandUpdateDto.ts +13 -13
  72. package/clients/catalogService/models/ItemCategoryCreateDto.ts +15 -15
  73. package/clients/catalogService/models/ItemCategoryDto.ts +21 -21
  74. package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +14 -14
  75. package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +14 -14
  76. package/clients/catalogService/models/ItemCategoryUpdateDto.ts +16 -16
  77. package/clients/catalogService/models/ItemGoogleCategoryDto.ts +21 -21
  78. package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +14 -14
  79. package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +14 -14
  80. package/clients/catalogService/models/ItemImageCreateDto.ts +28 -28
  81. package/clients/catalogService/models/ItemImageDto.ts +28 -28
  82. package/clients/catalogService/models/ItemImageDtoEnvelope.ts +14 -14
  83. package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +14 -14
  84. package/clients/catalogService/models/ItemImageUpdateDto.ts +22 -22
  85. package/clients/catalogService/models/ItemQuestionCreateDto.ts +15 -15
  86. package/clients/catalogService/models/ItemQuestionDto.ts +15 -15
  87. package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +14 -14
  88. package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +14 -14
  89. package/clients/catalogService/models/ItemQuestionRecordCreateDto.ts +14 -14
  90. package/clients/catalogService/models/ItemQuestionUpdateDto.ts +10 -10
  91. package/clients/catalogService/models/ItemRefundPolicyDto.ts +34 -34
  92. package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +14 -14
  93. package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +14 -14
  94. package/clients/catalogService/models/ItemReturnPolicyDto.ts +34 -34
  95. package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +14 -14
  96. package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +14 -14
  97. package/clients/catalogService/models/ItemReviewCreateDto.ts +13 -13
  98. package/clients/catalogService/models/ItemReviewDto.ts +13 -13
  99. package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +14 -14
  100. package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +14 -14
  101. package/clients/catalogService/models/ItemReviewRecordCreateDto.ts +12 -12
  102. package/clients/catalogService/models/ItemReviewUpdateDto.ts +9 -9
  103. package/clients/catalogService/models/ItemShippingPolicyDto.ts +35 -35
  104. package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +14 -14
  105. package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +14 -14
  106. package/clients/catalogService/models/ItemTagCreateDto.ts +12 -12
  107. package/clients/catalogService/models/ItemTagDto.ts +12 -12
  108. package/clients/catalogService/models/ItemTagDtoEnvelope.ts +14 -14
  109. package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +14 -14
  110. package/clients/catalogService/models/ItemTagUpdateDto.ts +9 -9
  111. package/clients/catalogService/models/ItemTaxPolicyDto.ts +37 -37
  112. package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +14 -14
  113. package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +14 -14
  114. package/clients/catalogService/models/ItemTypeCreateDto.ts +17 -17
  115. package/clients/catalogService/models/ItemTypeDto.ts +17 -17
  116. package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +14 -14
  117. package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +14 -14
  118. package/clients/catalogService/models/ItemTypeUpdateDto.ts +12 -12
  119. package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +33 -33
  120. package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +14 -14
  121. package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +14 -14
  122. package/clients/catalogService/models/PricingRuleCreateDto.ts +32 -32
  123. package/clients/catalogService/models/PricingRuleDto.ts +31 -31
  124. package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +14 -14
  125. package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +14 -14
  126. package/clients/catalogService/models/PricingRuleUpdateDto.ts +27 -27
  127. package/clients/catalogService/models/StockItemCreateDto.ts +108 -108
  128. package/clients/catalogService/models/StockItemDto.ts +146 -146
  129. package/clients/catalogService/models/StockItemDtoEnvelope.ts +14 -14
  130. package/clients/catalogService/models/StockItemDtoListEnvelope.ts +14 -14
  131. package/clients/catalogService/models/StockItemUpdateDto.ts +106 -106
  132. package/clients/catalogService/services/ItemAttachmentsService.ts +138 -138
  133. package/clients/catalogService/services/ItemAttributesService.ts +137 -137
  134. package/clients/catalogService/services/ItemBrandsService.ts +137 -137
  135. package/clients/catalogService/services/ItemCategoriesService.ts +137 -137
  136. package/clients/catalogService/services/ItemImagesService.ts +137 -137
  137. package/clients/catalogService/services/ItemQuestionsService.ts +137 -137
  138. package/clients/catalogService/services/ItemReviewsService.ts +137 -137
  139. package/clients/catalogService/services/ItemTagsService.ts +137 -137
  140. package/clients/catalogService/services/ItemTypesService.ts +137 -137
  141. package/clients/catalogService/services/PoliciesService.ts +117 -117
  142. package/clients/catalogService/services/PricingRulesService.ts +135 -135
  143. package/clients/catalogService/services/ProductsService.ts +1711 -1706
  144. package/clients/crmService/core/ApiError.ts +2 -2
  145. package/clients/crmService/core/ApiRequestOptions.ts +2 -2
  146. package/clients/crmService/core/ApiResult.ts +2 -2
  147. package/clients/crmService/core/CancelablePromise.ts +5 -5
  148. package/clients/crmService/core/OpenAPI.ts +2 -2
  149. package/clients/crmService/core/request.ts +3 -3
  150. package/clients/crmService/index.ts +4 -1
  151. package/clients/crmService/models/CartDto.ts +18 -18
  152. package/clients/crmService/models/CartDtoEnvelope.ts +14 -14
  153. package/clients/crmService/models/ContactCreateDto.ts +35 -0
  154. package/clients/crmService/models/ContactDto.ts +60 -57
  155. package/clients/crmService/models/ContactDtoEnvelope.ts +14 -14
  156. package/clients/crmService/models/ContactDtoListEnvelope.ts +14 -14
  157. package/clients/crmService/models/ContactUpdateDto.ts +39 -0
  158. package/clients/crmService/models/EmptyEnvelope.ts +11 -11
  159. package/clients/crmService/models/ErrorEnvelope.ts +12 -12
  160. package/clients/crmService/models/Operation.ts +23 -0
  161. package/clients/crmService/models/SocialProfileDto.ts +39 -39
  162. package/clients/crmService/models/SocialProfileDtoEnvelope.ts +14 -14
  163. package/clients/crmService/models/WalletDto.ts +22 -22
  164. package/clients/crmService/models/WalletDtoEnvelope.ts +14 -14
  165. package/clients/crmService/services/ContactsService.ts +562 -286
  166. package/clients/crmService/services/SyncService.ts +97 -101
  167. package/clients/forexService/core/ApiError.ts +2 -2
  168. package/clients/forexService/core/ApiRequestOptions.ts +2 -2
  169. package/clients/forexService/core/ApiResult.ts +2 -2
  170. package/clients/forexService/core/CancelablePromise.ts +5 -5
  171. package/clients/forexService/core/OpenAPI.ts +2 -2
  172. package/clients/forexService/core/request.ts +3 -3
  173. package/clients/forexService/index.ts +4 -1
  174. package/clients/forexService/models/Currency.ts +9 -9
  175. package/clients/forexService/models/ErrorEnvelope.ts +12 -12
  176. package/clients/forexService/models/ExchangeRate.ts +11 -0
  177. package/clients/forexService/models/ExchangeRateEnvelope.ts +14 -0
  178. package/clients/forexService/models/ForexRatesDto.ts +13 -13
  179. package/clients/forexService/models/ForexRatesDtoEnvelope.ts +14 -14
  180. package/clients/forexService/models/Money.ts +10 -10
  181. package/clients/forexService/models/MoneyEnvelope.ts +14 -14
  182. package/clients/forexService/services/ExchangeService.ts +65 -67
  183. package/clients/forexService/services/ExchangeVService.ts +65 -0
  184. package/clients/forexService/services/RatesService.ts +90 -46
  185. package/clients/holderService/core/ApiError.ts +2 -2
  186. package/clients/holderService/core/ApiRequestOptions.ts +2 -2
  187. package/clients/holderService/core/ApiResult.ts +2 -2
  188. package/clients/holderService/core/CancelablePromise.ts +5 -5
  189. package/clients/holderService/core/OpenAPI.ts +2 -2
  190. package/clients/holderService/core/request.ts +3 -3
  191. package/clients/holderService/index.ts +20 -9
  192. package/clients/holderService/models/AddressDto.ts +31 -31
  193. package/clients/holderService/models/AddressDtoListEnvelope.ts +14 -14
  194. package/clients/holderService/models/CartDto.ts +18 -18
  195. package/clients/holderService/models/CartDtoEnvelope.ts +14 -14
  196. package/clients/holderService/models/EmptyEnvelope.ts +11 -0
  197. package/clients/holderService/models/EmptyEnvelopeEnvelope.ts +14 -0
  198. package/clients/holderService/models/EnrollmentId.ts +5 -0
  199. package/clients/holderService/models/ErrorEnvelope.ts +12 -12
  200. package/clients/holderService/models/ExtendedPlatformUserDto.ts +78 -0
  201. package/clients/holderService/models/ExtendedPlatformUserDtoEnvelope.ts +14 -0
  202. package/clients/holderService/models/ExtendedTenantDto.ts +51 -0
  203. package/clients/holderService/models/ExtendedTenantDtoListEnvelope.ts +14 -0
  204. package/clients/holderService/models/ExtendedTenantEnrolmentDto.ts +16 -0
  205. package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.ts +14 -0
  206. package/clients/holderService/models/FollowRecordDto.ts +12 -12
  207. package/clients/holderService/models/NotificationDto.ts +16 -16
  208. package/clients/holderService/models/NotificationDtoListEnvelope.ts +14 -14
  209. package/clients/holderService/models/Operation.ts +23 -0
  210. package/clients/holderService/models/PlatformUserDto.ts +70 -73
  211. package/clients/holderService/models/PlatformUserDtoEnvelope.ts +14 -14
  212. package/clients/holderService/models/PlatformUserSettingsDto.ts +21 -0
  213. package/clients/holderService/models/PlatformUserSettingsDtoEnvelope.ts +14 -0
  214. package/clients/holderService/models/PlatformUserSettingsUpdateDto.ts +19 -0
  215. package/clients/holderService/models/PlatformUserUpdateDto.ts +43 -0
  216. package/clients/holderService/models/SocialProfileDto.ts +39 -39
  217. package/clients/holderService/models/SocialProfileDtoEnvelope.ts +14 -14
  218. package/clients/holderService/models/TenantDto.ts +45 -54
  219. package/clients/holderService/models/TenantDtoListEnvelope.ts +14 -14
  220. package/clients/holderService/models/{TenantEnrollmentDto.ts → TenantEnrolmentDto.ts} +14 -14
  221. package/clients/holderService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
  222. package/clients/holderService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
  223. package/clients/holderService/models/TenantInvitationDto.ts +16 -0
  224. package/clients/holderService/models/TenantInvitationDtoListEnvelope.ts +14 -0
  225. package/clients/holderService/models/WalletDto.ts +22 -22
  226. package/clients/holderService/models/WalletDtoEnvelope.ts +14 -14
  227. package/clients/holderService/services/HolderService.ts +356 -236
  228. package/clients/identityService/core/ApiError.ts +2 -2
  229. package/clients/identityService/core/ApiRequestOptions.ts +2 -2
  230. package/clients/identityService/core/ApiResult.ts +2 -2
  231. package/clients/identityService/core/CancelablePromise.ts +5 -5
  232. package/clients/identityService/core/OpenAPI.ts +2 -2
  233. package/clients/identityService/core/request.ts +3 -3
  234. package/clients/identityService/index.ts +2 -2
  235. package/clients/identityService/models/AccountHolderCreateDto.ts +40 -35
  236. package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +14 -14
  237. package/clients/identityService/models/Actor.ts +12 -12
  238. package/clients/identityService/models/ApiResponse.ts +21 -21
  239. package/clients/identityService/models/ApiResponseEnvelope.ts +14 -14
  240. package/clients/identityService/models/ClientApplication.ts +16 -16
  241. package/clients/identityService/models/Error.ts +10 -10
  242. package/clients/identityService/models/ErrorEnvelope.ts +12 -12
  243. package/clients/identityService/models/IPLookupDto.ts +10 -10
  244. package/clients/identityService/models/JsonWebKey.ts +13 -13
  245. package/clients/identityService/models/JsonWebKeySet.ts +9 -9
  246. package/clients/identityService/models/JsonWebKeySetEnvelope.ts +14 -14
  247. package/clients/identityService/models/JsonWebToken.ts +15 -15
  248. package/clients/identityService/models/JsonWebTokenEnvelope.ts +14 -14
  249. package/clients/identityService/models/JsonWebTokenHeader.ts +11 -11
  250. package/clients/identityService/models/JsonWebTokenPayload.ts +17 -17
  251. package/clients/identityService/models/OAuthTokenRequest.ts +12 -12
  252. package/clients/identityService/models/OpenIdConfiguration.ts +19 -19
  253. package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +14 -14
  254. package/clients/identityService/models/PlatformUserDto.ts +70 -73
  255. package/clients/identityService/models/ResponsePagination.ts +13 -13
  256. package/clients/identityService/models/ResponseStatus.ts +12 -12
  257. package/clients/identityService/models/SigninModel.ts +9 -9
  258. package/clients/identityService/models/StringListEnvelope.ts +13 -13
  259. package/clients/identityService/models/TenantDto.ts +45 -54
  260. package/clients/identityService/services/ApplicationsService.ts +107 -107
  261. package/clients/identityService/services/CheckerService.ts +19 -20
  262. package/clients/identityService/services/OAuthService.ts +147 -149
  263. package/clients/identityService/services/ResourceService.ts +19 -19
  264. package/clients/identityService/services/UserInfoService.ts +29 -29
  265. package/clients/inventoryService/core/ApiError.ts +2 -2
  266. package/clients/inventoryService/core/ApiRequestOptions.ts +2 -2
  267. package/clients/inventoryService/core/ApiResult.ts +2 -2
  268. package/clients/inventoryService/core/CancelablePromise.ts +5 -5
  269. package/clients/inventoryService/core/OpenAPI.ts +2 -2
  270. package/clients/inventoryService/core/request.ts +3 -3
  271. package/clients/inventoryService/index.ts +1 -1
  272. package/clients/inventoryService/services/InventoryService.ts +25 -25
  273. package/clients/invoicingService/core/ApiError.ts +2 -2
  274. package/clients/invoicingService/core/ApiRequestOptions.ts +2 -2
  275. package/clients/invoicingService/core/ApiResult.ts +2 -2
  276. package/clients/invoicingService/core/CancelablePromise.ts +5 -5
  277. package/clients/invoicingService/core/OpenAPI.ts +2 -2
  278. package/clients/invoicingService/core/request.ts +3 -3
  279. package/clients/invoicingService/index.ts +11 -2
  280. package/clients/invoicingService/models/ContactDto.ts +60 -0
  281. package/clients/invoicingService/models/Currency.ts +9 -0
  282. package/clients/invoicingService/models/EmptyEnvelope.ts +11 -11
  283. package/clients/invoicingService/models/ErrorEnvelope.ts +12 -12
  284. package/clients/invoicingService/models/ExtendedInvoiceDto.ts +44 -0
  285. package/clients/invoicingService/models/ExtendedInvoiceDtoListEnvelope.ts +14 -0
  286. package/clients/invoicingService/models/InvoiceCreateDto.ts +11 -11
  287. package/clients/invoicingService/models/InvoiceDto.ts +35 -13
  288. package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +14 -14
  289. package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +14 -14
  290. package/clients/invoicingService/models/InvoiceLineDto.ts +99 -95
  291. package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +14 -14
  292. package/clients/invoicingService/models/InvoiceLineDtoListEnvelope.ts +14 -14
  293. package/clients/invoicingService/models/InvoiceUpdateDto.ts +5 -5
  294. package/clients/invoicingService/models/ItemPriceCreateDto.ts +20 -20
  295. package/clients/invoicingService/models/ItemPriceUpdateDto.ts +14 -14
  296. package/clients/invoicingService/models/Money.ts +10 -0
  297. package/clients/invoicingService/models/MoneyEnvelope.ts +14 -0
  298. package/clients/invoicingService/models/PlatformUserDto.ts +70 -0
  299. package/clients/invoicingService/models/TenantDto.ts +45 -0
  300. package/clients/{tenantService/models/TenantEnrollmentDto.ts → invoicingService/models/TenantEnrolmentDto.ts} +14 -14
  301. package/clients/invoicingService/services/InvoicesService.ts +465 -301
  302. package/clients/ordersService/core/ApiError.ts +2 -2
  303. package/clients/ordersService/core/ApiRequestOptions.ts +2 -2
  304. package/clients/ordersService/core/ApiResult.ts +2 -2
  305. package/clients/ordersService/core/CancelablePromise.ts +5 -5
  306. package/clients/ordersService/core/OpenAPI.ts +2 -2
  307. package/clients/ordersService/core/request.ts +3 -3
  308. package/clients/ordersService/index.ts +2 -2
  309. package/clients/ordersService/models/EmptyEnvelope.ts +11 -11
  310. package/clients/ordersService/models/ErrorEnvelope.ts +12 -12
  311. package/clients/ordersService/models/ItemPriceCreateDto.ts +20 -20
  312. package/clients/ordersService/models/ItemPriceUpdateDto.ts +14 -14
  313. package/clients/ordersService/models/OrderCreateDto.ts +16 -16
  314. package/clients/ordersService/models/OrderDto.ts +51 -27
  315. package/clients/ordersService/models/OrderDtoEnvelope.ts +14 -14
  316. package/clients/ordersService/models/OrderDtoListEnvelope.ts +14 -14
  317. package/clients/ordersService/models/OrderLineDto.ts +99 -95
  318. package/clients/ordersService/models/OrderLineDtoEnvelope.ts +14 -14
  319. package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +14 -14
  320. package/clients/ordersService/models/OrderUpdateDto.ts +12 -12
  321. package/clients/ordersService/services/OrdersService.ts +299 -296
  322. package/clients/pricingService/core/ApiError.ts +2 -2
  323. package/clients/pricingService/core/ApiRequestOptions.ts +2 -2
  324. package/clients/pricingService/core/ApiResult.ts +2 -2
  325. package/clients/pricingService/core/CancelablePromise.ts +5 -5
  326. package/clients/pricingService/core/OpenAPI.ts +2 -2
  327. package/clients/pricingService/core/request.ts +3 -3
  328. package/clients/pricingService/index.ts +1 -1
  329. package/clients/pricingService/models/Currency.ts +9 -9
  330. package/clients/pricingService/models/EmptyEnvelope.ts +11 -11
  331. package/clients/pricingService/models/ErrorEnvelope.ts +12 -12
  332. package/clients/pricingService/models/ItemPriceCreateDto.ts +20 -20
  333. package/clients/pricingService/models/ItemPriceDto.ts +20 -20
  334. package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +14 -14
  335. package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +14 -14
  336. package/clients/pricingService/models/ItemPriceUpdateDto.ts +14 -14
  337. package/clients/pricingService/models/Money.ts +10 -10
  338. package/clients/pricingService/models/MoneyEnvelope.ts +14 -14
  339. package/clients/pricingService/models/PriceListCreateDto.ts +18 -18
  340. package/clients/pricingService/models/PriceListDto.ts +17 -17
  341. package/clients/pricingService/models/PriceListDtoEnvelope.ts +14 -14
  342. package/clients/pricingService/models/PriceListDtoListEnvelope.ts +14 -14
  343. package/clients/pricingService/models/PriceListUpdateDto.ts +14 -14
  344. package/clients/pricingService/services/PriceListsService.ts +280 -280
  345. package/clients/pricingService/services/PricesService.ts +82 -82
  346. package/clients/systemService/core/ApiError.ts +2 -2
  347. package/clients/systemService/core/ApiRequestOptions.ts +2 -2
  348. package/clients/systemService/core/ApiResult.ts +2 -2
  349. package/clients/systemService/core/CancelablePromise.ts +5 -5
  350. package/clients/systemService/core/OpenAPI.ts +2 -2
  351. package/clients/systemService/core/request.ts +3 -3
  352. package/clients/systemService/index.ts +20 -1
  353. package/clients/systemService/models/BooleanEnvelope.ts +13 -0
  354. package/clients/systemService/models/ErrorEnvelope.ts +12 -12
  355. package/clients/systemService/models/GeneralValidationFailure.ts +9 -0
  356. package/clients/{holderService/models/TenantEnrollmentDtoListEnvelope.ts → systemService/models/GeneralValidationFailureListEnvelope.ts} +14 -14
  357. package/clients/systemService/models/ISwaggerContact.ts +10 -0
  358. package/clients/systemService/models/ISwaggerEndpoint.ts +10 -0
  359. package/clients/systemService/models/ISwaggerLicense.ts +9 -0
  360. package/clients/systemService/models/ISwaggerSpec.ts +19 -0
  361. package/clients/systemService/models/LicenseValidationRequest.ts +8 -0
  362. package/clients/systemService/models/Module.ts +43 -0
  363. package/clients/systemService/models/ModuleListEnvelope.ts +14 -0
  364. package/clients/systemService/models/StringListEnvelope.ts +13 -13
  365. package/clients/systemService/models/StudioModule.ts +9 -0
  366. package/clients/systemService/models/StudioModuleListEnvelope.ts +14 -0
  367. package/clients/systemService/models/SuiteLicenseAssignmentDto.ts +16 -0
  368. package/clients/systemService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
  369. package/clients/systemService/models/SuiteLicenseDto.ts +15 -0
  370. package/clients/systemService/models/SuiteLicenseDtoEnvelope.ts +14 -0
  371. package/clients/systemService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
  372. package/clients/systemService/services/AntiforgeryService.ts +29 -29
  373. package/clients/systemService/services/LicensingService.ts +190 -0
  374. package/clients/systemService/services/MigrationsService.ts +44 -44
  375. package/clients/systemService/services/ModulesService.ts +51 -0
  376. package/clients/tenantService/core/ApiError.ts +2 -2
  377. package/clients/tenantService/core/ApiRequestOptions.ts +2 -2
  378. package/clients/tenantService/core/ApiResult.ts +2 -2
  379. package/clients/tenantService/core/CancelablePromise.ts +5 -5
  380. package/clients/tenantService/core/OpenAPI.ts +2 -2
  381. package/clients/tenantService/core/request.ts +3 -3
  382. package/clients/tenantService/index.ts +104 -4
  383. package/clients/tenantService/models/BooleanEnvelope.ts +13 -13
  384. package/clients/tenantService/models/CancellationToken.ts +11 -0
  385. package/clients/tenantService/models/CartDto.ts +18 -18
  386. package/clients/tenantService/models/CartDtoEnvelope.ts +14 -14
  387. package/clients/tenantService/models/EmptyEnvelope.ts +11 -11
  388. package/clients/tenantService/models/ErrorEnvelope.ts +12 -12
  389. package/clients/tenantService/models/ExtendedTenantDto.ts +51 -0
  390. package/clients/tenantService/models/ExtendedTenantDtoEnvelope.ts +14 -0
  391. package/clients/tenantService/models/IntPtr.ts +5 -0
  392. package/clients/tenantService/models/NotificationDto.ts +16 -16
  393. package/clients/tenantService/models/NotificationDtoListEnvelope.ts +14 -14
  394. package/clients/tenantService/models/Operation.ts +23 -0
  395. package/clients/tenantService/models/PlatformUserDto.ts +70 -73
  396. package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +14 -14
  397. package/clients/tenantService/models/SafeWaitHandle.ts +9 -0
  398. package/clients/tenantService/models/SocialProfileDto.ts +39 -39
  399. package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +14 -14
  400. package/clients/tenantService/models/StringListEnvelope.ts +13 -13
  401. package/clients/tenantService/models/SuiteLicenseAssignmentDto.ts +16 -0
  402. package/clients/tenantService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
  403. package/clients/tenantService/models/SuiteLicenseDto.ts +15 -0
  404. package/clients/tenantService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
  405. package/clients/tenantService/models/SuiteLicenseFeatureDto.ts +9 -0
  406. package/clients/tenantService/models/SuiteLicenseFeatureDtoListEnvelope.ts +14 -0
  407. package/clients/tenantService/models/TenantCreateDto.ts +25 -25
  408. package/clients/tenantService/models/TenantDepartmentCreateDto.ts +16 -0
  409. package/clients/tenantService/models/TenantDepartmentDto.ts +16 -0
  410. package/clients/tenantService/models/{TenantEnrollmentDtoEnvelope.ts → TenantDepartmentDtoEnvelope.ts} +14 -14
  411. package/clients/tenantService/models/TenantDepartmentDtoIReadOnlyListEnvelope.ts +14 -0
  412. package/clients/tenantService/models/TenantDepartmentUpdateDto.ts +12 -0
  413. package/clients/tenantService/models/TenantDto.ts +45 -54
  414. package/clients/tenantService/models/TenantDtoEnvelope.ts +14 -14
  415. package/clients/tenantService/models/TenantEnrollmentCreateDto.ts +11 -0
  416. package/clients/tenantService/models/TenantEnrollmentUpdateDto.ts +9 -0
  417. package/clients/tenantService/models/TenantEnrolmentDto.ts +14 -0
  418. package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
  419. package/clients/tenantService/models/TenantEnrolmentDtoIReadOnlyListEnvelope.ts +14 -0
  420. package/clients/tenantService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
  421. package/clients/tenantService/models/TenantIndustryCreateDto.ts +12 -0
  422. package/clients/tenantService/models/TenantIndustryDto.ts +12 -0
  423. package/clients/tenantService/models/TenantIndustryDtoEnvelope.ts +14 -0
  424. package/clients/tenantService/models/TenantIndustryUpdateDto.ts +10 -0
  425. package/clients/tenantService/models/TenantInvitationCreateDto.ts +12 -0
  426. package/clients/tenantService/models/TenantInvitationDto.ts +16 -0
  427. package/clients/tenantService/models/TenantInvitationDtoEnvelope.ts +14 -0
  428. package/clients/tenantService/models/TenantInvitationDtoListEnvelope.ts +14 -0
  429. package/clients/tenantService/models/TenantPositionCreateDto.ts +13 -0
  430. package/clients/tenantService/models/TenantPositionDto.ts +13 -0
  431. package/clients/tenantService/models/TenantPositionDtoEnvelope.ts +14 -0
  432. package/clients/tenantService/models/TenantPositionDtoIReadOnlyListEnvelope.ts +14 -0
  433. package/clients/tenantService/models/TenantPositionUpdateDto.ts +9 -0
  434. package/clients/tenantService/models/TenantSegmentCreateDto.ts +12 -0
  435. package/clients/tenantService/models/TenantSegmentDto.ts +12 -0
  436. package/clients/tenantService/models/TenantSegmentDtoEnvelope.ts +14 -0
  437. package/clients/tenantService/models/TenantSegmentDtoIReadOnlyListEnvelope.ts +14 -0
  438. package/clients/tenantService/models/TenantSegmentUpdateDto.ts +10 -0
  439. package/clients/tenantService/models/TenantSizeCreateDto.ts +12 -0
  440. package/clients/tenantService/models/TenantSizeDto.ts +12 -0
  441. package/clients/tenantService/models/TenantSizeDtoEnvelope.ts +14 -0
  442. package/clients/tenantService/models/TenantSizeDtoIReadOnlyListEnvelope.ts +14 -0
  443. package/clients/tenantService/models/TenantSizeUpdateDto.ts +10 -0
  444. package/clients/tenantService/models/TenantTeamContactEnrollmentCreateDto.ts +13 -0
  445. package/clients/tenantService/models/TenantTeamContactEnrollmentDto.ts +13 -0
  446. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoEnvelope.ts +14 -0
  447. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  448. package/clients/tenantService/models/TenantTeamContactEnrollmentUpdateDto.ts +11 -0
  449. package/clients/tenantService/models/TenantTeamCreateDto.ts +17 -0
  450. package/clients/tenantService/models/TenantTeamDto.ts +17 -0
  451. package/clients/tenantService/models/TenantTeamDtoEnvelope.ts +14 -0
  452. package/clients/tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.ts +14 -0
  453. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentCreateDto.ts +13 -0
  454. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDto.ts +13 -0
  455. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoEnvelope.ts +14 -0
  456. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  457. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentUpdateDto.ts +11 -0
  458. package/clients/tenantService/models/TenantTeamProjectEnrollmentCreateDto.ts +13 -0
  459. package/clients/tenantService/models/TenantTeamProjectEnrollmentDto.ts +13 -0
  460. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoEnvelope.ts +14 -0
  461. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  462. package/clients/tenantService/models/TenantTeamProjectEnrollmentUpdateDto.ts +11 -0
  463. package/clients/tenantService/models/TenantTeamRecordCreateDto.ts +12 -0
  464. package/clients/tenantService/models/TenantTeamRecordDto.ts +12 -0
  465. package/clients/tenantService/models/TenantTeamRecordDtoEnvelope.ts +14 -0
  466. package/clients/tenantService/models/{TenantEnrollmentDtoListEnvelope.ts → TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts} +14 -14
  467. package/clients/tenantService/models/TenantTeamRecordUpdateDto.ts +10 -0
  468. package/clients/tenantService/models/TenantTeamUpdateDto.ts +17 -0
  469. package/clients/tenantService/models/TenantTerritoryCreateDto.ts +14 -0
  470. package/clients/tenantService/models/TenantTerritoryDto.ts +14 -0
  471. package/clients/tenantService/models/TenantTerritoryDtoEnvelope.ts +14 -0
  472. package/clients/tenantService/models/TenantTerritoryDtoIReadOnlyListEnvelope.ts +14 -0
  473. package/clients/tenantService/models/TenantTerritoryUpdateDto.ts +9 -0
  474. package/clients/tenantService/models/TenantTypeCreateDto.ts +11 -0
  475. package/clients/tenantService/models/TenantTypeDto.ts +11 -0
  476. package/clients/tenantService/models/TenantTypeDtoEnvelope.ts +14 -0
  477. package/clients/tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  478. package/clients/tenantService/models/TenantTypeUpdateDto.ts +9 -0
  479. package/clients/tenantService/models/TenantUnitCreateDto.ts +18 -0
  480. package/clients/tenantService/models/TenantUnitDto.ts +18 -0
  481. package/clients/tenantService/models/TenantUnitDtoEnvelope.ts +14 -0
  482. package/clients/tenantService/models/TenantUnitDtoIReadOnlyListEnvelope.ts +14 -0
  483. package/clients/tenantService/models/TenantUnitUpdateDto.ts +14 -0
  484. package/clients/tenantService/models/TenantUpdateDto.ts +31 -0
  485. package/clients/tenantService/models/WaitHandle.ts +11 -0
  486. package/clients/tenantService/models/WalletDto.ts +22 -22
  487. package/clients/tenantService/models/WalletDtoEnvelope.ts +14 -14
  488. package/clients/tenantService/models/WebPortalDto.ts +19 -12
  489. package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +14 -14
  490. package/clients/tenantService/services/DepartmentsService.ts +168 -0
  491. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +151 -0
  492. package/clients/tenantService/services/EnrollmentsService.ts +165 -0
  493. package/clients/tenantService/services/IndustriesService.ts +160 -0
  494. package/clients/tenantService/services/InvitationsService.ts +125 -0
  495. package/clients/tenantService/services/PositionsService.ts +162 -0
  496. package/clients/tenantService/services/SegmentsService.ts +161 -0
  497. package/clients/tenantService/services/SizesService.ts +168 -0
  498. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +161 -0
  499. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +151 -0
  500. package/clients/tenantService/services/TeamRecordsService.ts +162 -0
  501. package/clients/tenantService/services/TeamsService.ts +162 -0
  502. package/clients/tenantService/services/TenantsService.ts +805 -479
  503. package/clients/tenantService/services/TerritoriesService.ts +162 -0
  504. package/clients/tenantService/services/TypesService.ts +146 -0
  505. package/clients/tenantService/services/UnitsService.ts +160 -0
  506. package/clients/walletsService/core/ApiError.ts +2 -2
  507. package/clients/walletsService/core/ApiRequestOptions.ts +2 -2
  508. package/clients/walletsService/core/ApiResult.ts +2 -2
  509. package/clients/walletsService/core/CancelablePromise.ts +5 -5
  510. package/clients/walletsService/core/OpenAPI.ts +2 -2
  511. package/clients/walletsService/core/request.ts +3 -3
  512. package/clients/walletsService/index.ts +3 -3
  513. package/clients/walletsService/models/ErrorEnvelope.ts +12 -12
  514. package/clients/walletsService/models/InvoiceDto.ts +35 -13
  515. package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +14 -14
  516. package/clients/walletsService/models/LocationDto.ts +31 -31
  517. package/clients/walletsService/models/LocationDtoListEnvelope.ts +14 -14
  518. package/clients/walletsService/models/OrderDto.ts +51 -27
  519. package/clients/walletsService/models/OrderDtoListEnvelope.ts +14 -14
  520. package/clients/walletsService/models/PaymentDto.ts +17 -17
  521. package/clients/walletsService/models/PaymentDtoListEnvelope.ts +14 -14
  522. package/clients/walletsService/models/WalletDto.ts +22 -22
  523. package/clients/walletsService/models/WalletDtoEnvelope.ts +14 -14
  524. package/clients/walletsService/services/WalletsService.ts +194 -174
  525. package/package.json +40 -40
  526. package/schemas/cartService/schema.s.ts +1396 -100
  527. package/schemas/catalogService/schema.s.ts +148 -141
  528. package/schemas/crmService/schema.s.ts +522 -58
  529. package/schemas/forexService/schema.s.ts +102 -339
  530. package/schemas/holderService/schema.s.ts +578 -153
  531. package/schemas/identityService/schema.s.ts +43 -70
  532. package/schemas/inventoryService/schema.s.ts +1 -1
  533. package/schemas/invoicingService/schema.s.ts +528 -17
  534. package/schemas/ordersService/schema.s.ts +46 -19
  535. package/schemas/pricingService/schema.s.ts +13 -13
  536. package/schemas/systemService/schema.s.ts +1171 -4
  537. package/schemas/tenantService/schema.s.ts +4978 -396
  538. package/schemas/walletsService/schema.s.ts +93 -17
  539. package/tsconfig.json +110 -110
  540. package/vite.config.js +28 -28
  541. package/wwwroot/build/bundle.js +1 -1
  542. package/clients/holderService/models/InvoiceDto.ts +0 -13
  543. package/clients/holderService/models/OrderDto.ts +0 -27
  544. package/clients/holderService/models/PaymentDto.ts +0 -17
@@ -1,301 +1,465 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { EmptyEnvelope } from '../models/EmptyEnvelope';
6
- import type { InvoiceCreateDto } from '../models/InvoiceCreateDto';
7
- import type { InvoiceDtoEnvelope } from '../models/InvoiceDtoEnvelope';
8
- import type { InvoiceDtoListEnvelope } from '../models/InvoiceDtoListEnvelope';
9
- import type { InvoiceLineDtoEnvelope } from '../models/InvoiceLineDtoEnvelope';
10
- import type { InvoiceLineDtoListEnvelope } from '../models/InvoiceLineDtoListEnvelope';
11
- import type { InvoiceUpdateDto } from '../models/InvoiceUpdateDto';
12
- import type { ItemPriceCreateDto } from '../models/ItemPriceCreateDto';
13
- import type { ItemPriceUpdateDto } from '../models/ItemPriceUpdateDto';
14
- import type { CancelablePromise } from '../core/CancelablePromise';
15
- import { OpenAPI } from '../core/OpenAPI';
16
- import { request as __request } from '../core/request';
17
- export class InvoicesService {
18
- /**
19
- * @param tenantId
20
- * @returns InvoiceDtoListEnvelope Success
21
- * @throws ApiError
22
- */
23
- public static getApiV2InvoicingServiceInvoices(
24
- tenantId: string,
25
- ): CancelablePromise<InvoiceDtoListEnvelope> {
26
- return __request(OpenAPI, {
27
- method: 'GET',
28
- url: '/api/v2/InvoicingService/Invoices',
29
- query: {
30
- 'tenantId': tenantId,
31
- },
32
- errors: {
33
- 404: `Not Found`,
34
- },
35
- });
36
- }
37
- /**
38
- * @param tenantId
39
- * @param requestBody
40
- * @returns EmptyEnvelope Success
41
- * @throws ApiError
42
- */
43
- public static postApiV2InvoicingServiceInvoices(
44
- tenantId: string,
45
- requestBody?: InvoiceCreateDto,
46
- ): CancelablePromise<EmptyEnvelope> {
47
- return __request(OpenAPI, {
48
- method: 'POST',
49
- url: '/api/v2/InvoicingService/Invoices',
50
- query: {
51
- 'tenantId': tenantId,
52
- },
53
- body: requestBody,
54
- mediaType: 'application/json',
55
- errors: {
56
- 404: `Not Found`,
57
- },
58
- });
59
- }
60
- /**
61
- * @param tenantId
62
- * @param invoiceId
63
- * @returns InvoiceDtoEnvelope Success
64
- * @throws ApiError
65
- */
66
- public static getApiV2InvoicingServiceInvoices1(
67
- tenantId: string,
68
- invoiceId: string,
69
- ): CancelablePromise<InvoiceDtoEnvelope> {
70
- return __request(OpenAPI, {
71
- method: 'GET',
72
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
73
- path: {
74
- 'invoiceId': invoiceId,
75
- },
76
- query: {
77
- 'tenantId': tenantId,
78
- },
79
- errors: {
80
- 404: `Not Found`,
81
- },
82
- });
83
- }
84
- /**
85
- * @param tenantId
86
- * @param invoiceId
87
- * @param requestBody
88
- * @returns EmptyEnvelope Success
89
- * @throws ApiError
90
- */
91
- public static putApiV2InvoicingServiceInvoices(
92
- tenantId: string,
93
- invoiceId: string,
94
- requestBody?: InvoiceUpdateDto,
95
- ): CancelablePromise<EmptyEnvelope> {
96
- return __request(OpenAPI, {
97
- method: 'PUT',
98
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
99
- path: {
100
- 'invoiceId': invoiceId,
101
- },
102
- query: {
103
- 'tenantId': tenantId,
104
- },
105
- body: requestBody,
106
- mediaType: 'application/json',
107
- errors: {
108
- 404: `Not Found`,
109
- },
110
- });
111
- }
112
- /**
113
- * @param tenantId
114
- * @param invoiceId
115
- * @returns EmptyEnvelope Success
116
- * @throws ApiError
117
- */
118
- public static deleteApiV2InvoicingServiceInvoices(
119
- tenantId: string,
120
- invoiceId: string,
121
- ): CancelablePromise<EmptyEnvelope> {
122
- return __request(OpenAPI, {
123
- method: 'DELETE',
124
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
125
- path: {
126
- 'invoiceId': invoiceId,
127
- },
128
- query: {
129
- 'tenantId': tenantId,
130
- },
131
- errors: {
132
- 404: `Not Found`,
133
- },
134
- });
135
- }
136
- /**
137
- * @param tenantId
138
- * @param invoiceId
139
- * @param itemId
140
- * @returns InvoiceLineDtoListEnvelope Success
141
- * @throws ApiError
142
- */
143
- public static getApiV2InvoicingServiceInvoicesLines(
144
- tenantId: string,
145
- invoiceId: string,
146
- itemId?: string,
147
- ): CancelablePromise<InvoiceLineDtoListEnvelope> {
148
- return __request(OpenAPI, {
149
- method: 'GET',
150
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines',
151
- path: {
152
- 'invoiceId': invoiceId,
153
- },
154
- query: {
155
- 'tenantId': tenantId,
156
- 'itemId': itemId,
157
- },
158
- errors: {
159
- 404: `Not Found`,
160
- },
161
- });
162
- }
163
- /**
164
- * @param tenantId
165
- * @param invoiceId
166
- * @param requestBody
167
- * @returns EmptyEnvelope Success
168
- * @throws ApiError
169
- */
170
- public static postApiV2InvoicingServiceInvoicesLines(
171
- tenantId: string,
172
- invoiceId: string,
173
- requestBody?: ItemPriceCreateDto,
174
- ): CancelablePromise<EmptyEnvelope> {
175
- return __request(OpenAPI, {
176
- method: 'POST',
177
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines',
178
- path: {
179
- 'invoiceId': invoiceId,
180
- },
181
- query: {
182
- 'tenantId': tenantId,
183
- },
184
- body: requestBody,
185
- mediaType: 'application/json',
186
- errors: {
187
- 404: `Not Found`,
188
- },
189
- });
190
- }
191
- /**
192
- * @param tenantId
193
- * @param invoiceId
194
- * @param invoiceLineId
195
- * @returns InvoiceLineDtoEnvelope Success
196
- * @throws ApiError
197
- */
198
- public static getApiV2InvoicingServiceInvoicesLines1(
199
- tenantId: string,
200
- invoiceId: string,
201
- invoiceLineId: string,
202
- ): CancelablePromise<InvoiceLineDtoEnvelope> {
203
- return __request(OpenAPI, {
204
- method: 'GET',
205
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
206
- path: {
207
- 'invoiceId': invoiceId,
208
- 'invoiceLineId': invoiceLineId,
209
- },
210
- query: {
211
- 'tenantId': tenantId,
212
- },
213
- errors: {
214
- 404: `Not Found`,
215
- },
216
- });
217
- }
218
- /**
219
- * @param tenantId
220
- * @param invoiceId
221
- * @param invoiceLineId
222
- * @param requestBody
223
- * @returns EmptyEnvelope Success
224
- * @throws ApiError
225
- */
226
- public static putApiV2InvoicingServiceInvoicesLines(
227
- tenantId: string,
228
- invoiceId: string,
229
- invoiceLineId: string,
230
- requestBody?: ItemPriceUpdateDto,
231
- ): CancelablePromise<EmptyEnvelope> {
232
- return __request(OpenAPI, {
233
- method: 'PUT',
234
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
235
- path: {
236
- 'invoiceId': invoiceId,
237
- 'invoiceLineId': invoiceLineId,
238
- },
239
- query: {
240
- 'tenantId': tenantId,
241
- },
242
- body: requestBody,
243
- mediaType: 'application/json',
244
- errors: {
245
- 404: `Not Found`,
246
- },
247
- });
248
- }
249
- /**
250
- * @param tenantId
251
- * @param invoiceId
252
- * @param invoiceLineId
253
- * @param requestBody
254
- * @returns EmptyEnvelope Success
255
- * @throws ApiError
256
- */
257
- public static deleteApiV2InvoicingServiceInvoicesLines(
258
- tenantId: string,
259
- invoiceId: string,
260
- invoiceLineId: string,
261
- requestBody?: ItemPriceUpdateDto,
262
- ): CancelablePromise<EmptyEnvelope> {
263
- return __request(OpenAPI, {
264
- method: 'DELETE',
265
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
266
- path: {
267
- 'invoiceId': invoiceId,
268
- 'invoiceLineId': invoiceLineId,
269
- },
270
- query: {
271
- 'tenantId': tenantId,
272
- },
273
- body: requestBody,
274
- mediaType: 'application/json',
275
- errors: {
276
- 404: `Not Found`,
277
- },
278
- });
279
- }
280
- /**
281
- * Get the list of payments related to an Invoice
282
- * @param invoiceId The Invoice ID to get payments for.
283
- * @returns InvoiceDtoListEnvelope Success
284
- * @throws ApiError
285
- */
286
- public static getApiV2InvoicingServiceInvoicesPayments(
287
- invoiceId: string,
288
- ): CancelablePromise<InvoiceDtoListEnvelope> {
289
- return __request(OpenAPI, {
290
- method: 'GET',
291
- url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Payments',
292
- path: {
293
- 'invoiceId': invoiceId,
294
- },
295
- errors: {
296
- 401: `Unauthorized`,
297
- 403: `Forbidden`,
298
- },
299
- });
300
- }
301
- }
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { EmptyEnvelope } from '../models/EmptyEnvelope';
6
+ import type { ExtendedInvoiceDtoListEnvelope } from '../models/ExtendedInvoiceDtoListEnvelope';
7
+ import type { InvoiceCreateDto } from '../models/InvoiceCreateDto';
8
+ import type { InvoiceDtoEnvelope } from '../models/InvoiceDtoEnvelope';
9
+ import type { InvoiceDtoListEnvelope } from '../models/InvoiceDtoListEnvelope';
10
+ import type { InvoiceLineDtoEnvelope } from '../models/InvoiceLineDtoEnvelope';
11
+ import type { InvoiceLineDtoListEnvelope } from '../models/InvoiceLineDtoListEnvelope';
12
+ import type { InvoiceUpdateDto } from '../models/InvoiceUpdateDto';
13
+ import type { ItemPriceCreateDto } from '../models/ItemPriceCreateDto';
14
+ import type { ItemPriceUpdateDto } from '../models/ItemPriceUpdateDto';
15
+ import type { MoneyEnvelope } from '../models/MoneyEnvelope';
16
+ import type { CancelablePromise } from '../core/CancelablePromise';
17
+ import { OpenAPI } from '../core/OpenAPI';
18
+ import { request as __request } from '../core/request';
19
+ export class InvoicesService {
20
+ /**
21
+ * @param tenantId
22
+ * @returns InvoiceDtoListEnvelope OK
23
+ * @throws ApiError
24
+ */
25
+ public static getApiV2InvoicingServiceInvoices(
26
+ tenantId: string,
27
+ ): CancelablePromise<InvoiceDtoListEnvelope> {
28
+ return __request(OpenAPI, {
29
+ method: 'GET',
30
+ url: '/api/v2/InvoicingService/Invoices',
31
+ query: {
32
+ 'tenantId': tenantId,
33
+ },
34
+ errors: {
35
+ 404: `Not Found`,
36
+ },
37
+ });
38
+ }
39
+ /**
40
+ * @param tenantId
41
+ * @param requestBody
42
+ * @returns EmptyEnvelope OK
43
+ * @throws ApiError
44
+ */
45
+ public static postApiV2InvoicingServiceInvoices(
46
+ tenantId: string,
47
+ requestBody?: InvoiceCreateDto,
48
+ ): CancelablePromise<EmptyEnvelope> {
49
+ return __request(OpenAPI, {
50
+ method: 'POST',
51
+ url: '/api/v2/InvoicingService/Invoices',
52
+ query: {
53
+ 'tenantId': tenantId,
54
+ },
55
+ body: requestBody,
56
+ mediaType: 'application/json',
57
+ errors: {
58
+ 404: `Not Found`,
59
+ },
60
+ });
61
+ }
62
+ /**
63
+ * @param tenantId
64
+ * @returns ExtendedInvoiceDtoListEnvelope OK
65
+ * @throws ApiError
66
+ */
67
+ public static getApiV2InvoicingServiceInvoicesExtended(
68
+ tenantId: string,
69
+ ): CancelablePromise<ExtendedInvoiceDtoListEnvelope> {
70
+ return __request(OpenAPI, {
71
+ method: 'GET',
72
+ url: '/api/v2/InvoicingService/Invoices/Extended',
73
+ query: {
74
+ 'tenantId': tenantId,
75
+ },
76
+ errors: {
77
+ 404: `Not Found`,
78
+ },
79
+ });
80
+ }
81
+ /**
82
+ * @param tenantId
83
+ * @param invoiceId
84
+ * @returns InvoiceDtoEnvelope OK
85
+ * @throws ApiError
86
+ */
87
+ public static getApiV2InvoicingServiceInvoices1(
88
+ tenantId: string,
89
+ invoiceId: string,
90
+ ): CancelablePromise<InvoiceDtoEnvelope> {
91
+ return __request(OpenAPI, {
92
+ method: 'GET',
93
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
94
+ path: {
95
+ 'invoiceId': invoiceId,
96
+ },
97
+ query: {
98
+ 'tenantId': tenantId,
99
+ },
100
+ errors: {
101
+ 404: `Not Found`,
102
+ },
103
+ });
104
+ }
105
+ /**
106
+ * @param tenantId
107
+ * @param invoiceId
108
+ * @param requestBody
109
+ * @returns EmptyEnvelope OK
110
+ * @throws ApiError
111
+ */
112
+ public static putApiV2InvoicingServiceInvoices(
113
+ tenantId: string,
114
+ invoiceId: string,
115
+ requestBody?: InvoiceUpdateDto,
116
+ ): CancelablePromise<EmptyEnvelope> {
117
+ return __request(OpenAPI, {
118
+ method: 'PUT',
119
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
120
+ path: {
121
+ 'invoiceId': invoiceId,
122
+ },
123
+ query: {
124
+ 'tenantId': tenantId,
125
+ },
126
+ body: requestBody,
127
+ mediaType: 'application/json',
128
+ errors: {
129
+ 404: `Not Found`,
130
+ },
131
+ });
132
+ }
133
+ /**
134
+ * @param tenantId
135
+ * @param invoiceId
136
+ * @returns EmptyEnvelope OK
137
+ * @throws ApiError
138
+ */
139
+ public static deleteApiV2InvoicingServiceInvoices(
140
+ tenantId: string,
141
+ invoiceId: string,
142
+ ): CancelablePromise<EmptyEnvelope> {
143
+ return __request(OpenAPI, {
144
+ method: 'DELETE',
145
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}',
146
+ path: {
147
+ 'invoiceId': invoiceId,
148
+ },
149
+ query: {
150
+ 'tenantId': tenantId,
151
+ },
152
+ errors: {
153
+ 404: `Not Found`,
154
+ },
155
+ });
156
+ }
157
+ /**
158
+ * @param tenantId
159
+ * @param invoiceId
160
+ * @returns InvoiceDtoEnvelope OK
161
+ * @throws ApiError
162
+ */
163
+ public static getApiV2InvoicingServiceInvoicesExtended1(
164
+ tenantId: string,
165
+ invoiceId: string,
166
+ ): CancelablePromise<InvoiceDtoEnvelope> {
167
+ return __request(OpenAPI, {
168
+ method: 'GET',
169
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Extended',
170
+ path: {
171
+ 'invoiceId': invoiceId,
172
+ },
173
+ query: {
174
+ 'tenantId': tenantId,
175
+ },
176
+ errors: {
177
+ 404: `Not Found`,
178
+ },
179
+ });
180
+ }
181
+ /**
182
+ * @param tenantId
183
+ * @param invoiceId
184
+ * @param itemId
185
+ * @returns InvoiceLineDtoListEnvelope OK
186
+ * @throws ApiError
187
+ */
188
+ public static getApiV2InvoicingServiceInvoicesLines(
189
+ tenantId: string,
190
+ invoiceId: string,
191
+ itemId?: string,
192
+ ): CancelablePromise<InvoiceLineDtoListEnvelope> {
193
+ return __request(OpenAPI, {
194
+ method: 'GET',
195
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines',
196
+ path: {
197
+ 'invoiceId': invoiceId,
198
+ },
199
+ query: {
200
+ 'tenantId': tenantId,
201
+ 'itemId': itemId,
202
+ },
203
+ errors: {
204
+ 404: `Not Found`,
205
+ },
206
+ });
207
+ }
208
+ /**
209
+ * @param tenantId
210
+ * @param invoiceId
211
+ * @param requestBody
212
+ * @returns EmptyEnvelope OK
213
+ * @throws ApiError
214
+ */
215
+ public static postApiV2InvoicingServiceInvoicesLines(
216
+ tenantId: string,
217
+ invoiceId: string,
218
+ requestBody?: ItemPriceCreateDto,
219
+ ): CancelablePromise<EmptyEnvelope> {
220
+ return __request(OpenAPI, {
221
+ method: 'POST',
222
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines',
223
+ path: {
224
+ 'invoiceId': invoiceId,
225
+ },
226
+ query: {
227
+ 'tenantId': tenantId,
228
+ },
229
+ body: requestBody,
230
+ mediaType: 'application/json',
231
+ errors: {
232
+ 404: `Not Found`,
233
+ },
234
+ });
235
+ }
236
+ /**
237
+ * @param tenantId
238
+ * @param invoiceId
239
+ * @param invoiceLineId
240
+ * @returns InvoiceLineDtoEnvelope OK
241
+ * @throws ApiError
242
+ */
243
+ public static getApiV2InvoicingServiceInvoicesLines1(
244
+ tenantId: string,
245
+ invoiceId: string,
246
+ invoiceLineId: string,
247
+ ): CancelablePromise<InvoiceLineDtoEnvelope> {
248
+ return __request(OpenAPI, {
249
+ method: 'GET',
250
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
251
+ path: {
252
+ 'invoiceId': invoiceId,
253
+ 'invoiceLineId': invoiceLineId,
254
+ },
255
+ query: {
256
+ 'tenantId': tenantId,
257
+ },
258
+ errors: {
259
+ 404: `Not Found`,
260
+ },
261
+ });
262
+ }
263
+ /**
264
+ * @param tenantId
265
+ * @param invoiceId
266
+ * @param invoiceLineId
267
+ * @param requestBody
268
+ * @returns EmptyEnvelope OK
269
+ * @throws ApiError
270
+ */
271
+ public static putApiV2InvoicingServiceInvoicesLines(
272
+ tenantId: string,
273
+ invoiceId: string,
274
+ invoiceLineId: string,
275
+ requestBody?: ItemPriceUpdateDto,
276
+ ): CancelablePromise<EmptyEnvelope> {
277
+ return __request(OpenAPI, {
278
+ method: 'PUT',
279
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
280
+ path: {
281
+ 'invoiceId': invoiceId,
282
+ 'invoiceLineId': invoiceLineId,
283
+ },
284
+ query: {
285
+ 'tenantId': tenantId,
286
+ },
287
+ body: requestBody,
288
+ mediaType: 'application/json',
289
+ errors: {
290
+ 404: `Not Found`,
291
+ },
292
+ });
293
+ }
294
+ /**
295
+ * @param tenantId
296
+ * @param invoiceId
297
+ * @param invoiceLineId
298
+ * @param requestBody
299
+ * @returns EmptyEnvelope OK
300
+ * @throws ApiError
301
+ */
302
+ public static deleteApiV2InvoicingServiceInvoicesLines(
303
+ tenantId: string,
304
+ invoiceId: string,
305
+ invoiceLineId: string,
306
+ requestBody?: ItemPriceUpdateDto,
307
+ ): CancelablePromise<EmptyEnvelope> {
308
+ return __request(OpenAPI, {
309
+ method: 'DELETE',
310
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}',
311
+ path: {
312
+ 'invoiceId': invoiceId,
313
+ 'invoiceLineId': invoiceLineId,
314
+ },
315
+ query: {
316
+ 'tenantId': tenantId,
317
+ },
318
+ body: requestBody,
319
+ mediaType: 'application/json',
320
+ errors: {
321
+ 404: `Not Found`,
322
+ },
323
+ });
324
+ }
325
+ /**
326
+ * @param invoiceId
327
+ * @returns InvoiceDtoListEnvelope OK
328
+ * @throws ApiError
329
+ */
330
+ public static getApiV2InvoicingServiceInvoicesPayments(
331
+ invoiceId: string,
332
+ ): CancelablePromise<InvoiceDtoListEnvelope> {
333
+ return __request(OpenAPI, {
334
+ method: 'GET',
335
+ url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Payments',
336
+ path: {
337
+ 'invoiceId': invoiceId,
338
+ },
339
+ errors: {
340
+ 401: `Unauthorized`,
341
+ 403: `Forbidden`,
342
+ },
343
+ });
344
+ }
345
+ /**
346
+ * @param requestBody
347
+ * @param currencyId
348
+ * @returns MoneyEnvelope OK
349
+ * @throws ApiError
350
+ */
351
+ public static postApiV2InvoicingServiceInvoicesTotalsAggregate(
352
+ requestBody: Array<string>,
353
+ currencyId?: string,
354
+ ): CancelablePromise<MoneyEnvelope> {
355
+ return __request(OpenAPI, {
356
+ method: 'POST',
357
+ url: '/api/v2/InvoicingService/Invoices/TotalsAggregate',
358
+ query: {
359
+ 'currencyId': currencyId,
360
+ },
361
+ body: requestBody,
362
+ mediaType: 'application/json',
363
+ errors: {
364
+ 401: `Unauthorized`,
365
+ 403: `Forbidden`,
366
+ },
367
+ });
368
+ }
369
+ /**
370
+ * @param requestBody
371
+ * @param currencyId
372
+ * @returns MoneyEnvelope OK
373
+ * @throws ApiError
374
+ */
375
+ public static postApiV2InvoicingServiceInvoicesTaxesAggregate(
376
+ requestBody: Array<string>,
377
+ currencyId?: string,
378
+ ): CancelablePromise<MoneyEnvelope> {
379
+ return __request(OpenAPI, {
380
+ method: 'POST',
381
+ url: '/api/v2/InvoicingService/Invoices/TaxesAggregate',
382
+ query: {
383
+ 'currencyId': currencyId,
384
+ },
385
+ body: requestBody,
386
+ mediaType: 'application/json',
387
+ errors: {
388
+ 401: `Unauthorized`,
389
+ 403: `Forbidden`,
390
+ },
391
+ });
392
+ }
393
+ /**
394
+ * @param requestBody
395
+ * @param currencyId
396
+ * @returns MoneyEnvelope OK
397
+ * @throws ApiError
398
+ */
399
+ public static postApiV2InvoicingServiceInvoicesDiscountsAggregate(
400
+ requestBody: Array<string>,
401
+ currencyId?: string,
402
+ ): CancelablePromise<MoneyEnvelope> {
403
+ return __request(OpenAPI, {
404
+ method: 'POST',
405
+ url: '/api/v2/InvoicingService/Invoices/DiscountsAggregate',
406
+ query: {
407
+ 'currencyId': currencyId,
408
+ },
409
+ body: requestBody,
410
+ mediaType: 'application/json',
411
+ errors: {
412
+ 401: `Unauthorized`,
413
+ 403: `Forbidden`,
414
+ },
415
+ });
416
+ }
417
+ /**
418
+ * @param requestBody
419
+ * @param currencyId
420
+ * @returns MoneyEnvelope OK
421
+ * @throws ApiError
422
+ */
423
+ public static postApiV2InvoicingServiceInvoicesTaxBasesAggregate(
424
+ requestBody: Array<string>,
425
+ currencyId?: string,
426
+ ): CancelablePromise<MoneyEnvelope> {
427
+ return __request(OpenAPI, {
428
+ method: 'POST',
429
+ url: '/api/v2/InvoicingService/Invoices/TaxBasesAggregate',
430
+ query: {
431
+ 'currencyId': currencyId,
432
+ },
433
+ body: requestBody,
434
+ mediaType: 'application/json',
435
+ errors: {
436
+ 401: `Unauthorized`,
437
+ 403: `Forbidden`,
438
+ },
439
+ });
440
+ }
441
+ /**
442
+ * @param requestBody
443
+ * @param currencyId
444
+ * @returns MoneyEnvelope OK
445
+ * @throws ApiError
446
+ */
447
+ public static postApiV2InvoicingServiceInvoicesGlobalSurchargesAggregate(
448
+ requestBody: Array<string>,
449
+ currencyId?: string,
450
+ ): CancelablePromise<MoneyEnvelope> {
451
+ return __request(OpenAPI, {
452
+ method: 'POST',
453
+ url: '/api/v2/InvoicingService/Invoices/GlobalSurchargesAggregate',
454
+ query: {
455
+ 'currencyId': currencyId,
456
+ },
457
+ body: requestBody,
458
+ mediaType: 'application/json',
459
+ errors: {
460
+ 401: `Unauthorized`,
461
+ 403: `Forbidden`,
462
+ },
463
+ });
464
+ }
465
+ }