@webitel/api-services 26.12.27 → 26.12.29

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.
@@ -33,4 +33,9 @@ export type ListSpacesParams = {
33
33
  * - SPACE_STATE_INACTIVE: Articles are kept but excluded from search and suggestions.
34
34
  */
35
35
  state?: ListSpacesState;
36
+ /**
37
+ * Optional language filter, at most 50 tags; matches the base language of
38
+ * any of them.
39
+ */
40
+ languages?: string[];
36
41
  };
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  /**
8
- * MoveArticleRequest reparents an article.
8
+ * MoveArticleRequest reparents an article, possibly into another space.
9
9
  */
10
10
  export interface WebitelKbArticlesMoveArticleBody {
11
- /** New parent id; 0 to move to top level. */
11
+ /**
12
+ * New parent id; 0 to move to top level. The article moves into the space
13
+ * of the parent.
14
+ */
12
15
  newParentId?: string;
16
+ /**
17
+ * Target space id of the same language for a move to top level; 0 keeps
18
+ * the current space. With a new parent it may only repeat its space.
19
+ */
20
+ newSpaceId?: string;
13
21
  }
@@ -33,4 +33,9 @@ export type ListSpacesParams = {
33
33
  * - SPACE_STATE_INACTIVE: Articles are kept but excluded from search and suggestions.
34
34
  */
35
35
  state?: ListSpacesState;
36
+ /**
37
+ * Optional language filter, at most 50 tags; matches the base language of
38
+ * any of them.
39
+ */
40
+ languages?: string[];
36
41
  };
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  /**
8
- * MoveArticleRequest reparents an article.
8
+ * MoveArticleRequest reparents an article, possibly into another space.
9
9
  */
10
10
  export interface WebitelKbArticlesMoveArticleBody {
11
- /** New parent id; 0 to move to top level. */
11
+ /**
12
+ * New parent id; 0 to move to top level. The article moves into the space
13
+ * of the parent.
14
+ */
12
15
  new_parent_id?: string;
16
+ /**
17
+ * Target space id of the same language for a move to top level; 0 keeps
18
+ * the current space. With a new parent it may only repeat its space.
19
+ */
20
+ new_space_id?: string;
13
21
  }
@@ -849,6 +849,7 @@ export declare const MoveArticleParams: zod.ZodObject<{
849
849
  }, zod.z.core.$strip>;
850
850
  export declare const MoveArticleBody: zod.ZodObject<{
851
851
  new_parent_id: zod.ZodOptional<zod.ZodString>;
852
+ new_space_id: zod.ZodOptional<zod.ZodString>;
852
853
  }, zod.z.core.$strip>;
853
854
  export declare const moveArticleResponseIndexStateDefault = "INDEX_STATE_UNSPECIFIED";
854
855
  export declare const moveArticleResponseStateDefault = "ARTICLE_STATE_UNSPECIFIED";
@@ -239,6 +239,7 @@ export declare const ListSpacesQueryParams: zod.ZodObject<{
239
239
  SPACE_STATE_ACTIVE: "SPACE_STATE_ACTIVE";
240
240
  SPACE_STATE_INACTIVE: "SPACE_STATE_INACTIVE";
241
241
  }>>;
242
+ languages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
242
243
  }, zod.z.core.$strip>;
243
244
  export declare const listSpacesResponseItemsItemStateDefault = "SPACE_STATE_UNSPECIFIED";
244
245
  export declare const ListSpacesResponse: zod.ZodObject<{