diff --git a/.changeset/loose-taxis-grab.md b/.changeset/loose-taxis-grab.md new file mode 100644 index 00000000..cc4e8de8 --- /dev/null +++ b/.changeset/loose-taxis-grab.md @@ -0,0 +1,5 @@ +--- +"@godaddy/react": patch +--- + +Add auth-token exchange diff --git a/examples/nextjs/app/c/[sessionId]/HostedCheckout.tsx b/examples/nextjs/app/c/[sessionId]/HostedCheckout.tsx new file mode 100644 index 00000000..2b8a23e8 --- /dev/null +++ b/examples/nextjs/app/c/[sessionId]/HostedCheckout.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Checkout, GoDaddyProvider } from '@godaddy/react'; + +export default function HostedCheckout() { + return ( +
+ + + +
+ ); +} diff --git a/examples/nextjs/app/c/[sessionId]/page.tsx b/examples/nextjs/app/c/[sessionId]/page.tsx new file mode 100644 index 00000000..bfed8f47 --- /dev/null +++ b/examples/nextjs/app/c/[sessionId]/page.tsx @@ -0,0 +1,7 @@ +import HostedCheckout from './HostedCheckout'; + +export const dynamic = 'force-dynamic'; + +export default async function HostedCheckoutPage() { + return ; +} diff --git a/examples/nextjs/app/c/page.tsx b/examples/nextjs/app/c/page.tsx new file mode 100644 index 00000000..a204b22f --- /dev/null +++ b/examples/nextjs/app/c/page.tsx @@ -0,0 +1,5 @@ +export const dynamic = 'force-dynamic'; + +export default async function HostedCheckout() { + return
Test
; +} diff --git a/examples/nextjs/app/checkout.tsx b/examples/nextjs/app/checkout.tsx index aca19ce5..f49875e1 100644 --- a/examples/nextjs/app/checkout.tsx +++ b/examples/nextjs/app/checkout.tsx @@ -2,9 +2,7 @@ import type { CheckoutFormSchema, CheckoutSession } from '@godaddy/react'; import { Checkout, GoDaddyProvider } from '@godaddy/react'; -import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; -import { useState } from 'react'; import { z } from 'zod'; /* Override the checkout form schema to make shippingPhone required */ @@ -13,32 +11,27 @@ const customSchema: CheckoutFormSchema = { }; export function CheckoutPage({ session }: { session: CheckoutSession }) { - const [queryClient] = useState(() => new QueryClient()); - return ( - - - - - - + + + + ); } diff --git a/examples/nextjs/app/layout.tsx b/examples/nextjs/app/layout.tsx index d1cb7eeb..95e2a478 100644 --- a/examples/nextjs/app/layout.tsx +++ b/examples/nextjs/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from 'next'; import { Geist, Geist_Mono } from 'next/font/google'; import './globals.css'; import '@godaddy/react/styles.css'; +import { Providers } from './providers'; const geistSans = Geist({ variable: '--font-geist-sans', @@ -28,7 +29,7 @@ export default function RootLayout({ - {children} + {children} ); diff --git a/examples/nextjs/app/providers.tsx b/examples/nextjs/app/providers.tsx new file mode 100644 index 00000000..6af0a6e0 --- /dev/null +++ b/examples/nextjs/app/providers.tsx @@ -0,0 +1,12 @@ +'use client'; + +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import { useState } from 'react'; + +export function Providers({ children }: { children: React.ReactNode }) { + const [queryClient] = useState(() => new QueryClient()); + + return ( + {children} + ); +} diff --git a/examples/nextjs/biome.json b/examples/nextjs/biome.json index 87e71657..808d736f 100644 --- a/examples/nextjs/biome.json +++ b/examples/nextjs/biome.json @@ -1,20 +1,20 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.2/schema.json", - "extends": ["biome-config-godaddy/biome.json"], - "css": { - "parser": { - "cssModules": true, - "tailwindDirectives": true - } - }, - "files": { - "includes": ["**/*", "!!**/src/globals.css"] - }, - "linter": { - "rules": { - "correctness": { - "useUniqueElementIds": "off" - } - } - } + "$schema": "https://biomejs.dev/schemas/2.3.3/schema.json", + "extends": ["biome-config-godaddy/biome.json"], + "css": { + "parser": { + "cssModules": true, + "tailwindDirectives": true + } + }, + "files": { + "includes": ["**/*", "!!**/src/globals.css"] + }, + "linter": { + "rules": { + "correctness": { + "useUniqueElementIds": "off" + } + } + } } diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 8d87cfcc..bcfe745d 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -1,32 +1,32 @@ { - "name": "nextjs", - "version": "0.1.1", - "private": true, - "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "lint": "biome check .", - "lint:fix": "biome check --write --unsafe ." - }, - "dependencies": { - "@godaddy/localizations": "workspace:*", - "@godaddy/react": "workspace:*", - "@tanstack/react-query": "^5.66.0", - "@tanstack/react-query-devtools": "^5.76.1", - "next": "16.0.1", - "react": "19.2.0", - "react-dom": "19.2.0", - "zod": "^3.24.1" - }, - "devDependencies": { - "@biomejs/biome": "^2", - "@tailwindcss/postcss": "^4", - "@types/node": "^20", - "@types/react": "^19", - "@types/react-dom": "^19", - "biome-config-godaddy": "workspace:*", - "tailwindcss": "^4", - "typescript": "^5" - } + "name": "nextjs", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "biome check .", + "lint:fix": "biome check --write --unsafe ." + }, + "dependencies": { + "@godaddy/localizations": "workspace:*", + "@godaddy/react": "workspace:*", + "@tanstack/react-query": "^5.66.0", + "@tanstack/react-query-devtools": "^5.76.1", + "next": "16.0.1", + "react": "19.2.0", + "react-dom": "19.2.0", + "zod": "^3.24.1" + }, + "devDependencies": { + "@biomejs/biome": "^2", + "@tailwindcss/postcss": "^4", + "@types/node": "^20", + "@types/react": "^19", + "@types/react-dom": "^19", + "biome-config-godaddy": "workspace:*", + "tailwindcss": "^4", + "typescript": "^5" + } } diff --git a/packages/react/package.json b/packages/react/package.json index 087712f8..381975b8 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,121 +1,121 @@ { - "name": "@godaddy/react", - "private": false, - "version": "1.0.3", - "type": "module", - "types": "./dist/index.d.ts", - "files": [ - "dist" - ], - "exports": { - "./package.json": "./package.json", - "./styles.css": "./dist/index.css", - "./server": { - "types": "./dist/server.d.ts", - "import": "./dist/server.js", - "default": "./dist/server.js" - }, - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "default": "./dist/index.js" - } - }, - "typesVersions": { - "*": { - "server": [ - "./dist/server.d.ts" - ], - "*": [ - "./dist/index.d.ts" - ] - } - }, - "scripts": { - "dev": "tsdown --watch", - "dev:https": "tsdown --watch", - "build": "tsdown && pnpm dlx @tailwindcss/cli -i ./src/globals.css -o ./dist/index.css --minify", - "preview": "vite preview", - "typecheck": "tsc --noEmit", - "test": "vitest run", - "lint": "biome check .", - "lint:fix": "biome check --write --unsafe ./src", - "prepublishOnly": "pnpm run build" - }, - "peerDependencies": { - "@tanstack/react-query": ">=5", - "react": "18.x || 19.x", - "react-dom": "18.x || 19.x", - "react-hook-form": ">=7" - }, - "dependencies": { - "@floating-ui/react": "^0.27.8", - "@godaddy/localizations": "workspace:*", - "@hookform/resolvers": "^4.0.0", - "@paypal/react-paypal-js": "^8.8.3", - "@radix-ui/react-accordion": "^1.2.3", - "@radix-ui/react-alert-dialog": "^1.1.6", - "@radix-ui/react-aspect-ratio": "^1.1.2", - "@radix-ui/react-avatar": "^1.1.3", - "@radix-ui/react-checkbox": "^1.1.4", - "@radix-ui/react-collapsible": "^1.1.3", - "@radix-ui/react-dialog": "^1.1.6", - "@radix-ui/react-label": "^2.1.2", - "@radix-ui/react-popover": "^1.1.6", - "@radix-ui/react-radio-group": "^1.2.3", - "@radix-ui/react-scroll-area": "^1.2.3", - "@radix-ui/react-select": "^2.1.6", - "@radix-ui/react-separator": "^1.1.2", - "@radix-ui/react-slot": "^1.1.2", - "@radix-ui/react-switch": "^1.1.3", - "@radix-ui/react-toast": "^1.2.6", - "@radix-ui/react-toggle": "^1.1.2", - "@radix-ui/react-toggle-group": "^1.1.2", - "@radix-ui/react-tooltip": "^1.1.8", - "@stripe/react-stripe-js": "^3.7.0", - "@stripe/stripe-js": "^7.3.1", - "@tailwindcss/cli": "^4.1.10", - "@tailwindcss/vite": "^4.1.4", - "@tanstack/react-pacer": "^0.2.0", - "@tanstack/react-query": "^5.66.0", - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "cmdk": "1.0.0", - "date-fns": "^4.1.0", - "date-fns-tz": "^3.2.0", - "embla-carousel-react": "^8.5.2", - "fast-deep-equal": "^3.1.3", - "gql.tada": "^1.8.10", - "graphql": "^16.10.0", - "graphql-request": "^5.2.0", - "lucide-react": "^0.475.0", - "react-day-picker": "8.10.1", - "react-phone-number-input": "^3.4.12", - "react-resizable-panels": "^2.1.7", - "tailwind-merge": "^3.0.1", - "tailwindcss": "^4.1.4", - "ulid": "^3.0.0", - "vaul": "^1.1.2", - "zod": "^3.24.1" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.2", - "@types/node": "^22.13.1", - "@types/react": "^19.0.8", - "@types/react-dom": "^19.0.3", - "@vitejs/plugin-react": "^4.2.1", - "biome-config-godaddy": "workspace:*", - "globals": "^15.14.0", - "jsdom": "^26.0.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", - "react-hook-form": "^7.54.2", - "tsdown": "^0.15.6", - "typescript": "~5.7.3", - "vite": "^5.1.6", - "vitest": "^3.0.6" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/" - } + "name": "@godaddy/react", + "private": false, + "version": "1.0.2", + "type": "module", + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], + "exports": { + "./package.json": "./package.json", + "./styles.css": "./dist/index.css", + "./server": { + "types": "./dist/server.d.ts", + "import": "./dist/server.js", + "default": "./dist/server.js" + }, + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.js" + } + }, + "typesVersions": { + "*": { + "server": [ + "./dist/server.d.ts" + ], + "*": [ + "./dist/index.d.ts" + ] + } + }, + "scripts": { + "dev": "tsdown --watch", + "dev:https": "tsdown --watch", + "build": "tsdown && pnpm dlx @tailwindcss/cli -i ./src/globals.css -o ./dist/index.css --minify", + "preview": "vite preview", + "typecheck": "tsc --noEmit", + "test": "vitest run", + "lint": "biome check .", + "lint:fix": "biome check --write --unsafe ./src", + "prepublishOnly": "pnpm run build" + }, + "peerDependencies": { + "@tanstack/react-query": ">=5", + "react": "18.x || 19.x", + "react-dom": "18.x || 19.x", + "react-hook-form": ">=7" + }, + "dependencies": { + "@floating-ui/react": "^0.27.8", + "@godaddy/localizations": "workspace:*", + "@hookform/resolvers": "^4.0.0", + "@paypal/react-paypal-js": "^8.8.3", + "@radix-ui/react-accordion": "^1.2.3", + "@radix-ui/react-alert-dialog": "^1.1.6", + "@radix-ui/react-aspect-ratio": "^1.1.2", + "@radix-ui/react-avatar": "^1.1.3", + "@radix-ui/react-checkbox": "^1.1.4", + "@radix-ui/react-collapsible": "^1.1.3", + "@radix-ui/react-dialog": "^1.1.6", + "@radix-ui/react-label": "^2.1.2", + "@radix-ui/react-popover": "^1.1.6", + "@radix-ui/react-radio-group": "^1.2.3", + "@radix-ui/react-scroll-area": "^1.2.3", + "@radix-ui/react-select": "^2.1.6", + "@radix-ui/react-separator": "^1.1.2", + "@radix-ui/react-slot": "^1.1.2", + "@radix-ui/react-switch": "^1.1.3", + "@radix-ui/react-toast": "^1.2.6", + "@radix-ui/react-toggle": "^1.1.2", + "@radix-ui/react-toggle-group": "^1.1.2", + "@radix-ui/react-tooltip": "^1.1.8", + "@stripe/react-stripe-js": "^3.7.0", + "@stripe/stripe-js": "^7.3.1", + "@tailwindcss/cli": "^4.1.10", + "@tailwindcss/vite": "^4.1.4", + "@tanstack/react-pacer": "^0.2.0", + "@tanstack/react-query": "^5.66.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "cmdk": "1.0.0", + "date-fns": "^4.1.0", + "date-fns-tz": "^3.2.0", + "embla-carousel-react": "^8.5.2", + "fast-deep-equal": "^3.1.3", + "gql.tada": "^1.8.10", + "graphql": "^16.10.0", + "graphql-request": "^5.2.0", + "lucide-react": "^0.475.0", + "react-day-picker": "8.10.1", + "react-phone-number-input": "^3.4.12", + "react-resizable-panels": "^2.1.7", + "tailwind-merge": "^3.0.1", + "tailwindcss": "^4.1.4", + "ulid": "^3.0.0", + "vaul": "^1.1.2", + "zod": "^3.24.1" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.2", + "@types/node": "^22.13.1", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@vitejs/plugin-react": "^4.2.1", + "biome-config-godaddy": "workspace:*", + "globals": "^15.14.0", + "jsdom": "^26.0.0", + "react": "^19", + "react-dom": "^19", + "react-hook-form": "^7.54.2", + "tsdown": "^0.15.6", + "typescript": "~5.7.3", + "vite": "^5.1.6", + "vitest": "^3.0.6" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/packages/react/src/components/checkout/address/utils/use-address-matches.ts b/packages/react/src/components/checkout/address/utils/use-address-matches.ts index 46f03596..777dbdbf 100644 --- a/packages/react/src/components/checkout/address/utils/use-address-matches.ts +++ b/packages/react/src/components/checkout/address/utils/use-address-matches.ts @@ -1,5 +1,6 @@ import { useQuery } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getAddressMatches } from '@/lib/godaddy/godaddy'; /** @@ -15,11 +16,19 @@ export function useAddressMatches( enabled: boolean; } = { enabled: true } ) { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); return useQuery({ queryKey: ['addressMatchesQuery', debouncedAddressValue], - queryFn: () => getAddressMatches({ query: debouncedAddressValue }, session), + queryFn: () => + jwt + ? getAddressMatches( + { query: debouncedAddressValue }, + { accessToken: jwt }, + apiHost + ) + : getAddressMatches({ query: debouncedAddressValue }, session, apiHost), enabled: !!debouncedAddressValue && !!session?.id && options.enabled, placeholderData: prev => prev, select: data => data.checkoutSession?.addresses, diff --git a/packages/react/src/components/checkout/address/utils/use-address-verification.ts b/packages/react/src/components/checkout/address/utils/use-address-verification.ts index 879f27f8..4b7598bc 100644 --- a/packages/react/src/components/checkout/address/utils/use-address-verification.ts +++ b/packages/react/src/components/checkout/address/utils/use-address-verification.ts @@ -1,5 +1,6 @@ import { useQuery } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { verifyAddress } from '@/lib/godaddy/godaddy'; /** @@ -30,7 +31,8 @@ export function useAddressVerification( enabled: boolean; } = { enabled: true } ) { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const queryKey = [ 'verifyAddressQuery', @@ -46,7 +48,10 @@ export function useAddressVerification( return useQuery({ queryKey, - queryFn: async () => verifyAddress(address, session), + queryFn: async () => + jwt + ? verifyAddress(address, { accessToken: jwt }, apiHost) + : verifyAddress(address, session, apiHost), enabled: options.enabled && !!session?.id && diff --git a/packages/react/src/components/checkout/checkout.tsx b/packages/react/src/components/checkout/checkout.tsx index 0f04eeb3..cdc232aa 100644 --- a/packages/react/src/components/checkout/checkout.tsx +++ b/packages/react/src/components/checkout/checkout.tsx @@ -7,6 +7,7 @@ import { checkIsValidPhone } from '@/components/checkout/address/utils/check-is- import { DeliveryMethods } from '@/components/checkout/delivery/delivery-method'; import { getRequiredFieldsFromSchema } from '@/components/checkout/form/utils/get-required-fields-from-schema'; import { type GoDaddyVariables, useGoDaddyContext } from '@/godaddy-provider'; +import { useCheckoutSession } from '@/hooks/use-checkout-session'; import { type Theme, useTheme } from '@/hooks/use-theme'; import { useVariables } from '@/hooks/use-variables'; import type { TrackingProperties } from '@/tracking/event-properties'; @@ -80,8 +81,11 @@ export type PayPalConfig = { interface CheckoutContextValue { elements?: CheckoutElements; - targets?: Partial ReactNode>>; - session?: CheckoutSession; + targets?: Partial< + Record ReactNode> + >; + session?: CheckoutSession | null; + jwt?: string; isCheckoutDisabled?: boolean; stripeConfig?: StripeConfig; godaddyPaymentsConfig?: GodaddyPaymentsConfig; @@ -190,7 +194,7 @@ export type CheckoutFormSchema = Partial<{ export type CheckoutFormData = z.infer; export interface CheckoutProps { - session: CheckoutSession | undefined; + session?: CheckoutSession | undefined; appearance?: Appearance; isCheckoutDisabled?: boolean; stripeConfig?: StripeConfig; @@ -209,7 +213,6 @@ export interface CheckoutProps { export function Checkout(props: CheckoutProps) { const { - session, checkoutFormSchema, enableTracking = false, trackingProperties, @@ -224,7 +227,9 @@ export function Checkout(props: CheckoutProps) { const [checkoutErrors, setCheckoutErrors] = React.useState< string[] | undefined >(undefined); - const { t } = useGoDaddyContext(); + const { t } = useGoDaddyContext() + + const { session, jwt, isLoading: isLoadingJWT } = useCheckoutSession(props); useTheme(session?.appearance?.theme); useVariables(session?.appearance?.variables || props?.appearance?.variables); @@ -239,7 +244,7 @@ export function Checkout(props: CheckoutProps) { if (!checkIsValidPhone(String(data?.billingPhone))) { ctx.addIssue({ code: z.ZodIssueCode.custom, - message: 'Enter a valid billing phone number', + message: t.validation.enterValidBillingPhone, path: ['billingPhone'], }); } @@ -249,7 +254,7 @@ export function Checkout(props: CheckoutProps) { if (!checkIsValidPhone(String(data?.shippingPhone))) { ctx.addIssue({ code: z.ZodIssueCode.custom, - message: 'Enter a valid shipping phone number', + message: t.validation.enterValidShippingPhone, path: ['shippingPhone'], }); } @@ -347,6 +352,7 @@ export function Checkout(props: CheckoutProps) { targets: props?.targets, isCheckoutDisabled, session, + jwt, stripeConfig, godaddyPaymentsConfig, squareConfig, @@ -360,6 +366,7 @@ export function Checkout(props: CheckoutProps) { > diff --git a/packages/react/src/components/checkout/delivery/delivery-method.tsx b/packages/react/src/components/checkout/delivery/delivery-method.tsx index eccbba56..5aa5aaa7 100644 --- a/packages/react/src/components/checkout/delivery/delivery-method.tsx +++ b/packages/react/src/components/checkout/delivery/delivery-method.tsx @@ -1,4 +1,5 @@ import { Store, Truck } from 'lucide-react'; +import { useEffect } from 'react'; import { useFormContext } from 'react-hook-form'; import { type CheckoutFormData, @@ -73,10 +74,29 @@ export function DeliveryMethodForm() { }; const availableMethods = [ - DELIVERY_METHODS[0], + ...(session?.enableShipping ? [DELIVERY_METHODS[0]] : []), ...(session?.enableLocalPickup ? [DELIVERY_METHODS[1]] : []), ]; + // Set default delivery method when component loads + useEffect(() => { + const currentValue = form.getValues('deliveryMethod'); + const isCurrentValueValid = availableMethods.some( + (method) => method.id === currentValue + ); + + if (!currentValue || !isCurrentValueValid) { + const defaultMethod = availableMethods.length === 1 + ? availableMethods[0].id + : DeliveryMethods.SHIP; + form.setValue('deliveryMethod', defaultMethod); + } + }, [availableMethods, form]); + + if (availableMethods.length === 0) { + return null; + } + return (
@@ -108,7 +128,7 @@ export function DeliveryMethodForm() { { if (!session) return; - return await applyDeliveryMethod({ mode }, session); + const data = jwt + ? await applyDeliveryMethod({ mode }, { accessToken: jwt }, apiHost) + : await applyDeliveryMethod({ mode }, session, apiHost); + return data; }, }); } diff --git a/packages/react/src/components/checkout/delivery/utils/use-apply-fulfillment-location.ts b/packages/react/src/components/checkout/delivery/utils/use-apply-fulfillment-location.ts index d9c539cc..e94e92d9 100644 --- a/packages/react/src/components/checkout/delivery/utils/use-apply-fulfillment-location.ts +++ b/packages/react/src/components/checkout/delivery/utils/use-apply-fulfillment-location.ts @@ -1,16 +1,20 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; import { useUpdateTaxes } from '@/components/checkout/order/use-update-taxes'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { applyFulfillmentLocation } from '@/lib/godaddy/godaddy'; import type { ApplyCheckoutSessionFulfillmentLocationInput } from '@/types'; export function useApplyFulfillmentLocation() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const updateTaxes = useUpdateTaxes(); const queryClient = useQueryClient(); return useMutation({ - mutationKey: ['apply-fulfillment-location', { sessionId: session?.id }], + mutationKey: session?.id + ? ['apply-fulfillment-location', session.id] + : ['apply-fulfillment-location'], mutationFn: async ({ fulfillmentLocationId, }: { @@ -29,7 +33,18 @@ export function useApplyFulfillmentLocation() { // Don't process empty string or undefined location IDs if (!session || !fulfillmentLocationId) return; - return await applyFulfillmentLocation({ fulfillmentLocationId }, session); + const data = jwt + ? await applyFulfillmentLocation( + { fulfillmentLocationId }, + { accessToken: jwt }, + apiHost + ) + : await applyFulfillmentLocation( + { fulfillmentLocationId }, + session, + apiHost + ); + return data; }, onSuccess: (_data, { locationAddress }) => { if (!session) return; @@ -38,7 +53,7 @@ export function useApplyFulfillmentLocation() { updateTaxes.mutate(locationAddress); } else { queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); } }, diff --git a/packages/react/src/components/checkout/discount/utils/use-discount-apply.ts b/packages/react/src/components/checkout/discount/utils/use-discount-apply.ts index 8071c5e1..b235bbbf 100644 --- a/packages/react/src/components/checkout/discount/utils/use-discount-apply.ts +++ b/packages/react/src/components/checkout/discount/utils/use-discount-apply.ts @@ -4,27 +4,33 @@ import { useCheckoutContext } from '@/components/checkout/checkout'; import { DeliveryMethods } from '@/components/checkout/delivery/delivery-method'; import { useDraftOrder } from '@/components/checkout/order/use-draft-order'; import { useUpdateTaxes } from '@/components/checkout/order/use-update-taxes'; +import { useGoDaddyContext } from '@/godaddy-provider'; import type { ResultOf } from '@/gql.tada'; import { applyDiscount } from '@/lib/godaddy/godaddy'; import type { DraftOrderQuery } from '@/lib/godaddy/queries'; import type { ApplyCheckoutSessionDiscountInput } from '@/types'; export function useDiscountApply() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const form = useFormContext(); const queryClient = useQueryClient(); const updateTaxes = useUpdateTaxes(); const { data: draftOrder } = useDraftOrder(); return useMutation({ - mutationKey: ['apply-discount', { sessionId: session?.id }], + mutationKey: session?.id + ? ['apply-discount', session.id] + : ['apply-discount'], mutationFn: async ({ discountCodes, }: { discountCodes: ApplyCheckoutSessionDiscountInput['input']['discountCodes']; }) => { - if (!session) return; - return await applyDiscount(discountCodes, session); + const data = jwt + ? await applyDiscount(discountCodes, { accessToken: jwt }, apiHost) + : await applyDiscount(discountCodes, session, apiHost); + return data; }, onSuccess: (data, { discountCodes }) => { if (!session) return; @@ -36,7 +42,7 @@ export function useDiscountApply() { if (discountTotal) { queryClient.setQueryData( - ['draft-order', { id: session.id }], + ['draft-order', session.id], (old: ResultOf | undefined) => { if (!old) return old; return { @@ -101,7 +107,7 @@ export function useDiscountApply() { if (!discountCodes?.length) { // If no discount codes, we need to remove any existing discounts from the cache queryClient.setQueryData( - ['draft-order', { id: session.id }], + ['draft-order', session.id], (old: ResultOf | undefined) => { if (!old) return old; return { @@ -159,7 +165,7 @@ export function useDiscountApply() { } } else { queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); } }, diff --git a/packages/react/src/components/checkout/discount/utils/use-get-price-adjustments.ts b/packages/react/src/components/checkout/discount/utils/use-get-price-adjustments.ts index 94cbb22a..eebfdf1a 100644 --- a/packages/react/src/components/checkout/discount/utils/use-get-price-adjustments.ts +++ b/packages/react/src/components/checkout/discount/utils/use-get-price-adjustments.ts @@ -1,31 +1,38 @@ import { useMutation } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getDraftOrderPriceAdjustments } from '@/lib/godaddy/godaddy'; import type { DraftOrderPriceAdjustmentsQueryInput } from '@/types'; +type Vars = { + discountCodes: DraftOrderPriceAdjustmentsQueryInput['discountCodes']; + shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines']; +}; + export function useGetPriceAdjustments() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); - return useMutation({ + return useMutation({ mutationKey: [ 'get-price-adjustments-by-discount-code', - { sessionId: session?.id }, + session?.id ?? 'no-session', ], - mutationFn: async ({ - discountCodes, - shippingLines, - }: { - discountCodes: DraftOrderPriceAdjustmentsQueryInput['discountCodes']; - shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines']; - }) => { - if (!session) return; - - const data = await getDraftOrderPriceAdjustments( - session, - discountCodes, - shippingLines - ); + mutationFn: async ({ discountCodes, shippingLines }) => { + const data = jwt + ? await getDraftOrderPriceAdjustments( + { accessToken: jwt }, + discountCodes, + shippingLines, + apiHost + ) + : await getDraftOrderPriceAdjustments( + session, + discountCodes, + shippingLines, + apiHost + ); return data.checkoutSession?.draftOrder?.calculatedAdjustments ?.totalDiscountAmount?.value; diff --git a/packages/react/src/components/checkout/form/checkout-form-container.tsx b/packages/react/src/components/checkout/form/checkout-form-container.tsx index 8b1a6585..055ae17a 100644 --- a/packages/react/src/components/checkout/form/checkout-form-container.tsx +++ b/packages/react/src/components/checkout/form/checkout-form-container.tsx @@ -18,10 +18,12 @@ import { interface CheckoutFormContainerProps extends Omit { schema: z.ZodObject | z.ZodEffects; + isLoadingJWT?: boolean; } export function CheckoutFormContainer({ schema, + isLoadingJWT, ...props }: CheckoutFormContainerProps) { const { session, isConfirmingCheckout } = useCheckoutContext(); @@ -49,15 +51,15 @@ export function CheckoutFormContainer({ [order, props.defaultValues, session?.shipping?.originAddress?.countryCode] ); - if (!isConfirmingCheckout && !draftOrderQuery.isLoading && !order) { - const returnUrl = session?.returnUrl; - if (returnUrl) { - window.location.href = returnUrl; - return null; - } - } + // if (!isConfirmingCheckout && !draftOrderQuery.isLoading && !order) { + // const returnUrl = session?.returnUrl; + // if (returnUrl) { + // window.location.href = returnUrl; + // return null; + // } + // } - if (draftOrderQuery.isLoading) { + if (draftOrderQuery.isLoading || isLoadingJWT) { return ; } diff --git a/packages/react/src/components/checkout/form/checkout-form.tsx b/packages/react/src/components/checkout/form/checkout-form.tsx index e0381b53..dbb35dfa 100644 --- a/packages/react/src/components/checkout/form/checkout-form.tsx +++ b/packages/react/src/components/checkout/form/checkout-form.tsx @@ -162,7 +162,8 @@ export function CheckoutForm({ const totalSavings = Math.abs(orderDiscount + lineItemDiscounts); const [gridTemplateAreas, sectionLength] = React.useMemo(() => { - const { enableTips, paymentMethods } = session || {}; + const { enableTips, paymentMethods, enableShipping, enableLocalPickup } = + session || {}; if (!props?.layout) { const enableExpressCheckout = Object.values(paymentMethods ?? {}).some( method => @@ -170,10 +171,13 @@ export function CheckoutForm({ Array.isArray(method.checkoutTypes) && method.checkoutTypes.includes(CheckoutType.EXPRESS) ); - const defaultTemplate = ` ${enableExpressCheckout ? "'express-checkout'" : ''} 'contact' 'delivery' '${deliveryMethodToGridArea[deliveryMethod]}' ${enableTips ? "'tips'" : ''} 'payment'`; + + const enableDelivery = enableShipping || enableLocalPickup; + const defaultTemplate = ` ${enableExpressCheckout ? "'express-checkout'" : ''} 'contact' ${enableDelivery ? "'delivery'" : ''} '${deliveryMethodToGridArea[deliveryMethod]}' ${enableTips ? "'tips'" : ''} 'payment'`; // Return consistent tuple type: [string, number] - let totalSections = 3; + let totalSections = 2; enableTips && totalSections++; + enableDelivery && totalSections++; enableExpressCheckout && totalSections++; return [defaultTemplate, totalSections]; } @@ -308,13 +312,15 @@ export function CheckoutForm({ - - - - - - - {session?.enableTips && ( + {session?.enableShipping || session?.enableLocalPickup ? ( + + + + + + + ) : null} + {session?.enableTips ? ( @@ -324,8 +330,8 @@ export function CheckoutForm({ /> - )} - {isPickup && session?.enableLocalPickup && ( + ) : null} + {isPickup && session?.enableLocalPickup ? ( - )} - {isShipping && ( + ) : null} + {isShipping && session?.enableShipping ? ( - )} + ) : null} ) : ( @@ -456,7 +464,7 @@ export function CheckoutForm({ total={orderTotal} enableDiscounts={session?.enablePromotionCodes} enableTaxes={session?.enableTaxCollection} - enableShipping={isShipping} + enableShipping={isShipping && session?.enableShipping} />
@@ -485,7 +493,7 @@ export function CheckoutForm({ total={orderTotal} enableDiscounts={session?.enablePromotionCodes} enableTaxes={session?.enableTaxCollection} - enableShipping={isShipping} + enableShipping={isShipping && session?.enableShipping} />
diff --git a/packages/react/src/components/checkout/order/use-draft-order-products.ts b/packages/react/src/components/checkout/order/use-draft-order-products.ts index 457ad2e8..544bbb67 100644 --- a/packages/react/src/components/checkout/order/use-draft-order-products.ts +++ b/packages/react/src/components/checkout/order/use-draft-order-products.ts @@ -1,6 +1,7 @@ import { useQuery } from '@tanstack/react-query'; import { useMemo } from 'react'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getProductsFromOrderSkus } from '@/lib/godaddy/godaddy'; import type { SKUProduct } from '@/types'; @@ -9,11 +10,17 @@ import type { SKUProduct } from '@/types'; * @returns Query result with SKU product data */ export function useDraftOrderProducts() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); return useQuery({ - queryKey: ['draft-order-products', { id: session?.id }], - queryFn: () => getProductsFromOrderSkus(session), + queryKey: session?.id + ? ['draft-order-products', session.id] + : ['draft-order-products'], + queryFn: () => + jwt + ? getProductsFromOrderSkus({ accessToken: jwt }, apiHost) + : getProductsFromOrderSkus(session, apiHost), enabled: !!session?.id, select: data => data.checkoutSession?.skus?.edges, }); diff --git a/packages/react/src/components/checkout/order/use-draft-order.ts b/packages/react/src/components/checkout/order/use-draft-order.ts index ad2eb7bc..107f484d 100644 --- a/packages/react/src/components/checkout/order/use-draft-order.ts +++ b/packages/react/src/components/checkout/order/use-draft-order.ts @@ -1,5 +1,6 @@ import { type UseQueryResult, useQuery } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getDraftOrder } from '@/lib/godaddy/godaddy'; import type { DraftOrder, @@ -18,11 +19,15 @@ export function useDraftOrder( select?: (data: DraftOrderSession) => TData, key = 'draft-order' ): UseQueryResult { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); return useQuery({ - queryKey: [key, { id: session?.id }], - queryFn: () => getDraftOrder(session), + queryKey: session?.id ? [key, session.id] : [key], + queryFn: () => + jwt + ? getDraftOrder({ accessToken: jwt }, apiHost) + : getDraftOrder(session, apiHost), enabled: !!session?.id, select: select ?? (data => data.checkoutSession?.draftOrder as TData), retry: 3, diff --git a/packages/react/src/components/checkout/order/use-update-order.ts b/packages/react/src/components/checkout/order/use-update-order.ts index 11cbefc7..3297e72c 100644 --- a/packages/react/src/components/checkout/order/use-update-order.ts +++ b/packages/react/src/components/checkout/order/use-update-order.ts @@ -1,11 +1,13 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; import { useUpdateTaxes } from '@/components/checkout/order/use-update-taxes'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { updateDraftOrder } from '@/lib/godaddy/godaddy'; import type { UpdateDraftOrderInput } from '@/types'; export function useUpdateOrder() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const updateTaxes = useUpdateTaxes(); const queryClient = useQueryClient(); @@ -16,7 +18,10 @@ export function useUpdateOrder() { }: { input: UpdateDraftOrderInput['input']; }) => { - return await updateDraftOrder(input, session); + const data = jwt + ? await updateDraftOrder(input, { accessToken: jwt }, apiHost) + : await updateDraftOrder(input, session, apiHost); + return data; }, onSuccess: (_data, { input }) => { if (!session) return; @@ -30,12 +35,12 @@ export function useUpdateOrder() { updateTaxes.mutate(undefined); } else { queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); } } else { queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); } }, diff --git a/packages/react/src/components/checkout/order/use-update-taxes.ts b/packages/react/src/components/checkout/order/use-update-taxes.ts index 92faf127..2dbc88cf 100644 --- a/packages/react/src/components/checkout/order/use-update-taxes.ts +++ b/packages/react/src/components/checkout/order/use-update-taxes.ts @@ -1,15 +1,19 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import type { ResultOf } from '@/gql.tada'; import { updateDraftOrderTaxes } from '@/lib/godaddy/godaddy'; import type { DraftOrderQuery } from '@/lib/godaddy/queries'; export function useUpdateTaxes() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const queryClient = useQueryClient(); return useMutation({ - mutationKey: ['update-draft-order-taxes', { id: session?.id }], + mutationKey: session?.id + ? ['update-draft-order-taxes', session.id] + : ['update-draft-order-taxes'], mutationFn: async (destination?: { addressLine1?: string | null; addressLine2?: string | null; @@ -20,7 +24,14 @@ export function useUpdateTaxes() { countryCode?: string | null; postalCode?: string | null; }) => { - return await updateDraftOrderTaxes(session, destination); + const data = jwt + ? await updateDraftOrderTaxes( + { accessToken: jwt }, + destination, + apiHost + ) + : await updateDraftOrderTaxes(session, destination, apiHost); + return data; }, onSuccess: data => { if (!session) return; @@ -31,7 +42,7 @@ export function useUpdateTaxes() { // Update the cached draft-order query (includes totals) if (taxesTotal) { queryClient.setQueryData( - ['draft-order', { id: session.id }], + ['draft-order', session.id], (old: ResultOf | undefined) => { if (!old) return old; return { @@ -54,8 +65,9 @@ export function useUpdateTaxes() { } }, onSettled: () => { + if (!session) return; queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); }, }); diff --git a/packages/react/src/components/checkout/payment/payment-form.tsx b/packages/react/src/components/checkout/payment/payment-form.tsx index c753e7be..18178852 100644 --- a/packages/react/src/components/checkout/payment/payment-form.tsx +++ b/packages/react/src/components/checkout/payment/payment-form.tsx @@ -421,8 +421,8 @@ export function PaymentForm( ) : null} {isShipping && - paymentMethod !== PaymentMethodType.CREDIT_CARD && - session?.enableBillingAddressCollection ? ( + session?.enableShipping && + paymentMethod !== PaymentMethodType.CREDIT_CARD ? ( ) : null} {isBillingAddressRequired ? ( diff --git a/packages/react/src/components/checkout/payment/payment-methods/credit-card/container.tsx b/packages/react/src/components/checkout/payment/payment-methods/credit-card/container.tsx index 54ccdea4..24f693f1 100644 --- a/packages/react/src/components/checkout/payment/payment-methods/credit-card/container.tsx +++ b/packages/react/src/components/checkout/payment/payment-methods/credit-card/container.tsx @@ -20,9 +20,10 @@ export function CreditCardContainer({ children }: { children?: ReactNode }) { const isShipping = deliveryMethod === DeliveryMethods.SHIP; const isPickup = deliveryMethod === DeliveryMethods.PICKUP; const isBillingAddressRequired = - session?.enableBillingAddressCollection && - (!useShippingAddress || isPickup) && - paymentMethod === PaymentMethodType.CREDIT_CARD; + !session?.enableShipping || + (session?.enableBillingAddressCollection && + (!useShippingAddress || isPickup) && + paymentMethod === PaymentMethodType.CREDIT_CARD); const getPaymentMethodDescription = useCallback((): string | undefined => { if (paymentMethod === 'card') { @@ -39,7 +40,8 @@ export function CreditCardContainer({ children }: { children?: ReactNode }) { <> {description &&
{description}
} {children} - {isShipping && + {session?.enableShipping && + isShipping && paymentMethod === PaymentMethodType.CREDIT_CARD && session?.enableBillingAddressCollection && ( diff --git a/packages/react/src/components/checkout/payment/utils/use-confirm-checkout.ts b/packages/react/src/components/checkout/payment/utils/use-confirm-checkout.ts index 64259df9..93af44ba 100644 --- a/packages/react/src/components/checkout/payment/utils/use-confirm-checkout.ts +++ b/packages/react/src/components/checkout/payment/utils/use-confirm-checkout.ts @@ -6,6 +6,7 @@ import { } from '@/components/checkout/checkout'; import { DeliveryMethods } from '@/components/checkout/delivery/delivery-method'; import { buildPickupPayload } from '@/components/checkout/pickup/utils/build-pickup-payload'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { confirmCheckout } from '@/lib/godaddy/godaddy'; import { eventIds } from '@/tracking/events'; import { @@ -66,10 +67,12 @@ export enum PaymentProvider { export function useConfirmCheckout() { const { session, + jwt, setIsConfirmingCheckout, isConfirmingCheckout, setCheckoutErrors, } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const form = useFormContext(); return useMutation({ @@ -120,13 +123,24 @@ export function useConfirmCheckout() { }, }); - return await confirmCheckout( - { - ...confirmCheckoutInput, - ...(isPickup ? pickUpData : {}), - }, - session - ); + const data = jwt + ? await confirmCheckout( + { + ...confirmCheckoutInput, + ...(isPickup ? pickUpData : {}), + }, + { accessToken: jwt, sessionId: session?.id || '' }, + apiHost + ) + : await confirmCheckout( + { + ...confirmCheckoutInput, + ...(isPickup ? pickUpData : {}), + }, + session, + apiHost + ); + return data; }, onSuccess: (_data, input) => { let completedEventId: TrackingEventId | null = null; diff --git a/packages/react/src/components/checkout/payment/utils/use-load-square.ts b/packages/react/src/components/checkout/payment/utils/use-load-square.ts index 93267d6c..746796f5 100644 --- a/packages/react/src/components/checkout/payment/utils/use-load-square.ts +++ b/packages/react/src/components/checkout/payment/utils/use-load-square.ts @@ -1,5 +1,6 @@ import { useEffect, useState } from 'react'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGetEnvFromContext } from '@/components/checkout/utils/use-get-env-from-context.ts'; let isSquareLoaded = false; let isSquareCDNLoaded = false; @@ -8,8 +9,7 @@ const listeners = new Set<(loaded: boolean) => void>(); export function useLoadSquare() { const { squareConfig } = useCheckoutContext(); const [loaded, setLoaded] = useState(isSquareLoaded); - const environment = - process.env.GODADDY_ENV || process.env.NEXT_PUBLIC_GODADDY_ENV || 'prod'; + const environment = useGetEnvFromContext(); const squareCDN = environment === 'prod' diff --git a/packages/react/src/components/checkout/payment/utils/use-poynt-collect-cdn.ts b/packages/react/src/components/checkout/payment/utils/use-poynt-collect-cdn.ts index b0460553..9c0781a7 100644 --- a/packages/react/src/components/checkout/payment/utils/use-poynt-collect-cdn.ts +++ b/packages/react/src/components/checkout/payment/utils/use-poynt-collect-cdn.ts @@ -1,8 +1,8 @@ import { useMemo } from 'react'; +import { useGetEnvFromContext } from '@/components/checkout/utils/use-get-env-from-context.ts'; export const useGetPoyntCollectCdn = () => { - const environment = - process.env.GODADDY_ENV || process.env.NEXT_PUBLIC_GODADDY_ENV || 'prod'; + const environment = useGetEnvFromContext(); return useMemo(() => { switch (environment) { @@ -13,7 +13,7 @@ export const useGetPoyntCollectCdn = () => { case 'dev': return 'https://cdn.poynt.net/ci/collect-ci.js'; default: - return 'https://cdn.poynt.net/ci/collect-ci.js'; + return 'https://cdn.poynt.net/collect.js'; } }, [environment]); }; diff --git a/packages/react/src/components/checkout/shipping/utils/use-apply-shipping-method.ts b/packages/react/src/components/checkout/shipping/utils/use-apply-shipping-method.ts index 63f3f1bd..701fe3d0 100644 --- a/packages/react/src/components/checkout/shipping/utils/use-apply-shipping-method.ts +++ b/packages/react/src/components/checkout/shipping/utils/use-apply-shipping-method.ts @@ -3,25 +3,36 @@ import { useCheckoutContext } from '@/components/checkout/checkout'; import { useDiscountApply } from '@/components/checkout/discount'; import { useDraftOrder } from '@/components/checkout/order/use-draft-order'; import { useUpdateTaxes } from '@/components/checkout/order/use-update-taxes'; +import { useGoDaddyContext } from '@/godaddy-provider'; import type { ResultOf } from '@/gql.tada'; import { applyShippingMethod } from '@/lib/godaddy/godaddy'; import type { DraftOrderQuery } from '@/lib/godaddy/queries'; import type { ApplyCheckoutSessionShippingMethodInput } from '@/types'; export function useApplyShippingMethod() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const { data: order } = useDraftOrder(); const updateTaxes = useUpdateTaxes(); const applyDiscount = useDiscountApply(); const queryClient = useQueryClient(); return useMutation({ - mutationKey: ['apply-shipping-method', { sessionId: session?.id }], + mutationKey: session?.id + ? ['apply-shipping-method', session.id] + : ['apply-shipping-method'], mutationFn: async ( shippingMethods: ApplyCheckoutSessionShippingMethodInput['input'] ) => { if (!session) return; - return await applyShippingMethod(shippingMethods, session); + const data = jwt + ? await applyShippingMethod( + shippingMethods, + { accessToken: jwt }, + apiHost + ) + : await applyShippingMethod(shippingMethods, session, apiHost); + return data; }, onSuccess: async data => { if (!session) return; @@ -34,7 +45,7 @@ export function useApplyShippingMethod() { // Update the cached draft-order query (includes totals) if (shippingTotal) { queryClient.setQueryData( - ['draft-order', { id: session.id }], + ['draft-order', session.id], (old: ResultOf | undefined) => { if (!old) return old; @@ -102,7 +113,7 @@ export function useApplyShippingMethod() { updateTaxes.mutate(undefined); } else { queryClient.invalidateQueries({ - queryKey: ['draft-order', { id: session?.id }], + queryKey: ['draft-order', session.id], }); } }, diff --git a/packages/react/src/components/checkout/shipping/utils/use-draft-order-shipping-methods.ts b/packages/react/src/components/checkout/shipping/utils/use-draft-order-shipping-methods.ts index 5ad6b2fc..5e53352c 100644 --- a/packages/react/src/components/checkout/shipping/utils/use-draft-order-shipping-methods.ts +++ b/packages/react/src/components/checkout/shipping/utils/use-draft-order-shipping-methods.ts @@ -2,6 +2,7 @@ import { useQuery } from '@tanstack/react-query'; import { useMemo } from 'react'; import { useCheckoutContext } from '@/components/checkout/checkout'; import { useDraftOrderShippingAddress } from '@/components/checkout/order/use-draft-order'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getDraftOrderShippingMethods } from '@/lib/godaddy/godaddy'; /** @@ -9,7 +10,8 @@ import { getDraftOrderShippingMethods } from '@/lib/godaddy/godaddy'; * @returns Query result with shipping rates data */ export function useDraftOrderShippingMethods() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const { data: shippingAddress } = useDraftOrderShippingAddress(); const hasShippingAddress = useMemo( @@ -17,19 +19,53 @@ export function useDraftOrderShippingMethods() { [shippingAddress?.addressLine1] ); + const destination = useMemo(() => { + if (!shippingAddress?.postalCode || !shippingAddress?.countryCode) { + return undefined; + } + return { + postalCode: shippingAddress.postalCode, + countryCode: shippingAddress.countryCode, + addressLine1: shippingAddress.addressLine1 ?? undefined, + addressLine2: shippingAddress.addressLine2 ?? undefined, + addressLine3: shippingAddress.addressLine3 ?? undefined, + adminArea1: shippingAddress.adminArea1 ?? undefined, + adminArea2: shippingAddress.adminArea2 ?? undefined, + adminArea3: shippingAddress.adminArea3 ?? undefined, + adminArea4: shippingAddress.adminArea4 ?? undefined, + }; + }, [ + shippingAddress?.postalCode, + shippingAddress?.countryCode, + shippingAddress?.addressLine1, + shippingAddress?.addressLine2, + shippingAddress?.addressLine3, + shippingAddress?.adminArea1, + shippingAddress?.adminArea2, + shippingAddress?.adminArea3, + shippingAddress?.adminArea4, + ]); + return useQuery({ - queryKey: [ - 'draft-order-shipping-methods', - { - id: session?.id, - address: shippingAddress?.addressLine1, - adminArea1: shippingAddress?.adminArea1, - adminArea2: shippingAddress?.adminArea2, - postalCode: shippingAddress?.postalCode, - countryCode: shippingAddress?.countryCode, - }, - ], - queryFn: () => getDraftOrderShippingMethods(session), + queryKey: session?.id + ? [ + 'draft-order-shipping-methods', + session.id, + shippingAddress?.addressLine1, + shippingAddress?.adminArea1, + shippingAddress?.adminArea2, + shippingAddress?.postalCode, + shippingAddress?.countryCode, + ] + : ['draft-order-shipping-methods'], + queryFn: () => + jwt + ? getDraftOrderShippingMethods( + { accessToken: jwt }, + destination, + apiHost + ) + : getDraftOrderShippingMethods(session, destination, apiHost), enabled: !!session?.id && hasShippingAddress, select: data => data?.checkoutSession?.draftOrder?.calculatedShippingRates?.rates, diff --git a/packages/react/src/components/checkout/shipping/utils/use-get-shipping-methods.ts b/packages/react/src/components/checkout/shipping/utils/use-get-shipping-methods.ts index a7231a02..27015277 100644 --- a/packages/react/src/components/checkout/shipping/utils/use-get-shipping-methods.ts +++ b/packages/react/src/components/checkout/shipping/utils/use-get-shipping-methods.ts @@ -1,19 +1,29 @@ import { useMutation } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getDraftOrderShippingMethods } from '@/lib/godaddy/godaddy'; import type { GetCheckoutSessionShippingRatesInput } from '@/types'; export function useGetShippingMethodByAddress() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); return useMutation({ - mutationKey: ['get-shipping-method-by-address', { sessionId: session?.id }], + mutationKey: session?.id + ? ['get-shipping-method-by-address', session.id] + : ['get-shipping-method-by-address'], mutationFn: async ( destination: GetCheckoutSessionShippingRatesInput['destination'] ) => { if (!session) return; - const data = await getDraftOrderShippingMethods(session, destination); + const data = jwt + ? await getDraftOrderShippingMethods( + { accessToken: jwt }, + destination, + apiHost + ) + : await getDraftOrderShippingMethods(session, destination, apiHost); return ( data.checkoutSession?.draftOrder?.calculatedShippingRates?.rates || [] diff --git a/packages/react/src/components/checkout/shipping/utils/use-remove-shipping-method.ts b/packages/react/src/components/checkout/shipping/utils/use-remove-shipping-method.ts index ae0f7fe9..945b0a3a 100644 --- a/packages/react/src/components/checkout/shipping/utils/use-remove-shipping-method.ts +++ b/packages/react/src/components/checkout/shipping/utils/use-remove-shipping-method.ts @@ -2,24 +2,30 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; import { useDiscountApply } from '@/components/checkout/discount'; import { useDraftOrder } from '@/components/checkout/order/use-draft-order'; +import { useGoDaddyContext } from '@/godaddy-provider'; import type { ResultOf } from '@/gql.tada'; import { removeShippingMethod } from '@/lib/godaddy/godaddy'; import type { DraftOrderQuery } from '@/lib/godaddy/queries'; import type { RemoveAppliedCheckoutSessionShippingMethodInput } from '@/types'; export function useRemoveShippingMethod() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); const queryClient = useQueryClient(); const { data: order } = useDraftOrder(); const applyDiscount = useDiscountApply(); return useMutation({ - mutationKey: ['remove-shipping-method', { sessionId: session?.id }], + mutationKey: session?.id + ? ['remove-shipping-method', session.id] + : ['remove-shipping-method'], mutationFn: async ( input: RemoveAppliedCheckoutSessionShippingMethodInput['input'] ) => { - if (!session) return; - return await removeShippingMethod(input, session); + const data = jwt + ? await removeShippingMethod(input, { accessToken: jwt }, apiHost) + : await removeShippingMethod(input, session, apiHost); + return data; }, onSuccess: async data => { if (!session) return; @@ -32,7 +38,7 @@ export function useRemoveShippingMethod() { // Update the cached draft-order query (includes totals) if (shippingTotal) { queryClient.setQueryData( - ['draft-order', { id: session.id }], + ['draft-order', session.id], (old: ResultOf | undefined) => { if (!old) return old; return { diff --git a/packages/react/src/components/checkout/target/target.tsx b/packages/react/src/components/checkout/target/target.tsx index d286bf32..a3a84203 100644 --- a/packages/react/src/components/checkout/target/target.tsx +++ b/packages/react/src/components/checkout/target/target.tsx @@ -31,13 +31,13 @@ export type Target = export function Target({ id }: { id: Target }) { const { debug } = useGoDaddyContext(); - const { targets } = useCheckoutContext(); + const { targets, session } = useCheckoutContext(); const target = targets?.[id]; let content: React.ReactNode = null; if (target) { - content = target?.(); + content = target?.(session); } else if (debug) { content = {id}; } diff --git a/packages/react/src/components/checkout/taxes/utils/use-get-taxes.ts b/packages/react/src/components/checkout/taxes/utils/use-get-taxes.ts index 0d24a335..5870cb1e 100644 --- a/packages/react/src/components/checkout/taxes/utils/use-get-taxes.ts +++ b/packages/react/src/components/checkout/taxes/utils/use-get-taxes.ts @@ -1,13 +1,17 @@ import { useMutation } from '@tanstack/react-query'; import { useCheckoutContext } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; import { getDraftOrderTaxes } from '@/lib/godaddy/godaddy'; import type { GetCheckoutSessionTaxesInput } from '@/types'; export function useGetTaxes() { - const { session } = useCheckoutContext(); + const { session, jwt } = useCheckoutContext(); + const { apiHost } = useGoDaddyContext(); return useMutation({ - mutationKey: ['get-taxes-without-order', { sessionId: session?.id }], + mutationKey: session?.id + ? ['get-taxes-without-order', session.id] + : ['get-taxes-without-order'], mutationFn: async ({ destination, lines, @@ -17,7 +21,13 @@ export function useGetTaxes() { }) => { if (!session) return; - const data = await getDraftOrderTaxes(session, { destination, lines }); + const data = jwt + ? await getDraftOrderTaxes( + { accessToken: jwt }, + { destination, lines }, + apiHost + ) + : await getDraftOrderTaxes(session, { destination, lines }, apiHost); return data.checkoutSession?.draftOrder?.calculatedTaxes?.totalTaxAmount; }, diff --git a/packages/react/src/components/checkout/utils/checkout-transformers.ts b/packages/react/src/components/checkout/utils/checkout-transformers.ts index cb107ad0..a296fac2 100644 --- a/packages/react/src/components/checkout/utils/checkout-transformers.ts +++ b/packages/react/src/components/checkout/utils/checkout-transformers.ts @@ -57,6 +57,19 @@ export function mapOrderToFormValues({ lineItem => lineItem.fulfillmentMode === DeliveryMethods.PICKUP ); + const isShipping = order?.lineItems?.some( + lineItem => lineItem.fulfillmentMode === DeliveryMethods.SHIP + ); + + const isMixedFulfillment = isPickup && isShipping; + + let deliveryMethod = DeliveryMethods.PURCHASE; + if (!isMixedFulfillment && isPickup) { + deliveryMethod = DeliveryMethods.PICKUP; + } else if (!isMixedFulfillment && isShipping) { + deliveryMethod = DeliveryMethods.SHIP; + } + return { // Shipping address shippingFirstName: order?.shipping?.firstName ?? '', @@ -100,7 +113,7 @@ export function mapOrderToFormValues({ contactEmail: order?.shipping?.email || defaultValues?.contactEmail || '', // Delivery Methods - deliveryMethod: isPickup ? DeliveryMethods.PICKUP : DeliveryMethods.SHIP, + deliveryMethod: deliveryMethod, // Payment information paymentUseShippingAddress: orderShippingAddress?.addressLine1 diff --git a/packages/react/src/components/checkout/utils/use-get-env-from-context.ts b/packages/react/src/components/checkout/utils/use-get-env-from-context.ts new file mode 100644 index 00000000..02ad3a5c --- /dev/null +++ b/packages/react/src/components/checkout/utils/use-get-env-from-context.ts @@ -0,0 +1,15 @@ +import { useGoDaddyContext } from '@/godaddy-provider.tsx'; + +export type Environment = 'prod' | 'test' | 'dev'; + +export const useGetEnvFromContext = (): Environment => { + const { apiHost } = useGoDaddyContext(); + + if (apiHost?.includes('.test-')) { + return 'test'; + } + if (apiHost?.includes('.dev-')) { + return 'dev'; + } + return 'prod'; +}; diff --git a/packages/react/src/godaddy-provider.tsx b/packages/react/src/godaddy-provider.tsx index 3d920d31..4cb1519f 100644 --- a/packages/react/src/godaddy-provider.tsx +++ b/packages/react/src/godaddy-provider.tsx @@ -65,6 +65,7 @@ interface GoDaddyContextValue { t: typeof enUs; appearance?: GoDaddyAppearance; debug?: boolean; + apiHost?: string; } const godaddyContext = React.createContext({ @@ -78,6 +79,16 @@ export interface GoDaddyProviderProps { localization?: typeof enUs; appearance?: GoDaddyAppearance; debug?: boolean; + /** + * API host for checkout GraphQL requests. + * Defaults to production (https://checkout.commerce.api.godaddy.com). + * + * Internal devs can set to: + * - "http://localhost:3000" for local development + * - "https://checkout.commerce.api.dev-godaddy.com" for DEV environment + * - "https://checkout.commerce.api.test-godaddy.com" for TEST environment + */ + apiHost?: string; queryClient?: QueryClient; children: QueryClientProviderProps['children']; } @@ -86,6 +97,7 @@ export function GoDaddyProvider({ localization = enUs, appearance, debug, + apiHost, queryClient: providedQueryClient, children, }: GoDaddyProviderProps) { @@ -110,7 +122,12 @@ export function GoDaddyProvider({ return ( {children} diff --git a/packages/react/src/hooks/use-checkout-session.tsx b/packages/react/src/hooks/use-checkout-session.tsx new file mode 100644 index 00000000..8f736fa2 --- /dev/null +++ b/packages/react/src/hooks/use-checkout-session.tsx @@ -0,0 +1,190 @@ +import { useQuery } from '@tanstack/react-query'; +import { useCallback, useEffect, useRef, useState } from 'react'; +import type { CheckoutProps } from '@/components/checkout/checkout'; +import { useGoDaddyContext } from '@/godaddy-provider'; +import { + exchangeCheckoutToken, + getCheckoutSession, + refreshCheckoutToken, +} from '@/lib/godaddy/godaddy'; +import { getSessionIdFromPath, getUrlHash } from '@/lib/utils'; +import { useSessionStorage } from './use-session-storage'; + +function decodeJwt(token: string): { exp: number } | null { + try { + const base64Url = token.split('.')[1]; + const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); + const jsonPayload = decodeURIComponent( + atob(base64) + .split('') + .map(c => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)) + .join('') + ); + return JSON.parse(jsonPayload); + } catch { + return null; + } +} + +export function useCheckoutSession(props?: CheckoutProps) { + const { apiHost } = useGoDaddyContext(); + const [jwt, setJwt, removeJwt] = useSessionStorage( + 'godaddy-checkout-jwt', + '' + ); + const [storedSessionId, setStoredSessionId, removeStoredSessionId] = + useSessionStorage('godaddy-checkout-session-id', ''); + const [exchangeFailed, setExchangeFailed] = useState(false); + const [isLoading, setIsLoading] = useState(true); + const refreshTimerRef = useRef(null); + + let sessionId: string; + let sessionToken: string | null; + + if (props?.session) { + sessionId = props?.session.id; + sessionToken = props?.session.token; + } else { + sessionId = + typeof window !== 'undefined' + ? getSessionIdFromPath(window.location) + : ''; + sessionToken = + typeof window !== 'undefined' ? getUrlHash(window.location) : ''; + } + + const scheduleRefresh = useCallback( + (currentJwt: string) => { + if (refreshTimerRef.current) { + clearTimeout(refreshTimerRef.current); + } + + const decoded = decodeJwt(currentJwt); + if (!decoded?.exp) return; + + const expiresAt = decoded.exp * 1000; + const now = Date.now(); + const refreshIn = Math.max(0, expiresAt - now - 60000); + + refreshTimerRef.current = window.setTimeout(async () => { + try { + const result = await refreshCheckoutToken(currentJwt, apiHost); + if (result?.jwt) { + setJwt(result.jwt); + scheduleRefresh(result.jwt); + } + } catch (_error) { + removeJwt(); + removeStoredSessionId(); + } + }, refreshIn); + }, + [setJwt, removeJwt, removeStoredSessionId, apiHost] + ); + + useEffect(() => { + let cancelled = false; + + // If we have a JWT for a different session, clear it + if (jwt && storedSessionId && storedSessionId !== sessionId) { + removeJwt(); + if (refreshTimerRef.current) clearTimeout(refreshTimerRef.current); + return; + } + + // If we already have a JWT for this session, nothing to do + if (jwt && storedSessionId === sessionId) { + setIsLoading(false); + return; + } + + if (!sessionId || !sessionToken) return; + + setIsLoading(true); + + (async () => { + try { + const result = await exchangeCheckoutToken( + { + sessionId, + token: sessionToken, + }, + apiHost + ); + if (!result?.jwt) { + if (!cancelled) { + setExchangeFailed(true); + setIsLoading(false); + } + return; + } + if (cancelled) return; + + setJwt(result.jwt); + setStoredSessionId(sessionId); + setExchangeFailed(false); + setIsLoading(false); + if (typeof window !== 'undefined') { + window.history.replaceState( + null, + '', + window.location.pathname + window.location.search + ); + } + scheduleRefresh(result.jwt); + } catch (_error) { + removeJwt(); + removeStoredSessionId(); + if (!cancelled) { + setExchangeFailed(true); + setIsLoading(false); + } + } + })(); + + return () => { + cancelled = true; + if (refreshTimerRef.current) { + clearTimeout(refreshTimerRef.current); + } + }; + }, [ + sessionId, + sessionToken, + jwt, + storedSessionId, + setJwt, + removeJwt, + setStoredSessionId, + removeStoredSessionId, + scheduleRefresh, + apiHost, + ]); + + useEffect(() => { + if (!jwt || storedSessionId !== sessionId) return; + scheduleRefresh(jwt); + return () => { + if (refreshTimerRef.current) { + clearTimeout(refreshTimerRef.current); + } + }; + }, [jwt, sessionId, storedSessionId, scheduleRefresh]); + + const checkoutSessionQuery = useQuery({ + queryKey: ['checkout-session', sessionId], + queryFn: () => getCheckoutSession({ accessToken: jwt }, apiHost), + enabled: !!jwt && storedSessionId === sessionId, + }); + + // If exchange failed and we have a session prop, use legacy flow + if (exchangeFailed && props?.session) { + return { session: props.session, jwt: undefined, isLoading }; + } + + return { + session: checkoutSessionQuery.data, + jwt: jwt || undefined, + isLoading: isLoading || checkoutSessionQuery.isLoading, + }; +} diff --git a/packages/react/src/hooks/use-event-callback.ts b/packages/react/src/hooks/use-event-callback.ts new file mode 100644 index 00000000..cc2bfd1f --- /dev/null +++ b/packages/react/src/hooks/use-event-callback.ts @@ -0,0 +1,40 @@ +import { useCallback, useRef } from 'react'; + +import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect'; + +/** + * Custom hook that creates a memoized event callback. + * @template Args - An array of argument types for the event callback. + * @template R - The return type of the event callback. + * @param {(...args: Args) => R} fn - The callback function. + * @returns {(...args: Args) => R} A memoized event callback function. + * @public + * @see [Documentation](https://usehooks-ts.com/react-hook/use-event-callback) + * @example + * ```tsx + * const handleClick = useEventCallback((event) => { + * // Handle the event here + * }); + * ``` + */ +export function useEventCallback( + fn: (...args: Args) => R +): (...args: Args) => R; +export function useEventCallback( + fn: ((...args: Args) => R) | undefined +): ((...args: Args) => R) | undefined; +export function useEventCallback( + fn: ((...args: Args) => R) | undefined +): ((...args: Args) => R) | undefined { + const ref = useRef(() => { + throw new Error('Cannot call an event handler while rendering.'); + }); + + useIsomorphicLayoutEffect(() => { + ref.current = fn; + }, [fn]); + + return useCallback((...args: Args) => ref.current?.(...args), [ref]) as ( + ...args: Args + ) => R; +} diff --git a/packages/react/src/hooks/use-event-listener.ts b/packages/react/src/hooks/use-event-listener.ts new file mode 100644 index 00000000..7498546e --- /dev/null +++ b/packages/react/src/hooks/use-event-listener.ts @@ -0,0 +1,120 @@ +import type { RefObject } from 'react'; +import { useEffect, useRef } from 'react'; + +import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect'; + +// MediaQueryList Event based useEventListener interface +function useEventListener( + eventName: K, + handler: (event: MediaQueryListEventMap[K]) => void, + element: RefObject, + options?: boolean | AddEventListenerOptions +): void; + +// Window Event based useEventListener interface +function useEventListener( + eventName: K, + handler: (event: WindowEventMap[K]) => void, + element?: undefined, + options?: boolean | AddEventListenerOptions +): void; + +// Element Event based useEventListener interface +function useEventListener< + K extends keyof HTMLElementEventMap & keyof SVGElementEventMap, + T extends Element = K extends keyof HTMLElementEventMap + ? HTMLDivElement + : SVGElement, +>( + eventName: K, + handler: + | ((event: HTMLElementEventMap[K]) => void) + | ((event: SVGElementEventMap[K]) => void), + element: RefObject, + options?: boolean | AddEventListenerOptions +): void; + +// Document Event based useEventListener interface +function useEventListener( + eventName: K, + handler: (event: DocumentEventMap[K]) => void, + element: RefObject, + options?: boolean | AddEventListenerOptions +): void; + +/** + * Custom hook that attaches event listeners to DOM elements, the window, or media query lists. + * @template KW - The type of event for window events. + * @template KH - The type of event for HTML or SVG element events. + * @template KM - The type of event for media query list events. + * @template T - The type of the DOM element (default is `HTMLElement`). + * @param {KW | KH | KM} eventName - The name of the event to listen for. + * @param {(event: WindowEventMap[KW] | HTMLElementEventMap[KH] | SVGElementEventMap[KH] | MediaQueryListEventMap[KM] | Event) => void} handler - The event handler function. + * @param {RefObject} [element] - The DOM element or media query list to attach the event listener to (optional). + * @param {boolean | AddEventListenerOptions} [options] - An options object that specifies characteristics about the event listener (optional). + * @public + * @see [Documentation](https://usehooks-ts.com/react-hook/use-event-listener) + * @example + * ```tsx + * // Example 1: Attach a window event listener + * useEventListener('resize', handleResize); + * ``` + * @example + * ```tsx + * // Example 2: Attach a document event listener with options + * const elementRef = useRef(document); + * useEventListener('click', handleClick, elementRef, { capture: true }); + * ``` + * @example + * ```tsx + * // Example 3: Attach an element event listener + * const buttonRef = useRef(null); + * useEventListener('click', handleButtonClick, buttonRef); + * ``` + */ +function useEventListener< + KW extends keyof WindowEventMap, + KH extends keyof HTMLElementEventMap & keyof SVGElementEventMap, + KM extends keyof MediaQueryListEventMap, + T extends HTMLElement | SVGAElement | MediaQueryList = HTMLElement, +>( + eventName: KW | KH | KM, + handler: ( + event: + | WindowEventMap[KW] + | HTMLElementEventMap[KH] + | SVGElementEventMap[KH] + | MediaQueryListEventMap[KM] + | Event + ) => void, + element?: RefObject, + options?: boolean | AddEventListenerOptions +) { + // Create a ref that stores handler + const savedHandler = useRef(handler); + + useIsomorphicLayoutEffect(() => { + savedHandler.current = handler; + }, [handler]); + + useEffect(() => { + // Define the listening target + const targetElement: T | Window = element?.current ?? window; + + if (!(targetElement && targetElement.addEventListener)) return; + + // Create event listener that calls handler function stored in ref + const listener: typeof handler = event => { + savedHandler.current(event); + }; + + targetElement.addEventListener(eventName, listener, options); + + // Remove event listener on cleanup + return () => { + targetElement.removeEventListener(eventName, listener, options); + }; + }, [eventName, element, options]); +} + +export { useEventListener }; diff --git a/packages/react/src/hooks/use-isomorphic-layout-effect.ts b/packages/react/src/hooks/use-isomorphic-layout-effect.ts new file mode 100644 index 00000000..5058e8f7 --- /dev/null +++ b/packages/react/src/hooks/use-isomorphic-layout-effect.ts @@ -0,0 +1,17 @@ +import { useEffect, useLayoutEffect } from 'react'; + +/** + * Custom hook that uses either `useLayoutEffect` or `useEffect` based on the environment (client-side or server-side). + * @param {Function} effect - The effect function to be executed. + * @param {Array} [dependencies] - An array of dependencies for the effect (optional). + * @public + * @see [Documentation](https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect) + * @example + * ```tsx + * useIsomorphicLayoutEffect(() => { + * // Code to be executed during the layout phase on the client side + * }, [dependency1, dependency2]); + * ``` + */ +export const useIsomorphicLayoutEffect = + typeof window !== 'undefined' ? useLayoutEffect : useEffect; diff --git a/packages/react/src/hooks/use-session-storage.ts b/packages/react/src/hooks/use-session-storage.ts new file mode 100644 index 00000000..20cd28e2 --- /dev/null +++ b/packages/react/src/hooks/use-session-storage.ts @@ -0,0 +1,191 @@ +import type { Dispatch, SetStateAction } from 'react'; +import { useCallback, useEffect, useState } from 'react'; + +import { useEventCallback } from './use-event-callback'; +import { useEventListener } from './use-event-listener'; + +declare global { + // eslint-disable-next-line @typescript-eslint/consistent-type-definitions + interface WindowEventMap { + 'godaddy:session-storage': CustomEvent; + } +} + +/** + * Represents the options for customizing the behavior of serialization and deserialization. + * @template T - The type of the state to be stored in session storage. + */ +type UseSessionStorageOptions = { + /** A function to serialize the value before storing it. */ + serializer?: (value: T) => string; + /** A function to deserialize the stored value. */ + deserializer?: (value: string) => T; + /** + * If `true` (default), the hook will initialize reading the session storage. In SSR, you should set it to `false`, returning the initial value initially. + * @default true + */ + initializeWithValue?: boolean; +}; + +const IS_SERVER = typeof window === 'undefined'; + +/** + * Custom hook that uses the [`sessionStorage API`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) to persist state across page reloads. + * @template T - The type of the state to be stored in session storage. + * @param {string} key - The key under which the value will be stored in session storage. + * @param {T | (() => T)} initialValue - The initial value of the state or a function that returns the initial value. + * @param {?UseSessionStorageOptions} [options] - Options for customizing the behavior of serialization and deserialization (optional). + * @returns {[T, Dispatch>, () => void]} A tuple containing the stored value, a function to set the value and a function to remove the key from storage. + * @public + * @see [Documentation](https://usehooks-ts.com/react-hook/use-session-storage) + * @example + * ```tsx + * const [count, setCount, removeCount] = useSessionStorage('count', 0); + * // Access the `count` value, the `setCount` function to update it and `removeCount` function to remove the key from storage. + * ``` + */ +export function useSessionStorage( + key: string, + initialValue: T | (() => T), + options: UseSessionStorageOptions = {} +): [T, Dispatch>, () => void] { + const { initializeWithValue = true } = options; + + const serializer = useCallback<(value: T) => string>( + value => { + if (options.serializer) { + return options.serializer(value); + } + + return JSON.stringify(value); + }, + [options] + ); + + const deserializer = useCallback<(value: string) => T>( + value => { + if (options.deserializer) { + return options.deserializer(value); + } + // Support 'undefined' as a value + if (value === 'undefined') { + return undefined as unknown as T; + } + + const defaultValue = + initialValue instanceof Function ? initialValue() : initialValue; + + let parsed: unknown; + try { + parsed = JSON.parse(value); + } catch (_error) { + return defaultValue; // Return initialValue if parsing fails + } + + return parsed as T; + }, + [options, initialValue] + ); + + // Get from session storage then + // parse stored json or return initialValue + const readValue = useCallback((): T => { + const initialValueToUse = + initialValue instanceof Function ? initialValue() : initialValue; + + // Prevent build error "window is undefined" but keep working + if (IS_SERVER) { + return initialValueToUse; + } + + try { + const raw = window.sessionStorage.getItem(key); + return raw ? deserializer(raw) : initialValueToUse; + } catch (_error) { + return initialValueToUse; + } + }, [initialValue, key, deserializer]); + + const [storedValue, setStoredValue] = useState(() => { + if (initializeWithValue) { + return readValue(); + } + + return initialValue instanceof Function ? initialValue() : initialValue; + }); + + // Return a wrapped version of useState's setter function that ... + // ... persists the new value to sessionStorage. + const setValue: Dispatch> = useEventCallback(value => { + // Prevent build error "window is undefined" but keeps working + if (IS_SERVER) { + return; + } + + try { + // Allow value to be a function so we have the same API as useState + const newValue = value instanceof Function ? value(readValue()) : value; + + // Save to session storage + window.sessionStorage.setItem(key, serializer(newValue)); + + // Save state + setStoredValue(newValue); + + // We dispatch a custom event so every similar useSessionStorage hook is notified + window.dispatchEvent( + new CustomEvent('godaddy:session-storage', { detail: { key } }) + ); + } catch (_error) { + // Silently fail + } + }); + + const removeValue = useEventCallback(() => { + // Prevent build error "window is undefined" but keeps working + if (IS_SERVER) { + return; + } + + const defaultValue = + initialValue instanceof Function ? initialValue() : initialValue; + + // Remove the key from session storage + window.sessionStorage.removeItem(key); + + // Save state with default value + setStoredValue(defaultValue); + + // We dispatch a custom event so every similar useSessionStorage hook is notified + window.dispatchEvent( + new CustomEvent('godaddy:session-storage', { detail: { key } }) + ); + }); + + useEffect(() => { + setStoredValue(readValue()); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [key]); + + const handleStorageChange = useCallback( + (event: StorageEvent | CustomEvent<{ key?: string }>) => { + const eventKey = + (event as StorageEvent).key ?? + (event as CustomEvent<{ key?: string }>).detail?.key; + if (eventKey && eventKey !== key) { + return; + } + setStoredValue(readValue()); + }, + [key, readValue] + ); + + // this only works for other documents, not the current one + useEventListener('storage', handleStorageChange); + + // this is a custom event, triggered in writeValueToSessionStorage + // See: useSessionStorage() + useEventListener('godaddy:session-storage', handleStorageChange); + + return [storedValue, setValue, removeValue]; +} diff --git a/packages/react/src/lib/godaddy/godaddy.ts b/packages/react/src/lib/godaddy/godaddy.ts index 96584331..06872967 100644 --- a/packages/react/src/lib/godaddy/godaddy.ts +++ b/packages/react/src/lib/godaddy/godaddy.ts @@ -1,7 +1,5 @@ -'use server'; - import { convertCSSVariablesToCamelCase } from '@/components/checkout/utils/case-conversion'; -import type { CSSVariables, GoDaddyAppearance } from '@/godaddy-provider'; +import type { GoDaddyAppearance } from '@/godaddy-provider'; import type { ResultOf } from '@/gql.tada'; import { graphqlRequestWithErrors } from '@/lib/graphql-with-errors'; import type { @@ -13,7 +11,6 @@ import type { CheckoutSessionInput, ConfirmCheckoutMutationInput, DraftOrderPriceAdjustmentsQueryInput, - Environments, GetCheckoutSessionShippingRatesInput, GetCheckoutSessionTaxesInput, RemoveAppliedCheckoutSessionShippingMethodInput, @@ -27,6 +24,8 @@ import { CalculateCheckoutSessionTaxesMutation, ConfirmCheckoutSessionMutation, CreateCheckoutSessionMutation, + ExchangeCheckoutTokenMutation, + RefreshCheckoutTokenMutation, RemoveAppliedCheckoutSessionShippingMethodMutation, UpdateCheckoutSessionDraftOrderMutation, VerifyCheckoutSessionAddressMutation, @@ -38,8 +37,14 @@ import { DraftOrderShippingRatesQuery, DraftOrderSkusQuery, DraftOrderTaxesQuery, + GetCheckoutSessionQuery, } from './queries'; +function getHostByEnvironment(apiHost?: string): string { + // Use provided apiHost, otherwise default to production + return `https://checkout.commerce.${apiHost || 'api.godaddy.com'}`; +} + // Type for createCheckoutSession input with kebab-case appearance export type CreateCheckoutSessionInputWithKebabCase = Omit< CheckoutSessionInput['input'], @@ -48,13 +53,9 @@ export type CreateCheckoutSessionInputWithKebabCase = Omit< appearance?: GoDaddyAppearance; }; -function getHostByEnvironment(): string { - return `https://checkout.commerce.${process.env.GODADDY_HOST || process.env.NEXT_PUBLIC_GODADDY_HOST || 'api.godaddy.com'}`; -} - export async function createCheckoutSession( input: CreateCheckoutSessionInputWithKebabCase, - { accessToken }: { accessToken: string } + { accessToken, apiHost }: { accessToken: string; apiHost?: string } ): Promise< ResultOf['createCheckoutSession'] > { @@ -86,7 +87,7 @@ export async function createCheckoutSession( }), }; - const GODADDY_HOST = getHostByEnvironment(); + const GODADDY_HOST = getHostByEnvironment(apiHost); const response = await graphqlRequestWithErrors< ResultOf >( @@ -99,16 +100,106 @@ export async function createCheckoutSession( return response.createCheckoutSession; } +export async function exchangeCheckoutToken( + input: { + sessionId: string; + token: string; + }, + apiHost?: string +) { + if (!input.sessionId || !input.token) { + throw new Error('No session ID or token provided'); + } + + const GODADDY_HOST = getHostByEnvironment(apiHost); + // Browser automatically sends Origin header for CORS requests + // No need to manually set it + const response = await graphqlRequestWithErrors< + ResultOf + >(GODADDY_HOST, ExchangeCheckoutTokenMutation, { input }); + return response.exchangeCheckoutToken; +} + +export async function refreshCheckoutToken( + accessToken: string, + apiHost?: string +) { + if (!accessToken) { + throw new Error('No access token provided'); + } + + const GODADDY_HOST = getHostByEnvironment(apiHost); + const response = await graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + RefreshCheckoutTokenMutation, + {}, + { + Authorization: `Bearer ${accessToken}`, + } + ); + return response.refreshCheckoutToken; +} + +export async function getCheckoutSession( + { accessToken }: { accessToken: string }, + apiHost?: string +) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + const response = await graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + GetCheckoutSessionQuery, + {}, + { + Authorization: `Bearer ${accessToken}`, + } + ); + return response.checkoutSession; +} + +export async function getAddressMatches( + input: { query: string }, + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; export async function getAddressMatches( input: { query: string }, - session: CheckoutSession | undefined + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export async function getAddressMatches( + input: { query: string }, + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors>( + GODADDY_HOST, + AddressMatchesQuery, + input, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); - return graphqlRequestWithErrors>( GODADDY_HOST, AddressMatchesQuery, @@ -121,13 +212,43 @@ export async function getAddressMatches( ); } -export function getDraftOrder(session: CheckoutSession | undefined) { +export function getDraftOrder( + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function getDraftOrder( + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function getDraftOrder( + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string +) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors>( + GODADDY_HOST, + DraftOrderQuery, + undefined, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); - return graphqlRequestWithErrors>( GODADDY_HOST, DraftOrderQuery, @@ -142,18 +263,54 @@ export function getDraftOrder(session: CheckoutSession | undefined) { export function getDraftOrderTaxes( session: CheckoutSession | undefined, + params: { + destination?: GetCheckoutSessionTaxesInput['destination']; + lines?: GetCheckoutSessionTaxesInput['lines']; + }, + apiHost?: string +): Promise>; +export function getDraftOrderTaxes( + auth: { accessToken: string | undefined }, + params: { + destination?: GetCheckoutSessionTaxesInput['destination']; + lines?: GetCheckoutSessionTaxesInput['lines']; + }, + apiHost?: string +): Promise>; +export function getDraftOrderTaxes( + sessionOrAuth: + | CheckoutSession + | undefined + | { accessToken: string | undefined }, { destination, lines, }: { destination?: GetCheckoutSessionTaxesInput['destination']; lines?: GetCheckoutSessionTaxesInput['lines']; - } + }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors>( + GODADDY_HOST, + DraftOrderTaxesQuery, + { destination, lines }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors>( GODADDY_HOST, @@ -179,12 +336,65 @@ export async function verifyAddress( adminArea3?: string; adminArea4?: string; }, - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export async function verifyAddress( + input: { + addressLine1: string; + addressLine2: string; + addressLine3: string; + postalCode: string; + countryCode: string; + adminArea1?: string; + adminArea2?: string; + adminArea3?: string; + adminArea4?: string; + }, + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export async function verifyAddress( + input: { + addressLine1: string; + addressLine2: string; + addressLine3: string; + postalCode: string; + countryCode: string; + adminArea1?: string; + adminArea2?: string; + adminArea3?: string; + adminArea4?: string; + }, + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + VerifyCheckoutSessionAddressMutation, + { input: { ...input, adminArea3: input.adminArea2, adminArea2: '' } }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { - throw new Error('No public access token provided'); + throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -202,12 +412,45 @@ export async function verifyAddress( export async function updateDraftOrder( input: UpdateDraftOrderInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export async function updateDraftOrder( + input: UpdateDraftOrderInput['input'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export async function updateDraftOrder( + input: UpdateDraftOrderInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + UpdateCheckoutSessionDraftOrderMutation, + { input }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { - throw new Error('No public access token provided'); + throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -224,12 +467,43 @@ export async function updateDraftOrder( } export async function getProductsFromOrderSkus( - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export async function getProductsFromOrderSkus( + auth: { + accessToken: string | undefined; + }, + apiHost?: string +): Promise>; +export async function getProductsFromOrderSkus( + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors>( + GODADDY_HOST, + DraftOrderSkusQuery, + undefined, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors>( GODADDY_HOST, @@ -244,7 +518,7 @@ export async function getProductsFromOrderSkus( } export function updateDraftOrderTaxes( - session: CheckoutSession | undefined, + session: CheckoutSession | undefined | null, destination?: { addressLine1?: string | null; addressLine2?: string | null; @@ -254,12 +528,63 @@ export function updateDraftOrderTaxes( adminArea3?: string | null; countryCode?: string | null; postalCode?: string | null; - } + }, + apiHost?: string +): Promise>; +export function updateDraftOrderTaxes( + auth: { accessToken: string | undefined }, + destination?: { + addressLine1?: string | null; + addressLine2?: string | null; + addressLine3?: string | null; + adminArea1?: string | null; + adminArea2?: string | null; + adminArea3?: string | null; + countryCode?: string | null; + postalCode?: string | null; + }, + apiHost?: string +): Promise>; +export function updateDraftOrderTaxes( + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + destination?: { + addressLine1?: string | null; + addressLine2?: string | null; + addressLine3?: string | null; + adminArea1?: string | null; + adminArea2?: string | null; + adminArea3?: string | null; + countryCode?: string | null; + postalCode?: string | null; + }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + CalculateCheckoutSessionTaxesMutation, + { destination }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -277,12 +602,45 @@ export function updateDraftOrderTaxes( export function applyDiscount( discountCodes: ApplyCheckoutSessionDiscountInput['input']['discountCodes'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function applyDiscount( + discountCodes: ApplyCheckoutSessionDiscountInput['input']['discountCodes'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function applyDiscount( + discountCodes: ApplyCheckoutSessionDiscountInput['input']['discountCodes'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + ApplyCheckoutSessionDiscountMutation, + { input: { discountCodes } }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -300,12 +658,45 @@ export function applyDiscount( export function applyShippingMethod( shippingMethods: ApplyCheckoutSessionShippingMethodInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function applyShippingMethod( + shippingMethods: ApplyCheckoutSessionShippingMethodInput['input'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function applyShippingMethod( + shippingMethods: ApplyCheckoutSessionShippingMethodInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + ApplyCheckoutSessionShippingMethodMutation, + { input: [...shippingMethods] }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -323,14 +714,47 @@ export function applyShippingMethod( export function removeShippingMethod( input: RemoveAppliedCheckoutSessionShippingMethodInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function removeShippingMethod( + input: RemoveAppliedCheckoutSessionShippingMethodInput['input'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function removeShippingMethod( + input: RemoveAppliedCheckoutSessionShippingMethodInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ): Promise< ResultOf > { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + RemoveAppliedCheckoutSessionShippingMethodMutation, + { input }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -348,12 +772,45 @@ export function removeShippingMethod( export function confirmCheckout( input: ConfirmCheckoutMutationInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function confirmCheckout( + input: ConfirmCheckoutMutationInput['input'], + auth: { accessToken: string | undefined; sessionId: string }, + apiHost?: string +): Promise>; +export function confirmCheckout( + input: ConfirmCheckoutMutationInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined; sessionId: string }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + ConfirmCheckoutSessionMutation, + { input, sessionId: sessionOrAuth.sessionId }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -370,15 +827,47 @@ export function confirmCheckout( } export function getDraftOrderShippingMethods( - session: CheckoutSession | undefined, - destination?: GetCheckoutSessionShippingRatesInput['destination'] + session: CheckoutSession | undefined | null, + destination?: GetCheckoutSessionShippingRatesInput['destination'], + apiHost?: string +): Promise>; +export function getDraftOrderShippingMethods( + auth: { accessToken: string | undefined }, + destination?: GetCheckoutSessionShippingRatesInput['destination'], + apiHost?: string +): Promise>; +export function getDraftOrderShippingMethods( + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + destination?: GetCheckoutSessionShippingRatesInput['destination'], + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + DraftOrderShippingRatesQuery, + { destination }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); - return graphqlRequestWithErrors< ResultOf >( @@ -395,12 +884,45 @@ export function getDraftOrderShippingMethods( export function applyDeliveryMethod( input: ApplyCheckoutSessionDeliveryMethodInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined | null, + apiHost?: string +): Promise>; +export function applyDeliveryMethod( + input: ApplyCheckoutSessionDeliveryMethodInput['input'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function applyDeliveryMethod( + input: ApplyCheckoutSessionDeliveryMethodInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + ApplyCheckoutSessionDeliveryMethodMutation, + { input }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf @@ -417,16 +939,50 @@ export function applyDeliveryMethod( } export function getDraftOrderPriceAdjustments( - session: CheckoutSession | undefined, + session: CheckoutSession | undefined | null, discountCodes?: DraftOrderPriceAdjustmentsQueryInput['discountCodes'], - shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines'] + shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines'], + apiHost?: string +): Promise>; +export function getDraftOrderPriceAdjustments( + auth: { accessToken: string | undefined }, + discountCodes?: DraftOrderPriceAdjustmentsQueryInput['discountCodes'], + shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines'], + apiHost?: string +): Promise>; +export function getDraftOrderPriceAdjustments( + sessionOrAuth: + | CheckoutSession + | undefined + | null + | { accessToken: string | undefined }, + discountCodes?: DraftOrderPriceAdjustmentsQueryInput['discountCodes'], + shippingLines?: DraftOrderPriceAdjustmentsQueryInput['shippingLines'], + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + DraftOrderPriceAdjustmentsQuery, + { shippingLines, discountCodes }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); - return graphqlRequestWithErrors< ResultOf >( @@ -443,12 +999,44 @@ export function getDraftOrderPriceAdjustments( export function applyFulfillmentLocation( input: ApplyCheckoutSessionFulfillmentLocationInput['input'], - session: CheckoutSession | undefined + session: CheckoutSession | undefined, + apiHost?: string +): Promise>; +export function applyFulfillmentLocation( + input: ApplyCheckoutSessionFulfillmentLocationInput['input'], + auth: { accessToken: string | undefined }, + apiHost?: string +): Promise>; +export function applyFulfillmentLocation( + input: ApplyCheckoutSessionFulfillmentLocationInput['input'], + sessionOrAuth: + | CheckoutSession + | undefined + | { accessToken: string | undefined }, + apiHost?: string ) { + const GODADDY_HOST = getHostByEnvironment(apiHost); + + if (sessionOrAuth && 'accessToken' in sessionOrAuth) { + if (!sessionOrAuth.accessToken) { + throw new Error('No access token provided'); + } + return graphqlRequestWithErrors< + ResultOf + >( + GODADDY_HOST, + ApplyCheckoutSessionFulfillmentLocationMutation, + { input }, + { + Authorization: `Bearer ${sessionOrAuth.accessToken}`, + } + ); + } + + const session = sessionOrAuth; if (!session?.token || !session?.id) { throw new Error('No session token or ID provided'); } - const GODADDY_HOST = getHostByEnvironment(); return graphqlRequestWithErrors< ResultOf diff --git a/packages/react/src/lib/godaddy/graphql-env.ts b/packages/react/src/lib/godaddy/graphql-env.ts index c0817bc8..49a059f7 100644 --- a/packages/react/src/lib/godaddy/graphql-env.ts +++ b/packages/react/src/lib/godaddy/graphql-env.ts @@ -23,10081 +23,10336 @@ * ``` */ const introspection = { - __schema: { - queryType: { - name: 'Query', + "__schema": { + "queryType": { + "name": "Query" }, - mutationType: { - name: 'Mutation', + "mutationType": { + "name": "Mutation" }, - subscriptionType: null, - types: [ + "subscriptionType": null, + "types": [ { - kind: 'OBJECT', - name: 'Address', - fields: [ + "kind": "OBJECT", + "name": "Address", + "fields": [ { - name: 'addressDetails', - type: { - kind: 'OBJECT', - name: 'AddressDetails', + "name": "addressDetails", + "type": { + "kind": "OBJECT", + "name": "AddressDetails" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'countryCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "countryCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'AddressDetails', - fields: [ + "kind": "OBJECT", + "name": "AddressDetails", + "fields": [ { - name: 'addressType', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressType", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'buildingName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "buildingName", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'deliveryService', - type: { - kind: 'SCALAR', - name: 'String', + "name": "deliveryService", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'geoCoordinates', - type: { - kind: 'OBJECT', - name: 'GeoCoordinates', + "name": "geoCoordinates", + "type": { + "kind": "OBJECT", + "name": "GeoCoordinates" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'streetName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "streetName", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'streetNumber', - type: { - kind: 'SCALAR', - name: 'String', + "name": "streetNumber", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'streetType', - type: { - kind: 'SCALAR', - name: 'String', + "name": "streetType", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'subBuilding', - type: { - kind: 'SCALAR', - name: 'String', + "name": "subBuilding", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'AddressInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "AddressInput", + "inputFields": [ { - name: 'addressLine1', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "addressLine1", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea1', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "adminArea1", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'adminArea2', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "adminArea2", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'AdjustmentAmount', - fields: [ + "kind": "OBJECT", + "name": "AdjustmentAmount", + "fields": [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'AdjustmentPercentage', - fields: [ + "kind": "OBJECT", + "name": "AdjustmentPercentage", + "fields": [ { - name: 'maximumAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', + "name": "maximumAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'percentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "percentage", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'UNION', - name: 'AdjustmentValue', - possibleTypes: [ + "kind": "UNION", + "name": "AdjustmentValue", + "possibleTypes": [ { - kind: 'OBJECT', - name: 'AdjustmentAmount', + "kind": "OBJECT", + "name": "AdjustmentAmount" }, { - kind: 'OBJECT', - name: 'AdjustmentPercentage', - }, - ], + "kind": "OBJECT", + "name": "AdjustmentPercentage" + } + ] }, { - kind: 'INPUT_OBJECT', - name: 'ApplyShippingMethodInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "ApplyShippingMethodInput", + "inputFields": [ { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'requestedProvider', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "requestedProvider", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'requestedService', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "requestedService", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'subTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "subTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } }, { - name: 'taxTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "taxTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'SCALAR', - name: 'Boolean', + "kind": "SCALAR", + "name": "Boolean" }, { - kind: 'OBJECT', - name: 'CSSVariables', - fields: [ + "kind": "OBJECT", + "name": "CSSVariables", + "fields": [ { - name: 'accent', - type: { - kind: 'SCALAR', - name: 'String', + "name": "accent", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'accentForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "accentForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'background', - type: { - kind: 'SCALAR', - name: 'String', + "name": "background", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'border', - type: { - kind: 'SCALAR', - name: 'String', + "name": "border", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'card', - type: { - kind: 'SCALAR', - name: 'String', + "name": "card", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'cardForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "cardForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'defaultFontFamily', - type: { - kind: 'SCALAR', - name: 'String', + "name": "defaultFontFamily", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'destructive', - type: { - kind: 'SCALAR', - name: 'String', + "name": "destructive", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'destructiveForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "destructiveForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'fontMono', - type: { - kind: 'SCALAR', - name: 'String', + "name": "fontMono", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'fontSans', - type: { - kind: 'SCALAR', - name: 'String', + "name": "fontSans", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'fontSerif', - type: { - kind: 'SCALAR', - name: 'String', + "name": "fontSerif", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'foreground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "foreground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'input', - type: { - kind: 'SCALAR', - name: 'String', + "name": "input", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'muted', - type: { - kind: 'SCALAR', - name: 'String', + "name": "muted", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'mutedForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "mutedForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'popover', - type: { - kind: 'SCALAR', - name: 'String', + "name": "popover", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'popoverForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "popoverForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'primary', - type: { - kind: 'SCALAR', - name: 'String', + "name": "primary", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'primaryForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "primaryForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'radius', - type: { - kind: 'SCALAR', - name: 'String', + "name": "radius", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'ring', - type: { - kind: 'SCALAR', - name: 'String', + "name": "ring", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'secondary', - type: { - kind: 'SCALAR', - name: 'String', + "name": "secondary", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'secondaryBackground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "secondaryBackground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'secondaryForeground', - type: { - kind: 'SCALAR', - name: 'String', + "name": "secondaryForeground", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CSSVariablesInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CSSVariablesInput", + "inputFields": [ { - name: 'accent', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "accent", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'accentForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "accentForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'background', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "background", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'border', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "border", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'card', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "card", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'cardForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "cardForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'defaultFontFamily', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "defaultFontFamily", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'destructive', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "destructive", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'destructiveForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "destructiveForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'fontMono', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "fontMono", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'fontSans', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "fontSans", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'fontSerif', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "fontSerif", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'foreground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "foreground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'input', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "input", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'muted', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "muted", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'mutedForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "mutedForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'popover', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "popover", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'popoverForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "popoverForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'primary', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "primary", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'primaryForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "primaryForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'radius', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "radius", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'ring', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "ring", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'secondary', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "secondary", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'secondaryBackground', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "secondaryBackground", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'secondaryForeground', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "secondaryForeground", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'UNION', - name: 'CalculatedAdjustment', - possibleTypes: [ + "kind": "UNION", + "name": "CalculatedAdjustment", + "possibleTypes": [ { - kind: 'OBJECT', - name: 'CalculatedDiscount', + "kind": "OBJECT", + "name": "CalculatedDiscount" }, { - kind: 'OBJECT', - name: 'CalculatedFee', - }, - ], + "kind": "OBJECT", + "name": "CalculatedFee" + } + ] }, { - kind: 'OBJECT', - name: 'CalculatedAdjustmentOutput', - fields: [ + "kind": "OBJECT", + "name": "CalculatedAdjustmentOutput", + "fields": [ { - name: 'adjustment', - type: { - kind: 'UNION', - name: 'CalculatedAdjustment', + "name": "adjustment", + "type": { + "kind": "UNION", + "name": "CalculatedAdjustment" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totalAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', + "name": "totalAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CalculatedDiscount', - fields: [ + "kind": "OBJECT", + "name": "CalculatedDiscount", + "fields": [ { - name: 'description', - type: { - kind: 'SCALAR', - name: 'String', + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'ID', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "ID" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'UNION', - name: 'AdjustmentValue', + "name": "value", + "type": { + "kind": "UNION", + "name": "AdjustmentValue" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CalculatedFee', - fields: [ + "kind": "OBJECT", + "name": "CalculatedFee", + "fields": [ { - name: 'description', - type: { - kind: 'SCALAR', - name: 'String', + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'ID', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "ID" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'UNION', - name: 'AdjustmentValue', + "name": "value", + "type": { + "kind": "UNION", + "name": "AdjustmentValue" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CalculatedLineOutput', - fields: [ + "kind": "OBJECT", + "name": "CalculatedLineOutput", + "fields": [ { - name: 'adjustments', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CalculatedAdjustmentOutput', - }, - }, + "name": "adjustments", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CalculatedAdjustmentOutput" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'calculationLine', - type: { - kind: 'OBJECT', - name: 'CalculationLineOutput', + "name": "calculationLine", + "type": { + "kind": "OBJECT", + "name": "CalculationLineOutput" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totalDiscountAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', + "name": "totalDiscountAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totalFeeAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', + "name": "totalFeeAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "CalculationLineOutput", + "fields": [ + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, + { + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CalculationLineOutput', - fields: [ + "kind": "OBJECT", + "name": "CheckoutAuthToken", + "fields": [ + { + "name": "expiresAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + "args": [], + "isDeprecated": false + }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "expiresIn", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'type', - type: { - kind: 'SCALAR', - name: 'String', + "name": "jwt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, + { + "name": "sessionId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSession', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSession", + "fields": [ { - name: 'addresses', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Address', - }, - }, + "name": "addresses", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Address" + } + } }, - args: [ + "args": [ { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressesInput', - }, - }, - }, + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressesInput" + } + } + } ], - isDeprecated: false, + "isDeprecated": false }, { - name: 'appearance', - type: { - kind: 'OBJECT', - name: 'GoDaddyAppearance', + "name": "appearance", + "type": { + "kind": "OBJECT", + "name": "GoDaddyAppearance" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'channelId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "channelId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'createdAt', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'DateTime', - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'customerId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "customerId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'defaultOperatingHours', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionStoreHours', + "name": "defaultOperatingHours", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionStoreHours" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'draftOrder', - type: { - kind: 'OBJECT', - name: 'DraftOrder', + "name": "draftOrder", + "type": { + "kind": "OBJECT", + "name": "DraftOrder" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableAddressAutocomplete', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableAddressAutocomplete", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableBillingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableBillingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableLocalPickup', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableLocalPickup", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableNotesCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableNotesCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enablePaymentMethodCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enablePaymentMethodCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enablePhoneCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enablePhoneCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enablePromotionCodes', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enablePromotionCodes", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableShippingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableShipping", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableSurcharge', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableShippingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableTaxCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableSurcharge", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enableTips', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "enableTaxCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enabledLocales', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "enableTips", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enabledPaymentProviders', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "enabledLocales", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'environment', - type: { - kind: 'ENUM', - name: 'CheckoutSessionEnvironment', + "name": "enabledPaymentProviders", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'experimental_rules', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionExperimentalRules', + "name": "environment", + "type": { + "kind": "ENUM", + "name": "CheckoutSessionEnvironment" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'expiresAt', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'DateTime', - }, + "name": "experimental_rules", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionExperimentalRules" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "expiresAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'lineItems', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'DraftOrderLineItem', - }, - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'locations', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionLocation', - }, - }, + "name": "lineItems", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItem" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'paymentMethods', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethods', + "name": "locations", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionLocation" + } + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "paymentMethods", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethods" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'returnUrl', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "returnUrl", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionShippingOptions', + "name": "shipping", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionShippingOptions" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'skus', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionSkusConnection', - }, + "name": "skus", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionSkusConnection" + } }, - args: [ + "args": [ { - name: 'after', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'before', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'first', - type: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Int" + } }, { - name: 'last', - type: { - kind: 'SCALAR', - name: 'Int', - }, - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Int" + } + } ], - isDeprecated: false, + "isDeprecated": false }, { - name: 'sourceApp', - type: { - kind: 'SCALAR', - name: 'String', + "name": "sourceApp", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'status', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'ENUM', - name: 'CheckoutSessionStatus', - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "CheckoutSessionStatus" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'storeId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "storeId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'storeName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "storeName", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'successUrl', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "successUrl", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionTaxesOptions', + "name": "taxes", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionTaxesOptions" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'token', - type: { - kind: 'SCALAR', - name: 'String', + "name": "token", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'updatedAt', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'DateTime', - }, + "name": "updatedAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'url', - type: { - kind: 'SCALAR', - name: 'String', + "name": "url", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionAddress', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionAddress", + "fields": [ { - name: 'addressDetails', - type: { - kind: 'OBJECT', - name: 'AddressDetails', + "name": "addressDetails", + "type": { + "kind": "OBJECT", + "name": "AddressDetails" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'countryCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "countryCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressDetailsInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressDetailsInput", + "inputFields": [ { - name: 'addressType', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressType", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'buildingName', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "buildingName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'deliveryService', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "deliveryService", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'geoCoordinates', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionGeoCoordinatesInput', - }, + "name": "geoCoordinates", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionGeoCoordinatesInput" + } }, { - name: 'streetName', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "streetName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'streetNumber', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "streetNumber", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'streetType', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "streetType", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'subBuilding', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "subBuilding", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressInput", + "inputFields": [ { - name: 'addressDetails', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressDetailsInput', - }, + "name": "addressDetails", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressDetailsInput" + } }, { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'countryCode', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "countryCode", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressesInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressesInput", + "inputFields": [ { - name: 'query', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, + "name": "query", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculateTaxesInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculateTaxesInput", + "inputFields": [ { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLocationInput', - }, + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLocationInput" + } }, { - name: 'lines', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLineInput', - }, - }, - }, - }, + "name": "lines", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLineInput" + } + } + } + } }, { - name: 'origin', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLocationInput', - }, - }, + "name": "origin", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLocationInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedLine', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedLine", + "fields": [ { - name: 'calculationLine', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculationLine', + "name": "calculationLine", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculationLine" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxAmounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionTaxAmount', - }, - }, + "name": "taxAmounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionTaxAmount" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totalTaxAmount', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionTotalTaxAmount', + "name": "totalTaxAmount", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionTotalTaxAmount" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedRate', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedRate", + "fields": [ { - name: 'calculationMethod', - type: { - kind: 'SCALAR', - name: 'String', + "name": "calculationMethod", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedRateValue', + "name": "value", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedRateValue" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedRateValue', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedRateValue", + "fields": [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'appliedAmount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', + "name": "appliedAmount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'appliedPercentage', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "appliedPercentage", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'percentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "percentage", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationAddressInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationAddressInput", + "inputFields": [ { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionCalculationLine', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionCalculationLine", + "fields": [ { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLineInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLineInput", + "inputFields": [ { - name: 'classification', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "classification", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLocationInput', - }, + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLocationInput" + } }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'origin', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLocationInput', - }, + "name": "origin", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLocationInput" + } }, { - name: 'quantity', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Float', - }, - }, + "name": "quantity", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Float" + } + } }, { - name: 'subtotalPrice', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "subtotalPrice", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'type', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "type", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'unitPrice', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "unitPrice", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationLocationInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationLocationInput", + "inputFields": [ { - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionCalculationAddressInput', - }, - }, - }, + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionCalculationAddressInput" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionCalculationResult', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionCalculationResult", + "fields": [ { - name: 'lines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedLine', - }, - }, + "name": "lines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedLine" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxAmounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionTaxAmount', - }, - }, + "name": "taxAmounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionTaxAmount" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totalTaxAmount', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionTotalTaxAmount', + "name": "totalTaxAmount", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionTotalTaxAmount" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionDayHours", + "fields": [ { - name: 'closeTime', - type: { - kind: 'SCALAR', - name: 'String', + "name": "closeTime", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'enabled', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "enabled", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'openTime', - type: { - kind: 'SCALAR', - name: 'String', + "name": "openTime", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput", + "inputFields": [ { - name: 'closeTime', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "closeTime", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'enabled', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, + "name": "enabled", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + } }, { - name: 'openTime', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "openTime", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'ENUM', - name: 'CheckoutSessionEnvironment', - enumValues: [ + "kind": "ENUM", + "name": "CheckoutSessionEnvironment", + "enumValues": [ { - name: 'dev', - isDeprecated: false, + "name": "dev", + "isDeprecated": false }, { - name: 'ote', - isDeprecated: false, + "name": "ote", + "isDeprecated": false }, { - name: 'prod', - isDeprecated: false, + "name": "prod", + "isDeprecated": false }, { - name: 'test', - isDeprecated: false, - }, - ], + "name": "test", + "isDeprecated": false + } + ] }, { - kind: 'OBJECT', - name: 'CheckoutSessionExperimentalRules', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionExperimentalRules", + "fields": [ { - name: 'freeShipping', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionFreeShippingRule', + "name": "freeShipping", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionFreeShippingRule" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'localDelivery', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionLocalDeliveryRule', + "name": "localDelivery", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionLocalDeliveryRule" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionExperimentalRulesInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionExperimentalRulesInput", + "inputFields": [ { - name: 'freeShipping', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionFreeShippingRuleInput', - }, - }, + "name": "freeShipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionFreeShippingRuleInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionFreeShippingRule', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionFreeShippingRule", + "fields": [ { - name: 'enabled', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "enabled", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'minimumOrderTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "minimumOrderTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionFreeShippingRuleInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionFreeShippingRuleInput", + "inputFields": [ { - name: 'enabled', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, + "name": "enabled", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + } }, { - name: 'minimumOrderTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, - }, - }, + "name": "minimumOrderTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionGeoCoordinatesInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionGeoCoordinatesInput", + "inputFields": [ { - name: 'latitude', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Float', - }, - }, + "name": "latitude", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Float" + } + } }, { - name: 'longitude', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Float', - }, - }, + "name": "longitude", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Float" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionLineItemInput", + "inputFields": [ + { + "name": "quantity", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } }, + { + "name": "skuId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionLocalDeliveryRule', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionLocalDeliveryRule", + "fields": [ + { + "name": "enabled", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "minimumOrderTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "CheckoutSessionLocation", + "fields": [ + { + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionAddress" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, { - name: 'enabled', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "isDefault", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'minimumOrderTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "operatingHours", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionStoreHours" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionLocationInput", + "inputFields": [ + { + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressInput" + } + } + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "isDefault", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "CheckoutSessionOperatingHoursMap", + "fields": [ + { + "name": "default", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionStoreHours" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "locations", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionStoreHours" + } + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionOperatingHoursMapInput", + "inputFields": [ + { + "name": "default", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionStoreHoursInput" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig", + "fields": [ + { + "name": "checkoutTypes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "processor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput", + "inputFields": [ + { + "name": "checkoutTypes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + } }, + { + "name": "processor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionLocation', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethods", + "fields": [ { - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionAddress', - }, + "name": "applePay", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "card", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'isDefault', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "express", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'operatingHours', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionStoreHours', + "name": "googlePay", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionLocationInput', - inputFields: [ { - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressInput', - }, + "name": "offline", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "paypal", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, + "args": [], + "isDeprecated": false }, { - name: 'isDefault', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "paze", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionPaymentMethodConfig" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionOperatingHoursMap', - fields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodsInput", + "inputFields": [ { - name: 'default', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionStoreHours', - }, - args: [], - isDeprecated: false, + "name": "applePay", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } }, { - name: 'locations', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionStoreHours', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "card", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } + }, + { + "name": "express", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } + }, + { + "name": "googlePay", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } }, + { + "name": "offline", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } + }, + { + "name": "paypal", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } + }, + { + "name": "paze", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodConfigInput" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionOperatingHoursMapInput', - inputFields: [ + "kind": "OBJECT", + "name": "CheckoutSessionShippingOptions", + "fields": [ { - name: 'default', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionStoreHoursInput', - }, + "name": "fulfillmentLocationId", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, + { + "name": "originAddress", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionAddress" + }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - fields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionShippingOptionsInput", + "inputFields": [ { - name: 'checkoutTypes', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - args: [], - isDeprecated: false, + "name": "fulfillmentLocationId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'processor', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, + "name": "originAddress", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressInput" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', - inputFields: [ + "kind": "OBJECT", + "name": "CheckoutSessionSkusConnection", + "fields": [ { - name: 'checkoutTypes', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, + "name": "edges", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionSkusConnectionEdge" + } }, + "args": [], + "isDeprecated": false }, { - name: 'processor', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo" + } }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethods', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionSkusConnectionEdge", + "fields": [ { - name: 'applePay', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'card', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', + "name": "node", + "type": { + "kind": "OBJECT", + "name": "SKU" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "ENUM", + "name": "CheckoutSessionStatus", + "enumValues": [ { - name: 'express', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - }, - args: [], - isDeprecated: false, + "name": "ACTIVE", + "isDeprecated": false }, { - name: 'googlePay', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - }, - args: [], - isDeprecated: false, + "name": "CANCELLED", + "isDeprecated": false }, { - name: 'offline', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - }, - args: [], - isDeprecated: false, + "name": "COMPLETED", + "isDeprecated": false }, { - name: 'paypal', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - }, - args: [], - isDeprecated: false, + "name": "CREATED", + "isDeprecated": false }, { - name: 'paze', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionPaymentMethodConfig', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], + "name": "EXPIRED", + "isDeprecated": false + } + ] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodsInput', - inputFields: [ + "kind": "OBJECT", + "name": "CheckoutSessionStoreHours", + "fields": [ { - name: 'applePay', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', + "name": "hours", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CheckoutSessionWeekHours" + } }, + "args": [], + "isDeprecated": false }, { - name: 'card', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', + "name": "leadTime", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, + "args": [], + "isDeprecated": false }, { - name: 'express', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', + "name": "pickupWindowInDays", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, + "args": [], + "isDeprecated": false }, { - name: 'googlePay', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', + "name": "timeZone", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionStoreHoursInput", + "inputFields": [ { - name: 'offline', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', - }, + "name": "hours", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionWeekHoursInput" + } + } }, { - name: 'paypal', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', - }, + "name": "leadTime", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } }, { - name: 'paze', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodConfigInput', - }, + "name": "pickupWindowInDays", + "type": { + "kind": "SCALAR", + "name": "Int" + } }, + { + "name": "timeZone", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionShippingOptions', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionTaxAmount", + "fields": [ { - name: 'fulfillmentLocationId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "rate", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculatedRate" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'originAddress', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionAddress', + "name": "totalTaxAmount", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionTotalTaxAmount" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionShippingOptionsInput', - inputFields: [ + "kind": "OBJECT", + "name": "CheckoutSessionTaxesOptions", + "fields": [ { - name: 'fulfillmentLocationId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "originAddress", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionAddress" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionTaxesOptionsInput", + "inputFields": [ { - name: 'originAddress', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressInput', - }, - }, + "name": "originAddress", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionAddressInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'CheckoutSessionSkusConnection', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionTotalTaxAmount", + "fields": [ { - name: 'edges', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionSkusConnectionEdge', - }, + "name": "currencyCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'pageInfo', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'PageInfo', - }, + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionSkusConnectionEdge', - fields: [ + "kind": "OBJECT", + "name": "CheckoutSessionWeekHours", + "fields": [ { - name: 'cursor', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "friday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'node', - type: { - kind: 'OBJECT', - name: 'SKU', + "name": "monday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'ENUM', - name: 'CheckoutSessionStatus', - enumValues: [ - { - name: 'ACTIVE', - isDeprecated: false, - }, - { - name: 'CANCELLED', - isDeprecated: false, - }, - { - name: 'COMPLETED', - isDeprecated: false, - }, - { - name: 'CREATED', - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'EXPIRED', - isDeprecated: false, + "name": "saturday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" + }, + "args": [], + "isDeprecated": false }, - ], - }, - { - kind: 'OBJECT', - name: 'CheckoutSessionStoreHours', - fields: [ { - name: 'hours', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CheckoutSessionWeekHours', - }, + "name": "sunday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'leadTime', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "thursday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'pickupWindowInDays', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "tuesday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'timeZone', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "wednesday", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionDayHours" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionStoreHoursInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionWeekHoursInput", + "inputFields": [ { - name: 'hours', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionWeekHoursInput', - }, - }, + "name": "friday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, { - name: 'leadTime', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, - }, + "name": "monday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, { - name: 'pickupWindowInDays', - type: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "saturday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, { - name: 'timeZone', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "sunday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'CheckoutSessionTaxAmount', - fields: [ { - name: 'rate', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculatedRate', - }, - args: [], - isDeprecated: false, + "name": "thursday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, { - name: 'totalTaxAmount', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionTotalTaxAmount', - }, - args: [], - isDeprecated: false, + "name": "tuesday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'CheckoutSessionTaxesOptions', - fields: [ { - name: 'originAddress', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionAddress', - }, - args: [], - isDeprecated: false, - }, + "name": "wednesday", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionDayHoursInput" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionTaxesOptionsInput', - inputFields: [ + "kind": "OBJECT", + "name": "CheckoutTokenValidation", + "fields": [ { - name: 'originAddress', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionAddressInput', + "name": "expiresAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" }, + "args": [], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'CheckoutSessionTotalTaxAmount', - fields: [ { - name: 'currencyCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "sessionId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "valid", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'CheckoutSessionWeekHours', - fields: [ - { - name: 'friday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, - }, + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutBillingInfoInput", + "inputFields": [ { - name: 'monday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, + "name": "address", + "type": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutDestinationAddressInput" + } }, { - name: 'saturday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'sunday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'thursday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'tuesday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'wednesday', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionDayHours', - }, - args: [], - isDeprecated: false, - }, + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionWeekHoursInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutDestinationAddressInput", + "inputFields": [ { - name: 'friday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'monday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'saturday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'sunday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'thursday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'tuesday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'wednesday', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionDayHoursInput', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutBillingInfoInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingInfoInput", + "inputFields": [ { - name: 'address', - type: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutDestinationAddressInput', - }, + "name": "address", + "type": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutDestinationAddressInput" + } }, { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', - }, + { + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, - { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutDestinationAddressInput', - inputFields: [ - { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingLineInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "requestedProvider", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "requestedService", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutTaxInput" + } + } + } + }, + { + "name": "totals", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingLineTotalsInput" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingLineTotalsInput", + "inputFields": [ + { + "name": "subTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + }, + { + "name": "taxTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutTaxInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + }, + { + "name": "exempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "included", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "ContactInput", + "inputFields": [ + { + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DraftOrderAddressInput" + } + } + }, + { + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "firstName", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "lastName", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateDraftLineItemInput", + "inputFields": [ + { + "name": "details", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputDetailsInfo" + } + }, + { + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DiscountInput" + } + } + } + }, + { + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "FeeInput" + } + } + } + }, + { + "name": "fulfillmentChannelId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fulfillmentMode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "LineItemModeInput" + } + } + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NoteInput" + } + } + }, + "defaultValue": "[]" + }, + { + "name": "productId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "quantity", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Float" + } + } + }, + { + "name": "serviceEndsAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "serviceStartAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputShippingInfo" + } + }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "skuId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TaxInput" + } + } + } }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "totals", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "LineItemTotalsInput" + } + } + }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "type", + "type": { + "kind": "ENUM", + "name": "LineItemTypesInput" }, + "defaultValue": "PHYSICAL" }, { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, + "name": "unitAmount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + } ], - isOneOf: false, + "isOneOf": false + }, + { + "kind": "SCALAR", + "name": "DateTime" }, { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingInfoInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "DestinationAddressInput", + "inputFields": [ { - name: 'address', - type: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutDestinationAddressInput', - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', - }, + { + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', - }, + { + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingLineInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "DiscountInput", + "inputFields": [ { - name: 'amount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "amount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, { - name: 'requestedProvider', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "code", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'requestedService', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutTaxInput', - }, - }, - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } }, { - name: 'totals', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingLineTotalsInput', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingLineTotalsInput', - inputFields: [ + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "DraftOrder", + "fields": [ { - name: 'subTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "billing", + "type": { + "kind": "OBJECT", + "name": "DraftOrderContact" }, + "args": [], + "isDeprecated": false }, { - name: 'taxTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "calculatedAdjustments", + "type": { + "kind": "OBJECT", + "name": "PriceAdjustmentsCalculationResult" }, + "args": [ + { + "name": "discountCodes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "shippingLines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PriceAdjustmentShippingLineInput" + } + } + } + } + ], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutTaxInput', - inputFields: [ { - name: 'amount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "calculatedShippingRates", + "type": { + "kind": "OBJECT", + "name": "ShippingRateCalculationResult" }, + "args": [ + { + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "DestinationAddressInput" + } + } + ], + "isDeprecated": false }, { - name: 'exempted', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "calculatedTaxes", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculationResult" }, + "args": [ + { + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaxDestinationAddressInput" + } + }, + { + "name": "lines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TaxLineInput" + } + } + } + } + ], + "isDeprecated": false }, { - name: 'included', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "cartId", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "context", + "type": { + "kind": "OBJECT", + "name": "DraftOrderContext" }, + "args": [], + "isDeprecated": false }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "createdAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" }, + "args": [], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'ContactInput', - inputFields: [ { - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'DraftOrderAddressInput', - }, + "name": "customerId", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemDiscount" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'firstName', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemFee" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'lastName', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "fulfillmentModes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "ID" }, + "args": [], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'CreateDraftLineItemInput', - inputFields: [ { - name: 'details', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputDetailsInfo', + "name": "lineItems", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItem" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'DiscountInput', - }, - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } }, + "args": [], + "isDeprecated": false + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemNote" + } + } + }, + "args": [], + "isDeprecated": false }, { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "number", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'FeeInput', - }, - }, + "name": "numberDisplay", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentChannelId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "shipping", + "type": { + "kind": "OBJECT", + "name": "DraftOrderContact" }, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentMode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'ENUM', - name: 'LineItemModeInput', - }, + "name": "shippingLines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "ShippingLine" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "statuses", + "type": { + "kind": "OBJECT", + "name": "DraftOrderStatuses" }, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "taxExempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "args": [], + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - }, - }, + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemTax" + } + } }, - defaultValue: '[]', + "args": [], + "isDeprecated": false }, { - name: 'productId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "totals", + "type": { + "kind": "OBJECT", + "name": "DraftOrderTotals" }, + "args": [], + "isDeprecated": false }, { - name: 'quantity', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Float', - }, + "name": "updatedAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "DraftOrderAddress", + "fields": [ { - name: 'serviceEndsAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'serviceStartAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputShippingInfo', + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'skuId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'TaxInput', - }, - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'totals', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'LineItemTotalsInput', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'type', - type: { - kind: 'ENUM', - name: 'LineItemTypesInput', + "name": "countryCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - defaultValue: 'PHYSICAL', + "args": [], + "isDeprecated": false }, { - name: 'unitAmount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, - }, - { - kind: 'SCALAR', - name: 'DateTime', + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'DestinationAddressInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "DraftOrderAddressInput", + "inputFields": [ { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine1", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea1", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'DiscountInput', - inputFields: [ + "kind": "OBJECT", + "name": "DraftOrderContact", + "fields": [ { - name: 'amount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "address", + "type": { + "kind": "OBJECT", + "name": "DraftOrderAddress" }, + "args": [], + "isDeprecated": false }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" }, - defaultValue: 'false', + "args": [], + "isDeprecated": false }, { - name: 'code', - type: { - kind: 'SCALAR', - name: 'String', + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "DraftOrderContext", + "fields": [ { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "channelId", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "owner", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, + { + "name": "storeId", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'DraftOrder', - fields: [ + "kind": "OBJECT", + "name": "DraftOrderLineItem", + "fields": [ { - name: 'billing', - type: { - kind: 'OBJECT', - name: 'DraftOrderContact', + "name": "createdAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'calculatedAdjustments', - type: { - kind: 'OBJECT', - name: 'PriceAdjustmentsCalculationResult', + "name": "details", + "type": { + "kind": "OBJECT", + "name": "LineItemDetails" }, - args: [ - { - name: 'discountCodes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'shippingLines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'PriceAdjustmentShippingLineInput', - }, - }, - }, - }, - ], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'calculatedShippingRates', - type: { - kind: 'OBJECT', - name: 'ShippingRateCalculationResult', + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemDiscount" + } + } }, - args: [ - { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'DestinationAddressInput', - }, - }, - ], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'calculatedTaxes', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculationResult', + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [ - { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'TaxDestinationAddressInput', - }, - }, - { - name: 'lines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'TaxLineInput', - }, - }, - }, - }, - ], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'cartId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemFee" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'context', - type: { - kind: 'OBJECT', - name: 'DraftOrderContext', + "name": "fulfilledAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'createdAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "fulfillmentChannelId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": true }, { - name: 'customerId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "fulfillmentMode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemDiscount', - }, - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemFee', - }, - }, + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentModes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemNote" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'ID', + "name": "orderVersion", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'lineItems', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'DraftOrderLineItem', - }, - }, + "name": "productId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, + "name": "quantity", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemNote', - }, - }, + "name": "returnQuantity", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'number', - type: { - kind: 'SCALAR', - name: 'String', + "name": "returnTotals", + "type": { + "kind": "OBJECT", + "name": "LineItemReturnTotals" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'numberDisplay', - type: { - kind: 'SCALAR', - name: 'String', + "name": "returnedAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'OBJECT', - name: 'DraftOrderContact', + "name": "serviceEndsAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'shippingLines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'ShippingLine', - }, - }, + "name": "serviceStartAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'statuses', - type: { - kind: 'OBJECT', - name: 'DraftOrderStatuses', + "name": "shipping", + "type": { + "kind": "OBJECT", + "name": "DraftOrderContact" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "skuId", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxExempted', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemTax', - }, - }, + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totals', - type: { - kind: 'OBJECT', - name: 'DraftOrderTotals', + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemTax" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'updatedAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "totals", + "type": { + "kind": "OBJECT", + "name": "LineItemTotals" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'DraftOrderAddress', - fields: [ { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "unitAmount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "updatedAt", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "DraftOrderLineItemInput", + "inputFields": [ { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "details", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputDetailsInfo" + } }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DiscountInput" + } + } + } }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "FeeInput" + } + } + } }, { - name: 'countryCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "fulfillmentMode", + "type": { + "kind": "ENUM", + "name": "LineItemModeInput" + } }, { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NoteInput" + } + } + }, + "defaultValue": "[]" + }, + { + "name": "productId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "quantity", + "type": { + "kind": "SCALAR", + "name": "Float" + } + }, + { + "name": "serviceEndsAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "serviceStartAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'DraftOrderAddressInput', - inputFields: [ { - name: 'addressLine1', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputShippingInfo" + } }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "skuId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } }, { - name: 'adminArea1', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TaxInput" + } + } + } }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "totals", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemTotalsInput" + } }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "type", + "type": { + "kind": "ENUM", + "name": "LineItemTypesInput" }, + "defaultValue": "PHYSICAL" }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', + "name": "unitAmount", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "DraftOrderStatuses", + "fields": [ + { + "name": "fulfillmentStatus", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "paymentStatus", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'DraftOrderContact', - fields: [ + "kind": "OBJECT", + "name": "DraftOrderTotals", + "fields": [ { - name: 'address', - type: { - kind: 'OBJECT', - name: 'DraftOrderAddress', + "name": "discountTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "feeTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', + "name": "shippingTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "subTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "taxTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', + "name": "total", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'DraftOrderContext', - fields: [ + "kind": "INPUT_OBJECT", + "name": "ExchangeCheckoutTokenInput", + "inputFields": [ { - name: 'channelId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "sessionId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'owner', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, + "name": "token", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput", + "inputFields": [ { - name: 'storeId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "type", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + { + "name": "value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'DraftOrderLineItem', - fields: [ + "kind": "INPUT_OBJECT", + "name": "FeeInput", + "inputFields": [ { - name: 'createdAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "amount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'details', - type: { - kind: 'OBJECT', - name: 'LineItemDetails', + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - args: [], - isDeprecated: false, + "defaultValue": "false" }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemDiscount', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemFee', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'fulfilledAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "SCALAR", + "name": "Float" + }, + { + "kind": "ENUM", + "name": "FulfillmentModeInput", + "enumValues": [ + { + "name": "CURBSIDE", + "isDeprecated": false }, { - name: 'fulfillmentChannelId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: true, + "name": "DELIVERY", + "isDeprecated": false }, { - name: 'fulfillmentMode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "DIGITAL", + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "DRIVE_THRU", + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemNote', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "FOR_HERE", + "isDeprecated": false }, { - name: 'orderVersion', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "GENERAL_CONTAINER", + "isDeprecated": false }, { - name: 'productId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "GIFT_CARD", + "isDeprecated": false }, { - name: 'quantity', - type: { - kind: 'SCALAR', - name: 'Float', - }, - args: [], - isDeprecated: false, + "name": "NONE", + "isDeprecated": false }, { - name: 'returnQuantity', - type: { - kind: 'SCALAR', - name: 'Float', - }, - args: [], - isDeprecated: false, + "name": "NON_LODGING_NRR", + "isDeprecated": false }, { - name: 'returnTotals', - type: { - kind: 'OBJECT', - name: 'LineItemReturnTotals', - }, - args: [], - isDeprecated: false, + "name": "NON_LODGING_SALE", + "isDeprecated": false }, { - name: 'returnedAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "PICKUP", + "isDeprecated": false }, { - name: 'serviceEndsAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "PURCHASE", + "isDeprecated": false }, { - name: 'serviceStartAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "QUICK_STAY", + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'OBJECT', - name: 'DraftOrderContact', - }, - args: [], - isDeprecated: false, + "name": "REGULAR_STAY", + "isDeprecated": false }, { - name: 'skuId', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "SHIP", + "isDeprecated": false }, { - name: 'status', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, + "name": "TO_GO", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "GeoCoordinates", + "fields": [ { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "latitude", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemTax', - }, - }, + "name": "longitude", + "type": { + "kind": "SCALAR", + "name": "Float" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "GoDaddyAppearance", + "fields": [ { - name: 'totals', - type: { - kind: 'OBJECT', - name: 'LineItemTotals', + "name": "theme", + "type": { + "kind": "ENUM", + "name": "GoDaddyTheme" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'type', - type: { - kind: 'SCALAR', - name: 'String', + "name": "variables", + "type": { + "kind": "OBJECT", + "name": "CSSVariables" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "GoDaddyAppearanceInput", + "inputFields": [ { - name: 'unitAmount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "theme", + "type": { + "kind": "ENUM", + "name": "GoDaddyTheme" + } }, { - name: 'updatedAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, + "name": "variables", + "type": { + "kind": "INPUT_OBJECT", + "name": "CSSVariablesInput" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'DraftOrderLineItemInput', - inputFields: [ + "kind": "ENUM", + "name": "GoDaddyTheme", + "enumValues": [ { - name: 'details', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputDetailsInfo', - }, + "name": "base", + "isDeprecated": false }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'DiscountInput', - }, - }, - }, + "name": "orange", + "isDeprecated": false }, { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "purple", + "isDeprecated": false + } + ] + }, + { + "kind": "SCALAR", + "name": "ID" + }, + { + "kind": "SCALAR", + "name": "Int" + }, + { + "kind": "OBJECT", + "name": "LineItemDetails", + "fields": [ + { + "name": "productAssetUrl", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'FeeInput', - }, - }, + "name": "selectedAddons", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SelectedAddon" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentMode', - type: { - kind: 'ENUM', - name: 'LineItemModeInput', + "name": "selectedOptions", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SelectedOption" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "sku", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, + "name": "unitOfMeasure", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "LineItemDiscount", + "fields": [ { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - }, - }, + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - defaultValue: '[]', + "args": [], + "isDeprecated": false }, { - name: 'productId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "code", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'quantity', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'serviceEndsAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'serviceStartAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputShippingInfo', + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "LineItemFee", + "fields": [ { - name: 'skuId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'TaxInput', - }, - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'totals', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemTotalsInput', + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'type', - type: { - kind: 'ENUM', - name: 'LineItemTypesInput', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - defaultValue: 'PHYSICAL', + "args": [], + "isDeprecated": false }, { - name: 'unitAmount', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'OBJECT', - name: 'DraftOrderStatuses', - fields: [ + "kind": "INPUT_OBJECT", + "name": "LineItemInputDetailsInfo", + "inputFields": [ { - name: 'fulfillmentStatus', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "productAssetUrl", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'paymentStatus', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "selectedAddons", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SelectedAddonInput" + } + } + } }, { - name: 'status', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "selectedOptions", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SelectedOptionInput" + } + } + } + }, + { + "name": "sku", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "unitOfMeasure", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'DraftOrderTotals', - fields: [ + "kind": "INPUT_OBJECT", + "name": "LineItemInputShippingInfo", + "inputFields": [ { - name: 'discountTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "address", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderAddressInput" + } }, { - name: 'feeTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'shippingTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'subTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'taxTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'total', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, - }, + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - inputFields: [ + "kind": "ENUM", + "name": "LineItemModeInput", + "enumValues": [ { - name: 'type', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "CURBSIDE", + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "DELIVERY", + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'FeeInput', - inputFields: [ { - name: 'amount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "DIGITAL", + "isDeprecated": false }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', + "name": "DRIVE_THRU", + "isDeprecated": false }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "FOR_HERE", + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "GENERAL_CONTAINER", + "isDeprecated": false }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "GIFT_CARD", + "isDeprecated": false }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "NONE", + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'SCALAR', - name: 'Float', - }, - { - kind: 'ENUM', - name: 'FulfillmentModeInput', - enumValues: [ { - name: 'CURBSIDE', - isDeprecated: false, + "name": "NON_LODGING_NRR", + "isDeprecated": false }, { - name: 'DELIVERY', - isDeprecated: false, + "name": "NON_LODGING_SALE", + "isDeprecated": false }, { - name: 'DIGITAL', - isDeprecated: false, + "name": "PICKUP", + "isDeprecated": false }, { - name: 'DRIVE_THRU', - isDeprecated: false, + "name": "PURCHASE", + "isDeprecated": false }, { - name: 'FOR_HERE', - isDeprecated: false, + "name": "QUICK_STAY", + "isDeprecated": false }, { - name: 'GENERAL_CONTAINER', - isDeprecated: false, + "name": "REGULAR_STAY", + "isDeprecated": false }, { - name: 'GIFT_CARD', - isDeprecated: false, + "name": "SHIP", + "isDeprecated": false }, { - name: 'NONE', - isDeprecated: false, - }, + "name": "TO_GO", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "LineItemNote", + "fields": [ { - name: 'NON_LODGING_NRR', - isDeprecated: false, + "name": "author", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'NON_LODGING_SALE', - isDeprecated: false, + "name": "authorType", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'PICKUP', - isDeprecated: false, + "name": "content", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'PURCHASE', - isDeprecated: false, + "name": "createdAt", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'QUICK_STAY', - isDeprecated: false, + "name": "deletedAt", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'REGULAR_STAY', - isDeprecated: false, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'SHIP', - isDeprecated: false, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } + }, + "args": [], + "isDeprecated": false }, { - name: 'TO_GO', - isDeprecated: false, - }, + "name": "shouldNotifyCustomer", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + } ], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'GeoCoordinates', - fields: [ + "kind": "OBJECT", + "name": "LineItemReturnTotals", + "fields": [ { - name: 'latitude', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "discountTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'longitude', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "feeTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'GoDaddyAppearance', - fields: [ { - name: 'theme', - type: { - kind: 'ENUM', - name: 'GoDaddyTheme', + "name": "subTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'variables', - type: { - kind: 'OBJECT', - name: 'CSSVariables', + "name": "taxTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, + { + "name": "total", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" + }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'GoDaddyAppearanceInput', - inputFields: [ + "kind": "OBJECT", + "name": "LineItemTax", + "fields": [ { - name: 'theme', - type: { - kind: 'ENUM', - name: 'GoDaddyTheme', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'variables', - type: { - kind: 'INPUT_OBJECT', - name: 'CSSVariablesInput', + "name": "exempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "args": [], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'ENUM', - name: 'GoDaddyTheme', - enumValues: [ { - name: 'base', - isDeprecated: false, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "included", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false }, { - name: 'orange', - isDeprecated: false, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } + }, + "args": [], + "isDeprecated": false }, { - name: 'purple', - isDeprecated: false, + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, + { + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } ], + "interfaces": [] }, { - kind: 'SCALAR', - name: 'ID', - }, - { - kind: 'SCALAR', - name: 'Int', - }, - { - kind: 'OBJECT', - name: 'LineItemDetails', - fields: [ + "kind": "OBJECT", + "name": "LineItemTotals", + "fields": [ { - name: 'productAssetUrl', - type: { - kind: 'SCALAR', - name: 'String', + "name": "discountTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'selectedAddons', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SelectedAddon', - }, - }, + "name": "feeTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'selectedOptions', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SelectedOption', - }, - }, + "name": "subTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'sku', - type: { - kind: 'SCALAR', - name: 'String', + "name": "taxTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "LineItemTotalsInput", + "inputFields": [ + { + "name": "discountTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'unitOfMeasure', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "feeTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + }, + { + "name": "subTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, + { + "name": "taxTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'LineItemDiscount', - fields: [ + "kind": "ENUM", + "name": "LineItemTypesInput", + "enumValues": [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "ALL", + "isDeprecated": false }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - args: [], - isDeprecated: false, + "name": "DIGITAL", + "isDeprecated": false }, { - name: 'code', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "PAY_LINK", + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "PHYSICAL", + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "SERVICE", + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, + "name": "STAY", + "isDeprecated": false + } + ] + }, + { + "kind": "ENUM", + "name": "MetafieldTypeInput", + "enumValues": [ { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "JSON", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "MoneyInput", + "inputFields": [ + { + "name": "currencyCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + { + "name": "value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'LineItemFee', - fields: [ + "kind": "OBJECT", + "name": "MoneyValue", + "fields": [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', + "name": "currencyCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Int" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "Mutation", + "fields": [ { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "applyCheckoutSessionDeliveryMethod", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, - args: [], - isDeprecated: false, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionDeliveryMethodInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, + "name": "applyCheckoutSessionDiscount", + "type": { + "kind": "OBJECT", + "name": "DraftOrder" }, - args: [], - isDeprecated: false, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionDiscountInput" + } + } + }, + { + "name": "sessionId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "applyCheckoutSessionFulfillmentLocation", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, - args: [], - isDeprecated: false, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionFulfillmentLocationInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "applyCheckoutSessionShippingMethod", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, - args: [], - isDeprecated: false, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ApplyShippingMethodInput" + } + } + } + } + } + ], + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'LineItemInputDetailsInfo', - inputFields: [ { - name: 'productAssetUrl', - type: { - kind: 'SCALAR', - name: 'String', + "name": "calculateCheckoutSessionTaxes", + "type": { + "kind": "OBJECT", + "name": "CheckoutSessionCalculationResult" }, - }, - { - name: 'selectedAddons', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'SelectedAddonInput', - }, + "args": [ + { + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaxDestinationAddressInput" + } }, - }, + { + "name": "lines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TaxLineInput" + } + } + } + } + ], + "isDeprecated": false }, { - name: 'selectedOptions', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'SelectedOptionInput', - }, - }, + "name": "confirmCheckoutSession", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationConfirmCheckoutSessionInput" + } + } + }, + { + "name": "sessionId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false }, { - name: 'sku', - type: { - kind: 'SCALAR', - name: 'String', + "name": "createCheckoutSession", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationCreateCheckoutSessionInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'unitOfMeasure', - type: { - kind: 'SCALAR', - name: 'String', + "name": "exchangeCheckoutToken", + "type": { + "kind": "OBJECT", + "name": "CheckoutAuthToken" }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationExchangeCheckoutTokenInput" + } + } + } + ], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'LineItemInputShippingInfo', - inputFields: [ { - name: 'address', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderAddressInput', + "name": "expireCheckoutSession", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, + "args": [ + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false }, { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "refreshCheckoutToken", + "type": { + "kind": "OBJECT", + "name": "CheckoutAuthToken" }, + "args": [], + "isDeprecated": false }, { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', + "name": "removeAppliedCheckoutSessionShippingMethod", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "RemoveShippingMethodInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "updateCheckoutSession", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, + "args": [ + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationUpdateCheckoutSessionInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', + "name": "updateCheckoutSessionDraftOrder", + "type": { + "kind": "OBJECT", + "name": "DraftOrder" }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationUpdateCheckoutSessionDraftOrderInput" + } + } + } + ], + "isDeprecated": false }, { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', + "name": "verifyAddress", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Address" + } + } }, - }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MutationVerifyAddressInput" + } + } + } + ], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'ENUM', - name: 'LineItemModeInput', - enumValues: [ + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionDeliveryMethodInput", + "inputFields": [ { - name: 'CURBSIDE', - isDeprecated: false, + "name": "mode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "FulfillmentModeInput" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionDiscountInput", + "inputFields": [ + { + "name": "discountCodes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationApplyCheckoutSessionFulfillmentLocationInput", + "inputFields": [ + { + "name": "fulfillmentLocationId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationConfirmCheckoutSessionInput", + "inputFields": [ + { + "name": "billing", + "type": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutBillingInfoInput" + } }, { - name: 'DELIVERY', - isDeprecated: false, + "name": "fulfillmentEndAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } }, { - name: 'DIGITAL', - isDeprecated: false, + "name": "fulfillmentLocationId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fulfillmentStartAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "paymentProcessor", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "paymentProvider", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "paymentToken", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "paymentType", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'DRIVE_THRU', - isDeprecated: false, + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingInfoInput" + } }, { - name: 'FOR_HERE', - isDeprecated: false, + "name": "shippingLines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ConfirmCheckoutShippingLineInput" + } + } + } }, { - name: 'GENERAL_CONTAINER', - isDeprecated: false, + "name": "shippingTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } }, { - name: 'GIFT_CARD', - isDeprecated: false, + "name": "taxTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationCreateCheckoutSessionInput", + "inputFields": [ + { + "name": "appearance", + "type": { + "kind": "INPUT_OBJECT", + "name": "GoDaddyAppearanceInput" + } }, { - name: 'NONE', - isDeprecated: false, + "name": "channelId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'NON_LODGING_NRR', - isDeprecated: false, + "name": "customerId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'NON_LODGING_SALE', - isDeprecated: false, + "name": "draftOrderId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'PICKUP', - isDeprecated: false, + "name": "enableAddressAutocomplete", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'PURCHASE', - isDeprecated: false, + "name": "enableBillingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'QUICK_STAY', - isDeprecated: false, + "name": "enableLocalPickup", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'REGULAR_STAY', - isDeprecated: false, + "name": "enableNotesCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'SHIP', - isDeprecated: false, + "name": "enablePaymentMethodCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'TO_GO', - isDeprecated: false, + "name": "enablePhoneCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, - ], - }, - { - kind: 'OBJECT', - name: 'LineItemNote', - fields: [ { - name: 'author', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enablePromotionCodes", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'authorType', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enableShipping", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableShippingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'content', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enableSurcharge", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableTaxCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableTips", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'createdAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enabledLocales", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } }, { - name: 'deletedAt', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enabledPaymentProviders", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "environment", + "type": { + "kind": "ENUM", + "name": "CheckoutSessionEnvironment" + } + }, + { + "name": "experimental_rules", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionExperimentalRulesInput" + } + }, + { + "name": "expiresAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "lineItems", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionLineItemInput" + } + } + } + }, + { + "name": "locations", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionLocationInput" + } + } + } + }, + { + "name": "operatingHours", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionOperatingHoursMapInput" + } + }, + { + "name": "paymentMethods", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodsInput" + } + }, + { + "name": "returnUrl", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionShippingOptionsInput" + } + }, + { + "name": "sourceApp", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "storeId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "storeName", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "successUrl", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "taxes", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionTaxesOptionsInput" + } + }, + { + "name": "url", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationExchangeCheckoutTokenInput", + "inputFields": [ + { + "name": "sessionId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "token", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationUpdateCheckoutSessionDraftOrderInput", + "inputFields": [ + { + "name": "billing", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderBillingInfoInput" + } + }, + { + "name": "cartId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "context", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderContextInputUpdate" + } + } + }, + { + "name": "customerId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateDiscountInput" + } + } + } + }, + { + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateFeeInput" + } + } + } + }, + { + "name": "lineItems", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftOrderLineItemsInput" + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NoteInput" + } + } + } + }, + { + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderShippingInfoInput" + } + }, + { + "name": "shippingLines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftShippingLineInput" + } + } + } + }, + { + "name": "staffUserIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "taxExempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateOrderTaxInput" + } + } + } + }, + { + "name": "totals", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderTotalsInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "MutationUpdateCheckoutSessionInput", + "inputFields": [ + { + "name": "appearance", + "type": { + "kind": "INPUT_OBJECT", + "name": "GoDaddyAppearanceInput" + } + }, + { + "name": "channelId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "customerId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "enableAddressAutocomplete", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableBillingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableLocalPickup", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "enableNotesCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "enablePaymentMethodCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "enablePhoneCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'shouldNotifyCustomer', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - args: [], - isDeprecated: false, + "name": "enablePromotionCodes", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'LineItemReturnTotals', - fields: [ { - name: 'discountTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enableShipping", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'feeTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enableShippingAddressCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'subTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enableSurcharge", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'taxTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enableTaxCollection", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'total', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enableTips", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'LineItemTax', - fields: [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "enabledLocales", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } }, { - name: 'exempted', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - args: [], - isDeprecated: false, + "name": "enabledPaymentProviders", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "environment", + "type": { + "kind": "ENUM", + "name": "CheckoutSessionEnvironment" + } }, { - name: 'included', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - args: [], - isDeprecated: false, + "name": "experimental_rules", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionExperimentalRulesInput" + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "expiresAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "locations", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionLocationInput" + } + } + } }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "operatingHours", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionOperatingHoursMapInput" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'LineItemTotals', - fields: [ { - name: 'discountTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "paymentMethods", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutSessionPaymentMethodsInput" + } }, { - name: 'feeTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "returnUrl", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'subTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "sourceApp", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'taxTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "storeId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "storeName", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "successUrl", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "url", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'LineItemTotalsInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "MutationVerifyAddressInput", + "inputFields": [ { - name: 'discountTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "addressLine1", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'feeTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'subTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'taxTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'ENUM', - name: 'LineItemTypesInput', - enumValues: [ - { - name: 'ALL', - isDeprecated: false, - }, - { - name: 'DIGITAL', - isDeprecated: false, - }, - { - name: 'PAY_LINK', - isDeprecated: false, - }, - { - name: 'PHYSICAL', - isDeprecated: false, - }, - { - name: 'SERVICE', - isDeprecated: false, - }, - { - name: 'STAY', - isDeprecated: false, - }, - ], - }, - { - kind: 'ENUM', - name: 'MetafieldTypeInput', - enumValues: [ - { - name: 'JSON', - isDeprecated: false, - }, - ], - }, - { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - inputFields: [ - { - name: 'currencyCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'value', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Int', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'MoneyValue', - fields: [ - { - name: 'currencyCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'value', - type: { - kind: 'SCALAR', - name: 'Int', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'Mutation', - fields: [ - { - name: 'applyCheckoutSessionDeliveryMethod', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionDeliveryMethodInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'applyCheckoutSessionDiscount', - type: { - kind: 'OBJECT', - name: 'DraftOrder', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionDiscountInput', - }, - }, - }, - { - name: 'sessionId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'applyCheckoutSessionFulfillmentLocation', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionFulfillmentLocationInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'applyCheckoutSessionShippingMethod', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ApplyShippingMethodInput', - }, - }, - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'calculateCheckoutSessionTaxes', - type: { - kind: 'OBJECT', - name: 'CheckoutSessionCalculationResult', - }, - args: [ - { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'TaxDestinationAddressInput', - }, - }, - { - name: 'lines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'TaxLineInput', - }, - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'confirmCheckoutSession', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationConfirmCheckoutSessionInput', - }, - }, - }, - { - name: 'sessionId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'createCheckoutSession', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationCreateCheckoutSessionInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'expireCheckoutSession', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'removeAppliedCheckoutSessionShippingMethod', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'RemoveShippingMethodInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'updateCheckoutSession', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [ - { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationUpdateCheckoutSessionInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'updateCheckoutSessionDraftOrder', - type: { - kind: 'OBJECT', - name: 'DraftOrder', - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationUpdateCheckoutSessionDraftOrderInput', - }, - }, - }, - ], - isDeprecated: false, - }, - { - name: 'verifyAddress', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Address', - }, - }, - }, - args: [ - { - name: 'input', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MutationVerifyAddressInput', - }, - }, - }, - ], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionDeliveryMethodInput', - inputFields: [ - { - name: 'mode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'ENUM', - name: 'FulfillmentModeInput', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionDiscountInput', - inputFields: [ - { - name: 'discountCodes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationApplyCheckoutSessionFulfillmentLocationInput', - inputFields: [ - { - name: 'fulfillmentLocationId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationConfirmCheckoutSessionInput', - inputFields: [ - { - name: 'billing', - type: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutBillingInfoInput', - }, - }, - { - name: 'fulfillmentEndAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'fulfillmentLocationId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'fulfillmentStartAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'paymentProcessor', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'paymentProvider', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'paymentToken', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'paymentType', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingInfoInput', - }, - }, - { - name: 'shippingLines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ConfirmCheckoutShippingLineInput', - }, - }, - }, - }, - { - name: 'shippingTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - { - name: 'taxTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationCreateCheckoutSessionInput', - inputFields: [ - { - name: 'appearance', - type: { - kind: 'INPUT_OBJECT', - name: 'GoDaddyAppearanceInput', - }, - }, - { - name: 'channelId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'customerId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'draftOrderId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'enableAddressAutocomplete', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableBillingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableLocalPickup', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableNotesCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePaymentMethodCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePhoneCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePromotionCodes', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableShippingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableSurcharge', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableTaxCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableTips', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enabledLocales', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'enabledPaymentProviders', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'environment', - type: { - kind: 'ENUM', - name: 'CheckoutSessionEnvironment', - }, - }, - { - name: 'experimental_rules', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionExperimentalRulesInput', - }, - }, - { - name: 'expiresAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'locations', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionLocationInput', - }, - }, - }, - }, - { - name: 'operatingHours', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionOperatingHoursMapInput', - }, - }, - { - name: 'paymentMethods', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodsInput', - }, - }, - { - name: 'returnUrl', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionShippingOptionsInput', - }, - }, - { - name: 'sourceApp', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'storeId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'storeName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'successUrl', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'taxes', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionTaxesOptionsInput', - }, - }, - { - name: 'url', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationUpdateCheckoutSessionDraftOrderInput', - inputFields: [ - { - name: 'billing', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderBillingInfoInput', - }, - }, - { - name: 'cartId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'context', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderContextInputUpdate', - }, - }, - }, - { - name: 'customerId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateDiscountInput', - }, - }, - }, - }, - { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateFeeInput', - }, - }, - }, - }, - { - name: 'lineItems', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftOrderLineItemsInput', - }, - }, - { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, - }, - { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - }, - }, - }, - }, - { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderShippingInfoInput', - }, - }, - { - name: 'shippingLines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftShippingLineInput', - }, - }, - }, - }, - { - name: 'staffUserIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'taxExempted', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateOrderTaxInput', - }, - }, - }, - }, - { - name: 'totals', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderTotalsInput', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationUpdateCheckoutSessionInput', - inputFields: [ - { - name: 'appearance', - type: { - kind: 'INPUT_OBJECT', - name: 'GoDaddyAppearanceInput', - }, - }, - { - name: 'channelId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'customerId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'enableAddressAutocomplete', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableBillingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableLocalPickup', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableNotesCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePaymentMethodCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePhoneCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enablePromotionCodes', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableShippingAddressCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableSurcharge', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableTaxCollection', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enableTips', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - { - name: 'enabledLocales', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'enabledPaymentProviders', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - { - name: 'environment', - type: { - kind: 'ENUM', - name: 'CheckoutSessionEnvironment', - }, - }, - { - name: 'experimental_rules', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionExperimentalRulesInput', - }, - }, - { - name: 'expiresAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'locations', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionLocationInput', - }, - }, - }, - }, - { - name: 'operatingHours', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionOperatingHoursMapInput', - }, - }, - { - name: 'paymentMethods', - type: { - kind: 'INPUT_OBJECT', - name: 'CheckoutSessionPaymentMethodsInput', - }, - }, - { - name: 'returnUrl', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'sourceApp', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'storeId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'storeName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'successUrl', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'url', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'MutationVerifyAddressInput', - inputFields: [ - { - name: 'addressLine1', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'ENUM', - name: 'NoteAuthorTypeInput', - enumValues: [ - { - name: 'CUSTOMER', - isDeprecated: false, - }, - { - name: 'MERCHANT', - isDeprecated: false, - }, - { - name: 'NONE', - isDeprecated: false, - }, - ], - }, - { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - inputFields: [ - { - name: 'author', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'authorType', - type: { - kind: 'ENUM', - name: 'NoteAuthorTypeInput', - }, - }, - { - name: 'content', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'createdAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'deletedAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, - }, - { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, - }, - { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'shouldNotifyCustomer', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'SCALAR', - name: 'Null', - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderAddressInput', - inputFields: [ - { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'countryCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'postalCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderBillingInfoInput', - inputFields: [ - { - name: 'address', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderAddressInput', - }, - }, - { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderContextInputUpdate', - inputFields: [ - { - name: 'channelId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'storeId', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'OrderMetafield', - fields: [ - { - name: 'key', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'type', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'value', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - inputFields: [ - { - name: 'key', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'type', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'ENUM', - name: 'MetafieldTypeInput', - }, - }, - defaultValue: 'JSON', - }, - { - name: 'value', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderShippingInfoInput', - inputFields: [ - { - name: 'address', - type: { - kind: 'INPUT_OBJECT', - name: 'OrderAddressInput', - }, - }, - { - name: 'companyName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'email', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'firstName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'lastName', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'phone', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'OrderTotalsInput', - inputFields: [ - { - name: 'discountTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'feeTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'shippingTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'subTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'taxTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - { - name: 'total', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'PageInfo', - fields: [ - { - name: 'endCursor', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'hasNextPage', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'hasPreviousPage', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Boolean', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'startCursor', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'PriceAdjustmentShippingLineInput', - inputFields: [ - { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'subTotal', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, - }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'PriceAdjustmentsCalculationResult', - fields: [ - { - name: 'adjustments', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CalculatedAdjustmentOutput', - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'lines', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'CalculatedLineOutput', - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'totalDiscountAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', - }, - args: [], - isDeprecated: false, - }, - { - name: 'totalFeeAmount', - type: { - kind: 'OBJECT', - name: 'SimpleMoney', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'Query', - fields: [ - { - name: 'checkoutSession', - type: { - kind: 'OBJECT', - name: 'CheckoutSession', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'RemoveShippingMethodInput', - inputFields: [ - { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - { - name: 'serviceCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'SKU', - fields: [ - { - name: 'attributeValues', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SKUAttributeValue', - }, - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'attributes', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SKUAttribute', - }, - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'code', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'createdAt', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'description', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'disableShipping', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - args: [], - isDeprecated: false, - }, - { - name: 'htmlDescription', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'ID', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'mediaUrls', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'metafields', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SKUMetafieldsConnection', - }, - }, - args: [ - { - name: 'after', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'before', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, - { - name: 'first', - type: { - kind: 'SCALAR', - name: 'Int', - }, - }, - { - name: 'last', - type: { - kind: 'SCALAR', - name: 'Int', - }, - }, - ], - isDeprecated: false, - }, - { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'prices', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SKUPrice', - }, - }, - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'status', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'unitOfWeight', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'updatedAt', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'DateTime', - }, - }, - args: [], - isDeprecated: false, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'weight', - type: { - kind: 'SCALAR', - name: 'Float', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'SKUAttribute', - fields: [ - { - name: 'description', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'htmlDescription', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'ID', - }, - }, - args: [], - isDeprecated: false, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'values', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SKUAttributeValue', - }, - }, - }, - }, - args: [], - isDeprecated: false, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'SKUAttributeValue', - fields: [ { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'ID', - }, - }, - args: [], - isDeprecated: false, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'label', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'SKUMetafield', - fields: [ - { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'ID', - }, - }, - args: [], - isDeprecated: false, - }, + "kind": "ENUM", + "name": "NoteAuthorTypeInput", + "enumValues": [ { - name: 'key', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'namespace', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, - { - name: 'value', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, + "name": "CUSTOMER", + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'SKUMetafieldsConnection', - fields: [ { - name: 'edges', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'SKUMetafieldsConnectionEdge', - }, - }, - args: [], - isDeprecated: false, + "name": "MERCHANT", + "isDeprecated": false }, { - name: 'pageInfo', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'PageInfo', - }, - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], + "name": "NONE", + "isDeprecated": false + } + ] }, { - kind: 'OBJECT', - name: 'SKUMetafieldsConnectionEdge', - fields: [ - { - name: 'cursor', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, - }, + "kind": "INPUT_OBJECT", + "name": "NoteInput", + "inputFields": [ { - name: 'node', - type: { - kind: 'OBJECT', - name: 'SKUMetafield', - }, - args: [], - isDeprecated: false, + "name": "author", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'SKUPrice', - fields: [ { - name: 'currencyCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - args: [], - isDeprecated: false, + "name": "authorType", + "type": { + "kind": "ENUM", + "name": "NoteAuthorTypeInput" + } }, { - name: 'value', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Float', - }, - }, - args: [], - isDeprecated: false, + "name": "content", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'SelectedAddon', - fields: [ { - name: 'attribute', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "createdAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } }, { - name: 'sku', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "deletedAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } }, { - name: 'values', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'SelectedAddonValue', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'SelectedAddonInput', - inputFields: [ { - name: 'attribute', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } }, { - name: 'sku', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'values', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'SelectedAddonValueInput', - }, - }, - }, - }, - }, + "name": "shouldNotifyCustomer", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'SelectedAddonValue', - fields: [ - { - name: 'costAdjustment', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, - }, - { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, - }, - ], - interfaces: [], + "kind": "SCALAR", + "name": "Null" }, { - kind: 'INPUT_OBJECT', - name: 'SelectedAddonValueInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "OrderAddressInput", + "inputFields": [ { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'amountIncreased', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'costAdjustment', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - ], - isOneOf: false, - }, - { - kind: 'OBJECT', - name: 'SelectedOption', - fields: [ { - name: 'attribute', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'values', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, - ], - interfaces: [], - }, - { - kind: 'INPUT_OBJECT', - name: 'SelectedOptionInput', - inputFields: [ { - name: 'attribute', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'values', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - }, + "name": "countryCode", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "postalCode", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'OBJECT', - name: 'ShippingLine', - fields: [ + "kind": "INPUT_OBJECT", + "name": "OrderBillingInfoInput", + "inputFields": [ { - name: 'amount', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "address", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderAddressInput" + } }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemDiscount', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'OrderMetafield', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'requestedProvider', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "OrderContextInputUpdate", + "inputFields": [ + { + "name": "channelId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'requestedService', - type: { - kind: 'SCALAR', - name: 'String', + "name": "storeId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "OrderMetafield", + "fields": [ + { + "name": "key", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'LineItemTax', - }, - }, + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'totals', - type: { - kind: 'OBJECT', - name: 'ShippingLineTotals', + "name": "value", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, - }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'ShippingLineTotals', - fields: [ + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput", + "inputFields": [ { - name: 'subTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', - }, - args: [], - isDeprecated: false, + "name": "key", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'taxTotal', - type: { - kind: 'OBJECT', - name: 'MoneyValue', + "name": "type", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "MetafieldTypeInput" + } }, - args: [], - isDeprecated: false, + "defaultValue": "JSON" }, + { + "name": "value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'ENUM', - name: 'ShippingLineType', - enumValues: [ + "kind": "INPUT_OBJECT", + "name": "OrderShippingInfoInput", + "inputFields": [ + { + "name": "address", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrderAddressInput" + } + }, { - name: 'FEE', - isDeprecated: false, + "name": "companyName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'SHIPPING', - isDeprecated: false, + "name": "email", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'SKU', - isDeprecated: false, + "name": "firstName", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "lastName", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "phone", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'ShippingRate', - fields: [ + "kind": "INPUT_OBJECT", + "name": "OrderTotalsInput", + "inputFields": [ { - name: 'carrierCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "discountTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, - { - name: 'cost', - type: { - kind: 'OBJECT', - name: 'ShippingRateMoneyValue', - }, - args: [], - isDeprecated: false, + { + "name": "feeTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'description', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "shippingTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'displayName', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "subTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'features', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, - }, - args: [], - isDeprecated: false, + "name": "taxTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'maxDeliveryDate', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "total", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "PageInfo", + "fields": [ + { + "name": "endCursor", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "hasNextPage", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "hasPreviousPage", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + "args": [], + "isDeprecated": false }, { - name: 'minDeliveryDate', - type: { - kind: 'SCALAR', - name: 'String', + "name": "startCursor", + "type": { + "kind": "SCALAR", + "name": "String" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "PriceAdjustmentShippingLineInput", + "inputFields": [ + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'serviceCode', - type: { - kind: 'SCALAR', - name: 'String', - }, - args: [], - isDeprecated: false, + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "subTotal", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + } ], - interfaces: [], + "isOneOf": false }, { - kind: 'OBJECT', - name: 'ShippingRateCalculationResult', - fields: [ + "kind": "OBJECT", + "name": "PriceAdjustmentsCalculationResult", + "fields": [ { - name: 'rates', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'ShippingRate', - }, - }, + "name": "adjustments", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CalculatedAdjustmentOutput" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, - ], - interfaces: [], - }, - { - kind: 'OBJECT', - name: 'ShippingRateMoneyValue', - fields: [ { - name: 'currencyCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "lines", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CalculatedLineOutput" + } + } }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "totalDiscountAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, + { + "name": "totalFeeAmount", + "type": { + "kind": "OBJECT", + "name": "SimpleMoney" + }, + "args": [], + "isDeprecated": false + } ], - interfaces: [], + "interfaces": [] }, { - kind: 'OBJECT', - name: 'SimpleMoney', - fields: [ + "kind": "OBJECT", + "name": "Query", + "fields": [ { - name: 'currencyCode', - type: { - kind: 'SCALAR', - name: 'String', + "name": "checkoutSession", + "type": { + "kind": "OBJECT", + "name": "CheckoutSession" }, - args: [], - isDeprecated: false, + "args": [], + "isDeprecated": false }, { - name: 'value', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "validateCheckoutToken", + "type": { + "kind": "OBJECT", + "name": "CheckoutTokenValidation" }, - args: [], - isDeprecated: false, + "args": [ + { + "name": "token", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "RemoveShippingMethodInput", + "inputFields": [ + { + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + { + "name": "serviceCode", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - interfaces: [], - }, - { - kind: 'SCALAR', - name: 'String', + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'TaxDestinationAddressInput', - inputFields: [ + "kind": "OBJECT", + "name": "SKU", + "fields": [ { - name: 'addressLine1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "attributeValues", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SKUAttributeValue" + } + } + } }, + "args": [], + "isDeprecated": false + }, + { + "name": "attributes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SKUAttribute" + } + } + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "code", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - name: 'addressLine2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "disableShipping", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "htmlDescription", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "ID" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "mediaUrls", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'addressLine3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "metafields", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SKUMetafieldsConnection" + } }, + "args": [ + { + "name": "after", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "before", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Int" + } + } + ], + "isDeprecated": false }, { - name: 'adminArea1', - type: { - kind: 'SCALAR', - name: 'String', + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'adminArea2', - type: { - kind: 'SCALAR', - name: 'String', + "name": "prices", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SKUPrice" + } + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'adminArea3', - type: { - kind: 'SCALAR', - name: 'String', + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'adminArea4', - type: { - kind: 'SCALAR', - name: 'String', + "name": "unitOfWeight", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'countryCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "updatedAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "DateTime" + } }, + "args": [], + "isDeprecated": false }, { - name: 'postalCode', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "weight", + "type": { + "kind": "SCALAR", + "name": "Float" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'TaxInput', - inputFields: [ + "kind": "OBJECT", + "name": "SKUAttribute", + "fields": [ { - name: 'amount', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'exempted', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "htmlDescription", + "type": { + "kind": "SCALAR", + "name": "String" }, - defaultValue: 'false', + "args": [], + "isDeprecated": false }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "ID" + } }, + "args": [], + "isDeprecated": false }, { - name: 'included', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "values", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SKUAttributeValue" + } + } + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "SKUAttributeValue", + "fields": [ { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "ID" + } }, + "args": [], + "isDeprecated": false }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "label", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, + { + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'TaxLineInput', - inputFields: [ + "kind": "OBJECT", + "name": "SKUMetafield", + "fields": [ { - name: 'classification', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "ID" + } }, + "args": [], + "isDeprecated": false }, { - name: 'destination', - type: { - kind: 'INPUT_OBJECT', - name: 'TaxDestinationAddressInput', + "name": "key", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "namespace", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'origin', - type: { - kind: 'INPUT_OBJECT', - name: 'TaxDestinationAddressInput', + "name": "value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "SKUMetafieldsConnection", + "fields": [ { - name: 'quantity', - type: { - kind: 'SCALAR', - name: 'Int', + "name": "edges", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "SKUMetafieldsConnectionEdge" + } }, + "args": [], + "isDeprecated": false }, { - name: 'subtotalPrice', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo" + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "SKUMetafieldsConnectionEdge", + "fields": [ { - name: 'type', - type: { - kind: 'ENUM', - name: 'ShippingLineType', + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'unitPrice', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', + "name": "node", + "type": { + "kind": "OBJECT", + "name": "SKUMetafield" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'UpdateDiscountInput', - inputFields: [ + "kind": "OBJECT", + "name": "SKUPrice", + "fields": [ { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', + "name": "currencyCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, + "args": [], + "isDeprecated": false }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Float" + } }, - defaultValue: 'false', - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "SelectedAddon", + "fields": [ { - name: 'code', - type: { - kind: 'SCALAR', - name: 'String', + "name": "attribute", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, + "name": "sku", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "values", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SelectedAddonValue" + } + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "SelectedAddonInput", + "inputFields": [ { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "attribute", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "sku", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', + "name": "values", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SelectedAddonValueInput" + } + } + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "SelectedAddonValue", + "fields": [ + { + "name": "costAdjustment", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "SelectedAddonValueInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + }, + { + "name": "amountIncreased", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "costAdjustment", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + }, + { + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "SelectedOption", + "fields": [ + { + "name": "attribute", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "values", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftLineItemInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "SelectedOptionInput", + "inputFields": [ { - name: 'details', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputDetailsInfo', - }, + "name": "attribute", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'DiscountInput', - }, - }, - }, - }, + "name": "values", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "ShippingLine", + "fields": [ { - name: 'externalId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "amount", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'FeeInput', - }, - }, + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemDiscount" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentChannelId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'fulfillmentMode', - type: { - kind: 'ENUM', - name: 'LineItemModeInput', + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "OrderMetafield" + } + } }, + "args": [], + "isDeprecated": false }, { - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, + "name": "requestedProvider", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', + "name": "requestedService", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - }, - }, + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LineItemTax" + } + } }, - defaultValue: '[]', + "args": [], + "isDeprecated": false }, { - name: 'productId', - type: { - kind: 'SCALAR', - name: 'String', + "name": "totals", + "type": { + "kind": "OBJECT", + "name": "ShippingLineTotals" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "ShippingLineTotals", + "fields": [ { - name: 'quantity', - type: { - kind: 'SCALAR', - name: 'Float', + "name": "subTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'serviceEndsAt', - type: { - kind: 'SCALAR', - name: 'DateTime', + "name": "taxTotal", + "type": { + "kind": "OBJECT", + "name": "MoneyValue" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "ENUM", + "name": "ShippingLineType", + "enumValues": [ { - name: 'serviceStartAt', - type: { - kind: 'SCALAR', - name: 'DateTime', - }, + "name": "FEE", + "isDeprecated": false }, { - name: 'shipping', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemInputShippingInfo', - }, + "name": "SHIPPING", + "isDeprecated": false }, { - name: 'skuId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "SKU", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "ShippingRate", + "fields": [ { - name: 'tags', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "carrierCode", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'TaxInput', - }, - }, + "name": "cost", + "type": { + "kind": "OBJECT", + "name": "ShippingRateMoneyValue" }, + "args": [], + "isDeprecated": false }, { - name: 'totals', - type: { - kind: 'INPUT_OBJECT', - name: 'LineItemTotalsInput', + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'type', - type: { - kind: 'ENUM', - name: 'LineItemTypesInput', + "name": "displayName", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'unitAmount', - type: { - kind: 'INPUT_OBJECT', - name: 'MoneyInput', + "name": "features", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, + "args": [], + "isDeprecated": false }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftOrderInput', - inputFields: [ { - name: 'lineItems', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftOrderLineItemsInput', + "name": "maxDeliveryDate", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'notes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'NoteInput', - }, - }, + "name": "minDeliveryDate", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'taxExempted', - type: { - kind: 'SCALAR', - name: 'Boolean', + "name": "serviceCode", + "type": { + "kind": "SCALAR", + "name": "String" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftOrderLineItemsInput', - inputFields: [ + "kind": "OBJECT", + "name": "ShippingRateCalculationResult", + "fields": [ { - name: 'add', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'CreateDraftLineItemInput', - }, - }, + "name": "rates", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "ShippingRate" + } + } }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "ShippingRateMoneyValue", + "fields": [ { - name: 'remove', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "currencyCode", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'update', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftLineItemInput', - }, - }, + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Float" }, - }, + "args": [], + "isDeprecated": false + } ], - isOneOf: false, + "interfaces": [] }, { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftShippingLineInput', - inputFields: [ + "kind": "OBJECT", + "name": "SimpleMoney", + "fields": [ { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', + "name": "currencyCode", + "type": { + "kind": "SCALAR", + "name": "String" }, + "args": [], + "isDeprecated": false }, { - name: 'discounts', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateDiscountInput', - }, - }, + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Float" }, - }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "SCALAR", + "name": "String" + }, + { + "kind": "INPUT_OBJECT", + "name": "TaxDestinationAddressInput", + "inputFields": [ { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "addressLine1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'fees', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateFeeInput', - }, - }, - }, + "name": "addressLine2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "addressLine3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "adminArea1", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea2", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'requestedProvider', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea3", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'requestedService', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "adminArea4", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateTaxInput', - }, - }, - }, + "name": "countryCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'totals', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftShippingLineTotalsInput', - }, - }, + "name": "postalCode", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'UpdateDraftShippingLineTotalsInput', - inputFields: [ - { - name: 'subTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, - }, + "kind": "INPUT_OBJECT", + "name": "TaxInput", + "inputFields": [ { - name: 'taxTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, + "name": "amount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'UpdateFeeInput', - inputFields: [ { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', + "name": "exempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, { - name: 'appliedBeforeTax', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "included", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "TaxLineInput", + "inputFields": [ { - name: 'currencyCode', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "classification", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'value', - type: { - kind: 'SCALAR', - name: 'Int', - }, + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaxDestinationAddressInput" + } }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'UpdateNoteInput', - inputFields: [ { - name: 'author', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, { - name: 'authorType', - type: { - kind: 'ENUM', - name: 'NoteAuthorTypeInput', - }, + "name": "origin", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaxDestinationAddressInput" + } }, { - name: 'content', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "quantity", + "type": { + "kind": "SCALAR", + "name": "Int" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "subtotalPrice", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "type", + "type": { + "kind": "ENUM", + "name": "ShippingLineType" + } }, { - name: 'shouldNotifyCustomer', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', - }, + "name": "unitPrice", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'UpdateOrderTaxInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "UpdateDiscountInput", + "inputFields": [ { - name: 'additional', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } }, { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, { - name: 'exempted', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', + "name": "code", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftLineItemInput", + "inputFields": [ + { + "name": "details", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputDetailsInfo" + } + }, + { + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DiscountInput" + } + } + } + }, + { + "name": "externalId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "FeeInput" + } + } + } + }, + { + "name": "fulfillmentChannelId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "fulfillmentMode", + "type": { + "kind": "ENUM", + "name": "LineItemModeInput" + } + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NoteInput" + } + } + }, + "defaultValue": "[]" + }, + { + "name": "productId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "quantity", + "type": { + "kind": "SCALAR", + "name": "Float" + } + }, + { + "name": "serviceEndsAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "serviceStartAt", + "type": { + "kind": "SCALAR", + "name": "DateTime" + } + }, + { + "name": "shipping", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemInputShippingInfo" + } + }, + { + "name": "skuId", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "tags", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TaxInput" + } + } + } + }, + { + "name": "totals", + "type": { + "kind": "INPUT_OBJECT", + "name": "LineItemTotalsInput" + } + }, + { + "name": "type", + "type": { + "kind": "ENUM", + "name": "LineItemTypesInput" + } + }, + { + "name": "unitAmount", + "type": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftOrderInput", + "inputFields": [ + { + "name": "lineItems", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftOrderLineItemsInput" + } + }, + { + "name": "notes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NoteInput" + } + } + } + }, + { + "name": "taxExempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftOrderLineItemsInput", + "inputFields": [ + { + "name": "add", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateDraftLineItemInput" + } + } + } + }, + { + "name": "remove", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + }, + { + "name": "update", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftLineItemInput" + } + } + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftShippingLineInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + }, + { + "name": "discounts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateDiscountInput" + } + } + } + }, + { + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } + }, + { + "name": "fees", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateFeeInput" + } + } + } + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "requestedProvider", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "requestedService", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateTaxInput" + } + } + } + }, + { + "name": "totals", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftShippingLineTotalsInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateDraftShippingLineTotalsInput", + "inputFields": [ + { + "name": "subTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + }, + { + "name": "taxTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateFeeInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', + "name": "appliedBeforeTax", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, { - name: 'included', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput", + "inputFields": [ + { + "name": "currencyCode", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Int" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'UpdateShippingLineInput', - inputFields: [ + "kind": "INPUT_OBJECT", + "name": "UpdateNoteInput", + "inputFields": [ { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, + "name": "author", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "authorType", + "type": { + "kind": "ENUM", + "name": "NoteAuthorTypeInput" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "content", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } }, { - name: 'requestedProvider', - type: { - kind: 'SCALAR', - name: 'String', + "name": "shouldNotifyCustomer", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, - }, + "defaultValue": "false" + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateOrderTaxInput", + "inputFields": [ { - name: 'requestedService', - type: { - kind: 'SCALAR', - name: 'String', + "name": "additional", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, { - name: 'taxes', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'UpdateTaxInput', - }, - }, - }, + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } }, { - name: 'totals', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateShippingLineTotalsInput', + "name": "exempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" }, + "defaultValue": "false" }, - ], - isOneOf: false, - }, - { - kind: 'INPUT_OBJECT', - name: 'UpdateShippingLineTotalsInput', - inputFields: [ { - name: 'subTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'taxTotal', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "included", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, + "isOneOf": false }, { - kind: 'INPUT_OBJECT', - name: 'UpdateTaxInput', - inputFields: [ - { - name: 'amount', - type: { - kind: 'INPUT_OBJECT', - name: 'UpdateMoneyInput', - }, - }, + "kind": "INPUT_OBJECT", + "name": "UpdateShippingLineInput", + "inputFields": [ { - name: 'exempted', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, - defaultValue: 'false', + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } }, { - name: 'externalIds', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'ExternalIdsInput', - }, - }, - }, + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'id', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "requestedProvider", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "requestedService", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "taxes", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateTaxInput" + } + } + } + }, + { + "name": "totals", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateShippingLineTotalsInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateShippingLineTotalsInput", + "inputFields": [ + { + "name": "subTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + }, + { + "name": "taxTotal", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateTaxInput", + "inputFields": [ + { + "name": "amount", + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateMoneyInput" + } + }, + { + "name": "exempted", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "defaultValue": "false" + }, + { + "name": "externalIds", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ExternalIdsInput" + } + } + } }, { - name: 'included', - type: { - kind: 'SCALAR', - name: 'Boolean', - }, + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'metafields', - type: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'INPUT_OBJECT', - name: 'OrderMetafieldInput', - }, - }, - }, + "name": "included", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } }, { - name: 'name', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "metafields", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "OrderMetafieldInput" + } + } + } + }, + { + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'ratePercentage', - type: { - kind: 'SCALAR', - name: 'String', - }, + "name": "ratePercentage", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - name: 'referenceId', - type: { - kind: 'SCALAR', - name: 'String', - }, - }, + "name": "referenceId", + "type": { + "kind": "SCALAR", + "name": "String" + } + } ], - isOneOf: false, - }, + "isOneOf": false + } ], - directives: [], - }, + "directives": [] + } } as const; -export { introspection }; +export { introspection }; \ No newline at end of file diff --git a/packages/react/src/lib/godaddy/mutations.ts b/packages/react/src/lib/godaddy/mutations.ts index e3a5e0eb..33ee2de2 100644 --- a/packages/react/src/lib/godaddy/mutations.ts +++ b/packages/react/src/lib/godaddy/mutations.ts @@ -17,6 +17,7 @@ export const CreateCheckoutSessionMutation = graphql(` enabledLocales enableSurcharge enableLocalPickup + enableShipping enablePhoneCollection enableNotesCollection enablePromotionCodes @@ -424,3 +425,23 @@ export const ApplyCheckoutSessionFulfillmentLocationMutation = graphql(` } } `); + +export const ExchangeCheckoutTokenMutation = graphql(` + mutation ExchangeCheckoutToken($input: MutationExchangeCheckoutTokenInput!) { + exchangeCheckoutToken(input: $input) { + jwt + expiresAt + expiresIn + } + } +`); + +export const RefreshCheckoutTokenMutation = graphql(` + mutation RefreshCheckoutToken { + refreshCheckoutToken { + jwt + expiresAt + expiresIn + } + } +`); diff --git a/packages/react/src/lib/godaddy/queries.ts b/packages/react/src/lib/godaddy/queries.ts index d341621b..a884ade8 100644 --- a/packages/react/src/lib/godaddy/queries.ts +++ b/packages/react/src/lib/godaddy/queries.ts @@ -1,5 +1,226 @@ import { graphql } from '@/gql.tada'; +export const GetCheckoutSessionQuery = graphql(` + query GetCheckoutSession { + checkoutSession { + id + token + sourceApp + returnUrl + successUrl + storeId + channelId + customerId + storeName + environment + enableTips + enabledLocales + enableSurcharge + enableLocalPickup + enableShipping + enablePhoneCollection + enableNotesCollection + enablePromotionCodes + enableTaxCollection + enableShippingAddressCollection + enableBillingAddressCollection + enableAddressAutocomplete + appearance { + theme + variables { + fontSans + fontSerif + fontMono + defaultFontFamily + background + secondaryBackground + foreground + card + cardForeground + popover + popoverForeground + primary + primaryForeground + secondary + secondaryForeground + muted + mutedForeground + accent + accentForeground + destructive + destructiveForeground + border + input + ring + radius + } + } + experimental_rules { + freeShipping { + enabled + minimumOrderTotal + } + } + shipping { + originAddress { + addressLine1 + addressLine2 + addressLine3 + postalCode + countryCode + adminArea1 + adminArea2 + adminArea3 + adminArea4 + } + } + paymentMethods { + card { + processor + checkoutTypes + } + express { + processor + checkoutTypes + } + applePay { + processor + checkoutTypes + } + googlePay { + processor + checkoutTypes + } + paypal { + processor + checkoutTypes + } + paze { + processor + checkoutTypes + } + offline { + processor + checkoutTypes + } + } + locations { + id + isDefault + address { + addressLine1 + addressLine2 + addressLine3 + postalCode + countryCode + adminArea1 + adminArea2 + adminArea3 + adminArea4 + } + operatingHours { + pickupWindowInDays + leadTime + timeZone + hours { + monday { + enabled + openTime + closeTime + } + tuesday { + enabled + openTime + closeTime + } + wednesday { + enabled + openTime + closeTime + } + thursday { + enabled + openTime + closeTime + } + friday { + enabled + openTime + closeTime + } + saturday { + enabled + openTime + closeTime + } + sunday { + enabled + openTime + closeTime + } + } + } + } + defaultOperatingHours { + pickupWindowInDays + leadTime + timeZone + hours { + monday { + enabled + openTime + closeTime + } + tuesday { + enabled + openTime + closeTime + } + wednesday { + enabled + openTime + closeTime + } + thursday { + enabled + openTime + closeTime + } + friday { + enabled + openTime + closeTime + } + saturday { + enabled + openTime + closeTime + } + sunday { + enabled + openTime + closeTime + } + } + } + draftOrder { + id + statuses { + fulfillmentStatus + paymentStatus + status + } + totals { + subTotal { + currencyCode + value + } + } + } + } + } +`); + export const AddressMatchesQuery = graphql(` query CheckoutSessionWithAddressMatches($query: String!) { checkoutSession { diff --git a/packages/react/src/lib/graphql-with-errors.ts b/packages/react/src/lib/graphql-with-errors.ts index e27b7755..250db318 100644 --- a/packages/react/src/lib/graphql-with-errors.ts +++ b/packages/react/src/lib/graphql-with-errors.ts @@ -1,5 +1,3 @@ -'use server'; - import type { DocumentNode } from 'graphql'; import { ClientError, request, type Variables } from 'graphql-request'; diff --git a/packages/react/src/lib/utils.ts b/packages/react/src/lib/utils.ts index 9ad0df42..86722cd4 100644 --- a/packages/react/src/lib/utils.ts +++ b/packages/react/src/lib/utils.ts @@ -4,3 +4,42 @@ import { twMerge } from 'tailwind-merge'; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } + +export function getUrlHash(location: Location) { + return location.hash.replace(/^#/, ''); +} + +export function getSessionIdFromPath(location: Location) { + const segments = location.pathname.split('/').filter(Boolean); + return segments[segments.length - 1]; +} + +/** + * Get an environment variable with framework-specific prefix detection. + * Checks for Next.js (NEXT_PUBLIC_), Vite (VITE_), and unprefixed variables. + * + * @param key - The environment variable name without framework prefix + * @returns The environment variable value or empty string if not found + * + * @example + * ```ts + * // Automatically checks NEXT_PUBLIC_STRIPE_KEY, VITE_STRIPE_KEY, and STRIPE_KEY + * const stripeKey = getEnvVar('STRIPE_KEY'); + * ``` + */ +export function getEnvVar(key: string): string { + const prefixes = ['NEXT_PUBLIC_', 'VITE_', '']; + + for (const prefix of prefixes) { + // In Next.js, process.env.NEXT_PUBLIC_* is replaced at build time + // But since this is a library, we need to access it from the consuming app's env + if (typeof process !== 'undefined' && process.env) { + const value = process.env[`${prefix}${key}`]; + if (value !== undefined) { + return value; + } + } + } + + return ''; +} diff --git a/packages/react/src/server.ts b/packages/react/src/server.ts index 34dc7c19..fc9ee3c9 100644 --- a/packages/react/src/server.ts +++ b/packages/react/src/server.ts @@ -1,13 +1,15 @@ 'use server'; +import * as GoDaddy from '@/lib/godaddy/godaddy'; +import { CreateCheckoutSessionInputWithKebabCase } from '@/lib/godaddy/godaddy'; +import { getEnvVar } from '@/lib/utils'; import type { CheckoutSessionInput, CheckoutSessionOptions } from '@/types'; -import * as GoDaddy from './lib/godaddy/godaddy'; let accessToken: string | undefined; let accessTokenExpiresAt: number | undefined; export async function createCheckoutSession( - input: CheckoutSessionInput['input'], + input: CreateCheckoutSessionInputWithKebabCase, options?: CheckoutSessionOptions ) { const CLIENT_ID = options?.auth?.clientId || ''; @@ -35,11 +37,12 @@ export async function createCheckoutSession( return await GoDaddy.createCheckoutSession(input, { accessToken, + apiHost: getEnvVar('GODADDY_API_HOST'), }); } function getHostByEnvironment(): string { - return `https://${process.env.GODADDY_HOST || process.env.NEXT_PUBLIC_GODADDY_HOST || 'api.godaddy.com'}`; + return `https://${getEnvVar('GODADDY_API_HOST') || 'api.godaddy.com'}`; } async function getAccessToken({ diff --git a/packages/react/src/tracking/tracking-provider.tsx b/packages/react/src/tracking/tracking-provider.tsx index 3b8ddc97..a0f7808d 100644 --- a/packages/react/src/tracking/tracking-provider.tsx +++ b/packages/react/src/tracking/tracking-provider.tsx @@ -18,7 +18,7 @@ export function TrackingProvider({ trackingProperties, }: { children: React.ReactNode; - session?: CheckoutSession; + session?: CheckoutSession | null; trackingEnabled?: boolean; trackingProperties?: TrackingProperties; }) { @@ -40,7 +40,7 @@ function TrackingInitializer({ trackingEnabled, trackingProperties = {}, }: { - session?: CheckoutSession; + session?: CheckoutSession | null; trackingEnabled: boolean; trackingProperties?: TrackingProperties; }) { diff --git a/packages/react/tsdown.config.ts b/packages/react/tsdown.config.ts index 59b43183..b9087090 100644 --- a/packages/react/tsdown.config.ts +++ b/packages/react/tsdown.config.ts @@ -9,6 +9,7 @@ export default defineConfig({ plugins: [], tsconfig: './tsconfig.json', dts: true, + external: [/^react($|\/)/, /^react-dom($|\/)/], onSuccess: async () => { // biome-ignore lint/suspicious/noConsole: check build status console.log('Transpiling CSS...'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85b62e10..affc2909 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -256,76 +256,76 @@ importers: dependencies: '@floating-ui/react': specifier: ^0.27.8 - version: 0.27.16(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 0.27.16(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@godaddy/localizations': specifier: workspace:* version: link:../localizations '@hookform/resolvers': specifier: ^4.0.0 - version: 4.1.3(react-hook-form@7.65.0(react@19.1.1)) + version: 4.1.3(react-hook-form@7.65.0(react@19.2.0)) '@paypal/react-paypal-js': specifier: ^8.8.3 - version: 8.9.2(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 8.9.2(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-accordion': specifier: ^1.2.3 - version: 1.2.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.2.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-alert-dialog': specifier: ^1.1.6 - version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-aspect-ratio': specifier: ^1.1.2 - version: 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-avatar': specifier: ^1.1.3 - version: 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-checkbox': specifier: ^1.1.4 - version: 1.3.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.3.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-collapsible': specifier: ^1.1.3 - version: 1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-dialog': specifier: ^1.1.6 - version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-label': specifier: ^2.1.2 - version: 2.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 2.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-popover': specifier: ^1.1.6 - version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-radio-group': specifier: ^1.2.3 - version: 1.3.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.3.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-scroll-area': specifier: ^1.2.3 - version: 1.2.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.2.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-select': specifier: ^2.1.6 - version: 2.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 2.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-separator': specifier: ^1.1.2 - version: 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-slot': specifier: ^1.1.2 - version: 1.2.3(@types/react@19.2.2)(react@19.1.1) + version: 1.2.3(@types/react@19.2.2)(react@19.2.0) '@radix-ui/react-switch': specifier: ^1.1.3 - version: 1.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-toast': specifier: ^1.2.6 - version: 1.2.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.2.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-toggle': specifier: ^1.1.2 - version: 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-toggle-group': specifier: ^1.1.2 - version: 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@radix-ui/react-tooltip': specifier: ^1.1.8 - version: 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@stripe/react-stripe-js': specifier: ^3.7.0 - version: 3.10.0(@stripe/stripe-js@7.9.0)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 3.10.0(@stripe/stripe-js@7.9.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@stripe/stripe-js': specifier: ^7.3.1 version: 7.9.0 @@ -337,10 +337,10 @@ importers: version: 4.1.15(vite@5.4.21(@types/node@22.18.12)(lightningcss@1.30.2)) '@tanstack/react-pacer': specifier: ^0.2.0 - version: 0.2.0(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 0.2.0(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@tanstack/react-query': specifier: ^5.66.0 - version: 5.90.5(react@19.1.1) + version: 5.90.5(react@19.2.0) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -349,7 +349,7 @@ importers: version: 2.1.1 cmdk: specifier: 1.0.0 - version: 1.0.0(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.0.0(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) date-fns: specifier: ^4.1.0 version: 4.1.0 @@ -358,7 +358,7 @@ importers: version: 3.2.0(date-fns@4.1.0) embla-carousel-react: specifier: ^8.5.2 - version: 8.6.0(react@19.1.1) + version: 8.6.0(react@19.2.0) fast-deep-equal: specifier: ^3.1.3 version: 3.1.3 @@ -373,16 +373,16 @@ importers: version: 5.2.0(graphql@16.11.0) lucide-react: specifier: ^0.475.0 - version: 0.475.0(react@19.1.1) + version: 0.475.0(react@19.2.0) react-day-picker: specifier: 8.10.1 - version: 8.10.1(date-fns@4.1.0)(react@19.1.1) + version: 8.10.1(date-fns@4.1.0)(react@19.2.0) react-phone-number-input: specifier: ^3.4.12 - version: 3.4.12(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 3.4.12(react-dom@19.2.0(react@19.2.0))(react@19.2.0) react-resizable-panels: specifier: ^2.1.7 - version: 2.1.9(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 2.1.9(react-dom@19.2.0(react@19.2.0))(react@19.2.0) tailwind-merge: specifier: ^3.0.1 version: 3.3.1 @@ -394,7 +394,7 @@ importers: version: 3.0.1 vaul: specifier: ^1.1.2 - version: 1.1.2(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + version: 1.1.2(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) zod: specifier: ^3.24.1 version: 3.25.76 @@ -424,14 +424,14 @@ importers: specifier: ^26.0.0 version: 26.1.0 react: - specifier: ^19.0.0 - version: 19.1.1 + specifier: ^19 + version: 19.2.0 react-dom: - specifier: ^19.0.0 - version: 19.2.0(react@19.1.1) + specifier: ^19 + version: 19.2.0(react@19.2.0) react-hook-form: specifier: ^7.54.2 - version: 7.65.0(react@19.1.1) + version: 7.65.0(react@19.2.0) tsdown: specifier: ^0.15.6 version: 0.15.9(typescript@5.7.3) @@ -6311,18 +6311,18 @@ snapshots: '@floating-ui/core': 1.7.3 '@floating-ui/utils': 0.2.10 - '@floating-ui/react-dom@2.1.6(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@floating-ui/react-dom@2.1.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@floating-ui/dom': 1.7.4 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) - '@floating-ui/react@0.27.16(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@floating-ui/react@0.27.16(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@floating-ui/react-dom': 2.1.6(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + '@floating-ui/react-dom': 2.1.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@floating-ui/utils': 0.2.10 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) tabbable: 6.3.0 '@floating-ui/utils@0.2.10': {} @@ -6344,10 +6344,10 @@ snapshots: dependencies: graphql: 16.11.0 - '@hookform/resolvers@4.1.3(react-hook-form@7.65.0(react@19.1.1))': + '@hookform/resolvers@4.1.3(react-hook-form@7.65.0(react@19.2.0))': dependencies: '@standard-schema/utils': 0.3.0 - react-hook-form: 7.65.0(react@19.1.1) + react-hook-form: 7.65.0(react@19.2.0) '@humanfs/core@0.19.1': {} @@ -6644,12 +6644,12 @@ snapshots: dependencies: promise-polyfill: 8.3.0 - '@paypal/react-paypal-js@8.9.2(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@paypal/react-paypal-js@8.9.2(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@paypal/paypal-js': 9.0.1 '@paypal/sdk-constants': 1.0.157 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) '@paypal/sdk-constants@1.0.157': dependencies: @@ -6669,659 +6669,659 @@ snapshots: '@radix-ui/primitive@1.1.3': {} - '@radix-ui/react-accordion@1.2.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-accordion@1.2.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collapsible': 1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-collapsible': 1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-alert-dialog@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-alert-dialog@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dialog': 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dialog': 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-arrow@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-arrow@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-aspect-ratio@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-aspect-ratio@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-avatar@1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-avatar@1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-is-hydrated': 0.1.0(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-is-hydrated': 0.1.0(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-checkbox@1.3.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-checkbox@1.3.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-collapsible@1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-collapsible@1.1.12(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-collection@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-collection@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-compose-refs@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-compose-refs@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-compose-refs@1.1.2(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-compose-refs@1.1.2(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-context@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-context@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-context@1.1.2(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-context@1.1.2(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-dialog@1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-dialog@1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-id': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.0.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@19.2.2)(react@19.1.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@19.2.2)(react@19.2.0) aria-hidden: 1.2.6 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) - react-remove-scroll: 2.5.5(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + react-remove-scroll: 2.5.5(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-dialog@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-dialog@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) aria-hidden: 1.2.6 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) - react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-direction@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-direction@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-dismissable-layer@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-dismissable-layer@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-escape-keydown': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-escape-keydown': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-focus-guards@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-focus-guards@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-focus-guards@1.1.3(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-focus-guards@1.1.3(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-focus-scope@1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-focus-scope@1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-focus-scope@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-focus-scope@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-id@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-id@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-id@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-id@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-label@2.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-label@2.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-popover@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-popover@1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) aria-hidden: 1.2.6 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) - react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-popper@1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': - dependencies: - '@floating-ui/react-dom': 2.1.6(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-arrow': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-rect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.1.1) + '@radix-ui/react-popper@1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': + dependencies: + '@floating-ui/react-dom': 2.1.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-arrow': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-rect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.2.0) '@radix-ui/rect': 1.1.1 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-portal@1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-portal@1.0.4(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-portal@1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-portal@1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-presence@1.0.1(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-presence@1.0.1(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-presence@1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-presence@1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-primitive@1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-primitive@1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-slot': 1.0.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-slot': 1.0.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-primitive@2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-primitive@2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-radio-group@1.3.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-radio-group@1.3.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-roving-focus@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-roving-focus@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-scroll-area@1.2.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-scroll-area@1.2.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/number': 1.1.1 '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-select@2.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-select@2.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/number': 1.1.1 '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) aria-hidden: 1.2.6 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) - react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + react-remove-scroll: 2.7.1(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-separator@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-separator@1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-slot@1.0.2(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-slot@1.0.2(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-slot@1.2.3(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-slot@1.2.3(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-switch@1.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-switch@1.2.6(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-toast@1.2.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-toast@1.2.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-toggle-group@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-toggle-group@1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-toggle': 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-toggle': 1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-toggle@1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-toggle@1.1.10(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-tooltip@1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-tooltip@1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) - '@radix-ui/react-use-callback-ref@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-callback-ref@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-callback-ref@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-controllable-state@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-controllable-state@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-controllable-state@1.2.2(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-controllable-state@1.2.2(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-use-effect-event': 0.0.2(@types/react@19.2.2)(react@19.1.1) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-effect-event': 0.0.2(@types/react@19.2.2)(react@19.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-effect-event@0.0.2(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-effect-event@0.0.2(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-escape-keydown@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-escape-keydown@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-is-hydrated@0.1.0(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-is-hydrated@0.1.0(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 - use-sync-external-store: 1.6.0(react@19.1.1) + react: 19.2.0 + use-sync-external-store: 1.6.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-layout-effect@1.0.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-layout-effect@1.0.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@babel/runtime': 7.28.3 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-layout-effect@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-layout-effect@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-previous@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-previous@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-rect@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-rect@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: '@radix-ui/rect': 1.1.1 - react: 19.1.1 + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-use-size@1.1.1(@types/react@19.2.2)(react@19.1.1)': + '@radix-ui/react-use-size@1.1.1(@types/react@19.2.2)(react@19.2.0)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.1.1) - react: 19.1.1 + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.2)(react@19.2.0) + react: 19.2.0 optionalDependencies: '@types/react': 19.2.2 - '@radix-ui/react-visually-hidden@1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@radix-ui/react-visually-hidden@1.2.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 '@types/react-dom': 19.2.2(@types/react@19.2.2) @@ -7448,12 +7448,12 @@ snapshots: '@standard-schema/utils@0.3.0': {} - '@stripe/react-stripe-js@3.10.0(@stripe/stripe-js@7.9.0)(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@stripe/react-stripe-js@3.10.0(@stripe/stripe-js@7.9.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@stripe/stripe-js': 7.9.0 prop-types: 15.8.1 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) '@stripe/stripe-js@7.9.0': {} @@ -7630,11 +7630,11 @@ snapshots: '@tanstack/query-devtools@5.90.1': {} - '@tanstack/react-pacer@0.2.0(react-dom@19.2.0(react@19.1.1))(react@19.1.1)': + '@tanstack/react-pacer@0.2.0(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': dependencies: '@tanstack/pacer': 0.2.0 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) '@tanstack/react-query-devtools@5.90.2(@tanstack/react-query@5.90.5(react@19.2.0))(react@19.2.0)': dependencies: @@ -7642,11 +7642,6 @@ snapshots: '@tanstack/react-query': 5.90.5(react@19.2.0) react: 19.2.0 - '@tanstack/react-query@5.90.5(react@19.1.1)': - dependencies: - '@tanstack/query-core': 5.90.5 - react: 19.1.1 - '@tanstack/react-query@5.90.5(react@19.2.0)': dependencies: '@tanstack/query-core': 5.90.5 @@ -8410,12 +8405,12 @@ snapshots: clsx@2.1.1: {} - cmdk@1.0.0(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1): + cmdk@1.0.0(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0): dependencies: - '@radix-ui/react-dialog': 1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-dialog': 1.0.5(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) transitivePeerDependencies: - '@types/react' - '@types/react-dom' @@ -8590,11 +8585,11 @@ snapshots: electron-to-chromium@1.5.211: {} - embla-carousel-react@8.6.0(react@19.1.1): + embla-carousel-react@8.6.0(react@19.2.0): dependencies: embla-carousel: 8.6.0 embla-carousel-reactive-utils: 8.6.0(embla-carousel@8.6.0) - react: 19.1.1 + react: 19.2.0 embla-carousel-reactive-utils@8.6.0(embla-carousel@8.6.0): dependencies: @@ -9259,12 +9254,12 @@ snapshots: imurmurhash@0.1.4: {} - input-format@0.3.14(react-dom@19.2.0(react@19.1.1))(react@19.1.1): + input-format@0.3.14(react-dom@19.2.0(react@19.2.0))(react@19.2.0): dependencies: prop-types: 15.8.1 optionalDependencies: - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) internal-slot@1.1.0: dependencies: @@ -9586,9 +9581,9 @@ snapshots: dependencies: yallist: 3.1.1 - lucide-react@0.475.0(react@19.1.1): + lucide-react@0.475.0(react@19.2.0): dependencies: - react: 19.1.1 + react: 19.2.0 magic-string@0.30.19: dependencies: @@ -9931,80 +9926,75 @@ snapshots: rambda@7.5.0: {} - react-day-picker@8.10.1(date-fns@4.1.0)(react@19.1.1): + react-day-picker@8.10.1(date-fns@4.1.0)(react@19.2.0): dependencies: date-fns: 4.1.0 - react: 19.1.1 - - react-dom@19.2.0(react@19.1.1): - dependencies: - react: 19.1.1 - scheduler: 0.27.0 + react: 19.2.0 react-dom@19.2.0(react@19.2.0): dependencies: react: 19.2.0 scheduler: 0.27.0 - react-hook-form@7.65.0(react@19.1.1): + react-hook-form@7.65.0(react@19.2.0): dependencies: - react: 19.1.1 + react: 19.2.0 react-is@16.13.1: {} react-is@18.3.1: {} - react-phone-number-input@3.4.12(react-dom@19.2.0(react@19.1.1))(react@19.1.1): + react-phone-number-input@3.4.12(react-dom@19.2.0(react@19.2.0))(react@19.2.0): dependencies: classnames: 2.5.1 country-flag-icons: 1.5.21 - input-format: 0.3.14(react-dom@19.2.0(react@19.1.1))(react@19.1.1) + input-format: 0.3.14(react-dom@19.2.0(react@19.2.0))(react@19.2.0) libphonenumber-js: 1.12.24 prop-types: 15.8.1 - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) react-refresh@0.17.0: {} - react-remove-scroll-bar@2.3.8(@types/react@19.2.2)(react@19.1.1): + react-remove-scroll-bar@2.3.8(@types/react@19.2.2)(react@19.2.0): dependencies: - react: 19.1.1 - react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.2.0) tslib: 2.8.1 optionalDependencies: '@types/react': 19.2.2 - react-remove-scroll@2.5.5(@types/react@19.2.2)(react@19.1.1): + react-remove-scroll@2.5.5(@types/react@19.2.2)(react@19.2.0): dependencies: - react: 19.1.1 - react-remove-scroll-bar: 2.3.8(@types/react@19.2.2)(react@19.1.1) - react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-remove-scroll-bar: 2.3.8(@types/react@19.2.2)(react@19.2.0) + react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.2.0) tslib: 2.8.1 - use-callback-ref: 1.3.3(@types/react@19.2.2)(react@19.1.1) - use-sidecar: 1.1.3(@types/react@19.2.2)(react@19.1.1) + use-callback-ref: 1.3.3(@types/react@19.2.2)(react@19.2.0) + use-sidecar: 1.1.3(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 - react-remove-scroll@2.7.1(@types/react@19.2.2)(react@19.1.1): + react-remove-scroll@2.7.1(@types/react@19.2.2)(react@19.2.0): dependencies: - react: 19.1.1 - react-remove-scroll-bar: 2.3.8(@types/react@19.2.2)(react@19.1.1) - react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.1.1) + react: 19.2.0 + react-remove-scroll-bar: 2.3.8(@types/react@19.2.2)(react@19.2.0) + react-style-singleton: 2.2.3(@types/react@19.2.2)(react@19.2.0) tslib: 2.8.1 - use-callback-ref: 1.3.3(@types/react@19.2.2)(react@19.1.1) - use-sidecar: 1.1.3(@types/react@19.2.2)(react@19.1.1) + use-callback-ref: 1.3.3(@types/react@19.2.2)(react@19.2.0) + use-sidecar: 1.1.3(@types/react@19.2.2)(react@19.2.0) optionalDependencies: '@types/react': 19.2.2 - react-resizable-panels@2.1.9(react-dom@19.2.0(react@19.1.1))(react@19.1.1): + react-resizable-panels@2.1.9(react-dom@19.2.0(react@19.2.0))(react@19.2.0): dependencies: - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) - react-style-singleton@2.2.3(@types/react@19.2.2)(react@19.1.1): + react-style-singleton@2.2.3(@types/react@19.2.2)(react@19.2.0): dependencies: get-nonce: 1.0.1 - react: 19.1.1 + react: 19.2.0 tslib: 2.8.1 optionalDependencies: '@types/react': 19.2.2 @@ -10609,34 +10599,30 @@ snapshots: dependencies: punycode: 2.3.1 - use-callback-ref@1.3.3(@types/react@19.2.2)(react@19.1.1): + use-callback-ref@1.3.3(@types/react@19.2.2)(react@19.2.0): dependencies: - react: 19.1.1 + react: 19.2.0 tslib: 2.8.1 optionalDependencies: '@types/react': 19.2.2 - use-sidecar@1.1.3(@types/react@19.2.2)(react@19.1.1): + use-sidecar@1.1.3(@types/react@19.2.2)(react@19.2.0): dependencies: detect-node-es: 1.1.0 - react: 19.1.1 + react: 19.2.0 tslib: 2.8.1 optionalDependencies: '@types/react': 19.2.2 - use-sync-external-store@1.6.0(react@19.1.1): - dependencies: - react: 19.1.1 - use-sync-external-store@1.6.0(react@19.2.0): dependencies: react: 19.2.0 - vaul@1.1.2(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1): + vaul@1.1.2(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0): dependencies: - '@radix-ui/react-dialog': 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.1.1))(react@19.1.1) - react: 19.1.1 - react-dom: 19.2.0(react@19.1.1) + '@radix-ui/react-dialog': 1.1.15(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) transitivePeerDependencies: - '@types/react' - '@types/react-dom'