# Types: OrderStatus to OrdersScopeProps (/themes/sdk/reference/customer/types-3)

```ts
import { … } from '@poltura/theme-sdk/customer';
```

## `OrderStatus` [#orderstatus]

Where an order is, as the shopper sees it.

```ts
type OrderStatus = 'pending' | 'processing' | 'shipped' | 'completed' | 'cancelled' | 'returned'
```

## `OrderStatusFilter` [#orderstatusfilter]

The order list's status filter.

```ts
type OrderStatusFilter = OrderStatus | 'all'
```

## `OrderSummary` [#ordersummary]

An order as the order list shows it: enough for a card, without the totals breakdown.

```ts
type OrderSummary = Pick<Order, 'id' | 'number' | 'href' | 'placedAt' | 'status' | 'statusLabel' | 'currencyCode' | 'amountDue' | 'itemCount'> & {
    readonly lines: readonly OrderSummaryLine[];
}
```

## `OrderSummaryLine` [#ordersummaryline]

A line of an order as the order list previews it.

```ts
type OrderSummaryLine = Pick<OrderLine, 'id' | 'title' | 'image' | 'quantity'>
```

## `OrderTracking` [#ordertracking]

One parcel's tracking.

<TypeTable type={{"carrier":{"description":"The carrier's name.","type":"string","required":true},"url":{"description":"The carrier's tracking page, or null.","type":"string | null","required":true},"code":{"description":"The tracking code.","type":"string","required":true}}} />

## `OrdersRequest` [#ordersrequest]

Which page of the order list to load.

<TypeTable type={{"page":{"description":"The page number, from 1. Defaults to 1.","type":"number","required":false},"limit":{"description":"How many items a page holds, at most 100. Defaults to the store's page size.","type":"number","required":false},"status":{"description":"Keeps only the orders in this status among the page's orders; every order by default.","type":"OrderStatusFilter","required":false}}} />

## `PaymentStatus` [#paymentstatus]

Where an order's payment is.

```ts
type PaymentStatus = 'pending' | 'authorized' | 'paid' | 'refunded' | 'partiallyRefunded' | 'failed'
```

## `AddressCardProps` [#addresscardprops]

