@lcdp/api-react-rest-client 2.9.0-upgrade-codegen-client-react.12434127684 → 2.9.0-upgrade-codegen-client-react.12465674350
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.
- package/auth/src/models/AnyAuthenticationCredential.d.ts +1 -2
- package/auth/src/models/AnyAuthenticationCredential.js +7 -12
- package/auth/src/models/AnyUser.d.ts +1 -2
- package/auth/src/models/AnyUser.js +5 -10
- package/auth/src/models/ApiKey.js +11 -11
- package/auth/src/models/ApiKeyCreationParameters.js +3 -3
- package/auth/src/models/DisposableTokenCreationParameters.js +1 -1
- package/auth/src/models/PaginatedApiKeys.js +3 -3
- package/auth/src/models/PaginatedObject.js +1 -1
- package/auth/src/models/RevealedApiKey.js +12 -12
- package/auth/src/models/UserLink.js +3 -3
- package/auth/src/models/UserLinkAllOfCompany.js +1 -1
- package/banking-operation/src/models/Levy.js +8 -8
- package/banking-operation/src/models/LevyCreationParameters.js +2 -2
- package/banking-operation/src/models/LevyPayment.js +2 -2
- package/banking-operation/src/models/LevyPaymentStatus.d.ts +0 -1
- package/banking-operation/src/models/LevyPaymentStatus.js +1 -5
- package/banking-operation/src/models/LevyStatus.d.ts +0 -1
- package/banking-operation/src/models/LevyStatus.js +1 -5
- package/banking-operation/src/models/LevyUpdateParameters.js +2 -2
- package/banking-operation/src/models/OrderLink.js +1 -1
- package/banking-operation/src/models/OrderPayment.js +5 -5
- package/banking-operation/src/models/OrderPaymentDeposit.js +1 -1
- package/banking-operation/src/models/OrderPaymentWallets.js +2 -2
- package/banking-operation/src/models/OrderPaymentWithdraw.js +4 -4
- package/banking-operation/src/models/PaginatedLevies.js +3 -3
- package/banking-operation/src/models/PaginatedObject.js +1 -1
- package/banking-operation/src/models/PaginatedOrderPayments.js +3 -3
- package/banking-operation/src/models/Transaction.js +6 -6
- package/banking-operation/src/models/TransactionMangopayTarget.js +1 -1
- package/banking-operation/src/models/UserLink.js +1 -1
- package/banking-operation/src/models/UserLinkAllOfCompany.js +1 -1
- package/banking-operation/src/models/Wallet.js +1 -1
- package/banking-operation/src/models/WalletMangopayTarget.js +1 -1
- package/catalog/src/models/Barcodes.js +4 -4
- package/catalog/src/models/LaboratoryLink.js +2 -2
- package/catalog/src/models/PaginatedObject.js +1 -1
- package/catalog/src/models/PaginatedProductInsights.js +3 -3
- package/catalog/src/models/ProductInsight.js +12 -12
- package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +11 -11
- package/catalog/src/models/ProductInsightJournal.js +4 -4
- package/catalog/src/models/ProductSecondaryTypeLink.js +2 -2
- package/catalog/src/models/ProductStorageType.d.ts +0 -1
- package/catalog/src/models/ProductStorageType.js +1 -5
- package/catalog/src/models/ProductTypeLink.js +2 -2
- package/catalog/src/models/VatLink.js +3 -3
- package/challenge/src/models/Challenge.js +2 -2
- package/challenge/src/models/ChallengeAction.js +1 -1
- package/content/src/models/Content.js +7 -7
- package/factory/src/models/AnyDistributionMode.d.ts +1 -2
- package/factory/src/models/AnyDistributionMode.js +6 -11
- package/factory/src/models/AnyFactory.d.ts +1 -2
- package/factory/src/models/AnyFactory.js +6 -11
- package/factory/src/models/Assembly.js +15 -15
- package/factory/src/models/AssemblyCreationParameters.js +2 -2
- package/factory/src/models/AssemblyJournal.js +4 -4
- package/factory/src/models/AssemblyStatus.d.ts +0 -1
- package/factory/src/models/AssemblyStatus.js +1 -5
- package/factory/src/models/OfferPlanificationFactory.js +3 -3
- package/factory/src/models/OfferPlanificationFactoryAllOfRecords.js +5 -5
- package/factory/src/models/PaginatedAssemblies.js +3 -3
- package/factory/src/models/PaginatedObject.js +1 -1
- package/factory/src/models/Product.js +9 -9
- package/factory/src/models/ProductStatus.d.ts +0 -1
- package/factory/src/models/ProductStatus.js +1 -5
- package/factory/src/models/ProductUpsertFactory.js +2 -2
- package/factory/src/models/ProductUpsertFactoryAllOfRecords.js +1 -1
- package/factory/src/models/RangeDistributionMode.js +2 -2
- package/factory/src/models/SaleOfferStatus.d.ts +0 -1
- package/factory/src/models/SaleOfferStatus.js +1 -5
- package/factory/src/models/SaleOfferUpsertFactory.js +3 -3
- package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.js +5 -5
- package/factory/src/models/StatusEnum.d.ts +0 -1
- package/factory/src/models/StatusEnum.js +1 -5
- package/factory/src/models/Stock.js +4 -4
- package/factory/src/models/UserLink.js +1 -1
- package/favorite/src/models/Barcodes.js +4 -4
- package/favorite/src/models/FavoriteProduct.js +4 -4
- package/favorite/src/models/PaginatedFavoriteProducts.js +3 -3
- package/favorite/src/models/PaginatedObject.js +1 -1
- package/favorite/src/models/ProductLink.js +3 -3
- package/favorite/src/models/ProductStatus.d.ts +0 -1
- package/favorite/src/models/ProductStatus.js +1 -5
- package/inventory/src/models/ActiveProduct.js +4 -4
- package/inventory/src/models/ActiveProductUpdateParameters.js +1 -1
- package/inventory/src/models/Barcodes.js +4 -4
- package/inventory/src/models/MisalignedProduct.js +4 -4
- package/inventory/src/models/OverstockProduct.js +1 -1
- package/inventory/src/models/OverstockProductUpdateParameters.js +1 -1
- package/inventory/src/models/PaginatedActiveProducts.js +3 -3
- package/inventory/src/models/PaginatedMisalignedProducts.js +3 -3
- package/inventory/src/models/PaginatedObject.js +1 -1
- package/inventory/src/models/PaginatedOverstockProducts.js +3 -3
- package/inventory/src/models/ProductLink.js +3 -3
- package/inventory/src/models/Statistics.js +3 -3
- package/inventory/src/models/StatisticsActiveProducts.js +2 -2
- package/inventory/src/models/StatisticsMisalignedProducts.js +1 -1
- package/inventory/src/models/StatisticsOverstockProducts.js +1 -1
- package/inventory/src/models/Synchroneity.js +1 -1
- package/inventory/src/models/SynchroneityOffisante.js +2 -2
- package/inventory/src/models/SynchroneitySource.js +3 -3
- package/invoice/src/models/Invoice.js +4 -4
- package/invoice/src/models/InvoiceSummaryCreationParameters.js +4 -4
- package/invoice/src/models/InvoiceType.d.ts +0 -1
- package/invoice/src/models/InvoiceType.js +1 -5
- package/invoice/src/models/InvoiceUpdateParameters.js +2 -2
- package/invoice/src/models/OrderLink.js +3 -3
- package/invoice/src/models/OrderTally.js +5 -5
- package/invoice/src/models/PaginatedInvoices.js +3 -3
- package/invoice/src/models/PaginatedObject.js +1 -1
- package/invoice/src/models/PaginatedOrderTallies.js +3 -3
- package/invoice/src/models/PaginatedPlannedInvoiceLine.js +3 -3
- package/invoice/src/models/PlannedInvoiceLine.js +3 -3
- package/invoice/src/models/UserLink.js +3 -3
- package/invoice/src/models/UserLinkAllOfCompany.js +1 -1
- package/laboratory/src/models/Laboratory.js +2 -2
- package/laboratory/src/models/PaginatedLaboratories.js +3 -3
- package/laboratory/src/models/PaginatedObject.js +1 -1
- package/laboratory-store/src/models/DisplayType.d.ts +0 -1
- package/laboratory-store/src/models/DisplayType.js +1 -5
- package/laboratory-store/src/models/Image.js +2 -2
- package/laboratory-store/src/models/ImageVersions.js +5 -5
- package/laboratory-store/src/models/LaboratoryStore.js +13 -13
- package/laboratory-store/src/models/LaboratoryStoreCreationParameters.js +8 -8
- package/laboratory-store/src/models/LaboratoryStoreUpdateParameters.js +10 -10
- package/laboratory-store/src/models/LaboratoryType.d.ts +0 -1
- package/laboratory-store/src/models/LaboratoryType.js +1 -5
- package/laboratory-store/src/models/OwnerLink.js +2 -2
- package/laboratory-store/src/models/PaginatedLaboratoryStores.js +3 -3
- package/laboratory-store/src/models/PaginatedObject.js +1 -1
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.d.ts +1 -2
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.js +4 -9
- package/laboratory-store-log/src/models/LaboratoryStoreLog.js +3 -3
- package/laboratory-store-log/src/models/Log.js +2 -2
- package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogs.js +3 -3
- package/laboratory-store-log/src/models/PaginatedObject.js +1 -1
- package/lexicon/src/models/PaginatedObject.js +1 -1
- package/lexicon/src/models/PaginatedTags.js +3 -3
- package/lexicon/src/models/PharmacyGroup.js +2 -2
- package/lexicon/src/models/PharmacyLocation.js +2 -2
- package/lexicon/src/models/PharmacySoftware.js +2 -2
- package/lexicon/src/models/Tag.js +2 -2
- package/lexicon/src/models/TagCreationParameters.js +1 -1
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +6 -11
- package/magic-cart/src/models/Barcodes.js +4 -4
- package/magic-cart/src/models/ExpressOrder.js +3 -3
- package/magic-cart/src/models/ExpressOrderCreationParameters.js +3 -3
- package/magic-cart/src/models/ExpressOrderNeed.js +2 -2
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
- package/magic-cart/src/models/ProductLink.js +2 -2
- package/magic-cart/src/models/ProductStorageType.d.ts +0 -1
- package/magic-cart/src/models/ProductStorageType.js +1 -5
- package/magic-cart/src/models/SaleOfferLink.js +3 -3
- package/magic-cart/src/models/SaleOfferProposal.js +2 -2
- package/magic-cart/src/models/SellerProposal.js +3 -3
- package/magic-cart/src/models/Stock.js +4 -4
- package/mandate/src/models/Challenge.js +2 -2
- package/mandate/src/models/ChallengeAction.js +1 -1
- package/mandate/src/models/Mandate.js +4 -4
- package/mandate/src/models/MandateChallenge.js +2 -2
- package/mandate/src/models/MandateCreationParameters.js +2 -2
- package/message/src/models/Message.js +1 -1
- package/message/src/models/MessageUpdateParameters.js +3 -3
- package/message/src/models/MessageViewerCreationParameters.js +1 -1
- package/message/src/models/PaginatedMessages.js +3 -3
- package/message/src/models/PaginatedObject.js +1 -1
- package/notification/src/models/Notification.js +11 -11
- package/notification/src/models/NotificationType.js +10 -10
- package/notification/src/models/NotificationTypeAttachment.js +8 -8
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +1 -5
- package/notification/src/models/NotificationTypeUpdateParameters.js +6 -6
- package/notification/src/models/NotificationUpdateParameters.js +2 -2
- package/notification/src/models/PaginatedNotificationTypes.js +3 -3
- package/notification/src/models/PaginatedNotifications.js +3 -3
- package/notification/src/models/PaginatedObject.js +1 -1
- package/order/src/models/Address.js +4 -4
- package/order/src/models/Anomalies.js +4 -4
- package/order/src/models/AnomaliesUpdateParameters.js +4 -4
- package/order/src/models/AnyMetaOrderWarning.d.ts +1 -2
- package/order/src/models/AnyMetaOrderWarning.js +5 -10
- package/order/src/models/Barcodes.js +4 -4
- package/order/src/models/FreeCarriageCoupon.js +12 -12
- package/order/src/models/FreeCarriageCouponCreationParameters.js +6 -6
- package/order/src/models/MetaOrder.js +5 -5
- package/order/src/models/MetaOrderCreationParameters.js +2 -2
- package/order/src/models/MetaOrderWithWarnings.js +3 -3
- package/order/src/models/Order.js +29 -29
- package/order/src/models/OrderAddedItem.js +12 -12
- package/order/src/models/OrderItem.js +12 -12
- package/order/src/models/OrderItemPrices.js +5 -5
- package/order/src/models/OrderItemRefundedCreationParameters.js +1 -1
- package/order/src/models/OrderItemWarning.js +1 -1
- package/order/src/models/OrderItemsOperation.d.ts +0 -1
- package/order/src/models/OrderItemsOperation.js +1 -5
- package/order/src/models/OrderJournal.js +17 -17
- package/order/src/models/OrderPrices.js +9 -9
- package/order/src/models/OrderRefundedItem.js +12 -12
- package/order/src/models/OrderRemovedItem.js +12 -12
- package/order/src/models/OrderStatus.d.ts +0 -1
- package/order/src/models/OrderStatus.js +1 -5
- package/order/src/models/OrderStatusReason.d.ts +0 -1
- package/order/src/models/OrderStatusReason.js +1 -5
- package/order/src/models/OrderStorageType.d.ts +0 -1
- package/order/src/models/OrderStorageType.js +1 -5
- package/order/src/models/OrderThreads.js +1 -1
- package/order/src/models/OrderType.d.ts +0 -1
- package/order/src/models/OrderType.js +1 -5
- package/order/src/models/OrderUpdateParameters.js +4 -4
- package/order/src/models/PaginatedFreeCarriageCoupons.js +3 -3
- package/order/src/models/PaginatedObject.js +1 -1
- package/order/src/models/PaginatedOrders.js +3 -3
- package/order/src/models/ProductLink.js +4 -4
- package/order/src/models/ProductStorageType.d.ts +0 -1
- package/order/src/models/ProductStorageType.js +1 -5
- package/order/src/models/Reservation.js +7 -7
- package/order/src/models/ReservationUpdateParameters.js +1 -1
- package/order/src/models/ShoppedOffer.js +1 -1
- package/order/src/models/UpdateOrderStatusParameters.d.ts +0 -1
- package/order/src/models/UpdateOrderStatusParameters.js +1 -5
- package/order/src/models/UserLink.js +5 -5
- package/order/src/models/UserLinkAllOfCompany.js +1 -1
- package/order-log/src/models/AnyOrderLog.d.ts +1 -2
- package/order-log/src/models/AnyOrderLog.js +4 -9
- package/order-log/src/models/Log.js +2 -2
- package/order-log/src/models/OrderLog.js +4 -4
- package/order-log/src/models/OrderStatusReason.d.ts +0 -1
- package/order-log/src/models/OrderStatusReason.js +1 -5
- package/order-log/src/models/PaginatedObject.js +1 -1
- package/order-log/src/models/PaginatedOrderLogs.js +3 -3
- package/outrage-message/src/models/OutrageMessage.js +7 -7
- package/outrage-message/src/models/OutrageMessageUpdateParameters.js +2 -2
- package/outrage-message/src/models/PaginatedObject.js +1 -1
- package/outrage-message/src/models/PaginatedOutrageMessages.js +3 -3
- package/package.json +1 -1
- package/product/src/models/Barcodes.js +4 -4
- package/product/src/models/DataProvider.d.ts +0 -1
- package/product/src/models/DataProvider.js +1 -5
- package/product/src/models/Image.js +4 -4
- package/product/src/models/ImageVersions.js +5 -5
- package/product/src/models/LaboratoryLink.js +2 -2
- package/product/src/models/PaginatedObject.js +1 -1
- package/product/src/models/PaginatedProductProscriptions.js +3 -3
- package/product/src/models/PaginatedProducts.js +3 -3
- package/product/src/models/Product.js +18 -18
- package/product/src/models/ProductCreationOrUpdateParameters.js +20 -20
- package/product/src/models/ProductDispensationPlace.d.ts +0 -1
- package/product/src/models/ProductDispensationPlace.js +1 -5
- package/product/src/models/ProductJournal.js +2 -2
- package/product/src/models/ProductMarketStatus.d.ts +0 -1
- package/product/src/models/ProductMarketStatus.js +1 -5
- package/product/src/models/ProductProscription.js +5 -5
- package/product/src/models/ProductProscriptionCreationParameters.js +1 -1
- package/product/src/models/ProductSecondaryType.js +2 -2
- package/product/src/models/ProductSource.js +5 -5
- package/product/src/models/ProductSourceBcb.js +3 -3
- package/product/src/models/ProductSourceFields.js +19 -19
- package/product/src/models/ProductSourceFieldsBarcodes.js +4 -4
- package/product/src/models/ProductStatus.d.ts +0 -1
- package/product/src/models/ProductStatus.js +1 -5
- package/product/src/models/ProductStorageType.d.ts +0 -1
- package/product/src/models/ProductStorageType.js +1 -5
- package/product/src/models/ProductType.js +2 -2
- package/product/src/models/Statistics.js +1 -1
- package/pub/src/models/Image.js +1 -1
- package/pub/src/models/ImageVersions.js +5 -5
- package/pub/src/models/PaginatedObject.js +1 -1
- package/pub/src/models/PaginatedPubStatistics.js +3 -3
- package/pub/src/models/PaginatedPubs.js +3 -3
- package/pub/src/models/Pub.js +13 -13
- package/pub/src/models/PubCreationParameters.js +3 -3
- package/pub/src/models/PubLocationEnum.d.ts +0 -1
- package/pub/src/models/PubLocationEnum.js +1 -5
- package/pub/src/models/PubSchedule.js +4 -4
- package/pub/src/models/PubStatistics.js +4 -4
- package/pub/src/models/PubTimecard.js +4 -4
- package/pub/src/models/PubUpdateParameters.js +6 -6
- package/pub/src/models/UserLink.js +3 -3
- package/pub/src/models/UserLinkAllOfCompany.js +1 -1
- package/recommendation/src/models/FavoriteProductRecommendation.js +5 -5
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +3 -3
- package/recommendation/src/models/PaginatedObject.js +1 -1
- package/recommendation/src/models/PaginatedProductPriceRecommendations.js +3 -3
- package/recommendation/src/models/PaginatedProductRecommendations.js +3 -3
- package/recommendation/src/models/ProductLink.js +1 -1
- package/recommendation/src/models/ProductPriceRecommendation.js +3 -3
- package/recommendation/src/models/ProductRecommendation.js +5 -5
- package/recommendation/src/models/ProductRecommendationType.d.ts +0 -1
- package/recommendation/src/models/ProductRecommendationType.js +1 -5
- package/recommendation/src/models/UserLink.js +1 -1
- package/rfx/src/models/OrderLink.js +1 -1
- package/rfx/src/models/PaginatedObject.js +1 -1
- package/rfx/src/models/PaginatedRfois.js +3 -3
- package/rfx/src/models/RfiCreationParameters.js +5 -5
- package/rfx/src/models/Rfoi.js +9 -9
- package/rfx/src/models/RfoiUpdateParameters.js +1 -1
- package/rfx/src/models/UserLink.js +3 -3
- package/rfx/src/models/UserLinkAllOfCompany.js +1 -1
- package/sale-offer/src/models/AnyDistributionMode.d.ts +1 -2
- package/sale-offer/src/models/AnyDistributionMode.js +6 -11
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +6 -11
- package/sale-offer/src/models/Barcodes.js +4 -4
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +2 -2
- package/sale-offer/src/models/ImageVersions.js +5 -5
- package/sale-offer/src/models/Images.js +3 -3
- package/sale-offer/src/models/OwnerLink.js +3 -3
- package/sale-offer/src/models/OwnerLinkAllOfCompany.js +1 -1
- package/sale-offer/src/models/PaginatedObject.js +1 -1
- package/sale-offer/src/models/PaginatedSaleOffers.js +3 -3
- package/sale-offer/src/models/ProductImageLink.js +2 -2
- package/sale-offer/src/models/ProductLink.js +3 -3
- package/sale-offer/src/models/RangeDistributionMode.js +2 -2
- package/sale-offer/src/models/SaleOffer.js +13 -13
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +3 -3
- package/sale-offer/src/models/SaleOfferCreationParameters.js +8 -8
- package/sale-offer/src/models/SaleOfferJournal.js +2 -2
- package/sale-offer/src/models/SaleOfferNewVersionParameters.js +5 -5
- package/sale-offer/src/models/SaleOfferStatisticLink.js +5 -5
- package/sale-offer/src/models/SaleOfferStatus.d.ts +0 -1
- package/sale-offer/src/models/SaleOfferStatus.js +1 -5
- package/sale-offer/src/models/SaleOfferStatusReason.d.ts +0 -1
- package/sale-offer/src/models/SaleOfferStatusReason.js +1 -5
- package/sale-offer/src/models/SaleOfferUpdateParameters.js +2 -2
- package/sale-offer/src/models/SaleOfferUpdateParametersStock.js +1 -1
- package/sale-offer/src/models/Stock.js +4 -4
- package/sale-offer-log/src/models/AnySaleOfferLog.d.ts +1 -2
- package/sale-offer-log/src/models/AnySaleOfferLog.js +4 -9
- package/sale-offer-log/src/models/Log.js +2 -2
- package/sale-offer-log/src/models/PaginatedObject.js +1 -1
- package/sale-offer-log/src/models/PaginatedSaleOfferLogs.js +3 -3
- package/sale-offer-log/src/models/SaleOfferLog.js +3 -3
- package/servant/src/models/Servant.js +7 -7
- package/servant/src/models/Task.js +3 -3
- package/shipment/src/models/CancelParcelResponse.js +3 -3
- package/shipment/src/models/DeliveryStatus.js +2 -2
- package/shipment/src/models/OrderCarriage.js +4 -4
- package/shipment/src/models/OrderCarriageShipmentCreationParameters.js +1 -1
- package/shipment/src/models/OrderLink.js +1 -1
- package/shipment/src/models/PaginatedObject.js +1 -1
- package/shipment/src/models/PaginatedOrderCarriages.js +3 -3
- package/shipment/src/models/Shipment.js +8 -8
- package/shipment/src/models/ShipmentCreationParameters.js +2 -2
- package/shipment/src/models/ShipmentError.js +1 -1
- package/shipment/src/models/ShipmentLabels.js +2 -2
- package/shipment/src/models/ShipmentParcel.js +4 -4
- package/shipment/src/models/ShipmentParcelStatus.d.ts +0 -1
- package/shipment/src/models/ShipmentParcelStatus.js +1 -5
- package/shipment/src/models/SkybillLink.js +1 -1
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.d.ts +1 -2
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.js +6 -11
- package/shopping-cart/src/models/Barcodes.js +4 -4
- package/shopping-cart/src/models/Cart.js +4 -4
- package/shopping-cart/src/models/CartSubCart.js +5 -5
- package/shopping-cart/src/models/CartSubCartLine.js +3 -3
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +1 -1
- package/shopping-cart/src/models/IdentifiedRangeDistributionMode.js +2 -2
- package/shopping-cart/src/models/ProductLink.js +2 -2
- package/shopping-cart/src/models/ProductStorageType.d.ts +0 -1
- package/shopping-cart/src/models/ProductStorageType.js +1 -5
- package/shopping-cart/src/models/SaleOfferLink.js +4 -4
- package/shopping-cart/src/models/SaleOfferStatus.d.ts +0 -1
- package/shopping-cart/src/models/SaleOfferStatus.js +1 -5
- package/shopping-cart/src/models/SellerLink.js +3 -3
- package/shopping-cart/src/models/ShoppedOffer.js +1 -1
- package/shopping-cart/src/models/Stock.js +4 -4
- package/shopping-cart/src/models/UserRole.d.ts +0 -1
- package/shopping-cart/src/models/UserRole.js +1 -5
- package/statistic/src/models/PaginatedObject.js +1 -1
- package/statistic/src/models/PaginatedSaleOfferStatistics.js +3 -3
- package/statistic/src/models/PaginatedUserStatistics.js +3 -3
- package/statistic/src/models/SaleOfferStatistic.js +8 -8
- package/statistic/src/models/UserLink.js +1 -1
- package/statistic/src/models/UserStatistic.js +8 -8
- package/subscription/src/models/PaginatedObject.js +1 -1
- package/subscription/src/models/PaginatedSubscriptions.js +3 -3
- package/subscription/src/models/SubscriberLink.js +1 -1
- package/subscription/src/models/Subscription.js +11 -11
- package/subscription/src/models/SubscriptionCreationParameters.js +1 -1
- package/subscription/src/models/SubscriptionPlan.js +8 -8
- package/subscription/src/models/SubscriptionPlanFeature.js +3 -3
- package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +0 -1
- package/subscription/src/models/SubscriptionPlanFeatureId.js +1 -5
- package/subscription/src/models/SubscriptionPlanId.d.ts +0 -1
- package/subscription/src/models/SubscriptionPlanId.js +1 -5
- package/subscription/src/models/SubscriptionPlanLink.js +1 -1
- package/subscription/src/models/SubscriptionPlanUpdateParameters.js +7 -7
- package/subscription/src/models/SubscriptionUpdateParameters.js +9 -9
- package/third-party/src/models/ThirdPartyLink.js +1 -1
- package/thread/src/models/Comment.js +7 -7
- package/thread/src/models/PaginatedComments.js +3 -3
- package/thread/src/models/PaginatedObject.js +1 -1
- package/thread/src/models/Thread.js +1 -1
- package/ubo/src/models/Address.js +2 -2
- package/ubo/src/models/Ubo.js +6 -6
- package/ubo/src/models/UboDeclaration.js +7 -7
- package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.js +2 -2
- package/user/src/models/Address.js +4 -4
- package/user/src/models/Gender.d.ts +0 -1
- package/user/src/models/Gender.js +1 -5
- package/user/src/models/KycLevel.d.ts +0 -1
- package/user/src/models/KycLevel.js +1 -5
- package/user/src/models/MyPasswordUpdateParameters.js +2 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +1 -5
- package/user/src/models/NotificationTypeLink.js +1 -1
- package/user/src/models/OffisanteStatus.d.ts +0 -1
- package/user/src/models/OffisanteStatus.js +1 -5
- package/user/src/models/PaginatedObject.js +1 -1
- package/user/src/models/PaginatedUsers.js +3 -3
- package/user/src/models/ProductTypeLink.js +2 -2
- package/user/src/models/SomeonePasswordUpdateParameters.js +1 -1
- package/user/src/models/User.js +46 -46
- package/user/src/models/UserBankAccountCreationParameters.js +2 -2
- package/user/src/models/UserBankAccountLink.js +1 -1
- package/user/src/models/UserCompany.js +15 -15
- package/user/src/models/UserCreationParameters.js +3 -3
- package/user/src/models/UserCustomCommissions.js +2 -2
- package/user/src/models/UserCustomCommissionsUpdateParameters.js +2 -2
- package/user/src/models/UserDelegatedServices.js +3 -3
- package/user/src/models/UserDocument.js +5 -5
- package/user/src/models/UserDocumentStatus.d.ts +0 -1
- package/user/src/models/UserDocumentStatus.js +1 -5
- package/user/src/models/UserFavoriteLaboratoryStoreLink.js +1 -1
- package/user/src/models/UserFeature.js +2 -2
- package/user/src/models/UserForbiddenSellerLink.js +1 -1
- package/user/src/models/UserJournal.js +2 -2
- package/user/src/models/UserMangopayTarget.js +1 -1
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +1 -1
- package/user/src/models/UserRole.d.ts +0 -1
- package/user/src/models/UserRole.js +1 -5
- package/user/src/models/UserRule.js +5 -5
- package/user/src/models/UserRuleActionEnum.d.ts +0 -1
- package/user/src/models/UserRuleActionEnum.js +1 -5
- package/user/src/models/UserRuleAttributeEnum.d.ts +0 -1
- package/user/src/models/UserRuleAttributeEnum.js +1 -5
- package/user/src/models/UserRuleComparatorEnum.d.ts +0 -1
- package/user/src/models/UserRuleComparatorEnum.js +1 -5
- package/user/src/models/UserRuleCreationParameters.js +3 -3
- package/user/src/models/UserSocialNetwork.js +7 -7
- package/user/src/models/UserStatisticLink.js +6 -6
- package/user/src/models/UserThreads.js +1 -1
- package/user/src/models/UserUpdateParameters.js +21 -21
- package/user/src/models/UserWalletLink.js +1 -1
- package/user/src/models/UserWallets.js +4 -4
- package/wish/src/models/Barcodes.js +4 -4
- package/wish/src/models/DesiredSellerLink.js +3 -3
- package/wish/src/models/OwnerLink.js +3 -3
- package/wish/src/models/OwnerLinkAllOfCompany.js +1 -1
- package/wish/src/models/PaginatedObject.js +1 -1
- package/wish/src/models/PaginatedProductEnthusiasms.js +3 -3
- package/wish/src/models/PaginatedWishes.js +3 -3
- package/wish/src/models/ProductEnthusiasm.js +6 -6
- package/wish/src/models/ProductLink.js +3 -3
- package/wish/src/models/Referrer.js +2 -2
- package/wish/src/models/Wish.js +15 -15
- package/wish/src/models/WishCreationParameters.js +5 -5
- package/wish/src/models/WishReferrerType.d.ts +0 -1
- package/wish/src/models/WishReferrerType.js +1 -5
- package/wish/src/models/WishStatus.d.ts +0 -1
- package/wish/src/models/WishStatus.js +1 -5
- package/wish/src/models/WishUpdateParameters.js +5 -5
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.KycLevelToJSON = exports.KycLevelFromJSONTyped = exports.KycLevelFromJSON = exports.instanceOfKycLevel = exports.KycLevel = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Kyc level for this user. User can sell only if it is REGULAR.
|
|
19
19
|
* @export
|
|
@@ -45,7 +45,3 @@ function KycLevelToJSON(value) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
exports.KycLevelToJSON = KycLevelToJSON;
|
|
48
|
-
function KycLevelToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
exports.KycLevelToJSONTyped = KycLevelToJSONTyped;
|
|
@@ -30,8 +30,8 @@ function MyPasswordUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'oldPassword': json['oldPassword']
|
|
34
|
-
'newPassword': json['newPassword']
|
|
33
|
+
'oldPassword': json['oldPassword'],
|
|
34
|
+
'newPassword': json['newPassword'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.MyPasswordUpdateParametersFromJSONTyped = MyPasswordUpdateParametersFromJSONTyped;
|
|
@@ -68,4 +68,3 @@ export declare function instanceOfNotificationTypeId(value: any): boolean;
|
|
|
68
68
|
export declare function NotificationTypeIdFromJSON(json: any): NotificationTypeId;
|
|
69
69
|
export declare function NotificationTypeIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeId;
|
|
70
70
|
export declare function NotificationTypeIdToJSON(value?: NotificationTypeId | null): any;
|
|
71
|
-
export declare function NotificationTypeIdToJSONTyped(value: any, ignoreDiscriminator: boolean): NotificationTypeId;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.NotificationTypeIdToJSON = exports.NotificationTypeIdFromJSONTyped = exports.NotificationTypeIdFromJSON = exports.instanceOfNotificationTypeId = exports.NotificationTypeId = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Notification type name
|
|
19
19
|
* @export
|
|
@@ -91,7 +91,3 @@ function NotificationTypeIdToJSON(value) {
|
|
|
91
91
|
return value;
|
|
92
92
|
}
|
|
93
93
|
exports.NotificationTypeIdToJSON = NotificationTypeIdToJSON;
|
|
94
|
-
function NotificationTypeIdToJSONTyped(value, ignoreDiscriminator) {
|
|
95
|
-
return value;
|
|
96
|
-
}
|
|
97
|
-
exports.NotificationTypeIdToJSONTyped = NotificationTypeIdToJSONTyped;
|
|
@@ -34,7 +34,7 @@ function NotificationTypeLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'href': json['href'],
|
|
37
|
-
'id': json['id']
|
|
37
|
+
'id': (json['id'] === null || json['id'] === undefined) ? json['id'] : (0, NotificationTypeId_1.NotificationTypeIdFromJSON)(json['id']),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.NotificationTypeLinkFromJSONTyped = NotificationTypeLinkFromJSONTyped;
|
|
@@ -27,4 +27,3 @@ export declare function instanceOfOffisanteStatus(value: any): boolean;
|
|
|
27
27
|
export declare function OffisanteStatusFromJSON(json: any): OffisanteStatus;
|
|
28
28
|
export declare function OffisanteStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): OffisanteStatus;
|
|
29
29
|
export declare function OffisanteStatusToJSON(value?: OffisanteStatus | null): any;
|
|
30
|
-
export declare function OffisanteStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): OffisanteStatus;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.OffisanteStatusToJSON = exports.OffisanteStatusFromJSONTyped = exports.OffisanteStatusFromJSON = exports.instanceOfOffisanteStatus = exports.OffisanteStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Status of company in our system against Offisante system.
|
|
19
19
|
* SET : Offisante know this resource and
|
|
@@ -50,7 +50,3 @@ function OffisanteStatusToJSON(value) {
|
|
|
50
50
|
return value;
|
|
51
51
|
}
|
|
52
52
|
exports.OffisanteStatusToJSON = OffisanteStatusToJSON;
|
|
53
|
-
function OffisanteStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
exports.OffisanteStatusToJSONTyped = OffisanteStatusToJSONTyped;
|
|
@@ -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;
|
|
@@ -34,8 +34,8 @@ function PaginatedUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
38
|
-
'records': json['records']
|
|
37
|
+
'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
38
|
+
'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(User_1.UserFromJSON),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.PaginatedUsersFromJSONTyped = PaginatedUsersFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function PaginatedUsersToJSON(value) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
48
|
-
'records': value['records']
|
|
48
|
+
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(User_1.UserToJSON),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.PaginatedUsersToJSON = PaginatedUsersToJSON;
|
|
@@ -33,8 +33,8 @@ function ProductTypeLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'id': json['id']
|
|
37
|
-
'name': json['name']
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'name': json['name'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.ProductTypeLinkFromJSONTyped = ProductTypeLinkFromJSONTyped;
|
|
@@ -30,7 +30,7 @@ function SomeonePasswordUpdateParametersFromJSONTyped(json, ignoreDiscriminator)
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'newPassword': json['newPassword']
|
|
33
|
+
'newPassword': json['newPassword'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.SomeonePasswordUpdateParametersFromJSONTyped = SomeonePasswordUpdateParametersFromJSONTyped;
|
package/user/src/models/User.js
CHANGED
|
@@ -63,51 +63,51 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
}
|
|
64
64
|
return {
|
|
65
65
|
'id': json['id'],
|
|
66
|
-
'mangopayTarget': json['mangopayTarget']
|
|
67
|
-
'role': (0, UserRole_1.UserRoleFromJSON)(json['role']),
|
|
68
|
-
'haveUnpaid': json['haveUnpaid']
|
|
66
|
+
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, UserMangopayTarget_1.UserMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
67
|
+
'role': (json['role'] === null || json['role'] === undefined) ? json['role'] : (0, UserRole_1.UserRoleFromJSON)(json['role']),
|
|
68
|
+
'haveUnpaid': json['haveUnpaid'],
|
|
69
69
|
'holidayModeEnabled': json['holidayModeEnabled'],
|
|
70
70
|
'nickname': json['nickname'],
|
|
71
|
-
'soletrader': json['soletrader']
|
|
72
|
-
'gender': json['gender']
|
|
73
|
-
'firstname': json['firstname']
|
|
74
|
-
'lastname': json['lastname']
|
|
75
|
-
'birthdate': json['birthdate']
|
|
76
|
-
'email': json['email']
|
|
77
|
-
'phone': json['phone']
|
|
78
|
-
'fax': json['fax']
|
|
79
|
-
'pollQuestion': json['pollQuestion']
|
|
80
|
-
'shippingAddress': json['shippingAddress']
|
|
81
|
-
'bankAccount': json['bankAccount']
|
|
82
|
-
'wallets': json['wallets']
|
|
83
|
-
'lastLogin': json['lastLogin']
|
|
84
|
-
'cgvAccepted': json['cgvAccepted']
|
|
85
|
-
'kycLevel': json['kycLevel']
|
|
86
|
-
'comment': json['comment']
|
|
87
|
-
'company': json['company']
|
|
88
|
-
'socialNetworks': (0, HttpLink_1.HttpLinkFromJSON)(json['socialNetworks']),
|
|
89
|
-
'accountantEmail': json['accountantEmail']
|
|
90
|
-
'additionalEmails': json['additionalEmails']
|
|
91
|
-
'documents': json['documents']
|
|
92
|
-
'delegatedServices': (0, UserDelegatedServices_1.UserDelegatedServicesFromJSON)(json['delegatedServices']),
|
|
93
|
-
'forbiddenSellers': json['forbiddenSellers']
|
|
94
|
-
'transport': (0, HttpLink_1.HttpLinkFromJSON)(json['transport']),
|
|
71
|
+
'soletrader': json['soletrader'],
|
|
72
|
+
'gender': (json['gender'] === null || json['gender'] === undefined) ? json['gender'] : (0, Gender_1.GenderFromJSON)(json['gender']),
|
|
73
|
+
'firstname': json['firstname'],
|
|
74
|
+
'lastname': json['lastname'],
|
|
75
|
+
'birthdate': (json['birthdate'] === null || json['birthdate'] === undefined) ? json['birthdate'] : new Date(json['birthdate']),
|
|
76
|
+
'email': json['email'],
|
|
77
|
+
'phone': json['phone'],
|
|
78
|
+
'fax': json['fax'],
|
|
79
|
+
'pollQuestion': json['pollQuestion'],
|
|
80
|
+
'shippingAddress': (json['shippingAddress'] === null || json['shippingAddress'] === undefined) ? json['shippingAddress'] : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
81
|
+
'bankAccount': (json['bankAccount'] === null || json['bankAccount'] === undefined) ? json['bankAccount'] : (0, UserBankAccountLink_1.UserBankAccountLinkFromJSON)(json['bankAccount']),
|
|
82
|
+
'wallets': (json['wallets'] === null || json['wallets'] === undefined) ? json['wallets'] : (0, UserWallets_1.UserWalletsFromJSON)(json['wallets']),
|
|
83
|
+
'lastLogin': (json['lastLogin'] === null || json['lastLogin'] === undefined) ? json['lastLogin'] : new Date(json['lastLogin']),
|
|
84
|
+
'cgvAccepted': json['cgvAccepted'],
|
|
85
|
+
'kycLevel': (json['kycLevel'] === null || json['kycLevel'] === undefined) ? json['kycLevel'] : (0, KycLevel_1.KycLevelFromJSON)(json['kycLevel']),
|
|
86
|
+
'comment': json['comment'],
|
|
87
|
+
'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserCompany_1.UserCompanyFromJSON)(json['company']),
|
|
88
|
+
'socialNetworks': (json['socialNetworks'] === null || json['socialNetworks'] === undefined) ? json['socialNetworks'] : (0, HttpLink_1.HttpLinkFromJSON)(json['socialNetworks']),
|
|
89
|
+
'accountantEmail': json['accountantEmail'],
|
|
90
|
+
'additionalEmails': json['additionalEmails'],
|
|
91
|
+
'documents': (json['documents'] === null || json['documents'] === undefined) ? json['documents'] : (0, HttpLink_1.HttpLinkFromJSON)(json['documents']),
|
|
92
|
+
'delegatedServices': (json['delegatedServices'] === null || json['delegatedServices'] === undefined) ? json['delegatedServices'] : (0, UserDelegatedServices_1.UserDelegatedServicesFromJSON)(json['delegatedServices']),
|
|
93
|
+
'forbiddenSellers': (json['forbiddenSellers'] === null || json['forbiddenSellers'] === undefined) ? json['forbiddenSellers'] : (0, HttpLink_1.HttpLinkFromJSON)(json['forbiddenSellers']),
|
|
94
|
+
'transport': (json['transport'] === null || json['transport'] === undefined) ? json['transport'] : (0, HttpLink_1.HttpLinkFromJSON)(json['transport']),
|
|
95
95
|
'paymentDelay': json['paymentDelay'],
|
|
96
|
-
'favoriteLaboratoryStores': json['favoriteLaboratoryStores']
|
|
97
|
-
'pickupEnabled': json['pickupEnabled']
|
|
98
|
-
'threads': json['threads']
|
|
99
|
-
'rules': json['rules']
|
|
100
|
-
'restrictedFeatures': json['restrictedFeatures']
|
|
101
|
-
'restrictedProductTypes': json['restrictedProductTypes']
|
|
102
|
-
'restrictedNotificationTypes': json['restrictedNotificationTypes']
|
|
103
|
-
'customCommissions': json['customCommissions']
|
|
104
|
-
'tags': json['tags']
|
|
105
|
-
'isMangopaySynced': json['isMangopaySynced']
|
|
106
|
-
'updatedAt': json['updatedAt']
|
|
107
|
-
'createdAt': json['createdAt']
|
|
108
|
-
'journal': json['journal']
|
|
109
|
-
'badges': json['badges']
|
|
110
|
-
'statistic': (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
96
|
+
'favoriteLaboratoryStores': (json['favoriteLaboratoryStores'] === null || json['favoriteLaboratoryStores'] === undefined) ? json['favoriteLaboratoryStores'] : (0, HttpLink_1.HttpLinkFromJSON)(json['favoriteLaboratoryStores']),
|
|
97
|
+
'pickupEnabled': json['pickupEnabled'],
|
|
98
|
+
'threads': (json['threads'] === null || json['threads'] === undefined) ? json['threads'] : (0, UserThreads_1.UserThreadsFromJSON)(json['threads']),
|
|
99
|
+
'rules': (json['rules'] === null || json['rules'] === undefined) ? json['rules'] : (0, HttpLink_1.HttpLinkFromJSON)(json['rules']),
|
|
100
|
+
'restrictedFeatures': (json['restrictedFeatures'] === null || json['restrictedFeatures'] === undefined) ? json['restrictedFeatures'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedFeatures']),
|
|
101
|
+
'restrictedProductTypes': (json['restrictedProductTypes'] === null || json['restrictedProductTypes'] === undefined) ? json['restrictedProductTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedProductTypes']),
|
|
102
|
+
'restrictedNotificationTypes': (json['restrictedNotificationTypes'] === null || json['restrictedNotificationTypes'] === undefined) ? json['restrictedNotificationTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedNotificationTypes']),
|
|
103
|
+
'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
|
|
104
|
+
'tags': json['tags'],
|
|
105
|
+
'isMangopaySynced': json['isMangopaySynced'],
|
|
106
|
+
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
107
|
+
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
108
|
+
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournal_1.UserJournalFromJSON)(json['journal']),
|
|
109
|
+
'badges': json['badges'],
|
|
110
|
+
'statistic': (json['statistic'] === null || json['statistic'] === undefined) ? json['statistic'] : (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
@@ -126,7 +126,7 @@ function UserToJSON(value) {
|
|
|
126
126
|
'gender': (0, Gender_1.GenderToJSON)(value['gender']),
|
|
127
127
|
'firstname': value['firstname'],
|
|
128
128
|
'lastname': value['lastname'],
|
|
129
|
-
'birthdate': value['birthdate']
|
|
129
|
+
'birthdate': (value['birthdate'] === null || value['birthdate'] === undefined) ? value['birthdate'] : (0, runtime_1.toDateISOString)(value['birthdate']),
|
|
130
130
|
'email': value['email'],
|
|
131
131
|
'phone': value['phone'],
|
|
132
132
|
'fax': value['fax'],
|
|
@@ -134,7 +134,7 @@ function UserToJSON(value) {
|
|
|
134
134
|
'shippingAddress': (0, Address_1.AddressToJSON)(value['shippingAddress']),
|
|
135
135
|
'bankAccount': (0, UserBankAccountLink_1.UserBankAccountLinkToJSON)(value['bankAccount']),
|
|
136
136
|
'wallets': (0, UserWallets_1.UserWalletsToJSON)(value['wallets']),
|
|
137
|
-
'lastLogin': value['lastLogin']
|
|
137
|
+
'lastLogin': (value['lastLogin'] === null || value['lastLogin'] === undefined) ? value['lastLogin'] : (value['lastLogin']).toISOString(),
|
|
138
138
|
'cgvAccepted': value['cgvAccepted'],
|
|
139
139
|
'kycLevel': (0, KycLevel_1.KycLevelToJSON)(value['kycLevel']),
|
|
140
140
|
'comment': value['comment'],
|
|
@@ -157,8 +157,8 @@ function UserToJSON(value) {
|
|
|
157
157
|
'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
|
|
158
158
|
'tags': value['tags'],
|
|
159
159
|
'isMangopaySynced': value['isMangopaySynced'],
|
|
160
|
-
'updatedAt': value['updatedAt']
|
|
161
|
-
'createdAt': value['createdAt']
|
|
160
|
+
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
161
|
+
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
162
162
|
'journal': (0, UserJournal_1.UserJournalToJSON)(value['journal']),
|
|
163
163
|
'badges': value['badges'],
|
|
164
164
|
'statistic': (0, UserStatisticLink_1.UserStatisticLinkToJSON)(value['statistic']),
|
|
@@ -30,8 +30,8 @@ function UserBankAccountCreationParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'bic': json['bic']
|
|
34
|
-
'iban': json['iban']
|
|
33
|
+
'bic': json['bic'],
|
|
34
|
+
'iban': json['iban'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.UserBankAccountCreationParametersFromJSONTyped = UserBankAccountCreationParametersFromJSONTyped;
|
|
@@ -33,7 +33,7 @@ function UserBankAccountLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'id': json['id']
|
|
36
|
+
'id': json['id'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.UserBankAccountLinkFromJSONTyped = UserBankAccountLinkFromJSONTyped;
|
|
@@ -32,21 +32,21 @@ function UserCompanyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'commercialName': json['commercialName']
|
|
36
|
-
'legalName': json['legalName']
|
|
37
|
-
'siret': json['siret']
|
|
38
|
-
'cip': json['cip']
|
|
39
|
-
'address': json['address']
|
|
40
|
-
'numberEmployees': json['numberEmployees']
|
|
41
|
-
'location': json['location']
|
|
42
|
-
'finess': json['finess']
|
|
43
|
-
'managementSoftware': json['managementSoftware']
|
|
44
|
-
'intercommunityVat': json['intercommunityVat']
|
|
45
|
-
'vatEnabled': json['vatEnabled']
|
|
46
|
-
'turnover': json['turnover']
|
|
47
|
-
'group': json['group']
|
|
48
|
-
'category': json['category']
|
|
49
|
-
'offisanteStatus': json['offisanteStatus']
|
|
35
|
+
'commercialName': json['commercialName'],
|
|
36
|
+
'legalName': json['legalName'],
|
|
37
|
+
'siret': json['siret'],
|
|
38
|
+
'cip': json['cip'],
|
|
39
|
+
'address': (json['address'] === null || json['address'] === undefined) ? json['address'] : (0, Address_1.AddressFromJSON)(json['address']),
|
|
40
|
+
'numberEmployees': json['numberEmployees'],
|
|
41
|
+
'location': json['location'],
|
|
42
|
+
'finess': json['finess'],
|
|
43
|
+
'managementSoftware': json['managementSoftware'],
|
|
44
|
+
'intercommunityVat': json['intercommunityVat'],
|
|
45
|
+
'vatEnabled': json['vatEnabled'],
|
|
46
|
+
'turnover': json['turnover'],
|
|
47
|
+
'group': json['group'],
|
|
48
|
+
'category': json['category'],
|
|
49
|
+
'offisanteStatus': (json['offisanteStatus'] === null || json['offisanteStatus'] === undefined) ? json['offisanteStatus'] : (0, OffisanteStatus_1.OffisanteStatusFromJSON)(json['offisanteStatus']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
exports.UserCompanyFromJSONTyped = UserCompanyFromJSONTyped;
|
|
@@ -46,11 +46,11 @@ function UserCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
return {
|
|
47
47
|
'firstname': json['firstname'],
|
|
48
48
|
'lastname': json['lastname'],
|
|
49
|
-
'birthdate': (json['birthdate']
|
|
49
|
+
'birthdate': (json['birthdate'] === null || json['birthdate'] === undefined) ? json['birthdate'] : new Date(json['birthdate']),
|
|
50
50
|
'email': json['email'],
|
|
51
51
|
'phone': json['phone'],
|
|
52
52
|
'password': json['password'],
|
|
53
|
-
'company': json['company']
|
|
53
|
+
'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserCompany_1.UserCompanyFromJSON)(json['company']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
exports.UserCreationParametersFromJSONTyped = UserCreationParametersFromJSONTyped;
|
|
@@ -61,7 +61,7 @@ function UserCreationParametersToJSON(value) {
|
|
|
61
61
|
return {
|
|
62
62
|
'firstname': value['firstname'],
|
|
63
63
|
'lastname': value['lastname'],
|
|
64
|
-
'birthdate': (value['birthdate']
|
|
64
|
+
'birthdate': (value['birthdate'] === null || value['birthdate'] === undefined) ? value['birthdate'] : (0, runtime_1.toDateISOString)(value['birthdate']),
|
|
65
65
|
'email': value['email'],
|
|
66
66
|
'phone': value['phone'],
|
|
67
67
|
'password': value['password'],
|
|
@@ -30,8 +30,8 @@ function UserCustomCommissionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'buyer': json['buyer']
|
|
34
|
-
'seller': json['seller']
|
|
33
|
+
'buyer': json['buyer'],
|
|
34
|
+
'seller': json['seller'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.UserCustomCommissionsFromJSONTyped = UserCustomCommissionsFromJSONTyped;
|
|
@@ -30,8 +30,8 @@ function UserCustomCommissionsUpdateParametersFromJSONTyped(json, ignoreDiscrimi
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'buyer': json['buyer']
|
|
34
|
-
'seller': json['seller']
|
|
33
|
+
'buyer': json['buyer'],
|
|
34
|
+
'seller': json['seller'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.UserCustomCommissionsUpdateParametersFromJSONTyped = UserCustomCommissionsUpdateParametersFromJSONTyped;
|
|
@@ -30,9 +30,9 @@ function UserDelegatedServicesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'transport': json['transport']
|
|
34
|
-
'billing': json['billing']
|
|
35
|
-
'payment': json['payment']
|
|
33
|
+
'transport': json['transport'],
|
|
34
|
+
'billing': json['billing'],
|
|
35
|
+
'payment': json['payment'],
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.UserDelegatedServicesFromJSONTyped = UserDelegatedServicesFromJSONTyped;
|
|
@@ -47,10 +47,10 @@ function UserDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
return json;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'type': json['type']
|
|
51
|
-
'status': json['status']
|
|
52
|
-
'statusReason': json['statusReason']
|
|
53
|
-
'lapsingDate': json['lapsingDate']
|
|
50
|
+
'type': json['type'],
|
|
51
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, UserDocumentStatus_1.UserDocumentStatusFromJSON)(json['status']),
|
|
52
|
+
'statusReason': json['statusReason'],
|
|
53
|
+
'lapsingDate': (json['lapsingDate'] === null || json['lapsingDate'] === undefined) ? json['lapsingDate'] : new Date(json['lapsingDate']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
exports.UserDocumentFromJSONTyped = UserDocumentFromJSONTyped;
|
|
@@ -62,7 +62,7 @@ function UserDocumentToJSON(value) {
|
|
|
62
62
|
'type': value['type'],
|
|
63
63
|
'status': (0, UserDocumentStatus_1.UserDocumentStatusToJSON)(value['status']),
|
|
64
64
|
'statusReason': value['statusReason'],
|
|
65
|
-
'lapsingDate': value['lapsingDate']
|
|
65
|
+
'lapsingDate': (value['lapsingDate'] === null || value['lapsingDate'] === undefined) ? value['lapsingDate'] : (0, runtime_1.toDateISOString)(value['lapsingDate']),
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
exports.UserDocumentToJSON = UserDocumentToJSON;
|
|
@@ -25,4 +25,3 @@ export declare function instanceOfUserDocumentStatus(value: any): boolean;
|
|
|
25
25
|
export declare function UserDocumentStatusFromJSON(json: any): UserDocumentStatus;
|
|
26
26
|
export declare function UserDocumentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDocumentStatus;
|
|
27
27
|
export declare function UserDocumentStatusToJSON(value?: UserDocumentStatus | null): any;
|
|
28
|
-
export declare function UserDocumentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): UserDocumentStatus;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.UserDocumentStatusToJSON = exports.UserDocumentStatusFromJSONTyped = exports.UserDocumentStatusFromJSON = exports.instanceOfUserDocumentStatus = exports.UserDocumentStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Status of the document
|
|
19
19
|
* @export
|
|
@@ -48,7 +48,3 @@ function UserDocumentStatusToJSON(value) {
|
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
50
50
|
exports.UserDocumentStatusToJSON = UserDocumentStatusToJSON;
|
|
51
|
-
function UserDocumentStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
exports.UserDocumentStatusToJSONTyped = UserDocumentStatusToJSONTyped;
|
|
@@ -33,7 +33,7 @@ function UserFavoriteLaboratoryStoreLinkFromJSONTyped(json, ignoreDiscriminator)
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'id': json['id']
|
|
36
|
+
'id': json['id'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.UserFavoriteLaboratoryStoreLinkFromJSONTyped = UserFavoriteLaboratoryStoreLinkFromJSONTyped;
|
|
@@ -30,8 +30,8 @@ function UserFeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'id': json['id']
|
|
34
|
-
'name': json['name']
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'name': json['name'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.UserFeatureFromJSONTyped = UserFeatureFromJSONTyped;
|
|
@@ -33,7 +33,7 @@ function UserForbiddenSellerLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'id': json['id']
|
|
36
|
+
'id': json['id'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.UserForbiddenSellerLinkFromJSONTyped = UserForbiddenSellerLinkFromJSONTyped;
|
|
@@ -30,7 +30,7 @@ function UserJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'archivedSaleOfferPageViewAt': json['archivedSaleOfferPageViewAt']
|
|
33
|
+
'archivedSaleOfferPageViewAt': (json['archivedSaleOfferPageViewAt'] === null || json['archivedSaleOfferPageViewAt'] === undefined) ? json['archivedSaleOfferPageViewAt'] : new Date(json['archivedSaleOfferPageViewAt']),
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.UserJournalFromJSONTyped = UserJournalFromJSONTyped;
|
|
@@ -39,7 +39,7 @@ function UserJournalToJSON(value) {
|
|
|
39
39
|
return value;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
-
'archivedSaleOfferPageViewAt': value['archivedSaleOfferPageViewAt']
|
|
42
|
+
'archivedSaleOfferPageViewAt': (value['archivedSaleOfferPageViewAt'] === null || value['archivedSaleOfferPageViewAt'] === undefined) ? value['archivedSaleOfferPageViewAt'] : (value['archivedSaleOfferPageViewAt']).toISOString(),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
exports.UserJournalToJSON = UserJournalToJSON;
|
|
@@ -33,7 +33,7 @@ function UserMangopayTargetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'id': json['id']
|
|
36
|
+
'id': json['id'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.UserMangopayTargetFromJSONTyped = UserMangopayTargetFromJSONTyped;
|
|
@@ -33,7 +33,7 @@ function UserRestrictedNotificationTypeCreationParameterFromJSONTyped(json, igno
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'notificationTypeId': (0, NotificationTypeId_1.NotificationTypeIdFromJSON)(json['notificationTypeId']),
|
|
36
|
+
'notificationTypeId': (json['notificationTypeId'] === null || json['notificationTypeId'] === undefined) ? json['notificationTypeId'] : (0, NotificationTypeId_1.NotificationTypeIdFromJSON)(json['notificationTypeId']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.UserRestrictedNotificationTypeCreationParameterFromJSONTyped = UserRestrictedNotificationTypeCreationParameterFromJSONTyped;
|
|
@@ -28,4 +28,3 @@ export declare function instanceOfUserRole(value: any): boolean;
|
|
|
28
28
|
export declare function UserRoleFromJSON(json: any): UserRole;
|
|
29
29
|
export declare function UserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRole;
|
|
30
30
|
export declare function UserRoleToJSON(value?: UserRole | null): any;
|
|
31
|
-
export declare function UserRoleToJSONTyped(value: any, ignoreDiscriminator: boolean): UserRole;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSON = exports.instanceOfUserRole = exports.UserRole = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Role associated to the user
|
|
19
19
|
* @export
|
|
@@ -51,7 +51,3 @@ function UserRoleToJSON(value) {
|
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
53
53
|
exports.UserRoleToJSON = UserRoleToJSON;
|
|
54
|
-
function UserRoleToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
exports.UserRoleToJSONTyped = UserRoleToJSONTyped;
|
|
@@ -33,11 +33,11 @@ function UserRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'id': json['id']
|
|
37
|
-
'actionId': json['actionId']
|
|
38
|
-
'attributeId': json['attributeId']
|
|
39
|
-
'comparatorId': json['comparatorId']
|
|
40
|
-
'value': json['value']
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'actionId': (json['actionId'] === null || json['actionId'] === undefined) ? json['actionId'] : (0, UserRuleActionEnum_1.UserRuleActionEnumFromJSON)(json['actionId']),
|
|
38
|
+
'attributeId': (json['attributeId'] === null || json['attributeId'] === undefined) ? json['attributeId'] : (0, UserRuleAttributeEnum_1.UserRuleAttributeEnumFromJSON)(json['attributeId']),
|
|
39
|
+
'comparatorId': (json['comparatorId'] === null || json['comparatorId'] === undefined) ? json['comparatorId'] : (0, UserRuleComparatorEnum_1.UserRuleComparatorEnumFromJSON)(json['comparatorId']),
|
|
40
|
+
'value': json['value'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.UserRuleFromJSONTyped = UserRuleFromJSONTyped;
|
|
@@ -21,4 +21,3 @@ export declare function instanceOfUserRuleActionEnum(value: any): boolean;
|
|
|
21
21
|
export declare function UserRuleActionEnumFromJSON(json: any): UserRuleActionEnum;
|
|
22
22
|
export declare function UserRuleActionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleActionEnum;
|
|
23
23
|
export declare function UserRuleActionEnumToJSON(value?: UserRuleActionEnum | null): any;
|
|
24
|
-
export declare function UserRuleActionEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UserRuleActionEnum;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.UserRuleActionEnumToJSON = exports.UserRuleActionEnumFromJSONTyped = exports.UserRuleActionEnumFromJSON = exports.instanceOfUserRuleActionEnum = exports.UserRuleActionEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Associated Action
|
|
19
19
|
* @export
|
|
@@ -44,7 +44,3 @@ function UserRuleActionEnumToJSON(value) {
|
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
exports.UserRuleActionEnumToJSON = UserRuleActionEnumToJSON;
|
|
47
|
-
function UserRuleActionEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
exports.UserRuleActionEnumToJSONTyped = UserRuleActionEnumToJSONTyped;
|
|
@@ -22,4 +22,3 @@ export declare function instanceOfUserRuleAttributeEnum(value: any): boolean;
|
|
|
22
22
|
export declare function UserRuleAttributeEnumFromJSON(json: any): UserRuleAttributeEnum;
|
|
23
23
|
export declare function UserRuleAttributeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleAttributeEnum;
|
|
24
24
|
export declare function UserRuleAttributeEnumToJSON(value?: UserRuleAttributeEnum | null): any;
|
|
25
|
-
export declare function UserRuleAttributeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UserRuleAttributeEnum;
|