@webitel/ui-sdk 26.6.101 → 26.6.103

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.
Files changed (99) hide show
  1. package/dist/{clients-DBR1e2Vq.js → clients-DqzkR0RW.js} +12 -5
  2. package/dist/{components-B15PvOcM.js → components-D8JOGMR0.js} +26 -20
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +241 -241
  6. package/dist/{wt-chat-emoji-DGWoMhRa.js → wt-chat-emoji-Dp6FMc5b.js} +1 -1
  7. package/dist/{wt-display-chip-items-BoMTg1Qr.js → wt-display-chip-items-BXBiBRHv.js} +1 -1
  8. package/dist/{wt-send-message-popup-WECZxY7v.js → wt-send-message-popup-Bb1kLJAB.js} +2 -2
  9. package/dist/{wt-table-C39WpJH8.js → wt-table-DK024qBI.js} +1 -1
  10. package/dist/{wt-tree-table-umRsVKWt.js → wt-tree-table-Dr1gwykM.js} +2 -2
  11. package/dist/{wt-type-extension-value-input-Dmq5KjQQ.js → wt-type-extension-value-input-PBQg_6By.js} +2 -2
  12. package/dist/{wt-vidstack-player-D-D625Jl.js → wt-vidstack-player-BnjIQSJE.js} +1 -1
  13. package/package.json +3 -3
  14. package/src/components/wt-galleria/wt-galleria.vue +1 -1
  15. package/src/components/wt-input-text/wt-input-text.vue +32 -4
  16. package/src/components/wt-password/wt-password.vue +1 -2
  17. package/src/components/wt-tree-table/wt-tree-table.vue +1 -1
  18. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
  19. package/src/modules/Userinfo/composables/createUserAccessControl.ts +2 -2
  20. package/src/modules/Userinfo/scripts/utils.ts +1 -1
  21. package/src/modules/Userinfo/stores/accessStore.ts +1 -1
  22. package/src/modules/Userinfo/types/{UserAccess.d.ts → UserAccess.ts} +5 -5
  23. package/types/.tsbuildinfo +1 -0
  24. package/types/api/types/ApiModule.d.ts +42 -0
  25. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  26. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +16 -16
  27. package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
  28. package/types/components/wt-badge-new/types/WtBadge.d.ts +1 -0
  29. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
  30. package/types/components/wt-galleria/types/WtGalleria.d.ts +6 -0
  31. package/types/components/wt-galleria/wt-galleria.vue.d.ts +1 -1
  32. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
  33. package/types/components/wt-input-text/wt-input-text.vue.d.ts +4 -2
  34. package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +14 -0
  35. package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +14 -14
  36. package/types/components/wt-password/wt-password.vue.d.ts +0 -1
  37. package/types/components/wt-search-bar/types/WtSearchBar.d.ts +17 -0
  38. package/types/components/wt-table/types/WtTable.d.ts +10 -0
  39. package/types/components/wt-table/wt-table.vue.d.ts +2 -2
  40. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
  41. package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +1 -1
  42. package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +2 -2
  43. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
  44. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
  45. package/types/modules/Userinfo/scripts/utils.d.ts +1 -1
  46. package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
  47. package/types/modules/Userinfo/stores/userinfoStore.d.ts +30 -31
  48. package/types/modules/Userinfo/types/UserAccess.d.ts +126 -0
  49. package/types/plugins/primevue/theme/components/avatar/avatar.d.ts +32 -32
  50. package/src/components/wt-context-menu/types/WtContextMenu.d.ts +0 -4
  51. package/src/composables/index.d.ts +0 -9
  52. package/src/composables/useEventBus/useEventBus.d.ts +0 -11
  53. package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +0 -4
  54. package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +0 -12
  55. package/src/enums/ButtonColor/ButtonColor.d.ts +0 -11
  56. package/src/enums/ButtonVariant/ButtonVariant.d.ts +0 -6
  57. package/src/enums/ChipColor/ChipColor.d.ts +0 -11
  58. package/src/enums/ComponentSize/ComponentSize.d.ts +0 -17
  59. package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +0 -6
  60. package/src/enums/CrudAction/CrudAction.d.ts +0 -7
  61. package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +0 -9
  62. package/src/enums/EmptyCause/EmptyCause.d.ts +0 -6
  63. package/src/enums/FormatDateMode/FormatDateMode.d.ts +0 -8
  64. package/src/enums/IconColor/IconColor.d.ts +0 -17
  65. package/src/enums/LoginOptions/LoginOptions.d.ts +0 -6
  66. package/src/enums/MessageColor/MessageColor.d.ts +0 -9
  67. package/src/enums/MessageVariant/MessageVariant.d.ts +0 -6
  68. package/src/enums/MimeTypes/MimeTypes.enum.d.ts +0 -17
  69. package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +0 -8
  70. package/src/enums/QueueType/QueueType.enum.d.ts +0 -28
  71. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +0 -7
  72. package/src/enums/RingtoneType/RingtoneType.d.ts +0 -6
  73. package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +0 -7
  74. package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +0 -3
  75. package/src/enums/WebitelApplications/AdminSections.d.ts +0 -46
  76. package/src/enums/WebitelApplications/AuditorSections.d.ts +0 -4
  77. package/src/enums/WebitelApplications/CrmSections.d.ts +0 -16
  78. package/src/enums/WebitelApplications/SupervisorSections.d.ts +0 -6
  79. package/src/enums/WebitelApplications/WfmSections.d.ts +0 -6
  80. package/src/enums/WebitelApplications/WtApplication.d.ts +0 -12
  81. package/src/enums/WtObject/WtObject.d.ts +0 -63
  82. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +0 -13
  83. package/src/enums/index.d.ts +0 -38
  84. package/src/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +0 -6
  85. package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +0 -7
  86. package/src/modules/ObjectPermissions/enums/index.d.ts +0 -2
  87. package/src/modules/ObjectPermissions/headers/headers.d.ts +0 -7
  88. package/src/modules/ObjectPermissions/index.d.ts +0 -7
  89. package/src/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +0 -3
  90. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +0 -1
  91. package/src/utils/displayText.d.ts +0 -2
  92. package/src/utils/formatDate.d.ts +0 -4
  93. package/src/utils/index.d.ts +0 -2
  94. /package/src/api/types/{ApiModule.d.ts → ApiModule.ts} +0 -0
  95. /package/src/components/wt-badge-new/types/{WtBadge.d.ts → WtBadge.ts} +0 -0
  96. /package/src/components/wt-galleria/types/{WtGalleria.d.ts → WtGalleria.ts} +0 -0
  97. /package/src/components/wt-navigation-bar/types/{WtNavigationBar.d.ts → WtNavigationBar.ts} +0 -0
  98. /package/src/components/wt-search-bar/types/{WtSearchBar.d.ts → WtSearchBar.ts} +0 -0
  99. /package/src/components/wt-table/types/{WtTable.d.ts → WtTable.ts} +0 -0
