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

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 (463) hide show
  1. package/auth/src/models/AnyAuthenticationCredential.d.ts +1 -2
  2. package/auth/src/models/AnyAuthenticationCredential.js +7 -12
  3. package/auth/src/models/AnyUser.d.ts +1 -2
  4. package/auth/src/models/AnyUser.js +5 -10
  5. package/auth/src/models/ApiKey.js +11 -11
  6. package/auth/src/models/ApiKeyCreationParameters.js +3 -3
  7. package/auth/src/models/DisposableTokenCreationParameters.js +1 -1
  8. package/auth/src/models/PaginatedApiKeys.js +3 -3
  9. package/auth/src/models/PaginatedObject.js +1 -1
  10. package/auth/src/models/RevealedApiKey.js +12 -12
  11. package/auth/src/models/UserLink.js +3 -3
  12. package/auth/src/models/UserLinkAllOfCompany.js +1 -1
  13. package/banking-operation/src/models/Levy.js +8 -8
  14. package/banking-operation/src/models/LevyCreationParameters.js +2 -2
  15. package/banking-operation/src/models/LevyPayment.js +2 -2
  16. package/banking-operation/src/models/LevyPaymentStatus.d.ts +0 -1
  17. package/banking-operation/src/models/LevyPaymentStatus.js +1 -5
  18. package/banking-operation/src/models/LevyStatus.d.ts +0 -1
  19. package/banking-operation/src/models/LevyStatus.js +1 -5
  20. package/banking-operation/src/models/LevyUpdateParameters.js +2 -2
  21. package/banking-operation/src/models/OrderLink.js +1 -1
  22. package/banking-operation/src/models/OrderPayment.js +5 -5
  23. package/banking-operation/src/models/OrderPaymentDeposit.js +1 -1
  24. package/banking-operation/src/models/OrderPaymentWallets.js +2 -2
  25. package/banking-operation/src/models/OrderPaymentWithdraw.js +4 -4
  26. package/banking-operation/src/models/PaginatedLevies.js +3 -3
  27. package/banking-operation/src/models/PaginatedObject.js +1 -1
  28. package/banking-operation/src/models/PaginatedOrderPayments.js +3 -3
  29. package/banking-operation/src/models/Transaction.js +6 -6
  30. package/banking-operation/src/models/TransactionMangopayTarget.js +1 -1
  31. package/banking-operation/src/models/UserLink.js +1 -1
  32. package/banking-operation/src/models/UserLinkAllOfCompany.js +1 -1
  33. package/banking-operation/src/models/Wallet.js +1 -1
  34. package/banking-operation/src/models/WalletMangopayTarget.js +1 -1
  35. package/catalog/src/models/Barcodes.js +4 -4
  36. package/catalog/src/models/LaboratoryLink.js +2 -2
  37. package/catalog/src/models/PaginatedObject.js +1 -1
  38. package/catalog/src/models/PaginatedProductInsights.js +3 -3
  39. package/catalog/src/models/ProductInsight.js +12 -12
  40. package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +11 -11
  41. package/catalog/src/models/ProductInsightJournal.js +4 -4
  42. package/catalog/src/models/ProductSecondaryTypeLink.js +2 -2
  43. package/catalog/src/models/ProductStorageType.d.ts +0 -1
  44. package/catalog/src/models/ProductStorageType.js +1 -5
  45. package/catalog/src/models/ProductTypeLink.js +2 -2
  46. package/catalog/src/models/VatLink.js +3 -3
  47. package/challenge/src/models/Challenge.js +2 -2
  48. package/challenge/src/models/ChallengeAction.js +1 -1
  49. package/content/src/models/Content.js +7 -7
  50. package/factory/src/models/AnyDistributionMode.d.ts +1 -2
  51. package/factory/src/models/AnyDistributionMode.js +6 -11
  52. package/factory/src/models/AnyFactory.d.ts +1 -2
  53. package/factory/src/models/AnyFactory.js +6 -11
  54. package/factory/src/models/Assembly.js +15 -15
  55. package/factory/src/models/AssemblyCreationParameters.js +2 -2
  56. package/factory/src/models/AssemblyJournal.js +4 -4
  57. package/factory/src/models/AssemblyStatus.d.ts +0 -1
  58. package/factory/src/models/AssemblyStatus.js +1 -5
  59. package/factory/src/models/OfferPlanificationFactory.js +3 -3
  60. package/factory/src/models/OfferPlanificationFactoryAllOfRecords.js +5 -5
  61. package/factory/src/models/PaginatedAssemblies.js +3 -3
  62. package/factory/src/models/PaginatedObject.js +1 -1
  63. package/factory/src/models/Product.js +9 -9
  64. package/factory/src/models/ProductStatus.d.ts +0 -1
  65. package/factory/src/models/ProductStatus.js +1 -5
  66. package/factory/src/models/ProductUpsertFactory.js +2 -2
  67. package/factory/src/models/ProductUpsertFactoryAllOfRecords.js +1 -1
  68. package/factory/src/models/RangeDistributionMode.js +2 -2
  69. package/factory/src/models/SaleOfferStatus.d.ts +0 -1
  70. package/factory/src/models/SaleOfferStatus.js +1 -5
  71. package/factory/src/models/SaleOfferUpsertFactory.js +3 -3
  72. package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.js +5 -5
  73. package/factory/src/models/StatusEnum.d.ts +0 -1
  74. package/factory/src/models/StatusEnum.js +1 -5
  75. package/factory/src/models/Stock.js +4 -4
  76. package/factory/src/models/UserLink.js +1 -1
  77. package/favorite/src/models/Barcodes.js +4 -4
  78. package/favorite/src/models/FavoriteProduct.js +4 -4
  79. package/favorite/src/models/PaginatedFavoriteProducts.js +3 -3
  80. package/favorite/src/models/PaginatedObject.js +1 -1
  81. package/favorite/src/models/ProductLink.js +3 -3
  82. package/favorite/src/models/ProductStatus.d.ts +0 -1
  83. package/favorite/src/models/ProductStatus.js +1 -5
  84. package/inventory/src/models/ActiveProduct.js +4 -4
  85. package/inventory/src/models/ActiveProductUpdateParameters.js +1 -1
  86. package/inventory/src/models/Barcodes.js +4 -4
  87. package/inventory/src/models/MisalignedProduct.js +4 -4
  88. package/inventory/src/models/OverstockProduct.js +1 -1
  89. package/inventory/src/models/OverstockProductUpdateParameters.js +1 -1
  90. package/inventory/src/models/PaginatedActiveProducts.js +3 -3
  91. package/inventory/src/models/PaginatedMisalignedProducts.js +3 -3
  92. package/inventory/src/models/PaginatedObject.js +1 -1
  93. package/inventory/src/models/PaginatedOverstockProducts.js +3 -3
  94. package/inventory/src/models/ProductLink.js +3 -3
  95. package/inventory/src/models/Statistics.js +3 -3
  96. package/inventory/src/models/StatisticsActiveProducts.js +2 -2
  97. package/inventory/src/models/StatisticsMisalignedProducts.js +1 -1
  98. package/inventory/src/models/StatisticsOverstockProducts.js +1 -1
  99. package/inventory/src/models/Synchroneity.js +1 -1
  100. package/inventory/src/models/SynchroneityOffisante.js +2 -2
  101. package/inventory/src/models/SynchroneitySource.js +3 -3
  102. package/invoice/src/models/Invoice.js +4 -4
  103. package/invoice/src/models/InvoiceSummaryCreationParameters.js +4 -4
  104. package/invoice/src/models/InvoiceType.d.ts +0 -1
  105. package/invoice/src/models/InvoiceType.js +1 -5
  106. package/invoice/src/models/InvoiceUpdateParameters.js +2 -2
  107. package/invoice/src/models/OrderLink.js +3 -3
  108. package/invoice/src/models/OrderTally.js +5 -5
  109. package/invoice/src/models/PaginatedInvoices.js +3 -3
  110. package/invoice/src/models/PaginatedObject.js +1 -1
  111. package/invoice/src/models/PaginatedOrderTallies.js +3 -3
  112. package/invoice/src/models/PaginatedPlannedInvoiceLine.js +3 -3
  113. package/invoice/src/models/PlannedInvoiceLine.js +3 -3
  114. package/invoice/src/models/UserLink.js +3 -3
  115. package/invoice/src/models/UserLinkAllOfCompany.js +1 -1
  116. package/laboratory/src/models/Laboratory.js +2 -2
  117. package/laboratory/src/models/PaginatedLaboratories.js +3 -3
  118. package/laboratory/src/models/PaginatedObject.js +1 -1
  119. package/laboratory-store/src/models/DisplayType.d.ts +0 -1
  120. package/laboratory-store/src/models/DisplayType.js +1 -5
  121. package/laboratory-store/src/models/Image.js +2 -2
  122. package/laboratory-store/src/models/ImageVersions.js +5 -5
  123. package/laboratory-store/src/models/LaboratoryStore.js +13 -13
  124. package/laboratory-store/src/models/LaboratoryStoreCreationParameters.js +8 -8
  125. package/laboratory-store/src/models/LaboratoryStoreUpdateParameters.js +10 -10
  126. package/laboratory-store/src/models/LaboratoryType.d.ts +0 -1
  127. package/laboratory-store/src/models/LaboratoryType.js +1 -5
  128. package/laboratory-store/src/models/OwnerLink.js +2 -2
  129. package/laboratory-store/src/models/PaginatedLaboratoryStores.js +3 -3
  130. package/laboratory-store/src/models/PaginatedObject.js +1 -1
  131. package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.d.ts +1 -2
  132. package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.js +4 -9
  133. package/laboratory-store-log/src/models/LaboratoryStoreLog.js +3 -3
  134. package/laboratory-store-log/src/models/Log.js +2 -2
  135. package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogs.js +3 -3
  136. package/laboratory-store-log/src/models/PaginatedObject.js +1 -1
  137. package/lexicon/src/models/PaginatedObject.js +1 -1
  138. package/lexicon/src/models/PaginatedTags.js +3 -3
  139. package/lexicon/src/models/PharmacyGroup.js +2 -2
  140. package/lexicon/src/models/PharmacyLocation.js +2 -2
  141. package/lexicon/src/models/PharmacySoftware.js +2 -2
  142. package/lexicon/src/models/Tag.js +2 -2
  143. package/lexicon/src/models/TagCreationParameters.js +1 -1
  144. package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
  145. package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +6 -11
  146. package/magic-cart/src/models/Barcodes.js +4 -4
  147. package/magic-cart/src/models/ExpressOrder.js +3 -3
  148. package/magic-cart/src/models/ExpressOrderCreationParameters.js +3 -3
  149. package/magic-cart/src/models/ExpressOrderNeed.js +2 -2
  150. package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
  151. package/magic-cart/src/models/ProductLink.js +2 -2
  152. package/magic-cart/src/models/ProductStorageType.d.ts +0 -1
  153. package/magic-cart/src/models/ProductStorageType.js +1 -5
  154. package/magic-cart/src/models/SaleOfferLink.js +3 -3
  155. package/magic-cart/src/models/SaleOfferProposal.js +2 -2
  156. package/magic-cart/src/models/SellerProposal.js +3 -3
  157. package/magic-cart/src/models/Stock.js +4 -4
  158. package/mandate/src/models/Challenge.js +2 -2
  159. package/mandate/src/models/ChallengeAction.js +1 -1
  160. package/mandate/src/models/Mandate.js +4 -4
  161. package/mandate/src/models/MandateChallenge.js +2 -2
  162. package/mandate/src/models/MandateCreationParameters.js +2 -2
  163. package/message/src/models/Message.js +1 -1
  164. package/message/src/models/MessageUpdateParameters.js +3 -3
  165. package/message/src/models/MessageViewerCreationParameters.js +1 -1
  166. package/message/src/models/PaginatedMessages.js +3 -3
  167. package/message/src/models/PaginatedObject.js +1 -1
  168. package/notification/src/models/Notification.js +11 -11
  169. package/notification/src/models/NotificationType.js +10 -10
  170. package/notification/src/models/NotificationTypeAttachment.js +8 -8
  171. package/notification/src/models/NotificationTypeId.d.ts +0 -1
  172. package/notification/src/models/NotificationTypeId.js +1 -5
  173. package/notification/src/models/NotificationTypeUpdateParameters.js +6 -6
  174. package/notification/src/models/NotificationUpdateParameters.js +2 -2
  175. package/notification/src/models/PaginatedNotificationTypes.js +3 -3
  176. package/notification/src/models/PaginatedNotifications.js +3 -3
  177. package/notification/src/models/PaginatedObject.js +1 -1
  178. package/order/src/models/Address.js +4 -4
  179. package/order/src/models/Anomalies.js +4 -4
  180. package/order/src/models/AnomaliesUpdateParameters.js +4 -4
  181. package/order/src/models/AnyMetaOrderWarning.d.ts +1 -2
  182. package/order/src/models/AnyMetaOrderWarning.js +5 -10
  183. package/order/src/models/Barcodes.js +4 -4
  184. package/order/src/models/FreeCarriageCoupon.js +12 -12
  185. package/order/src/models/FreeCarriageCouponCreationParameters.js +6 -6
  186. package/order/src/models/MetaOrder.js +5 -5
  187. package/order/src/models/MetaOrderCreationParameters.js +2 -2
  188. package/order/src/models/MetaOrderWithWarnings.js +3 -3
  189. package/order/src/models/Order.js +29 -29
  190. package/order/src/models/OrderAddedItem.js +12 -12
  191. package/order/src/models/OrderItem.js +12 -12
  192. package/order/src/models/OrderItemPrices.js +5 -5
  193. package/order/src/models/OrderItemRefundedCreationParameters.js +1 -1
  194. package/order/src/models/OrderItemWarning.js +1 -1
  195. package/order/src/models/OrderItemsOperation.d.ts +0 -1
  196. package/order/src/models/OrderItemsOperation.js +1 -5
  197. package/order/src/models/OrderJournal.js +17 -17
  198. package/order/src/models/OrderPrices.js +9 -9
  199. package/order/src/models/OrderRefundedItem.js +12 -12
  200. package/order/src/models/OrderRemovedItem.js +12 -12
  201. package/order/src/models/OrderStatus.d.ts +0 -1
  202. package/order/src/models/OrderStatus.js +1 -5
  203. package/order/src/models/OrderStatusReason.d.ts +0 -1
  204. package/order/src/models/OrderStatusReason.js +1 -5
  205. package/order/src/models/OrderStorageType.d.ts +0 -1
  206. package/order/src/models/OrderStorageType.js +1 -5
  207. package/order/src/models/OrderThreads.js +1 -1
  208. package/order/src/models/OrderType.d.ts +0 -1
  209. package/order/src/models/OrderType.js +1 -5
  210. package/order/src/models/OrderUpdateParameters.js +4 -4
  211. package/order/src/models/PaginatedFreeCarriageCoupons.js +3 -3
  212. package/order/src/models/PaginatedObject.js +1 -1
  213. package/order/src/models/PaginatedOrders.js +3 -3
  214. package/order/src/models/ProductLink.js +4 -4
  215. package/order/src/models/ProductStorageType.d.ts +0 -1
  216. package/order/src/models/ProductStorageType.js +1 -5
  217. package/order/src/models/Reservation.js +7 -7
  218. package/order/src/models/ReservationUpdateParameters.js +1 -1
  219. package/order/src/models/ShoppedOffer.js +1 -1
  220. package/order/src/models/UpdateOrderStatusParameters.d.ts +0 -1
  221. package/order/src/models/UpdateOrderStatusParameters.js +1 -5
  222. package/order/src/models/UserLink.js +5 -5
  223. package/order/src/models/UserLinkAllOfCompany.js +1 -1
  224. package/order-log/src/models/AnyOrderLog.d.ts +1 -2
  225. package/order-log/src/models/AnyOrderLog.js +4 -9
  226. package/order-log/src/models/Log.js +2 -2
  227. package/order-log/src/models/OrderLog.js +4 -4
  228. package/order-log/src/models/OrderStatusReason.d.ts +0 -1
  229. package/order-log/src/models/OrderStatusReason.js +1 -5
  230. package/order-log/src/models/PaginatedObject.js +1 -1
  231. package/order-log/src/models/PaginatedOrderLogs.js +3 -3
  232. package/outrage-message/src/models/OutrageMessage.js +7 -7
  233. package/outrage-message/src/models/OutrageMessageUpdateParameters.js +2 -2
  234. package/outrage-message/src/models/PaginatedObject.js +1 -1
  235. package/outrage-message/src/models/PaginatedOutrageMessages.js +3 -3
  236. package/package.json +1 -1
  237. package/product/src/models/Barcodes.js +4 -4
  238. package/product/src/models/DataProvider.d.ts +0 -1
  239. package/product/src/models/DataProvider.js +1 -5
  240. package/product/src/models/Image.js +4 -4
  241. package/product/src/models/ImageVersions.js +5 -5
  242. package/product/src/models/LaboratoryLink.js +2 -2
  243. package/product/src/models/PaginatedObject.js +1 -1
  244. package/product/src/models/PaginatedProductProscriptions.js +3 -3
  245. package/product/src/models/PaginatedProducts.js +3 -3
  246. package/product/src/models/Product.js +18 -18
  247. package/product/src/models/ProductCreationOrUpdateParameters.js +20 -20
  248. package/product/src/models/ProductDispensationPlace.d.ts +0 -1
  249. package/product/src/models/ProductDispensationPlace.js +1 -5
  250. package/product/src/models/ProductJournal.js +2 -2
  251. package/product/src/models/ProductMarketStatus.d.ts +0 -1
  252. package/product/src/models/ProductMarketStatus.js +1 -5
  253. package/product/src/models/ProductProscription.js +5 -5
  254. package/product/src/models/ProductProscriptionCreationParameters.js +1 -1
  255. package/product/src/models/ProductSecondaryType.js +2 -2
  256. package/product/src/models/ProductSource.js +5 -5
  257. package/product/src/models/ProductSourceBcb.js +3 -3
  258. package/product/src/models/ProductSourceFields.js +19 -19
  259. package/product/src/models/ProductSourceFieldsBarcodes.js +4 -4
  260. package/product/src/models/ProductStatus.d.ts +0 -1
  261. package/product/src/models/ProductStatus.js +1 -5
  262. package/product/src/models/ProductStorageType.d.ts +0 -1
  263. package/product/src/models/ProductStorageType.js +1 -5
  264. package/product/src/models/ProductType.js +2 -2
  265. package/product/src/models/Statistics.js +1 -1
  266. package/pub/src/models/Image.js +1 -1
  267. package/pub/src/models/ImageVersions.js +5 -5
  268. package/pub/src/models/PaginatedObject.js +1 -1
  269. package/pub/src/models/PaginatedPubStatistics.js +3 -3
  270. package/pub/src/models/PaginatedPubs.js +3 -3
  271. package/pub/src/models/Pub.js +13 -13
  272. package/pub/src/models/PubCreationParameters.js +3 -3
  273. package/pub/src/models/PubLocationEnum.d.ts +0 -1
  274. package/pub/src/models/PubLocationEnum.js +1 -5
  275. package/pub/src/models/PubSchedule.js +4 -4
  276. package/pub/src/models/PubStatistics.js +4 -4
  277. package/pub/src/models/PubTimecard.js +4 -4
  278. package/pub/src/models/PubUpdateParameters.js +6 -6
  279. package/pub/src/models/UserLink.js +3 -3
  280. package/pub/src/models/UserLinkAllOfCompany.js +1 -1
  281. package/recommendation/src/models/FavoriteProductRecommendation.js +5 -5
  282. package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +3 -3
  283. package/recommendation/src/models/PaginatedObject.js +1 -1
  284. package/recommendation/src/models/PaginatedProductPriceRecommendations.js +3 -3
  285. package/recommendation/src/models/PaginatedProductRecommendations.js +3 -3
  286. package/recommendation/src/models/ProductLink.js +1 -1
  287. package/recommendation/src/models/ProductPriceRecommendation.js +3 -3
  288. package/recommendation/src/models/ProductRecommendation.js +5 -5
  289. package/recommendation/src/models/ProductRecommendationType.d.ts +0 -1
  290. package/recommendation/src/models/ProductRecommendationType.js +1 -5
  291. package/recommendation/src/models/UserLink.js +1 -1
  292. package/rfx/src/models/OrderLink.js +1 -1
  293. package/rfx/src/models/PaginatedObject.js +1 -1
  294. package/rfx/src/models/PaginatedRfois.js +3 -3
  295. package/rfx/src/models/RfiCreationParameters.js +5 -5
  296. package/rfx/src/models/Rfoi.js +9 -9
  297. package/rfx/src/models/RfoiUpdateParameters.js +1 -1
  298. package/rfx/src/models/UserLink.js +3 -3
  299. package/rfx/src/models/UserLinkAllOfCompany.js +1 -1
  300. package/sale-offer/src/models/AnyDistributionMode.d.ts +1 -2
  301. package/sale-offer/src/models/AnyDistributionMode.js +6 -11
  302. package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
  303. package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +6 -11
  304. package/sale-offer/src/models/Barcodes.js +4 -4
  305. package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +2 -2
  306. package/sale-offer/src/models/ImageVersions.js +5 -5
  307. package/sale-offer/src/models/Images.js +3 -3
  308. package/sale-offer/src/models/OwnerLink.js +3 -3
  309. package/sale-offer/src/models/OwnerLinkAllOfCompany.js +1 -1
  310. package/sale-offer/src/models/PaginatedObject.js +1 -1
  311. package/sale-offer/src/models/PaginatedSaleOffers.js +3 -3
  312. package/sale-offer/src/models/ProductImageLink.js +2 -2
  313. package/sale-offer/src/models/ProductLink.js +3 -3
  314. package/sale-offer/src/models/RangeDistributionMode.js +2 -2
  315. package/sale-offer/src/models/SaleOffer.js +13 -13
  316. package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +3 -3
  317. package/sale-offer/src/models/SaleOfferCreationParameters.js +8 -8
  318. package/sale-offer/src/models/SaleOfferJournal.js +2 -2
  319. package/sale-offer/src/models/SaleOfferNewVersionParameters.js +5 -5
  320. package/sale-offer/src/models/SaleOfferStatisticLink.js +5 -5
  321. package/sale-offer/src/models/SaleOfferStatus.d.ts +0 -1
  322. package/sale-offer/src/models/SaleOfferStatus.js +1 -5
  323. package/sale-offer/src/models/SaleOfferStatusReason.d.ts +0 -1
  324. package/sale-offer/src/models/SaleOfferStatusReason.js +1 -5
  325. package/sale-offer/src/models/SaleOfferUpdateParameters.js +2 -2
  326. package/sale-offer/src/models/SaleOfferUpdateParametersStock.js +1 -1
  327. package/sale-offer/src/models/Stock.js +4 -4
  328. package/sale-offer-log/src/models/AnySaleOfferLog.d.ts +1 -2
  329. package/sale-offer-log/src/models/AnySaleOfferLog.js +4 -9
  330. package/sale-offer-log/src/models/Log.js +2 -2
  331. package/sale-offer-log/src/models/PaginatedObject.js +1 -1
  332. package/sale-offer-log/src/models/PaginatedSaleOfferLogs.js +3 -3
  333. package/sale-offer-log/src/models/SaleOfferLog.js +3 -3
  334. package/servant/src/models/Servant.js +7 -7
  335. package/servant/src/models/Task.js +3 -3
  336. package/shipment/src/models/CancelParcelResponse.js +3 -3
  337. package/shipment/src/models/DeliveryStatus.js +2 -2
  338. package/shipment/src/models/OrderCarriage.js +4 -4
  339. package/shipment/src/models/OrderCarriageShipmentCreationParameters.js +1 -1
  340. package/shipment/src/models/OrderLink.js +1 -1
  341. package/shipment/src/models/PaginatedObject.js +1 -1
  342. package/shipment/src/models/PaginatedOrderCarriages.js +3 -3
  343. package/shipment/src/models/Shipment.js +8 -8
  344. package/shipment/src/models/ShipmentCreationParameters.js +2 -2
  345. package/shipment/src/models/ShipmentError.js +1 -1
  346. package/shipment/src/models/ShipmentLabels.js +2 -2
  347. package/shipment/src/models/ShipmentParcel.js +4 -4
  348. package/shipment/src/models/ShipmentParcelStatus.d.ts +0 -1
  349. package/shipment/src/models/ShipmentParcelStatus.js +1 -5
  350. package/shipment/src/models/SkybillLink.js +1 -1
  351. package/shopping-cart/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
  352. package/shopping-cart/src/models/AnyIdentifiedDistributionMode.js +6 -11
  353. package/shopping-cart/src/models/Barcodes.js +4 -4
  354. package/shopping-cart/src/models/Cart.js +4 -4
  355. package/shopping-cart/src/models/CartSubCart.js +5 -5
  356. package/shopping-cart/src/models/CartSubCartLine.js +3 -3
  357. package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +1 -1
  358. package/shopping-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
  359. package/shopping-cart/src/models/ProductLink.js +2 -2
  360. package/shopping-cart/src/models/ProductStorageType.d.ts +0 -1
  361. package/shopping-cart/src/models/ProductStorageType.js +1 -5
  362. package/shopping-cart/src/models/SaleOfferLink.js +4 -4
  363. package/shopping-cart/src/models/SaleOfferStatus.d.ts +0 -1
  364. package/shopping-cart/src/models/SaleOfferStatus.js +1 -5
  365. package/shopping-cart/src/models/SellerLink.js +3 -3
  366. package/shopping-cart/src/models/ShoppedOffer.js +1 -1
  367. package/shopping-cart/src/models/Stock.js +4 -4
  368. package/shopping-cart/src/models/UserRole.d.ts +0 -1
  369. package/shopping-cart/src/models/UserRole.js +1 -5
  370. package/statistic/src/models/PaginatedObject.js +1 -1
  371. package/statistic/src/models/PaginatedSaleOfferStatistics.js +3 -3
  372. package/statistic/src/models/PaginatedUserStatistics.js +3 -3
  373. package/statistic/src/models/SaleOfferStatistic.js +8 -8
  374. package/statistic/src/models/UserLink.js +1 -1
  375. package/statistic/src/models/UserStatistic.js +8 -8
  376. package/subscription/src/models/PaginatedObject.js +1 -1
  377. package/subscription/src/models/PaginatedSubscriptions.js +3 -3
  378. package/subscription/src/models/SubscriberLink.js +1 -1
  379. package/subscription/src/models/Subscription.js +11 -11
  380. package/subscription/src/models/SubscriptionCreationParameters.js +1 -1
  381. package/subscription/src/models/SubscriptionPlan.js +8 -8
  382. package/subscription/src/models/SubscriptionPlanFeature.js +3 -3
  383. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +0 -1
  384. package/subscription/src/models/SubscriptionPlanFeatureId.js +1 -5
  385. package/subscription/src/models/SubscriptionPlanId.d.ts +0 -1
  386. package/subscription/src/models/SubscriptionPlanId.js +1 -5
  387. package/subscription/src/models/SubscriptionPlanLink.js +1 -1
  388. package/subscription/src/models/SubscriptionPlanUpdateParameters.js +7 -7
  389. package/subscription/src/models/SubscriptionUpdateParameters.js +9 -9
  390. package/third-party/src/models/ThirdPartyLink.js +1 -1
  391. package/thread/src/models/Comment.js +7 -7
  392. package/thread/src/models/PaginatedComments.js +3 -3
  393. package/thread/src/models/PaginatedObject.js +1 -1
  394. package/thread/src/models/Thread.js +1 -1
  395. package/ubo/src/models/Address.js +2 -2
  396. package/ubo/src/models/Ubo.js +6 -6
  397. package/ubo/src/models/UboDeclaration.js +7 -7
  398. package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.js +2 -2
  399. package/user/src/models/Address.js +4 -4
  400. package/user/src/models/Gender.d.ts +0 -1
  401. package/user/src/models/Gender.js +1 -5
  402. package/user/src/models/KycLevel.d.ts +0 -1
  403. package/user/src/models/KycLevel.js +1 -5
  404. package/user/src/models/MyPasswordUpdateParameters.js +2 -2
  405. package/user/src/models/NotificationTypeId.d.ts +0 -1
  406. package/user/src/models/NotificationTypeId.js +1 -5
  407. package/user/src/models/NotificationTypeLink.js +1 -1
  408. package/user/src/models/OffisanteStatus.d.ts +0 -1
  409. package/user/src/models/OffisanteStatus.js +1 -5
  410. package/user/src/models/PaginatedObject.js +1 -1
  411. package/user/src/models/PaginatedUsers.js +3 -3
  412. package/user/src/models/ProductTypeLink.js +2 -2
  413. package/user/src/models/SomeonePasswordUpdateParameters.js +1 -1
  414. package/user/src/models/User.js +46 -46
  415. package/user/src/models/UserBankAccountCreationParameters.js +2 -2
  416. package/user/src/models/UserBankAccountLink.js +1 -1
  417. package/user/src/models/UserCompany.js +15 -15
  418. package/user/src/models/UserCreationParameters.js +3 -3
  419. package/user/src/models/UserCustomCommissions.js +2 -2
  420. package/user/src/models/UserCustomCommissionsUpdateParameters.js +2 -2
  421. package/user/src/models/UserDelegatedServices.js +3 -3
  422. package/user/src/models/UserDocument.js +5 -5
  423. package/user/src/models/UserDocumentStatus.d.ts +0 -1
  424. package/user/src/models/UserDocumentStatus.js +1 -5
  425. package/user/src/models/UserFavoriteLaboratoryStoreLink.js +1 -1
  426. package/user/src/models/UserFeature.js +2 -2
  427. package/user/src/models/UserForbiddenSellerLink.js +1 -1
  428. package/user/src/models/UserJournal.js +2 -2
  429. package/user/src/models/UserMangopayTarget.js +1 -1
  430. package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +1 -1
  431. package/user/src/models/UserRole.d.ts +0 -1
  432. package/user/src/models/UserRole.js +1 -5
  433. package/user/src/models/UserRule.js +5 -5
  434. package/user/src/models/UserRuleActionEnum.d.ts +0 -1
  435. package/user/src/models/UserRuleActionEnum.js +1 -5
  436. package/user/src/models/UserRuleAttributeEnum.d.ts +0 -1
  437. package/user/src/models/UserRuleAttributeEnum.js +1 -5
  438. package/user/src/models/UserRuleComparatorEnum.d.ts +0 -1
  439. package/user/src/models/UserRuleComparatorEnum.js +1 -5
  440. package/user/src/models/UserRuleCreationParameters.js +3 -3
  441. package/user/src/models/UserSocialNetwork.js +7 -7
  442. package/user/src/models/UserStatisticLink.js +6 -6
  443. package/user/src/models/UserThreads.js +1 -1
  444. package/user/src/models/UserUpdateParameters.js +21 -21
  445. package/user/src/models/UserWalletLink.js +1 -1
  446. package/user/src/models/UserWallets.js +4 -4
  447. package/wish/src/models/Barcodes.js +4 -4
  448. package/wish/src/models/DesiredSellerLink.js +3 -3
  449. package/wish/src/models/OwnerLink.js +3 -3
  450. package/wish/src/models/OwnerLinkAllOfCompany.js +1 -1
  451. package/wish/src/models/PaginatedObject.js +1 -1
  452. package/wish/src/models/PaginatedProductEnthusiasms.js +3 -3
  453. package/wish/src/models/PaginatedWishes.js +3 -3
  454. package/wish/src/models/ProductEnthusiasm.js +6 -6
  455. package/wish/src/models/ProductLink.js +3 -3
  456. package/wish/src/models/Referrer.js +2 -2
  457. package/wish/src/models/Wish.js +15 -15
  458. package/wish/src/models/WishCreationParameters.js +5 -5
  459. package/wish/src/models/WishReferrerType.d.ts +0 -1
  460. package/wish/src/models/WishReferrerType.js +1 -5
  461. package/wish/src/models/WishStatus.d.ts +0 -1
  462. package/wish/src/models/WishStatus.js +1 -5
  463. package/wish/src/models/WishUpdateParameters.js +5 -5
