@fenixalliance/abs-api-client 1.0.1 → 1.0.2

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 (461) hide show
  1. package/app/index.ts +5 -0
  2. package/clients/cartService/core/ApiError.ts +24 -24
  3. package/clients/cartService/core/ApiRequestOptions.ts +16 -16
  4. package/clients/cartService/core/ApiResult.ts +10 -10
  5. package/clients/cartService/core/CancelablePromise.ts +130 -130
  6. package/clients/cartService/core/OpenAPI.ts +31 -31
  7. package/clients/cartService/core/request.ts +321 -321
  8. package/clients/cartService/index.ts +36 -52
  9. package/clients/cartService/models/CartDto.ts +1 -0
  10. package/clients/cartService/models/{RegisterRequest.ts → CartUpdateRequest.ts} +3 -3
  11. package/clients/cartService/models/{InfoResponse.ts → CountrySwitchRequest.ts} +3 -3
  12. package/clients/cartService/models/EmptyEnvelope.ts +11 -0
  13. package/clients/cartService/models/ItemCartRecordCreateDto.ts +1 -0
  14. package/clients/cartService/models/ItemCartRecordDto.ts +3 -1
  15. package/clients/{catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts → cartService/models/ItemCartRecordDtoListEnvelope.ts} +3 -3
  16. package/clients/cartService/models/{ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts → ItemToCompareCartRecordDtoListEnvelope.ts} +1 -1
  17. package/clients/cartService/models/WishListDto.ts +2 -1
  18. package/clients/cartService/services/CartsService.ts +53 -7
  19. package/clients/cartService/services/CompareService.ts +7 -6
  20. package/clients/cartService/services/RecordsService.ts +23 -20
  21. package/clients/cartService/services/WishListsService.ts +17 -17
  22. package/clients/catalogService/core/ApiError.ts +24 -24
  23. package/clients/catalogService/core/ApiRequestOptions.ts +16 -16
  24. package/clients/catalogService/core/ApiResult.ts +10 -10
  25. package/clients/catalogService/core/CancelablePromise.ts +130 -130
  26. package/clients/catalogService/core/OpenAPI.ts +31 -31
  27. package/clients/catalogService/core/request.ts +321 -321
  28. package/clients/catalogService/index.ts +102 -124
  29. package/clients/catalogService/models/EmptyEnvelope.ts +11 -0
  30. package/clients/catalogService/models/ItemAttachmentCreateDto.ts +4 -8
  31. package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +2 -5
  32. package/clients/catalogService/models/ItemAttributeCreateDto.ts +3 -2
  33. package/clients/catalogService/models/{ItemAttributeDtoIReadOnlyCollectionEnvelope.ts → ItemAttributeDtoListEnvelope.ts} +1 -1
  34. package/clients/catalogService/models/ItemAttributeUpdateDto.ts +1 -1
  35. package/clients/catalogService/models/ItemBrandCreateDto.ts +4 -3
  36. package/clients/catalogService/models/ItemBrandUpdateDto.ts +1 -1
  37. package/clients/catalogService/models/ItemCategoryCreateDto.ts +3 -2
  38. package/clients/catalogService/models/ItemCategoryUpdateDto.ts +1 -1
  39. package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -3
  40. package/clients/catalogService/models/{ItemImagesCreateDto.ts → ItemImageCreateDto.ts} +4 -4
  41. package/clients/catalogService/models/ItemImageDto.ts +0 -1
  42. package/clients/catalogService/models/{ItemImagesUpdateDto.ts → ItemImageUpdateDto.ts} +6 -9
  43. package/clients/catalogService/models/ItemQuestionCreateDto.ts +6 -5
  44. package/clients/catalogService/models/ItemQuestionRecordCreateDto.ts +14 -0
  45. package/clients/catalogService/models/ItemQuestionUpdateDto.ts +1 -3
  46. package/clients/catalogService/models/ItemReviewCreateDto.ts +1 -0
  47. package/clients/catalogService/models/ItemReviewRecordCreateDto.ts +12 -0
  48. package/clients/catalogService/models/ItemShippingPolicyDto.ts +6 -6
  49. package/clients/catalogService/models/ItemTagCreateDto.ts +3 -2
  50. package/clients/catalogService/models/ItemTagUpdateDto.ts +1 -1
  51. package/clients/catalogService/models/ItemTypeCreateDto.ts +3 -2
  52. package/clients/catalogService/models/ItemTypeDto.ts +4 -4
  53. package/clients/catalogService/models/ItemTypeUpdateDto.ts +1 -1
  54. package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +3 -4
  55. package/clients/catalogService/models/PricingRuleCreateDto.ts +1 -1
  56. package/clients/catalogService/models/PricingRuleDto.ts +0 -1
  57. package/clients/catalogService/models/StockItemCreateDto.ts +100 -3
  58. package/clients/catalogService/models/StockItemDto.ts +133 -4
  59. package/clients/catalogService/models/StockItemUpdateDto.ts +99 -2
  60. package/clients/catalogService/services/ItemAttachmentsService.ts +24 -13
  61. package/clients/catalogService/services/ItemAttributesService.ts +19 -9
  62. package/clients/catalogService/services/ItemBrandsService.ts +19 -9
  63. package/clients/catalogService/services/ItemCategoriesService.ts +19 -9
  64. package/clients/catalogService/services/ItemImagesService.ts +23 -13
  65. package/clients/catalogService/services/ItemQuestionsService.ts +19 -9
  66. package/clients/catalogService/services/ItemReviewsService.ts +18 -8
  67. package/clients/catalogService/services/ItemTagsService.ts +17 -12
  68. package/clients/catalogService/services/ItemTypesService.ts +19 -9
  69. package/clients/catalogService/services/PricingRulesService.ts +19 -11
  70. package/clients/catalogService/services/ProductsService.ts +177 -214
  71. package/clients/{contactService → crmService}/core/ApiError.ts +24 -24
  72. package/clients/{contactService → crmService}/core/ApiRequestOptions.ts +16 -16
  73. package/clients/{contactService → crmService}/core/ApiResult.ts +10 -10
  74. package/clients/{contactService → crmService}/core/CancelablePromise.ts +130 -130
  75. package/clients/{contactService → crmService}/core/OpenAPI.ts +31 -31
  76. package/clients/{contactService → crmService}/core/request.ts +321 -321
  77. package/clients/crmService/index.ts +23 -0
  78. package/clients/crmService/models/CartDto.ts +18 -0
  79. package/clients/{cartService/models/WishListDtoEnvelope.ts → crmService/models/CartDtoEnvelope.ts} +3 -3
  80. package/clients/crmService/models/ContactDto.ts +57 -0
  81. package/clients/crmService/models/EmptyEnvelope.ts +11 -0
  82. package/clients/crmService/models/SocialProfileDto.ts +39 -0
  83. package/clients/crmService/models/SocialProfileDtoEnvelope.ts +14 -0
  84. package/clients/crmService/models/WalletDto.ts +22 -0
  85. package/clients/crmService/models/WalletDtoEnvelope.ts +14 -0
  86. package/clients/crmService/services/ContactsService.ts +286 -0
  87. package/clients/crmService/services/SyncService.ts +101 -0
  88. package/clients/forexService/core/ApiError.ts +24 -24
  89. package/clients/forexService/core/ApiRequestOptions.ts +16 -16
  90. package/clients/forexService/core/ApiResult.ts +10 -10
  91. package/clients/forexService/core/CancelablePromise.ts +130 -130
  92. package/clients/forexService/core/OpenAPI.ts +31 -31
  93. package/clients/forexService/core/request.ts +321 -321
  94. package/clients/forexService/index.ts +18 -30
  95. package/clients/{cartService/models/Envelope.ts → forexService/models/ErrorEnvelope.ts} +1 -2
  96. package/clients/forexService/models/ForexRatesDto.ts +1 -1
  97. package/clients/forexService/models/Money.ts +1 -1
  98. package/clients/forexService/services/ExchangeService.ts +17 -7
  99. package/clients/forexService/services/RatesService.ts +11 -1
  100. package/clients/holderService/core/ApiError.ts +24 -24
  101. package/clients/holderService/core/ApiRequestOptions.ts +16 -16
  102. package/clients/holderService/core/ApiResult.ts +10 -10
  103. package/clients/holderService/core/CancelablePromise.ts +130 -130
  104. package/clients/holderService/core/OpenAPI.ts +31 -31
  105. package/clients/holderService/core/request.ts +321 -321
  106. package/clients/holderService/index.ts +35 -31
  107. package/clients/holderService/models/AddressDto.ts +31 -0
  108. package/clients/holderService/models/AddressDtoListEnvelope.ts +14 -0
  109. package/clients/holderService/models/CartDto.ts +18 -0
  110. package/clients/holderService/models/CartDtoEnvelope.ts +14 -0
  111. package/clients/holderService/models/InvoiceDto.ts +13 -0
  112. package/clients/{invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts → holderService/models/InvoiceDtoListEnvelope.ts} +1 -1
  113. package/clients/holderService/models/NotificationDto.ts +16 -0
  114. package/clients/holderService/models/NotificationDtoListEnvelope.ts +14 -0
  115. package/clients/holderService/models/OrderDto.ts +27 -0
  116. package/clients/holderService/models/OrderDtoListEnvelope.ts +14 -0
  117. package/clients/holderService/models/PaymentDto.ts +17 -0
  118. package/clients/holderService/models/PaymentDtoListEnvelope.ts +14 -0
  119. package/clients/{identityService/models/AccountHolderDto.ts → holderService/models/PlatformUserDto.ts} +4 -4
  120. package/clients/holderService/models/PlatformUserDtoEnvelope.ts +14 -0
  121. package/clients/holderService/models/SocialProfileDto.ts +39 -0
  122. package/clients/holderService/models/SocialProfileDtoEnvelope.ts +14 -0
  123. package/clients/{identityService/models/BusinessDto.ts → holderService/models/TenantDto.ts} +16 -15
  124. package/clients/holderService/models/TenantDtoListEnvelope.ts +14 -0
  125. package/clients/holderService/models/TenantEnrollmentDto.ts +14 -0
  126. package/clients/holderService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
  127. package/clients/holderService/models/WalletDto.ts +22 -0
  128. package/clients/holderService/models/WalletDtoEnvelope.ts +14 -0
  129. package/clients/holderService/services/HolderService.ts +99 -28
  130. package/clients/identityService/core/ApiError.ts +24 -24
  131. package/clients/identityService/core/ApiRequestOptions.ts +16 -16
  132. package/clients/identityService/core/ApiResult.ts +10 -10
  133. package/clients/identityService/core/CancelablePromise.ts +130 -130
  134. package/clients/identityService/core/OpenAPI.ts +31 -31
  135. package/clients/identityService/core/request.ts +321 -321
  136. package/clients/identityService/index.ts +40 -53
  137. package/clients/identityService/models/AccountHolderCreateDto.ts +1 -0
  138. package/clients/identityService/models/ApiResponse.ts +4 -5
  139. package/clients/{holderService/models/AccountHolderDto.ts → identityService/models/PlatformUserDto.ts} +4 -4
  140. package/clients/{holderService/models/BusinessDto.ts → identityService/models/TenantDto.ts} +16 -15
  141. package/clients/identityService/services/CheckerService.ts +3 -2
  142. package/clients/identityService/services/OAuthService.ts +8 -6
  143. package/clients/inventoryService/core/ApiError.ts +24 -24
  144. package/clients/inventoryService/core/ApiRequestOptions.ts +16 -16
  145. package/clients/inventoryService/core/ApiResult.ts +10 -10
  146. package/clients/inventoryService/core/CancelablePromise.ts +130 -130
  147. package/clients/inventoryService/core/OpenAPI.ts +31 -31
  148. package/clients/inventoryService/core/request.ts +321 -321
  149. package/clients/inventoryService/index.ts +10 -24
  150. package/clients/invoicingService/core/ApiError.ts +24 -24
  151. package/clients/invoicingService/core/ApiRequestOptions.ts +16 -16
  152. package/clients/invoicingService/core/ApiResult.ts +10 -10
  153. package/clients/invoicingService/core/CancelablePromise.ts +130 -130
  154. package/clients/invoicingService/core/OpenAPI.ts +31 -31
  155. package/clients/invoicingService/core/request.ts +321 -321
  156. package/clients/invoicingService/index.ts +23 -28
  157. package/clients/invoicingService/models/EmptyEnvelope.ts +11 -0
  158. package/clients/invoicingService/models/InvoiceCreateDto.ts +11 -0
  159. package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +14 -0
  160. package/clients/{cartService/models/ProductCartRecordDto.ts → invoicingService/models/InvoiceLineDto.ts} +7 -10
  161. package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +14 -0
  162. package/clients/{catalogService/models/ItemPricePolicyDtoEnvelope.ts → invoicingService/models/InvoiceLineDtoListEnvelope.ts} +3 -3
  163. package/clients/{tenantService/models/IntPtr.ts → invoicingService/models/InvoiceUpdateDto.ts} +1 -1
  164. package/clients/invoicingService/models/ItemPriceCreateDto.ts +20 -0
  165. package/clients/invoicingService/models/ItemPriceUpdateDto.ts +14 -0
  166. package/clients/invoicingService/services/InvoicesService.ts +253 -15
  167. package/clients/ordersService/core/ApiError.ts +25 -0
  168. package/clients/ordersService/core/ApiRequestOptions.ts +17 -0
  169. package/clients/ordersService/core/ApiResult.ts +11 -0
  170. package/clients/ordersService/core/CancelablePromise.ts +131 -0
  171. package/clients/ordersService/core/OpenAPI.ts +32 -0
  172. package/clients/ordersService/core/request.ts +322 -0
  173. package/clients/ordersService/index.ts +23 -0
  174. package/clients/ordersService/models/EmptyEnvelope.ts +11 -0
  175. package/clients/ordersService/models/ErrorEnvelope.ts +12 -0
  176. package/clients/ordersService/models/ItemPriceCreateDto.ts +20 -0
  177. package/clients/ordersService/models/ItemPriceUpdateDto.ts +14 -0
  178. package/clients/ordersService/models/OrderCreateDto.ts +16 -0
  179. package/clients/ordersService/models/OrderDto.ts +27 -0
  180. package/clients/ordersService/models/OrderDtoEnvelope.ts +14 -0
  181. package/clients/ordersService/models/OrderDtoListEnvelope.ts +14 -0
  182. package/clients/ordersService/models/OrderLineDto.ts +95 -0
  183. package/clients/ordersService/models/OrderLineDtoEnvelope.ts +14 -0
  184. package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +14 -0
  185. package/clients/ordersService/models/OrderUpdateDto.ts +12 -0
  186. package/clients/ordersService/services/OrdersService.ts +296 -0
  187. package/clients/pricingService/core/ApiError.ts +24 -24
  188. package/clients/pricingService/core/ApiRequestOptions.ts +16 -16
  189. package/clients/pricingService/core/ApiResult.ts +10 -10
  190. package/clients/pricingService/core/CancelablePromise.ts +130 -130
  191. package/clients/pricingService/core/OpenAPI.ts +31 -31
  192. package/clients/pricingService/core/request.ts +321 -321
  193. package/clients/pricingService/index.ts +27 -29
  194. package/clients/pricingService/models/EmptyEnvelope.ts +11 -0
  195. package/clients/pricingService/models/ItemPriceCreateDto.ts +20 -0
  196. package/clients/pricingService/models/ItemPriceDto.ts +20 -0
  197. package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +14 -0
  198. package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +14 -0
  199. package/clients/pricingService/models/ItemPriceUpdateDto.ts +14 -0
  200. package/clients/pricingService/models/Money.ts +1 -1
  201. package/clients/pricingService/models/PriceListCreateDto.ts +18 -0
  202. package/clients/pricingService/models/PriceListDto.ts +17 -0
  203. package/clients/pricingService/models/PriceListDtoEnvelope.ts +14 -0
  204. package/clients/pricingService/models/PriceListDtoListEnvelope.ts +14 -0
  205. package/clients/pricingService/models/PriceListUpdateDto.ts +14 -0
  206. package/clients/pricingService/services/PriceListsService.ts +254 -8
  207. package/clients/systemService/core/ApiError.ts +25 -0
  208. package/clients/systemService/core/ApiRequestOptions.ts +17 -0
  209. package/clients/systemService/core/ApiResult.ts +11 -0
  210. package/clients/systemService/core/CancelablePromise.ts +131 -0
  211. package/clients/systemService/core/OpenAPI.ts +32 -0
  212. package/clients/systemService/core/request.ts +322 -0
  213. package/clients/systemService/index.ts +14 -0
  214. package/clients/systemService/models/ErrorEnvelope.ts +12 -0
  215. package/clients/systemService/models/StringListEnvelope.ts +13 -0
  216. package/clients/systemService/services/AntiforgeryService.ts +29 -0
  217. package/clients/systemService/services/MigrationsService.ts +44 -0
  218. package/clients/tenantService/core/ApiError.ts +24 -24
  219. package/clients/tenantService/core/ApiRequestOptions.ts +16 -16
  220. package/clients/tenantService/core/ApiResult.ts +10 -10
  221. package/clients/tenantService/core/CancelablePromise.ts +130 -130
  222. package/clients/tenantService/core/OpenAPI.ts +31 -31
  223. package/clients/tenantService/core/request.ts +321 -321
  224. package/clients/tenantService/index.ts +33 -62
  225. package/clients/tenantService/models/BooleanEnvelope.ts +13 -0
  226. package/clients/tenantService/models/CartDto.ts +18 -0
  227. package/clients/tenantService/models/CartDtoEnvelope.ts +14 -0
  228. package/clients/tenantService/models/EmptyEnvelope.ts +11 -0
  229. package/clients/tenantService/models/ErrorEnvelope.ts +12 -0
  230. package/clients/tenantService/models/PlatformUserDto.ts +73 -0
  231. package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +14 -0
  232. package/clients/tenantService/models/SocialProfileDto.ts +39 -0
  233. package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +14 -0
  234. package/clients/tenantService/models/{BusinessCreateDto.ts → TenantCreateDto.ts} +2 -1
  235. package/clients/tenantService/models/{BusinessDto.ts → TenantDto.ts} +16 -15
  236. package/clients/tenantService/models/TenantDtoEnvelope.ts +14 -0
  237. package/clients/tenantService/models/TenantEnrollmentDto.ts +14 -0
  238. package/clients/{cartService/models/WishListDtoIReadOnlyListEnvelope.ts → tenantService/models/TenantEnrollmentDtoEnvelope.ts} +3 -3
  239. package/clients/tenantService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
  240. package/clients/tenantService/models/WalletDto.ts +2 -1
  241. package/clients/tenantService/models/WalletDtoEnvelope.ts +14 -0
  242. package/clients/tenantService/models/{Error.ts → WebPortalDto.ts} +5 -3
  243. package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +14 -0
  244. package/clients/tenantService/services/TenantsService.ts +230 -105
  245. package/clients/walletsService/core/ApiError.ts +25 -0
  246. package/clients/walletsService/core/ApiRequestOptions.ts +17 -0
  247. package/clients/walletsService/core/ApiResult.ts +11 -0
  248. package/clients/walletsService/core/CancelablePromise.ts +131 -0
  249. package/clients/walletsService/core/OpenAPI.ts +32 -0
  250. package/clients/walletsService/core/request.ts +322 -0
  251. package/clients/walletsService/index.ts +22 -0
  252. package/clients/walletsService/models/ErrorEnvelope.ts +12 -0
  253. package/clients/walletsService/models/InvoiceDto.ts +13 -0
  254. package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +14 -0
  255. package/clients/walletsService/models/LocationDto.ts +31 -0
  256. package/clients/walletsService/models/LocationDtoListEnvelope.ts +14 -0
  257. package/clients/walletsService/models/OrderDto.ts +27 -0
  258. package/clients/walletsService/models/OrderDtoListEnvelope.ts +14 -0
  259. package/clients/walletsService/models/PaymentDto.ts +17 -0
  260. package/clients/walletsService/models/PaymentDtoListEnvelope.ts +14 -0
  261. package/clients/walletsService/models/WalletDto.ts +22 -0
  262. package/clients/walletsService/models/WalletDtoEnvelope.ts +14 -0
  263. package/clients/walletsService/services/WalletsService.ts +174 -0
  264. package/package.json +23 -21
  265. package/schemas/cartService/schema.s.ts +1166 -1560
  266. package/schemas/catalogService/schema.s.ts +5982 -6109
  267. package/schemas/crmService/schema.s.ts +804 -0
  268. package/schemas/forexService/schema.s.ts +602 -526
  269. package/schemas/holderService/schema.s.ts +831 -831
  270. package/schemas/identityService/schema.s.ts +744 -1119
  271. package/schemas/inventoryService/schema.s.ts +43 -425
  272. package/schemas/invoicingService/schema.s.ts +590 -521
  273. package/schemas/ordersService/schema.s.ts +605 -0
  274. package/schemas/pricingService/schema.s.ts +579 -549
  275. package/schemas/systemService/schema.s.ts +138 -0
  276. package/schemas/tenantService/schema.s.ts +1116 -1606
  277. package/schemas/walletsService/schema.s.ts +466 -0
  278. package/tsconfig.json +110 -0
  279. package/vite.config.js +29 -0
  280. package/wwwroot/build/bundle.js +1 -0
  281. package/clients/cartService/models/AccessTokenResponse.ts +0 -11
  282. package/clients/cartService/models/Error.ts +0 -10
  283. package/clients/cartService/models/ForgotPasswordRequest.ts +0 -8
  284. package/clients/cartService/models/HttpValidationProblemDetails.ts +0 -5
  285. package/clients/cartService/models/InfoRequest.ts +0 -10
  286. package/clients/cartService/models/LoginRequest.ts +0 -11
  287. package/clients/cartService/models/RefreshRequest.ts +0 -8
  288. package/clients/cartService/models/ResendConfirmationEmailRequest.ts +0 -8
  289. package/clients/cartService/models/ResetPasswordRequest.ts +0 -10
  290. package/clients/cartService/models/ResponseStatus.ts +0 -12
  291. package/clients/cartService/models/TwoFactorRequest.ts +0 -12
  292. package/clients/cartService/models/TwoFactorResponse.ts +0 -12
  293. package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +0 -14
  294. package/clients/cartService/services/FenixAllianceAbsWebService.ts +0 -293
  295. package/clients/catalogService/models/AccessTokenResponse.ts +0 -11
  296. package/clients/catalogService/models/ForgotPasswordRequest.ts +0 -8
  297. package/clients/catalogService/models/HttpValidationProblemDetails.ts +0 -5
  298. package/clients/catalogService/models/InfoRequest.ts +0 -10
  299. package/clients/catalogService/models/InfoResponse.ts +0 -9
  300. package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +0 -14
  301. package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +0 -14
  302. package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +0 -14
  303. package/clients/catalogService/models/ItemPricePolicyDto.ts +0 -35
  304. package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +0 -14
  305. package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +0 -14
  306. package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +0 -14
  307. package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +0 -14
  308. package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +0 -14
  309. package/clients/catalogService/models/LoginRequest.ts +0 -11
  310. package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +0 -14
  311. package/clients/catalogService/models/RefreshRequest.ts +0 -8
  312. package/clients/catalogService/models/RegisterRequest.ts +0 -9
  313. package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +0 -8
  314. package/clients/catalogService/models/ResetPasswordRequest.ts +0 -10
  315. package/clients/catalogService/models/TwoFactorRequest.ts +0 -12
  316. package/clients/catalogService/models/TwoFactorResponse.ts +0 -12
  317. package/clients/catalogService/services/FenixAllianceAbsWebService.ts +0 -293
  318. package/clients/contactService/index.ts +0 -28
  319. package/clients/contactService/models/AccessTokenResponse.ts +0 -11
  320. package/clients/contactService/models/ContactDto.ts +0 -44
  321. package/clients/contactService/models/ForgotPasswordRequest.ts +0 -8
  322. package/clients/contactService/models/HttpValidationProblemDetails.ts +0 -5
  323. package/clients/contactService/models/InfoRequest.ts +0 -10
  324. package/clients/contactService/models/InfoResponse.ts +0 -9
  325. package/clients/contactService/models/LoginRequest.ts +0 -11
  326. package/clients/contactService/models/RefreshRequest.ts +0 -8
  327. package/clients/contactService/models/RegisterRequest.ts +0 -9
  328. package/clients/contactService/models/ResendConfirmationEmailRequest.ts +0 -8
  329. package/clients/contactService/models/ResetPasswordRequest.ts +0 -10
  330. package/clients/contactService/models/TwoFactorRequest.ts +0 -12
  331. package/clients/contactService/models/TwoFactorResponse.ts +0 -12
  332. package/clients/contactService/services/ContactsService.ts +0 -140
  333. package/clients/contactService/services/FenixAllianceAbsWebService.ts +0 -293
  334. package/clients/forexService/models/AccessTokenResponse.ts +0 -11
  335. package/clients/forexService/models/ForgotPasswordRequest.ts +0 -8
  336. package/clients/forexService/models/HttpValidationProblemDetails.ts +0 -5
  337. package/clients/forexService/models/InfoRequest.ts +0 -10
  338. package/clients/forexService/models/InfoResponse.ts +0 -9
  339. package/clients/forexService/models/LoginRequest.ts +0 -11
  340. package/clients/forexService/models/RefreshRequest.ts +0 -8
  341. package/clients/forexService/models/RegisterRequest.ts +0 -9
  342. package/clients/forexService/models/ResendConfirmationEmailRequest.ts +0 -8
  343. package/clients/forexService/models/ResetPasswordRequest.ts +0 -10
  344. package/clients/forexService/models/TwoFactorRequest.ts +0 -12
  345. package/clients/forexService/models/TwoFactorResponse.ts +0 -12
  346. package/clients/forexService/services/FenixAllianceAbsWebService.ts +0 -293
  347. package/clients/holderService/models/AccessTokenResponse.ts +0 -11
  348. package/clients/holderService/models/AccountHolderCreateDto.ts +0 -34
  349. package/clients/holderService/models/AccountHolderDtoEnvelope.ts +0 -14
  350. package/clients/holderService/models/BusinessEnrollmentDto.ts +0 -19
  351. package/clients/holderService/models/ForgotPasswordRequest.ts +0 -8
  352. package/clients/holderService/models/HttpValidationProblemDetails.ts +0 -5
  353. package/clients/holderService/models/InfoRequest.ts +0 -10
  354. package/clients/holderService/models/InfoResponse.ts +0 -9
  355. package/clients/holderService/models/LoginRequest.ts +0 -11
  356. package/clients/holderService/models/RefreshRequest.ts +0 -8
  357. package/clients/holderService/models/RegisterRequest.ts +0 -9
  358. package/clients/holderService/models/ResendConfirmationEmailRequest.ts +0 -8
  359. package/clients/holderService/models/ResetPasswordRequest.ts +0 -10
  360. package/clients/holderService/models/TwoFactorRequest.ts +0 -12
  361. package/clients/holderService/models/TwoFactorResponse.ts +0 -12
  362. package/clients/holderService/services/FenixAllianceAbsWebService.ts +0 -293
  363. package/clients/identityService/models/AccessTokenResponse.ts +0 -11
  364. package/clients/identityService/models/ForgotPasswordRequest.ts +0 -8
  365. package/clients/identityService/models/HttpValidationProblemDetails.ts +0 -5
  366. package/clients/identityService/models/InfoRequest.ts +0 -10
  367. package/clients/identityService/models/InfoResponse.ts +0 -9
  368. package/clients/identityService/models/LoginRequest.ts +0 -11
  369. package/clients/identityService/models/RefreshRequest.ts +0 -8
  370. package/clients/identityService/models/RegisterRequest.ts +0 -9
  371. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +0 -8
  372. package/clients/identityService/models/ResetPasswordRequest.ts +0 -10
  373. package/clients/identityService/models/TwoFactorRequest.ts +0 -12
  374. package/clients/identityService/models/TwoFactorResponse.ts +0 -12
  375. package/clients/identityService/services/FenixAllianceAbsWebService.ts +0 -293
  376. package/clients/inventoryService/models/AccessTokenResponse.ts +0 -11
  377. package/clients/inventoryService/models/ForgotPasswordRequest.ts +0 -8
  378. package/clients/inventoryService/models/HttpValidationProblemDetails.ts +0 -5
  379. package/clients/inventoryService/models/InfoRequest.ts +0 -10
  380. package/clients/inventoryService/models/InfoResponse.ts +0 -9
  381. package/clients/inventoryService/models/LoginRequest.ts +0 -11
  382. package/clients/inventoryService/models/RefreshRequest.ts +0 -8
  383. package/clients/inventoryService/models/RegisterRequest.ts +0 -9
  384. package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +0 -8
  385. package/clients/inventoryService/models/ResetPasswordRequest.ts +0 -10
  386. package/clients/inventoryService/models/TwoFactorRequest.ts +0 -12
  387. package/clients/inventoryService/models/TwoFactorResponse.ts +0 -12
  388. package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +0 -293
  389. package/clients/invoicingService/models/AccessTokenResponse.ts +0 -11
  390. package/clients/invoicingService/models/ForgotPasswordRequest.ts +0 -8
  391. package/clients/invoicingService/models/HttpValidationProblemDetails.ts +0 -5
  392. package/clients/invoicingService/models/InfoRequest.ts +0 -10
  393. package/clients/invoicingService/models/InfoResponse.ts +0 -9
  394. package/clients/invoicingService/models/LoginRequest.ts +0 -11
  395. package/clients/invoicingService/models/RefreshRequest.ts +0 -8
  396. package/clients/invoicingService/models/RegisterRequest.ts +0 -9
  397. package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +0 -8
  398. package/clients/invoicingService/models/ResetPasswordRequest.ts +0 -10
  399. package/clients/invoicingService/models/TwoFactorRequest.ts +0 -12
  400. package/clients/invoicingService/models/TwoFactorResponse.ts +0 -12
  401. package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +0 -293
  402. package/clients/pricingService/models/AccessTokenResponse.ts +0 -11
  403. package/clients/pricingService/models/ForgotPasswordRequest.ts +0 -8
  404. package/clients/pricingService/models/HttpValidationProblemDetails.ts +0 -5
  405. package/clients/pricingService/models/InfoRequest.ts +0 -10
  406. package/clients/pricingService/models/InfoResponse.ts +0 -9
  407. package/clients/pricingService/models/LoginRequest.ts +0 -11
  408. package/clients/pricingService/models/RefreshRequest.ts +0 -8
  409. package/clients/pricingService/models/RegisterRequest.ts +0 -9
  410. package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +0 -8
  411. package/clients/pricingService/models/ResetPasswordRequest.ts +0 -10
  412. package/clients/pricingService/models/TwoFactorRequest.ts +0 -12
  413. package/clients/pricingService/models/TwoFactorResponse.ts +0 -12
  414. package/clients/pricingService/services/FenixAllianceAbsWebService.ts +0 -293
  415. package/clients/tenantService/models/AccessTokenResponse.ts +0 -11
  416. package/clients/tenantService/models/AccountHolderCreateDto.ts +0 -34
  417. package/clients/tenantService/models/AggregateException.ts +0 -18
  418. package/clients/tenantService/models/Assembly.ts +0 -46
  419. package/clients/tenantService/models/BusinessEnrollmentDto.ts +0 -19
  420. package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +0 -14
  421. package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +0 -14
  422. package/clients/tenantService/models/ConstructorInfo.ts +0 -103
  423. package/clients/tenantService/models/CustomAttributeData.ts +0 -15
  424. package/clients/tenantService/models/CustomAttributeNamedArgument.ts +0 -13
  425. package/clients/tenantService/models/CustomAttributeTypedArgument.ts +0 -10
  426. package/clients/tenantService/models/EventInfo.ts +0 -44
  427. package/clients/tenantService/models/Exception.ts +0 -16
  428. package/clients/tenantService/models/FieldInfo.ts +0 -74
  429. package/clients/tenantService/models/ForgotPasswordRequest.ts +0 -8
  430. package/clients/tenantService/models/HttpValidationProblemDetails.ts +0 -5
  431. package/clients/tenantService/models/ICustomAttributeProvider.ts +0 -5
  432. package/clients/tenantService/models/InfoRequest.ts +0 -10
  433. package/clients/tenantService/models/InfoResponse.ts +0 -9
  434. package/clients/tenantService/models/LoginRequest.ts +0 -11
  435. package/clients/tenantService/models/MemberInfo.ts +0 -31
  436. package/clients/tenantService/models/MethodBase.ts +0 -103
  437. package/clients/tenantService/models/MethodInfo.ts +0 -108
  438. package/clients/tenantService/models/Module.ts +0 -19
  439. package/clients/tenantService/models/ModuleHandle.ts +0 -8
  440. package/clients/tenantService/models/ParameterInfo.ts +0 -40
  441. package/clients/tenantService/models/PropertyInfo.ts +0 -49
  442. package/clients/tenantService/models/RefreshRequest.ts +0 -8
  443. package/clients/tenantService/models/RegisterRequest.ts +0 -9
  444. package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +0 -8
  445. package/clients/tenantService/models/ResetPasswordRequest.ts +0 -10
  446. package/clients/tenantService/models/ResponseStatus.ts +0 -12
  447. package/clients/tenantService/models/RuntimeFieldHandle.ts +0 -9
  448. package/clients/tenantService/models/RuntimeMethodHandle.ts +0 -9
  449. package/clients/tenantService/models/RuntimeTypeHandle.ts +0 -9
  450. package/clients/tenantService/models/StructLayoutAttribute.ts +0 -16
  451. package/clients/tenantService/models/TwoFactorRequest.ts +0 -12
  452. package/clients/tenantService/models/TwoFactorResponse.ts +0 -12
  453. package/clients/tenantService/models/Type.ts +0 -141
  454. package/clients/tenantService/models/TypeInfo.ts +0 -156
  455. package/clients/tenantService/models/WalletDtoTask.ts +0 -40
  456. package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +0 -14
  457. package/clients/tenantService/services/FenixAllianceAbsWebService.ts +0 -293
  458. package/schemas/contactService/schema.s.ts +0 -674
  459. /package/clients/{contactService → crmService}/models/ContactDtoEnvelope.ts +0 -0
  460. /package/clients/{contactService → crmService}/models/ContactDtoListEnvelope.ts +0 -0
  461. /package/clients/{contactService → crmService}/models/ErrorEnvelope.ts +0 -0
