@lcdp/api-react-rest-client 2.9.0-develop.13112067963 → 2.9.0-upgrade-codegen-client-react.12434127684

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 (632) hide show
  1. package/auth/src/apis/SearchApiKeyApi.d.ts +6 -6
  2. package/auth/src/apis/SearchApiKeyApi.js +6 -6
  3. package/auth/src/models/AnyAuthenticationCredential.d.ts +2 -1
  4. package/auth/src/models/AnyAuthenticationCredential.js +12 -7
  5. package/auth/src/models/AnyUser.d.ts +2 -1
  6. package/auth/src/models/AnyUser.js +10 -5
  7. package/auth/src/models/ApiKey.js +11 -11
  8. package/auth/src/models/ApiKeyCreationParameters.js +3 -3
  9. package/auth/src/models/DisposableTokenCreationParameters.js +1 -1
  10. package/auth/src/models/PaginatedApiKeys.js +3 -3
  11. package/auth/src/models/PaginatedObject.js +1 -1
  12. package/auth/src/models/RestError.d.ts +24 -26
  13. package/auth/src/models/RestError.js +23 -25
  14. package/auth/src/models/RevealedApiKey.js +12 -12
  15. package/auth/src/models/UserLink.js +3 -3
  16. package/auth/src/models/UserLinkAllOfCompany.js +1 -1
  17. package/banking-operation/src/apis/SearchLevyApi.d.ts +14 -14
  18. package/banking-operation/src/apis/SearchLevyApi.js +14 -14
  19. package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +2 -2
  20. package/banking-operation/src/apis/SearchOrderPaymentApi.js +2 -2
  21. package/banking-operation/src/models/Levy.js +8 -8
  22. package/banking-operation/src/models/LevyCreationParameters.js +2 -2
  23. package/banking-operation/src/models/LevyPayment.js +2 -2
  24. package/banking-operation/src/models/LevyPaymentStatus.d.ts +4 -3
  25. package/banking-operation/src/models/LevyPaymentStatus.js +8 -4
  26. package/banking-operation/src/models/LevyStatus.d.ts +3 -2
  27. package/banking-operation/src/models/LevyStatus.js +7 -3
  28. package/banking-operation/src/models/LevyUpdateParameters.js +2 -2
  29. package/banking-operation/src/models/OrderLink.js +1 -1
  30. package/banking-operation/src/models/OrderPayment.js +5 -5
  31. package/banking-operation/src/models/OrderPaymentDeposit.js +1 -1
  32. package/banking-operation/src/models/OrderPaymentWallets.js +2 -2
  33. package/banking-operation/src/models/OrderPaymentWithdraw.js +4 -4
  34. package/banking-operation/src/models/PaginatedLevies.js +3 -3
  35. package/banking-operation/src/models/PaginatedObject.js +1 -1
  36. package/banking-operation/src/models/PaginatedOrderPayments.js +3 -3
  37. package/banking-operation/src/models/Transaction.d.ts +4 -4
  38. package/banking-operation/src/models/Transaction.js +10 -10
  39. package/banking-operation/src/models/TransactionMangopayTarget.js +1 -1
  40. package/banking-operation/src/models/UserLink.js +1 -1
  41. package/banking-operation/src/models/UserLinkAllOfCompany.js +1 -1
  42. package/banking-operation/src/models/Wallet.js +1 -1
  43. package/banking-operation/src/models/WalletMangopayTarget.js +1 -1
  44. package/catalog/src/apis/SearchProductInsightApi.d.ts +4 -4
  45. package/catalog/src/apis/SearchProductInsightApi.js +4 -4
  46. package/catalog/src/models/Barcodes.js +4 -4
  47. package/catalog/src/models/LaboratoryLink.js +2 -2
  48. package/catalog/src/models/PaginatedObject.js +1 -1
  49. package/catalog/src/models/PaginatedProductInsights.js +3 -3
  50. package/catalog/src/models/ProductInsight.js +12 -12
  51. package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +11 -11
  52. package/catalog/src/models/ProductInsightJournal.js +4 -4
  53. package/catalog/src/models/ProductSecondaryTypeLink.js +2 -2
  54. package/catalog/src/models/ProductStorageType.d.ts +5 -4
  55. package/catalog/src/models/ProductStorageType.js +9 -5
  56. package/catalog/src/models/ProductTypeLink.js +2 -2
  57. package/catalog/src/models/RestError.d.ts +24 -26
  58. package/catalog/src/models/RestError.js +23 -25
  59. package/catalog/src/models/VatLink.js +3 -3
  60. package/challenge/src/models/Challenge.js +2 -2
  61. package/challenge/src/models/ChallengeAction.d.ts +1 -1
  62. package/challenge/src/models/ChallengeAction.js +2 -2
  63. package/configuration/src/models/RestError.d.ts +24 -26
  64. package/configuration/src/models/RestError.js +23 -25
  65. package/content/src/models/Content.js +7 -7
  66. package/content/src/models/RestError.d.ts +24 -26
  67. package/content/src/models/RestError.js +23 -25
  68. package/factory/src/apis/SearchAssemblyApi.d.ts +6 -6
  69. package/factory/src/apis/SearchAssemblyApi.js +6 -6
  70. package/factory/src/models/AnyDistributionMode.d.ts +2 -1
  71. package/factory/src/models/AnyDistributionMode.js +11 -6
  72. package/factory/src/models/AnyFactory.d.ts +2 -1
  73. package/factory/src/models/AnyFactory.js +11 -6
  74. package/factory/src/models/Assembly.js +15 -15
  75. package/factory/src/models/AssemblyCreationParameters.js +2 -2
  76. package/factory/src/models/AssemblyJournal.js +4 -4
  77. package/factory/src/models/AssemblyOutputInner.d.ts +2 -2
  78. package/factory/src/models/AssemblyOutputInner.js +2 -2
  79. package/factory/src/models/AssemblyStatus.d.ts +9 -8
  80. package/factory/src/models/AssemblyStatus.js +13 -9
  81. package/factory/src/models/OfferPlanificationFactory.js +3 -3
  82. package/factory/src/models/OfferPlanificationFactoryAllOfRecords.js +5 -5
  83. package/factory/src/models/PaginatedAssemblies.js +3 -3
  84. package/factory/src/models/PaginatedObject.js +1 -1
  85. package/factory/src/models/Product.js +9 -9
  86. package/factory/src/models/ProductStatus.d.ts +5 -4
  87. package/factory/src/models/ProductStatus.js +9 -5
  88. package/factory/src/models/ProductUpsertFactory.js +2 -2
  89. package/factory/src/models/ProductUpsertFactoryAllOfRecords.js +1 -1
  90. package/factory/src/models/RangeDistributionMode.js +2 -2
  91. package/factory/src/models/SaleOfferStatus.d.ts +8 -7
  92. package/factory/src/models/SaleOfferStatus.js +12 -8
  93. package/factory/src/models/SaleOfferUpsertFactory.js +3 -3
  94. package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.js +5 -5
  95. package/factory/src/models/StatusEnum.d.ts +9 -8
  96. package/factory/src/models/StatusEnum.js +13 -9
  97. package/factory/src/models/Stock.js +4 -4
  98. package/factory/src/models/UserLink.js +1 -1
  99. package/favorite/src/apis/ManageFavoriteProductApi.d.ts +4 -4
  100. package/favorite/src/apis/ManageFavoriteProductApi.js +4 -4
  101. package/favorite/src/models/Barcodes.js +4 -4
  102. package/favorite/src/models/FavoriteProduct.js +4 -4
  103. package/favorite/src/models/PaginatedFavoriteProducts.js +3 -3
  104. package/favorite/src/models/PaginatedObject.js +1 -1
  105. package/favorite/src/models/ProductLink.js +3 -3
  106. package/favorite/src/models/ProductStatus.d.ts +5 -4
  107. package/favorite/src/models/ProductStatus.js +9 -5
  108. package/favorite/src/models/RestError.d.ts +24 -26
  109. package/favorite/src/models/RestError.js +23 -25
  110. package/inventory/src/apis/ManageInventoryApi.d.ts +17 -5
  111. package/inventory/src/apis/ManageInventoryApi.js +86 -12
  112. package/inventory/src/apis/SearchInventoryApi.d.ts +76 -83
  113. package/inventory/src/apis/SearchInventoryApi.js +141 -160
  114. package/inventory/src/models/ActiveProduct.d.ts +3 -10
  115. package/inventory/src/models/ActiveProduct.js +5 -8
  116. package/inventory/src/models/ActiveProductUpdateParameters.d.ts +3 -4
  117. package/inventory/src/models/ActiveProductUpdateParameters.js +2 -3
  118. package/inventory/src/models/Barcodes.js +4 -4
  119. package/inventory/src/models/MisalignedProduct.d.ts +0 -6
  120. package/inventory/src/models/MisalignedProduct.js +4 -6
  121. package/inventory/src/models/OverstockProduct.d.ts +0 -6
  122. package/inventory/src/models/OverstockProduct.js +1 -3
  123. package/inventory/src/models/OverstockProductUpdateParameters.js +1 -1
  124. package/inventory/src/models/PaginatedActiveProducts.js +3 -3
  125. package/inventory/src/models/PaginatedMisalignedProducts.js +3 -3
  126. package/inventory/src/models/PaginatedObject.js +1 -1
  127. package/inventory/src/models/PaginatedOverstockProducts.js +3 -3
  128. package/inventory/src/models/ProductLink.js +3 -3
  129. package/inventory/src/models/RestError.d.ts +24 -26
  130. package/inventory/src/models/RestError.js +23 -25
  131. package/inventory/src/models/Statistics.js +3 -3
  132. package/inventory/src/models/StatisticsActiveProducts.js +2 -2
  133. package/inventory/src/models/StatisticsMisalignedProducts.js +1 -1
  134. package/inventory/src/models/StatisticsOverstockProducts.js +1 -1
  135. package/inventory/src/models/Synchroneity.d.ts +32 -0
  136. package/inventory/src/models/Synchroneity.js +46 -0
  137. package/inventory/src/models/SynchroneityOffisante.d.ts +38 -0
  138. package/inventory/src/models/SynchroneityOffisante.js +48 -0
  139. package/inventory/src/models/SynchroneitySource.d.ts +37 -0
  140. package/inventory/src/models/SynchroneitySource.js +47 -0
  141. package/inventory/src/models/index.d.ts +3 -4
  142. package/inventory/src/models/index.js +3 -4
  143. package/invoice/src/apis/SearchInvoiceApi.d.ts +10 -10
  144. package/invoice/src/apis/SearchInvoiceApi.js +10 -10
  145. package/invoice/src/apis/SearchInvoiceLineApi.d.ts +4 -4
  146. package/invoice/src/apis/SearchInvoiceLineApi.js +4 -4
  147. package/invoice/src/apis/SearchOrderTallyApi.d.ts +8 -8
  148. package/invoice/src/apis/SearchOrderTallyApi.js +8 -8
  149. package/invoice/src/models/Invoice.js +4 -4
  150. package/invoice/src/models/InvoiceSummaryCreationParameters.js +4 -4
  151. package/invoice/src/models/InvoiceType.d.ts +14 -13
  152. package/invoice/src/models/InvoiceType.js +18 -14
  153. package/invoice/src/models/InvoiceUpdateParameters.js +2 -2
  154. package/invoice/src/models/OrderLink.js +3 -3
  155. package/invoice/src/models/OrderTally.js +5 -5
  156. package/invoice/src/models/PaginatedInvoices.js +3 -3
  157. package/invoice/src/models/PaginatedObject.js +1 -1
  158. package/invoice/src/models/PaginatedOrderTallies.js +3 -3
  159. package/invoice/src/models/PaginatedPlannedInvoiceLine.js +3 -3
  160. package/invoice/src/models/PlannedInvoiceLine.js +3 -3
  161. package/invoice/src/models/RestError.d.ts +24 -26
  162. package/invoice/src/models/RestError.js +23 -25
  163. package/invoice/src/models/UserLink.js +3 -3
  164. package/invoice/src/models/UserLinkAllOfCompany.js +1 -1
  165. package/laboratory/src/apis/SearchLaboratoryApi.d.ts +2 -2
  166. package/laboratory/src/apis/SearchLaboratoryApi.js +2 -2
  167. package/laboratory/src/models/Laboratory.js +2 -2
  168. package/laboratory/src/models/PaginatedLaboratories.js +3 -3
  169. package/laboratory/src/models/PaginatedObject.js +1 -1
  170. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.d.ts +7 -7
  171. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +7 -7
  172. package/laboratory-store/src/models/DisplayType.d.ts +3 -2
  173. package/laboratory-store/src/models/DisplayType.js +7 -3
  174. package/laboratory-store/src/models/Image.js +2 -2
  175. package/laboratory-store/src/models/ImageVersions.js +5 -5
  176. package/laboratory-store/src/models/LaboratoryStore.js +13 -13
  177. package/laboratory-store/src/models/LaboratoryStoreCreationParameters.js +8 -8
  178. package/laboratory-store/src/models/LaboratoryStoreUpdateParameters.js +10 -10
  179. package/laboratory-store/src/models/LaboratoryType.d.ts +6 -5
  180. package/laboratory-store/src/models/LaboratoryType.js +10 -6
  181. package/laboratory-store/src/models/OwnerLink.js +2 -2
  182. package/laboratory-store/src/models/PaginatedLaboratoryStores.js +3 -3
  183. package/laboratory-store/src/models/PaginatedObject.js +1 -1
  184. package/laboratory-store/src/models/RestError.d.ts +24 -26
  185. package/laboratory-store/src/models/RestError.js +23 -25
  186. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +2 -2
  187. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +2 -2
  188. package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.d.ts +2 -1
  189. package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.js +9 -4
  190. package/laboratory-store-log/src/models/LaboratoryStoreLog.js +3 -3
  191. package/laboratory-store-log/src/models/Log.js +2 -2
  192. package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogs.js +3 -3
  193. package/laboratory-store-log/src/models/PaginatedObject.js +1 -1
  194. package/lexicon/src/models/PaginatedObject.js +1 -1
  195. package/lexicon/src/models/PaginatedTags.js +3 -3
  196. package/lexicon/src/models/PharmacyGroup.js +2 -2
  197. package/lexicon/src/models/PharmacyLocation.js +2 -2
  198. package/lexicon/src/models/PharmacySoftware.js +2 -2
  199. package/lexicon/src/models/RestError.d.ts +24 -26
  200. package/lexicon/src/models/RestError.js +23 -25
  201. package/lexicon/src/models/Tag.js +2 -2
  202. package/lexicon/src/models/TagCreationParameters.js +1 -1
  203. package/litigation/src/models/RestError.d.ts +24 -26
  204. package/litigation/src/models/RestError.js +23 -25
  205. package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
  206. package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +11 -6
  207. package/magic-cart/src/models/Barcodes.js +4 -4
  208. package/magic-cart/src/models/ExpressOrder.js +3 -3
  209. package/magic-cart/src/models/ExpressOrderCreationParameters.js +3 -3
  210. package/magic-cart/src/models/ExpressOrderNeed.js +2 -2
  211. package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
  212. package/magic-cart/src/models/ProductLink.js +2 -2
  213. package/magic-cart/src/models/ProductStorageType.d.ts +5 -4
  214. package/magic-cart/src/models/ProductStorageType.js +9 -5
  215. package/magic-cart/src/models/SaleOfferLink.js +3 -3
  216. package/magic-cart/src/models/SaleOfferProposal.js +2 -2
  217. package/magic-cart/src/models/SellerProposal.js +3 -3
  218. package/magic-cart/src/models/Stock.js +4 -4
  219. package/mandate/src/models/Challenge.js +2 -2
  220. package/mandate/src/models/ChallengeAction.d.ts +1 -1
  221. package/mandate/src/models/ChallengeAction.js +2 -2
  222. package/mandate/src/models/Mandate.d.ts +5 -5
  223. package/mandate/src/models/Mandate.js +9 -9
  224. package/mandate/src/models/MandateChallenge.js +2 -2
  225. package/mandate/src/models/MandateCreationParameters.js +2 -2
  226. package/mangopay-hook/src/models/RestError.d.ts +24 -26
  227. package/mangopay-hook/src/models/RestError.js +23 -25
  228. package/message/src/apis/SearchMessageApi.d.ts +4 -4
  229. package/message/src/apis/SearchMessageApi.js +4 -4
  230. package/message/src/models/Message.js +1 -1
  231. package/message/src/models/MessageUpdateParameters.js +3 -3
  232. package/message/src/models/MessageViewerCreationParameters.js +1 -1
  233. package/message/src/models/PaginatedMessages.js +3 -3
  234. package/message/src/models/PaginatedObject.js +1 -1
  235. package/notification/src/apis/SearchNotificationApi.d.ts +2 -2
  236. package/notification/src/apis/SearchNotificationApi.js +2 -2
  237. package/notification/src/apis/SearchNotificationTypeApi.d.ts +6 -6
  238. package/notification/src/apis/SearchNotificationTypeApi.js +6 -6
  239. package/notification/src/models/Notification.js +11 -11
  240. package/notification/src/models/NotificationType.js +10 -10
  241. package/notification/src/models/NotificationTypeAttachment.js +8 -8
  242. package/notification/src/models/NotificationTypeId.d.ts +49 -48
  243. package/notification/src/models/NotificationTypeId.js +53 -49
  244. package/notification/src/models/NotificationTypeUpdateParameters.js +6 -6
  245. package/notification/src/models/NotificationUpdateParameters.js +2 -2
  246. package/notification/src/models/PaginatedNotificationTypes.js +3 -3
  247. package/notification/src/models/PaginatedNotifications.js +3 -3
  248. package/notification/src/models/PaginatedObject.js +1 -1
  249. package/notification/src/models/RestError.d.ts +24 -26
  250. package/notification/src/models/RestError.js +23 -25
  251. package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +2 -2
  252. package/order/src/apis/SearchFreeCarriageCouponApi.js +2 -2
  253. package/order/src/apis/SearchOrderApi.d.ts +18 -18
  254. package/order/src/apis/SearchOrderApi.js +18 -18
  255. package/order/src/apis/SearchOrderItemApi.d.ts +24 -24
  256. package/order/src/apis/SearchOrderItemApi.js +24 -24
  257. package/order/src/models/Address.js +4 -4
  258. package/order/src/models/Anomalies.js +4 -4
  259. package/order/src/models/AnomaliesUpdateParameters.js +4 -4
  260. package/order/src/models/AnyMetaOrderWarning.d.ts +2 -1
  261. package/order/src/models/AnyMetaOrderWarning.js +10 -5
  262. package/order/src/models/Barcodes.js +4 -4
  263. package/order/src/models/FreeCarriageCoupon.js +12 -12
  264. package/order/src/models/FreeCarriageCouponCreationParameters.js +6 -6
  265. package/order/src/models/MetaOrder.js +5 -5
  266. package/order/src/models/MetaOrderCreationParameters.js +2 -2
  267. package/order/src/models/MetaOrderWithWarnings.js +3 -3
  268. package/order/src/models/Order.js +29 -29
  269. package/order/src/models/OrderAddedItem.js +12 -12
  270. package/order/src/models/OrderItem.js +12 -12
  271. package/order/src/models/OrderItemPrices.js +5 -5
  272. package/order/src/models/OrderItemRefundedCreationParameters.js +1 -1
  273. package/order/src/models/OrderItemWarning.d.ts +5 -5
  274. package/order/src/models/OrderItemWarning.js +6 -6
  275. package/order/src/models/OrderItemsOperation.d.ts +4 -3
  276. package/order/src/models/OrderItemsOperation.js +8 -4
  277. package/order/src/models/OrderJournal.js +17 -17
  278. package/order/src/models/OrderPrices.js +9 -9
  279. package/order/src/models/OrderRefundedItem.js +12 -12
  280. package/order/src/models/OrderRemovedItem.js +12 -12
  281. package/order/src/models/OrderStatus.d.ts +16 -15
  282. package/order/src/models/OrderStatus.js +20 -16
  283. package/order/src/models/OrderStatusReason.d.ts +4 -3
  284. package/order/src/models/OrderStatusReason.js +8 -4
  285. package/order/src/models/OrderStorageType.d.ts +5 -4
  286. package/order/src/models/OrderStorageType.js +9 -5
  287. package/order/src/models/OrderThreads.js +1 -1
  288. package/order/src/models/OrderType.d.ts +3 -2
  289. package/order/src/models/OrderType.js +7 -3
  290. package/order/src/models/OrderUpdateParameters.js +4 -4
  291. package/order/src/models/OrderWarning.d.ts +2 -2
  292. package/order/src/models/OrderWarning.js +2 -2
  293. package/order/src/models/PaginatedFreeCarriageCoupons.js +3 -3
  294. package/order/src/models/PaginatedObject.js +1 -1
  295. package/order/src/models/PaginatedOrders.js +3 -3
  296. package/order/src/models/ProductLink.js +4 -4
  297. package/order/src/models/ProductStorageType.d.ts +5 -4
  298. package/order/src/models/ProductStorageType.js +9 -5
  299. package/order/src/models/Reservation.js +7 -7
  300. package/order/src/models/ReservationUpdateParameters.js +1 -1
  301. package/order/src/models/RestError.d.ts +24 -26
  302. package/order/src/models/RestError.js +23 -25
  303. package/order/src/models/ShoppedOffer.js +1 -1
  304. package/order/src/models/UpdateOrderStatusParameters.d.ts +9 -8
  305. package/order/src/models/UpdateOrderStatusParameters.js +13 -9
  306. package/order/src/models/UserLink.js +5 -5
  307. package/order/src/models/UserLinkAllOfCompany.js +1 -1
  308. package/order-log/src/apis/SearchOrderLogApi.d.ts +2 -2
  309. package/order-log/src/apis/SearchOrderLogApi.js +2 -2
  310. package/order-log/src/models/AnyOrderLog.d.ts +2 -1
  311. package/order-log/src/models/AnyOrderLog.js +9 -4
  312. package/order-log/src/models/Log.js +2 -2
  313. package/order-log/src/models/OrderLog.js +4 -4
  314. package/order-log/src/models/OrderStatusReason.d.ts +4 -3
  315. package/order-log/src/models/OrderStatusReason.js +8 -4
  316. package/order-log/src/models/PaginatedObject.js +1 -1
  317. package/order-log/src/models/PaginatedOrderLogs.js +3 -3
  318. package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +4 -4
  319. package/outrage-message/src/apis/SearchOutrageMessageApi.js +4 -4
  320. package/outrage-message/src/models/OutrageMessage.js +7 -7
  321. package/outrage-message/src/models/OutrageMessageUpdateParameters.js +2 -2
  322. package/outrage-message/src/models/PaginatedObject.js +1 -1
  323. package/outrage-message/src/models/PaginatedOutrageMessages.js +3 -3
  324. package/package.json +1 -1
  325. package/product/src/apis/SearchProductApi.d.ts +18 -18
  326. package/product/src/apis/SearchProductApi.js +18 -18
  327. package/product/src/apis/SearchProductProscriptionApi.d.ts +4 -4
  328. package/product/src/apis/SearchProductProscriptionApi.js +4 -4
  329. package/product/src/models/Barcodes.js +4 -4
  330. package/product/src/models/DataProvider.d.ts +6 -5
  331. package/product/src/models/DataProvider.js +10 -6
  332. package/product/src/models/Image.js +4 -4
  333. package/product/src/models/ImageVersions.js +5 -5
  334. package/product/src/models/LaboratoryLink.js +2 -2
  335. package/product/src/models/PaginatedObject.js +1 -1
  336. package/product/src/models/PaginatedProductProscriptions.js +3 -3
  337. package/product/src/models/PaginatedProducts.js +3 -3
  338. package/product/src/models/Product.js +18 -18
  339. package/product/src/models/ProductCreationOrUpdateParameters.js +20 -20
  340. package/product/src/models/ProductDispensationPlace.d.ts +3 -2
  341. package/product/src/models/ProductDispensationPlace.js +7 -3
  342. package/product/src/models/ProductJournal.js +2 -2
  343. package/product/src/models/ProductMarketStatus.d.ts +7 -6
  344. package/product/src/models/ProductMarketStatus.js +11 -7
  345. package/product/src/models/ProductProscription.js +5 -5
  346. package/product/src/models/ProductProscriptionCreationParameters.js +1 -1
  347. package/product/src/models/ProductSecondaryType.js +2 -2
  348. package/product/src/models/ProductSource.js +5 -5
  349. package/product/src/models/ProductSourceBcb.js +3 -3
  350. package/product/src/models/ProductSourceFields.js +19 -19
  351. package/product/src/models/ProductSourceFieldsBarcodes.js +4 -4
  352. package/product/src/models/ProductStatus.d.ts +5 -4
  353. package/product/src/models/ProductStatus.js +9 -5
  354. package/product/src/models/ProductStorageType.d.ts +5 -4
  355. package/product/src/models/ProductStorageType.js +9 -5
  356. package/product/src/models/ProductType.js +2 -2
  357. package/product/src/models/RestError.d.ts +24 -26
  358. package/product/src/models/RestError.js +23 -25
  359. package/product/src/models/Statistics.js +1 -1
  360. package/pub/src/apis/SearchPubApi.d.ts +27 -27
  361. package/pub/src/apis/SearchPubApi.js +27 -27
  362. package/pub/src/models/Image.js +1 -1
  363. package/pub/src/models/ImageVersions.js +5 -5
  364. package/pub/src/models/PaginatedObject.js +1 -1
  365. package/pub/src/models/PaginatedPubStatistics.js +3 -3
  366. package/pub/src/models/PaginatedPubs.js +3 -3
  367. package/pub/src/models/Pub.js +13 -13
  368. package/pub/src/models/PubCreationParameters.js +3 -3
  369. package/pub/src/models/PubLocationEnum.d.ts +4 -3
  370. package/pub/src/models/PubLocationEnum.js +8 -4
  371. package/pub/src/models/PubSchedule.js +4 -4
  372. package/pub/src/models/PubStatistics.js +4 -4
  373. package/pub/src/models/PubTimecard.js +4 -4
  374. package/pub/src/models/PubUpdateParameters.js +6 -6
  375. package/pub/src/models/RestError.d.ts +24 -26
  376. package/pub/src/models/RestError.js +23 -25
  377. package/pub/src/models/UserLink.js +3 -3
  378. package/pub/src/models/UserLinkAllOfCompany.js +1 -1
  379. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +4 -4
  380. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +4 -4
  381. package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +4 -4
  382. package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +4 -4
  383. package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +4 -4
  384. package/recommendation/src/apis/SearchProductRecommendationApi.js +4 -4
  385. package/recommendation/src/models/FavoriteProductRecommendation.js +5 -5
  386. package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +3 -3
  387. package/recommendation/src/models/PaginatedObject.js +1 -1
  388. package/recommendation/src/models/PaginatedProductPriceRecommendations.js +3 -3
  389. package/recommendation/src/models/PaginatedProductRecommendations.js +3 -3
  390. package/recommendation/src/models/ProductLink.js +1 -1
  391. package/recommendation/src/models/ProductPriceRecommendation.js +3 -3
  392. package/recommendation/src/models/ProductRecommendation.js +5 -5
  393. package/recommendation/src/models/ProductRecommendationType.d.ts +4 -3
  394. package/recommendation/src/models/ProductRecommendationType.js +8 -4
  395. package/recommendation/src/models/UserLink.js +1 -1
  396. package/rfx/src/apis/SearchRfoiApi.d.ts +10 -10
  397. package/rfx/src/apis/SearchRfoiApi.js +10 -10
  398. package/rfx/src/models/OrderLink.js +1 -1
  399. package/rfx/src/models/PaginatedObject.js +1 -1
  400. package/rfx/src/models/PaginatedRfois.js +3 -3
  401. package/rfx/src/models/RestError.d.ts +24 -26
  402. package/rfx/src/models/RestError.js +23 -25
  403. package/rfx/src/models/RfiCreationParameters.js +5 -5
  404. package/rfx/src/models/Rfoi.js +9 -9
  405. package/rfx/src/models/RfoiUpdateParameters.js +1 -1
  406. package/rfx/src/models/UserLink.js +3 -3
  407. package/rfx/src/models/UserLinkAllOfCompany.js +1 -1
  408. package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +35 -35
  409. package/sale-offer/src/apis/SearchSaleOfferApi.js +35 -35
  410. package/sale-offer/src/models/AnyDistributionMode.d.ts +2 -1
  411. package/sale-offer/src/models/AnyDistributionMode.js +11 -6
  412. package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
  413. package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +11 -6
  414. package/sale-offer/src/models/Barcodes.js +4 -4
  415. package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +2 -2
  416. package/sale-offer/src/models/ImageVersions.js +5 -5
  417. package/sale-offer/src/models/Images.js +3 -3
  418. package/sale-offer/src/models/OwnerLink.js +3 -3
  419. package/sale-offer/src/models/OwnerLinkAllOfCompany.js +1 -1
  420. package/sale-offer/src/models/PaginatedObject.js +1 -1
  421. package/sale-offer/src/models/PaginatedSaleOffers.js +3 -3
  422. package/sale-offer/src/models/ProductImageLink.js +2 -2
  423. package/sale-offer/src/models/ProductLink.js +3 -3
  424. package/sale-offer/src/models/RangeDistributionMode.js +2 -2
  425. package/sale-offer/src/models/RestError.d.ts +24 -26
  426. package/sale-offer/src/models/RestError.js +23 -25
  427. package/sale-offer/src/models/SaleOffer.js +13 -13
  428. package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +3 -3
  429. package/sale-offer/src/models/SaleOfferCreationParameters.js +8 -8
  430. package/sale-offer/src/models/SaleOfferJournal.js +2 -2
  431. package/sale-offer/src/models/SaleOfferNewVersionParameters.js +5 -5
  432. package/sale-offer/src/models/SaleOfferStatisticLink.js +5 -5
  433. package/sale-offer/src/models/SaleOfferStatus.d.ts +8 -7
  434. package/sale-offer/src/models/SaleOfferStatus.js +12 -8
  435. package/sale-offer/src/models/SaleOfferStatusReason.d.ts +7 -6
  436. package/sale-offer/src/models/SaleOfferStatusReason.js +11 -7
  437. package/sale-offer/src/models/SaleOfferUpdateParameters.js +2 -2
  438. package/sale-offer/src/models/SaleOfferUpdateParametersStock.js +1 -1
  439. package/sale-offer/src/models/Stock.js +4 -4
  440. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.d.ts +2 -2
  441. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +2 -2
  442. package/sale-offer-log/src/models/AnySaleOfferLog.d.ts +2 -1
  443. package/sale-offer-log/src/models/AnySaleOfferLog.js +9 -4
  444. package/sale-offer-log/src/models/Log.js +2 -2
  445. package/sale-offer-log/src/models/PaginatedObject.js +1 -1
  446. package/sale-offer-log/src/models/PaginatedSaleOfferLogs.js +3 -3
  447. package/sale-offer-log/src/models/SaleOfferLog.js +3 -3
  448. package/servant/src/models/RestError.d.ts +24 -26
  449. package/servant/src/models/RestError.js +23 -25
  450. package/servant/src/models/Servant.js +7 -7
  451. package/servant/src/models/Task.js +3 -3
  452. package/shipment/src/apis/SearchOrderCarriageApi.d.ts +4 -4
  453. package/shipment/src/apis/SearchOrderCarriageApi.js +4 -4
  454. package/shipment/src/models/CancelParcelResponse.js +3 -3
  455. package/shipment/src/models/DeliveryStatus.js +2 -2
  456. package/shipment/src/models/OrderCarriage.js +4 -4
  457. package/shipment/src/models/OrderCarriageShipmentCreationParameters.js +1 -1
  458. package/shipment/src/models/OrderLink.js +1 -1
  459. package/shipment/src/models/PaginatedObject.js +1 -1
  460. package/shipment/src/models/PaginatedOrderCarriages.js +3 -3
  461. package/shipment/src/models/RestError.d.ts +24 -26
  462. package/shipment/src/models/RestError.js +23 -25
  463. package/shipment/src/models/Shipment.js +8 -8
  464. package/shipment/src/models/ShipmentCreationParameters.js +2 -2
  465. package/shipment/src/models/ShipmentError.d.ts +1 -1
  466. package/shipment/src/models/ShipmentError.js +2 -2
  467. package/shipment/src/models/ShipmentLabels.js +2 -2
  468. package/shipment/src/models/ShipmentParcel.js +4 -4
  469. package/shipment/src/models/ShipmentParcelStatus.d.ts +4 -3
  470. package/shipment/src/models/ShipmentParcelStatus.js +8 -4
  471. package/shipment/src/models/SkybillLink.js +1 -1
  472. package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +4 -4
  473. package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -4
  474. package/shopping-cart/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
  475. package/shopping-cart/src/models/AnyIdentifiedDistributionMode.js +11 -6
  476. package/shopping-cart/src/models/Barcodes.js +4 -4
  477. package/shopping-cart/src/models/Cart.js +4 -4
  478. package/shopping-cart/src/models/CartSubCart.js +5 -5
  479. package/shopping-cart/src/models/CartSubCartLine.js +3 -3
  480. package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +1 -1
  481. package/shopping-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
  482. package/shopping-cart/src/models/ProductLink.js +2 -2
  483. package/shopping-cart/src/models/ProductStorageType.d.ts +5 -4
  484. package/shopping-cart/src/models/ProductStorageType.js +9 -5
  485. package/shopping-cart/src/models/RestError.d.ts +24 -26
  486. package/shopping-cart/src/models/RestError.js +23 -25
  487. package/shopping-cart/src/models/SaleOfferLink.js +4 -4
  488. package/shopping-cart/src/models/SaleOfferStatus.d.ts +8 -7
  489. package/shopping-cart/src/models/SaleOfferStatus.js +12 -8
  490. package/shopping-cart/src/models/SellerLink.js +3 -3
  491. package/shopping-cart/src/models/ShoppedOffer.js +1 -1
  492. package/shopping-cart/src/models/Stock.js +4 -4
  493. package/shopping-cart/src/models/UserRole.d.ts +9 -8
  494. package/shopping-cart/src/models/UserRole.js +13 -9
  495. package/smuggler/src/models/RestError.d.ts +24 -26
  496. package/smuggler/src/models/RestError.js +23 -25
  497. package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +2 -2
  498. package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +2 -2
  499. package/statistic/src/models/PaginatedObject.js +1 -1
  500. package/statistic/src/models/PaginatedSaleOfferStatistics.js +3 -3
  501. package/statistic/src/models/PaginatedUserStatistics.js +3 -3
  502. package/statistic/src/models/RestError.d.ts +24 -26
  503. package/statistic/src/models/RestError.js +23 -25
  504. package/statistic/src/models/SaleOfferStatistic.js +8 -8
  505. package/statistic/src/models/UserLink.js +1 -1
  506. package/statistic/src/models/UserStatistic.js +8 -8
  507. package/subscription/src/apis/SearchSubscriptionApi.d.ts +8 -8
  508. package/subscription/src/apis/SearchSubscriptionApi.js +8 -8
  509. package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +2 -2
  510. package/subscription/src/apis/SearchSubscriptionPlanApi.js +2 -2
  511. package/subscription/src/models/PaginatedObject.js +1 -1
  512. package/subscription/src/models/PaginatedSubscriptions.js +3 -3
  513. package/subscription/src/models/RestError.d.ts +24 -26
  514. package/subscription/src/models/RestError.js +23 -25
  515. package/subscription/src/models/SubscriberLink.js +1 -1
  516. package/subscription/src/models/Subscription.js +11 -11
  517. package/subscription/src/models/SubscriptionCreationParameters.js +1 -1
  518. package/subscription/src/models/SubscriptionPlan.js +8 -8
  519. package/subscription/src/models/SubscriptionPlanFeature.js +3 -3
  520. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +4 -3
  521. package/subscription/src/models/SubscriptionPlanFeatureId.js +8 -4
  522. package/subscription/src/models/SubscriptionPlanId.d.ts +4 -3
  523. package/subscription/src/models/SubscriptionPlanId.js +8 -4
  524. package/subscription/src/models/SubscriptionPlanLink.js +1 -1
  525. package/subscription/src/models/SubscriptionPlanUpdateParameters.js +7 -7
  526. package/subscription/src/models/SubscriptionUpdateParameters.js +9 -9
  527. package/third-party/src/models/RestError.d.ts +24 -26
  528. package/third-party/src/models/RestError.js +23 -25
  529. package/third-party/src/models/ThirdPartyLink.js +1 -1
  530. package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -2
  531. package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -2
  532. package/thread/src/apis/SearchThreadCommentApi.d.ts +4 -4
  533. package/thread/src/apis/SearchThreadCommentApi.js +4 -4
  534. package/thread/src/models/Comment.js +7 -7
  535. package/thread/src/models/PaginatedComments.js +3 -3
  536. package/thread/src/models/PaginatedObject.js +1 -1
  537. package/thread/src/models/Thread.js +1 -1
  538. package/ubo/src/models/Address.js +2 -2
  539. package/ubo/src/models/RestError.d.ts +24 -26
  540. package/ubo/src/models/RestError.js +23 -25
  541. package/ubo/src/models/Ubo.js +6 -6
  542. package/ubo/src/models/UboDeclaration.d.ts +6 -6
  543. package/ubo/src/models/UboDeclaration.js +13 -13
  544. package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.js +2 -2
  545. package/user/src/apis/ManageUserDocumentApi.d.ts +18 -18
  546. package/user/src/apis/ManageUserDocumentApi.js +18 -18
  547. package/user/src/apis/SearchUserApi.d.ts +20 -20
  548. package/user/src/apis/SearchUserApi.js +20 -20
  549. package/user/src/apis/SearchUserDocumentApi.d.ts +30 -30
  550. package/user/src/apis/SearchUserDocumentApi.js +30 -30
  551. package/user/src/models/Address.js +4 -4
  552. package/user/src/models/Gender.d.ts +3 -2
  553. package/user/src/models/Gender.js +7 -3
  554. package/user/src/models/KycLevel.d.ts +3 -2
  555. package/user/src/models/KycLevel.js +7 -3
  556. package/user/src/models/MyPasswordUpdateParameters.js +2 -2
  557. package/user/src/models/NotificationTypeId.d.ts +49 -48
  558. package/user/src/models/NotificationTypeId.js +53 -49
  559. package/user/src/models/NotificationTypeLink.js +1 -1
  560. package/user/src/models/OffisanteStatus.d.ts +4 -3
  561. package/user/src/models/OffisanteStatus.js +8 -4
  562. package/user/src/models/PaginatedObject.js +1 -1
  563. package/user/src/models/PaginatedUsers.js +3 -3
  564. package/user/src/models/ProductTypeLink.js +2 -2
  565. package/user/src/models/RestError.d.ts +24 -26
  566. package/user/src/models/RestError.js +23 -25
  567. package/user/src/models/SomeonePasswordUpdateParameters.js +1 -1
  568. package/user/src/models/User.js +46 -46
  569. package/user/src/models/UserBankAccountCreationParameters.js +2 -2
  570. package/user/src/models/UserBankAccountLink.js +1 -1
  571. package/user/src/models/UserCompany.js +15 -15
  572. package/user/src/models/UserCreationParameters.js +3 -3
  573. package/user/src/models/UserCustomCommissions.js +2 -2
  574. package/user/src/models/UserCustomCommissionsUpdateParameters.js +2 -2
  575. package/user/src/models/UserDelegatedServices.js +3 -3
  576. package/user/src/models/UserDocument.d.ts +10 -10
  577. package/user/src/models/UserDocument.js +15 -15
  578. package/user/src/models/UserDocumentStatus.d.ts +6 -5
  579. package/user/src/models/UserDocumentStatus.js +10 -6
  580. package/user/src/models/UserFavoriteLaboratoryStoreLink.js +1 -1
  581. package/user/src/models/UserFeature.js +2 -2
  582. package/user/src/models/UserForbiddenSellerLink.js +1 -1
  583. package/user/src/models/UserJournal.js +2 -2
  584. package/user/src/models/UserMangopayTarget.js +1 -1
  585. package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +1 -1
  586. package/user/src/models/UserRole.d.ts +9 -8
  587. package/user/src/models/UserRole.js +13 -9
  588. package/user/src/models/UserRule.js +5 -5
  589. package/user/src/models/UserRuleActionEnum.d.ts +2 -1
  590. package/user/src/models/UserRuleActionEnum.js +6 -2
  591. package/user/src/models/UserRuleAttributeEnum.d.ts +3 -2
  592. package/user/src/models/UserRuleAttributeEnum.js +7 -3
  593. package/user/src/models/UserRuleComparatorEnum.d.ts +3 -2
  594. package/user/src/models/UserRuleComparatorEnum.js +7 -3
  595. package/user/src/models/UserRuleCreationParameters.js +3 -3
  596. package/user/src/models/UserSocialNetwork.js +7 -7
  597. package/user/src/models/UserStatisticLink.js +6 -6
  598. package/user/src/models/UserThreads.js +1 -1
  599. package/user/src/models/UserUpdateParameters.js +21 -21
  600. package/user/src/models/UserWalletLink.js +1 -1
  601. package/user/src/models/UserWallets.js +4 -4
  602. package/wish/src/apis/SearchProductEnthusiasmApi.d.ts +10 -10
  603. package/wish/src/apis/SearchProductEnthusiasmApi.js +10 -10
  604. package/wish/src/apis/SearchWishApi.d.ts +10 -10
  605. package/wish/src/apis/SearchWishApi.js +10 -10
  606. package/wish/src/models/Barcodes.js +4 -4
  607. package/wish/src/models/DesiredSellerLink.js +3 -3
  608. package/wish/src/models/OwnerLink.js +3 -3
  609. package/wish/src/models/OwnerLinkAllOfCompany.js +1 -1
  610. package/wish/src/models/PaginatedObject.js +1 -1
  611. package/wish/src/models/PaginatedProductEnthusiasms.js +3 -3
  612. package/wish/src/models/PaginatedWishes.js +3 -3
  613. package/wish/src/models/ProductEnthusiasm.js +6 -6
  614. package/wish/src/models/ProductLink.js +3 -3
  615. package/wish/src/models/Referrer.js +2 -2
  616. package/wish/src/models/RestError.d.ts +24 -26
  617. package/wish/src/models/RestError.js +23 -25
  618. package/wish/src/models/Wish.js +15 -15
  619. package/wish/src/models/WishCreationParameters.js +5 -5
  620. package/wish/src/models/WishReferrerType.d.ts +3 -2
  621. package/wish/src/models/WishReferrerType.js +7 -3
  622. package/wish/src/models/WishStatus.d.ts +4 -3
  623. package/wish/src/models/WishStatus.js +8 -4
  624. package/wish/src/models/WishUpdateParameters.js +5 -5
  625. package/inventory/src/models/Inventory.d.ts +0 -63
  626. package/inventory/src/models/Inventory.js +0 -57
  627. package/inventory/src/models/InventoryJournal.d.ts +0 -31
  628. package/inventory/src/models/InventoryJournal.js +0 -45
  629. package/inventory/src/models/PaginatedInventories.d.ts +0 -39
  630. package/inventory/src/models/PaginatedInventories.js +0 -53
  631. package/inventory/src/models/SynchronizationMode.d.ts +0 -25
  632. package/inventory/src/models/SynchronizationMode.js +0 -48
