@fenixalliance/abs-api-client 1.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 (447) hide show
  1. package/Icon.png +0 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.md +36 -0
  4. package/README.md +300 -0
  5. package/THIRD_PARTY_NOTICES.md +129 -0
  6. package/clients/cartService/core/ApiError.ts +25 -0
  7. package/clients/cartService/core/ApiRequestOptions.ts +17 -0
  8. package/clients/cartService/core/ApiResult.ts +11 -0
  9. package/clients/cartService/core/CancelablePromise.ts +131 -0
  10. package/clients/cartService/core/OpenAPI.ts +32 -0
  11. package/clients/cartService/core/request.ts +322 -0
  12. package/clients/cartService/index.ts +52 -0
  13. package/clients/cartService/models/AccessTokenResponse.ts +11 -0
  14. package/clients/cartService/models/AddProductToCompareRequest.ts +10 -0
  15. package/clients/cartService/models/BooleanEnvelope.ts +13 -0
  16. package/clients/cartService/models/CartDto.ts +17 -0
  17. package/clients/cartService/models/CartDtoEnvelope.ts +14 -0
  18. package/clients/cartService/models/CurrencySwitchRequest.ts +9 -0
  19. package/clients/cartService/models/Envelope.ts +13 -0
  20. package/clients/cartService/models/Error.ts +10 -0
  21. package/clients/cartService/models/ErrorEnvelope.ts +12 -0
  22. package/clients/cartService/models/ForgotPasswordRequest.ts +8 -0
  23. package/clients/cartService/models/HttpValidationProblemDetails.ts +5 -0
  24. package/clients/cartService/models/InfoRequest.ts +10 -0
  25. package/clients/cartService/models/InfoResponse.ts +9 -0
  26. package/clients/cartService/models/ItemCartRecordCreateDto.ts +11 -0
  27. package/clients/cartService/models/ItemCartRecordDto.ts +98 -0
  28. package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +14 -0
  29. package/clients/cartService/models/ItemCartRecordUpdateDto.ts +10 -0
  30. package/clients/cartService/models/ItemToCompareCartRecordDto.ts +11 -0
  31. package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +14 -0
  32. package/clients/cartService/models/ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts +14 -0
  33. package/clients/cartService/models/LoginRequest.ts +11 -0
  34. package/clients/cartService/models/NewWishListRequest.ts +11 -0
  35. package/clients/cartService/models/ProductCartRecordDto.ts +98 -0
  36. package/clients/cartService/models/ProductToWishListRequest.ts +9 -0
  37. package/clients/cartService/models/RefreshRequest.ts +8 -0
  38. package/clients/cartService/models/RegisterRequest.ts +9 -0
  39. package/clients/cartService/models/ResendConfirmationEmailRequest.ts +8 -0
  40. package/clients/cartService/models/ResetPasswordRequest.ts +10 -0
  41. package/clients/cartService/models/ResponseStatus.ts +12 -0
  42. package/clients/cartService/models/TwoFactorRequest.ts +12 -0
  43. package/clients/cartService/models/TwoFactorResponse.ts +12 -0
  44. package/clients/cartService/models/WishListDto.ts +12 -0
  45. package/clients/cartService/models/WishListDtoEnvelope.ts +14 -0
  46. package/clients/cartService/models/WishListDtoIReadOnlyListEnvelope.ts +14 -0
  47. package/clients/cartService/models/WishListItemRecordDto.ts +11 -0
  48. package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +14 -0
  49. package/clients/cartService/models/WishListUpdateDto.ts +10 -0
  50. package/clients/cartService/services/CartsService.ts +103 -0
  51. package/clients/cartService/services/CompareService.ts +89 -0
  52. package/clients/cartService/services/FenixAllianceAbsWebService.ts +293 -0
  53. package/clients/cartService/services/RecordsService.ts +206 -0
  54. package/clients/cartService/services/WishListsService.ts +145 -0
  55. package/clients/catalogService/core/ApiError.ts +25 -0
  56. package/clients/catalogService/core/ApiRequestOptions.ts +17 -0
  57. package/clients/catalogService/core/ApiResult.ts +11 -0
  58. package/clients/catalogService/core/CancelablePromise.ts +131 -0
  59. package/clients/catalogService/core/OpenAPI.ts +32 -0
  60. package/clients/catalogService/core/request.ts +322 -0
  61. package/clients/catalogService/index.ts +124 -0
  62. package/clients/catalogService/models/AccessTokenResponse.ts +11 -0
  63. package/clients/catalogService/models/ErrorEnvelope.ts +12 -0
  64. package/clients/catalogService/models/ForgotPasswordRequest.ts +8 -0
  65. package/clients/catalogService/models/HttpValidationProblemDetails.ts +5 -0
  66. package/clients/catalogService/models/InfoRequest.ts +10 -0
  67. package/clients/catalogService/models/InfoResponse.ts +9 -0
  68. package/clients/catalogService/models/ItemAttachmentCreateDto.ts +23 -0
  69. package/clients/catalogService/models/ItemAttachmentDto.ts +28 -0
  70. package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +14 -0
  71. package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  72. package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +14 -0
  73. package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +19 -0
  74. package/clients/catalogService/models/ItemAttributeCreateDto.ts +11 -0
  75. package/clients/catalogService/models/ItemAttributeDto.ts +12 -0
  76. package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +14 -0
  77. package/clients/catalogService/models/ItemAttributeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  78. package/clients/catalogService/models/ItemAttributeOptionDto.ts +12 -0
  79. package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +14 -0
  80. package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +14 -0
  81. package/clients/catalogService/models/ItemAttributeUpdateDto.ts +9 -0
  82. package/clients/catalogService/models/ItemBrandCreateDto.ts +16 -0
  83. package/clients/catalogService/models/ItemBrandDto.ts +17 -0
  84. package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +14 -0
  85. package/clients/catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts +14 -0
  86. package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +14 -0
  87. package/clients/catalogService/models/ItemBrandUpdateDto.ts +13 -0
  88. package/clients/catalogService/models/ItemCategoryCreateDto.ts +14 -0
  89. package/clients/catalogService/models/ItemCategoryDto.ts +21 -0
  90. package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +14 -0
  91. package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +14 -0
  92. package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +14 -0
  93. package/clients/catalogService/models/ItemCategoryUpdateDto.ts +16 -0
  94. package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -0
  95. package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +14 -0
  96. package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +14 -0
  97. package/clients/catalogService/models/ItemImageDto.ts +29 -0
  98. package/clients/catalogService/models/ItemImageDtoEnvelope.ts +14 -0
  99. package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +14 -0
  100. package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +14 -0
  101. package/clients/catalogService/models/ItemImagesCreateDto.ts +28 -0
  102. package/clients/catalogService/models/ItemImagesUpdateDto.ts +25 -0
  103. package/clients/catalogService/models/ItemPricePolicyDto.ts +35 -0
  104. package/clients/catalogService/models/ItemPricePolicyDtoEnvelope.ts +14 -0
  105. package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +14 -0
  106. package/clients/catalogService/models/ItemQuestionCreateDto.ts +14 -0
  107. package/clients/catalogService/models/ItemQuestionDto.ts +15 -0
  108. package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +14 -0
  109. package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +14 -0
  110. package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +14 -0
  111. package/clients/catalogService/models/ItemQuestionUpdateDto.ts +12 -0
  112. package/clients/catalogService/models/ItemRefundPolicyDto.ts +34 -0
  113. package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +14 -0
  114. package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +14 -0
  115. package/clients/catalogService/models/ItemReturnPolicyDto.ts +34 -0
  116. package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +14 -0
  117. package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +14 -0
  118. package/clients/catalogService/models/ItemReviewCreateDto.ts +12 -0
  119. package/clients/catalogService/models/ItemReviewDto.ts +13 -0
  120. package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +14 -0
  121. package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +14 -0
  122. package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +14 -0
  123. package/clients/catalogService/models/ItemReviewUpdateDto.ts +9 -0
  124. package/clients/catalogService/models/ItemShippingPolicyDto.ts +35 -0
  125. package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +14 -0
  126. package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +14 -0
  127. package/clients/catalogService/models/ItemTagCreateDto.ts +11 -0
  128. package/clients/catalogService/models/ItemTagDto.ts +12 -0
  129. package/clients/catalogService/models/ItemTagDtoEnvelope.ts +14 -0
  130. package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +14 -0
  131. package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +14 -0
  132. package/clients/catalogService/models/ItemTagUpdateDto.ts +9 -0
  133. package/clients/catalogService/models/ItemTaxPolicyDto.ts +37 -0
  134. package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +14 -0
  135. package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +14 -0
  136. package/clients/catalogService/models/ItemTypeCreateDto.ts +16 -0
  137. package/clients/catalogService/models/ItemTypeDto.ts +17 -0
  138. package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +14 -0
  139. package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  140. package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +14 -0
  141. package/clients/catalogService/models/ItemTypeUpdateDto.ts +12 -0
  142. package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +34 -0
  143. package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +14 -0
  144. package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +14 -0
  145. package/clients/catalogService/models/LoginRequest.ts +11 -0
  146. package/clients/catalogService/models/PricingRuleCreateDto.ts +32 -0
  147. package/clients/catalogService/models/PricingRuleDto.ts +32 -0
  148. package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +14 -0
  149. package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +14 -0
  150. package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +14 -0
  151. package/clients/catalogService/models/PricingRuleUpdateDto.ts +27 -0
  152. package/clients/catalogService/models/RefreshRequest.ts +8 -0
  153. package/clients/catalogService/models/RegisterRequest.ts +9 -0
  154. package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +8 -0
  155. package/clients/catalogService/models/ResetPasswordRequest.ts +10 -0
  156. package/clients/catalogService/models/StockItemCreateDto.ts +11 -0
  157. package/clients/catalogService/models/StockItemDto.ts +17 -0
  158. package/clients/catalogService/models/StockItemDtoEnvelope.ts +14 -0
  159. package/clients/catalogService/models/StockItemDtoListEnvelope.ts +14 -0
  160. package/clients/catalogService/models/StockItemUpdateDto.ts +9 -0
  161. package/clients/catalogService/models/TwoFactorRequest.ts +12 -0
  162. package/clients/catalogService/models/TwoFactorResponse.ts +12 -0
  163. package/clients/catalogService/services/FenixAllianceAbsWebService.ts +293 -0
  164. package/clients/catalogService/services/ItemAttachmentsService.ts +127 -0
  165. package/clients/catalogService/services/ItemAttributesService.ts +127 -0
  166. package/clients/catalogService/services/ItemBrandsService.ts +127 -0
  167. package/clients/catalogService/services/ItemCategoriesService.ts +127 -0
  168. package/clients/catalogService/services/ItemImagesService.ts +127 -0
  169. package/clients/catalogService/services/ItemQuestionsService.ts +127 -0
  170. package/clients/catalogService/services/ItemReviewsService.ts +127 -0
  171. package/clients/catalogService/services/ItemTagsService.ts +132 -0
  172. package/clients/catalogService/services/ItemTypesService.ts +127 -0
  173. package/clients/catalogService/services/PoliciesService.ts +117 -0
  174. package/clients/catalogService/services/PricingRulesService.ts +127 -0
  175. package/clients/catalogService/services/ProductsService.ts +1743 -0
  176. package/clients/contactService/core/ApiError.ts +25 -0
  177. package/clients/contactService/core/ApiRequestOptions.ts +17 -0
  178. package/clients/contactService/core/ApiResult.ts +11 -0
  179. package/clients/contactService/core/CancelablePromise.ts +131 -0
  180. package/clients/contactService/core/OpenAPI.ts +32 -0
  181. package/clients/contactService/core/request.ts +322 -0
  182. package/clients/contactService/index.ts +28 -0
  183. package/clients/contactService/models/AccessTokenResponse.ts +11 -0
  184. package/clients/contactService/models/ContactDto.ts +44 -0
  185. package/clients/contactService/models/ContactDtoEnvelope.ts +14 -0
  186. package/clients/contactService/models/ContactDtoListEnvelope.ts +14 -0
  187. package/clients/contactService/models/ErrorEnvelope.ts +12 -0
  188. package/clients/contactService/models/ForgotPasswordRequest.ts +8 -0
  189. package/clients/contactService/models/HttpValidationProblemDetails.ts +5 -0
  190. package/clients/contactService/models/InfoRequest.ts +10 -0
  191. package/clients/contactService/models/InfoResponse.ts +9 -0
  192. package/clients/contactService/models/LoginRequest.ts +11 -0
  193. package/clients/contactService/models/RefreshRequest.ts +8 -0
  194. package/clients/contactService/models/RegisterRequest.ts +9 -0
  195. package/clients/contactService/models/ResendConfirmationEmailRequest.ts +8 -0
  196. package/clients/contactService/models/ResetPasswordRequest.ts +10 -0
  197. package/clients/contactService/models/TwoFactorRequest.ts +12 -0
  198. package/clients/contactService/models/TwoFactorResponse.ts +12 -0
  199. package/clients/contactService/services/ContactsService.ts +140 -0
  200. package/clients/contactService/services/FenixAllianceAbsWebService.ts +293 -0
  201. package/clients/forexService/core/ApiError.ts +25 -0
  202. package/clients/forexService/core/ApiRequestOptions.ts +17 -0
  203. package/clients/forexService/core/ApiResult.ts +11 -0
  204. package/clients/forexService/core/CancelablePromise.ts +131 -0
  205. package/clients/forexService/core/OpenAPI.ts +32 -0
  206. package/clients/forexService/core/request.ts +322 -0
  207. package/clients/forexService/index.ts +30 -0
  208. package/clients/forexService/models/AccessTokenResponse.ts +11 -0
  209. package/clients/forexService/models/Currency.ts +9 -0
  210. package/clients/forexService/models/ForexRatesDto.ts +13 -0
  211. package/clients/forexService/models/ForexRatesDtoEnvelope.ts +14 -0
  212. package/clients/forexService/models/ForgotPasswordRequest.ts +8 -0
  213. package/clients/forexService/models/HttpValidationProblemDetails.ts +5 -0
  214. package/clients/forexService/models/InfoRequest.ts +10 -0
  215. package/clients/forexService/models/InfoResponse.ts +9 -0
  216. package/clients/forexService/models/LoginRequest.ts +11 -0
  217. package/clients/forexService/models/Money.ts +10 -0
  218. package/clients/forexService/models/MoneyEnvelope.ts +14 -0
  219. package/clients/forexService/models/RefreshRequest.ts +8 -0
  220. package/clients/forexService/models/RegisterRequest.ts +9 -0
  221. package/clients/forexService/models/ResendConfirmationEmailRequest.ts +8 -0
  222. package/clients/forexService/models/ResetPasswordRequest.ts +10 -0
  223. package/clients/forexService/models/TwoFactorRequest.ts +12 -0
  224. package/clients/forexService/models/TwoFactorResponse.ts +12 -0
  225. package/clients/forexService/services/ExchangeService.ts +57 -0
  226. package/clients/forexService/services/FenixAllianceAbsWebService.ts +293 -0
  227. package/clients/forexService/services/RatesService.ts +36 -0
  228. package/clients/holderService/core/ApiError.ts +25 -0
  229. package/clients/holderService/core/ApiRequestOptions.ts +17 -0
  230. package/clients/holderService/core/ApiResult.ts +11 -0
  231. package/clients/holderService/core/CancelablePromise.ts +131 -0
  232. package/clients/holderService/core/OpenAPI.ts +32 -0
  233. package/clients/holderService/core/request.ts +322 -0
  234. package/clients/holderService/index.ts +31 -0
  235. package/clients/holderService/models/AccessTokenResponse.ts +11 -0
  236. package/clients/holderService/models/AccountHolderCreateDto.ts +34 -0
  237. package/clients/holderService/models/AccountHolderDto.ts +73 -0
  238. package/clients/holderService/models/AccountHolderDtoEnvelope.ts +14 -0
  239. package/clients/holderService/models/BusinessDto.ts +53 -0
  240. package/clients/holderService/models/BusinessEnrollmentDto.ts +19 -0
  241. package/clients/holderService/models/ErrorEnvelope.ts +12 -0
  242. package/clients/holderService/models/FollowRecordDto.ts +12 -0
  243. package/clients/holderService/models/ForgotPasswordRequest.ts +8 -0
  244. package/clients/holderService/models/HttpValidationProblemDetails.ts +5 -0
  245. package/clients/holderService/models/InfoRequest.ts +10 -0
  246. package/clients/holderService/models/InfoResponse.ts +9 -0
  247. package/clients/holderService/models/LoginRequest.ts +11 -0
  248. package/clients/holderService/models/RefreshRequest.ts +8 -0
  249. package/clients/holderService/models/RegisterRequest.ts +9 -0
  250. package/clients/holderService/models/ResendConfirmationEmailRequest.ts +8 -0
  251. package/clients/holderService/models/ResetPasswordRequest.ts +10 -0
  252. package/clients/holderService/models/TwoFactorRequest.ts +12 -0
  253. package/clients/holderService/models/TwoFactorResponse.ts +12 -0
  254. package/clients/holderService/services/FenixAllianceAbsWebService.ts +293 -0
  255. package/clients/holderService/services/HolderService.ts +165 -0
  256. package/clients/identityService/core/ApiError.ts +25 -0
  257. package/clients/identityService/core/ApiRequestOptions.ts +17 -0
  258. package/clients/identityService/core/ApiResult.ts +11 -0
  259. package/clients/identityService/core/CancelablePromise.ts +131 -0
  260. package/clients/identityService/core/OpenAPI.ts +32 -0
  261. package/clients/identityService/core/request.ts +322 -0
  262. package/clients/identityService/index.ts +53 -0
  263. package/clients/identityService/models/AccessTokenResponse.ts +11 -0
  264. package/clients/identityService/models/AccountHolderCreateDto.ts +34 -0
  265. package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
  266. package/clients/identityService/models/AccountHolderDto.ts +73 -0
  267. package/clients/identityService/models/Actor.ts +12 -0
  268. package/clients/identityService/models/ApiResponse.ts +22 -0
  269. package/clients/identityService/models/ApiResponseEnvelope.ts +14 -0
  270. package/clients/identityService/models/BusinessDto.ts +53 -0
  271. package/clients/identityService/models/ClientApplication.ts +16 -0
  272. package/clients/identityService/models/Error.ts +10 -0
  273. package/clients/identityService/models/ErrorEnvelope.ts +12 -0
  274. package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
  275. package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
  276. package/clients/identityService/models/IPLookupDto.ts +10 -0
  277. package/clients/identityService/models/InfoRequest.ts +10 -0
  278. package/clients/identityService/models/InfoResponse.ts +9 -0
  279. package/clients/identityService/models/JsonWebKey.ts +13 -0
  280. package/clients/identityService/models/JsonWebKeySet.ts +9 -0
  281. package/clients/identityService/models/JsonWebKeySetEnvelope.ts +14 -0
  282. package/clients/identityService/models/JsonWebToken.ts +15 -0
  283. package/clients/identityService/models/JsonWebTokenEnvelope.ts +14 -0
  284. package/clients/identityService/models/JsonWebTokenHeader.ts +11 -0
  285. package/clients/identityService/models/JsonWebTokenPayload.ts +17 -0
  286. package/clients/identityService/models/LoginRequest.ts +11 -0
  287. package/clients/identityService/models/OAuthTokenRequest.ts +12 -0
  288. package/clients/identityService/models/OpenIdConfiguration.ts +19 -0
  289. package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +14 -0
  290. package/clients/identityService/models/RefreshRequest.ts +8 -0
  291. package/clients/identityService/models/RegisterRequest.ts +9 -0
  292. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
  293. package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
  294. package/clients/identityService/models/ResponsePagination.ts +13 -0
  295. package/clients/identityService/models/ResponseStatus.ts +12 -0
  296. package/clients/identityService/models/SigninModel.ts +9 -0
  297. package/clients/identityService/models/StringListEnvelope.ts +13 -0
  298. package/clients/identityService/models/TwoFactorRequest.ts +12 -0
  299. package/clients/identityService/models/TwoFactorResponse.ts +12 -0
  300. package/clients/identityService/services/ApplicationsService.ts +107 -0
  301. package/clients/identityService/services/CheckerService.ts +19 -0
  302. package/clients/identityService/services/FenixAllianceAbsWebService.ts +293 -0
  303. package/clients/identityService/services/OAuthService.ts +147 -0
  304. package/clients/identityService/services/ResourceService.ts +19 -0
  305. package/clients/identityService/services/UserInfoService.ts +29 -0
  306. package/clients/inventoryService/core/ApiError.ts +25 -0
  307. package/clients/inventoryService/core/ApiRequestOptions.ts +17 -0
  308. package/clients/inventoryService/core/ApiResult.ts +11 -0
  309. package/clients/inventoryService/core/CancelablePromise.ts +131 -0
  310. package/clients/inventoryService/core/OpenAPI.ts +32 -0
  311. package/clients/inventoryService/core/request.ts +322 -0
  312. package/clients/inventoryService/index.ts +24 -0
  313. package/clients/inventoryService/models/AccessTokenResponse.ts +11 -0
  314. package/clients/inventoryService/models/ForgotPasswordRequest.ts +8 -0
  315. package/clients/inventoryService/models/HttpValidationProblemDetails.ts +5 -0
  316. package/clients/inventoryService/models/InfoRequest.ts +10 -0
  317. package/clients/inventoryService/models/InfoResponse.ts +9 -0
  318. package/clients/inventoryService/models/LoginRequest.ts +11 -0
  319. package/clients/inventoryService/models/RefreshRequest.ts +8 -0
  320. package/clients/inventoryService/models/RegisterRequest.ts +9 -0
  321. package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +8 -0
  322. package/clients/inventoryService/models/ResetPasswordRequest.ts +10 -0
  323. package/clients/inventoryService/models/TwoFactorRequest.ts +12 -0
  324. package/clients/inventoryService/models/TwoFactorResponse.ts +12 -0
  325. package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +293 -0
  326. package/clients/inventoryService/services/InventoryService.ts +25 -0
  327. package/clients/invoicingService/core/ApiError.ts +25 -0
  328. package/clients/invoicingService/core/ApiRequestOptions.ts +17 -0
  329. package/clients/invoicingService/core/ApiResult.ts +11 -0
  330. package/clients/invoicingService/core/CancelablePromise.ts +131 -0
  331. package/clients/invoicingService/core/OpenAPI.ts +32 -0
  332. package/clients/invoicingService/core/request.ts +322 -0
  333. package/clients/invoicingService/index.ts +28 -0
  334. package/clients/invoicingService/models/AccessTokenResponse.ts +11 -0
  335. package/clients/invoicingService/models/ErrorEnvelope.ts +12 -0
  336. package/clients/invoicingService/models/ForgotPasswordRequest.ts +8 -0
  337. package/clients/invoicingService/models/HttpValidationProblemDetails.ts +5 -0
  338. package/clients/invoicingService/models/InfoRequest.ts +10 -0
  339. package/clients/invoicingService/models/InfoResponse.ts +9 -0
  340. package/clients/invoicingService/models/InvoiceDto.ts +13 -0
  341. package/clients/invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts +14 -0
  342. package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +14 -0
  343. package/clients/invoicingService/models/LoginRequest.ts +11 -0
  344. package/clients/invoicingService/models/RefreshRequest.ts +8 -0
  345. package/clients/invoicingService/models/RegisterRequest.ts +9 -0
  346. package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +8 -0
  347. package/clients/invoicingService/models/ResetPasswordRequest.ts +10 -0
  348. package/clients/invoicingService/models/TwoFactorRequest.ts +12 -0
  349. package/clients/invoicingService/models/TwoFactorResponse.ts +12 -0
  350. package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +293 -0
  351. package/clients/invoicingService/services/InvoicesService.ts +63 -0
  352. package/clients/pricingService/core/ApiError.ts +25 -0
  353. package/clients/pricingService/core/ApiRequestOptions.ts +17 -0
  354. package/clients/pricingService/core/ApiResult.ts +11 -0
  355. package/clients/pricingService/core/CancelablePromise.ts +131 -0
  356. package/clients/pricingService/core/OpenAPI.ts +32 -0
  357. package/clients/pricingService/core/request.ts +322 -0
  358. package/clients/pricingService/index.ts +29 -0
  359. package/clients/pricingService/models/AccessTokenResponse.ts +11 -0
  360. package/clients/pricingService/models/Currency.ts +9 -0
  361. package/clients/pricingService/models/ErrorEnvelope.ts +12 -0
  362. package/clients/pricingService/models/ForgotPasswordRequest.ts +8 -0
  363. package/clients/pricingService/models/HttpValidationProblemDetails.ts +5 -0
  364. package/clients/pricingService/models/InfoRequest.ts +10 -0
  365. package/clients/pricingService/models/InfoResponse.ts +9 -0
  366. package/clients/pricingService/models/LoginRequest.ts +11 -0
  367. package/clients/pricingService/models/Money.ts +10 -0
  368. package/clients/pricingService/models/MoneyEnvelope.ts +14 -0
  369. package/clients/pricingService/models/RefreshRequest.ts +8 -0
  370. package/clients/pricingService/models/RegisterRequest.ts +9 -0
  371. package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +8 -0
  372. package/clients/pricingService/models/ResetPasswordRequest.ts +10 -0
  373. package/clients/pricingService/models/TwoFactorRequest.ts +12 -0
  374. package/clients/pricingService/models/TwoFactorResponse.ts +12 -0
  375. package/clients/pricingService/services/FenixAllianceAbsWebService.ts +293 -0
  376. package/clients/pricingService/services/PriceListsService.ts +34 -0
  377. package/clients/pricingService/services/PricesService.ts +82 -0
  378. package/clients/tenantService/core/ApiError.ts +25 -0
  379. package/clients/tenantService/core/ApiRequestOptions.ts +17 -0
  380. package/clients/tenantService/core/ApiResult.ts +11 -0
  381. package/clients/tenantService/core/CancelablePromise.ts +131 -0
  382. package/clients/tenantService/core/OpenAPI.ts +32 -0
  383. package/clients/tenantService/core/request.ts +322 -0
  384. package/clients/tenantService/index.ts +62 -0
  385. package/clients/tenantService/models/AccessTokenResponse.ts +11 -0
  386. package/clients/tenantService/models/AccountHolderCreateDto.ts +34 -0
  387. package/clients/tenantService/models/AggregateException.ts +18 -0
  388. package/clients/tenantService/models/Assembly.ts +46 -0
  389. package/clients/tenantService/models/BusinessCreateDto.ts +24 -0
  390. package/clients/tenantService/models/BusinessDto.ts +53 -0
  391. package/clients/tenantService/models/BusinessEnrollmentDto.ts +19 -0
  392. package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +14 -0
  393. package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +14 -0
  394. package/clients/tenantService/models/ConstructorInfo.ts +103 -0
  395. package/clients/tenantService/models/CustomAttributeData.ts +15 -0
  396. package/clients/tenantService/models/CustomAttributeNamedArgument.ts +13 -0
  397. package/clients/tenantService/models/CustomAttributeTypedArgument.ts +10 -0
  398. package/clients/tenantService/models/Error.ts +10 -0
  399. package/clients/tenantService/models/EventInfo.ts +44 -0
  400. package/clients/tenantService/models/Exception.ts +16 -0
  401. package/clients/tenantService/models/FieldInfo.ts +74 -0
  402. package/clients/tenantService/models/ForgotPasswordRequest.ts +8 -0
  403. package/clients/tenantService/models/HttpValidationProblemDetails.ts +5 -0
  404. package/clients/tenantService/models/ICustomAttributeProvider.ts +5 -0
  405. package/clients/tenantService/models/InfoRequest.ts +10 -0
  406. package/clients/tenantService/models/InfoResponse.ts +9 -0
  407. package/clients/tenantService/models/IntPtr.ts +5 -0
  408. package/clients/tenantService/models/LoginRequest.ts +11 -0
  409. package/clients/tenantService/models/MemberInfo.ts +31 -0
  410. package/clients/tenantService/models/MethodBase.ts +103 -0
  411. package/clients/tenantService/models/MethodInfo.ts +108 -0
  412. package/clients/tenantService/models/Module.ts +19 -0
  413. package/clients/tenantService/models/ModuleHandle.ts +8 -0
  414. package/clients/tenantService/models/NotificationDto.ts +16 -0
  415. package/clients/tenantService/models/NotificationDtoListEnvelope.ts +14 -0
  416. package/clients/tenantService/models/ParameterInfo.ts +40 -0
  417. package/clients/tenantService/models/PropertyInfo.ts +49 -0
  418. package/clients/tenantService/models/RefreshRequest.ts +8 -0
  419. package/clients/tenantService/models/RegisterRequest.ts +9 -0
  420. package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +8 -0
  421. package/clients/tenantService/models/ResetPasswordRequest.ts +10 -0
  422. package/clients/tenantService/models/ResponseStatus.ts +12 -0
  423. package/clients/tenantService/models/RuntimeFieldHandle.ts +9 -0
  424. package/clients/tenantService/models/RuntimeMethodHandle.ts +9 -0
  425. package/clients/tenantService/models/RuntimeTypeHandle.ts +9 -0
  426. package/clients/tenantService/models/StringListEnvelope.ts +13 -0
  427. package/clients/tenantService/models/StructLayoutAttribute.ts +16 -0
  428. package/clients/tenantService/models/TwoFactorRequest.ts +12 -0
  429. package/clients/tenantService/models/TwoFactorResponse.ts +12 -0
  430. package/clients/tenantService/models/Type.ts +141 -0
  431. package/clients/tenantService/models/TypeInfo.ts +156 -0
  432. package/clients/tenantService/models/WalletDto.ts +21 -0
  433. package/clients/tenantService/models/WalletDtoTask.ts +40 -0
  434. package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +14 -0
  435. package/clients/tenantService/services/FenixAllianceAbsWebService.ts +293 -0
  436. package/clients/tenantService/services/TenantsService.ts +354 -0
  437. package/package.json +38 -0
  438. package/schemas/cartService/schema.s.ts +1560 -0
  439. package/schemas/catalogService/schema.s.ts +6109 -0
  440. package/schemas/contactService/schema.s.ts +674 -0
  441. package/schemas/forexService/schema.s.ts +526 -0
  442. package/schemas/holderService/schema.s.ts +831 -0
  443. package/schemas/identityService/schema.s.ts +1119 -0
  444. package/schemas/inventoryService/schema.s.ts +425 -0
  445. package/schemas/invoicingService/schema.s.ts +521 -0
  446. package/schemas/pricingService/schema.s.ts +549 -0
  447. package/schemas/tenantService/schema.s.ts +1606 -0
