export type PlatformTab =
  | 'agiso'
  | 'notifications'
  | 'ninetyone'
  | 'kuaishouEticket'
  | 'cloudtentacles'

export type EditableDefaults = {
  messageTemplate: string
  autoDeliveryMessageTemplate: string
}

export type EditableShop = {
  id: string
  shopId: string
  shopName: string
  accessToken: string
  enabled: boolean
  messageTemplate: string
  autoDeliveryMessageTemplate: string
}

export type EditableKuaishouEticketShop = {
  id: string
  shopId: string
  kshopName: string
  cookie: string
  userAvatar: string
  enabled: boolean
}

export type EditableNotificationRecipient = {
  id: string
  name: string
  deviceKey: string
  enabled: boolean
}

export type EditableScheduledJob = {
  id: string
  type: string
  enabled: boolean
  intervalSeconds: number
  intervalSecondsAmount: number
  intervalSecondsUnit: number
  cooldownSeconds: number
  cooldownSecondsAmount: number
  cooldownSecondsUnit: number
  assetThreshold: number
}