@@ -18,29 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
18
18
  * @export
19
19
  */
20
20
  exports.RestErrorCodeEnum = {
21
- CODE000: 'CODE000',
22
- CODE001: 'CODE001',
23
- CODE002: 'CODE002',
24
- CODE003: 'CODE003',
25
- CODE004: 'CODE004',
26
- CODE005: 'CODE005',
27
- CODE006: 'CODE006',
28
- CODE007: 'CODE007',
29
- CODE008: 'CODE008',
30
- CODE009: 'CODE009',
31
- CODE010: 'CODE010',
32
- CODE011: 'CODE011',
33
- CODE012: 'CODE012',
34
- CODE013: 'CODE013',
35
- CODE014: 'CODE014',
36
- CODE015: 'CODE015',
37
- CODE016: 'CODE016',
38
- CODE017: 'CODE017',
39
- CODE018: 'CODE018',
40
- CODE019: 'CODE019',
41
- CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
21
+ Code000: 'CODE000',
22
+ Code001: 'CODE001',
23
+ Code002: 'CODE002',
24
+ Code003: 'CODE003',
25
+ Code004: 'CODE004',
26
+ Code005: 'CODE005',
27
+ Code006: 'CODE006',
28
+ Code007: 'CODE007',
29
+ Code008: 'CODE008',
30
+ Code009: 'CODE009',
31
+ Code010: 'CODE010',
32
+ Code011: 'CODE011',
33
+ Code012: 'CODE012',
34
+ Code013: 'CODE013',
35
+ Code014: 'CODE014',
36
+ Code015: 'CODE015',
37
+ Code016: 'CODE016',
38
+ Code017: 'CODE017',
39
+ Code018: 'CODE018',
40
+ Code019: 'CODE019',
41
+ Code020: 'CODE020',
42
+ Code021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -26,4 +26,5 @@ export declare type AnyIdentifiedDistributionMode = {
26
26
  } & UnitaryDistributionMode;
27
27
  export declare function AnyIdentifiedDistributionModeFromJSON(json: any): AnyIdentifiedDistributionMode;
28
28
  export declare function AnyIdentifiedDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyIdentifiedDistributionMode;
29
- export declare function AnyIdentifiedDistributionModeToJSON(value?: AnyIdentifiedDistributionMode | null): any;
29
+ export declare function AnyIdentifiedDistributionModeToJSON(json: any): any;
30
+ export declare function AnyIdentifiedDistributionModeToJSONTyped(value?: AnyIdentifiedDistributionMode | null, ignoreDiscriminator?: boolean): any;
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AnyIdentifiedDistributionModeToJSON = exports.AnyIdentifiedDistributionModeFromJSONTyped = exports.AnyIdentifiedDistributionModeFromJSON = void 0;
16
+ exports.AnyIdentifiedDistributionModeToJSONTyped = exports.AnyIdentifiedDistributionModeToJSON = exports.AnyIdentifiedDistributionModeFromJSONTyped = exports.AnyIdentifiedDistributionModeFromJSON = void 0;
17
17
  var IdentifiedRangeDistributionMode_1 = require("./IdentifiedRangeDistributionMode");
18
18
  var QuotationDistributionMode_1 = require("./QuotationDistributionMode");
19
19
  var UnitaryDistributionMode_1 = require("./UnitaryDistributionMode");
@@ -37,19 +37,24 @@ function AnyIdentifiedDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
37
37
  }
