@webitel/api-services 26.12.8 → 26.12.10

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/gen/_models/engineHistoryCall.ts +1 -0
  3. package/src/gen/_models/engineSystemSettingName.ts +2 -0
  4. package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
  5. package/src/gen/_models/webitelKbInputArticle.ts +1 -1
  6. package/src/gen/_models/webitelKbInputSpace.ts +1 -1
  7. package/src/gen/_models/webitelKbResolveRequest.ts +1 -1
  8. package/src/gen/_models/webitelKbVersionsRestoreVersionBody.ts +1 -1
  9. package/src/gen-wire/_models/engineHistoryCall.ts +1 -0
  10. package/src/gen-wire/_models/engineSystemSettingName.ts +2 -0
  11. package/src/gen-wire/_models/searchSystemSettingNameItem.ts +2 -0
  12. package/src/gen-wire/_models/webitelKbInputArticle.ts +1 -1
  13. package/src/gen-wire/_models/webitelKbInputSpace.ts +1 -1
  14. package/src/gen-wire/_models/webitelKbResolveRequest.ts +1 -1
  15. package/src/gen-wire/_models/webitelKbVersionsRestoreVersionBody.ts +1 -1
  16. package/src/gen-wire/articles/articles.zod.ts +12 -3
  17. package/src/gen-wire/call-service/call-service.zod.ts +3 -0
  18. package/src/gen-wire/retrieval/retrieval.zod.ts +4 -1
  19. package/src/gen-wire/spaces/spaces.zod.ts +12 -3
  20. package/src/gen-wire/system-setting-service/system-setting-service.zod.ts +16 -0
  21. package/src/gen-wire/versions/versions.zod.ts +1 -1
  22. package/src/utils/gen/index.ts +17 -7
  23. package/types/.tsbuildinfo +1 -1
  24. package/types/gen/_models/engineHistoryCall.d.ts +1 -0
  25. package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
  26. package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
  27. package/types/gen/_models/webitelKbInputArticle.d.ts +1 -1
  28. package/types/gen/_models/webitelKbInputSpace.d.ts +1 -1
  29. package/types/gen/_models/webitelKbResolveRequest.d.ts +1 -1
  30. package/types/gen/_models/webitelKbVersionsRestoreVersionBody.d.ts +1 -1
  31. package/types/gen-wire/_models/engineHistoryCall.d.ts +1 -0
  32. package/types/gen-wire/_models/engineSystemSettingName.d.ts +2 -0
  33. package/types/gen-wire/_models/searchSystemSettingNameItem.d.ts +2 -0
  34. package/types/gen-wire/_models/webitelKbInputArticle.d.ts +1 -1
  35. package/types/gen-wire/_models/webitelKbInputSpace.d.ts +1 -1
  36. package/types/gen-wire/_models/webitelKbResolveRequest.d.ts +1 -1
  37. package/types/gen-wire/_models/webitelKbVersionsRestoreVersionBody.d.ts +1 -1
  38. package/types/gen-wire/call-service/call-service.zod.d.ts +3 -0
  39. package/types/gen-wire/system-setting-service/system-setting-service.zod.d.ts +16 -0
