@unchainedshop/admin-ui 4.8.26 → 4.8.27
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/dist/chunk-45H2WVIC.js +51 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6TXD4TA7.js +1196 -0
- package/dist/chunk-BGCKJQGS.js +58 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RHUFQVKL.js +514 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-UFYR5WZT.js +165 -0
- package/dist/chunk-UXG7EYHC.js +614 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YSKZE2KN.js +652 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +14 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +6 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +17 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +30108 -0
- package/dist/gql/types.d.ts +17209 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +41 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +114 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1013 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1121 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +51 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +7 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +353 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +448 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +12 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +563 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +251 -0
- package/dist/modules/product.js +1929 -0
- package/dist/modules/quotation.js +297 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +308 -0
- package/dist/plugins.js +8 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +67 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +21540 -0
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/{31_pg1fxqgdfx.js → 01crynfjy3xpb.js} +2 -2
- package/out/_next/static/chunks/{1hwup6qqzqzh8.js → 1-mz7zwy-mbvq.js} +2 -2
- package/out/_next/static/chunks/{2ecq8dhsm2eu1.js → 1szkbg0-e_tli.js} +1 -1
- package/out/_next/static/chunks/{0ac5zzn3zeki5.js → 2ncenexps2330.js} +2 -2
- package/out/_next/static/chunks/3-2opr3e2h-8o.js +105 -0
- package/out/_next/static/chunks/{turbopack-14zydki2yqyd3.js → turbopack-058ikg9c4qsyu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0la8grv9f6bxn.js → turbopack-22gnlzp5il9ai.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w2r6t0rjz8pp.js → turbopack-2h_05wv-1o-qp.js} +1 -1
- package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_buildManifest.js +2 -2
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +0 -95
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { CountryFragment_default } from '../chunk-ELPURWDC.js';
|
|
2
|
+
export { useCountries_default as useCountries } from '../chunk-ELPURWDC.js';
|
|
3
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
4
|
+
import '../chunk-4VNS5WPM.js';
|
|
5
|
+
import { gql } from '@apollo/client';
|
|
6
|
+
import { useQuery, useMutation } from '@apollo/client/react';
|
|
7
|
+
|
|
8
|
+
var GetCountryQuery = (inlineFragment = "") => gql`
|
|
9
|
+
query Country($countryId: ID!) {
|
|
10
|
+
country(countryId: $countryId) {
|
|
11
|
+
...CountryFragment
|
|
12
|
+
${inlineFragment}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
${CountryFragment_default}
|
|
16
|
+
`;
|
|
17
|
+
var useCountry = ({ countryId }) => {
|
|
18
|
+
const { customProperties } = useUnchainedContext_default();
|
|
19
|
+
const { data, loading, error } = useQuery(GetCountryQuery(customProperties?.Country), {
|
|
20
|
+
skip: !countryId,
|
|
21
|
+
variables: { countryId }
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
country: data?.country,
|
|
25
|
+
loading,
|
|
26
|
+
error
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
var useCountry_default = useCountry;
|
|
30
|
+
var CreateCountryMutation = gql`
|
|
31
|
+
mutation CreateCountry($country: CreateCountryInput!) {
|
|
32
|
+
createCountry(country: $country) {
|
|
33
|
+
...CountryFragment
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
${CountryFragment_default}
|
|
37
|
+
`;
|
|
38
|
+
var useCreateCountry = () => {
|
|
39
|
+
const [createCountryMutation, { data, loading, error }] = useMutation(CreateCountryMutation);
|
|
40
|
+
const createCountry = async ({
|
|
41
|
+
country
|
|
42
|
+
}) => {
|
|
43
|
+
return createCountryMutation({
|
|
44
|
+
variables: { country },
|
|
45
|
+
refetchQueries: ["Countries", "ShopStatus", "ShopInfo"]
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
const newCountry = data?.createCountry;
|
|
49
|
+
return {
|
|
50
|
+
createCountry,
|
|
51
|
+
newCountry,
|
|
52
|
+
loading,
|
|
53
|
+
error
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
var useCreateCountry_default = useCreateCountry;
|
|
57
|
+
var RemoveCountryMutation = gql`
|
|
58
|
+
mutation RemoveCountry($countryId: ID!) {
|
|
59
|
+
removeCountry(countryId: $countryId) {
|
|
60
|
+
...CountryFragment
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
${CountryFragment_default}
|
|
64
|
+
`;
|
|
65
|
+
var useRemoveCountry = () => {
|
|
66
|
+
const [removeCountryMutation] = useMutation(RemoveCountryMutation);
|
|
67
|
+
const removeCountry = async ({
|
|
68
|
+
countryId
|
|
69
|
+
}) => {
|
|
70
|
+
return removeCountryMutation({
|
|
71
|
+
variables: { countryId },
|
|
72
|
+
refetchQueries: ["Countries", "ShopStatus", "ShopInfo"]
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
return {
|
|
76
|
+
removeCountry
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
var useRemoveCountry_default = useRemoveCountry;
|
|
80
|
+
var UpdateCountryMutation = gql`
|
|
81
|
+
mutation UpdateCountry($country: UpdateCountryInput!, $countryId: ID!) {
|
|
82
|
+
updateCountry(country: $country, countryId: $countryId) {
|
|
83
|
+
...CountryFragment
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
${CountryFragment_default}
|
|
87
|
+
`;
|
|
88
|
+
var useUpdateCountry = () => {
|
|
89
|
+
const [updateCountryMutation] = useMutation(UpdateCountryMutation);
|
|
90
|
+
const updateCountry = async ({
|
|
91
|
+
country,
|
|
92
|
+
countryId
|
|
93
|
+
}) => {
|
|
94
|
+
return updateCountryMutation({
|
|
95
|
+
variables: {
|
|
96
|
+
country,
|
|
97
|
+
countryId
|
|
98
|
+
},
|
|
99
|
+
refetchQueries: ["Countries", "ShopStatus", "ShopInfo"]
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
return {
|
|
103
|
+
updateCountry
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
var useUpdateCountry_default = useUpdateCountry;
|
|
107
|
+
|
|
108
|
+
export { useCountry_default as useCountry, useCreateCountry_default as useCreateCountry, useRemoveCountry_default as useRemoveCountry, useUpdateCountry_default as useUpdateCountry };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { CurrencyFragment_default } from '../chunk-NT7RB7AK.js';
|
|
2
|
+
export { useCurrencies_default as useCurrencies } from '../chunk-NT7RB7AK.js';
|
|
3
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
4
|
+
import '../chunk-4VNS5WPM.js';
|
|
5
|
+
import { gql } from '@apollo/client';
|
|
6
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
7
|
+
|
|
8
|
+
var CreateCurrencyMutation = gql`
|
|
9
|
+
mutation CreateCurrency($currency: CreateCurrencyInput!) {
|
|
10
|
+
createCurrency(currency: $currency) {
|
|
11
|
+
...CurrencyFragment
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
${CurrencyFragment_default}
|
|
15
|
+
`;
|
|
16
|
+
var useCreateCurrency = () => {
|
|
17
|
+
const [createCurrencyMutation, { data, loading, error }] = useMutation(CreateCurrencyMutation);
|
|
18
|
+
const createCurrency = async ({
|
|
19
|
+
currency: { isoCode, contractAddress, decimals }
|
|
20
|
+
}) => {
|
|
21
|
+
return createCurrencyMutation({
|
|
22
|
+
variables: {
|
|
23
|
+
currency: {
|
|
24
|
+
isoCode,
|
|
25
|
+
contractAddress,
|
|
26
|
+
decimals: parseInt(decimals || "2", 10)
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
refetchQueries: ["Currencies", "ShopStatus", "ShopInfo"]
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
const newCurrency = data?.createCurrency;
|
|
33
|
+
return {
|
|
34
|
+
createCurrency,
|
|
35
|
+
newCurrency,
|
|
36
|
+
error,
|
|
37
|
+
loading
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
var useCreateCurrency_default = useCreateCurrency;
|
|
41
|
+
var GetCurrencyQuery = (inlineFragment = "") => gql`
|
|
42
|
+
query Currency($currencyId: ID!) {
|
|
43
|
+
currency(currencyId: $currencyId) {
|
|
44
|
+
...CurrencyFragment
|
|
45
|
+
${inlineFragment}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
${CurrencyFragment_default}
|
|
49
|
+
`;
|
|
50
|
+
var useCurrency = ({ currencyId }) => {
|
|
51
|
+
const { customProperties } = useUnchainedContext_default();
|
|
52
|
+
const { data, loading, error } = useQuery(GetCurrencyQuery(customProperties?.Currency), {
|
|
53
|
+
skip: !currencyId,
|
|
54
|
+
variables: { currencyId }
|
|
55
|
+
});
|
|
56
|
+
return {
|
|
57
|
+
currency: data?.currency,
|
|
58
|
+
loading,
|
|
59
|
+
error
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
var useCurrency_default = useCurrency;
|
|
63
|
+
var RemoveCurrencyMutation = gql`
|
|
64
|
+
mutation RemoveCurrency($currencyId: ID!) {
|
|
65
|
+
removeCurrency(currencyId: $currencyId) {
|
|
66
|
+
...CurrencyFragment
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
${CurrencyFragment_default}
|
|
70
|
+
`;
|
|
71
|
+
var useRemoveCurrency = () => {
|
|
72
|
+
const [removeCurrencyMutation] = useMutation(RemoveCurrencyMutation);
|
|
73
|
+
const removeCurrency = async ({
|
|
74
|
+
currencyId
|
|
75
|
+
}) => {
|
|
76
|
+
return removeCurrencyMutation({
|
|
77
|
+
variables: { currencyId },
|
|
78
|
+
refetchQueries: ["Currencies", "ShopStatus", "ShopInfo"]
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
removeCurrency
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
var useRemoveCurrency_default = useRemoveCurrency;
|
|
86
|
+
var UpdateCurrencyMutation = gql`
|
|
87
|
+
mutation UpdateCurrency($currency: UpdateCurrencyInput!, $currencyId: ID!) {
|
|
88
|
+
updateCurrency(currency: $currency, currencyId: $currencyId) {
|
|
89
|
+
...CurrencyFragment
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
${CurrencyFragment_default}
|
|
93
|
+
`;
|
|
94
|
+
var useUpdateCurrency = () => {
|
|
95
|
+
const [updateCurrencyMutation] = useMutation(UpdateCurrencyMutation);
|
|
96
|
+
const updateCurrency = async ({
|
|
97
|
+
currency: { isoCode, isActive, decimals, contractAddress },
|
|
98
|
+
currencyId
|
|
99
|
+
}) => {
|
|
100
|
+
return updateCurrencyMutation({
|
|
101
|
+
variables: {
|
|
102
|
+
currency: {
|
|
103
|
+
isoCode,
|
|
104
|
+
isActive,
|
|
105
|
+
contractAddress,
|
|
106
|
+
decimals: parseInt(decimals || "2", 10)
|
|
107
|
+
},
|
|
108
|
+
currencyId
|
|
109
|
+
},
|
|
110
|
+
refetchQueries: ["Currencies", "ShopStatus", "ShopInfo"]
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
return {
|
|
114
|
+
updateCurrency
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
var useUpdateCurrency_default = useUpdateCurrency;
|
|
118
|
+
|
|
119
|
+
export { useCreateCurrency_default as useCreateCurrency, useCurrency_default as useCurrency, useRemoveCurrency_default as useRemoveCurrency, useUpdateCurrency_default as useUpdateCurrency };
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { AddressFragment_default } from '../chunk-KH5MK6ZW.js';
|
|
2
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
3
|
+
import '../chunk-4VNS5WPM.js';
|
|
4
|
+
import { gql } from '@apollo/client';
|
|
5
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
6
|
+
|
|
7
|
+
var CreateDeliveryProviderMutation = gql`
|
|
8
|
+
mutation CreateDeliveryProvider(
|
|
9
|
+
$deliveryProvider: CreateDeliveryProviderInput!
|
|
10
|
+
) {
|
|
11
|
+
createDeliveryProvider(deliveryProvider: $deliveryProvider) {
|
|
12
|
+
_id
|
|
13
|
+
created
|
|
14
|
+
updated
|
|
15
|
+
deleted
|
|
16
|
+
type
|
|
17
|
+
isActive
|
|
18
|
+
configuration
|
|
19
|
+
interface {
|
|
20
|
+
_id
|
|
21
|
+
label
|
|
22
|
+
version
|
|
23
|
+
}
|
|
24
|
+
configurationError
|
|
25
|
+
... on DeliveryProviderPickUp {
|
|
26
|
+
pickUpLocations {
|
|
27
|
+
_id
|
|
28
|
+
name
|
|
29
|
+
address {
|
|
30
|
+
...AddressFragment
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
${AddressFragment_default}
|
|
37
|
+
`;
|
|
38
|
+
var useCreateDeliveryProvider = () => {
|
|
39
|
+
const [createDeliveryProviderMutation, { data, error, loading }] = useMutation(CreateDeliveryProviderMutation);
|
|
40
|
+
const createDeliveryProvider = async ({
|
|
41
|
+
deliveryProvider: { adapterKey, type }
|
|
42
|
+
}) => {
|
|
43
|
+
return createDeliveryProviderMutation({
|
|
44
|
+
variables: { deliveryProvider: { adapterKey, type } },
|
|
45
|
+
refetchQueries: ["DeliveryProviders", "ShopStatus"]
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
const newDeliveryProvider = data?.createDeliveryProvider;
|
|
49
|
+
return {
|
|
50
|
+
createDeliveryProvider,
|
|
51
|
+
newDeliveryProvider,
|
|
52
|
+
loading,
|
|
53
|
+
error
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
var useCreateDeliveryProvider_default = useCreateDeliveryProvider;
|
|
57
|
+
var DeliveryInterfacesQuery = gql`
|
|
58
|
+
query DeliveryInterfaces($providerType: DeliveryProviderType) {
|
|
59
|
+
deliveryInterfaces(type: $providerType) {
|
|
60
|
+
_id
|
|
61
|
+
value: _id
|
|
62
|
+
label
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
66
|
+
var useDeliveryInterfacesByType = ({
|
|
67
|
+
providerType = null
|
|
68
|
+
}) => {
|
|
69
|
+
const { data, loading, error } = useQuery(DeliveryInterfacesQuery, {
|
|
70
|
+
skip: !providerType,
|
|
71
|
+
variables: { providerType }
|
|
72
|
+
});
|
|
73
|
+
const deliveryInterfaces = data?.deliveryInterfaces || [];
|
|
74
|
+
return {
|
|
75
|
+
deliveryInterfaces,
|
|
76
|
+
loading,
|
|
77
|
+
error
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
var useDeliveryInterfacesByType_default = useDeliveryInterfacesByType;
|
|
81
|
+
var GetDeliveryProviderQuery = (inlineFragment = "") => gql`
|
|
82
|
+
query DeliveryProvider($deliveryProviderId: ID!) {
|
|
83
|
+
deliveryProvider(deliveryProviderId: $deliveryProviderId) {
|
|
84
|
+
_id
|
|
85
|
+
created
|
|
86
|
+
updated
|
|
87
|
+
deleted
|
|
88
|
+
type
|
|
89
|
+
isActive
|
|
90
|
+
configuration
|
|
91
|
+
interface {
|
|
92
|
+
_id
|
|
93
|
+
label
|
|
94
|
+
version
|
|
95
|
+
}
|
|
96
|
+
configurationError
|
|
97
|
+
...on DeliveryProviderPickUp {
|
|
98
|
+
pickUpLocations {
|
|
99
|
+
_id
|
|
100
|
+
name
|
|
101
|
+
address {
|
|
102
|
+
...AddressFragment
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
${inlineFragment}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
${AddressFragment_default}
|
|
110
|
+
`;
|
|
111
|
+
var useDeliveryProvider = ({
|
|
112
|
+
deliveryProviderId = null
|
|
113
|
+
}) => {
|
|
114
|
+
const { customProperties } = useUnchainedContext_default();
|
|
115
|
+
const { data, loading, error } = useQuery(GetDeliveryProviderQuery(customProperties?.DeliveryProvider), {
|
|
116
|
+
skip: !deliveryProviderId,
|
|
117
|
+
variables: { deliveryProviderId }
|
|
118
|
+
});
|
|
119
|
+
return {
|
|
120
|
+
deliveryProvider: data?.deliveryProvider,
|
|
121
|
+
loading,
|
|
122
|
+
error
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
var useDeliveryProvider_default = useDeliveryProvider;
|
|
126
|
+
var DeliveryProvidersTypeQuery = gql`
|
|
127
|
+
query DeliveryProvidersType {
|
|
128
|
+
deliveryProviderType: __type(name: "DeliveryProviderType") {
|
|
129
|
+
options: enumValues {
|
|
130
|
+
value: name
|
|
131
|
+
label: description
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
`;
|
|
136
|
+
var useDeliveryProviderTypes = () => {
|
|
137
|
+
const { data, loading, error } = useQuery(DeliveryProvidersTypeQuery);
|
|
138
|
+
const deliveryProviderType = data?.deliveryProviderType?.options || [];
|
|
139
|
+
return {
|
|
140
|
+
deliveryProviderType,
|
|
141
|
+
loading,
|
|
142
|
+
error
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
var useDeliveryProviderTypes_default = useDeliveryProviderTypes;
|
|
146
|
+
var DeliveryProvidersQuery = gql`
|
|
147
|
+
query DeliveryProviders($type: DeliveryProviderType) {
|
|
148
|
+
deliveryProviders(type: $type) {
|
|
149
|
+
_id
|
|
150
|
+
created
|
|
151
|
+
updated
|
|
152
|
+
deleted
|
|
153
|
+
type
|
|
154
|
+
isActive
|
|
155
|
+
configuration
|
|
156
|
+
interface {
|
|
157
|
+
_id
|
|
158
|
+
label
|
|
159
|
+
version
|
|
160
|
+
}
|
|
161
|
+
configurationError
|
|
162
|
+
... on DeliveryProviderPickUp {
|
|
163
|
+
pickUpLocations {
|
|
164
|
+
_id
|
|
165
|
+
name
|
|
166
|
+
address {
|
|
167
|
+
...AddressFragment
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
deliveryProvidersCount(type: $type)
|
|
173
|
+
}
|
|
174
|
+
${AddressFragment_default}
|
|
175
|
+
`;
|
|
176
|
+
var useDeliveryProviders = ({
|
|
177
|
+
type = null
|
|
178
|
+
} = {}) => {
|
|
179
|
+
const { data, loading, error } = useQuery(DeliveryProvidersQuery, {
|
|
180
|
+
variables: { type }
|
|
181
|
+
});
|
|
182
|
+
const deliveryProviders = data?.deliveryProviders || [];
|
|
183
|
+
return {
|
|
184
|
+
deliveryProviders,
|
|
185
|
+
loading,
|
|
186
|
+
error,
|
|
187
|
+
deliveryProvidersCount: data?.deliveryProvidersCount || 0
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
var useDeliveryProviders_default = useDeliveryProviders;
|
|
191
|
+
var RemoveDeliveryProviderMutation = gql`
|
|
192
|
+
mutation RemoveDeliveryProvider($deliveryProviderId: ID!) {
|
|
193
|
+
removeDeliveryProvider(deliveryProviderId: $deliveryProviderId) {
|
|
194
|
+
_id
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
`;
|
|
198
|
+
var useRemoveDeliveryProvider = () => {
|
|
199
|
+
const [removeDeliveryProviderMutation] = useMutation(RemoveDeliveryProviderMutation);
|
|
200
|
+
const removeDeliveryProvider = async ({
|
|
201
|
+
deliveryProviderId
|
|
202
|
+
}) => {
|
|
203
|
+
return removeDeliveryProviderMutation({
|
|
204
|
+
variables: {
|
|
205
|
+
deliveryProviderId
|
|
206
|
+
},
|
|
207
|
+
refetchQueries: ["DeliveryProviders", "ShopStatus"]
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
return {
|
|
211
|
+
removeDeliveryProvider
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
var useRemoveDeliveryProvider_default = useRemoveDeliveryProvider;
|
|
215
|
+
var UpdateDeliveryProviderMutation = gql`
|
|
216
|
+
mutation UpdateDeliveryProvider(
|
|
217
|
+
$deliveryProvider: UpdateProviderInput!
|
|
218
|
+
$deliveryProviderId: ID!
|
|
219
|
+
) {
|
|
220
|
+
updateDeliveryProvider(
|
|
221
|
+
deliveryProvider: $deliveryProvider
|
|
222
|
+
deliveryProviderId: $deliveryProviderId
|
|
223
|
+
) {
|
|
224
|
+
_id
|
|
225
|
+
created
|
|
226
|
+
updated
|
|
227
|
+
deleted
|
|
228
|
+
type
|
|
229
|
+
isActive
|
|
230
|
+
configuration
|
|
231
|
+
interface {
|
|
232
|
+
_id
|
|
233
|
+
label
|
|
234
|
+
version
|
|
235
|
+
}
|
|
236
|
+
configurationError
|
|
237
|
+
... on DeliveryProviderPickUp {
|
|
238
|
+
pickUpLocations {
|
|
239
|
+
_id
|
|
240
|
+
name
|
|
241
|
+
address {
|
|
242
|
+
...AddressFragment
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
${AddressFragment_default}
|
|
249
|
+
`;
|
|
250
|
+
var useUpdateDeliveryProvider = () => {
|
|
251
|
+
const [updateDeliveryProviderMutation] = useMutation(UpdateDeliveryProviderMutation);
|
|
252
|
+
const updateDeliveryProvider = async ({
|
|
253
|
+
deliveryProvider: { configuration },
|
|
254
|
+
deliveryProviderId
|
|
255
|
+
}) => {
|
|
256
|
+
return updateDeliveryProviderMutation({
|
|
257
|
+
variables: {
|
|
258
|
+
deliveryProvider: { configuration },
|
|
259
|
+
deliveryProviderId
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
};
|
|
263
|
+
return {
|
|
264
|
+
updateDeliveryProvider
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
var useUpdateDeliveryProvider_default = useUpdateDeliveryProvider;
|
|
268
|
+
|
|
269
|
+
export { useCreateDeliveryProvider_default as useCreateDeliveryProvider, useDeliveryInterfacesByType_default as useDeliveryInterfacesByType, useDeliveryProvider_default as useDeliveryProvider, useDeliveryProviderTypes_default as useDeliveryProviderTypes, useDeliveryProviders_default as useDeliveryProviders, useRemoveDeliveryProvider_default as useRemoveDeliveryProvider, useUpdateDeliveryProvider_default as useUpdateDeliveryProvider };
|