38
38
  }
39
39
  exports.AnyIdentifiedDistributionModeFromJSONTyped = AnyIdentifiedDistributionModeFromJSONTyped;
40
- function AnyIdentifiedDistributionModeToJSON(value) {
40
+ function AnyIdentifiedDistributionModeToJSON(json) {
41
+ return AnyIdentifiedDistributionModeToJSONTyped(json, false);
42
+ }
43
+ exports.AnyIdentifiedDistributionModeToJSON = AnyIdentifiedDistributionModeToJSON;
44
+ function AnyIdentifiedDistributionModeToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
41
46
  if (value == null) {
42
47
  return value;
43
48
  }
44
49
  switch (value['type']) {
45
50
  case 'QUOTATION':
46
- return (0, QuotationDistributionMode_1.QuotationDistributionModeToJSON)(value);
51
+ return Object.assign({}, (0, QuotationDistributionMode_1.QuotationDistributionModeToJSON)(value), { type: 'QUOTATION' });
47
52
  case 'RANGE':
48
- return (0, IdentifiedRangeDistributionMode_1.IdentifiedRangeDistributionModeToJSON)(value);
53
+ return Object.assign({}, (0, IdentifiedRangeDistributionMode_1.IdentifiedRangeDistributionModeToJSON)(value), { type: 'RANGE' });
49
54
  case 'UNITARY':
50
- return (0, UnitaryDistributionMode_1.UnitaryDistributionModeToJSON)(value);
55
+ return Object.assign({}, (0, UnitaryDistributionMode_1.UnitaryDistributionModeToJSON)(value), { type: 'UNITARY' });
51
56
  default:
52
57
  throw new Error("No variant of AnyIdentifiedDistributionMode exists with 'type=".concat(value['type'], "'"));
53
58
  }
54
59
  }