@@ -0,0 +1,126 @@
1
+ import { NavigationGuard } from 'vue-router';
2
+ import type { AdminSections, AuditorSections, CrmSections, CrudAction, SupervisorSections, WtApplication, WtObject } from '../../../enums';
3
+ import type { ApplicationsAccessSchema } from '../classes/ApplicationsAccess';
4
+ import type { CrudGlobalAction, ScopeClass, SpecialGlobalAction, WebitelLicense } from '../enums';
5
+ /**
6
+ * @description
7
+ * Represents union of all Webitel web client applications/sections
8
+ * */
9
+ export type UiSection = AdminSections | AuditorSections | SupervisorSections | CrmSections;
10
+ export type FullUiSectionName = `${WtApplication}/${UiSection}`;
11
+ /**
12
+ * @internal
13
+ * @description Received from backend
14
+ * */
15
+ export type GlobalAction = CrudGlobalAction | SpecialGlobalAction;
16
+ /**
17
+ * @internal
18
+ * */
19
+ export interface GlobalAccessApiResponseItem {
20
+ id: GlobalAction;
21
+ name: string;
22
+ usage: string;
23
+ }
24
+ /**
25
+ * @internal
26
+ * */
27
+ export interface ScopeAccessApiResponseItem {
28
+ class: ScopeClass;
29
+ access: string;
30
+ }
31
+ /**
32
+ * @internal
33
+ * @description
34
+ * Represents admin->permissions->roles->access.
35
+ * */
36
+ export type VisibilityAccess = ApplicationsAccessSchema;
37
+ /**
38
+ * @internal
39
+ * @description
40
+ * Represents raw access data, received from backend.
41
+ * */
42
+ export interface CreateUserAccessStoreRawAccess {
43
+ permissions: GlobalAccessApiResponseItem[];
44
+ scope: ScopeAccessApiResponseItem[];
45
+ access: VisibilityAccess;
46
+ license: WebitelLicenseInfo[];
47
+ }
48
+ /**
49
+ * @internal
50
+ */
51
+ export interface CreateUserAccessStoreConfig {
52
+ /**
53
+ * @default 'userinfo'
54
+ * */
55
+ namespace?: string;
56
+ }
57
+ /**
58
+ * @description
59
+ * Map is used for quick access to user permissions
60
+ * */
61
+ export type GlobalActionAccessMap = Map<CrudAction | SpecialGlobalAction, boolean>;
62
+ /**
63
+ * @description
64
+ * Map is used for quick access to user permissions
65
+ * */
66
+ export type ScopeAccessMap = Map<WtObject, Map<CrudAction, boolean>>;
67
+ /**
68
+ * @description
69
+ * Map is used for quick access to user permissions
70
+ * */
71
+ export type AppVisibilityMap = Map<WtApplication, boolean>;
72
+ /**
73
+ * @description
74
+ * Map is used for quick access to user permissions
75
+ * */
76
+ export type SectionVisibilityMap = Map<FullUiSectionName, boolean>;
77
+ export interface UserAccessStore {
78
+ initialize: (CreateUserAccessStoreRawAccess: any) => void;
79
+ hasReadAccess: (object?: WtObject) => boolean;
80
+ hasCreateAccess: (object?: WtObject) => boolean;
81
+ hasUpdateAccess: (object?: WtObject) => boolean;
82
+ hasDeleteAccess: (object?: WtObject) => boolean;
83
+ routeAccessGuard: NavigationGuard;
84
+ hasSpecialGlobalActionAccess: (id: SpecialGlobalAction) => boolean;
85
+ hasGlobalCrudActionAccess: (action: CrudAction) => boolean;
86
+ hasLicense: (license: WebitelLicense) => boolean;
87
+ hasApplicationVisibility: (app: WtApplication) => boolean;
88
+ hasSectionVisibility: (params: {
89
+ section: UiSection;
90
+ object: WtObject;
91
+ app: WtApplication;
92
+ }) => boolean;
93
+ /**
94
+ * @internal
95
+ * for pinia devtools debug
96
+ */
97
+ globalAccess: GlobalActionAccessMap;
98
+ /**
99
+ * @internal
100
+ * for pinia devtools debug
101
+ */
102
+ scopeAccess: ScopeAccessMap;
103
+ /**
104
+ * @internal
105
+ * for pinia devtools debug
106
+ */
107
+ appVisibilityAccess: AppVisibilityMap;
108
+ /**
109
+ * @internal
110
+ * for pinia devtools debug
111
+ */
112
+ sectionVisibilityAccess: SectionVisibilityMap;
113
+ /**
114
+ * @internal
115
+ * for pinia devtools debug
116
+ */
117
+ licenseAccess: LicenseAccessMap;
118
+ }
119
+ export type WebitelLicenseInfo = {
120
+ prod: WebitelLicense;
121
+ scope: ScopeClass[];
122
+ id: string;
123
+ expiresAt: string;
124
+ issuedAt: string;
125
+ };
126
+ export type LicenseAccessMap = Map<WebitelLicense, WebitelLicenseInfo[]>;
@@ -7,22 +7,22 @@ declare const avatar: {
7
7
  color: string;
8
8
  };