@@ -14,16 +14,16 @@ import type { ItemGoogleCategoryDtoEnvelope } from '../models/ItemGoogleCategory
14
14
  import type { ItemGoogleCategoryDtoListEnvelope } from '../models/ItemGoogleCategoryDtoListEnvelope';
15
15
  import type { ItemImageDtoEnvelope } from '../models/ItemImageDtoEnvelope';
16
16
  import type { ItemImageDtoListEnvelope } from '../models/ItemImageDtoListEnvelope';
17
- import type { ItemPricePolicyDtoEnvelope } from '../models/ItemPricePolicyDtoEnvelope';
18
- import type { ItemPricePolicyDtoListEnvelope } from '../models/ItemPricePolicyDtoListEnvelope';
19
17
  import type { ItemQuestionDtoEnvelope } from '../models/ItemQuestionDtoEnvelope';
20
18
  import type { ItemQuestionDtoListEnvelope } from '../models/ItemQuestionDtoListEnvelope';
19
+ import type { ItemQuestionRecordCreateDto } from '../models/ItemQuestionRecordCreateDto';
21
20
  import type { ItemRefundPolicyDtoEnvelope } from '../models/ItemRefundPolicyDtoEnvelope';
22
21
  import type { ItemRefundPolicyDtoListEnvelope } from '../models/ItemRefundPolicyDtoListEnvelope';