55
- exports.AnyIdentifiedDistributionModeToJSON = AnyIdentifiedDistributionModeToJSON;
60
+ exports.AnyIdentifiedDistributionModeToJSONTyped = AnyIdentifiedDistributionModeToJSONTyped;
@@ -30,10 +30,10 @@ function BarcodesFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'cip': json['cip'],
34
- 'cip13': json['cip13'],
35
- 'eans': json['eans'],
36
- 'principal': json['principal'],
33
+ 'cip': json['cip'] == null ? undefined : json['cip'],
34
+ 'cip13': json['cip13'] == null ? undefined : json['cip13'],
35
+ 'eans': json['eans'] == null ? undefined : json['eans'],
36
+ 'principal': json['principal'] == null ? undefined : json['principal'],
37
37
  };
38
38
  }
39
39
  exports.BarcodesFromJSONTyped = BarcodesFromJSONTyped;
@@ -31,8 +31,8 @@ function ExpressOrderFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return json;
32
32
  }
33
33
  return {
34
- 'optimal': json['optimal'],
35
- 'sellerProposals': (json['sellerProposals'] === null || json['sellerProposals'] === undefined) ? json['sellerProposals'] : json['sellerProposals'].map(SellerProposal_1.SellerProposalFromJSON),
34
+ 'optimal': json['optimal'] == null ? undefined : json['optimal'],
35
+ 'sellerProposals': json['sellerProposals'] == null ? undefined : (json['sellerProposals'].map(SellerProposal_1.SellerProposalFromJSON)),
36
36
  };
