@webitel/api-services 0.0.28 → 0.0.30
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/Readme.md +100 -6
- package/package.json +2 -1
- package/src/api/clients/caseSources/caseSources.ts +1 -1
- package/src/api/clients/quickReplies/quickReplies.ts +2 -0
- package/src/gen/_docs/html/assets/navigation.js +1 -1
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/index.html +1 -1
- package/src/gen/_docs/html/interfaces/_models_webitelCasesCaseQueryTarget.WebitelCasesCaseQueryTarget.html +10 -0
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/_models_webitelCasesCaseQueryTarget.html +1 -0
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/modules/sources_sources.zod.gen.html +6 -6
- package/src/gen/_docs/html/types/_models_listSourcesParams.ListSourcesParams.html +11 -7
- package/src/gen/_docs/html/types/_models_publishCommentParams.PublishCommentParams.html +5 -3
- package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +13 -3
- package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +13 -3
- package/src/gen/_docs/html/types/_models_updateComment2Params.UpdateComment2Params.html +4 -2
- package/src/gen/_docs/html/types/_models_updateCommentParams.UpdateCommentParams.html +4 -2
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.publishCommentQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateComment2QueryParams.html +1 -1
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateCommentQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBody.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryPageDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySizeDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySortDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Body.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBody.html +1 -1
- package/src/gen/_models/index.ts +1 -0
- package/src/gen/_models/listSourcesParams.ts +15 -11
- package/src/gen/_models/publishCommentParams.ts +4 -0
- package/src/gen/_models/searchCases2Params.ts +21 -1
- package/src/gen/_models/searchCasesParams.ts +21 -1
- package/src/gen/_models/updateComment2Params.ts +4 -0
- package/src/gen/_models/updateCommentParams.ts +4 -0
- package/src/gen/_models/webitelCasesCaseQueryTarget.ts +20 -0
- package/src/gen/case-comments/case-comments.zod.gen.ts +18 -0
- package/src/gen/cases/cases.zod.gen.ts +36 -2
- package/src/gen/sources/sources.zod.gen.ts +19 -14
- 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/contactsUpdateContactBody.d.ts +1 -1
- package/types/gen/_models/engineActiveCall.d.ts +2 -2
- package/types/gen/_models/engineAgent.d.ts +1 -1
- package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -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/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/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/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/googleRpcStatus.d.ts +12 -0
- package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
- 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 +1 -1
- package/types/gen/_models/webitelCasesCaseQueryTarget.d.ts +19 -0
- package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
- 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 +0 -1
- package/types/gen/_models/webitelCasesService.d.ts +1 -1
- package/types/gen/_models/webitelCasesSource.d.ts +5 -6
- package/types/gen/_models/webitelCasesStatus.d.ts +16 -0
- 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/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/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 -2
- 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/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/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/utils/gen/index.d.ts +10 -4
- package/src/gen/_docs/.nojekyll +0 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionDefault.html +0 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionDefault.html +0 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionDefault.html +0 -1
- package/types/defaults/index.d.ts +0 -2
- package/types/gen/_models/casesCaseCustom.d.ts +0 -12
- package/types/gen/_models/casesInputCaseCustom.d.ts +0 -12
- package/types/gen/_models/casesInputCreateCaseCustom.d.ts +0 -12
- package/types/gen/_models/configServicePatchConfigBody.d.ts +0 -15
- package/types/gen/_models/configServiceUpdateConfigBody.d.ts +0 -14
- package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +0 -12
- package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +0 -9
- package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +0 -10
- package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +0 -9
- package/types/gen/_models/protobufNullValue.d.ts +0 -18
- package/types/gen/_models/readSystemObjectsParams.d.ts +0 -9
- package/types/gen/_models/searchConfigObjectItem.d.ts +0 -25
- package/types/gen/_models/searchConfigParams.d.ts +0 -18
- package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +0 -14
- package/types/gen/_models/searchLogByConfigIdParams.d.ts +0 -19
- package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +0 -14
- package/types/gen/_models/searchLogByRecordIdParams.d.ts +0 -22
- package/types/gen/_models/searchLogByUserIdActionItem.d.ts +0 -14
- package/types/gen/_models/searchLogByUserIdParams.d.ts +0 -25
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { GeneralExtendedLookup } from './generalExtendedLookup';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { GeneralExtendedLookup } from './generalExtendedLookup';
|
|
8
8
|
import type { GeneralLookup } from './generalLookup';
|
|
9
9
|
export interface WebitelCasesService {
|
|
10
10
|
assignee?: GeneralLookup;
|
|
@@ -11,27 +11,26 @@ import type { WebitelCasesSourceType } from './webitelCasesSourceType';
|
|
|
11
11
|
*/
|
|
12
12
|
export interface WebitelCasesSource {
|
|
13
13
|
/** Unix timestamp representing when the source was created. */
|
|
14
|
-
|
|
14
|
+
createdAt: string;
|
|
15
15
|
/** Reference to the user who originally created this source. */
|
|
16
|
-
|
|
16
|
+
createdBy: GeneralLookup;
|
|
17
17
|
/**
|
|
18
18
|
* An optional longer explanation of the source's purpose.
|
|
19
19
|
* @maxLength 500
|
|
20
20
|
*/
|
|
21
21
|
description?: string;
|
|
22
22
|
/** Unique identifier for the source, generated automatically. */
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* A unique, descriptive name for the source.
|
|
26
26
|
* @minLength 3
|
|
27
27
|
* @maxLength 100
|
|
28
|
-
* @pattern ^[a-zA-Z0-9_\-\s]+$
|
|
29
28
|
*/
|
|
30
29
|
name: string;
|
|
31
30
|
/** The type of data source represented by this entry. */
|
|
32
31
|
type: WebitelCasesSourceType;
|
|
33
32
|
/** Unix timestamp representing the most recent update. */
|
|
34
|
-
|
|
33
|
+
updatedAt: string;
|
|
35
34
|
/** Reference to the user who most recently modified this source. */
|
|
36
|
-
|
|
35
|
+
updatedBy: GeneralLookup;
|
|
37
36
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelChatMessage } from './webitelChatMessage';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelChatMessage } from './webitelChatMessage';
|
|
8
8
|
import type { WebitelChatPeer } from './webitelChatPeer';
|
|
9
9
|
export interface WebitelChatAgentChat {
|
|
10
10
|
closeReason?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelChatBroadcastMessageRequestVariables } from './webitelChatBroadcastMessageRequestVariables';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelChatBroadcastMessageRequestVariables } from './webitelChatBroadcastMessageRequestVariables';
|
|
8
8
|
import type { WebitelChatInputMessage } from './webitelChatInputMessage';
|
|
9
9
|
import type { WebitelChatInputPeer } from './webitelChatInputPeer';
|
|
10
10
|
export interface WebitelChatBroadcastMessageRequest {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { WebitelChatChatMessageContext } from './webitelChatChatMessageContext';
|
|
2
|
-
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
import type { WebitelChatChatMessageContext } from './webitelChatChatMessageContext';
|
|
8
|
+
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
9
9
|
import type { WebitelChatContactChat } from './webitelChatContactChat';
|
|
10
10
|
import type { WebitelChatMessageFile } from './webitelChatMessageFile';
|
|
11
11
|
import type { WebitelChatMessagePostback } from './webitelChatMessagePostback';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
8
8
|
import type { WebitelChatContactChatContext } from './webitelChatContactChatContext';
|
|
9
9
|
import type { WebitelChatContactChatInvite } from './webitelChatContactChatInvite';
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelChatChat } from './webitelChatChat';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelChatChat } from './webitelChatChat';
|
|
8
8
|
import type { WebitelChatDialogContext } from './webitelChatDialogContext';
|
|
9
9
|
import type { WebitelChatMessage } from './webitelChatMessage';
|
|
10
10
|
import type { WebitelChatPeer } from './webitelChatPeer';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { WebitelChatChatMessage } from './webitelChatChatMessage';
|
|
2
|
-
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
import type { WebitelChatChatMessage } from './webitelChatChatMessage';
|
|
8
|
+
import type { WebitelChatChatPeer } from './webitelChatChatPeer';
|
|
9
9
|
import type { WebitelChatContactChat } from './webitelChatContactChat';
|
|
10
10
|
export interface WebitelChatGetContactChatHistoryResponse {
|
|
11
11
|
chats?: WebitelChatContactChat[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelContactsCommentFormat } from './webitelContactsCommentFormat';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelContactsCommentFormat } from './webitelContactsCommentFormat';
|
|
8
8
|
import type { WebitelContactsLookup } from './webitelContactsLookup';
|
|
9
9
|
export interface WebitelContactsComment {
|
|
10
10
|
/** The user who created this Field. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WebitelProtoDataField } from './webitelProtoDataField';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WebitelProtoDataField } from './webitelProtoDataField';
|
|
8
8
|
import type { WebitelProtoDataLookupValue } from './webitelProtoDataLookupValue';
|
|
9
9
|
import type { WebitelProtoDataStructIndexes } from './webitelProtoDataStructIndexes';
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WfmAbsenceType } from './wfmAbsenceType';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WfmAbsenceType } from './wfmAbsenceType';
|
|
8
8
|
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
9
9
|
export interface WfmAbsence {
|
|
10
10
|
absentAt?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { WfmAgentScheduleShiftPause } from './wfmAgentScheduleShiftPause';
|
|
2
|
-
import type { WfmAgentScheduleShiftSkill } from './wfmAgentScheduleShiftSkill';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
import type { WfmAgentScheduleShiftPause } from './wfmAgentScheduleShiftPause';
|
|
8
|
+
import type { WfmAgentScheduleShiftSkill } from './wfmAgentScheduleShiftSkill';
|
|
9
9
|
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
10
10
|
export interface WfmAgentScheduleShift {
|
|
11
11
|
createdAt?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WfmAgentSchedule } from './wfmAgentSchedule';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WfmAgentSchedule } from './wfmAgentSchedule';
|
|
8
8
|
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
9
9
|
export interface WfmAgentWorkingSchedule {
|
|
10
10
|
agent?: WfmLookupEntity;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
8
8
|
import type { WfmPauseTemplateCause } from './wfmPauseTemplateCause';
|
|
9
9
|
export interface WfmPauseTemplate {
|
|
10
10
|
causes?: WfmPauseTemplateCause[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
import type { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
|
|
8
8
|
import type { WfmHoliday } from './wfmHoliday';
|
|
9
9
|
export interface WfmSearchAgentsWorkingScheduleResponse {
|
|
10
10
|
holidays?: WfmHoliday[];
|
|
@@ -80,8 +80,8 @@ export declare const agentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
80
80
|
code: zod.ZodOptional<zod.ZodString>;
|
|
81
81
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
82
82
|
email: "email";
|
|
83
|
-
phone: "phone";
|
|
84
83
|
contact: "contact";
|
|
84
|
+
phone: "phone";
|
|
85
85
|
location: "location";
|
|
86
86
|
}>>;
|
|
87
87
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ArticlesArticlesAttachmentListParams, ArticlesArticleVersionsListParams, ArticlesCreateArticleParams, ArticlesDeleteArticleParams, ArticlesListArticles2Params, ArticlesListArticlesParams, ArticlesLocateArticleParams, ArticlesUpdateArticleBody, ArticlesUpdateArticleParams, WebitelKnowledgebaseArticle, WebitelKnowledgebaseArticleList, WebitelKnowledgebaseArticleVersion, WebitelKnowledgebaseArticleVersionList, WebitelKnowledgebaseAttachmentList, WebitelKnowledgebaseInputArticle } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getArticles: () => {
|
|
5
5
|
articlesListArticles: <TData = AxiosResponse<WebitelKnowledgebaseArticleList, any>>(spaceId: string, params?: ArticlesListArticlesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -427,18 +427,18 @@ export declare const searchHistoryCallResponse: zod.ZodObject<{
|
|
|
427
427
|
filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
428
428
|
action: zod.ZodDefault<zod.ZodEnum<{
|
|
429
429
|
undefined: "undefined";
|
|
430
|
-
STT: "STT";
|
|
431
430
|
delete: "delete";
|
|
431
|
+
STT: "STT";
|
|
432
432
|
}>>;
|
|
433
433
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
434
434
|
errorDetail: zod.ZodOptional<zod.ZodString>;
|
|
435
435
|
fileId: zod.ZodOptional<zod.ZodString>;
|
|
436
436
|
id: zod.ZodOptional<zod.ZodString>;
|
|
437
437
|
state: zod.ZodDefault<zod.ZodEnum<{
|
|
438
|
+
error: "error";
|
|
438
439
|
idle: "idle";
|
|
439
440
|
active: "active";
|
|
440
441
|
finished: "finished";
|
|
441
|
-
error: "error";
|
|
442
442
|
}>>;
|
|
443
443
|
}, zod.core.$strip>>>;
|
|
444
444
|
from: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -677,18 +677,18 @@ export declare const searchHistoryCallPostResponse: zod.ZodObject<{
|
|
|
677
677
|
filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
678
678
|
action: zod.ZodDefault<zod.ZodEnum<{
|
|
679
679
|
undefined: "undefined";
|
|
680
|
-
STT: "STT";
|
|
681
680
|
delete: "delete";
|
|
681
|
+
STT: "STT";
|
|
682
682
|
}>>;
|
|
683
683
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
684
684
|
errorDetail: zod.ZodOptional<zod.ZodString>;
|
|
685
685
|
fileId: zod.ZodOptional<zod.ZodString>;
|
|
686
686
|
id: zod.ZodOptional<zod.ZodString>;
|
|
687
687
|
state: zod.ZodDefault<zod.ZodEnum<{
|
|
688
|
+
error: "error";
|
|
688
689
|
idle: "idle";
|
|
689
690
|
active: "active";
|
|
690
691
|
finished: "finished";
|
|
691
|
-
error: "error";
|
|
692
692
|
}>>;
|
|
693
693
|
}, zod.core.$strip>>>;
|
|
694
694
|
from: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1009,18 +1009,18 @@ export declare const patchHistoryCallResponse: zod.ZodObject<{
|
|
|
1009
1009
|
filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1010
1010
|
action: zod.ZodDefault<zod.ZodEnum<{
|
|
1011
1011
|
undefined: "undefined";
|
|
1012
|
-
STT: "STT";
|
|
1013
1012
|
delete: "delete";
|
|
1013
|
+
STT: "STT";
|
|
1014
1014
|
}>>;
|
|
1015
1015
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
1016
1016
|
errorDetail: zod.ZodOptional<zod.ZodString>;
|
|
1017
1017
|
fileId: zod.ZodOptional<zod.ZodString>;
|
|
1018
1018
|
id: zod.ZodOptional<zod.ZodString>;
|
|
1019
1019
|
state: zod.ZodDefault<zod.ZodEnum<{
|
|
1020
|
+
error: "error";
|
|
1020
1021
|
idle: "idle";
|
|
1021
1022
|
active: "active";
|
|
1022
1023
|
finished: "finished";
|
|
1023
|
-
error: "error";
|
|
1024
1024
|
}>>;
|
|
1025
1025
|
}, zod.core.$strip>>>;
|
|
1026
1026
|
from: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -97,8 +97,8 @@ export declare const casesChatCatalogGetCaseChatHistoryResponse: zod.ZodObject<{
|
|
|
97
97
|
code: zod.ZodOptional<zod.ZodString>;
|
|
98
98
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
99
99
|
email: "email";
|
|
100
|
-
phone: "phone";
|
|
101
100
|
contact: "contact";
|
|
101
|
+
phone: "phone";
|
|
102
102
|
location: "location";
|
|
103
103
|
}>>;
|
|
104
104
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -151,8 +151,8 @@ export declare const catalogGetDialogsResponse: zod.ZodObject<{
|
|
|
151
151
|
code: zod.ZodOptional<zod.ZodString>;
|
|
152
152
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
153
153
|
email: "email";
|
|
154
|
-
phone: "phone";
|
|
155
154
|
contact: "contact";
|
|
155
|
+
phone: "phone";
|
|
156
156
|
location: "location";
|
|
157
157
|
}>>;
|
|
158
158
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -362,8 +362,8 @@ export declare const catalogGetHistoryResponse: zod.ZodObject<{
|
|
|
362
362
|
code: zod.ZodOptional<zod.ZodString>;
|
|
363
363
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
364
364
|
email: "email";
|
|
365
|
-
phone: "phone";
|
|
366
365
|
contact: "contact";
|
|
366
|
+
phone: "phone";
|
|
367
367
|
location: "location";
|
|
368
368
|
}>>;
|
|
369
369
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -510,8 +510,8 @@ export declare const catalogGetHistory2Response: zod.ZodObject<{
|
|
|
510
510
|
code: zod.ZodOptional<zod.ZodString>;
|
|
511
511
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
512
512
|
email: "email";
|
|
513
|
-
phone: "phone";
|
|
514
513
|
contact: "contact";
|
|
514
|
+
phone: "phone";
|
|
515
515
|
location: "location";
|
|
516
516
|
}>>;
|
|
517
517
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -21,17 +21,17 @@ export declare const configServiceSearchConfigQueryParams: zod.ZodObject<{
|
|
|
21
21
|
sort: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
23
23
|
object: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
24
|
+
schema: "schema";
|
|
25
|
+
devices: "devices";
|
|
24
26
|
contacts: "contacts";
|
|
25
27
|
cc_list: "cc_list";
|
|
26
28
|
calendars: "calendars";
|
|
27
|
-
devices: "devices";
|
|
28
29
|
cc_agent: "cc_agent";
|
|
29
30
|
cc_team: "cc_team";
|
|
30
31
|
cc_resource: "cc_resource";
|
|
31
32
|
cc_resource_group: "cc_resource_group";
|
|
32
33
|
cc_queue: "cc_queue";
|
|
33
34
|
users: "users";
|
|
34
|
-
schema: "schema";
|
|
35
35
|
chat_bots: "chat_bots";
|
|
36
36
|
cases: "cases";
|
|
37
37
|
cc_list_number: "cc_list_number";
|
|
@@ -47,9 +47,9 @@ export declare const contactsSearchContactsQueryParams: zod.ZodObject<{
|
|
|
47
47
|
id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
48
48
|
qin: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
49
49
|
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
50
|
+
DELETE: "DELETE";
|
|
50
51
|
READ: "READ";
|
|
51
52
|
WRITE: "WRITE";
|
|
52
|
-
DELETE: "DELETE";
|
|
53
53
|
}>>;
|
|
54
54
|
notIdGroup: zod.ZodOptional<zod.ZodString>;
|
|
55
55
|
group: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
@@ -1213,9 +1213,9 @@ export declare const contactsLocateContactQueryModeDefault = "READ";
|
|
|
1213
1213
|
export declare const contactsLocateContactQueryParams: zod.ZodObject<{
|
|
1214
1214
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1215
1215
|
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
1216
|
+
DELETE: "DELETE";
|
|
1216
1217
|
READ: "READ";
|
|
1217
1218
|
WRITE: "WRITE";
|
|
1218
|
-
DELETE: "DELETE";
|
|
1219
1219
|
}>>;
|
|
1220
1220
|
}, zod.core.$strip>;
|
|
1221
1221
|
export declare const contactsLocateContactResponse: zod.ZodObject<{
|
|
@@ -87,8 +87,8 @@ export declare const contactsChatCatalogGetContactChatHistory2Response: zod.ZodO
|
|
|
87
87
|
code: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
89
89
|
email: "email";
|
|
90
|
-
phone: "phone";
|
|
91
90
|
contact: "contact";
|
|
91
|
+
phone: "phone";
|
|
92
92
|
location: "location";
|
|
93
93
|
}>>;
|
|
94
94
|
text: zod.ZodOptional<zod.ZodString>;
|
|
@@ -216,8 +216,8 @@ export declare const contactsChatCatalogGetContactChatHistoryResponse: zod.ZodOb
|
|
|
216
216
|
code: zod.ZodOptional<zod.ZodString>;
|
|
217
217
|
share: zod.ZodDefault<zod.ZodEnum<{
|
|
218
218
|
email: "email";
|
|
219
|
-
phone: "phone";
|
|
220
219
|
contact: "contact";
|
|
220
|
+
phone: "phone";
|
|
221
221
|
location: "location";
|
|
222
222
|
}>>;
|
|
223
223
|
text: zod.ZodOptional<zod.ZodString>;
|