@@ -54,6 +54,7 @@ export interface EngineHistoryCall {
54
54
  hangupDisposition?: string;
55
55
  hangupPhrase?: string;
56
56
  hasChildren?: boolean;
57
+ hideNumber?: boolean;
57
58
  hold?: EngineCallHold[];
58
59
  holdSec?: number;
59
60
  id?: string;
@@ -46,4 +46,6 @@ export declare const EngineSystemSettingName: {
46
46
  readonly DefaultMembersFilter: "default_members_filter";
47
47
  readonly SelfAssignedCallSoundNotification: "self_assigned_call_sound_notification";
48
48
  readonly RecordAllCalls: "record_all_calls";
49
+ readonly MaxLoginAttempts: "max_login_attempts";
50
+ readonly BlockLoginTime: "block_login_time";
49
51
  };
@@ -46,4 +46,6 @@ export declare const SearchSystemSettingNameItem: {
46
46
  readonly DefaultMembersFilter: "default_members_filter";
47
47
  readonly SelfAssignedCallSoundNotification: "self_assigned_call_sound_notification";
48
48
  readonly RecordAllCalls: "record_all_calls";
49
+ readonly MaxLoginAttempts: "max_login_attempts";
50
+ readonly BlockLoginTime: "block_login_time";
49
51
  };
@@ -23,7 +23,7 @@ export interface WebitelKbInputArticle {
23
23
  spaceId?: string;
24
24
  /** Lifecycle state. */
25
25
  state?: WebitelKbArticleState;
26
- /** Article subject. */
26
+ /** Article subject, at most 255 characters. */
27
27
  subject?: string;
28
28
  /** Article type. */
29
29
  type?: WebitelKbArticleType;
@@ -17,7 +17,7 @@ export interface WebitelKbInputSpace {
17
17
  embeddingModelId?: string;
18
18
  /** Space language; immutable after creation. */
19
19
  language?: string;
20
- /** Human-readable name. */
20
+ /** Human-readable name, at most 255 characters. */
21
21
  name?: string;
22
22
  /** Whether reranking is applied. */
23
23
  rerankEnabled?: boolean;
@@ -8,7 +8,7 @@
8
8
  * ResolveRequest selects articles by id within the given spaces.
9
9
  */
10
10
  export interface WebitelKbResolveRequest {
11
- /** Article ids to resolve. */
11
+ /** Article ids to resolve, at most 5000. */
12
12
  ids?: string[];
13
13
  /** Spaces the ids are expected in (RBAC scope). */
14
14
  spaceIds?: string[];
@@ -8,6 +8,6 @@
8
8
  * RestoreVersionRequest selects a version to restore.
9
9
  */
10
10
  export interface WebitelKbVersionsRestoreVersionBody {
11
- /** Optional notes for the new version. */
11
+ /** Optional notes for the new version, at most 50 characters. */
12
12
  notes?: string;
13
13
  }
@@ -54,6 +54,7 @@ export interface EngineHistoryCall {
54
54
  hangup_disposition?: string;
55
55
  hangup_phrase?: string;
56
56
  has_children?: boolean;
57
+ hide_number?: boolean;
57
58
  hold?: EngineCallHold[];
58
59
  hold_sec?: number;
59
60
  id?: string;
@@ -46,4 +46,6 @@ export declare const EngineSystemSettingName: {
46
46
  readonly DefaultMembersFilter: "default_members_filter";
47
47
  readonly SelfAssignedCallSoundNotification: "self_assigned_call_sound_notification";
48
48
  readonly RecordAllCalls: "record_all_calls";
49
+ readonly MaxLoginAttempts: "max_login_attempts";
50
+ readonly BlockLoginTime: "block_login_time";
49
51
  };
@@ -46,4 +46,6 @@ export declare const SearchSystemSettingNameItem: {
46
46
  readonly DefaultMembersFilter: "default_members_filter";
47
47
  readonly SelfAssignedCallSoundNotification: "self_assigned_call_sound_notification";
48
48
  readonly RecordAllCalls: "record_all_calls";
49
+ readonly MaxLoginAttempts: "max_login_attempts";
50
+ readonly BlockLoginTime: "block_login_time";
49
51
  };
@@ -23,7 +23,7 @@ export interface WebitelKbInputArticle {
23
23
  space_id?: string;
24
24
  /** Lifecycle state. */
25
25
  state?: WebitelKbArticleState;
26
- /** Article subject. */
26
+ /** Article subject, at most 255 characters. */
27
27
  subject?: string;
28
28
  /** Article type. */
29
29
  type?: WebitelKbArticleType;
@@ -17,7 +17,7 @@ export interface WebitelKbInputSpace {
17
17
  embedding_model_id?: string;
18
18
  /** Space language; immutable after creation. */
19
19
  language?: string;
20
- /** Human-readable name. */
20
+ /** Human-readable name, at most 255 characters. */
21
21
  name?: string;
22
22
  /** Whether reranking is applied. */
23
23
  rerank_enabled?: boolean;
@@ -8,7 +8,7 @@
8
8
  * ResolveRequest selects articles by id within the given spaces.
9
9
  */
10
10
  export interface WebitelKbResolveRequest {
11
- /** Article ids to resolve. */
11
+ /** Article ids to resolve, at most 5000. */
12
12
  ids?: string[];
13
13
  /** Spaces the ids are expected in (RBAC scope). */
14
14
  space_ids?: string[];
@@ -8,6 +8,6 @@
8
8
  * RestoreVersionRequest selects a version to restore.
9
9
  */
10
10
  export interface WebitelKbVersionsRestoreVersionBody {
11
- /** Optional notes for the new version. */
11
+ /** Optional notes for the new version, at most 50 characters. */
12
12
  notes?: string;
13
13
  }
@@ -522,6 +522,7 @@ export declare const SearchHistoryCallResponse: zod.ZodObject<{
522
522
  hangup_disposition: zod.ZodOptional<zod.ZodString>;
523
523
  hangup_phrase: zod.ZodOptional<zod.ZodString>;
524
524
  has_children: zod.ZodOptional<zod.ZodBoolean>;
525
+ hide_number: zod.ZodOptional<zod.ZodBoolean>;
525
526
  hold: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
526
527
  sec: zod.ZodOptional<zod.ZodNumber>;
527
528
  start: zod.ZodOptional<zod.ZodString>;
@@ -835,6 +836,7 @@ export declare const SearchHistoryCallPostResponse: zod.ZodObject<{
835
836
  hangup_disposition: zod.ZodOptional<zod.ZodString>;
836
837
  hangup_phrase: zod.ZodOptional<zod.ZodString>;
837
838
  has_children: zod.ZodOptional<zod.ZodBoolean>;
839
+ hide_number: zod.ZodOptional<zod.ZodBoolean>;
838
840
  hold: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
839
841
  sec: zod.ZodOptional<zod.ZodNumber>;
840
842
  start: zod.ZodOptional<zod.ZodString>;
@@ -1236,6 +1238,7 @@ export declare const PatchHistoryCallResponse: zod.ZodObject<{
1236
1238
  hangup_disposition: zod.ZodOptional<zod.ZodString>;
1237
1239
  hangup_phrase: zod.ZodOptional<zod.ZodString>;
1238
1240
  has_children: zod.ZodOptional<zod.ZodBoolean>;
1241
+ hide_number: zod.ZodOptional<zod.ZodBoolean>;
1239
1242
  hold: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1240
1243
  sec: zod.ZodOptional<zod.ZodNumber>;
1241
1244
  start: zod.ZodOptional<zod.ZodString>;
@@ -52,6 +52,8 @@ export declare const SearchSystemSettingQueryParams: zod.ZodObject<{
52
52
  default_members_filter: "default_members_filter";
53
53
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
54
54
  record_all_calls: "record_all_calls";
55
+ max_login_attempts: "max_login_attempts";
56
+ block_login_time: "block_login_time";
55
57
  }>>>;
56
58
  }, zod.z.core.$strip>;
57
59
  export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
@@ -99,6 +101,8 @@ export declare const SearchSystemSettingResponse: zod.ZodObject<{
99
101
  default_members_filter: "default_members_filter";
100
102
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
101
103
  record_all_calls: "record_all_calls";
104
+ max_login_attempts: "max_login_attempts";
105
+ block_login_time: "block_login_time";
102
106
  }>>;
103
107
  }, zod.z.core.$strip>>>;
104
108
  next: zod.ZodOptional<zod.ZodBoolean>;
@@ -146,6 +150,8 @@ export declare const CreateSystemSettingBody: zod.ZodObject<{
146
150
  default_members_filter: "default_members_filter";
147
151
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
148
152
  record_all_calls: "record_all_calls";
153
+ max_login_attempts: "max_login_attempts";
154
+ block_login_time: "block_login_time";
149
155
  }>>;
150
156
  }, zod.z.core.$strip>;
151
157
  export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
@@ -192,6 +198,8 @@ export declare const CreateSystemSettingResponse: zod.ZodObject<{
192
198
  default_members_filter: "default_members_filter";
193
199
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
194
200
  record_all_calls: "record_all_calls";
201
+ max_login_attempts: "max_login_attempts";
202
+ block_login_time: "block_login_time";
195
203
  }>>;
196
204
  }, zod.z.core.$strip>;
197
205
  export declare const SearchAvailableSystemSettingQueryParams: zod.ZodObject<{
@@ -254,6 +262,8 @@ export declare const DeleteSystemSettingResponse: zod.ZodObject<{
254
262
  default_members_filter: "default_members_filter";
255
263
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
256
264
  record_all_calls: "record_all_calls";
265
+ max_login_attempts: "max_login_attempts";
266
+ block_login_time: "block_login_time";
257
267
  }>>;
258
268
  }, zod.z.core.$strip>;
259
269
  export declare const ReadSystemSettingParams: zod.ZodObject<{
@@ -303,6 +313,8 @@ export declare const ReadSystemSettingResponse: zod.ZodObject<{
303
313
  default_members_filter: "default_members_filter";
304
314
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
305
315
  record_all_calls: "record_all_calls";
316
+ max_login_attempts: "max_login_attempts";
317
+ block_login_time: "block_login_time";
306
318
  }>>;
307
319
  }, zod.z.core.$strip>;
308
320
  export declare const PatchSystemSettingParams: zod.ZodObject<{
@@ -355,6 +367,8 @@ export declare const PatchSystemSettingResponse: zod.ZodObject<{
355
367
  default_members_filter: "default_members_filter";
356
368
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
357
369
  record_all_calls: "record_all_calls";
370
+ max_login_attempts: "max_login_attempts";
371
+ block_login_time: "block_login_time";
358
372
  }>>;
359
373
  }, zod.z.core.$strip>;
360
374
  export declare const UpdateSystemSettingParams: zod.ZodObject<{
@@ -405,5 +419,7 @@ export declare const UpdateSystemSettingResponse: zod.ZodObject<{
405
419
  default_members_filter: "default_members_filter";
406
420
  self_assigned_call_sound_notification: "self_assigned_call_sound_notification";
407
421
  record_all_calls: "record_all_calls";
422
+ max_login_attempts: "max_login_attempts";
423
+ block_login_time: "block_login_time";
408
424
  }>>;
409
425
  }, zod.z.core.$strip>;