37
37
  }
38
38
  exports.ExpressOrderFromJSONTyped = ExpressOrderFromJSONTyped;
@@ -42,7 +42,7 @@ function ExpressOrderToJSON(value) {
42
42
  }
43
43
  return {
44
44
  'optimal': value['optimal'],
45
- 'sellerProposals': (value['sellerProposals'] === null || value['sellerProposals'] === undefined) ? value['sellerProposals'] : value['sellerProposals'].map(SellerProposal_1.SellerProposalToJSON),
45
+ 'sellerProposals': value['sellerProposals'] == null ? undefined : (value['sellerProposals'].map(SellerProposal_1.SellerProposalToJSON)),
46
46
  };
47
47
  }
48
48
  exports.ExpressOrderToJSON = ExpressOrderToJSON;
@@ -33,9 +33,9 @@ function ExpressOrderCreationParametersFromJSONTyped(json, ignoreDiscriminator)
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'maxRequestDuration': json['maxRequestDuration'],
36
+ 'maxRequestDuration': json['maxRequestDuration'] == null ? undefined : json['maxRequestDuration'],
37
37
  'buyerId': json['buyerId'],
38
- 'needs': (json['needs'] === null || json['needs'] === undefined) ? json['needs'] : json['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedFromJSON),
38
+ 'needs': json['needs'] == null ? undefined : (json['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedFromJSON)),
39
39
  };
40
40
  }
41
41
  exports.ExpressOrderCreationParametersFromJSONTyped = ExpressOrderCreationParametersFromJSONTyped;
@@ -46,7 +46,7 @@ function ExpressOrderCreationParametersToJSON(value) {
46
46
  return {
47
47
  'maxRequestDuration': value['maxRequestDuration'],
48
48
  'buyerId': value['buyerId'],
49
- 'needs': (value['needs'] === null || value['needs'] === undefined) ? value['needs'] : value['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedToJSON),
49
+ 'needs': value['needs'] == null ? undefined : (value['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedToJSON)),
50
50
  };
51
51
  }
52
52
  exports.ExpressOrderCreationParametersToJSON = ExpressOrderCreationParametersToJSON;
@@ -36,8 +36,8 @@ function ExpressOrderNeedFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'productId': json['productId'],
38
38
  'quantity': json['quantity'],
39
- 'minimalDiscount': json['minimalDiscount'],
40
- 'minimalLapsingDuration': json['minimalLapsingDuration'],
39
+ 'minimalDiscount': json['minimalDiscount'] == null ? undefined : json['minimalDiscount'],
40
+ 'minimalLapsingDuration': json['minimalLapsingDuration'] == null ? undefined : json['minimalLapsingDuration'],
41
41
  };
42
42
  }
43
43
  exports.ExpressOrderNeedFromJSONTyped = ExpressOrderNeedFromJSONTyped;
@@ -42,7 +42,7 @@ function IdentifiedRangeDistributionModeFromJSONTyped(json, ignoreDiscriminator)
42
42
  'type': json['type'],
43
43
  'minimalQuantity': json['minimalQuantity'],
44
44
  'maximalQuantity': json['maximalQuantity'],
45
- 'ranges': (json['ranges'] === null || json['ranges'] === undefined) ? json['ranges'] : json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON),
45
+ 'ranges': (json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON)),
46
46
  };
