Skip to content

Commit

Permalink
Merge pull request #751 from webitel/feature/add-new-configuration-va…
Browse files Browse the repository at this point in the history
…riable

feature: add new configuration variable, update @webitel/ui-adk and w…
  • Loading branch information
Lera24 authored Aug 26, 2024
2 parents 22e4c86 + caefdba commit 8672c3a
Show file tree
Hide file tree
Showing 69 changed files with 230 additions and 348 deletions.
216 changes: 104 additions & 112 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@vuelidate/validators": "^2.0.0",
"@vueuse/core": "^10.3.0",
"@webitel/flow-ui-sdk": "^0.1.14",
"@webitel/ui-sdk": "^24.8.10",
"@webitel/ui-sdk": "^24.8.28",
"axios": "^1.6.8",
"clipboard-copy": "^4.0.1",
"cron-validator": "^1.3.1",
Expand All @@ -40,7 +40,7 @@
"vue-router": "^4.2.5",
"vue2-dropzone": "^3.6.0",
"vuex": "^4.1.0",
"webitel-sdk": "^24.4.13"
"webitel-sdk": "^24.8.1"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/PermissionsAPIService/APIPermissionsGetter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
generateUrl,
Expand All @@ -8,7 +8,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import instance from '../instance';

export default class APIPermissionsGetter {
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/PermissionsAPIService/APIPermissionsPatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import applyTransform, {
camelToSnake,
notify,
snakeToCamel,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import instance from '../instance';

export default class APIPermissionsPatcher {
Expand Down
4 changes: 2 additions & 2 deletions src/modules/contact-center/modules/agents/api/agents.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import {
getDefaultGetListResponse,
getDefaultGetParams,
} from '@webitel/ui-sdk/src/api/defaults';
} from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import convertDuration from '@webitel/ui-sdk/src/scripts/convertDuration';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../app/api/instance';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
merge,
mergeEach,
notify,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentSkillServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import applyTransform, { notify, snakeToCamel } from '@webitel/ui-sdk/src/api/transformers';
import applyTransform, { notify, snakeToCamel } from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
4 changes: 2 additions & 2 deletions src/modules/contact-center/modules/queues/api/queues.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import isEmpty from '@webitel/ui-sdk/src/scripts/isEmpty';
import deepCopy from 'deep-copy';
import { QueueServiceApiFactory } from 'webitel-sdk';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
merge,
mergeEach,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { QueueBucketServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
merge,
notify,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentTeamServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { QueueHookServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
merge,
notify,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { MemberServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import deepCopy from 'deep-copy';
import { MemberServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { QueueResourcesServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { QueueSkillServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
log,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import deepCopy from 'deep-copy';
import { OutboundResourceGroupServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../app/api/instance';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { OutboundResourceGroupServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
4 changes: 2 additions & 2 deletions src/modules/contact-center/modules/resources/api/resources.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import deepCopy from 'deep-copy';
import { OutboundResourceServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../app/api/instance';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { OutboundResourceServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
4 changes: 2 additions & 2 deletions src/modules/contact-center/modules/teams/api/teams.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentTeamServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../app/api/instance';
import configuration from '../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
mergeEach,
notify,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { TeamTriggerServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
Expand All @@ -7,7 +7,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { TeamHookServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
merge,
notify,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import { AgentServiceApiFactory } from 'webitel-sdk';
import instance from '../../../../../../../app/api/instance';
import configuration from '../../../../../../../app/api/openAPIConfig';
Expand Down
4 changes: 2 additions & 2 deletions src/modules/directory/modules/devices/api/devices.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
generateUrl,
Expand All @@ -9,7 +9,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import deepCopy from 'deep-copy';
import instance from '../../../../../app/api/instance';

Expand Down
4 changes: 2 additions & 2 deletions src/modules/directory/modules/license/api/license.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults';
import { getDefaultGetListResponse, getDefaultGetParams } from '@webitel/ui-sdk/src/api/defaults/index.js';
import applyTransform, {
camelToSnake,
generateUrl,
Expand All @@ -9,7 +9,7 @@ import applyTransform, {
sanitize,
snakeToCamel,
starToSearch,
} from '@webitel/ui-sdk/src/api/transformers';
} from '@webitel/ui-sdk/src/api/transformers/index.js';
import instance from '../../../../../app/api/instance';

const LICENSE_URL = '/license';
Expand Down
Loading

0 comments on commit 8672c3a

Please sign in to comment.