{
  "name": "通知转发",
  "description": "把收到的短信和来电通知转发到飞书、企业微信、钉钉、PushDeer、Bark、Server酱，或你自己的接口。",
  "iconPath": "icon.png",
  "scriptPath": "main.js",
  "pagesPath": "pages.zip",
  "manifest": {
    "apiVersion": 1,
    "runtime": "hosted",
    "mode": "workspace",
    "handler": "notify-forward",
    "privacyUrl": "https://ringhi.aisp24.com/developer/examples/notify-forward/privacy.html",
    "permissions": [
      "actions.invoke",
      "sms.messages.read",
      "calls.read"
    ],
    "optionalPermissions": [
      "network.custom"
    ],
    "events": [
      "sms.received",
      "call.incoming"
    ],
    "network": {
      "origins": [
        "https://open.feishu.cn",
        "https://open.larksuite.com",
        "https://qyapi.weixin.qq.com",
        "https://oapi.dingtalk.com",
        "https://api2.pushdeer.com",
        "https://api.day.app",
        "https://sctapi.ftqq.com"
      ]
    },
    "ui": {
      "type": "bundled",
      "entryPath": "index.html",
      "bridgeApi": 1,
      "externalOrigins": [],
      "legacyFallback": "unavailable"
    },
    "triggers": [],
    "fields": [],
    "actions": [
      {
        "name": "config.get",
        "title": "读取配置",
        "description": "读取转发通道、过滤条件和最近的发送结果",
        "requiredPermission": "app.configure",
        "parameters": [],
        "confirm": false
      },
      {
        "name": "config.save",
        "title": "保存配置",
        "description": "保存转发通道和过滤条件",
        "requiredPermission": "app.configure",
        "parameters": [
          {
            "name": "config",
            "title": "配置",
            "type": "string",
            "required": true
          }
        ],
        "confirm": false
      },
      {
        "name": "test",
        "title": "发送测试通知",
        "description": "向一个已保存的通道发送测试通知",
        "requiredPermission": "app.configure",
        "parameters": [
          {
            "name": "id",
            "title": "通道",
            "type": "string",
            "required": true
          }
        ],
        "confirm": false
      }
    ],
    "pricing": {
      "model": "free",
      "currency": "CNY",
      "unitAmountMinor": 0
    }
  }
}
