@lcdp/api-react-rest-client 2.9.0 → 2.9.1-develop.13139572022
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/AuthApi.d.ts +12 -10
- package/auth/src/apis/AuthApi.js +63 -70
- package/auth/src/apis/ManageApiKeyApi.d.ts +12 -12
- package/auth/src/apis/ManageApiKeyApi.js +84 -85
- package/auth/src/apis/SearchApiKeyApi.d.ts +20 -20
- package/auth/src/apis/SearchApiKeyApi.js +86 -91
- package/auth/src/apis/index.js +2 -0
- package/auth/src/index.d.ts +2 -2
- package/auth/src/index.js +4 -2
- package/auth/src/models/AnonymousUser.d.ts +11 -2
- package/auth/src/models/AnonymousUser.js +27 -21
- package/auth/src/models/AnyAuthenticationCredential.d.ts +10 -9
- package/auth/src/models/AnyAuthenticationCredential.js +13 -27
- package/auth/src/models/AnyUser.d.ts +3 -2
- package/auth/src/models/AnyUser.js +5 -19
- package/auth/src/models/ApiKey.d.ts +14 -4
- package/auth/src/models/ApiKey.js +27 -22
- package/auth/src/models/ApiKeyCreationParameters.d.ts +13 -3
- package/auth/src/models/ApiKeyCreationParameters.js +21 -11
- package/auth/src/models/ApiKeyCredential.d.ts +11 -2
- package/auth/src/models/ApiKeyCredential.js +23 -21
- package/auth/src/models/AuthenticationCredential.d.ts +4 -0
- package/auth/src/models/AuthenticationCredential.js +14 -8
- package/auth/src/models/DisposableCredential.d.ts +11 -2
- package/auth/src/models/DisposableCredential.js +23 -21
- package/auth/src/models/DisposableTokenCreationParameters.d.ts +4 -0
- package/auth/src/models/DisposableTokenCreationParameters.js +13 -10
- package/auth/src/models/HttpLink.d.ts +4 -0
- package/auth/src/models/HttpLink.js +14 -8
- package/auth/src/models/IdentifiedUser.d.ts +11 -2
- package/auth/src/models/IdentifiedUser.js +23 -21
- package/auth/src/models/LoginCredential.d.ts +11 -2
- package/auth/src/models/LoginCredential.js +27 -21
- package/auth/src/models/PaginatedApiKeys.d.ts +13 -3
- package/auth/src/models/PaginatedApiKeys.js +24 -21
- package/auth/src/models/PaginatedObject.d.ts +5 -1
- package/auth/src/models/PaginatedObject.js +15 -9
- package/auth/src/models/PagingMetadata.d.ts +4 -0
- package/auth/src/models/PagingMetadata.js +23 -11
- package/auth/src/models/RefreshCredential.d.ts +11 -2
- package/auth/src/models/RefreshCredential.js +23 -21
- package/auth/src/models/RestError.d.ts +66 -58
- package/auth/src/models/RestError.js +73 -67
- package/auth/src/models/RevealedApiKey.d.ts +54 -2
- package/auth/src/models/RevealedApiKey.js +34 -22
- package/auth/src/models/Session.d.ts +4 -0
- package/auth/src/models/Session.js +20 -10
- package/auth/src/models/User.d.ts +4 -0
- package/auth/src/models/User.js +14 -8
- package/auth/src/models/UserLink.d.ts +12 -3
- package/auth/src/models/UserLink.js +25 -22
- package/auth/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/auth/src/models/UserLinkAllOfCompany.js +13 -10
- package/auth/src/models/index.d.ts +0 -9
- package/auth/src/models/index.js +2 -9
- package/auth/src/runtime.d.ts +72 -31
- package/auth/src/runtime.js +291 -164
- package/banking-operation/src/apis/ManageLevyApi.d.ts +8 -8
- package/banking-operation/src/apis/ManageLevyApi.js +56 -59
- package/banking-operation/src/apis/ManageOrderPaymentApi.d.ts +8 -8
- package/banking-operation/src/apis/ManageOrderPaymentApi.js +62 -66
- package/banking-operation/src/apis/SearchLevyApi.d.ts +29 -27
- package/banking-operation/src/apis/SearchLevyApi.js +96 -99
- package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +15 -13
- package/banking-operation/src/apis/SearchOrderPaymentApi.js +44 -45
- package/banking-operation/src/apis/index.js +2 -0
- package/banking-operation/src/index.d.ts +2 -2
- package/banking-operation/src/index.js +4 -2
- package/banking-operation/src/models/HttpLink.d.ts +4 -0
- package/banking-operation/src/models/HttpLink.js +14 -8
- package/banking-operation/src/models/Levy.d.ts +7 -3
- package/banking-operation/src/models/Levy.js +44 -27
- package/banking-operation/src/models/LevyCreationParameters.d.ts +5 -1
- package/banking-operation/src/models/LevyCreationParameters.js +29 -16
- package/banking-operation/src/models/LevyPayment.d.ts +5 -1
- package/banking-operation/src/models/LevyPayment.js +15 -12
- package/banking-operation/src/models/LevyPaymentStatus.d.ts +7 -6
- package/banking-operation/src/models/LevyPaymentStatus.js +17 -8
- package/banking-operation/src/models/LevyStatus.d.ts +6 -5
- package/banking-operation/src/models/LevyStatus.js +16 -7
- package/banking-operation/src/models/LevyUpdateParameters.d.ts +5 -1
- package/banking-operation/src/models/LevyUpdateParameters.js +15 -12
- package/banking-operation/src/models/OrderLink.d.ts +11 -2
- package/banking-operation/src/models/OrderLink.js +21 -22
- package/banking-operation/src/models/OrderPayment.d.ts +8 -4
- package/banking-operation/src/models/OrderPayment.js +23 -20
- package/banking-operation/src/models/OrderPaymentDeposit.d.ts +5 -1
- package/banking-operation/src/models/OrderPaymentDeposit.js +13 -10
- package/banking-operation/src/models/OrderPaymentWallets.d.ts +5 -1
- package/banking-operation/src/models/OrderPaymentWallets.js +15 -12
- package/banking-operation/src/models/OrderPaymentWithdraw.d.ts +5 -1
- package/banking-operation/src/models/OrderPaymentWithdraw.js +19 -16
- package/banking-operation/src/models/PaginatedLevies.d.ts +13 -3
- package/banking-operation/src/models/PaginatedLevies.js +24 -21
- package/banking-operation/src/models/PaginatedObject.d.ts +5 -1
- package/banking-operation/src/models/PaginatedObject.js +15 -9
- package/banking-operation/src/models/PaginatedOrderPayments.d.ts +13 -3
- package/banking-operation/src/models/PaginatedOrderPayments.js +24 -21
- package/banking-operation/src/models/PagingMetadata.d.ts +4 -0
- package/banking-operation/src/models/PagingMetadata.js +23 -11
- package/banking-operation/src/models/Transaction.d.ts +15 -11
- package/banking-operation/src/models/Transaction.js +30 -29
- package/banking-operation/src/models/TransactionMangopayTarget.d.ts +11 -2
- package/banking-operation/src/models/TransactionMangopayTarget.js +21 -22
- package/banking-operation/src/models/UserLink.d.ts +12 -3
- package/banking-operation/src/models/UserLink.js +29 -22
- package/banking-operation/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/banking-operation/src/models/UserLinkAllOfCompany.js +13 -10
- package/banking-operation/src/models/Wallet.d.ts +5 -1
- package/banking-operation/src/models/Wallet.js +13 -10
- package/banking-operation/src/models/WalletMangopayTarget.d.ts +11 -2
- package/banking-operation/src/models/WalletMangopayTarget.js +21 -22
- package/banking-operation/src/models/index.d.ts +0 -6
- package/banking-operation/src/models/index.js +2 -6
- package/banking-operation/src/runtime.d.ts +72 -31
- package/banking-operation/src/runtime.js +291 -164
- package/catalog/src/apis/ManageProductInsightApi.d.ts +10 -10
- package/catalog/src/apis/ManageProductInsightApi.js +83 -89
- package/catalog/src/apis/SearchProductInsightApi.d.ts +17 -17
- package/catalog/src/apis/SearchProductInsightApi.js +72 -77
- package/catalog/src/apis/index.js +2 -0
- package/catalog/src/index.d.ts +2 -2
- package/catalog/src/index.js +4 -2
- package/catalog/src/models/Barcodes.d.ts +5 -0
- package/catalog/src/models/Barcodes.js +19 -16
- package/catalog/src/models/HttpLink.d.ts +4 -0
- package/catalog/src/models/HttpLink.js +14 -8
- package/catalog/src/models/LaboratoryLink.d.ts +11 -2
- package/catalog/src/models/LaboratoryLink.js +23 -22
- package/catalog/src/models/PaginatedObject.d.ts +5 -1
- package/catalog/src/models/PaginatedObject.js +15 -9
- package/catalog/src/models/PaginatedProductInsights.d.ts +13 -3
- package/catalog/src/models/PaginatedProductInsights.js +24 -21
- package/catalog/src/models/PagingMetadata.d.ts +4 -0
- package/catalog/src/models/PagingMetadata.js +23 -11
- package/catalog/src/models/ProductInsight.d.ts +21 -10
- package/catalog/src/models/ProductInsight.js +45 -36
- package/catalog/src/models/ProductInsightCreateOrUpdateParameters.d.ts +8 -4
- package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +35 -30
- package/catalog/src/models/ProductInsightJournal.d.ts +4 -0
- package/catalog/src/models/ProductInsightJournal.js +17 -12
- package/catalog/src/models/ProductSecondaryTypeLink.d.ts +11 -2
- package/catalog/src/models/ProductSecondaryTypeLink.js +23 -22
- package/catalog/src/models/ProductStorageType.d.ts +8 -7
- package/catalog/src/models/ProductStorageType.js +18 -9
- package/catalog/src/models/ProductTypeLink.d.ts +11 -2
- package/catalog/src/models/ProductTypeLink.js +23 -22
- package/catalog/src/models/RestError.d.ts +66 -58
- package/catalog/src/models/RestError.js +73 -67
- package/catalog/src/models/VatLink.d.ts +11 -2
- package/catalog/src/models/VatLink.js +25 -22
- package/catalog/src/models/index.d.ts +0 -5
- package/catalog/src/models/index.js +2 -5
- package/catalog/src/runtime.d.ts +72 -31
- package/catalog/src/runtime.js +291 -164
- package/challenge/src/apis/ManageChallengesApi.d.ts +6 -6
- package/challenge/src/apis/ManageChallengesApi.js +30 -32
- package/challenge/src/apis/index.js +2 -0
- package/challenge/src/index.d.ts +2 -2
- package/challenge/src/index.js +4 -2
- package/challenge/src/models/Challenge.d.ts +5 -1
- package/challenge/src/models/Challenge.js +15 -12
- package/challenge/src/models/ChallengeAction.d.ts +11 -7
- package/challenge/src/models/ChallengeAction.js +19 -18
- package/challenge/src/models/index.js +2 -0
- package/challenge/src/runtime.d.ts +72 -31
- package/challenge/src/runtime.js +291 -164
- package/configuration/src/apis/ManageVariableApi.d.ts +10 -10
- package/configuration/src/apis/ManageVariableApi.js +81 -87
- package/configuration/src/apis/ManageVatApi.d.ts +8 -8
- package/configuration/src/apis/ManageVatApi.js +57 -61
- package/configuration/src/apis/SearchVariableApi.d.ts +8 -8
- package/configuration/src/apis/SearchVariableApi.js +21 -21
- package/configuration/src/apis/SearchVatApi.d.ts +8 -8
- package/configuration/src/apis/SearchVatApi.js +53 -57
- package/configuration/src/apis/index.js +2 -0
- package/configuration/src/index.d.ts +2 -2
- package/configuration/src/index.js +4 -2
- package/configuration/src/models/RestError.d.ts +66 -58
- package/configuration/src/models/RestError.js +73 -67
- package/configuration/src/models/Variable.d.ts +4 -0
- package/configuration/src/models/Variable.js +17 -9
- package/configuration/src/models/Vat.d.ts +4 -0
- package/configuration/src/models/Vat.js +20 -10
- package/configuration/src/models/index.js +2 -0
- package/configuration/src/runtime.d.ts +72 -31
- package/configuration/src/runtime.js +291 -164
- package/content/src/apis/ManageContentApi.d.ts +6 -6
- package/content/src/apis/ManageContentApi.js +33 -35
- package/content/src/apis/SearchContentApi.d.ts +6 -6
- package/content/src/apis/SearchContentApi.js +14 -14
- package/content/src/apis/index.js +2 -0
- package/content/src/index.d.ts +2 -2
- package/content/src/index.js +4 -2
- package/content/src/models/Content.d.ts +4 -0
- package/content/src/models/Content.js +21 -18
- package/content/src/models/RestError.d.ts +66 -58
- package/content/src/models/RestError.js +73 -67
- package/content/src/models/index.js +2 -0
- package/content/src/runtime.d.ts +72 -31
- package/content/src/runtime.js +291 -164
- package/factory/src/apis/ManageAssemblyApi.d.ts +12 -12
- package/factory/src/apis/ManageAssemblyApi.js +61 -104
- package/factory/src/apis/SearchAssemblyApi.d.ts +33 -28
- package/factory/src/apis/SearchAssemblyApi.js +158 -151
- package/factory/src/apis/index.d.ts +0 -3
- package/factory/src/apis/index.js +2 -3
- package/factory/src/index.d.ts +2 -2
- package/factory/src/index.js +4 -2
- package/factory/src/models/AnyDistributionMode.d.ts +29 -0
- package/factory/src/models/AnyDistributionMode.js +55 -0
- package/factory/src/models/AnyFactory.d.ts +29 -0
- package/factory/src/models/AnyFactory.js +55 -0
- package/factory/src/models/Assembly.d.ts +30 -20
- package/factory/src/models/Assembly.js +40 -35
- package/factory/src/models/AssemblyCreationParameters.d.ts +12 -7
- package/factory/src/models/AssemblyCreationParameters.js +21 -12
- package/factory/src/models/AssemblyJournal.d.ts +37 -0
- package/factory/src/models/AssemblyJournal.js +47 -0
- package/factory/src/models/AssemblyOutputInner.d.ts +51 -0
- package/factory/src/models/AssemblyOutputInner.js +62 -0
- package/factory/src/models/AssemblyStatus.d.ts +12 -10
- package/factory/src/models/AssemblyStatus.js +22 -12
- package/factory/src/models/DistributionMode.d.ts +46 -0
- package/factory/src/models/DistributionMode.js +55 -0
- package/factory/src/models/DistributionRange.d.ts +43 -0
- package/factory/src/models/DistributionRange.js +55 -0
- package/factory/src/models/Factory.d.ts +31 -0
- package/factory/src/models/Factory.js +47 -0
- package/factory/src/models/HttpLink.d.ts +4 -0
- package/factory/src/models/HttpLink.js +14 -8
- package/factory/src/models/OfferPlanificationFactory.d.ts +60 -0
- package/factory/src/models/OfferPlanificationFactory.js +60 -0
- package/factory/src/models/OfferPlanificationFactoryAllOfRecords.d.ts +58 -0
- package/factory/src/models/OfferPlanificationFactoryAllOfRecords.js +56 -0
- package/factory/src/models/PaginatedAssemblies.d.ts +13 -3
- package/factory/src/models/PaginatedAssemblies.js +22 -22
- package/factory/src/models/PaginatedObject.d.ts +5 -1
- package/factory/src/models/PaginatedObject.js +15 -9
- package/factory/src/models/PagingMetadata.d.ts +4 -0
- package/factory/src/models/PagingMetadata.js +23 -11
- package/factory/src/models/Product.d.ts +80 -0
- package/factory/src/models/Product.js +62 -0
- package/factory/src/models/ProductStatus.d.ts +26 -0
- package/factory/src/models/ProductStatus.js +49 -0
- package/factory/src/models/ProductUpsertFactory.d.ts +38 -0
- package/factory/src/models/ProductUpsertFactory.js +50 -0
- package/factory/src/models/ProductUpsertFactoryAllOfRecords.d.ts +32 -0
- package/factory/src/models/ProductUpsertFactoryAllOfRecords.js +46 -0
- package/factory/src/models/QuotationDistributionMode.d.ts +52 -0
- package/factory/src/models/QuotationDistributionMode.js +59 -0
- package/factory/src/models/RangeDistributionMode.d.ts +53 -0
- package/factory/src/models/RangeDistributionMode.js +60 -0
- package/factory/src/models/SaleOfferStatus.d.ts +29 -0
- package/factory/src/models/SaleOfferStatus.js +52 -0
- package/factory/src/models/SaleOfferUpsertFactory.d.ts +50 -0
- package/factory/src/models/SaleOfferUpsertFactory.js +56 -0
- package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.d.ts +59 -0
- package/factory/src/models/SaleOfferUpsertFactoryAllOfRecords.js +57 -0
- package/factory/src/models/StatusEnum.d.ts +30 -0
- package/factory/src/models/StatusEnum.js +53 -0
- package/factory/src/models/Stock.d.ts +43 -0
- package/factory/src/models/Stock.js +50 -0
- package/factory/src/models/UnitaryDistributionMode.d.ts +58 -0
- package/factory/src/models/UnitaryDistributionMode.js +63 -0
- package/factory/src/models/UserLink.d.ts +11 -2
- package/factory/src/models/UserLink.js +21 -22
- package/factory/src/models/index.d.ts +21 -8
- package/factory/src/models/index.js +23 -8
- package/factory/src/runtime.d.ts +72 -31
- package/factory/src/runtime.js +291 -164
- package/favorite/src/apis/ManageFavoriteProductApi.d.ts +21 -21
- package/favorite/src/apis/ManageFavoriteProductApi.js +124 -133
- package/favorite/src/apis/index.js +2 -0
- package/favorite/src/index.d.ts +2 -2
- package/favorite/src/index.js +4 -2
- package/favorite/src/models/Barcodes.d.ts +5 -0
- package/favorite/src/models/Barcodes.js +19 -16
- package/favorite/src/models/FavoriteProduct.d.ts +6 -2
- package/favorite/src/models/FavoriteProduct.js +27 -15
- package/favorite/src/models/FavoriteProductCreationParameters.d.ts +4 -0
- package/favorite/src/models/FavoriteProductCreationParameters.js +17 -9
- package/favorite/src/models/HttpLink.d.ts +4 -0
- package/favorite/src/models/HttpLink.js +14 -8
- package/favorite/src/models/PaginatedFavoriteProducts.d.ts +13 -3
- package/favorite/src/models/PaginatedFavoriteProducts.js +24 -21
- package/favorite/src/models/PaginatedObject.d.ts +5 -1
- package/favorite/src/models/PaginatedObject.js +15 -9
- package/favorite/src/models/PagingMetadata.d.ts +4 -0
- package/favorite/src/models/PagingMetadata.js +23 -11
- package/favorite/src/models/ProductLink.d.ts +13 -4
- package/favorite/src/models/ProductLink.js +30 -23
- package/favorite/src/models/ProductStatus.d.ts +8 -7
- package/favorite/src/models/ProductStatus.js +18 -9
- package/favorite/src/models/RestError.d.ts +66 -58
- package/favorite/src/models/RestError.js +73 -67
- package/favorite/src/models/UserLink.d.ts +11 -2
- package/favorite/src/models/UserLink.js +23 -21
- package/favorite/src/models/index.d.ts +0 -3
- package/favorite/src/models/index.js +2 -3
- package/favorite/src/runtime.d.ts +72 -31
- package/favorite/src/runtime.js +291 -164
- package/geo/src/apis/SearchCountryApi.d.ts +6 -6
- package/geo/src/apis/SearchCountryApi.js +30 -31
- package/geo/src/apis/index.js +2 -0
- package/geo/src/index.d.ts +2 -2
- package/geo/src/index.js +4 -2
- package/geo/src/models/Country.d.ts +4 -0
- package/geo/src/models/Country.js +17 -9
- package/geo/src/models/index.js +2 -0
- package/geo/src/runtime.d.ts +72 -31
- package/geo/src/runtime.js +291 -164
- package/inventory/src/apis/ManageInventoryApi.d.ts +16 -28
- package/inventory/src/apis/ManageInventoryApi.js +126 -210
- package/inventory/src/apis/SearchInventoryApi.d.ts +130 -123
- package/inventory/src/apis/SearchInventoryApi.js +469 -479
- package/inventory/src/apis/index.js +2 -0
- package/inventory/src/index.d.ts +2 -2
- package/inventory/src/index.js +4 -2
- package/inventory/src/models/ActiveProduct.d.ts +15 -4
- package/inventory/src/models/ActiveProduct.js +22 -16
- package/inventory/src/models/ActiveProductUpdateParameters.d.ts +8 -3
- package/inventory/src/models/ActiveProductUpdateParameters.js +14 -10
- package/inventory/src/models/Barcodes.d.ts +5 -0
- package/inventory/src/models/Barcodes.js +19 -16
- package/inventory/src/models/HttpLink.d.ts +4 -0
- package/inventory/src/models/HttpLink.js +14 -8
- package/inventory/src/models/Inventory.d.ts +63 -0
- package/inventory/src/models/Inventory.js +57 -0
- package/inventory/src/models/InventoryJournal.d.ts +31 -0
- package/inventory/src/models/InventoryJournal.js +45 -0
- package/inventory/src/models/MisalignedProduct.d.ts +11 -1
- package/inventory/src/models/MisalignedProduct.js +21 -16
- package/inventory/src/models/OverstockProduct.d.ts +15 -2
- package/inventory/src/models/OverstockProduct.js +38 -16
- package/inventory/src/models/OverstockProductUpdateParameters.d.ts +4 -0
- package/inventory/src/models/OverstockProductUpdateParameters.js +13 -10
- package/inventory/src/models/PaginatedActiveProducts.d.ts +13 -3
- package/inventory/src/models/PaginatedActiveProducts.js +24 -21
- package/inventory/src/models/PaginatedInventories.d.ts +39 -0
- package/inventory/src/models/PaginatedInventories.js +53 -0
- package/inventory/src/models/PaginatedMisalignedProducts.d.ts +13 -3
- package/inventory/src/models/PaginatedMisalignedProducts.js +24 -21
- package/inventory/src/models/PaginatedObject.d.ts +5 -1
- package/inventory/src/models/PaginatedObject.js +15 -9
- package/inventory/src/models/PaginatedOverstockProducts.d.ts +13 -3
- package/inventory/src/models/PaginatedOverstockProducts.js +24 -21
- package/inventory/src/models/PagingMetadata.d.ts +4 -0
- package/inventory/src/models/PagingMetadata.js +23 -11
- package/inventory/src/models/ProductLink.d.ts +12 -3
- package/inventory/src/models/ProductLink.js +25 -22
- package/inventory/src/models/RestError.d.ts +66 -58
- package/inventory/src/models/RestError.js +73 -67
- package/inventory/src/models/Statistics.d.ts +7 -3
- package/inventory/src/models/Statistics.js +18 -15
- package/inventory/src/models/StatisticsActiveProducts.d.ts +4 -0
- package/inventory/src/models/StatisticsActiveProducts.js +15 -12
- package/inventory/src/models/StatisticsMisalignedProducts.d.ts +4 -0
- package/inventory/src/models/StatisticsMisalignedProducts.js +13 -10
- package/inventory/src/models/StatisticsOverstockProducts.d.ts +4 -0
- package/inventory/src/models/StatisticsOverstockProducts.js +13 -10
- package/inventory/src/models/SynchronizationMode.d.ts +25 -0
- package/inventory/src/models/SynchronizationMode.js +48 -0
- package/inventory/src/models/index.d.ts +4 -7
- package/inventory/src/models/index.js +6 -7
- package/inventory/src/runtime.d.ts +72 -31
- package/inventory/src/runtime.js +291 -164
- package/invoice/src/apis/ManageInvoiceApi.d.ts +8 -8
- package/invoice/src/apis/ManageInvoiceApi.js +64 -68
- package/invoice/src/apis/ManageInvoiceLineApi.d.ts +8 -8
- package/invoice/src/apis/ManageInvoiceLineApi.js +54 -58
- package/invoice/src/apis/ManageInvoicesSummaryApi.d.ts +6 -6
- package/invoice/src/apis/ManageInvoicesSummaryApi.js +28 -30
- package/invoice/src/apis/SearchInvoiceApi.d.ts +23 -23
- package/invoice/src/apis/SearchInvoiceApi.js +91 -92
- package/invoice/src/apis/SearchInvoiceLineApi.d.ts +15 -15
- package/invoice/src/apis/SearchInvoiceLineApi.js +50 -53
- package/invoice/src/apis/SearchOrderTallyApi.d.ts +21 -21
- package/invoice/src/apis/SearchOrderTallyApi.js +86 -91
- package/invoice/src/apis/index.js +2 -0
- package/invoice/src/index.d.ts +2 -2
- package/invoice/src/index.js +4 -2
- package/invoice/src/models/HttpLink.d.ts +4 -0
- package/invoice/src/models/HttpLink.js +14 -8
- package/invoice/src/models/Invoice.d.ts +7 -3
- package/invoice/src/models/Invoice.js +36 -18
- package/invoice/src/models/InvoiceCreationParameters.d.ts +17 -2
- package/invoice/src/models/InvoiceCreationParameters.js +26 -3
- package/invoice/src/models/InvoiceSummaryCreationParameters.d.ts +4 -0
- package/invoice/src/models/InvoiceSummaryCreationParameters.js +22 -12
- package/invoice/src/models/InvoiceType.d.ts +17 -16
- package/invoice/src/models/InvoiceType.js +27 -18
- package/invoice/src/models/InvoiceUpdateParameters.d.ts +4 -0
- package/invoice/src/models/InvoiceUpdateParameters.js +15 -12
- package/invoice/src/models/OrderLink.d.ts +11 -2
- package/invoice/src/models/OrderLink.js +23 -22
- package/invoice/src/models/OrderTally.d.ts +7 -3
- package/invoice/src/models/OrderTally.js +33 -20
- package/invoice/src/models/PaginatedInvoices.d.ts +13 -3
- package/invoice/src/models/PaginatedInvoices.js +24 -21
- package/invoice/src/models/PaginatedObject.d.ts +5 -1
- package/invoice/src/models/PaginatedObject.js +15 -9
- package/invoice/src/models/PaginatedOrderTallies.d.ts +13 -3
- package/invoice/src/models/PaginatedOrderTallies.js +24 -21
- package/invoice/src/models/PaginatedPlannedInvoiceLine.d.ts +13 -3
- package/invoice/src/models/PaginatedPlannedInvoiceLine.js +24 -21
- package/invoice/src/models/PagingMetadata.d.ts +4 -0
- package/invoice/src/models/PagingMetadata.js +23 -11
- package/invoice/src/models/PlannedInvoiceLine.d.ts +7 -3
- package/invoice/src/models/PlannedInvoiceLine.js +28 -14
- package/invoice/src/models/PlannedInvoiceLineCreationParameters.d.ts +4 -0
- package/invoice/src/models/PlannedInvoiceLineCreationParameters.js +20 -10
- package/invoice/src/models/RestError.d.ts +66 -58
- package/invoice/src/models/RestError.js +73 -67
- package/invoice/src/models/UserLink.d.ts +12 -3
- package/invoice/src/models/UserLink.js +25 -22
- package/invoice/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/invoice/src/models/UserLinkAllOfCompany.js +13 -10
- package/invoice/src/models/index.d.ts +0 -5
- package/invoice/src/models/index.js +2 -5
- package/invoice/src/runtime.d.ts +72 -31
- package/invoice/src/runtime.js +291 -164
- package/laboratory/src/apis/ManageLaboratoryApi.d.ts +8 -6
- package/laboratory/src/apis/ManageLaboratoryApi.js +32 -32
- package/laboratory/src/apis/SearchLaboratoryApi.d.ts +17 -15
- package/laboratory/src/apis/SearchLaboratoryApi.js +74 -77
- package/laboratory/src/apis/index.js +2 -0
- package/laboratory/src/index.d.ts +2 -2
- package/laboratory/src/index.js +4 -2
- package/laboratory/src/models/Laboratory.d.ts +4 -0
- package/laboratory/src/models/Laboratory.js +15 -12
- package/laboratory/src/models/LaboratoryCreationParameters.d.ts +4 -0
- package/laboratory/src/models/LaboratoryCreationParameters.js +14 -8
- package/laboratory/src/models/PaginatedLaboratories.d.ts +13 -3
- package/laboratory/src/models/PaginatedLaboratories.js +24 -21
- package/laboratory/src/models/PaginatedObject.d.ts +5 -1
- package/laboratory/src/models/PaginatedObject.js +15 -9
- package/laboratory/src/models/PagingMetadata.d.ts +4 -0
- package/laboratory/src/models/PagingMetadata.js +23 -11
- package/laboratory/src/models/index.d.ts +0 -1
- package/laboratory/src/models/index.js +2 -1
- package/laboratory/src/runtime.d.ts +72 -31
- package/laboratory/src/runtime.js +291 -164
- package/laboratory-store/src/apis/ManageLaboratoryStoreApi.d.ts +8 -8
- package/laboratory-store/src/apis/ManageLaboratoryStoreApi.js +56 -59
- package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.d.ts +14 -14
- package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.js +118 -134
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.d.ts +25 -25
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +83 -90
- package/laboratory-store/src/apis/index.js +2 -0
- package/laboratory-store/src/index.d.ts +2 -2
- package/laboratory-store/src/index.js +4 -2
- package/laboratory-store/src/models/DisplayType.d.ts +6 -5
- package/laboratory-store/src/models/DisplayType.js +16 -7
- package/laboratory-store/src/models/HttpLink.d.ts +4 -0
- package/laboratory-store/src/models/HttpLink.js +14 -8
- package/laboratory-store/src/models/Image.d.ts +5 -1
- package/laboratory-store/src/models/Image.js +15 -12
- package/laboratory-store/src/models/ImageVersions.d.ts +4 -0
- package/laboratory-store/src/models/ImageVersions.js +24 -19
- package/laboratory-store/src/models/LaboratoryStore.d.ts +7 -3
- package/laboratory-store/src/models/LaboratoryStore.js +38 -35
- package/laboratory-store/src/models/LaboratoryStoreCreationParameters.d.ts +67 -2
- package/laboratory-store/src/models/LaboratoryStoreCreationParameters.js +44 -3
- package/laboratory-store/src/models/LaboratoryStoreUpdateParameters.d.ts +6 -2
- package/laboratory-store/src/models/LaboratoryStoreUpdateParameters.js +31 -28
- package/laboratory-store/src/models/LaboratoryType.d.ts +9 -8
- package/laboratory-store/src/models/LaboratoryType.js +19 -10
- package/laboratory-store/src/models/OwnerLink.d.ts +11 -2
- package/laboratory-store/src/models/OwnerLink.js +23 -22
- package/laboratory-store/src/models/PaginatedLaboratoryStores.d.ts +13 -3
- package/laboratory-store/src/models/PaginatedLaboratoryStores.js +22 -22
- package/laboratory-store/src/models/PaginatedObject.d.ts +5 -1
- package/laboratory-store/src/models/PaginatedObject.js +15 -9
- package/laboratory-store/src/models/PagingMetadata.d.ts +4 -0
- package/laboratory-store/src/models/PagingMetadata.js +23 -11
- package/laboratory-store/src/models/RestError.d.ts +66 -58
- package/laboratory-store/src/models/RestError.js +73 -67
- package/laboratory-store/src/models/index.d.ts +0 -3
- package/laboratory-store/src/models/index.js +2 -3
- package/laboratory-store/src/runtime.d.ts +72 -31
- package/laboratory-store/src/runtime.js +291 -164
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +15 -13
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +52 -53
- package/laboratory-store-log/src/apis/index.js +2 -0
- package/laboratory-store-log/src/index.d.ts +2 -2
- package/laboratory-store-log/src/index.js +4 -2
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.d.ts +2 -1
- package/laboratory-store-log/src/models/AnyLaboratoryStoreLog.js +4 -18
- package/laboratory-store-log/src/models/HttpLink.d.ts +4 -0
- package/laboratory-store-log/src/models/HttpLink.js +14 -8
- package/laboratory-store-log/src/models/LaboratoryStoreLink.d.ts +11 -2
- package/laboratory-store-log/src/models/LaboratoryStoreLink.js +23 -21
- package/laboratory-store-log/src/models/LaboratoryStoreLog.d.ts +24 -3
- package/laboratory-store-log/src/models/LaboratoryStoreLog.js +35 -21
- package/laboratory-store-log/src/models/Log.d.ts +4 -0
- package/laboratory-store-log/src/models/Log.js +21 -11
- package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogs.d.ts +13 -3
- package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogs.js +24 -21
- package/laboratory-store-log/src/models/PaginatedObject.d.ts +5 -1
- package/laboratory-store-log/src/models/PaginatedObject.js +15 -9
- package/laboratory-store-log/src/models/PagingMetadata.d.ts +4 -0
- package/laboratory-store-log/src/models/PagingMetadata.js +23 -11
- package/laboratory-store-log/src/models/index.d.ts +0 -3
- package/laboratory-store-log/src/models/index.js +2 -3
- package/laboratory-store-log/src/runtime.d.ts +72 -31
- package/laboratory-store-log/src/runtime.js +291 -164
- package/lexicon/src/apis/ManageLexiconApi.d.ts +8 -8
- package/lexicon/src/apis/ManageLexiconApi.js +54 -58
- package/lexicon/src/apis/SearchLexiconApi.d.ts +12 -12
- package/lexicon/src/apis/SearchLexiconApi.js +109 -114
- package/lexicon/src/apis/index.js +2 -0
- package/lexicon/src/index.d.ts +2 -2
- package/lexicon/src/index.js +4 -2
- package/lexicon/src/models/PaginatedObject.d.ts +5 -1
- package/lexicon/src/models/PaginatedObject.js +15 -9
- package/lexicon/src/models/PaginatedTags.d.ts +13 -3
- package/lexicon/src/models/PaginatedTags.js +24 -21
- package/lexicon/src/models/PagingMetadata.d.ts +4 -0
- package/lexicon/src/models/PagingMetadata.js +23 -11
- package/lexicon/src/models/PharmacyGroup.d.ts +6 -2
- package/lexicon/src/models/PharmacyGroup.js +15 -12
- package/lexicon/src/models/PharmacyLocation.d.ts +6 -2
- package/lexicon/src/models/PharmacyLocation.js +15 -12
- package/lexicon/src/models/PharmacySoftware.d.ts +6 -2
- package/lexicon/src/models/PharmacySoftware.js +15 -12
- package/lexicon/src/models/RestError.d.ts +66 -58
- package/lexicon/src/models/RestError.js +73 -67
- package/lexicon/src/models/Tag.d.ts +4 -0
- package/lexicon/src/models/Tag.js +15 -12
- package/lexicon/src/models/TagCreationParameters.d.ts +4 -0
- package/lexicon/src/models/TagCreationParameters.js +13 -10
- package/lexicon/src/models/index.d.ts +0 -1
- package/lexicon/src/models/index.js +2 -1
- package/lexicon/src/runtime.d.ts +72 -31
- package/lexicon/src/runtime.js +291 -164
- package/litigation/src/apis/ManageLitigationApi.d.ts +6 -6
- package/litigation/src/apis/ManageLitigationApi.js +28 -30
- package/litigation/src/apis/index.js +2 -0
- package/litigation/src/index.d.ts +2 -2
- package/litigation/src/index.js +4 -2
- package/litigation/src/models/LitigationCreationParameters.d.ts +4 -0
- package/litigation/src/models/LitigationCreationParameters.js +23 -11
- package/litigation/src/models/RestError.d.ts +66 -58
- package/litigation/src/models/RestError.js +73 -67
- package/litigation/src/models/index.js +2 -0
- package/litigation/src/runtime.d.ts +72 -31
- package/litigation/src/runtime.js +291 -164
- package/magic-cart/src/apis/ManageExpressOrderApi.d.ts +6 -6
- package/magic-cart/src/apis/ManageExpressOrderApi.js +29 -30
- package/magic-cart/src/apis/index.js +2 -0
- package/magic-cart/src/index.d.ts +2 -2
- package/magic-cart/src/index.js +4 -2
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +6 -5
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +9 -23
- package/magic-cart/src/models/Barcodes.d.ts +5 -0
- package/magic-cart/src/models/Barcodes.js +19 -16
- package/magic-cart/src/models/DistributionMode.d.ts +8 -1
- package/magic-cart/src/models/DistributionMode.js +20 -10
- package/magic-cart/src/models/DistributionRange.d.ts +4 -0
- package/magic-cart/src/models/DistributionRange.js +20 -10
- package/magic-cart/src/models/ExpressOrder.d.ts +5 -1
- package/magic-cart/src/models/ExpressOrder.js +15 -12
- package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +5 -1
- package/magic-cart/src/models/ExpressOrderCreationParameters.js +18 -13
- package/magic-cart/src/models/ExpressOrderNeed.d.ts +4 -0
- package/magic-cart/src/models/ExpressOrderNeed.js +21 -14
- package/magic-cart/src/models/HttpLink.d.ts +4 -0
- package/magic-cart/src/models/HttpLink.js +14 -8
- package/magic-cart/src/models/IdentifiedDistributionRange.d.ts +23 -2
- package/magic-cart/src/models/IdentifiedDistributionRange.js +35 -21
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.d.ts +27 -3
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +31 -21
- package/magic-cart/src/models/ProductLink.d.ts +13 -4
- package/magic-cart/src/models/ProductLink.js +36 -22
- package/magic-cart/src/models/ProductStorageType.d.ts +8 -7
- package/magic-cart/src/models/ProductStorageType.js +18 -9
- package/magic-cart/src/models/QuotationDistributionMode.d.ts +26 -2
- package/magic-cart/src/models/QuotationDistributionMode.js +31 -21
- package/magic-cart/src/models/SaleOfferLink.d.ts +13 -4
- package/magic-cart/src/models/SaleOfferLink.js +33 -22
- package/magic-cart/src/models/SaleOfferProposal.d.ts +7 -3
- package/magic-cart/src/models/SaleOfferProposal.js +25 -13
- package/magic-cart/src/models/SellerProposal.d.ts +6 -2
- package/magic-cart/src/models/SellerProposal.js +23 -13
- package/magic-cart/src/models/Stock.d.ts +4 -0
- package/magic-cart/src/models/Stock.js +17 -13
- package/magic-cart/src/models/UnitaryDistributionMode.d.ts +26 -2
- package/magic-cart/src/models/UnitaryDistributionMode.js +35 -21
- package/magic-cart/src/models/UserLink.d.ts +11 -2
- package/magic-cart/src/models/UserLink.js +27 -21
- package/magic-cart/src/models/index.d.ts +0 -7
- package/magic-cart/src/models/index.js +2 -7
- package/magic-cart/src/runtime.d.ts +72 -31
- package/magic-cart/src/runtime.js +291 -164
- package/mandate/src/apis/ManageMandatesApi.d.ts +12 -12
- package/mandate/src/apis/ManageMandatesApi.js +100 -108
- package/mandate/src/apis/index.js +2 -0
- package/mandate/src/index.d.ts +2 -2
- package/mandate/src/index.js +4 -2
- package/mandate/src/models/Challenge.d.ts +5 -1
- package/mandate/src/models/Challenge.js +15 -12
- package/mandate/src/models/ChallengeAction.d.ts +11 -7
- package/mandate/src/models/ChallengeAction.js +19 -18
- package/mandate/src/models/Mandate.d.ts +15 -11
- package/mandate/src/models/Mandate.js +29 -28
- package/mandate/src/models/MandateChallenge.d.ts +18 -2
- package/mandate/src/models/MandateChallenge.js +24 -21
- package/mandate/src/models/MandateChallengeCreationParameters.d.ts +4 -0
- package/mandate/src/models/MandateChallengeCreationParameters.js +14 -8
- package/mandate/src/models/MandateCreationParameters.d.ts +4 -0
- package/mandate/src/models/MandateCreationParameters.js +15 -12
- package/mandate/src/models/index.d.ts +0 -1
- package/mandate/src/models/index.js +2 -1
- package/mandate/src/runtime.d.ts +72 -31
- package/mandate/src/runtime.js +291 -164
- package/mangopay-hook/src/apis/MangopayHookApi.d.ts +7 -5
- package/mangopay-hook/src/apis/MangopayHookApi.js +20 -18
- package/mangopay-hook/src/apis/index.js +2 -0
- package/mangopay-hook/src/index.d.ts +2 -2
- package/mangopay-hook/src/index.js +4 -2
- package/mangopay-hook/src/models/RestError.d.ts +66 -58
- package/mangopay-hook/src/models/RestError.js +73 -67
- package/mangopay-hook/src/models/index.js +2 -0
- package/mangopay-hook/src/runtime.d.ts +72 -31
- package/mangopay-hook/src/runtime.js +291 -164
- package/message/src/apis/ManageMessageApi.d.ts +24 -14
- package/message/src/apis/ManageMessageApi.js +146 -146
- package/message/src/apis/SearchMessageApi.d.ts +23 -19
- package/message/src/apis/SearchMessageApi.js +106 -109
- package/message/src/apis/index.js +2 -0
- package/message/src/index.d.ts +2 -2
- package/message/src/index.js +4 -2
- package/message/src/models/HttpLink.d.ts +4 -0
- package/message/src/models/HttpLink.js +14 -8
- package/message/src/models/Message.d.ts +5 -1
- package/message/src/models/Message.js +27 -13
- package/message/src/models/MessageCreationParameters.d.ts +4 -0
- package/message/src/models/MessageCreationParameters.js +20 -10
- package/message/src/models/MessageUpdateParameters.d.ts +4 -0
- package/message/src/models/MessageUpdateParameters.js +17 -14
- package/message/src/models/MessageViewerCreationParameters.d.ts +4 -0
- package/message/src/models/MessageViewerCreationParameters.js +13 -10
- package/message/src/models/PaginatedMessages.d.ts +13 -3
- package/message/src/models/PaginatedMessages.js +24 -21
- package/message/src/models/PaginatedObject.d.ts +5 -1
- package/message/src/models/PaginatedObject.js +15 -9
- package/message/src/models/PagingMetadata.d.ts +4 -0
- package/message/src/models/PagingMetadata.js +23 -11
- package/message/src/models/ViewerLink.d.ts +11 -2
- package/message/src/models/ViewerLink.js +27 -21
- package/message/src/models/index.d.ts +0 -2
- package/message/src/models/index.js +2 -2
- package/message/src/runtime.d.ts +72 -31
- package/message/src/runtime.js +291 -164
- package/notification/src/apis/ManageNotificationApi.d.ts +8 -8
- package/notification/src/apis/ManageNotificationApi.js +61 -65
- package/notification/src/apis/ManageNotificationTypeApi.d.ts +11 -11
- package/notification/src/apis/ManageNotificationTypeApi.js +90 -100
- package/notification/src/apis/SearchNotificationApi.d.ts +17 -15
- package/notification/src/apis/SearchNotificationApi.js +76 -79
- package/notification/src/apis/SearchNotificationTypeApi.d.ts +21 -21
- package/notification/src/apis/SearchNotificationTypeApi.js +102 -109
- package/notification/src/apis/index.js +2 -0
- package/notification/src/index.d.ts +2 -2
- package/notification/src/index.js +4 -2
- package/notification/src/models/HttpLink.d.ts +4 -0
- package/notification/src/models/HttpLink.js +14 -8
- package/notification/src/models/Notification.d.ts +6 -2
- package/notification/src/models/Notification.js +30 -27
- package/notification/src/models/NotificationType.d.ts +6 -2
- package/notification/src/models/NotificationType.js +29 -26
- package/notification/src/models/NotificationTypeAttachment.d.ts +4 -0
- package/notification/src/models/NotificationTypeAttachment.js +23 -20
- package/notification/src/models/NotificationTypeId.d.ts +52 -51
- package/notification/src/models/NotificationTypeId.js +62 -53
- package/notification/src/models/NotificationTypeUpdateParameters.d.ts +4 -0
- package/notification/src/models/NotificationTypeUpdateParameters.js +23 -20
- package/notification/src/models/NotificationUpdateParameters.d.ts +4 -0
- package/notification/src/models/NotificationUpdateParameters.js +15 -12
- package/notification/src/models/PaginatedNotificationTypes.d.ts +13 -3
- package/notification/src/models/PaginatedNotificationTypes.js +22 -22
- package/notification/src/models/PaginatedNotifications.d.ts +13 -3
- package/notification/src/models/PaginatedNotifications.js +22 -22
- package/notification/src/models/PaginatedObject.d.ts +5 -1
- package/notification/src/models/PaginatedObject.js +15 -9
- package/notification/src/models/PagingMetadata.d.ts +4 -0
- package/notification/src/models/PagingMetadata.js +23 -11
- package/notification/src/models/RestError.d.ts +66 -58
- package/notification/src/models/RestError.js +73 -67
- package/notification/src/models/index.d.ts +0 -3
- package/notification/src/models/index.js +2 -3
- package/notification/src/runtime.d.ts +72 -31
- package/notification/src/runtime.js +291 -164
- package/order/src/apis/ManageFreeCarriageCouponApi.d.ts +8 -8
- package/order/src/apis/ManageFreeCarriageCouponApi.js +54 -58
- package/order/src/apis/ManageMetaOrderApi.d.ts +8 -8
- package/order/src/apis/ManageMetaOrderApi.js +57 -61
- package/order/src/apis/ManageOrderApi.d.ts +20 -20
- package/order/src/apis/ManageOrderApi.js +228 -244
- package/order/src/apis/ManageOrderItemApi.d.ts +20 -20
- package/order/src/apis/ManageOrderItemApi.js +233 -249
- package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +13 -13
- package/order/src/apis/SearchFreeCarriageCouponApi.js +56 -59
- package/order/src/apis/SearchOrderApi.d.ts +39 -35
- package/order/src/apis/SearchOrderApi.js +177 -177
- package/order/src/apis/SearchOrderItemApi.d.ts +64 -58
- package/order/src/apis/SearchOrderItemApi.js +188 -200
- package/order/src/apis/index.js +2 -0
- package/order/src/index.d.ts +2 -2
- package/order/src/index.js +4 -2
- package/order/src/models/Address.d.ts +4 -0
- package/order/src/models/Address.js +19 -16
- package/order/src/models/Anomalies.d.ts +4 -0
- package/order/src/models/Anomalies.js +19 -16
- package/order/src/models/AnomaliesUpdateParameters.d.ts +29 -2
- package/order/src/models/AnomaliesUpdateParameters.js +26 -3
- package/order/src/models/AnyMetaOrderWarning.d.ts +3 -2
- package/order/src/models/AnyMetaOrderWarning.js +5 -19
- package/order/src/models/Barcodes.d.ts +5 -0
- package/order/src/models/Barcodes.js +19 -16
- package/order/src/models/FreeCarriageCoupon.d.ts +5 -1
- package/order/src/models/FreeCarriageCoupon.js +46 -25
- package/order/src/models/FreeCarriageCouponCreationParameters.d.ts +4 -0
- package/order/src/models/FreeCarriageCouponCreationParameters.js +29 -18
- package/order/src/models/FreeCarriageCouponOwnerLink.d.ts +11 -2
- package/order/src/models/FreeCarriageCouponOwnerLink.js +23 -21
- package/order/src/models/HttpLink.d.ts +4 -0
- package/order/src/models/HttpLink.js +14 -8
- package/order/src/models/MetaOrder.d.ts +7 -3
- package/order/src/models/MetaOrder.js +34 -18
- package/order/src/models/MetaOrderCreationParameters.d.ts +5 -1
- package/order/src/models/MetaOrderCreationParameters.js +18 -10
- package/order/src/models/MetaOrderCreationSubCartParameters.d.ts +4 -0
- package/order/src/models/MetaOrderCreationSubCartParameters.js +14 -8
- package/order/src/models/MetaOrderPrices.d.ts +4 -0
- package/order/src/models/MetaOrderPrices.js +38 -16
- package/order/src/models/MetaOrderWarning.d.ts +4 -0
- package/order/src/models/MetaOrderWarning.js +14 -8
- package/order/src/models/MetaOrderWithWarnings.d.ts +6 -2
- package/order/src/models/MetaOrderWithWarnings.js +15 -12
- package/order/src/models/Order.d.ts +20 -12
- package/order/src/models/Order.js +140 -74
- package/order/src/models/OrderAddedItem.d.ts +68 -2
- package/order/src/models/OrderAddedItem.js +41 -3
- package/order/src/models/OrderItem.d.ts +7 -3
- package/order/src/models/OrderItem.js +32 -29
- package/order/src/models/OrderItemPrices.d.ts +4 -0
- package/order/src/models/OrderItemPrices.js +21 -18
- package/order/src/models/OrderItemRefundedCreationParameters.d.ts +4 -0
- package/order/src/models/OrderItemRefundedCreationParameters.js +19 -12
- package/order/src/models/OrderItemUpdateParameters.d.ts +4 -0
- package/order/src/models/OrderItemUpdateParameters.js +14 -8
- package/order/src/models/OrderItemWarning.d.ts +22 -13
- package/order/src/models/OrderItemWarning.js +47 -34
- package/order/src/models/OrderItemsOperation.d.ts +12 -7
- package/order/src/models/OrderItemsOperation.js +22 -9
- package/order/src/models/OrderJournal.d.ts +14 -3
- package/order/src/models/OrderJournal.js +36 -27
- package/order/src/models/OrderPrices.d.ts +4 -0
- package/order/src/models/OrderPrices.js +29 -26
- package/order/src/models/OrderRefundedItem.d.ts +68 -2
- package/order/src/models/OrderRefundedItem.js +41 -3
- package/order/src/models/OrderRefundedItemUpdateParameters.d.ts +11 -2
- package/order/src/models/OrderRefundedItemUpdateParameters.js +22 -3
- package/order/src/models/OrderRemovedItem.d.ts +68 -2
- package/order/src/models/OrderRemovedItem.js +41 -3
- package/order/src/models/OrderRemovedItemUpdateParameters.d.ts +11 -2
- package/order/src/models/OrderRemovedItemUpdateParameters.js +22 -3
- package/order/src/models/OrderStatus.d.ts +19 -18
- package/order/src/models/OrderStatus.js +29 -20
- package/order/src/models/OrderStatusReason.d.ts +7 -6
- package/order/src/models/OrderStatusReason.js +17 -8
- package/order/src/models/OrderStorageType.d.ts +8 -7
- package/order/src/models/OrderStorageType.js +18 -9
- package/order/src/models/OrderThreads.d.ts +5 -1
- package/order/src/models/OrderThreads.js +13 -10
- package/order/src/models/OrderType.d.ts +6 -5
- package/order/src/models/OrderType.js +16 -7
- package/order/src/models/OrderUpdateParameters.d.ts +6 -2
- package/order/src/models/OrderUpdateParameters.js +19 -16
- package/order/src/models/OrderWarning.d.ts +19 -10
- package/order/src/models/OrderWarning.js +34 -30
- package/order/src/models/PaginatedFreeCarriageCoupons.d.ts +13 -3
- package/order/src/models/PaginatedFreeCarriageCoupons.js +24 -21
- package/order/src/models/PaginatedObject.d.ts +5 -1
- package/order/src/models/PaginatedObject.js +15 -9
- package/order/src/models/PaginatedOrders.d.ts +13 -3
- package/order/src/models/PaginatedOrders.js +24 -21
- package/order/src/models/PagingMetadata.d.ts +4 -0
- package/order/src/models/PagingMetadata.js +23 -11
- package/order/src/models/ProductLink.d.ts +13 -4
- package/order/src/models/ProductLink.js +28 -23
- package/order/src/models/ProductStorageType.d.ts +8 -7
- package/order/src/models/ProductStorageType.js +18 -9
- package/order/src/models/Reservation.d.ts +12 -4
- package/order/src/models/Reservation.js +25 -22
- package/order/src/models/ReservationUpdateParameters.d.ts +4 -0
- package/order/src/models/ReservationUpdateParameters.js +13 -10
- package/order/src/models/RestError.d.ts +66 -58
- package/order/src/models/RestError.js +73 -67
- package/order/src/models/SaleOfferLink.d.ts +11 -2
- package/order/src/models/SaleOfferLink.js +23 -21
- package/order/src/models/ShoppedOffer.d.ts +4 -0
- package/order/src/models/ShoppedOffer.js +19 -12
- package/order/src/models/ThreadLink.d.ts +11 -2
- package/order/src/models/ThreadLink.js +23 -21
- package/order/src/models/UpdateOrderStatusParameters.d.ts +12 -11
- package/order/src/models/UpdateOrderStatusParameters.js +22 -13
- package/order/src/models/UserLink.d.ts +12 -3
- package/order/src/models/UserLink.js +39 -22
- package/order/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/order/src/models/UserLinkAllOfCompany.js +13 -10
- package/order/src/models/index.d.ts +0 -9
- package/order/src/models/index.js +2 -9
- package/order/src/runtime.d.ts +72 -31
- package/order/src/runtime.js +291 -164
- package/order-log/src/apis/SearchOrderLogApi.d.ts +15 -13
- package/order-log/src/apis/SearchOrderLogApi.js +52 -53
- package/order-log/src/apis/index.js +2 -0
- package/order-log/src/index.d.ts +2 -2
- package/order-log/src/index.js +4 -2
- package/order-log/src/models/AnyOrderLog.d.ts +2 -1
- package/order-log/src/models/AnyOrderLog.js +4 -18
- package/order-log/src/models/HttpLink.d.ts +4 -0
- package/order-log/src/models/HttpLink.js +14 -8
- package/order-log/src/models/Log.d.ts +4 -0
- package/order-log/src/models/Log.js +21 -11
- package/order-log/src/models/OrderLink.d.ts +11 -2
- package/order-log/src/models/OrderLink.js +23 -21
- package/order-log/src/models/OrderLog.d.ts +25 -4
- package/order-log/src/models/OrderLog.js +48 -22
- package/order-log/src/models/OrderStatusReason.d.ts +7 -6
- package/order-log/src/models/OrderStatusReason.js +17 -8
- package/order-log/src/models/PaginatedObject.d.ts +5 -1
- package/order-log/src/models/PaginatedObject.js +15 -9
- package/order-log/src/models/PaginatedOrderLogs.d.ts +13 -3
- package/order-log/src/models/PaginatedOrderLogs.js +24 -21
- package/order-log/src/models/PagingMetadata.d.ts +4 -0
- package/order-log/src/models/PagingMetadata.js +23 -11
- package/order-log/src/models/index.d.ts +0 -3
- package/order-log/src/models/index.js +2 -3
- package/order-log/src/runtime.d.ts +72 -31
- package/order-log/src/runtime.js +291 -164
- package/outrage-message/src/apis/ManageOutrageMessageApi.d.ts +16 -10
- package/outrage-message/src/apis/ManageOutrageMessageApi.js +89 -89
- package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +17 -17
- package/outrage-message/src/apis/SearchOutrageMessageApi.js +72 -77
- package/outrage-message/src/apis/index.js +2 -0
- package/outrage-message/src/index.d.ts +2 -2
- package/outrage-message/src/index.js +4 -2
- package/outrage-message/src/models/OutrageMessage.d.ts +4 -0
- package/outrage-message/src/models/OutrageMessage.js +21 -18
- package/outrage-message/src/models/OutrageMessageCreationParameters.d.ts +4 -0
- package/outrage-message/src/models/OutrageMessageCreationParameters.js +17 -9
- package/outrage-message/src/models/OutrageMessageUpdateParameters.d.ts +4 -0
- package/outrage-message/src/models/OutrageMessageUpdateParameters.js +15 -12
- package/outrage-message/src/models/PaginatedObject.d.ts +5 -1
- package/outrage-message/src/models/PaginatedObject.js +15 -9
- package/outrage-message/src/models/PaginatedOutrageMessages.d.ts +13 -3
- package/outrage-message/src/models/PaginatedOutrageMessages.js +22 -22
- package/outrage-message/src/models/PagingMetadata.d.ts +4 -0
- package/outrage-message/src/models/PagingMetadata.js +23 -11
- package/outrage-message/src/models/index.d.ts +0 -1
- package/outrage-message/src/models/index.js +2 -1
- package/outrage-message/src/runtime.d.ts +72 -31
- package/outrage-message/src/runtime.js +291 -164
- package/package.json +1 -1
- package/product/src/apis/ManageProductApi.d.ts +8 -8
- package/product/src/apis/ManageProductApi.js +63 -67
- package/product/src/apis/ManageProductImageApi.d.ts +8 -8
- package/product/src/apis/ManageProductImageApi.js +59 -62
- package/product/src/apis/ManageProductProscriptionApi.d.ts +8 -8
- package/product/src/apis/ManageProductProscriptionApi.js +57 -61
- package/product/src/apis/SearchProductApi.d.ts +31 -31
- package/product/src/apis/SearchProductApi.js +104 -109
- package/product/src/apis/SearchProductImageApi.d.ts +8 -8
- package/product/src/apis/SearchProductImageApi.js +58 -62
- package/product/src/apis/SearchProductMetadataApi.d.ts +12 -12
- package/product/src/apis/SearchProductMetadataApi.js +102 -110
- package/product/src/apis/SearchProductProscriptionApi.d.ts +15 -15
- package/product/src/apis/SearchProductProscriptionApi.js +44 -48
- package/product/src/apis/index.js +2 -0
- package/product/src/index.d.ts +2 -2
- package/product/src/index.js +4 -2
- package/product/src/models/Barcodes.d.ts +5 -0
- package/product/src/models/Barcodes.js +19 -16
- package/product/src/models/DataProvider.d.ts +9 -8
- package/product/src/models/DataProvider.js +19 -10
- package/product/src/models/HttpLink.d.ts +4 -0
- package/product/src/models/HttpLink.js +14 -8
- package/product/src/models/Image.d.ts +6 -2
- package/product/src/models/Image.js +19 -16
- package/product/src/models/ImageVersions.d.ts +4 -0
- package/product/src/models/ImageVersions.js +24 -19
- package/product/src/models/LaboratoryLink.d.ts +11 -2
- package/product/src/models/LaboratoryLink.js +23 -22
- package/product/src/models/PaginatedObject.d.ts +5 -1
- package/product/src/models/PaginatedObject.js +15 -9
- package/product/src/models/PaginatedProductProscriptions.d.ts +13 -3
- package/product/src/models/PaginatedProductProscriptions.js +24 -21
- package/product/src/models/PaginatedProducts.d.ts +13 -3
- package/product/src/models/PaginatedProducts.js +24 -21
- package/product/src/models/PagingMetadata.d.ts +4 -0
- package/product/src/models/PagingMetadata.js +23 -11
- package/product/src/models/Product.d.ts +17 -13
- package/product/src/models/Product.js +116 -58
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +9 -5
- package/product/src/models/ProductCreationOrUpdateParameters.js +52 -49
- package/product/src/models/ProductDispensationPlace.d.ts +6 -5
- package/product/src/models/ProductDispensationPlace.js +16 -7
- package/product/src/models/ProductJournal.d.ts +4 -0
- package/product/src/models/ProductJournal.js +15 -9
- package/product/src/models/ProductMarketStatus.d.ts +10 -9
- package/product/src/models/ProductMarketStatus.js +20 -11
- package/product/src/models/ProductProscription.d.ts +5 -1
- package/product/src/models/ProductProscription.js +19 -16
- package/product/src/models/ProductProscriptionCreationParameters.d.ts +4 -0
- package/product/src/models/ProductProscriptionCreationParameters.js +13 -10
- package/product/src/models/ProductSecondaryType.d.ts +4 -0
- package/product/src/models/ProductSecondaryType.js +15 -12
- package/product/src/models/ProductSource.d.ts +7 -3
- package/product/src/models/ProductSource.js +32 -18
- package/product/src/models/ProductSourceBcb.d.ts +4 -0
- package/product/src/models/ProductSourceBcb.js +18 -13
- package/product/src/models/ProductSourceFields.d.ts +6 -2
- package/product/src/models/ProductSourceFields.js +83 -43
- package/product/src/models/ProductSourceFieldsBarcodes.d.ts +5 -1
- package/product/src/models/ProductSourceFieldsBarcodes.js +27 -15
- package/product/src/models/ProductSourceMedipim.d.ts +4 -0
- package/product/src/models/ProductSourceMedipim.js +14 -8
- package/product/src/models/ProductStatus.d.ts +8 -7
- package/product/src/models/ProductStatus.js +18 -9
- package/product/src/models/ProductStorageType.d.ts +8 -7
- package/product/src/models/ProductStorageType.js +18 -9
- package/product/src/models/ProductType.d.ts +4 -0
- package/product/src/models/ProductType.js +15 -12
- package/product/src/models/RestError.d.ts +66 -58
- package/product/src/models/RestError.js +73 -67
- package/product/src/models/Statistics.d.ts +4 -0
- package/product/src/models/Statistics.js +13 -10
- package/product/src/models/Vat.d.ts +4 -0
- package/product/src/models/Vat.js +20 -10
- package/product/src/models/index.d.ts +0 -4
- package/product/src/models/index.js +2 -4
- package/product/src/runtime.d.ts +72 -31
- package/product/src/runtime.js +291 -164
- package/pub/src/apis/ManagePubApi.d.ts +12 -12
- package/pub/src/apis/ManagePubApi.js +107 -114
- package/pub/src/apis/ManagePubImageApi.d.ts +7 -7
- package/pub/src/apis/ManagePubImageApi.js +35 -41
- package/pub/src/apis/SearchPubApi.d.ts +47 -47
- package/pub/src/apis/SearchPubApi.js +143 -152
- package/pub/src/apis/index.js +2 -0
- package/pub/src/index.d.ts +2 -2
- package/pub/src/index.js +4 -2
- package/pub/src/models/HttpLink.d.ts +4 -0
- package/pub/src/models/HttpLink.js +14 -8
- package/pub/src/models/Image.d.ts +5 -1
- package/pub/src/models/Image.js +21 -11
- package/pub/src/models/ImageVersions.d.ts +4 -0
- package/pub/src/models/ImageVersions.js +24 -19
- package/pub/src/models/PaginatedObject.d.ts +5 -1
- package/pub/src/models/PaginatedObject.js +15 -9
- package/pub/src/models/PaginatedPubStatistics.d.ts +13 -3
- package/pub/src/models/PaginatedPubStatistics.js +24 -21
- package/pub/src/models/PaginatedPubs.d.ts +13 -3
- package/pub/src/models/PaginatedPubs.js +24 -21
- package/pub/src/models/PagingMetadata.d.ts +4 -0
- package/pub/src/models/PagingMetadata.js +23 -11
- package/pub/src/models/Pub.d.ts +10 -6
- package/pub/src/models/Pub.js +52 -35
- package/pub/src/models/PubClickCreationParameters.d.ts +4 -0
- package/pub/src/models/PubClickCreationParameters.js +14 -8
- package/pub/src/models/PubCreationParameters.d.ts +8 -4
- package/pub/src/models/PubCreationParameters.js +28 -17
- package/pub/src/models/PubLocationEnum.d.ts +7 -6
- package/pub/src/models/PubLocationEnum.js +17 -8
- package/pub/src/models/PubSchedule.d.ts +13 -3
- package/pub/src/models/PubSchedule.js +15 -12
- package/pub/src/models/PubStatistics.d.ts +5 -1
- package/pub/src/models/PubStatistics.js +17 -14
- package/pub/src/models/PubTimecard.d.ts +7 -1
- package/pub/src/models/PubTimecard.js +15 -12
- package/pub/src/models/PubUpdateParameters.d.ts +8 -4
- package/pub/src/models/PubUpdateParameters.js +24 -21
- package/pub/src/models/RestError.d.ts +66 -58
- package/pub/src/models/RestError.js +73 -67
- package/pub/src/models/UserLink.d.ts +12 -3
- package/pub/src/models/UserLink.js +25 -22
- package/pub/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/pub/src/models/UserLinkAllOfCompany.js +13 -10
- package/pub/src/models/index.d.ts +0 -4
- package/pub/src/models/index.js +2 -4
- package/pub/src/runtime.d.ts +72 -31
- package/pub/src/runtime.js +291 -164
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +15 -15
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +50 -53
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +15 -15
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +44 -47
- package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +15 -15
- package/recommendation/src/apis/SearchProductRecommendationApi.js +49 -53
- package/recommendation/src/apis/index.js +2 -0
- package/recommendation/src/index.d.ts +2 -2
- package/recommendation/src/index.js +4 -2
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +12 -4
- package/recommendation/src/models/FavoriteProductRecommendation.js +25 -18
- package/recommendation/src/models/HttpLink.d.ts +4 -0
- package/recommendation/src/models/HttpLink.js +14 -8
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +13 -3
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +24 -21
- package/recommendation/src/models/PaginatedObject.d.ts +5 -1
- package/recommendation/src/models/PaginatedObject.js +15 -9
- package/recommendation/src/models/PaginatedProductPriceRecommendations.d.ts +13 -3
- package/recommendation/src/models/PaginatedProductPriceRecommendations.js +24 -21
- package/recommendation/src/models/PaginatedProductRecommendations.d.ts +13 -3
- package/recommendation/src/models/PaginatedProductRecommendations.js +24 -21
- package/recommendation/src/models/PagingMetadata.d.ts +4 -0
- package/recommendation/src/models/PagingMetadata.js +23 -11
- package/recommendation/src/models/ProductLink.d.ts +11 -2
- package/recommendation/src/models/ProductLink.js +21 -22
- package/recommendation/src/models/ProductPriceRecommendation.d.ts +5 -1
- package/recommendation/src/models/ProductPriceRecommendation.js +23 -14
- package/recommendation/src/models/ProductRecommendation.d.ts +13 -4
- package/recommendation/src/models/ProductRecommendation.js +25 -18
- package/recommendation/src/models/ProductRecommendationType.d.ts +11 -7
- package/recommendation/src/models/ProductRecommendationType.js +21 -9
- package/recommendation/src/models/UserLink.d.ts +11 -2
- package/recommendation/src/models/UserLink.js +21 -22
- package/recommendation/src/models/index.d.ts +0 -5
- package/recommendation/src/models/index.js +2 -5
- package/recommendation/src/runtime.d.ts +72 -31
- package/recommendation/src/runtime.js +291 -164
- package/rfx/src/apis/ManageRfiApi.d.ts +6 -6
- package/rfx/src/apis/ManageRfiApi.js +41 -38
- package/rfx/src/apis/ManageRfilApi.d.ts +6 -6
- package/rfx/src/apis/ManageRfilApi.js +27 -28
- package/rfx/src/apis/ManageRfoiApi.d.ts +8 -8
- package/rfx/src/apis/ManageRfoiApi.js +59 -63
- package/rfx/src/apis/SearchRfoiApi.d.ts +21 -21
- package/rfx/src/apis/SearchRfoiApi.js +56 -59
- package/rfx/src/apis/index.js +2 -0
- package/rfx/src/index.d.ts +2 -2
- package/rfx/src/index.js +4 -2
- package/rfx/src/models/HttpLink.d.ts +4 -0
- package/rfx/src/models/HttpLink.js +14 -8
- package/rfx/src/models/OrderLink.d.ts +11 -2
- package/rfx/src/models/OrderLink.js +21 -22
- package/rfx/src/models/PaginatedObject.d.ts +5 -1
- package/rfx/src/models/PaginatedObject.js +15 -9
- package/rfx/src/models/PaginatedRfois.d.ts +13 -3
- package/rfx/src/models/PaginatedRfois.js +24 -21
- package/rfx/src/models/PagingMetadata.d.ts +4 -0
- package/rfx/src/models/PagingMetadata.js +23 -11
- package/rfx/src/models/RestError.d.ts +66 -58
- package/rfx/src/models/RestError.js +73 -67
- package/rfx/src/models/RfiCreationParameters.d.ts +7 -1
- package/rfx/src/models/RfiCreationParameters.js +21 -18
- package/rfx/src/models/RfilCreationParameters.d.ts +4 -0
- package/rfx/src/models/RfilCreationParameters.js +17 -9
- package/rfx/src/models/RfoCreationParameters.d.ts +4 -0
- package/rfx/src/models/RfoCreationParameters.js +14 -8
- package/rfx/src/models/Rfoi.d.ts +6 -2
- package/rfx/src/models/Rfoi.js +26 -23
- package/rfx/src/models/RfoiCreationParameters.d.ts +4 -0
- package/rfx/src/models/RfoiCreationParameters.js +14 -8
- package/rfx/src/models/RfoiUpdateParameters.d.ts +4 -0
- package/rfx/src/models/RfoiUpdateParameters.js +13 -10
- package/rfx/src/models/UserLink.d.ts +12 -3
- package/rfx/src/models/UserLink.js +25 -22
- package/rfx/src/models/UserLinkAllOfCompany.d.ts +4 -0
- package/rfx/src/models/UserLinkAllOfCompany.js +13 -10
- package/rfx/src/models/index.d.ts +0 -3
- package/rfx/src/models/index.js +2 -3
- package/rfx/src/runtime.d.ts +72 -31
- package/rfx/src/runtime.js +291 -164
- package/sale-offer/src/apis/ManageSaleOfferApi.d.ts +16 -16
- package/sale-offer/src/apis/ManageSaleOfferApi.js +173 -183
- package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +58 -53
- package/sale-offer/src/apis/SearchSaleOfferApi.js +162 -162
- package/sale-offer/src/apis/index.js +2 -0
- package/sale-offer/src/index.d.ts +2 -2
- package/sale-offer/src/index.js +4 -2
- package/sale-offer/src/models/AnyDistributionMode.d.ts +6 -5
- package/sale-offer/src/models/AnyDistributionMode.js +9 -23
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +6 -5
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +9 -23
- package/sale-offer/src/models/Barcodes.d.ts +5 -0
- package/sale-offer/src/models/Barcodes.js +19 -16
- package/sale-offer/src/models/DistributionMode.d.ts +8 -1
- package/sale-offer/src/models/DistributionMode.js +20 -10
- package/sale-offer/src/models/DistributionRange.d.ts +4 -0
- package/sale-offer/src/models/DistributionRange.js +20 -10
- package/sale-offer/src/models/HttpLink.d.ts +4 -0
- package/sale-offer/src/models/HttpLink.js +14 -8
- package/sale-offer/src/models/IdentifiedDistributionRange.d.ts +23 -2
- package/sale-offer/src/models/IdentifiedDistributionRange.js +35 -21
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.d.ts +27 -3
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +31 -21
- package/sale-offer/src/models/ImageVersions.d.ts +4 -0
- package/sale-offer/src/models/ImageVersions.js +24 -19
- package/sale-offer/src/models/Images.d.ts +5 -1
- package/sale-offer/src/models/Images.js +17 -14
- package/sale-offer/src/models/OwnerLink.d.ts +12 -3
- package/sale-offer/src/models/OwnerLink.js +25 -22
- package/sale-offer/src/models/OwnerLinkAllOfCompany.d.ts +4 -0
- package/sale-offer/src/models/OwnerLinkAllOfCompany.js +13 -10
- package/sale-offer/src/models/PaginatedObject.d.ts +5 -1
- package/sale-offer/src/models/PaginatedObject.js +15 -9
- package/sale-offer/src/models/PaginatedSaleOffers.d.ts +13 -3
- package/sale-offer/src/models/PaginatedSaleOffers.js +24 -21
- package/sale-offer/src/models/PagingMetadata.d.ts +4 -0
- package/sale-offer/src/models/PagingMetadata.js +23 -11
- package/sale-offer/src/models/ProductImageLink.d.ts +12 -3
- package/sale-offer/src/models/ProductImageLink.js +23 -22
- package/sale-offer/src/models/ProductLink.d.ts +12 -3
- package/sale-offer/src/models/ProductLink.js +25 -22
- package/sale-offer/src/models/QuotationDistributionMode.d.ts +26 -2
- package/sale-offer/src/models/QuotationDistributionMode.js +31 -21
- package/sale-offer/src/models/RangeDistributionMode.d.ts +27 -3
- package/sale-offer/src/models/RangeDistributionMode.js +31 -21
- package/sale-offer/src/models/RestError.d.ts +66 -58
- package/sale-offer/src/models/RestError.js +73 -67
- package/sale-offer/src/models/SaleOffer.d.ts +17 -11
- package/sale-offer/src/models/SaleOffer.js +78 -41
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.d.ts +4 -0
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +17 -14
- package/sale-offer/src/models/SaleOfferCreationParameters.d.ts +13 -4
- package/sale-offer/src/models/SaleOfferCreationParameters.js +28 -25
- package/sale-offer/src/models/SaleOfferJournal.d.ts +4 -0
- package/sale-offer/src/models/SaleOfferJournal.js +15 -9
- package/sale-offer/src/models/SaleOfferNewVersionParameters.d.ts +7 -3
- package/sale-offer/src/models/SaleOfferNewVersionParameters.js +22 -19
- package/sale-offer/src/models/SaleOfferStatisticLink.d.ts +14 -3
- package/sale-offer/src/models/SaleOfferStatisticLink.js +27 -22
- package/sale-offer/src/models/SaleOfferStatus.d.ts +11 -10
- package/sale-offer/src/models/SaleOfferStatus.js +21 -12
- package/sale-offer/src/models/SaleOfferStatusReason.d.ts +10 -9
- package/sale-offer/src/models/SaleOfferStatusReason.js +20 -11
- package/sale-offer/src/models/SaleOfferUpdateParameters.d.ts +13 -3
- package/sale-offer/src/models/SaleOfferUpdateParameters.js +15 -12
- package/sale-offer/src/models/SaleOfferUpdateParametersStock.d.ts +4 -0
- package/sale-offer/src/models/SaleOfferUpdateParametersStock.js +13 -10
- package/sale-offer/src/models/Stock.d.ts +4 -0
- package/sale-offer/src/models/Stock.js +17 -13
- package/sale-offer/src/models/UnitaryDistributionMode.d.ts +26 -2
- package/sale-offer/src/models/UnitaryDistributionMode.js +35 -21
- package/sale-offer/src/models/index.d.ts +0 -10
- package/sale-offer/src/models/index.js +2 -10
- package/sale-offer/src/runtime.d.ts +72 -31
- package/sale-offer/src/runtime.js +291 -164
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.d.ts +15 -13
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +52 -53
- package/sale-offer-log/src/apis/index.js +2 -0
- package/sale-offer-log/src/index.d.ts +2 -2
- package/sale-offer-log/src/index.js +4 -2
- package/sale-offer-log/src/models/AnySaleOfferLog.d.ts +2 -1
- package/sale-offer-log/src/models/AnySaleOfferLog.js +4 -18
- package/sale-offer-log/src/models/HttpLink.d.ts +4 -0
- package/sale-offer-log/src/models/HttpLink.js +14 -8
- package/sale-offer-log/src/models/Log.d.ts +4 -0
- package/sale-offer-log/src/models/Log.js +21 -11
- package/sale-offer-log/src/models/PaginatedObject.d.ts +5 -1
- package/sale-offer-log/src/models/PaginatedObject.js +15 -9
- package/sale-offer-log/src/models/PaginatedSaleOfferLogs.d.ts +13 -3
- package/sale-offer-log/src/models/PaginatedSaleOfferLogs.js +24 -21
- package/sale-offer-log/src/models/PagingMetadata.d.ts +4 -0
- package/sale-offer-log/src/models/PagingMetadata.js +23 -11
- package/sale-offer-log/src/models/SaleOfferLink.d.ts +11 -2
- package/sale-offer-log/src/models/SaleOfferLink.js +23 -21
- package/sale-offer-log/src/models/SaleOfferLog.d.ts +24 -3
- package/sale-offer-log/src/models/SaleOfferLog.js +35 -21
- package/sale-offer-log/src/models/index.d.ts +0 -3
- package/sale-offer-log/src/models/index.js +2 -3
- package/sale-offer-log/src/runtime.d.ts +72 -31
- package/sale-offer-log/src/runtime.js +291 -164
- package/servant/src/apis/ManageServantApi.d.ts +7 -5
- package/servant/src/apis/ManageServantApi.js +10 -8
- package/servant/src/apis/ManageTaskApi.d.ts +5 -5
- package/servant/src/apis/ManageTaskApi.js +27 -29
- package/servant/src/apis/SearchServantApi.d.ts +8 -6
- package/servant/src/apis/SearchServantApi.js +29 -29
- package/servant/src/apis/index.js +2 -0
- package/servant/src/index.d.ts +2 -2
- package/servant/src/index.js +4 -2
- package/servant/src/models/RestError.d.ts +66 -58
- package/servant/src/models/RestError.js +73 -67
- package/servant/src/models/Servant.d.ts +5 -1
- package/servant/src/models/Servant.js +26 -17
- package/servant/src/models/Task.d.ts +4 -0
- package/servant/src/models/Task.js +15 -12
- package/servant/src/models/index.js +2 -0
- package/servant/src/runtime.d.ts +72 -31
- package/servant/src/runtime.js +291 -164
- package/shipment/src/apis/ManageOrderCarriageApi.d.ts +6 -6
- package/shipment/src/apis/ManageOrderCarriageApi.js +33 -35
- package/shipment/src/apis/ManageShipmentApi.d.ts +8 -8
- package/shipment/src/apis/ManageShipmentApi.js +56 -60
- package/shipment/src/apis/SearchOrderCarriageApi.d.ts +21 -17
- package/shipment/src/apis/SearchOrderCarriageApi.js +74 -75
- package/shipment/src/apis/index.js +2 -0
- package/shipment/src/index.d.ts +2 -2
- package/shipment/src/index.js +4 -2
- package/shipment/src/models/CancelParcelResponse.d.ts +4 -0
- package/shipment/src/models/CancelParcelResponse.js +17 -14
- package/shipment/src/models/DeliveryStatus.d.ts +4 -0
- package/shipment/src/models/DeliveryStatus.js +15 -12
- package/shipment/src/models/HttpLink.d.ts +4 -0
- package/shipment/src/models/HttpLink.js +14 -8
- package/shipment/src/models/OrderCarriage.d.ts +6 -2
- package/shipment/src/models/OrderCarriage.js +18 -15
- package/shipment/src/models/OrderCarriageShipmentCreationParameters.d.ts +4 -0
- package/shipment/src/models/OrderCarriageShipmentCreationParameters.js +13 -10
- package/shipment/src/models/OrderLink.d.ts +11 -2
- package/shipment/src/models/OrderLink.js +21 -22
- package/shipment/src/models/PaginatedObject.d.ts +5 -1
- package/shipment/src/models/PaginatedObject.js +15 -9
- package/shipment/src/models/PaginatedOrderCarriages.d.ts +13 -3
- package/shipment/src/models/PaginatedOrderCarriages.js +24 -21
- package/shipment/src/models/PagingMetadata.d.ts +4 -0
- package/shipment/src/models/PagingMetadata.js +23 -11
- package/shipment/src/models/RestError.d.ts +66 -58
- package/shipment/src/models/RestError.js +73 -67
- package/shipment/src/models/Shipment.d.ts +7 -2
- package/shipment/src/models/Shipment.js +22 -19
- package/shipment/src/models/ShipmentCreationParameters.d.ts +4 -0
- package/shipment/src/models/ShipmentCreationParameters.js +25 -14
- package/shipment/src/models/ShipmentError.d.ts +11 -7
- package/shipment/src/models/ShipmentError.js +22 -19
- package/shipment/src/models/ShipmentLabels.d.ts +4 -0
- package/shipment/src/models/ShipmentLabels.js +15 -12
- package/shipment/src/models/ShipmentParcel.d.ts +12 -4
- package/shipment/src/models/ShipmentParcel.js +21 -18
- package/shipment/src/models/ShipmentParcelStatus.d.ts +7 -6
- package/shipment/src/models/ShipmentParcelStatus.js +17 -8
- package/shipment/src/models/SkybillLink.d.ts +11 -2
- package/shipment/src/models/SkybillLink.js +21 -22
- package/shipment/src/models/index.d.ts +0 -3
- package/shipment/src/models/index.js +2 -3
- package/shipment/src/runtime.d.ts +72 -31
- package/shipment/src/runtime.js +291 -164
- package/shopping-cart/src/apis/ManageCartApi.d.ts +8 -8
- package/shopping-cart/src/apis/ManageCartApi.js +50 -54
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +19 -19
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +88 -95
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.d.ts +14 -14
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +142 -152
- package/shopping-cart/src/apis/index.js +2 -0
- package/shopping-cart/src/index.d.ts +2 -2
- package/shopping-cart/src/index.js +4 -2
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.d.ts +6 -5
- package/shopping-cart/src/models/AnyIdentifiedDistributionMode.js +9 -23
- package/shopping-cart/src/models/Barcodes.d.ts +5 -0
- package/shopping-cart/src/models/Barcodes.js +19 -16
- package/shopping-cart/src/models/Cart.d.ts +5 -1
- package/shopping-cart/src/models/Cart.js +17 -14
- package/shopping-cart/src/models/CartSubCart.d.ts +7 -3
- package/shopping-cart/src/models/CartSubCart.js +39 -19
- package/shopping-cart/src/models/CartSubCartLine.d.ts +6 -2
- package/shopping-cart/src/models/CartSubCartLine.js +30 -17
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.d.ts +4 -0
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +16 -11
- package/shopping-cart/src/models/CartSubCartTransport.d.ts +4 -0
- package/shopping-cart/src/models/CartSubCartTransport.js +23 -11
- package/shopping-cart/src/models/DistributionMode.d.ts +8 -1
- package/shopping-cart/src/models/DistributionMode.js +20 -10
- package/shopping-cart/src/models/DistributionRange.d.ts +4 -0
- package/shopping-cart/src/models/DistributionRange.js +20 -10
- package/shopping-cart/src/models/HttpLink.d.ts +4 -0
- package/shopping-cart/src/models/HttpLink.js +14 -8
- package/shopping-cart/src/models/IdentifiedDistributionRange.d.ts +23 -2
- package/shopping-cart/src/models/IdentifiedDistributionRange.js +35 -21
- package/shopping-cart/src/models/IdentifiedRangeDistributionMode.d.ts +27 -3
- package/shopping-cart/src/models/IdentifiedRangeDistributionMode.js +31 -21
- package/shopping-cart/src/models/ProductLink.d.ts +13 -4
- package/shopping-cart/src/models/ProductLink.js +40 -22
- package/shopping-cart/src/models/ProductStorageType.d.ts +8 -7
- package/shopping-cart/src/models/ProductStorageType.js +18 -9
- package/shopping-cart/src/models/QuotationDistributionMode.d.ts +26 -2
- package/shopping-cart/src/models/QuotationDistributionMode.js +31 -21
- package/shopping-cart/src/models/RestError.d.ts +66 -58
- package/shopping-cart/src/models/RestError.js +73 -67
- package/shopping-cart/src/models/SaleOfferLink.d.ts +14 -5
- package/shopping-cart/src/models/SaleOfferLink.js +32 -23
- package/shopping-cart/src/models/SaleOfferStatus.d.ts +11 -10
- package/shopping-cart/src/models/SaleOfferStatus.js +21 -12
- package/shopping-cart/src/models/SellerLink.d.ts +12 -3
- package/shopping-cart/src/models/SellerLink.js +25 -22
- package/shopping-cart/src/models/ShoppedOffer.d.ts +4 -0
- package/shopping-cart/src/models/ShoppedOffer.js +19 -12
- package/shopping-cart/src/models/Stock.d.ts +4 -0
- package/shopping-cart/src/models/Stock.js +17 -13
- package/shopping-cart/src/models/UnitaryDistributionMode.d.ts +26 -2
- package/shopping-cart/src/models/UnitaryDistributionMode.js +35 -21
- package/shopping-cart/src/models/UserRole.d.ts +12 -11
- package/shopping-cart/src/models/UserRole.js +22 -13
- package/shopping-cart/src/models/index.d.ts +0 -7
- package/shopping-cart/src/models/index.js +2 -7
- package/shopping-cart/src/runtime.d.ts +72 -31
- package/shopping-cart/src/runtime.js +291 -164
- package/smuggler/index.d.ts +1 -0
- package/smuggler/index.js +17 -0
- package/smuggler/src/apis/ManageSmugglersApi.d.ts +27 -0
- package/{factory/src/apis/ManageAssemblyOperationApi.js → smuggler/src/apis/ManageSmugglersApi.js} +33 -71
- package/smuggler/src/apis/index.d.ts +1 -0
- package/smuggler/src/apis/index.js +19 -0
- package/smuggler/src/index.d.ts +3 -0
- package/smuggler/src/index.js +21 -0
- package/smuggler/src/models/RestError.d.ts +97 -0
- package/smuggler/src/models/RestError.js +107 -0
- package/smuggler/src/models/index.d.ts +1 -0
- package/smuggler/src/models/index.js +19 -0
- package/smuggler/src/runtime.d.ts +190 -0
- package/smuggler/src/runtime.js +607 -0
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +15 -15
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +70 -75
- package/statistic/src/apis/SearchUserStatisticsApi.d.ts +8 -8
- package/statistic/src/apis/SearchUserStatisticsApi.js +60 -63
- package/statistic/src/apis/index.js +2 -0
- package/statistic/src/index.d.ts +2 -2
- package/statistic/src/index.js +4 -2
- package/statistic/src/models/HttpLink.d.ts +4 -0
- package/statistic/src/models/HttpLink.js +14 -8
- package/statistic/src/models/PaginatedObject.d.ts +5 -1
- package/statistic/src/models/PaginatedObject.js +15 -9
- package/statistic/src/models/PaginatedSaleOfferStatistics.d.ts +13 -3
- package/statistic/src/models/PaginatedSaleOfferStatistics.js +24 -21
- package/statistic/src/models/PaginatedUserStatistics.d.ts +13 -3
- package/statistic/src/models/PaginatedUserStatistics.js +24 -21
- package/statistic/src/models/PagingMetadata.d.ts +4 -0
- package/statistic/src/models/PagingMetadata.js +23 -11
- package/statistic/src/models/RestError.d.ts +66 -58
- package/statistic/src/models/RestError.js +73 -67
- package/statistic/src/models/SaleOfferStatistic.d.ts +8 -2
- package/statistic/src/models/SaleOfferStatistic.js +25 -22
- package/statistic/src/models/UserLink.d.ts +11 -2
- package/statistic/src/models/UserLink.js +21 -22
- package/statistic/src/models/UserStatistic.d.ts +7 -2
- package/statistic/src/models/UserStatistic.js +27 -24
- package/statistic/src/models/index.d.ts +0 -3
- package/statistic/src/models/index.js +2 -3
- package/statistic/src/runtime.d.ts +72 -31
- package/statistic/src/runtime.js +291 -164
- package/subscription/src/apis/ManageSubscriptionApi.d.ts +10 -10
- package/subscription/src/apis/ManageSubscriptionApi.js +83 -89
- package/subscription/src/apis/ManageSubscriptionPlanApi.d.ts +6 -6
- package/subscription/src/apis/ManageSubscriptionPlanApi.js +33 -35
- package/subscription/src/apis/SearchSubscriptionApi.d.ts +19 -19
- package/subscription/src/apis/SearchSubscriptionApi.js +63 -67
- package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +15 -15
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +64 -69
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.d.ts +6 -6
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.js +27 -29
- package/subscription/src/apis/index.js +2 -0
- package/subscription/src/index.d.ts +2 -2
- package/subscription/src/index.js +4 -2
- package/subscription/src/models/HttpLink.d.ts +4 -0
- package/subscription/src/models/HttpLink.js +14 -8
- package/subscription/src/models/PaginatedObject.d.ts +5 -1
- package/subscription/src/models/PaginatedObject.js +15 -9
- package/subscription/src/models/PaginatedSubscriptions.d.ts +13 -3
- package/subscription/src/models/PaginatedSubscriptions.js +22 -22
- package/subscription/src/models/PagingMetadata.d.ts +4 -0
- package/subscription/src/models/PagingMetadata.js +23 -11
- package/subscription/src/models/RestError.d.ts +66 -58
- package/subscription/src/models/RestError.js +73 -67
- package/subscription/src/models/SubscriberLink.d.ts +11 -2
- package/subscription/src/models/SubscriberLink.js +21 -22
- package/subscription/src/models/Subscription.d.ts +6 -2
- package/subscription/src/models/Subscription.js +27 -23
- package/subscription/src/models/SubscriptionCreationParameters.d.ts +5 -1
- package/subscription/src/models/SubscriptionCreationParameters.js +21 -11
- package/subscription/src/models/SubscriptionPlan.d.ts +6 -2
- package/subscription/src/models/SubscriptionPlan.js +25 -22
- package/subscription/src/models/SubscriptionPlanFeature.d.ts +5 -1
- package/subscription/src/models/SubscriptionPlanFeature.js +17 -14
- package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +7 -6
- package/subscription/src/models/SubscriptionPlanFeatureId.js +17 -8
- package/subscription/src/models/SubscriptionPlanId.d.ts +7 -6
- package/subscription/src/models/SubscriptionPlanId.js +17 -8
- package/subscription/src/models/SubscriptionPlanLink.d.ts +12 -3
- package/subscription/src/models/SubscriptionPlanLink.js +21 -22
- package/subscription/src/models/SubscriptionPlanUpdateParameters.d.ts +5 -1
- package/subscription/src/models/SubscriptionPlanUpdateParameters.js +23 -20
- package/subscription/src/models/SubscriptionUpdateParameters.d.ts +5 -1
- package/subscription/src/models/SubscriptionUpdateParameters.js +23 -19
- package/subscription/src/models/index.d.ts +0 -3
- package/subscription/src/models/index.js +2 -3
- package/subscription/src/runtime.d.ts +72 -31
- package/subscription/src/runtime.js +291 -164
- package/third-party/src/apis/ManageThirdPartyLinkApi.d.ts +6 -6
- package/third-party/src/apis/ManageThirdPartyLinkApi.js +30 -32
- package/third-party/src/apis/index.js +2 -0
- package/third-party/src/index.d.ts +2 -2
- package/third-party/src/index.js +4 -2
- package/third-party/src/models/RestError.d.ts +66 -58
- package/third-party/src/models/RestError.js +73 -67
- package/third-party/src/models/ThirdPartyLink.d.ts +4 -0
- package/third-party/src/models/ThirdPartyLink.js +13 -10
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +12 -8
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +24 -18
- package/third-party/src/models/index.js +2 -0
- package/third-party/src/runtime.d.ts +72 -31
- package/third-party/src/runtime.js +291 -164
- package/thread/src/apis/ManageThreadCommentApi.d.ts +8 -8
- package/thread/src/apis/ManageThreadCommentApi.js +64 -68
- package/thread/src/apis/SearchThreadApi.d.ts +6 -6
- package/thread/src/apis/SearchThreadApi.js +30 -32
- package/thread/src/apis/SearchThreadCommentApi.d.ts +15 -15
- package/thread/src/apis/SearchThreadCommentApi.js +44 -48
- package/thread/src/apis/index.js +2 -0
- package/thread/src/index.d.ts +2 -2
- package/thread/src/index.js +4 -2
- package/thread/src/models/AuthorLink.d.ts +11 -2
- package/thread/src/models/AuthorLink.js +31 -21
- package/thread/src/models/Comment.d.ts +5 -1
- package/thread/src/models/Comment.js +21 -18
- package/thread/src/models/CommentCreationParameters.d.ts +11 -2
- package/thread/src/models/CommentCreationParameters.js +23 -21
- package/thread/src/models/CommentUpdateParameters.d.ts +4 -0
- package/thread/src/models/CommentUpdateParameters.js +14 -8
- package/thread/src/models/HttpLink.d.ts +4 -0
- package/thread/src/models/HttpLink.js +14 -8
- package/thread/src/models/PaginatedComments.d.ts +13 -3
- package/thread/src/models/PaginatedComments.js +24 -21
- package/thread/src/models/PaginatedObject.d.ts +5 -1
- package/thread/src/models/PaginatedObject.js +15 -9
- package/thread/src/models/PagingMetadata.d.ts +4 -0
- package/thread/src/models/PagingMetadata.js +23 -11
- package/thread/src/models/Thread.d.ts +5 -1
- package/thread/src/models/Thread.js +18 -10
- package/thread/src/models/ThreadLink.d.ts +11 -2
- package/thread/src/models/ThreadLink.js +23 -21
- package/thread/src/models/index.d.ts +0 -4
- package/thread/src/models/index.js +2 -4
- package/thread/src/runtime.d.ts +72 -31
- package/thread/src/runtime.js +291 -164
- package/ubo/src/apis/ManageUboDeclarationApi.d.ts +6 -6
- package/ubo/src/apis/ManageUboDeclarationApi.js +31 -33
- package/ubo/src/apis/SearchUboDeclarationApi.d.ts +6 -6
- package/ubo/src/apis/SearchUboDeclarationApi.js +30 -32
- package/ubo/src/apis/index.js +2 -0
- package/ubo/src/index.d.ts +2 -2
- package/ubo/src/index.js +4 -2
- package/ubo/src/models/Address.d.ts +5 -1
- package/ubo/src/models/Address.js +29 -16
- package/ubo/src/models/Country.d.ts +4 -0
- package/ubo/src/models/Country.js +17 -9
- package/ubo/src/models/RestError.d.ts +66 -58
- package/ubo/src/models/RestError.js +73 -67
- package/ubo/src/models/Ubo.d.ts +6 -2
- package/ubo/src/models/Ubo.js +35 -19
- package/ubo/src/models/UboDeclaration.d.ts +18 -14
- package/ubo/src/models/UboDeclaration.js +34 -33
- package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.d.ts +5 -1
- package/ubo/src/models/UboDeclarationCreationOrUpdateParameters.js +13 -10
- package/ubo/src/models/index.js +2 -0
- package/ubo/src/runtime.d.ts +72 -31
- package/ubo/src/runtime.js +291 -164
- package/user/src/apis/ManagePasswordApi.d.ts +8 -8
- package/user/src/apis/ManagePasswordApi.js +52 -55
- package/user/src/apis/ManageUserApi.d.ts +32 -24
- package/user/src/apis/ManageUserApi.js +233 -236
- package/user/src/apis/ManageUserBankAccountApi.d.ts +8 -8
- package/user/src/apis/ManageUserBankAccountApi.js +59 -63
- package/user/src/apis/ManageUserDocumentApi.d.ts +49 -45
- package/user/src/apis/ManageUserDocumentApi.js +135 -141
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.d.ts +12 -12
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +105 -113
- package/user/src/apis/ManageUserRestrictionApi.d.ts +20 -20
- package/user/src/apis/ManageUserRestrictionApi.js +205 -231
- package/user/src/apis/ManageUserRoleApi.d.ts +6 -6
- package/user/src/apis/ManageUserRoleApi.js +33 -35
- package/user/src/apis/ManageUserRuleApi.d.ts +8 -8
- package/user/src/apis/ManageUserRuleApi.js +59 -63
- package/user/src/apis/ManageUserSocialNetworksApi.d.ts +12 -8
- package/user/src/apis/ManageUserSocialNetworksApi.js +63 -63
- package/user/src/apis/ManageUserTransportApi.d.ts +6 -6
- package/user/src/apis/ManageUserTransportApi.js +33 -35
- package/user/src/apis/SearchUserApi.d.ts +47 -41
- package/user/src/apis/SearchUserApi.js +212 -219
- package/user/src/apis/SearchUserDocumentApi.d.ts +81 -73
- package/user/src/apis/SearchUserDocumentApi.js +253 -259
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.d.ts +8 -8
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +53 -57
- package/user/src/apis/SearchUserFeatureApi.d.ts +6 -6
- package/user/src/apis/SearchUserFeatureApi.js +27 -29
- package/user/src/apis/SearchUserRestrictionApi.d.ts +12 -12
- package/user/src/apis/SearchUserRestrictionApi.js +105 -113
- package/user/src/apis/SearchUserRuleApi.d.ts +6 -6
- package/user/src/apis/SearchUserRuleApi.js +30 -32
- package/user/src/apis/SearchUserSocialNetworksApi.d.ts +12 -8
- package/user/src/apis/SearchUserSocialNetworksApi.js +57 -57
- package/user/src/apis/SearchUserTransportApi.d.ts +8 -8
- package/user/src/apis/SearchUserTransportApi.js +53 -57
- package/user/src/apis/index.js +2 -0
- package/user/src/index.d.ts +2 -2
- package/user/src/index.js +4 -2
- package/user/src/models/Address.d.ts +4 -0
- package/user/src/models/Address.js +19 -16
- package/user/src/models/Gender.d.ts +6 -5
- package/user/src/models/Gender.js +16 -7
- package/user/src/models/HttpLink.d.ts +4 -0
- package/user/src/models/HttpLink.js +14 -8
- package/user/src/models/KycLevel.d.ts +6 -5
- package/user/src/models/KycLevel.js +16 -7
- package/user/src/models/MyPasswordUpdateParameters.d.ts +4 -0
- package/user/src/models/MyPasswordUpdateParameters.js +15 -12
- package/user/src/models/NotificationTypeId.d.ts +52 -51
- package/user/src/models/NotificationTypeId.js +62 -53
- package/user/src/models/NotificationTypeLink.d.ts +12 -3
- package/user/src/models/NotificationTypeLink.js +21 -22
- package/user/src/models/OffisanteStatus.d.ts +12 -7
- package/user/src/models/OffisanteStatus.js +22 -9
- package/user/src/models/PaginatedObject.d.ts +5 -1
- package/user/src/models/PaginatedObject.js +15 -9
- package/user/src/models/PaginatedUsers.d.ts +13 -3
- package/user/src/models/PaginatedUsers.js +22 -22
- package/user/src/models/PagingMetadata.d.ts +4 -0
- package/user/src/models/PagingMetadata.js +23 -11
- package/user/src/models/PasswordResetCompletionParameters.d.ts +4 -0
- package/user/src/models/PasswordResetCompletionParameters.js +14 -8
- package/user/src/models/PasswordResetCreationParameters.d.ts +4 -0
- package/user/src/models/PasswordResetCreationParameters.js +14 -8
- package/user/src/models/ProductTypeLink.d.ts +11 -2
- package/user/src/models/ProductTypeLink.js +23 -22
- package/user/src/models/RestError.d.ts +66 -58
- package/user/src/models/RestError.js +73 -67
- package/user/src/models/SomeonePasswordUpdateParameters.d.ts +4 -0
- package/user/src/models/SomeonePasswordUpdateParameters.js +13 -10
- package/user/src/models/ThreadLink.d.ts +11 -2
- package/user/src/models/ThreadLink.js +23 -21
- package/user/src/models/Transport.d.ts +7 -3
- package/user/src/models/Transport.js +26 -12
- package/user/src/models/User.d.ts +21 -15
- package/user/src/models/User.js +126 -104
- package/user/src/models/UserBankAccountCreationParameters.d.ts +4 -0
- package/user/src/models/UserBankAccountCreationParameters.js +15 -12
- package/user/src/models/UserBankAccountLink.d.ts +11 -2
- package/user/src/models/UserBankAccountLink.js +21 -22
- package/user/src/models/UserCompany.d.ts +8 -3
- package/user/src/models/UserCompany.js +41 -38
- package/user/src/models/UserCreationParameters.d.ts +5 -1
- package/user/src/models/UserCreationParameters.js +32 -16
- package/user/src/models/UserCustomCommissions.d.ts +4 -0
- package/user/src/models/UserCustomCommissions.js +15 -12
- package/user/src/models/UserCustomCommissionsUpdateParameters.d.ts +4 -0
- package/user/src/models/UserCustomCommissionsUpdateParameters.js +15 -12
- package/user/src/models/UserDelegatedServices.d.ts +14 -1
- package/user/src/models/UserDelegatedServices.js +17 -14
- package/user/src/models/UserDocument.d.ts +21 -17
- package/user/src/models/UserDocument.js +34 -32
- package/user/src/models/UserDocumentStatus.d.ts +9 -8
- package/user/src/models/UserDocumentStatus.js +19 -10
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.d.ts +4 -0
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.js +14 -8
- package/user/src/models/UserFavoriteLaboratoryStoreLink.d.ts +11 -2
- package/user/src/models/UserFavoriteLaboratoryStoreLink.js +21 -22
- package/user/src/models/UserFeature.d.ts +4 -0
- package/user/src/models/UserFeature.js +15 -12
- package/user/src/models/UserForbiddenSellerLink.d.ts +11 -2
- package/user/src/models/UserForbiddenSellerLink.js +21 -22
- package/user/src/models/UserJournal.d.ts +4 -0
- package/user/src/models/UserJournal.js +13 -10
- package/user/src/models/UserMangopayTarget.d.ts +11 -2
- package/user/src/models/UserMangopayTarget.js +21 -22
- package/user/src/models/UserRestrictedFeatureCreationParameter.d.ts +4 -0
- package/user/src/models/UserRestrictedFeatureCreationParameter.js +14 -8
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.d.ts +5 -1
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +15 -9
- package/user/src/models/UserRestrictedProductTypeCreationParameter.d.ts +4 -0
- package/user/src/models/UserRestrictedProductTypeCreationParameter.js +14 -8
- package/user/src/models/UserRole.d.ts +12 -11
- package/user/src/models/UserRole.js +22 -13
- package/user/src/models/UserRule.d.ts +7 -3
- package/user/src/models/UserRule.js +22 -19
- package/user/src/models/UserRuleActionEnum.d.ts +5 -4
- package/user/src/models/UserRuleActionEnum.js +15 -6
- package/user/src/models/UserRuleAttributeEnum.d.ts +6 -5
- package/user/src/models/UserRuleAttributeEnum.js +16 -7
- package/user/src/models/UserRuleComparatorEnum.d.ts +6 -5
- package/user/src/models/UserRuleComparatorEnum.js +16 -7
- package/user/src/models/UserRuleCreationParameters.d.ts +7 -3
- package/user/src/models/UserRuleCreationParameters.js +27 -15
- package/user/src/models/UserSocialNetwork.d.ts +4 -0
- package/user/src/models/UserSocialNetwork.js +25 -22
- package/user/src/models/UserStatisticLink.d.ts +11 -2
- package/user/src/models/UserStatisticLink.js +31 -22
- package/user/src/models/UserThreads.d.ts +5 -1
- package/user/src/models/UserThreads.js +13 -10
- package/user/src/models/UserUpdateParameters.d.ts +10 -6
- package/user/src/models/UserUpdateParameters.js +53 -49
- package/user/src/models/UserWalletLink.d.ts +11 -2
- package/user/src/models/UserWalletLink.js +21 -22
- package/user/src/models/UserWallets.d.ts +5 -1
- package/user/src/models/UserWallets.js +19 -16
- package/user/src/models/index.d.ts +0 -11
- package/user/src/models/index.js +2 -11
- package/user/src/runtime.d.ts +72 -31
- package/user/src/runtime.js +291 -164
- package/wish/src/apis/ManageWishApi.d.ts +10 -10
- package/wish/src/apis/ManageWishApi.js +79 -85
- package/wish/src/apis/SearchProductEnthusiasmApi.d.ts +21 -21
- package/wish/src/apis/SearchProductEnthusiasmApi.js +52 -55
- package/wish/src/apis/SearchWishApi.d.ts +23 -23
- package/wish/src/apis/SearchWishApi.js +94 -99
- package/wish/src/apis/index.js +2 -0
- package/wish/src/index.d.ts +2 -2
- package/wish/src/index.js +4 -2
- package/wish/src/models/Barcodes.d.ts +5 -0
- package/wish/src/models/Barcodes.js +19 -16
- package/wish/src/models/DesiredSellerLink.d.ts +12 -3
- package/wish/src/models/DesiredSellerLink.js +25 -22
- package/wish/src/models/HttpLink.d.ts +4 -0
- package/wish/src/models/HttpLink.js +14 -8
- package/wish/src/models/OwnerLink.d.ts +12 -3
- package/wish/src/models/OwnerLink.js +25 -22
- package/wish/src/models/OwnerLinkAllOfCompany.d.ts +4 -0
- package/wish/src/models/OwnerLinkAllOfCompany.js +13 -10
- package/wish/src/models/PaginatedObject.d.ts +5 -1
- package/wish/src/models/PaginatedObject.js +15 -9
- package/wish/src/models/PaginatedProductEnthusiasms.d.ts +13 -3
- package/wish/src/models/PaginatedProductEnthusiasms.js +24 -21
- package/wish/src/models/PaginatedWishes.d.ts +13 -3
- package/wish/src/models/PaginatedWishes.js +24 -21
- package/wish/src/models/PagingMetadata.d.ts +4 -0
- package/wish/src/models/PagingMetadata.js +23 -11
- package/wish/src/models/ProductEnthusiasm.d.ts +5 -1
- package/wish/src/models/ProductEnthusiasm.js +21 -18
- package/wish/src/models/ProductLink.d.ts +12 -3
- package/wish/src/models/ProductLink.js +25 -22
- package/wish/src/models/Referrer.d.ts +5 -1
- package/wish/src/models/Referrer.js +15 -12
- package/wish/src/models/RestError.d.ts +66 -58
- package/wish/src/models/RestError.js +73 -67
- package/wish/src/models/Wish.d.ts +8 -4
- package/wish/src/models/Wish.js +37 -33
- package/wish/src/models/WishCreationParameters.d.ts +5 -1
- package/wish/src/models/WishCreationParameters.js +29 -20
- package/wish/src/models/WishReferrerType.d.ts +6 -5
- package/wish/src/models/WishReferrerType.js +16 -7
- package/wish/src/models/WishStatus.d.ts +7 -6
- package/wish/src/models/WishStatus.js +17 -8
- package/wish/src/models/WishUpdateParameters.d.ts +5 -1
- package/wish/src/models/WishUpdateParameters.js +21 -18
- package/wish/src/models/index.d.ts +0 -5
- package/wish/src/models/index.js +2 -5
- package/wish/src/runtime.d.ts +72 -31
- package/wish/src/runtime.js +291 -164
- package/auth/src/models/AnonymousUserAllOf.d.ts +0 -33
- package/auth/src/models/AnonymousUserAllOf.js +0 -44
- package/auth/src/models/ApiKeyCredentialAllOf.d.ts +0 -27
- package/auth/src/models/ApiKeyCredentialAllOf.js +0 -41
- package/auth/src/models/DisposableCredentialAllOf.d.ts +0 -27
- package/auth/src/models/DisposableCredentialAllOf.js +0 -41
- package/auth/src/models/IdentifiedUserAllOf.d.ts +0 -27
- package/auth/src/models/IdentifiedUserAllOf.js +0 -42
- package/auth/src/models/LoginCredentialAllOf.d.ts +0 -33
- package/auth/src/models/LoginCredentialAllOf.js +0 -43
- package/auth/src/models/PaginatedApiKeysAllOf.d.ts +0 -28
- package/auth/src/models/PaginatedApiKeysAllOf.js +0 -42
- package/auth/src/models/RefreshCredentialAllOf.d.ts +0 -27
- package/auth/src/models/RefreshCredentialAllOf.js +0 -41
- package/auth/src/models/RevealedApiKeyAllOf.d.ts +0 -27
- package/auth/src/models/RevealedApiKeyAllOf.js +0 -42
- package/auth/src/models/UserLinkAllOf.d.ts +0 -40
- package/auth/src/models/UserLinkAllOf.js +0 -47
- package/banking-operation/src/models/OrderLinkAllOf.d.ts +0 -27
- package/banking-operation/src/models/OrderLinkAllOf.js +0 -42
- package/banking-operation/src/models/PaginatedLeviesAllOf.d.ts +0 -28
- package/banking-operation/src/models/PaginatedLeviesAllOf.js +0 -42
- package/banking-operation/src/models/PaginatedOrderPaymentsAllOf.d.ts +0 -28
- package/banking-operation/src/models/PaginatedOrderPaymentsAllOf.js +0 -42
- package/banking-operation/src/models/TransactionMangopayTargetAllOf.d.ts +0 -27
- package/banking-operation/src/models/TransactionMangopayTargetAllOf.js +0 -42
- package/banking-operation/src/models/UserLinkAllOf.d.ts +0 -40
- package/banking-operation/src/models/UserLinkAllOf.js +0 -47
- package/banking-operation/src/models/WalletMangopayTargetAllOf.d.ts +0 -27
- package/banking-operation/src/models/WalletMangopayTargetAllOf.js +0 -42
- package/catalog/src/models/LaboratoryLinkAllOf.d.ts +0 -33
- package/catalog/src/models/LaboratoryLinkAllOf.js +0 -44
- package/catalog/src/models/PaginatedProductInsightsAllOf.d.ts +0 -28
- package/catalog/src/models/PaginatedProductInsightsAllOf.js +0 -42
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.js +0 -44
- package/catalog/src/models/ProductTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductTypeLinkAllOf.js +0 -44
- package/catalog/src/models/VatLinkAllOf.d.ts +0 -39
- package/catalog/src/models/VatLinkAllOf.js +0 -46
- package/factory/src/apis/ManageAssemblyOperationApi.d.ts +0 -30
- package/factory/src/apis/SearchAssemblyLineApi.d.ts +0 -37
- package/factory/src/apis/SearchAssemblyLineApi.js +0 -239
- package/factory/src/apis/SearchAssemblyOperationApi.d.ts +0 -41
- package/factory/src/apis/SearchAssemblyOperationApi.js +0 -245
- package/factory/src/models/AssemblyLine.d.ts +0 -39
- package/factory/src/models/AssemblyLine.js +0 -46
- package/factory/src/models/AssemblyLineLink.d.ts +0 -28
- package/factory/src/models/AssemblyLineLink.js +0 -50
- package/factory/src/models/AssemblyLineLinkAllOf.d.ts +0 -27
- package/factory/src/models/AssemblyLineLinkAllOf.js +0 -42
- package/factory/src/models/AssemblyOperation.d.ts +0 -41
- package/factory/src/models/AssemblyOperation.js +0 -48
- package/factory/src/models/AssemblyOperationStatus.d.ts +0 -25
- package/factory/src/models/AssemblyOperationStatus.js +0 -40
- package/factory/src/models/AssemblyOperationType.d.ts +0 -25
- package/factory/src/models/AssemblyOperationType.js +0 -40
- package/factory/src/models/PaginatedAssembliesAllOf.d.ts +0 -28
- package/factory/src/models/PaginatedAssembliesAllOf.js +0 -43
- package/factory/src/models/UserLinkAllOf.d.ts +0 -27
- package/factory/src/models/UserLinkAllOf.js +0 -42
- package/favorite/src/models/PaginatedFavoriteProductsAllOf.d.ts +0 -28
- package/favorite/src/models/PaginatedFavoriteProductsAllOf.js +0 -42
- package/favorite/src/models/ProductLinkAllOf.d.ts +0 -47
- package/favorite/src/models/ProductLinkAllOf.js +0 -50
- package/favorite/src/models/UserLinkAllOf.d.ts +0 -27
- package/favorite/src/models/UserLinkAllOf.js +0 -41
- package/inventory/src/models/PaginatedActiveProductsAllOf.d.ts +0 -28
- package/inventory/src/models/PaginatedActiveProductsAllOf.js +0 -42
- package/inventory/src/models/PaginatedMisalignedProductsAllOf.d.ts +0 -28
- package/inventory/src/models/PaginatedMisalignedProductsAllOf.js +0 -42
- package/inventory/src/models/PaginatedOverstockProductsAllOf.d.ts +0 -28
- package/inventory/src/models/PaginatedOverstockProductsAllOf.js +0 -42
- package/inventory/src/models/ProductLinkAllOf.d.ts +0 -40
- package/inventory/src/models/ProductLinkAllOf.js +0 -47
- package/inventory/src/models/Synchroneity.d.ts +0 -28
- package/inventory/src/models/Synchroneity.js +0 -43
- package/inventory/src/models/SynchroneityOffisante.d.ts +0 -34
- package/inventory/src/models/SynchroneityOffisante.js +0 -45
- package/inventory/src/models/SynchroneitySource.d.ts +0 -33
- package/inventory/src/models/SynchroneitySource.js +0 -44
- package/invoice/src/models/OrderLinkAllOf.d.ts +0 -33
- package/invoice/src/models/OrderLinkAllOf.js +0 -44
- package/invoice/src/models/PaginatedInvoicesAllOf.d.ts +0 -28
- package/invoice/src/models/PaginatedInvoicesAllOf.js +0 -42
- package/invoice/src/models/PaginatedOrderTalliesAllOf.d.ts +0 -28
- package/invoice/src/models/PaginatedOrderTalliesAllOf.js +0 -42
- package/invoice/src/models/PaginatedPlannedInvoiceLineAllOf.d.ts +0 -28
- package/invoice/src/models/PaginatedPlannedInvoiceLineAllOf.js +0 -42
- package/invoice/src/models/UserLinkAllOf.d.ts +0 -40
- package/invoice/src/models/UserLinkAllOf.js +0 -47
- package/laboratory/src/models/PaginatedLaboratoriesAllOf.d.ts +0 -28
- package/laboratory/src/models/PaginatedLaboratoriesAllOf.js +0 -42
- package/laboratory-store/src/models/ImageCreationParameters.d.ts +0 -28
- package/laboratory-store/src/models/ImageCreationParameters.js +0 -41
- package/laboratory-store/src/models/OwnerLinkAllOf.d.ts +0 -33
- package/laboratory-store/src/models/OwnerLinkAllOf.js +0 -44
- package/laboratory-store/src/models/PaginatedLaboratoryStoresAllOf.d.ts +0 -28
- package/laboratory-store/src/models/PaginatedLaboratoryStoresAllOf.js +0 -43
- package/laboratory-store-log/src/models/LaboratoryStoreLinkAllOf.d.ts +0 -27
- package/laboratory-store-log/src/models/LaboratoryStoreLinkAllOf.js +0 -41
- package/laboratory-store-log/src/models/LaboratoryStoreLogAllOf.d.ts +0 -34
- package/laboratory-store-log/src/models/LaboratoryStoreLogAllOf.js +0 -44
- package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogsAllOf.d.ts +0 -28
- package/laboratory-store-log/src/models/PaginatedLaboratoryStoreLogsAllOf.js +0 -42
- package/lexicon/src/models/PaginatedTagsAllOf.d.ts +0 -28
- package/lexicon/src/models/PaginatedTagsAllOf.js +0 -42
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -47
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -49
- package/magic-cart/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
- package/magic-cart/src/models/QuotationDistributionModeAllOf.js +0 -41
- package/magic-cart/src/models/SaleOfferLinkAllOf.d.ts +0 -47
- package/magic-cart/src/models/SaleOfferLinkAllOf.js +0 -50
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/magic-cart/src/models/UserLinkAllOf.d.ts +0 -33
- package/magic-cart/src/models/UserLinkAllOf.js +0 -43
- package/mandate/src/models/MandateChallengeAllOf.d.ts +0 -27
- package/mandate/src/models/MandateChallengeAllOf.js +0 -41
- package/message/src/models/PaginatedMessagesAllOf.d.ts +0 -28
- package/message/src/models/PaginatedMessagesAllOf.js +0 -42
- package/message/src/models/ViewerLinkAllOf.d.ts +0 -33
- package/message/src/models/ViewerLinkAllOf.js +0 -43
- package/notification/src/models/NotificationTypeAttachmentCreationParameters.d.ts +0 -28
- package/notification/src/models/NotificationTypeAttachmentCreationParameters.js +0 -42
- package/notification/src/models/PaginatedNotificationTypesAllOf.d.ts +0 -28
- package/notification/src/models/PaginatedNotificationTypesAllOf.js +0 -43
- package/notification/src/models/PaginatedNotificationsAllOf.d.ts +0 -28
- package/notification/src/models/PaginatedNotificationsAllOf.js +0 -43
- package/order/src/models/FreeCarriageCouponOwnerLinkAllOf.d.ts +0 -27
- package/order/src/models/FreeCarriageCouponOwnerLinkAllOf.js +0 -41
- package/order/src/models/OrderItemWarningAllOf.d.ts +0 -62
- package/order/src/models/OrderItemWarningAllOf.js +0 -62
- package/order/src/models/OrderWarningAllOf.d.ts +0 -41
- package/order/src/models/OrderWarningAllOf.js +0 -52
- package/order/src/models/PaginatedFreeCarriageCouponsAllOf.d.ts +0 -28
- package/order/src/models/PaginatedFreeCarriageCouponsAllOf.js +0 -42
- package/order/src/models/PaginatedOrdersAllOf.d.ts +0 -28
- package/order/src/models/PaginatedOrdersAllOf.js +0 -42
- package/order/src/models/ProductLinkAllOf.d.ts +0 -47
- package/order/src/models/ProductLinkAllOf.js +0 -50
- package/order/src/models/SaleOfferLinkAllOf.d.ts +0 -27
- package/order/src/models/SaleOfferLinkAllOf.js +0 -41
- package/order/src/models/ThreadLinkAllOf.d.ts +0 -27
- package/order/src/models/ThreadLinkAllOf.js +0 -41
- package/order/src/models/UserLinkAllOf.d.ts +0 -64
- package/order/src/models/UserLinkAllOf.js +0 -55
- package/order-log/src/models/OrderLinkAllOf.d.ts +0 -27
- package/order-log/src/models/OrderLinkAllOf.js +0 -41
- package/order-log/src/models/OrderLogAllOf.d.ts +0 -53
- package/order-log/src/models/OrderLogAllOf.js +0 -51
- package/order-log/src/models/PaginatedOrderLogsAllOf.d.ts +0 -28
- package/order-log/src/models/PaginatedOrderLogsAllOf.js +0 -42
- package/outrage-message/src/models/PaginatedOutrageMessagesAllOf.d.ts +0 -28
- package/outrage-message/src/models/PaginatedOutrageMessagesAllOf.js +0 -43
- package/product/src/models/ImageCreationParameters.d.ts +0 -28
- package/product/src/models/ImageCreationParameters.js +0 -42
- package/product/src/models/LaboratoryLinkAllOf.d.ts +0 -33
- package/product/src/models/LaboratoryLinkAllOf.js +0 -44
- package/product/src/models/PaginatedProductProscriptionsAllOf.d.ts +0 -28
- package/product/src/models/PaginatedProductProscriptionsAllOf.js +0 -42
- package/product/src/models/PaginatedProductsAllOf.d.ts +0 -28
- package/product/src/models/PaginatedProductsAllOf.js +0 -42
- package/pub/src/models/PaginatedPubStatisticsAllOf.d.ts +0 -28
- package/pub/src/models/PaginatedPubStatisticsAllOf.js +0 -42
- package/pub/src/models/PaginatedPubsAllOf.d.ts +0 -28
- package/pub/src/models/PaginatedPubsAllOf.js +0 -42
- package/pub/src/models/PubImageParameters.d.ts +0 -28
- package/pub/src/models/PubImageParameters.js +0 -42
- package/pub/src/models/UserLinkAllOf.d.ts +0 -40
- package/pub/src/models/UserLinkAllOf.js +0 -47
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
- package/recommendation/src/models/PaginatedProductPriceRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedProductPriceRecommendationsAllOf.js +0 -42
- package/recommendation/src/models/PaginatedProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedProductRecommendationsAllOf.js +0 -42
- package/recommendation/src/models/ProductLinkAllOf.d.ts +0 -27
- package/recommendation/src/models/ProductLinkAllOf.js +0 -42
- package/recommendation/src/models/UserLinkAllOf.d.ts +0 -27
- package/recommendation/src/models/UserLinkAllOf.js +0 -42
- package/rfx/src/models/OrderLinkAllOf.d.ts +0 -27
- package/rfx/src/models/OrderLinkAllOf.js +0 -42
- package/rfx/src/models/PaginatedRfoisAllOf.d.ts +0 -28
- package/rfx/src/models/PaginatedRfoisAllOf.js +0 -42
- package/rfx/src/models/UserLinkAllOf.d.ts +0 -40
- package/rfx/src/models/UserLinkAllOf.js +0 -47
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/sale-offer/src/models/OwnerLinkAllOf.d.ts +0 -40
- package/sale-offer/src/models/OwnerLinkAllOf.js +0 -47
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.d.ts +0 -28
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.js +0 -42
- package/sale-offer/src/models/ProductImageLinkAllOf.d.ts +0 -34
- package/sale-offer/src/models/ProductImageLinkAllOf.js +0 -45
- package/sale-offer/src/models/ProductLinkAllOf.d.ts +0 -40
- package/sale-offer/src/models/ProductLinkAllOf.js +0 -47
- package/sale-offer/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
- package/sale-offer/src/models/QuotationDistributionModeAllOf.js +0 -41
- package/sale-offer/src/models/RangeDistributionModeAllOf.d.ts +0 -28
- package/sale-offer/src/models/RangeDistributionModeAllOf.js +0 -42
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.d.ts +0 -45
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.js +0 -48
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/sale-offer-log/src/models/PaginatedSaleOfferLogsAllOf.d.ts +0 -28
- package/sale-offer-log/src/models/PaginatedSaleOfferLogsAllOf.js +0 -42
- package/sale-offer-log/src/models/SaleOfferLinkAllOf.d.ts +0 -27
- package/sale-offer-log/src/models/SaleOfferLinkAllOf.js +0 -41
- package/sale-offer-log/src/models/SaleOfferLogAllOf.d.ts +0 -34
- package/sale-offer-log/src/models/SaleOfferLogAllOf.js +0 -44
- package/shipment/src/models/OrderLinkAllOf.d.ts +0 -27
- package/shipment/src/models/OrderLinkAllOf.js +0 -42
- package/shipment/src/models/PaginatedOrderCarriagesAllOf.d.ts +0 -28
- package/shipment/src/models/PaginatedOrderCarriagesAllOf.js +0 -42
- package/shipment/src/models/SkybillLinkAllOf.d.ts +0 -27
- package/shipment/src/models/SkybillLinkAllOf.js +0 -42
- package/shopping-cart/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/shopping-cart/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/shopping-cart/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/shopping-cart/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/shopping-cart/src/models/ProductLinkAllOf.d.ts +0 -53
- package/shopping-cart/src/models/ProductLinkAllOf.js +0 -51
- package/shopping-cart/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
- package/shopping-cart/src/models/QuotationDistributionModeAllOf.js +0 -41
- package/shopping-cart/src/models/SaleOfferLinkAllOf.d.ts +0 -54
- package/shopping-cart/src/models/SaleOfferLinkAllOf.js +0 -53
- package/shopping-cart/src/models/SellerLinkAllOf.d.ts +0 -40
- package/shopping-cart/src/models/SellerLinkAllOf.js +0 -47
- package/shopping-cart/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/shopping-cart/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/statistic/src/models/PaginatedSaleOfferStatisticsAllOf.d.ts +0 -28
- package/statistic/src/models/PaginatedSaleOfferStatisticsAllOf.js +0 -42
- package/statistic/src/models/PaginatedUserStatisticsAllOf.d.ts +0 -28
- package/statistic/src/models/PaginatedUserStatisticsAllOf.js +0 -42
- package/statistic/src/models/UserLinkAllOf.d.ts +0 -27
- package/statistic/src/models/UserLinkAllOf.js +0 -42
- package/subscription/src/models/PaginatedSubscriptionsAllOf.d.ts +0 -28
- package/subscription/src/models/PaginatedSubscriptionsAllOf.js +0 -43
- package/subscription/src/models/SubscriberLinkAllOf.d.ts +0 -27
- package/subscription/src/models/SubscriberLinkAllOf.js +0 -42
- package/subscription/src/models/SubscriptionPlanLinkAllOf.d.ts +0 -28
- package/subscription/src/models/SubscriptionPlanLinkAllOf.js +0 -43
- package/thread/src/models/AuthorLinkAllOf.d.ts +0 -39
- package/thread/src/models/AuthorLinkAllOf.js +0 -45
- package/thread/src/models/CommentCreationParametersAllOf.d.ts +0 -27
- package/thread/src/models/CommentCreationParametersAllOf.js +0 -41
- package/thread/src/models/PaginatedCommentsAllOf.d.ts +0 -28
- package/thread/src/models/PaginatedCommentsAllOf.js +0 -42
- package/thread/src/models/ThreadLinkAllOf.d.ts +0 -27
- package/thread/src/models/ThreadLinkAllOf.js +0 -41
- package/user/src/models/NotificationTypeLinkAllOf.d.ts +0 -28
- package/user/src/models/NotificationTypeLinkAllOf.js +0 -43
- package/user/src/models/PaginatedUsersAllOf.d.ts +0 -28
- package/user/src/models/PaginatedUsersAllOf.js +0 -43
- package/user/src/models/ProductTypeLinkAllOf.d.ts +0 -33
- package/user/src/models/ProductTypeLinkAllOf.js +0 -44
- package/user/src/models/ThreadLinkAllOf.d.ts +0 -27
- package/user/src/models/ThreadLinkAllOf.js +0 -41
- package/user/src/models/UserBankAccountLinkAllOf.d.ts +0 -27
- package/user/src/models/UserBankAccountLinkAllOf.js +0 -42
- package/user/src/models/UserDocumentCreationParameters.d.ts +0 -28
- package/user/src/models/UserDocumentCreationParameters.js +0 -42
- package/user/src/models/UserFavoriteLaboratoryStoreLinkAllOf.d.ts +0 -27
- package/user/src/models/UserFavoriteLaboratoryStoreLinkAllOf.js +0 -42
- package/user/src/models/UserForbiddenSellerLinkAllOf.d.ts +0 -27
- package/user/src/models/UserForbiddenSellerLinkAllOf.js +0 -42
- package/user/src/models/UserMangopayTargetAllOf.d.ts +0 -27
- package/user/src/models/UserMangopayTargetAllOf.js +0 -42
- package/user/src/models/UserStatisticLinkAllOf.d.ts +0 -57
- package/user/src/models/UserStatisticLinkAllOf.js +0 -52
- package/user/src/models/UserWalletLinkAllOf.d.ts +0 -27
- package/user/src/models/UserWalletLinkAllOf.js +0 -42
- package/wish/src/models/DesiredSellerLinkAllOf.d.ts +0 -40
- package/wish/src/models/DesiredSellerLinkAllOf.js +0 -47
- package/wish/src/models/OwnerLinkAllOf.d.ts +0 -40
- package/wish/src/models/OwnerLinkAllOf.js +0 -47
- package/wish/src/models/PaginatedProductEnthusiasmsAllOf.d.ts +0 -28
- package/wish/src/models/PaginatedProductEnthusiasmsAllOf.js +0 -42
- package/wish/src/models/PaginatedWishesAllOf.d.ts +0 -28
- package/wish/src/models/PaginatedWishesAllOf.js +0 -42
- package/wish/src/models/ProductLinkAllOf.d.ts +0 -40
- package/wish/src/models/ProductLinkAllOf.js +0 -47
|
@@ -65,10 +65,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.ManageOrderApi = void 0;
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
*/
|
|
73
73
|
var ManageOrderApi = /** @class */ (function (_super) {
|
|
74
74
|
__extends(ManageOrderApi, _super);
|
|
@@ -79,63 +79,61 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
79
79
|
* Create a new order. *IMPORTANT NOTE : As for the moment, this route can only create order from another one (clone). In order to create new order from shopping cart, please use \"meta-order\" creation.
|
|
80
80
|
* Create a new order
|
|
81
81
|
*/
|
|
82
|
-
ManageOrderApi.prototype.createOrderRaw = function (requestParameters) {
|
|
82
|
+
ManageOrderApi.prototype.createOrderRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_1;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
|
-
if (requestParameters
|
|
89
|
-
throw new
|
|
88
|
+
if (requestParameters['from'] == null) {
|
|
89
|
+
throw new runtime.RequiredError('from', 'Required parameter "from" was null or undefined when calling createOrder().');
|
|
90
90
|
}
|
|
91
91
|
queryParameters = {};
|
|
92
|
-
if (requestParameters
|
|
93
|
-
queryParameters['from'] = requestParameters
|
|
92
|
+
if (requestParameters['from'] != null) {
|
|
93
|
+
queryParameters['from'] = requestParameters['from'];
|
|
94
94
|
}
|
|
95
95
|
headerParameters = {};
|
|
96
|
-
if (this.configuration && this.configuration.apiKey)
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
97
|
+
_a = headerParameters;
|
|
98
|
+
_b = "x-api-key";
|
|
99
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
100
|
+
case 1:
|
|
101
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
102
|
+
_c.label = 2;
|
|
103
|
+
case 2:
|
|
99
104
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
100
105
|
token = this.configuration.accessToken;
|
|
101
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
102
106
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
103
|
-
case 1:
|
|
104
|
-
_a = _b.sent();
|
|
105
|
-
return [3 /*break*/, 3];
|
|
106
|
-
case 2:
|
|
107
|
-
_a = token;
|
|
108
|
-
_b.label = 3;
|
|
109
107
|
case 3:
|
|
110
|
-
tokenString =
|
|
108
|
+
tokenString = _c.sent();
|
|
111
109
|
if (tokenString) {
|
|
112
110
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
113
111
|
}
|
|
114
|
-
|
|
112
|
+
_c.label = 4;
|
|
115
113
|
case 4:
|
|
116
|
-
|
|
114
|
+
_c.trys.push([4, 6, , 7]);
|
|
117
115
|
return [4 /*yield*/, this.request({
|
|
118
116
|
path: "/orders",
|
|
119
117
|
method: 'POST',
|
|
120
118
|
headers: headerParameters,
|
|
121
119
|
query: queryParameters,
|
|
122
|
-
})];
|
|
120
|
+
}, initOverrides)];
|
|
123
121
|
case 5:
|
|
124
|
-
response =
|
|
122
|
+
response = _c.sent();
|
|
125
123
|
contentType = response.headers.get("content-type");
|
|
126
124
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
127
|
-
return [2 /*return*/, new
|
|
125
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.OrderFromJSON)(jsonValue); })];
|
|
128
126
|
}
|
|
129
127
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
130
|
-
return [2 /*return*/, new
|
|
128
|
+
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
131
129
|
}
|
|
132
130
|
else {
|
|
133
131
|
// TODO : Better handling of others application types
|
|
134
|
-
return [2 /*return*/, new
|
|
132
|
+
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
135
133
|
}
|
|
136
134
|
return [3 /*break*/, 7];
|
|
137
135
|
case 6:
|
|
138
|
-
response_1 =
|
|
136
|
+
response_1 = _c.sent();
|
|
139
137
|
console.debug(response_1);
|
|
140
138
|
throw response_1;
|
|
141
139
|
case 7: return [2 /*return*/];
|
|
@@ -147,12 +145,12 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
147
145
|
* Create a new order. *IMPORTANT NOTE : As for the moment, this route can only create order from another one (clone). In order to create new order from shopping cart, please use \"meta-order\" creation.
|
|
148
146
|
* Create a new order
|
|
149
147
|
*/
|
|
150
|
-
ManageOrderApi.prototype.createOrder = function (requestParameters) {
|
|
148
|
+
ManageOrderApi.prototype.createOrder = function (requestParameters, initOverrides) {
|
|
151
149
|
return __awaiter(this, void 0, void 0, function () {
|
|
152
150
|
var response;
|
|
153
151
|
return __generator(this, function (_a) {
|
|
154
152
|
switch (_a.label) {
|
|
155
|
-
case 0: return [4 /*yield*/, this.createOrderRaw(requestParameters)];
|
|
153
|
+
case 0: return [4 /*yield*/, this.createOrderRaw(requestParameters, initOverrides)];
|
|
156
154
|
case 1:
|
|
157
155
|
response = _a.sent();
|
|
158
156
|
return [4 /*yield*/, response.value()];
|
|
@@ -165,57 +163,55 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
165
163
|
* Set the accepted flag for order identified by OrderId. # Preconditions : ## Common - \'paused\' property is false - \'accepted\' property is false (Limitation that may be removed in the future) - Status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) ## As seller - Status in (WAITING_FOR_SELLER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY) ## As buyer - Status in (WAITING_FOR_BUYER_ACCEPTANCE, BUYER_ACCEPTANCE_DELAY) ## As admin - No additional
|
|
166
164
|
* Set order accepted flag
|
|
167
165
|
*/
|
|
168
|
-
ManageOrderApi.prototype.setOrderAcceptedRaw = function (requestParameters) {
|
|
166
|
+
ManageOrderApi.prototype.setOrderAcceptedRaw = function (requestParameters, initOverrides) {
|
|
169
167
|
return __awaiter(this, void 0, void 0, function () {
|
|
170
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
171
|
-
return __generator(this, function (
|
|
172
|
-
switch (
|
|
168
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_2;
|
|
169
|
+
return __generator(this, function (_c) {
|
|
170
|
+
switch (_c.label) {
|
|
173
171
|
case 0:
|
|
174
|
-
if (requestParameters
|
|
175
|
-
throw new
|
|
172
|
+
if (requestParameters['orderReference'] == null) {
|
|
173
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling setOrderAccepted().');
|
|
176
174
|
}
|
|
177
|
-
if (requestParameters
|
|
178
|
-
throw new
|
|
175
|
+
if (requestParameters['body'] == null) {
|
|
176
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling setOrderAccepted().');
|
|
179
177
|
}
|
|
180
178
|
queryParameters = {};
|
|
181
179
|
headerParameters = {};
|
|
182
180
|
headerParameters['Content-Type'] = 'application/json';
|
|
183
|
-
if (requestParameters
|
|
184
|
-
headerParameters['If-Match'] = String(requestParameters
|
|
185
|
-
}
|
|
186
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
187
|
-
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
181
|
+
if (requestParameters['ifMatch'] != null) {
|
|
182
|
+
headerParameters['If-Match'] = String(requestParameters['ifMatch']);
|
|
188
183
|
}
|
|
184
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
185
|
+
_a = headerParameters;
|
|
186
|
+
_b = "x-api-key";
|
|
187
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
188
|
+
case 1:
|
|
189
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
190
|
+
_c.label = 2;
|
|
191
|
+
case 2:
|
|
189
192
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
190
193
|
token = this.configuration.accessToken;
|
|
191
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
192
194
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
193
|
-
case 1:
|
|
194
|
-
_a = _b.sent();
|
|
195
|
-
return [3 /*break*/, 3];
|
|
196
|
-
case 2:
|
|
197
|
-
_a = token;
|
|
198
|
-
_b.label = 3;
|
|
199
195
|
case 3:
|
|
200
|
-
tokenString =
|
|
196
|
+
tokenString = _c.sent();
|
|
201
197
|
if (tokenString) {
|
|
202
198
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
203
199
|
}
|
|
204
|
-
|
|
200
|
+
_c.label = 4;
|
|
205
201
|
case 4:
|
|
206
|
-
|
|
202
|
+
_c.trys.push([4, 6, , 7]);
|
|
207
203
|
return [4 /*yield*/, this.request({
|
|
208
|
-
path: "/orders/{orderReference}/accepted".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
204
|
+
path: "/orders/{orderReference}/accepted".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
209
205
|
method: 'PUT',
|
|
210
206
|
headers: headerParameters,
|
|
211
207
|
query: queryParameters,
|
|
212
|
-
body: requestParameters
|
|
213
|
-
})];
|
|
208
|
+
body: requestParameters['body'],
|
|
209
|
+
}, initOverrides)];
|
|
214
210
|
case 5:
|
|
215
|
-
response =
|
|
216
|
-
return [2 /*return*/, new
|
|
211
|
+
response = _c.sent();
|
|
212
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
217
213
|
case 6:
|
|
218
|
-
response_2 =
|
|
214
|
+
response_2 = _c.sent();
|
|
219
215
|
console.debug(response_2);
|
|
220
216
|
throw response_2;
|
|
221
217
|
case 7: return [2 /*return*/];
|
|
@@ -227,11 +223,11 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
227
223
|
* Set the accepted flag for order identified by OrderId. # Preconditions : ## Common - \'paused\' property is false - \'accepted\' property is false (Limitation that may be removed in the future) - Status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) ## As seller - Status in (WAITING_FOR_SELLER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY) ## As buyer - Status in (WAITING_FOR_BUYER_ACCEPTANCE, BUYER_ACCEPTANCE_DELAY) ## As admin - No additional
|
|
228
224
|
* Set order accepted flag
|
|
229
225
|
*/
|
|
230
|
-
ManageOrderApi.prototype.setOrderAccepted = function (requestParameters) {
|
|
226
|
+
ManageOrderApi.prototype.setOrderAccepted = function (requestParameters, initOverrides) {
|
|
231
227
|
return __awaiter(this, void 0, void 0, function () {
|
|
232
228
|
return __generator(this, function (_a) {
|
|
233
229
|
switch (_a.label) {
|
|
234
|
-
case 0: return [4 /*yield*/, this.setOrderAcceptedRaw(requestParameters)];
|
|
230
|
+
case 0: return [4 /*yield*/, this.setOrderAcceptedRaw(requestParameters, initOverrides)];
|
|
235
231
|
case 1:
|
|
236
232
|
_a.sent();
|
|
237
233
|
return [2 /*return*/];
|
|
@@ -243,54 +239,52 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
243
239
|
* Set the deliveryConfirmed flag for order identified by OrderId. # Preconditions : - \'paused\' property is false - Status in (DELIVERY_ONGOING, DELIVERY_LATE, WAITING_FOR_VALIDATION, WAITING_FOR_ADMIN_VALIDATION) - \'deliveryConfirmed\' property is false (Limitation that may be removed in the future) - You are the BUYER
|
|
244
240
|
* Set order deliveryConfirmed flag
|
|
245
241
|
*/
|
|
246
|
-
ManageOrderApi.prototype.setOrderDeliveryConfirmedRaw = function (requestParameters) {
|
|
242
|
+
ManageOrderApi.prototype.setOrderDeliveryConfirmedRaw = function (requestParameters, initOverrides) {
|
|
247
243
|
return __awaiter(this, void 0, void 0, function () {
|
|
248
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
249
|
-
return __generator(this, function (
|
|
250
|
-
switch (
|
|
244
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_3;
|
|
245
|
+
return __generator(this, function (_c) {
|
|
246
|
+
switch (_c.label) {
|
|
251
247
|
case 0:
|
|
252
|
-
if (requestParameters
|
|
253
|
-
throw new
|
|
248
|
+
if (requestParameters['orderReference'] == null) {
|
|
249
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling setOrderDeliveryConfirmed().');
|
|
254
250
|
}
|
|
255
|
-
if (requestParameters
|
|
256
|
-
throw new
|
|
251
|
+
if (requestParameters['body'] == null) {
|
|
252
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling setOrderDeliveryConfirmed().');
|
|
257
253
|
}
|
|
258
254
|
queryParameters = {};
|
|
259
255
|
headerParameters = {};
|
|
260
256
|
headerParameters['Content-Type'] = 'application/json';
|
|
261
|
-
if (this.configuration && this.configuration.apiKey)
|
|
262
|
-
|
|
263
|
-
|
|
257
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
258
|
+
_a = headerParameters;
|
|
259
|
+
_b = "x-api-key";
|
|
260
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
261
|
+
case 1:
|
|
262
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
263
|
+
_c.label = 2;
|
|
264
|
+
case 2:
|
|
264
265
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
265
266
|
token = this.configuration.accessToken;
|
|
266
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
267
267
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
268
|
-
case 1:
|
|
269
|
-
_a = _b.sent();
|
|
270
|
-
return [3 /*break*/, 3];
|
|
271
|
-
case 2:
|
|
272
|
-
_a = token;
|
|
273
|
-
_b.label = 3;
|
|
274
268
|
case 3:
|
|
275
|
-
tokenString =
|
|
269
|
+
tokenString = _c.sent();
|
|
276
270
|
if (tokenString) {
|
|
277
271
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
278
272
|
}
|
|
279
|
-
|
|
273
|
+
_c.label = 4;
|
|
280
274
|
case 4:
|
|
281
|
-
|
|
275
|
+
_c.trys.push([4, 6, , 7]);
|
|
282
276
|
return [4 /*yield*/, this.request({
|
|
283
|
-
path: "/orders/{orderReference}/delivery-confirmed".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
277
|
+
path: "/orders/{orderReference}/delivery-confirmed".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
284
278
|
method: 'PUT',
|
|
285
279
|
headers: headerParameters,
|
|
286
280
|
query: queryParameters,
|
|
287
|
-
body: requestParameters
|
|
288
|
-
})];
|
|
281
|
+
body: requestParameters['body'],
|
|
282
|
+
}, initOverrides)];
|
|
289
283
|
case 5:
|
|
290
|
-
response =
|
|
291
|
-
return [2 /*return*/, new
|
|
284
|
+
response = _c.sent();
|
|
285
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
292
286
|
case 6:
|
|
293
|
-
response_3 =
|
|
287
|
+
response_3 = _c.sent();
|
|
294
288
|
console.debug(response_3);
|
|
295
289
|
throw response_3;
|
|
296
290
|
case 7: return [2 /*return*/];
|
|
@@ -302,11 +296,11 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
302
296
|
* Set the deliveryConfirmed flag for order identified by OrderId. # Preconditions : - \'paused\' property is false - Status in (DELIVERY_ONGOING, DELIVERY_LATE, WAITING_FOR_VALIDATION, WAITING_FOR_ADMIN_VALIDATION) - \'deliveryConfirmed\' property is false (Limitation that may be removed in the future) - You are the BUYER
|
|
303
297
|
* Set order deliveryConfirmed flag
|
|
304
298
|
*/
|
|
305
|
-
ManageOrderApi.prototype.setOrderDeliveryConfirmed = function (requestParameters) {
|
|
299
|
+
ManageOrderApi.prototype.setOrderDeliveryConfirmed = function (requestParameters, initOverrides) {
|
|
306
300
|
return __awaiter(this, void 0, void 0, function () {
|
|
307
301
|
return __generator(this, function (_a) {
|
|
308
302
|
switch (_a.label) {
|
|
309
|
-
case 0: return [4 /*yield*/, this.setOrderDeliveryConfirmedRaw(requestParameters)];
|
|
303
|
+
case 0: return [4 /*yield*/, this.setOrderDeliveryConfirmedRaw(requestParameters, initOverrides)];
|
|
310
304
|
case 1:
|
|
311
305
|
_a.sent();
|
|
312
306
|
return [2 /*return*/];
|
|
@@ -318,54 +312,52 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
318
312
|
* Set the litigation flag for order identified by orderReference. # Preconditions : - You are an Admin
|
|
319
313
|
* Set order litigation flag
|
|
320
314
|
*/
|
|
321
|
-
ManageOrderApi.prototype.setOrderInLitigationRaw = function (requestParameters) {
|
|
315
|
+
ManageOrderApi.prototype.setOrderInLitigationRaw = function (requestParameters, initOverrides) {
|
|
322
316
|
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
324
|
-
return __generator(this, function (
|
|
325
|
-
switch (
|
|
317
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_4;
|
|
318
|
+
return __generator(this, function (_c) {
|
|
319
|
+
switch (_c.label) {
|
|
326
320
|
case 0:
|
|
327
|
-
if (requestParameters
|
|
328
|
-
throw new
|
|
321
|
+
if (requestParameters['orderReference'] == null) {
|
|
322
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling setOrderInLitigation().');
|
|
329
323
|
}
|
|
330
|
-
if (requestParameters
|
|
331
|
-
throw new
|
|
324
|
+
if (requestParameters['body'] == null) {
|
|
325
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling setOrderInLitigation().');
|
|
332
326
|
}
|
|
333
327
|
queryParameters = {};
|
|
334
328
|
headerParameters = {};
|
|
335
329
|
headerParameters['Content-Type'] = 'application/json';
|
|
336
|
-
if (this.configuration && this.configuration.apiKey)
|
|
337
|
-
|
|
338
|
-
|
|
330
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
331
|
+
_a = headerParameters;
|
|
332
|
+
_b = "x-api-key";
|
|
333
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
334
|
+
case 1:
|
|
335
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
336
|
+
_c.label = 2;
|
|
337
|
+
case 2:
|
|
339
338
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
340
339
|
token = this.configuration.accessToken;
|
|
341
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
342
340
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
343
|
-
case 1:
|
|
344
|
-
_a = _b.sent();
|
|
345
|
-
return [3 /*break*/, 3];
|
|
346
|
-
case 2:
|
|
347
|
-
_a = token;
|
|
348
|
-
_b.label = 3;
|
|
349
341
|
case 3:
|
|
350
|
-
tokenString =
|
|
342
|
+
tokenString = _c.sent();
|
|
351
343
|
if (tokenString) {
|
|
352
344
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
353
345
|
}
|
|
354
|
-
|
|
346
|
+
_c.label = 4;
|
|
355
347
|
case 4:
|
|
356
|
-
|
|
348
|
+
_c.trys.push([4, 6, , 7]);
|
|
357
349
|
return [4 /*yield*/, this.request({
|
|
358
|
-
path: "/orders/{orderReference}/in-litigation".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
350
|
+
path: "/orders/{orderReference}/in-litigation".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
359
351
|
method: 'PUT',
|
|
360
352
|
headers: headerParameters,
|
|
361
353
|
query: queryParameters,
|
|
362
|
-
body: requestParameters
|
|
363
|
-
})];
|
|
354
|
+
body: requestParameters['body'],
|
|
355
|
+
}, initOverrides)];
|
|
364
356
|
case 5:
|
|
365
|
-
response =
|
|
366
|
-
return [2 /*return*/, new
|
|
357
|
+
response = _c.sent();
|
|
358
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
367
359
|
case 6:
|
|
368
|
-
response_4 =
|
|
360
|
+
response_4 = _c.sent();
|
|
369
361
|
console.debug(response_4);
|
|
370
362
|
throw response_4;
|
|
371
363
|
case 7: return [2 /*return*/];
|
|
@@ -377,11 +369,11 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
377
369
|
* Set the litigation flag for order identified by orderReference. # Preconditions : - You are an Admin
|
|
378
370
|
* Set order litigation flag
|
|
379
371
|
*/
|
|
380
|
-
ManageOrderApi.prototype.setOrderInLitigation = function (requestParameters) {
|
|
372
|
+
ManageOrderApi.prototype.setOrderInLitigation = function (requestParameters, initOverrides) {
|
|
381
373
|
return __awaiter(this, void 0, void 0, function () {
|
|
382
374
|
return __generator(this, function (_a) {
|
|
383
375
|
switch (_a.label) {
|
|
384
|
-
case 0: return [4 /*yield*/, this.setOrderInLitigationRaw(requestParameters)];
|
|
376
|
+
case 0: return [4 /*yield*/, this.setOrderInLitigationRaw(requestParameters, initOverrides)];
|
|
385
377
|
case 1:
|
|
386
378
|
_a.sent();
|
|
387
379
|
return [2 /*return*/];
|
|
@@ -393,54 +385,52 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
393
385
|
* Set the paused flag for order identified by orderReference. # Preconditions : - You are an admin
|
|
394
386
|
* Set order paused flag
|
|
395
387
|
*/
|
|
396
|
-
ManageOrderApi.prototype.setOrderPausedRaw = function (requestParameters) {
|
|
388
|
+
ManageOrderApi.prototype.setOrderPausedRaw = function (requestParameters, initOverrides) {
|
|
397
389
|
return __awaiter(this, void 0, void 0, function () {
|
|
398
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
399
|
-
return __generator(this, function (
|
|
400
|
-
switch (
|
|
390
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_5;
|
|
391
|
+
return __generator(this, function (_c) {
|
|
392
|
+
switch (_c.label) {
|
|
401
393
|
case 0:
|
|
402
|
-
if (requestParameters
|
|
403
|
-
throw new
|
|
394
|
+
if (requestParameters['orderReference'] == null) {
|
|
395
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling setOrderPaused().');
|
|
404
396
|
}
|
|
405
|
-
if (requestParameters
|
|
406
|
-
throw new
|
|
397
|
+
if (requestParameters['body'] == null) {
|
|
398
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling setOrderPaused().');
|
|
407
399
|
}
|
|
408
400
|
queryParameters = {};
|
|
409
401
|
headerParameters = {};
|
|
410
402
|
headerParameters['Content-Type'] = 'application/json';
|
|
411
|
-
if (this.configuration && this.configuration.apiKey)
|
|
412
|
-
|
|
413
|
-
|
|
403
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
404
|
+
_a = headerParameters;
|
|
405
|
+
_b = "x-api-key";
|
|
406
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
407
|
+
case 1:
|
|
408
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
409
|
+
_c.label = 2;
|
|
410
|
+
case 2:
|
|
414
411
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
415
412
|
token = this.configuration.accessToken;
|
|
416
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
417
413
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
418
|
-
case 1:
|
|
419
|
-
_a = _b.sent();
|
|
420
|
-
return [3 /*break*/, 3];
|
|
421
|
-
case 2:
|
|
422
|
-
_a = token;
|
|
423
|
-
_b.label = 3;
|
|
424
414
|
case 3:
|
|
425
|
-
tokenString =
|
|
415
|
+
tokenString = _c.sent();
|
|
426
416
|
if (tokenString) {
|
|
427
417
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
428
418
|
}
|
|
429
|
-
|
|
419
|
+
_c.label = 4;
|
|
430
420
|
case 4:
|
|
431
|
-
|
|
421
|
+
_c.trys.push([4, 6, , 7]);
|
|
432
422
|
return [4 /*yield*/, this.request({
|
|
433
|
-
path: "/orders/{orderReference}/paused".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
423
|
+
path: "/orders/{orderReference}/paused".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
434
424
|
method: 'PUT',
|
|
435
425
|
headers: headerParameters,
|
|
436
426
|
query: queryParameters,
|
|
437
|
-
body: requestParameters
|
|
438
|
-
})];
|
|
427
|
+
body: requestParameters['body'],
|
|
428
|
+
}, initOverrides)];
|
|
439
429
|
case 5:
|
|
440
|
-
response =
|
|
441
|
-
return [2 /*return*/, new
|
|
430
|
+
response = _c.sent();
|
|
431
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
442
432
|
case 6:
|
|
443
|
-
response_5 =
|
|
433
|
+
response_5 = _c.sent();
|
|
444
434
|
console.debug(response_5);
|
|
445
435
|
throw response_5;
|
|
446
436
|
case 7: return [2 /*return*/];
|
|
@@ -452,11 +442,11 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
452
442
|
* Set the paused flag for order identified by orderReference. # Preconditions : - You are an admin
|
|
453
443
|
* Set order paused flag
|
|
454
444
|
*/
|
|
455
|
-
ManageOrderApi.prototype.setOrderPaused = function (requestParameters) {
|
|
445
|
+
ManageOrderApi.prototype.setOrderPaused = function (requestParameters, initOverrides) {
|
|
456
446
|
return __awaiter(this, void 0, void 0, function () {
|
|
457
447
|
return __generator(this, function (_a) {
|
|
458
448
|
switch (_a.label) {
|
|
459
|
-
case 0: return [4 /*yield*/, this.setOrderPausedRaw(requestParameters)];
|
|
449
|
+
case 0: return [4 /*yield*/, this.setOrderPausedRaw(requestParameters, initOverrides)];
|
|
460
450
|
case 1:
|
|
461
451
|
_a.sent();
|
|
462
452
|
return [2 /*return*/];
|
|
@@ -468,65 +458,63 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
468
458
|
* # Preconditions : ## tags - You are an admin ## statusReason / statusCause - You are the user who set the status or you are currently setting the status ## Status (As Admin) - Always possible ## Status (As Seller) - CANCELED: > Current status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) - OTHERS: > Not authorized ## Status (As buyer) - CANCELED: > Current status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) - OTHERS: > Not authorized
|
|
469
459
|
* Update an order
|
|
470
460
|
*/
|
|
471
|
-
ManageOrderApi.prototype.updateOrderRaw = function (requestParameters) {
|
|
461
|
+
ManageOrderApi.prototype.updateOrderRaw = function (requestParameters, initOverrides) {
|
|
472
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
473
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
474
|
-
return __generator(this, function (
|
|
475
|
-
switch (
|
|
463
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_6;
|
|
464
|
+
return __generator(this, function (_c) {
|
|
465
|
+
switch (_c.label) {
|
|
476
466
|
case 0:
|
|
477
|
-
if (requestParameters
|
|
478
|
-
throw new
|
|
467
|
+
if (requestParameters['orderReference'] == null) {
|
|
468
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling updateOrder().');
|
|
479
469
|
}
|
|
480
470
|
queryParameters = {};
|
|
481
471
|
headerParameters = {};
|
|
482
472
|
headerParameters['Content-Type'] = 'application/merge-patch+json';
|
|
483
|
-
if (requestParameters
|
|
484
|
-
headerParameters['If-Match'] = String(requestParameters
|
|
485
|
-
}
|
|
486
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
487
|
-
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
473
|
+
if (requestParameters['ifMatch'] != null) {
|
|
474
|
+
headerParameters['If-Match'] = String(requestParameters['ifMatch']);
|
|
488
475
|
}
|
|
476
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
477
|
+
_a = headerParameters;
|
|
478
|
+
_b = "x-api-key";
|
|
479
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
480
|
+
case 1:
|
|
481
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
482
|
+
_c.label = 2;
|
|
483
|
+
case 2:
|
|
489
484
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
490
485
|
token = this.configuration.accessToken;
|
|
491
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
492
486
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
493
|
-
case 1:
|
|
494
|
-
_a = _b.sent();
|
|
495
|
-
return [3 /*break*/, 3];
|
|
496
|
-
case 2:
|
|
497
|
-
_a = token;
|
|
498
|
-
_b.label = 3;
|
|
499
487
|
case 3:
|
|
500
|
-
tokenString =
|
|
488
|
+
tokenString = _c.sent();
|
|
501
489
|
if (tokenString) {
|
|
502
490
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
503
491
|
}
|
|
504
|
-
|
|
492
|
+
_c.label = 4;
|
|
505
493
|
case 4:
|
|
506
|
-
|
|
494
|
+
_c.trys.push([4, 6, , 7]);
|
|
507
495
|
return [4 /*yield*/, this.request({
|
|
508
|
-
path: "/orders/{orderReference}".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
496
|
+
path: "/orders/{orderReference}".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
509
497
|
method: 'PATCH',
|
|
510
498
|
headers: headerParameters,
|
|
511
499
|
query: queryParameters,
|
|
512
|
-
body: (0,
|
|
513
|
-
})];
|
|
500
|
+
body: (0, index_1.OrderUpdateParametersToJSON)(requestParameters['orderUpdateParameters']),
|
|
501
|
+
}, initOverrides)];
|
|
514
502
|
case 5:
|
|
515
|
-
response =
|
|
503
|
+
response = _c.sent();
|
|
516
504
|
contentType = response.headers.get("content-type");
|
|
517
505
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
518
|
-
return [2 /*return*/, new
|
|
506
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.OrderFromJSON)(jsonValue); })];
|
|
519
507
|
}
|
|
520
508
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
521
|
-
return [2 /*return*/, new
|
|
509
|
+
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
522
510
|
}
|
|
523
511
|
else {
|
|
524
512
|
// TODO : Better handling of others application types
|
|
525
|
-
return [2 /*return*/, new
|
|
513
|
+
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
526
514
|
}
|
|
527
515
|
return [3 /*break*/, 7];
|
|
528
516
|
case 6:
|
|
529
|
-
response_6 =
|
|
517
|
+
response_6 = _c.sent();
|
|
530
518
|
console.debug(response_6);
|
|
531
519
|
throw response_6;
|
|
532
520
|
case 7: return [2 /*return*/];
|
|
@@ -538,12 +526,12 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
538
526
|
* # Preconditions : ## tags - You are an admin ## statusReason / statusCause - You are the user who set the status or you are currently setting the status ## Status (As Admin) - Always possible ## Status (As Seller) - CANCELED: > Current status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) - OTHERS: > Not authorized ## Status (As buyer) - CANCELED: > Current status in (WAITING_FOR_SELLER_ACCEPTANCE, WAITING_FOR_BUYER_ACCEPTANCE, SELLER_ACCEPTANCE_DELAY, BUYER_ACCEPTANCE_DELAY) - OTHERS: > Not authorized
|
|
539
527
|
* Update an order
|
|
540
528
|
*/
|
|
541
|
-
ManageOrderApi.prototype.updateOrder = function (requestParameters) {
|
|
529
|
+
ManageOrderApi.prototype.updateOrder = function (requestParameters, initOverrides) {
|
|
542
530
|
return __awaiter(this, void 0, void 0, function () {
|
|
543
531
|
var response;
|
|
544
532
|
return __generator(this, function (_a) {
|
|
545
533
|
switch (_a.label) {
|
|
546
|
-
case 0: return [4 /*yield*/, this.updateOrderRaw(requestParameters)];
|
|
534
|
+
case 0: return [4 /*yield*/, this.updateOrderRaw(requestParameters, initOverrides)];
|
|
547
535
|
case 1:
|
|
548
536
|
response = _a.sent();
|
|
549
537
|
return [4 /*yield*/, response.value()];
|
|
@@ -555,54 +543,52 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
555
543
|
/**
|
|
556
544
|
* Update anomaly flag
|
|
557
545
|
*/
|
|
558
|
-
ManageOrderApi.prototype.updateOrderAnomaliesRaw = function (requestParameters) {
|
|
546
|
+
ManageOrderApi.prototype.updateOrderAnomaliesRaw = function (requestParameters, initOverrides) {
|
|
559
547
|
return __awaiter(this, void 0, void 0, function () {
|
|
560
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
561
|
-
return __generator(this, function (
|
|
562
|
-
switch (
|
|
548
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_7;
|
|
549
|
+
return __generator(this, function (_c) {
|
|
550
|
+
switch (_c.label) {
|
|
563
551
|
case 0:
|
|
564
|
-
if (requestParameters
|
|
565
|
-
throw new
|
|
552
|
+
if (requestParameters['orderReference'] == null) {
|
|
553
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling updateOrderAnomalies().');
|
|
566
554
|
}
|
|
567
|
-
if (requestParameters
|
|
568
|
-
throw new
|
|
555
|
+
if (requestParameters['anomaliesUpdateParameters'] == null) {
|
|
556
|
+
throw new runtime.RequiredError('anomaliesUpdateParameters', 'Required parameter "anomaliesUpdateParameters" was null or undefined when calling updateOrderAnomalies().');
|
|
569
557
|
}
|
|
570
558
|
queryParameters = {};
|
|
571
559
|
headerParameters = {};
|
|
572
560
|
headerParameters['Content-Type'] = 'application/merge-patch+json';
|
|
573
|
-
if (this.configuration && this.configuration.apiKey)
|
|
574
|
-
|
|
575
|
-
|
|
561
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
562
|
+
_a = headerParameters;
|
|
563
|
+
_b = "x-api-key";
|
|
564
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
565
|
+
case 1:
|
|
566
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
567
|
+
_c.label = 2;
|
|
568
|
+
case 2:
|
|
576
569
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
577
570
|
token = this.configuration.accessToken;
|
|
578
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
579
571
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
580
|
-
case 1:
|
|
581
|
-
_a = _b.sent();
|
|
582
|
-
return [3 /*break*/, 3];
|
|
583
|
-
case 2:
|
|
584
|
-
_a = token;
|
|
585
|
-
_b.label = 3;
|
|
586
572
|
case 3:
|
|
587
|
-
tokenString =
|
|
573
|
+
tokenString = _c.sent();
|
|
588
574
|
if (tokenString) {
|
|
589
575
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
590
576
|
}
|
|
591
|
-
|
|
577
|
+
_c.label = 4;
|
|
592
578
|
case 4:
|
|
593
|
-
|
|
579
|
+
_c.trys.push([4, 6, , 7]);
|
|
594
580
|
return [4 /*yield*/, this.request({
|
|
595
|
-
path: "/orders/{orderReference}/anomalies".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
581
|
+
path: "/orders/{orderReference}/anomalies".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))),
|
|
596
582
|
method: 'PATCH',
|
|
597
583
|
headers: headerParameters,
|
|
598
584
|
query: queryParameters,
|
|
599
|
-
body: (0,
|
|
600
|
-
})];
|
|
585
|
+
body: (0, index_1.AnomaliesUpdateParametersToJSON)(requestParameters['anomaliesUpdateParameters']),
|
|
586
|
+
}, initOverrides)];
|
|
601
587
|
case 5:
|
|
602
|
-
response =
|
|
603
|
-
return [2 /*return*/, new
|
|
588
|
+
response = _c.sent();
|
|
589
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
604
590
|
case 6:
|
|
605
|
-
response_7 =
|
|
591
|
+
response_7 = _c.sent();
|
|
606
592
|
console.debug(response_7);
|
|
607
593
|
throw response_7;
|
|
608
594
|
case 7: return [2 /*return*/];
|
|
@@ -613,11 +599,11 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
613
599
|
/**
|
|
614
600
|
* Update anomaly flag
|
|
615
601
|
*/
|
|
616
|
-
ManageOrderApi.prototype.updateOrderAnomalies = function (requestParameters) {
|
|
602
|
+
ManageOrderApi.prototype.updateOrderAnomalies = function (requestParameters, initOverrides) {
|
|
617
603
|
return __awaiter(this, void 0, void 0, function () {
|
|
618
604
|
return __generator(this, function (_a) {
|
|
619
605
|
switch (_a.label) {
|
|
620
|
-
case 0: return [4 /*yield*/, this.updateOrderAnomaliesRaw(requestParameters)];
|
|
606
|
+
case 0: return [4 /*yield*/, this.updateOrderAnomaliesRaw(requestParameters, initOverrides)];
|
|
621
607
|
case 1:
|
|
622
608
|
_a.sent();
|
|
623
609
|
return [2 /*return*/];
|
|
@@ -629,68 +615,66 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
629
615
|
* # Preconditions : - \'released\' can not be greater than \'claimed\' - \'released\' can be modified only if \'limitedStock\' is true
|
|
630
616
|
* Update order reservations
|
|
631
617
|
*/
|
|
632
|
-
ManageOrderApi.prototype.updateOrderReservationRaw = function (requestParameters) {
|
|
618
|
+
ManageOrderApi.prototype.updateOrderReservationRaw = function (requestParameters, initOverrides) {
|
|
633
619
|
return __awaiter(this, void 0, void 0, function () {
|
|
634
|
-
var queryParameters, headerParameters, token, tokenString,
|
|
635
|
-
return __generator(this, function (
|
|
636
|
-
switch (
|
|
620
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_8;
|
|
621
|
+
return __generator(this, function (_c) {
|
|
622
|
+
switch (_c.label) {
|
|
637
623
|
case 0:
|
|
638
|
-
if (requestParameters
|
|
639
|
-
throw new
|
|
624
|
+
if (requestParameters['orderReference'] == null) {
|
|
625
|
+
throw new runtime.RequiredError('orderReference', 'Required parameter "orderReference" was null or undefined when calling updateOrderReservation().');
|
|
640
626
|
}
|
|
641
|
-
if (requestParameters
|
|
642
|
-
throw new
|
|
627
|
+
if (requestParameters['reservationId'] == null) {
|
|
628
|
+
throw new runtime.RequiredError('reservationId', 'Required parameter "reservationId" was null or undefined when calling updateOrderReservation().');
|
|
643
629
|
}
|
|
644
|
-
if (requestParameters
|
|
645
|
-
throw new
|
|
630
|
+
if (requestParameters['reservationUpdateParameters'] == null) {
|
|
631
|
+
throw new runtime.RequiredError('reservationUpdateParameters', 'Required parameter "reservationUpdateParameters" was null or undefined when calling updateOrderReservation().');
|
|
646
632
|
}
|
|
647
633
|
queryParameters = {};
|
|
648
634
|
headerParameters = {};
|
|
649
635
|
headerParameters['Content-Type'] = 'application/merge-patch+json';
|
|
650
|
-
if (this.configuration && this.configuration.apiKey)
|
|
651
|
-
|
|
652
|
-
|
|
636
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
637
|
+
_a = headerParameters;
|
|
638
|
+
_b = "x-api-key";
|
|
639
|
+
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
640
|
+
case 1:
|
|
641
|
+
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
642
|
+
_c.label = 2;
|
|
643
|
+
case 2:
|
|
653
644
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
654
645
|
token = this.configuration.accessToken;
|
|
655
|
-
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
656
646
|
return [4 /*yield*/, token("bearerAuth", [])];
|
|
657
|
-
case 1:
|
|
658
|
-
_a = _b.sent();
|
|
659
|
-
return [3 /*break*/, 3];
|
|
660
|
-
case 2:
|
|
661
|
-
_a = token;
|
|
662
|
-
_b.label = 3;
|
|
663
647
|
case 3:
|
|
664
|
-
tokenString =
|
|
648
|
+
tokenString = _c.sent();
|
|
665
649
|
if (tokenString) {
|
|
666
650
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
667
651
|
}
|
|
668
|
-
|
|
652
|
+
_c.label = 4;
|
|
669
653
|
case 4:
|
|
670
|
-
|
|
654
|
+
_c.trys.push([4, 6, , 7]);
|
|
671
655
|
return [4 /*yield*/, this.request({
|
|
672
|
-
path: "/orders/{orderReference}/reservations/{reservationId}".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters
|
|
656
|
+
path: "/orders/{orderReference}/reservations/{reservationId}".replace("{".concat("orderReference", "}"), encodeURIComponent(String(requestParameters['orderReference']))).replace("{".concat("reservationId", "}"), encodeURIComponent(String(requestParameters['reservationId']))),
|
|
673
657
|
method: 'PATCH',
|
|
674
658
|
headers: headerParameters,
|
|
675
659
|
query: queryParameters,
|
|
676
|
-
body: (0,
|
|
677
|
-
})];
|
|
660
|
+
body: (0, index_1.ReservationUpdateParametersToJSON)(requestParameters['reservationUpdateParameters']),
|
|
661
|
+
}, initOverrides)];
|
|
678
662
|
case 5:
|
|
679
|
-
response =
|
|
663
|
+
response = _c.sent();
|
|
680
664
|
contentType = response.headers.get("content-type");
|
|
681
665
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
682
|
-
return [2 /*return*/, new
|
|
666
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ReservationFromJSON)(jsonValue); })];
|
|
683
667
|
}
|
|
684
668
|
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
685
|
-
return [2 /*return*/, new
|
|
669
|
+
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
686
670
|
}
|
|
687
671
|
else {
|
|
688
672
|
// TODO : Better handling of others application types
|
|
689
|
-
return [2 /*return*/, new
|
|
673
|
+
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
690
674
|
}
|
|
691
675
|
return [3 /*break*/, 7];
|
|
692
676
|
case 6:
|
|
693
|
-
response_8 =
|
|
677
|
+
response_8 = _c.sent();
|
|
694
678
|
console.debug(response_8);
|
|
695
679
|
throw response_8;
|
|
696
680
|
case 7: return [2 /*return*/];
|
|
@@ -702,12 +686,12 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
702
686
|
* # Preconditions : - \'released\' can not be greater than \'claimed\' - \'released\' can be modified only if \'limitedStock\' is true
|
|
703
687
|
* Update order reservations
|
|
704
688
|
*/
|
|
705
|
-
ManageOrderApi.prototype.updateOrderReservation = function (requestParameters) {
|
|
689
|
+
ManageOrderApi.prototype.updateOrderReservation = function (requestParameters, initOverrides) {
|
|
706
690
|
return __awaiter(this, void 0, void 0, function () {
|
|
707
691
|
var response;
|
|
708
692
|
return __generator(this, function (_a) {
|
|
709
693
|
switch (_a.label) {
|
|
710
|
-
case 0: return [4 /*yield*/, this.updateOrderReservationRaw(requestParameters)];
|
|
694
|
+
case 0: return [4 /*yield*/, this.updateOrderReservationRaw(requestParameters, initOverrides)];
|
|
711
695
|
case 1:
|
|
712
696
|
response = _a.sent();
|
|
713
697
|
return [4 /*yield*/, response.value()];
|
|
@@ -717,5 +701,5 @@ var ManageOrderApi = /** @class */ (function (_super) {
|
|
|
717
701
|
});
|
|
718
702
|
};
|
|
719
703
|
return ManageOrderApi;
|
|
720
|
-
}(
|
|
704
|
+
}(runtime.BaseAPI));
|
|
721
705
|
exports.ManageOrderApi = ManageOrderApi;
|