47
47
  }
48
48
  exports.IdentifiedRangeDistributionModeFromJSONTyped = IdentifiedRangeDistributionModeFromJSONTyped;
@@ -54,7 +54,7 @@ function IdentifiedRangeDistributionModeToJSON(value) {
54
54
  'type': value['type'],
55
55
  'minimalQuantity': value['minimalQuantity'],
56
56
  'maximalQuantity': value['maximalQuantity'],
57
- 'ranges': (value['ranges'] === null || value['ranges'] === undefined) ? value['ranges'] : value['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON),
57
+ 'ranges': (value['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON)),
58
58
  };
59
59
  }
60
60
  exports.IdentifiedRangeDistributionModeToJSON = IdentifiedRangeDistributionModeToJSON;
@@ -45,8 +45,8 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'href': json['href'],
46
46
  'id': json['id'],
47
47
  'name': json['name'],
48
- 'barcodes': (json['barcodes'] === null || json['barcodes'] === undefined) ? json['barcodes'] : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
49
- 'storageType': (json['storageType'] === null || json['storageType'] === undefined) ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
48
+ 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
49
+ 'storageType': (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
50
50
  };
51
51
  }
52
52
  exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
@@ -14,13 +14,14 @@
14
14
  * @export
15
15
  */
16
16
  export declare const ProductStorageType: {
17
- readonly FREE: "FREE";
18
- readonly FRIDGE: "FRIDGE";
19
- readonly FREEZER: "FREEZER";
20
- readonly FRESH: "FRESH";
17
+ readonly Free: "FREE";
18
+ readonly Fridge: "FRIDGE";
19
+ readonly Freezer: "FREEZER";
20
+ readonly Fresh: "FRESH";
21
21
  };
22
22
  export declare type ProductStorageType = typeof ProductStorageType[keyof typeof ProductStorageType];
23
23
  export declare function instanceOfProductStorageType(value: any): boolean;
24
24
  export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
25
25
  export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
26
26
  export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
27
+ export declare function ProductStorageTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStorageType;
@@ -13,16 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
16
+ exports.ProductStorageTypeToJSONTyped = exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
17
17
  /**
18
18
  *
19
19
  * @export
20
20
  */
21
21
  exports.ProductStorageType = {
22
- FREE: 'FREE',
23
- FRIDGE: 'FRIDGE',
24
- FREEZER: 'FREEZER',
25
- FRESH: 'FRESH'
22
+ Free: 'FREE',
23
+ Fridge: 'FRIDGE',
24
+ Freezer: 'FREEZER',
25
+ Fresh: 'FRESH'
26
26
  };
27
27
  function instanceOfProductStorageType(value) {
28
28
  for (var key in exports.ProductStorageType) {
@@ -47,3 +47,7 @@ function ProductStorageTypeToJSON(value) {
47
47
  return value;
48
48
  }
49
49
  exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
50
+ function ProductStorageTypeToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
53
+ exports.ProductStorageTypeToJSONTyped = ProductStorageTypeToJSONTyped;
@@ -42,9 +42,9 @@ function SaleOfferLinkFromJSONTyped(json, ignoreDiscriminator) {
42
42
  return {
43
43
  'href': json['href'],
44
44
  'reference': json['reference'],
45
- 'distributionMode': (json['distributionMode'] === null || json['distributionMode'] === undefined) ? json['distributionMode'] : (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']),
46
- 'stock': (json['stock'] === null || json['stock'] === undefined) ? json['stock'] : (0, Stock_1.StockFromJSON)(json['stock']),
47
- 'bestRebate': json['bestRebate'],
45
+ 'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']),
46
+ 'stock': (0, Stock_1.StockFromJSON)(json['stock']),
47
+ 'bestRebate': json['bestRebate'] == null ? undefined : json['bestRebate'],
48
48
  };
49
49
  }
50
50
  exports.SaleOfferLinkFromJSONTyped = SaleOfferLinkFromJSONTyped;
@@ -40,8 +40,8 @@ function SaleOfferProposalFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
44
- 'saleOffer': (json['saleOffer'] === null || json['saleOffer'] === undefined) ? json['saleOffer'] : (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
43
+ 'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
44
+ 'saleOffer': (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
45
45
  'distributedRangeId': json['distributedRangeId'],
46
46
  'quantity': json['quantity'],
47
47
  };
@@ -38,8 +38,8 @@ function SellerProposalFromJSONTyped(json, ignoreDiscriminator) {
38
38
  return json;
39
39
  }
40
40
  return {
41
- 'saleOfferProposals': (json['saleOfferProposals'] === null || json['saleOfferProposals'] === undefined) ? json['saleOfferProposals'] : json['saleOfferProposals'].map(SaleOfferProposal_1.SaleOfferProposalFromJSON),
42
- 'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
41
+ 'saleOfferProposals': (json['saleOfferProposals'].map(SaleOfferProposal_1.SaleOfferProposalFromJSON)),
42
+ 'seller': (0, UserLink_1.UserLinkFromJSON)(json['seller']),
43
43
  'freeCarriageThreshold': json['freeCarriageThreshold'],
44
44
  };
45
45
  }
@@ -49,7 +49,7 @@ function SellerProposalToJSON(value) {
49
49
  return value;
50
50
  }
51
51
  return {
52
- 'saleOfferProposals': (value['saleOfferProposals'] === null || value['saleOfferProposals'] === undefined) ? value['saleOfferProposals'] : value['saleOfferProposals'].map(SaleOfferProposal_1.SaleOfferProposalToJSON),
52
+ 'saleOfferProposals': (value['saleOfferProposals'].map(SaleOfferProposal_1.SaleOfferProposalToJSON)),
53
53
  'seller': (0, UserLink_1.UserLinkToJSON)(value['seller']),
54
54
  'freeCarriageThreshold': value['freeCarriageThreshold'],
55
55
  };
@@ -31,9 +31,9 @@ function StockFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return json;
32
32
  }
33
33
  return {
34
- 'remainingQuantity': json['remainingQuantity'],
35
- 'lapsingDate': (json['lapsingDate'] === null || json['lapsingDate'] === undefined) ? json['lapsingDate'] : new Date(json['lapsingDate']),
36
- 'batch': json['batch'],
34
+ 'remainingQuantity': json['remainingQuantity'] == null ? undefined : json['remainingQuantity'],
35
+ 'lapsingDate': json['lapsingDate'] == null ? undefined : (new Date(json['lapsingDate'])),
36
+ 'batch': json['batch'] == null ? undefined : json['batch'],
37
37
  };
38
38
  }
