@webex/cc-components 1.28.0-next.6 → 1.28.0-next.7
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/dist/index.js +1 -1
- package/dist/types/components/task/task.types.d.ts +12 -2
- package/dist/wc.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { ILogger, ITask, IContactCenter, IWrapupCode, BuddyDetails, DestinationType, ContactServiceQueue, AddressBookEntry, EntryPointRecord, FetchPaginatedList, Participant, AddressBookEntrySearchParams, AddressBookEntriesResponse } from '@webex/cc-store';
|
|
2
2
|
type Enum<T extends Record<string, unknown>> = T[keyof T];
|
|
3
|
+
/**
|
|
4
|
+
* Target types for consult/transfer operations
|
|
5
|
+
*/
|
|
6
|
+
export declare const TARGET_TYPE: {
|
|
7
|
+
readonly AGENT: "agent";
|
|
8
|
+
readonly QUEUE: "queue";
|
|
9
|
+
readonly ENTRY_POINT: "entryPoint";
|
|
10
|
+
readonly DIAL_NUMBER: "dialNumber";
|
|
11
|
+
};
|
|
12
|
+
export type TargetType = (typeof TARGET_TYPE)[keyof typeof TARGET_TYPE];
|
|
3
13
|
/**
|
|
4
14
|
* Interface representing the TaskProps of a user.
|
|
5
15
|
*/
|
|
@@ -344,11 +354,11 @@ export interface ControlProps {
|
|
|
344
354
|
/**
|
|
345
355
|
* Function to set the last target type
|
|
346
356
|
*/
|
|
347
|
-
lastTargetType:
|
|
357
|
+
lastTargetType: TargetType;
|
|
348
358
|
/**
|
|
349
359
|
* Function to set the last target type
|
|
350
360
|
*/
|
|
351
|
-
setLastTargetType: (targetType:
|
|
361
|
+
setLastTargetType: (targetType: TargetType) => void;
|
|
352
362
|
controlVisibility: ControlVisibility;
|
|
353
363
|
secondsUntilAutoWrapup?: number;
|
|
354
364
|
/**
|