export interface PlaceRmaRequestItemInput { order_item_id: number; qty: number; reason: number; condition: number; resolution: number; return: number; } export interface PlaceRmaRequestInput { order_id: number; return_items: PlaceRmaRequestItemInput[]; comment?: string; policy_allowed?: boolean; custom_fields?: AmRmaCustomFieldInput[]; } export interface AmRmaOrderItem { order_item_id: number; is_returnable: boolean; available_qty: number; } export interface RmaOrderItemProduct { name?: string; } export interface RmaOrderItem { id: string; amrma_order_item?: AmRmaOrderItem; product?: RmaOrderItemProduct; } export interface RmaReason { reason_id: number; label: string; } export interface RmaSettings { isEnabled: boolean; isReturnPolicyEnabled: boolean; policyUrl: string | null; allReasons: RmaReason[]; customFields?: RmaCustomField[]; } export interface AmRmaCustomFieldInput { key: string; value: string; } export interface RmaCustomField { code: string; title: string; } export interface RmaOrder { order_id: string; } export interface RmaStatus { title: string; label: string; state: number; } export interface RmaRequestItem { request_item_id: number; order_item_id: number; product_name: string; qty: number; reason_id: number; } export interface RmaReturn { request_id: number; increment_id: string; order_increment_id: string; created_at: string; status: RmaStatus; request_items: RmaRequestItem[]; custom_fields?: string | null; tracking_numbers?: RmaTrackingNumber[]; } export interface RmaTrackingNumber { tracking_code: string; tracking_number: string; } export interface PlaceRmaRequestResponse { request_id: number; increment_id: string; } //# sourceMappingURL=rma.d.ts.map