23
22
  import type { ItemReturnPolicyDtoEnvelope } from '../models/ItemReturnPolicyDtoEnvelope';
24
23
  import type { ItemReturnPolicyDtoListEnvelope } from '../models/ItemReturnPolicyDtoListEnvelope';
25
24
  import type { ItemReviewDtoEnvelope } from '../models/ItemReviewDtoEnvelope';
26
25
  import type { ItemReviewDtoListEnvelope } from '../models/ItemReviewDtoListEnvelope';
26
+ import type { ItemReviewRecordCreateDto } from '../models/ItemReviewRecordCreateDto';
27
27
  import type { ItemShippingPolicyDtoEnvelope } from '../models/ItemShippingPolicyDtoEnvelope';
28
28
  import type { ItemShippingPolicyDtoListEnvelope } from '../models/ItemShippingPolicyDtoListEnvelope';
29
29
  import type { ItemTagDtoEnvelope } from '../models/ItemTagDtoEnvelope';
@@ -82,22 +82,22 @@ export class ProductsService {
82
82
  });
83
83
  }
84
84
  /**
85
- * @param businessId
85
+ * @param tenantId
86
86
  * @param pageNumber
87
87
  * @param pageSize
88
88
  * @returns StockItemDtoListEnvelope Success
89
89
  * @throws ApiError
90
90
  */
