@webitel/api-services 26.8.20 → 26.8.21

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.
@@ -9,13 +9,17 @@ export interface QueueTypeRule {
9
9
  * Per-queue-type validation, transcribed from the admin app's
10
10
  * `opened-queue.vue` `validations()` switch.
11
11
  *
12
- * Two things in here look like mistakes and are not:
12
+ * Three things in here look like mistakes and are not:
13
13
  *
14
14
  * - `team` is commented "required" in every legacy queue schema but was never
15
15
  * actually validated. That is preserved — adding it would start rejecting
16
16
  * queues that save fine today.
17
17
  * - `priority` and `payload.minOnlineAgents` carry `minValue(0)` for *all* ten
18
18
  * types, including the ones whose form never shows `minOnlineAgents`.
19
+ * - `payload.originateTimeout`, `payload.waitBetweenRetries` (WTEL-10292) and
20
+ * `payload.maxAttempts` (WTEL-10326) drop the legacy `required`: the backend
21
+ * takes a queue without them, so it only blocked saving a cleared field.
22
+ * Their `minValue` stays — it skips an empty value.
19
23
  */
20
24
  export declare const sharedQueueRules: QueueTypeRule;
21
25
  export declare const queueTypeRules: Record<number, QueueTypeRule>;