@webitel/api-services 0.0.35 → 0.0.36
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/package.json +1 -1
- package/src/gen/_docs/.nojekyll +1 -0
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/interfaces/_models_engineAgentStatsStatistic.EngineAgentStatsStatistic.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineAgentStatusStatisticItem.EngineAgentStatusStatisticItem.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineOpenedWebSocket.EngineOpenedWebSocket.html +3 -2
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.searchAgentStatusStatisticItemResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.searchAgentStatusStatisticResponse.html +1 -1
- package/src/gen/_docs/html/variables/user-helper-service_user-helper-service.zod.gen.openedWebSocketsResponse.html +1 -1
- package/src/gen/_models/engineAgentStatsStatistic.ts +1 -0
- package/src/gen/_models/engineAgentStatusStatisticItem.ts +1 -0
- package/src/gen/_models/engineOpenedWebSocket.ts +2 -1
- package/src/gen/agent-service/agent-service.msw.api.gen.ts +5 -0
- package/src/gen/agent-service/agent-service.zod.gen.ts +2 -0
- package/src/gen/user-helper-service/user-helper-service.msw.api.gen.ts +5 -1
- package/src/gen/user-helper-service/user-helper-service.zod.gen.ts +2 -1
- package/types/defaults/index.d.ts +2 -0
- package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
- package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
- package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
- package/types/gen/_models/apiCustomer.d.ts +2 -2
- package/types/gen/_models/apiDevice.d.ts +1 -1
- package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAProcess.d.ts +2 -2
- package/types/gen/_models/apiLicenseV1.d.ts +1 -1
- package/types/gen/_models/apiRole.d.ts +3 -3
- package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
- package/types/gen/_models/apiUser.d.ts +1 -1
- package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
- package/types/gen/_models/casesCaseCustom.d.ts +12 -0
- package/types/gen/_models/casesInputCaseCustom.d.ts +12 -0
- package/types/gen/_models/casesInputCreateCaseCustom.d.ts +12 -0
- package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
- package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
- package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
- package/types/gen/_models/engineActiveCall.d.ts +2 -2
- package/types/gen/_models/engineAgent.d.ts +1 -3
- package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
- package/types/gen/_models/engineAgentServicePatchAgentBody.d.ts +0 -1
- package/types/gen/_models/engineAgentServiceUpdateAgentBody.d.ts +0 -1
- package/types/gen/_models/engineAgentTeam.d.ts +0 -1
- package/types/gen/_models/engineAgentTeamServiceUpdateAgentTeamBody.d.ts +0 -1
- package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
- package/types/gen/_models/engineAttempt.d.ts +1 -1
- package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditRate.d.ts +2 -2
- package/types/gen/_models/engineCreateAgentRequest.d.ts +0 -1
- package/types/gen/_models/engineCreateAgentTeamRequest.d.ts +0 -1
- package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
- package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
- package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
- package/types/gen/_models/engineHistoryCall.d.ts +6 -6
- package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineOpenedWebSocket.d.ts +2 -1
- package/types/gen/_models/engineOutboundResource.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineQuestion.d.ts +1 -1
- package/types/gen/_models/engineQueue.d.ts +2 -2
- package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
- package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineSystemSettingName.d.ts +0 -4
- package/types/gen/_models/engineTeamHook.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTrigger.d.ts +1 -1
- package/types/gen/_models/engineTriggerJob.d.ts +1 -1
- package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
- package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
- package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
- package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
- package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
- package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
- package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
- package/types/gen/_models/protobufNullValue.d.ts +18 -0
- package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
- package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
- package/types/gen/_models/searchConfigParams.d.ts +18 -0
- package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
- package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
- package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +0 -4
- package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageFile.d.ts +2 -2
- package/types/gen/_models/storageFilePolicy.d.ts +1 -1
- package/types/gen/_models/storageImportTemplate.d.ts +2 -2
- package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
- package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
- package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
- package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
- package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
- package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesCase.d.ts +2 -3
- package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesFile.d.ts +3 -3
- package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
- package/types/gen/_models/webitelCasesService.d.ts +1 -1
- package/types/gen/_models/webitelCasesSource.d.ts +6 -5
- package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
- package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
- package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
- package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
- package/types/gen/_models/webitelChatDialog.d.ts +1 -1
- package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
- package/types/gen/_models/webitelContactsComment.d.ts +1 -1
- package/types/gen/_models/webitelContactsIMClient.d.ts +0 -2
- package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
- package/types/gen/_models/wfmAbsence.d.ts +1 -1
- package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
- package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
- package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
- package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
- package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
- package/types/gen/agent-service/agent-service.zod.gen.d.ts +0 -15
- package/types/gen/agent-team-service/agent-team-service.zod.gen.d.ts +0 -7
- package/types/gen/articles/articles.api.gen.d.ts +1 -1
- package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
- package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
- package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
- package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
- package/types/gen/contacts/contacts.zod.gen.d.ts +2 -7
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
- package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
- package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
- package/types/gen/groups/groups.zod.gen.d.ts +0 -2
- package/types/gen/imclients/imclients.zod.gen.d.ts +0 -1
- package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
- package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
- package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
- package/types/gen/system-setting-service/system-setting-service.zod.gen.d.ts +0 -32
- package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
- package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -15
- package/types/gen/types/types.zod.gen.d.ts +6 -6
- package/types/gen/user-helper-service/user-helper-service.api.gen.d.ts +1 -3
- package/types/gen/user-helper-service/user-helper-service.msw.api.gen.d.ts +1 -3
- package/types/gen/user-helper-service/user-helper-service.zod.gen.d.ts +0 -23
- package/types/utils/gen/index.d.ts +4 -10
- package/types/gen/_models/googleRpcStatus.d.ts +0 -12
- package/types/gen/_models/webitelCasesStatus.d.ts +0 -16
|
@@ -36,10 +36,6 @@ export declare const searchSystemSettingQueryParams: zod.ZodObject<{
|
|
|
36
36
|
task_end_push_notification: "task_end_push_notification";
|
|
37
37
|
push_notification_timeout: "push_notification_timeout";
|
|
38
38
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
39
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
40
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
41
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
42
|
-
screenshot_interval: "screenshot_interval";
|
|
43
39
|
}>>>;
|
|
44
40
|
}, zod.core.$strip>;
|
|
45
41
|
export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
|
|
@@ -71,10 +67,6 @@ export declare const searchSystemSettingResponse: zod.ZodObject<{
|
|
|
71
67
|
task_end_push_notification: "task_end_push_notification";
|
|
72
68
|
push_notification_timeout: "push_notification_timeout";
|
|
73
69
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
74
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
75
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
76
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
77
|
-
screenshot_interval: "screenshot_interval";
|
|
78
70
|
}>>;
|
|
79
71
|
}, zod.core.$strip>>>;
|
|
80
72
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -106,10 +98,6 @@ export declare const createSystemSettingBody: zod.ZodObject<{
|
|
|
106
98
|
task_end_push_notification: "task_end_push_notification";
|
|
107
99
|
push_notification_timeout: "push_notification_timeout";
|
|
108
100
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
109
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
110
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
111
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
112
|
-
screenshot_interval: "screenshot_interval";
|
|
113
101
|
}>>;
|
|
114
102
|
}, zod.core.$strip>;
|
|
115
103
|
export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
|
|
@@ -140,10 +128,6 @@ export declare const createSystemSettingResponse: zod.ZodObject<{
|
|
|
140
128
|
task_end_push_notification: "task_end_push_notification";
|
|
141
129
|
push_notification_timeout: "push_notification_timeout";
|
|
142
130
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
143
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
144
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
145
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
146
|
-
screenshot_interval: "screenshot_interval";
|
|
147
131
|
}>>;
|
|
148
132
|
}, zod.core.$strip>;
|
|
149
133
|
export declare const searchAvailableSystemSettingQueryParams: zod.ZodObject<{
|
|
@@ -190,10 +174,6 @@ export declare const deleteSystemSettingResponse: zod.ZodObject<{
|
|
|
190
174
|
task_end_push_notification: "task_end_push_notification";
|
|
191
175
|
push_notification_timeout: "push_notification_timeout";
|
|
192
176
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
193
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
194
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
195
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
196
|
-
screenshot_interval: "screenshot_interval";
|
|
197
177
|
}>>;
|
|
198
178
|
}, zod.core.$strip>;
|
|
199
179
|
export declare const readSystemSettingParams: zod.ZodObject<{
|
|
@@ -227,10 +207,6 @@ export declare const readSystemSettingResponse: zod.ZodObject<{
|
|
|
227
207
|
task_end_push_notification: "task_end_push_notification";
|
|
228
208
|
push_notification_timeout: "push_notification_timeout";
|
|
229
209
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
230
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
231
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
232
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
233
|
-
screenshot_interval: "screenshot_interval";
|
|
234
210
|
}>>;
|
|
235
211
|
}, zod.core.$strip>;
|
|
236
212
|
export declare const patchSystemSettingParams: zod.ZodObject<{
|
|
@@ -267,10 +243,6 @@ export declare const patchSystemSettingResponse: zod.ZodObject<{
|
|
|
267
243
|
task_end_push_notification: "task_end_push_notification";
|
|
268
244
|
push_notification_timeout: "push_notification_timeout";
|
|
269
245
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
270
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
271
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
272
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
273
|
-
screenshot_interval: "screenshot_interval";
|
|
274
246
|
}>>;
|
|
275
247
|
}, zod.core.$strip>;
|
|
276
248
|
export declare const updateSystemSettingParams: zod.ZodObject<{
|
|
@@ -305,9 +277,5 @@ export declare const updateSystemSettingResponse: zod.ZodObject<{
|
|
|
305
277
|
task_end_push_notification: "task_end_push_notification";
|
|
306
278
|
push_notification_timeout: "push_notification_timeout";
|
|
307
279
|
labels_to_limit_contacts: "labels_to_limit_contacts";
|
|
308
|
-
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
309
|
-
new_message_sound_notification: "new_message_sound_notification";
|
|
310
|
-
new_chat_sound_notification: "new_chat_sound_notification";
|
|
311
|
-
screenshot_interval: "screenshot_interval";
|
|
312
280
|
}>>;
|
|
313
281
|
}, zod.core.$strip>;
|
|
@@ -19,8 +19,8 @@ export declare const timelineGetTimelineQueryParams: zod.ZodObject<{
|
|
|
19
19
|
dateTo: zod.ZodOptional<zod.ZodString>;
|
|
20
20
|
type: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
21
21
|
chat: "chat";
|
|
22
|
-
email: "email";
|
|
23
22
|
call: "call";
|
|
23
|
+
email: "email";
|
|
24
24
|
}>>>;
|
|
25
25
|
}, zod.core.$strip>;
|
|
26
26
|
export declare const timelineGetTimelineResponseDaysItemItemsItemTypeDefault = "chat";
|
|
@@ -137,8 +137,8 @@ export declare const timelineGetTimelineResponse: zod.ZodObject<{
|
|
|
137
137
|
}, zod.core.$strip>>;
|
|
138
138
|
type: zod.ZodDefault<zod.ZodEnum<{
|
|
139
139
|
chat: "chat";
|
|
140
|
-
email: "email";
|
|
141
140
|
call: "call";
|
|
141
|
+
email: "email";
|
|
142
142
|
}>>;
|
|
143
143
|
}, zod.core.$strip>>>;
|
|
144
144
|
}, zod.core.$strip>>>;
|
|
@@ -25,11 +25,11 @@ export declare const searchTriggerResponse: zod.ZodObject<{
|
|
|
25
25
|
description: zod.ZodOptional<zod.ZodString>;
|
|
26
26
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
27
27
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
28
|
-
resolution_time: "resolution_time";
|
|
29
28
|
empty_trigger_event: "empty_trigger_event";
|
|
30
29
|
create: "create";
|
|
31
30
|
update: "update";
|
|
32
31
|
remove: "remove";
|
|
32
|
+
resolution_time: "resolution_time";
|
|
33
33
|
}>>;
|
|
34
34
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
35
35
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -70,11 +70,11 @@ export declare const createTriggerBody: zod.ZodObject<{
|
|
|
70
70
|
description: zod.ZodOptional<zod.ZodString>;
|
|
71
71
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
72
72
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
73
|
-
resolution_time: "resolution_time";
|
|
74
73
|
empty_trigger_event: "empty_trigger_event";
|
|
75
74
|
create: "create";
|
|
76
75
|
update: "update";
|
|
77
76
|
remove: "remove";
|
|
77
|
+
resolution_time: "resolution_time";
|
|
78
78
|
}>>;
|
|
79
79
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
80
80
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -109,11 +109,11 @@ export declare const createTriggerResponse: zod.ZodObject<{
|
|
|
109
109
|
description: zod.ZodOptional<zod.ZodString>;
|
|
110
110
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
111
111
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
112
|
-
resolution_time: "resolution_time";
|
|
113
112
|
empty_trigger_event: "empty_trigger_event";
|
|
114
113
|
create: "create";
|
|
115
114
|
update: "update";
|
|
116
115
|
remove: "remove";
|
|
116
|
+
resolution_time: "resolution_time";
|
|
117
117
|
}>>;
|
|
118
118
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
119
119
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -155,11 +155,11 @@ export declare const deleteTriggerResponse: zod.ZodObject<{
|
|
|
155
155
|
description: zod.ZodOptional<zod.ZodString>;
|
|
156
156
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
157
157
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
158
|
-
resolution_time: "resolution_time";
|
|
159
158
|
empty_trigger_event: "empty_trigger_event";
|
|
160
159
|
create: "create";
|
|
161
160
|
update: "update";
|
|
162
161
|
remove: "remove";
|
|
162
|
+
resolution_time: "resolution_time";
|
|
163
163
|
}>>;
|
|
164
164
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
165
165
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -201,11 +201,11 @@ export declare const readTriggerResponse: zod.ZodObject<{
|
|
|
201
201
|
description: zod.ZodOptional<zod.ZodString>;
|
|
202
202
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
203
203
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
204
|
-
resolution_time: "resolution_time";
|
|
205
204
|
empty_trigger_event: "empty_trigger_event";
|
|
206
205
|
create: "create";
|
|
207
206
|
update: "update";
|
|
208
207
|
remove: "remove";
|
|
208
|
+
resolution_time: "resolution_time";
|
|
209
209
|
}>>;
|
|
210
210
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
211
211
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -244,11 +244,11 @@ export declare const patchTriggerBody: zod.ZodObject<{
|
|
|
244
244
|
description: zod.ZodOptional<zod.ZodString>;
|
|
245
245
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
246
246
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
247
|
-
resolution_time: "resolution_time";
|
|
248
247
|
empty_trigger_event: "empty_trigger_event";
|
|
249
248
|
create: "create";
|
|
250
249
|
update: "update";
|
|
251
250
|
remove: "remove";
|
|
251
|
+
resolution_time: "resolution_time";
|
|
252
252
|
}>>;
|
|
253
253
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
254
254
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
@@ -284,11 +284,11 @@ export declare const patchTriggerResponse: zod.ZodObject<{
|
|
|
284
284
|
description: zod.ZodOptional<zod.ZodString>;
|
|
285
285
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
286
286
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
287
|
-
resolution_time: "resolution_time";
|
|
288
287
|
empty_trigger_event: "empty_trigger_event";
|
|
289
288
|
create: "create";
|
|
290
289
|
update: "update";
|
|
291
290
|
remove: "remove";
|
|
291
|
+
resolution_time: "resolution_time";
|
|
292
292
|
}>>;
|
|
293
293
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
294
294
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -330,11 +330,11 @@ export declare const updateTriggerBody: zod.ZodObject<{
|
|
|
330
330
|
description: zod.ZodOptional<zod.ZodString>;
|
|
331
331
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
332
332
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
333
|
-
resolution_time: "resolution_time";
|
|
334
333
|
empty_trigger_event: "empty_trigger_event";
|
|
335
334
|
create: "create";
|
|
336
335
|
update: "update";
|
|
337
336
|
remove: "remove";
|
|
337
|
+
resolution_time: "resolution_time";
|
|
338
338
|
}>>;
|
|
339
339
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
340
340
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -369,11 +369,11 @@ export declare const updateTriggerResponse: zod.ZodObject<{
|
|
|
369
369
|
description: zod.ZodOptional<zod.ZodString>;
|
|
370
370
|
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
371
371
|
event: zod.ZodDefault<zod.ZodEnum<{
|
|
372
|
-
resolution_time: "resolution_time";
|
|
373
372
|
empty_trigger_event: "empty_trigger_event";
|
|
374
373
|
create: "create";
|
|
375
374
|
update: "update";
|
|
376
375
|
remove: "remove";
|
|
376
|
+
resolution_time: "resolution_time";
|
|
377
377
|
}>>;
|
|
378
378
|
expression: zod.ZodOptional<zod.ZodString>;
|
|
379
379
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -418,10 +418,10 @@ export declare const searchTriggerJobQueryParams: zod.ZodObject<{
|
|
|
418
418
|
durationFrom: zod.ZodOptional<zod.ZodString>;
|
|
419
419
|
durationTo: zod.ZodOptional<zod.ZodString>;
|
|
420
420
|
state: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
421
|
-
error: "error";
|
|
422
|
-
done: "done";
|
|
423
421
|
idle: "idle";
|
|
424
422
|
active: "active";
|
|
423
|
+
error: "error";
|
|
424
|
+
done: "done";
|
|
425
425
|
}>>>;
|
|
426
426
|
}, zod.core.$strip>;
|
|
427
427
|
export declare const searchTriggerJobResponseItemsItemStateDefault = "idle";
|
|
@@ -432,10 +432,10 @@ export declare const searchTriggerJobResponse: zod.ZodObject<{
|
|
|
432
432
|
id: zod.ZodOptional<zod.ZodString>;
|
|
433
433
|
startedAt: zod.ZodOptional<zod.ZodString>;
|
|
434
434
|
state: zod.ZodDefault<zod.ZodEnum<{
|
|
435
|
-
error: "error";
|
|
436
|
-
done: "done";
|
|
437
435
|
idle: "idle";
|
|
438
436
|
active: "active";
|
|
437
|
+
error: "error";
|
|
438
|
+
done: "done";
|
|
439
439
|
}>>;
|
|
440
440
|
stoppedAt: zod.ZodOptional<zod.ZodString>;
|
|
441
441
|
trigger: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -458,10 +458,10 @@ export declare const createTriggerJobResponse: zod.ZodObject<{
|
|
|
458
458
|
id: zod.ZodOptional<zod.ZodString>;
|
|
459
459
|
startedAt: zod.ZodOptional<zod.ZodString>;
|
|
460
460
|
state: zod.ZodDefault<zod.ZodEnum<{
|
|
461
|
-
error: "error";
|
|
462
|
-
done: "done";
|
|
463
461
|
idle: "idle";
|
|
464
462
|
active: "active";
|
|
463
|
+
error: "error";
|
|
464
|
+
done: "done";
|
|
465
465
|
}>>;
|
|
466
466
|
stoppedAt: zod.ZodOptional<zod.ZodString>;
|
|
467
467
|
trigger: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -98,12 +98,10 @@ export declare const typesSearchResponse: zod.ZodObject<{
|
|
|
98
98
|
}, zod.core.$strip>>;
|
|
99
99
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
100
100
|
string: "string";
|
|
101
|
-
lookup: "lookup";
|
|
102
|
-
binary: "binary";
|
|
103
|
-
int: "int";
|
|
104
101
|
none: "none";
|
|
105
102
|
list: "list";
|
|
106
103
|
bool: "bool";
|
|
104
|
+
int: "int";
|
|
107
105
|
int32: "int32";
|
|
108
106
|
int64: "int64";
|
|
109
107
|
uint: "uint";
|
|
@@ -112,6 +110,8 @@ export declare const typesSearchResponse: zod.ZodObject<{
|
|
|
112
110
|
float: "float";
|
|
113
111
|
float32: "float32";
|
|
114
112
|
float64: "float64";
|
|
113
|
+
binary: "binary";
|
|
114
|
+
lookup: "lookup";
|
|
115
115
|
richtext: "richtext";
|
|
116
116
|
datetime: "datetime";
|
|
117
117
|
duration: "duration";
|
|
@@ -253,12 +253,10 @@ export declare const typesLocateResponse: zod.ZodObject<{
|
|
|
253
253
|
}, zod.core.$strip>>;
|
|
254
254
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
255
255
|
string: "string";
|
|
256
|
-
lookup: "lookup";
|
|
257
|
-
binary: "binary";
|
|
258
|
-
int: "int";
|
|
259
256
|
none: "none";
|
|
260
257
|
list: "list";
|
|
261
258
|
bool: "bool";
|
|
259
|
+
int: "int";
|
|
262
260
|
int32: "int32";
|
|
263
261
|
int64: "int64";
|
|
264
262
|
uint: "uint";
|
|
@@ -267,6 +265,8 @@ export declare const typesLocateResponse: zod.ZodObject<{
|
|
|
267
265
|
float: "float";
|
|
268
266
|
float32: "float32";
|
|
269
267
|
float64: "float64";
|
|
268
|
+
binary: "binary";
|
|
269
|
+
lookup: "lookup";
|
|
270
270
|
richtext: "richtext";
|
|
271
271
|
datetime: "datetime";
|
|
272
272
|
duration: "duration";
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse
|
|
2
|
+
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getUserHelperService: () => {
|
|
5
5
|
defaultDeviceConfig: <TData = AxiosResponse<EngineDefaultDeviceConfigResponse, any>>(type: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
activityWorkspaceWidget: <TData = AxiosResponse<EngineActivityWorkspaceWidgetResponse, any>>(params?: ActivityWorkspaceWidgetParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
openedWebSockets: <TData = AxiosResponse<EngineListOpenedWebSocket, any>>(userId: string[], params?: OpenedWebSocketsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
7
|
};
|
|
9
8
|
export type DefaultDeviceConfigResult = AxiosResponse<EngineDefaultDeviceConfigResponse>;
|
|
10
9
|
export type ActivityWorkspaceWidgetResult = AxiosResponse<EngineActivityWorkspaceWidgetResponse>;
|
|
11
|
-
export type OpenedWebSocketsResult = AxiosResponse<EngineListOpenedWebSocket>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse
|
|
2
|
+
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
3
3
|
export declare const getDefaultDeviceConfigResponseMock: (overrideResponse?: Partial<EngineDefaultDeviceConfigResponse>) => EngineDefaultDeviceConfigResponse;
|
|
4
4
|
export declare const getActivityWorkspaceWidgetResponseMock: (overrideResponse?: Partial<EngineActivityWorkspaceWidgetResponse>) => EngineActivityWorkspaceWidgetResponse;
|
|
5
|
-
export declare const getOpenedWebSocketsResponseMock: (overrideResponse?: Partial<EngineListOpenedWebSocket>) => EngineListOpenedWebSocket;
|
|
6
5
|
export declare const getDefaultDeviceConfigMockHandler: (overrideResponse?: EngineDefaultDeviceConfigResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineDefaultDeviceConfigResponse> | EngineDefaultDeviceConfigResponse)) => import("msw").HttpHandler;
|
|
7
6
|
export declare const getActivityWorkspaceWidgetMockHandler: (overrideResponse?: EngineActivityWorkspaceWidgetResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineActivityWorkspaceWidgetResponse> | EngineActivityWorkspaceWidgetResponse)) => import("msw").HttpHandler;
|
|
8
|
-
export declare const getOpenedWebSocketsMockHandler: (overrideResponse?: EngineListOpenedWebSocket | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineListOpenedWebSocket> | EngineListOpenedWebSocket)) => import("msw").HttpHandler;
|
|
9
7
|
export declare const getUserHelperServiceMock: () => import("msw").HttpHandler[];
|
|
@@ -57,26 +57,3 @@ export declare const activityWorkspaceWidgetResponse: zod.ZodObject<{
|
|
|
57
57
|
utilization: zod.ZodOptional<zod.ZodNumber>;
|
|
58
58
|
voiceMail: zod.ZodOptional<zod.ZodNumber>;
|
|
59
59
|
}, zod.core.$strip>;
|
|
60
|
-
export declare const openedWebSocketsParams: zod.ZodObject<{
|
|
61
|
-
user_id: zod.ZodArray<zod.ZodString>;
|
|
62
|
-
}, zod.core.$strip>;
|
|
63
|
-
export declare const openedWebSocketsQueryParams: zod.ZodObject<{
|
|
64
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
65
|
-
size: zod.ZodOptional<zod.ZodNumber>;
|
|
66
|
-
q: zod.ZodOptional<zod.ZodString>;
|
|
67
|
-
sort: zod.ZodOptional<zod.ZodString>;
|
|
68
|
-
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
69
|
-
}, zod.core.$strip>;
|
|
70
|
-
export declare const openedWebSocketsResponse: zod.ZodObject<{
|
|
71
|
-
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
72
|
-
client: zod.ZodOptional<zod.ZodString>;
|
|
73
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
74
|
-
duration: zod.ZodOptional<zod.ZodString>;
|
|
75
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
76
|
-
ip: zod.ZodOptional<zod.ZodString>;
|
|
77
|
-
pong: zod.ZodOptional<zod.ZodString>;
|
|
78
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
79
|
-
userAgent: zod.ZodOptional<zod.ZodString>;
|
|
80
|
-
}, zod.core.$strip>>>;
|
|
81
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
82
|
-
}, zod.core.$strip>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import z from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
* @description
|
|
4
|
+
* only depth=1 fields will be returned
|
|
5
|
+
* */
|
|
6
6
|
export declare const getShallowFieldsToSendFromZodSchema: (schema: z.ZodTypeAny) => string[];
|
|
7
7
|
export declare const getFieldsToSendFromZodSchema: <T extends z.ZodTypeAny>(schema: T) => string[];
|
|
8
|
-
/**
|
|
9
|
-
* @author @dlohvinov
|
|
10
|
-
* @description
|
|
11
|
-
* Get default value for schema. Could be anything: object with default fields values, or primitive.
|
|
12
|
-
*/
|
|
13
|
-
export declare const getDefaultsFromZodSchema: (schema: z.ZodType, value?: unknown) => unknown;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.10.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { GoogleProtobufAny } from './googleProtobufAny';
|
|
8
|
-
export interface GoogleRpcStatus {
|
|
9
|
-
code?: number;
|
|
10
|
-
details?: GoogleProtobufAny[];
|
|
11
|
-
message?: string;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.10.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { GeneralLookup } from './generalLookup';
|
|
8
|
-
export interface WebitelCasesStatus {
|
|
9
|
-
createdAt?: string;
|
|
10
|
-
createdBy?: GeneralLookup;
|
|
11
|
-
description?: string;
|
|
12
|
-
id?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
updatedAt?: string;
|
|
15
|
-
updatedBy?: GeneralLookup;
|
|
16
|
-
}
|