import { z } from "zod"; import type { Buyer as ProtoBuyer, Order as ProtoOrder, OrderAddress as ProtoAddress, OrderAppCapabilities as ProtoAppCapabilities, OrderBankAccount as ProtoBankAccount, OrderClaim as ProtoClaim, OrderClaimability as ProtoClaimability, OrderClaimItem as ProtoOrderClaimItem, OrderClaimReason as ProtoClaimReason, OrderDefectInfo as ProtoDefectInfo, OrderExchangeItem as ProtoOrderExchangeItem, OrderFieldConfig as ProtoFieldConfig, OrderFulfillment as ProtoFulfillment, OrderFulfillmentItem as ProtoOrderFulfillmentItem, OrderItem as ProtoOrderItem, OrderAttribute as ProtoOrderAttribute, OrderMetafield as ProtoOrderMetafield, OrderOperationOptions as ProtoOperationOptions, OrderPayment as ProtoPayment, OrderShippingLine as ProtoOrderShippingLine, OrderTaxLine as ProtoOrderTaxLine, OrderTransaction as ProtoOrderTransaction } from "../gen/channel/app/sdk/v1/extension.js"; type ProtoBacked = T & Proto; export declare const BuyerSchema: z.ZodObject<{ memberId: z.ZodOptional; email: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; }, { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; }>; export type Buyer = ProtoBacked, ProtoBuyer>; export declare const AddressSchema: z.ZodObject<{ firstName: z.ZodOptional; lastName: z.ZodOptional; phoneNumber: z.ZodOptional; email: z.ZodOptional; cellPhoneNumber: z.ZodOptional; zipcode: z.ZodOptional; address1: z.ZodOptional; address2: z.ZodOptional; shippingMessage: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; province: z.ZodOptional; countryCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; }, { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; }>; export type Address = ProtoBacked, ProtoAddress>; export declare const BankAccountSchema: z.ZodObject<{ bankName: z.ZodString; accountNo: z.ZodString; accountHolder: z.ZodString; }, "strip", z.ZodTypeAny, { bankName: string; accountNo: string; accountHolder: string; }, { bankName: string; accountNo: string; accountHolder: string; }>; export type BankAccount = ProtoBacked, ProtoBankAccount>; export declare const DefectInfoSchema: z.ZodObject<{ description: z.ZodString; imageUrls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { description: string; imageUrls?: string[] | undefined; }, { description: string; imageUrls?: string[] | undefined; }>; export type DefectInfo = ProtoBacked, ProtoDefectInfo>; export declare const ClaimReasonSchema: z.ZodObject<{ type: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; description?: string | undefined; }, { type?: string | undefined; description?: string | undefined; }>; export type ClaimReason = ProtoBacked, ProtoClaimReason>; export declare const ClaimabilitySchema: z.ZodObject<{ cancelable: z.ZodOptional; returnable: z.ZodOptional; exchangeable: z.ZodOptional; shippingAddressChangeable: z.ZodOptional; nonCancelableReason: z.ZodOptional; nonReturnableReason: z.ZodOptional; nonExchangeableReason: z.ZodOptional; nonShippingAddressChangeableReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }>; export type Claimability = ProtoBacked, ProtoClaimability>; export declare const ClaimSchema: z.ZodObject<{ id: z.ZodString; extClaimId: z.ZodOptional; type: z.ZodString; state: z.ZodString; itemIds: z.ZodArray; createdAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }, { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }>; export type Claim = ProtoBacked, ProtoClaim>; export declare const OrderItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodOptional; amount: z.ZodNumber; quantity: z.ZodNumber; option: z.ZodOptional; productId: z.ZodOptional; variantId: z.ZodOptional; state: z.ZodString; shippedAt: z.ZodOptional; deliveredAt: z.ZodOptional; estimatedShipDate: z.ZodOptional; claimability: z.ZodOptional; returnable: z.ZodOptional; exchangeable: z.ZodOptional; shippingAddressChangeable: z.ZodOptional; nonCancelableReason: z.ZodOptional; nonReturnableReason: z.ZodOptional; nonExchangeableReason: z.ZodOptional; nonShippingAddressChangeableReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }, { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }>; export type OrderItem = ProtoBacked, ProtoOrderItem>; export declare const OrderClaimItemSchema: z.ZodObject<{ id: z.ZodOptional; quantity: z.ZodOptional; fulfillmentId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }, { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }>; export type OrderClaimItem = ProtoBacked, ProtoOrderClaimItem>; export declare const OrderExchangeItemSchema: z.ZodObject<{ productId: z.ZodOptional; variantId: z.ZodOptional; quantity: z.ZodOptional; }, "strip", z.ZodTypeAny, { quantity?: number | undefined; productId?: string | undefined; variantId?: string | undefined; }, { quantity?: number | undefined; productId?: string | undefined; variantId?: string | undefined; }>; export type OrderExchangeItem = ProtoBacked, ProtoOrderExchangeItem>; export declare const PaymentSchema: z.ZodObject<{ state: z.ZodString; currency: z.ZodString; totalAmount: z.ZodNumber; itemsAmount: z.ZodOptional; shippingAmount: z.ZodOptional; discountAmount: z.ZodOptional; methods: z.ZodOptional>; requireRefundBankAccount: z.ZodOptional; taxAmount: z.ZodOptional; pointAmount: z.ZodOptional; creditAmount: z.ZodOptional; couponDiscountAmount: z.ZodOptional; dueAmount: z.ZodOptional; }, "strip", z.ZodTypeAny, { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }, { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }>; export type Payment = ProtoBacked, ProtoPayment>; export declare const FulfillmentItemSchema: z.ZodObject<{ itemId: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { itemId: string; state?: string | undefined; }, { itemId: string; state?: string | undefined; }>; export type FulfillmentItem = ProtoBacked, ProtoOrderFulfillmentItem>; export declare const FulfillmentSchema: z.ZodObject<{ id: z.ZodString; state: z.ZodString; itemIds: z.ZodArray; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; trackingUrl: z.ZodOptional; estimatedDeliveryDate: z.ZodOptional; trackingCompanyName: z.ZodOptional; items: z.ZodOptional; }, "strip", z.ZodTypeAny, { itemId: string; state?: string | undefined; }, { itemId: string; state?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }, { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }>; export type Fulfillment = ProtoBacked, ProtoFulfillment>; export declare const TaxLineSchema: z.ZodObject<{ rate: z.ZodOptional; ratePercentage: z.ZodOptional; title: z.ZodOptional; amount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }, { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }>; export type TaxLine = ProtoBacked, ProtoOrderTaxLine>; export declare const OrderAttributeSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>; export type OrderAttribute = ProtoBacked, ProtoOrderAttribute>; export declare const ShippingLineSchema: z.ZodObject<{ id: z.ZodOptional; title: z.ZodOptional; code: z.ZodOptional; carrierIdentifier: z.ZodOptional; taxLines: z.ZodOptional; ratePercentage: z.ZodOptional; title: z.ZodOptional; amount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }, { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { code?: string | undefined; id?: string | undefined; title?: string | undefined; carrierIdentifier?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; }, { code?: string | undefined; id?: string | undefined; title?: string | undefined; carrierIdentifier?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; }>; export type ShippingLine = ProtoBacked, ProtoOrderShippingLine>; export declare const TransactionSchema: z.ZodObject<{ id: z.ZodOptional; parentId: z.ZodOptional; kind: z.ZodOptional; status: z.ZodOptional; gateway: z.ZodOptional; manualPaymentGateway: z.ZodOptional; amount: z.ZodOptional; currency: z.ZodOptional; createdAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: string | undefined; id?: string | undefined; kind?: string | undefined; createdAt?: number | undefined; amount?: number | undefined; currency?: string | undefined; parentId?: string | undefined; gateway?: string | undefined; manualPaymentGateway?: boolean | undefined; }, { status?: string | undefined; id?: string | undefined; kind?: string | undefined; createdAt?: number | undefined; amount?: number | undefined; currency?: string | undefined; parentId?: string | undefined; gateway?: string | undefined; manualPaymentGateway?: boolean | undefined; }>; export type Transaction = ProtoBacked, ProtoOrderTransaction>; export declare const MetafieldSchema: z.ZodObject<{ namespace: z.ZodOptional; key: z.ZodString; value: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }, { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }>; export type Metafield = ProtoBacked, ProtoOrderMetafield>; export declare const OrderSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; createdAt: z.ZodNumber; items: z.ZodArray; amount: z.ZodNumber; quantity: z.ZodNumber; option: z.ZodOptional; productId: z.ZodOptional; variantId: z.ZodOptional; state: z.ZodString; shippedAt: z.ZodOptional; deliveredAt: z.ZodOptional; estimatedShipDate: z.ZodOptional; claimability: z.ZodOptional; returnable: z.ZodOptional; exchangeable: z.ZodOptional; shippingAddressChangeable: z.ZodOptional; nonCancelableReason: z.ZodOptional; nonReturnableReason: z.ZodOptional; nonExchangeableReason: z.ZodOptional; nonShippingAddressChangeableReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }, { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }, { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }>, "many">; payment: z.ZodObject<{ state: z.ZodString; currency: z.ZodString; totalAmount: z.ZodNumber; itemsAmount: z.ZodOptional; shippingAmount: z.ZodOptional; discountAmount: z.ZodOptional; methods: z.ZodOptional>; requireRefundBankAccount: z.ZodOptional; taxAmount: z.ZodOptional; pointAmount: z.ZodOptional; creditAmount: z.ZodOptional; couponDiscountAmount: z.ZodOptional; dueAmount: z.ZodOptional; }, "strip", z.ZodTypeAny, { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }, { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }>; fulfillments: z.ZodOptional; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; trackingUrl: z.ZodOptional; estimatedDeliveryDate: z.ZodOptional; trackingCompanyName: z.ZodOptional; items: z.ZodOptional; }, "strip", z.ZodTypeAny, { itemId: string; state?: string | undefined; }, { itemId: string; state?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }, { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }>, "many">>; shippingAddress: z.ZodOptional; lastName: z.ZodOptional; phoneNumber: z.ZodOptional; email: z.ZodOptional; cellPhoneNumber: z.ZodOptional; zipcode: z.ZodOptional; address1: z.ZodOptional; address2: z.ZodOptional; shippingMessage: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; province: z.ZodOptional; countryCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; }, { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; }>>; claims: z.ZodOptional; type: z.ZodString; state: z.ZodString; itemIds: z.ZodArray; createdAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }, { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; title: string; items: { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }[]; createdAt: number; payment: { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }; fulfillments?: { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }[] | undefined; shippingAddress?: { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; } | undefined; claims?: { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }[] | undefined; }, { id: string; title: string; items: { name: string; id: string; state: string; amount: number; quantity: number; imageUrl?: string | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; shippedAt?: number | undefined; deliveredAt?: number | undefined; estimatedShipDate?: number | undefined; claimability?: { cancelable?: boolean | undefined; returnable?: boolean | undefined; exchangeable?: boolean | undefined; shippingAddressChangeable?: boolean | undefined; nonCancelableReason?: string | undefined; nonReturnableReason?: string | undefined; nonExchangeableReason?: string | undefined; nonShippingAddressChangeableReason?: string | undefined; } | undefined; }[]; createdAt: number; payment: { state: string; currency: string; totalAmount: number; itemsAmount?: number | undefined; shippingAmount?: number | undefined; discountAmount?: number | undefined; methods?: string[] | undefined; requireRefundBankAccount?: boolean | undefined; taxAmount?: number | undefined; pointAmount?: number | undefined; creditAmount?: number | undefined; couponDiscountAmount?: number | undefined; dueAmount?: number | undefined; }; fulfillments?: { id: string; state: string; itemIds: string[]; items?: { itemId: string; state?: string | undefined; }[] | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingUrl?: string | undefined; estimatedDeliveryDate?: number | undefined; trackingCompanyName?: string | undefined; }[] | undefined; shippingAddress?: { email?: string | undefined; countryCode?: string | undefined; address1?: string | undefined; address2?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phoneNumber?: string | undefined; cellPhoneNumber?: string | undefined; zipcode?: string | undefined; shippingMessage?: string | undefined; country?: string | undefined; city?: string | undefined; province?: string | undefined; } | undefined; claims?: { type: string; id: string; state: string; itemIds: string[]; extClaimId?: string | undefined; createdAt?: number | undefined; }[] | undefined; }>; export type Order = ProtoBacked, ProtoOrder>; export declare const FieldConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"enum">; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>; export type FieldConfig = ProtoBacked, ProtoFieldConfig>; export declare const OperationOptionsSchema: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; export type OperationOptions = ProtoBacked, ProtoOperationOptions>; export declare const AppCapabilitiesSchema: z.ZodObject<{ getOrdersOptions: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; cancelOrderOptions: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; returnOrderOptions: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; exchangeOrderOptions: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; changeAddressOptions: z.ZodObject<{ required: z.ZodOptional>; optional: z.ZodOptional>; fieldConfigs: z.ZodOptional; allowedValues: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "enum"; allowedValues: { value: string; label: string; }[]; }, { type: "enum"; allowedValues: { value: string; label: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"freeform">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "freeform"; description?: string | undefined; }, { type: "freeform"; description?: string | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }, { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }>; }, "strip", z.ZodTypeAny, { getOrdersOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; cancelOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; returnOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; exchangeOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; changeAddressOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; }, { getOrdersOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; cancelOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; returnOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; exchangeOrderOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; changeAddressOptions: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; }; }>; export type AppCapabilities = ProtoBacked, ProtoAppCapabilities>; export {}; //# sourceMappingURL=order.d.ts.map