@voyant-travel/commerce-react 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/admin.d.ts +16 -0
- package/dist/admin.d.ts.map +1 -0
- package/dist/admin.js +32 -0
- package/dist/admin.js.map +1 -0
- package/dist/i18n.d.ts +22 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +13 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/markets/client.d.ts +14 -0
- package/dist/markets/client.d.ts.map +1 -0
- package/dist/markets/client.js +59 -0
- package/dist/markets/client.js.map +1 -0
- package/dist/markets/components/market-currency-dialog.d.ts +10 -0
- package/dist/markets/components/market-currency-dialog.d.ts.map +1 -0
- package/dist/markets/components/market-currency-dialog.js +86 -0
- package/dist/markets/components/market-currency-dialog.js.map +1 -0
- package/dist/markets/components/market-dialog.d.ts +9 -0
- package/dist/markets/components/market-dialog.d.ts.map +1 -0
- package/dist/markets/components/market-dialog.js +102 -0
- package/dist/markets/components/market-dialog.js.map +1 -0
- package/dist/markets/components/market-locale-dialog.d.ts +10 -0
- package/dist/markets/components/market-locale-dialog.d.ts.map +1 -0
- package/dist/markets/components/market-locale-dialog.js +73 -0
- package/dist/markets/components/market-locale-dialog.js.map +1 -0
- package/dist/markets/hooks/index.d.ts +10 -0
- package/dist/markets/hooks/index.d.ts.map +1 -0
- package/dist/markets/hooks/index.js +10 -0
- package/dist/markets/hooks/index.js.map +1 -0
- package/dist/markets/hooks/use-market-currencies.d.ts +20 -0
- package/dist/markets/hooks/use-market-currencies.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-currencies.js +13 -0
- package/dist/markets/hooks/use-market-currencies.js.map +1 -0
- package/dist/markets/hooks/use-market-currency-mutation.d.ts +36 -0
- package/dist/markets/hooks/use-market-currency-mutation.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-currency-mutation.js +41 -0
- package/dist/markets/hooks/use-market-currency-mutation.js.map +1 -0
- package/dist/markets/hooks/use-market-locale-mutation.d.ts +32 -0
- package/dist/markets/hooks/use-market-locale-mutation.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-locale-mutation.js +41 -0
- package/dist/markets/hooks/use-market-locale-mutation.js.map +1 -0
- package/dist/markets/hooks/use-market-locales.d.ts +18 -0
- package/dist/markets/hooks/use-market-locales.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-locales.js +13 -0
- package/dist/markets/hooks/use-market-locales.js.map +1 -0
- package/dist/markets/hooks/use-market-mutation.d.ts +50 -0
- package/dist/markets/hooks/use-market-mutation.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-mutation.js +43 -0
- package/dist/markets/hooks/use-market-mutation.js.map +1 -0
- package/dist/markets/hooks/use-market-product-rule-mutation.d.ts +53 -0
- package/dist/markets/hooks/use-market-product-rule-mutation.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-product-rule-mutation.js +39 -0
- package/dist/markets/hooks/use-market-product-rule-mutation.js.map +1 -0
- package/dist/markets/hooks/use-market-product-rules.d.ts +24 -0
- package/dist/markets/hooks/use-market-product-rules.d.ts.map +1 -0
- package/dist/markets/hooks/use-market-product-rules.js +13 -0
- package/dist/markets/hooks/use-market-product-rules.js.map +1 -0
- package/dist/markets/hooks/use-market.d.ts +17 -0
- package/dist/markets/hooks/use-market.d.ts.map +1 -0
- package/dist/markets/hooks/use-market.js +13 -0
- package/dist/markets/hooks/use-market.js.map +1 -0
- package/dist/markets/hooks/use-markets.d.ts +23 -0
- package/dist/markets/hooks/use-markets.d.ts.map +1 -0
- package/dist/markets/hooks/use-markets.js +13 -0
- package/dist/markets/hooks/use-markets.js.map +1 -0
- package/dist/markets/i18n/en.d.ts +88 -0
- package/dist/markets/i18n/en.d.ts.map +1 -0
- package/dist/markets/i18n/en.js +88 -0
- package/dist/markets/i18n/en.js.map +1 -0
- package/dist/markets/i18n/index.d.ts +5 -0
- package/dist/markets/i18n/index.d.ts.map +1 -0
- package/dist/markets/i18n/index.js +4 -0
- package/dist/markets/i18n/index.js.map +1 -0
- package/dist/markets/i18n/messages.d.ts +90 -0
- package/dist/markets/i18n/messages.d.ts.map +1 -0
- package/dist/markets/i18n/messages.js +2 -0
- package/dist/markets/i18n/messages.js.map +1 -0
- package/dist/markets/i18n/provider.d.ts +198 -0
- package/dist/markets/i18n/provider.d.ts.map +1 -0
- package/dist/markets/i18n/provider.js +45 -0
- package/dist/markets/i18n/provider.js.map +1 -0
- package/dist/markets/i18n/ro.d.ts +88 -0
- package/dist/markets/i18n/ro.d.ts.map +1 -0
- package/dist/markets/i18n/ro.js +88 -0
- package/dist/markets/i18n/ro.js.map +1 -0
- package/dist/markets/index.d.ts +7 -0
- package/dist/markets/index.d.ts.map +1 -0
- package/dist/markets/index.js +7 -0
- package/dist/markets/index.js.map +1 -0
- package/dist/markets/provider.d.ts +2 -0
- package/dist/markets/provider.d.ts.map +1 -0
- package/dist/markets/provider.js +2 -0
- package/dist/markets/provider.js.map +1 -0
- package/dist/markets/query-keys.d.ts +46 -0
- package/dist/markets/query-keys.d.ts.map +1 -0
- package/dist/markets/query-keys.js +16 -0
- package/dist/markets/query-keys.js.map +1 -0
- package/dist/markets/query-options.d.ts +478 -0
- package/dist/markets/query-options.d.ts.map +1 -0
- package/dist/markets/query-options.js +88 -0
- package/dist/markets/query-options.js.map +1 -0
- package/dist/markets/schemas.d.ts +232 -0
- package/dist/markets/schemas.d.ts.map +1 -0
- package/dist/markets/schemas.js +45 -0
- package/dist/markets/schemas.js.map +1 -0
- package/dist/markets/ui.d.ts +5 -0
- package/dist/markets/ui.d.ts.map +1 -0
- package/dist/markets/ui.js +5 -0
- package/dist/markets/ui.js.map +1 -0
- package/dist/markets.d.ts +2 -0
- package/dist/markets.d.ts.map +1 -0
- package/dist/markets.js +2 -0
- package/dist/markets.js.map +1 -0
- package/dist/pricing/client.d.ts +14 -0
- package/dist/pricing/client.d.ts.map +1 -0
- package/dist/pricing/client.js +60 -0
- package/dist/pricing/client.js.map +1 -0
- package/dist/pricing/components/cancellation-policy-combobox.d.ts +9 -0
- package/dist/pricing/components/cancellation-policy-combobox.d.ts.map +1 -0
- package/dist/pricing/components/cancellation-policy-combobox.js +52 -0
- package/dist/pricing/components/cancellation-policy-combobox.js.map +1 -0
- package/dist/pricing/components/cancellation-policy-rule-dialog.d.ts +11 -0
- package/dist/pricing/components/cancellation-policy-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/cancellation-policy-rule-dialog.js +96 -0
- package/dist/pricing/components/cancellation-policy-rule-dialog.js.map +1 -0
- package/dist/pricing/components/dropoff-price-rule-dialog.d.ts +10 -0
- package/dist/pricing/components/dropoff-price-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/dropoff-price-rule-dialog.js +118 -0
- package/dist/pricing/components/dropoff-price-rule-dialog.js.map +1 -0
- package/dist/pricing/components/extra-price-rule-dialog.d.ts +10 -0
- package/dist/pricing/components/extra-price-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/extra-price-rule-dialog.js +111 -0
- package/dist/pricing/components/extra-price-rule-dialog.js.map +1 -0
- package/dist/pricing/components/option-price-rule-combobox.d.ts +9 -0
- package/dist/pricing/components/option-price-rule-combobox.d.ts.map +1 -0
- package/dist/pricing/components/option-price-rule-combobox.js +48 -0
- package/dist/pricing/components/option-price-rule-combobox.js.map +1 -0
- package/dist/pricing/components/option-price-rule-dialog.d.ts +9 -0
- package/dist/pricing/components/option-price-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/option-price-rule-dialog.js +145 -0
- package/dist/pricing/components/option-price-rule-dialog.js.map +1 -0
- package/dist/pricing/components/option-start-time-rule-dialog.d.ts +10 -0
- package/dist/pricing/components/option-start-time-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/option-start-time-rule-dialog.js +114 -0
- package/dist/pricing/components/option-start-time-rule-dialog.js.map +1 -0
- package/dist/pricing/components/option-unit-combobox.d.ts +11 -0
- package/dist/pricing/components/option-unit-combobox.d.ts.map +1 -0
- package/dist/pricing/components/option-unit-combobox.js +54 -0
- package/dist/pricing/components/option-unit-combobox.js.map +1 -0
- package/dist/pricing/components/option-unit-price-rule-combobox.d.ts +9 -0
- package/dist/pricing/components/option-unit-price-rule-combobox.d.ts.map +1 -0
- package/dist/pricing/components/option-unit-price-rule-combobox.js +57 -0
- package/dist/pricing/components/option-unit-price-rule-combobox.js.map +1 -0
- package/dist/pricing/components/option-unit-price-rule-dialog.d.ts +10 -0
- package/dist/pricing/components/option-unit-price-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/option-unit-price-rule-dialog.js +130 -0
- package/dist/pricing/components/option-unit-price-rule-dialog.js.map +1 -0
- package/dist/pricing/components/option-unit-tier-dialog.d.ts +10 -0
- package/dist/pricing/components/option-unit-tier-dialog.d.ts.map +1 -0
- package/dist/pricing/components/option-unit-tier-dialog.js +97 -0
- package/dist/pricing/components/option-unit-tier-dialog.js.map +1 -0
- package/dist/pricing/components/pickup-price-rule-dialog.d.ts +10 -0
- package/dist/pricing/components/pickup-price-rule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/pickup-price-rule-dialog.js +109 -0
- package/dist/pricing/components/pickup-price-rule-dialog.js.map +1 -0
- package/dist/pricing/components/price-catalog-combobox.d.ts +9 -0
- package/dist/pricing/components/price-catalog-combobox.d.ts.map +1 -0
- package/dist/pricing/components/price-catalog-combobox.js +50 -0
- package/dist/pricing/components/price-catalog-combobox.js.map +1 -0
- package/dist/pricing/components/price-catalogs-page.d.ts +6 -0
- package/dist/pricing/components/price-catalogs-page.d.ts.map +1 -0
- package/dist/pricing/components/price-catalogs-page.js +130 -0
- package/dist/pricing/components/price-catalogs-page.js.map +1 -0
- package/dist/pricing/components/price-schedule-combobox.d.ts +10 -0
- package/dist/pricing/components/price-schedule-combobox.d.ts.map +1 -0
- package/dist/pricing/components/price-schedule-combobox.js +51 -0
- package/dist/pricing/components/price-schedule-combobox.js.map +1 -0
- package/dist/pricing/components/price-schedule-dialog.d.ts +9 -0
- package/dist/pricing/components/price-schedule-dialog.d.ts.map +1 -0
- package/dist/pricing/components/price-schedule-dialog.js +99 -0
- package/dist/pricing/components/price-schedule-dialog.js.map +1 -0
- package/dist/pricing/components/pricing-categories-page.d.ts +7 -0
- package/dist/pricing/components/pricing-categories-page.d.ts.map +1 -0
- package/dist/pricing/components/pricing-categories-page.js +10 -0
- package/dist/pricing/components/pricing-categories-page.js.map +1 -0
- package/dist/pricing/components/pricing-category-combobox.d.ts +9 -0
- package/dist/pricing/components/pricing-category-combobox.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-combobox.js +57 -0
- package/dist/pricing/components/pricing-category-combobox.js.map +1 -0
- package/dist/pricing/components/pricing-category-dependency-dialog.d.ts +9 -0
- package/dist/pricing/components/pricing-category-dependency-dialog.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-dependency-dialog.js +16 -0
- package/dist/pricing/components/pricing-category-dependency-dialog.js.map +1 -0
- package/dist/pricing/components/pricing-category-dependency-form.d.ts +15 -0
- package/dist/pricing/components/pricing-category-dependency-form.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-dependency-form.js +100 -0
- package/dist/pricing/components/pricing-category-dependency-form.js.map +1 -0
- package/dist/pricing/components/pricing-category-dialog.d.ts +9 -0
- package/dist/pricing/components/pricing-category-dialog.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-dialog.js +18 -0
- package/dist/pricing/components/pricing-category-dialog.js.map +1 -0
- package/dist/pricing/components/pricing-category-form.d.ts +15 -0
- package/dist/pricing/components/pricing-category-form.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-form.js +107 -0
- package/dist/pricing/components/pricing-category-form.js.map +1 -0
- package/dist/pricing/components/pricing-category-list.d.ts +5 -0
- package/dist/pricing/components/pricing-category-list.d.ts.map +1 -0
- package/dist/pricing/components/pricing-category-list.js +49 -0
- package/dist/pricing/components/pricing-category-list.js.map +1 -0
- package/dist/pricing/components/pricing-shared-labels.d.ts +22 -0
- package/dist/pricing/components/pricing-shared-labels.d.ts.map +1 -0
- package/dist/pricing/components/pricing-shared-labels.js +33 -0
- package/dist/pricing/components/pricing-shared-labels.js.map +1 -0
- package/dist/pricing/components/product-combobox.d.ts +9 -0
- package/dist/pricing/components/product-combobox.d.ts.map +1 -0
- package/dist/pricing/components/product-combobox.js +46 -0
- package/dist/pricing/components/product-combobox.js.map +1 -0
- package/dist/pricing/components/product-option-combobox.d.ts +11 -0
- package/dist/pricing/components/product-option-combobox.d.ts.map +1 -0
- package/dist/pricing/components/product-option-combobox.js +54 -0
- package/dist/pricing/components/product-option-combobox.js.map +1 -0
- package/dist/pricing/hooks/index.d.ts +44 -0
- package/dist/pricing/hooks/index.d.ts.map +1 -0
- package/dist/pricing/hooks/index.js +44 -0
- package/dist/pricing/hooks/index.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policies.d.ts +20 -0
- package/dist/pricing/hooks/use-cancellation-policies.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policies.js +13 -0
- package/dist/pricing/hooks/use-cancellation-policies.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-mutation.d.ts +57 -0
- package/dist/pricing/hooks/use-cancellation-policy-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-mutation.js +50 -0
- package/dist/pricing/hooks/use-cancellation-policy-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.d.ts +58 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.js +50 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule.d.ts +15 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule.js +13 -0
- package/dist/pricing/hooks/use-cancellation-policy-rule.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rules.d.ts +21 -0
- package/dist/pricing/hooks/use-cancellation-policy-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy-rules.js +13 -0
- package/dist/pricing/hooks/use-cancellation-policy-rules.js.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy.d.ts +14 -0
- package/dist/pricing/hooks/use-cancellation-policy.d.ts.map +1 -0
- package/dist/pricing/hooks/use-cancellation-policy.js +13 -0
- package/dist/pricing/hooks/use-cancellation-policy.js.map +1 -0
- package/dist/pricing/hooks/use-departure-price-override-mutation.d.ts +58 -0
- package/dist/pricing/hooks/use-departure-price-override-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-departure-price-override-mutation.js +57 -0
- package/dist/pricing/hooks/use-departure-price-override-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-departure-price-override.d.ts +15 -0
- package/dist/pricing/hooks/use-departure-price-override.d.ts.map +1 -0
- package/dist/pricing/hooks/use-departure-price-override.js +13 -0
- package/dist/pricing/hooks/use-departure-price-override.js.map +1 -0
- package/dist/pricing/hooks/use-departure-price-overrides.d.ts +22 -0
- package/dist/pricing/hooks/use-departure-price-overrides.d.ts.map +1 -0
- package/dist/pricing/hooks/use-departure-price-overrides.js +13 -0
- package/dist/pricing/hooks/use-departure-price-overrides.js.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rule-mutation.d.ts +72 -0
- package/dist/pricing/hooks/use-dropoff-price-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rule-mutation.js +53 -0
- package/dist/pricing/hooks/use-dropoff-price-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rule.d.ts +18 -0
- package/dist/pricing/hooks/use-dropoff-price-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rule.js +13 -0
- package/dist/pricing/hooks/use-dropoff-price-rule.js.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rules.d.ts +24 -0
- package/dist/pricing/hooks/use-dropoff-price-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-dropoff-price-rules.js +13 -0
- package/dist/pricing/hooks/use-dropoff-price-rules.js.map +1 -0
- package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.d.ts +8 -0
- package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.js +65 -0
- package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rule-mutation.d.ts +72 -0
- package/dist/pricing/hooks/use-extra-price-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rule-mutation.js +53 -0
- package/dist/pricing/hooks/use-extra-price-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rule.d.ts +18 -0
- package/dist/pricing/hooks/use-extra-price-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rule.js +13 -0
- package/dist/pricing/hooks/use-extra-price-rule.js.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rules.d.ts +24 -0
- package/dist/pricing/hooks/use-extra-price-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-extra-price-rules.js +13 -0
- package/dist/pricing/hooks/use-extra-price-rules.js.map +1 -0
- package/dist/pricing/hooks/use-option-price-rule-mutation.d.ts +98 -0
- package/dist/pricing/hooks/use-option-price-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-price-rule-mutation.js +67 -0
- package/dist/pricing/hooks/use-option-price-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-option-price-rule.d.ts +24 -0
- package/dist/pricing/hooks/use-option-price-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-price-rule.js +13 -0
- package/dist/pricing/hooks/use-option-price-rule.js.map +1 -0
- package/dist/pricing/hooks/use-option-price-rules.d.ts +30 -0
- package/dist/pricing/hooks/use-option-price-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-price-rules.js +13 -0
- package/dist/pricing/hooks/use-option-price-rules.js.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rule-mutation.d.ts +70 -0
- package/dist/pricing/hooks/use-option-start-time-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rule-mutation.js +52 -0
- package/dist/pricing/hooks/use-option-start-time-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rule.d.ts +17 -0
- package/dist/pricing/hooks/use-option-start-time-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rule.js +13 -0
- package/dist/pricing/hooks/use-option-start-time-rule.js.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rules.d.ts +23 -0
- package/dist/pricing/hooks/use-option-start-time-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-start-time-rules.js +13 -0
- package/dist/pricing/hooks/use-option-start-time-rules.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rule-mutation.d.ts +79 -0
- package/dist/pricing/hooks/use-option-unit-price-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rule-mutation.js +55 -0
- package/dist/pricing/hooks/use-option-unit-price-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rule.d.ts +19 -0
- package/dist/pricing/hooks/use-option-unit-price-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rule.js +13 -0
- package/dist/pricing/hooks/use-option-unit-price-rule.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rules.d.ts +25 -0
- package/dist/pricing/hooks/use-option-unit-price-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-price-rules.js +13 -0
- package/dist/pricing/hooks/use-option-unit-price-rules.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tier-mutation.d.ts +50 -0
- package/dist/pricing/hooks/use-option-unit-tier-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tier-mutation.js +49 -0
- package/dist/pricing/hooks/use-option-unit-tier-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tier.d.ts +14 -0
- package/dist/pricing/hooks/use-option-unit-tier.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tier.js +13 -0
- package/dist/pricing/hooks/use-option-unit-tier.js.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tiers.d.ts +20 -0
- package/dist/pricing/hooks/use-option-unit-tiers.d.ts.map +1 -0
- package/dist/pricing/hooks/use-option-unit-tiers.js +13 -0
- package/dist/pricing/hooks/use-option-unit-tiers.js.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rule-mutation.d.ts +64 -0
- package/dist/pricing/hooks/use-pickup-price-rule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rule-mutation.js +51 -0
- package/dist/pricing/hooks/use-pickup-price-rule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rule.d.ts +16 -0
- package/dist/pricing/hooks/use-pickup-price-rule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rule.js +13 -0
- package/dist/pricing/hooks/use-pickup-price-rule.js.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rules.d.ts +22 -0
- package/dist/pricing/hooks/use-pickup-price-rules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pickup-price-rules.js +13 -0
- package/dist/pricing/hooks/use-pickup-price-rules.js.map +1 -0
- package/dist/pricing/hooks/use-price-catalog-mutation.d.ts +60 -0
- package/dist/pricing/hooks/use-price-catalog-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-catalog-mutation.js +52 -0
- package/dist/pricing/hooks/use-price-catalog-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-price-catalog.d.ts +14 -0
- package/dist/pricing/hooks/use-price-catalog.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-catalog.js +13 -0
- package/dist/pricing/hooks/use-price-catalog.js.map +1 -0
- package/dist/pricing/hooks/use-price-catalogs.d.ts +20 -0
- package/dist/pricing/hooks/use-price-catalogs.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-catalogs.js +13 -0
- package/dist/pricing/hooks/use-price-catalogs.js.map +1 -0
- package/dist/pricing/hooks/use-price-schedule-mutation.d.ts +76 -0
- package/dist/pricing/hooks/use-price-schedule-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-schedule-mutation.js +65 -0
- package/dist/pricing/hooks/use-price-schedule-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-price-schedule.d.ts +18 -0
- package/dist/pricing/hooks/use-price-schedule.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-schedule.js +13 -0
- package/dist/pricing/hooks/use-price-schedule.js.map +1 -0
- package/dist/pricing/hooks/use-price-schedules.d.ts +28 -0
- package/dist/pricing/hooks/use-price-schedules.d.ts.map +1 -0
- package/dist/pricing/hooks/use-price-schedules.js +12 -0
- package/dist/pricing/hooks/use-price-schedules.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-categories.d.ts +30 -0
- package/dist/pricing/hooks/use-pricing-categories.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-categories.js +36 -0
- package/dist/pricing/hooks/use-pricing-categories.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependencies.d.ts +22 -0
- package/dist/pricing/hooks/use-pricing-category-dependencies.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependencies.js +33 -0
- package/dist/pricing/hooks/use-pricing-category-dependencies.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependency-mutation.d.ts +43 -0
- package/dist/pricing/hooks/use-pricing-category-dependency-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependency-mutation.js +44 -0
- package/dist/pricing/hooks/use-pricing-category-dependency-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependency.d.ts +16 -0
- package/dist/pricing/hooks/use-pricing-category-dependency.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-dependency.js +19 -0
- package/dist/pricing/hooks/use-pricing-category-dependency.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-mutation.d.ts +67 -0
- package/dist/pricing/hooks/use-pricing-category-mutation.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-category-mutation.js +38 -0
- package/dist/pricing/hooks/use-pricing-category-mutation.js.map +1 -0
- package/dist/pricing/hooks/use-pricing-category.d.ts +24 -0
- package/dist/pricing/hooks/use-pricing-category.d.ts.map +1 -0
- package/dist/pricing/hooks/use-pricing-category.js +13 -0
- package/dist/pricing/hooks/use-pricing-category.js.map +1 -0
- package/dist/pricing/i18n/en.d.ts +479 -0
- package/dist/pricing/i18n/en.d.ts.map +1 -0
- package/dist/pricing/i18n/en.js +479 -0
- package/dist/pricing/i18n/en.js.map +1 -0
- package/dist/pricing/i18n/index.d.ts +5 -0
- package/dist/pricing/i18n/index.d.ts.map +1 -0
- package/dist/pricing/i18n/index.js +4 -0
- package/dist/pricing/i18n/index.js.map +1 -0
- package/dist/pricing/i18n/messages.d.ts +437 -0
- package/dist/pricing/i18n/messages.d.ts.map +1 -0
- package/dist/pricing/i18n/messages.js +18 -0
- package/dist/pricing/i18n/messages.js.map +1 -0
- package/dist/pricing/i18n/provider.d.ts +980 -0
- package/dist/pricing/i18n/provider.d.ts.map +1 -0
- package/dist/pricing/i18n/provider.js +45 -0
- package/dist/pricing/i18n/provider.js.map +1 -0
- package/dist/pricing/i18n/ro.d.ts +479 -0
- package/dist/pricing/i18n/ro.d.ts.map +1 -0
- package/dist/pricing/i18n/ro.js +479 -0
- package/dist/pricing/i18n/ro.js.map +1 -0
- package/dist/pricing/index.d.ts +7 -0
- package/dist/pricing/index.d.ts.map +1 -0
- package/dist/pricing/index.js +7 -0
- package/dist/pricing/index.js.map +1 -0
- package/dist/pricing/provider.d.ts +2 -0
- package/dist/pricing/provider.d.ts.map +1 -0
- package/dist/pricing/provider.js +2 -0
- package/dist/pricing/provider.js.map +1 -0
- package/dist/pricing/query-keys.d.ts +155 -0
- package/dist/pricing/query-keys.d.ts.map +1 -0
- package/dist/pricing/query-keys.js +46 -0
- package/dist/pricing/query-keys.js.map +1 -0
- package/dist/pricing/query-options/cancellation.d.ts +228 -0
- package/dist/pricing/query-options/cancellation.d.ts.map +1 -0
- package/dist/pricing/query-options/cancellation.js +61 -0
- package/dist/pricing/query-options/cancellation.js.map +1 -0
- package/dist/pricing/query-options/categories.d.ts +373 -0
- package/dist/pricing/query-options/categories.d.ts.map +1 -0
- package/dist/pricing/query-options/categories.js +92 -0
- package/dist/pricing/query-options/categories.js.map +1 -0
- package/dist/pricing/query-options/departure-overrides.d.ts +127 -0
- package/dist/pricing/query-options/departure-overrides.d.ts.map +1 -0
- package/dist/pricing/query-options/departure-overrides.js +40 -0
- package/dist/pricing/query-options/departure-overrides.js.map +1 -0
- package/dist/pricing/query-options/logistics.d.ts +542 -0
- package/dist/pricing/query-options/logistics.d.ts.map +1 -0
- package/dist/pricing/query-options/logistics.js +137 -0
- package/dist/pricing/query-options/logistics.js.map +1 -0
- package/dist/pricing/query-options/option-rules.d.ts +449 -0
- package/dist/pricing/query-options/option-rules.d.ts.map +1 -0
- package/dist/pricing/query-options/option-rules.js +108 -0
- package/dist/pricing/query-options/option-rules.js.map +1 -0
- package/dist/pricing/query-options/schedules.d.ts +143 -0
- package/dist/pricing/query-options/schedules.d.ts.map +1 -0
- package/dist/pricing/query-options/schedules.js +36 -0
- package/dist/pricing/query-options/schedules.js.map +1 -0
- package/dist/pricing/query-options.d.ts +7 -0
- package/dist/pricing/query-options.d.ts.map +1 -0
- package/dist/pricing/query-options.js +7 -0
- package/dist/pricing/query-options.js.map +1 -0
- package/dist/pricing/schemas.d.ts +900 -0
- package/dist/pricing/schemas.d.ts.map +1 -0
- package/dist/pricing/schemas.js +235 -0
- package/dist/pricing/schemas.js.map +1 -0
- package/dist/pricing/ui.d.ts +27 -0
- package/dist/pricing/ui.d.ts.map +1 -0
- package/dist/pricing/ui.js +26 -0
- package/dist/pricing/ui.js.map +1 -0
- package/dist/pricing.d.ts +2 -0
- package/dist/pricing.d.ts.map +1 -0
- package/dist/pricing.js +2 -0
- package/dist/pricing.js.map +1 -0
- package/dist/promotions/admin/index.d.ts +25 -0
- package/dist/promotions/admin/index.d.ts.map +1 -0
- package/dist/promotions/admin/index.js +45 -0
- package/dist/promotions/admin/index.js.map +1 -0
- package/dist/promotions/i18n/en.d.ts +3 -0
- package/dist/promotions/i18n/en.d.ts.map +1 -0
- package/dist/promotions/i18n/en.js +152 -0
- package/dist/promotions/i18n/en.js.map +1 -0
- package/dist/promotions/i18n/index.d.ts +5 -0
- package/dist/promotions/i18n/index.d.ts.map +1 -0
- package/dist/promotions/i18n/index.js +4 -0
- package/dist/promotions/i18n/index.js.map +1 -0
- package/dist/promotions/i18n/messages.d.ts +137 -0
- package/dist/promotions/i18n/messages.d.ts.map +1 -0
- package/dist/promotions/i18n/messages.js +2 -0
- package/dist/promotions/i18n/messages.js.map +1 -0
- package/dist/promotions/i18n/provider.d.ts +26 -0
- package/dist/promotions/i18n/provider.d.ts.map +1 -0
- package/dist/promotions/i18n/provider.js +45 -0
- package/dist/promotions/i18n/provider.js.map +1 -0
- package/dist/promotions/i18n/ro.d.ts +3 -0
- package/dist/promotions/i18n/ro.d.ts.map +1 -0
- package/dist/promotions/i18n/ro.js +152 -0
- package/dist/promotions/i18n/ro.js.map +1 -0
- package/dist/promotions/index.d.ts +736 -0
- package/dist/promotions/index.d.ts.map +1 -0
- package/dist/promotions/index.js +175 -0
- package/dist/promotions/index.js.map +1 -0
- package/dist/promotions/promotion-dialog.d.ts +9 -0
- package/dist/promotions/promotion-dialog.d.ts.map +1 -0
- package/dist/promotions/promotion-dialog.js +255 -0
- package/dist/promotions/promotion-dialog.js.map +1 -0
- package/dist/promotions/promotions-page-utils.d.ts +14 -0
- package/dist/promotions/promotions-page-utils.d.ts.map +1 -0
- package/dist/promotions/promotions-page-utils.js +117 -0
- package/dist/promotions/promotions-page-utils.js.map +1 -0
- package/dist/promotions/promotions-page.d.ts +77 -0
- package/dist/promotions/promotions-page.d.ts.map +1 -0
- package/dist/promotions/promotions-page.js +121 -0
- package/dist/promotions/promotions-page.js.map +1 -0
- package/dist/promotions/ui.d.ts +5 -0
- package/dist/promotions/ui.d.ts.map +1 -0
- package/dist/promotions/ui.js +4 -0
- package/dist/promotions/ui.js.map +1 -0
- package/dist/promotions-admin.d.ts +2 -0
- package/dist/promotions-admin.d.ts.map +1 -0
- package/dist/promotions-admin.js +2 -0
- package/dist/promotions-admin.js.map +1 -0
- package/dist/promotions.d.ts +2 -0
- package/dist/promotions.d.ts.map +1 -0
- package/dist/promotions.js +2 -0
- package/dist/promotions.js.map +1 -0
- package/dist/sellability/client.d.ts +14 -0
- package/dist/sellability/client.d.ts.map +1 -0
- package/dist/sellability/client.js +59 -0
- package/dist/sellability/client.js.map +1 -0
- package/dist/sellability/components/channel-combobox.d.ts +9 -0
- package/dist/sellability/components/channel-combobox.d.ts.map +1 -0
- package/dist/sellability/components/channel-combobox.js +54 -0
- package/dist/sellability/components/channel-combobox.js.map +1 -0
- package/dist/sellability/components/market-combobox.d.ts +9 -0
- package/dist/sellability/components/market-combobox.d.ts.map +1 -0
- package/dist/sellability/components/market-combobox.js +46 -0
- package/dist/sellability/components/market-combobox.js.map +1 -0
- package/dist/sellability/components/policy-dialog.d.ts +10 -0
- package/dist/sellability/components/policy-dialog.d.ts.map +1 -0
- package/dist/sellability/components/policy-dialog.js +149 -0
- package/dist/sellability/components/policy-dialog.js.map +1 -0
- package/dist/sellability/components/product-combobox.d.ts +9 -0
- package/dist/sellability/components/product-combobox.d.ts.map +1 -0
- package/dist/sellability/components/product-combobox.js +46 -0
- package/dist/sellability/components/product-combobox.js.map +1 -0
- package/dist/sellability/components/product-option-combobox.d.ts +10 -0
- package/dist/sellability/components/product-option-combobox.d.ts.map +1 -0
- package/dist/sellability/components/product-option-combobox.js +54 -0
- package/dist/sellability/components/product-option-combobox.js.map +1 -0
- package/dist/sellability/hooks/index.d.ts +4 -0
- package/dist/sellability/hooks/index.d.ts.map +1 -0
- package/dist/sellability/hooks/index.js +4 -0
- package/dist/sellability/hooks/index.js.map +1 -0
- package/dist/sellability/hooks/use-sellability-policies.d.ts +28 -0
- package/dist/sellability/hooks/use-sellability-policies.d.ts.map +1 -0
- package/dist/sellability/hooks/use-sellability-policies.js +13 -0
- package/dist/sellability/hooks/use-sellability-policies.js.map +1 -0
- package/dist/sellability/hooks/use-sellability-policy-mutation.d.ts +63 -0
- package/dist/sellability/hooks/use-sellability-policy-mutation.d.ts.map +1 -0
- package/dist/sellability/hooks/use-sellability-policy-mutation.js +41 -0
- package/dist/sellability/hooks/use-sellability-policy-mutation.js.map +1 -0
- package/dist/sellability/hooks/use-sellability-policy.d.ts +22 -0
- package/dist/sellability/hooks/use-sellability-policy.d.ts.map +1 -0
- package/dist/sellability/hooks/use-sellability-policy.js +13 -0
- package/dist/sellability/hooks/use-sellability-policy.js.map +1 -0
- package/dist/sellability/i18n/en.d.ts +102 -0
- package/dist/sellability/i18n/en.d.ts.map +1 -0
- package/dist/sellability/i18n/en.js +102 -0
- package/dist/sellability/i18n/en.js.map +1 -0
- package/dist/sellability/i18n/index.d.ts +5 -0
- package/dist/sellability/i18n/index.d.ts.map +1 -0
- package/dist/sellability/i18n/index.js +4 -0
- package/dist/sellability/i18n/index.js.map +1 -0
- package/dist/sellability/i18n/messages.d.ts +71 -0
- package/dist/sellability/i18n/messages.d.ts.map +1 -0
- package/dist/sellability/i18n/messages.js +2 -0
- package/dist/sellability/i18n/messages.js.map +1 -0
- package/dist/sellability/i18n/provider.d.ts +226 -0
- package/dist/sellability/i18n/provider.d.ts.map +1 -0
- package/dist/sellability/i18n/provider.js +45 -0
- package/dist/sellability/i18n/provider.js.map +1 -0
- package/dist/sellability/i18n/ro.d.ts +102 -0
- package/dist/sellability/i18n/ro.d.ts.map +1 -0
- package/dist/sellability/i18n/ro.js +102 -0
- package/dist/sellability/i18n/ro.js.map +1 -0
- package/dist/sellability/index.d.ts +7 -0
- package/dist/sellability/index.d.ts.map +1 -0
- package/dist/sellability/index.js +7 -0
- package/dist/sellability/index.js.map +1 -0
- package/dist/sellability/provider.d.ts +2 -0
- package/dist/sellability/provider.d.ts.map +1 -0
- package/dist/sellability/provider.js +2 -0
- package/dist/sellability/provider.js.map +1 -0
- package/dist/sellability/query-keys.d.ts +20 -0
- package/dist/sellability/query-keys.d.ts.map +1 -0
- package/dist/sellability/query-keys.js +7 -0
- package/dist/sellability/query-keys.js.map +1 -0
- package/dist/sellability/query-options.d.ts +175 -0
- package/dist/sellability/query-options.d.ts.map +1 -0
- package/dist/sellability/query-options.js +32 -0
- package/dist/sellability/query-options.js.map +1 -0
- package/dist/sellability/schemas.d.ts +121 -0
- package/dist/sellability/schemas.d.ts.map +1 -0
- package/dist/sellability/schemas.js +27 -0
- package/dist/sellability/schemas.js.map +1 -0
- package/dist/sellability/ui.d.ts +7 -0
- package/dist/sellability/ui.d.ts.map +1 -0
- package/dist/sellability/ui.js +7 -0
- package/dist/sellability/ui.js.map +1 -0
- package/dist/sellability.d.ts +2 -0
- package/dist/sellability.d.ts.map +1 -0
- package/dist/sellability.js +2 -0
- package/dist/sellability.js.map +1 -0
- package/package.json +306 -0
- package/src/markets/styles.css +12 -0
- package/src/pricing/styles.css +12 -0
- package/src/sellability/styles.css +12 -0
- package/src/styles.css +9 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface UsePriceSchedulesOptions {
|
|
2
|
+
priceCatalogId?: string | undefined;
|
|
3
|
+
active?: boolean | undefined;
|
|
4
|
+
search?: string | undefined;
|
|
5
|
+
limit?: number | undefined;
|
|
6
|
+
offset?: number | undefined;
|
|
7
|
+
enabled?: boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function usePriceSchedules(options?: UsePriceSchedulesOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
10
|
+
data: {
|
|
11
|
+
id: string;
|
|
12
|
+
priceCatalogId: string;
|
|
13
|
+
code: string | null;
|
|
14
|
+
name: string;
|
|
15
|
+
recurrenceRule: string;
|
|
16
|
+
timezone: string | null;
|
|
17
|
+
validFrom: string | null;
|
|
18
|
+
validTo: string | null;
|
|
19
|
+
weekdays: string[] | null;
|
|
20
|
+
priority: number;
|
|
21
|
+
active: boolean;
|
|
22
|
+
notes: string | null;
|
|
23
|
+
}[];
|
|
24
|
+
total: number;
|
|
25
|
+
limit: number;
|
|
26
|
+
offset: number;
|
|
27
|
+
}, Error>;
|
|
28
|
+
//# sourceMappingURL=use-price-schedules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-price-schedules.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-price-schedules.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,wBAA6B;;;;;;;;;;;;;;;;;;UAOvE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
4
|
+
import { getPriceSchedulesQueryOptions } from "../query-options.js";
|
|
5
|
+
export function usePriceSchedules(options = {}) {
|
|
6
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
7
|
+
return useQuery({
|
|
8
|
+
...getPriceSchedulesQueryOptions({ baseUrl, fetcher }, options),
|
|
9
|
+
enabled: Boolean(options.enabled ?? true),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=use-price-schedules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-price-schedules.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-price-schedules.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AAWnE,MAAM,UAAU,iBAAiB,CAAC,UAAoC,EAAE;IACtE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IAEtD,OAAO,QAAQ,CAAC;QACd,GAAG,6BAA6B,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,OAAO,CAAC;QAC/D,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC;KAC1C,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type PricingCategoriesListFilters } from "../query-keys.js";
|
|
2
|
+
export interface UsePricingCategoriesOptions extends PricingCategoriesListFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function usePricingCategories(options?: UsePricingCategoriesOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
id: string;
|
|
8
|
+
productId: string | null;
|
|
9
|
+
optionId: string | null;
|
|
10
|
+
unitId: string | null;
|
|
11
|
+
code: string | null;
|
|
12
|
+
name: string;
|
|
13
|
+
categoryType: "group" | "other" | "adult" | "room" | "service" | "child" | "infant" | "vehicle" | "senior";
|
|
14
|
+
seatOccupancy: number;
|
|
15
|
+
groupSize: number | null;
|
|
16
|
+
isAgeQualified: boolean;
|
|
17
|
+
minAge: number | null;
|
|
18
|
+
maxAge: number | null;
|
|
19
|
+
internalUseOnly: boolean;
|
|
20
|
+
active: boolean;
|
|
21
|
+
sortOrder: number;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
total: number;
|
|
27
|
+
limit: number;
|
|
28
|
+
offset: number;
|
|
29
|
+
}, Error>;
|
|
30
|
+
//# sourceMappingURL=use-pricing-categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-categories.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-categories.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,4BAA4B,EAAoB,MAAM,kBAAkB,CAAA;AAGtF,MAAM,WAAW,2BAA4B,SAAQ,4BAA4B;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,2BAAgC;;;;;;;;;;;;;;;;;;;;;;;;UAyB7E"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
5
|
+
import { pricingQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { pricingCategoryListResponse } from "../schemas.js";
|
|
7
|
+
export function usePricingCategories(options = {}) {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
9
|
+
const { enabled = true, ...filters } = options;
|
|
10
|
+
return useQuery({
|
|
11
|
+
queryKey: pricingQueryKeys.pricingCategoriesList(filters),
|
|
12
|
+
queryFn: () => {
|
|
13
|
+
const params = new URLSearchParams();
|
|
14
|
+
if (filters.productId)
|
|
15
|
+
params.set("productId", filters.productId);
|
|
16
|
+
if (filters.optionId)
|
|
17
|
+
params.set("optionId", filters.optionId);
|
|
18
|
+
if (filters.unitId)
|
|
19
|
+
params.set("unitId", filters.unitId);
|
|
20
|
+
if (filters.categoryType)
|
|
21
|
+
params.set("categoryType", filters.categoryType);
|
|
22
|
+
if (filters.active !== undefined)
|
|
23
|
+
params.set("active", String(filters.active));
|
|
24
|
+
if (filters.search)
|
|
25
|
+
params.set("search", filters.search);
|
|
26
|
+
if (filters.limit !== undefined)
|
|
27
|
+
params.set("limit", String(filters.limit));
|
|
28
|
+
if (filters.offset !== undefined)
|
|
29
|
+
params.set("offset", String(filters.offset));
|
|
30
|
+
const qs = params.toString();
|
|
31
|
+
return fetchWithValidation(`/v1/pricing/pricing-categories${qs ? `?${qs}` : ""}`, pricingCategoryListResponse, { baseUrl, fetcher });
|
|
32
|
+
},
|
|
33
|
+
enabled,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=use-pricing-categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-categories.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-categories.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAqC,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACtF,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAA;AAM3D,MAAM,UAAU,oBAAoB,CAAC,UAAuC,EAAE;IAC5E,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,OAAO,CAAA;IAE9C,OAAO,QAAQ,CAAC;QACd,QAAQ,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,OAAO,CAAC;QACzD,OAAO,EAAE,GAAG,EAAE;YACZ,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAA;YACpC,IAAI,OAAO,CAAC,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;YACjE,IAAI,OAAO,CAAC,QAAQ;gBAAE,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;YAC9D,IAAI,OAAO,CAAC,MAAM;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;YACxD,IAAI,OAAO,CAAC,YAAY;gBAAE,MAAM,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;YAC1E,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YAC9E,IAAI,OAAO,CAAC,MAAM;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;YACxD,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;YAC3E,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YAC9E,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAA;YAC5B,OAAO,mBAAmB,CACxB,iCAAiC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,2BAA2B,EAC3B,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAA;QACH,CAAC;QACD,OAAO;KACR,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PricingCategoryDependenciesListFilters } from "../query-keys.js";
|
|
2
|
+
export interface UsePricingCategoryDependenciesOptions extends PricingCategoryDependenciesListFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function usePricingCategoryDependencies(options?: UsePricingCategoryDependenciesOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
id: string;
|
|
8
|
+
pricingCategoryId: string;
|
|
9
|
+
masterPricingCategoryId: string;
|
|
10
|
+
dependencyType: "requires" | "limits_per_master" | "limits_sum" | "excludes";
|
|
11
|
+
maxPerMaster: number | null;
|
|
12
|
+
maxDependentSum: number | null;
|
|
13
|
+
active: boolean;
|
|
14
|
+
notes: string | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
}[];
|
|
18
|
+
total: number;
|
|
19
|
+
limit: number;
|
|
20
|
+
offset: number;
|
|
21
|
+
}, Error>;
|
|
22
|
+
//# sourceMappingURL=use-pricing-category-dependencies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependencies.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependencies.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,sCAAsC,EAAoB,MAAM,kBAAkB,CAAA;AAGhG,MAAM,WAAW,qCACf,SAAQ,sCAAsC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,GAAE,qCAA0C;;;;;;;;;;;;;;;;UA0BpD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
5
|
+
import { pricingQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { pricingCategoryDependencyListResponse } from "../schemas.js";
|
|
7
|
+
export function usePricingCategoryDependencies(options = {}) {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
9
|
+
const { enabled = true, ...filters } = options;
|
|
10
|
+
return useQuery({
|
|
11
|
+
queryKey: pricingQueryKeys.pricingCategoryDependenciesList(filters),
|
|
12
|
+
queryFn: () => {
|
|
13
|
+
const params = new URLSearchParams();
|
|
14
|
+
if (filters.pricingCategoryId)
|
|
15
|
+
params.set("pricingCategoryId", filters.pricingCategoryId);
|
|
16
|
+
if (filters.masterPricingCategoryId) {
|
|
17
|
+
params.set("masterPricingCategoryId", filters.masterPricingCategoryId);
|
|
18
|
+
}
|
|
19
|
+
if (filters.dependencyType)
|
|
20
|
+
params.set("dependencyType", filters.dependencyType);
|
|
21
|
+
if (filters.active !== undefined)
|
|
22
|
+
params.set("active", String(filters.active));
|
|
23
|
+
if (filters.limit !== undefined)
|
|
24
|
+
params.set("limit", String(filters.limit));
|
|
25
|
+
if (filters.offset !== undefined)
|
|
26
|
+
params.set("offset", String(filters.offset));
|
|
27
|
+
const qs = params.toString();
|
|
28
|
+
return fetchWithValidation(`/v1/pricing/pricing-category-dependencies${qs ? `?${qs}` : ""}`, pricingCategoryDependencyListResponse, { baseUrl, fetcher });
|
|
29
|
+
},
|
|
30
|
+
enabled,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=use-pricing-category-dependencies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependencies.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependencies.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAA+C,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,eAAe,CAAA;AAOrE,MAAM,UAAU,8BAA8B,CAC5C,UAAiD,EAAE;IAEnD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,OAAO,CAAA;IAE9C,OAAO,QAAQ,CAAC;QACd,QAAQ,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,OAAO,CAAC;QACnE,OAAO,EAAE,GAAG,EAAE;YACZ,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAA;YACpC,IAAI,OAAO,CAAC,iBAAiB;gBAAE,MAAM,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAA;YACzF,IAAI,OAAO,CAAC,uBAAuB,EAAE,CAAC;gBACpC,MAAM,CAAC,GAAG,CAAC,yBAAyB,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAA;YACxE,CAAC;YACD,IAAI,OAAO,CAAC,cAAc;gBAAE,MAAM,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;YAChF,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YAC9E,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;YAC3E,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;gBAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YAC9E,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAA;YAC5B,OAAO,mBAAmB,CACxB,4CAA4C,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAChE,qCAAqC,EACrC,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAA;QACH,CAAC;QACD,OAAO;KACR,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface CreatePricingCategoryDependencyInput {
|
|
2
|
+
pricingCategoryId: string;
|
|
3
|
+
masterPricingCategoryId: string;
|
|
4
|
+
dependencyType?: "requires" | "limits_per_master" | "limits_sum" | "excludes";
|
|
5
|
+
maxPerMaster?: number | null;
|
|
6
|
+
maxDependentSum?: number | null;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
notes?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export type UpdatePricingCategoryDependencyInput = Partial<CreatePricingCategoryDependencyInput>;
|
|
11
|
+
export declare function usePricingCategoryDependencyMutation(): {
|
|
12
|
+
create: import("@tanstack/react-query").UseMutationResult<{
|
|
13
|
+
id: string;
|
|
14
|
+
pricingCategoryId: string;
|
|
15
|
+
masterPricingCategoryId: string;
|
|
16
|
+
dependencyType: "requires" | "limits_per_master" | "limits_sum" | "excludes";
|
|
17
|
+
maxPerMaster: number | null;
|
|
18
|
+
maxDependentSum: number | null;
|
|
19
|
+
active: boolean;
|
|
20
|
+
notes: string | null;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
}, Error, CreatePricingCategoryDependencyInput, unknown>;
|
|
24
|
+
update: import("@tanstack/react-query").UseMutationResult<{
|
|
25
|
+
id: string;
|
|
26
|
+
pricingCategoryId: string;
|
|
27
|
+
masterPricingCategoryId: string;
|
|
28
|
+
dependencyType: "requires" | "limits_per_master" | "limits_sum" | "excludes";
|
|
29
|
+
maxPerMaster: number | null;
|
|
30
|
+
maxDependentSum: number | null;
|
|
31
|
+
active: boolean;
|
|
32
|
+
notes: string | null;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
updatedAt: string;
|
|
35
|
+
}, Error, {
|
|
36
|
+
id: string;
|
|
37
|
+
input: UpdatePricingCategoryDependencyInput;
|
|
38
|
+
}, unknown>;
|
|
39
|
+
remove: import("@tanstack/react-query").UseMutationResult<{
|
|
40
|
+
success: boolean;
|
|
41
|
+
}, Error, string, unknown>;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=use-pricing-category-dependency-mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependency-mutation.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependency-mutation.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,oCAAoC;IACnD,iBAAiB,EAAE,MAAM,CAAA;IACzB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,cAAc,CAAC,EAAE,UAAU,GAAG,mBAAmB,GAAG,YAAY,GAAG,UAAU,CAAA;IAC7E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,MAAM,oCAAoC,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAA;AAEhG,wBAAgB,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;YA0B1C,MAAM;eACH,oCAAoC;;;;;EAmChD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
5
|
+
import { pricingQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { pricingCategoryDependencySingleResponse, successEnvelope } from "../schemas.js";
|
|
7
|
+
export function usePricingCategoryDependencyMutation() {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
9
|
+
const queryClient = useQueryClient();
|
|
10
|
+
const create = useMutation({
|
|
11
|
+
mutationFn: async (input) => {
|
|
12
|
+
const { data } = await fetchWithValidation("/v1/pricing/pricing-category-dependencies", pricingCategoryDependencySingleResponse, { baseUrl, fetcher }, { method: "POST", body: JSON.stringify(input) });
|
|
13
|
+
return data;
|
|
14
|
+
},
|
|
15
|
+
onSuccess: () => {
|
|
16
|
+
void queryClient.invalidateQueries({
|
|
17
|
+
queryKey: pricingQueryKeys.pricingCategoryDependencies(),
|
|
18
|
+
});
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
const update = useMutation({
|
|
22
|
+
mutationFn: async ({ id, input, }) => {
|
|
23
|
+
const { data } = await fetchWithValidation(`/v1/pricing/pricing-category-dependencies/${id}`, pricingCategoryDependencySingleResponse, { baseUrl, fetcher }, { method: "PATCH", body: JSON.stringify(input) });
|
|
24
|
+
return data;
|
|
25
|
+
},
|
|
26
|
+
onSuccess: (data) => {
|
|
27
|
+
void queryClient.invalidateQueries({
|
|
28
|
+
queryKey: pricingQueryKeys.pricingCategoryDependencies(),
|
|
29
|
+
});
|
|
30
|
+
queryClient.setQueryData(pricingQueryKeys.pricingCategoryDependency(data.id), data);
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
const remove = useMutation({
|
|
34
|
+
mutationFn: async (id) => fetchWithValidation(`/v1/pricing/pricing-category-dependencies/${id}`, successEnvelope, { baseUrl, fetcher }, { method: "DELETE" }),
|
|
35
|
+
onSuccess: (_data, id) => {
|
|
36
|
+
void queryClient.invalidateQueries({
|
|
37
|
+
queryKey: pricingQueryKeys.pricingCategoryDependencies(),
|
|
38
|
+
});
|
|
39
|
+
queryClient.removeQueries({ queryKey: pricingQueryKeys.pricingCategoryDependency(id) });
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
return { create, update, remove };
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=use-pricing-category-dependency-mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependency-mutation.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependency-mutation.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,uCAAuC,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAcxF,MAAM,UAAU,oCAAoC;IAClD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,KAA2C,EAAE,EAAE;YAChE,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,mBAAmB,CACxC,2CAA2C,EAC3C,uCAAuC,EACvC,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAChD,CAAA;YACD,OAAO,IAAI,CAAA;QACb,CAAC;QACD,SAAS,EAAE,GAAG,EAAE;YACd,KAAK,WAAW,CAAC,iBAAiB,CAAC;gBACjC,QAAQ,EAAE,gBAAgB,CAAC,2BAA2B,EAAE;aACzD,CAAC,CAAA;QACJ,CAAC;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,EACjB,EAAE,EACF,KAAK,GAIN,EAAE,EAAE;YACH,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,mBAAmB,CACxC,6CAA6C,EAAE,EAAE,EACjD,uCAAuC,EACvC,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CACjD,CAAA;YACD,OAAO,IAAI,CAAA;QACb,CAAC;QACD,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;YAClB,KAAK,WAAW,CAAC,iBAAiB,CAAC;gBACjC,QAAQ,EAAE,gBAAgB,CAAC,2BAA2B,EAAE;aACzD,CAAC,CAAA;YACF,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;QACrF,CAAC;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,EAAU,EAAE,EAAE,CAC/B,mBAAmB,CACjB,6CAA6C,EAAE,EAAE,EACjD,eAAe,EACf,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,QAAQ,EAAE,CACrB;QACH,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE;YACvB,KAAK,WAAW,CAAC,iBAAiB,CAAC;gBACjC,QAAQ,EAAE,gBAAgB,CAAC,2BAA2B,EAAE;aACzD,CAAC,CAAA;YACF,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,yBAAyB,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;QACzF,CAAC;KACF,CAAC,CAAA;IAEF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAA;AACnC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UsePricingCategoryDependencyOptions {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare function usePricingCategoryDependency(id: string | null | undefined, options?: UsePricingCategoryDependencyOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
|
+
id: string;
|
|
6
|
+
pricingCategoryId: string;
|
|
7
|
+
masterPricingCategoryId: string;
|
|
8
|
+
dependencyType: "requires" | "limits_per_master" | "limits_sum" | "excludes";
|
|
9
|
+
maxPerMaster: number | null;
|
|
10
|
+
maxDependentSum: number | null;
|
|
11
|
+
active: boolean;
|
|
12
|
+
notes: string | null;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}, Error>;
|
|
16
|
+
//# sourceMappingURL=use-pricing-category-dependency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependency.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependency.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,mCAAmC;IAClD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,4BAA4B,CAC1C,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,mCAAwC;;;;;;;;;;;UAiBlD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
5
|
+
import { pricingQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { pricingCategoryDependencySingleResponse } from "../schemas.js";
|
|
7
|
+
export function usePricingCategoryDependency(id, options = {}) {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
9
|
+
const { enabled = true } = options;
|
|
10
|
+
return useQuery({
|
|
11
|
+
queryKey: pricingQueryKeys.pricingCategoryDependency(id ?? "__missing__"),
|
|
12
|
+
queryFn: async () => {
|
|
13
|
+
const { data } = await fetchWithValidation(`/v1/pricing/pricing-category-dependencies/${id}`, pricingCategoryDependencySingleResponse, { baseUrl, fetcher });
|
|
14
|
+
return data;
|
|
15
|
+
},
|
|
16
|
+
enabled: enabled && Boolean(id),
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=use-pricing-category-dependency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-dependency.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-dependency.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,uCAAuC,EAAE,MAAM,eAAe,CAAA;AAMvE,MAAM,UAAU,4BAA4B,CAC1C,EAA6B,EAC7B,UAA+C,EAAE;IAEjD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,OAAO,CAAA;IAElC,OAAO,QAAQ,CAAC;QACd,QAAQ,EAAE,gBAAgB,CAAC,yBAAyB,CAAC,EAAE,IAAI,aAAa,CAAC;QACzE,OAAO,EAAE,KAAK,IAAI,EAAE;YAClB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,mBAAmB,CACxC,6CAA6C,EAAE,EAAE,EACjD,uCAAuC,EACvC,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAA;YACD,OAAO,IAAI,CAAA;QACb,CAAC;QACD,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC;KAChC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export interface CreatePricingCategoryInput {
|
|
2
|
+
productId?: string | null;
|
|
3
|
+
optionId?: string | null;
|
|
4
|
+
unitId?: string | null;
|
|
5
|
+
code?: string | null;
|
|
6
|
+
name: string;
|
|
7
|
+
categoryType?: "adult" | "child" | "infant" | "senior" | "group" | "room" | "vehicle" | "service" | "other";
|
|
8
|
+
seatOccupancy?: number;
|
|
9
|
+
groupSize?: number | null;
|
|
10
|
+
isAgeQualified?: boolean;
|
|
11
|
+
minAge?: number | null;
|
|
12
|
+
maxAge?: number | null;
|
|
13
|
+
internalUseOnly?: boolean;
|
|
14
|
+
active?: boolean;
|
|
15
|
+
sortOrder?: number;
|
|
16
|
+
metadata?: Record<string, unknown> | null;
|
|
17
|
+
}
|
|
18
|
+
export type UpdatePricingCategoryInput = Partial<CreatePricingCategoryInput>;
|
|
19
|
+
export declare function usePricingCategoryMutation(): {
|
|
20
|
+
create: import("@tanstack/react-query").UseMutationResult<{
|
|
21
|
+
id: string;
|
|
22
|
+
productId: string | null;
|
|
23
|
+
optionId: string | null;
|
|
24
|
+
unitId: string | null;
|
|
25
|
+
code: string | null;
|
|
26
|
+
name: string;
|
|
27
|
+
categoryType: "group" | "other" | "adult" | "room" | "service" | "child" | "infant" | "vehicle" | "senior";
|
|
28
|
+
seatOccupancy: number;
|
|
29
|
+
groupSize: number | null;
|
|
30
|
+
isAgeQualified: boolean;
|
|
31
|
+
minAge: number | null;
|
|
32
|
+
maxAge: number | null;
|
|
33
|
+
internalUseOnly: boolean;
|
|
34
|
+
active: boolean;
|
|
35
|
+
sortOrder: number;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
39
|
+
}, Error, CreatePricingCategoryInput, unknown>;
|
|
40
|
+
update: import("@tanstack/react-query").UseMutationResult<{
|
|
41
|
+
id: string;
|
|
42
|
+
productId: string | null;
|
|
43
|
+
optionId: string | null;
|
|
44
|
+
unitId: string | null;
|
|
45
|
+
code: string | null;
|
|
46
|
+
name: string;
|
|
47
|
+
categoryType: "group" | "other" | "adult" | "room" | "service" | "child" | "infant" | "vehicle" | "senior";
|
|
48
|
+
seatOccupancy: number;
|
|
49
|
+
groupSize: number | null;
|
|
50
|
+
isAgeQualified: boolean;
|
|
51
|
+
minAge: number | null;
|
|
52
|
+
maxAge: number | null;
|
|
53
|
+
internalUseOnly: boolean;
|
|
54
|
+
active: boolean;
|
|
55
|
+
sortOrder: number;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
59
|
+
}, Error, {
|
|
60
|
+
id: string;
|
|
61
|
+
input: UpdatePricingCategoryInput;
|
|
62
|
+
}, unknown>;
|
|
63
|
+
remove: import("@tanstack/react-query").UseMutationResult<{
|
|
64
|
+
success: boolean;
|
|
65
|
+
}, Error, string, unknown>;
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=use-pricing-category-mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-mutation.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-mutation.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,0BAA0B;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EACT,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,CAAA;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAA;AAE5E,wBAAgB,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoBE,MAAM;eAAS,0BAA0B;;;;;EA8BpF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
5
|
+
import { pricingQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { pricingCategorySingleResponse, successEnvelope } from "../schemas.js";
|
|
7
|
+
export function usePricingCategoryMutation() {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
9
|
+
const queryClient = useQueryClient();
|
|
10
|
+
const create = useMutation({
|
|
11
|
+
mutationFn: async (input) => {
|
|
12
|
+
const { data } = await fetchWithValidation("/v1/pricing/pricing-categories", pricingCategorySingleResponse, { baseUrl, fetcher }, { method: "POST", body: JSON.stringify(input) });
|
|
13
|
+
return data;
|
|
14
|
+
},
|
|
15
|
+
onSuccess: () => {
|
|
16
|
+
void queryClient.invalidateQueries({ queryKey: pricingQueryKeys.pricingCategories() });
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const update = useMutation({
|
|
20
|
+
mutationFn: async ({ id, input }) => {
|
|
21
|
+
const { data } = await fetchWithValidation(`/v1/pricing/pricing-categories/${id}`, pricingCategorySingleResponse, { baseUrl, fetcher }, { method: "PATCH", body: JSON.stringify(input) });
|
|
22
|
+
return data;
|
|
23
|
+
},
|
|
24
|
+
onSuccess: (data) => {
|
|
25
|
+
void queryClient.invalidateQueries({ queryKey: pricingQueryKeys.pricingCategories() });
|
|
26
|
+
queryClient.setQueryData(pricingQueryKeys.pricingCategory(data.id), data);
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
const remove = useMutation({
|
|
30
|
+
mutationFn: async (id) => fetchWithValidation(`/v1/pricing/pricing-categories/${id}`, successEnvelope, { baseUrl, fetcher }, { method: "DELETE" }),
|
|
31
|
+
onSuccess: (_data, id) => {
|
|
32
|
+
void queryClient.invalidateQueries({ queryKey: pricingQueryKeys.pricingCategories() });
|
|
33
|
+
queryClient.removeQueries({ queryKey: pricingQueryKeys.pricingCategory(id) });
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
return { create, update, remove };
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=use-pricing-category-mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category-mutation.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category-mutation.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,6BAA6B,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AA+B9E,MAAM,UAAU,0BAA0B;IACxC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,KAAiC,EAAE,EAAE;YACtD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,mBAAmB,CACxC,gCAAgC,EAChC,6BAA6B,EAC7B,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAChD,CAAA;YACD,OAAO,IAAI,CAAA;QACb,CAAC;QACD,SAAS,EAAE,GAAG,EAAE;YACd,KAAK,WAAW,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAA;QACxF,CAAC;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,KAAK,EAAqD,EAAE,EAAE;YACrF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,mBAAmB,CACxC,kCAAkC,EAAE,EAAE,EACtC,6BAA6B,EAC7B,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CACjD,CAAA;YACD,OAAO,IAAI,CAAA;QACb,CAAC;QACD,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;YAClB,KAAK,WAAW,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAA;YACtF,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;QAC3E,CAAC;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC;QACzB,UAAU,EAAE,KAAK,EAAE,EAAU,EAAE,EAAE,CAC/B,mBAAmB,CACjB,kCAAkC,EAAE,EAAE,EACtC,eAAe,EACf,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,EAAE,MAAM,EAAE,QAAQ,EAAE,CACrB;QACH,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE;YACvB,KAAK,WAAW,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAA;YACtF,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;QAC/E,CAAC;KACF,CAAC,CAAA;IAEF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAA;AACnC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface UsePricingCategoryOptions {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare function usePricingCategory(id: string | null | undefined, options?: UsePricingCategoryOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
|
+
id: string;
|
|
6
|
+
productId: string | null;
|
|
7
|
+
optionId: string | null;
|
|
8
|
+
unitId: string | null;
|
|
9
|
+
code: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
categoryType: "group" | "other" | "adult" | "room" | "service" | "child" | "infant" | "vehicle" | "senior";
|
|
12
|
+
seatOccupancy: number;
|
|
13
|
+
groupSize: number | null;
|
|
14
|
+
isAgeQualified: boolean;
|
|
15
|
+
minAge: number | null;
|
|
16
|
+
maxAge: number | null;
|
|
17
|
+
internalUseOnly: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
sortOrder: number;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
23
|
+
}, Error>;
|
|
24
|
+
//# sourceMappingURL=use-pricing-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category.d.ts","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,kBAAkB,CAChC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,yBAA8B;;;;;;;;;;;;;;;;;;;UASxC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantPricingContext } from "../provider.js";
|
|
4
|
+
import { getPricingCategoryQueryOptions } from "../query-options.js";
|
|
5
|
+
export function usePricingCategory(id, options = {}) {
|
|
6
|
+
const { baseUrl, fetcher } = useVoyantPricingContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({
|
|
9
|
+
...getPricingCategoryQueryOptions({ baseUrl, fetcher }, id ?? "__missing__"),
|
|
10
|
+
enabled: enabled && Boolean(id),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=use-pricing-category.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pricing-category.js","sourceRoot":"","sources":["../../../src/pricing/hooks/use-pricing-category.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAA;AAMpE,MAAM,UAAU,kBAAkB,CAChC,EAA6B,EAC7B,UAAqC,EAAE;IAEvC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,uBAAuB,EAAE,CAAA;IACtD,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,OAAO,CAAA;IAElC,OAAO,QAAQ,CAAC;QACd,GAAG,8BAA8B,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,aAAa,CAAC;QAC5E,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC;KAChC,CAAC,CAAA;AACJ,CAAC"}
|