@@ -0,0 +1,1743 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ItemAttachmentDtoEnvelope } from '../models/ItemAttachmentDtoEnvelope';
6
+ import type { ItemAttachmentDtoListEnvelope } from '../models/ItemAttachmentDtoListEnvelope';
7
+ import type { ItemAttributeOptionDtoEnvelope } from '../models/ItemAttributeOptionDtoEnvelope';
8
+ import type { ItemAttributeOptionDtoListEnvelope } from '../models/ItemAttributeOptionDtoListEnvelope';
9
+ import type { ItemBrandDtoEnvelope } from '../models/ItemBrandDtoEnvelope';
10
+ import type { ItemBrandDtoListEnvelope } from '../models/ItemBrandDtoListEnvelope';
11
+ import type { ItemCategoryDtoEnvelope } from '../models/ItemCategoryDtoEnvelope';
12
+ import type { ItemCategoryDtoListEnvelope } from '../models/ItemCategoryDtoListEnvelope';
13
+ import type { ItemGoogleCategoryDtoEnvelope } from '../models/ItemGoogleCategoryDtoEnvelope';
14
+ import type { ItemGoogleCategoryDtoListEnvelope } from '../models/ItemGoogleCategoryDtoListEnvelope';
15
+ import type { ItemImageDtoEnvelope } from '../models/ItemImageDtoEnvelope';
16
+ import type { ItemImageDtoListEnvelope } from '../models/ItemImageDtoListEnvelope';
17
+ import type { ItemPricePolicyDtoEnvelope } from '../models/ItemPricePolicyDtoEnvelope';
18
+ import type { ItemPricePolicyDtoListEnvelope } from '../models/ItemPricePolicyDtoListEnvelope';
19
+ import type { ItemQuestionDtoEnvelope } from '../models/ItemQuestionDtoEnvelope';
20
+ import type { ItemQuestionDtoListEnvelope } from '../models/ItemQuestionDtoListEnvelope';
21
+ import type { ItemRefundPolicyDtoEnvelope } from '../models/ItemRefundPolicyDtoEnvelope';
22
+ import type { ItemRefundPolicyDtoListEnvelope } from '../models/ItemRefundPolicyDtoListEnvelope';
23
+ import type { ItemReturnPolicyDtoEnvelope } from '../models/ItemReturnPolicyDtoEnvelope';
24
+ import type { ItemReturnPolicyDtoListEnvelope } from '../models/ItemReturnPolicyDtoListEnvelope';
25
+ import type { ItemReviewDtoEnvelope } from '../models/ItemReviewDtoEnvelope';
26
+ import type { ItemReviewDtoListEnvelope } from '../models/ItemReviewDtoListEnvelope';
27
+ import type { ItemShippingPolicyDtoEnvelope } from '../models/ItemShippingPolicyDtoEnvelope';
28
+ import type { ItemShippingPolicyDtoListEnvelope } from '../models/ItemShippingPolicyDtoListEnvelope';
29
+ import type { ItemTagDtoEnvelope } from '../models/ItemTagDtoEnvelope';
30
+ import type { ItemTagDtoListEnvelope } from '../models/ItemTagDtoListEnvelope';
31
+ import type { ItemTaxPolicyDtoEnvelope } from '../models/ItemTaxPolicyDtoEnvelope';
32
+ import type { ItemTaxPolicyDtoListEnvelope } from '../models/ItemTaxPolicyDtoListEnvelope';
33
+ import type { ItemTypeDtoEnvelope } from '../models/ItemTypeDtoEnvelope';
34
+ import type { ItemTypeDtoListEnvelope } from '../models/ItemTypeDtoListEnvelope';
35
+ import type { ItemWarrantyPolicyDtoEnvelope } from '../models/ItemWarrantyPolicyDtoEnvelope';
36
+ import type { ItemWarrantyPolicyDtoListEnvelope } from '../models/ItemWarrantyPolicyDtoListEnvelope';
37
+ import type { PricingRuleDtoEnvelope } from '../models/PricingRuleDtoEnvelope';
38
+ import type { PricingRuleDtoListEnvelope } from '../models/PricingRuleDtoListEnvelope';
39
+ import type { StockItemCreateDto } from '../models/StockItemCreateDto';
40
+ import type { StockItemDtoEnvelope } from '../models/StockItemDtoEnvelope';
41
+ import type { StockItemDtoListEnvelope } from '../models/StockItemDtoListEnvelope';
42
+ import type { StockItemUpdateDto } from '../models/StockItemUpdateDto';
43
+ import type { CancelablePromise } from '../core/CancelablePromise';
44
+ import { OpenAPI } from '../core/OpenAPI';
45
+ import { request as __request } from '../core/request';
46
+ export class ProductsService {
47
+ /**
48
+ * @param pageNumber
49
+ * @param pageSize
50
+ * @returns StockItemDtoListEnvelope Success
51
+ * @throws ApiError
52
+ */
53
+ public static getApiV2CatalogServiceProducts(
54
+ pageNumber?: number,
55
+ pageSize?: number,
56
+ ): CancelablePromise<StockItemDtoListEnvelope> {
57
+ return __request(OpenAPI, {
58
+ method: 'GET',
59
+ url: '/api/v2/CatalogService/Products',
60
+ query: {
61
+ 'pageNumber': pageNumber,
62
+ 'pageSize': pageSize,
63
+ },
64
+ errors: {
65
+ 401: `Unauthorized`,
66
+ 403: `Forbidden`,
67
+ },
68
+ });
69
+ }
70
+ /**
71
+ * @returns StockItemDtoListEnvelope Success
72
+ * @throws ApiError
73
+ */
74
+ public static getApiV2CatalogServiceProductsCount(): CancelablePromise<StockItemDtoListEnvelope> {
75
+ return __request(OpenAPI, {
76
+ method: 'GET',
77
+ url: '/api/v2/CatalogService/Products/Count',
78
+ errors: {
79
+ 401: `Unauthorized`,
80
+ 403: `Forbidden`,
81
+ },
82
+ });
83
+ }
84
+ /**
85
+ * @param businessId
86
+ * @param pageNumber
87
+ * @param pageSize
88
+ * @returns StockItemDtoListEnvelope Success
89
+ * @throws ApiError
90
+ */
91
+ public static getApiV2CatalogServiceProductsByBusiness(
92
+ businessId: string,
93
+ pageNumber?: number,
94
+ pageSize?: number,
95
+ ): CancelablePromise<StockItemDtoListEnvelope> {
96
+ return __request(OpenAPI, {
97
+ method: 'GET',
98
+ url: '/api/v2/CatalogService/Products/ByBusiness/{businessId}',
99
+ path: {
100
+ 'businessId': businessId,
101
+ },
102
+ query: {
103
+ 'pageNumber': pageNumber,
104
+ 'pageSize': pageSize,
105
+ },
106
+ errors: {
107
+ 401: `Unauthorized`,
108
+ 403: `Forbidden`,
109
+ },
110
+ });
111
+ }
112
+ /**
113
+ * @param businessId
114
+ * @returns StockItemDtoListEnvelope Success
115
+ * @throws ApiError
116
+ */
117
+ public static getApiV2CatalogServiceProductsByBusinessCount(
118
+ businessId: string,
119
+ ): CancelablePromise<StockItemDtoListEnvelope> {
120
+ return __request(OpenAPI, {
121
+ method: 'GET',
122
+ url: '/api/v2/CatalogService/Products/ByBusiness/{businessId}/Count',
123
+ path: {
124
+ 'businessId': businessId,
125
+ },
126
+ errors: {
127
+ 401: `Unauthorized`,
128
+ 403: `Forbidden`,
129
+ },
130
+ });
131
+ }
132
+ /**
133
+ * @param stockItemId
134
+ * @returns StockItemDtoEnvelope Success
135
+ * @throws ApiError
136
+ */
137
+ public static getApiV2CatalogServiceProductsDetails(
138
+ stockItemId: string,
139
+ ): CancelablePromise<StockItemDtoEnvelope> {
140
+ return __request(OpenAPI, {
141
+ method: 'GET',
142
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Details',
143
+ path: {
144
+ 'stockItemId': stockItemId,
145
+ },
146
+ errors: {
147
+ 401: `Unauthorized`,
148
+ 403: `Forbidden`,
149
+ },
150
+ });
151
+ }
152
+ /**
153
+ * @param businessId
154
+ * @param requestBody
155
+ * @returns any Success
156
+ * @throws ApiError
157
+ */
158
+ public static postApiV2CatalogServiceProductsCreate(
159
+ businessId: string,
160
+ requestBody?: StockItemCreateDto,
161
+ ): CancelablePromise<any> {
162
+ return __request(OpenAPI, {
163
+ method: 'POST',
164
+ url: '/api/v2/CatalogService/Products/Create',
165
+ query: {
166
+ 'businessId': businessId,
167
+ },
168
+ body: requestBody,
169
+ mediaType: 'application/json',
170
+ errors: {
171
+ 401: `Unauthorized`,
172
+ 403: `Forbidden`,
173
+ },
174
+ });
175
+ }
176
+ /**
177
+ * @param businessId
178
+ * @param stockItemId
179
+ * @param requestBody
180
+ * @returns any Success
181
+ * @throws ApiError
182
+ */
183
+ public static putApiV2CatalogServiceProductsUpdate(
184
+ businessId: string,
185
+ stockItemId: string,
186
+ requestBody?: StockItemUpdateDto,
187
+ ): CancelablePromise<any> {
188
+ return __request(OpenAPI, {
189
+ method: 'PUT',
190
+ url: '/api/v2/CatalogService/Products/Update/{stockItemId}',
191
+ path: {
192
+ 'stockItemId': stockItemId,
193
+ },
194
+ query: {
195
+ 'businessId': businessId,
196
+ },
197
+ body: requestBody,
198
+ mediaType: 'application/json',
199
+ errors: {
200
+ 401: `Unauthorized`,
201
+ 403: `Forbidden`,
202
+ },
203
+ });
204
+ }
205
+ /**
206
+ * @param businessId
207
+ * @param stockItemId
208
+ * @returns any Success
209
+ * @throws ApiError
210
+ */
211
+ public static deleteApiV2CatalogServiceProductsDelete(
212
+ businessId: string,
213
+ stockItemId: string,
214
+ ): CancelablePromise<any> {
215
+ return __request(OpenAPI, {
216
+ method: 'DELETE',
217
+ url: '/api/v2/CatalogService/Products/Delete/{stockItemId}',
218
+ path: {
219
+ 'stockItemId': stockItemId,
220
+ },
221
+ query: {
222
+ 'businessId': businessId,
223
+ },
224
+ errors: {
225
+ 401: `Unauthorized`,
226
+ 403: `Forbidden`,
227
+ },
228
+ });
229
+ }
230
+ /**
231
+ * @param stockItemId
232
+ * @returns ItemImageDtoListEnvelope Success
233
+ * @throws ApiError
234
+ */
235
+ public static getApiV2CatalogServiceProductsImages(
236
+ stockItemId: string,
237
+ ): CancelablePromise<ItemImageDtoListEnvelope> {
238
+ return __request(OpenAPI, {
239
+ method: 'GET',
240
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Images',
241
+ path: {
242
+ 'stockItemId': stockItemId,
243
+ },
244
+ errors: {
245
+ 401: `Unauthorized`,
246
+ 403: `Forbidden`,
247
+ },
248
+ });
249
+ }
250
+ /**
251
+ * @param stockItemId
252
+ * @param itemImageId
253
+ * @returns ItemImageDtoEnvelope Success
254
+ * @throws ApiError
255
+ */
256
+ public static getApiV2CatalogServiceProductsImages1(
257
+ stockItemId: string,
258
+ itemImageId: string,
259
+ ): CancelablePromise<ItemImageDtoEnvelope> {
260
+ return __request(OpenAPI, {
261
+ method: 'GET',
262
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Images/{itemImageId}',
263
+ path: {
264
+ 'stockItemId': stockItemId,
265
+ 'itemImageId': itemImageId,
266
+ },
267
+ errors: {
268
+ 401: `Unauthorized`,
269
+ 403: `Forbidden`,
270
+ },
271
+ });
272
+ }
273
+ /**
274
+ * @param stockItemId
275
+ * @param itemImageId
276
+ * @returns ItemImageDtoEnvelope Success
277
+ * @throws ApiError
278
+ */
279
+ public static postApiV2CatalogServiceProductsImages(
280
+ stockItemId: string,
281
+ itemImageId: string,
282
+ ): CancelablePromise<ItemImageDtoEnvelope> {
283
+ return __request(OpenAPI, {
284
+ method: 'POST',
285
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Images/{itemImageId}',
286
+ path: {
287
+ 'stockItemId': stockItemId,
288
+ 'itemImageId': itemImageId,
289
+ },
290
+ errors: {
291
+ 401: `Unauthorized`,
292
+ 403: `Forbidden`,
293
+ },
294
+ });
295
+ }
296
+ /**
297
+ * @param stockItemId
298
+ * @param itemImageId
299
+ * @returns ItemImageDtoEnvelope Success
300
+ * @throws ApiError
301
+ */
302
+ public static deleteApiV2CatalogServiceProductsImages(
303
+ stockItemId: string,
304
+ itemImageId: string,
305
+ ): CancelablePromise<ItemImageDtoEnvelope> {
306
+ return __request(OpenAPI, {
307
+ method: 'DELETE',
308
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Images/{itemImageId}',
309
+ path: {
310
+ 'stockItemId': stockItemId,
311
+ 'itemImageId': itemImageId,
312
+ },
313
+ errors: {
314
+ 401: `Unauthorized`,
315
+ 403: `Forbidden`,
316
+ },
317
+ });
318
+ }
319
+ /**
320
+ * @param stockItemId
321
+ * @returns ItemBrandDtoListEnvelope Success
322
+ * @throws ApiError
323
+ */
324
+ public static getApiV2CatalogServiceProductsBrands(
325
+ stockItemId: string,
326
+ ): CancelablePromise<ItemBrandDtoListEnvelope> {
327
+ return __request(OpenAPI, {
328
+ method: 'GET',
329
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Brands',
330
+ path: {
331
+ 'stockItemId': stockItemId,
332
+ },
333
+ errors: {
334
+ 401: `Unauthorized`,
335
+ 403: `Forbidden`,
336
+ },
337
+ });
338
+ }
339
+ /**
340
+ * @param stockItemId
341
+ * @param itemBrandId
342
+ * @returns ItemBrandDtoEnvelope Success
343
+ * @throws ApiError
344
+ */
345
+ public static getApiV2CatalogServiceProductsBrands1(
346
+ stockItemId: string,
347
+ itemBrandId: string,
348
+ ): CancelablePromise<ItemBrandDtoEnvelope> {
349
+ return __request(OpenAPI, {
350
+ method: 'GET',
351
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Brands/{itemBrandId}',
352
+ path: {
353
+ 'stockItemId': stockItemId,
354
+ 'itemBrandId': itemBrandId,
355
+ },
356
+ errors: {
357
+ 401: `Unauthorized`,
358
+ 403: `Forbidden`,
359
+ },
360
+ });
361
+ }
362
+ /**
363
+ * @param stockItemId
364
+ * @param itemBrandId
365
+ * @returns ItemBrandDtoEnvelope Success
366
+ * @throws ApiError
367
+ */
368
+ public static postApiV2CatalogServiceProductsBrands(
369
+ stockItemId: string,
370
+ itemBrandId: string,
371
+ ): CancelablePromise<ItemBrandDtoEnvelope> {
372
+ return __request(OpenAPI, {
373
+ method: 'POST',
374
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Brands/{itemBrandId}',
375
+ path: {
376
+ 'stockItemId': stockItemId,
377
+ 'itemBrandId': itemBrandId,
378
+ },
379
+ errors: {
380
+ 401: `Unauthorized`,
381
+ 403: `Forbidden`,
382
+ },
383
+ });
384
+ }
385
+ /**
386
+ * @param stockItemId
387
+ * @param itemBrandId
388
+ * @returns ItemBrandDtoEnvelope Success
389
+ * @throws ApiError
390
+ */
391
+ public static deleteApiV2CatalogServiceProductsBrands(
392
+ stockItemId: string,
393
+ itemBrandId: string,
394
+ ): CancelablePromise<ItemBrandDtoEnvelope> {
395
+ return __request(OpenAPI, {
396
+ method: 'DELETE',
397
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Brands/{itemBrandId}',
398
+ path: {
399
+ 'stockItemId': stockItemId,
400
+ 'itemBrandId': itemBrandId,
401
+ },
402
+ errors: {
403
+ 401: `Unauthorized`,
404
+ 403: `Forbidden`,
405
+ },
406
+ });
407
+ }
408
+ /**
409
+ * @param stockItemId
410
+ * @returns ItemTypeDtoListEnvelope Success
411
+ * @throws ApiError
412
+ */
413
+ public static getApiV2CatalogServiceProductsTypes(
414
+ stockItemId: string,
415
+ ): CancelablePromise<ItemTypeDtoListEnvelope> {
416
+ return __request(OpenAPI, {
417
+ method: 'GET',
418
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Types',
419
+ path: {
420
+ 'stockItemId': stockItemId,
421
+ },
422
+ errors: {
423
+ 401: `Unauthorized`,
424
+ 403: `Forbidden`,
425
+ },
426
+ });
427
+ }
428
+ /**
429
+ * @param stockItemId
430
+ * @param itemTypeId
431
+ * @returns ItemTypeDtoEnvelope Success
432
+ * @throws ApiError
433
+ */
434
+ public static getApiV2CatalogServiceProductsTypes1(
435
+ stockItemId: string,
436
+ itemTypeId: string,
437
+ ): CancelablePromise<ItemTypeDtoEnvelope> {
438
+ return __request(OpenAPI, {
439
+ method: 'GET',
440
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Types/{itemTypeId}',
441
+ path: {
442
+ 'stockItemId': stockItemId,
443
+ 'itemTypeId': itemTypeId,
444
+ },
445
+ errors: {
446
+ 401: `Unauthorized`,
447
+ 403: `Forbidden`,
448
+ },
449
+ });
450
+ }
451
+ /**
452
+ * @param stockItemId
453
+ * @param itemTypeId
454
+ * @returns ItemTypeDtoEnvelope Success
455
+ * @throws ApiError
456
+ */
457
+ public static postApiV2CatalogServiceProductsTypes(
458
+ stockItemId: string,
459
+ itemTypeId: string,
460
+ ): CancelablePromise<ItemTypeDtoEnvelope> {
461
+ return __request(OpenAPI, {
462
+ method: 'POST',
463
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Types/{itemTypeId}',
464
+ path: {
465
+ 'stockItemId': stockItemId,
466
+ 'itemTypeId': itemTypeId,
467
+ },
468
+ errors: {
469
+ 401: `Unauthorized`,
470
+ 403: `Forbidden`,
471
+ },
472
+ });
473
+ }
474
+ /**
475
+ * @param stockItemId
476
+ * @param itemTypeId
477
+ * @returns ItemTypeDtoEnvelope Success
478
+ * @throws ApiError
479
+ */
480
+ public static deleteApiV2CatalogServiceProductsTypes(
481
+ stockItemId: string,
482
+ itemTypeId: string,
483
+ ): CancelablePromise<ItemTypeDtoEnvelope> {
484
+ return __request(OpenAPI, {
485
+ method: 'DELETE',
486
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Types/{itemTypeId}',
487
+ path: {
488
+ 'stockItemId': stockItemId,
489
+ 'itemTypeId': itemTypeId,
490
+ },
491
+ errors: {
492
+ 401: `Unauthorized`,
493
+ 403: `Forbidden`,
494
+ },
495
+ });
496
+ }
497
+ /**
498
+ * @param stockItemId
499
+ * @returns ItemTagDtoListEnvelope Success
500
+ * @throws ApiError
501
+ */
502
+ public static getApiV2CatalogServiceProductsTags(
503
+ stockItemId: string,
504
+ ): CancelablePromise<ItemTagDtoListEnvelope> {
505
+ return __request(OpenAPI, {
506
+ method: 'GET',
507
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Tags',
508
+ path: {
509
+ 'stockItemId': stockItemId,
510
+ },
511
+ errors: {
512
+ 401: `Unauthorized`,
513
+ 403: `Forbidden`,
514
+ },
515
+ });
516
+ }
517
+ /**
518
+ * @param stockItemId
519
+ * @param itemTagId
520
+ * @returns ItemTagDtoEnvelope Success
521
+ * @throws ApiError
522
+ */
523
+ public static getApiV2CatalogServiceProductsTags1(
524
+ stockItemId: string,
525
+ itemTagId: string,
526
+ ): CancelablePromise<ItemTagDtoEnvelope> {
527
+ return __request(OpenAPI, {
528
+ method: 'GET',
529
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Tags/{itemTagId}',
530
+ path: {
531
+ 'stockItemId': stockItemId,
532
+ 'itemTagId': itemTagId,
533
+ },
534
+ errors: {
535
+ 401: `Unauthorized`,
536
+ 403: `Forbidden`,
537
+ },
538
+ });
539
+ }
540
+ /**
541
+ * @param stockItemId
542
+ * @param itemTagId
543
+ * @returns ItemTagDtoEnvelope Success
544
+ * @throws ApiError
545
+ */
546
+ public static postApiV2CatalogServiceProductsTags(
547
+ stockItemId: string,
548
+ itemTagId: string,
549
+ ): CancelablePromise<ItemTagDtoEnvelope> {
550
+ return __request(OpenAPI, {
551
+ method: 'POST',
552
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Tags/{itemTagId}',
553
+ path: {
554
+ 'stockItemId': stockItemId,
555
+ 'itemTagId': itemTagId,
556
+ },
557
+ errors: {
558
+ 401: `Unauthorized`,
559
+ 403: `Forbidden`,
560
+ },
561
+ });
562
+ }
563
+ /**
564
+ * @param stockItemId
565
+ * @param itemTagId
566
+ * @returns ItemTagDtoEnvelope Success
567
+ * @throws ApiError
568
+ */
569
+ public static deleteApiV2CatalogServiceProductsTags(
570
+ stockItemId: string,
571
+ itemTagId: string,
572
+ ): CancelablePromise<ItemTagDtoEnvelope> {
573
+ return __request(OpenAPI, {
574
+ method: 'DELETE',
575
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Tags/{itemTagId}',
576
+ path: {
577
+ 'stockItemId': stockItemId,
578
+ 'itemTagId': itemTagId,
579
+ },
580
+ errors: {
581
+ 401: `Unauthorized`,
582
+ 403: `Forbidden`,
583
+ },
584
+ });
585
+ }
586
+ /**
587
+ * @param stockItemId
588
+ * @returns ItemReviewDtoListEnvelope Success
589
+ * @throws ApiError
590
+ */
591
+ public static getApiV2CatalogServiceProductsReviews(
592
+ stockItemId: string,
593
+ ): CancelablePromise<ItemReviewDtoListEnvelope> {
594
+ return __request(OpenAPI, {
595
+ method: 'GET',
596
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews',
597
+ path: {
598
+ 'stockItemId': stockItemId,
599
+ },
600
+ errors: {
601
+ 401: `Unauthorized`,
602
+ 403: `Forbidden`,
603
+ },
604
+ });
605
+ }
606
+ /**
607
+ * @param stockItemId
608
+ * @param itemReviewId
609
+ * @returns ItemReviewDtoEnvelope Success
610
+ * @throws ApiError
611
+ */
612
+ public static getApiV2CatalogServiceProductsReviews1(
613
+ stockItemId: string,
614
+ itemReviewId: string,
615
+ ): CancelablePromise<ItemReviewDtoEnvelope> {
616
+ return __request(OpenAPI, {
617
+ method: 'GET',
618
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews/{itemReviewId}',
619
+ path: {
620
+ 'stockItemId': stockItemId,
621
+ 'itemReviewId': itemReviewId,
622
+ },
623
+ errors: {
624
+ 401: `Unauthorized`,
625
+ 403: `Forbidden`,
626
+ },
627
+ });
628
+ }
629
+ /**
630
+ * @param stockItemId
631
+ * @param itemReviewId
632
+ * @returns ItemReviewDtoEnvelope Success
633
+ * @throws ApiError
634
+ */
635
+ public static postApiV2CatalogServiceProductsReviews(
636
+ stockItemId: string,
637
+ itemReviewId: string,
638
+ ): CancelablePromise<ItemReviewDtoEnvelope> {
639
+ return __request(OpenAPI, {
640
+ method: 'POST',
641
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews/{itemReviewId}',
642
+ path: {
643
+ 'stockItemId': stockItemId,
644
+ 'itemReviewId': itemReviewId,
645
+ },
646
+ errors: {
647
+ 401: `Unauthorized`,
648
+ 403: `Forbidden`,
649
+ },
650
+ });
651
+ }
652
+ /**
653
+ * @param stockItemId
654
+ * @param itemReviewId
655
+ * @returns ItemReviewDtoEnvelope Success
656
+ * @throws ApiError
657
+ */
658
+ public static deleteApiV2CatalogServiceProductsReviews(
659
+ stockItemId: string,
660
+ itemReviewId: string,
661
+ ): CancelablePromise<ItemReviewDtoEnvelope> {
662
+ return __request(OpenAPI, {
663
+ method: 'DELETE',
664
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews/{itemReviewId}',
665
+ path: {
666
+ 'stockItemId': stockItemId,
667
+ 'itemReviewId': itemReviewId,
668
+ },
669
+ errors: {
670
+ 401: `Unauthorized`,
671
+ 403: `Forbidden`,
672
+ },
673
+ });
674
+ }
675
+ /**
676
+ * @param stockItemId
677
+ * @returns ItemQuestionDtoListEnvelope Success
678
+ * @throws ApiError
679
+ */
680
+ public static getApiV2CatalogServiceProductsQuestions(
681
+ stockItemId: string,
682
+ ): CancelablePromise<ItemQuestionDtoListEnvelope> {
683
+ return __request(OpenAPI, {
684
+ method: 'GET',
685
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Questions',
686
+ path: {
687
+ 'stockItemId': stockItemId,
688
+ },
689
+ errors: {
690
+ 401: `Unauthorized`,
691
+ 403: `Forbidden`,
692
+ },
693
+ });
694
+ }
695
+ /**
696
+ * @param stockItemId
697
+ * @param itemQuestionId
698
+ * @returns ItemQuestionDtoEnvelope Success
699
+ * @throws ApiError
700
+ */
701
+ public static getApiV2CatalogServiceProductsQuestions1(
702
+ stockItemId: string,
703
+ itemQuestionId: string,
704
+ ): CancelablePromise<ItemQuestionDtoEnvelope> {
705
+ return __request(OpenAPI, {
706
+ method: 'GET',
707
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Questions/{itemQuestionId}',
708
+ path: {
709
+ 'stockItemId': stockItemId,
710
+ 'itemQuestionId': itemQuestionId,
711
+ },
712
+ errors: {
713
+ 401: `Unauthorized`,
714
+ 403: `Forbidden`,
715
+ },
716
+ });
717
+ }
718
+ /**
719
+ * @param stockItemId
720
+ * @param itemQuestionId
721
+ * @returns ItemQuestionDtoEnvelope Success
722
+ * @throws ApiError
723
+ */
724
+ public static postApiV2CatalogServiceProductsQuestions(
725
+ stockItemId: string,
726
+ itemQuestionId: string,
727
+ ): CancelablePromise<ItemQuestionDtoEnvelope> {
728
+ return __request(OpenAPI, {
729
+ method: 'POST',
730
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Questions/{itemQuestionId}',
731
+ path: {
732
+ 'stockItemId': stockItemId,
733
+ 'itemQuestionId': itemQuestionId,
734
+ },
735
+ errors: {
736
+ 401: `Unauthorized`,
737
+ 403: `Forbidden`,
738
+ },
739
+ });
740
+ }
741
+ /**
742
+ * @param stockItemId
743
+ * @param itemQuestionId
744
+ * @returns ItemQuestionDtoEnvelope Success
745
+ * @throws ApiError
746
+ */
747
+ public static deleteApiV2CatalogServiceProductsQuestions(
748
+ stockItemId: string,
749
+ itemQuestionId: string,
750
+ ): CancelablePromise<ItemQuestionDtoEnvelope> {
751
+ return __request(OpenAPI, {
752
+ method: 'DELETE',
753
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Questions/{itemQuestionId}',
754
+ path: {
755
+ 'stockItemId': stockItemId,
756
+ 'itemQuestionId': itemQuestionId,
757
+ },
758
+ errors: {
759
+ 401: `Unauthorized`,
760
+ 403: `Forbidden`,
761
+ },
762
+ });
763
+ }
764
+ /**
765
+ * @param stockItemId
766
+ * @returns ItemCategoryDtoListEnvelope Success
767
+ * @throws ApiError
768
+ */
769
+ public static getApiV2CatalogServiceProductsCategories(
770
+ stockItemId: string,
771
+ ): CancelablePromise<ItemCategoryDtoListEnvelope> {
772
+ return __request(OpenAPI, {
773
+ method: 'GET',
774
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories',
775
+ path: {
776
+ 'stockItemId': stockItemId,
777
+ },
778
+ errors: {
779
+ 401: `Unauthorized`,
780
+ 403: `Forbidden`,
781
+ },
782
+ });
783
+ }
784
+ /**
785
+ * @param stockItemId
786
+ * @param itemCategoryId
787
+ * @returns ItemCategoryDtoEnvelope Success
788
+ * @throws ApiError
789
+ */
790
+ public static getApiV2CatalogServiceProductsCategories1(
791
+ stockItemId: string,
792
+ itemCategoryId: string,
793
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
794
+ return __request(OpenAPI, {
795
+ method: 'GET',
796
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
797
+ path: {
798
+ 'stockItemId': stockItemId,
799
+ 'itemCategoryId': itemCategoryId,
800
+ },
801
+ errors: {
802
+ 401: `Unauthorized`,
803
+ 403: `Forbidden`,
804
+ },
805
+ });
806
+ }
807
+ /**
808
+ * @param stockItemId
809
+ * @param itemCategoryId
810
+ * @returns ItemCategoryDtoEnvelope Success
811
+ * @throws ApiError
812
+ */
813
+ public static postApiV2CatalogServiceProductsCategories(
814
+ stockItemId: string,
815
+ itemCategoryId: string,
816
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
817
+ return __request(OpenAPI, {
818
+ method: 'POST',
819
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
820
+ path: {
821
+ 'stockItemId': stockItemId,
822
+ 'itemCategoryId': itemCategoryId,
823
+ },
824
+ errors: {
825
+ 401: `Unauthorized`,
826
+ 403: `Forbidden`,
827
+ },
828
+ });
829
+ }
830
+ /**
831
+ * @param stockItemId
832
+ * @param itemCategoryId
833
+ * @returns ItemCategoryDtoEnvelope Success
834
+ * @throws ApiError
835
+ */
836
+ public static deleteApiV2CatalogServiceProductsCategories(
837
+ stockItemId: string,
838
+ itemCategoryId: string,
839
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
840
+ return __request(OpenAPI, {
841
+ method: 'DELETE',
842
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
843
+ path: {
844
+ 'stockItemId': stockItemId,
845
+ 'itemCategoryId': itemCategoryId,
846
+ },
847
+ errors: {
848
+ 401: `Unauthorized`,
849
+ 403: `Forbidden`,
850
+ },
851
+ });
852
+ }
853
+ /**
854
+ * @param stockItemId
855
+ * @returns ItemAttachmentDtoListEnvelope Success
856
+ * @throws ApiError
857
+ */
858
+ public static getApiV2CatalogServiceProductsAttachments(
859
+ stockItemId: string,
860
+ ): CancelablePromise<ItemAttachmentDtoListEnvelope> {
861
+ return __request(OpenAPI, {
862
+ method: 'GET',
863
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Attachments',
864
+ path: {
865
+ 'stockItemId': stockItemId,
866
+ },
867
+ errors: {
868
+ 401: `Unauthorized`,
869
+ 403: `Forbidden`,
870
+ },
871
+ });
872
+ }
873
+ /**
874
+ * @param stockItemId
875
+ * @param itemAttachmentId
876
+ * @returns ItemAttachmentDtoEnvelope Success
877
+ * @throws ApiError
878
+ */
879
+ public static getApiV2CatalogServiceProductsAttachments1(
880
+ stockItemId: string,
881
+ itemAttachmentId: string,
882
+ ): CancelablePromise<ItemAttachmentDtoEnvelope> {
883
+ return __request(OpenAPI, {
884
+ method: 'GET',
885
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Attachments/{itemAttachmentId}',
886
+ path: {
887
+ 'stockItemId': stockItemId,
888
+ 'itemAttachmentId': itemAttachmentId,
889
+ },
890
+ errors: {
891
+ 401: `Unauthorized`,
892
+ 403: `Forbidden`,
893
+ },
894
+ });
895
+ }
896
+ /**
897
+ * @param stockItemId
898
+ * @param itemAttachmentId
899
+ * @returns ItemAttachmentDtoEnvelope Success
900
+ * @throws ApiError
901
+ */
902
+ public static postApiV2CatalogServiceProductsAttachments(
903
+ stockItemId: string,
904
+ itemAttachmentId: string,
905
+ ): CancelablePromise<ItemAttachmentDtoEnvelope> {
906
+ return __request(OpenAPI, {
907
+ method: 'POST',
908
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Attachments/{itemAttachmentId}',
909
+ path: {
910
+ 'stockItemId': stockItemId,
911
+ 'itemAttachmentId': itemAttachmentId,
912
+ },
913
+ errors: {
914
+ 401: `Unauthorized`,
915
+ 403: `Forbidden`,
916
+ },
917
+ });
918
+ }
919
+ /**
920
+ * @param stockItemId
921
+ * @param itemAttachmentId
922
+ * @returns ItemAttachmentDtoEnvelope Success
923
+ * @throws ApiError
924
+ */
925
+ public static deleteApiV2CatalogServiceProductsAttachments(
926
+ stockItemId: string,
927
+ itemAttachmentId: string,
928
+ ): CancelablePromise<ItemAttachmentDtoEnvelope> {
929
+ return __request(OpenAPI, {
930
+ method: 'DELETE',
931
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Attachments/{itemAttachmentId}',
932
+ path: {
933
+ 'stockItemId': stockItemId,
934
+ 'itemAttachmentId': itemAttachmentId,
935
+ },
936
+ errors: {
937
+ 401: `Unauthorized`,
938
+ 403: `Forbidden`,
939
+ },
940
+ });
941
+ }
942
+ /**
943
+ * @param stockItemId
944
+ * @returns ItemGoogleCategoryDtoListEnvelope Success
945
+ * @throws ApiError
946
+ */
947
+ public static getApiV2CatalogServiceProductsGoogleCategories(
948
+ stockItemId: string,
949
+ ): CancelablePromise<ItemGoogleCategoryDtoListEnvelope> {
950
+ return __request(OpenAPI, {
951
+ method: 'GET',
952
+ url: '/api/v2/CatalogService/Products/{stockItemId}/GoogleCategories',
953
+ path: {
954
+ 'stockItemId': stockItemId,
955
+ },
956
+ errors: {
957
+ 401: `Unauthorized`,
958
+ 403: `Forbidden`,
959
+ },
960
+ });
961
+ }
962
+ /**
963
+ * @param stockItemId
964
+ * @param itemGoogleCategoryId
965
+ * @returns ItemGoogleCategoryDtoEnvelope Success
966
+ * @throws ApiError
967
+ */
968
+ public static getApiV2CatalogServiceProductsGoogleCategories1(
969
+ stockItemId: string,
970
+ itemGoogleCategoryId: string,
971
+ ): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
972
+ return __request(OpenAPI, {
973
+ method: 'GET',
974
+ url: '/api/v2/CatalogService/Products/{stockItemId}/GoogleCategories/{itemGoogleCategoryId}',
975
+ path: {
976
+ 'stockItemId': stockItemId,
977
+ 'itemGoogleCategoryId': itemGoogleCategoryId,
978
+ },
979
+ errors: {
980
+ 401: `Unauthorized`,
981
+ 403: `Forbidden`,
982
+ },
983
+ });
984
+ }
985
+ /**
986
+ * @param stockItemId
987
+ * @param itemGoogleCategoryId
988
+ * @returns ItemGoogleCategoryDtoEnvelope Success
989
+ * @throws ApiError
990
+ */
991
+ public static postApiV2CatalogServiceProductsGoogleCategories(
992
+ stockItemId: string,
993
+ itemGoogleCategoryId: string,
994
+ ): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
995
+ return __request(OpenAPI, {
996
+ method: 'POST',
997
+ url: '/api/v2/CatalogService/Products/{stockItemId}/GoogleCategories/{itemGoogleCategoryId}',
998
+ path: {
999
+ 'stockItemId': stockItemId,
1000
+ 'itemGoogleCategoryId': itemGoogleCategoryId,
1001
+ },
1002
+ errors: {
1003
+ 401: `Unauthorized`,
1004
+ 403: `Forbidden`,
1005
+ },
1006
+ });
1007
+ }
1008
+ /**
1009
+ * @param stockItemId
1010
+ * @param itemGoogleCategoryId
1011
+ * @returns ItemGoogleCategoryDtoEnvelope Success
1012
+ * @throws ApiError
1013
+ */
1014
+ public static deleteApiV2CatalogServiceProductsGoogleCategories(
1015
+ stockItemId: string,
1016
+ itemGoogleCategoryId: string,
1017
+ ): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
1018
+ return __request(OpenAPI, {
1019
+ method: 'DELETE',
1020
+ url: '/api/v2/CatalogService/Products/{stockItemId}/GoogleCategories/{itemGoogleCategoryId}',
1021
+ path: {
1022
+ 'stockItemId': stockItemId,
1023
+ 'itemGoogleCategoryId': itemGoogleCategoryId,
1024
+ },
1025
+ errors: {
1026
+ 401: `Unauthorized`,
1027
+ 403: `Forbidden`,
1028
+ },
1029
+ });
1030
+ }
1031
+ /**
1032
+ * @param stockItemId
1033
+ * @returns ItemAttributeOptionDtoListEnvelope Success
1034
+ * @throws ApiError
1035
+ */
1036
+ public static getApiV2CatalogServiceProductsAttributeOptions(
1037
+ stockItemId: string,
1038
+ ): CancelablePromise<ItemAttributeOptionDtoListEnvelope> {
1039
+ return __request(OpenAPI, {
1040
+ method: 'GET',
1041
+ url: '/api/v2/CatalogService/Products/{stockItemId}/AttributeOptions',
1042
+ path: {
1043
+ 'stockItemId': stockItemId,
1044
+ },
1045
+ errors: {
1046
+ 401: `Unauthorized`,
1047
+ 403: `Forbidden`,
1048
+ },
1049
+ });
1050
+ }
1051
+ /**
1052
+ * @param stockItemId
1053
+ * @param itemAttributeOptionId
1054
+ * @returns ItemAttributeOptionDtoEnvelope Success
1055
+ * @throws ApiError
1056
+ */
1057
+ public static getApiV2CatalogServiceProductsAttributeOptions1(
1058
+ stockItemId: string,
1059
+ itemAttributeOptionId: string,
1060
+ ): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
1061
+ return __request(OpenAPI, {
1062
+ method: 'GET',
1063
+ url: '/api/v2/CatalogService/Products/{stockItemId}/AttributeOptions/{itemAttributeOptionId}',
1064
+ path: {
1065
+ 'stockItemId': stockItemId,
1066
+ 'itemAttributeOptionId': itemAttributeOptionId,
1067
+ },
1068
+ errors: {
1069
+ 401: `Unauthorized`,
1070
+ 403: `Forbidden`,
1071
+ },
1072
+ });
1073
+ }
1074
+ /**
1075
+ * @param stockItemId
1076
+ * @param itemAttributeOptionId
1077
+ * @returns ItemAttributeOptionDtoEnvelope Success
1078
+ * @throws ApiError
1079
+ */
1080
+ public static postApiV2CatalogServiceProductsAttributeOptions(
1081
+ stockItemId: string,
1082
+ itemAttributeOptionId: string,
1083
+ ): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
1084
+ return __request(OpenAPI, {
1085
+ method: 'POST',
1086
+ url: '/api/v2/CatalogService/Products/{stockItemId}/AttributeOptions/{itemAttributeOptionId}',
1087
+ path: {
1088
+ 'stockItemId': stockItemId,
1089
+ 'itemAttributeOptionId': itemAttributeOptionId,
1090
+ },
1091
+ errors: {
1092
+ 401: `Unauthorized`,
1093
+ 403: `Forbidden`,
1094
+ },
1095
+ });
1096
+ }
1097
+ /**
1098
+ * @param stockItemId
1099
+ * @param itemAttributeOptionId
1100
+ * @returns ItemAttributeOptionDtoEnvelope Success
1101
+ * @throws ApiError
1102
+ */
1103
+ public static deleteApiV2CatalogServiceProductsAttributeOptions(
1104
+ stockItemId: string,
1105
+ itemAttributeOptionId: string,
1106
+ ): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
1107
+ return __request(OpenAPI, {
1108
+ method: 'DELETE',
1109
+ url: '/api/v2/CatalogService/Products/{stockItemId}/AttributeOptions/{itemAttributeOptionId}',
1110
+ path: {
1111
+ 'stockItemId': stockItemId,
1112
+ 'itemAttributeOptionId': itemAttributeOptionId,
1113
+ },
1114
+ errors: {
1115
+ 401: `Unauthorized`,
1116
+ 403: `Forbidden`,
1117
+ },
1118
+ });
1119
+ }
1120
+ /**
1121
+ * @param stockItemId
1122
+ * @returns ItemTaxPolicyDtoListEnvelope Success
1123
+ * @throws ApiError
1124
+ */
1125
+ public static getApiV2CatalogServiceProductsTaxPolicies(
1126
+ stockItemId: string,
1127
+ ): CancelablePromise<ItemTaxPolicyDtoListEnvelope> {
1128
+ return __request(OpenAPI, {
1129
+ method: 'GET',
1130
+ url: '/api/v2/CatalogService/Products/{stockItemId}/TaxPolicies',
1131
+ path: {
1132
+ 'stockItemId': stockItemId,
1133
+ },
1134
+ errors: {
1135
+ 401: `Unauthorized`,
1136
+ 403: `Forbidden`,
1137
+ },
1138
+ });
1139
+ }
1140
+ /**
1141
+ * @param stockItemId
1142
+ * @param itemTaxPolicyId
1143
+ * @returns ItemTaxPolicyDtoEnvelope Success
1144
+ * @throws ApiError
1145
+ */
1146
+ public static getApiV2CatalogServiceProductsTaxPolicies1(
1147
+ stockItemId: string,
1148
+ itemTaxPolicyId: string,
1149
+ ): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
1150
+ return __request(OpenAPI, {
1151
+ method: 'GET',
1152
+ url: '/api/v2/CatalogService/Products/{stockItemId}/TaxPolicies/{itemTaxPolicyId}',
1153
+ path: {
1154
+ 'stockItemId': stockItemId,
1155
+ 'itemTaxPolicyId': itemTaxPolicyId,
1156
+ },
1157
+ errors: {
1158
+ 401: `Unauthorized`,
1159
+ 403: `Forbidden`,
1160
+ },
1161
+ });
1162
+ }
1163
+ /**
1164
+ * @param stockItemId
1165
+ * @param itemTaxPolicyId
1166
+ * @returns ItemTaxPolicyDtoEnvelope Success
1167
+ * @throws ApiError
1168
+ */
1169
+ public static postApiV2CatalogServiceProductsTaxPolicies(
1170
+ stockItemId: string,
1171
+ itemTaxPolicyId: string,
1172
+ ): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
1173
+ return __request(OpenAPI, {
1174
+ method: 'POST',
1175
+ url: '/api/v2/CatalogService/Products/{stockItemId}/TaxPolicies/{itemTaxPolicyId}',
1176
+ path: {
1177
+ 'stockItemId': stockItemId,
1178
+ 'itemTaxPolicyId': itemTaxPolicyId,
1179
+ },
1180
+ errors: {
1181
+ 401: `Unauthorized`,
1182
+ 403: `Forbidden`,
1183
+ },
1184
+ });
1185
+ }
1186
+ /**
1187
+ * @param stockItemId
1188
+ * @param itemTaxPolicyId
1189
+ * @returns ItemTaxPolicyDtoEnvelope Success
1190
+ * @throws ApiError
1191
+ */
1192
+ public static deleteApiV2CatalogServiceProductsTaxPolicies(
1193
+ stockItemId: string,
1194
+ itemTaxPolicyId: string,
1195
+ ): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
1196
+ return __request(OpenAPI, {
1197
+ method: 'DELETE',
1198
+ url: '/api/v2/CatalogService/Products/{stockItemId}/TaxPolicies/{itemTaxPolicyId}',
1199
+ path: {
1200
+ 'stockItemId': stockItemId,
1201
+ 'itemTaxPolicyId': itemTaxPolicyId,
1202
+ },
1203
+ errors: {
1204
+ 401: `Unauthorized`,
1205
+ 403: `Forbidden`,
1206
+ },
1207
+ });
1208
+ }
1209
+ /**
1210
+ * @param stockItemId
1211
+ * @returns PricingRuleDtoListEnvelope Success
1212
+ * @throws ApiError
1213
+ */
1214
+ public static getApiV2CatalogServiceProductsPriceRules(
1215
+ stockItemId: string,
1216
+ ): CancelablePromise<PricingRuleDtoListEnvelope> {
1217
+ return __request(OpenAPI, {
1218
+ method: 'GET',
1219
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PriceRules',
1220
+ path: {
1221
+ 'stockItemId': stockItemId,
1222
+ },
1223
+ errors: {
1224
+ 401: `Unauthorized`,
1225
+ 403: `Forbidden`,
1226
+ },
1227
+ });
1228
+ }
1229
+ /**
1230
+ * @param stockItemId
1231
+ * @param itemPriceRuleId
1232
+ * @returns PricingRuleDtoEnvelope Success
1233
+ * @throws ApiError
1234
+ */
1235
+ public static getApiV2CatalogServiceProductsPriceRules1(
1236
+ stockItemId: string,
1237
+ itemPriceRuleId: string,
1238
+ ): CancelablePromise<PricingRuleDtoEnvelope> {
1239
+ return __request(OpenAPI, {
1240
+ method: 'GET',
1241
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PriceRules/{itemPriceRuleId}',
1242
+ path: {
1243
+ 'stockItemId': stockItemId,
1244
+ 'itemPriceRuleId': itemPriceRuleId,
1245
+ },
1246
+ errors: {
1247
+ 401: `Unauthorized`,
1248
+ 403: `Forbidden`,
1249
+ },
1250
+ });
1251
+ }
1252
+ /**
1253
+ * @param stockItemId
1254
+ * @param itemPriceRuleId
1255
+ * @returns PricingRuleDtoEnvelope Success
1256
+ * @throws ApiError
1257
+ */
1258
+ public static postApiV2CatalogServiceProductsPriceRules(
1259
+ stockItemId: string,
1260
+ itemPriceRuleId: string,
1261
+ ): CancelablePromise<PricingRuleDtoEnvelope> {
1262
+ return __request(OpenAPI, {
1263
+ method: 'POST',
1264
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PriceRules/{itemPriceRuleId}',
1265
+ path: {
1266
+ 'stockItemId': stockItemId,
1267
+ 'itemPriceRuleId': itemPriceRuleId,
1268
+ },
1269
+ errors: {
1270
+ 401: `Unauthorized`,
1271
+ 403: `Forbidden`,
1272
+ },
1273
+ });
1274
+ }
1275
+ /**
1276
+ * @param stockItemId
1277
+ * @param itemPriceRuleId
1278
+ * @returns PricingRuleDtoEnvelope Success
1279
+ * @throws ApiError
1280
+ */
1281
+ public static deleteApiV2CatalogServiceProductsPriceRules(
1282
+ stockItemId: string,
1283
+ itemPriceRuleId: string,
1284
+ ): CancelablePromise<PricingRuleDtoEnvelope> {
1285
+ return __request(OpenAPI, {
1286
+ method: 'DELETE',
1287
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PriceRules/{itemPriceRuleId}',
1288
+ path: {
1289
+ 'stockItemId': stockItemId,
1290
+ 'itemPriceRuleId': itemPriceRuleId,
1291
+ },
1292
+ errors: {
1293
+ 401: `Unauthorized`,
1294
+ 403: `Forbidden`,
1295
+ },
1296
+ });
1297
+ }
1298
+ /**
1299
+ * @param stockItemId
1300
+ * @returns ItemPricePolicyDtoListEnvelope Success
1301
+ * @throws ApiError
1302
+ */
1303
+ public static getApiV2CatalogServiceProductsPricePolicies(
1304
+ stockItemId: string,
1305
+ ): CancelablePromise<ItemPricePolicyDtoListEnvelope> {
1306
+ return __request(OpenAPI, {
1307
+ method: 'GET',
1308
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PricePolicies',
1309
+ path: {
1310
+ 'stockItemId': stockItemId,
1311
+ },
1312
+ errors: {
1313
+ 401: `Unauthorized`,
1314
+ 403: `Forbidden`,
1315
+ },
1316
+ });
1317
+ }
1318
+ /**
1319
+ * @param stockItemId
1320
+ * @param itemPricePolicyId
1321
+ * @returns ItemPricePolicyDtoEnvelope Success
1322
+ * @throws ApiError
1323
+ */
1324
+ public static getApiV2CatalogServiceProductsPricePolicies1(
1325
+ stockItemId: string,
1326
+ itemPricePolicyId: string,
1327
+ ): CancelablePromise<ItemPricePolicyDtoEnvelope> {
1328
+ return __request(OpenAPI, {
1329
+ method: 'GET',
1330
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PricePolicies/{itemPricePolicyId}',
1331
+ path: {
1332
+ 'stockItemId': stockItemId,
1333
+ 'itemPricePolicyId': itemPricePolicyId,
1334
+ },
1335
+ errors: {
1336
+ 401: `Unauthorized`,
1337
+ 403: `Forbidden`,
1338
+ },
1339
+ });
1340
+ }
1341
+ /**
1342
+ * @param stockItemId
1343
+ * @param itemPricePolicyId
1344
+ * @returns ItemPricePolicyDtoEnvelope Success
1345
+ * @throws ApiError
1346
+ */
1347
+ public static postApiV2CatalogServiceProductsPricePolicies(
1348
+ stockItemId: string,
1349
+ itemPricePolicyId: string,
1350
+ ): CancelablePromise<ItemPricePolicyDtoEnvelope> {
1351
+ return __request(OpenAPI, {
1352
+ method: 'POST',
1353
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PricePolicies/{itemPricePolicyId}',
1354
+ path: {
1355
+ 'stockItemId': stockItemId,
1356
+ 'itemPricePolicyId': itemPricePolicyId,
1357
+ },
1358
+ errors: {
1359
+ 401: `Unauthorized`,
1360
+ 403: `Forbidden`,
1361
+ },
1362
+ });
1363
+ }
1364
+ /**
1365
+ * @param stockItemId
1366
+ * @param itemPricePolicyId
1367
+ * @returns ItemPricePolicyDtoEnvelope Success
1368
+ * @throws ApiError
1369
+ */
1370
+ public static deleteApiV2CatalogServiceProductsPricePolicies(
1371
+ stockItemId: string,
1372
+ itemPricePolicyId: string,
1373
+ ): CancelablePromise<ItemPricePolicyDtoEnvelope> {
1374
+ return __request(OpenAPI, {
1375
+ method: 'DELETE',
1376
+ url: '/api/v2/CatalogService/Products/{stockItemId}/PricePolicies/{itemPricePolicyId}',
1377
+ path: {
1378
+ 'stockItemId': stockItemId,
1379
+ 'itemPricePolicyId': itemPricePolicyId,
1380
+ },
1381
+ errors: {
1382
+ 401: `Unauthorized`,
1383
+ 403: `Forbidden`,
1384
+ },
1385
+ });
1386
+ }
1387
+ /**
1388
+ * @param stockItemId
1389
+ * @returns ItemWarrantyPolicyDtoListEnvelope Success
1390
+ * @throws ApiError
1391
+ */
1392
+ public static getApiV2CatalogServiceProductsWarrantyPolicies(
1393
+ stockItemId: string,
1394
+ ): CancelablePromise<ItemWarrantyPolicyDtoListEnvelope> {
1395
+ return __request(OpenAPI, {
1396
+ method: 'GET',
1397
+ url: '/api/v2/CatalogService/Products/{stockItemId}/WarrantyPolicies',
1398
+ path: {
1399
+ 'stockItemId': stockItemId,
1400
+ },
1401
+ errors: {
1402
+ 401: `Unauthorized`,
1403
+ 403: `Forbidden`,
1404
+ },
1405
+ });
1406
+ }
1407
+ /**
1408
+ * @param stockItemId
1409
+ * @param itemWarrantyPolicyId
1410
+ * @returns ItemWarrantyPolicyDtoEnvelope Success
1411
+ * @throws ApiError
1412
+ */
1413
+ public static getApiV2CatalogServiceProductsWarrantyPolicies1(
1414
+ stockItemId: string,
1415
+ itemWarrantyPolicyId: string,
1416
+ ): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
1417
+ return __request(OpenAPI, {
1418
+ method: 'GET',
1419
+ url: '/api/v2/CatalogService/Products/{stockItemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
1420
+ path: {
1421
+ 'stockItemId': stockItemId,
1422
+ 'itemWarrantyPolicyId': itemWarrantyPolicyId,
1423
+ },
1424
+ errors: {
1425
+ 401: `Unauthorized`,
1426
+ 403: `Forbidden`,
1427
+ },
1428
+ });
1429
+ }
1430
+ /**
1431
+ * @param stockItemId
1432
+ * @param itemWarrantyPolicyId
1433
+ * @returns ItemWarrantyPolicyDtoEnvelope Success
1434
+ * @throws ApiError
1435
+ */
1436
+ public static postApiV2CatalogServiceProductsWarrantyPolicies(
1437
+ stockItemId: string,
1438
+ itemWarrantyPolicyId: string,
1439
+ ): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
1440
+ return __request(OpenAPI, {
1441
+ method: 'POST',
1442
+ url: '/api/v2/CatalogService/Products/{stockItemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
1443
+ path: {
1444
+ 'stockItemId': stockItemId,
1445
+ 'itemWarrantyPolicyId': itemWarrantyPolicyId,
1446
+ },
1447
+ errors: {
1448
+ 401: `Unauthorized`,
1449
+ 403: `Forbidden`,
1450
+ },
1451
+ });
1452
+ }
1453
+ /**
1454
+ * @param stockItemId
1455
+ * @param itemWarrantyPolicyId
1456
+ * @returns ItemWarrantyPolicyDtoEnvelope Success
1457
+ * @throws ApiError
1458
+ */
1459
+ public static deleteApiV2CatalogServiceProductsWarrantyPolicies(
1460
+ stockItemId: string,
1461
+ itemWarrantyPolicyId: string,
1462
+ ): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
1463
+ return __request(OpenAPI, {
1464
+ method: 'DELETE',
1465
+ url: '/api/v2/CatalogService/Products/{stockItemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
1466
+ path: {
1467
+ 'stockItemId': stockItemId,
1468
+ 'itemWarrantyPolicyId': itemWarrantyPolicyId,
1469
+ },
1470
+ errors: {
1471
+ 401: `Unauthorized`,
1472
+ 403: `Forbidden`,
1473
+ },
1474
+ });
1475
+ }
1476
+ /**
1477
+ * @param stockItemId
1478
+ * @returns ItemReturnPolicyDtoListEnvelope Success
1479
+ * @throws ApiError
1480
+ */
1481
+ public static getApiV2CatalogServiceProductsReturnPolicies(
1482
+ stockItemId: string,
1483
+ ): CancelablePromise<ItemReturnPolicyDtoListEnvelope> {
1484
+ return __request(OpenAPI, {
1485
+ method: 'GET',
1486
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ReturnPolicies',
1487
+ path: {
1488
+ 'stockItemId': stockItemId,
1489
+ },
1490
+ errors: {
1491
+ 401: `Unauthorized`,
1492
+ 403: `Forbidden`,
1493
+ },
1494
+ });
1495
+ }
1496
+ /**
1497
+ * @param stockItemId
1498
+ * @param itemReturnPolicyId
1499
+ * @returns ItemReturnPolicyDtoEnvelope Success
1500
+ * @throws ApiError
1501
+ */
1502
+ public static getApiV2CatalogServiceProductsReturnPolicies1(
1503
+ stockItemId: string,
1504
+ itemReturnPolicyId: string,
1505
+ ): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
1506
+ return __request(OpenAPI, {
1507
+ method: 'GET',
1508
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ReturnPolicies/{itemReturnPolicyId}',
1509
+ path: {
1510
+ 'stockItemId': stockItemId,
1511
+ 'itemReturnPolicyId': itemReturnPolicyId,
1512
+ },
1513
+ errors: {
1514
+ 401: `Unauthorized`,
1515
+ 403: `Forbidden`,
1516
+ },
1517
+ });
1518
+ }
1519
+ /**
1520
+ * @param stockItemId
1521
+ * @param itemReturnPolicyId
1522
+ * @returns ItemReturnPolicyDtoEnvelope Success
1523
+ * @throws ApiError
1524
+ */
1525
+ public static postApiV2CatalogServiceProductsReturnPolicies(
1526
+ stockItemId: string,
1527
+ itemReturnPolicyId: string,
1528
+ ): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
1529
+ return __request(OpenAPI, {
1530
+ method: 'POST',
1531
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ReturnPolicies/{itemReturnPolicyId}',
1532
+ path: {
1533
+ 'stockItemId': stockItemId,
1534
+ 'itemReturnPolicyId': itemReturnPolicyId,
1535
+ },
1536
+ errors: {
1537
+ 401: `Unauthorized`,
1538
+ 403: `Forbidden`,
1539
+ },
1540
+ });
1541
+ }
1542
+ /**
1543
+ * @param stockItemId
1544
+ * @param itemReturnPolicyId
1545
+ * @returns ItemReturnPolicyDtoEnvelope Success
1546
+ * @throws ApiError
1547
+ */
1548
+ public static deleteApiV2CatalogServiceProductsReturnPolicies(
1549
+ stockItemId: string,
1550
+ itemReturnPolicyId: string,
1551
+ ): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
1552
+ return __request(OpenAPI, {
1553
+ method: 'DELETE',
1554
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ReturnPolicies/{itemReturnPolicyId}',
1555
+ path: {
1556
+ 'stockItemId': stockItemId,
1557
+ 'itemReturnPolicyId': itemReturnPolicyId,
1558
+ },
1559
+ errors: {
1560
+ 401: `Unauthorized`,
1561
+ 403: `Forbidden`,
1562
+ },
1563
+ });
1564
+ }
1565
+ /**
1566
+ * @param stockItemId
1567
+ * @returns ItemRefundPolicyDtoListEnvelope Success
1568
+ * @throws ApiError
1569
+ */
1570
+ public static getApiV2CatalogServiceProductsRefundPolicies(
1571
+ stockItemId: string,
1572
+ ): CancelablePromise<ItemRefundPolicyDtoListEnvelope> {
1573
+ return __request(OpenAPI, {
1574
+ method: 'GET',
1575
+ url: '/api/v2/CatalogService/Products/{stockItemId}/RefundPolicies',
1576
+ path: {
1577
+ 'stockItemId': stockItemId,
1578
+ },
1579
+ errors: {
1580
+ 401: `Unauthorized`,
1581
+ 403: `Forbidden`,
1582
+ },
1583
+ });
1584
+ }
1585
+ /**
1586
+ * @param stockItemId
1587
+ * @param itemRefundPolicyId
1588
+ * @returns ItemRefundPolicyDtoEnvelope Success
1589
+ * @throws ApiError
1590
+ */
1591
+ public static getApiV2CatalogServiceProductsRefundPolicies1(
1592
+ stockItemId: string,
1593
+ itemRefundPolicyId: string,
1594
+ ): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
1595
+ return __request(OpenAPI, {
1596
+ method: 'GET',
1597
+ url: '/api/v2/CatalogService/Products/{stockItemId}/RefundPolicies/{itemRefundPolicyId}',
1598
+ path: {
1599
+ 'stockItemId': stockItemId,
1600
+ 'itemRefundPolicyId': itemRefundPolicyId,
1601
+ },
1602
+ errors: {
1603
+ 401: `Unauthorized`,
1604
+ 403: `Forbidden`,
1605
+ },
1606
+ });
1607
+ }
1608
+ /**
1609
+ * @param stockItemId
1610
+ * @param itemRefundPolicyId
1611
+ * @returns ItemRefundPolicyDtoEnvelope Success
1612
+ * @throws ApiError
1613
+ */
1614
+ public static postApiV2CatalogServiceProductsRefundPolicies(
1615
+ stockItemId: string,
1616
+ itemRefundPolicyId: string,
1617
+ ): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
1618
+ return __request(OpenAPI, {
1619
+ method: 'POST',
1620
+ url: '/api/v2/CatalogService/Products/{stockItemId}/RefundPolicies/{itemRefundPolicyId}',
1621
+ path: {
1622
+ 'stockItemId': stockItemId,
1623
+ 'itemRefundPolicyId': itemRefundPolicyId,
1624
+ },
1625
+ errors: {
1626
+ 401: `Unauthorized`,
1627
+ 403: `Forbidden`,
1628
+ },
1629
+ });
1630
+ }
1631
+ /**
1632
+ * @param stockItemId
1633
+ * @param itemRefundPolicyId
1634
+ * @returns ItemRefundPolicyDtoEnvelope Success
1635
+ * @throws ApiError
1636
+ */
1637
+ public static deleteApiV2CatalogServiceProductsRefundPolicies(
1638
+ stockItemId: string,
1639
+ itemRefundPolicyId: string,
1640
+ ): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
1641
+ return __request(OpenAPI, {
1642
+ method: 'DELETE',
1643
+ url: '/api/v2/CatalogService/Products/{stockItemId}/RefundPolicies/{itemRefundPolicyId}',
1644
+ path: {
1645
+ 'stockItemId': stockItemId,
1646
+ 'itemRefundPolicyId': itemRefundPolicyId,
1647
+ },
1648
+ errors: {
1649
+ 401: `Unauthorized`,
1650
+ 403: `Forbidden`,
1651
+ },
1652
+ });
1653
+ }
1654
+ /**
1655
+ * @param stockItemId
1656
+ * @returns ItemShippingPolicyDtoListEnvelope Success
1657
+ * @throws ApiError
1658
+ */
1659
+ public static getApiV2CatalogServiceProductsShippingPolicies(
1660
+ stockItemId: string,
1661
+ ): CancelablePromise<ItemShippingPolicyDtoListEnvelope> {
1662
+ return __request(OpenAPI, {
1663
+ method: 'GET',
1664
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ShippingPolicies',
1665
+ path: {
1666
+ 'stockItemId': stockItemId,
1667
+ },
1668
+ errors: {
1669
+ 401: `Unauthorized`,
1670
+ 403: `Forbidden`,
1671
+ },
1672
+ });
1673
+ }
1674
+ /**
1675
+ * @param stockItemId
1676
+ * @param itemShippingPolicyId
1677
+ * @returns ItemShippingPolicyDtoEnvelope Success
1678
+ * @throws ApiError
1679
+ */
1680
+ public static getApiV2CatalogServiceProductsShippingPolicies1(
1681
+ stockItemId: string,
1682
+ itemShippingPolicyId: string,
1683
+ ): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
1684
+ return __request(OpenAPI, {
1685
+ method: 'GET',
1686
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ShippingPolicies/{itemShippingPolicyId}',
1687
+ path: {
1688
+ 'stockItemId': stockItemId,
1689
+ 'itemShippingPolicyId': itemShippingPolicyId,
1690
+ },
1691
+ errors: {
1692
+ 401: `Unauthorized`,
1693
+ 403: `Forbidden`,
1694
+ },
1695
+ });
1696
+ }
1697
+ /**
1698
+ * @param stockItemId
1699
+ * @param itemShippingPolicyId
1700
+ * @returns ItemShippingPolicyDtoEnvelope Success
1701
+ * @throws ApiError
1702
+ */
1703
+ public static postApiV2CatalogServiceProductsShippingPolicies(
1704
+ stockItemId: string,
1705
+ itemShippingPolicyId: string,
1706
+ ): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
1707
+ return __request(OpenAPI, {
1708
+ method: 'POST',
1709
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ShippingPolicies/{itemShippingPolicyId}',
1710
+ path: {
1711
+ 'stockItemId': stockItemId,
1712
+ 'itemShippingPolicyId': itemShippingPolicyId,
1713
+ },
1714
+ errors: {
1715
+ 401: `Unauthorized`,
1716
+ 403: `Forbidden`,
1717
+ },
1718
+ });
1719
+ }
1720
+ /**
1721
+ * @param stockItemId
1722
+ * @param itemShippingPolicyId
1723
+ * @returns ItemShippingPolicyDtoEnvelope Success
1724
+ * @throws ApiError
1725
+ */
1726
+ public static deleteApiV2CatalogServiceProductsShippingPolicies(
1727
+ stockItemId: string,
1728
+ itemShippingPolicyId: string,
1729
+ ): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
1730
+ return __request(OpenAPI, {
1731
+ method: 'DELETE',
1732
+ url: '/api/v2/CatalogService/Products/{stockItemId}/ShippingPolicies/{itemShippingPolicyId}',
1733
+ path: {
1734
+ 'stockItemId': stockItemId,
1735
+ 'itemShippingPolicyId': itemShippingPolicyId,
1736
+ },
1737
+ errors: {
1738
+ 401: `Unauthorized`,
1739
+ 403: `Forbidden`,
1740
+ },
1741
+ });
1742
+ }
1743
+ }