91
91
  public static getApiV2CatalogServiceProductsByBusiness(
92
- businessId: string,
92
+ tenantId: string,
93
93
  pageNumber?: number,
94
94
  pageSize?: number,
95
95
  ): CancelablePromise<StockItemDtoListEnvelope> {
96
96
  return __request(OpenAPI, {
97
97
  method: 'GET',
98
- url: '/api/v2/CatalogService/Products/ByBusiness/{businessId}',
98
+ url: '/api/v2/CatalogService/Products/ByBusiness/{tenantId}',
99
99
  path: {
100
- 'businessId': businessId,
100
+ 'tenantId': tenantId,
101
101
  },
102
102
  query: {
103
103
  'pageNumber': pageNumber,
@@ -110,18 +110,18 @@ export class ProductsService {
110
110
  });
111
111
  }
112
112
  /**
113
- * @param businessId
113
+ * @param tenantId
114
114
  * @returns StockItemDtoListEnvelope Success
115
115
  * @throws ApiError
116
116
  */
117
117
  public static getApiV2CatalogServiceProductsByBusinessCount(
118
- businessId: string,
118
+ tenantId: string,
119
119
  ): CancelablePromise<StockItemDtoListEnvelope> {
120
120
  return __request(OpenAPI, {
121
121
  method: 'GET',
122
- url: '/api/v2/CatalogService/Products/ByBusiness/{businessId}/Count',
122
+ url: '/api/v2/CatalogService/Products/ByBusiness/{tenantId}/Count',
123
123
  path: {
124
- 'businessId': businessId,
124
+ 'tenantId': tenantId,
125
125
  },
126
126
  errors: {
127
127
  401: `Unauthorized`,
@@ -150,20 +150,20 @@ export class ProductsService {
150
150
  });
151
151
  }
152
152
  /**
153
- * @param businessId
153
+ * @param tenantId
154
154
  * @param requestBody
155
155
  * @returns any Success
156
156
  * @throws ApiError
157
157
  */
158
158
  public static postApiV2CatalogServiceProductsCreate(
159
- businessId: string,
159
+ tenantId: string,
160
160
  requestBody?: StockItemCreateDto,
161
161
  ): CancelablePromise<any> {
162
162
  return __request(OpenAPI, {
163
163
  method: 'POST',
164
164
  url: '/api/v2/CatalogService/Products/Create',
165
165
  query: {
166
- 'businessId': businessId,
166
+ 'tenantId': tenantId,
167
167
  },
168
168
  body: requestBody,
169
169
  mediaType: 'application/json',
@@ -174,14 +174,14 @@ export class ProductsService {
174
174
  });
175
175
  }
176
176
  /**
177
- * @param businessId
177
+ * @param tenantId
178
178
  * @param stockItemId
179
179
  * @param requestBody
180
180
  * @returns any Success
181
181
  * @throws ApiError
182
182
  */
183
183
  public static putApiV2CatalogServiceProductsUpdate(
184
- businessId: string,
184
+ tenantId: string,
185
185
  stockItemId: string,
186
186
  requestBody?: StockItemUpdateDto,
187
187
  ): CancelablePromise<any> {
@@ -192,7 +192,7 @@ export class ProductsService {
192
192
  'stockItemId': stockItemId,
193
193
  },
194
194
  query: {
195
- 'businessId': businessId,
195
+ 'tenantId': tenantId,
196
196
  },
197
197
  body: requestBody,
198
198
  mediaType: 'application/json',
@@ -203,13 +203,13 @@ export class ProductsService {
203
203
  });
204
204
  }
205
205
  /**
206
- * @param businessId
206
+ * @param tenantId
207
207
  * @param stockItemId
208
208
  * @returns any Success
209
209
  * @throws ApiError
210
210
  */
211
211
  public static deleteApiV2CatalogServiceProductsDelete(
212
- businessId: string,
212
+ tenantId: string,
213
213
  stockItemId: string,
214
214
  ): CancelablePromise<any> {
215
215
  return __request(OpenAPI, {
@@ -219,7 +219,7 @@ export class ProductsService {
219
219
  'stockItemId': stockItemId,
220
220
  },
221
221
  query: {
222
- 'businessId': businessId,
222
+ 'tenantId': tenantId,
223
223
  },
224
224
  errors: {
225
225
  401: `Unauthorized`,
@@ -228,12 +228,17 @@ export class ProductsService {
228
228
  });
229
229
  }
230
230
  /**
231
- * @param stockItemId
231
+ * Get all images related to a specific stock item
232
+ * @param stockItemId The stock item ID to get images for
233
+ * @param pageNumber
234
+ * @param pageSize
232
235
  * @returns ItemImageDtoListEnvelope Success
233
236
  * @throws ApiError
234
237
  */
235
238
  public static getApiV2CatalogServiceProductsImages(
236
239
  stockItemId: string,
240
+ pageNumber?: number,
241
+ pageSize?: number,
237
242
  ): CancelablePromise<ItemImageDtoListEnvelope> {
238
243
  return __request(OpenAPI, {
239
244
  method: 'GET',
@@ -241,6 +246,10 @@ export class ProductsService {
241
246
  path: {
242
247
  'stockItemId': stockItemId,
243
248
  },
249
+ query: {
250
+ 'pageNumber': pageNumber,
251
+ 'pageSize': pageSize,
252
+ },
244
253
  errors: {
245
254
  401: `Unauthorized`,
246
255
  403: `Forbidden`,
@@ -405,6 +414,95 @@ export class ProductsService {
405
414
  },
406
415
  });
407
416
  }
417
+ /**
418
+ * @param stockItemId
419
+ * @returns ItemCategoryDtoListEnvelope Success
420
+ * @throws ApiError
421
+ */
422
+ public static getApiV2CatalogServiceProductsCategories(
423
+ stockItemId: string,
424
+ ): CancelablePromise<ItemCategoryDtoListEnvelope> {
425
+ return __request(OpenAPI, {
426
+ method: 'GET',
427
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories',
428
+ path: {
429
+ 'stockItemId': stockItemId,
430
+ },
431
+ errors: {
432
+ 401: `Unauthorized`,
433
+ 403: `Forbidden`,
434
+ },
435
+ });
436
+ }
437
+ /**
438
+ * @param stockItemId
439
+ * @param itemCategoryId
440
+ * @returns ItemCategoryDtoEnvelope Success
441
+ * @throws ApiError
442
+ */
443
+ public static getApiV2CatalogServiceProductsCategories1(
444
+ stockItemId: string,
445
+ itemCategoryId: string,
446
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
447
+ return __request(OpenAPI, {
448
+ method: 'GET',
449
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
450
+ path: {
451
+ 'stockItemId': stockItemId,
452
+ 'itemCategoryId': itemCategoryId,
453
+ },
454
+ errors: {
455
+ 401: `Unauthorized`,
456
+ 403: `Forbidden`,
457
+ },
458
+ });
459
+ }
460
+ /**
461
+ * @param stockItemId
462
+ * @param itemCategoryId
463
+ * @returns ItemCategoryDtoEnvelope Success
464
+ * @throws ApiError
465
+ */
466
+ public static postApiV2CatalogServiceProductsCategories(
467
+ stockItemId: string,
468
+ itemCategoryId: string,
469
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
470
+ return __request(OpenAPI, {
471
+ method: 'POST',
472
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
473
+ path: {
474
+ 'stockItemId': stockItemId,
475
+ 'itemCategoryId': itemCategoryId,
476
+ },
477
+ errors: {
478
+ 401: `Unauthorized`,
479
+ 403: `Forbidden`,
480
+ },
481
+ });
482
+ }
483
+ /**
484
+ * @param stockItemId
485
+ * @param itemCategoryId
486
+ * @returns ItemCategoryDtoEnvelope Success
487
+ * @throws ApiError
488
+ */
489
+ public static deleteApiV2CatalogServiceProductsCategories(
490
+ stockItemId: string,
491
+ itemCategoryId: string,
492
+ ): CancelablePromise<ItemCategoryDtoEnvelope> {
493
+ return __request(OpenAPI, {
494
+ method: 'DELETE',
495
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Categories/{itemCategoryId}',
496
+ path: {
497
+ 'stockItemId': stockItemId,
498
+ 'itemCategoryId': itemCategoryId,
499
+ },
500
+ errors: {
501
+ 401: `Unauthorized`,
502
+ 403: `Forbidden`,
503
+ },
504
+ });
505
+ }
408
506
  /**
409
507
  * @param stockItemId
410
508
  * @returns ItemTypeDtoListEnvelope Success
@@ -605,21 +703,22 @@ export class ProductsService {
605
703
  }
606
704
  /**
607
705
  * @param stockItemId
608
- * @param itemReviewId
706
+ * @param requestBody
609
707
  * @returns ItemReviewDtoEnvelope Success
610
708
  * @throws ApiError
611
709
  */
612
- public static getApiV2CatalogServiceProductsReviews1(
710
+ public static postApiV2CatalogServiceProductsReviews(
613
711
  stockItemId: string,
614
- itemReviewId: string,
712
+ requestBody?: ItemReviewRecordCreateDto,
615
713
  ): CancelablePromise<ItemReviewDtoEnvelope> {
616
714
  return __request(OpenAPI, {
617
- method: 'GET',
618
- url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews/{itemReviewId}',
715
+ method: 'POST',
716
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews',
619
717
  path: {
620
718
  'stockItemId': stockItemId,
621
- 'itemReviewId': itemReviewId,
622
719
  },
720
+ body: requestBody,
721
+ mediaType: 'application/json',
623
722
  errors: {
624
723
  401: `Unauthorized`,
625
724
  403: `Forbidden`,
@@ -632,12 +731,12 @@ export class ProductsService {
632
731
  * @returns ItemReviewDtoEnvelope Success
633
732
  * @throws ApiError
634
733
  */
635
- public static postApiV2CatalogServiceProductsReviews(
734
+ public static getApiV2CatalogServiceProductsReviews1(
636
735
  stockItemId: string,
637
736
  itemReviewId: string,
638
737
  ): CancelablePromise<ItemReviewDtoEnvelope> {
639
738
  return __request(OpenAPI, {
640
- method: 'POST',
739
+ method: 'GET',
641
740
  url: '/api/v2/CatalogService/Products/{stockItemId}/Reviews/{itemReviewId}',
642
741
  path: {
643
742
  'stockItemId': stockItemId,
@@ -694,21 +793,22 @@ export class ProductsService {
694
793
  }
695
794
  /**
696
795
  * @param stockItemId
697
- * @param itemQuestionId
796
+ * @param requestBody
698
797
  * @returns ItemQuestionDtoEnvelope Success
699
798
  * @throws ApiError
700
799
  */
701
- public static getApiV2CatalogServiceProductsQuestions1(
800
+ public static postApiV2CatalogServiceProductsQuestions(
702
801
  stockItemId: string,
703
- itemQuestionId: string,
802
+ requestBody?: ItemQuestionRecordCreateDto,
704
803
  ): CancelablePromise<ItemQuestionDtoEnvelope> {
705
804
  return __request(OpenAPI, {
706
- method: 'GET',
707
- url: '/api/v2/CatalogService/Products/{stockItemId}/Questions/{itemQuestionId}',
805
+ method: 'POST',
806
+ url: '/api/v2/CatalogService/Products/{stockItemId}/Questions',
708
807
  path: {
709
808
  'stockItemId': stockItemId,
710
- 'itemQuestionId': itemQuestionId,
711
809
  },
810
+ body: requestBody,
811
+ mediaType: 'application/json',
712
812
  errors: {
713
813
  401: `Unauthorized`,
714
814
  403: `Forbidden`,
@@ -721,12 +821,12 @@ export class ProductsService {
721
821
  * @returns ItemQuestionDtoEnvelope Success
722
822
  * @throws ApiError
723
823
  */
724
- public static postApiV2CatalogServiceProductsQuestions(
824
+ public static getApiV2CatalogServiceProductsQuestions1(
725
825
  stockItemId: string,
726
826
  itemQuestionId: string,
727
827
  ): CancelablePromise<ItemQuestionDtoEnvelope> {
728
828
  return __request(OpenAPI, {
729
- method: 'POST',
829
+ method: 'GET',
730
830
  url: '/api/v2/CatalogService/Products/{stockItemId}/Questions/{itemQuestionId}',
731
831
  path: {
732
832
  'stockItemId': stockItemId,
@@ -761,95 +861,6 @@ export class ProductsService {
761
861
  },
762
862
  });
763
863
  }
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
864
  /**
854
865
  * @param stockItemId
855
866
  * @returns ItemAttachmentDtoListEnvelope Success
@@ -895,13 +906,39 @@ export class ProductsService {
895
906
  }
896
907
  /**
897
908
  * @param stockItemId
909
+ * @param fileName
898
910
  * @param itemAttachmentId
911
+ * @param isFolder
912
+ * @param title
913
+ * @param abstract
914
+ * @param author
915
+ * @param keyWords
916
+ * @param notes
917
+ * @param validResponse
918
+ * @param parentFileUploadId
919
+ * @param iD
920
+ * @param timestamp
921
+ * @param requestBody
899
922
  * @returns ItemAttachmentDtoEnvelope Success
900
923
  * @throws ApiError
901
924
  */
902
925
  public static postApiV2CatalogServiceProductsAttachments(
903
926
  stockItemId: string,
927
+ fileName: string,
904
928
  itemAttachmentId: string,
929
+ isFolder?: boolean,
930
+ title?: string,
931
+ abstract?: string,
932
+ author?: string,
933
+ keyWords?: string,
934
+ notes?: string,
935
+ validResponse?: boolean,
936
+ parentFileUploadId?: string,
937
+ iD?: string,
938
+ timestamp?: string,
939
+ requestBody?: {
940
+ file?: Blob;
941
+ },
905
942
  ): CancelablePromise<ItemAttachmentDtoEnvelope> {
906
943
  return __request(OpenAPI, {
907
944
  method: 'POST',
@@ -910,6 +947,21 @@ export class ProductsService {
910
947
  'stockItemId': stockItemId,
911
948
  'itemAttachmentId': itemAttachmentId,
912
949
  },
950
+ query: {
951
+ 'isFolder': isFolder,
952
+ 'fileName': fileName,
953
+ 'title': title,
954
+ 'abstract': abstract,
955
+ 'author': author,
956
+ 'keyWords': keyWords,
957
+ 'notes': notes,
958
+ 'validResponse': validResponse,
959
+ 'parentFileUploadID': parentFileUploadId,
960
+ 'iD': iD,
961
+ 'timestamp': timestamp,
962
+ },
963
+ body: requestBody,
964
+ mediaType: 'application/json',
913
965
  errors: {
914
966
  401: `Unauthorized`,
915
967
  403: `Forbidden`,
@@ -1295,95 +1347,6 @@ export class ProductsService {
1295
1347
  },
1296
1348
  });
1297
1349
  }
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
1350
  /**
1388
1351
  * @param stockItemId
1389
1352
  * @returns ItemWarrantyPolicyDtoListEnvelope Success
@@ -1,25 +1,25 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ApiRequestOptions } from './ApiRequestOptions';
6
- import type { ApiResult } from './ApiResult';
7
-
8
- export class ApiError extends Error {
9
- public readonly url: string;
10
- public readonly status: number;
11
- public readonly statusText: string;
12
- public readonly body: any;
13
- public readonly request: ApiRequestOptions;
14
-
15
- constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16
- super(message);
17
-
18
- this.name = 'ApiError';
19
- this.url = response.url;
20
- this.status = response.status;
21
- this.statusText = response.statusText;
22
- this.body = response.body;
23
- this.request = request;
24
- }
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiRequestOptions } from './ApiRequestOptions';
6
+ import type { ApiResult } from './ApiResult';
7
+
8
+ export class ApiError extends Error {
9
+ public readonly url: string;
10
+ public readonly status: number;
11
+ public readonly statusText: string;
12
+ public readonly body: any;
13
+ public readonly request: ApiRequestOptions;
14
+
15
+ constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16
+ super(message);
17
+
18
+ this.name = 'ApiError';
19
+ this.url = response.url;
20
+ this.status = response.status;
21
+ this.statusText = response.statusText;
22
+ this.body = response.body;
23
+ this.request = request;
24
+ }
25
25
  }
@@ -1,17 +1,17 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type ApiRequestOptions = {
6
- readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
7
- readonly url: string;
8
- readonly path?: Record<string, any>;
9
- readonly cookies?: Record<string, any>;
10
- readonly headers?: Record<string, any>;
11
- readonly query?: Record<string, any>;
12
- readonly formData?: Record<string, any>;
13
- readonly body?: any;
14
- readonly mediaType?: string;
15
- readonly responseHeader?: string;
16
- readonly errors?: Record<number, string>;
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ApiRequestOptions = {
6
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
7
+ readonly url: string;
8
+ readonly path?: Record<string, any>;
9
+ readonly cookies?: Record<string, any>;
10
+ readonly headers?: Record<string, any>;
11
+ readonly query?: Record<string, any>;
12
+ readonly formData?: Record<string, any>;
13
+ readonly body?: any;
14
+ readonly mediaType?: string;
15
+ readonly responseHeader?: string;
16
+ readonly errors?: Record<number, string>;
17
17
  };