package dp.kotul.templategroupsbackend.data.templategroup

import dp.kotul.solrapimodel.solrsearch.TemplateType.CHILI_PRINT
import dp.kotul.solrapimodel.solrsearch.TemplateType.TACTIC_WEB_AD
import dp.kotul.templategroupsbackend.model.entity.VariableSourceType.*
import dp.kotul.templategroupsbackend.model.response.TemplateGroupResponse
import dp.kotul.templategroupsbackend.model.response.TemplateResponse
import dp.kotul.templategroupsbackend.model.response.TemplateVariableResponse
import dp.kotul.templategroupsbackend.model.response.VariableSourceResponse
import java.time.Instant

const val nonExistingTemplateGroupId = 999
const val laeId = 2

object TemplateGroupGetData {
    val templateGroupGetResponse = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 1,
                        templateVariableExtId = "user:COMPANY_NAME",
                        name = "Company name",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 2,
                        templateVariableExtId = "max-width-increase",
                        name = "max-width-increase",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 3,
                        templateVariableExtId = "max-height-increase",
                        name = "max-height-increase",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 4,
                        templateVariableExtId = "min-scaling",
                        name = "min-scaling",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 5,
                        templateVariableExtId = "max-scaling",
                        name = "max-scaling",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 8,
                        templateVariableExtId = "document-bleed",
                        name = "document-bleed",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "false",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 9,
                        templateVariableExtId = "bleed-marks-enabled",
                        name = "bleed-marks-enabled",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "true",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 10,
                        templateVariableExtId = "mandatory-variable",
                        name = "MANDATORY_VARIABLE!",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = true,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 11,
                        templateVariableExtId = "maxLength-variable",
                        name = "maxLength-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 2,
                templateExtId = "825ccd4116a8b7237899d6ab2aa0e3b6",
                templateType = TACTIC_WEB_AD,
                name = "Test",
                thumbnailRef = "https://picsum.photos/160/600",
                lowResRef = "https://picsum.photos/160/600",
                createdDate = Instant.parse("2020-06-19T07:52:28.332Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 6,
                        templateVariableExtId = "myCustomHeading",
                        name = "myCustomHeading",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 7,
                        templateVariableExtId = "myCustomMessage",
                        name = "myCustomMessage",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            )
        )
    )

    val templateGroupWithAllIncludedVariablesGetResponse = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 1,
                        templateVariableExtId = "user:COMPANY_NAME",
                        name = "Company name",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = VariableSourceResponse(
                            variableSourceId = 1,
                            sourceId = "2",
                            sourceType = TEMPLATE,
                            sourceFieldId = "6",
                            sourceName = "Test",
                            sourceFieldName = "myCustomHeading"
                        )
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 2,
                        templateVariableExtId = "max-width-increase",
                        name = "max-width-increase",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 3,
                        templateVariableExtId = "max-height-increase",
                        name = "max-height-increase",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 4,
                        templateVariableExtId = "min-scaling",
                        name = "min-scaling",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = VariableSourceResponse(
                            variableSourceId = 2,
                            sourceId = "user_id",
                            sourceType = USER_DATA,
                            sourceFieldId = null,
                            sourceName = "user test name",
                            sourceFieldName = null
                        )
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 5,
                        templateVariableExtId = "max-scaling",
                        name = "max-scaling",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 8,
                        templateVariableExtId = "document-bleed",
                        name = "document-bleed",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "false",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 9,
                        templateVariableExtId = "bleed-marks-enabled",
                        name = "bleed-marks-enabled",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "true",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 10,
                        templateVariableExtId = "mandatory-variable",
                        name = "MANDATORY_VARIABLE!",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = true,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 11,
                        templateVariableExtId = "maxLength-variable",
                        name = "maxLength-variable",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 2,
                templateExtId = "825ccd4116a8b7237899d6ab2aa0e3b6",
                templateType = TACTIC_WEB_AD,
                name = "Test",
                thumbnailRef = "https://picsum.photos/160/600",
                lowResRef = "https://picsum.photos/160/600",
                createdDate = Instant.parse("2020-06-19T07:52:28.332Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 6,
                        templateVariableExtId = "myCustomHeading",
                        name = "myCustomHeading",
                        templateVariableExtType = "TEXT",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = VariableSourceResponse(
                            variableSourceId = 3,
                            sourceId = "1",
                            sourceType = UNIT_DATA,
                            sourceFieldId = "2",
                            sourceName = "unit test name",
                            sourceFieldName = "unit attribute test name"
                        )
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 7,
                        templateVariableExtId = "myCustomMessage",
                        name = "myCustomMessage",
                        templateVariableExtType = "TEXT",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            )
        )
    )

    val templateGroupWithRemovedTemplateAndNotIncludedVariablesGetResponse = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 1,
                        templateVariableExtId = "user:COMPANY_NAME",
                        name = "Company name",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 2,
                        templateVariableExtId = "max-width-increase",
                        name = "max-width-increase",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 3,
                        templateVariableExtId = "max-height-increase",
                        name = "max-height-increase",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 4,
                        templateVariableExtId = "min-scaling",
                        name = "min-scaling",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = VariableSourceResponse(
                            variableSourceId = 2,
                            sourceId = "user_id",
                            sourceType = USER_DATA,
                            sourceFieldId = null,
                            sourceName = "user test name",
                            sourceFieldName = null
                        )
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 5,
                        templateVariableExtId = "max-scaling",
                        name = "max-scaling",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 8,
                        templateVariableExtId = "document-bleed",
                        name = "document-bleed",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "false",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 9,
                        templateVariableExtId = "bleed-marks-enabled",
                        name = "bleed-marks-enabled",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "true",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 10,
                        templateVariableExtId = "mandatory-variable",
                        name = "MANDATORY_VARIABLE!",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = true,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 11,
                        templateVariableExtId = "maxLength-variable",
                        name = "maxLength-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            )
        )
    )

    val templateGroupGetResponseAfterRemovedVariables = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf()
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf()
            ),
            TemplateResponse(
                templateId = 2,
                templateExtId = "825ccd4116a8b7237899d6ab2aa0e3b6",
                templateType = TACTIC_WEB_AD,
                name = "Test",
                thumbnailRef = "https://picsum.photos/160/600",
                lowResRef = "https://picsum.photos/160/600",
                createdDate = Instant.parse("2020-06-19T07:52:28.332Z"),
                sortOrder = 0,
                templateVariables = listOf()
            )
        )
    )

    val templateGroupGetResponseAfterAddedVariables = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 1,
                        templateVariableExtId = "user:COMPANY_NAME",
                        name = "Company name",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 2,
                        templateVariableExtId = "max-width-increase",
                        name = "max-width-increase",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 3,
                        templateVariableExtId = "max-height-increase",
                        name = "max-height-increase",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 4,
                        templateVariableExtId = "min-scaling",
                        name = "min-scaling",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 5,
                        templateVariableExtId = "max-scaling",
                        name = "max-scaling",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 12,
                        templateVariableExtId = "test-variable",
                        name = "test-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 8,
                        templateVariableExtId = "document-bleed",
                        name = "document-bleed",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "false",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 9,
                        templateVariableExtId = "bleed-marks-enabled",
                        name = "bleed-marks-enabled",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "true",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 10,
                        templateVariableExtId = "mandatory-variable",
                        name = "MANDATORY_VARIABLE!",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = true,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 11,
                        templateVariableExtId = "maxLength-variable",
                        name = "maxLength-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 15,
                        templateVariableExtId = "test-variable",
                        name = "test-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 2,
                templateExtId = "825ccd4116a8b7237899d6ab2aa0e3b6",
                templateType = TACTIC_WEB_AD,
                name = "Test",
                thumbnailRef = "https://picsum.photos/160/600",
                lowResRef = "https://picsum.photos/160/600",
                createdDate = Instant.parse("2020-06-19T07:52:28.332Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 6,
                        templateVariableExtId = "myCustomHeading",
                        name = "myCustomHeading",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 7,
                        templateVariableExtId = "myCustomMessage",
                        name = "myCustomMessage",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 13,
                        templateVariableExtId = "testVariable",
                        name = "testVariable",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 14,
                        templateVariableExtId = "testVariable1",
                        name = "testVariable1",
                        templateVariableExtType = "TEXT",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            )
        )
    )

    val templateGroupGetResponseAfterRemovedTemplateAddedRemovedVariables = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = listOf(
            TemplateResponse(
                templateId = 1,
                templateExtId = "132e6e51-aa3e-4985-a428-84648a7ad389",
                templateType = CHILI_PRINT,
                name = "Ad 135x190-1539853001308",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=132e6e51-aa3e-4985-a428-84648a7ad389&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-01T14:14:34.747Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 1,
                        templateVariableExtId = "user:COMPANY_NAME",
                        name = "Company name",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 2,
                        templateVariableExtId = "max-width-increase",
                        name = "max-width-increase",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 4,
                        templateVariableExtId = "min-scaling",
                        name = "min-scaling",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 12,
                        templateVariableExtId = "test-variable",
                        name = "test-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = null,
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            ),
            TemplateResponse(
                templateId = 3,
                templateExtId = "3897d79a-d5b7-45fc-a806-84a5ab6a68fe",
                templateType = CHILI_PRINT,
                name = "M55_Tucson FL",
                thumbnailRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                lowResRef = "/CHILI/10930/download.aspx?type=thumb&resourceName=Documents&id=3897d79a-d5b7-45fc-a806-84a5ab6a68fe&apiKey=RFdcWfIj_xmBtR226Zb17V_JmN1wmquH9xeJ2W2BbY2JQaoq3ZHhu_zrMojygUEp9Ki9nG6Mu03A1lEOylJSkQ==&pageNum=1",
                createdDate = Instant.parse("2020-07-31T13:48:33Z"),
                sortOrder = 0,
                templateVariables = listOf(
                    TemplateVariableResponse(
                        templateVariableId = 8,
                        templateVariableExtId = "document-bleed",
                        name = "document-bleed",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "false",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 9,
                        templateVariableExtId = "bleed-marks-enabled",
                        name = "bleed-marks-enabled",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "true",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 10,
                        templateVariableExtId = "mandatory-variable",
                        name = "MANDATORY_VARIABLE!",
                        templateVariableExtType = "string",
                        included = true,
                        defaultValue = "",
                        mandatoryExt = true,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 11,
                        templateVariableExtId = "maxLength-variable",
                        name = "maxLength-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    ),
                    TemplateVariableResponse(
                        templateVariableId = 13,
                        templateVariableExtId = "test-variable",
                        name = "test-variable",
                        templateVariableExtType = "string",
                        included = false,
                        defaultValue = "",
                        mandatoryExt = false,
                        variableSource = null
                    )
                )
            )
        )
    )

    val templateGroupGetResponseWithoutTemplates = TemplateGroupResponse(
        templateGroupId = 1,
        name = "Test",
        templates = emptyList()
    )
}
