enum.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /**
  2. * 克隆声音的状态
  3. */
  4. export enum CloneVoiceStatus {
  5. CloneVoiceStatusUnconfirmed = "unconfirmed",
  6. CloneVoiceStatusExpired = "expired",
  7. CloneVoiceStatusSuccess = "success"
  8. }
  9. // 资源文件场景值
  10. export enum EAssetScene {
  11. VOICE_CLONE = 'voice_clone',
  12. BG_IMAGE = 'bg_image',
  13. COMPONENT = 'component',
  14. DOC = 'doc',
  15. OTHER = 'other'
  16. }
  17. // 组件类型,用于创建与复位
  18. export enum ComponentType {
  19. Channels = 'channels',
  20. MiniProgram = 'miniProgram',
  21. ContactList = 'contactList',
  22. Wechat = 'wechat',
  23. Shiping = 'shiping',
  24. Tiktok = 'tiktok',
  25. Xiaohongshu = 'xiaohongshu',
  26. Kwai = 'kwai',
  27. Bilibili = 'bilibili',
  28. Qq = 'qq',
  29. Sina = 'sina',
  30. ShipingVideo= 'shipingVideo',
  31. Title= 'title',
  32. Textarea= 'textarea',
  33. Company= 'company',
  34. BusinessCard= 'businessCard',
  35. Link= 'link',
  36. EMail = 'email',
  37. Tel = 'tel',
  38. Images = 'images',
  39. Address = 'address',
  40. StoreProduct = 'storeProduct',
  41. StoreHome = 'storeHome',
  42. }
  43. // 绑定额外认证数据
  44. // Bind extra auth
  45. export enum EBindKind {
  46. Email = "email", // 绑定email
  47. Phone = "phone",// 绑定手机号
  48. WechatPhone = "wechat_phone", // 微信换手机号的 code
  49. }
  50. // 大模型类型
  51. export enum EAI_MODEL {
  52. Common = "common",
  53. DeepseekChat = "deepseek-chat",
  54. DeepseekReasoner = "deepseek-reasoner",
  55. }
  56. export enum EUploadFileScene {
  57. VOICE_CLONE = 'voice_clone',
  58. BG_IMAGE = 'bg_image',
  59. COMPONENT = 'component',
  60. DOC = 'doc',
  61. OTHER = 'other',
  62. AVATAR = 'avatar'
  63. }
  64. export enum EUploadFileBucketName {
  65. VOICE_CLONE = 'voice_clone',
  66. BG_IMAGE = 'bg_image',
  67. COMPONENT = 'component',
  68. DOC = 'doc',
  69. OTHER = 'other',
  70. AVATAR = 'avatar'
  71. }
  72. export enum EComponentType {
  73. title = 'title',
  74. text = 'text',
  75. link = 'link',
  76. address = 'address',
  77. media = 'media',
  78. image = 'images',
  79. email = 'email',
  80. tel = 'tel',
  81. bluebook = 'bluebook',
  82. wechat = 'wechat',
  83. wechatArticle = 'wechatArticle',
  84. shiping = 'shiping',
  85. // tiktok = 'tiktok',
  86. // xiaohongshu = 'xiaohongshu',
  87. // kwai = 'kwai',
  88. // bilibili = 'bilibili',
  89. // qq = 'qq',
  90. // name = 'name',
  91. // comp = 'comp',
  92. // sina = 'sina',
  93. // green = 'green',
  94. shipingVideo = 'shipingVideo',
  95. miniProgram = 'miniProgram',
  96. // storeProduct = 'storeProduct',
  97. // storeHome = 'storeHome',
  98. }
  99. export enum EKnowlegeTypes {
  100. text='text', // text文本文件
  101. image='image', // image图片
  102. video='video', // video视频文件
  103. audio='audio', // audio音频文件
  104. web='web', // web链接类
  105. other='other', //other其它
  106. // text文本文件/image图片/video视频文件/audio音频文件/web链接类/other其它
  107. }