@unchainedshop/api 3.0.0-alpha7 → 3.0.0-rc2
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/README.md +1 -1
- package/lib/api-index.d.ts +3 -3
- package/lib/api-index.d.ts.map +1 -1
- package/lib/api-index.js +2 -1
- package/lib/api-index.js.map +1 -1
- package/lib/context.d.ts +32 -2
- package/lib/context.d.ts.map +1 -1
- package/lib/context.js +13 -2
- package/lib/context.js.map +1 -1
- package/lib/errors.d.ts +2 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +2 -0
- package/lib/errors.js.map +1 -1
- package/lib/express/createBulkImportMiddleware.d.ts +1 -1
- package/lib/express/createBulkImportMiddleware.d.ts.map +1 -1
- package/lib/express/createBulkImportMiddleware.js +1 -1
- package/lib/express/createBulkImportMiddleware.js.map +1 -1
- package/lib/express/createERCMetadataMiddleware.d.ts +3 -5
- package/lib/express/createERCMetadataMiddleware.d.ts.map +1 -1
- package/lib/express/createERCMetadataMiddleware.js +12 -17
- package/lib/express/createERCMetadataMiddleware.js.map +1 -1
- package/lib/express/index.d.ts +2 -2
- package/lib/express/index.d.ts.map +1 -1
- package/lib/express/index.js +31 -12
- package/lib/express/index.js.map +1 -1
- package/lib/fastify/bulkImportHandler.d.ts +4 -0
- package/lib/fastify/bulkImportHandler.d.ts.map +1 -0
- package/lib/fastify/bulkImportHandler.js +47 -0
- package/lib/fastify/bulkImportHandler.js.map +1 -0
- package/lib/fastify/ercMetadataHandler.d.ts +4 -0
- package/lib/fastify/ercMetadataHandler.d.ts.map +1 -0
- package/lib/fastify/ercMetadataHandler.js +39 -0
- package/lib/fastify/ercMetadataHandler.js.map +1 -0
- package/lib/fastify/index.d.ts +2 -1
- package/lib/fastify/index.d.ts.map +1 -1
- package/lib/fastify/index.js +37 -17
- package/lib/fastify/index.js.map +1 -1
- package/lib/loaders/index.d.ts +63 -1
- package/lib/loaders/index.d.ts.map +1 -1
- package/lib/loaders/index.js +52 -17
- package/lib/loaders/index.js.map +1 -1
- package/lib/locale-context.d.ts +13 -4
- package/lib/locale-context.d.ts.map +1 -1
- package/lib/locale-context.js +10 -12
- package/lib/locale-context.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/changePassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/changePassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createUser.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/createUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.js.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.js.map +1 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/forgotPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/forgotPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.js +2 -2
- package/lib/resolvers/mutations/accounts/loginAsGuest.js.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.js +2 -2
- package/lib/resolvers/mutations/accounts/loginWithPassword.js.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/logout.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/logout.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/resetPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/resetPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/setPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/setPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/createAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/createAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.js +1 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.js.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.js +5 -0
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.js.map +1 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.js +2 -2
- package/lib/resolvers/mutations/enrollments/activateEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts +2 -2
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.js +7 -3
- package/lib/resolvers/mutations/enrollments/createEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.d.ts +2 -2
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.js +2 -2
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts +2 -2
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js +3 -2
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts.map +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.js +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.js.map +1 -1
- package/lib/resolvers/mutations/filters/createFilter.d.ts +3 -2
- package/lib/resolvers/mutations/filters/createFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/createFilter.js +3 -1
- package/lib/resolvers/mutations/filters/createFilter.js.map +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts +2 -2
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.js +3 -1
- package/lib/resolvers/mutations/filters/createFilterOption.js.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.js +3 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.js.map +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.js +4 -1
- package/lib/resolvers/mutations/filters/updateFilter.js.map +1 -1
- package/lib/resolvers/mutations/filters/updateFilterTexts.d.ts +1 -1
- package/lib/resolvers/mutations/filters/updateFilterTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/index.d.ts +2 -0
- package/lib/resolvers/mutations/index.d.ts.map +1 -1
- package/lib/resolvers/mutations/index.js +3 -1
- package/lib/resolvers/mutations/index.js.map +1 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.js +9 -4
- package/lib/resolvers/mutations/orders/addCartDiscount.js.map +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts +2 -2
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.js +22 -10
- package/lib/resolvers/mutations/orders/addCartProduct.js.map +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.js +14 -8
- package/lib/resolvers/mutations/orders/addCartQuotation.js.map +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts +2 -2
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js +21 -8
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js.map +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts +2 -2
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.js +5 -4
- package/lib/resolvers/mutations/orders/checkoutCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts +2 -2
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/confirmOrder.js +2 -2
- package/lib/resolvers/mutations/orders/confirmOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/createCart.d.ts +2 -2
- package/lib/resolvers/mutations/orders/createCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/createCart.js +6 -1
- package/lib/resolvers/mutations/orders/createCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.js +2 -2
- package/lib/resolvers/mutations/orders/deliverOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.d.ts +2 -2
- package/lib/resolvers/mutations/orders/emptyCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.js +2 -2
- package/lib/resolvers/mutations/orders/emptyCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/payOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/payOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/payOrder.js +2 -2
- package/lib/resolvers/mutations/orders/payOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts +2 -2
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/rejectOrder.js +2 -2
- package/lib/resolvers/mutations/orders/rejectOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts +2 -2
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.js +16 -4
- package/lib/resolvers/mutations/orders/removeCartDiscount.js.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.js +2 -2
- package/lib/resolvers/mutations/orders/removeCartItem.js.map +1 -1
- package/lib/resolvers/mutations/orders/removeOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts +2 -2
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.js +3 -3
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.js.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts +2 -2
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.js +3 -3
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.js.map +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js +3 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCart.d.ts +3 -3
- package/lib/resolvers/mutations/orders/updateCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCart.js +4 -4
- package/lib/resolvers/mutations/orders/updateCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.js +13 -7
- package/lib/resolvers/mutations/orders/updateCartItem.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.js +2 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.js +2 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js +2 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.js +2 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.js +2 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.js.map +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.js +6 -4
- package/lib/resolvers/mutations/payment/createPaymentProvider.js.map +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.js +5 -2
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.js.map +1 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts +1 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.js +6 -3
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.js.map +1 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductVariation.d.ts +6 -1
- package/lib/resolvers/mutations/products/createProductVariation.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductVariation.js.map +1 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts +2 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.js.map +1 -1
- package/lib/resolvers/mutations/products/deleteUserProductReviews.d.ts +5 -0
- package/lib/resolvers/mutations/products/deleteUserProductReviews.d.ts.map +1 -0
- package/lib/resolvers/mutations/products/deleteUserProductReviews.js +15 -0
- package/lib/resolvers/mutations/products/deleteUserProductReviews.js.map +1 -0
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.js +1 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.js.map +1 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProduct.js +1 -1
- package/lib/resolvers/mutations/products/removeProduct.js.map +1 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/reorderProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/reorderProductMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductMediaTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductMediaTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductVariationTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductVariationTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts +2 -2
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.js +2 -2
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.js.map +1 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts +2 -2
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.js +2 -2
- package/lib/resolvers/mutations/quotations/rejectQuotation.js.map +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.js +5 -3
- package/lib/resolvers/mutations/quotations/requestQuotation.js.map +1 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts +2 -2
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.js +2 -2
- package/lib/resolvers/mutations/quotations/verifyQuotation.js.map +1 -1
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts +1 -1
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/deleteUser.d.ts +6 -0
- package/lib/resolvers/mutations/users/deleteUser.d.ts.map +1 -0
- package/lib/resolvers/mutations/users/deleteUser.js +15 -0
- package/lib/resolvers/mutations/users/deleteUser.js.map +1 -0
- package/lib/resolvers/mutations/users/deleteUserProductReviews.d.ts +5 -0
- package/lib/resolvers/mutations/users/deleteUserProductReviews.d.ts.map +1 -0
- package/lib/resolvers/mutations/users/deleteUserProductReviews.js +15 -0
- package/lib/resolvers/mutations/users/deleteUserProductReviews.js.map +1 -0
- package/lib/resolvers/mutations/users/heartbeat.d.ts +1 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.d.ts +1 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.js +1 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.js.map +1 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts +1 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/removeUser.d.ts +3 -2
- package/lib/resolvers/mutations/users/removeUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/removeUser.js +8 -4
- package/lib/resolvers/mutations/users/removeUser.js.map +1 -1
- package/lib/resolvers/mutations/users/removeUserProductReviews.d.ts +5 -0
- package/lib/resolvers/mutations/users/removeUserProductReviews.d.ts.map +1 -0
- package/lib/resolvers/mutations/users/removeUserProductReviews.js +15 -0
- package/lib/resolvers/mutations/users/removeUserProductReviews.js.map +1 -0
- package/lib/resolvers/mutations/users/setRoles.d.ts +1 -1
- package/lib/resolvers/mutations/users/setRoles.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts +1 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.js +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.js.map +1 -1
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts +2 -2
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/utils/getOrderCart.js +5 -1
- package/lib/resolvers/mutations/utils/getOrderCart.js.map +1 -1
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts +2 -2
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.js +11 -6
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.js.map +1 -1
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.js +8 -3
- package/lib/resolvers/mutations/warehousing/invalidateToken.js.map +1 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts +2 -2
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.js +1 -2
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.js.map +1 -1
- package/lib/resolvers/mutations/worker/addWork.d.ts +3 -3
- package/lib/resolvers/mutations/worker/addWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/addWork.js.map +1 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/processNextWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/processNextWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/processNextWork.js +2 -1
- package/lib/resolvers/mutations/worker/processNextWork.js.map +1 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/assortments.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortments.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.d.ts +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.d.ts +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/countries/countries.d.ts +1 -1
- package/lib/resolvers/queries/countries/countries.d.ts.map +1 -1
- package/lib/resolvers/queries/countries/countriesCount.d.ts +1 -1
- package/lib/resolvers/queries/countries/countriesCount.d.ts.map +1 -1
- package/lib/resolvers/queries/countries/country.d.ts +1 -1
- package/lib/resolvers/queries/countries/country.d.ts.map +1 -1
- package/lib/resolvers/queries/currencies/currencies.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currencies.d.ts.map +1 -1
- package/lib/resolvers/queries/currencies/currenciesCount.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currenciesCount.d.ts.map +1 -1
- package/lib/resolvers/queries/currencies/currency.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currency.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryInterfaces.d.ts +6 -2
- package/lib/resolvers/queries/delivery/deliveryInterfaces.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryInterfaces.js +9 -2
- package/lib/resolvers/queries/delivery/deliveryInterfaces.js.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProviders.d.ts +5 -3
- package/lib/resolvers/queries/delivery/deliveryProviders.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProviders.js.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.d.ts +5 -3
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.js.map +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts.map +1 -1
- package/lib/resolvers/queries/enrollments/enrollments.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollments.d.ts.map +1 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.d.ts.map +1 -1
- package/lib/resolvers/queries/events/event.d.ts +1 -1
- package/lib/resolvers/queries/events/event.d.ts.map +1 -1
- package/lib/resolvers/queries/events/eventStatistics.d.ts +3 -3
- package/lib/resolvers/queries/events/eventStatistics.d.ts.map +1 -1
- package/lib/resolvers/queries/events/eventStatistics.js +2 -1
- package/lib/resolvers/queries/events/eventStatistics.js.map +1 -1
- package/lib/resolvers/queries/events/events.d.ts +1 -1
- package/lib/resolvers/queries/events/events.d.ts.map +1 -1
- package/lib/resolvers/queries/events/eventsCounts.d.ts +1 -1
- package/lib/resolvers/queries/events/eventsCounts.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/filter.d.ts +1 -1
- package/lib/resolvers/queries/filters/filter.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/filters.d.ts +1 -1
- package/lib/resolvers/queries/filters/filters.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/filtersCount.d.ts +1 -1
- package/lib/resolvers/queries/filters/filtersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/searchAssortments.d.ts +10 -2
- package/lib/resolvers/queries/filters/searchAssortments.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/searchAssortments.js +3 -3
- package/lib/resolvers/queries/filters/searchAssortments.js.map +1 -1
- package/lib/resolvers/queries/filters/searchProducts.d.ts +7 -2
- package/lib/resolvers/queries/filters/searchProducts.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/searchProducts.js +3 -3
- package/lib/resolvers/queries/filters/searchProducts.js.map +1 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.d.ts +1 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/languages/language.d.ts +1 -1
- package/lib/resolvers/queries/languages/language.d.ts.map +1 -1
- package/lib/resolvers/queries/languages/languages.d.ts +1 -1
- package/lib/resolvers/queries/languages/languages.d.ts.map +1 -1
- package/lib/resolvers/queries/languages/languagesCount.d.ts +1 -1
- package/lib/resolvers/queries/languages/languagesCount.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/order.d.ts +1 -1
- package/lib/resolvers/queries/orders/order.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/orderStatistics.d.ts +3 -3
- package/lib/resolvers/queries/orders/orderStatistics.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/orderStatistics.js +2 -1
- package/lib/resolvers/queries/orders/orderStatistics.js.map +1 -1
- package/lib/resolvers/queries/orders/orders.d.ts +1 -1
- package/lib/resolvers/queries/orders/orders.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/ordersCount.d.ts +1 -1
- package/lib/resolvers/queries/orders/ordersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/payment/paymentInterfaces.d.ts +6 -2
- package/lib/resolvers/queries/payment/paymentInterfaces.d.ts.map +1 -1
- package/lib/resolvers/queries/payment/paymentInterfaces.js +9 -2
- package/lib/resolvers/queries/payment/paymentInterfaces.js.map +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/payment/paymentProviders.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProviders.d.ts.map +1 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/products/product.d.ts +1 -1
- package/lib/resolvers/queries/products/product.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts +1 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productReview.d.ts +1 -1
- package/lib/resolvers/queries/products/productReview.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productReviews.d.ts +1 -1
- package/lib/resolvers/queries/products/productReviews.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productReviewsCount.d.ts +1 -1
- package/lib/resolvers/queries/products/productReviewsCount.d.ts.map +1 -1
- package/lib/resolvers/queries/products/products.d.ts +1 -1
- package/lib/resolvers/queries/products/products.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productsCount.d.ts +1 -1
- package/lib/resolvers/queries/products/productsCount.d.ts.map +1 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/products/translatedProductTexts.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.d.ts.map +1 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts.map +1 -1
- package/lib/resolvers/queries/quotations/quotations.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotations.d.ts.map +1 -1
- package/lib/resolvers/queries/quotations/quotationsCount.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotationsCount.d.ts.map +1 -1
- package/lib/resolvers/queries/shopInfo.d.ts +1 -1
- package/lib/resolvers/queries/shopInfo.d.ts.map +1 -1
- package/lib/resolvers/queries/users/me.d.ts +1 -1
- package/lib/resolvers/queries/users/me.d.ts.map +1 -1
- package/lib/resolvers/queries/users/user.d.ts +1 -1
- package/lib/resolvers/queries/users/user.d.ts.map +1 -1
- package/lib/resolvers/queries/users/users.d.ts +5 -2
- package/lib/resolvers/queries/users/users.d.ts.map +1 -1
- package/lib/resolvers/queries/users/users.js +1 -0
- package/lib/resolvers/queries/users/users.js.map +1 -1
- package/lib/resolvers/queries/users/usersCount.d.ts +1 -1
- package/lib/resolvers/queries/users/usersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/users/validateResetPasswordToken.d.ts +1 -1
- package/lib/resolvers/queries/users/validateResetPasswordToken.d.ts.map +1 -1
- package/lib/resolvers/queries/users/validateVerifyEmailToken.d.ts +1 -1
- package/lib/resolvers/queries/users/validateVerifyEmailToken.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/token.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/token.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/tokens.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/tokens.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.d.ts +7 -3
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.js +10 -3
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.js.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProviders.d.ts +5 -3
- package/lib/resolvers/queries/warehousing/warehousingProviders.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProviders.js.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.d.ts +5 -3
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.js.map +1 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.d.ts +1 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.js +6 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.js.map +1 -1
- package/lib/resolvers/queries/worker/work.d.ts +1 -1
- package/lib/resolvers/queries/worker/work.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/workQueue.d.ts +1 -1
- package/lib/resolvers/queries/worker/workQueue.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/workQueueCount.d.ts +2 -2
- package/lib/resolvers/queries/worker/workQueueCount.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/workStatistics.d.ts +3 -3
- package/lib/resolvers/queries/worker/workStatistics.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/workStatistics.js +2 -1
- package/lib/resolvers/queries/worker/workStatistics.js.map +1 -1
- package/lib/resolvers/type/assortment/assortment-filter-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-filter-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-link-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-link-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-media-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-media-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-path-link-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-path-link-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-product-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-product-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-types.d.ts +27 -26
- package/lib/resolvers/type/assortment/assortment-types.d.ts.map +1 -1
- package/lib/resolvers/type/assortment/assortment-types.js +14 -11
- package/lib/resolvers/type/assortment/assortment-types.js.map +1 -1
- package/lib/resolvers/type/bookmark-types.d.ts +4 -4
- package/lib/resolvers/type/bookmark-types.d.ts.map +1 -1
- package/lib/resolvers/type/country-types.d.ts +1 -1
- package/lib/resolvers/type/country-types.d.ts.map +1 -1
- package/lib/resolvers/type/delivery-provider-types.d.ts +3 -2
- package/lib/resolvers/type/delivery-provider-types.d.ts.map +1 -1
- package/lib/resolvers/type/delivery-provider-types.js +20 -19
- package/lib/resolvers/type/delivery-provider-types.js.map +1 -1
- package/lib/resolvers/type/dispatch-types.d.ts +1 -1
- package/lib/resolvers/type/dispatch-types.d.ts.map +1 -1
- package/lib/resolvers/type/dispatch-types.js +3 -6
- package/lib/resolvers/type/dispatch-types.js.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-types.d.ts.map +1 -1
- package/lib/resolvers/type/event-types.d.ts +2 -2
- package/lib/resolvers/type/event-types.d.ts.map +1 -1
- package/lib/resolvers/type/filter/filter-option-types.d.ts +1 -1
- package/lib/resolvers/type/filter/filter-option-types.d.ts.map +1 -1
- package/lib/resolvers/type/filter/filter-types.d.ts +1 -1
- package/lib/resolvers/type/filter/filter-types.d.ts.map +1 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.d.ts +11 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.d.ts.map +1 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.js +15 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.js.map +1 -1
- package/lib/resolvers/type/filter/loaded-filter-types.d.ts +24 -1
- package/lib/resolvers/type/filter/loaded-filter-types.d.ts.map +1 -1
- package/lib/resolvers/type/filter/loaded-filter-types.js +35 -1
- package/lib/resolvers/type/filter/loaded-filter-types.js.map +1 -1
- package/lib/resolvers/type/index.d.ts +363 -121
- package/lib/resolvers/type/index.d.ts.map +1 -1
- package/lib/resolvers/type/index.js +3 -1
- package/lib/resolvers/type/index.js.map +1 -1
- package/lib/resolvers/type/language-types.d.ts +1 -1
- package/lib/resolvers/type/language-types.d.ts.map +1 -1
- package/lib/resolvers/type/media-types.d.ts +2 -2
- package/lib/resolvers/type/media-types.d.ts.map +1 -1
- package/lib/resolvers/type/media-types.js +17 -2
- package/lib/resolvers/type/media-types.js.map +1 -1
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts +11 -10
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-delivery-discount-types.js +3 -6
- package/lib/resolvers/type/order/order-delivery-discount-types.js.map +1 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.js +14 -7
- package/lib/resolvers/type/order/order-delivery-pickup-types.js.map +1 -1
- package/lib/resolvers/type/order/order-delivery-shipping-types.d.ts +2 -2
- package/lib/resolvers/type/order/order-delivery-shipping-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-delivery-shipping-types.js +7 -3
- package/lib/resolvers/type/order/order-delivery-shipping-types.js.map +1 -1
- package/lib/resolvers/type/order/order-delivery-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-delivery-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-discount-types.d.ts +5 -3
- package/lib/resolvers/type/order/order-discount-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-discount-types.js +3 -3
- package/lib/resolvers/type/order/order-discount-types.js.map +1 -1
- package/lib/resolvers/type/order/order-discountable-types.d.ts +3 -6
- package/lib/resolvers/type/order/order-discountable-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-discountable-types.js.map +1 -1
- package/lib/resolvers/type/order/order-global-discount-types.d.ts +20 -14
- package/lib/resolvers/type/order/order-global-discount-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-global-discount-types.js +3 -6
- package/lib/resolvers/type/order/order-global-discount-types.js.map +1 -1
- package/lib/resolvers/type/order/order-item-discount-types.d.ts +10 -11
- package/lib/resolvers/type/order/order-item-discount-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-item-discount-types.js +3 -6
- package/lib/resolvers/type/order/order-item-discount-types.js.map +1 -1
- package/lib/resolvers/type/order/order-item-types.d.ts +4 -4
- package/lib/resolvers/type/order/order-item-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-item-types.js +18 -20
- package/lib/resolvers/type/order/order-item-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-card-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-card-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-payment-card-types.js +7 -3
- package/lib/resolvers/type/order/order-payment-card-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts +20 -14
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-payment-discount-types.js +15 -12
- package/lib/resolvers/type/order/order-payment-discount-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-generic-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-generic-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-payment-generic-types.js +7 -3
- package/lib/resolvers/type/order/order-payment-generic-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.js +7 -3
- package/lib/resolvers/type/order/order-payment-invoice-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-types.d.ts +4 -8
- package/lib/resolvers/type/order/order-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-types.js +14 -13
- package/lib/resolvers/type/order/order-types.js.map +1 -1
- package/lib/resolvers/type/payment/payment-credentials-types.d.ts +1 -1
- package/lib/resolvers/type/payment/payment-credentials-types.d.ts.map +1 -1
- package/lib/resolvers/type/payment/payment-credentials-types.js +8 -3
- package/lib/resolvers/type/payment/payment-credentials-types.js.map +1 -1
- package/lib/resolvers/type/payment/payment-provider-types.d.ts +13 -14
- package/lib/resolvers/type/payment/payment-provider-types.d.ts.map +1 -1
- package/lib/resolvers/type/payment/payment-provider-types.js +22 -21
- package/lib/resolvers/type/payment/payment-provider-types.js.map +1 -1
- package/lib/resolvers/type/product/product-assortment-path-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-assortment-path-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-bundle-item-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-bundle-item-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-bundle-types.d.ts +7 -7
- package/lib/resolvers/type/product/product-bundle-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-catalog-price-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-catalog-price-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-configurable-types.d.ts +3 -4
- package/lib/resolvers/type/product/product-configurable-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-configurable-types.js +62 -8
- package/lib/resolvers/type/product/product-configurable-types.js.map +1 -1
- package/lib/resolvers/type/product/product-discount.d.ts +6 -10
- package/lib/resolvers/type/product/product-discount.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-discount.js +9 -11
- package/lib/resolvers/type/product/product-discount.js.map +1 -1
- package/lib/resolvers/type/product/product-media-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-media-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-plan-types.d.ts +2 -2
- package/lib/resolvers/type/product/product-plan-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-plan-types.js +21 -7
- package/lib/resolvers/type/product/product-plan-types.js.map +1 -1
- package/lib/resolvers/type/product/product-review-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-review-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-simple-types.d.ts +3 -3
- package/lib/resolvers/type/product/product-simple-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-simple-types.js +11 -8
- package/lib/resolvers/type/product/product-simple-types.js.map +1 -1
- package/lib/resolvers/type/product/product-tokenized-types.d.ts +2 -2
- package/lib/resolvers/type/product/product-tokenized-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-tokenized-types.js +6 -4
- package/lib/resolvers/type/product/product-tokenized-types.js.map +1 -1
- package/lib/resolvers/type/product/product-types.d.ts +2 -2
- package/lib/resolvers/type/product/product-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-types.js +8 -5
- package/lib/resolvers/type/product/product-types.js.map +1 -1
- package/lib/resolvers/type/product/product-variation-assignment-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-variation-assignment-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts +1 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-variation-option-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-variation-option-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-variation-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-variation-types.d.ts.map +1 -1
- package/lib/resolvers/type/product-search-result-types.d.ts +28 -0
- package/lib/resolvers/type/product-search-result-types.d.ts.map +1 -0
- package/lib/resolvers/type/product-search-result-types.js +45 -0
- package/lib/resolvers/type/product-search-result-types.js.map +1 -0
- package/lib/resolvers/type/quotation-types.d.ts +1 -1
- package/lib/resolvers/type/quotation-types.d.ts.map +1 -1
- package/lib/resolvers/type/shop-types.d.ts +1 -1
- package/lib/resolvers/type/shop-types.d.ts.map +1 -1
- package/lib/resolvers/type/stock-types.d.ts +1 -1
- package/lib/resolvers/type/stock-types.d.ts.map +1 -1
- package/lib/resolvers/type/stock-types.js +3 -6
- package/lib/resolvers/type/stock-types.js.map +1 -1
- package/lib/resolvers/type/token-types.d.ts +3 -3
- package/lib/resolvers/type/token-types.d.ts.map +1 -1
- package/lib/resolvers/type/token-types.js +14 -6
- package/lib/resolvers/type/token-types.js.map +1 -1
- package/lib/resolvers/type/user-types.d.ts +24 -5
- package/lib/resolvers/type/user-types.d.ts.map +1 -1
- package/lib/resolvers/type/user-types.js +7 -1
- package/lib/resolvers/type/user-types.js.map +1 -1
- package/lib/resolvers/type/warehousing-provider-types.d.ts +3 -2
- package/lib/resolvers/type/warehousing-provider-types.d.ts.map +1 -1
- package/lib/resolvers/type/warehousing-provider-types.js +13 -6
- package/lib/resolvers/type/warehousing-provider-types.js.map +1 -1
- package/lib/resolvers/type/webauthn-credentials-types.d.ts +27 -10
- package/lib/resolvers/type/webauthn-credentials-types.d.ts.map +1 -1
- package/lib/resolvers/type/webauthn-credentials-types.js.map +1 -1
- package/lib/resolvers/type/work-types.d.ts +1 -1
- package/lib/resolvers/type/work-types.d.ts.map +1 -1
- package/lib/resolvers/type/work-types.js +6 -2
- package/lib/resolvers/type/work-types.js.map +1 -1
- package/lib/roles/all.d.ts.map +1 -1
- package/lib/roles/all.js +9 -0
- package/lib/roles/all.js.map +1 -1
- package/lib/roles/index.d.ts.map +1 -1
- package/lib/roles/index.js +3 -0
- package/lib/roles/index.js.map +1 -1
- package/lib/roles/loggedIn.d.ts.map +1 -1
- package/lib/roles/loggedIn.js +22 -0
- package/lib/roles/loggedIn.js.map +1 -1
- package/lib/schema/mutation.d.ts.map +1 -1
- package/lib/schema/mutation.js +6 -1
- package/lib/schema/mutation.js.map +1 -1
- package/lib/schema/query.d.ts.map +1 -1
- package/lib/schema/query.js +11 -4
- package/lib/schema/query.js.map +1 -1
- package/lib/schema/types/assortment.js +1 -1
- package/lib/schema/types/media.js +1 -1
- package/lib/schema/types/product/product.js +1 -1
- package/package.json +25 -41
- package/src/api-index.ts +3 -2
- package/src/context.ts +51 -6
- package/src/errors.ts +12 -0
- package/src/express/createBulkImportMiddleware.ts +6 -9
- package/src/express/createERCMetadataMiddleware.ts +17 -27
- package/src/express/index.ts +35 -13
- package/src/fastify/bulkImportHandler.ts +62 -0
- package/src/fastify/ercMetadataHandler.ts +50 -0
- package/src/fastify/index.ts +45 -18
- package/src/loaders/index.ts +295 -240
- package/src/locale-context.ts +25 -15
- package/src/resolvers/mutations/accounts/addEmail.ts +1 -1
- package/src/resolvers/mutations/accounts/addWeb3Address.ts +1 -1
- package/src/resolvers/mutations/accounts/addWebAuthnCredentials.ts +1 -1
- package/src/resolvers/mutations/accounts/changePassword.ts +1 -1
- package/src/resolvers/mutations/accounts/createUser.ts +1 -1
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.ts +2 -2
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.ts +2 -2
- package/src/resolvers/mutations/accounts/enrollUser.ts +1 -1
- package/src/resolvers/mutations/accounts/forgotPassword.ts +1 -1
- package/src/resolvers/mutations/accounts/loginAsGuest.ts +3 -3
- package/src/resolvers/mutations/accounts/loginWithPassword.ts +3 -3
- package/src/resolvers/mutations/accounts/loginWithWebAuthn.ts +1 -1
- package/src/resolvers/mutations/accounts/logout.ts +1 -1
- package/src/resolvers/mutations/accounts/removeEmail.ts +1 -1
- package/src/resolvers/mutations/accounts/removeWeb3Address.ts +1 -1
- package/src/resolvers/mutations/accounts/removeWebAuthnCredentials.ts +1 -1
- package/src/resolvers/mutations/accounts/resetPassword.ts +1 -1
- package/src/resolvers/mutations/accounts/sendEnrollmentEmail.ts +1 -1
- package/src/resolvers/mutations/accounts/sendVerificationEmail.ts +1 -1
- package/src/resolvers/mutations/accounts/setPassword.ts +1 -1
- package/src/resolvers/mutations/accounts/setUsername.ts +1 -1
- package/src/resolvers/mutations/accounts/verifyEmail.ts +1 -1
- package/src/resolvers/mutations/accounts/verifyWeb3Address.ts +1 -1
- package/src/resolvers/mutations/assortments/addAssortmentFilter.ts +1 -1
- package/src/resolvers/mutations/assortments/addAssortmentLink.ts +1 -1
- package/src/resolvers/mutations/assortments/addAssortmentProduct.ts +1 -1
- package/src/resolvers/mutations/assortments/createAssortment.ts +1 -1
- package/src/resolvers/mutations/assortments/prepareAssortmentMediaUpload.ts +6 -9
- package/src/resolvers/mutations/assortments/removeAssortment.ts +1 -1
- package/src/resolvers/mutations/assortments/removeAssortmentFilter.ts +1 -1
- package/src/resolvers/mutations/assortments/removeAssortmentLink.ts +1 -1
- package/src/resolvers/mutations/assortments/removeAssortmentMedia.ts +1 -1
- package/src/resolvers/mutations/assortments/removeAssortmentProduct.ts +1 -1
- package/src/resolvers/mutations/assortments/reorderAssortmentFilters.ts +1 -1
- package/src/resolvers/mutations/assortments/reorderAssortmentLinks.ts +1 -1
- package/src/resolvers/mutations/assortments/reorderAssortmentMedia.ts +1 -1
- package/src/resolvers/mutations/assortments/reorderAssortmentProducts.ts +1 -1
- package/src/resolvers/mutations/assortments/setBaseAssortment.ts +1 -1
- package/src/resolvers/mutations/assortments/updateAssortment.ts +1 -1
- package/src/resolvers/mutations/assortments/updateAssortmentMediaTexts.ts +1 -1
- package/src/resolvers/mutations/assortments/updateAssortmentTexts.ts +1 -1
- package/src/resolvers/mutations/bookmarks/bookmark.ts +1 -1
- package/src/resolvers/mutations/bookmarks/createBookmark.ts +1 -1
- package/src/resolvers/mutations/bookmarks/removeBookmark.ts +1 -1
- package/src/resolvers/mutations/countries/createCountry.ts +1 -1
- package/src/resolvers/mutations/countries/removeCountry.ts +1 -1
- package/src/resolvers/mutations/countries/updateCountry.ts +1 -1
- package/src/resolvers/mutations/currencies/createCurrency.ts +1 -1
- package/src/resolvers/mutations/currencies/removeCurrency.ts +1 -1
- package/src/resolvers/mutations/currencies/updateCurrency.ts +1 -1
- package/src/resolvers/mutations/delivery/createDeliveryProvider.ts +6 -1
- package/src/resolvers/mutations/delivery/removeDeliveryProvider.ts +1 -1
- package/src/resolvers/mutations/delivery/updateDeliveryProvider.ts +1 -1
- package/src/resolvers/mutations/enrollments/activateEnrollment.ts +3 -3
- package/src/resolvers/mutations/enrollments/createEnrollment.ts +20 -18
- package/src/resolvers/mutations/enrollments/terminateEnrollment.ts +3 -3
- package/src/resolvers/mutations/enrollments/updateEnrollment.ts +5 -4
- package/src/resolvers/mutations/files/confirmMediaUpload.ts +2 -2
- package/src/resolvers/mutations/filters/createFilter.ts +11 -10
- package/src/resolvers/mutations/filters/createFilterOption.ts +4 -3
- package/src/resolvers/mutations/filters/removeFilter.ts +1 -1
- package/src/resolvers/mutations/filters/removeFilterOption.ts +7 -8
- package/src/resolvers/mutations/filters/updateFilter.ts +6 -2
- package/src/resolvers/mutations/filters/updateFilterTexts.ts +1 -1
- package/src/resolvers/mutations/index.ts +3 -1
- package/src/resolvers/mutations/languages/createLanguage.ts +1 -1
- package/src/resolvers/mutations/languages/removeLanguage.ts +1 -1
- package/src/resolvers/mutations/languages/updateLanguage.ts +1 -1
- package/src/resolvers/mutations/orders/addCartDiscount.ts +15 -5
- package/src/resolvers/mutations/orders/addCartProduct.ts +25 -11
- package/src/resolvers/mutations/orders/addCartQuotation.ts +24 -23
- package/src/resolvers/mutations/orders/addMultipleCartProducts.ts +38 -21
- package/src/resolvers/mutations/orders/checkoutCart.ts +7 -5
- package/src/resolvers/mutations/orders/confirmOrder.ts +3 -3
- package/src/resolvers/mutations/orders/createCart.ts +7 -5
- package/src/resolvers/mutations/orders/deliverOrder.ts +3 -3
- package/src/resolvers/mutations/orders/emptyCart.ts +4 -3
- package/src/resolvers/mutations/orders/payOrder.ts +3 -3
- package/src/resolvers/mutations/orders/rejectOrder.ts +3 -3
- package/src/resolvers/mutations/orders/removeCartDiscount.ts +18 -5
- package/src/resolvers/mutations/orders/removeCartItem.ts +3 -3
- package/src/resolvers/mutations/orders/removeOrder.ts +1 -1
- package/src/resolvers/mutations/orders/setOrderDeliveryProvider.ts +4 -4
- package/src/resolvers/mutations/orders/setOrderPaymentProvider.ts +4 -4
- package/src/resolvers/mutations/orders/signPaymentProviderForCheckout.ts +6 -3
- package/src/resolvers/mutations/orders/updateCart.ts +6 -6
- package/src/resolvers/mutations/orders/updateCartItem.ts +15 -9
- package/src/resolvers/mutations/orders/updateOrderDeliveryPickUp.ts +3 -3
- package/src/resolvers/mutations/orders/updateOrderDeliveryShipping.ts +3 -3
- package/src/resolvers/mutations/orders/updateOrderPaymentCard.ts +3 -3
- package/src/resolvers/mutations/orders/updateOrderPaymentGeneric.ts +3 -3
- package/src/resolvers/mutations/orders/updateOrderPaymentInvoice.ts +3 -3
- package/src/resolvers/mutations/payment/createPaymentProvider.ts +7 -6
- package/src/resolvers/mutations/payment/markPaymentCredentialsPreferred.ts +1 -1
- package/src/resolvers/mutations/payment/registerPaymentCredentials.ts +6 -7
- package/src/resolvers/mutations/payment/removePaymentCredentials.ts +1 -1
- package/src/resolvers/mutations/payment/removePaymentProvider.ts +1 -1
- package/src/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.ts +9 -9
- package/src/resolvers/mutations/payment/updatePaymentProvider.ts +1 -1
- package/src/resolvers/mutations/products/addProductAssignment.ts +1 -1
- package/src/resolvers/mutations/products/addProductReviewVote.ts +1 -1
- package/src/resolvers/mutations/products/createProduct.ts +1 -1
- package/src/resolvers/mutations/products/createProductBundleItem.ts +1 -1
- package/src/resolvers/mutations/products/createProductReview.ts +1 -1
- package/src/resolvers/mutations/products/createProductVariation.ts +3 -1
- package/src/resolvers/mutations/products/createProductVariationOption.ts +2 -1
- package/src/resolvers/mutations/products/prepareProductMediaUpload.ts +6 -9
- package/src/resolvers/mutations/products/publishProduct.ts +1 -1
- package/src/resolvers/mutations/products/removeBundleItem.ts +1 -1
- package/src/resolvers/mutations/products/removeProduct.ts +2 -2
- package/src/resolvers/mutations/products/removeProductAssignment.ts +1 -1
- package/src/resolvers/mutations/products/removeProductMedia.ts +1 -1
- package/src/resolvers/mutations/products/removeProductReview.ts +1 -1
- package/src/resolvers/mutations/products/removeProductReviewVote.ts +1 -1
- package/src/resolvers/mutations/products/removeProductVariation.ts +1 -1
- package/src/resolvers/mutations/products/removeProductVariationOption.ts +1 -1
- package/src/resolvers/mutations/products/reorderProductMedia.ts +1 -1
- package/src/resolvers/mutations/products/unpublishProduct.ts +1 -1
- package/src/resolvers/mutations/products/updateProduct.ts +1 -1
- package/src/resolvers/mutations/products/updateProductCommerce.ts +1 -1
- package/src/resolvers/mutations/products/updateProductMediaTexts.ts +1 -1
- package/src/resolvers/mutations/products/updateProductPlan.ts +1 -1
- package/src/resolvers/mutations/products/updateProductReview.ts +1 -1
- package/src/resolvers/mutations/products/updateProductSupply.ts +1 -1
- package/src/resolvers/mutations/products/updateProductTexts.ts +1 -1
- package/src/resolvers/mutations/products/updateProductTokenization.ts +1 -1
- package/src/resolvers/mutations/products/updateProductVariationTexts.ts +1 -1
- package/src/resolvers/mutations/products/updateProductWarehousing.ts +1 -1
- package/src/resolvers/mutations/quotations/makeQuotationProposal.ts +3 -3
- package/src/resolvers/mutations/quotations/rejectQuotation.ts +3 -3
- package/src/resolvers/mutations/quotations/requestQuotation.ts +11 -11
- package/src/resolvers/mutations/quotations/verifyQuotation.ts +3 -3
- package/src/resolvers/mutations/users/addPushSubscription.ts +1 -1
- package/src/resolvers/mutations/users/heartbeat.ts +1 -1
- package/src/resolvers/mutations/users/prepareUserAvatarUpload.ts +6 -9
- package/src/resolvers/mutations/users/removePushSubscription.ts +1 -1
- package/src/resolvers/mutations/users/removeUser.ts +10 -6
- package/src/resolvers/mutations/users/removeUserProductReviews.ts +23 -0
- package/src/resolvers/mutations/users/setRoles.ts +1 -1
- package/src/resolvers/mutations/users/setUserTags.ts +1 -1
- package/src/resolvers/mutations/users/updateUserProfile.ts +2 -2
- package/src/resolvers/mutations/utils/getOrderCart.ts +6 -5
- package/src/resolvers/mutations/warehousing/createWarehousingProvider.ts +11 -6
- package/src/resolvers/mutations/warehousing/exportToken.ts +1 -1
- package/src/resolvers/mutations/warehousing/invalidateToken.ts +11 -5
- package/src/resolvers/mutations/warehousing/removeWarehousingProvider.ts +1 -1
- package/src/resolvers/mutations/warehousing/updateWarehousingProvider.ts +2 -4
- package/src/resolvers/mutations/worker/addWork.ts +3 -3
- package/src/resolvers/mutations/worker/allocateWork.ts +1 -1
- package/src/resolvers/mutations/worker/finishWork.ts +1 -1
- package/src/resolvers/mutations/worker/processNextWork.ts +3 -2
- package/src/resolvers/mutations/worker/removeWork.ts +1 -1
- package/src/resolvers/queries/assortments/assortment.ts +1 -1
- package/src/resolvers/queries/assortments/assortments.ts +1 -1
- package/src/resolvers/queries/assortments/assortmentsCount.ts +1 -1
- package/src/resolvers/queries/assortments/translatedAssortmentMediaTexts.ts +1 -1
- package/src/resolvers/queries/assortments/translatedAssortmentTexts.ts +1 -1
- package/src/resolvers/queries/countries/countries.ts +1 -1
- package/src/resolvers/queries/countries/countriesCount.ts +1 -1
- package/src/resolvers/queries/countries/country.ts +1 -1
- package/src/resolvers/queries/currencies/currencies.ts +1 -1
- package/src/resolvers/queries/currencies/currenciesCount.ts +1 -1
- package/src/resolvers/queries/currencies/currency.ts +1 -1
- package/src/resolvers/queries/delivery/deliveryInterfaces.ts +10 -3
- package/src/resolvers/queries/delivery/deliveryProvider.ts +1 -1
- package/src/resolvers/queries/delivery/deliveryProviders.ts +5 -3
- package/src/resolvers/queries/delivery/deliveryProvidersCount.ts +5 -3
- package/src/resolvers/queries/enrollments/enrollment.ts +1 -1
- package/src/resolvers/queries/enrollments/enrollments.ts +1 -1
- package/src/resolvers/queries/enrollments/enrollmentsCount.ts +1 -1
- package/src/resolvers/queries/events/event.ts +1 -1
- package/src/resolvers/queries/events/eventStatistics.ts +5 -3
- package/src/resolvers/queries/events/events.ts +1 -1
- package/src/resolvers/queries/events/eventsCounts.ts +1 -1
- package/src/resolvers/queries/filters/filter.ts +1 -1
- package/src/resolvers/queries/filters/filters.ts +1 -1
- package/src/resolvers/queries/filters/filtersCount.ts +1 -1
- package/src/resolvers/queries/filters/searchAssortments.ts +5 -9
- package/src/resolvers/queries/filters/searchProducts.ts +4 -6
- package/src/resolvers/queries/filters/translatedFilterTexts.ts +1 -1
- package/src/resolvers/queries/languages/language.ts +1 -1
- package/src/resolvers/queries/languages/languages.ts +1 -1
- package/src/resolvers/queries/languages/languagesCount.ts +1 -1
- package/src/resolvers/queries/orders/order.ts +1 -1
- package/src/resolvers/queries/orders/orderStatistics.ts +5 -3
- package/src/resolvers/queries/orders/orders.ts +1 -1
- package/src/resolvers/queries/orders/ordersCount.ts +1 -1
- package/src/resolvers/queries/payment/paymentInterfaces.ts +10 -3
- package/src/resolvers/queries/payment/paymentProvider.ts +1 -1
- package/src/resolvers/queries/payment/paymentProviders.ts +1 -1
- package/src/resolvers/queries/payment/paymentProvidersCount.ts +1 -1
- package/src/resolvers/queries/products/product.ts +1 -1
- package/src/resolvers/queries/products/productCatalogPrices.ts +1 -1
- package/src/resolvers/queries/products/productReview.ts +1 -1
- package/src/resolvers/queries/products/productReviews.ts +1 -1
- package/src/resolvers/queries/products/productReviewsCount.ts +1 -1
- package/src/resolvers/queries/products/products.ts +1 -1
- package/src/resolvers/queries/products/productsCount.ts +1 -1
- package/src/resolvers/queries/products/translatedProductMediaTexts.ts +1 -1
- package/src/resolvers/queries/products/translatedProductTexts.ts +1 -1
- package/src/resolvers/queries/products/translatedProductVariationTexts.ts +1 -1
- package/src/resolvers/queries/quotations/quotation.ts +1 -1
- package/src/resolvers/queries/quotations/quotations.ts +1 -1
- package/src/resolvers/queries/quotations/quotationsCount.ts +1 -1
- package/src/resolvers/queries/shopInfo.ts +1 -1
- package/src/resolvers/queries/users/me.ts +1 -1
- package/src/resolvers/queries/users/user.ts +1 -1
- package/src/resolvers/queries/users/users.ts +6 -2
- package/src/resolvers/queries/users/usersCount.ts +1 -1
- package/src/resolvers/queries/users/validateResetPasswordToken.ts +1 -1
- package/src/resolvers/queries/users/validateVerifyEmailToken.ts +1 -1
- package/src/resolvers/queries/warehousing/token.ts +1 -1
- package/src/resolvers/queries/warehousing/tokens.ts +1 -1
- package/src/resolvers/queries/warehousing/warehousingInterfaces.ts +12 -5
- package/src/resolvers/queries/warehousing/warehousingProvider.ts +1 -1
- package/src/resolvers/queries/warehousing/warehousingProviders.ts +5 -3
- package/src/resolvers/queries/warehousing/warehousingProvidersCount.ts +5 -3
- package/src/resolvers/queries/worker/activeWorkTypes.ts +7 -2
- package/src/resolvers/queries/worker/work.ts +1 -1
- package/src/resolvers/queries/worker/workQueue.ts +1 -1
- package/src/resolvers/queries/worker/workQueueCount.ts +2 -2
- package/src/resolvers/queries/worker/workStatistics.ts +5 -3
- package/src/resolvers/type/assortment/assortment-filter-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-link-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-media-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-path-link-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-product-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-types.ts +53 -69
- package/src/resolvers/type/bookmark-types.ts +4 -4
- package/src/resolvers/type/country-types.ts +1 -1
- package/src/resolvers/type/delivery-provider-types.ts +28 -30
- package/src/resolvers/type/dispatch-types.ts +13 -16
- package/src/resolvers/type/enrollment/enrollment-delivery-types.ts +1 -1
- package/src/resolvers/type/enrollment/enrollment-payment-types.ts +1 -1
- package/src/resolvers/type/enrollment/enrollment-period-types.ts +1 -1
- package/src/resolvers/type/enrollment/enrollment-plan-tyes.ts +1 -1
- package/src/resolvers/type/enrollment/enrollment-types.ts +1 -1
- package/src/resolvers/type/event-types.ts +2 -2
- package/src/resolvers/type/filter/filter-option-types.ts +1 -1
- package/src/resolvers/type/filter/filter-types.ts +1 -1
- package/src/resolvers/type/filter/loaded-filter-option-types.ts +18 -1
- package/src/resolvers/type/filter/loaded-filter-types.ts +59 -1
- package/src/resolvers/type/index.ts +3 -1
- package/src/resolvers/type/language-types.ts +1 -1
- package/src/resolvers/type/media-types.ts +17 -6
- package/src/resolvers/type/order/order-delivery-discount-types.ts +8 -23
- package/src/resolvers/type/order/order-delivery-pickup-types.ts +23 -8
- package/src/resolvers/type/order/order-delivery-shipping-types.ts +9 -5
- package/src/resolvers/type/order/order-delivery-types.ts +1 -1
- package/src/resolvers/type/order/order-discount-types.ts +7 -11
- package/src/resolvers/type/order/order-discountable-types.ts +9 -6
- package/src/resolvers/type/order/order-global-discount-types.ts +24 -27
- package/src/resolvers/type/order/order-item-discount-types.ts +7 -20
- package/src/resolvers/type/order/order-item-types.ts +21 -25
- package/src/resolvers/type/order/order-payment-card-types.ts +8 -4
- package/src/resolvers/type/order/order-payment-discount-types.ts +24 -28
- package/src/resolvers/type/order/order-payment-generic-types.ts +8 -4
- package/src/resolvers/type/order/order-payment-invoice-types.ts +8 -4
- package/src/resolvers/type/order/order-payment-types.ts +1 -1
- package/src/resolvers/type/order/order-types.ts +24 -32
- package/src/resolvers/type/payment/payment-credentials-types.ts +11 -6
- package/src/resolvers/type/payment/payment-provider-types.ts +33 -70
- package/src/resolvers/type/product/product-assortment-path-types.ts +1 -1
- package/src/resolvers/type/product/product-bundle-item-types.ts +1 -1
- package/src/resolvers/type/product/product-catalog-price-types.ts +1 -1
- package/src/resolvers/type/product/product-configurable-types.ts +85 -14
- package/src/resolvers/type/product/product-discount.ts +10 -32
- package/src/resolvers/type/product/product-media-types.ts +1 -1
- package/src/resolvers/type/product/product-plan-types.ts +29 -14
- package/src/resolvers/type/product/product-review-types.ts +1 -1
- package/src/resolvers/type/product/product-simple-types.ts +17 -20
- package/src/resolvers/type/product/product-tokenized-types.ts +11 -11
- package/src/resolvers/type/product/product-types.ts +12 -6
- package/src/resolvers/type/product/product-variation-assignment-types.ts +1 -1
- package/src/resolvers/type/product/product-variation-assignment-vector.ts +1 -1
- package/src/resolvers/type/product/product-variation-option-types.ts +1 -1
- package/src/resolvers/type/product/product-variation-types.ts +1 -1
- package/src/resolvers/type/product-search-result-types.ts +69 -0
- package/src/resolvers/type/quotation-types.ts +1 -1
- package/src/resolvers/type/shop-types.ts +1 -1
- package/src/resolvers/type/stock-types.ts +12 -15
- package/src/resolvers/type/token-types.ts +21 -10
- package/src/resolvers/type/user-types.ts +34 -13
- package/src/resolvers/type/warehousing-provider-types.ts +15 -12
- package/src/resolvers/type/webauthn-credentials-types.ts +30 -18
- package/src/resolvers/type/work-types.ts +7 -3
- package/src/roles/all.ts +12 -2
- package/src/roles/index.ts +3 -0
- package/src/roles/loggedIn.ts +24 -1
- package/src/schema/mutation.ts +6 -1
- package/src/schema/query.ts +11 -4
- package/src/schema/types/assortment.ts +1 -1
- package/src/schema/types/media.ts +1 -1
- package/src/schema/types/product/product.ts +1 -1
- package/tsconfig.json +4 -4
- package/lib/types.d.ts +0 -100
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -2
- package/lib/types.js.map +0 -1
- package/src/express/passport/access-token-strategy.ts +0 -39
- package/src/express/passport/setup.ts +0 -44
- package/src/types.ts +0 -94
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
declare const types: {
|
|
2
|
-
Assortment:
|
|
2
|
+
Assortment: {
|
|
3
|
+
assortmentPaths: (obj: import("@unchainedshop/core-assortments").Assortment, _: any, { modules }: import("../../context.js").Context) => Promise<{
|
|
4
|
+
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
5
|
+
}[]>;
|
|
6
|
+
children: (obj: import("@unchainedshop/core-assortments").Assortment, { includeInactive }: {
|
|
7
|
+
includeInactive: boolean;
|
|
8
|
+
}, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-assortments").Assortment[]>;
|
|
9
|
+
childrenCount: (assortment: import("@unchainedshop/core-assortments").Assortment, { includeInactive }: {
|
|
10
|
+
includeInactive: boolean;
|
|
11
|
+
}, { modules, loaders }: import("../../context.js").Context) => Promise<number>;
|
|
12
|
+
filterAssignments: (obj: import("@unchainedshop/core-assortments").Assortment, _: any, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-assortments").AssortmentFilter[]>;
|
|
13
|
+
linkedAssortments(assortment: import("@unchainedshop/core-assortments").Assortment, _: any, { loaders }: import("../../context.js").Context): Promise<import("@unchainedshop/core-assortments").AssortmentLink[]>;
|
|
14
|
+
media(obj: import("@unchainedshop/core-assortments").Assortment, params: {
|
|
15
|
+
limit: number;
|
|
16
|
+
offset: number;
|
|
17
|
+
tags?: Array<string>;
|
|
18
|
+
}, { modules, loaders }: import("../../context.js").Context): Promise<import("@unchainedshop/core-assortments").AssortmentMediaType[]>;
|
|
19
|
+
productAssignments(obj: import("@unchainedshop/core-assortments").Assortment, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-assortments").AssortmentProduct[]>;
|
|
20
|
+
texts(obj: import("@unchainedshop/core-assortments").Assortment, { forceLocale }: {
|
|
21
|
+
forceLocale?: string;
|
|
22
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-assortments").AssortmentText>;
|
|
23
|
+
searchProducts: (obj: import("@unchainedshop/core-assortments").Assortment, query: {
|
|
24
|
+
queryString?: string;
|
|
25
|
+
filterQuery?: import("@unchainedshop/core-filters").SearchFilterQuery;
|
|
26
|
+
includeInactive: boolean;
|
|
27
|
+
ignoreChildAssortments: boolean;
|
|
28
|
+
orderBy?: string;
|
|
29
|
+
}, requestContext: import("../../context.js").Context) => Promise<{
|
|
30
|
+
searchConfiguration: import("@unchainedshop/core/lib/services/searchProducts.js").SearchProductConfiguration;
|
|
31
|
+
totalProductIds: string[];
|
|
32
|
+
aggregatedTotalProductIds: string[];
|
|
33
|
+
aggregatedFilteredProductIds: string[];
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
3
36
|
AssortmentFilter: import("./assortment/assortment-filter-types.js").AssortmentFilterHelperTypes;
|
|
4
37
|
AssortmentLink: import("./assortment/assortment-link-types.js").AssortmentLinkHelperTypes;
|
|
5
38
|
AssortmentMedia: import("./assortment/assortment-media-types.js").AssortmentMediaHelperTypes;
|
|
@@ -11,33 +44,33 @@ declare const types: {
|
|
|
11
44
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
12
45
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
13
46
|
forceLocale?: string;
|
|
14
|
-
}, { modules }: import("../../
|
|
47
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
15
48
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
16
49
|
}>>;
|
|
17
50
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
18
51
|
limit: number;
|
|
19
52
|
offset: number;
|
|
20
53
|
tags?: Array<string>;
|
|
21
|
-
}, { modules }: import("../../
|
|
54
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
22
55
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
23
56
|
queryString?: string;
|
|
24
57
|
limit?: number;
|
|
25
58
|
offset?: number;
|
|
26
59
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
27
|
-
}, { modules }: import("../../
|
|
60
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
28
61
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
29
62
|
queryString?: string;
|
|
30
|
-
}, { modules }: import("../../
|
|
63
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
31
64
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
32
65
|
assortmentId?: string;
|
|
33
66
|
limit: number;
|
|
34
67
|
offset: number;
|
|
35
68
|
includeInactive: boolean;
|
|
36
|
-
}, { modules }: import("../../
|
|
37
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
69
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
70
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
38
71
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
39
72
|
forceLocale?: string;
|
|
40
|
-
}, requestContext: import("../../
|
|
73
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
41
74
|
};
|
|
42
75
|
Color: {
|
|
43
76
|
name({ colorName }: {
|
|
@@ -59,61 +92,61 @@ declare const types: {
|
|
|
59
92
|
ConfigurableProduct: {
|
|
60
93
|
assignments(product: import("@unchainedshop/core-products").Product, params: {
|
|
61
94
|
includeInactive: boolean;
|
|
62
|
-
}, { modules }: import("../../
|
|
95
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
63
96
|
assignment: import("@unchainedshop/core-products").ProductAssignment;
|
|
64
97
|
product: typeof product;
|
|
65
98
|
}>>;
|
|
66
99
|
products(product: import("@unchainedshop/core-products").Product, { vectors, includeInactive, }: {
|
|
67
100
|
vectors: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
68
101
|
includeInactive: boolean;
|
|
69
|
-
}, { modules }: import("../../
|
|
102
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
70
103
|
catalogPriceRange(product: import("@unchainedshop/core-products").Product, { quantity, vectors, currency: forcedCurrencyCode, includeInactive, }: {
|
|
71
104
|
currency?: string;
|
|
72
105
|
includeInactive: boolean;
|
|
73
106
|
quantity: number;
|
|
74
107
|
vectors: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
75
|
-
}, requestContext: import("../../
|
|
108
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPriceRange>;
|
|
76
109
|
variations(product: import("@unchainedshop/core-products").Product, { limit, offset, }: {
|
|
77
110
|
limit: number;
|
|
78
111
|
offset: number;
|
|
79
|
-
}, { modules }: import("../../
|
|
112
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductVariation>>;
|
|
80
113
|
simulatedPriceRange(product: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode, quantity, useNetPrice, vectors, includeInactive, }: {
|
|
81
114
|
currency?: string;
|
|
82
115
|
includeInactive: boolean;
|
|
83
116
|
quantity?: number;
|
|
84
117
|
vectors: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
85
118
|
useNetPrice: boolean;
|
|
86
|
-
}, requestContext: import("../../
|
|
119
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPriceRange>;
|
|
87
120
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
88
121
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
89
122
|
forceLocale?: string;
|
|
90
|
-
}, { modules }: import("../../
|
|
123
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
91
124
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
92
125
|
}>>;
|
|
93
126
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
94
127
|
limit: number;
|
|
95
128
|
offset: number;
|
|
96
129
|
tags?: Array<string>;
|
|
97
|
-
}, { modules }: import("../../
|
|
130
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
98
131
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
99
132
|
queryString?: string;
|
|
100
133
|
limit?: number;
|
|
101
134
|
offset?: number;
|
|
102
135
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
103
|
-
}, { modules }: import("../../
|
|
136
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
104
137
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
105
138
|
queryString?: string;
|
|
106
|
-
}, { modules }: import("../../
|
|
139
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
107
140
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
108
141
|
assortmentId?: string;
|
|
109
142
|
limit: number;
|
|
110
143
|
offset: number;
|
|
111
144
|
includeInactive: boolean;
|
|
112
|
-
}, { modules }: import("../../
|
|
113
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
145
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
146
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
114
147
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
115
148
|
forceLocale?: string;
|
|
116
|
-
}, requestContext: import("../../
|
|
149
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
117
150
|
};
|
|
118
151
|
Country: import("./country-types.js").CountryHelperTypes;
|
|
119
152
|
Currency: {
|
|
@@ -151,66 +184,130 @@ declare const types: {
|
|
|
151
184
|
quantity: number;
|
|
152
185
|
country: string;
|
|
153
186
|
userId?: string;
|
|
154
|
-
}) => string
|
|
187
|
+
}) => Promise<string>;
|
|
155
188
|
};
|
|
156
189
|
Enrollment: {
|
|
157
190
|
isExpired: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: {
|
|
158
191
|
referenceDate?: Date;
|
|
159
|
-
}, context: import("../../
|
|
160
|
-
plan: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../
|
|
161
|
-
user: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../
|
|
162
|
-
country: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../
|
|
163
|
-
currency: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../
|
|
192
|
+
}, context: import("../../context.js").Context) => boolean;
|
|
193
|
+
plan: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../context.js").Context) => import("@unchainedshop/core-enrollments").EnrollmentPlan;
|
|
194
|
+
user: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-users").User>;
|
|
195
|
+
country: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-countries").Country>;
|
|
196
|
+
currency: (enrollment: import("@unchainedshop/core-enrollments").Enrollment, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-currencies").Currency>;
|
|
164
197
|
};
|
|
165
198
|
EnrollmentDelivery: {
|
|
166
|
-
provider: (enrollmentDelivery: import("@unchainedshop/core-enrollments").Enrollment["delivery"], _: never, context: import("../../
|
|
199
|
+
provider: (enrollmentDelivery: import("@unchainedshop/core-enrollments").Enrollment["delivery"], _: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-delivery").DeliveryProvider>;
|
|
167
200
|
};
|
|
168
201
|
EnrollmentPayment: {
|
|
169
|
-
provider: (enrollmentPayment: import("@unchainedshop/core-enrollments").Enrollment["payment"], _: never, context: import("../../
|
|
202
|
+
provider: (enrollmentPayment: import("@unchainedshop/core-enrollments").Enrollment["payment"], _: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-payment").PaymentProvider>;
|
|
170
203
|
};
|
|
171
204
|
EnrollmentPeriod: {
|
|
172
|
-
order: (enrollmentPeriod: import("@unchainedshop/core-enrollments").EnrollmentPeriod, _: never, context: import("../../
|
|
205
|
+
order: (enrollmentPeriod: import("@unchainedshop/core-enrollments").EnrollmentPeriod, _: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-orders").Order>;
|
|
173
206
|
};
|
|
174
207
|
EnrollmentPlan: {
|
|
175
|
-
product: (enrollmentPlan: import("@unchainedshop/core-enrollments").EnrollmentPlan, _: never, context: import("../../
|
|
208
|
+
product: (enrollmentPlan: import("@unchainedshop/core-enrollments").EnrollmentPlan, _: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-products").Product>;
|
|
176
209
|
};
|
|
177
210
|
Filter: {
|
|
178
|
-
options: (filter: import("@unchainedshop/core-filters").Filter, params: never, context: import("../../
|
|
211
|
+
options: (filter: import("@unchainedshop/core-filters").Filter, params: never, context: import("../../context.js").Context) => import("@unchainedshop/core-filters").FilterOption[];
|
|
179
212
|
texts: (filter: import("@unchainedshop/core-filters").Filter, params: {
|
|
180
213
|
forceLocale?: string;
|
|
181
|
-
}, context: import("../../
|
|
214
|
+
}, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-filters").FilterText>;
|
|
182
215
|
};
|
|
183
216
|
FilterOption: {
|
|
184
|
-
_id: (filterOption: import("@unchainedshop/core-filters").FilterOption, params: never, context: import("../../
|
|
217
|
+
_id: (filterOption: import("@unchainedshop/core-filters").FilterOption, params: never, context: import("../../context.js").Context) => string;
|
|
185
218
|
texts: (filterOption: import("@unchainedshop/core-filters").FilterOption, params: {
|
|
186
219
|
forceLocale?: string;
|
|
187
|
-
}, context: import("../../
|
|
188
|
-
value: (filterOption: import("@unchainedshop/core-filters").FilterOption, params: never, context: import("../../
|
|
220
|
+
}, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-filters").FilterText>;
|
|
221
|
+
value: (filterOption: import("@unchainedshop/core-filters").FilterOption, params: never, context: import("../../context.js").Context) => string;
|
|
189
222
|
};
|
|
190
223
|
Language: import("./language-types.js").LanguageHelperTypes;
|
|
191
|
-
LoadedFilter: {
|
|
192
|
-
|
|
224
|
+
LoadedFilter: {
|
|
225
|
+
definition: ({ filter }: {
|
|
226
|
+
forceLiveCollection: boolean;
|
|
227
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
228
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
229
|
+
examinedProductIdSet: Set<string>;
|
|
230
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
231
|
+
filteredByThisFilterSet: Set<string>;
|
|
232
|
+
}) => import("@unchainedshop/core-filters").Filter;
|
|
233
|
+
isSelected: ({ searchQuery, filter }: {
|
|
234
|
+
forceLiveCollection: boolean;
|
|
235
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
236
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
237
|
+
examinedProductIdSet: Set<string>;
|
|
238
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
239
|
+
filteredByThisFilterSet: Set<string>;
|
|
240
|
+
}) => boolean;
|
|
241
|
+
filteredProductsCount: ({ filteredByOtherFiltersSet, filteredByThisFilterSet, searchQuery }: {
|
|
242
|
+
forceLiveCollection: boolean;
|
|
243
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
244
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
245
|
+
examinedProductIdSet: Set<string>;
|
|
246
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
247
|
+
filteredByThisFilterSet: Set<string>;
|
|
248
|
+
}, _: never, context: import("../../context.js").Context) => Promise<number>;
|
|
249
|
+
productsCount: ({ examinedProductIdSet, searchQuery }: {
|
|
250
|
+
forceLiveCollection: boolean;
|
|
251
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
252
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
253
|
+
examinedProductIdSet: Set<string>;
|
|
254
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
255
|
+
filteredByThisFilterSet: Set<string>;
|
|
256
|
+
}, _: never, context: import("../../context.js").Context) => Promise<number>;
|
|
257
|
+
options: ({ filter, filteredByOtherFiltersSet, forceLiveCollection, searchQuery }: {
|
|
258
|
+
forceLiveCollection: boolean;
|
|
259
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
260
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
261
|
+
examinedProductIdSet: Set<string>;
|
|
262
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
263
|
+
filteredByThisFilterSet: Set<string>;
|
|
264
|
+
}, _: never, context: import("../../context.js").Context) => Promise<{
|
|
265
|
+
filteredProductIdSet: Set<string>;
|
|
266
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
267
|
+
value: string;
|
|
268
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
269
|
+
isSelected: boolean;
|
|
270
|
+
}[]>;
|
|
271
|
+
};
|
|
272
|
+
LoadedFilterOption: {
|
|
273
|
+
filteredProductsCount: ({ filteredProductIdSet, searchQuery }: {
|
|
274
|
+
filteredProductIdSet: any;
|
|
275
|
+
searchQuery: any;
|
|
276
|
+
}, _: never, context: import("../../context.js").Context) => Promise<number>;
|
|
277
|
+
definition: ({ filter, value }: {
|
|
278
|
+
filter: any;
|
|
279
|
+
value: any;
|
|
280
|
+
}) => any;
|
|
281
|
+
};
|
|
193
282
|
Order: {
|
|
194
|
-
supportedDeliveryProviders(order: import("@unchainedshop/core-orders").Order, _: any, context: import("../../
|
|
195
|
-
supportedPaymentProviders(order: import("@unchainedshop/core-orders").Order, _: any, context: import("../../
|
|
196
|
-
currency(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
197
|
-
country(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
198
|
-
discounts(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
199
|
-
delivery(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
200
|
-
enrollment(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
201
|
-
items(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
202
|
-
payment(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
283
|
+
supportedDeliveryProviders(order: import("@unchainedshop/core-orders").Order, _: any, context: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-delivery").DeliveryProvider>>;
|
|
284
|
+
supportedPaymentProviders(order: import("@unchainedshop/core-orders").Order, _: any, context: import("../../context.js").Context): Promise<import("@unchainedshop/core-payment").PaymentProvider[]>;
|
|
285
|
+
currency(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-currencies").Currency>;
|
|
286
|
+
country(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-countries").Country>;
|
|
287
|
+
discounts(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-orders").OrderDiscount>>;
|
|
288
|
+
delivery(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-orders").OrderDelivery>;
|
|
289
|
+
enrollment(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-enrollments").Enrollment>;
|
|
290
|
+
items(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-orders").OrderPosition>>;
|
|
291
|
+
payment(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-orders").OrderPayment>;
|
|
203
292
|
status(order: import("@unchainedshop/core-orders").Order): string;
|
|
204
293
|
total(order: import("@unchainedshop/core-orders").Order, params: {
|
|
205
294
|
category: string;
|
|
206
295
|
useNetPrice: boolean;
|
|
207
|
-
}
|
|
208
|
-
user(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../
|
|
296
|
+
}): Promise<import("@unchainedshop/utils").Price>;
|
|
297
|
+
user(order: import("@unchainedshop/core-orders").Order, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-users").User>;
|
|
209
298
|
};
|
|
210
299
|
OrderDelivery: {
|
|
211
|
-
__resolveType: (obj: import("@unchainedshop/core-orders").OrderDelivery, { modules }: import("../../
|
|
300
|
+
__resolveType: (obj: import("@unchainedshop/core-orders").OrderDelivery, { modules }: import("../../context.js").Context) => Promise<string>;
|
|
301
|
+
};
|
|
302
|
+
OrderDeliveryDiscount: {
|
|
303
|
+
_id(obj: import("@unchainedshop/core-orders").OrderDeliveryDiscount): string;
|
|
304
|
+
orderDiscount: (obj: import("@unchainedshop/core-orders").OrderDeliveryDiscount, _: any, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-orders").OrderDiscount>;
|
|
305
|
+
total(obj: import("@unchainedshop/core-orders").OrderDeliveryDiscount): Promise<{
|
|
306
|
+
_id: string;
|
|
307
|
+
amount: number;
|
|
308
|
+
currency: string;
|
|
309
|
+
}>;
|
|
212
310
|
};
|
|
213
|
-
OrderDeliveryDiscount: import("./order/order-delivery-discount-types.js").OrderDeliveryDiscountHelperTypes;
|
|
214
311
|
OrderDeliveryPickUp: import("./order/order-delivery-pickup-types.js").OrderDeliveryPickupHelperTypes;
|
|
215
312
|
OrderDeliveryShipping: import("./order/order-delivery-shipping-types.js").OrderDeliveryShippingHelperTypes;
|
|
216
313
|
OrderDiscount: import("./order/order-discount-types.js").OrderDiscountHelperTypes;
|
|
@@ -222,56 +319,119 @@ declare const types: {
|
|
|
222
319
|
order?: import("@unchainedshop/core-orders").Order;
|
|
223
320
|
orderDiscount: import("@unchainedshop/core-orders").OrderDiscount;
|
|
224
321
|
payment?: import("@unchainedshop/core-orders").OrderPayment;
|
|
225
|
-
total: import("@unchainedshop/
|
|
322
|
+
total: import("@unchainedshop/utils").Price;
|
|
226
323
|
}): string;
|
|
227
324
|
};
|
|
228
|
-
OrderGlobalDiscount:
|
|
325
|
+
OrderGlobalDiscount: {
|
|
326
|
+
_id(obj: import("@unchainedshop/utils").Price & {
|
|
327
|
+
order: import("@unchainedshop/core-orders").Order;
|
|
328
|
+
discountId: string;
|
|
329
|
+
}): string;
|
|
330
|
+
orderDiscount: (obj: import("@unchainedshop/utils").Price & {
|
|
331
|
+
order: import("@unchainedshop/core-orders").Order;
|
|
332
|
+
discountId: string;
|
|
333
|
+
}, _: any, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-orders").OrderDiscount>;
|
|
334
|
+
total(obj: import("@unchainedshop/utils").Price & {
|
|
335
|
+
order: import("@unchainedshop/core-orders").Order;
|
|
336
|
+
discountId: string;
|
|
337
|
+
}): Promise<{
|
|
338
|
+
_id: string;
|
|
339
|
+
amount: number;
|
|
340
|
+
currency: string;
|
|
341
|
+
}>;
|
|
342
|
+
};
|
|
229
343
|
OrderItem: {
|
|
230
|
-
discounts(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, context: import("../../
|
|
231
|
-
dispatches(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules, loaders }: import("../../
|
|
344
|
+
discounts(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, context: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-orders").OrderPositionDiscount>>;
|
|
345
|
+
dispatches(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules, loaders }: import("../../context.js").Context): Promise<Array<{
|
|
232
346
|
_id: string;
|
|
233
347
|
deliveryProvider: import("@unchainedshop/core-delivery").DeliveryProvider;
|
|
234
348
|
warehousingProvider: import("@unchainedshop/core-warehousing").WarehousingProvider;
|
|
235
349
|
shipping: Date;
|
|
236
350
|
earliestDelivery: Date;
|
|
237
351
|
}>>;
|
|
238
|
-
order(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules }: import("../../
|
|
239
|
-
originalProduct(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { loaders }: import("../../
|
|
240
|
-
product(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { loaders }: import("../../
|
|
241
|
-
quotation(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules }: import("../../
|
|
352
|
+
order(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-orders").Order>;
|
|
353
|
+
originalProduct(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { loaders }: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").Product>;
|
|
354
|
+
product(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { loaders }: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").Product>;
|
|
355
|
+
quotation(orderPosition: import("@unchainedshop/core-orders").OrderPosition, _: any, { modules }: import("../../context.js").Context): Promise<import("@unchainedshop/core-quotations").Quotation>;
|
|
242
356
|
total(orderPosition: import("@unchainedshop/core-orders").OrderPosition, params: {
|
|
243
357
|
category: string;
|
|
244
358
|
useNetPrice: boolean;
|
|
245
|
-
}, context: import("../../
|
|
359
|
+
}, context: import("../../context.js").Context): Promise<import("@unchainedshop/utils").Price>;
|
|
246
360
|
unitPrice(orderPosition: import("@unchainedshop/core-orders").OrderPosition, params: {
|
|
247
361
|
useNetPrice: boolean;
|
|
248
|
-
}, context: import("../../
|
|
249
|
-
tokens(orderPosition: import("@unchainedshop/core-orders").OrderPosition, params: never, { modules }: import("../../
|
|
362
|
+
}, context: import("../../context.js").Context): Promise<import("@unchainedshop/utils").Price>;
|
|
363
|
+
tokens(orderPosition: import("@unchainedshop/core-orders").OrderPosition, params: never, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-warehousing").TokenSurrogate>>;
|
|
364
|
+
};
|
|
365
|
+
OrderItemDiscount: {
|
|
366
|
+
_id: (obj: import("@unchainedshop/core-orders").OrderPositionDiscount) => string;
|
|
367
|
+
orderDiscount: (obj: import("@unchainedshop/core-orders").OrderPositionDiscount, _: any, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-orders").OrderDiscount>;
|
|
368
|
+
total(obj: import("@unchainedshop/core-orders").OrderPositionDiscount): Promise<{
|
|
369
|
+
_id: string;
|
|
370
|
+
amount: number;
|
|
371
|
+
currency: string;
|
|
372
|
+
}>;
|
|
250
373
|
};
|
|
251
|
-
OrderItemDiscount: import("./order/order-item-discount-types.js").OrderItemDiscountHelperTypes;
|
|
252
374
|
OrderPayment: {
|
|
253
|
-
__resolveType: (obj: import("@unchainedshop/core-orders").OrderPayment, { modules }: import("../../
|
|
375
|
+
__resolveType: (obj: import("@unchainedshop/core-orders").OrderPayment, { modules }: import("../../context.js").Context) => Promise<string>;
|
|
254
376
|
};
|
|
255
377
|
OrderPaymentCard: import("./order/order-payment-card-types.js").OrderPaymentCardHelperTypes;
|
|
256
|
-
OrderPaymentDiscount:
|
|
378
|
+
OrderPaymentDiscount: {
|
|
379
|
+
_id: (orderDelivery: import("@unchainedshop/utils").Price & {
|
|
380
|
+
discountId: string;
|
|
381
|
+
item: import("@unchainedshop/core-orders").OrderPayment;
|
|
382
|
+
}) => string;
|
|
383
|
+
orderDiscount: (orderDelivery: import("@unchainedshop/utils").Price & {
|
|
384
|
+
discountId: string;
|
|
385
|
+
item: import("@unchainedshop/core-orders").OrderPayment;
|
|
386
|
+
}, _: any, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-orders").OrderDiscount>;
|
|
387
|
+
total(orderDelivery: import("@unchainedshop/utils").Price & {
|
|
388
|
+
discountId: string;
|
|
389
|
+
item: import("@unchainedshop/core-orders").OrderPayment;
|
|
390
|
+
}): Promise<{
|
|
391
|
+
_id: string;
|
|
392
|
+
amount: number;
|
|
393
|
+
currency: string;
|
|
394
|
+
}>;
|
|
395
|
+
};
|
|
257
396
|
OrderPaymentGeneric: import("./order/order-payment-generic-types.js").OrderPaymentGenericHelperTypes;
|
|
258
397
|
OrderPaymentInvoice: import("./order/order-payment-invoice-types.js").OrderPaymentInvoiceHelperTypes;
|
|
259
398
|
PaymentCredentials: import("./payment/payment-credentials-types.js").PaymentCredentialsHelperTypes;
|
|
260
|
-
PaymentProvider:
|
|
399
|
+
PaymentProvider: {
|
|
400
|
+
interface(provider: import("@unchainedshop/core-payment").PaymentProvider): {
|
|
401
|
+
_id: string;
|
|
402
|
+
label: string;
|
|
403
|
+
version: string;
|
|
404
|
+
};
|
|
405
|
+
configurationError(paymentProvider: import("@unchainedshop/core-payment").PaymentProvider, _: any, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core").PaymentError>;
|
|
406
|
+
isActive(paymentProvider: import("@unchainedshop/core-payment").PaymentProvider, _: any, requestContext: import("../../context.js").Context): Promise<boolean>;
|
|
407
|
+
simulatedPrice(paymentProvider: import("@unchainedshop/core-payment").PaymentProvider, { currency: currencyCode, orderId, useNetPrice, context: providerContext }: {
|
|
408
|
+
currency: any;
|
|
409
|
+
orderId: any;
|
|
410
|
+
useNetPrice: any;
|
|
411
|
+
context: any;
|
|
412
|
+
}, requestContext: import("../../context.js").Context): Promise<{
|
|
413
|
+
_id: string;
|
|
414
|
+
amount: number;
|
|
415
|
+
currencyCode: string;
|
|
416
|
+
countryCode: string;
|
|
417
|
+
isTaxable: boolean;
|
|
418
|
+
isNetPrice: any;
|
|
419
|
+
}>;
|
|
420
|
+
};
|
|
261
421
|
PlanProduct: {
|
|
262
422
|
catalogPrice(product: import("@unchainedshop/core-products").Product, { quantity, currency: forcedCurrencyCode }: {
|
|
263
423
|
quantity?: number;
|
|
264
424
|
currency?: string;
|
|
265
|
-
}, requestContext: import("../../
|
|
425
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
266
426
|
simulatedPrice(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode, quantity, useNetPrice, configuration, }: {
|
|
267
427
|
quantity?: number;
|
|
268
428
|
currency?: string;
|
|
269
429
|
useNetPrice?: boolean;
|
|
270
430
|
configuration?: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
271
|
-
}, requestContext: import("../../
|
|
431
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
272
432
|
leveledCatalogPrices(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode }: {
|
|
273
433
|
currency?: string;
|
|
274
|
-
}, requestContext: import("../../
|
|
434
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
275
435
|
minQuantity: number;
|
|
276
436
|
maxQuantity: number;
|
|
277
437
|
price: import("@unchainedshop/core-products").ProductPrice;
|
|
@@ -282,33 +442,33 @@ declare const types: {
|
|
|
282
442
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
283
443
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
284
444
|
forceLocale?: string;
|
|
285
|
-
}, { modules }: import("../../
|
|
445
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
286
446
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
287
447
|
}>>;
|
|
288
448
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
289
449
|
limit: number;
|
|
290
450
|
offset: number;
|
|
291
451
|
tags?: Array<string>;
|
|
292
|
-
}, { modules }: import("../../
|
|
452
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
293
453
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
294
454
|
queryString?: string;
|
|
295
455
|
limit?: number;
|
|
296
456
|
offset?: number;
|
|
297
457
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
298
|
-
}, { modules }: import("../../
|
|
458
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
299
459
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
300
460
|
queryString?: string;
|
|
301
|
-
}, { modules }: import("../../
|
|
461
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
302
462
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
303
463
|
assortmentId?: string;
|
|
304
464
|
limit: number;
|
|
305
465
|
offset: number;
|
|
306
466
|
includeInactive: boolean;
|
|
307
|
-
}, { modules }: import("../../
|
|
308
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
467
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
468
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
309
469
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
310
470
|
forceLocale?: string;
|
|
311
|
-
}, requestContext: import("../../
|
|
471
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
312
472
|
};
|
|
313
473
|
Price: {
|
|
314
474
|
isTaxable({ isTaxable }: {
|
|
@@ -352,53 +512,110 @@ declare const types: {
|
|
|
352
512
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
353
513
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
354
514
|
forceLocale?: string;
|
|
355
|
-
}, { modules }: import("../../
|
|
515
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
356
516
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
357
517
|
}>>;
|
|
358
518
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
359
519
|
limit: number;
|
|
360
520
|
offset: number;
|
|
361
521
|
tags?: Array<string>;
|
|
362
|
-
}, { modules }: import("../../
|
|
522
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
363
523
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
364
524
|
queryString?: string;
|
|
365
525
|
limit?: number;
|
|
366
526
|
offset?: number;
|
|
367
527
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
368
|
-
}, { modules }: import("../../
|
|
528
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
369
529
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
370
530
|
queryString?: string;
|
|
371
|
-
}, { modules }: import("../../
|
|
531
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
372
532
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
373
533
|
assortmentId?: string;
|
|
374
534
|
limit: number;
|
|
375
535
|
offset: number;
|
|
376
536
|
includeInactive: boolean;
|
|
377
|
-
}, { modules }: import("../../
|
|
378
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
537
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
538
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
379
539
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
380
540
|
forceLocale?: string;
|
|
381
|
-
}, requestContext: import("../../
|
|
541
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
382
542
|
};
|
|
383
543
|
ProductAssortmentPath: import("./product/product-assortment-path-types.js").ProductAssortmentPathHelperTypes;
|
|
384
544
|
ProductBundleItem: import("./product/product-bundle-item-types.js").ProductBundleItemHelperTypes;
|
|
385
545
|
ProductCatalogPrice: import("./product/product-catalog-price-types.js").ProductCatalogPriceHelperTypes;
|
|
386
|
-
ProductDiscount:
|
|
546
|
+
ProductDiscount: {
|
|
547
|
+
interface: (productDiscount: import("@unchainedshop/core-products").ProductDiscount) => Promise<{
|
|
548
|
+
_id: string;
|
|
549
|
+
label: string;
|
|
550
|
+
version: string;
|
|
551
|
+
isManualAdditionAllowed: boolean;
|
|
552
|
+
isManualRemovalAllowed: boolean;
|
|
553
|
+
}>;
|
|
554
|
+
total(productDiscount: import("@unchainedshop/core-products").ProductDiscount): Promise<{
|
|
555
|
+
_id: string;
|
|
556
|
+
amount: number;
|
|
557
|
+
currency: string;
|
|
558
|
+
}>;
|
|
559
|
+
};
|
|
387
560
|
ProductMedia: import("./product/product-media-types.js").ProductMediaHelperTypes;
|
|
388
561
|
ProductReview: import("./product/product-review-types.js").ProductReviewHelperTypes;
|
|
389
562
|
ProductVariation: import("./product/product-variation-types.js").ProductVariationHelperTypes;
|
|
390
563
|
ProductVariationAssignment: import("./product/product-variation-assignment-types.js").ProductVariationAssignmentHelperTypes;
|
|
391
564
|
ProductVariationAssignmentVector: import("./product/product-variation-assignment-vector.js").ProductVariationAssignmentVectorHelperTypes;
|
|
392
565
|
ProductVariationOption: import("./product/product-variation-option-types.js").ProductVariationOptionHelperTypes;
|
|
566
|
+
ProductSearchResult: {
|
|
567
|
+
productsCount: ({ searchConfiguration, aggregatedTotalProductIds }: {
|
|
568
|
+
searchConfiguration: import("@unchainedshop/core-filters").SearchConfiguration & {
|
|
569
|
+
productSelector: any;
|
|
570
|
+
};
|
|
571
|
+
totalProductIds: Array<string>;
|
|
572
|
+
aggregatedTotalProductIds: Array<string>;
|
|
573
|
+
aggregatedFilteredProductIds: Array<string>;
|
|
574
|
+
}, _: never, context: import("../../context.js").Context) => Promise<number>;
|
|
575
|
+
filteredProductsCount: ({ searchConfiguration, aggregatedFilteredProductIds }: {
|
|
576
|
+
searchConfiguration: import("@unchainedshop/core-filters").SearchConfiguration & {
|
|
577
|
+
productSelector: any;
|
|
578
|
+
};
|
|
579
|
+
totalProductIds: Array<string>;
|
|
580
|
+
aggregatedTotalProductIds: Array<string>;
|
|
581
|
+
aggregatedFilteredProductIds: Array<string>;
|
|
582
|
+
}, _: never, context: import("../../context.js").Context) => Promise<number>;
|
|
583
|
+
products: ({ searchConfiguration, aggregatedFilteredProductIds }: {
|
|
584
|
+
searchConfiguration: import("@unchainedshop/core-filters").SearchConfiguration & {
|
|
585
|
+
productSelector: any;
|
|
586
|
+
};
|
|
587
|
+
totalProductIds: Array<string>;
|
|
588
|
+
aggregatedTotalProductIds: Array<string>;
|
|
589
|
+
aggregatedFilteredProductIds: Array<string>;
|
|
590
|
+
}, { offset, limit }: {
|
|
591
|
+
offset: any;
|
|
592
|
+
limit: any;
|
|
593
|
+
}, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-products").Product[]>;
|
|
594
|
+
filters({ searchConfiguration, totalProductIds }: {
|
|
595
|
+
searchConfiguration: import("@unchainedshop/core-filters").SearchConfiguration & {
|
|
596
|
+
productSelector: any;
|
|
597
|
+
};
|
|
598
|
+
totalProductIds: Array<string>;
|
|
599
|
+
aggregatedTotalProductIds: Array<string>;
|
|
600
|
+
aggregatedFilteredProductIds: Array<string>;
|
|
601
|
+
}, _: never, context: import("../../context.js").Context): Promise<{
|
|
602
|
+
forceLiveCollection: boolean;
|
|
603
|
+
searchQuery: import("@unchainedshop/core-filters").SearchQuery;
|
|
604
|
+
filter: import("@unchainedshop/core-filters").Filter;
|
|
605
|
+
examinedProductIdSet: Set<string>;
|
|
606
|
+
filteredByOtherFiltersSet: Set<string>;
|
|
607
|
+
filteredByThisFilterSet: Set<string>;
|
|
608
|
+
}[]>;
|
|
609
|
+
};
|
|
393
610
|
Quotation: {
|
|
394
|
-
country: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../
|
|
395
|
-
currency: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../
|
|
611
|
+
country: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-countries").Country>;
|
|
612
|
+
currency: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-currencies").Currency>;
|
|
396
613
|
isExpired: (quotation: import("@unchainedshop/core-quotations").Quotation, params: {
|
|
397
614
|
referenceDate: Date;
|
|
398
|
-
}, context: import("../../
|
|
399
|
-
status: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../
|
|
400
|
-
product: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../
|
|
401
|
-
user: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../
|
|
615
|
+
}, context: import("../../context.js").Context) => boolean;
|
|
616
|
+
status: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../context.js").Context) => string;
|
|
617
|
+
product: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-products").Product>;
|
|
618
|
+
user: (quotation: import("@unchainedshop/core-quotations").Quotation, params: never, context: import("../../context.js").Context) => Promise<import("@unchainedshop/core-users").User>;
|
|
402
619
|
};
|
|
403
620
|
Shop: import("./shop-types.js").ShopHelperTypes;
|
|
404
621
|
SimpleProduct: {
|
|
@@ -406,7 +623,7 @@ declare const types: {
|
|
|
406
623
|
referenceDate: Date;
|
|
407
624
|
quantity: number;
|
|
408
625
|
deliveryProviderType: import("@unchainedshop/core-delivery").DeliveryProviderType;
|
|
409
|
-
}, requestContext: import("../../
|
|
626
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
410
627
|
_id: string;
|
|
411
628
|
deliveryProvider?: import("@unchainedshop/core-delivery").DeliveryProvider;
|
|
412
629
|
warehousingProvider?: import("@unchainedshop/core-warehousing").WarehousingProvider;
|
|
@@ -416,7 +633,7 @@ declare const types: {
|
|
|
416
633
|
simulatedStocks(obj: import("@unchainedshop/core-products").Product, params: {
|
|
417
634
|
referenceDate: Date;
|
|
418
635
|
deliveryProviderType: import("@unchainedshop/core-delivery").DeliveryProviderType;
|
|
419
|
-
}, requestContext: import("../../
|
|
636
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
420
637
|
_id: string;
|
|
421
638
|
deliveryProvider?: import("@unchainedshop/core-delivery").DeliveryProvider;
|
|
422
639
|
warehousingProvider?: import("@unchainedshop/core-warehousing").WarehousingProvider;
|
|
@@ -434,16 +651,16 @@ declare const types: {
|
|
|
434
651
|
catalogPrice(product: import("@unchainedshop/core-products").Product, { quantity, currency: forcedCurrencyCode }: {
|
|
435
652
|
quantity?: number;
|
|
436
653
|
currency?: string;
|
|
437
|
-
}, requestContext: import("../../
|
|
654
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
438
655
|
simulatedPrice(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode, quantity, useNetPrice, configuration, }: {
|
|
439
656
|
quantity?: number;
|
|
440
657
|
currency?: string;
|
|
441
658
|
useNetPrice?: boolean;
|
|
442
659
|
configuration?: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
443
|
-
}, requestContext: import("../../
|
|
660
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
444
661
|
leveledCatalogPrices(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode }: {
|
|
445
662
|
currency?: string;
|
|
446
|
-
}, requestContext: import("../../
|
|
663
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
447
664
|
minQuantity: number;
|
|
448
665
|
maxQuantity: number;
|
|
449
666
|
price: import("@unchainedshop/core-products").ProductPrice;
|
|
@@ -454,33 +671,33 @@ declare const types: {
|
|
|
454
671
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
455
672
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
456
673
|
forceLocale?: string;
|
|
457
|
-
}, { modules }: import("../../
|
|
674
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
458
675
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
459
676
|
}>>;
|
|
460
677
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
461
678
|
limit: number;
|
|
462
679
|
offset: number;
|
|
463
680
|
tags?: Array<string>;
|
|
464
|
-
}, { modules }: import("../../
|
|
681
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
465
682
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
466
683
|
queryString?: string;
|
|
467
684
|
limit?: number;
|
|
468
685
|
offset?: number;
|
|
469
686
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
470
|
-
}, { modules }: import("../../
|
|
687
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
471
688
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
472
689
|
queryString?: string;
|
|
473
|
-
}, { modules }: import("../../
|
|
690
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
474
691
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
475
692
|
assortmentId?: string;
|
|
476
693
|
limit: number;
|
|
477
694
|
offset: number;
|
|
478
695
|
includeInactive: boolean;
|
|
479
|
-
}, { modules }: import("../../
|
|
480
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
696
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
697
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
481
698
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
482
699
|
forceLocale?: string;
|
|
483
|
-
}, requestContext: import("../../
|
|
700
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
484
701
|
};
|
|
485
702
|
TokenizedProduct: {
|
|
486
703
|
contractAddress({ tokenization }: import("@unchainedshop/core-products").Product): string;
|
|
@@ -488,26 +705,26 @@ declare const types: {
|
|
|
488
705
|
contractStandard({ tokenization }: import("@unchainedshop/core-products").Product): import("@unchainedshop/core-products").ProductContractStandard;
|
|
489
706
|
simulatedStocks(obj: import("@unchainedshop/core-products").Product, params: {
|
|
490
707
|
referenceDate: Date;
|
|
491
|
-
}, requestContext: import("../../
|
|
708
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
492
709
|
_id: string;
|
|
493
710
|
deliveryProvider?: import("@unchainedshop/core-delivery").DeliveryProvider;
|
|
494
711
|
warehousingProvider?: import("@unchainedshop/core-warehousing").WarehousingProvider;
|
|
495
712
|
quantity?: number;
|
|
496
713
|
}>>;
|
|
497
|
-
tokens(product: import("@unchainedshop/core-products").Product, params: never, requestContext: import("../../
|
|
714
|
+
tokens(product: import("@unchainedshop/core-products").Product, params: never, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-warehousing").TokenSurrogate[]>;
|
|
498
715
|
catalogPrice(product: import("@unchainedshop/core-products").Product, { quantity, currency: forcedCurrencyCode }: {
|
|
499
716
|
quantity?: number;
|
|
500
717
|
currency?: string;
|
|
501
|
-
}, requestContext: import("../../
|
|
718
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
502
719
|
simulatedPrice(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode, quantity, useNetPrice, configuration, }: {
|
|
503
720
|
quantity?: number;
|
|
504
721
|
currency?: string;
|
|
505
722
|
useNetPrice?: boolean;
|
|
506
723
|
configuration?: Array<import("@unchainedshop/core-products").ProductConfiguration>;
|
|
507
|
-
}, requestContext: import("../../
|
|
724
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductPrice>;
|
|
508
725
|
leveledCatalogPrices(obj: import("@unchainedshop/core-products").Product, { currency: forcedCurrencyCode }: {
|
|
509
726
|
currency?: string;
|
|
510
|
-
}, requestContext: import("../../
|
|
727
|
+
}, requestContext: import("../../context.js").Context): Promise<Array<{
|
|
511
728
|
minQuantity: number;
|
|
512
729
|
maxQuantity: number;
|
|
513
730
|
price: import("@unchainedshop/core-products").ProductPrice;
|
|
@@ -518,43 +735,43 @@ declare const types: {
|
|
|
518
735
|
__resolveType: (product: import("@unchainedshop/core-products").Product) => string;
|
|
519
736
|
assortmentPaths(product: import("@unchainedshop/core-products").Product, params: {
|
|
520
737
|
forceLocale?: string;
|
|
521
|
-
}, { modules }: import("../../
|
|
738
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<{
|
|
522
739
|
links: Array<import("@unchainedshop/core-assortments").AssortmentPathLink>;
|
|
523
740
|
}>>;
|
|
524
741
|
media(product: import("@unchainedshop/core-products").Product, params: {
|
|
525
742
|
limit: number;
|
|
526
743
|
offset: number;
|
|
527
744
|
tags?: Array<string>;
|
|
528
|
-
}, { modules }: import("../../
|
|
745
|
+
}, { loaders, modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductMedia>>;
|
|
529
746
|
reviews(product: import("@unchainedshop/core-products").Product, { limit, offset, sort, queryString, }: {
|
|
530
747
|
queryString?: string;
|
|
531
748
|
limit?: number;
|
|
532
749
|
offset?: number;
|
|
533
750
|
sort?: Array<import("@unchainedshop/utils").SortOption>;
|
|
534
|
-
}, { modules }: import("../../
|
|
751
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<import("@unchainedshop/core-products").ProductReview>>;
|
|
535
752
|
reviewsCount(product: import("@unchainedshop/core-products").Product, params: {
|
|
536
753
|
queryString?: string;
|
|
537
|
-
}, { modules }: import("../../
|
|
754
|
+
}, { modules }: import("../../context.js").Context): Promise<number>;
|
|
538
755
|
siblings(product: import("@unchainedshop/core-products").Product, params: {
|
|
539
756
|
assortmentId?: string;
|
|
540
757
|
limit: number;
|
|
541
758
|
offset: number;
|
|
542
759
|
includeInactive: boolean;
|
|
543
|
-
}, { modules }: import("../../
|
|
544
|
-
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../
|
|
760
|
+
}, { modules }: import("../../context.js").Context): Promise<Array<typeof product>>;
|
|
761
|
+
status(product: import("@unchainedshop/core-products").Product, _: any, { modules }: import("../../context.js").Context): import("@unchainedshop/core-products").ProductStatus;
|
|
545
762
|
texts(product: import("@unchainedshop/core-products").Product, { forceLocale, }: {
|
|
546
763
|
forceLocale?: string;
|
|
547
|
-
}, requestContext: import("../../
|
|
764
|
+
}, requestContext: import("../../context.js").Context): Promise<import("@unchainedshop/core-products").ProductText>;
|
|
548
765
|
};
|
|
549
766
|
Token: {
|
|
550
|
-
product: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../
|
|
551
|
-
user: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../
|
|
552
|
-
status: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../
|
|
767
|
+
product: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-products").Product>;
|
|
768
|
+
user: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-users").User>;
|
|
769
|
+
status: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, { modules }: import("../../context.js").Context) => Promise<import("@unchainedshop/core-warehousing").TokenStatus>;
|
|
553
770
|
ercMetadata: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, { forceLocale }: {
|
|
554
771
|
forceLocale: string;
|
|
555
|
-
}, context: import("../../
|
|
556
|
-
isInvalidateable: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, _params: never, context: import("../../
|
|
557
|
-
accessKey: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, requestContext: import("../../
|
|
772
|
+
}, context: import("../../context.js").Context) => Promise<any>;
|
|
773
|
+
isInvalidateable: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, _params: never, context: import("../../context.js").Context) => Promise<any>;
|
|
774
|
+
accessKey: (token: import("@unchainedshop/core-warehousing").TokenSurrogate, params: never, requestContext: import("../../context.js").Context) => Promise<string>;
|
|
558
775
|
};
|
|
559
776
|
Stock: {
|
|
560
777
|
_id: (params: {
|
|
@@ -564,10 +781,35 @@ declare const types: {
|
|
|
564
781
|
referenceDate: Date;
|
|
565
782
|
country: string;
|
|
566
783
|
userId?: string;
|
|
567
|
-
}) => string
|
|
784
|
+
}) => Promise<string>;
|
|
568
785
|
};
|
|
569
786
|
User: import("./user-types.js").UserHelperTypes;
|
|
570
|
-
WebAuthnCredentials:
|
|
787
|
+
WebAuthnCredentials: {
|
|
788
|
+
_id(obj: {
|
|
789
|
+
id: string;
|
|
790
|
+
publicKey: string;
|
|
791
|
+
created: Date;
|
|
792
|
+
aaguid: string;
|
|
793
|
+
counter: number;
|
|
794
|
+
mdsMetadata: any;
|
|
795
|
+
}): Promise<string>;
|
|
796
|
+
created(obj: {
|
|
797
|
+
id: string;
|
|
798
|
+
publicKey: string;
|
|
799
|
+
created: Date;
|
|
800
|
+
aaguid: string;
|
|
801
|
+
counter: number;
|
|
802
|
+
mdsMetadata: any;
|
|
803
|
+
}): Promise<Date>;
|
|
804
|
+
mdsMetadata(obj: {
|
|
805
|
+
id: string;
|
|
806
|
+
publicKey: string;
|
|
807
|
+
created: Date;
|
|
808
|
+
aaguid: string;
|
|
809
|
+
counter: number;
|
|
810
|
+
mdsMetadata: any;
|
|
811
|
+
}, _: never, { modules }: import("../../context.js").Context): Promise<any>;
|
|
812
|
+
};
|
|
571
813
|
WarehousingProvider: import("./warehousing-provider-types.js").WarehousingProviderHelperTypes;
|
|
572
814
|
Work: import("./work-types.js").WorkHelperTypes;
|
|
573
815
|
Event: import("./event-types.js").EventHelperTypes;
|