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