@petercatai/whisker-client 0.1.202508050830-dev → 0.1.202508060707-dev

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/api.d.ts CHANGED
@@ -3067,6 +3067,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3067
3067
  * @request POST:/api/v1/agent/pro_research
3068
3068
  */
3069
3069
  proResearchApiV1AgentProResearchPost: (data: IProResearchRequest, params?: RequestParams) => Promise<HttpResponse<any, void | IHTTPValidationError>>;
3070
+ /**
3071
+ * @description whisker 通用 webhook
3072
+ *
3073
+ * @tags webhook
3074
+ * @name HandleWebhookApiV1WebhookWebhookTypeSourceAuthInfoKnowledgeBaseIdPost
3075
+ * @summary 通用webhook处理器
3076
+ * @request POST:/api/v1/webhook/{webhook_type}/{source}/{auth_info}/{knowledge_base_id}
3077
+ */
3078
+ handleWebhookApiV1WebhookWebhookTypeSourceAuthInfoKnowledgeBaseIdPost: (webhookType: string, source: string, authInfo: string, knowledgeBaseId: string, data: Record<string, any>, params?: RequestParams) => Promise<HttpResponse<any, void | IHTTPValidationError>>;
3070
3079
  };
3071
3080
  rule: {
3072
3081
  /**
package/dist/api.js CHANGED
@@ -646,6 +646,15 @@ class Api extends HttpClient {
646
646
  * @request POST:/api/v1/agent/pro_research
647
647
  */
648
648
  proResearchApiV1AgentProResearchPost: (data, params = {}) => this.request(Object.assign({ path: `/api/v1/agent/pro_research`, method: "POST", body: data, type: ContentType.Json, format: "json" }, params)),
649
+ /**
650
+ * @description whisker 通用 webhook
651
+ *
652
+ * @tags webhook
653
+ * @name HandleWebhookApiV1WebhookWebhookTypeSourceAuthInfoKnowledgeBaseIdPost
654
+ * @summary 通用webhook处理器
655
+ * @request POST:/api/v1/webhook/{webhook_type}/{source}/{auth_info}/{knowledge_base_id}
656
+ */
657
+ handleWebhookApiV1WebhookWebhookTypeSourceAuthInfoKnowledgeBaseIdPost: (webhookType, source, authInfo, knowledgeBaseId, data, params = {}) => this.request(Object.assign({ path: `/api/v1/webhook/${webhookType}/${source}/${authInfo}/${knowledgeBaseId}`, method: "POST", body: data, type: ContentType.Json, format: "json" }, params)),
649
658
  };
650
659
  this.rule = {
651
660
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202508050830-dev",
3
+ "version": "0.1.202508060707-dev",
4
4
  "description": "Generated API client (preview)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",