1 /**
2 * @schema BaseClaimItem
3 * type: object
4 * description: The claim item's details.
5 * x-schemaName: BaseClaimItem
6 * required:
7 * - id
8 * - claim_id
9 * - order_id
10 * - item_id
11 * - quantity
12 * - reason
13 * - raw_quantity
14 * properties:
15 * id:
16 * type: string
17 * title: id
18 * description: The claim item's ID.
19 * claim_id:
20 * type: string
21 * title: claim_id
22 * description: The ID of the claim this item belongs to.
23 * order_id:
24 * type: string
25 * title: order_id
26 * description: The ID of the order this item belongs to.
27 * item_id:
28 * type: string
29 * title: item_id
30 * description: The ID of the item in the order.
31 * quantity:
32 * type: number
33 * title: quantity
34 * description: The quantity claimed.
35 * reason:
36 * type: string
37 * description: The claim's reason.
38 * enum:
39 * - missing_item
40 * - wrong_item
41 * - production_failure
42 * - other
43 * raw_quantity:
44 * type: object
45 * description: The quantity claimed.
46 * properties:
47 * value:
48 * oneOf:
49 * - type: string
50 * title: value
51 * description: The raw quantity's value.
52 * - type: number
53 * title: value
54 * description: The raw quantity's value.
55 * required:
56 * - value
57 * metadata:
58 * type: object
59 * description: The item's metadata, can hold custom key-value pairs.
60 * externalDocs:
61 * url: https://docs.medusajs.com/api/store#manage-metadata
62 * description: Learn how to manage metadata
63 * created_at:
64 * type: string
65 * format: date-time
66 * title: created_at
67 * description: The date the claim was created.
68 * updated_at:
69 * type: string
70 * format: date-time
71 * title: updated_at
72 * description: The date the claim was updated.
73 * item:
74 * $ref: "#/components/schemas/AdminOrderLineItem"
75 *
76 */
77