@petercatai/whisker-client 0.1.202511251241 → 0.1.202511251305

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
@@ -2808,6 +2808,11 @@ export interface ITenant {
2808
2808
  */
2809
2809
  metadata?: Record<string, any> | null;
2810
2810
  }
2811
+ /** TenantBindWohu */
2812
+ export interface ITenantBindWohu {
2813
+ /** Wohu Product Space Id */
2814
+ wohu_product_space_id: string;
2815
+ }
2811
2816
  /** TenantCreate */
2812
2817
  export interface ITenantCreate {
2813
2818
  /** Tenant Name */
@@ -3532,6 +3537,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3532
3537
  * @request GET:/api/tenant/me
3533
3538
  */
3534
3539
  getTenant: (params?: RequestParams) => Promise<HttpResponse<IResponseModelTenant, void | IHTTPValidationError>>;
3540
+ /**
3541
+ * @description 绑定 Wohu 相关信息 在租户 metadata 中添加 _wohu_product_space_id 字段
3542
+ *
3543
+ * @tags tenant
3544
+ * @name BindWohuInfo
3545
+ * @summary Bind Wohu Info
3546
+ * @request POST:/api/tenant/bind-wohu-info
3547
+ */
3548
+ bindWohuInfo: (data: ITenantBindWohu, params?: RequestParams) => Promise<HttpResponse<IResponseModelTenant, void | IHTTPValidationError>>;
3535
3549
  };
3536
3550
  space: {
3537
3551
  /**
package/dist/api.js CHANGED
@@ -610,6 +610,15 @@ class Api extends HttpClient {
610
610
  * @request GET:/api/tenant/me
611
611
  */
612
612
  getTenant: (params = {}) => this.request(Object.assign({ path: `/api/tenant/me`, method: "GET", format: "json" }, params)),
613
+ /**
614
+ * @description 绑定 Wohu 相关信息 在租户 metadata 中添加 _wohu_product_space_id 字段
615
+ *
616
+ * @tags tenant
617
+ * @name BindWohuInfo
618
+ * @summary Bind Wohu Info
619
+ * @request POST:/api/tenant/bind-wohu-info
620
+ */
621
+ bindWohuInfo: (data, params = {}) => this.request(Object.assign({ path: `/api/tenant/bind-wohu-info`, method: "POST", body: data, type: ContentType.Json, format: "json" }, params)),
613
622
  };
614
623
  this.space = {
615
624
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202511251241",
3
+ "version": "0.1.202511251305",
4
4
  "description": "Generated API client (Production)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",