import { type Order } from "https://deno.land/x/netzo@v0.2.19/apis/shopifyadmin/types.ts";
Properties
customer: Customer
fulfillments: Array<{ id: number; admin_graphql_api_id: string; created_at: string; location_id: number; name: string; order_id: number; origin_address: { }; receipt: { testcase: boolean; authorization: string; }; service: string; shipment_status: any; status: string; tracking_company: string; tracking_number: string; tracking_numbers: Array<string>; tracking_url: string; tracking_urls: Array<string>; updated_at: string; line_items: Array<{ id: number; admin_graphql_api_id: string; fulfillable_quantity: number; fulfillment_service: string; fulfillment_status: any; gift_card: boolean; grams: number; name: string; price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; product_exists: boolean; product_id: number; properties: Array<{ name: string; value: string; }>; quantity: number; requires_shipping: boolean; sku: string; taxable: boolean; title: string; total_discount: string; total_discount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; variant_id: number; variant_inventory_management: string; variant_title: string; vendor: any; tax_lines: Array<{ price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; rate: number; title: string; }>; duties: Array<any>; discount_allocations: Array<{ amount: string; amount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; discount_application_index: number; }>; }>; }>
line_items: Array<{ id: number; admin_graphql_api_id: string; fulfillable_quantity: number; fulfillment_service: string; fulfillment_status: any; gift_card: boolean; grams: number; name: string; price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; product_exists: boolean; product_id: number; properties: Array<{ name: string; value: string; }>; quantity: number; requires_shipping: boolean; sku: string; taxable: boolean; title: string; total_discount: string; total_discount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; variant_id: number; variant_inventory_management: string; variant_title: string; vendor: any; tax_lines: Array<{ price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; rate: number; title: string; }>; duties: Array<any>; discount_allocations: Array<{ amount: string; amount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; discount_application_index: number; }>; }>
refunds: Array<{ id: number; admin_graphql_api_id: string; created_at: string; note: string; order_id: number; processed_at: string; restock: boolean; total_duties_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; user_id: number; order_adjustments: Array<any>; transactions: Array<{ id: number; admin_graphql_api_id: string; amount: string; authorization: string; created_at: string; currency: string; device_id: any; error_code: any; gateway: string; kind: string; location_id: any; message: any; order_id: number; parent_id: number; processed_at: string; receipt: { }; source_name: string; status: string; test: boolean; user_id: any; }>; refund_line_items: Array<{ id: number; line_item_id: number; location_id: number; quantity: number; restock_type: string; subtotal: number; subtotal_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; total_tax: number; total_tax_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; line_item: { id: number; admin_graphql_api_id: string; fulfillable_quantity: number; fulfillment_service: string; fulfillment_status: any; gift_card: boolean; grams: number; name: string; price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; product_exists: boolean; product_id: number; properties: Array<{ name: string; value: string; }>; quantity: number; requires_shipping: boolean; sku: string; taxable: boolean; title: string; total_discount: string; total_discount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; variant_id: number; variant_inventory_management: string; variant_title: string; vendor: any; tax_lines: Array<{ price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; rate: number; title: string; }>; duties: Array<any>; discount_allocations: Array<{ amount: string; amount_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; discount_application_index: number; }>; }; }>; duties: Array<any>; }>
shipping_lines: Array<{ id: number; carrier_identifier: any; code: string; delivery_category: any; discounted_price: string; discounted_price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; phone: any; price: string; price_set: { shop_money: { amount: string; currency_code: string; }; presentment_money: { amount: string; currency_code: string; }; }; requested_fulfillment_service_id: any; source: string; title: string; tax_lines: Array<any>; discount_allocations: Array<any>; }>