@webitel/api-services 26.8.60 → 26.8.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/clients/queues/__tests__/queues.spec.ts +128 -1
- package/src/api/clients/queues/queues.ts +88 -8
- package/src/enums/QueuePeriod/QueuePeriod.ts +10 -0
- package/src/enums/index.ts +2 -0
- package/types/.tsbuildinfo +1 -1
- package/types/enums/QueuePeriod/QueuePeriod.d.ts +9 -0
- package/types/enums/index.d.ts +2 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const QueuePeriod: {
|
|
2
|
+
readonly Today: "today";
|
|
3
|
+
readonly SixHours: "6hour";
|
|
4
|
+
readonly ThreeHours: "3hour";
|
|
5
|
+
readonly OneHour: "1hour";
|
|
6
|
+
readonly ThirtyMinutes: "30min";
|
|
7
|
+
readonly FifteenMinutes: "15min";
|
|
8
|
+
};
|
|
9
|
+
export type QueuePeriod = (typeof QueuePeriod)[keyof typeof QueuePeriod];
|
package/types/enums/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { CallReportingStatus } from './CallReportingStatus/CallReportingStatus';
|
|
|
2
2
|
import { ChatGatewayProvider } from './ChatGatewayProvider/ChatGatewayPrivider';
|
|
3
3
|
import { FormatDateMode } from './FormatDateMode/FormatDateMode';
|
|
4
4
|
import { MemberStopCause } from './MemberStopCause/MemberStopCause';
|
|
5
|
+
import { QueuePeriod } from './QueuePeriod/QueuePeriod';
|
|
5
6
|
import { QueueStrategy, QueueStrategyList } from './QueueStrategy/QueueStrategy';
|
|
6
7
|
import { QueueType, QueueTypeName } from './QueueType/QueueType';
|
|
7
8
|
import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
|
|
@@ -9,4 +10,4 @@ import { TimeBaseScore } from './TimeBaseScore/TimeBaseScore';
|
|
|
9
10
|
import { TypesResourceStrategy } from './TypesResourceStrategy/TypesResourceStrategy';
|
|
10
11
|
import { UrlProtocol } from './UrlProtocol/UrlProtocol';
|
|
11
12
|
import { UserPresenceStatus } from './UserPresenceStatus/UserPresenceStatus';
|
|
12
|
-
export { CallReportingStatus, ChatGatewayProvider, FormatDateMode, MemberStopCause, QueueStrategy, QueueStrategyList, QueueType, QueueTypeName, RelativeDatetimeValue, TimeBaseScore, TypesResourceStrategy, UrlProtocol, UserPresenceStatus, };
|
|
13
|
+
export { CallReportingStatus, ChatGatewayProvider, FormatDateMode, MemberStopCause, QueuePeriod, QueueStrategy, QueueStrategyList, QueueType, QueueTypeName, RelativeDatetimeValue, TimeBaseScore, TypesResourceStrategy, UrlProtocol, UserPresenceStatus, };
|