@webitel/api-services 0.0.37 → 0.0.38
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/api/clients/index.ts +1 -1
- package/src/gen/_docs/.nojekyll +1 -0
- package/types/api/clients/index.d.ts +0 -1
- package/types/api/clients/roles/roles.d.ts +4 -0
- 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/engineAgentStatsStatistic.d.ts +0 -1
- package/types/gen/_models/engineAgentStatusStatisticItem.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/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/storageUploadP2PVideoResponse.d.ts +0 -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 -17
- 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/file-service/file-service.api.gen.d.ts +1 -5
- package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -5
- package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
- 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 -24
- package/types/utils/gen/index.d.ts +4 -10
- package/src/api/clients/roles/roles.ts +0 -186
- package/types/gen/_models/googleRpcStatus.d.ts +0 -12
- package/types/gen/_models/webitelCasesStatus.d.ts +0 -16
|
@@ -84,12 +84,10 @@ export declare const extensionsDeleteType2Response: zod.ZodObject<{
|
|
|
84
84
|
}, zod.core.$strip>>;
|
|
85
85
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
86
86
|
string: "string";
|
|
87
|
-
lookup: "lookup";
|
|
88
|
-
binary: "binary";
|
|
89
|
-
int: "int";
|
|
90
87
|
none: "none";
|
|
91
88
|
list: "list";
|
|
92
89
|
bool: "bool";
|
|
90
|
+
int: "int";
|
|
93
91
|
int32: "int32";
|
|
94
92
|
int64: "int64";
|
|
95
93
|
uint: "uint";
|
|
@@ -98,6 +96,8 @@ export declare const extensionsDeleteType2Response: zod.ZodObject<{
|
|
|
98
96
|
float: "float";
|
|
99
97
|
float32: "float32";
|
|
100
98
|
float64: "float64";
|
|
99
|
+
binary: "binary";
|
|
100
|
+
lookup: "lookup";
|
|
101
101
|
richtext: "richtext";
|
|
102
102
|
datetime: "datetime";
|
|
103
103
|
duration: "duration";
|
|
@@ -249,12 +249,10 @@ export declare const extensionsSearchTypeResponse: zod.ZodObject<{
|
|
|
249
249
|
}, zod.core.$strip>>;
|
|
250
250
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
251
251
|
string: "string";
|
|
252
|
-
lookup: "lookup";
|
|
253
|
-
binary: "binary";
|
|
254
|
-
int: "int";
|
|
255
252
|
none: "none";
|
|
256
253
|
list: "list";
|
|
257
254
|
bool: "bool";
|
|
255
|
+
int: "int";
|
|
258
256
|
int32: "int32";
|
|
259
257
|
int64: "int64";
|
|
260
258
|
uint: "uint";
|
|
@@ -263,6 +261,8 @@ export declare const extensionsSearchTypeResponse: zod.ZodObject<{
|
|
|
263
261
|
float: "float";
|
|
264
262
|
float32: "float32";
|
|
265
263
|
float64: "float64";
|
|
264
|
+
binary: "binary";
|
|
265
|
+
lookup: "lookup";
|
|
266
266
|
richtext: "richtext";
|
|
267
267
|
datetime: "datetime";
|
|
268
268
|
duration: "duration";
|
|
@@ -409,12 +409,10 @@ export declare const extensionsDeleteTypeResponse: zod.ZodObject<{
|
|
|
409
409
|
}, zod.core.$strip>>;
|
|
410
410
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
411
411
|
string: "string";
|
|
412
|
-
lookup: "lookup";
|
|
413
|
-
binary: "binary";
|
|
414
|
-
int: "int";
|
|
415
412
|
none: "none";
|
|
416
413
|
list: "list";
|
|
417
414
|
bool: "bool";
|
|
415
|
+
int: "int";
|
|
418
416
|
int32: "int32";
|
|
419
417
|
int64: "int64";
|
|
420
418
|
uint: "uint";
|
|
@@ -423,6 +421,8 @@ export declare const extensionsDeleteTypeResponse: zod.ZodObject<{
|
|
|
423
421
|
float: "float";
|
|
424
422
|
float32: "float32";
|
|
425
423
|
float64: "float64";
|
|
424
|
+
binary: "binary";
|
|
425
|
+
lookup: "lookup";
|
|
426
426
|
richtext: "richtext";
|
|
427
427
|
datetime: "datetime";
|
|
428
428
|
duration: "duration";
|
|
@@ -565,12 +565,10 @@ export declare const extensionsLocateTypeResponse: zod.ZodObject<{
|
|
|
565
565
|
}, zod.core.$strip>>;
|
|
566
566
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
567
567
|
string: "string";
|
|
568
|
-
lookup: "lookup";
|
|
569
|
-
binary: "binary";
|
|
570
|
-
int: "int";
|
|
571
568
|
none: "none";
|
|
572
569
|
list: "list";
|
|
573
570
|
bool: "bool";
|
|
571
|
+
int: "int";
|
|
574
572
|
int32: "int32";
|
|
575
573
|
int64: "int64";
|
|
576
574
|
uint: "uint";
|
|
@@ -579,6 +577,8 @@ export declare const extensionsLocateTypeResponse: zod.ZodObject<{
|
|
|
579
577
|
float: "float";
|
|
580
578
|
float32: "float32";
|
|
581
579
|
float64: "float64";
|
|
580
|
+
binary: "binary";
|
|
581
|
+
lookup: "lookup";
|
|
582
582
|
richtext: "richtext";
|
|
583
583
|
datetime: "datetime";
|
|
584
584
|
duration: "duration";
|
|
@@ -708,12 +708,10 @@ export declare const extensionsCreateTypeBody: zod.ZodObject<{
|
|
|
708
708
|
}, zod.core.$strip>>;
|
|
709
709
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
710
710
|
string: "string";
|
|
711
|
-
lookup: "lookup";
|
|
712
|
-
binary: "binary";
|
|
713
|
-
int: "int";
|
|
714
711
|
none: "none";
|
|
715
712
|
list: "list";
|
|
716
713
|
bool: "bool";
|
|
714
|
+
int: "int";
|
|
717
715
|
int32: "int32";
|
|
718
716
|
int64: "int64";
|
|
719
717
|
uint: "uint";
|
|
@@ -722,6 +720,8 @@ export declare const extensionsCreateTypeBody: zod.ZodObject<{
|
|
|
722
720
|
float: "float";
|
|
723
721
|
float32: "float32";
|
|
724
722
|
float64: "float64";
|
|
723
|
+
binary: "binary";
|
|
724
|
+
lookup: "lookup";
|
|
725
725
|
richtext: "richtext";
|
|
726
726
|
datetime: "datetime";
|
|
727
727
|
duration: "duration";
|
|
@@ -841,12 +841,10 @@ export declare const extensionsCreateTypeResponse: zod.ZodObject<{
|
|
|
841
841
|
}, zod.core.$strip>>;
|
|
842
842
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
843
843
|
string: "string";
|
|
844
|
-
lookup: "lookup";
|
|
845
|
-
binary: "binary";
|
|
846
|
-
int: "int";
|
|
847
844
|
none: "none";
|
|
848
845
|
list: "list";
|
|
849
846
|
bool: "bool";
|
|
847
|
+
int: "int";
|
|
850
848
|
int32: "int32";
|
|
851
849
|
int64: "int64";
|
|
852
850
|
uint: "uint";
|
|
@@ -855,6 +853,8 @@ export declare const extensionsCreateTypeResponse: zod.ZodObject<{
|
|
|
855
853
|
float: "float";
|
|
856
854
|
float32: "float32";
|
|
857
855
|
float64: "float64";
|
|
856
|
+
binary: "binary";
|
|
857
|
+
lookup: "lookup";
|
|
858
858
|
richtext: "richtext";
|
|
859
859
|
datetime: "datetime";
|
|
860
860
|
duration: "duration";
|
|
@@ -984,12 +984,10 @@ export declare const extensionsUpdateTypeBody: zod.ZodObject<{
|
|
|
984
984
|
}, zod.core.$strip>>;
|
|
985
985
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
986
986
|
string: "string";
|
|
987
|
-
lookup: "lookup";
|
|
988
|
-
binary: "binary";
|
|
989
|
-
int: "int";
|
|
990
987
|
none: "none";
|
|
991
988
|
list: "list";
|
|
992
989
|
bool: "bool";
|
|
990
|
+
int: "int";
|
|
993
991
|
int32: "int32";
|
|
994
992
|
int64: "int64";
|
|
995
993
|
uint: "uint";
|
|
@@ -998,6 +996,8 @@ export declare const extensionsUpdateTypeBody: zod.ZodObject<{
|
|
|
998
996
|
float: "float";
|
|
999
997
|
float32: "float32";
|
|
1000
998
|
float64: "float64";
|
|
999
|
+
binary: "binary";
|
|
1000
|
+
lookup: "lookup";
|
|
1001
1001
|
richtext: "richtext";
|
|
1002
1002
|
datetime: "datetime";
|
|
1003
1003
|
duration: "duration";
|
|
@@ -1117,12 +1117,10 @@ export declare const extensionsUpdateTypeResponse: zod.ZodObject<{
|
|
|
1117
1117
|
}, zod.core.$strip>>;
|
|
1118
1118
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
1119
1119
|
string: "string";
|
|
1120
|
-
lookup: "lookup";
|
|
1121
|
-
binary: "binary";
|
|
1122
|
-
int: "int";
|
|
1123
1120
|
none: "none";
|
|
1124
1121
|
list: "list";
|
|
1125
1122
|
bool: "bool";
|
|
1123
|
+
int: "int";
|
|
1126
1124
|
int32: "int32";
|
|
1127
1125
|
int64: "int64";
|
|
1128
1126
|
uint: "uint";
|
|
@@ -1131,6 +1129,8 @@ export declare const extensionsUpdateTypeResponse: zod.ZodObject<{
|
|
|
1131
1129
|
float: "float";
|
|
1132
1130
|
float32: "float32";
|
|
1133
1131
|
float64: "float64";
|
|
1132
|
+
binary: "binary";
|
|
1133
|
+
lookup: "lookup";
|
|
1134
1134
|
richtext: "richtext";
|
|
1135
1135
|
datetime: "datetime";
|
|
1136
1136
|
duration: "duration";
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { FileServiceSearchFilesParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageListFile,
|
|
2
|
+
import type { FileServiceSearchFilesParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageListFile, StorageUploadP2PVideoRequest, StorageUploadP2PVideoResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getFileService: () => {
|
|
5
5
|
fileServiceDeleteFiles: <TData = AxiosResponse<StorageDeleteFilesResponse, any>>(storageDeleteFilesRequest: StorageDeleteFilesRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
fileServiceSearchFiles: <TData = AxiosResponse<StorageListFile, any>>(params?: FileServiceSearchFilesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
7
|
fileServiceUploadP2PVideo: <TData = AxiosResponse<StorageUploadP2PVideoResponse, any>>(storageUploadP2PVideoRequest: StorageUploadP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
fileServiceStopP2PVideo: <TData = AxiosResponse<StorageStopP2PVideoResponse, any>>(id: string, storageStopP2PVideoRequest: StorageStopP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
fileServiceRenegotiateP2PVideo: <TData = AxiosResponse<StorageRenegotiateP2PVideoResponse, any>>(id: string, storageRenegotiateP2PVideoRequest: StorageRenegotiateP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
8
|
};
|
|
11
9
|
export type FileServiceDeleteFilesResult = AxiosResponse<StorageDeleteFilesResponse>;
|
|
12
10
|
export type FileServiceSearchFilesResult = AxiosResponse<StorageListFile>;
|
|
13
11
|
export type FileServiceUploadP2PVideoResult = AxiosResponse<StorageUploadP2PVideoResponse>;
|
|
14
|
-
export type FileServiceStopP2PVideoResult = AxiosResponse<StorageStopP2PVideoResponse>;
|
|
15
|
-
export type FileServiceRenegotiateP2PVideoResult = AxiosResponse<StorageRenegotiateP2PVideoResponse>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { StorageDeleteFilesResponse, StorageListFile,
|
|
2
|
+
import type { StorageDeleteFilesResponse, StorageListFile, StorageUploadP2PVideoResponse } from '.././_models';
|
|
3
3
|
export declare const getFileServiceDeleteFilesResponseMock: () => StorageDeleteFilesResponse;
|
|
4
4
|
export declare const getFileServiceSearchFilesResponseMock: (overrideResponse?: Partial<StorageListFile>) => StorageListFile;
|
|
5
5
|
export declare const getFileServiceUploadP2PVideoResponseMock: (overrideResponse?: Partial<StorageUploadP2PVideoResponse>) => StorageUploadP2PVideoResponse;
|
|
6
|
-
export declare const getFileServiceStopP2PVideoResponseMock: () => StorageStopP2PVideoResponse;
|
|
7
|
-
export declare const getFileServiceRenegotiateP2PVideoResponseMock: (overrideResponse?: Partial<StorageRenegotiateP2PVideoResponse>) => StorageRenegotiateP2PVideoResponse;
|
|
8
6
|
export declare const getFileServiceDeleteFilesMockHandler: (overrideResponse?: StorageDeleteFilesResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<StorageDeleteFilesResponse> | StorageDeleteFilesResponse)) => import("msw").HttpHandler;
|
|
9
7
|
export declare const getFileServiceSearchFilesMockHandler: (overrideResponse?: StorageListFile | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<StorageListFile> | StorageListFile)) => import("msw").HttpHandler;
|
|
10
8
|
export declare const getFileServiceUploadP2PVideoMockHandler: (overrideResponse?: StorageUploadP2PVideoResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<StorageUploadP2PVideoResponse> | StorageUploadP2PVideoResponse)) => import("msw").HttpHandler;
|
|
11
|
-
export declare const getFileServiceStopP2PVideoMockHandler: (overrideResponse?: StorageStopP2PVideoResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<StorageStopP2PVideoResponse> | StorageStopP2PVideoResponse)) => import("msw").HttpHandler;
|
|
12
|
-
export declare const getFileServiceRenegotiateP2PVideoMockHandler: (overrideResponse?: StorageRenegotiateP2PVideoResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<StorageRenegotiateP2PVideoResponse> | StorageRenegotiateP2PVideoResponse)) => import("msw").HttpHandler;
|
|
13
9
|
export declare const getFileServiceMock: () => import("msw").HttpHandler[];
|
|
@@ -84,23 +84,5 @@ export declare const fileServiceUploadP2PVideoBody: zod.ZodObject<{
|
|
|
84
84
|
uuid: zod.ZodOptional<zod.ZodString>;
|
|
85
85
|
}, zod.core.$strip>;
|
|
86
86
|
export declare const fileServiceUploadP2PVideoResponse: zod.ZodObject<{
|
|
87
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
88
|
-
sdpAnswer: zod.ZodOptional<zod.ZodString>;
|
|
89
|
-
}, zod.core.$strip>;
|
|
90
|
-
export declare const fileServiceStopP2PVideoParams: zod.ZodObject<{
|
|
91
|
-
id: zod.ZodString;
|
|
92
|
-
}, zod.core.$strip>;
|
|
93
|
-
export declare const fileServiceStopP2PVideoBody: zod.ZodObject<{
|
|
94
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
95
|
-
}, zod.core.$strip>;
|
|
96
|
-
export declare const fileServiceStopP2PVideoResponse: zod.ZodObject<{}, zod.core.$strip>;
|
|
97
|
-
export declare const fileServiceRenegotiateP2PVideoParams: zod.ZodObject<{
|
|
98
|
-
id: zod.ZodString;
|
|
99
|
-
}, zod.core.$strip>;
|
|
100
|
-
export declare const fileServiceRenegotiateP2PVideoBody: zod.ZodObject<{
|
|
101
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
102
|
-
sdpOffer: zod.ZodOptional<zod.ZodString>;
|
|
103
|
-
}, zod.core.$strip>;
|
|
104
|
-
export declare const fileServiceRenegotiateP2PVideoResponse: zod.ZodObject<{
|
|
105
87
|
sdpAnswer: zod.ZodOptional<zod.ZodString>;
|
|
106
88
|
}, zod.core.$strip>;
|
|
@@ -254,7 +254,6 @@ export declare const groupsAddContactsToGroupsResponse: zod.ZodObject<{
|
|
|
254
254
|
type: zod.ZodOptional<zod.ZodString>;
|
|
255
255
|
}, zod.core.$strip>>;
|
|
256
256
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
257
|
-
externalId: zod.ZodOptional<zod.ZodString>;
|
|
258
257
|
id: zod.ZodOptional<zod.ZodString>;
|
|
259
258
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
260
259
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -610,7 +609,6 @@ export declare const groupsRemoveContactsFromGroupResponse: zod.ZodObject<{
|
|
|
610
609
|
type: zod.ZodOptional<zod.ZodString>;
|
|
611
610
|
}, zod.core.$strip>>;
|
|
612
611
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
613
|
-
externalId: zod.ZodOptional<zod.ZodString>;
|
|
614
612
|
id: zod.ZodOptional<zod.ZodString>;
|
|
615
613
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
616
614
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -33,7 +33,6 @@ export declare const iMClientsListIMClientsResponse: zod.ZodObject<{
|
|
|
33
33
|
type: zod.ZodOptional<zod.ZodString>;
|
|
34
34
|
}, zod.core.$strip>>;
|
|
35
35
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
36
|
-
externalId: zod.ZodOptional<zod.ZodString>;
|
|
37
36
|
id: zod.ZodOptional<zod.ZodString>;
|
|
38
37
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
39
38
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ApiDeleteLDAPRequest, ApiLDAPCatalog, ApiLDAPCreateLDAPTemplateBody, ApiLDAPDeleteLDAPTemplateBody, ApiLDAPLDAPSearchBody, ApiLDAPResyncLDAPCatalogBody,
|
|
2
|
+
import type { ApiDeleteLDAPRequest, ApiLDAPCatalog, ApiLDAPCreateLDAPTemplateBody, ApiLDAPDeleteLDAPTemplateBody, ApiLDAPLDAPSearchBody, ApiLDAPResyncLDAPCatalogBody, ApiLDAPSearchRequest, ApiLDAPSearchResponse, ApiLDAPTemplate, ApiLDAPTemplateResponse, ApiLDAPUpdateLDAPCatalogBody, ApiLDAPUpdateLDAPTemplateBody, ApiLDAProcess, ApiLDAProcessResponse, ApiSearchLDAPResponse, LDAPDeleteLDAPCatalogParams, LDAPLDAPSearch2Params, LDAPLDAPSearch4Params, LDAPLocateLDAPCatalogParams, LDAPLocateLDAPTemplateParams, LDAPLocateLDAProcessParams, LDAPSearchLDAPCatalogParams, LDAPSearchLDAPTemplateParams, LDAPSearchLDAProcessParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getLdap: () => {
|
|
5
5
|
lDAPDeleteLDAPCatalog2: <TData = AxiosResponse<ApiLDAPCatalog, any>>(apiDeleteLDAPRequest: ApiDeleteLDAPRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { ApiLDAPCatalog,
|
|
2
|
+
import type { ApiLDAPCatalog, ApiLDAPSearchResponse, ApiLDAPTemplate, ApiLDAPTemplateResponse, ApiLDAProcess, ApiLDAProcessResponse, ApiSearchLDAPResponse } from '.././_models';
|
|
3
3
|
export declare const getLDAPDeleteLDAPCatalog2ResponseMock: (overrideResponse?: Partial<ApiLDAPCatalog>) => ApiLDAPCatalog;
|
|
4
4
|
export declare const getLDAPSearchLDAPCatalogResponseMock: (overrideResponse?: Partial<ApiSearchLDAPResponse>) => ApiSearchLDAPResponse;
|
|
5
5
|
export declare const getLDAPCreateLDAPCatalogResponseMock: (overrideResponse?: Partial<ApiLDAPCatalog>) => ApiLDAPCatalog;
|
|
@@ -16,9 +16,9 @@ export declare const loggerServiceSearchLogByConfigIdQueryParams: zod.ZodObject<
|
|
|
16
16
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
17
17
|
userId: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18
18
|
action: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
19
|
-
delete: "delete";
|
|
20
19
|
create: "create";
|
|
21
20
|
update: "update";
|
|
21
|
+
delete: "delete";
|
|
22
22
|
default_no_action: "default_no_action";
|
|
23
23
|
read: "read";
|
|
24
24
|
}>>>;
|
|
@@ -61,9 +61,9 @@ export declare const loggerServiceSearchLogByUserIdQueryParams: zod.ZodObject<{
|
|
|
61
61
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
62
62
|
objectId: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
63
63
|
action: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
64
|
-
delete: "delete";
|
|
65
64
|
create: "create";
|
|
66
65
|
update: "update";
|
|
66
|
+
delete: "delete";
|
|
67
67
|
default_no_action: "default_no_action";
|
|
68
68
|
read: "read";
|
|
69
69
|
}>>>;
|
|
@@ -97,17 +97,17 @@ export declare const loggerServiceSearchLogByUserIdResponse: zod.ZodObject<{
|
|
|
97
97
|
}, zod.core.$strip>;
|
|
98
98
|
export declare const loggerServiceSearchLogByRecordIdParams: zod.ZodObject<{
|
|
99
99
|
object: zod.ZodEnum<{
|
|
100
|
-
schema: "schema";
|
|
101
|
-
devices: "devices";
|
|
102
100
|
contacts: "contacts";
|
|
103
101
|
cc_list: "cc_list";
|
|
104
102
|
calendars: "calendars";
|
|
103
|
+
devices: "devices";
|
|
105
104
|
cc_agent: "cc_agent";
|
|
106
105
|
cc_team: "cc_team";
|
|
107
106
|
cc_resource: "cc_resource";
|
|
108
107
|
cc_resource_group: "cc_resource_group";
|
|
109
108
|
cc_queue: "cc_queue";
|
|
110
109
|
users: "users";
|
|
110
|
+
schema: "schema";
|
|
111
111
|
chat_bots: "chat_bots";
|
|
112
112
|
cases: "cases";
|
|
113
113
|
cc_list_number: "cc_list_number";
|
|
@@ -123,9 +123,9 @@ export declare const loggerServiceSearchLogByRecordIdQueryParams: zod.ZodObject<
|
|
|
123
123
|
sort: zod.ZodOptional<zod.ZodString>;
|
|
124
124
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
125
125
|
action: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
126
|
-
delete: "delete";
|
|
127
126
|
create: "create";
|
|
128
127
|
update: "update";
|
|
128
|
+
delete: "delete";
|
|
129
129
|
default_no_action: "default_no_action";
|
|
130
130
|
read: "read";
|
|
131
131
|
}>>>;
|
|
@@ -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>;
|