@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.
- 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
|
@@ -29,5 +29,4 @@ export declare type AnyAuthenticationCredential = {
|
|
|
29
29
|
} & RefreshCredential;
|
|
30
30
|
export declare function AnyAuthenticationCredentialFromJSON(json: any): AnyAuthenticationCredential;
|
|
31
31
|
export declare function AnyAuthenticationCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyAuthenticationCredential;
|
|
32
|
-
export declare function AnyAuthenticationCredentialToJSON(
|
|
33
|
-
export declare function AnyAuthenticationCredentialToJSONTyped(value?: AnyAuthenticationCredential | null, ignoreDiscriminator?: boolean): any;
|
|
32
|
+
export declare function AnyAuthenticationCredentialToJSON(value?: AnyAuthenticationCredential | null): any;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.AnyAuthenticationCredentialToJSON = exports.AnyAuthenticationCredentialFromJSONTyped = exports.AnyAuthenticationCredentialFromJSON = void 0;
|
|
17
17
|
var ApiKeyCredential_1 = require("./ApiKeyCredential");
|
|
18
18
|
var DisposableCredential_1 = require("./DisposableCredential");
|
|
19
19
|
var LoginCredential_1 = require("./LoginCredential");
|
|
@@ -40,26 +40,21 @@ function AnyAuthenticationCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.AnyAuthenticationCredentialFromJSONTyped = AnyAuthenticationCredentialFromJSONTyped;
|
|
43
|
-
function AnyAuthenticationCredentialToJSON(
|
|
44
|
-
return AnyAuthenticationCredentialToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
exports.AnyAuthenticationCredentialToJSON = AnyAuthenticationCredentialToJSON;
|
|
47
|
-
function AnyAuthenticationCredentialToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
function AnyAuthenticationCredentialToJSON(value) {
|
|
49
44
|
if (value == null) {
|
|
50
45
|
return value;
|
|
51
46
|
}
|
|
52
47
|
switch (value['grantType']) {
|
|
53
48
|
case 'api_key':
|
|
54
|
-
return
|
|
49
|
+
return (0, ApiKeyCredential_1.ApiKeyCredentialToJSON)(value);
|
|
55
50
|
case 'disposable_token':
|
|
56
|
-
return
|
|
51
|
+
return (0, DisposableCredential_1.DisposableCredentialToJSON)(value);
|
|
57
52
|
case 'password':
|
|
58
|
-
return
|
|
53
|
+
return (0, LoginCredential_1.LoginCredentialToJSON)(value);
|
|
59
54
|
case 'refresh_token':
|
|
60
|
-
return
|
|
55
|
+
return (0, RefreshCredential_1.RefreshCredentialToJSON)(value);
|
|
61
56
|
default:
|
|
62
57
|
throw new Error("No variant of AnyAuthenticationCredential exists with 'grantType=".concat(value['grantType'], "'"));
|
|
63
58
|
}
|
|
64
59
|
}
|
|
65
|
-
exports.
|
|
60
|
+
exports.AnyAuthenticationCredentialToJSON = AnyAuthenticationCredentialToJSON;
|
|
@@ -23,5 +23,4 @@ export declare type AnyUser = {
|
|
|
23
23
|
} & IdentifiedUser;
|
|
24
24
|
export declare function AnyUserFromJSON(json: any): AnyUser;
|
|
25
25
|
export declare function AnyUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyUser;
|
|
26
|
-
export declare function AnyUserToJSON(
|
|
27
|
-
export declare function AnyUserToJSONTyped(value?: AnyUser | null, ignoreDiscriminator?: boolean): any;
|
|
26
|
+
export declare function AnyUserToJSON(value?: AnyUser | null): any;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.AnyUserToJSON = exports.AnyUserFromJSONTyped = exports.AnyUserFromJSON = void 0;
|
|
17
17
|
var AnonymousUser_1 = require("./AnonymousUser");
|
|
18
18
|
var IdentifiedUser_1 = require("./IdentifiedUser");
|
|
19
19
|
function AnyUserFromJSON(json) {
|
|
@@ -34,22 +34,17 @@ function AnyUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.AnyUserFromJSONTyped = AnyUserFromJSONTyped;
|
|
37
|
-
function AnyUserToJSON(
|
|
38
|
-
return AnyUserToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.AnyUserToJSON = AnyUserToJSON;
|
|
41
|
-
function AnyUserToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
37
|
+
function AnyUserToJSON(value) {
|
|
43
38
|
if (value == null) {
|
|
44
39
|
return value;
|
|
45
40
|
}
|
|
46
41
|
switch (value['type']) {
|
|
47
42
|
case 'ANONYMOUS':
|
|
48
|
-
return
|
|
43
|
+
return (0, AnonymousUser_1.AnonymousUserToJSON)(value);
|
|
49
44
|
case 'IDENTIFIED':
|
|
50
|
-
return
|
|
45
|
+
return (0, IdentifiedUser_1.IdentifiedUserToJSON)(value);
|
|
51
46
|
default:
|
|
52
47
|
throw new Error("No variant of AnyUser exists with 'type=".concat(value['type'], "'"));
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
|
-
exports.
|
|
50
|
+
exports.AnyUserToJSON = AnyUserToJSON;
|
|
@@ -31,14 +31,14 @@ function ApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'id': json['id']
|
|
35
|
-
'name': json['name']
|
|
36
|
-
'owner': json['owner']
|
|
37
|
-
'tags': json['tags']
|
|
38
|
-
'createdAt': json['createdAt']
|
|
39
|
-
'lastUsedAt': json['lastUsedAt']
|
|
40
|
-
'expirationDate': json['expirationDate']
|
|
41
|
-
'hiddenValue': json['hiddenValue']
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
'owner': (json['owner'] === null || json['owner'] === undefined) ? json['owner'] : (0, UserLink_1.UserLinkFromJSON)(json['owner']),
|
|
37
|
+
'tags': json['tags'],
|
|
38
|
+
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
39
|
+
'lastUsedAt': (json['lastUsedAt'] === null || json['lastUsedAt'] === undefined) ? json['lastUsedAt'] : new Date(json['lastUsedAt']),
|
|
40
|
+
'expirationDate': (json['expirationDate'] === null || json['expirationDate'] === undefined) ? json['expirationDate'] : new Date(json['expirationDate']),
|
|
41
|
+
'hiddenValue': json['hiddenValue'],
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.ApiKeyFromJSONTyped = ApiKeyFromJSONTyped;
|
|
@@ -51,9 +51,9 @@ function ApiKeyToJSON(value) {
|
|
|
51
51
|
'name': value['name'],
|
|
52
52
|
'owner': (0, UserLink_1.UserLinkToJSON)(value['owner']),
|
|
53
53
|
'tags': value['tags'],
|
|
54
|
-
'createdAt': value['createdAt']
|
|
55
|
-
'lastUsedAt': value['lastUsedAt']
|
|
56
|
-
'expirationDate': value['expirationDate']
|
|
54
|
+
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
55
|
+
'lastUsedAt': (value['lastUsedAt'] === null || value['lastUsedAt'] === undefined) ? value['lastUsedAt'] : (value['lastUsedAt']).toISOString(),
|
|
56
|
+
'expirationDate': (value['expirationDate'] === null || value['expirationDate'] === undefined) ? value['expirationDate'] : (value['expirationDate']).toISOString(),
|
|
57
57
|
'hiddenValue': value['hiddenValue'],
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -36,8 +36,8 @@ function ApiKeyCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return {
|
|
37
37
|
'name': json['name'],
|
|
38
38
|
'ownerId': json['ownerId'],
|
|
39
|
-
'tags': json['tags']
|
|
40
|
-
'expirationDate': json['expirationDate']
|
|
39
|
+
'tags': json['tags'],
|
|
40
|
+
'expirationDate': (json['expirationDate'] === null || json['expirationDate'] === undefined) ? json['expirationDate'] : new Date(json['expirationDate']),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.ApiKeyCreationParametersFromJSONTyped = ApiKeyCreationParametersFromJSONTyped;
|
|
@@ -49,7 +49,7 @@ function ApiKeyCreationParametersToJSON(value) {
|
|
|
49
49
|
'name': value['name'],
|
|
50
50
|
'ownerId': value['ownerId'],
|
|
51
51
|
'tags': value['tags'],
|
|
52
|
-
'expirationDate': value['expirationDate']
|
|
52
|
+
'expirationDate': (value['expirationDate'] === null || value['expirationDate'] === undefined) ? value['expirationDate'] : (value['expirationDate']).toISOString(),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
exports.ApiKeyCreationParametersToJSON = ApiKeyCreationParametersToJSON;
|
|
@@ -30,7 +30,7 @@ function DisposableTokenCreationParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'userId': json['userId']
|
|
33
|
+
'userId': json['userId'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.DisposableTokenCreationParametersFromJSONTyped = DisposableTokenCreationParametersFromJSONTyped;
|
|
@@ -36,8 +36,8 @@ function PaginatedApiKeysFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
40
|
-
'records': (json['records'].map(ApiKey_1.ApiKeyFromJSON)
|
|
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(ApiKey_1.ApiKeyFromJSON),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.PaginatedApiKeysFromJSONTyped = PaginatedApiKeysFromJSONTyped;
|
|
@@ -47,7 +47,7 @@ function PaginatedApiKeysToJSON(value) {
|
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
50
|
-
'records': (value['records'].map(ApiKey_1.ApiKeyToJSON)
|
|
50
|
+
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(ApiKey_1.ApiKeyToJSON),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.PaginatedApiKeysToJSON = PaginatedApiKeysToJSON;
|
|
@@ -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;
|
|
@@ -31,15 +31,15 @@ function RevealedApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'id': json['id']
|
|
35
|
-
'name': json['name']
|
|
36
|
-
'owner': json['owner']
|
|
37
|
-
'tags': json['tags']
|
|
38
|
-
'createdAt': json['createdAt']
|
|
39
|
-
'lastUsedAt': json['lastUsedAt']
|
|
40
|
-
'expirationDate': json['expirationDate']
|
|
41
|
-
'hiddenValue': json['hiddenValue']
|
|
42
|
-
'value': json['value']
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
'owner': (json['owner'] === null || json['owner'] === undefined) ? json['owner'] : (0, UserLink_1.UserLinkFromJSON)(json['owner']),
|
|
37
|
+
'tags': json['tags'],
|
|
38
|
+
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
39
|
+
'lastUsedAt': (json['lastUsedAt'] === null || json['lastUsedAt'] === undefined) ? json['lastUsedAt'] : new Date(json['lastUsedAt']),
|
|
40
|
+
'expirationDate': (json['expirationDate'] === null || json['expirationDate'] === undefined) ? json['expirationDate'] : new Date(json['expirationDate']),
|
|
41
|
+
'hiddenValue': json['hiddenValue'],
|
|
42
|
+
'value': json['value'],
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
exports.RevealedApiKeyFromJSONTyped = RevealedApiKeyFromJSONTyped;
|
|
@@ -52,9 +52,9 @@ function RevealedApiKeyToJSON(value) {
|
|
|
52
52
|
'name': value['name'],
|
|
53
53
|
'owner': (0, UserLink_1.UserLinkToJSON)(value['owner']),
|
|
54
54
|
'tags': value['tags'],
|
|
55
|
-
'createdAt': value['createdAt']
|
|
56
|
-
'lastUsedAt': value['lastUsedAt']
|
|
57
|
-
'expirationDate': value['expirationDate']
|
|
55
|
+
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
56
|
+
'lastUsedAt': (value['lastUsedAt'] === null || value['lastUsedAt'] === undefined) ? value['lastUsedAt'] : (value['lastUsedAt']).toISOString(),
|
|
57
|
+
'expirationDate': (value['expirationDate'] === null || value['expirationDate'] === undefined) ? value['expirationDate'] : (value['expirationDate']).toISOString(),
|
|
58
58
|
'hiddenValue': value['hiddenValue'],
|
|
59
59
|
'value': value['value'],
|
|
60
60
|
};
|
|
@@ -34,9 +34,9 @@ function UserLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'href': json['href'],
|
|
37
|
-
'id': json['id']
|
|
38
|
-
'nickname': json['nickname']
|
|
39
|
-
'company': 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']
|
|
33
|
+
'legalName': json['legalName'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.UserLinkAllOfCompanyFromJSONTyped = UserLinkAllOfCompanyFromJSONTyped;
|
|
@@ -48,15 +48,15 @@ function LevyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
50
|
'id': json['id'],
|
|
51
|
-
'debitedUser': (0, UserLink_1.UserLinkFromJSON)(json['debitedUser']),
|
|
52
|
-
'creditedUser': (0, UserLink_1.UserLinkFromJSON)(json['creditedUser']),
|
|
53
|
-
'payment': (0, LevyPayment_1.LevyPaymentFromJSON)(json['payment']),
|
|
54
|
-
'status': (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
55
|
-
'comment': json['comment']
|
|
56
|
-
'tag': json['tag']
|
|
51
|
+
'debitedUser': (json['debitedUser'] === null || json['debitedUser'] === undefined) ? json['debitedUser'] : (0, UserLink_1.UserLinkFromJSON)(json['debitedUser']),
|
|
52
|
+
'creditedUser': (json['creditedUser'] === null || json['creditedUser'] === undefined) ? json['creditedUser'] : (0, UserLink_1.UserLinkFromJSON)(json['creditedUser']),
|
|
53
|
+
'payment': (json['payment'] === null || json['payment'] === undefined) ? json['payment'] : (0, LevyPayment_1.LevyPaymentFromJSON)(json['payment']),
|
|
54
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
55
|
+
'comment': json['comment'],
|
|
56
|
+
'tag': json['tag'],
|
|
57
57
|
'fees': json['fees'],
|
|
58
58
|
'debitedFunds': json['debitedFunds'],
|
|
59
|
-
'createdAt': json['createdAt']
|
|
59
|
+
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
exports.LevyFromJSONTyped = LevyFromJSONTyped;
|
|
@@ -74,7 +74,7 @@ function LevyToJSON(value) {
|
|
|
74
74
|
'tag': value['tag'],
|
|
75
75
|
'fees': value['fees'],
|
|
76
76
|
'debitedFunds': value['debitedFunds'],
|
|
77
|
-
'createdAt': value['createdAt']
|
|
77
|
+
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
exports.LevyToJSON = LevyToJSON;
|
|
@@ -45,8 +45,8 @@ function LevyCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'debitedFunds': json['debitedFunds'],
|
|
46
46
|
'fees': json['fees'],
|
|
47
47
|
'tag': json['tag'],
|
|
48
|
-
'status': (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
49
|
-
'comment': json['comment']
|
|
48
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
49
|
+
'comment': json['comment'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
exports.LevyCreationParametersFromJSONTyped = LevyCreationParametersFromJSONTyped;
|
|
@@ -31,8 +31,8 @@ function LevyPaymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'id': json['id']
|
|
35
|
-
'status': json['status']
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyPaymentStatus_1.LevyPaymentStatusFromJSON)(json['status']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.LevyPaymentFromJSONTyped = LevyPaymentFromJSONTyped;
|
|
@@ -23,4 +23,3 @@ export declare function instanceOfLevyPaymentStatus(value: any): boolean;
|
|
|
23
23
|
export declare function LevyPaymentStatusFromJSON(json: any): LevyPaymentStatus;
|
|
24
24
|
export declare function LevyPaymentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LevyPaymentStatus;
|
|
25
25
|
export declare function LevyPaymentStatusToJSON(value?: LevyPaymentStatus | null): any;
|
|
26
|
-
export declare function LevyPaymentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LevyPaymentStatus;
|
|
@@ -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.LevyPaymentStatusToJSON = exports.LevyPaymentStatusFromJSONTyped = exports.LevyPaymentStatusFromJSON = exports.instanceOfLevyPaymentStatus = exports.LevyPaymentStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Payment status values
|
|
19
19
|
* @export
|
|
@@ -46,7 +46,3 @@ function LevyPaymentStatusToJSON(value) {
|
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
exports.LevyPaymentStatusToJSON = LevyPaymentStatusToJSON;
|
|
49
|
-
function LevyPaymentStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
exports.LevyPaymentStatusToJSONTyped = LevyPaymentStatusToJSONTyped;
|
|
@@ -22,4 +22,3 @@ export declare function instanceOfLevyStatus(value: any): boolean;
|
|
|
22
22
|
export declare function LevyStatusFromJSON(json: any): LevyStatus;
|
|
23
23
|
export declare function LevyStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LevyStatus;
|
|
24
24
|
export declare function LevyStatusToJSON(value?: LevyStatus | null): any;
|
|
25
|
-
export declare function LevyStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LevyStatus;
|
|
@@ -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.LevyStatusToJSON = exports.LevyStatusFromJSONTyped = exports.LevyStatusFromJSON = exports.instanceOfLevyStatus = exports.LevyStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Levy status values
|
|
19
19
|
* @export
|
|
@@ -45,7 +45,3 @@ function LevyStatusToJSON(value) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
exports.LevyStatusToJSON = LevyStatusToJSON;
|
|
48
|
-
function LevyStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
exports.LevyStatusToJSONTyped = LevyStatusToJSONTyped;
|
|
@@ -31,8 +31,8 @@ function LevyUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'status': json['status']
|
|
35
|
-
'comment': json['comment']
|
|
34
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
35
|
+
'comment': json['comment'],
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.LevyUpdateParametersFromJSONTyped = LevyUpdateParametersFromJSONTyped;
|
|
@@ -33,7 +33,7 @@ function OrderLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'href': json['href'],
|
|
36
|
-
'reference': json['reference']
|
|
36
|
+
'reference': json['reference'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.OrderLinkFromJSONTyped = OrderLinkFromJSONTyped;
|
|
@@ -34,11 +34,11 @@ function OrderPaymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'reference': json['reference']
|
|
38
|
-
'order': json['order']
|
|
39
|
-
'wallets': json['wallets']
|
|
40
|
-
'deposit': json['deposit']
|
|
41
|
-
'withdraw': json['withdraw']
|
|
37
|
+
'reference': json['reference'],
|
|
38
|
+
'order': (json['order'] === null || json['order'] === undefined) ? json['order'] : (0, OrderLink_1.OrderLinkFromJSON)(json['order']),
|
|
39
|
+
'wallets': (json['wallets'] === null || json['wallets'] === undefined) ? json['wallets'] : (0, OrderPaymentWallets_1.OrderPaymentWalletsFromJSON)(json['wallets']),
|
|
40
|
+
'deposit': (json['deposit'] === null || json['deposit'] === undefined) ? json['deposit'] : (0, OrderPaymentDeposit_1.OrderPaymentDepositFromJSON)(json['deposit']),
|
|
41
|
+
'withdraw': (json['withdraw'] === null || json['withdraw'] === undefined) ? json['withdraw'] : (0, OrderPaymentWithdraw_1.OrderPaymentWithdrawFromJSON)(json['withdraw']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.OrderPaymentFromJSONTyped = OrderPaymentFromJSONTyped;
|
|
@@ -31,7 +31,7 @@ function OrderPaymentDepositFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'payin': json['payin']
|
|
34
|
+
'payin': (json['payin'] === null || json['payin'] === undefined) ? json['payin'] : (0, Transaction_1.TransactionFromJSON)(json['payin']),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.OrderPaymentDepositFromJSONTyped = OrderPaymentDepositFromJSONTyped;
|
|
@@ -31,8 +31,8 @@ function OrderPaymentWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'buyer': json['buyer']
|
|
35
|
-
'seller': json['seller']
|
|
34
|
+
'buyer': (json['buyer'] === null || json['buyer'] === undefined) ? json['buyer'] : (0, Wallet_1.WalletFromJSON)(json['buyer']),
|
|
35
|
+
'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, Wallet_1.WalletFromJSON)(json['seller']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.OrderPaymentWalletsFromJSONTyped = OrderPaymentWalletsFromJSONTyped;
|
|
@@ -31,10 +31,10 @@ function OrderPaymentWithdrawFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'refund': json['refund']
|
|
35
|
-
'payout': json['payout']
|
|
36
|
-
'transferSeller': json['transferSeller']
|
|
37
|
-
'transferShippingFees': json['transferShippingFees']
|
|
34
|
+
'refund': (json['refund'] === null || json['refund'] === undefined) ? json['refund'] : (0, Transaction_1.TransactionFromJSON)(json['refund']),
|
|
35
|
+
'payout': (json['payout'] === null || json['payout'] === undefined) ? json['payout'] : (0, Transaction_1.TransactionFromJSON)(json['payout']),
|
|
36
|
+
'transferSeller': (json['transferSeller'] === null || json['transferSeller'] === undefined) ? json['transferSeller'] : (0, Transaction_1.TransactionFromJSON)(json['transferSeller']),
|
|
37
|
+
'transferShippingFees': (json['transferShippingFees'] === null || json['transferShippingFees'] === undefined) ? json['transferShippingFees'] : (0, Transaction_1.TransactionFromJSON)(json['transferShippingFees']),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.OrderPaymentWithdrawFromJSONTyped = OrderPaymentWithdrawFromJSONTyped;
|
|
@@ -36,8 +36,8 @@ function PaginatedLeviesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
40
|
-
'records': (json['records'].map(Levy_1.LevyFromJSON)
|
|
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(Levy_1.LevyFromJSON),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.PaginatedLeviesFromJSONTyped = PaginatedLeviesFromJSONTyped;
|
|
@@ -47,7 +47,7 @@ function PaginatedLeviesToJSON(value) {
|
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
50
|
-
'records': (value['records'].map(Levy_1.LevyToJSON)
|
|
50
|
+
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Levy_1.LevyToJSON),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.PaginatedLeviesToJSON = PaginatedLeviesToJSON;
|
|
@@ -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 PaginatedOrderPaymentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
40
|
-
'records': (json['records'].map(OrderPayment_1.OrderPaymentFromJSON)
|
|
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(OrderPayment_1.OrderPaymentFromJSON),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.PaginatedOrderPaymentsFromJSONTyped = PaginatedOrderPaymentsFromJSONTyped;
|
|
@@ -47,7 +47,7 @@ function PaginatedOrderPaymentsToJSON(value) {
|
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
50
|
-
'records': (value['records'].map(OrderPayment_1.OrderPaymentToJSON)
|
|
50
|
+
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(OrderPayment_1.OrderPaymentToJSON),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.PaginatedOrderPaymentsToJSON = PaginatedOrderPaymentsToJSON;
|
|
@@ -40,11 +40,11 @@ function TransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'mangopayTarget': json['mangopayTarget']
|
|
44
|
-
'status': json['status']
|
|
45
|
-
'executionCode': json['executionCode']
|
|
46
|
-
'executionMessage': json['executionMessage']
|
|
47
|
-
'executionDate': json['executionDate']
|
|
43
|
+
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, TransactionMangopayTarget_1.TransactionMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
44
|
+
'status': json['status'],
|
|
45
|
+
'executionCode': json['executionCode'],
|
|
46
|
+
'executionMessage': json['executionMessage'],
|
|
47
|
+
'executionDate': (json['executionDate'] === null || json['executionDate'] === undefined) ? json['executionDate'] : new Date(json['executionDate']),
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
exports.TransactionFromJSONTyped = TransactionFromJSONTyped;
|
|
@@ -57,7 +57,7 @@ function TransactionToJSON(value) {
|
|
|
57
57
|
'status': value['status'],
|
|
58
58
|
'executionCode': value['executionCode'],
|
|
59
59
|
'executionMessage': value['executionMessage'],
|
|
60
|
-
'executionDate': value['executionDate']
|
|
60
|
+
'executionDate': (value['executionDate'] === null || value['executionDate'] === undefined) ? value['executionDate'] : (value['executionDate']).toISOString(),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
exports.TransactionToJSON = TransactionToJSON;
|
|
@@ -33,7 +33,7 @@ function TransactionMangopayTargetFromJSONTyped(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.TransactionMangopayTargetFromJSONTyped = TransactionMangopayTargetFromJSONTyped;
|
|
@@ -40,7 +40,7 @@ function UserLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'href': json['href'],
|
|
41
41
|
'id': json['id'],
|
|
42
42
|
'nickname': json['nickname'],
|
|
43
|
-
'company': json['company']
|
|
43
|
+
'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserLinkAllOfCompany_1.UserLinkAllOfCompanyFromJSON)(json['company']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
exports.UserLinkFromJSONTyped = UserLinkFromJSONTyped;
|
|
@@ -30,7 +30,7 @@ function UserLinkAllOfCompanyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'legalName': json['legalName']
|
|
33
|
+
'legalName': json['legalName'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.UserLinkAllOfCompanyFromJSONTyped = UserLinkAllOfCompanyFromJSONTyped;
|
|
@@ -31,7 +31,7 @@ function WalletFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'mangopayTarget': json['mangopayTarget']
|
|
34
|
+
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, WalletMangopayTarget_1.WalletMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.WalletFromJSONTyped = WalletFromJSONTyped;
|
|
@@ -33,7 +33,7 @@ function WalletMangopayTargetFromJSONTyped(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.WalletMangopayTargetFromJSONTyped = WalletMangopayTargetFromJSONTyped;
|
|
@@ -30,10 +30,10 @@ function BarcodesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'cip': json['cip']
|
|
34
|
-
'cip13': json['cip13']
|
|
35
|
-
'eans': json['eans']
|
|
36
|
-
'principal': json['principal']
|
|
33
|
+
'cip': json['cip'],
|
|
34
|
+
'cip13': json['cip13'],
|
|
35
|
+
'eans': json['eans'],
|
|
36
|
+
'principal': json['principal'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.BarcodesFromJSONTyped = BarcodesFromJSONTyped;
|