export const mockData = {
  accountData1: {
    selectedWhatsappAccount: {
      name: 'WhatsppTest',
      sourceAccountIdentifier: 'AC41030cebba9e2f1ce37c78235da0ee18',
      configs: { },
      hostName: 'twiliowhatsapptrans',
    },
  },
  accountData2: {
    selectedWhatsappAccount: {
      name: 'WhatsappAccount',
      sourceAccountIdentifier: '107499611940863',
      configs: { },
      hostName: 'karixwhatsappbulk',
    },
  },
  accountData3: {
    selectedWhatsappAccount: {
      test: 'test',
    },
  },
  accountData4: {
    selectedWhatsappAccount: {
      name: 'gupshup_test',
      sourceAccountIdentifier: '2000222347',
      configs: { },
      hostName: 'gupshupwhatsappbulk',
    },
  },
  editData1: {
    templateDetails: {
      _id: '62034b4683c75608cf2404ec',
      name: 'points_update',
      type: 'WHATSAPP',
      versions: {
        history: [],
        base: {
          content: {
            whatsapp: {
              status: 'approved',
              templateId: 'HT9bb4d61eea1699d2dbcaecd1cb558345',
              accountName: 'WhatsppTest',
              accountId: 'AC41030cebba9e2f1ce37c78235da0ee18',
              mediaType: 'text',
              languages: [
                {
                  content:
                    "$'Dear Customer, your{{1}} points are about to expire. Redeem before {{2}} at nearest Vishal Mega Mart and SHOP FOR FREE!\nT&C\nClick {{3}} to unsubscribe'",
                  language: 'en',
                },
              ],
              buttonType: 'CTA',
              buttons: [
                {
                  phone_number: '+919738752617',
                  text: 'Call us',
                  type: 'PHONE_NUMBER',
                  index: 0,
                },
                {
                  url: 'https://fast.com/',
                  text: 'Visit us',
                  type: 'STATIC_URL',
                  index: 1,
                },
              ],
              category: 'ACCOUNT_UPDATE',
              rejection_reason: null,
              varMapped: {
                '{{1}}_1': '500',
                '{{2}}_3': 'tomorrow',
              },
            },
          },
        },
      },
      isActive: true,
      orgId: 50146,
      createdBy: '15000449',
      updatedBy: '15000449',
      createdAt: '2022-02-09T05:04:06.579Z',
      updatedAt: '2022-02-09T05:04:06.579Z',
    },
  },
  editData2: {
    templateDetails: {
      _id: '62034b4683c75608cf2404ec',
      name: 'points_update',
      type: 'WHATSAPP',
      versions: {
        history: [],
        base: {
          content: {
            whatsapp: {
              status: 'rejected',
              templateId: 'HT9bb4d61eea1699d2dbcaecd1cb558345',
              accountName: 'WhatsppTest',
              accountId: 'AC41030cebba9e2f1ce37c78235da0ee18',
              mediaType: 'text',
              languages: [
                {
                  content:
                    "$'Dear Customer, your{{1}} points are about to expire. Redeem before {{2}} at nearest Vishal Mega Mart and SHOP FOR FREE!\nT&C'",
                  language: 'en',
                },
              ],
              buttonType: 'NONE',
              buttons: [],
              category: 'ACCOUNT_UPDATE',
              rejection_reason: 'INVALID_FORMAT',
            },
          },
        },
      },
      isActive: true,
      orgId: 50146,
      createdBy: '15000449',
      updatedBy: '15000449',
      createdAt: '2022-02-09T05:04:06.579Z',
      updatedAt: '2022-02-09T05:04:06.579Z',
    },
  },
  editData3: {
    templateDetails: {
      _id: '62034b4683c75608cf2404ec',
      name: 'points_update',
      type: 'WHATSAPP',
      versions: {
        history: [],
        base: {
          content: {
            whatsapp: {
              status: 'rejected',
              templateId: 'HT9bb4d61eea1699d2dbcaecd1cb558345',
              accountName: 'WhatsppTest',
              accountId: 'AC41030cebba9e2f1ce37c78235da0ee18',
              mediaType: 'text',
              languages: [
                {
                  content: 'test',
                  language: 'en',
                },
              ],
              category: 'ACCOUNT_UPDATE',
              rejection_reason: 'TAG_CONTENT_MISMATCH',
            },
          },
        },
      },
      isActive: true,
      orgId: 50146,
      createdBy: '15000449',
      updatedBy: '15000449',
      createdAt: '2022-02-09T05:04:06.579Z',
      updatedAt: '2022-02-09T05:04:06.579Z',
    },
  },
  editdata4: {
    _id: '62988c2f7d11ed69168252a6',
    type: 'WHATSAPP',
    edit: true,
    name: 'test_206',
    versions: {
      base: {
        content: {
          whatsapp: {
            status: 'approved',
            category: 'ALERT_UPDATE',
            varMapped: {
              '{{1}}_1': '50',
            },
            mediaType: 'TEXT',
            buttonType: 'CTA',
            buttons: [
              {
                index: 0,
                type: 'PHONE_NUMBER',
                text: 'Call',
                phone_number: '+919738752617',
              },
              {
                index: 1,
                type: 'STATIC_URL',
                text: 'More info',
                url: 'https://fast.com/',
              },
            ],
            languages: [
              {
                language: 'en',
                content:
                  'You have received {{1}} points\nClick {{unsubscribe}} to unsubscribe',
              },
            ],
          },
        },
      },
    },
  },
  editdata5: {
    _id: '62988c2f7d11ed69168252a6',
    type: 'WHATSAPP',
    edit: true,
    name: 'test_206',
    versions: {
      base: {
        content: {
          whatsapp: {
            status: 'approved',
            category: 'ALERT_UPDATE',
            varMapped: {
              '{{1}}_1': '50',
            },
            mediaType: 'TEXT',
            buttonType: 'CTA',
            buttons: [
              {
                index: 0,
                type: 'STATIC_URL',
                text: 'More info',
                url: 'https://fast.com/',
              },
            ],
            languages: [
              {
                language: 'en',
                content:
                  'You have received {{1}} points Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test TestTest Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test',
              },
            ],
          },
        },
      },
    },
  },
  location: {
    pathname: '/whatsapp/edit',
    query: {
      type: false,
      module: 'default',
    },
    search: '',
  },
  metaTagsMock: {
    image: 'https://capillarytech.com/assest/capillary.png',
    title: 'Capillary',
    description: 'sample',
    url: "https://capillarytech.com",
  },
  sendForApprovalCreatePayload: {
    name: 'dffdf',
    versions: {
      base: {
        content: {
          whatsapp: {
            category: 'UTILITY',
            languages: [
              {
                language: 'sq',
                content: 'fdfd',
              },
            ],
            buttonType: 'CTA',
            buttons: [
              {
                index: 0,
                type: 'PHONE_NUMBER',
                text: 'tt',
                phone_number: '+913333333333333',
              },
            ],
            mediaType: 'TEXT',
            varMapped: {},
            templateEditor: false,
            accountId: '123456789',
            hostName: 'karixwhatsappbulk',
            whatsappMedia: {
              header: '',
              headerVarMapped: {},
              headerTemplate: false,
              footer: '',
            },
          },
        },
      },
    },
    type: "WHATSAPP",
  },
  sendForApprovalCreateResult1: {
    success: false,
    status: {
      isError: true,
      code: 400,
    },
    message: {
      name: "StatusCodeError",
      statusCode: 500,
      error: {
        errorCode: "1004",
        errorMessage: "{\"error\":{\"message\":\"(#192) Param components[1]['buttons'][0]['phone_number'] is not a valid phone number.\",\"type\":\"OAuthException\",\"code\":192,\"fbtrace_id\":\"12345\"}}",
      },
    },
  },
  sendForApprovalCreateResult2: {
    success: false,
    status: {
      isError: true,
      code: 400,
    },
    message: {
      name: "StatusCodeError",
      statusCode: 500,
      message: "500 - Invalid params",
      error: {
        errorCode: "1004",
        errorMessage: 'Invalid params',
      },
    },
  },
};