39
39
  exports.StockFromJSONTyped = StockFromJSONTyped;
@@ -43,7 +43,7 @@ function StockToJSON(value) {
43
43
  }
44
44
  return {
45
45
  'remainingQuantity': value['remainingQuantity'],
46
- 'lapsingDate': (value['lapsingDate'] === null || value['lapsingDate'] === undefined) ? value['lapsingDate'] : (0, runtime_1.toDateISOString)(value['lapsingDate']),
46
+ 'lapsingDate': value['lapsingDate'] == null ? undefined : ((0, runtime_1.toDateISOString)(value['lapsingDate'])),
47
47
  'batch': value['batch'],
48
48
  };
49
49
  }
@@ -31,8 +31,8 @@ function ChallengeFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return json;
32
32
  }
33
33
  return {
34
- 'reference': json['reference'],
35
- 'action': (json['action'] === null || json['action'] === undefined) ? json['action'] : (0, ChallengeAction_1.ChallengeActionFromJSON)(json['action']),
34
+ 'reference': json['reference'] == null ? undefined : json['reference'],
35
+ 'action': json['action'] == null ? undefined : (0, ChallengeAction_1.ChallengeActionFromJSON)(json['action']),
36
36
  };
37
37
  }
38
38
  exports.ChallengeFromJSONTyped = ChallengeFromJSONTyped;
