import type * as Whop from "../../../../index.mjs"; /** * @example * { * payment_id: ["pay_xxxxxxxxxxxxxx"] * } */ export interface ListShipmentsRequest { /** The account to list shipments for. Defaults to the acting account. */ account_id?: string; /** Filter to shipments with this delivery status. */ status?: Whop.ListShipmentsRequestStatus; /** Only shipments fulfilling these payments, each prefixed `pay_`. Repeat the parameter to pass several, up to 100 per request — one paginated list covers all of them. */ payment_id?: string | string[]; /** Return shipments created before this ISO 8601 timestamp. */ created_before?: string; /** Return shipments created after this ISO 8601 timestamp. */ created_after?: string; /** The field to sort by. */ order?: Whop.ListShipmentsRequestOrder; /** The sort direction. */ direction?: Whop.ListShipmentsRequestDirection; /** Number of results to return from the start of the range. */ first?: number; /** Return results after this cursor. Use `page_info.end_cursor` from the previous response to fetch the next page. */ after?: string; /** Number of results to return from the end of the range. */ last?: number; /** Return results before this cursor. Use `page_info.start_cursor` from the previous response to fetch the previous page. */ before?: string; }