import { z } from "zod"; import type { CommerceActionResult as ProtoCommerceActionResult, CommerceAppCapabilities as ProtoCommerceAppCapabilities, CommerceCancelOrderInput as ProtoCommerceCancelOrderInput, CommerceChangeShippingAddressInput as ProtoCommerceChangeShippingAddressInput, CommerceExchangeOrderInput as ProtoCommerceExchangeOrderInput, CommerceGetAppConfigsOutput as ProtoCommerceGetAppConfigsOutput, CommerceGetExchangeableItemsInput as ProtoCommerceGetExchangeableItemsInput, CommerceGetExchangeableItemsOutput as ProtoCommerceGetExchangeableItemsOutput, CommerceExchangeableItem as ProtoCommerceExchangeableItem, CommerceExchangeableVariant as ProtoCommerceExchangeableVariant, CommerceOrderBundleItem as ProtoCommerceOrderBundleItem, CommerceVariantOption as ProtoCommerceVariantOption, CommerceGetOrdersInput as ProtoCommerceGetOrdersInput, CommerceGetOrdersOutput as ProtoCommerceGetOrdersOutput, CommerceGetProductsInput as ProtoCommerceGetProductsInput, CommerceGetProductsOutput as ProtoCommerceGetProductsOutput, CommerceProduct as ProtoCommerceProduct, CommerceProductVariant as ProtoCommerceProductVariant, CommerceIdentifier as ProtoCommerceIdentifier, CommerceOrder as ProtoCommerceOrder, CommerceOrderItem as ProtoCommerceOrderItem, CommerceAcceptReturnOrderInput as ProtoCommerceAcceptReturnOrderInput, CommerceReturnOrderInput as ProtoCommerceReturnOrderInput } from "../gen/channel/app/sdk/v1/extension.js"; type ProtoBacked = T & Proto; export declare const CommerceOrderBundleItemSchema: z.ZodObject<{ productId: z.ZodOptional; variantId: z.ZodOptional; name: z.ZodOptional; sku: z.ZodOptional; option: z.ZodOptional; quantity: z.ZodOptional; amount: z.ZodOptional; optionAmount: z.ZodOptional; supplierId: z.ZodOptional; productCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }>; export type CommerceOrderBundleItem = ProtoBacked, ProtoCommerceOrderBundleItem>; export declare const CommerceOrderItemSchema: 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; }>>; sku: z.ZodOptional; unfulfilledQuantity: z.ZodOptional; requiresShipping: z.ZodOptional; sellingPlanName: z.ZodOptional; sellingPlanId: z.ZodOptional; customAttributes: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>, "many">>; 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">>; statusCode: z.ZodOptional; statusText: z.ZodOptional; claimStatusCode: z.ZodOptional; supplierId: z.ZodOptional; supplierName: z.ZodOptional; optionAmount: z.ZodOptional; bundle: z.ZodOptional; bundleId: z.ZodOptional; bundleName: z.ZodOptional; bundleType: z.ZodOptional; bundleItems: z.ZodOptional; variantId: z.ZodOptional; name: z.ZodOptional; sku: z.ZodOptional; option: z.ZodOptional; quantity: z.ZodOptional; amount: z.ZodOptional; optionAmount: z.ZodOptional; supplierId: z.ZodOptional; productCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }>, "many">>; itemNo: z.ZodOptional; optionType: z.ZodOptional; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; trackingCompanyName: z.ZodOptional; shippingCode: z.ZodOptional; productCode: z.ZodOptional; }, "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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }>; export type CommerceOrderItem = ProtoBacked, ProtoCommerceOrderItem>; export declare const CommerceOrderSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; orderedAt: z.ZodNumber; buyer: 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; }>>; 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; }>>; sku: z.ZodOptional; unfulfilledQuantity: z.ZodOptional; requiresShipping: z.ZodOptional; sellingPlanName: z.ZodOptional; sellingPlanId: z.ZodOptional; customAttributes: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>, "many">>; 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">>; statusCode: z.ZodOptional; statusText: z.ZodOptional; claimStatusCode: z.ZodOptional; supplierId: z.ZodOptional; supplierName: z.ZodOptional; optionAmount: z.ZodOptional; bundle: z.ZodOptional; bundleId: z.ZodOptional; bundleName: z.ZodOptional; bundleType: z.ZodOptional; bundleItems: z.ZodOptional; variantId: z.ZodOptional; name: z.ZodOptional; sku: z.ZodOptional; option: z.ZodOptional; quantity: z.ZodOptional; amount: z.ZodOptional; optionAmount: z.ZodOptional; supplierId: z.ZodOptional; productCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }>, "many">>; itemNo: z.ZodOptional; optionType: z.ZodOptional; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; trackingCompanyName: z.ZodOptional; shippingCode: z.ZodOptional; productCode: z.ZodOptional; }, "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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | 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">>; adminUrl: z.ZodOptional; note: z.ZodOptional; displayFinancialStatus: z.ZodOptional; displayFulfillmentStatus: z.ZodOptional; test: z.ZodOptional; firstOrder: z.ZodOptional; closed: z.ZodOptional; confirmed: z.ZodOptional; taxesIncluded: z.ZodOptional; totalWeight: z.ZodOptional; appName: z.ZodOptional; billingAddress: 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; }>>; customAttributes: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>, "many">>; shippingLines: 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; }>, "many">>; transactions: 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; }>, "many">>; metafields: 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; }>, "many">>; marketId: z.ZodOptional; marketOrderNo: z.ZodOptional; tags: z.ZodOptional>; }, "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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | undefined; }>; export type CommerceOrder = ProtoBacked, ProtoCommerceOrder>; export declare const CommerceIdentifierSchema: z.ZodObject<{ type: z.ZodEnum<["membership", "phone", "email"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>; export type CommerceIdentifier = ProtoBacked, ProtoCommerceIdentifier>; export declare const CommerceGetOrdersInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; searchFilter: z.ZodOptional; since: z.ZodOptional; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { limit?: number | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; searchFilter?: any; since?: string | undefined; }, { limit?: number | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; searchFilter?: any; since?: string | undefined; }>; export type CommerceGetOrdersInput = ProtoBacked, ProtoCommerceGetOrdersInput>; export declare const CommerceGetOrdersOutputSchema: z.ZodObject<{ orders: 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; }>>; 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; }>>; sku: z.ZodOptional; unfulfilledQuantity: z.ZodOptional; requiresShipping: z.ZodOptional; sellingPlanName: z.ZodOptional; sellingPlanId: z.ZodOptional; customAttributes: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>, "many">>; 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">>; statusCode: z.ZodOptional; statusText: z.ZodOptional; claimStatusCode: z.ZodOptional; supplierId: z.ZodOptional; supplierName: z.ZodOptional; optionAmount: z.ZodOptional; bundle: z.ZodOptional; bundleId: z.ZodOptional; bundleName: z.ZodOptional; bundleType: z.ZodOptional; bundleItems: z.ZodOptional; variantId: z.ZodOptional; name: z.ZodOptional; sku: z.ZodOptional; option: z.ZodOptional; quantity: z.ZodOptional; amount: z.ZodOptional; optionAmount: z.ZodOptional; supplierId: z.ZodOptional; productCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }, { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }>, "many">>; itemNo: z.ZodOptional; optionType: z.ZodOptional; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; trackingCompanyName: z.ZodOptional; shippingCode: z.ZodOptional; productCode: z.ZodOptional; }, "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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | 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">>; adminUrl: z.ZodOptional; note: z.ZodOptional; displayFinancialStatus: z.ZodOptional; displayFulfillmentStatus: z.ZodOptional; test: z.ZodOptional; firstOrder: z.ZodOptional; closed: z.ZodOptional; confirmed: z.ZodOptional; taxesIncluded: z.ZodOptional; totalWeight: z.ZodOptional; appName: z.ZodOptional; billingAddress: 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; }>>; customAttributes: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>, "many">>; shippingLines: 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; }>, "many">>; transactions: 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; }>, "many">>; metafields: 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; }>, "many">>; marketId: z.ZodOptional; marketOrderNo: z.ZodOptional; tags: z.ZodOptional>; }, "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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | undefined; }>, "many">>; next: z.ZodOptional; }, "strip", z.ZodTypeAny, { next?: string | undefined; orders?: { 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | undefined; }[] | undefined; }, { next?: string | undefined; orders?: { 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; trackingNumber?: string | undefined; trackingCompany?: string | undefined; trackingCompanyName?: string | undefined; taxLines?: { title?: string | undefined; amount?: number | undefined; rate?: number | undefined; ratePercentage?: number | undefined; }[] | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; unfulfilledQuantity?: number | undefined; requiresShipping?: boolean | undefined; sellingPlanName?: string | undefined; sellingPlanId?: string | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; statusCode?: string | undefined; statusText?: string | undefined; claimStatusCode?: string | undefined; supplierName?: string | undefined; bundle?: boolean | undefined; bundleId?: string | undefined; bundleName?: string | undefined; bundleType?: string | undefined; bundleItems?: { name?: string | undefined; amount?: number | undefined; quantity?: number | undefined; option?: string | undefined; productId?: string | undefined; variantId?: string | undefined; sku?: string | undefined; optionAmount?: number | undefined; supplierId?: string | undefined; productCode?: string | undefined; }[] | undefined; itemNo?: string | undefined; optionType?: string | undefined; shippingCode?: string | undefined; }[]; 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; }; orderedAt: number; confirmed?: boolean | undefined; tags?: string[] | 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; buyer?: { name?: string | undefined; email?: string | undefined; phone?: string | undefined; memberId?: string | undefined; } | undefined; customAttributes?: { key: string; value?: string | undefined; }[] | undefined; adminUrl?: string | undefined; note?: string | undefined; displayFinancialStatus?: string | undefined; displayFulfillmentStatus?: string | undefined; test?: boolean | undefined; firstOrder?: boolean | undefined; closed?: boolean | undefined; taxesIncluded?: boolean | undefined; totalWeight?: number | undefined; appName?: string | undefined; billingAddress?: { 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; shippingLines?: { 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; }[] | undefined; transactions?: { 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; }[] | undefined; metafields?: { key: string; type?: string | undefined; value?: string | undefined; namespace?: string | undefined; }[] | undefined; marketId?: string | undefined; marketOrderNo?: string | undefined; }[] | undefined; }>; export type CommerceGetOrdersOutput = ProtoBacked, ProtoCommerceGetOrdersOutput>; export declare const CommerceAppCapabilitiesSchema: z.ZodObject<{ getOrdersOptions: 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; }>>; requestCancelOrderOptions: 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; }>>; requestReturnOrderOptions: 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; }>>; acceptReturnOrderOptions: 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; }>>; requestExchangeOrderOptions: 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; }>>; changeShippingAddressOptions: 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; }>>; getProductsOptions: 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; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; }, { getOrdersOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; }>; export type CommerceAppCapabilities = ProtoBacked, ProtoCommerceAppCapabilities>; export declare const CommerceGetAppConfigsOutputSchema: z.ZodObject<{ appCapabilities: 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; }>>; requestCancelOrderOptions: 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; }>>; requestReturnOrderOptions: 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; }>>; acceptReturnOrderOptions: 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; }>>; requestExchangeOrderOptions: 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; }>>; changeShippingAddressOptions: 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; }>>; getProductsOptions: 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; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; }, { getOrdersOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { appCapabilities?: { getOrdersOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; } | undefined; }, { appCapabilities?: { getOrdersOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestCancelOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; requestExchangeOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; changeShippingAddressOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; acceptReturnOrderOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; getProductsOptions?: { required?: string[] | undefined; optional?: string[] | undefined; fieldConfigs?: Record | undefined; } | undefined; } | undefined; }>; export type CommerceGetAppConfigsOutput = ProtoBacked, ProtoCommerceGetAppConfigsOutput>; export declare const CommerceResultSchema: z.ZodObject<{ result: z.ZodObject<{ success: z.ZodBoolean; errorMessage: z.ZodOptional; }, "strip", z.ZodTypeAny, { success: boolean; errorMessage?: string | undefined; }, { success: boolean; errorMessage?: string | undefined; }>; }, "strip", z.ZodTypeAny, { result: { success: boolean; errorMessage?: string | undefined; }; }, { result: { success: boolean; errorMessage?: string | undefined; }; }>; export type CommerceActionResult = ProtoBacked, ProtoCommerceActionResult>; export declare const CommerceCancelOrderInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; cancelItems: 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; }>, "many">>; reason: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; description?: string | undefined; }, { type?: string | undefined; description?: string | undefined; }>>; refundBankAccount: z.ZodOptional>; }, "strip", z.ZodTypeAny, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; cancelItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; }, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; cancelItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; }>; export type CommerceCancelOrderInput = ProtoBacked, ProtoCommerceCancelOrderInput>; export declare const CommerceReturnOrderInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; returnItems: 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; }>, "many">>; reason: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; description?: string | undefined; }, { type?: string | undefined; description?: string | undefined; }>>; requestPickup: z.ZodOptional; pickupAddress: 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; }>>; refundBankAccount: z.ZodOptional>; trackingNumber: z.ZodOptional; trackingCompany: z.ZodOptional; defectInfo: z.ZodOptional>; }, "strip", z.ZodTypeAny, { description: string; imageUrls?: string[] | undefined; }, { description: string; imageUrls?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; returnItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; requestPickup?: boolean | undefined; pickupAddress?: { 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; defectInfo?: { description: string; imageUrls?: string[] | undefined; } | undefined; }, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; trackingNumber?: string | undefined; trackingCompany?: string | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; returnItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; requestPickup?: boolean | undefined; pickupAddress?: { 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; defectInfo?: { description: string; imageUrls?: string[] | undefined; } | undefined; }>; export type CommerceReturnOrderInput = ProtoBacked, ProtoCommerceReturnOrderInput>; export declare const CommerceAcceptReturnOrderInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; returnItems: 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; }>, "many">>; reason: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; description?: string | undefined; }, { type?: string | undefined; description?: string | undefined; }>>; refundBankAccount: z.ZodOptional>; pickupCompleted: z.ZodOptional; requestPickup: z.ZodOptional; }, "strip", z.ZodTypeAny, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; returnItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; requestPickup?: boolean | undefined; pickupCompleted?: boolean | undefined; }, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; returnItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; requestPickup?: boolean | undefined; pickupCompleted?: boolean | undefined; }>; export type CommerceAcceptReturnOrderInput = ProtoBacked, ProtoCommerceAcceptReturnOrderInput>; export declare const CommerceExchangeOrderInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; beforeExchangeItems: 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; }>, "many">>; afterExchangeItems: 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; }>, "many">>; reason: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; description?: string | undefined; }, { type?: string | undefined; description?: string | undefined; }>>; requestPickup: z.ZodOptional; pickupAddress: 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; }>>; refundBankAccount: z.ZodOptional>; defectInfo: z.ZodOptional>; }, "strip", z.ZodTypeAny, { description: string; imageUrls?: string[] | undefined; }, { description: string; imageUrls?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; requestPickup?: boolean | undefined; pickupAddress?: { 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; defectInfo?: { description: string; imageUrls?: string[] | undefined; } | undefined; beforeExchangeItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; afterExchangeItems?: { quantity?: number | undefined; productId?: string | undefined; variantId?: string | undefined; }[] | undefined; }, { orderId: string; reason?: { type?: string | undefined; description?: string | undefined; } | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; refundBankAccount?: { bankName: string; accountNo: string; accountHolder: string; } | undefined; requestPickup?: boolean | undefined; pickupAddress?: { 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; defectInfo?: { description: string; imageUrls?: string[] | undefined; } | undefined; beforeExchangeItems?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; afterExchangeItems?: { quantity?: number | undefined; productId?: string | undefined; variantId?: string | undefined; }[] | undefined; }>; export type CommerceExchangeOrderInput = ProtoBacked, ProtoCommerceExchangeOrderInput>; export declare const CommerceGetExchangeableItemsInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; items: 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; }>, "many">>; }, "strip", z.ZodTypeAny, { orderId: string; items?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; }, { orderId: string; items?: { id?: string | undefined; quantity?: number | undefined; fulfillmentId?: string | undefined; }[] | undefined; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; }>; export type CommerceGetExchangeableItemsInput = ProtoBacked, ProtoCommerceGetExchangeableItemsInput>; export declare const CommerceVariantOptionSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; name: string; }, { value: string; name: string; }>; export type CommerceVariantOption = ProtoBacked, ProtoCommerceVariantOption>; export declare const CommerceExchangeableVariantSchema: z.ZodObject<{ id: z.ZodString; additionalAmount: z.ZodNumber; options: z.ZodOptional, "many">>; stockQuantity: z.ZodOptional; useInventory: z.ZodOptional; selling: z.ZodOptional; display: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }>; export type CommerceExchangeableVariant = ProtoBacked, ProtoCommerceExchangeableVariant>; export declare const CommerceExchangeableItemSchema: z.ZodObject<{ id: z.ZodString; productId: z.ZodOptional; variants: z.ZodOptional, "many">>; stockQuantity: z.ZodOptional; useInventory: z.ZodOptional; selling: z.ZodOptional; display: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }, { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }>; export type CommerceExchangeableItem = ProtoBacked, ProtoCommerceExchangeableItem>; export declare const CommerceGetExchangeableItemsOutputSchema: z.ZodObject<{ exchangeableItems: z.ZodOptional; variants: z.ZodOptional, "many">>; stockQuantity: z.ZodOptional; useInventory: z.ZodOptional; selling: z.ZodOptional; display: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }, { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }, { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { exchangeableItems?: { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }[] | undefined; }, { exchangeableItems?: { id: string; productId?: string | undefined; variants?: { id: string; additionalAmount: number; options?: { value: string; name: string; }[] | undefined; display?: boolean | undefined; stockQuantity?: number | undefined; useInventory?: boolean | undefined; selling?: boolean | undefined; }[] | undefined; }[] | undefined; }>; export type CommerceGetExchangeableItemsOutput = ProtoBacked, ProtoCommerceGetExchangeableItemsOutput>; export declare const CommerceChangeShippingAddressInputSchema: z.ZodObject<{ identifier: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "email" | "phone" | "membership"; value: string; }, { type: "email" | "phone" | "membership"; value: string; }>>; orderId: z.ZodString; newAddress: 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; }>; }, "strip", z.ZodTypeAny, { orderId: string; newAddress: { 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; }; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; }, { orderId: string; newAddress: { 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; }; identifier?: { type: "email" | "phone" | "membership"; value: string; } | undefined; }>; export type CommerceChangeShippingAddressInput = ProtoBacked, ProtoCommerceChangeShippingAddressInput>; export declare const CommerceProductVariantSchema: z.ZodObject<{ id: z.ZodString; price: z.ZodNumber; stockQuantity: z.ZodOptional; options: z.ZodOptional, "many">>; sku: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }>; export type CommerceProductVariant = ProtoBacked, ProtoCommerceProductVariant>; export declare const CommerceProductSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; price: z.ZodOptional; originalPrice: z.ZodOptional; currency: z.ZodOptional; state: z.ZodOptional>; imageUrl: z.ZodOptional; images: z.ZodOptional>; productUrl: z.ZodOptional; description: z.ZodOptional; summary: z.ZodOptional; vendor: z.ZodOptional; productType: z.ZodOptional; categories: z.ZodOptional>; tags: z.ZodOptional>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; variants: z.ZodOptional; options: z.ZodOptional, "many">>; sku: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }>, "many">>; productCode: z.ZodOptional; sellerProductCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }, { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }>; export type CommerceProduct = ProtoBacked, ProtoCommerceProduct>; export declare const CommerceGetProductsInputSchema: z.ZodObject<{ searchFilter: z.ZodOptional; since: z.ZodOptional; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { limit?: number | undefined; searchFilter?: any; since?: string | undefined; }, { limit?: number | undefined; searchFilter?: any; since?: string | undefined; }>; export type CommerceGetProductsInput = ProtoBacked, ProtoCommerceGetProductsInput>; export declare const CommerceGetProductsOutputSchema: z.ZodObject<{ products: z.ZodOptional; originalPrice: z.ZodOptional; currency: z.ZodOptional; state: z.ZodOptional>; imageUrl: z.ZodOptional; images: z.ZodOptional>; productUrl: z.ZodOptional; description: z.ZodOptional; summary: z.ZodOptional; vendor: z.ZodOptional; productType: z.ZodOptional; categories: z.ZodOptional>; tags: z.ZodOptional>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; variants: z.ZodOptional; options: z.ZodOptional, "many">>; sku: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }, { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }>, "many">>; productCode: z.ZodOptional; sellerProductCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }, { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }>, "many">>; next: z.ZodOptional; }, "strip", z.ZodTypeAny, { next?: string | undefined; products?: { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }[] | undefined; }, { next?: string | undefined; products?: { name: string; id: string; description?: string | undefined; updatedAt?: number | undefined; imageUrl?: string | undefined; state?: "active" | "inactive" | undefined; images?: string[] | undefined; tags?: string[] | undefined; createdAt?: number | undefined; currency?: string | undefined; productCode?: string | undefined; variants?: { id: string; price: number; options?: { value: string; name: string; }[] | undefined; sku?: string | undefined; stockQuantity?: number | undefined; }[] | undefined; price?: number | undefined; originalPrice?: number | undefined; productUrl?: string | undefined; summary?: string | undefined; vendor?: string | undefined; productType?: string | undefined; categories?: string[] | undefined; sellerProductCode?: string | undefined; }[] | undefined; }>; export type CommerceGetProductsOutput = ProtoBacked, ProtoCommerceGetProductsOutput>; export {}; //# sourceMappingURL=commerce.d.ts.map