@@ -26,7 +26,7 @@ export interface ChallengeAction {
26
26
  * @export
27
27
  */
28
28
  export declare const ChallengeActionActionEnum: {
29
- readonly CREATE_MANDATE: "CREATE_MANDATE";
29
+ readonly CreateMandate: "CREATE_MANDATE";
30
30
  };
31
31
  export declare type ChallengeActionActionEnum = typeof ChallengeActionActionEnum[keyof typeof ChallengeActionActionEnum];
32
32
  /**
@@ -18,7 +18,7 @@ exports.ChallengeActionToJSON = exports.ChallengeActionFromJSONTyped = exports.C
18
18
  * @export
19
19
  */
20
20
  exports.ChallengeActionActionEnum = {
21
- CREATE_MANDATE: 'CREATE_MANDATE'
21
+ CreateMandate: 'CREATE_MANDATE'
22
22
  };
23
23
  /**
24
24
  * Check if a given object implements the ChallengeAction interface.
@@ -36,7 +36,7 @@ function ChallengeActionFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'action': json['action'],
39
+ 'action': json['action'] == null ? undefined : json['action'],
40
40
  };
41
41
  }
42
42
  exports.ChallengeActionFromJSONTyped = ChallengeActionFromJSONTyped;
@@ -44,11 +44,11 @@ export interface Mandate {
44
44
  * @export
45
45
  */
46
46
  export declare const MandateStatusEnum: {
47
- readonly CREATED: "CREATED";
48
- readonly SUBMITTED: "SUBMITTED";
49
- readonly ACTIVE: "ACTIVE";
50
- readonly EXPIRED: "EXPIRED";
51
- readonly FAILED: "FAILED";
47
+ readonly Created: "CREATED";
48
+ readonly Submitted: "SUBMITTED";
49
+ readonly Active: "ACTIVE";
50
+ readonly Expired: "EXPIRED";
51
+ readonly Failed: "FAILED";
52
52
  };
53
53
  export declare type MandateStatusEnum = typeof MandateStatusEnum[keyof typeof MandateStatusEnum];
54
54
  /**
@@ -18,11 +18,11 @@ exports.MandateToJSON = exports.MandateFromJSONTyped = exports.MandateFromJSON =
18
18
  * @export
19
19
  */
20
20
  exports.MandateStatusEnum = {
21
- CREATED: 'CREATED',
22
- SUBMITTED: 'SUBMITTED',
23
- ACTIVE: 'ACTIVE',
24
- EXPIRED: 'EXPIRED',
25
- FAILED: 'FAILED'
21
+ Created: 'CREATED',
22
+ Submitted: 'SUBMITTED',
23
+ Active: 'ACTIVE',
24
+ Expired: 'EXPIRED',
25
+ Failed: 'FAILED'
26
26
  };
27
27
  /**
28
28
  * Check if a given object implements the Mandate interface.
@@ -40,10 +40,10 @@ function MandateFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'id': json['id'],
44
- 'mangopayId': json['mangopayId'],
45
- 'status': json['status'],
46
- 'url': json['url'],
43
+ 'id': json['id'] == null ? undefined : json['id'],
44
+ 'mangopayId': json['mangopayId'] == null ? undefined : json['mangopayId'],
45
+ 'status': json['status'] == null ? undefined : json['status'],
46
+ 'url': json['url'] == null ? undefined : json['url'],
47
47
  };
48
48
  }
49
49
  exports.MandateFromJSONTyped = MandateFromJSONTyped;
@@ -33,8 +33,8 @@ function MandateChallengeFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'reference': json['reference'],
37
- 'action': (json['action'] === null || json['action'] === undefined) ? json['action'] : (0, ChallengeAction_1.ChallengeActionFromJSON)(json['action']),
36
+ 'reference': json['reference'] == null ? undefined : json['reference'],
37
+ 'action': json['action'] == null ? undefined : (0, ChallengeAction_1.ChallengeActionFromJSON)(json['action']),
38
38
  'url': json['url'],
39
39
  };
40
40
  }
@@ -30,8 +30,8 @@ function MandateCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'challengeId': json['challengeId'],
34
- 'mangopayId': json['mangopayId'],
33
+ 'challengeId': json['challengeId'] == null ? undefined : json['challengeId'],
34
+ 'mangopayId': json['mangopayId'] == null ? undefined : json['mangopayId'],
35
35
  };
36
36
  }
37
37
  exports.MandateCreationParametersFromJSONTyped = MandateCreationParametersFromJSONTyped;
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -34,29 +34,28 @@ export interface RestError {
34
34
  * @export
35
35
  */
36
36
  export declare const RestErrorCodeEnum: {
37
- readonly CODE000: "CODE000";
38
- readonly CODE001: "CODE001";
39
- readonly CODE002: "CODE002";
40
- readonly CODE003: "CODE003";
41
- readonly CODE004: "CODE004";
42
- readonly CODE005: "CODE005";
43
- readonly CODE006: "CODE006";
44
- readonly CODE007: "CODE007";
45
- readonly CODE008: "CODE008";
46
- readonly CODE009: "CODE009";
47
- readonly CODE010: "CODE010";
48
- readonly CODE011: "CODE011";
49
- readonly CODE012: "CODE012";
50
- readonly CODE013: "CODE013";
51
- readonly CODE014: "CODE014";
52
- readonly CODE015: "CODE015";
53
- readonly CODE016: "CODE016";
54
- readonly CODE017: "CODE017";
55
- readonly CODE018: "CODE018";
56
- readonly CODE019: "CODE019";
57
- readonly CODE020: "CODE020";
58
- readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
37
+ readonly Code000: "CODE000";
38
+ readonly Code001: "CODE001";
39
+ readonly Code002: "CODE002";
40
+ readonly Code003: "CODE003";
41
+ readonly Code004: "CODE004";
42
+ readonly Code005: "CODE005";
43
+ readonly Code006: "CODE006";
44
+ readonly Code007: "CODE007";
45
+ readonly Code008: "CODE008";
46
+ readonly Code009: "CODE009";
47
+ readonly Code010: "CODE010";
48
+ readonly Code011: "CODE011";
49
+ readonly Code012: "CODE012";
50
+ readonly Code013: "CODE013";
51
+ readonly Code014: "CODE014";
52
+ readonly Code015: "CODE015";
53
+ readonly Code016: "CODE016";
54
+ readonly Code017: "CODE017";
55
+ readonly Code018: "CODE018";
56
+ readonly Code019: "CODE019";
57
+ readonly Code020: "CODE020";
58
+ readonly Code021: "CODE021";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -18,29 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
18
18
  * @export
19
19
  */
20
20
  exports.RestErrorCodeEnum = {
21
- CODE000: 'CODE000',
22
- CODE001: 'CODE001',
23
- CODE002: 'CODE002',
24
- CODE003: 'CODE003',
25
- CODE004: 'CODE004',
26
- CODE005: 'CODE005',
27
- CODE006: 'CODE006',
28
- CODE007: 'CODE007',
29
- CODE008: 'CODE008',
30
- CODE009: 'CODE009',
31
- CODE010: 'CODE010',
32
- CODE011: 'CODE011',
33
- CODE012: 'CODE012',
34
- CODE013: 'CODE013',
35
- CODE014: 'CODE014',
36
- CODE015: 'CODE015',
37
- CODE016: 'CODE016',
38
- CODE017: 'CODE017',
39
- CODE018: 'CODE018',
40
- CODE019: 'CODE019',
41
- CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
21
+ Code000: 'CODE000',
22
+ Code001: 'CODE001',
23
+ Code002: 'CODE002',
24
+ Code003: 'CODE003',
25
+ Code004: 'CODE004',
26
+ Code005: 'CODE005',
27
+ Code006: 'CODE006',
28
+ Code007: 'CODE007',
29
+ Code008: 'CODE008',
30
+ Code009: 'CODE009',
31
+ Code010: 'CODE010',
32
+ Code011: 'CODE011',
33
+ Code012: 'CODE012',
34
+ Code013: 'CODE013',
35
+ Code014: 'CODE014',
36
+ Code015: 'CODE015',
37
+ Code016: 'CODE016',
38
+ Code017: 'CODE017',
39
+ Code018: 'CODE018',
40
+ Code019: 'CODE019',
41
+ Code020: 'CODE020',
42
+ Code021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -63,9 +63,9 @@ export declare class SearchMessageApi extends runtime.BaseAPI {
63
63
  * @export
64
64
  */
65
65
  export declare const GetMessagesOrderByEnum: {
66
- readonly CREATED_AT_ASC: "CREATED_AT:asc";
67
- readonly CREATED_AT_DESC: "CREATED_AT:desc";
68
- readonly UPDATED_AT_ASC: "UPDATED_AT:asc";
69
- readonly UPDATED_AT_DESC: "UPDATED_AT:desc";
66
+ readonly CreatedATasc: "CREATED_AT:asc";
67
+ readonly CreatedATdesc: "CREATED_AT:desc";
68
+ readonly UpdatedATasc: "UPDATED_AT:asc";
69
+ readonly UpdatedATdesc: "UPDATED_AT:desc";
70
70
  };
71
71
  export declare type GetMessagesOrderByEnum = typeof GetMessagesOrderByEnum[keyof typeof GetMessagesOrderByEnum];
@@ -342,8 +342,8 @@ exports.SearchMessageApi = SearchMessageApi;
342
342
  * @export
343
343
  */
344
344
  exports.GetMessagesOrderByEnum = {
345
- CREATED_AT_ASC: 'CREATED_AT:asc',
346
- CREATED_AT_DESC: 'CREATED_AT:desc',
347
- UPDATED_AT_ASC: 'UPDATED_AT:asc',
348
- UPDATED_AT_DESC: 'UPDATED_AT:desc'
345
+ CreatedATasc: 'CREATED_AT:asc',
346
+ CreatedATdesc: 'CREATED_AT:desc',
347
+ UpdatedATasc: 'UPDATED_AT:asc',
348
+ UpdatedATdesc: 'UPDATED_AT:desc'
349
349
  };