@lcdp/api-react-rest-client 2.9.0-develop.13112067963 → 2.9.0-upgrade-codegen-client-react.12434127684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/src/apis/SearchApiKeyApi.d.ts +6 -6
- package/auth/src/apis/SearchApiKeyApi.js +6 -6
- package/auth/src/models/AnyAuthenticationCredential.d.ts +2 -1
- package/auth/src/models/AnyAuthenticationCredential.js +12 -7
- package/auth/src/models/AnyUser.d.ts +2 -1
- package/auth/src/models/AnyUser.js +10 -5
- 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/RestError.d.ts +24 -26
- package/auth/src/models/RestError.js +23 -25
- 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/apis/SearchLevyApi.d.ts +14 -14
- package/banking-operation/src/apis/SearchLevyApi.js +14 -14
- package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +2 -2
- package/banking-operation/src/apis/SearchOrderPaymentApi.js +2 -2
- 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 +4 -3
- package/banking-operation/src/models/LevyPaymentStatus.js +8 -4
- package/banking-operation/src/models/LevyStatus.d.ts +3 -2
- package/banking-operation/src/models/LevyStatus.js +7 -3
- 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.d.ts +4 -4
- package/banking-operation/src/models/Transaction.js +10 -10
- 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/apis/SearchProductInsightApi.d.ts +4 -4
- package/catalog/src/apis/SearchProductInsightApi.js +4 -4
- 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 +5 -4
- package/catalog/src/models/ProductStorageType.js +9 -5
- package/catalog/src/models/ProductTypeLink.js +2 -2
- package/catalog/src/models/RestError.d.ts +24 -26
- package/catalog/src/models/RestError.js +23 -25
- package/catalog/src/models/VatLink.js +3 -3
- package/challenge/src/models/Challenge.js +2 -2
- package/challenge/src/models/ChallengeAction.d.ts +1 -1
- package/challenge/src/models/ChallengeAction.js +2 -2
- package/configuration/src/models/RestError.d.ts +24 -26
- package/configuration/src/models/RestError.js +23 -25
- package/content/src/models/Content.js +7 -7
- package/content/src/models/RestError.d.ts +24 -26
- package/content/src/models/RestError.js +23 -25
- package/factory/src/apis/SearchAssemblyApi.d.ts +6 -6
- package/factory/src/apis/SearchAssemblyApi.js +6 -6
- package/factory/src/models/AnyDistributionMode.d.ts +2 -1
- package/factory/src/models/AnyDistributionMode.js +11 -6
- package/factory/src/models/AnyFactory.d.ts +2 -1
- package/factory/src/models/AnyFactory.js +11 -6
- 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/AssemblyOutputInner.d.ts +2 -2
- package/factory/src/models/AssemblyOutputInner.js +2 -2
- package/factory/src/models/AssemblyStatus.d.ts +9 -8
- package/factory/src/models/AssemblyStatus.js +13 -9
- 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 +5 -4
- package/factory/src/models/ProductStatus.js +9 -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 +8 -7
- package/factory/src/models/SaleOfferStatus.js +12 -8
- package/factory/src/models/SaleOfferUpsertFactory.js +3 -3
- package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.js +5 -5
- package/factory/src/models/StatusEnum.d.ts +9 -8
- package/factory/src/models/StatusEnum.js +13 -9
- package/factory/src/models/Stock.js +4 -4
- package/factory/src/models/UserLink.js +1 -1
- package/favorite/src/apis/ManageFavoriteProductApi.d.ts +4 -4
- package/favorite/src/apis/ManageFavoriteProductApi.js +4 -4
- 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 +5 -4
- package/favorite/src/models/ProductStatus.js +9 -5
- package/favorite/src/models/RestError.d.ts +24 -26
- package/favorite/src/models/RestError.js +23 -25
- package/inventory/src/apis/ManageInventoryApi.d.ts +17 -5
- package/inventory/src/apis/ManageInventoryApi.js +86 -12
- package/inventory/src/apis/SearchInventoryApi.d.ts +76 -83
- package/inventory/src/apis/SearchInventoryApi.js +141 -160
- package/inventory/src/models/ActiveProduct.d.ts +3 -10
- package/inventory/src/models/ActiveProduct.js +5 -8
- package/inventory/src/models/ActiveProductUpdateParameters.d.ts +3 -4
- package/inventory/src/models/ActiveProductUpdateParameters.js +2 -3
- package/inventory/src/models/Barcodes.js +4 -4
- package/inventory/src/models/MisalignedProduct.d.ts +0 -6
- package/inventory/src/models/MisalignedProduct.js +4 -6
- package/inventory/src/models/OverstockProduct.d.ts +0 -6
- package/inventory/src/models/OverstockProduct.js +1 -3
- 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/RestError.d.ts +24 -26
- package/inventory/src/models/RestError.js +23 -25
- 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.d.ts +32 -0
- package/inventory/src/models/Synchroneity.js +46 -0
- package/inventory/src/models/SynchroneityOffisante.d.ts +38 -0
- package/inventory/src/models/SynchroneityOffisante.js +48 -0
- package/inventory/src/models/SynchroneitySource.d.ts +37 -0
- package/inventory/src/models/SynchroneitySource.js +47 -0
- package/inventory/src/models/index.d.ts +3 -4
- package/inventory/src/models/index.js +3 -4
- package/invoice/src/apis/SearchInvoiceApi.d.ts +10 -10
- package/invoice/src/apis/SearchInvoiceApi.js +10 -10
- package/invoice/src/apis/SearchInvoiceLineApi.d.ts +4 -4
- package/invoice/src/apis/SearchInvoiceLineApi.js +4 -4
- package/invoice/src/apis/SearchOrderTallyApi.d.ts +8 -8
- package/invoice/src/apis/SearchOrderTallyApi.js +8 -8
- package/invoice/src/models/Invoice.js +4 -4
- package/invoice/src/models/InvoiceSummaryCreationParameters.js +4 -4
- package/invoice/src/models/InvoiceType.d.ts +14 -13
- package/invoice/src/models/InvoiceType.js +18 -14
- 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/RestError.d.ts +24 -26
- package/invoice/src/models/RestError.js +23 -25
- package/invoice/src/models/UserLink.js +3 -3
- package/invoice/src/models/UserLinkAllOfCompany.js +1 -1
- package/laboratory/src/apis/SearchLaboratoryApi.d.ts +2 -2
- package/laboratory/src/apis/SearchLaboratoryApi.js +2 -2
- 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/apis/SearchLaboratoryStoreApi.d.ts +7 -7
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +7 -7
- package/laboratory-store/src/models/DisplayType.d.ts +3 -2
- package/laboratory-store/src/models/DisplayType.js +7 -3
- 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 +6 -5
- package/laboratory-store/src/models/LaboratoryType.js +10 -6
- 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/src/models/RestError.d.ts +24 -26
- package/laboratory-store/src/models/RestError.js +23 -25
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +2 -2
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +2 -2
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.d.ts +2 -1
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.js +9 -4
- 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/RestError.d.ts +24 -26
- package/lexicon/src/models/RestError.js +23 -25
- package/lexicon/src/models/Tag.js +2 -2
- package/lexicon/src/models/TagCreationParameters.js +1 -1
- package/litigation/src/models/RestError.d.ts +24 -26
- package/litigation/src/models/RestError.js +23 -25
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +11 -6
- 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 +5 -4
- package/magic-cart/src/models/ProductStorageType.js +9 -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.d.ts +1 -1
- package/mandate/src/models/ChallengeAction.js +2 -2
- package/mandate/src/models/Mandate.d.ts +5 -5
- package/mandate/src/models/Mandate.js +9 -9
- package/mandate/src/models/MandateChallenge.js +2 -2
- package/mandate/src/models/MandateCreationParameters.js +2 -2
- package/mangopay-hook/src/models/RestError.d.ts +24 -26
- package/mangopay-hook/src/models/RestError.js +23 -25
- package/message/src/apis/SearchMessageApi.d.ts +4 -4
- package/message/src/apis/SearchMessageApi.js +4 -4
- 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/apis/SearchNotificationApi.d.ts +2 -2
- package/notification/src/apis/SearchNotificationApi.js +2 -2
- package/notification/src/apis/SearchNotificationTypeApi.d.ts +6 -6
- package/notification/src/apis/SearchNotificationTypeApi.js +6 -6
- 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 +49 -48
- package/notification/src/models/NotificationTypeId.js +53 -49
- 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/notification/src/models/RestError.d.ts +24 -26
- package/notification/src/models/RestError.js +23 -25
- package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +2 -2
- package/order/src/apis/SearchFreeCarriageCouponApi.js +2 -2
- package/order/src/apis/SearchOrderApi.d.ts +18 -18
- package/order/src/apis/SearchOrderApi.js +18 -18
- package/order/src/apis/SearchOrderItemApi.d.ts +24 -24
- package/order/src/apis/SearchOrderItemApi.js +24 -24
- 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 +2 -1
- package/order/src/models/AnyMetaOrderWarning.js +10 -5
- 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.d.ts +5 -5
- package/order/src/models/OrderItemWarning.js +6 -6
- package/order/src/models/OrderItemsOperation.d.ts +4 -3
- package/order/src/models/OrderItemsOperation.js +8 -4
- 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 +16 -15
- package/order/src/models/OrderStatus.js +20 -16
- package/order/src/models/OrderStatusReason.d.ts +4 -3
- package/order/src/models/OrderStatusReason.js +8 -4
- package/order/src/models/OrderStorageType.d.ts +5 -4
- package/order/src/models/OrderStorageType.js +9 -5
- package/order/src/models/OrderThreads.js +1 -1
- package/order/src/models/OrderType.d.ts +3 -2
- package/order/src/models/OrderType.js +7 -3
- package/order/src/models/OrderUpdateParameters.js +4 -4
- package/order/src/models/OrderWarning.d.ts +2 -2
- package/order/src/models/OrderWarning.js +2 -2
- 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 +5 -4
- package/order/src/models/ProductStorageType.js +9 -5
- package/order/src/models/Reservation.js +7 -7
- package/order/src/models/ReservationUpdateParameters.js +1 -1
- package/order/src/models/RestError.d.ts +24 -26
- package/order/src/models/RestError.js +23 -25
- package/order/src/models/ShoppedOffer.js +1 -1
- package/order/src/models/UpdateOrderStatusParameters.d.ts +9 -8
- package/order/src/models/UpdateOrderStatusParameters.js +13 -9
- package/order/src/models/UserLink.js +5 -5
- package/order/src/models/UserLinkAllOfCompany.js +1 -1
- package/order-log/src/apis/SearchOrderLogApi.d.ts +2 -2
- package/order-log/src/apis/SearchOrderLogApi.js +2 -2
- package/order-log/src/models/AnyOrderLog.d.ts +2 -1
- package/order-log/src/models/AnyOrderLog.js +9 -4
- 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 +4 -3
- package/order-log/src/models/OrderStatusReason.js +8 -4
- package/order-log/src/models/PaginatedObject.js +1 -1
- package/order-log/src/models/PaginatedOrderLogs.js +3 -3
- package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +4 -4
- package/outrage-message/src/apis/SearchOutrageMessageApi.js +4 -4
- 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/apis/SearchProductApi.d.ts +18 -18
- package/product/src/apis/SearchProductApi.js +18 -18
- package/product/src/apis/SearchProductProscriptionApi.d.ts +4 -4
- package/product/src/apis/SearchProductProscriptionApi.js +4 -4
- package/product/src/models/Barcodes.js +4 -4
- package/product/src/models/DataProvider.d.ts +6 -5
- package/product/src/models/DataProvider.js +10 -6
- 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 +3 -2
- package/product/src/models/ProductDispensationPlace.js +7 -3
- package/product/src/models/ProductJournal.js +2 -2
- package/product/src/models/ProductMarketStatus.d.ts +7 -6
- package/product/src/models/ProductMarketStatus.js +11 -7
- 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 +5 -4
- package/product/src/models/ProductStatus.js +9 -5
- package/product/src/models/ProductStorageType.d.ts +5 -4
- package/product/src/models/ProductStorageType.js +9 -5
- package/product/src/models/ProductType.js +2 -2
- package/product/src/models/RestError.d.ts +24 -26
- package/product/src/models/RestError.js +23 -25
- package/product/src/models/Statistics.js +1 -1
- package/pub/src/apis/SearchPubApi.d.ts +27 -27
- package/pub/src/apis/SearchPubApi.js +27 -27
- 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 +4 -3
- package/pub/src/models/PubLocationEnum.js +8 -4
- 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/RestError.d.ts +24 -26
- package/pub/src/models/RestError.js +23 -25
- package/pub/src/models/UserLink.js +3 -3
- package/pub/src/models/UserLinkAllOfCompany.js +1 -1
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +4 -4
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +4 -4
- package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchProductRecommendationApi.js +4 -4
- 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 +4 -3
- package/recommendation/src/models/ProductRecommendationType.js +8 -4
- package/recommendation/src/models/UserLink.js +1 -1
- package/rfx/src/apis/SearchRfoiApi.d.ts +10 -10
- package/rfx/src/apis/SearchRfoiApi.js +10 -10
- 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/RestError.d.ts +24 -26
- package/rfx/src/models/RestError.js +23 -25
- 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/apis/SearchSaleOfferApi.d.ts +35 -35
- package/sale-offer/src/apis/SearchSaleOfferApi.js +35 -35
- package/sale-offer/src/models/AnyDistributionMode.d.ts +2 -1
- package/sale-offer/src/models/AnyDistributionMode.js +11 -6
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +11 -6
- 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/RestError.d.ts +24 -26
- package/sale-offer/src/models/RestError.js +23 -25
- 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 +8 -7
- package/sale-offer/src/models/SaleOfferStatus.js +12 -8
- package/sale-offer/src/models/SaleOfferStatusReason.d.ts +7 -6
- package/sale-offer/src/models/SaleOfferStatusReason.js +11 -7
- 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/apis/SearchSaleOfferLogApi.d.ts +2 -2
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +2 -2
- package/sale-offer-log/src/models/AnySaleOfferLog.d.ts +2 -1
- package/sale-offer-log/src/models/AnySaleOfferLog.js +9 -4
- 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/RestError.d.ts +24 -26
- package/servant/src/models/RestError.js +23 -25
- package/servant/src/models/Servant.js +7 -7
- package/servant/src/models/Task.js +3 -3
- package/shipment/src/apis/SearchOrderCarriageApi.d.ts +4 -4
- package/shipment/src/apis/SearchOrderCarriageApi.js +4 -4
- 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/RestError.d.ts +24 -26
- package/shipment/src/models/RestError.js +23 -25
- package/shipment/src/models/Shipment.js +8 -8
- package/shipment/src/models/ShipmentCreationParameters.js +2 -2
- package/shipment/src/models/ShipmentError.d.ts +1 -1
- package/shipment/src/models/ShipmentError.js +2 -2
- package/shipment/src/models/ShipmentLabels.js +2 -2
- package/shipment/src/models/ShipmentParcel.js +4 -4
- package/shipment/src/models/ShipmentParcelStatus.d.ts +4 -3
- package/shipment/src/models/ShipmentParcelStatus.js +8 -4
- package/shipment/src/models/SkybillLink.js +1 -1
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +4 -4
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -4
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.d.ts +2 -1
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.js +11 -6
- 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 +5 -4
- package/shopping-cart/src/models/ProductStorageType.js +9 -5
- package/shopping-cart/src/models/RestError.d.ts +24 -26
- package/shopping-cart/src/models/RestError.js +23 -25
- package/shopping-cart/src/models/SaleOfferLink.js +4 -4
- package/shopping-cart/src/models/SaleOfferStatus.d.ts +8 -7
- package/shopping-cart/src/models/SaleOfferStatus.js +12 -8
- 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 +9 -8
- package/shopping-cart/src/models/UserRole.js +13 -9
- package/smuggler/src/models/RestError.d.ts +24 -26
- package/smuggler/src/models/RestError.js +23 -25
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +2 -2
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +2 -2
- 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/RestError.d.ts +24 -26
- package/statistic/src/models/RestError.js +23 -25
- 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/apis/SearchSubscriptionApi.d.ts +8 -8
- package/subscription/src/apis/SearchSubscriptionApi.js +8 -8
- package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +2 -2
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +2 -2
- package/subscription/src/models/PaginatedObject.js +1 -1
- package/subscription/src/models/PaginatedSubscriptions.js +3 -3
- package/subscription/src/models/RestError.d.ts +24 -26
- package/subscription/src/models/RestError.js +23 -25
- 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 +4 -3
- package/subscription/src/models/SubscriptionPlanFeatureId.js +8 -4
- package/subscription/src/models/SubscriptionPlanId.d.ts +4 -3
- package/subscription/src/models/SubscriptionPlanId.js +8 -4
- 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/RestError.d.ts +24 -26
- package/third-party/src/models/RestError.js +23 -25
- package/third-party/src/models/ThirdPartyLink.js +1 -1
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -2
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -2
- package/thread/src/apis/SearchThreadCommentApi.d.ts +4 -4
- package/thread/src/apis/SearchThreadCommentApi.js +4 -4
- 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/RestError.d.ts +24 -26
- package/ubo/src/models/RestError.js +23 -25
- package/ubo/src/models/Ubo.js +6 -6
- package/ubo/src/models/UboDeclaration.d.ts +6 -6
- package/ubo/src/models/UboDeclaration.js +13 -13
- package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.js +2 -2
- package/user/src/apis/ManageUserDocumentApi.d.ts +18 -18
- package/user/src/apis/ManageUserDocumentApi.js +18 -18
- package/user/src/apis/SearchUserApi.d.ts +20 -20
- package/user/src/apis/SearchUserApi.js +20 -20
- package/user/src/apis/SearchUserDocumentApi.d.ts +30 -30
- package/user/src/apis/SearchUserDocumentApi.js +30 -30
- package/user/src/models/Address.js +4 -4
- package/user/src/models/Gender.d.ts +3 -2
- package/user/src/models/Gender.js +7 -3
- package/user/src/models/KycLevel.d.ts +3 -2
- package/user/src/models/KycLevel.js +7 -3
- package/user/src/models/MyPasswordUpdateParameters.js +2 -2
- package/user/src/models/NotificationTypeId.d.ts +49 -48
- package/user/src/models/NotificationTypeId.js +53 -49
- package/user/src/models/NotificationTypeLink.js +1 -1
- package/user/src/models/OffisanteStatus.d.ts +4 -3
- package/user/src/models/OffisanteStatus.js +8 -4
- 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/RestError.d.ts +24 -26
- package/user/src/models/RestError.js +23 -25
- 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.d.ts +10 -10
- package/user/src/models/UserDocument.js +15 -15
- package/user/src/models/UserDocumentStatus.d.ts +6 -5
- package/user/src/models/UserDocumentStatus.js +10 -6
- 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 +9 -8
- package/user/src/models/UserRole.js +13 -9
- package/user/src/models/UserRule.js +5 -5
- package/user/src/models/UserRuleActionEnum.d.ts +2 -1
- package/user/src/models/UserRuleActionEnum.js +6 -2
- package/user/src/models/UserRuleAttributeEnum.d.ts +3 -2
- package/user/src/models/UserRuleAttributeEnum.js +7 -3
- package/user/src/models/UserRuleComparatorEnum.d.ts +3 -2
- package/user/src/models/UserRuleComparatorEnum.js +7 -3
- 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/apis/SearchProductEnthusiasmApi.d.ts +10 -10
- package/wish/src/apis/SearchProductEnthusiasmApi.js +10 -10
- package/wish/src/apis/SearchWishApi.d.ts +10 -10
- package/wish/src/apis/SearchWishApi.js +10 -10
- 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/RestError.d.ts +24 -26
- package/wish/src/models/RestError.js +23 -25
- package/wish/src/models/Wish.js +15 -15
- package/wish/src/models/WishCreationParameters.js +5 -5
- package/wish/src/models/WishReferrerType.d.ts +3 -2
- package/wish/src/models/WishReferrerType.js +7 -3
- package/wish/src/models/WishStatus.d.ts +4 -3
- package/wish/src/models/WishStatus.js +8 -4
- package/wish/src/models/WishUpdateParameters.js +5 -5
- package/inventory/src/models/Inventory.d.ts +0 -63
- package/inventory/src/models/Inventory.js +0 -57
- package/inventory/src/models/InventoryJournal.d.ts +0 -31
- package/inventory/src/models/InventoryJournal.js +0 -45
- package/inventory/src/models/PaginatedInventories.d.ts +0 -39
- package/inventory/src/models/PaginatedInventories.js +0 -53
- package/inventory/src/models/SynchronizationMode.d.ts +0 -25
- package/inventory/src/models/SynchronizationMode.js +0 -48
|
@@ -35,25 +35,25 @@ function ProductCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
-
'barcodes':
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'shortName': json['shortName'],
|
|
41
|
-
'dci': json['dci'],
|
|
42
|
-
'unitWeight': json['unitWeight'],
|
|
43
|
-
'unitPrice': json['unitPrice'],
|
|
44
|
-
'unitPriceEffectiveDate':
|
|
45
|
-
'typeId': json['typeId'],
|
|
46
|
-
'secondaryTypeId': json['secondaryTypeId'],
|
|
47
|
-
'laboratoryId': json['laboratoryId'],
|
|
48
|
-
'vatId': json['vatId'],
|
|
49
|
-
'narcoticPrescription': json['narcoticPrescription'],
|
|
50
|
-
'storageType':
|
|
51
|
-
'marketStatus':
|
|
52
|
-
'status':
|
|
53
|
-
'dispensationPlace':
|
|
54
|
-
'isOtc': json['isOtc'],
|
|
55
|
-
'isDrugInSport': json['isDrugInSport'],
|
|
56
|
-
'tags': json['tags'],
|
|
38
|
+
'barcodes': json['barcodes'] == null ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
'shortName': json['shortName'] == null ? undefined : json['shortName'],
|
|
41
|
+
'dci': json['dci'] == null ? undefined : json['dci'],
|
|
42
|
+
'unitWeight': json['unitWeight'] == null ? undefined : json['unitWeight'],
|
|
43
|
+
'unitPrice': json['unitPrice'] == null ? undefined : json['unitPrice'],
|
|
44
|
+
'unitPriceEffectiveDate': json['unitPriceEffectiveDate'] == null ? undefined : (new Date(json['unitPriceEffectiveDate'])),
|
|
45
|
+
'typeId': json['typeId'] == null ? undefined : json['typeId'],
|
|
46
|
+
'secondaryTypeId': json['secondaryTypeId'] == null ? undefined : json['secondaryTypeId'],
|
|
47
|
+
'laboratoryId': json['laboratoryId'] == null ? undefined : json['laboratoryId'],
|
|
48
|
+
'vatId': json['vatId'] == null ? undefined : json['vatId'],
|
|
49
|
+
'narcoticPrescription': json['narcoticPrescription'] == null ? undefined : json['narcoticPrescription'],
|
|
50
|
+
'storageType': json['storageType'] == null ? undefined : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
51
|
+
'marketStatus': json['marketStatus'] == null ? undefined : (0, ProductMarketStatus_1.ProductMarketStatusFromJSON)(json['marketStatus']),
|
|
52
|
+
'status': json['status'] == null ? undefined : (0, ProductStatus_1.ProductStatusFromJSON)(json['status']),
|
|
53
|
+
'dispensationPlace': json['dispensationPlace'] == null ? undefined : (0, ProductDispensationPlace_1.ProductDispensationPlaceFromJSON)(json['dispensationPlace']),
|
|
54
|
+
'isOtc': json['isOtc'] == null ? undefined : json['isOtc'],
|
|
55
|
+
'isDrugInSport': json['isDrugInSport'] == null ? undefined : json['isDrugInSport'],
|
|
56
|
+
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
exports.ProductCreationOrUpdateParametersFromJSONTyped = ProductCreationOrUpdateParametersFromJSONTyped;
|
|
@@ -68,7 +68,7 @@ function ProductCreationOrUpdateParametersToJSON(value) {
|
|
|
68
68
|
'dci': value['dci'],
|
|
69
69
|
'unitWeight': value['unitWeight'],
|
|
70
70
|
'unitPrice': value['unitPrice'],
|
|
71
|
-
'unitPriceEffectiveDate':
|
|
71
|
+
'unitPriceEffectiveDate': value['unitPriceEffectiveDate'] == null ? undefined : (value['unitPriceEffectiveDate'].toISOString()),
|
|
72
72
|
'typeId': value['typeId'],
|
|
73
73
|
'secondaryTypeId': value['secondaryTypeId'],
|
|
74
74
|
'laboratoryId': value['laboratoryId'],
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const ProductDispensationPlace: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
17
|
+
readonly Pharmacy: "PHARMACY";
|
|
18
|
+
readonly Hospital: "HOSPITAL";
|
|
19
19
|
};
|
|
20
20
|
export declare type ProductDispensationPlace = typeof ProductDispensationPlace[keyof typeof ProductDispensationPlace];
|
|
21
21
|
export declare function instanceOfProductDispensationPlace(value: any): boolean;
|
|
22
22
|
export declare function ProductDispensationPlaceFromJSON(json: any): ProductDispensationPlace;
|
|
23
23
|
export declare function ProductDispensationPlaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductDispensationPlace;
|
|
24
24
|
export declare function ProductDispensationPlaceToJSON(value?: ProductDispensationPlace | null): any;
|
|
25
|
+
export declare function ProductDispensationPlaceToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductDispensationPlace;
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProductDispensationPlaceToJSON = exports.ProductDispensationPlaceFromJSONTyped = exports.ProductDispensationPlaceFromJSON = exports.instanceOfProductDispensationPlace = exports.ProductDispensationPlace = void 0;
|
|
16
|
+
exports.ProductDispensationPlaceToJSONTyped = exports.ProductDispensationPlaceToJSON = exports.ProductDispensationPlaceFromJSONTyped = exports.ProductDispensationPlaceFromJSON = exports.instanceOfProductDispensationPlace = exports.ProductDispensationPlace = void 0;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.ProductDispensationPlace = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Pharmacy: 'PHARMACY',
|
|
23
|
+
Hospital: 'HOSPITAL'
|
|
24
24
|
};
|
|
25
25
|
function instanceOfProductDispensationPlace(value) {
|
|
26
26
|
for (var key in exports.ProductDispensationPlace) {
|
|
@@ -45,3 +45,7 @@ function ProductDispensationPlaceToJSON(value) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
exports.ProductDispensationPlaceToJSON = ProductDispensationPlaceToJSON;
|
|
48
|
+
function ProductDispensationPlaceToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
exports.ProductDispensationPlaceToJSONTyped = ProductDispensationPlaceToJSONTyped;
|
|
@@ -32,7 +32,7 @@ function ProductJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'lastSyncedDate': (json['lastSyncedDate']
|
|
35
|
+
'lastSyncedDate': (json['lastSyncedDate'] == null ? null : new Date(json['lastSyncedDate'])),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.ProductJournalFromJSONTyped = ProductJournalFromJSONTyped;
|
|
@@ -41,7 +41,7 @@ function ProductJournalToJSON(value) {
|
|
|
41
41
|
return value;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'lastSyncedDate': (value['lastSyncedDate']
|
|
44
|
+
'lastSyncedDate': (value['lastSyncedDate'] == null ? null : value['lastSyncedDate'].toISOString()),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
exports.ProductJournalToJSON = ProductJournalToJSON;
|
|
@@ -14,15 +14,16 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const ProductMarketStatus: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
17
|
+
readonly Available: "AVAILABLE";
|
|
18
|
+
readonly Deleted: "DELETED";
|
|
19
|
+
readonly Pharmaco: "PHARMACO";
|
|
20
|
+
readonly New: "NEW";
|
|
21
|
+
readonly DeletedOneyear: "DELETED_ONEYEAR";
|
|
22
|
+
readonly PharmacoOneyear: "PHARMACO_ONEYEAR";
|
|
23
23
|
};
|
|
24
24
|
export declare type ProductMarketStatus = typeof ProductMarketStatus[keyof typeof ProductMarketStatus];
|
|
25
25
|
export declare function instanceOfProductMarketStatus(value: any): boolean;
|
|
26
26
|
export declare function ProductMarketStatusFromJSON(json: any): ProductMarketStatus;
|
|
27
27
|
export declare function ProductMarketStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductMarketStatus;
|
|
28
28
|
export declare function ProductMarketStatusToJSON(value?: ProductMarketStatus | null): any;
|
|
29
|
+
export declare function ProductMarketStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductMarketStatus;
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProductMarketStatusToJSON = exports.ProductMarketStatusFromJSONTyped = exports.ProductMarketStatusFromJSON = exports.instanceOfProductMarketStatus = exports.ProductMarketStatus = void 0;
|
|
16
|
+
exports.ProductMarketStatusToJSONTyped = exports.ProductMarketStatusToJSON = exports.ProductMarketStatusFromJSONTyped = exports.ProductMarketStatusFromJSON = exports.instanceOfProductMarketStatus = exports.ProductMarketStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.ProductMarketStatus = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
Available: 'AVAILABLE',
|
|
23
|
+
Deleted: 'DELETED',
|
|
24
|
+
Pharmaco: 'PHARMACO',
|
|
25
|
+
New: 'NEW',
|
|
26
|
+
DeletedOneyear: 'DELETED_ONEYEAR',
|
|
27
|
+
PharmacoOneyear: 'PHARMACO_ONEYEAR'
|
|
28
28
|
};
|
|
29
29
|
function instanceOfProductMarketStatus(value) {
|
|
30
30
|
for (var key in exports.ProductMarketStatus) {
|
|
@@ -49,3 +49,7 @@ function ProductMarketStatusToJSON(value) {
|
|
|
49
49
|
return value;
|
|
50
50
|
}
|
|
51
51
|
exports.ProductMarketStatusToJSON = ProductMarketStatusToJSON;
|
|
52
|
+
function ProductMarketStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
exports.ProductMarketStatusToJSONTyped = ProductMarketStatusToJSONTyped;
|
|
@@ -31,10 +31,10 @@ function ProductProscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
'id': json['id'],
|
|
35
|
-
'batch': json['batch'],
|
|
36
|
-
'createdAt':
|
|
37
|
-
'source':
|
|
34
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
+
'batch': json['batch'] == null ? undefined : json['batch'],
|
|
36
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
37
|
+
'source': json['source'] == null ? undefined : (0, DataProvider_1.DataProviderFromJSON)(json['source']),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.ProductProscriptionFromJSONTyped = ProductProscriptionFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function ProductProscriptionToJSON(value) {
|
|
|
45
45
|
return {
|
|
46
46
|
'id': value['id'],
|
|
47
47
|
'batch': value['batch'],
|
|
48
|
-
'createdAt':
|
|
48
|
+
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
49
49
|
'source': (0, DataProvider_1.DataProviderToJSON)(value['source']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -30,7 +30,7 @@ function ProductProscriptionCreationParametersFromJSONTyped(json, ignoreDiscrimi
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'batch': json['batch'],
|
|
33
|
+
'batch': json['batch'] == null ? undefined : json['batch'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.ProductProscriptionCreationParametersFromJSONTyped = ProductProscriptionCreationParametersFromJSONTyped;
|
|
@@ -30,8 +30,8 @@ function ProductSecondaryTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'id': json['id'],
|
|
34
|
-
'name': json['name'],
|
|
33
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
34
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.ProductSecondaryTypeFromJSONTyped = ProductSecondaryTypeFromJSONTyped;
|
|
@@ -43,11 +43,11 @@ function ProductSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
return json;
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
|
-
'bcb': (
|
|
47
|
-
'vidal': (
|
|
48
|
-
'medipim': (
|
|
49
|
-
'lcdpCatalog': (
|
|
50
|
-
'fields': (
|
|
46
|
+
'bcb': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['bcb']),
|
|
47
|
+
'vidal': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['vidal']),
|
|
48
|
+
'medipim': (0, ProductSourceMedipim_1.ProductSourceMedipimFromJSON)(json['medipim']),
|
|
49
|
+
'lcdpCatalog': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['lcdpCatalog']),
|
|
50
|
+
'fields': (0, ProductSourceFields_1.ProductSourceFieldsFromJSON)(json['fields']),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.ProductSourceFromJSONTyped = ProductSourceFromJSONTyped;
|
|
@@ -33,8 +33,8 @@ function ProductSourceBcbFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'id': json['id'],
|
|
36
|
-
'unitPrice': json['unitPrice'],
|
|
37
|
-
'unitPriceEffectiveDate':
|
|
36
|
+
'unitPrice': json['unitPrice'] == null ? undefined : json['unitPrice'],
|
|
37
|
+
'unitPriceEffectiveDate': json['unitPriceEffectiveDate'] == null ? undefined : (new Date(json['unitPriceEffectiveDate'])),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.ProductSourceBcbFromJSONTyped = ProductSourceBcbFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function ProductSourceBcbToJSON(value) {
|
|
|
45
45
|
return {
|
|
46
46
|
'id': value['id'],
|
|
47
47
|
'unitPrice': value['unitPrice'],
|
|
48
|
-
'unitPriceEffectiveDate':
|
|
48
|
+
'unitPriceEffectiveDate': value['unitPriceEffectiveDate'] == null ? undefined : (value['unitPriceEffectiveDate'].toISOString()),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.ProductSourceBcbToJSON = ProductSourceBcbToJSON;
|
|
@@ -68,24 +68,24 @@ function ProductSourceFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
68
|
return json;
|
|
69
69
|
}
|
|
70
70
|
return {
|
|
71
|
-
'barcodes': (
|
|
72
|
-
'name': (
|
|
73
|
-
'shortName': (
|
|
74
|
-
'dci': (
|
|
75
|
-
'unitWeight': (
|
|
76
|
-
'unitPrice': (
|
|
77
|
-
'unitPriceEffectiveDate': (
|
|
78
|
-
'type': (
|
|
79
|
-
'secondaryType': (
|
|
80
|
-
'laboratory': (
|
|
81
|
-
'vat': (
|
|
82
|
-
'narcoticPrescription': (
|
|
83
|
-
'storageType': (
|
|
84
|
-
'marketStatus': (
|
|
85
|
-
'dispensationPlace': (
|
|
86
|
-
'isOtc': (
|
|
87
|
-
'isDrugInSport': (
|
|
88
|
-
'tags': (json['tags']
|
|
71
|
+
'barcodes': (0, ProductSourceFieldsBarcodes_1.ProductSourceFieldsBarcodesFromJSON)(json['barcodes']),
|
|
72
|
+
'name': (0, DataProvider_1.DataProviderFromJSON)(json['name']),
|
|
73
|
+
'shortName': (0, DataProvider_1.DataProviderFromJSON)(json['shortName']),
|
|
74
|
+
'dci': (0, DataProvider_1.DataProviderFromJSON)(json['dci']),
|
|
75
|
+
'unitWeight': (0, DataProvider_1.DataProviderFromJSON)(json['unitWeight']),
|
|
76
|
+
'unitPrice': (0, DataProvider_1.DataProviderFromJSON)(json['unitPrice']),
|
|
77
|
+
'unitPriceEffectiveDate': (0, DataProvider_1.DataProviderFromJSON)(json['unitPriceEffectiveDate']),
|
|
78
|
+
'type': (0, DataProvider_1.DataProviderFromJSON)(json['type']),
|
|
79
|
+
'secondaryType': (0, DataProvider_1.DataProviderFromJSON)(json['secondaryType']),
|
|
80
|
+
'laboratory': (0, DataProvider_1.DataProviderFromJSON)(json['laboratory']),
|
|
81
|
+
'vat': (0, DataProvider_1.DataProviderFromJSON)(json['vat']),
|
|
82
|
+
'narcoticPrescription': (0, DataProvider_1.DataProviderFromJSON)(json['narcoticPrescription']),
|
|
83
|
+
'storageType': (0, DataProvider_1.DataProviderFromJSON)(json['storageType']),
|
|
84
|
+
'marketStatus': (0, DataProvider_1.DataProviderFromJSON)(json['marketStatus']),
|
|
85
|
+
'dispensationPlace': (0, DataProvider_1.DataProviderFromJSON)(json['dispensationPlace']),
|
|
86
|
+
'isOtc': (0, DataProvider_1.DataProviderFromJSON)(json['isOtc']),
|
|
87
|
+
'isDrugInSport': (0, DataProvider_1.DataProviderFromJSON)(json['isDrugInSport']),
|
|
88
|
+
'tags': (json['tags'].map(DataProvider_1.DataProviderFromJSON)),
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
exports.ProductSourceFieldsFromJSONTyped = ProductSourceFieldsFromJSONTyped;
|
|
@@ -111,7 +111,7 @@ function ProductSourceFieldsToJSON(value) {
|
|
|
111
111
|
'dispensationPlace': (0, DataProvider_1.DataProviderToJSON)(value['dispensationPlace']),
|
|
112
112
|
'isOtc': (0, DataProvider_1.DataProviderToJSON)(value['isOtc']),
|
|
113
113
|
'isDrugInSport': (0, DataProvider_1.DataProviderToJSON)(value['isDrugInSport']),
|
|
114
|
-
'tags': (value['tags']
|
|
114
|
+
'tags': (value['tags'].map(DataProvider_1.DataProviderToJSON)),
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
exports.ProductSourceFieldsToJSON = ProductSourceFieldsToJSON;
|
|
@@ -39,10 +39,10 @@ function ProductSourceFieldsBarcodesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
-
'cip': (
|
|
43
|
-
'cip13': (
|
|
44
|
-
'eans': (
|
|
45
|
-
'principal': (
|
|
42
|
+
'cip': (0, DataProvider_1.DataProviderFromJSON)(json['cip']),
|
|
43
|
+
'cip13': (0, DataProvider_1.DataProviderFromJSON)(json['cip13']),
|
|
44
|
+
'eans': (0, DataProvider_1.DataProviderFromJSON)(json['eans']),
|
|
45
|
+
'principal': (0, DataProvider_1.DataProviderFromJSON)(json['principal']),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
exports.ProductSourceFieldsBarcodesFromJSONTyped = ProductSourceFieldsBarcodesFromJSONTyped;
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const ProductStatus: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
17
|
+
readonly Validated: "VALIDATED";
|
|
18
|
+
readonly WaitingForValidation: "WAITING_FOR_VALIDATION";
|
|
19
|
+
readonly Archived: "ARCHIVED";
|
|
20
|
+
readonly UnitPriceUpdated: "UNIT_PRICE_UPDATED";
|
|
21
21
|
};
|
|
22
22
|
export declare type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
|
|
23
23
|
export declare function instanceOfProductStatus(value: any): boolean;
|
|
24
24
|
export declare function ProductStatusFromJSON(json: any): ProductStatus;
|
|
25
25
|
export declare function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
26
26
|
export declare function ProductStatusToJSON(value?: ProductStatus | null): any;
|
|
27
|
+
export declare function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProductStatusToJSON = exports.ProductStatusFromJSONTyped = exports.ProductStatusFromJSON = exports.instanceOfProductStatus = exports.ProductStatus = void 0;
|
|
16
|
+
exports.ProductStatusToJSONTyped = exports.ProductStatusToJSON = exports.ProductStatusFromJSONTyped = exports.ProductStatusFromJSON = exports.instanceOfProductStatus = exports.ProductStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.ProductStatus = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
Validated: 'VALIDATED',
|
|
23
|
+
WaitingForValidation: 'WAITING_FOR_VALIDATION',
|
|
24
|
+
Archived: 'ARCHIVED',
|
|
25
|
+
UnitPriceUpdated: 'UNIT_PRICE_UPDATED'
|
|
26
26
|
};
|
|
27
27
|
function instanceOfProductStatus(value) {
|
|
28
28
|
for (var key in exports.ProductStatus) {
|
|
@@ -47,3 +47,7 @@ function ProductStatusToJSON(value) {
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
exports.ProductStatusToJSON = ProductStatusToJSON;
|
|
50
|
+
function ProductStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
exports.ProductStatusToJSONTyped = ProductStatusToJSONTyped;
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const ProductStorageType: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
17
|
+
readonly Free: "FREE";
|
|
18
|
+
readonly Fridge: "FRIDGE";
|
|
19
|
+
readonly Freezer: "FREEZER";
|
|
20
|
+
readonly Fresh: "FRESH";
|
|
21
21
|
};
|
|
22
22
|
export declare type ProductStorageType = typeof ProductStorageType[keyof typeof ProductStorageType];
|
|
23
23
|
export declare function instanceOfProductStorageType(value: any): boolean;
|
|
24
24
|
export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
|
|
25
25
|
export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
|
|
26
26
|
export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
|
|
27
|
+
export declare function ProductStorageTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStorageType;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
|
|
16
|
+
exports.ProductStorageTypeToJSONTyped = exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.ProductStorageType = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
Free: 'FREE',
|
|
23
|
+
Fridge: 'FRIDGE',
|
|
24
|
+
Freezer: 'FREEZER',
|
|
25
|
+
Fresh: 'FRESH'
|
|
26
26
|
};
|
|
27
27
|
function instanceOfProductStorageType(value) {
|
|
28
28
|
for (var key in exports.ProductStorageType) {
|
|
@@ -47,3 +47,7 @@ function ProductStorageTypeToJSON(value) {
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
|
|
50
|
+
function ProductStorageTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
exports.ProductStorageTypeToJSONTyped = ProductStorageTypeToJSONTyped;
|
|
@@ -30,8 +30,8 @@ function ProductTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'id': json['id'],
|
|
34
|
-
'name': json['name'],
|
|
33
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
34
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.ProductTypeFromJSONTyped = ProductTypeFromJSONTyped;
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -34,29 +34,28 @@ export interface RestError {
|
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
36
|
export declare const RestErrorCodeEnum: {
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly CODE022: "CODE022";
|
|
37
|
+
readonly Code000: "CODE000";
|
|
38
|
+
readonly Code001: "CODE001";
|
|
39
|
+
readonly Code002: "CODE002";
|
|
40
|
+
readonly Code003: "CODE003";
|
|
41
|
+
readonly Code004: "CODE004";
|
|
42
|
+
readonly Code005: "CODE005";
|
|
43
|
+
readonly Code006: "CODE006";
|
|
44
|
+
readonly Code007: "CODE007";
|
|
45
|
+
readonly Code008: "CODE008";
|
|
46
|
+
readonly Code009: "CODE009";
|
|
47
|
+
readonly Code010: "CODE010";
|
|
48
|
+
readonly Code011: "CODE011";
|
|
49
|
+
readonly Code012: "CODE012";
|
|
50
|
+
readonly Code013: "CODE013";
|
|
51
|
+
readonly Code014: "CODE014";
|
|
52
|
+
readonly Code015: "CODE015";
|
|
53
|
+
readonly Code016: "CODE016";
|
|
54
|
+
readonly Code017: "CODE017";
|
|
55
|
+
readonly Code018: "CODE018";
|
|
56
|
+
readonly Code019: "CODE019";
|
|
57
|
+
readonly Code020: "CODE020";
|
|
58
|
+
readonly Code021: "CODE021";
|
|
60
59
|
};
|
|
61
60
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
61
|
/**
|
|
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
85
84
|
readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
|
|
86
85
|
readonly MESSAGE020: "ETag do not match";
|
|
87
86
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
|
-
readonly MESSAGE022: "Disabled feature";
|
|
89
87
|
};
|
|
90
88
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
89
|
/**
|
|
@@ -18,29 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
|
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
exports.RestErrorCodeEnum = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CODE022: 'CODE022'
|
|
21
|
+
Code000: 'CODE000',
|
|
22
|
+
Code001: 'CODE001',
|
|
23
|
+
Code002: 'CODE002',
|
|
24
|
+
Code003: 'CODE003',
|
|
25
|
+
Code004: 'CODE004',
|
|
26
|
+
Code005: 'CODE005',
|
|
27
|
+
Code006: 'CODE006',
|
|
28
|
+
Code007: 'CODE007',
|
|
29
|
+
Code008: 'CODE008',
|
|
30
|
+
Code009: 'CODE009',
|
|
31
|
+
Code010: 'CODE010',
|
|
32
|
+
Code011: 'CODE011',
|
|
33
|
+
Code012: 'CODE012',
|
|
34
|
+
Code013: 'CODE013',
|
|
35
|
+
Code014: 'CODE014',
|
|
36
|
+
Code015: 'CODE015',
|
|
37
|
+
Code016: 'CODE016',
|
|
38
|
+
Code017: 'CODE017',
|
|
39
|
+
Code018: 'CODE018',
|
|
40
|
+
Code019: 'CODE019',
|
|
41
|
+
Code020: 'CODE020',
|
|
42
|
+
Code021: 'CODE021'
|
|
44
43
|
};
|
|
45
44
|
/**
|
|
46
45
|
* @export
|
|
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
|
|
|
67
66
|
MESSAGE018: 'Trial already used',
|
|
68
67
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
68
|
MESSAGE020: 'ETag do not match',
|
|
70
|
-
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
69
|
+
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
72
70
|
};
|
|
73
71
|
/**
|
|
74
72
|
* Check if a given object implements the RestError interface.
|
|
@@ -30,7 +30,7 @@ function StatisticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'waitingSaleOfferCount': json['waitingSaleOfferCount'],
|
|
33
|
+
'waitingSaleOfferCount': json['waitingSaleOfferCount'] == null ? undefined : json['waitingSaleOfferCount'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.StatisticsFromJSONTyped = StatisticsFromJSONTyped;
|