package com.vaessl.app;

import com.vaessl.app.shared.ServiceType;

public final class Mockdata {

    private Mockdata() {}

    public static final String MOCK_URL = "http://localhost:1234";
    public static final ServiceType MOCK_SERVICE_TYPE = ServiceType.HOMEBOX;
    public static final String MOCK_USER = "user";
    public static final String MOCK_PASS = "pw";
    public static final String MOCK_ID = "item-1";
    public static final String MOCK_TITLE = "title";
    public static final String MOCK_DESCRIPTION = "desc";
    public static final String VALID_HOMEBOX_LOGIN_RESPONSE = """
            {
                "token": "fake-bearer-token",
                "attachmentToken": "fake-attach-token",
                "expiresAt": "2099-01-01T00:00:00Z"
            }
            """;
    public static final String VALID_HOMEBOX_ALL_ITEMS_QUERY_RESPONSE = """
            {
                "page": -1,
                "pageSize": -1,
                "total": 1,
                "items": [
                    {
                        "id": "c643e7f9-93d0-4b5f-ae4d-e1c2d90389e0",
                        "assetId": "000-001",
                        "name": "MacBook Pro A1398",
                        "description": "Running Linux (Fedora)",
                        "quantity": 1,
                        "insured": false,
                        "archived": false,
                        "createdAt": "2026-05-13T19:52:20.016176Z",
                        "updatedAt": "2026-05-14T12:39:11.836403Z",
                        "purchasePrice": 0,
                        "parent": {
                            "id": "b6f60ab8-3a2a-4a8d-a4bf-897d0555f636",
                            "name": "Server Schrank Ikea weiß",
                            "description": "Weißer Ikea Schrank, wo sich der Server befindet.",
                            "createdAt": "2026-05-13T19:55:55.817576Z",
                            "updatedAt": "2026-05-14T12:37:24.396651Z"
                        },
                        "tags": [],
                        "imageId": "cb3e44d5-ccd4-421e-9f5a-f52cd5f40ca6",
                        "thumbnailId": "2bfd53fa-1bf1-483c-8d76-7720464532fa",
                        "soldTime": "0001-01-01T00:00:00Z"
                    }
                ]
            }
            """;
}
