@ozaiya/openclaw-channel 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +23 -49
- package/dist/src/channel.js +134 -19
- package/dist/src/channel.js.map +1 -1
- package/dist/src/configSchema.d.ts +23 -49
- package/dist/src/configSchema.js +23 -31
- package/dist/src/configSchema.js.map +1 -1
- package/dist/src/gateway.js +31 -0
- package/dist/src/gateway.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/transcribeAudio.d.ts +3 -3
- package/dist/src/transcribeAudio.js +16 -153
- package/dist/src/transcribeAudio.js.map +1 -1
- package/dist/src/types.d.ts +21 -34
- package/dist/src/voiceCall.d.ts +1 -0
- package/dist/src/voiceCall.js +12 -3
- package/dist/src/voiceCall.js.map +1 -1
- package/dist/src/webhook.d.ts +6 -1
- package/dist/src/webhook.js +31 -7
- package/dist/src/webhook.js.map +1 -1
- package/package.json +1 -1
- package/types/openclaw-plugin-sdk.d.ts +13 -0
|
@@ -144,3 +144,16 @@ declare module "openclaw/plugin-sdk" {
|
|
|
144
144
|
/** Returns an empty Zod/TypeBox schema for plugins with no config. */
|
|
145
145
|
export function emptyPluginConfigSchema(): unknown;
|
|
146
146
|
}
|
|
147
|
+
|
|
148
|
+
declare module "openclaw/plugin-sdk/webhook-ingress" {
|
|
149
|
+
/** Register an HTTP route handled by this plugin. Returns an unregister function. */
|
|
150
|
+
export function registerPluginHttpRoute(opts: {
|
|
151
|
+
path: string;
|
|
152
|
+
auth: string;
|
|
153
|
+
replaceExisting?: boolean;
|
|
154
|
+
pluginId: string;
|
|
155
|
+
source: string;
|
|
156
|
+
log?: (msg: string) => void;
|
|
157
|
+
handler: unknown;
|
|
158
|
+
}): () => void;
|
|
159
|
+
}
|