9
9
  letters: {
10
- 'na-color': string;
11
- 'na-background': string;
12
- 'p1-color': string;
13
- 'p2-color': string;
14
- 'p3-color': string;
15
- 'p4-color': string;
16
- 'p5-color': string;
17
- 'p6-color': string;
18
- 'p7-color': string;
19
- 'p8-color': string;
20
- 'p9-color': string;
21
- 'p10-color': string;
22
- 'p11-color': string;
23
- 'p12-color': string;
24
- 'p13-color': string;
25
- 'p14-color': string;
10
+ "na-color": string;
11
+ "na-background": string;
12
+ "p1-color": string;
13
+ "p2-color": string;
14
+ "p3-color": string;
15
+ "p4-color": string;
16
+ "p5-color": string;
17
+ "p6-color": string;
18
+ "p7-color": string;
19
+ "p8-color": string;
20
+ "p9-color": string;
21
+ "p10-color": string;
22
+ "p11-color": string;
23
+ "p12-color": string;
24
+ "p13-color": string;
25
+ "p14-color": string;
26
26
  };
27
27
  bot: {
28
28
  color: string;
@@ -35,22 +35,22 @@ declare const avatar: {
35
35
  color: string;
36
36
  };
37
37
  letters: {
38
- 'na-color': string;
39
- 'na-background': string;
40
- 'p1-color': string;
41
- 'p2-color': string;
42
- 'p3-color': string;
43
- 'p4-color': string;
44
- 'p5-color': string;
45
- 'p6-color': string;
46
- 'p7-color': string;
47
- 'p8-color': string;
48
- 'p9-color': string;
49
- 'p10-color': string;
50
- 'p11-color': string;
51
- 'p12-color': string;
52
- 'p13-color': string;
53
- 'p14-color': string;
38
+ "na-color": string;
39
+ "na-background": string;
40
+ "p1-color": string;
41
+ "p2-color": string;
42
+ "p3-color": string;
43
+ "p4-color": string;
44
+ "p5-color": string;
45
+ "p6-color": string;
46
+ "p7-color": string;
47
+ "p8-color": string;
48
+ "p9-color": string;
49
+ "p10-color": string;
50
+ "p11-color": string;
51
+ "p12-color": string;
52
+ "p13-color": string;
53
+ "p14-color": string;
54
54
  };
55
55
  bot: {
56
56
  color: string;
@@ -1,4 +0,0 @@
1
- // export type WtContextMenuOption = {
2
- // text?: string;
3
- // value: unknown;
4
- // } & Record<string, unknown>;
@@ -1,9 +0,0 @@
1
- export * from './useCachedInterval/useCachedInterval';
2
- export * from './useCachedItemInstanceName/useCachedItemInstanceName';
3
- export * from './useCard/useCardComponent';
4
- export * from './useCard/useCardTabs';
5
- export * from './useClose/useClose';
6
- export * from './useDestroyableSortable/useDestroyableSortable';
7
- export * from './useEventBus/useEventBus';
8
- export * from './useRepresentableAgentPauseCause/useRepresentableAgentPauseCause';
9
- export * from './useValidate/useValidate';
@@ -1,11 +0,0 @@
1
- /**
2
- * Vue-2-style event bus contract host apps pass to the ui-sdk
3
- * `install(app, { eventBus })` (provided app-wide as '$eventBus').
4
- */
5
- export interface EventBus {
6
- $emit: (event: string, payload?: unknown) => void;
7
- $on: (event: string, handler: (payload?: unknown) => void) => void;
8
- $off: (event: string, handler?: (payload?: unknown) => void) => void;
9
- }
10
- export declare const EVENT_BUS_INJECTION_KEY = "$eventBus";
11
- export declare const useEventBus: () => EventBus | undefined;
@@ -1,4 +0,0 @@
1
- export declare const BroadcastChannelName: {
2
- readonly UserSettings: "WtUserSettings";
3
- };
4
- export type BroadcastChannelName = (typeof BroadcastChannelName)[keyof typeof BroadcastChannelName];
@@ -1,12 +0,0 @@
1
- export interface WebphoneBroadcastPayload {
2
- webrtc: boolean;
3
- stun: boolean;
4
- autoGainControl: boolean;
5
- echoCancellation: boolean;
6
- noiseSuppression: boolean;
7
- }
8
- export interface WebphoneBroadcastMessage {
9
- type: 'webphone';
10
- payload: WebphoneBroadcastPayload;
11
- }
12
- export type UserSettingsBroadcastMessage = WebphoneBroadcastMessage;
@@ -1,11 +0,0 @@
1
- export declare const ButtonColor: {
2
- readonly PRIMARY: "primary";
3
- readonly SECONDARY: "secondary";
4
- readonly SUCCESS: "success";
5
- readonly WARN: "warn";
6
- readonly ERROR: "error";
7
- readonly TRANSFER: "transfer";
8
- readonly JOB: "job";
9
- readonly INFO: "info";
10
- };
11
- export type ButtonColor = (typeof ButtonColor)[keyof typeof ButtonColor];
@@ -1,6 +0,0 @@
1
- export declare const ButtonVariant: {
2
- readonly ACTIVE: "active";
3
- readonly OUTLINED: "outlined";
4
- readonly TEXT: "text";
5
- };
6
- export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
@@ -1,11 +0,0 @@
1
- export declare const ChipColor: {
2
- readonly MAIN: "main";
3
- readonly PRIMARY: "primary";
4
- readonly ON_PRIMARY: "on-primary";
5
- readonly SECONDARY: "secondary";
6
- readonly SUCCESS: "success";
7
- readonly WARNING: "warning";
8
- readonly ERROR: "error";
9
- readonly TRANSFER: "transfer";
10
- };
11
- export type ChipColor = (typeof ChipColor)[keyof typeof ChipColor];
@@ -1,17 +0,0 @@
1
- export declare const ComponentSize: {
2
- readonly XXXS: "3xs";
3
- readonly XXS: "2xs";
4
- readonly XS: "xs";
5
- readonly SM: "sm";
6
- readonly MD: "md";
7
- readonly LG: "lg";
8
- readonly XL: "xl";
9
- readonly XXL: "2xl";
10
- readonly XXXL: "3xl";
11
- readonly '4XL': "4xl";
12
- readonly '5XL': "5xl";
13
- readonly '6XL': "6xl";
14
- readonly '7XL': "7xl";
15
- readonly '8XL': "8xl";
16
- };
17
- export type ComponentSize = (typeof ComponentSize)[keyof typeof ComponentSize];
@@ -1,6 +0,0 @@
1
- export declare const ConnectionQualityLevels: {
2
- readonly High: "high";
3
- readonly Medium: "medium";
4
- readonly Low: "low";
5
- };
6
- export type ConnectionQualityLevelsType = (typeof ConnectionQualityLevels)[keyof typeof ConnectionQualityLevels];
@@ -1,7 +0,0 @@
1
- export declare const CrudAction: {
2
- readonly Read: "read";
3
- readonly Create: "create";
4
- readonly Update: "update";
5
- readonly Delete: "delete";
6
- };
7
- export type CrudAction = (typeof CrudAction)[keyof typeof CrudAction];
@@ -1,9 +0,0 @@
1
- export declare const DefaultWorkspaceTabSettings: {
2
- readonly GeneralInfo: "general_info";
3
- readonly ClientInfo: "client_info";
4
- readonly KnowledgeBase: "knowledge_base";
5
- readonly TaskProcessing: "task_processing";
6
- readonly Flows: "flows";
7
- readonly Screenshots: "screenshots";
8
- };
9
- export type DefaultWorkspaceTabSettings = (typeof DefaultWorkspaceTabSettings)[keyof typeof DefaultWorkspaceTabSettings];
@@ -1,6 +0,0 @@
1
- export declare const EmptyCause: Readonly<{
2
- ERROR: "error";
3
- FILTERS: "filters";
4
- EMPTY: "empty";
5
- }>;
6
- export type EmptyCause = (typeof EmptyCause)[keyof typeof EmptyCause];
@@ -1,8 +0,0 @@
1
- export declare const FormatDateMode: {
2
- readonly DATE: "date";
3
- readonly TIME: "time";
4
- readonly TIME_SEC: "timeSec";
5
- readonly DATETIME: "datetime";
6
- readonly DATETIME_SHORT: "datetimeShort";
7
- };
8
- export type FormatDateMode = (typeof FormatDateMode)[keyof typeof FormatDateMode];
@@ -1,17 +0,0 @@
1
- export declare const IconColor: {
2
- readonly DEFAULT: "default";
3
- readonly ACTIVE: "active";
4
- readonly DISABLED: "disabled";
5
- readonly PRIMARY: "primary";
6
- readonly ERROR: "error";
7
- readonly SUCCESS: "success";
8
- readonly WARNING: "warning";
9
- readonly ON_DARK: "on-dark";
10
- readonly ON_LIGHT: "on-light";
11
- readonly ON_PRIMARY: "on-primary";
12
- readonly INFO: "info";
13
- readonly CHAT: "chat";
14
- readonly TRANSFER: "transfer";
15
- readonly JOB: "job";
16
- };
17
- export type IconColor = (typeof IconColor)[keyof typeof IconColor];
@@ -1,6 +0,0 @@
1
- export declare const LoginOptions: {
2
- readonly LOCAL_PASSWORD_ONLY: "local_password_only";
3
- readonly SSO_AND_LOCAL: "sso_and_local";
4
- readonly SSO_ONLY: "sso_only";
5
- };
6
- export type LoginOptions = keyof typeof LoginOptions;
@@ -1,9 +0,0 @@
1
- export declare const MessageColor: {
2
- readonly SECONDARY: "secondary";
3
- readonly SUCCESS: "success";
4
- readonly ERROR: "error";
5
- readonly WARN: "warn";
6
- readonly INFO: "info";
7
- readonly CONTRAST: "contrast";
8
- };
9
- export type MessageColor = keyof typeof MessageColor;
@@ -1,6 +0,0 @@
1
- export declare const MessageVariant: {
2
- readonly FILLED: "filled";
3
- readonly OUTLINED: "outlined";
4
- readonly SIMPLE: "simple";
5
- };
6
- export type MessageVariant = keyof typeof MessageVariant;
@@ -1,17 +0,0 @@
1
- export declare const MimeTypes: {
2
- readonly IMAGE_JPEG: "image/jpeg";
3
- readonly IMAGE_PNG: "image/png";
4
- readonly IMAGE_GIF: "image/gif";
5
- readonly IMAGE_SVG_XML: "image/svg+xml";
6
- readonly IMAGE_WEBP: "image/webp";
7
- readonly VIDEO_MP4: "video/mp4";
8
- readonly VIDEO_WEBM: "video/webm";
9
- readonly VIDEO_MPEG: "video/mpeg";
10
- readonly AUDIO_MPEG: "audio/mpeg";
11
- readonly AUDIO_WAV: "audio/wav";
12
- readonly APPLICATION_PDF: "application/pdf";
13
- readonly APPLICATION_MSWORD: "application/msword";
14
- readonly APPLICATION_DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
15
- readonly APPLICATION_XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
16
- };
17
- export type MimeTypes = (typeof MimeTypes)[keyof typeof MimeTypes];
@@ -1,8 +0,0 @@
1
- export declare const ProcessingTableColumnType: {
2
- readonly TEXT: "text";
3
- readonly NUMBER: "number";
4
- readonly BOOL: "bool";
5
- readonly DATETIME: "datetime";
6
- readonly LINK: "link";
7
- };
8
- export type ProcessingTableColumnType = (typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
@@ -1,28 +0,0 @@
1
- export declare const QueueType: {
2
- readonly OFFLINE_QUEUE: 0;
3
- readonly INBOUND_QUEUE: 1;
4
- readonly OUTBOUND_IVR_QUEUE: 2;
5
- readonly PREVIEW_DIALER: 3;
6
- readonly PROGRESSIVE_DIALER: 4;
7
- readonly PREDICTIVE_DIALER: 5;
8
- readonly CHAT_INBOUND_QUEUE: 6;
9
- readonly INBOUND_JOB_QUEUE: 7;
10
- readonly OUTBOUND_JOB_QUEUE: 8;
11
- readonly IM_CHAT_QUEUE: 9;
12
- };
13
- export type QueueType = (typeof QueueType)[keyof typeof QueueType];
14
- export declare const QueueTypeName: {
15
- readonly OFFLINE_QUEUE: "offline";
16
- readonly INBOUND_QUEUE: "inbound";
17
- readonly OUTBOUND_IVR_QUEUE: "ivr";
18
- readonly PREVIEW_DIALER: "preview";
19
- readonly PROGRESSIVE_DIALER: "progressive";
20
- readonly PREDICTIVE_DIALER: "predictive";
21
- readonly CHAT_INBOUND_QUEUE: "inbound chat";
22
- readonly INBOUND_JOB_QUEUE: "task";
23
- readonly OUTBOUND_JOB_QUEUE: "outbound_task";
24
- readonly OUTBOUND_CALL: "outbound_call";
25
- readonly IM_CHAT_QUEUE: "im_chat";
26
- readonly NOT_IMPLEMENT: "NOT_IMPLEMENT";
27
- };
28
- export type QueueTypeName = (typeof QueueTypeName)[keyof typeof QueueTypeName];
@@ -1,7 +0,0 @@
1
- export declare const RelativeDatetimeValue: {
2
- readonly Today: "rdt_today";
3
- readonly ThisWeek: "rdt_this_week";
4
- readonly ThisMonth: "rdt_this_month";
5
- readonly Custom: "rdt_custom";
6
- };
7
- export type RelativeDatetimeValue = (typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
@@ -1,6 +0,0 @@
1
- export declare const RingtoneType: {
2
- readonly Call: "call";
3
- readonly Chat: "chat";
4
- readonly Task: "task";
5
- };
6
- export type RingtoneType = (typeof RingtoneType)[keyof typeof RingtoneType];
@@ -1,7 +0,0 @@
1
- export declare const SingleSignOnProvider: {
2
- readonly Microsoft: "microsoft";
3
- readonly Google: "google";
4
- readonly Facebook: "facebook";
5
- readonly Custom: "custom";
6
- };
7
- export type SingleSignOnProvider = (typeof SingleSignOnProvider)[keyof typeof SingleSignOnProvider];
@@ -1,3 +0,0 @@
1
- import { SingleSignOnProvider } from '../SingleSignOnProvider/SingleSignOnProvider';
2
- export declare const SingleSignOnProviderIconMappings: Record<SingleSignOnProvider, string>;
3
- export type SingleSignOnProviderIconMappings = (typeof SingleSignOnProviderIconMappings)[keyof typeof SingleSignOnProviderIconMappings];
@@ -1,46 +0,0 @@
1
- /**
2
- * @augments WtApplication
3
- * represents ui sections in Admin WtApplication
4
- * without any relation to WtObjects (?)
5
- */
6
- export declare const AdminSections: {
7
- readonly Agents: "agents";
8
- readonly Blacklist: "blacklist";
9
- readonly Buckets: "buckets";
10
- readonly Calendars: "calendars";
11
- readonly Changelogs: "changelogs";
12
- readonly ChatGateways: "chat-gateways";
13
- readonly Chatplan: "chatplan";
14
- readonly CognitiveProfiles: "cognitive-profiles";
15
- readonly Communications: "communications";
16
- readonly Configuration: "configuration";
17
- readonly Dialplan: "dialplan";
18
- readonly Devices: "devices";
19
- readonly EmailProfiles: "email-profiles";
20
- readonly Flow: "flow";
21
- readonly Gateways: "gateways";
22
- readonly GlobalVariables: "global-variables";
23
- readonly ImportCsv: "import-csv";
24
- readonly License: "license";
25
- readonly Media: "media";
26
- readonly Members: "members";
27
- readonly Objects: "objects";
28
- readonly PauseCause: "pause-cause";
29
- readonly PauseTemplates: "pause-templates";
30
- readonly Queues: "queues";
31
- readonly Regions: "regions";
32
- readonly ResourceGroups: "resource-groups";
33
- readonly Resources: "resources";
34
- readonly Roles: "roles";
35
- readonly ShiftTemplates: "shift-templates";
36
- readonly SingleSignOn: "single-sign-on";
37
- readonly Skills: "skills";
38
- readonly Storage: "storage";
39
- readonly StoragePolicies: "storage-policies";
40
- readonly Teams: "teams";
41
- readonly Triggers: "triggers";
42
- readonly Users: "users";
43
- readonly WorkingConditions: "working-conditions";
44
- readonly QuickReplies: "quick-replies";
45
- };
46
- export type AdminSections = (typeof AdminSections)[keyof typeof AdminSections];
@@ -1,4 +0,0 @@
1
- export declare const AuditorSections: {
2
- readonly Scorecards: "scorecards";
3
- };
4
- export type AuditorSections = (typeof AuditorSections)[keyof typeof AuditorSections];
@@ -1,16 +0,0 @@
1
- export declare const CrmSections: {
2
- readonly Contacts: "contacts";
3
- readonly Cases: "cases";
4
- readonly Slas: "slas";
5
- readonly ServiceCatalogs: "service-catalogs";
6
- readonly Priorities: "priorities";
7
- readonly Statuses: "statuses";
8
- readonly Sources: "sources";
9
- readonly CloseReasonGroups: "close-reason-groups";
10
- readonly ContactGroups: "contact-groups";
11
- readonly CaseSources: "case-sources";
12
- readonly CasesExtensions: "ext-cases";
13
- readonly ContactsExtensions: "ext-contacts";
14
- readonly CustomLookups: "custom-lookups";
15
- };
16
- export type CrmSections = (typeof CrmSections)[keyof typeof CrmSections];
@@ -1,6 +0,0 @@
1
- export declare const SupervisorSections: {
2
- readonly Queues: "queues";
3
- readonly Agents: "agents";
4
- readonly ActiveCalls: "active-calls";
5
- };
6
- export type SupervisorSections = (typeof SupervisorSections)[keyof typeof SupervisorSections];
@@ -1,6 +0,0 @@
1
- export declare const WfmSections: {
2
- readonly MySchedules: "my-schedules";
3
- readonly Agents: "agents";
4
- readonly Schedules: "schedules";
5
- };
6
- export type WfmSections = (typeof WfmSections)[keyof typeof WfmSections];
@@ -1,12 +0,0 @@
1
- export declare const WtApplication: {
2
- readonly Admin: "admin";
3
- readonly Agent: "agent";
4
- readonly Supervisor: "supervisor";
5
- readonly History: "history";
6
- readonly Audit: "audit";
7
- readonly Analytics: "grafana";
8
- readonly Crm: "crm";
9
- readonly Wfm: "wfm";
10
- readonly Meet: "meet";
11
- };
12
- export type WtApplication = (typeof WtApplication)[keyof typeof WtApplication];
@@ -1,63 +0,0 @@
1
- /**
2
- * Represents existing Webitel entities
3
- */
4
- export declare const WtObject: {
5
- readonly Agent: "agent";
6
- readonly Queue: "queue";
7
- readonly Contact: "contact";
8
- readonly Region: "region";
9
- readonly User: "user";
10
- readonly Resource: "resource";
11
- readonly Device: "device";
12
- readonly License: "license";
13
- readonly Flow: "flow";
14
- readonly Dialplan: "dialplan";
15
- readonly Gateway: "gateway";
16
- readonly Chatplan: "chatplan";
17
- readonly ChatGateway: "chatGateway";
18
- readonly Blacklist: "blacklist";
19
- readonly Calendar: "calendar";
20
- readonly Communication: "communication";
21
- readonly PauseCause: "pauseCause";
22
- readonly Media: "media";
23
- readonly ShiftTemplate: "shiftTemplate";
24
- readonly PauseTemplate: "pauseTemplate";
25
- readonly WorkingCondition: "workingCondition";
26
- readonly Skill: "skill";
27
- readonly Bucket: "bucket";
28
- readonly Member: "member";
29
- readonly ResourceGroup: "resourceGroup";
30
- readonly Team: "team";
31
- readonly Storage: "storage";
32
- readonly CognitiveProfile: "cognitiveProfile";
33
- readonly EmailProfile: "emailProfile";
34
- readonly SingleSignOn: "singleSignOn";
35
- readonly ImportCsv: "importCsv";
36
- readonly Trigger: "trigger";
37
- readonly Role: "role";
38
- readonly Object: "object";
39
- readonly ChangeLog: "changelog";
40
- readonly Configuration: "configuration";
41
- readonly GlobalVariable: "globalVariable";
42
- readonly Call: "call";
43
- readonly RecordFile: "recordFile";
44
- readonly ContactGroup: "contactGroup";
45
- readonly Case: "case";
46
- readonly CaseComment: "caseComment";
47
- readonly Slas: "slas";
48
- readonly ServiceCatalog: "serviceCatalog";
49
- readonly CaseSource: "caseSource";
50
- readonly CloseReasonGroup: "closeReasonGroup";
51
- readonly Priorities: "priorities";
52
- readonly Status: "status";
53
- readonly Source: "source";
54
- readonly CustomLookup: "customLookup";
55
- readonly AuditForm: "auditForm";
56
- readonly AuditRating: "auditRating";
57
- readonly QuickReply: "quickReply";
58
- readonly ListNumber: "listNumber";
59
- readonly AgentWorkingCondition: "agentWorkingCondition";
60
- readonly FilePolicy: "filePolicy";
61
- readonly PortalUser: "portalUser";
62
- };
63
- export type WtObject = (typeof WtObject)[keyof typeof WtObject];