@webitel/api-services 0.0.78 → 0.0.80
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 +3 -3
- package/src/gen/_models/engineAgentState.ts +1 -0
- package/src/gen/_models/engineGetQueuesGlobalStateResponse.ts +1 -0
- package/src/gen/_models/engineListSkillAgentListSkillAgg.ts +1 -0
- package/src/gen/_models/engineSetQueuesGlobalStateRequest.ts +5 -0
- package/src/gen/_models/engineSkillServicePatchSkillAgentBody.ts +1 -0
- package/src/gen/_models/getQueuesGlobalStateParams.ts +13 -0
- package/src/gen/_models/index.ts +1 -0
- package/src/gen/_models/searchAuditFormParams.ts +4 -1
- package/src/gen/agent-service/agent-service.msw.api.gen.ts +8 -0
- package/src/gen/agent-service/agent-service.zod.gen.ts +2 -0
- package/src/gen/audit-form-service/audit-form-service.zod.gen.ts +4 -1
- package/src/gen/queue-service/queue-service.api.gen.ts +6 -1
- package/src/gen/queue-service/queue-service.msw.api.gen.ts +4 -0
- package/src/gen/queue-service/queue-service.zod.gen.ts +13 -0
- package/src/gen/skill-service/skill-service.msw.api.gen.ts +8 -0
- package/src/gen/skill-service/skill-service.zod.gen.ts +2 -0
- package/types/api/clients/media/media.d.ts +3 -3
- package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
- package/types/gen/_models/engineAgentState.d.ts +1 -0
- package/types/gen/_models/engineGetQueuesGlobalStateResponse.d.ts +1 -0
- package/types/gen/_models/engineListSkillAgentListSkillAgg.d.ts +1 -0
- package/types/gen/_models/engineSetQueuesGlobalStateRequest.d.ts +5 -0
- package/types/gen/_models/engineSkillServicePatchSkillAgentBody.d.ts +1 -0
- package/types/gen/_models/getQueuesGlobalStateParams.d.ts +12 -0
- package/types/gen/_models/searchAuditFormParams.d.ts +4 -1
- package/types/gen/access-store/access-store.api.gen.d.ts +4 -4
- package/types/gen/agent-absence-service/agent-absence-service.api.gen.d.ts +7 -7
- package/types/gen/agent-chat-service/agent-chat-service.api.gen.d.ts +3 -3
- package/types/gen/agent-pause-cause-service/agent-pause-cause-service.api.gen.d.ts +6 -6
- package/types/gen/agent-service/agent-service.api.gen.d.ts +20 -20
- package/types/gen/agent-service/agent-service.zod.gen.d.ts +2 -0
- package/types/gen/agent-skill-service/agent-skill-service.api.gen.d.ts +10 -10
- package/types/gen/agent-team-service/agent-team-service.api.gen.d.ts +5 -5
- package/types/gen/agent-working-conditions-service/agent-working-conditions-service.api.gen.d.ts +2 -2
- package/types/gen/agent-working-schedule-service/agent-working-schedule-service.api.gen.d.ts +2 -2
- package/types/gen/articles/articles.api.gen.d.ts +9 -9
- package/types/gen/audit-form-service/audit-form-service.api.gen.d.ts +11 -11
- package/types/gen/audit-form-service/audit-form-service.zod.gen.d.ts +1 -1
- package/types/gen/auth/auth.api.gen.d.ts +3 -3
- package/types/gen/backend-profile-service/backend-profile-service.api.gen.d.ts +6 -6
- package/types/gen/bucket-service/bucket-service.api.gen.d.ts +5 -5
- package/types/gen/calendar-service/calendar-service.api.gen.d.ts +6 -6
- package/types/gen/call-service/call-service.api.gen.d.ts +19 -19
- package/types/gen/cases-chat-catalog/cases-chat-catalog.api.gen.d.ts +1 -1
- package/types/gen/classes/classes.api.gen.d.ts +4 -4
- package/types/gen/cognitive-profile-service/cognitive-profile-service.api.gen.d.ts +7 -7
- package/types/gen/comments/comments.api.gen.d.ts +4 -4
- package/types/gen/comments/comments.zod.gen.d.ts +1 -1
- package/types/gen/communication-type-service/communication-type-service.api.gen.d.ts +6 -6
- package/types/gen/config-service/config-service.api.gen.d.ts +7 -7
- package/types/gen/contact-groups/contact-groups.api.gen.d.ts +8 -8
- package/types/gen/contact-linking-service/contact-linking-service.api.gen.d.ts +2 -2
- package/types/gen/contacts/contacts.api.gen.d.ts +5 -5
- package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.api.gen.d.ts +2 -2
- package/types/gen/customers/customers.api.gen.d.ts +8 -8
- package/types/gen/devices/devices.api.gen.d.ts +9 -9
- package/types/gen/dictionaries/dictionaries.api.gen.d.ts +13 -13
- package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +11 -11
- package/types/gen/domains/domains.api.gen.d.ts +8 -8
- package/types/gen/dynamic-conditions/dynamic-conditions.api.gen.d.ts +6 -6
- package/types/gen/dynamic-groups/dynamic-groups.api.gen.d.ts +6 -6
- package/types/gen/email-profile-service/email-profile-service.api.gen.d.ts +9 -9
- package/types/gen/emails/emails.api.gen.d.ts +8 -8
- package/types/gen/extensions/extensions.api.gen.d.ts +6 -6
- package/types/gen/extensions/extensions.zod.gen.d.ts +8 -8
- package/types/gen/feedback-service/feedback-service.api.gen.d.ts +2 -2
- package/types/gen/file-policies-service/file-policies-service.api.gen.d.ts +8 -8
- package/types/gen/file-service/file-service.api.gen.d.ts +8 -8
- package/types/gen/file-transcript-service/file-transcript-service.api.gen.d.ts +4 -4
- package/types/gen/forecast-calculation-service/forecast-calculation-service.api.gen.d.ts +6 -6
- package/types/gen/ftsservice/ftsservice.api.gen.d.ts +1 -1
- package/types/gen/groups/groups.api.gen.d.ts +8 -8
- package/types/gen/imclients/imclients.api.gen.d.ts +2 -2
- package/types/gen/import-template-service/import-template-service.api.gen.d.ts +6 -6
- package/types/gen/knowledgebase-search/knowledgebase-search.api.gen.d.ts +1 -1
- package/types/gen/labels/labels.api.gen.d.ts +5 -5
- package/types/gen/languages/languages.api.gen.d.ts +7 -7
- package/types/gen/ldap/ldap.api.gen.d.ts +21 -21
- package/types/gen/list-service/list-service.api.gen.d.ts +10 -10
- package/types/gen/logger-service/logger-service.api.gen.d.ts +3 -3
- package/types/gen/managers/managers.api.gen.d.ts +8 -8
- package/types/gen/media-file-service/media-file-service.api.gen.d.ts +3 -3
- package/types/gen/member-service/member-service.api.gen.d.ts +20 -20
- package/types/gen/messages/messages.api.gen.d.ts +6 -6
- package/types/gen/oauth2-federation/oauth2-federation.api.gen.d.ts +7 -7
- package/types/gen/outbound-resource-group-service/outbound-resource-group-service.api.gen.d.ts +10 -10
- package/types/gen/outbound-resource-service/outbound-resource-service.api.gen.d.ts +13 -13
- package/types/gen/pause-template-service/pause-template-service.api.gen.d.ts +5 -5
- package/types/gen/pdf-service/pdf-service.api.gen.d.ts +3 -3
- package/types/gen/permissions/permissions.api.gen.d.ts +1 -1
- package/types/gen/phones/phones.api.gen.d.ts +8 -8
- package/types/gen/photos/photos.api.gen.d.ts +8 -8
- package/types/gen/presence/presence.api.gen.d.ts +2 -2
- package/types/gen/preset-query-service/preset-query-service.api.gen.d.ts +6 -6
- package/types/gen/queue-bucket-service/queue-bucket-service.api.gen.d.ts +6 -6
- package/types/gen/queue-hook-service/queue-hook-service.api.gen.d.ts +6 -6
- package/types/gen/queue-resources-service/queue-resources-service.api.gen.d.ts +5 -5
- package/types/gen/queue-service/queue-service.api.gen.d.ts +11 -11
- package/types/gen/queue-service/queue-service.zod.gen.d.ts +12 -0
- package/types/gen/queue-skill-service/queue-skill-service.api.gen.d.ts +6 -6
- package/types/gen/quick-replies-service/quick-replies-service.api.gen.d.ts +6 -6
- package/types/gen/records/records.api.gen.d.ts +6 -6
- package/types/gen/records/records.zod.gen.d.ts +2 -2
- package/types/gen/region-service/region-service.api.gen.d.ts +6 -6
- package/types/gen/routing-chat-plan-service/routing-chat-plan-service.api.gen.d.ts +6 -6
- package/types/gen/routing-outbound-call-service/routing-outbound-call-service.api.gen.d.ts +7 -7
- package/types/gen/routing-schema-service/routing-schema-service.api.gen.d.ts +7 -7
- package/types/gen/routing-variable-service/routing-variable-service.api.gen.d.ts +5 -5
- package/types/gen/schema-variables-service/schema-variables-service.api.gen.d.ts +6 -6
- package/types/gen/schema-version-service/schema-version-service.api.gen.d.ts +1 -1
- package/types/gen/shift-template-service/shift-template-service.api.gen.d.ts +5 -5
- package/types/gen/skill-service/skill-service.api.gen.d.ts +9 -9
- package/types/gen/skill-service/skill-service.zod.gen.d.ts +2 -0
- package/types/gen/spaces/spaces.api.gen.d.ts +5 -5
- package/types/gen/system-setting-service/system-setting-service.api.gen.d.ts +7 -7
- package/types/gen/tags/tags.api.gen.d.ts +1 -1
- package/types/gen/team-hook-service/team-hook-service.api.gen.d.ts +6 -6
- package/types/gen/team-trigger-service/team-trigger-service.api.gen.d.ts +8 -8
- package/types/gen/timeline/timeline.api.gen.d.ts +2 -2
- package/types/gen/timezones/timezones.api.gen.d.ts +8 -8
- package/types/gen/trigger-service/trigger-service.api.gen.d.ts +8 -8
- package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +3 -3
- package/types/gen/two-factor-authentication/two-factor-authentication.api.gen.d.ts +2 -2
- package/types/gen/types/types.api.gen.d.ts +2 -2
- package/types/gen/types/types.zod.gen.d.ts +2 -2
- package/types/gen/user-access-tokens/user-access-tokens.api.gen.d.ts +6 -6
- package/types/gen/user-helper-service/user-helper-service.api.gen.d.ts +3 -3
- package/types/gen/users/users.api.gen.d.ts +11 -11
- package/types/gen/variables/variables.api.gen.d.ts +7 -7
- package/types/gen/web-hook-service/web-hook-service.api.gen.d.ts +6 -6
- package/types/gen/working-condition-service/working-condition-service.api.gen.d.ts +5 -5
- package/types/gen/working-schedule-service/working-schedule-service.api.gen.d.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/api-services",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.80",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm run gen:api && npm version patch && (npm run build:types || true) && (npm run format:all || true) && npm run publish-lib",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"qs-esm": "^7.0.2"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
|
-
"npm": "
|
|
58
|
-
"node": "
|
|
57
|
+
"npm": "11",
|
|
58
|
+
"node": "v24"
|
|
59
59
|
},
|
|
60
60
|
"exports": {
|
|
61
61
|
".": {
|
package/src/gen/_models/index.ts
CHANGED
|
@@ -781,6 +781,7 @@ export * from './getFileTranscriptPhrasesParams';
|
|
|
781
781
|
export * from './getLabelsParams';
|
|
782
782
|
export * from './getPdfExportHistoryParams';
|
|
783
783
|
export * from './getPermissionsParams';
|
|
784
|
+
export * from './getQueuesGlobalStateParams';
|
|
784
785
|
export * from './getTimelineParams';
|
|
785
786
|
export * from './getTimelineTimelineParams';
|
|
786
787
|
export * from './getTimelineTimelineTypeItem';
|
|
@@ -982,6 +982,10 @@ export const getSearchAgentStateHistoryResponseMock = (
|
|
|
982
982
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
983
983
|
undefined,
|
|
984
984
|
]),
|
|
985
|
+
leavedAt: faker.helpers.arrayElement([
|
|
986
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
987
|
+
undefined,
|
|
988
|
+
]),
|
|
985
989
|
pauseCause: faker.helpers.arrayElement([
|
|
986
990
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
987
991
|
undefined,
|
|
@@ -1093,6 +1097,10 @@ export const getAgentStateHistoryResponseMock = (
|
|
|
1093
1097
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1094
1098
|
undefined,
|
|
1095
1099
|
]),
|
|
1100
|
+
leavedAt: faker.helpers.arrayElement([
|
|
1101
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1102
|
+
undefined,
|
|
1103
|
+
]),
|
|
1096
1104
|
pauseCause: faker.helpers.arrayElement([
|
|
1097
1105
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1098
1106
|
undefined,
|
|
@@ -476,6 +476,7 @@ export const searchAgentStateHistoryResponse = zod.object({
|
|
|
476
476
|
duration: zod.string().optional(),
|
|
477
477
|
id: zod.string().optional(),
|
|
478
478
|
joinedAt: zod.string().optional(),
|
|
479
|
+
leavedAt: zod.string().optional(),
|
|
479
480
|
pauseCause: zod.string().optional(),
|
|
480
481
|
payload: zod.string().optional(),
|
|
481
482
|
queue: zod
|
|
@@ -539,6 +540,7 @@ export const agentStateHistoryResponse = zod.object({
|
|
|
539
540
|
duration: zod.string().optional(),
|
|
540
541
|
id: zod.string().optional(),
|
|
541
542
|
joinedAt: zod.string().optional(),
|
|
543
|
+
leavedAt: zod.string().optional(),
|
|
542
544
|
pauseCause: zod.string().optional(),
|
|
543
545
|
payload: zod.string().optional(),
|
|
544
546
|
queue: zod
|
|
@@ -20,7 +20,10 @@ export const searchAuditFormQueryParams = zod.object({
|
|
|
20
20
|
.optional()
|
|
21
21
|
.describe('bool archive = 9;\n\nbool active = 11; // not archive'),
|
|
22
22
|
question: zod.string().optional(),
|
|
23
|
-
teamFilter: zod
|
|
23
|
+
teamFilter: zod
|
|
24
|
+
.number()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe("expects userID to filter by user's team"),
|
|
24
27
|
});
|
|
25
28
|
|
|
26
29
|
export const searchAuditFormResponseItemsItemQuestionsItemTypeDefault =
|
|
@@ -20,6 +20,7 @@ import type {
|
|
|
20
20
|
EngineQueueServiceUpdateQueueBody,
|
|
21
21
|
EngineSetQueuesGlobalStateRequest,
|
|
22
22
|
EngineSetQueuesGlobalStateResponse,
|
|
23
|
+
GetQueuesGlobalStateParams,
|
|
23
24
|
ReadQueueParams,
|
|
24
25
|
SearchQueueParams,
|
|
25
26
|
SearchQueueReportGeneralParams,
|
|
@@ -73,9 +74,13 @@ export const // --- title start
|
|
|
73
74
|
const getQueuesGlobalState = <
|
|
74
75
|
TData = AxiosResponse<EngineGetQueuesGlobalStateResponse>,
|
|
75
76
|
>(
|
|
77
|
+
params?: GetQueuesGlobalStateParams,
|
|
76
78
|
options?: AxiosRequestConfig,
|
|
77
79
|
): Promise<TData> => {
|
|
78
|
-
return axios.get('/call_center/queues/state',
|
|
80
|
+
return axios.get('/call_center/queues/state', {
|
|
81
|
+
...options,
|
|
82
|
+
params: { ...params, ...options?.params },
|
|
83
|
+
});
|
|
79
84
|
};
|
|
80
85
|
const setQueuesGlobalState = <
|
|
81
86
|
TData = AxiosResponse<EngineSetQueuesGlobalStateResponse>,
|
|
@@ -982,6 +982,10 @@ export const getGetQueuesGlobalStateResponseMock = (
|
|
|
982
982
|
faker.datatype.boolean(),
|
|
983
983
|
undefined,
|
|
984
984
|
]),
|
|
985
|
+
potentialRows: faker.helpers.arrayElement([
|
|
986
|
+
faker.number.int({ min: undefined, max: undefined, multipleOf: undefined }),
|
|
987
|
+
undefined,
|
|
988
|
+
]),
|
|
985
989
|
...overrideResponse,
|
|
986
990
|
});
|
|
987
991
|
|
|
@@ -462,12 +462,25 @@ export const searchQueueReportGeneralResponse = zod.object({
|
|
|
462
462
|
next: zod.boolean().optional(),
|
|
463
463
|
});
|
|
464
464
|
|
|
465
|
+
export const getQueuesGlobalStateQueryParams = zod.object({
|
|
466
|
+
q: zod.string().optional(),
|
|
467
|
+
type: zod.array(zod.number()).optional(),
|
|
468
|
+
teamId: zod.array(zod.number()).optional(),
|
|
469
|
+
tags: zod.array(zod.string()).optional(),
|
|
470
|
+
});
|
|
471
|
+
|
|
465
472
|
export const getQueuesGlobalStateResponse = zod.object({
|
|
466
473
|
isAllEnabled: zod.boolean().optional(),
|
|
474
|
+
potentialRows: zod.number().optional(),
|
|
467
475
|
});
|
|
468
476
|
|
|
469
477
|
export const setQueuesGlobalStateBody = zod.object({
|
|
478
|
+
tags: zod.array(zod.string()).optional(),
|
|
470
479
|
enabled: zod.boolean().optional(),
|
|
480
|
+
id: zod.array(zod.string()).optional(),
|
|
481
|
+
q: zod.string().optional(),
|
|
482
|
+
teamId: zod.array(zod.number()).optional(),
|
|
483
|
+
type: zod.array(zod.number()).optional(),
|
|
471
484
|
});
|
|
472
485
|
|
|
473
486
|
export const setQueuesGlobalStateResponse = zod.object({
|
|
@@ -432,6 +432,14 @@ export const getSearchSkillAgentResponseMock = (
|
|
|
432
432
|
faker.datatype.boolean(),
|
|
433
433
|
undefined,
|
|
434
434
|
]),
|
|
435
|
+
potentialRows: faker.helpers.arrayElement([
|
|
436
|
+
faker.number.int({
|
|
437
|
+
min: undefined,
|
|
438
|
+
max: undefined,
|
|
439
|
+
multipleOf: undefined,
|
|
440
|
+
}),
|
|
441
|
+
undefined,
|
|
442
|
+
]),
|
|
435
443
|
},
|
|
436
444
|
undefined,
|
|
437
445
|
]),
|
|
@@ -245,6 +245,7 @@ export const searchSkillAgentResponse = zod.object({
|
|
|
245
245
|
aggs: zod
|
|
246
246
|
.object({
|
|
247
247
|
enabled: zod.boolean().optional(),
|
|
248
|
+
potentialRows: zod.number().optional(),
|
|
248
249
|
})
|
|
249
250
|
.optional(),
|
|
250
251
|
items: zod
|
|
@@ -287,6 +288,7 @@ export const patchSkillAgentBody = zod.object({
|
|
|
287
288
|
enabled: zod.boolean().optional(),
|
|
288
289
|
fields: zod.array(zod.string()).optional(),
|
|
289
290
|
id: zod.array(zod.string()).optional(),
|
|
291
|
+
q: zod.string().optional(),
|
|
290
292
|
skill: zod
|
|
291
293
|
.object({
|
|
292
294
|
id: zod.string().optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const downloadMedia: (id: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare const downloadMedia: (id: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
2
|
export declare const downloadFile: (id: any) => void;
|
|
3
3
|
export declare const getScreenRecordingMediaUrl: (id: any, isThumb?: boolean) => string;
|
|
4
4
|
export declare const MediaAPI: {
|
|
@@ -8,8 +8,8 @@ export declare const MediaAPI: {
|
|
|
8
8
|
}>;
|
|
9
9
|
get: ({ itemId }: {
|
|
10
10
|
itemId: any;
|
|
11
|
-
}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
-
add: (params: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
}) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
12
|
+
add: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
13
13
|
delete: ({ id }: {
|
|
14
14
|
id: any;
|
|
15
15
|
}) => Promise<any>;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Creates a default Axios instance with standard configuration
|
|
3
3
|
* @returns Configured Axios instance
|
|
4
4
|
*/
|
|
5
|
-
export declare const getDefaultInstance: () => import("
|
|
5
|
+
export declare const getDefaultInstance: () => import("axios").AxiosInstance;
|
|
@@ -2,10 +2,10 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AccessStoreToggleDefaultAccessBody, ApiGrantAccessRequestV1, ApiListAccessResponseV1, ApiToggleDefaultAccessResponse, ApiUpdateAccessResponseV1, ListDefaultAccessParams, ListObjectAccessParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAccessStore: () => {
|
|
5
|
-
listDefaultAccess: <TData = AxiosResponse<ApiListAccessResponseV1, any>>(params?: ListDefaultAccessParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
toggleDefaultAccess: <TData = AxiosResponse<ApiToggleDefaultAccessResponse, any>>(grantor: string, accessStoreToggleDefaultAccessBody: AccessStoreToggleDefaultAccessBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
listObjectAccess: <TData = AxiosResponse<ApiListAccessResponseV1, any>>(params?: ListObjectAccessParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
toggleObjectAccess: <TData = AxiosResponse<ApiUpdateAccessResponseV1, any>>(apiGrantAccessRequestV1: ApiGrantAccessRequestV1[], options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
listDefaultAccess: <TData = AxiosResponse<ApiListAccessResponseV1, any, {}>>(params?: ListDefaultAccessParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
toggleDefaultAccess: <TData = AxiosResponse<ApiToggleDefaultAccessResponse, any, {}>>(grantor: string, accessStoreToggleDefaultAccessBody: AccessStoreToggleDefaultAccessBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
listObjectAccess: <TData = AxiosResponse<ApiListAccessResponseV1, any, {}>>(params?: ListObjectAccessParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
toggleObjectAccess: <TData = AxiosResponse<ApiUpdateAccessResponseV1, any, {}>>(apiGrantAccessRequestV1: ApiGrantAccessRequestV1[], options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
9
|
};
|
|
10
10
|
export type ListDefaultAccessResult = AxiosResponse<ApiListAccessResponseV1>;
|
|
11
11
|
export type ToggleDefaultAccessResult = AxiosResponse<ApiToggleDefaultAccessResponse>;
|
|
@@ -2,13 +2,13 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AgentAbsenceServiceCreateAgentAbsenceBody, AgentAbsenceServiceSearchAgentAbsenceParams, AgentAbsenceServiceSearchAgentsAbsencesParams, AgentAbsenceServiceUpdateAgentAbsenceBody, WfmCreateAgentAbsenceResponse, WfmCreateAgentsAbsencesRequest, WfmCreateAgentsAbsencesResponse, WfmDeleteAgentAbsenceResponse, WfmReadAgentAbsenceResponse, WfmSearchAgentAbsenceResponse, WfmSearchAgentsAbsencesResponse, WfmUpdateAgentAbsenceResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentAbsenceService: () => {
|
|
5
|
-
agentAbsenceServiceSearchAgentsAbsences: <TData = AxiosResponse<WfmSearchAgentsAbsencesResponse, any>>(params?: AgentAbsenceServiceSearchAgentsAbsencesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
agentAbsenceServiceCreateAgentsAbsences: <TData = AxiosResponse<WfmCreateAgentsAbsencesResponse, any>>(wfmCreateAgentsAbsencesRequest: WfmCreateAgentsAbsencesRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
agentAbsenceServiceSearchAgentAbsence: <TData = AxiosResponse<WfmSearchAgentAbsenceResponse, any>>(agentId: string, params?: AgentAbsenceServiceSearchAgentAbsenceParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
agentAbsenceServiceCreateAgentAbsence: <TData = AxiosResponse<WfmCreateAgentAbsenceResponse, any>>(agentId: string, agentAbsenceServiceCreateAgentAbsenceBody: AgentAbsenceServiceCreateAgentAbsenceBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
agentAbsenceServiceDeleteAgentAbsence: <TData = AxiosResponse<WfmDeleteAgentAbsenceResponse, any>>(agentId: string, id: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
-
agentAbsenceServiceReadAgentAbsence: <TData = AxiosResponse<WfmReadAgentAbsenceResponse, any>>(agentId: string, id: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
-
agentAbsenceServiceUpdateAgentAbsence: <TData = AxiosResponse<WfmUpdateAgentAbsenceResponse, any>>(agentId: string, agentAbsenceServiceUpdateAgentAbsenceBody: AgentAbsenceServiceUpdateAgentAbsenceBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
agentAbsenceServiceSearchAgentsAbsences: <TData = AxiosResponse<WfmSearchAgentsAbsencesResponse, any, {}>>(params?: AgentAbsenceServiceSearchAgentsAbsencesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
agentAbsenceServiceCreateAgentsAbsences: <TData = AxiosResponse<WfmCreateAgentsAbsencesResponse, any, {}>>(wfmCreateAgentsAbsencesRequest: WfmCreateAgentsAbsencesRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
agentAbsenceServiceSearchAgentAbsence: <TData = AxiosResponse<WfmSearchAgentAbsenceResponse, any, {}>>(agentId: string, params?: AgentAbsenceServiceSearchAgentAbsenceParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
agentAbsenceServiceCreateAgentAbsence: <TData = AxiosResponse<WfmCreateAgentAbsenceResponse, any, {}>>(agentId: string, agentAbsenceServiceCreateAgentAbsenceBody: AgentAbsenceServiceCreateAgentAbsenceBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
agentAbsenceServiceDeleteAgentAbsence: <TData = AxiosResponse<WfmDeleteAgentAbsenceResponse, any, {}>>(agentId: string, id: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
agentAbsenceServiceReadAgentAbsence: <TData = AxiosResponse<WfmReadAgentAbsenceResponse, any, {}>>(agentId: string, id: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
+
agentAbsenceServiceUpdateAgentAbsence: <TData = AxiosResponse<WfmUpdateAgentAbsenceResponse, any, {}>>(agentId: string, agentAbsenceServiceUpdateAgentAbsenceBody: AgentAbsenceServiceUpdateAgentAbsenceBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
12
|
};
|
|
13
13
|
export type AgentAbsenceServiceSearchAgentsAbsencesResult = AxiosResponse<WfmSearchAgentsAbsencesResponse>;
|
|
14
14
|
export type AgentAbsenceServiceCreateAgentsAbsencesResult = AxiosResponse<WfmCreateAgentsAbsencesResponse>;
|
|
@@ -2,9 +2,9 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AgentChatServiceGetAgentChatsCounterParams, AgentChatServiceGetAgentChatsParams, WebitelChatGetAgentChatsCounterResponse, WebitelChatGetAgentChatsResponse, WebitelChatMarkChatProcessedResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentChatService: () => {
|
|
5
|
-
agentChatServiceGetAgentChats: <TData = AxiosResponse<WebitelChatGetAgentChatsResponse, any>>(params?: AgentChatServiceGetAgentChatsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
agentChatServiceGetAgentChatsCounter: <TData = AxiosResponse<WebitelChatGetAgentChatsCounterResponse, any>>(params?: AgentChatServiceGetAgentChatsCounterParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
agentChatServiceMarkChatProcessed: <TData = AxiosResponse<WebitelChatMarkChatProcessedResponse, any>>(chatId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
agentChatServiceGetAgentChats: <TData = AxiosResponse<WebitelChatGetAgentChatsResponse, any, {}>>(params?: AgentChatServiceGetAgentChatsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
agentChatServiceGetAgentChatsCounter: <TData = AxiosResponse<WebitelChatGetAgentChatsCounterResponse, any, {}>>(params?: AgentChatServiceGetAgentChatsCounterParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
agentChatServiceMarkChatProcessed: <TData = AxiosResponse<WebitelChatMarkChatProcessedResponse, any, {}>>(chatId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
8
|
};
|
|
9
9
|
export type AgentChatServiceGetAgentChatsResult = AxiosResponse<WebitelChatGetAgentChatsResponse>;
|
|
10
10
|
export type AgentChatServiceGetAgentChatsCounterResult = AxiosResponse<WebitelChatGetAgentChatsCounterResponse>;
|
|
@@ -2,12 +2,12 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { EngineAgentPauseCause, EngineAgentPauseCauseServicePatchAgentPauseCauseBody, EngineAgentPauseCauseServiceUpdateAgentPauseCauseBody, EngineCreateAgentPauseCauseRequest, EngineListAgentPauseCause, SearchAgentPauseCauseParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentPauseCauseService: () => {
|
|
5
|
-
searchAgentPauseCause: <TData = AxiosResponse<EngineListAgentPauseCause, any>>(params?: SearchAgentPauseCauseParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
createAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any>>(engineCreateAgentPauseCauseRequest: EngineCreateAgentPauseCauseRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
deleteAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any>>(id: number, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
readAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any>>(id: number, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
patchAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any>>(id: number, engineAgentPauseCauseServicePatchAgentPauseCauseBody: EngineAgentPauseCauseServicePatchAgentPauseCauseBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
-
updateAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any>>(id: number, engineAgentPauseCauseServiceUpdateAgentPauseCauseBody: EngineAgentPauseCauseServiceUpdateAgentPauseCauseBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
searchAgentPauseCause: <TData = AxiosResponse<EngineListAgentPauseCause, any, {}>>(params?: SearchAgentPauseCauseParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
createAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any, {}>>(engineCreateAgentPauseCauseRequest: EngineCreateAgentPauseCauseRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
deleteAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any, {}>>(id: number, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
readAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any, {}>>(id: number, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
patchAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any, {}>>(id: number, engineAgentPauseCauseServicePatchAgentPauseCauseBody: EngineAgentPauseCauseServicePatchAgentPauseCauseBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
updateAgentPauseCause: <TData = AxiosResponse<EngineAgentPauseCause, any, {}>>(id: number, engineAgentPauseCauseServiceUpdateAgentPauseCauseBody: EngineAgentPauseCauseServiceUpdateAgentPauseCauseBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
11
|
};
|
|
12
12
|
export type SearchAgentPauseCauseResult = AxiosResponse<EngineListAgentPauseCause>;
|
|
13
13
|
export type CreateAgentPauseCauseResult = AxiosResponse<EngineAgentPauseCause>;
|
|
@@ -2,26 +2,26 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AgentStateHistoryParams, AgentTodayStatisticsParams, DeleteAgentParams, EngineAgent, EngineAgentCallStatisticsList, EngineAgentInQueueStatisticsList, EngineAgentServiceAgentSetStateBody, EngineAgentServicePatchAgentBody, EngineAgentServiceUpdateAgentBody, EngineAgentServiceUpdateAgentStatusBody, EngineAgentSetStateResponse, EngineAgentStatusStatisticItem, EngineAgentTodayStatisticsResponse, EngineCreateAgentRequest, EngineForAgentPauseCauseList, EngineListAgent, EngineListAgentInQueue, EngineListAgentInTeam, EngineListAgentStateHistory, EngineListAgentStatsStatistic, EngineListAgentUser, EngineListUserStatus, EngineResponse, ReadAgentParams, SearchAgentCallStatisticsParams, SearchAgentInQueueParams, SearchAgentInQueueStatisticsParams, SearchAgentInTeamParams, SearchAgentParams, SearchAgentStateHistoryParams, SearchAgentStatusStatisticItemParams, SearchAgentStatusStatisticParams, SearchLookupUsersAgentNotExistsParams, SearchPauseCauseForAgentParams, SearchUserStatusParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentService: () => {
|
|
5
|
-
searchAgent: <TData = AxiosResponse<EngineListAgent, any>>(params?: SearchAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
createAgent: <TData = AxiosResponse<EngineAgent, any>>(engineCreateAgentRequest: EngineCreateAgentRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
searchAgentCallStatistics: <TData = AxiosResponse<EngineAgentCallStatisticsList, any>>(params?: SearchAgentCallStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
searchAgentStatusStatistic: <TData = AxiosResponse<EngineListAgentStatsStatistic, any>>(params?: SearchAgentStatusStatisticParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
searchAgentStatusStatisticItem: <TData = AxiosResponse<EngineAgentStatusStatisticItem, any>>(agentId: string, params?: SearchAgentStatusStatisticItemParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
-
searchAgentStateHistory: <TData = AxiosResponse<EngineListAgentStateHistory, any>>(params?: SearchAgentStateHistoryParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
-
searchPauseCauseForAgent: <TData = AxiosResponse<EngineForAgentPauseCauseList, any>>(agentId: string, params?: SearchPauseCauseForAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
-
agentStateHistory: <TData = AxiosResponse<EngineListAgentStateHistory, any>>(agentId: string, params?: AgentStateHistoryParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
-
agentSetState: <TData = AxiosResponse<EngineAgentSetStateResponse, any>>(agentId: number, engineAgentServiceAgentSetStateBody: EngineAgentServiceAgentSetStateBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
|
-
searchAgentInQueueStatistics: <TData = AxiosResponse<EngineAgentInQueueStatisticsList, any>>(agentId: string, params?: SearchAgentInQueueStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
15
|
-
agentTodayStatistics: <TData = AxiosResponse<EngineAgentTodayStatisticsResponse, any>>(agentId: string, params?: AgentTodayStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
16
|
-
deleteAgent: <TData = AxiosResponse<EngineAgent, any>>(id: string, params?: DeleteAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
17
|
-
readAgent: <TData = AxiosResponse<EngineAgent, any>>(id: string, params?: ReadAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
18
|
-
patchAgent: <TData = AxiosResponse<EngineAgent, any>>(id: string, engineAgentServicePatchAgentBody: EngineAgentServicePatchAgentBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
19
|
-
updateAgent: <TData = AxiosResponse<EngineAgent, any>>(id: string, engineAgentServiceUpdateAgentBody: EngineAgentServiceUpdateAgentBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
20
|
-
searchAgentInQueue: <TData = AxiosResponse<EngineListAgentInQueue, any>>(id: string, params?: SearchAgentInQueueParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
21
|
-
updateAgentStatus: <TData = AxiosResponse<EngineResponse, any>>(id: string, engineAgentServiceUpdateAgentStatusBody: EngineAgentServiceUpdateAgentStatusBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
22
|
-
searchAgentInTeam: <TData = AxiosResponse<EngineListAgentInTeam, any>>(id: string, params?: SearchAgentInTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
23
|
-
searchLookupUsersAgentNotExists: <TData = AxiosResponse<EngineListAgentUser, any>>(params?: SearchLookupUsersAgentNotExistsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
24
|
-
searchUserStatus: <TData = AxiosResponse<EngineListUserStatus, any>>(params?: SearchUserStatusParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
searchAgent: <TData = AxiosResponse<EngineListAgent, any, {}>>(params?: SearchAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
createAgent: <TData = AxiosResponse<EngineAgent, any, {}>>(engineCreateAgentRequest: EngineCreateAgentRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
searchAgentCallStatistics: <TData = AxiosResponse<EngineAgentCallStatisticsList, any, {}>>(params?: SearchAgentCallStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
searchAgentStatusStatistic: <TData = AxiosResponse<EngineListAgentStatsStatistic, any, {}>>(params?: SearchAgentStatusStatisticParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
searchAgentStatusStatisticItem: <TData = AxiosResponse<EngineAgentStatusStatisticItem, any, {}>>(agentId: string, params?: SearchAgentStatusStatisticItemParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
searchAgentStateHistory: <TData = AxiosResponse<EngineListAgentStateHistory, any, {}>>(params?: SearchAgentStateHistoryParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
+
searchPauseCauseForAgent: <TData = AxiosResponse<EngineForAgentPauseCauseList, any, {}>>(agentId: string, params?: SearchPauseCauseForAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
+
agentStateHistory: <TData = AxiosResponse<EngineListAgentStateHistory, any, {}>>(agentId: string, params?: AgentStateHistoryParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
+
agentSetState: <TData = AxiosResponse<EngineAgentSetStateResponse, any, {}>>(agentId: number, engineAgentServiceAgentSetStateBody: EngineAgentServiceAgentSetStateBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
|
+
searchAgentInQueueStatistics: <TData = AxiosResponse<EngineAgentInQueueStatisticsList, any, {}>>(agentId: string, params?: SearchAgentInQueueStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
15
|
+
agentTodayStatistics: <TData = AxiosResponse<EngineAgentTodayStatisticsResponse, any, {}>>(agentId: string, params?: AgentTodayStatisticsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
16
|
+
deleteAgent: <TData = AxiosResponse<EngineAgent, any, {}>>(id: string, params?: DeleteAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
17
|
+
readAgent: <TData = AxiosResponse<EngineAgent, any, {}>>(id: string, params?: ReadAgentParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
18
|
+
patchAgent: <TData = AxiosResponse<EngineAgent, any, {}>>(id: string, engineAgentServicePatchAgentBody: EngineAgentServicePatchAgentBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
19
|
+
updateAgent: <TData = AxiosResponse<EngineAgent, any, {}>>(id: string, engineAgentServiceUpdateAgentBody: EngineAgentServiceUpdateAgentBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
20
|
+
searchAgentInQueue: <TData = AxiosResponse<EngineListAgentInQueue, any, {}>>(id: string, params?: SearchAgentInQueueParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
21
|
+
updateAgentStatus: <TData = AxiosResponse<EngineResponse, any, {}>>(id: string, engineAgentServiceUpdateAgentStatusBody: EngineAgentServiceUpdateAgentStatusBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
22
|
+
searchAgentInTeam: <TData = AxiosResponse<EngineListAgentInTeam, any, {}>>(id: string, params?: SearchAgentInTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
23
|
+
searchLookupUsersAgentNotExists: <TData = AxiosResponse<EngineListAgentUser, any, {}>>(params?: SearchLookupUsersAgentNotExistsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
24
|
+
searchUserStatus: <TData = AxiosResponse<EngineListUserStatus, any, {}>>(params?: SearchUserStatusParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
25
25
|
};
|
|
26
26
|
export type SearchAgentResult = AxiosResponse<EngineListAgent>;
|
|
27
27
|
export type CreateAgentResult = AxiosResponse<EngineAgent>;
|
|
@@ -345,6 +345,7 @@ export declare const searchAgentStateHistoryResponse: zod.ZodObject<{
|
|
|
345
345
|
duration: zod.ZodOptional<zod.ZodString>;
|
|
346
346
|
id: zod.ZodOptional<zod.ZodString>;
|
|
347
347
|
joinedAt: zod.ZodOptional<zod.ZodString>;
|
|
348
|
+
leavedAt: zod.ZodOptional<zod.ZodString>;
|
|
348
349
|
pauseCause: zod.ZodOptional<zod.ZodString>;
|
|
349
350
|
payload: zod.ZodOptional<zod.ZodString>;
|
|
350
351
|
queue: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -390,6 +391,7 @@ export declare const agentStateHistoryResponse: zod.ZodObject<{
|
|
|
390
391
|
duration: zod.ZodOptional<zod.ZodString>;
|
|
391
392
|
id: zod.ZodOptional<zod.ZodString>;
|
|
392
393
|
joinedAt: zod.ZodOptional<zod.ZodString>;
|
|
394
|
+
leavedAt: zod.ZodOptional<zod.ZodString>;
|
|
393
395
|
pauseCause: zod.ZodOptional<zod.ZodString>;
|
|
394
396
|
payload: zod.ZodOptional<zod.ZodString>;
|
|
395
397
|
queue: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -2,16 +2,16 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { DeleteAgentSkillParams, DeleteAgentSkillsParams, EngineAgentSkill, EngineAgentSkillServiceCreateAgentSkillBody, EngineAgentSkillServiceCreateAgentSkillsBody, EngineAgentSkillServicePatchAgentSkillBody, EngineAgentSkillServicePatchAgentSkillsBody, EngineAgentSkillServiceUpdateAgentSkillBody, EngineCreateAgentSkillsResponse, EngineListAgentSkill, EngineListSkill, ReadAgentSkillParams, SearchAgentSkillParams, SearchLookupAgentNotExistsSkillParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentSkillService: () => {
|
|
5
|
-
deleteAgentSkills: <TData = AxiosResponse<EngineListAgentSkill, any>>(agentId: string, params?: DeleteAgentSkillsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
searchAgentSkill: <TData = AxiosResponse<EngineListAgentSkill, any>>(agentId: string, params?: SearchAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
patchAgentSkills: <TData = AxiosResponse<EngineListAgentSkill, any>>(agentId: string, engineAgentSkillServicePatchAgentSkillsBody: EngineAgentSkillServicePatchAgentSkillsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
createAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any>>(agentId: string, engineAgentSkillServiceCreateAgentSkillBody: EngineAgentSkillServiceCreateAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
createAgentSkills: <TData = AxiosResponse<EngineCreateAgentSkillsResponse, any>>(agentId: string, engineAgentSkillServiceCreateAgentSkillsBody: EngineAgentSkillServiceCreateAgentSkillsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
-
deleteAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any>>(agentId: string, id: string, params?: DeleteAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
-
readAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any>>(agentId: string, id: string, params?: ReadAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
-
patchAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any>>(agentId: string, id: string, engineAgentSkillServicePatchAgentSkillBody: EngineAgentSkillServicePatchAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
-
updateAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any>>(agentId: string, id: string, engineAgentSkillServiceUpdateAgentSkillBody: EngineAgentSkillServiceUpdateAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
|
-
searchLookupAgentNotExistsSkill: <TData = AxiosResponse<EngineListSkill, any>>(agentId: string, params?: SearchLookupAgentNotExistsSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
deleteAgentSkills: <TData = AxiosResponse<EngineListAgentSkill, any, {}>>(agentId: string, params?: DeleteAgentSkillsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
searchAgentSkill: <TData = AxiosResponse<EngineListAgentSkill, any, {}>>(agentId: string, params?: SearchAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
patchAgentSkills: <TData = AxiosResponse<EngineListAgentSkill, any, {}>>(agentId: string, engineAgentSkillServicePatchAgentSkillsBody: EngineAgentSkillServicePatchAgentSkillsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
createAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any, {}>>(agentId: string, engineAgentSkillServiceCreateAgentSkillBody: EngineAgentSkillServiceCreateAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
createAgentSkills: <TData = AxiosResponse<EngineCreateAgentSkillsResponse, any, {}>>(agentId: string, engineAgentSkillServiceCreateAgentSkillsBody: EngineAgentSkillServiceCreateAgentSkillsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
deleteAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any, {}>>(agentId: string, id: string, params?: DeleteAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
+
readAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any, {}>>(agentId: string, id: string, params?: ReadAgentSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
+
patchAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any, {}>>(agentId: string, id: string, engineAgentSkillServicePatchAgentSkillBody: EngineAgentSkillServicePatchAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
+
updateAgentSkill: <TData = AxiosResponse<EngineAgentSkill, any, {}>>(agentId: string, id: string, engineAgentSkillServiceUpdateAgentSkillBody: EngineAgentSkillServiceUpdateAgentSkillBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
|
+
searchLookupAgentNotExistsSkill: <TData = AxiosResponse<EngineListSkill, any, {}>>(agentId: string, params?: SearchLookupAgentNotExistsSkillParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
15
15
|
};
|
|
16
16
|
export type DeleteAgentSkillsResult = AxiosResponse<EngineListAgentSkill>;
|
|
17
17
|
export type SearchAgentSkillResult = AxiosResponse<EngineListAgentSkill>;
|
|
@@ -2,11 +2,11 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { DeleteAgentTeamParams, EngineAgentTeam, EngineAgentTeamServiceUpdateAgentTeamBody, EngineCreateAgentTeamRequest, EngineListAgentTeam, ReadAgentTeamParams, SearchAgentTeamParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentTeamService: () => {
|
|
5
|
-
searchAgentTeam: <TData = AxiosResponse<EngineListAgentTeam, any>>(params?: SearchAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
createAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any>>(engineCreateAgentTeamRequest: EngineCreateAgentTeamRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
deleteAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any>>(id: string, params?: DeleteAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
readAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any>>(id: string, params?: ReadAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
updateAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any>>(id: string, engineAgentTeamServiceUpdateAgentTeamBody: EngineAgentTeamServiceUpdateAgentTeamBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
searchAgentTeam: <TData = AxiosResponse<EngineListAgentTeam, any, {}>>(params?: SearchAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
createAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any, {}>>(engineCreateAgentTeamRequest: EngineCreateAgentTeamRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
deleteAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any, {}>>(id: string, params?: DeleteAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
readAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any, {}>>(id: string, params?: ReadAgentTeamParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
updateAgentTeam: <TData = AxiosResponse<EngineAgentTeam, any, {}>>(id: string, engineAgentTeamServiceUpdateAgentTeamBody: EngineAgentTeamServiceUpdateAgentTeamBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
10
|
};
|
|
11
11
|
export type SearchAgentTeamResult = AxiosResponse<EngineListAgentTeam>;
|
|
12
12
|
export type CreateAgentTeamResult = AxiosResponse<EngineAgentTeam>;
|
package/types/gen/agent-working-conditions-service/agent-working-conditions-service.api.gen.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AgentWorkingConditionsServiceUpdateAgentWorkingConditionsBody, WfmReadAgentWorkingConditionsResponse, WfmUpdateAgentWorkingConditionsResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentWorkingConditionsService: () => {
|
|
5
|
-
agentWorkingConditionsServiceReadAgentWorkingConditions: <TData = AxiosResponse<WfmReadAgentWorkingConditionsResponse, any>>(agentId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
agentWorkingConditionsServiceUpdateAgentWorkingConditions: <TData = AxiosResponse<WfmUpdateAgentWorkingConditionsResponse, any>>(agentId: string, agentWorkingConditionsServiceUpdateAgentWorkingConditionsBody: AgentWorkingConditionsServiceUpdateAgentWorkingConditionsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
agentWorkingConditionsServiceReadAgentWorkingConditions: <TData = AxiosResponse<WfmReadAgentWorkingConditionsResponse, any, {}>>(agentId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
agentWorkingConditionsServiceUpdateAgentWorkingConditions: <TData = AxiosResponse<WfmUpdateAgentWorkingConditionsResponse, any, {}>>(agentId: string, agentWorkingConditionsServiceUpdateAgentWorkingConditionsBody: AgentWorkingConditionsServiceUpdateAgentWorkingConditionsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
7
|
};
|
|
8
8
|
export type AgentWorkingConditionsServiceReadAgentWorkingConditionsResult = AxiosResponse<WfmReadAgentWorkingConditionsResponse>;
|
|
9
9
|
export type AgentWorkingConditionsServiceUpdateAgentWorkingConditionsResult = AxiosResponse<WfmUpdateAgentWorkingConditionsResponse>;
|
package/types/gen/agent-working-schedule-service/agent-working-schedule-service.api.gen.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody, AgentWorkingScheduleServiceSearchAgentsWorkingScheduleParams, WfmCreateAgentsWorkingScheduleShiftsResponse, WfmSearchAgentsWorkingScheduleResponse } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAgentWorkingScheduleService: () => {
|
|
5
|
-
agentWorkingScheduleServiceSearchAgentsWorkingSchedule: <TData = AxiosResponse<WfmSearchAgentsWorkingScheduleResponse, any>>(workingScheduleId: string, params?: AgentWorkingScheduleServiceSearchAgentsWorkingScheduleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
agentWorkingScheduleServiceCreateAgentsWorkingScheduleShifts: <TData = AxiosResponse<WfmCreateAgentsWorkingScheduleShiftsResponse, any>>(workingScheduleId: string, agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody: AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
agentWorkingScheduleServiceSearchAgentsWorkingSchedule: <TData = AxiosResponse<WfmSearchAgentsWorkingScheduleResponse, any, {}>>(workingScheduleId: string, params?: AgentWorkingScheduleServiceSearchAgentsWorkingScheduleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
agentWorkingScheduleServiceCreateAgentsWorkingScheduleShifts: <TData = AxiosResponse<WfmCreateAgentsWorkingScheduleShiftsResponse, any, {}>>(workingScheduleId: string, agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody: AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
7
|
};
|
|
8
8
|
export type AgentWorkingScheduleServiceSearchAgentsWorkingScheduleResult = AxiosResponse<WfmSearchAgentsWorkingScheduleResponse>;
|
|
9
9
|
export type AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsResult = AxiosResponse<WfmCreateAgentsWorkingScheduleShiftsResponse>;
|
|
@@ -2,15 +2,15 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
2
2
|
import type { ArticlesAttachmentListParams, ArticleVersionsListParams, CreateArticleParams, DeleteArticleParams, KnowledgebaseArticle, KnowledgebaseArticleList, KnowledgebaseArticleVersion, KnowledgebaseArticleVersionList, KnowledgebaseAttachmentList, KnowledgebaseInputArticle, ListArticles2Params, ListArticlesParams, LocateArticleParams, UpdateArticleBody, UpdateArticleParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getArticles: () => {
|
|
5
|
-
listArticles: <TData = AxiosResponse<KnowledgebaseArticleList, any>>(spaceId: string, params?: ListArticlesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
-
createArticle: <TData = AxiosResponse<KnowledgebaseArticleList, any>>(spaceId: string, knowledgebaseInputArticle: KnowledgebaseInputArticle, params?: CreateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
articlesAttachmentList: <TData = AxiosResponse<KnowledgebaseAttachmentList, any>>(spaceId: string, articleId: string, params?: ArticlesAttachmentListParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
listArticles2: <TData = AxiosResponse<KnowledgebaseArticleList, any>>(spaceId: string, articleId: string, params?: ListArticles2Params, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
-
articleVersionsList: <TData = AxiosResponse<KnowledgebaseArticleVersionList, any>>(spaceId: string, articleId: string, params?: ArticleVersionsListParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
-
locateArticleVersion: <TData = AxiosResponse<KnowledgebaseArticleVersion, any>>(spaceId: string, articleId: string, versionId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
-
deleteArticle: <TData = AxiosResponse<KnowledgebaseArticle, any>>(spaceId: string, etag: string, params?: DeleteArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
-
locateArticle: <TData = AxiosResponse<KnowledgebaseArticle, any>>(spaceId: string, etag: string, params?: LocateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
-
updateArticle: <TData = AxiosResponse<KnowledgebaseArticleList, any>>(spaceId: string, etag: string, updateArticleBody: UpdateArticleBody, params?: UpdateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
listArticles: <TData = AxiosResponse<KnowledgebaseArticleList, any, {}>>(spaceId: string, params?: ListArticlesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
|
+
createArticle: <TData = AxiosResponse<KnowledgebaseArticleList, any, {}>>(spaceId: string, knowledgebaseInputArticle: KnowledgebaseInputArticle, params?: CreateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
articlesAttachmentList: <TData = AxiosResponse<KnowledgebaseAttachmentList, any, {}>>(spaceId: string, articleId: string, params?: ArticlesAttachmentListParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
+
listArticles2: <TData = AxiosResponse<KnowledgebaseArticleList, any, {}>>(spaceId: string, articleId: string, params?: ListArticles2Params, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
articleVersionsList: <TData = AxiosResponse<KnowledgebaseArticleVersionList, any, {}>>(spaceId: string, articleId: string, params?: ArticleVersionsListParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
locateArticleVersion: <TData = AxiosResponse<KnowledgebaseArticleVersion, any, {}>>(spaceId: string, articleId: string, versionId: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
|
+
deleteArticle: <TData = AxiosResponse<KnowledgebaseArticle, any, {}>>(spaceId: string, etag: string, params?: DeleteArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
12
|
+
locateArticle: <TData = AxiosResponse<KnowledgebaseArticle, any, {}>>(spaceId: string, etag: string, params?: LocateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
|
+
updateArticle: <TData = AxiosResponse<KnowledgebaseArticleList, any, {}>>(spaceId: string, etag: string, updateArticleBody: UpdateArticleBody, params?: UpdateArticleParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
14
|
};
|
|
15
15
|
export type ListArticlesResult = AxiosResponse<KnowledgebaseArticleList>;
|
|
16
16
|
export type CreateArticleResult = AxiosResponse<KnowledgebaseArticleList>;
|