Props of [`AddressCard`](/themes/sdk/reference/customer/parts-1#addresscard).

<TypeTable type={{"address":{"description":"The address to show.","type":"Address","required":true},"onEdit":{"description":"Called by the edit button; without it the button is hidden.","type":"() => void","required":false},"onRemove":{"description":"Called by the delete button; without it the button is hidden.","type":"() => void","required":false},"className":{"description":"Classes added to the card.","type":"string","required":false}}} />

## `AddressFormProps` [#addressformprops]

Props of [`AddressForm`](/themes/sdk/reference/customer/parts-1#addressform).

<TypeTable type={{"address":{"description":"The address to change, or omitted for a new one.","type":"Address","required":false},"onSubmit":{"description":"Called with the entered address once it is valid.","type":"(input: AddressInput) => Promise<void>","required":true},"onCancel":{"description":"Called by the cancel button.","type":"() => void","required":true},"submitting":{"description":"Whether the address is being saved, which disables the form.","type":"boolean","required":false}}} />

## `AddressBookProps` [#addressbookprops]

Props of [`AddressBook`](/themes/sdk/reference/customer/defaults-1#addressbook).

<TypeTable type={{"className":{"description":"Classes added to the address book.","type":"string","required":false}}} />

## `AccountNavProps` [#accountnavprops]

Props of [`AccountNav`](/themes/sdk/reference/customer/parts-1#accountnav).

<TypeTable type={{"items":{"description":"The entries to link to, usually the navigation of {@link useAccount}.","type":"readonly AccountNavItem[]","required":true},"className":{"description":"Classes added to the grid.","type":"string","required":false}}} />

## `OrderCardProps` [#ordercardprops]

Props of [`OrderCard`](/themes/sdk/reference/customer/parts-1#ordercard).

<TypeTable type={{"order":{"description":"The order to show; an order from the list or a full one.","type":"OrderSummary","required":true},"className":{"description":"Classes added to the card.","type":"string","required":false}}} />

## `OrderCardSkeletonProps` [#ordercardskeletonprops]

Props of [`OrderCardSkeleton`](/themes/sdk/reference/customer/parts-1#ordercardskeleton).

<TypeTable type={{"className":{"description":"Classes added to the placeholder.","type":"string","required":false}}} />

## `OrderFiltersProps` [#orderfiltersprops]

Props of [`OrderFilters`](/themes/sdk/reference/customer/parts-1#orderfilters).

<TypeTable type={{"value":{"description":"The status the list is narrowed to.","type":"OrderStatusFilter","required":true},"onChange":{"description":"Called with the status the shopper picked.","type":"(value: OrderStatusFilter) => void","required":true},"className":{"description":"Classes added to the row of buttons.","type":"string","required":false}}} />

## `OrderLinesProps` [#orderlinesprops]

Props of [`OrderLines`](/themes/sdk/reference/customer/parts-1#orderlines).

<TypeTable type={{"lines":{"description":"The ordered lines.","type":"readonly OrderLine[]","required":true},"className":{"description":"Classes added to the table.","type":"string","required":false}}} />

## `OrderDetailProps` [#orderdetailprops]

Props of [`OrderDetail`](/themes/sdk/reference/customer/defaults-2#orderdetail).

<TypeTable type={{"id":{"description":"The order's id.","type":"string","required":true},"className":{"description":"Classes added to the order page.","type":"string","required":false}}} />

## `OrderDetailScopeProps` [#orderdetailscopeprops]

Props of [`OrderDetailScope`](/themes/sdk/reference/customer/parts-2#orderdetailscope).

<TypeTable type={{"id":{"description":"The order's id.","type":"string","required":true},"fallback":{"description":"Drawn while the order loads.","type":"ReactNode","required":false},"children":{"description":"The order's parts, such as {@link OrderSummaryHeader} and {@link OrderItems}.","type":"ReactNode","required":true}}} />

## `MarketingConsentToggleProps` [#marketingconsenttoggleprops]

Props of [`MarketingConsentToggle`](/themes/sdk/reference/customer/parts-2#marketingconsenttoggle).

<TypeTable type={{"className":{"description":"Classes added to the toggle.","type":"string","required":false}}} />

## `AuthInputProps` [#authinputprops]

Props of [`AuthInput`](/themes/sdk/reference/customer/parts-2#authinput).

<TypeTable type={{"form":{"description":"The form the field belongs to.","type":"AuthFormState","required":true},"field":{"description":"The field to draw.","type":"AuthField","required":true},"label":{"description":"Overrides the label, which defaults to the field's name in the page language.","type":"string","required":false},"placeholder":{"description":"Overrides the placeholder.","type":"string","required":false},"labelAside":{"description":"Drawn on the label's line, at the end, for example a forgot-password link.","type":"ReactNode","required":false},"children":{"description":"Drawn under the field and its error, for example hints about the address.","type":"ReactNode","required":false},"className":{"description":"Classes added to the field.","type":"string","required":false}}} />

## `AuthSubmitProps` [#authsubmitprops]

Props of [`AuthSubmit`](/themes/sdk/reference/customer/parts-2#authsubmit).

<TypeTable type={{"form":{"description":"The form to send.","type":"AuthFormState","required":true},"label":{"description":"Overrides the label, which defaults to the form's action in the page language.","type":"string","required":false},"disabled":{"description":"Keeps the button disabled besides while the form is sending.","type":"boolean","required":false},"className":{"description":"Classes added to the button.","type":"string","required":false}}} />

## `AuthErrorProps` [#autherrorprops]

Props of [`AuthError`](/themes/sdk/reference/customer/parts-2#autherror).

<TypeTable type={{"form":{"description":"The form whose error to show.","type":"AuthFormState","required":true},"className":{"description":"Classes added to the message.","type":"string","required":false}}} />

## `PasskeySignInProps` [#passkeysigninprops]

Props of [`PasskeySignIn`](/themes/sdk/reference/customer/parts-2#passkeysignin).

<TypeTable type={{"form":{"description":"The sign-in form whose email field names the account, and which shows the failure as its error.","type":"AuthFormState","required":true},"className":{"description":"Classes added to the button.","type":"string","required":false}}} />

## `SocialSignInProps` [#socialsigninprops]

Props of [`SocialSignIn`](/themes/sdk/reference/customer/parts-3#socialsignin).

<TypeTable type={{"form":{"description":"The form that shows a provider's failure as its error.","type":"AuthFormState","required":true},"providers":{"description":"Limits the providers to these ids; every enabled provider by default.","type":"readonly string[]","required":false},"className":{"description":"Classes added to the block.","type":"string","required":false}}} />

## `EmailCodeStepProps` [#emailcodestepprops]

Props of [`EmailCodeStep`](/themes/sdk/reference/customer/parts-3#emailcodestep).

<TypeTable type={{"className":{"description":"Classes added to the step.","type":"string","required":false}}} />

## `AuthFieldsProps` [#authfieldsprops]

Props of [`AuthFields`](/themes/sdk/reference/customer/parts-3#authfields).

<TypeTable type={{"className":{"description":"Classes for a box around the form; omit to place it with no box of its own.","type":"string","required":false}}} />

## `BusinessSignUpFieldsProps` [#businesssignupfieldsprops]

Props of [`BusinessSignUpFields`](/themes/sdk/reference/customer/parts-3#businesssignupfields).

<TypeTable type={{"form":{"description":"The registration form the company details belong to.","type":"AuthFormState","required":true},"className":{"description":"Classes added to the fields.","type":"string","required":false}}} />

## `OrdersScopeProps` [#ordersscopeprops]

Props of [`OrdersScope`](/themes/sdk/reference/customer/parts-3#ordersscope).

<TypeTable type={{"orders":{"description":"The page of orders, as {@link useOrders} answers it.","type":"QueryResult<OrderPage>","required":true},"children":{"description":"What draws inside, usually the order history region.","type":"ReactNode","required":true}}} />
