export const getCdnTransformationConfigSuccess = {
    "success": true,
    "status": {
        "isError": false,
        "code": 200,
        "message": "success"
    },
    "message": "CDN transformation config fetched",
    "response": {
        "hostname": "https://storage.crm.staging.content-cdn.io",
        "transformationUrlSuffix": "cdn-cgi/image",
        "bucketPath": "intouch_creative_assets",
        "qualityCfg": {
            "EMAIL": 65,
            "RCS": 75,
            "VIBER": 75,
            "WHATSAPP": 75,
            "MOBILE_PUSH": 75,
            "FACEBOOK": 75,
            "LINE": 75,
            "DEFAULT": 75
        }
    }
};

export const getAllTemplatesListSuccess = {
        "name": "Test2 QR - Thông báo thanh toán thành công",
        "versions": {
          "base": {
            "content": {
              "ZALO": {
                "templateId": "268531",
                "templateName": "Test QR - Thông báo thanh toán thành công",
                "listParams": [
                  {
                    "name": "danh_xung",
                    "require": true,
                    "type": "STRING",
                    "maxLength": 30,
                    "minLength": 0,
                    "acceptNull": false,
                  },
                  {
                    "name": "name",
                    "require": true,
                    "type": "STRING",
                    "maxLength": 30,
                    "minLength": 0,
                    "acceptNull": false,
                  },
                ],
                "previewUrl": "https://account.zalo.cloud/znspreview/-e0cMil4NU5WUUAVzP7T_g=="
              },
            },
          },
        },
        "type": "ZALO",
  response: {
    templates: [{name: '1', id: '2'}],
        },
        intlCopyOf: 'test',
};

export const getCdnTransformationConfigFailure = {
    "isError": true,
    "message": "Resource Not Found",
    "error": {}
};

export const getAllTemplatesListFailure = {
  "isError": true,
  "message": "Resource Not Found",
  "error": {},
};

export const senderDetailsWhatsapp = {
  channel: "WHATSAPP",
  domainProperties: {
    connectionProperties: {
      account_sid: "testSourceAccount",
      wabaId: "testSourceAccount",
      userid: "testSourceAccount",
      sourceAccountIdentifier: "testSourceAccount",
      baseUrl: "https://api.whatsapp.com/v1",
    },
    hostname: "testWhatsappHost",
  },
};

export const senderDetailsZalo = {
  channel: "ZALO",
  domainProperties: {
    connectionProperties: {
      oa_id: "testSourceAccount",
      sourceAccountIdentifier: "testSourceAccount",
    },
    hostname: "testZaloHost",
  },
};

export const senderDetailsSMS = {
  channel: "SMS",
  hostName: "TestSMSHost",
};

export const errorMessage = ["Error fetching sender details"];

export const rcsTemplates = {
  templates: [
    {
      name: 'rcs_template_1',
      id: 'rcs1',
      versions: {
        base: {
          content: {
            RCS: {
              cardContent: [
                {
                  Status: 'approved',
                  title: 'RCS Template 1',
                  description: 'RCS template description',
                },
              ],
            },
          },
        },
      },
      type: 'RCS',
      totalCount: 1,
    },
  ],
};

export const senderDetailsRcs = {
  channel: 'RCS',
  domainProperties: {
    connectionProperties: {
      account_sid: 'testRcsAccount',
      sourceAccountIdentifier: 'testRcsAccount',
    },
    hostname: 'testRcsHost',
  },
};
