@lcdp/api-react-rest-client 2.9.0-develop.13139560325 → 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
|
@@ -378,19 +378,13 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
378
378
|
/**
|
|
379
379
|
* Get advices statistics
|
|
380
380
|
*/
|
|
381
|
-
SearchInventoryApi.prototype.getCurrentInventoryStatisticsRaw = function (
|
|
381
|
+
SearchInventoryApi.prototype.getCurrentInventoryStatisticsRaw = function (initOverrides) {
|
|
382
382
|
return __awaiter(this, void 0, void 0, function () {
|
|
383
383
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_4;
|
|
384
384
|
return __generator(this, function (_c) {
|
|
385
385
|
switch (_c.label) {
|
|
386
386
|
case 0:
|
|
387
387
|
queryParameters = {};
|
|
388
|
-
if (requestParameters['overstockBlEq'] != null) {
|
|
389
|
-
queryParameters['overstockBl[eq]'] = requestParameters['overstockBlEq'];
|
|
390
|
-
}
|
|
391
|
-
if (requestParameters['overstockForecastGte'] != null) {
|
|
392
|
-
queryParameters['overstockForecast[gte]'] = requestParameters['overstockForecastGte'];
|
|
393
|
-
}
|
|
394
388
|
headerParameters = {};
|
|
395
389
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
396
390
|
_a = headerParameters;
|
|
@@ -443,13 +437,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
443
437
|
/**
|
|
444
438
|
* Get advices statistics
|
|
445
439
|
*/
|
|
446
|
-
SearchInventoryApi.prototype.getCurrentInventoryStatistics = function (
|
|
447
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
440
|
+
SearchInventoryApi.prototype.getCurrentInventoryStatistics = function (initOverrides) {
|
|
448
441
|
return __awaiter(this, void 0, void 0, function () {
|
|
449
442
|
var response;
|
|
450
443
|
return __generator(this, function (_a) {
|
|
451
444
|
switch (_a.label) {
|
|
452
|
-
case 0: return [4 /*yield*/, this.getCurrentInventoryStatisticsRaw(
|
|
445
|
+
case 0: return [4 /*yield*/, this.getCurrentInventoryStatisticsRaw(initOverrides)];
|
|
453
446
|
case 1:
|
|
454
447
|
response = _a.sent();
|
|
455
448
|
return [4 /*yield*/, response.value()];
|
|
@@ -459,24 +452,16 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
459
452
|
});
|
|
460
453
|
};
|
|
461
454
|
/**
|
|
462
|
-
*
|
|
455
|
+
* Allow to retrieve informations about synchronization between the inventory and its sources. Theses informations (such as last successful synchronization) can be used to monitor the freshness of data computed. Note : \'synchroneity\' is not mispelled !
|
|
456
|
+
* Get synchronization state of inventory
|
|
463
457
|
*/
|
|
464
|
-
SearchInventoryApi.prototype.
|
|
458
|
+
SearchInventoryApi.prototype.getCurrentInventorySynchroneityRaw = function (initOverrides) {
|
|
465
459
|
return __awaiter(this, void 0, void 0, function () {
|
|
466
460
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_5;
|
|
467
461
|
return __generator(this, function (_c) {
|
|
468
462
|
switch (_c.label) {
|
|
469
463
|
case 0:
|
|
470
464
|
queryParameters = {};
|
|
471
|
-
if (requestParameters['idEq'] != null) {
|
|
472
|
-
queryParameters['id[eq]'] = requestParameters['idEq'];
|
|
473
|
-
}
|
|
474
|
-
if (requestParameters['p'] != null) {
|
|
475
|
-
queryParameters['p'] = requestParameters['p'];
|
|
476
|
-
}
|
|
477
|
-
if (requestParameters['pp'] != null) {
|
|
478
|
-
queryParameters['pp'] = requestParameters['pp'];
|
|
479
|
-
}
|
|
480
465
|
headerParameters = {};
|
|
481
466
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
482
467
|
_a = headerParameters;
|
|
@@ -498,7 +483,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
498
483
|
case 4:
|
|
499
484
|
_c.trys.push([4, 6, , 7]);
|
|
500
485
|
return [4 /*yield*/, this.request({
|
|
501
|
-
path: "/inventories",
|
|
486
|
+
path: "/inventories/me/synchroneity",
|
|
502
487
|
method: 'GET',
|
|
503
488
|
headers: headerParameters,
|
|
504
489
|
query: queryParameters,
|
|
@@ -507,7 +492,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
507
492
|
response = _c.sent();
|
|
508
493
|
contentType = response.headers.get("content-type");
|
|
509
494
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
510
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
495
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SynchroneityFromJSON)(jsonValue); })];
|
|
511
496
|
}
|
|
512
497
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
513
498
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -527,15 +512,15 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
527
512
|
});
|
|
528
513
|
};
|
|
529
514
|
/**
|
|
530
|
-
*
|
|
515
|
+
* Allow to retrieve informations about synchronization between the inventory and its sources. Theses informations (such as last successful synchronization) can be used to monitor the freshness of data computed. Note : \'synchroneity\' is not mispelled !
|
|
516
|
+
* Get synchronization state of inventory
|
|
531
517
|
*/
|
|
532
|
-
SearchInventoryApi.prototype.
|
|
533
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
518
|
+
SearchInventoryApi.prototype.getCurrentInventorySynchroneity = function (initOverrides) {
|
|
534
519
|
return __awaiter(this, void 0, void 0, function () {
|
|
535
520
|
var response;
|
|
536
521
|
return __generator(this, function (_a) {
|
|
537
522
|
switch (_a.label) {
|
|
538
|
-
case 0: return [4 /*yield*/, this.
|
|
523
|
+
case 0: return [4 /*yield*/, this.getCurrentInventorySynchroneityRaw(initOverrides)];
|
|
539
524
|
case 1:
|
|
540
525
|
response = _a.sent();
|
|
541
526
|
return [4 /*yield*/, response.value()];
|
|
@@ -545,18 +530,36 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
545
530
|
});
|
|
546
531
|
};
|
|
547
532
|
/**
|
|
548
|
-
*
|
|
533
|
+
* Search products with params for an inventory
|
|
549
534
|
*/
|
|
550
|
-
SearchInventoryApi.prototype.
|
|
535
|
+
SearchInventoryApi.prototype.getInventoryActiveProductsRaw = function (requestParameters, initOverrides) {
|
|
551
536
|
return __awaiter(this, void 0, void 0, function () {
|
|
552
537
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_6;
|
|
553
538
|
return __generator(this, function (_c) {
|
|
554
539
|
switch (_c.label) {
|
|
555
540
|
case 0:
|
|
556
541
|
if (requestParameters['inventoryId'] == null) {
|
|
557
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
542
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventoryActiveProducts().');
|
|
558
543
|
}
|
|
559
544
|
queryParameters = {};
|
|
545
|
+
if (requestParameters['q'] != null) {
|
|
546
|
+
queryParameters['q'] = requestParameters['q'];
|
|
547
|
+
}
|
|
548
|
+
if (requestParameters['labEq'] != null) {
|
|
549
|
+
queryParameters['lab[eq]'] = requestParameters['labEq'];
|
|
550
|
+
}
|
|
551
|
+
if (requestParameters['ptEq'] != null) {
|
|
552
|
+
queryParameters['pt[eq]'] = requestParameters['ptEq'];
|
|
553
|
+
}
|
|
554
|
+
if (requestParameters['orderBy'] != null) {
|
|
555
|
+
queryParameters['orderBy'] = requestParameters['orderBy'];
|
|
556
|
+
}
|
|
557
|
+
if (requestParameters['p'] != null) {
|
|
558
|
+
queryParameters['p'] = requestParameters['p'];
|
|
559
|
+
}
|
|
560
|
+
if (requestParameters['pp'] != null) {
|
|
561
|
+
queryParameters['pp'] = requestParameters['pp'];
|
|
562
|
+
}
|
|
560
563
|
headerParameters = {};
|
|
561
564
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
562
565
|
_a = headerParameters;
|
|
@@ -578,7 +581,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
578
581
|
case 4:
|
|
579
582
|
_c.trys.push([4, 6, , 7]);
|
|
580
583
|
return [4 /*yield*/, this.request({
|
|
581
|
-
path: "/inventories/{inventoryId}".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
584
|
+
path: "/inventories/{inventoryId}/active-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
582
585
|
method: 'GET',
|
|
583
586
|
headers: headerParameters,
|
|
584
587
|
query: queryParameters,
|
|
@@ -587,7 +590,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
587
590
|
response = _c.sent();
|
|
588
591
|
contentType = response.headers.get("content-type");
|
|
589
592
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
590
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
593
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedActiveProductsFromJSON)(jsonValue); })];
|
|
591
594
|
}
|
|
592
595
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
593
596
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -607,14 +610,14 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
607
610
|
});
|
|
608
611
|
};
|
|
609
612
|
/**
|
|
610
|
-
*
|
|
613
|
+
* Search products with params for an inventory
|
|
611
614
|
*/
|
|
612
|
-
SearchInventoryApi.prototype.
|
|
615
|
+
SearchInventoryApi.prototype.getInventoryActiveProducts = function (requestParameters, initOverrides) {
|
|
613
616
|
return __awaiter(this, void 0, void 0, function () {
|
|
614
617
|
var response;
|
|
615
618
|
return __generator(this, function (_a) {
|
|
616
619
|
switch (_a.label) {
|
|
617
|
-
case 0: return [4 /*yield*/, this.
|
|
620
|
+
case 0: return [4 /*yield*/, this.getInventoryActiveProductsRaw(requestParameters, initOverrides)];
|
|
618
621
|
case 1:
|
|
619
622
|
response = _a.sent();
|
|
620
623
|
return [4 /*yield*/, response.value()];
|
|
@@ -624,16 +627,16 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
624
627
|
});
|
|
625
628
|
};
|
|
626
629
|
/**
|
|
627
|
-
*
|
|
630
|
+
* Get product\'s where an action is required
|
|
628
631
|
*/
|
|
629
|
-
SearchInventoryApi.prototype.
|
|
632
|
+
SearchInventoryApi.prototype.getInventoryMisalignedProductsRaw = function (requestParameters, initOverrides) {
|
|
630
633
|
return __awaiter(this, void 0, void 0, function () {
|
|
631
634
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_7;
|
|
632
635
|
return __generator(this, function (_c) {
|
|
633
636
|
switch (_c.label) {
|
|
634
637
|
case 0:
|
|
635
638
|
if (requestParameters['inventoryId'] == null) {
|
|
636
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
639
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventoryMisalignedProducts().');
|
|
637
640
|
}
|
|
638
641
|
queryParameters = {};
|
|
639
642
|
if (requestParameters['q'] != null) {
|
|
@@ -675,7 +678,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
675
678
|
case 4:
|
|
676
679
|
_c.trys.push([4, 6, , 7]);
|
|
677
680
|
return [4 /*yield*/, this.request({
|
|
678
|
-
path: "/inventories/{inventoryId}/
|
|
681
|
+
path: "/inventories/{inventoryId}/misaligned-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
679
682
|
method: 'GET',
|
|
680
683
|
headers: headerParameters,
|
|
681
684
|
query: queryParameters,
|
|
@@ -684,7 +687,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
684
687
|
response = _c.sent();
|
|
685
688
|
contentType = response.headers.get("content-type");
|
|
686
689
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
687
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
690
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedMisalignedProductsFromJSON)(jsonValue); })];
|
|
688
691
|
}
|
|
689
692
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
690
693
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -704,14 +707,14 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
704
707
|
});
|
|
705
708
|
};
|
|
706
709
|
/**
|
|
707
|
-
*
|
|
710
|
+
* Get product\'s where an action is required
|
|
708
711
|
*/
|
|
709
|
-
SearchInventoryApi.prototype.
|
|
712
|
+
SearchInventoryApi.prototype.getInventoryMisalignedProducts = function (requestParameters, initOverrides) {
|
|
710
713
|
return __awaiter(this, void 0, void 0, function () {
|
|
711
714
|
var response;
|
|
712
715
|
return __generator(this, function (_a) {
|
|
713
716
|
switch (_a.label) {
|
|
714
|
-
case 0: return [4 /*yield*/, this.
|
|
717
|
+
case 0: return [4 /*yield*/, this.getInventoryMisalignedProductsRaw(requestParameters, initOverrides)];
|
|
715
718
|
case 1:
|
|
716
719
|
response = _a.sent();
|
|
717
720
|
return [4 /*yield*/, response.value()];
|
|
@@ -721,16 +724,16 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
721
724
|
});
|
|
722
725
|
};
|
|
723
726
|
/**
|
|
724
|
-
* Get
|
|
727
|
+
* Get products that the pharmacian should destock
|
|
725
728
|
*/
|
|
726
|
-
SearchInventoryApi.prototype.
|
|
729
|
+
SearchInventoryApi.prototype.getInventoryOverstockProductsRaw = function (requestParameters, initOverrides) {
|
|
727
730
|
return __awaiter(this, void 0, void 0, function () {
|
|
728
731
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_8;
|
|
729
732
|
return __generator(this, function (_c) {
|
|
730
733
|
switch (_c.label) {
|
|
731
734
|
case 0:
|
|
732
735
|
if (requestParameters['inventoryId'] == null) {
|
|
733
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
736
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventoryOverstockProducts().');
|
|
734
737
|
}
|
|
735
738
|
queryParameters = {};
|
|
736
739
|
if (requestParameters['q'] != null) {
|
|
@@ -742,6 +745,21 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
742
745
|
if (requestParameters['ptEq'] != null) {
|
|
743
746
|
queryParameters['pt[eq]'] = requestParameters['ptEq'];
|
|
744
747
|
}
|
|
748
|
+
if (requestParameters['blEq'] != null) {
|
|
749
|
+
queryParameters['bl[eq]'] = requestParameters['blEq'];
|
|
750
|
+
}
|
|
751
|
+
if (requestParameters['forecastGte'] != null) {
|
|
752
|
+
queryParameters['forecast[gte]'] = requestParameters['forecastGte'];
|
|
753
|
+
}
|
|
754
|
+
if (requestParameters['forecastLte'] != null) {
|
|
755
|
+
queryParameters['forecast[lte]'] = requestParameters['forecastLte'];
|
|
756
|
+
}
|
|
757
|
+
if (requestParameters['forecastPr'] != null) {
|
|
758
|
+
queryParameters['forecast[pr]'] = requestParameters['forecastPr'];
|
|
759
|
+
}
|
|
760
|
+
if (requestParameters['isUnsoldEq'] != null) {
|
|
761
|
+
queryParameters['isUnsold[eq]'] = requestParameters['isUnsoldEq'];
|
|
762
|
+
}
|
|
745
763
|
if (requestParameters['orderBy'] != null) {
|
|
746
764
|
queryParameters['orderBy'] = requestParameters['orderBy'];
|
|
747
765
|
}
|
|
@@ -772,7 +790,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
772
790
|
case 4:
|
|
773
791
|
_c.trys.push([4, 6, , 7]);
|
|
774
792
|
return [4 /*yield*/, this.request({
|
|
775
|
-
path: "/inventories/{inventoryId}/
|
|
793
|
+
path: "/inventories/{inventoryId}/overstock-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
776
794
|
method: 'GET',
|
|
777
795
|
headers: headerParameters,
|
|
778
796
|
query: queryParameters,
|
|
@@ -781,7 +799,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
781
799
|
response = _c.sent();
|
|
782
800
|
contentType = response.headers.get("content-type");
|
|
783
801
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
784
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
802
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedOverstockProductsFromJSON)(jsonValue); })];
|
|
785
803
|
}
|
|
786
804
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
787
805
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -801,14 +819,14 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
801
819
|
});
|
|
802
820
|
};
|
|
803
821
|
/**
|
|
804
|
-
* Get
|
|
822
|
+
* Get products that the pharmacian should destock
|
|
805
823
|
*/
|
|
806
|
-
SearchInventoryApi.prototype.
|
|
824
|
+
SearchInventoryApi.prototype.getInventoryOverstockProducts = function (requestParameters, initOverrides) {
|
|
807
825
|
return __awaiter(this, void 0, void 0, function () {
|
|
808
826
|
var response;
|
|
809
827
|
return __generator(this, function (_a) {
|
|
810
828
|
switch (_a.label) {
|
|
811
|
-
case 0: return [4 /*yield*/, this.
|
|
829
|
+
case 0: return [4 /*yield*/, this.getInventoryOverstockProductsRaw(requestParameters, initOverrides)];
|
|
812
830
|
case 1:
|
|
813
831
|
response = _a.sent();
|
|
814
832
|
return [4 /*yield*/, response.value()];
|
|
@@ -818,51 +836,18 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
818
836
|
});
|
|
819
837
|
};
|
|
820
838
|
/**
|
|
821
|
-
* Get
|
|
839
|
+
* Get advices statistics
|
|
822
840
|
*/
|
|
823
|
-
SearchInventoryApi.prototype.
|
|
841
|
+
SearchInventoryApi.prototype.getInventoryStatisticsRaw = function (requestParameters, initOverrides) {
|
|
824
842
|
return __awaiter(this, void 0, void 0, function () {
|
|
825
843
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_9;
|
|
826
844
|
return __generator(this, function (_c) {
|
|
827
845
|
switch (_c.label) {
|
|
828
846
|
case 0:
|
|
829
847
|
if (requestParameters['inventoryId'] == null) {
|
|
830
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
848
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventoryStatistics().');
|
|
831
849
|
}
|
|
832
850
|
queryParameters = {};
|
|
833
|
-
if (requestParameters['q'] != null) {
|
|
834
|
-
queryParameters['q'] = requestParameters['q'];
|
|
835
|
-
}
|
|
836
|
-
if (requestParameters['labEq'] != null) {
|
|
837
|
-
queryParameters['lab[eq]'] = requestParameters['labEq'];
|
|
838
|
-
}
|
|
839
|
-
if (requestParameters['ptEq'] != null) {
|
|
840
|
-
queryParameters['pt[eq]'] = requestParameters['ptEq'];
|
|
841
|
-
}
|
|
842
|
-
if (requestParameters['blEq'] != null) {
|
|
843
|
-
queryParameters['bl[eq]'] = requestParameters['blEq'];
|
|
844
|
-
}
|
|
845
|
-
if (requestParameters['forecastGte'] != null) {
|
|
846
|
-
queryParameters['forecast[gte]'] = requestParameters['forecastGte'];
|
|
847
|
-
}
|
|
848
|
-
if (requestParameters['forecastLte'] != null) {
|
|
849
|
-
queryParameters['forecast[lte]'] = requestParameters['forecastLte'];
|
|
850
|
-
}
|
|
851
|
-
if (requestParameters['forecastPr'] != null) {
|
|
852
|
-
queryParameters['forecast[pr]'] = requestParameters['forecastPr'];
|
|
853
|
-
}
|
|
854
|
-
if (requestParameters['isUnsoldEq'] != null) {
|
|
855
|
-
queryParameters['isUnsold[eq]'] = requestParameters['isUnsoldEq'];
|
|
856
|
-
}
|
|
857
|
-
if (requestParameters['orderBy'] != null) {
|
|
858
|
-
queryParameters['orderBy'] = requestParameters['orderBy'];
|
|
859
|
-
}
|
|
860
|
-
if (requestParameters['p'] != null) {
|
|
861
|
-
queryParameters['p'] = requestParameters['p'];
|
|
862
|
-
}
|
|
863
|
-
if (requestParameters['pp'] != null) {
|
|
864
|
-
queryParameters['pp'] = requestParameters['pp'];
|
|
865
|
-
}
|
|
866
851
|
headerParameters = {};
|
|
867
852
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
868
853
|
_a = headerParameters;
|
|
@@ -884,7 +869,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
884
869
|
case 4:
|
|
885
870
|
_c.trys.push([4, 6, , 7]);
|
|
886
871
|
return [4 /*yield*/, this.request({
|
|
887
|
-
path: "/inventories/{inventoryId}/
|
|
872
|
+
path: "/inventories/{inventoryId}/statistics".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
888
873
|
method: 'GET',
|
|
889
874
|
headers: headerParameters,
|
|
890
875
|
query: queryParameters,
|
|
@@ -893,7 +878,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
893
878
|
response = _c.sent();
|
|
894
879
|
contentType = response.headers.get("content-type");
|
|
895
880
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
896
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
881
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.StatisticsFromJSON)(jsonValue); })];
|
|
897
882
|
}
|
|
898
883
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
899
884
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -913,14 +898,14 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
913
898
|
});
|
|
914
899
|
};
|
|
915
900
|
/**
|
|
916
|
-
* Get
|
|
901
|
+
* Get advices statistics
|
|
917
902
|
*/
|
|
918
|
-
SearchInventoryApi.prototype.
|
|
903
|
+
SearchInventoryApi.prototype.getInventoryStatistics = function (requestParameters, initOverrides) {
|
|
919
904
|
return __awaiter(this, void 0, void 0, function () {
|
|
920
905
|
var response;
|
|
921
906
|
return __generator(this, function (_a) {
|
|
922
907
|
switch (_a.label) {
|
|
923
|
-
case 0: return [4 /*yield*/, this.
|
|
908
|
+
case 0: return [4 /*yield*/, this.getInventoryStatisticsRaw(requestParameters, initOverrides)];
|
|
924
909
|
case 1:
|
|
925
910
|
response = _a.sent();
|
|
926
911
|
return [4 /*yield*/, response.value()];
|
|
@@ -930,24 +915,19 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
930
915
|
});
|
|
931
916
|
};
|
|
932
917
|
/**
|
|
933
|
-
*
|
|
918
|
+
* Allow to retrieve informations about synchronization between the inventory and its sources. Theses informations (such as last successful synchronization) can be used to monitor the freshness of data computed. Note : \'synchroneity\' is not mispelled !
|
|
919
|
+
* Get synchronization state of inventory
|
|
934
920
|
*/
|
|
935
|
-
SearchInventoryApi.prototype.
|
|
921
|
+
SearchInventoryApi.prototype.getInventorySynchroneityRaw = function (requestParameters, initOverrides) {
|
|
936
922
|
return __awaiter(this, void 0, void 0, function () {
|
|
937
923
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_10;
|
|
938
924
|
return __generator(this, function (_c) {
|
|
939
925
|
switch (_c.label) {
|
|
940
926
|
case 0:
|
|
941
927
|
if (requestParameters['inventoryId'] == null) {
|
|
942
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
928
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventorySynchroneity().');
|
|
943
929
|
}
|
|
944
930
|
queryParameters = {};
|
|
945
|
-
if (requestParameters['overstockBlEq'] != null) {
|
|
946
|
-
queryParameters['overstockBl[eq]'] = requestParameters['overstockBlEq'];
|
|
947
|
-
}
|
|
948
|
-
if (requestParameters['overstockForecastGte'] != null) {
|
|
949
|
-
queryParameters['overstockForecast[gte]'] = requestParameters['overstockForecastGte'];
|
|
950
|
-
}
|
|
951
931
|
headerParameters = {};
|
|
952
932
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
953
933
|
_a = headerParameters;
|
|
@@ -969,7 +949,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
969
949
|
case 4:
|
|
970
950
|
_c.trys.push([4, 6, , 7]);
|
|
971
951
|
return [4 /*yield*/, this.request({
|
|
972
|
-
path: "/inventories/{inventoryId}/
|
|
952
|
+
path: "/inventories/{inventoryId}/synchroneity".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
973
953
|
method: 'GET',
|
|
974
954
|
headers: headerParameters,
|
|
975
955
|
query: queryParameters,
|
|
@@ -978,7 +958,7 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
978
958
|
response = _c.sent();
|
|
979
959
|
contentType = response.headers.get("content-type");
|
|
980
960
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
981
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
961
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SynchroneityFromJSON)(jsonValue); })];
|
|
982
962
|
}
|
|
983
963
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
984
964
|
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
@@ -998,14 +978,15 @@ var SearchInventoryApi = /** @class */ (function (_super) {
|
|
|
998
978
|
});
|
|
999
979
|
};
|
|
1000
980
|
/**
|
|
1001
|
-
*
|
|
981
|
+
* Allow to retrieve informations about synchronization between the inventory and its sources. Theses informations (such as last successful synchronization) can be used to monitor the freshness of data computed. Note : \'synchroneity\' is not mispelled !
|
|
982
|
+
* Get synchronization state of inventory
|
|
1002
983
|
*/
|
|
1003
|
-
SearchInventoryApi.prototype.
|
|
984
|
+
SearchInventoryApi.prototype.getInventorySynchroneity = function (requestParameters, initOverrides) {
|
|
1004
985
|
return __awaiter(this, void 0, void 0, function () {
|
|
1005
986
|
var response;
|
|
1006
987
|
return __generator(this, function (_a) {
|
|
1007
988
|
switch (_a.label) {
|
|
1008
|
-
case 0: return [4 /*yield*/, this.
|
|
989
|
+
case 0: return [4 /*yield*/, this.getInventorySynchroneityRaw(requestParameters, initOverrides)];
|
|
1009
990
|
case 1:
|
|
1010
991
|
response = _a.sent();
|
|
1011
992
|
return [4 /*yield*/, response.value()];
|
|
@@ -1021,83 +1002,83 @@ exports.SearchInventoryApi = SearchInventoryApi;
|
|
|
1021
1002
|
* @export
|
|
1022
1003
|
*/
|
|
1023
1004
|
exports.GetCurrentInventoryActiveProductsOrderByEnum = {
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1005
|
+
ProductNamEasc: 'PRODUCT_NAME:asc',
|
|
1006
|
+
ProductNamEdesc: 'PRODUCT_NAME:desc',
|
|
1007
|
+
ProductBarcodesPrincipaLasc: 'PRODUCT_BARCODES_PRINCIPAL:asc',
|
|
1008
|
+
ProductBarcodesPrincipaLdesc: 'PRODUCT_BARCODES_PRINCIPAL:desc',
|
|
1009
|
+
ActiveStocKasc: 'ACTIVE_STOCK:asc',
|
|
1010
|
+
ActiveStocKdesc: 'ACTIVE_STOCK:desc',
|
|
1011
|
+
TotalActiveSaleOfferSasc: 'TOTAL_ACTIVE_SALE_OFFERS:asc',
|
|
1012
|
+
TotalActiveSaleOfferSdesc: 'TOTAL_ACTIVE_SALE_OFFERS:desc',
|
|
1013
|
+
SyncrhonizeDasc: 'SYNCRHONIZED:asc',
|
|
1014
|
+
SyncrhonizeDdesc: 'SYNCRHONIZED:desc'
|
|
1034
1015
|
};
|
|
1035
1016
|
/**
|
|
1036
1017
|
* @export
|
|
1037
1018
|
*/
|
|
1038
1019
|
exports.GetCurrentInventoryMisalignedProductsOrderByEnum = {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1020
|
+
ProductNameasc: 'PRODUCT_NAME:ASC',
|
|
1021
|
+
ProductNamedesc: 'PRODUCT_NAME:DESC',
|
|
1022
|
+
CurrentStockasc: 'CURRENT_STOCK:ASC',
|
|
1023
|
+
CurrentStockdesc: 'CURRENT_STOCK:DESC',
|
|
1024
|
+
ActiveStockasc: 'ACTIVE_STOCK:ASC',
|
|
1025
|
+
ActiveStockdesc: 'ACTIVE_STOCK:DESC',
|
|
1026
|
+
TotalActiveSaleOffersasc: 'TOTAL_ACTIVE_SALE_OFFERS:ASC',
|
|
1027
|
+
TotalActiveSaleOffersdesc: 'TOTAL_ACTIVE_SALE_OFFERS:DESC'
|
|
1047
1028
|
};
|
|
1048
1029
|
/**
|
|
1049
1030
|
* @export
|
|
1050
1031
|
*/
|
|
1051
1032
|
exports.GetCurrentInventoryOverstockProductsOrderByEnum = {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1033
|
+
ProductNameasc: 'PRODUCT_NAME:ASC',
|
|
1034
|
+
ProductNamedesc: 'PRODUCT_NAME:DESC',
|
|
1035
|
+
CurrentStockasc: 'CURRENT_STOCK:ASC',
|
|
1036
|
+
CurrentStockdesc: 'CURRENT_STOCK:DESC',
|
|
1037
|
+
CurrentOverstockasc: 'CURRENT_OVERSTOCK:ASC',
|
|
1038
|
+
CurrentOverstockdesc: 'CURRENT_OVERSTOCK:DESC',
|
|
1039
|
+
Opportunitydesc: 'OPPORTUNITY:DESC',
|
|
1040
|
+
Opportunityasc: 'OPPORTUNITY:ASC',
|
|
1041
|
+
Forecastdesc: 'FORECAST:DESC',
|
|
1042
|
+
Forecastasc: 'FORECAST:ASC'
|
|
1062
1043
|
};
|
|
1063
1044
|
/**
|
|
1064
1045
|
* @export
|
|
1065
1046
|
*/
|
|
1066
1047
|
exports.GetInventoryActiveProductsOrderByEnum = {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1048
|
+
ProductNamEasc: 'PRODUCT_NAME:asc',
|
|
1049
|
+
ProductNamEdesc: 'PRODUCT_NAME:desc',
|
|
1050
|
+
ActiveStocKasc: 'ACTIVE_STOCK:asc',
|
|
1051
|
+
ActiveStocKdesc: 'ACTIVE_STOCK:desc',
|
|
1052
|
+
TotalActiveSaleOfferSasc: 'TOTAL_ACTIVE_SALE_OFFERS:asc',
|
|
1053
|
+
TotalActiveSaleOfferSdesc: 'TOTAL_ACTIVE_SALE_OFFERS:desc',
|
|
1054
|
+
SyncrhonizeDasc: 'SYNCRHONIZED:asc',
|
|
1055
|
+
SyncrhonizeDdesc: 'SYNCRHONIZED:desc'
|
|
1075
1056
|
};
|
|
1076
1057
|
/**
|
|
1077
1058
|
* @export
|
|
1078
1059
|
*/
|
|
1079
1060
|
exports.GetInventoryMisalignedProductsOrderByEnum = {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1061
|
+
ProductNameasc: 'PRODUCT_NAME:ASC',
|
|
1062
|
+
ProductNamedesc: 'PRODUCT_NAME:DESC',
|
|
1063
|
+
CurrentStockasc: 'CURRENT_STOCK:ASC',
|
|
1064
|
+
CurrentStockdesc: 'CURRENT_STOCK:DESC',
|
|
1065
|
+
ActiveStockasc: 'ACTIVE_STOCK:ASC',
|
|
1066
|
+
ActiveStockdesc: 'ACTIVE_STOCK:DESC',
|
|
1067
|
+
TotalActiveSaleOffersasc: 'TOTAL_ACTIVE_SALE_OFFERS:ASC',
|
|
1068
|
+
TotalActiveSaleOffersdesc: 'TOTAL_ACTIVE_SALE_OFFERS:DESC'
|
|
1088
1069
|
};
|
|
1089
1070
|
/**
|
|
1090
1071
|
* @export
|
|
1091
1072
|
*/
|
|
1092
1073
|
exports.GetInventoryOverstockProductsOrderByEnum = {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1074
|
+
ProductNameasc: 'PRODUCT_NAME:ASC',
|
|
1075
|
+
ProductNamedesc: 'PRODUCT_NAME:DESC',
|
|
1076
|
+
CurrentStockasc: 'CURRENT_STOCK:ASC',
|
|
1077
|
+
CurrentStockdesc: 'CURRENT_STOCK:DESC',
|
|
1078
|
+
CurrentOverstockasc: 'CURRENT_OVERSTOCK:ASC',
|
|
1079
|
+
CurrentOverstockdesc: 'CURRENT_OVERSTOCK:DESC',
|
|
1080
|
+
Opportunitydesc: 'OPPORTUNITY:DESC',
|
|
1081
|
+
Opportunityasc: 'OPPORTUNITY:ASC',
|
|
1082
|
+
Forecastdesc: 'FORECAST:DESC',
|
|
1083
|
+
Forecastasc: 'FORECAST:ASC'
|
|
1103
1084
|
};
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SynchronizationMode } from './SynchronizationMode';
|
|
13
12
|
import type { ProductLink } from './ProductLink';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -36,17 +35,11 @@ export interface ActiveProduct {
|
|
|
36
35
|
*/
|
|
37
36
|
activeStock?: number;
|
|
38
37
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {
|
|
41
|
-
* @memberof ActiveProduct
|
|
42
|
-
*/
|
|
43
|
-
synchronizationMode?: SynchronizationMode;
|
|
44
|
-
/**
|
|
45
|
-
* Date of last update of the product
|
|
46
|
-
* @type {Date}
|
|
38
|
+
* True if sale offers for this product are synchronized, false if not
|
|
39
|
+
* @type {boolean}
|
|
47
40
|
* @memberof ActiveProduct
|
|
48
41
|
*/
|
|
49
|
-
|
|
42
|
+
_synchronized?: boolean;
|
|
50
43
|
}
|
|
51
44
|
/**
|
|
52
45
|
* Check if a given object implements the ActiveProduct interface.
|