@webitel/api-services 0.0.38 → 0.0.41
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/contactGroups/contactGroups.ts +1 -1
- package/src/api/clients/index.ts +1 -0
- package/src/api/clients/wtTypes/adjunctTypes/adjunctTypes.ts +162 -0
- package/src/api/clients/wtTypes/index.ts +1 -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_engineHistoryCall.EngineHistoryCall.html +4 -2
- package/src/gen/_docs/html/interfaces/_models_engineHistoryCallCallForm.EngineHistoryCallCallForm.html +3 -0
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/_models_engineHistoryCallCallForm.html +1 -0
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/variables/call-service_call-service.zod.gen.patchHistoryCallResponse.html +1 -1
- package/src/gen/_docs/html/variables/call-service_call-service.zod.gen.searchHistoryCallPostResponse.html +1 -1
- package/src/gen/_docs/html/variables/call-service_call-service.zod.gen.searchHistoryCallResponse.html +1 -1
- package/src/gen/_models/engineHistoryCall.ts +3 -0
- package/src/gen/_models/engineHistoryCallCallForm.ts +12 -0
- package/src/gen/_models/index.ts +1 -0
- package/src/gen/call-service/call-service.msw.api.gen.ts +87 -0
- package/src/gen/call-service/call-service.zod.gen.ts +42 -0
- package/src/utils/gen/index.ts +2 -2
- package/types/api/clients/index.d.ts +1 -0
- package/types/api/clients/wtTypes/adjunctTypes/adjunctTypes.d.ts +21 -0
- package/types/api/clients/wtTypes/index.d.ts +1 -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/contactsUpdateContactBody.d.ts +1 -1
- package/types/gen/_models/engineActiveCall.d.ts +2 -2
- package/types/gen/_models/engineAgent.d.ts +3 -1
- package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
- package/types/gen/_models/engineAgentServicePatchAgentBody.d.ts +1 -0
- package/types/gen/_models/engineAgentServiceUpdateAgentBody.d.ts +1 -0
- package/types/gen/_models/engineAgentStatsStatistic.d.ts +1 -0
- package/types/gen/_models/engineAgentStatusStatisticItem.d.ts +1 -0
- package/types/gen/_models/engineAgentTeam.d.ts +1 -0
- package/types/gen/_models/engineAgentTeamServiceUpdateAgentTeamBody.d.ts +1 -0
- 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 +1 -0
- package/types/gen/_models/engineCreateAgentTeamRequest.d.ts +1 -0
- 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 +9 -6
- package/types/gen/_models/engineHistoryCallCallForm.d.ts +11 -0
- 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 +4 -0
- 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/searchSystemSettingNameItem.d.ts +4 -0
- 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 +1 -0
- 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 +3 -2
- 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 +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/webitelContactsIMClient.d.ts +2 -0
- 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 +17 -0
- package/types/gen/agent-team-service/agent-team-service.zod.gen.d.ts +7 -0
- package/types/gen/articles/articles.api.gen.d.ts +1 -1
- package/types/gen/call-service/call-service.zod.gen.d.ts +30 -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 +7 -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 +22 -22
- package/types/gen/extensions/extensions.zod.gen.d.ts +16 -16
- package/types/gen/file-service/file-service.api.gen.d.ts +5 -1
- package/types/gen/file-service/file-service.msw.api.gen.d.ts +5 -1
- package/types/gen/file-service/file-service.zod.gen.d.ts +18 -0
- package/types/gen/groups/groups.zod.gen.d.ts +2 -0
- package/types/gen/imclients/imclients.zod.gen.d.ts +1 -0
- 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 +32 -0
- 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 +4 -4
- package/types/gen/user-helper-service/user-helper-service.api.gen.d.ts +3 -1
- package/types/gen/user-helper-service/user-helper-service.msw.api.gen.d.ts +3 -1
- package/types/gen/user-helper-service/user-helper-service.zod.gen.d.ts +24 -0
- package/types/utils/gen/index.d.ts +12 -6
- package/src/gen/_docs/.nojekyll +0 -1
- package/types/api/clients/roles/roles.d.ts +0 -31
- 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
|
@@ -33,6 +33,7 @@ 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>;
|
|
36
37
|
id: zod.ZodOptional<zod.ZodString>;
|
|
37
38
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
38
39
|
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, ApiLDAPSearchRequest, ApiLDAPSearchResponse, ApiLDAPTemplate, ApiLDAPTemplateResponse, ApiLDAPUpdateLDAPCatalogBody, ApiLDAPUpdateLDAPTemplateBody,
|
|
2
|
+
import type { ApiDeleteLDAPRequest, ApiLDAPCatalog, ApiLDAPCreateLDAPTemplateBody, ApiLDAPDeleteLDAPTemplateBody, ApiLDAPLDAPSearchBody, ApiLDAPResyncLDAPCatalogBody, ApiLDAProcess, ApiLDAProcessResponse, ApiLDAPSearchRequest, ApiLDAPSearchResponse, ApiLDAPTemplate, ApiLDAPTemplateResponse, ApiLDAPUpdateLDAPCatalogBody, ApiLDAPUpdateLDAPTemplateBody, ApiSearchLDAPResponse, LDAPDeleteLDAPCatalogParams, LDAPLDAPSearch2Params, LDAPLDAPSearch4Params, LDAPLocateLDAPCatalogParams, LDAPLocateLDAProcessParams, LDAPLocateLDAPTemplateParams, LDAPSearchLDAPCatalogParams, LDAPSearchLDAProcessParams, LDAPSearchLDAPTemplateParams } 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, ApiLDAProcess, ApiLDAProcessResponse, ApiLDAPSearchResponse, ApiLDAPTemplate, ApiLDAPTemplateResponse, 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";
|
|
19
20
|
create: "create";
|
|
20
21
|
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";
|
|
64
65
|
create: "create";
|
|
65
66
|
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";
|
|
100
102
|
contacts: "contacts";
|
|
101
103
|
cc_list: "cc_list";
|
|
102
104
|
calendars: "calendars";
|
|
103
|
-
devices: "devices";
|
|
104
105
|
cc_agent: "cc_agent";
|
|
105
106
|
cc_team: "cc_team";
|
|
106
107
|
cc_resource: "cc_resource";
|
|
107
108
|
cc_resource_group: "cc_resource_group";
|
|
108
109
|
cc_queue: "cc_queue";
|
|
109
110
|
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";
|
|
126
127
|
create: "create";
|
|
127
128
|
update: "update";
|
|
128
|
-
delete: "delete";
|
|
129
129
|
default_no_action: "default_no_action";
|
|
130
130
|
read: "read";
|
|
131
131
|
}>>>;
|
|
@@ -36,6 +36,10 @@ 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";
|
|
39
43
|
}>>>;
|
|
40
44
|
}, zod.core.$strip>;
|
|
41
45
|
export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
|
|
@@ -67,6 +71,10 @@ export declare const searchSystemSettingResponse: zod.ZodObject<{
|
|
|
67
71
|
task_end_push_notification: "task_end_push_notification";
|
|
68
72
|
push_notification_timeout: "push_notification_timeout";
|
|
69
73
|
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";
|
|
70
78
|
}>>;
|
|
71
79
|
}, zod.core.$strip>>>;
|
|
72
80
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -98,6 +106,10 @@ export declare const createSystemSettingBody: zod.ZodObject<{
|
|
|
98
106
|
task_end_push_notification: "task_end_push_notification";
|
|
99
107
|
push_notification_timeout: "push_notification_timeout";
|
|
100
108
|
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";
|
|
101
113
|
}>>;
|
|
102
114
|
}, zod.core.$strip>;
|
|
103
115
|
export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
|
|
@@ -128,6 +140,10 @@ export declare const createSystemSettingResponse: zod.ZodObject<{
|
|
|
128
140
|
task_end_push_notification: "task_end_push_notification";
|
|
129
141
|
push_notification_timeout: "push_notification_timeout";
|
|
130
142
|
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";
|
|
131
147
|
}>>;
|
|
132
148
|
}, zod.core.$strip>;
|
|
133
149
|
export declare const searchAvailableSystemSettingQueryParams: zod.ZodObject<{
|
|
@@ -174,6 +190,10 @@ export declare const deleteSystemSettingResponse: zod.ZodObject<{
|
|
|
174
190
|
task_end_push_notification: "task_end_push_notification";
|
|
175
191
|
push_notification_timeout: "push_notification_timeout";
|
|
176
192
|
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";
|
|
177
197
|
}>>;
|
|
178
198
|
}, zod.core.$strip>;
|
|
179
199
|
export declare const readSystemSettingParams: zod.ZodObject<{
|
|
@@ -207,6 +227,10 @@ export declare const readSystemSettingResponse: zod.ZodObject<{
|
|
|
207
227
|
task_end_push_notification: "task_end_push_notification";
|
|
208
228
|
push_notification_timeout: "push_notification_timeout";
|
|
209
229
|
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";
|
|
210
234
|
}>>;
|
|
211
235
|
}, zod.core.$strip>;
|
|
212
236
|
export declare const patchSystemSettingParams: zod.ZodObject<{
|
|
@@ -243,6 +267,10 @@ export declare const patchSystemSettingResponse: zod.ZodObject<{
|
|
|
243
267
|
task_end_push_notification: "task_end_push_notification";
|
|
244
268
|
push_notification_timeout: "push_notification_timeout";
|
|
245
269
|
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";
|
|
246
274
|
}>>;
|
|
247
275
|
}, zod.core.$strip>;
|
|
248
276
|
export declare const updateSystemSettingParams: zod.ZodObject<{
|
|
@@ -277,5 +305,9 @@ export declare const updateSystemSettingResponse: zod.ZodObject<{
|
|
|
277
305
|
task_end_push_notification: "task_end_push_notification";
|
|
278
306
|
push_notification_timeout: "push_notification_timeout";
|
|
279
307
|
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";
|
|
280
312
|
}>>;
|
|
281
313
|
}, 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
|
-
call: "call";
|
|
23
22
|
email: "email";
|
|
23
|
+
call: "call";
|
|
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
|
-
call: "call";
|
|
141
140
|
email: "email";
|
|
141
|
+
call: "call";
|
|
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";
|
|
28
29
|
empty_trigger_event: "empty_trigger_event";
|
|
29
30
|
create: "create";
|
|
30
31
|
update: "update";
|
|
31
32
|
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";
|
|
73
74
|
empty_trigger_event: "empty_trigger_event";
|
|
74
75
|
create: "create";
|
|
75
76
|
update: "update";
|
|
76
77
|
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";
|
|
112
113
|
empty_trigger_event: "empty_trigger_event";
|
|
113
114
|
create: "create";
|
|
114
115
|
update: "update";
|
|
115
116
|
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";
|
|
158
159
|
empty_trigger_event: "empty_trigger_event";
|
|
159
160
|
create: "create";
|
|
160
161
|
update: "update";
|
|
161
162
|
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";
|
|
204
205
|
empty_trigger_event: "empty_trigger_event";
|
|
205
206
|
create: "create";
|
|
206
207
|
update: "update";
|
|
207
208
|
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";
|
|
247
248
|
empty_trigger_event: "empty_trigger_event";
|
|
248
249
|
create: "create";
|
|
249
250
|
update: "update";
|
|
250
251
|
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";
|
|
287
288
|
empty_trigger_event: "empty_trigger_event";
|
|
288
289
|
create: "create";
|
|
289
290
|
update: "update";
|
|
290
291
|
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";
|
|
333
334
|
empty_trigger_event: "empty_trigger_event";
|
|
334
335
|
create: "create";
|
|
335
336
|
update: "update";
|
|
336
337
|
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";
|
|
372
373
|
empty_trigger_event: "empty_trigger_event";
|
|
373
374
|
create: "create";
|
|
374
375
|
update: "update";
|
|
375
376
|
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
|
-
idle: "idle";
|
|
422
|
-
active: "active";
|
|
423
421
|
error: "error";
|
|
424
422
|
done: "done";
|
|
423
|
+
idle: "idle";
|
|
424
|
+
active: "active";
|
|
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
|
-
idle: "idle";
|
|
436
|
-
active: "active";
|
|
437
435
|
error: "error";
|
|
438
436
|
done: "done";
|
|
437
|
+
idle: "idle";
|
|
438
|
+
active: "active";
|
|
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
|
-
idle: "idle";
|
|
462
|
-
active: "active";
|
|
463
461
|
error: "error";
|
|
464
462
|
done: "done";
|
|
463
|
+
idle: "idle";
|
|
464
|
+
active: "active";
|
|
465
465
|
}>>;
|
|
466
466
|
stoppedAt: zod.ZodOptional<zod.ZodString>;
|
|
467
467
|
trigger: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -98,6 +98,8 @@ 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";
|
|
101
103
|
none: "none";
|
|
102
104
|
list: "list";
|
|
103
105
|
bool: "bool";
|
|
@@ -110,8 +112,6 @@ export declare const typesSearchResponse: zod.ZodObject<{
|
|
|
110
112
|
float: "float";
|
|
111
113
|
float32: "float32";
|
|
112
114
|
float64: "float64";
|
|
113
|
-
binary: "binary";
|
|
114
|
-
lookup: "lookup";
|
|
115
115
|
richtext: "richtext";
|
|
116
116
|
datetime: "datetime";
|
|
117
117
|
duration: "duration";
|
|
@@ -253,6 +253,8 @@ 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";
|
|
256
258
|
none: "none";
|
|
257
259
|
list: "list";
|
|
258
260
|
bool: "bool";
|
|
@@ -265,8 +267,6 @@ export declare const typesLocateResponse: zod.ZodObject<{
|
|
|
265
267
|
float: "float";
|
|
266
268
|
float32: "float32";
|
|
267
269
|
float64: "float64";
|
|
268
|
-
binary: "binary";
|
|
269
|
-
lookup: "lookup";
|
|
270
270
|
richtext: "richtext";
|
|
271
271
|
datetime: "datetime";
|
|
272
272
|
duration: "duration";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
2
|
+
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse, EngineListOpenedWebSocket, OpenedWebSocketsParams } 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>;
|
|
7
8
|
};
|
|
8
9
|
export type DefaultDeviceConfigResult = AxiosResponse<EngineDefaultDeviceConfigResponse>;
|
|
9
10
|
export type ActivityWorkspaceWidgetResult = AxiosResponse<EngineActivityWorkspaceWidgetResponse>;
|
|
11
|
+
export type OpenedWebSocketsResult = AxiosResponse<EngineListOpenedWebSocket>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
2
|
+
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse, EngineListOpenedWebSocket } 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;
|
|
5
6
|
export declare const getDefaultDeviceConfigMockHandler: (overrideResponse?: EngineDefaultDeviceConfigResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineDefaultDeviceConfigResponse> | EngineDefaultDeviceConfigResponse)) => import("msw").HttpHandler;
|
|
6
7
|
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;
|
|
7
9
|
export declare const getUserHelperServiceMock: () => import("msw").HttpHandler[];
|
|
@@ -57,3 +57,27 @@ 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
|
+
applicationName: 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
|
+
ver: zod.ZodOptional<zod.ZodString>;
|
|
81
|
+
}, zod.core.$strip>>>;
|
|
82
|
+
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
83
|
+
}, zod.core.$strip>;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import z from 'zod';
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
2
|
/**
|
|
3
|
-
* @description
|
|
4
|
-
* only depth=1 fields will be returned
|
|
5
|
-
* */
|
|
6
|
-
export declare const getShallowFieldsToSendFromZodSchema: (schema: z.
|
|
7
|
-
export declare const getFieldsToSendFromZodSchema: <T extends z.
|
|
3
|
+
* @description
|
|
4
|
+
* only depth=1 fields will be returned
|
|
5
|
+
* */
|
|
6
|
+
export declare const getShallowFieldsToSendFromZodSchema: (schema: z.ZodObject) => string[];
|
|
7
|
+
export declare const getFieldsToSendFromZodSchema: <T extends z.ZodObject>(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;
|
package/src/gen/_docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const RolesAPI: {
|
|
2
|
-
getList: (params: any) => Promise<{
|
|
3
|
-
items: any;
|
|
4
|
-
next: any;
|
|
5
|
-
}>;
|
|
6
|
-
get: ({ itemId: id }: {
|
|
7
|
-
itemId: any;
|
|
8
|
-
}) => Promise<any>;
|
|
9
|
-
add: ({ itemInstance }: {
|
|
10
|
-
itemInstance: any;
|
|
11
|
-
}) => Promise<any>;
|
|
12
|
-
update: ({ itemInstance, itemId: id }: {
|
|
13
|
-
itemInstance: any;
|
|
14
|
-
itemId: any;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
delete: ({ id }: {
|
|
17
|
-
id: any;
|
|
18
|
-
}) => Promise<any>;
|
|
19
|
-
getLookup: (params: any) => Promise<{
|
|
20
|
-
items: any;
|
|
21
|
-
next: any;
|
|
22
|
-
}>;
|
|
23
|
-
getExtendedRoles: (params: any) => Promise<{
|
|
24
|
-
items: any;
|
|
25
|
-
next: any;
|
|
26
|
-
}>;
|
|
27
|
-
getPermissionsOptions: (params: any) => Promise<{
|
|
28
|
-
items: any;
|
|
29
|
-
next: any;
|
|
30
|
-
}>;
|
|
31
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.9.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { LoggerLookup } from './loggerLookup';
|
|
8
|
-
export interface ConfigServicePatchConfigBody {
|
|
9
|
-
daysToStore?: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
fields?: string[];
|
|
13
|
-
period?: number;
|
|
14
|
-
storage?: LoggerLookup;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.9.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { LoggerLookup } from './loggerLookup';
|
|
8
|
-
export interface ConfigServiceUpdateConfigBody {
|
|
9
|
-
daysToStore?: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
period?: number;
|
|
13
|
-
storage?: LoggerLookup;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.9.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* service.proto
|
|
5
|
-
* OpenAPI spec version: version not set
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
9
|
-
`Value` type union.
|
|
10
|
-
|
|
11
|
-
The JSON representation for `NullValue` is JSON `null`.
|
|
12
|
-
|
|
13
|
-
- NULL_VALUE: Null value.
|
|
14
|
-
*/
|
|
15
|
-
export type ProtobufNullValue = (typeof ProtobufNullValue)[keyof typeof ProtobufNullValue];
|
|
16
|
-
export declare const ProtobufNullValue: {
|
|
17
|
-
readonly NullValue: "NULL_VALUE";
|
|
18
|
-
};
|