@godaddy/react
Version:
The `createCheckoutSession` function creates a new checkout session with GoDaddy's commerce API.
3,593 lines • 120 kB
TypeScript
import { a as DraftOrderTaxesQuery, i as DraftOrderSkusQuery, n as DraftOrderQuery, r as DraftOrderShippingRatesQuery, t as DraftOrderPriceAdjustmentsQuery } from "./checkout-queries-Csm-yxF9.js";
import React from "react";
import { enUs } from "@godaddy/localizations";
import { QueryClient, QueryClientProviderProps } from "@tanstack/react-query";
import * as react_jsx_runtime4 from "react/jsx-runtime";
import * as gql_tada0 from "gql.tada";
import { ResultOf, VariablesOf } from "gql.tada";
//#region src/godaddy-provider.d.ts
declare const queryClient: QueryClient;
type GoDaddyTheme = 'base' | 'orange' | 'purple';
interface CSSVariables {
'font-sans'?: string;
'font-serif'?: string;
'font-mono'?: string;
'default-font-family'?: string;
background?: string;
'secondary-background'?: string;
foreground?: string;
card?: string;
'card-foreground'?: string;
popover?: string;
'popover-foreground'?: string;
primary?: string;
'primary-foreground'?: string;
secondary?: string;
'secondary-foreground'?: string;
muted?: string;
'muted-foreground'?: string;
accent?: string;
'accent-foreground'?: string;
destructive?: string;
'destructive-foreground'?: string;
border?: string;
input?: string;
ring?: string;
radius?: string;
}
type GoDaddyVariables = CSSVariables | {
checkout: CSSVariables;
};
interface GoDaddyAppearance {
theme?: GoDaddyTheme;
variables?: GoDaddyVariables;
}
interface GoDaddyContextValue {
t: typeof enUs;
appearance?: GoDaddyAppearance;
debug?: boolean;
apiHost?: string;
clientId?: string;
storeId?: string;
channelId?: string;
locale?: string;
Link?: React.ComponentType<LinkComponentProps>;
}
interface LinkComponentProps {
href: string;
children: React.ReactNode;
className?: string;
[key: string]: any;
}
declare const useGoDaddyContext: () => GoDaddyContextValue;
interface GoDaddyProviderProps {
localization?: typeof enUs;
appearance?: GoDaddyAppearance;
debug?: boolean;
apiHost?: string;
clientId?: string;
storeId?: string;
channelId?: string;
locale?: string;
queryClient?: QueryClient;
Link?: React.ComponentType<LinkComponentProps>;
children: QueryClientProviderProps['children'];
}
declare function GoDaddyProvider({
localization,
appearance,
debug,
apiHost,
clientId,
storeId,
channelId,
locale,
queryClient: providedQueryClient,
Link,
children
}: GoDaddyProviderProps): react_jsx_runtime4.JSX.Element;
//#endregion
//#region src/lib/godaddy/catalog-storefront-queries.d.ts
declare const SkuGroupsQuery: gql_tada0.TadaDocumentNode<{
skuGroups: {
edges: ({
cursor: string;
node: {
id: string;
name: string;
label: string | null;
description: string | null;
htmlDescription: string | null;
type: string;
priceRange: {
min: number | null;
max: number | null;
} | null;
compareAtPriceRange: {
min: number | null;
max: number | null;
} | null;
mediaObjects: {
edges: ({
node: {
url: string;
type: string | null;
} | null;
} | null)[] | null;
} | null;
attributes: {
edges: ({
node: {
id: string;
name: string;
label: string | null;
description: string | null;
htmlDescription: string | null;
values: {
edges: ({
node: {
id: string;
name: string;
label: string | null;
} | null;
} | null)[] | null;
} | null;
} | null;
} | null)[] | null;
} | null;
skus: {
edges: ({
node: {
id: string;
label: string | null;
name: string;
prices: {
edges: ({
node: {
value: {
currencyCode: string;
};
} | null;
} | null)[] | null;
} | null;
inventoryCounts: {
edges: ({
node: {
id: string;
quantity: number | null;
type: string;
} | null;
} | null)[] | null;
} | null;
} | null;
} | null)[] | null;
} | null;
} | null;
} | null)[] | null;
pageInfo: {
hasNextPage: boolean;
hasPreviousPage: boolean;
startCursor: string | null;
endCursor: string | null;
};
totalCount: number;
} | null;
}, {
label?: {
eq?: string | null | undefined;
contains?: string | null | undefined;
} | null | undefined;
listId?: {
in?: string[] | null | undefined;
eq?: string | null | undefined;
} | null | undefined;
id?: {
in?: string[] | null | undefined;
eq?: string | null | undefined;
} | null | undefined;
after?: string | null | undefined;
first?: number | null | undefined;
}, void>;
declare const SkuGroupQuery: gql_tada0.TadaDocumentNode<{
skuGroup: {
id: string;
name: string;
label: string | null;
description: string | null;
htmlDescription: string | null;
type: string;
priceRange: {
min: number | null;
max: number | null;
} | null;
compareAtPriceRange: {
min: number | null;
max: number | null;
} | null;
mediaObjects: {
edges: ({
node: {
url: string;
type: string | null;
} | null;
} | null)[] | null;
} | null;
attributes: {
edges: ({
node: {
id: string;
name: string;
label: string | null;
description: string | null;
htmlDescription: string | null;
values: {
edges: ({
node: {
id: string;
name: string;
label: string | null;
} | null;
} | null)[] | null;
} | null;
} | null;
} | null)[] | null;
} | null;
skus: {
edges: ({
node: {
id: string;
label: string | null;
name: string;
prices: {
edges: ({
node: {
value: {
currencyCode: string;
};
} | null;
} | null)[] | null;
} | null;
inventoryCounts: {
edges: ({
node: {
id: string;
quantity: number | null;
type: string;
} | null;
} | null)[] | null;
} | null;
} | null;
} | null)[] | null;
} | null;
} | null;
}, {
attributeValues?: string[] | null | undefined;
first?: number | null | undefined;
id: string;
}, void>;
declare const SkuQuery: gql_tada0.TadaDocumentNode<{
sku: {
id: string;
label: string | null;
name: string;
description: string | null;
htmlDescription: string | null;
code: string;
prices: {
edges: ({
node: {
id: string;
value: {
value: number;
currencyCode: string;
};
compareAtValue: {
value: number;
currencyCode: string;
} | null;
} | null;
} | null)[] | null;
} | null;
inventoryCounts: {
edges: ({
node: {
id: string;
quantity: number | null;
type: string;
} | null;
} | null)[] | null;
} | null;
mediaObjects: {
edges: ({
node: {
id: string;
url: string;
type: string | null;
label: string | null;
position: number | null;
} | null;
} | null)[] | null;
} | null;
attributeValues: {
edges: ({
node: {
id: string;
name: string;
label: string | null;
} | null;
} | null)[] | null;
} | null;
} | null;
}, {
id: string;
}, void>;
//#endregion
//#region src/lib/godaddy/checkout-mutations.d.ts
declare const CreateCheckoutSessionMutation: gql_tada0.TadaDocumentNode<{
createCheckoutSession: {
id: string;
token: string | null;
url: string | null;
sourceApp: string | null;
returnUrl: string;
successUrl: string;
storeId: string;
businessId: string | null;
channelId: string;
customerId: string | null;
storeName: string | null;
environment: "dev" | "ote" | "prod" | "test" | null;
enableTips: boolean | null;
tips: {
default: {
amounts: number[] | null;
percentages: number[] | null;
} | null;
thresholds: {
minSubtotal: number | null;
maxSubtotal: number | null;
amounts: number[] | null;
percentages: number[] | null;
}[] | null;
} | null;
enabledLocales: string[] | null;
enableSurcharge: boolean | null;
enableLocalPickup: boolean | null;
enableShipping: boolean | null;
enablePhoneCollection: boolean | null;
enableNotesCollection: boolean | null;
enablePromotionCodes: boolean | null;
enableTaxCollection: boolean | null;
enableShippingAddressCollection: boolean | null;
enableBillingAddressCollection: boolean | null;
enableAddressAutocomplete: boolean | null;
appearance: {
theme: "base" | "orange" | "purple" | null;
variables: {
fontSans: string | null;
fontSerif: string | null;
fontMono: string | null;
defaultFontFamily: string | null;
background: string | null;
secondaryBackground: string | null;
foreground: string | null;
card: string | null;
cardForeground: string | null;
popover: string | null;
popoverForeground: string | null;
primary: string | null;
primaryForeground: string | null;
secondary: string | null;
secondaryForeground: string | null;
muted: string | null;
mutedForeground: string | null;
accent: string | null;
accentForeground: string | null;
destructive: string | null;
destructiveForeground: string | null;
border: string | null;
input: string | null;
ring: string | null;
radius: string | null;
} | null;
} | null;
experimental_rules: {
gopay_override: {
enabled: boolean;
goPayAppId: string;
} | null;
} | null;
shipping: {
originAddress: {
addressLine1: string | null;
addressLine2: string | null;
addressLine3: string | null;
postalCode: string | null;
countryCode: string | null;
adminArea1: string | null;
adminArea2: string | null;
adminArea3: string | null;
adminArea4: string | null;
} | null;
} | null;
paymentMethods: {
card: {
processor: string;
checkoutTypes: string[];
} | null;
ccavenue: {
processor: string;
checkoutTypes: string[];
} | null;
express: {
processor: string;
checkoutTypes: string[];
} | null;
applePay: {
processor: string;
checkoutTypes: string[];
} | null;
googlePay: {
processor: string;
checkoutTypes: string[];
} | null;
paypal: {
processor: string;
checkoutTypes: string[];
} | null;
paze: {
processor: string;
checkoutTypes: string[];
} | null;
offline: {
processor: string;
checkoutTypes: string[];
} | null;
mercadopago: {
processor: string;
checkoutTypes: string[];
} | null;
ach: {
processor: string;
checkoutTypes: string[];
} | null;
} | null;
draftOrder: {
id: string | null;
statuses: {
status: string | null;
} | null;
totals: {
total: {
currencyCode: string | null;
value: number | null;
} | null;
} | null;
} | null;
locations: {
id: string;
isDefault: boolean;
address: {
addressLine1: string | null;
addressLine2: string | null;
addressLine3: string | null;
postalCode: string | null;
countryCode: string | null;
adminArea1: string | null;
adminArea2: string | null;
adminArea3: string | null;
adminArea4: string | null;
};
operatingHours: {
pickupWindowInDays: number;
pickupMode: "asap" | "dateAndTime" | "dateOnly" | null;
leadTime: number;
pickupSlotInterval: number | null;
timeZone: string;
hours: {
monday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
tuesday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
wednesday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
thursday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
friday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
saturday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
sunday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
};
} | null;
}[] | null;
defaultOperatingHours: {
pickupWindowInDays: number;
pickupMode: "asap" | "dateAndTime" | "dateOnly" | null;
leadTime: number;
pickupSlotInterval: number | null;
timeZone: string;
hours: {
monday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
tuesday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
wednesday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
thursday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
friday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
saturday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
sunday: {
enabled: boolean;
openTime: string | null;
closeTime: string | null;
} | null;
};
} | null;
} | null;
}, {
input: {
url?: string | null | undefined;
tips?: {
thresholds?: {
percentages?: number[] | null | undefined;
minSubtotal: number;
maxSubtotal: number;
amounts?: number[] | null | undefined;
}[] | null | undefined;
default?: {
percentages?: number[] | null | undefined;
amounts?: number[] | null | undefined;
} | null | undefined;
} | null | undefined;
taxes?: {
originAddress?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
addressDetails?: {
subBuilding?: string | null | undefined;
streetType?: string | null | undefined;
streetNumber?: string | null | undefined;
streetName?: string | null | undefined;
geoCoordinates?: {
longitude: number;
latitude: number;
} | null | undefined;
deliveryService?: string | null | undefined;
buildingName?: string | null | undefined;
addressType?: string | null | undefined;
} | null | undefined;
} | null | undefined;
} | null | undefined;
successUrl: string;
storeName?: string | null | undefined;
storeId: string;
sourceApp?: string | null | undefined;
shipping?: {
originAddress?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
addressDetails?: {
subBuilding?: string | null | undefined;
streetType?: string | null | undefined;
streetNumber?: string | null | undefined;
streetName?: string | null | undefined;
geoCoordinates?: {
longitude: number;
latitude: number;
} | null | undefined;
deliveryService?: string | null | undefined;
buildingName?: string | null | undefined;
addressType?: string | null | undefined;
} | null | undefined;
} | null | undefined;
fulfillmentLocationId?: string | null | undefined;
} | null | undefined;
returnUrl: string;
paymentMethods?: {
razorpay?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
paze?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
paypal?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
offline?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
mercadopago?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
googlePay?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
express?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
ccavenue?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
card?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
applePay?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
ach?: {
processor: string;
options?: {
title?: string | null | undefined;
instructions?: string | null | undefined;
} | null | undefined;
checkoutTypes: string[];
} | null | undefined;
} | null | undefined;
owner?: string | null | undefined;
operatingHours?: {
default: {
timeZone: string;
pickupWindowInDays: number;
pickupSlotInterval?: number | null | undefined;
pickupMode?: "asap" | "dateAndTime" | "dateOnly" | null | undefined;
leadTime: number;
hours: {
wednesday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
tuesday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
thursday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
sunday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
saturday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
monday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
friday?: {
openTime?: string | null | undefined;
enabled: boolean;
closeTime?: string | null | undefined;
} | null | undefined;
};
};
} | null | undefined;
locations?: {
isDefault: boolean;
id: string;
address: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
addressDetails?: {
subBuilding?: string | null | undefined;
streetType?: string | null | undefined;
streetNumber?: string | null | undefined;
streetName?: string | null | undefined;
geoCoordinates?: {
longitude: number;
latitude: number;
} | null | undefined;
deliveryService?: string | null | undefined;
buildingName?: string | null | undefined;
addressType?: string | null | undefined;
} | null | undefined;
};
}[] | null | undefined;
lineItems?: {
skuId?: string | null | undefined;
quantity: number;
lineItemData?: {
priceData: {
unitAmount: number;
currencyCode: string;
};
name: string;
assetUrl?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
expiresAt?: string | null | undefined;
experimental_rules?: {
gopay_override?: {
goPayAppId: string;
enabled: boolean;
} | null | undefined;
freeShipping?: {
minimumOrderTotal: number;
enabled: boolean;
} | null | undefined;
} | null | undefined;
environment?: "dev" | "ote" | "prod" | "test" | null | undefined;
enabledPaymentProviders?: string[] | null | undefined;
enabledLocales?: string[] | null | undefined;
enableTips?: boolean | null | undefined;
enableTaxCollection?: boolean | null | undefined;
enableSurcharge?: boolean | null | undefined;
enableShippingAddressCollection?: boolean | null | undefined;
enableShipping?: boolean | null | undefined;
enablePromotionCodes?: boolean | null | undefined;
enablePhoneCollection?: boolean | null | undefined;
enablePaymentMethodCollection?: boolean | null | undefined;
enableNotesCollection?: boolean | null | undefined;
enableLocalPickup?: boolean | null | undefined;
enableBillingAddressCollection?: boolean | null | undefined;
enableAddressAutocomplete?: boolean | null | undefined;
draftOrderId?: string | null | undefined;
customerId?: string | null | undefined;
customer?: {
shipping?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
billing?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
} | null | undefined;
channelId?: string | null | undefined;
appearance?: {
variables?: {
secondaryForeground?: string | null | undefined;
secondaryBackground?: string | null | undefined;
secondary?: string | null | undefined;
ring?: string | null | undefined;
radius?: string | null | undefined;
primaryForeground?: string | null | undefined;
primary?: string | null | undefined;
popoverForeground?: string | null | undefined;
popover?: string | null | undefined;
mutedForeground?: string | null | undefined;
muted?: string | null | undefined;
input?: string | null | undefined;
foreground?: string | null | undefined;
fontSerif?: string | null | undefined;
fontSans?: string | null | undefined;
fontMono?: string | null | undefined;
destructiveForeground?: string | null | undefined;
destructive?: string | null | undefined;
defaultFontFamily?: string | null | undefined;
cardForeground?: string | null | undefined;
card?: string | null | undefined;
border?: string | null | undefined;
background?: string | null | undefined;
accentForeground?: string | null | undefined;
accent?: string | null | undefined;
} | null | undefined;
theme?: "base" | "orange" | "purple" | null | undefined;
} | null | undefined;
};
}, void>;
declare const VerifyCheckoutSessionAddressMutation: gql_tada0.TadaDocumentNode<{
verifyAddress: {
addressLine1: string | null;
addressLine2: string | null;
addressLine3: string | null;
postalCode: string | null;
countryCode: string | null;
adminArea1: string | null;
adminArea2: string | null;
adminArea3: string | null;
adminArea4: string | null;
}[] | null;
}, {
input: {
postalCode: string;
countryCode: string;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1: string;
};
}, void>;
declare const UpdateCheckoutSessionDraftOrderMutation: gql_tada0.TadaDocumentNode<{
updateCheckoutSessionDraftOrder: {
id: string | null;
totals: {
discountTotal: {
currencyCode: string | null;
value: number | null;
} | null;
feeTotal: {
currencyCode: string | null;
value: number | null;
} | null;
shippingTotal: {
currencyCode: string | null;
value: number | null;
} | null;
subTotal: {
currencyCode: string | null;
value: number | null;
} | null;
taxTotal: {
currencyCode: string | null;
value: number | null;
} | null;
total: {
currencyCode: string | null;
value: number | null;
} | null;
} | null;
} | null;
}, {
input: {
totals?: {
total: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
shippingTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
taxes?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
included?: boolean | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
additional?: boolean | null | undefined;
}[] | null | undefined;
taxExempted?: boolean | null | undefined;
tags?: string[] | null | undefined;
staffUserIds?: string[] | null | undefined;
shippingLines?: {
totals?: {
taxTotal?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
subTotal?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
} | null | undefined;
taxes?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
included?: boolean | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
requestedService?: string | null | undefined;
requestedProvider?: string | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
id?: string | null | undefined;
fees?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
discounts?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
code?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
shipping?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
notes?: {
shouldNotifyCustomer?: boolean | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
deletedAt?: string | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
lineItems?: {
update?: {
unitAmount?: {
value: number;
currencyCode: string;
} | null | undefined;
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
totals?: {
taxTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
taxes?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
included?: boolean | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
tags?: string[] | null | undefined;
skuId?: string | null | undefined;
shipping?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
serviceStartAt?: string | null | undefined;
serviceEndsAt?: string | null | undefined;
quantity?: number | null | undefined;
productId?: string | null | undefined;
notes?: {
shouldNotifyCustomer?: boolean | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
deletedAt?: string | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
id: string;
fulfillmentMode?: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null | undefined;
fulfillmentChannelId?: string | null | undefined;
fees?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
externalId?: string | null | undefined;
discounts?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
code?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
sku?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
name: string;
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
remove?: string[] | null | undefined;
add?: {
unitAmount: {
value: number;
currencyCode: string;
};
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
totals: {
taxTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
};
taxes?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
included?: boolean | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
tags?: string[] | null | undefined;
skuId?: string | null | undefined;
shipping?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
serviceStartAt?: string | null | undefined;
serviceEndsAt?: string | null | undefined;
quantity: number;
productId?: string | null | undefined;
notes?: {
shouldNotifyCustomer?: boolean | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
deletedAt?: string | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
name: string;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
id?: string | null | undefined;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO";
fulfillmentChannelId?: string | null | undefined;
fees?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
externalId?: string | null | undefined;
discounts?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name: string;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
code?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
sku?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
name: string;
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
} | null | undefined;
fees?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
externalId?: string | null | undefined;
discounts?: {
referenceId?: string | null | undefined;
ratePercentage?: string | null | undefined;
name?: string | null | undefined;
metafields?: {
value: string;
type?: "JSON" | null | undefined;
key: string;
}[] | null | undefined;
id?: string | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
code?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
customerId?: string | null | undefined;
context: {
storeId: string;
channelId: string;
};
cartId?: string | null | undefined;
billing?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode?: string | null | undefined;
countryCode?: string | null | undefined;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
};
}, void>;
declare const CalculateCheckoutSessionTaxesMutation: gql_tada0.TadaDocumentNode<{
calculateCheckoutSessionTaxes: {
totalTaxAmount: {
value: number | null;
currencyCode: string | null;
} | null;
} | null;
}, {
destination?: {
postalCode: string;
countryCode: string;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
}, void>;
declare const ApplyCheckoutSessionDiscountMutation: gql_tada0.TadaDocumentNode<{
applyCheckoutSessionDiscount: {
id: string | null;
lineItems: {
externalId: string | null;
fulfillmentMode: string | null;
id: string;
name: string | null;
productId: string | null;
quantity: number | null;
status: string | null;
tags: string[] | null;
type: string | null;
discounts: {
amount: {
currencyCode: string | null;
value: number | null;
} | null;
appliedBeforeTax: boolean | null;
code: string | null;
id: string | null;
name: string | null;
ratePercentage: string | null;
}[] | null;
fees: {
appliedBeforeTax: boolean | null;
id: string | null;
name: string | null;
ratePercentage: string | null;
}[] | null;
totals: {
discountTotal: {
currencyCode: string | null;
value: number | null;
} | null;
feeTotal: {
currencyCode: string | null;
value: number | null;
} | null;
subTotal: {
currencyCode: string | null;
value: number | null;
} | null;
taxTotal: {
currencyCode: string | null;
value: number | null;
} | null;
} | null;
unitAmount: {
currencyCode: string | null;
value: number | null;
} | null;
}[] | null;
shippingLines: {
id: string | null;
discounts: {
id: string | null;
amount: {
currencyCode: string | null;
value: number | null;
} | null;
appliedBeforeTax: boolean | null;
code: string | null;
}[] | null;
}[] | null;
discounts: {
amount: {
currencyCode: string | null;
value: number | null;
} | null;
appliedBeforeTax: boolean | null;
code: string | null;
id: string | null;
name: string | null;
ratePercentage: string | null;
}[] | null;
totals: {
discountTotal: {
currencyCode: string | null;
value: number | null;
} | null;
total: {
currencyCode: string | null;
value: number | null;
} | null;
} | null;
} | null;
}, {
input: {
discountCodes?: string[] | null | undefined;
};
}, void>;
declare const ConfirmCheckoutSessionMutation: gql_tada0.TadaDocumentNode<{
confirmCheckoutSession: {
status: "ACTIVE" | "CANCELLED" | "COMPLETED" | "CREATED" | "EXPIRED";
} | null;
}, {
sessionId: string;
input: {
tipAmount?: number | null | undefined;
shippingTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
shippingLines?: {
totals: {
taxTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
};
taxes?: {
ratePercentage?: string | null | undefined;
name: string;
included?: boolean | null | undefined;
exempted?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
requestedService?: string | null | undefined;
requestedProvider?: string | null | undefined;
name: string;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
shipping?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode: string;
countryCode: string;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
paymentType: string;
paymentToken: string;
paymentProvider: string;
paymentProcessor?: string | null | undefined;
fundingSourceType?: "CREDIT" | "DEBIT" | "PREPAID" | null | undefined;
fulfillmentStartAt?: string | null | undefined;
fulfillmentLocationId?: string | null | undefined;
fulfillmentEndAt?: string | null | undefined;
expectedFeeTotal?: number | null | undefined;
calculatedTaxes?: {
totalTaxAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
taxAmounts?: {
totalTaxAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
rate?: {
value?: {
percentage?: string | null | undefined;
appliedPercentage?: number | null | undefined;
appliedAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
} | null | undefined;
name?: string | null | undefined;
label?: string | null | undefined;
id?: string | null | undefined;
calculationMethod?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
lines?: {
totalTaxAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
taxAmounts?: {
totalTaxAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
rate?: {
value?: {
percentage?: string | null | undefined;
appliedPercentage?: number | null | undefined;
appliedAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
} | null | undefined;
name?: string | null | undefined;
label?: string | null | undefined;
id?: string | null | undefined;
calculationMethod?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
calculationLine?: {
id?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
} | null | undefined;
calculatedAdjustments?: {
totalFeeAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
totalDiscountAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
lines?: {
totalFeeAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
totalDiscountAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
calculationLine?: {
type?: string | null | undefined;
id?: string | null | undefined;
} | null | undefined;
adjustments?: {
totalAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
adjustment?: {
name?: string | null | undefined;
label?: string | null | undefined;
id?: string | null | undefined;
description?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
}[] | null | undefined;
adjustments?: {
totalAmount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
adjustment?: {
name?: string | null | undefined;
label?: string | null | undefined;
id?: string | null | undefined;
description?: string | null | undefined;
} | null | undefined;
}[] | null | undefined;
} | null | undefined;
billing?: {
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
email?: string | null | undefined;
companyName?: string | null | undefined;
address?: {
postalCode: string;
countryCode: string;
adminArea4?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea1?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
};
}, void>;
declare const ApplyCheckoutSessionShippingMethodMutation: gql_tada0.TadaDocumentNode<{
applyCheckoutSessionShippingMethod: {
status: "ACTIVE" | "CANCELLED" | "COMPLETED" | "CREATED" | "EXPIRED";
draftOrder: {
totals: {
shippingTotal: {
currencyCode: string | null;
value: number | null;
} | null;
} | null;
} | null;
} | null;
}, {
input: {
taxTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
subTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
requestedService?: string | null | undefined;
requestedProvider?: string | null | undefined;
name: string;
}[];
}, void>;
declare const ApplyCheckoutSessionDeliveryMethodMutation: gql_tada0.TadaDocumentNode<{
applyCheckoutSessionDeliveryMethod: {
status: "ACTIVE" | "CANCELLED" | "COMPLETED" | "CREATED" | "EXPIRED";
} | null;
}, {
input: {
mode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO";
};
}, void>;
declare const ApplyCheckoutSessionFulfillmentLocationMutation: gql_tada0.TadaDocumentNode<{
applyCheckoutSessionFulfillmentLocation: {
status: "ACTIVE" | "CANCELLED" | "COMPLETED" | "CREATED" | "EXPIRED";
} | null;
}, {
input: {
fulfillmentLocationId: string;
};
}, void>;
declare const AuthorizeCheckoutSessionMutation: gql_tada0.TadaDocumentNode<{
authorizeCheckoutSession: {
__typename?: "AuthorizeTransaction" | undefined;
transactionRefNum: string | null;
} | {
__typename?: "SaleTransaction" | undefined;
transactionRefNum: string | null;
} | null;
}, {
input: {
tipAmount?: number | null | undefined;
paymentType: string;
paymentToken?: string | null | undefined;
paymentProvider: string;
fundingSourceType?: "CREDIT" | "DEBIT" | "PREPAID" | null | undefined;
expectedFeeTotal?: number | null | undefined;
};
}, void>;
//#endregion
//#region src/lib/godaddy/orders-storefront-mutations.d.ts
declare const AddCartOrderMutation: gql_tada0.TadaDocumentNode<{
addDraftOrder: {
id: string;
customerId: string | null;
createdAt: string | null;
updatedAt: string | null;
context: {
storeId: string | null;
channelId: string | null;
} | null;
lineItems: {
id: string;
name: string | null;
quantity: number | null;
skuId: string | null;
type: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
taxTotal: {
value: number;
currencyCode: string;
} | null;
discountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
} | null;
} | null;
}[] | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
shippingTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
total: {
value: number;
currencyCode: string;
};
} | null;
} | null;
}, {
input: {
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxExempted?: boolean | null | undefined;
tags?: string[] | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
taxes?: {
additional?: boolean | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
shippingLines?: {
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
requestedService?: string | null | undefined;
requestedProvider?: string | null | undefined;
totals: {
subTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
};
name: string;
amount: {
value: number;
currencyCode: string;
};
}[] | null | undefined;
lineItems?: {
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
serviceEndsAt?: string | null | undefined;
serviceStartAt?: string | null | undefined;
tags?: string[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
name: string;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
sku?: string | null | undefined;
} | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
skuId?: string | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
quantity: number;
unitAmount: {
value: number;
currencyCode: string;
};
totals: {
subTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
};
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO";
name: string;
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
externalId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
billing?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
customerId?: string | null | undefined;
totals?: {
total: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
shippingDiscountTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
productDiscountTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
shippingTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
context: {
storeId: string;
channelId: string;
};
cartId?: string | null | undefined;
externalId?: string | null | undefined;
};
}, void>;
declare const AddLineItemBySkuIdMutation: gql_tada0.TadaDocumentNode<{
addLineItemBySkuId: {
id: string;
name: string | null;
quantity: number | null;
skuId: string | null;
type: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null;
details: {
productAssetUrl: string | null;
sku: string | null;
unitOfMeasure: string | null;
selectedOptions: {
attribute: string | null;
values: string[] | null;
}[] | null;
selectedAddons: {
attribute: string | null;
sku: string | null;
values: {
name: string | null;
costAdjustment: {
value: number;
currencyCode: string;
} | null;
}[] | null;
}[] | null;
} | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
taxTotal: {
value: number;
currencyCode: string;
} | null;
discountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
} | null;
} | null;
discounts: {
id: string | null;
name: string | null;
code: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
}[] | null;
taxes: {
id: string | null;
name: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
}[] | null;
createdAt: string | null;
updatedAt: string | null;
} | null;
}, {
input: {
updateQuantity?: boolean | null | undefined;
status: "UNFULFILLED" | "ON_HOLD" | "IN_PROGRESS" | "CONFIRMED" | "AWAITING" | "PARTIALLY_FULFILLED" | "FULFILLED" | "PARTIALLY_RETURNED" | "RETURNED" | "CANCELED" | "DRAFT";
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO";
quantity: number;
fulfillmentChannelId?: string | null | undefined;
name?: string | null | undefined;
details?: {
selectedAddons?: {
values: {
inputValue?: string | null | undefined;
optionValueId?: string | null | undefined;
}[];
optionId: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
} | null | undefined;
skuId: string;
orderId: string;
};
}, void>;
declare const UpdateCartOrderMutation: gql_tada0.TadaDocumentNode<{
updateDraftOrder: {
id: string;
customerId: string | null;
createdAt: string | null;
updatedAt: string | null;
context: {
storeId: string | null;
channelId: string | null;
} | null;
lineItems: {
id: string;
name: string | null;
quantity: number | null;
skuId: string | null;
type: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
taxTotal: {
value: number;
currencyCode: string;
} | null;
discountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
} | null;
} | null;
}[] | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
shippingTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
total: {
value: number;
currencyCode: string;
};
} | null;
} | null;
}, {
input: {
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
cartId?: string | null | undefined;
externalId?: string | null | undefined;
id: string;
tags?: string[] | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
deletedAt?: string | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
taxes?: {
additional?: boolean | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
shippingLines?: {
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
name?: string | null | undefined;
referenceId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
requestedService?: string | null | undefined;
requestedProvider?: string | null | undefined;
totals?: {
subTotal?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
taxTotal?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
} | null | undefined;
name?: string | null | undefined;
amount?: {
value?: number | null | undefined;
currencyCode?: string | null | undefined;
} | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
lineItems?: {
remove?: string[] | null | undefined;
update?: {
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
serviceEndsAt?: string | null | undefined;
serviceStartAt?: string | null | undefined;
tags?: string[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
name: string;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
sku?: string | null | undefined;
} | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
skuId?: string | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
quantity?: number | null | undefined;
totals?: {
subTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
fulfillmentMode?: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null | undefined;
name?: string | null | undefined;
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
fulfillmentChannelId?: string | null | undefined;
externalId?: string | null | undefined;
id: string;
}[] | null | undefined;
add?: {
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
serviceEndsAt?: string | null | undefined;
serviceStartAt?: string | null | undefined;
tags?: string[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
name: string;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
sku?: string | null | undefined;
} | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
skuId?: string | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
quantity: number;
unitAmount: {
value: number;
currencyCode: string;
};
totals: {
subTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
};
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO";
name: string;
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
externalId?: string | null | undefined;
id?: string | null | undefined;
}[] | null | undefined;
} | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
billing?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
customerId?: string | null | undefined;
totals?: {
total: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
shippingDiscountTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
productDiscountTotal?: {
value: number;
currencyCode: string;
} | null | undefined;
shippingTotal: {
value: number;
currencyCode: string;
};
subTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
context: {
storeId: string;
channelId: string;
};
};
}, void>;
declare const DeleteLineItemByIdMutation: gql_tada0.TadaDocumentNode<{
deleteLineItemById: boolean | null;
}, {
orderId: string;
id: string;
}, void>;
declare const ApplyDiscountCodesMutation: gql_tada0.TadaDocumentNode<{
applyDiscountCodes: {
id: string;
discounts: {
id: string | null;
name: string | null;
code: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
appliedBeforeTax: boolean | null;
}[] | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
shippingTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
productDiscountTotal: {
value: number;
currencyCode: string;
} | null;
shippingDiscountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
};
total: {
value: number;
currencyCode: string;
};
} | null;
} | null;
}, {
input: {
discountCodes: string[];
orderId: string;
};
}, void>;
declare const UpdateLineItemByIdMutation: gql_tada0.TadaDocumentNode<{
updateLineItemById: {
id: string;
name: string | null;
quantity: number | null;
skuId: string | null;
type: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null;
details: {
productAssetUrl: string | null;
sku: string | null;
unitOfMeasure: string | null;
} | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
taxTotal: {
value: number;
currencyCode: string;
} | null;
discountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
} | null;
} | null;
updatedAt: string | null;
} | null;
}, {
input: {
orderId: string;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
taxes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
exempted?: boolean | null | undefined;
included?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
fees?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
ratePercentage?: string | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
discounts?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
appliedBeforeTax?: boolean | null | undefined;
ratePercentage?: string | null | undefined;
code?: string | null | undefined;
amount: {
value: number;
currencyCode: string;
};
name: string;
referenceId?: string | null | undefined;
}[] | null | undefined;
serviceEndsAt?: string | null | undefined;
serviceStartAt?: string | null | undefined;
tags?: string[] | null | undefined;
details?: {
unitOfMeasure?: string | null | undefined;
selectedOptions?: {
values: string[];
attribute: string;
}[] | null | undefined;
selectedAddons?: {
values: {
costAdjustment: {
value: number;
currencyCode: string;
};
amountIncreased?: boolean | null | undefined;
amount?: {
value: number;
currencyCode: string;
} | null | undefined;
name: string;
}[];
sku?: string | null | undefined;
attribute: string;
}[] | null | undefined;
productAssetUrl?: string | null | undefined;
sku?: string | null | undefined;
} | null | undefined;
shipping?: {
companyName?: string | null | undefined;
email?: string | null | undefined;
phone?: string | null | undefined;
lastName?: string | null | undefined;
firstName?: string | null | undefined;
address?: {
countryCode?: string | null | undefined;
postalCode?: string | null | undefined;
adminArea1?: string | null | undefined;
adminArea2?: string | null | undefined;
adminArea3?: string | null | undefined;
adminArea4?: string | null | undefined;
addressLine3?: string | null | undefined;
addressLine2?: string | null | undefined;
addressLine1?: string | null | undefined;
} | null | undefined;
} | null | undefined;
skuId?: string | null | undefined;
notes?: {
externalIds?: {
value: string;
type: string;
}[] | null | undefined;
referenceId?: string | null | undefined;
metafields?: {
type?: "JSON" | null | undefined;
value: string;
key: string;
}[] | null | undefined;
createdAt?: string | null | undefined;
content: string;
authorType?: "NONE" | "CUSTOMER" | "MERCHANT" | null | undefined;
author?: string | null | undefined;
}[] | null | undefined;
quantity?: number | null | undefined;
totals?: {
subTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
feeTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
} | null | undefined;
fulfillmentMode?: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null | undefined;
name?: string | null | undefined;
type?: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null | undefined;
fulfillmentChannelId?: string | null | undefined;
externalId?: string | null | undefined;
id: string;
};
}, void>;
//#endregion
//#region src/lib/godaddy/orders-storefront-queries.d.ts
declare const GetCartOrderQuery: gql_tada0.TadaDocumentNode<{
orderById: {
id: string;
customerId: string | null;
createdAt: string | null;
updatedAt: string | null;
context: {
storeId: string | null;
channelId: string | null;
} | null;
lineItems: {
id: string;
name: string | null;
quantity: number | null;
skuId: string | null;
type: "PHYSICAL" | "DIGITAL" | "ALL" | "PAY_LINK" | "SERVICE" | "STAY" | null;
fulfillmentMode: "CURBSIDE" | "DELIVERY" | "DIGITAL" | "DRIVE_THRU" | "FOR_HERE" | "GENERAL_CONTAINER" | "GIFT_CARD" | "NONE" | "NON_LODGING_NRR" | "NON_LODGING_SALE" | "PICKUP" | "PURCHASE" | "QUICK_STAY" | "REGULAR_STAY" | "SHIP" | "TO_GO" | null;
details: {
productAssetUrl: string | null;
sku: string | null;
unitOfMeasure: string | null;
selectedOptions: {
attribute: string | null;
values: string[] | null;
}[] | null;
selectedAddons: {
attribute: string | null;
sku: string | null;
values: {
name: string | null;
costAdjustment: {
value: number;
currencyCode: string;
} | null;
}[] | null;
}[] | null;
} | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
taxTotal: {
value: number;
currencyCode: string;
} | null;
discountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
} | null;
} | null;
discounts: {
id: string | null;
name: string | null;
code: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
}[] | null;
taxes: {
id: string | null;
name: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
}[] | null;
notes: {
id: string | null;
content: string | null;
author: string | null;
authorType: "NONE" | "CUSTOMER" | "MERCHANT" | null;
}[] | null;
}[] | null;
totals: {
subTotal: {
value: number;
currencyCode: string;
} | null;
shippingTotal: {
value: number;
currencyCode: string;
};
taxTotal: {
value: number;
currencyCode: string;
};
discountTotal: {
value: number;
currencyCode: string;
};
productDiscountTotal: {
value: number;
currencyCode: string;
} | null;
shippingDiscountTotal: {
value: number;
currencyCode: string;
} | null;
feeTotal: {
value: number;
currencyCode: string;
};
total: {
value: number;
currencyCode: string;
};
} | null;
discounts: {
id: string | null;
name: string | null;
code: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
appliedBeforeTax: boolean | null;
}[] | null;
taxes: {
id: string | null;
name: string | null;
amount: {
value: number;
currencyCode: string;
} | null;
ratePercentage: string | null;
included: boolean | null;
exempted: boolean | null;
}[] | null;
shipping: {
firstName: string | null;
lastName: string | null;
email: string | null;
phone: string | null;
companyName: string | null;
address: {
addressLine1: string | null;
addressLine2: string | null;
addressLine3: string | null;
adminArea1: string | null;
adminArea2: string | null;
adminArea3: string | null;
adminArea4: string | null;
postalCode: string | null;
countryCode: string | null;
} | null;
} | null;
notes: {
id: string | null;
content: string | null;
author: string | null;
authorType: "NONE" | "CUSTOMER" | "MERCHANT" | null;
createdAt: string | null;
}[] | null;
tags: string[] | null;
} | null;
}, {
id: string;
}, void>;
//#endregion
//#region src/types.d.ts
declare const PaymentProvider: {
readonly STRIPE: "stripe";
readonly GOOGLE: "google";
readonly GODADDY: "godaddy";
readonly APPLE: "apple";
readonly SQUARE: "square";
readonly PAYPAL: "paypal";
readonly PAZE: "paze";
readonly OFFLINE: "offline";
readonly MERCADOPAGO: "mercadopago";
readonly CCAVENUE: "ccavenue";
};
declare const CheckoutType: {
EXPRESS: string;
STANDARD: string;
};
type AvailablePaymentProviders = (typeof PaymentProvider)[keyof typeof PaymentProvider];
declare const PaymentMethodType: {
readonly CREDIT_CARD: "card";
readonly ACH: "ach";
readonly EXPRESS: "express";
readonly PAYPAL: "paypal";
readonly APPLE_PAY: "applePay";
readonly GOOGLE_PAY: "googlePay";
readonly OFFLINE: "offline";
readonly PAZE: "paze";
readonly MERCADOPAGO: "mercadopago";
readonly CCAVENUE: "ccavenue";
};
type PaymentMethodKey = keyof typeof PaymentMethodType;
type PaymentMethodValue = (typeof PaymentMethodType)[keyof typeof PaymentMethodType];
type PaymentMethodConfig = {
type: PaymentMethodValue;
processor: AvailablePaymentProviders;
checkoutTypes: Array<(typeof CheckoutType)[keyof typeof CheckoutType]>;
};
type PaymentMethods = { [K in PaymentMethodKey]: PaymentMethodConfig | null };
type CheckoutSessionAuth = {
personalAccessToken: string;
clientId?: never;
clientSecret?: never;
} | {
clientId: string;
clientSecret: string;
personalAccessToken?: never;
};
interface CheckoutSessionOptions {
auth?: CheckoutSessionAuth;
}
type $Values<T> = T[keyof T];
type CheckoutSession = CheckoutSessionResult & CheckoutSessionOptions;
type CheckoutSessionResult = ResultOf<typeof CreateCheckoutSessionMutation>['createCheckoutSession'];
type CheckoutSessionInput = VariablesOf<typeof CreateCheckoutSessionMutation>;
type DraftOrderSession = ResultOf<typeof DraftOrderQuery>;
type DraftOrder = NonNullable<NonNullable<ResultOf<typeof DraftOrderQuery>['checkoutSession']>['draftOrder']>;
type Totals = NonNullable<NonNullable<NonNullable<ResultOf<typeof DraftOrderQuery>['checkoutSession']>['draftOrder']>['totals']>;
type ShippingLines = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof DraftOrderQuery>['checkoutSession']>['draftOrder']>['shippingLines']>[number]>;
type UpdateDraftOrderInput = VariablesOf<typeof UpdateCheckoutSessionDraftOrderMutation>;
type ApplyCheckoutSessionDiscountInput = VariablesOf<typeof ApplyCheckoutSessionDiscountMutation>;
type ApplyCheckoutSessionShippingMethodInput = VariablesOf<typeof ApplyCheckoutSessionShippingMethodMutation>;
type ApplyCheckoutSessionDeliveryMethodInput = VariablesOf<typeof ApplyCheckoutSessionDeliveryMethodMutation>;
type ApplyCheckoutSessionFulfillmentLocationInput = VariablesOf<typeof ApplyCheckoutSessionFulfillmentLocationMutation>;
type CalculateCheckoutSessionTaxesInput = VariablesOf<typeof CalculateCheckoutSessionTaxesMutation>;
type MutationVerifyAddress = ResultOf<typeof VerifyCheckoutSessionAddressMutation>;
type ConfirmCheckoutMutationInput = VariablesOf<typeof ConfirmCheckoutSessionMutation>;
type AuthorizeCheckoutSessionInput = VariablesOf<typeof AuthorizeCheckoutSessionMutation>;
type GetCheckoutSessionShippingRatesInput = VariablesOf<typeof DraftOrderShippingRatesQuery>;
type DraftOrderPriceAdjustmentsQueryInput = VariablesOf<typeof DraftOrderPriceAdjustmentsQuery>;
type CalculatedAdjustments = NonNullable<ConfirmCheckoutMutationInput['input']['calculatedAdjustments']>;
type CalculatedTaxes = NonNullable<ConfirmCheckoutMutationInput['input']['calculatedTaxes']>;
type GetCheckoutSessionTaxesInput = VariablesOf<typeof DraftOrderTaxesQuery>;
type ShippingMethod = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof DraftOrderShippingRatesQuery>['checkoutSession']>['draftOrder']>['calculatedShippingRates']>['rates']>[number];
type Address = NonNullable<MutationVerifyAddress['verifyAddress']>[number];
type StoreHours = NonNullable<NonNullable<CheckoutSession>['locations']>[number]['operatingHours'];
type CheckoutSessionLocation = NonNullable<NonNullable<CheckoutSession>['locations']>[number];
type SKUProduct = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof DraftOrderSkusQuery>['checkoutSession']>['skus']>['edges']>[number]>['node'];
type SkuGroupsInput = VariablesOf<typeof SkuGroupsQuery>;
type SkuGroupInput = VariablesOf<typeof SkuGroupQuery>;
type SKUGroup = NonNullable<ResultOf<typeof SkuGroupQuery>['skuGroup']>;
type SKUGroupAttribute = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuGroupQuery>['skuGroup']>['attributes']>['edges']>[number]>['node'];
type SKUGroupAttributeValue = NonNullable<NonNullable<NonNullable<NonNullable<NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuGroupQuery>['skuGroup']>['attributes']>['edges']>[number]>['node']>['values']>['edges']>[number]>['node'];
type SKUGroupSKU = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuGroupQuery>['skuGroup']>['skus']>['edges']>[number]>['node'];
type SkuInput = VariablesOf<typeof SkuQuery>;
type SKU = NonNullable<ResultOf<typeof SkuQuery>['sku']>;
type SKUPrice = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuQuery>['sku']>['prices']>['edges']>[number]>['node'];
type SKUInventoryCount = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuQuery>['sku']>['inventoryCounts']>['edges']>[number]>['node'];
type SKUMedia = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuQuery>['sku']>['mediaObjects']>['edges']>[number]>['node'];
type SKUAttributeValue = NonNullable<NonNullable<NonNullable<NonNullable<ResultOf<typeof SkuQuery>['sku']>['attributeValues']>['edges']>[number]>['node'];
type AddCartOrderInput = VariablesOf<typeof AddCartOrderMutation>['input'];
type AddLineItemBySkuIdInput = VariablesOf<typeof AddLineItemBySkuIdMutation>['input'];
type UpdateCartOrderInput = VariablesOf<typeof UpdateCartOrderMutation>['input'];
type UpdateLineItemByIdInput = VariablesOf<typeof UpdateLineItemByIdMutation>['input'];
type DeleteLineItemByIdInput = VariablesOf<typeof DeleteLineItemByIdMutation>;
type ApplyDiscountCodesInput = VariablesOf<typeof ApplyDiscountCodesMutation>['input'];
type CartOrder = NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>;
type CartLineItem = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['lineItems']>[number];
type CartOrderTotals = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['totals']>;
type CartLineItemTotals = NonNullable<NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['lineItems']>[number]['totals']>;
type CartDiscount = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['discounts']>[number];
type CartTax = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['taxes']>[number];
type CartShippingInfo = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['shipping']>;
type CartNote = NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['notes']>[number];
type CartLineItemDetails = NonNullable<NonNullable<NonNullable<ResultOf<typeof GetCartOrderQuery>['orderById']>['lineItems']>[number]['details']>;
//#endregion
export { SKUPrice as $, CheckoutType as A, PaymentMethodKey as B, CartTax as C, CheckoutSessionLocation as D, CheckoutSessionInput as E, DraftOrderSession as F, SKU as G, PaymentMethodValue as H, GetCheckoutSessionShippingRatesInput as I, SKUGroupAttribute as J, SKUAttributeValue as K, GetCheckoutSessionTaxesInput as L, DeleteLineItemByIdInput as M, DraftOrder as N, CheckoutSessionOptions as O, DraftOrderPriceAdjustmentsQueryInput as P, SKUMedia as Q, MutationVerifyAddress as R, CartShippingInfo as S, CheckoutSessionAuth as T, PaymentMethods as U, PaymentMethodType as V, PaymentProvider as W, SKUGroupSKU as X, SKUGroupAttributeValue as Y, SKUInventoryCount as Z, CartLineItemDetails as _, LinkComponentProps as _t, ApplyCheckoutSessionDeliveryMethodInput as a, SkuInput as at, CartOrder as b, ApplyCheckoutSessionShippingMethodInput as c, UpdateCartOrderInput as ct, AvailablePaymentProviders as d, CSSVariables as dt, SKUProduct as et, CalculateCheckoutSessionTaxesInput as f, GoDaddyAppearance as ft, CartLineItem as g, GoDaddyVariables as gt, CartDiscount as h, GoDaddyTheme as ht, Address as i, SkuGroupsInput as it, ConfirmCheckoutMutationInput as j, CheckoutSessionResult as k, ApplyDiscountCodesInput as l, UpdateDraftOrderInput as lt, CalculatedTaxes as m, GoDaddyProviderProps as mt, AddCartOrderInput as n, ShippingMethod as nt, ApplyCheckoutSessionDiscountInput as o, StoreHours as ot, CalculatedAdjustments as p, GoDaddyProvider as pt, SKUGroup as q, AddLineItemBySkuIdInput as r, SkuGroupInput as rt, ApplyCheckoutSessionFulfillmentLocationInput as s, Totals as st, $Values as t, ShippingLines as tt, AuthorizeCheckoutSessionInput as u, UpdateLineItemByIdInput as ut, CartLineItemTotals as v, queryClient as vt, CheckoutSession as w, CartOrderTotals as x, CartNote as y, useGoDaddyContext as yt, PaymentMethodConfig as z };