@petercatai/whisker-client 0.1.202511162103 → 0.1.202511191614

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.
Files changed (2) hide show
  1. package/dist/api.d.ts +29 -1
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -2837,6 +2837,34 @@ export interface ISpaceResponseOutput {
2837
2837
  */
2838
2838
  knowledge_count?: number | null;
2839
2839
  }
2840
+ /**
2841
+ * SpaceUpdate
2842
+ * SpaceUpdate model for updating space resources.
2843
+ * All fields are optional to support partial updates.
2844
+ *
2845
+ * Attributes:
2846
+ * space_name (Optional[str]): Space name, example: petercat bot group.
2847
+ * description (Optional[str]): description of the space resource.
2848
+ * metadata (Optional[Dict[str, Any]]): metadata of the space resource, such as embedding model name
2849
+ * and other parameters.
2850
+ */
2851
+ export interface ISpaceUpdate {
2852
+ /**
2853
+ * Space Name
2854
+ * name of the space resource
2855
+ */
2856
+ space_name?: string | null;
2857
+ /**
2858
+ * Description
2859
+ * description of the space
2860
+ */
2861
+ description?: string | null;
2862
+ /**
2863
+ * Metadata
2864
+ * metadata of the space resource
2865
+ */
2866
+ metadata?: Record<string, any> | null;
2867
+ }
2840
2868
  /** StatusStatisticsPageResponse[Task] */
2841
2869
  export interface IStatusStatisticsPageResponseTaskInput {
2842
2870
  /** Items */
@@ -4117,7 +4145,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4117
4145
  * @summary Update Space
4118
4146
  * @request PUT:/api/space/{space_id}
4119
4147
  */
4120
- updateSpace: (spaceId: string, data: ISpaceCreate, params?: RequestParams) => Promise<HttpResponse<IResponseModelSpaceResponse, void | IHTTPValidationError>>;
4148
+ updateSpace: (spaceId: string, data: ISpaceUpdate, params?: RequestParams) => Promise<HttpResponse<IResponseModelSpaceResponse, void | IHTTPValidationError>>;
4121
4149
  /**
4122
4150
  * @description 根据ID获取空间详情 使用DDD架构获取空间详细信息,包括统计数据。
4123
4151
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202511162103",
3
+ "version": "0.1.202511191614",
4
4
  "description": "Generated API client (Production)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",