import ZModulesCDP from '../../../../../types';
export var datasetMockList = [{
  desc: null,
  id: 537,
  name: 'output1222',
  tableName: '86265eeb419d60dbb43589728464fa4db7339'
}, {
  desc: null,
  id: 535,
  name: 'event_002',
  tableName: '8626566605026c5894159876fe16a7dc24718'
}, {
  desc: null,
  id: 534,
  name: 'event_001',
  tableName: '862655bff4450129340608385dbef32d4bcdd'
}, {
  desc: null,
  id: 533,
  name: 'user_test',
  tableName: '86265c5078ca0150b4305b38a05d2a6d2fccb'
}, {
  desc: null,
  id: 532,
  name: 'event_test',
  tableName: '8626539cc46ecda904829b9ef584b594743fb'
}];
export var tableColumnsMock = [{
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'self_policy_sn',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'insured_person_self_policy_sn',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.number
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'app_user_id',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'pay_type',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'pay_time',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.date
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'insured_person_pay_status',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'insurance_product_code',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.number
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'insurance_product_name',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}, {
  alias: null,
  comment: '',
  hiveType: null,
  isFillField: false,
  isPrimaryKey: false,
  name: 'operator_user_id',
  type: 'VARCHAR',
  webType: ZModulesCDP.WebType.string
}];
export var fusionParams = {
  dataset: 537,
  datasetType: 1,
  syncType: 2,
  increment: {
    name: 'pay_time',
    webType: 'date',
    format: 'yyyy-MM-dd'
  },
  updateFrequency: {
    type: 2,
    rule: {
      unit: 1,
      time: '01'
    }
  },
  eventName: 'self_policy_sn',
  userIdentify: 'app_user_id',
  timeField: 'insured_person_self_policy_sn',
  attrs: [{
    source: 'insured_person_self_policy_sn',
    target: {
      hasMapping: true,
      value: '$vn'
    }
  }, {
    source: 'insurance_product_name',
    target: {
      hasMapping: true,
      value: 'pl',
      platform: {
        js: 'js',
        android: 'android',
        ios: 'ios'
      }
    }
  }, {
    source: 'pay_type',
    target: {
      hasMapping: false,
      webType: 'number',
      value: '自定义属性',
      alias: '自定义属性'
    }
  }]
};