@@ -33,7 +33,7 @@ function PaginatedObjectFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
36
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
37
37
  };
38
38
  }
39
39
  exports.PaginatedObjectFromJSONTyped = PaginatedObjectFromJSONTyped;
@@ -36,8 +36,8 @@ function PaginatedPubStatisticsFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(PubStatistics_1.PubStatisticsFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(PubStatistics_1.PubStatisticsFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedPubStatisticsFromJSONTyped = PaginatedPubStatisticsFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedPubStatisticsToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(PubStatistics_1.PubStatisticsToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(PubStatistics_1.PubStatisticsToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedPubStatisticsToJSON = PaginatedPubStatisticsToJSON;
@@ -36,8 +36,8 @@ function PaginatedPubsFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(Pub_1.PubFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Pub_1.PubFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedPubsFromJSONTyped = PaginatedPubsFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedPubsToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(Pub_1.PubToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Pub_1.PubToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedPubsToJSON = PaginatedPubsToJSON;
@@ -50,18 +50,18 @@ function PubFromJSONTyped(json, ignoreDiscriminator) {
50
50
  return {
51
51
  'id': json['id'],
52
52
  'name': json['name'],
53
- 'analyticTag': json['analyticTag'] == null ? undefined : json['analyticTag'],
54
- 'tags': json['tags'] == null ? undefined : json['tags'],
55
- 'location': (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
53
+ 'analyticTag': json['analyticTag'],
54
+ 'tags': json['tags'],
55
+ 'location': (json['location'] === null || json['location'] === undefined) ? json['location'] : (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
56
56
  'active': json['active'],
57
- 'schedule': json['schedule'] == null ? undefined : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
58
- 'timecard': json['timecard'] == null ? undefined : (0, PubTimecard_1.PubTimecardFromJSON)(json['timecard']),
59
- 'image': json['image'] == null ? undefined : (0, Image_1.ImageFromJSON)(json['image']),
60
- 'target': (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
61
- 'clickCount': json['clickCount'] == null ? undefined : json['clickCount'],
62
- 'statistics': json['statistics'] == null ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['statistics']),
63
- 'createdAt': (new Date(json['createdAt'])),
64
- 'updatedAt': (new Date(json['updatedAt'])),
57
+ 'schedule': (json['schedule'] === null || json['schedule'] === undefined) ? json['schedule'] : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
58
+ 'timecard': (json['timecard'] === null || json['timecard'] === undefined) ? json['timecard'] : (0, PubTimecard_1.PubTimecardFromJSON)(json['timecard']),
59
+ 'image': (json['image'] === null || json['image'] === undefined) ? json['image'] : (0, Image_1.ImageFromJSON)(json['image']),
60
+ 'target': (json['target'] === null || json['target'] === undefined) ? json['target'] : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
61
+ 'clickCount': json['clickCount'],
62
+ 'statistics': (json['statistics'] === null || json['statistics'] === undefined) ? json['statistics'] : (0, HttpLink_1.HttpLinkFromJSON)(json['statistics']),
63
+ 'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
64
+ 'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
65
65
  };
66
66
  }
67
67
  exports.PubFromJSONTyped = PubFromJSONTyped;
@@ -82,8 +82,8 @@ function PubToJSON(value) {
82
82
  'target': (0, HttpLink_1.HttpLinkToJSON)(value['target']),
83
83
  'clickCount': value['clickCount'],
84
84
  'statistics': (0, HttpLink_1.HttpLinkToJSON)(value['statistics']),
85
- 'createdAt': ((value['createdAt']).toISOString()),
86
- 'updatedAt': ((value['updatedAt']).toISOString()),
85
+ 'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
86
+ 'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
87
87
  };
88
88
  }
89
89
  exports.PubToJSON = PubToJSON;
@@ -42,10 +42,10 @@ function PubCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
42
42
  }
43
43
  return {
44
44
  'name': json['name'],
45
- 'target': (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
46
- 'location': (0, PubLocationEnum_1.PubLocationEnumFromJSON)(json['location']),
45
+ 'target': (json['target'] === null || json['target'] === undefined) ? json['target'] : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
46
+ 'location': (json['location'] === null || json['location'] === undefined) ? json['location'] : (0, PubLocationEnum_1.PubLocationEnumFromJSON)(json['location']),
47
47
  'active': json['active'],
48
- 'schedule': json['schedule'] == null ? undefined : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
48
+ 'schedule': (json['schedule'] === null || json['schedule'] === undefined) ? json['schedule'] : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
49
49
  };
50
50
  }
51
51
  exports.PubCreationParametersFromJSONTyped = PubCreationParametersFromJSONTyped;
@@ -23,4 +23,3 @@ export declare function instanceOfPubLocationEnum(value: any): boolean;
23
23
  export declare function PubLocationEnumFromJSON(json: any): PubLocationEnum;
24
24
  export declare function PubLocationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PubLocationEnum;
25
25
  export declare function PubLocationEnumToJSON(value?: PubLocationEnum | null): any;
26
- export declare function PubLocationEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): PubLocationEnum;
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PubLocationEnumToJSONTyped = exports.PubLocationEnumToJSON = exports.PubLocationEnumFromJSONTyped = exports.PubLocationEnumFromJSON = exports.instanceOfPubLocationEnum = exports.PubLocationEnum = void 0;
16
+ exports.PubLocationEnumToJSON = exports.PubLocationEnumFromJSONTyped = exports.PubLocationEnumFromJSON = exports.instanceOfPubLocationEnum = exports.PubLocationEnum = void 0;
17
17
  /**
18
18
  * Location enum
19
19
  * @export
@@ -46,7 +46,3 @@ function PubLocationEnumToJSON(value) {
46
46
  return value;
47
47
  }
48
48
  exports.PubLocationEnumToJSON = PubLocationEnumToJSON;
49
- function PubLocationEnumToJSONTyped(value, ignoreDiscriminator) {
50
- return value;
51
- }
52
- exports.PubLocationEnumToJSONTyped = PubLocationEnumToJSONTyped;
@@ -30,8 +30,8 @@ function PubScheduleFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'activationDate': json['activationDate'] == null ? undefined : (new Date(json['activationDate'])),
34
- 'deactivationDate': json['deactivationDate'] == null ? undefined : (new Date(json['deactivationDate'])),
33
+ 'activationDate': (json['activationDate'] === null || json['activationDate'] === undefined) ? json['activationDate'] : new Date(json['activationDate']),
34
+ 'deactivationDate': (json['deactivationDate'] === null || json['deactivationDate'] === undefined) ? json['deactivationDate'] : new Date(json['deactivationDate']),
35
35
  };
36
36
  }
37
37
  exports.PubScheduleFromJSONTyped = PubScheduleFromJSONTyped;
@@ -40,8 +40,8 @@ function PubScheduleToJSON(value) {
40
40
  return value;
41
41
  }
42
42
  return {
43
- 'activationDate': value['activationDate'] == null ? undefined : (value['activationDate'].toISOString()),
44
- 'deactivationDate': value['deactivationDate'] == null ? undefined : (value['deactivationDate'].toISOString()),
43
+ 'activationDate': (value['activationDate'] === null || value['activationDate'] === undefined) ? value['activationDate'] : value['activationDate'].toISOString(),
44
+ 'deactivationDate': (value['deactivationDate'] === null || value['deactivationDate'] === undefined) ? value['deactivationDate'] : value['deactivationDate'].toISOString(),
45
45
  };
46
46
  }
47
47
  exports.PubScheduleToJSON = PubScheduleToJSON;
@@ -31,9 +31,9 @@ function PubStatisticsFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return json;
32
32
  }
33
33
  return {
34
- 'user': json['user'] == null ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['user']),
35
- 'clickCount': json['clickCount'] == null ? undefined : json['clickCount'],
36
- 'lastClickDate': json['lastClickDate'] == null ? undefined : (new Date(json['lastClickDate'])),
34
+ 'user': (json['user'] === null || json['user'] === undefined) ? json['user'] : (0, UserLink_1.UserLinkFromJSON)(json['user']),
35
+ 'clickCount': json['clickCount'],
36
+ 'lastClickDate': (json['lastClickDate'] === null || json['lastClickDate'] === undefined) ? json['lastClickDate'] : new Date(json['lastClickDate']),
37
37
  };
38
38
  }
39
39
  exports.PubStatisticsFromJSONTyped = PubStatisticsFromJSONTyped;
@@ -44,7 +44,7 @@ function PubStatisticsToJSON(value) {
44
44
  return {
45
45
  'user': (0, UserLink_1.UserLinkToJSON)(value['user']),
46
46
  'clickCount': value['clickCount'],
47
- 'lastClickDate': value['lastClickDate'] == null ? undefined : ((value['lastClickDate']).toISOString()),
47
+ 'lastClickDate': (value['lastClickDate'] === null || value['lastClickDate'] === undefined) ? value['lastClickDate'] : (value['lastClickDate']).toISOString(),
48
48
  };
49
49
  }
50
50
  exports.PubStatisticsToJSON = PubStatisticsToJSON;
@@ -30,8 +30,8 @@ function PubTimecardFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'activationDate': json['activationDate'] == null ? undefined : (new Date(json['activationDate'])),
34
- 'deactivationDate': json['deactivationDate'] == null ? undefined : (new Date(json['deactivationDate'])),
33
+ 'activationDate': (json['activationDate'] === null || json['activationDate'] === undefined) ? json['activationDate'] : new Date(json['activationDate']),
34
+ 'deactivationDate': (json['deactivationDate'] === null || json['deactivationDate'] === undefined) ? json['deactivationDate'] : new Date(json['deactivationDate']),
35
35
  };
36
36
  }
37
37
  exports.PubTimecardFromJSONTyped = PubTimecardFromJSONTyped;
@@ -40,8 +40,8 @@ function PubTimecardToJSON(value) {
40
40
  return value;
41
41
  }
42
42
  return {
43
- 'activationDate': value['activationDate'] == null ? undefined : (value['activationDate'].toISOString()),
44
- 'deactivationDate': value['deactivationDate'] == null ? undefined : (value['deactivationDate'].toISOString()),
43
+ 'activationDate': (value['activationDate'] === null || value['activationDate'] === undefined) ? value['activationDate'] : value['activationDate'].toISOString(),
44
+ 'deactivationDate': (value['deactivationDate'] === null || value['deactivationDate'] === undefined) ? value['deactivationDate'] : value['deactivationDate'].toISOString(),
45
45
  };
46
46
  }
47
47
  exports.PubTimecardToJSON = PubTimecardToJSON;
@@ -33,12 +33,12 @@ function PubUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'name': json['name'] == null ? undefined : json['name'],
37
- 'target': json['target'] == null ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
38
- 'location': json['location'] == null ? undefined : (0, PubLocationEnum_1.PubLocationEnumFromJSON)(json['location']),
39
- 'active': json['active'] == null ? undefined : json['active'],
40
- 'schedule': json['schedule'] == null ? undefined : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
41
- 'tags': json['tags'] == null ? undefined : json['tags'],
36
+ 'name': json['name'],
37
+ 'target': (json['target'] === null || json['target'] === undefined) ? json['target'] : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
38
+ 'location': (json['location'] === null || json['location'] === undefined) ? json['location'] : (0, PubLocationEnum_1.PubLocationEnumFromJSON)(json['location']),
39
+ 'active': json['active'],
40
+ 'schedule': (json['schedule'] === null || json['schedule'] === undefined) ? json['schedule'] : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
41
+ 'tags': json['tags'],
42
42
  };
43
43
  }
44
44
  exports.PubUpdateParametersFromJSONTyped = PubUpdateParametersFromJSONTyped;
@@ -34,9 +34,9 @@ function UserLinkFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'href': json['href'],
37
- 'id': json['id'] == null ? undefined : json['id'],
38
- 'nickname': json['nickname'] == null ? undefined : json['nickname'],
39
- 'company': json['company'] == null ? undefined : (0, UserLinkAllOfCompany_1.UserLinkAllOfCompanyFromJSON)(json['company']),
37
+ 'id': json['id'],
38
+ 'nickname': json['nickname'],
39
+ 'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserLinkAllOfCompany_1.UserLinkAllOfCompanyFromJSON)(json['company']),
40
40
  };
41
41
  }
42
42
  exports.UserLinkFromJSONTyped = UserLinkFromJSONTyped;
@@ -30,7 +30,7 @@ function UserLinkAllOfCompanyFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'commercialName': json['commercialName'] == null ? undefined : json['commercialName'],
33
+ 'commercialName': json['commercialName'],
34
34
  };
35
35
  }
36
36
  exports.UserLinkAllOfCompanyFromJSONTyped = UserLinkAllOfCompanyFromJSONTyped;
@@ -37,10 +37,10 @@ function FavoriteProductRecommendationFromJSONTyped(json, ignoreDiscriminator) {
37
37
  }
38
38
  return {
39
39
  'id': json['id'],
40
- 'user': json['user'] == null ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['user']),
41
- 'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
42
- 'score': json['score'] == null ? undefined : json['score'],
43
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
40
+ 'user': (json['user'] === null || json['user'] === undefined) ? json['user'] : (0, UserLink_1.UserLinkFromJSON)(json['user']),
41
+ 'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
42
+ 'score': json['score'],
43
+ 'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
44
44
  };
45
45
  }
46
46
  exports.FavoriteProductRecommendationFromJSONTyped = FavoriteProductRecommendationFromJSONTyped;
@@ -53,7 +53,7 @@ function FavoriteProductRecommendationToJSON(value) {
53
53
  'user': (0, UserLink_1.UserLinkToJSON)(value['user']),
54
54
  'product': (0, ProductLink_1.ProductLinkToJSON)(value['product']),
55
55
  'score': value['score'],
56
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
56
+ 'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
57
57
  };
58
58
  }
59
59
  exports.FavoriteProductRecommendationToJSON = FavoriteProductRecommendationToJSON;
@@ -36,8 +36,8 @@ function PaginatedFavoriteProductRecommendationsFromJSONTyped(json, ignoreDiscri
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedFavoriteProductRecommendationsFromJSONTyped = PaginatedFavoriteProductRecommendationsFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedFavoriteProductRecommendationsToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedFavoriteProductRecommendationsToJSON = PaginatedFavoriteProductRecommendationsToJSON;
@@ -33,7 +33,7 @@ function PaginatedObjectFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
36
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
37
37
  };
38
38
  }
39
39
  exports.PaginatedObjectFromJSONTyped = PaginatedObjectFromJSONTyped;
@@ -36,8 +36,8 @@ function PaginatedProductPriceRecommendationsFromJSONTyped(json, ignoreDiscrimin
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(ProductPriceRecommendation_1.ProductPriceRecommendationFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(ProductPriceRecommendation_1.ProductPriceRecommendationFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedProductPriceRecommendationsFromJSONTyped = PaginatedProductPriceRecommendationsFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedProductPriceRecommendationsToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(ProductPriceRecommendation_1.ProductPriceRecommendationToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(ProductPriceRecommendation_1.ProductPriceRecommendationToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedProductPriceRecommendationsToJSON = PaginatedProductPriceRecommendationsToJSON;
@@ -36,8 +36,8 @@ function PaginatedProductRecommendationsFromJSONTyped(json, ignoreDiscriminator)
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(ProductRecommendation_1.ProductRecommendationFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(ProductRecommendation_1.ProductRecommendationFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedProductRecommendationsFromJSONTyped = PaginatedProductRecommendationsFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedProductRecommendationsToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(ProductRecommendation_1.ProductRecommendationToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(ProductRecommendation_1.ProductRecommendationToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedProductRecommendationsToJSON = PaginatedProductRecommendationsToJSON;
@@ -33,7 +33,7 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'href': json['href'],
36
- 'id': json['id'] == null ? undefined : json['id'],
36
+ 'id': json['id'],
37
37
  };
38
38
  }
39
39
  exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
@@ -38,9 +38,9 @@ function ProductPriceRecommendationFromJSONTyped(json, ignoreDiscriminator) {
38
38
  }
39
39
  return {
40
40
  'id': json['id'],
41
- 'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
41
+ 'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
42
42
  'price': json['price'],
43
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
43
+ 'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
44
44
  };
45
45
  }
46
46
  exports.ProductPriceRecommendationFromJSONTyped = ProductPriceRecommendationFromJSONTyped;
@@ -52,7 +52,7 @@ function ProductPriceRecommendationToJSON(value) {
52
52
  'id': value['id'],
53
53
  'product': (0, ProductLink_1.ProductLinkToJSON)(value['product']),
54
54
  'price': value['price'],
55
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
55
+ 'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
56
56
  };
57
57
  }
58
58
  exports.ProductPriceRecommendationToJSON = ProductPriceRecommendationToJSON;
@@ -37,10 +37,10 @@ function ProductRecommendationFromJSONTyped(json, ignoreDiscriminator) {
37
37
  }
38
38
  return {
39
39
  'id': json['id'],
40
- 'user': json['user'] == null ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['user']),
41
- 'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
42
- 'score': json['score'] == null ? undefined : json['score'],
43
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
40
+ 'user': (json['user'] === null || json['user'] === undefined) ? json['user'] : (0, UserLink_1.UserLinkFromJSON)(json['user']),
41
+ 'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
42
+ 'score': json['score'],
43
+ 'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
44
44
  };
45
45
  }
46
46
  exports.ProductRecommendationFromJSONTyped = ProductRecommendationFromJSONTyped;
@@ -53,7 +53,7 @@ function ProductRecommendationToJSON(value) {
53
53
  'user': (0, UserLink_1.UserLinkToJSON)(value['user']),
54
54
  'product': (0, ProductLink_1.ProductLinkToJSON)(value['product']),
55
55
  'score': value['score'],
56
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
56
+ 'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
57
57
  };
58
58
  }
59
59
  exports.ProductRecommendationToJSON = ProductRecommendationToJSON;
@@ -26,4 +26,3 @@ export declare function instanceOfProductRecommendationType(value: any): boolean
26
26
  export declare function ProductRecommendationTypeFromJSON(json: any): ProductRecommendationType;
27
27
  export declare function ProductRecommendationTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRecommendationType;
28
28
  export declare function ProductRecommendationTypeToJSON(value?: ProductRecommendationType | null): any;
29
- export declare function ProductRecommendationTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRecommendationType;
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProductRecommendationTypeToJSONTyped = exports.ProductRecommendationTypeToJSON = exports.ProductRecommendationTypeFromJSONTyped = exports.ProductRecommendationTypeFromJSON = exports.instanceOfProductRecommendationType = exports.ProductRecommendationType = void 0;
16
+ exports.ProductRecommendationTypeToJSON = exports.ProductRecommendationTypeFromJSONTyped = exports.ProductRecommendationTypeFromJSON = exports.instanceOfProductRecommendationType = exports.ProductRecommendationType = void 0;
17
17
  /**
18
18
  * - BUYING_HISTORY : Based on user buying history
19
19
  * - BUYING_SIMILARITY : Based on similarity with other user purchases
@@ -49,7 +49,3 @@ function ProductRecommendationTypeToJSON(value) {
49
49
  return value;
50
50
  }
51
51
  exports.ProductRecommendationTypeToJSON = ProductRecommendationTypeToJSON;
52
- function ProductRecommendationTypeToJSONTyped(value, ignoreDiscriminator) {
53
- return value;
54
- }
55
- exports.ProductRecommendationTypeToJSONTyped = ProductRecommendationTypeToJSONTyped;
@@ -33,7 +33,7 @@ function UserLinkFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'href': json['href'],
36
- 'id': json['id'] == null ? undefined : json['id'],
36
+ 'id': json['id'],
37
37
  };
38
38
  }
39
39
  exports.UserLinkFromJSONTyped = UserLinkFromJSONTyped;
@@ -33,7 +33,7 @@ function OrderLinkFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'href': json['href'],
36
- 'reference': json['reference'] == null ? undefined : json['reference'],
36
+ 'reference': json['reference'],
37
37
  };
38
38
  }
39
39
  exports.OrderLinkFromJSONTyped = OrderLinkFromJSONTyped;
@@ -33,7 +33,7 @@ function PaginatedObjectFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
36
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
37
37
  };
38
38
  }
39
39
  exports.PaginatedObjectFromJSONTyped = PaginatedObjectFromJSONTyped;
@@ -36,8 +36,8 @@ function PaginatedRfoisFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
- 'records': (json['records'].map(Rfoi_1.RfoiFromJSON)),
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Rfoi_1.RfoiFromJSON),
41
41
  };
42
42
  }
43
43
  exports.PaginatedRfoisFromJSONTyped = PaginatedRfoisFromJSONTyped;
@@ -47,7 +47,7 @@ function PaginatedRfoisToJSON(value) {
47
47
  }
48
48
  return {
49
49
  'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
- 'records': (value['records'].map(Rfoi_1.RfoiToJSON)),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Rfoi_1.RfoiToJSON),
51
51
  };
52
52
  }
53
53
  exports.PaginatedRfoisToJSON = PaginatedRfoisToJSON;
@@ -30,11 +30,11 @@ function RfiCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'userId': json['userId'] == null ? undefined : json['userId'],
34
- 'title': json['title'] == null ? undefined : json['title'],
35
- 'message': json['message'] == null ? undefined : json['message'],
36
- 'email': json['email'] == null ? undefined : json['email'],
37
- 'orderReference': json['orderReference'] == null ? undefined : json['orderReference'],
33
+ 'userId': json['userId'],
34
+ 'title': json['title'],
35
+ 'message': json['message'],
36
+ 'email': json['email'],
37
+ 'orderReference': json['orderReference'],
38
38
  };
39
39
  }
40
40
  exports.RfiCreationParametersFromJSONTyped = RfiCreationParametersFromJSONTyped;
@@ -32,13 +32,13 @@ function RfoiFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'id': json['id'] == null ? undefined : json['id'],
36
- 'buyer': json['buyer'] == null ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
37
- 'seller': json['seller'] == null ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
38
- 'order': json['order'] == null ? undefined : (0, OrderLink_1.OrderLinkFromJSON)(json['order']),
39
- 'processed': json['processed'] == null ? undefined : json['processed'],
40
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
41
- 'udpatedAt': json['udpatedAt'] == null ? undefined : (new Date(json['udpatedAt'])),
35
+ 'id': json['id'],
36
+ 'buyer': (json['buyer'] === null || json['buyer'] === undefined) ? json['buyer'] : (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
37
+ 'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
38
+ 'order': (json['order'] === null || json['order'] === undefined) ? json['order'] : (0, OrderLink_1.OrderLinkFromJSON)(json['order']),
39
+ 'processed': json['processed'],
40
+ 'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
41
+ 'udpatedAt': (json['udpatedAt'] === null || json['udpatedAt'] === undefined) ? json['udpatedAt'] : new Date(json['udpatedAt']),
42
42
  };
43
43
  }
44
44
  exports.RfoiFromJSONTyped = RfoiFromJSONTyped;
@@ -52,8 +52,8 @@ function RfoiToJSON(value) {
52
52
  'seller': (0, UserLink_1.UserLinkToJSON)(value['seller']),
53
53
  'order': (0, OrderLink_1.OrderLinkToJSON)(value['order']),
54
54
  'processed': value['processed'],
55
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
56
- 'udpatedAt': value['udpatedAt'] == null ? undefined : ((value['udpatedAt']).toISOString()),
55
+ 'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
56
+ 'udpatedAt': (value['udpatedAt'] === null || value['udpatedAt'] === undefined) ? value['udpatedAt'] : (value['udpatedAt']).toISOString(),
57
57
  };
58
58
  }
59
59
  exports.RfoiToJSON = RfoiToJSON;
@@ -30,7 +30,7 @@ function RfoiUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'processed': json['processed'] == null ? undefined : json['processed'],
33
+ 'processed': json['processed'],
34
34
  };
35
35
  }
36
36
  exports.RfoiUpdateParametersFromJSONTyped = RfoiUpdateParametersFromJSONTyped;
@@ -34,9 +34,9 @@ function UserLinkFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'href': json['href'],
37
- 'id': json['id'] == null ? undefined : json['id'],
38
- 'nickname': json['nickname'] == null ? undefined : json['nickname'],
39
- 'company': json['company'] == null ? undefined : (0, UserLinkAllOfCompany_1.UserLinkAllOfCompanyFromJSON)(json['company']),
37
+ 'id': json['id'],
38
+ 'nickname': json['nickname'],
39
+ 'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserLinkAllOfCompany_1.UserLinkAllOfCompanyFromJSON)(json['company']),
40
40
  };
41
41
  }
42
42
  exports.UserLinkFromJSONTyped = UserLinkFromJSONTyped;
@@ -30,7 +30,7 @@ function UserLinkAllOfCompanyFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'legalName': json['legalName'] == null ? undefined : json['legalName'],
33
+ 'legalName': json['legalName'],
34
34
  };
35
35
  }
36
36
  exports.UserLinkAllOfCompanyFromJSONTyped = UserLinkAllOfCompanyFromJSONTyped;
@@ -26,5 +26,4 @@ export declare type AnyDistributionMode = {
26
26
  } & UnitaryDistributionMode;
27
27
  export declare function AnyDistributionModeFromJSON(json: any): AnyDistributionMode;
28
28
  export declare function AnyDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyDistributionMode;
29
- export declare function AnyDistributionModeToJSON(json: any): any;
30
- export declare function AnyDistributionModeToJSONTyped(value?: AnyDistributionMode | null, ignoreDiscriminator?: boolean): any;
29
+ export declare function AnyDistributionModeToJSON(value?: AnyDistributionMode | null): any;