@webitel/ui-sdk 26.4.25 → 26.4.27
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-D0OG5vG7.js → index-C8vBiPd-.js} +1 -1
- package/dist/{index-BGqxg6sf.js → index-sCAVesRw.js} +1 -1
- package/dist/{install-B2nKRqul.js → install-BpbOHj_I.js} +35 -35
- package/dist/{isObject-BI00FRZt.js → isObject-DJCoqZvr.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +43 -21
- package/dist/{useVidstackSrc-BOseFLeI.js → useVidstackSrc-DPEX6RRJ.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-7bd2WYUM.js → vidstack-Bq6c3Bam-C8BarGxA.js} +3 -3
- package/dist/{vidstack-D2pY00kU-C4epTBWl.js → vidstack-D2pY00kU-B_cafpYr.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-kIS0cKA7.js → vidstack-DDXt6fpN-Dpiisxf7.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BEwyqyFg.js → vidstack-D_-9AA6_-DIHKUpGf.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-B0aITMoo.js → vidstack-DqAw8m9J-0WX0T-uC.js} +1 -1
- package/dist/{vidstack-audio-6TiliG3Q.js → vidstack-audio-BCCWjePC.js} +2 -2
- package/dist/{vidstack-dash-l2UFj02U.js → vidstack-dash-B7M-SKgK.js} +4 -4
- package/dist/{vidstack-google-cast-CodSOtsX.js → vidstack-google-cast-CdpMYQLE.js} +4 -4
- package/dist/{vidstack-hls-46pDeuZ8.js → vidstack-hls-Dv758_L_.js} +4 -4
- package/dist/{vidstack-video-ebW809md.js → vidstack-video-DvFDc21I.js} +3 -3
- package/dist/{vidstack-vimeo-AGSCrfdG.js → vidstack-vimeo-DyiUIV8-.js} +4 -4
- package/dist/{vidstack-youtube-B9hLINBZ.js → vidstack-youtube-BV-M7QMe.js} +3 -3
- package/dist/{wt-action-bar-DJZjC6NT.js → wt-action-bar-DtCnV0QA.js} +1 -1
- package/dist/{wt-button-select-BHFC1I14.js → wt-button-select-Bu3VECKn.js} +1 -1
- package/dist/{wt-chat-emoji-B8xcrhKR.js → wt-chat-emoji-DqInk1GC.js} +2 -2
- package/dist/{wt-confirm-dialog-Cl44593Y.js → wt-confirm-dialog-D57F9q1J.js} +1 -1
- package/dist/{wt-context-menu-BcGKsSEA.js → wt-context-menu-D0jnJXad.js} +1 -1
- package/dist/{wt-copy-action-DJxJBt8B.js → wt-copy-action-DDCSQ_2A.js} +1 -1
- package/dist/{wt-datepicker-DP-8ZA9W.js → wt-datepicker-C4sRfJ0p.js} +1 -1
- package/dist/{wt-display-chip-items-BRZEAm-L.js → wt-display-chip-items-DJQPHg3Q.js} +1 -1
- package/dist/{wt-dual-panel-BnPM9e1d.js → wt-dual-panel-M4TS1dRc.js} +1 -1
- package/dist/{wt-dummy-CshyDvgg.js → wt-dummy-BRRjf0iz.js} +1 -1
- package/dist/{wt-error-page-I2kgndlE.js → wt-error-page-BD9BuJtX.js} +1 -1
- package/dist/{wt-expansion-card-rgT1wfjr.js → wt-expansion-card-eSBcimM6.js} +1 -1
- package/dist/{wt-expansion-panel-DKzmzWyj.js → wt-expansion-panel-CknhgWwE.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-BTNKCoK4.js → wt-filters-panel-wrapper-C9VLrrrp.js} +1 -1
- package/dist/{wt-galleria-CVUljV6_.js → wt-galleria-zKCtE388.js} +1 -1
- package/dist/{wt-navigation-menu-BlbuMgBy.js → wt-navigation-menu-C0e1FmmX.js} +1 -1
- package/dist/{wt-notifications-bar-BiH3GPd5.js → wt-notifications-bar-p6CI--c4.js} +2 -2
- package/dist/{wt-pagination-C_MFqxak.js → wt-pagination-DdSBUoj0.js} +1 -1
- package/dist/{wt-player-BXlqJrQE.js → wt-player-Covx2kWC.js} +2 -2
- package/dist/{wt-screen-recordings-action-mYEqSZiF.js → wt-screen-recordings-action-D_LvQ56d.js} +1 -1
- package/dist/{wt-search-bar-DboZOJbZ.js → wt-search-bar-CFUNZ9ie.js} +1 -1
- package/dist/{wt-selection-popup-C-newUnN.js → wt-selection-popup-BPB0_88a.js} +1 -1
- package/dist/{wt-start-page-BnUPRxQ3.js → wt-start-page-6Gh-s00S.js} +1 -1
- package/dist/{wt-status-select-BfC7WXv6.js → wt-status-select-jfvUfsMb.js} +1 -1
- package/dist/{wt-stepper--M8qK_b_.js → wt-stepper-BVp2iitY.js} +1 -1
- package/dist/{wt-table-DRO1DkYD.js → wt-table-DX3441nG.js} +1 -1
- package/dist/{wt-table-actions-LAPPQaD9.js → wt-table-actions-Ipj873-B.js} +1 -1
- package/dist/{wt-table-column-select-Cd6H2Zci.js → wt-table-column-select-CSgLS3kw.js} +2 -2
- package/dist/{wt-tabs-DH8CFtG6.js → wt-tabs-BV1lJuJ5.js} +1 -1
- package/dist/{wt-tags-input-iDp22odU.js → wt-tags-input-gwEFiCiV.js} +2 -2
- package/dist/{wt-timepicker-oZy75TCm.js → wt-timepicker-C5P3BuaL.js} +1 -1
- package/dist/{wt-tree-C48PGUBH.js → wt-tree-DfEqI8Is.js} +2 -2
- package/dist/{wt-tree-table-CcqQU67K.js → wt-tree-table-CaTpgNb3.js} +1 -1
- package/dist/{wt-type-extension-value-input-Btjpzff5.js → wt-type-extension-value-input-DAD2xazl.js} +674 -297
- package/dist/{wt-vidstack-player-IKXIcqDJ.js → wt-vidstack-player-BJN_iH6u.js} +10 -10
- package/package.json +2 -2
- package/src/modules/Userinfo/stores/accessStore.ts +7 -1
package/dist/ui-sdk.umd.cjs
CHANGED
|
@@ -8646,7 +8646,7 @@ among others of the same type.`),updatedAt:e.string().optional().describe(`Times
|
|
|
8646
8646
|
Take part in Etag generation.`),updatedBy:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("The user who performed last Update."),user:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("Responsible User."),ver:e.number().optional().describe("Version of the latest update. Numeric sequence.")}).describe("Manager. The Contact's responsible User.")).optional().describe("Manager dataset page."),next:e.boolean().optional(),page:e.number().optional().describe("The page number of the partial result.")}).describe("Manager dataset."),e.object({contact_id:e.string().describe("Link contact ID."),etag:e.string().describe("Unique ID of the latest version of an existing resource.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")}),e.object({primary:e.boolean().optional().describe("Indicates whether this association must be default among others."),user:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("Responsible User.")}),e.object({data:e.array(e.object({createdAt:e.string().optional().describe("The user who created this Field."),createdBy:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("Timestamp(milli) of the Field creation."),etag:e.string().optional().describe(`Unique ID of the latest version of the update.
|
|
8647
8647
|
This ID changes after any update to the underlying value(s).`),id:e.string().optional().describe("The unique ID of the association. Never changes."),primary:e.boolean().optional().describe(`Indicates whether this association is the default
|
|
8648
8648
|
among others of the same type.`),updatedAt:e.string().optional().describe(`Timestamp(milli) of the last Field update.
|
|
8649
|
-
Take part in Etag generation.`),updatedBy:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("The user who performed last Update."),user:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("Responsible User."),ver:e.number().optional().describe("Version of the latest update. Numeric sequence.")}).describe("Manager. The Contact's responsible User.")).optional().describe("Manager dataset page."),next:e.boolean().optional(),page:e.number().optional().describe("The page number of the partial result.")}).describe("Manager dataset."),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({allowSatisfaction:e.boolean().optional(),createdAt:e.string().optional(),expiresAt:e.string().optional(),satisfaction:e.string().optional(),title:e.string().optional()}),e.object({id:e.string()}),e.object({satisfaction:e.string().optional()}),e.looseObject({}),e.object({attempt_id:e.string()}),e.object({agentId:e.number().optional(),description:e.string().optional(),display:e.boolean().optional(),excludeCurrentCommunication:e.boolean().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),onlyCurrentCommunication:e.boolean().optional(),status:e.string().optional(),variables:e.record(e.string(),e.string()).optional(),waitBetweenRetries:e.number().optional()}),e.object({status:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.string()).optional(),queueId:e.array(e.number()).optional(),bucketId:e.array(e.number()).optional(),destination:e.string().optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),stopCause:e.array(e.string()).optional(),priorityFrom:e.string().optional(),priorityTo:e.string().optional(),name:e.string().optional(),attemptsFrom:e.string().optional(),attemptsTo:e.string().optional(),agentId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),fields:e.array(e.string()).optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),joinedAtFrom:e.string().optional(),joinedAtTo:e.string().optional(),id:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),bucketId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),result:e.array(e.string()).optional(),leavingAtFrom:e.string().optional(),leavingAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),offeredAgentId:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentCallId:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),channel:e.string().optional(),destination:e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),display:e.string().optional(),id:e.string().optional(),joinedAt:e.string().optional(),lastStateChange:e.string().optional(),leavingAt:e.string().optional(),list:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberCallId:e.string().optional(),offeringAt:e.string().optional(),position:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),state:e.string().optional(),timeout:e.string().optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({attemptType:e.array(e.string()).optional(),idleForMinutes:e.string().optional(),result:e.string().optional()}),e.looseObject({}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),joinedAtFrom:e.string().optional(),joinedAtTo:e.string().optional(),id:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),bucketId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),result:e.array(e.string()).optional(),leavingAtFrom:e.string().optional(),leavingAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),offeredAgentId:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentCallId:e.string().optional(),amdResult:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),channel:e.string().optional(),destination:e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),display:e.string().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),list:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberCallId:e.string().optional(),offeredAgents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),offeringAt:e.string().optional(),position:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({attempt_id:e.string()}),e.object({renewal:e.number().optional()}),e.looseObject({}),e.object({agentId:e.array(e.number()).optional(),attempts:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),bucketId:e.array(e.number()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),destination:e.string().optional(),id:e.array(e.string()).optional(),name:e.string().optional(),numbers:e.array(e.string()).optional(),offeringAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),size:e.number().optional(),sort:e.string().optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional(),withoutMembers:e.boolean().optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string()}),e.object({agentId:e.array(e.number()).optional(),attempts:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),bucketId:e.array(e.number()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),destination:e.string().optional(),id:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),name:e.string().optional(),numbers:e.array(e.string()).optional(),offeringAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),q:e.string().optional(),size:e.number().optional(),sort:e.string().optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional(),withoutMembers:e.boolean().optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.number()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.string()).optional(),bucketId:e.array(e.number()).optional(),destination:e.string().optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),stopCause:e.array(e.string()).optional(),priorityFrom:e.string().optional(),priorityTo:e.string().optional(),name:e.string().optional(),attemptsFrom:e.string().optional(),attemptsTo:e.string().optional(),agentId:e.array(e.number()).optional(),variablesString:e.string().optional().describe('This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18')}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string()}),e.object({fileName:e.string().optional(),items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional()}),e.object({ids:e.array(e.string()).optional()}),e.object({queue_id:e.string()}),e.object({agentId:e.array(e.number()).optional(),bucketId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),id:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),numbers:e.array(e.string()).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({count:e.string().optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({domainId:e.string().optional(),force:e.boolean().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({domainId:e.string().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),fields:e.array(e.string()).optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),member_id:e.string()}),e.object({domainId:e.string().optional()}),e.object({items:e.array(e.object({active:e.boolean().optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),destination:e.string().optional(),hangupAt:e.string().optional(),id:e.string().optional(),legAId:e.string().optional(),legBId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),node:e.string().optional(),originateAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),weight:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string(),member_id:e.string()}),e.object({agentId:e.string().optional(),domainId:e.string().optional()}),e.object({attemptId:e.string().optional()}),e.object({queue_id:e.number(),member_id:e.string(),attempt_id:e.string()}),e.object({agentId:e.number().optional(),description:e.string().optional(),display:e.boolean().optional(),excludeCurrentCommunication:e.boolean().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),nextMemberId:e.string().optional(),onlyCurrentCommunication:e.boolean().optional(),status:e.string().optional(),transferQueueId:e.string().optional(),variables:e.record(e.string(),e.string()).optional(),waitBetweenRetries:e.number().optional()}),e.object({status:e.string().optional()}),e.object({message:e.object({file:e.object({id:e.string().optional(),source:e.string().optional(),url:e.string().optional()}).optional(),keyboard:e.object({rows:e.array(e.object({buttons:e.array(e.object({caption:e.string().optional(),code:e.string().optional(),text:e.string().optional(),type:e.string().optional(),url:e.string().optional()})).optional()})).optional()}).optional(),text:e.string().optional()}).optional(),peers:e.array(e.object({id:e.string().optional(),type:e.string().optional(),via:e.string().optional()}).describe("InputPeer identity.")).optional(),timeout:e.string().optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({failure:e.array(e.object({error:e.object({code:e.number().optional(),details:e.array(e.object({"@type":e.string().optional()})).optional(),message:e.string().optional()}).optional(),peerId:e.string().optional()})).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({page:e.number().optional().describe("Page number to return. **default**: 1."),size:e.number().optional().describe("Page records limit. **default**: 16."),q:e.string().optional().describe("Search term: peer{id,name}"),sort:e.array(e.string()).optional().describe("Sort records by { fields } specification."),fields:e.array(e.string()).optional().describe("Fields [Q]uery to build result dataset record."),id:e.array(e.string()).optional().describe("Set of unique contact **ID**entifier(s)."),type:e.string().optional().describe("The type of contact to filter."),viaId:e.string().optional().describe(`Contact unique **ID**entifier.
|
|
8649
|
+
Take part in Etag generation.`),updatedBy:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("The user who performed last Update."),user:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe("Responsible User."),ver:e.number().optional().describe("Version of the latest update. Numeric sequence.")}).describe("Manager. The Contact's responsible User.")).optional().describe("Manager dataset page."),next:e.boolean().optional(),page:e.number().optional().describe("The page number of the partial result.")}).describe("Manager dataset."),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({basePath:e.string().optional().describe("Base path for the generated meeting URL."),domainId:e.string().optional().describe("Identifier of the domain owning the meeting."),expireSec:e.string().optional().describe("Expiration time in seconds from the moment of creation."),title:e.string().optional().describe("Title or topic of the meeting."),variables:e.record(e.string(),e.string()).optional().describe("Custom metadata or configuration variables.")}).describe("Request to create a new meeting."),e.object({id:e.string().optional().describe("Unique identifier of the created meeting."),url:e.string().optional().describe("Full URL to access the meeting.")}).describe("Response containing the created meeting details."),e.object({id:e.string().describe("Unique identifier of the meeting.")}),e.object({allowSatisfaction:e.boolean().optional().describe("Flag indicating if satisfaction feedback is allowed."),createdAt:e.string().optional().describe("Timestamp when the meeting was created (Unix)."),expiresAt:e.string().optional().describe("Timestamp when the meeting link expires (Unix)."),satisfaction:e.string().optional().describe("Current satisfaction rating."),title:e.string().optional().describe("Title or topic of the meeting.")}).describe("Public view of the meeting (limited fields)."),e.object({id:e.string().describe("Unique identifier of the meeting.")}),e.object({satisfaction:e.string().optional().describe("The satisfaction value or score.")}).describe("Request to submit meeting satisfaction feedback."),e.looseObject({}).describe("Empty response for satisfaction submission."),e.object({attempt_id:e.string()}),e.object({agentId:e.number().optional(),description:e.string().optional(),display:e.boolean().optional(),excludeCurrentCommunication:e.boolean().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),onlyCurrentCommunication:e.boolean().optional(),status:e.string().optional(),variables:e.record(e.string(),e.string()).optional(),waitBetweenRetries:e.number().optional()}),e.object({status:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.string()).optional(),queueId:e.array(e.number()).optional(),bucketId:e.array(e.number()).optional(),destination:e.string().optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),stopCause:e.array(e.string()).optional(),priorityFrom:e.string().optional(),priorityTo:e.string().optional(),name:e.string().optional(),attemptsFrom:e.string().optional(),attemptsTo:e.string().optional(),agentId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),fields:e.array(e.string()).optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),joinedAtFrom:e.string().optional(),joinedAtTo:e.string().optional(),id:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),bucketId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),result:e.array(e.string()).optional(),leavingAtFrom:e.string().optional(),leavingAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),offeredAgentId:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentCallId:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),channel:e.string().optional(),destination:e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),display:e.string().optional(),id:e.string().optional(),joinedAt:e.string().optional(),lastStateChange:e.string().optional(),leavingAt:e.string().optional(),list:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberCallId:e.string().optional(),offeringAt:e.string().optional(),position:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),state:e.string().optional(),timeout:e.string().optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({attemptType:e.array(e.string()).optional(),idleForMinutes:e.string().optional(),result:e.string().optional()}),e.looseObject({}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),joinedAtFrom:e.string().optional(),joinedAtTo:e.string().optional(),id:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),bucketId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),result:e.array(e.string()).optional(),leavingAtFrom:e.string().optional(),leavingAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),offeredAgentId:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentCallId:e.string().optional(),amdResult:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),channel:e.string().optional(),destination:e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),display:e.string().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),list:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberCallId:e.string().optional(),offeredAgents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),offeringAt:e.string().optional(),position:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({attempt_id:e.string()}),e.object({renewal:e.number().optional()}),e.looseObject({}),e.object({agentId:e.array(e.number()).optional(),attempts:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),bucketId:e.array(e.number()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),destination:e.string().optional(),id:e.array(e.string()).optional(),name:e.string().optional(),numbers:e.array(e.string()).optional(),offeringAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),size:e.number().optional(),sort:e.string().optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional(),withoutMembers:e.boolean().optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string()}),e.object({agentId:e.array(e.number()).optional(),attempts:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),bucketId:e.array(e.number()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),destination:e.string().optional(),id:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),name:e.string().optional(),numbers:e.array(e.string()).optional(),offeringAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),q:e.string().optional(),size:e.number().optional(),sort:e.string().optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional(),withoutMembers:e.boolean().optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.number()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.string()).optional(),bucketId:e.array(e.number()).optional(),destination:e.string().optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),offeringAtFrom:e.string().optional(),offeringAtTo:e.string().optional(),stopCause:e.array(e.string()).optional(),priorityFrom:e.string().optional(),priorityTo:e.string().optional(),name:e.string().optional(),attemptsFrom:e.string().optional(),attemptsTo:e.string().optional(),agentId:e.array(e.number()).optional(),variablesString:e.string().optional().describe('This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18')}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string()}),e.object({fileName:e.string().optional(),items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()})).optional()}),e.object({ids:e.array(e.string()).optional()}),e.object({queue_id:e.string()}),e.object({agentId:e.array(e.number()).optional(),bucketId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),id:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),numbers:e.array(e.string()).optional(),priority:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),stopCause:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({count:e.string().optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({domainId:e.string().optional(),force:e.boolean().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({domainId:e.string().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),fields:e.array(e.string()).optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),id:e.string()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),domainId:e.string().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),attempts:e.number().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),communications:e.array(e.object({attempts:e.number().optional(),description:e.string().optional(),destination:e.string().optional(),display:e.string().optional(),dtmf:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),lastCause:e.string().optional(),priority:e.number().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.number().optional(),stopAt:e.string().optional(),type:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),createdAt:e.string().optional(),expireAt:e.string().optional(),id:e.string().optional(),lastActivityAt:e.string().optional(),minOfferingAt:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reserved:e.boolean().optional(),skill:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),stopCause:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({queue_id:e.string(),member_id:e.string()}),e.object({domainId:e.string().optional()}),e.object({items:e.array(e.object({active:e.boolean().optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),attempts:e.number().optional(),bridgedAt:e.string().optional(),bucket:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),destination:e.string().optional(),hangupAt:e.string().optional(),id:e.string().optional(),legAId:e.string().optional(),legBId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),node:e.string().optional(),originateAt:e.string().optional(),resource:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),result:e.string().optional(),weight:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({queue_id:e.string(),member_id:e.string()}),e.object({agentId:e.string().optional(),domainId:e.string().optional()}),e.object({attemptId:e.string().optional()}),e.object({queue_id:e.number(),member_id:e.string(),attempt_id:e.string()}),e.object({agentId:e.number().optional(),description:e.string().optional(),display:e.boolean().optional(),excludeCurrentCommunication:e.boolean().optional(),expireAt:e.string().optional(),minOfferingAt:e.string().optional(),nextMemberId:e.string().optional(),onlyCurrentCommunication:e.boolean().optional(),status:e.string().optional(),transferQueueId:e.string().optional(),variables:e.record(e.string(),e.string()).optional(),waitBetweenRetries:e.number().optional()}),e.object({status:e.string().optional()}),e.object({message:e.object({file:e.object({id:e.string().optional(),source:e.string().optional(),url:e.string().optional()}).optional(),keyboard:e.object({rows:e.array(e.object({buttons:e.array(e.object({caption:e.string().optional(),code:e.string().optional(),text:e.string().optional(),type:e.string().optional(),url:e.string().optional()})).optional()})).optional()}).optional(),text:e.string().optional()}).optional(),peers:e.array(e.object({id:e.string().optional(),type:e.string().optional(),via:e.string().optional()}).describe("InputPeer identity.")).optional(),timeout:e.string().optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({failure:e.array(e.object({error:e.object({code:e.number().optional(),details:e.array(e.object({"@type":e.string().optional()})).optional(),message:e.string().optional()}).optional(),peerId:e.string().optional()})).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({page:e.number().optional().describe("Page number to return. **default**: 1."),size:e.number().optional().describe("Page records limit. **default**: 16."),q:e.string().optional().describe("Search term: peer{id,name}"),sort:e.array(e.string()).optional().describe("Sort records by { fields } specification."),fields:e.array(e.string()).optional().describe("Fields [Q]uery to build result dataset record."),id:e.array(e.string()).optional().describe("Set of unique contact **ID**entifier(s)."),type:e.string().optional().describe("The type of contact to filter."),viaId:e.string().optional().describe(`Contact unique **ID**entifier.
|
|
8650
8650
|
Contact **type**-specific string.`),viaType:e.string().optional().describe("Contact **type** provider."),viaName:e.string().optional().describe("Contact display **name**.")}),e.object({next:e.boolean().optional(),page:e.number().optional().describe("Page number of results."),peers:e.array(e.object({id:e.string().optional().describe(`Customer unique **ID**entifier.
|
|
8651
8651
|
Account **type**-specific string.`),name:e.string().optional().describe("Customer account **name**."),type:e.string().optional().describe("Customer account **type**."),via:e.array(e.object({id:e.string().optional().describe(`Contact unique **ID**entifier.
|
|
8652
8652
|
Contact **type**-specific string.`),name:e.string().optional().describe("Contact display **name**."),type:e.string().optional().describe("Contact **type** provider.")}).describe("Peer contact.")).optional().describe("[VIA] Text gateway associations.")}).describe("Customer is external chat contact.")).optional().describe("Dataset page of Customer(s)."),vias:e.array(e.object({id:e.string().optional().describe(`Contact unique **ID**entifier.
|
|
@@ -9008,7 +9008,7 @@ Version of the latest update. Numeric sequence.`)}),e.object({status_id:e.string
|
|
|
9008
9008
|
- Exact match for full names`)}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({status_id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({status_id:e.string(),id:e.string()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({status_id:e.string().describe("ID of the status to be located"),id:e.string().describe("ID of the status condition to be located")}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({status:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({status_id:e.string(),id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({description:e.string().optional(),final:e.boolean().optional(),initial:e.boolean().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({status_id:e.string(),id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({description:e.string().optional(),final:e.boolean().optional(),initial:e.boolean().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),final:e.boolean().optional(),id:e.string().optional(),initial:e.boolean().optional(),name:e.string().optional(),statusId:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),size:e.number().optional().describe("Size count of records on result page. limit = (size++)"),fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result."),sort:e.string().optional().describe("Sort the result according to fields."),id:e.array(e.string()).optional().describe("Filter by unique IDs."),q:e.string().optional().describe(`Search query string for filtering by name. Supports:
|
|
9009
9009
|
- Wildcards (*) for substring matching
|
|
9010
9010
|
- Placeholder (?) for single character substitution
|
|
9011
|
-
- Exact match for full names`)}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({status:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),name:e.array(e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"])).optional().describe("Filter by setting names")}),e.object({items:e.array(e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")})).optional(),next:e.boolean().optional()}),e.object({name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({name:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.number()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.object({fields:e.array(e.string()).optional()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.looseObject({}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password"]).default("empty_system_settings_name")}),e.object({page:e.number().optional(),size:e.number().optional()}),e.object({data:e.array(e.object({name:e.string().optional().describe("The name of the tag.")})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({team_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional(),event:e.array(e.enum(["teamHookEventUndefined","agent_status"])).optional()}),e.object({items:e.array(e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({team_id:e.string()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),fields:e.array(e.string()).optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({teamId:e.string().optional(),page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),enabled:e.boolean().optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({trigger_id:e.number()}),e.object({variables:e.record(e.string(),e.string()).optional()}),e.object({jobId:e.string().optional()}),e.object({team_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),enabled:e.boolean().optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({team_id:e.string()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),fields:e.array(e.string()).optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({contact_id:e.string()}),e.object({page:e.string().optional(),size:e.string().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),type:e.array(e.enum(["chat","call","email"])).optional()}),e.object({days:e.array(e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dayTimestamp:e.string().optional(),emailsCount:e.string().optional(),items:e.array(e.object({call:e.object({closedAt:e.string().optional(),duration:e.string().optional(),files:e.array(e.object({id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),stopAt:e.string().optional()})).optional(),flowScheme:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe(`Lookup reference information.
|
|
9011
|
+
- Exact match for full names`)}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({status:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("Fields to be retrieved as a result.")}),e.object({description:e.string().optional(),name:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),name:e.array(e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"])).optional().describe("Filter by setting names")}),e.object({items:e.array(e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")})).optional(),next:e.boolean().optional()}),e.object({name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({name:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.number()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.object({fields:e.array(e.string()).optional()}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({id:e.number()}),e.looseObject({}),e.object({id:e.number().optional(),name:e.enum(["empty_system_settings_name","enable_omnichannel","member_chunk_size","amd_cancel_not_human","scheme_version_limit","enable_2fa","export_settings","search_number_length","chat_ai_connection","password_reg_exp","password_validation_text","autolink_call_to_contact","period_to_playback_records","is_fulltext_search_enabled","wbt_hide_contact","show_full_contact","call_end_sound_notification","call_end_push_notification","chat_end_sound_notification","chat_end_push_notification","task_end_sound_notification","task_end_push_notification","push_notification_timeout","labels_to_limit_contacts","autolink_mail_to_contact","new_message_sound_notification","new_chat_sound_notification","screenshot_interval","password_expiry_days","password_min_length","password_categories","password_contains_login","password_warning_days","default_password","expand_contact_tabs"]).default("empty_system_settings_name")}),e.object({page:e.number().optional(),size:e.number().optional()}),e.object({data:e.array(e.object({name:e.string().optional().describe("The name of the tag.")})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({team_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional(),event:e.array(e.enum(["teamHookEventUndefined","agent_status"])).optional()}),e.object({items:e.array(e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({team_id:e.string()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),fields:e.array(e.string()).optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({enabled:e.boolean().optional(),event:e.enum(["teamHookEventUndefined","agent_status"]).default("teamHookEventUndefined"),id:e.number().optional(),properties:e.array(e.string()).optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({teamId:e.string().optional(),page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),enabled:e.boolean().optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({trigger_id:e.number()}),e.object({variables:e.record(e.string(),e.string()).optional()}),e.object({jobId:e.string().optional()}),e.object({team_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),enabled:e.boolean().optional(),id:e.array(e.number()).optional(),schemaId:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({team_id:e.string()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),fields:e.array(e.string()).optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({team_id:e.string(),id:e.number()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({description:e.string().optional(),enabled:e.boolean().optional(),id:e.number().optional(),name:e.string().optional(),schema:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({contact_id:e.string()}),e.object({page:e.string().optional(),size:e.string().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),type:e.array(e.enum(["chat","call","email"])).optional()}),e.object({days:e.array(e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dayTimestamp:e.string().optional(),emailsCount:e.string().optional(),items:e.array(e.object({call:e.object({closedAt:e.string().optional(),duration:e.string().optional(),files:e.array(e.object({id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),stopAt:e.string().optional()})).optional(),flowScheme:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe(`Lookup reference information.
|
|
9012
9012
|
Simplified search filter to uniquely identify related object.`),gateway:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe(`Lookup reference information.
|
|
9013
9013
|
Simplified search filter to uniquely identify related object.`),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),isMissed:e.boolean().optional(),participants:e.array(e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).describe(`Lookup reference information.
|
|
9014
9014
|
Simplified search filter to uniquely identify related object.`)).optional(),queue:e.object({id:e.string().optional().describe("Reference Object unique ID."),name:e.string().optional().describe("Reference Object display name."),type:e.string().optional().describe("Reference Object well-known type.")}).optional().describe(`Lookup reference information.
|
|
@@ -9176,7 +9176,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
9176
9176
|
For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
9177
9177
|
string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).optional().describe("User profile.")}),e.object({confirmPassword:e.string().optional(),domain:e.string().optional(),id:e.string().optional(),oldPassword:e.string().optional(),userPassword:e.string().optional(),username:e.string().optional()}),e.looseObject({}),e.object({password:e.string().optional(),username:e.string().optional(),domain:e.string().optional()}),e.object({settings:e.record(e.string(),e.string()).optional()}),e.object({any:e.boolean().optional().describe("filter: include 'deleted' ALSO ! (inactive)"),deleted:e.boolean().optional(),extension:e.string().optional(),fields:e.array(e.string()).optional().describe("select: output (fields,...)"),id:e.array(e.string()).optional().describe("filter: .id = any({id}...)"),name:e.string().optional(),notId:e.array(e.string()).optional(),page:e.number().optional(),presence:e.object({note:e.string().optional(),status:e.string().optional()}).optional(),q:e.string().optional().describe("filter: (.name|.username|.extension|.status) ILIKE '{q}'"),size:e.number().optional(),sort:e.array(e.string()).optional(),status:e.string().optional(),username:e.string().optional()}),e.object({items:e.array(e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
|
|
9178
9178
|
For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
9179
|
-
string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional(),next:e.boolean().optional(),page:e.number().optional(),size:e.number().optional()}),e.object({warnings:e.array(e.object({detail:e.string().optional(),id:e.
|
|
9179
|
+
string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional(),next:e.boolean().optional(),page:e.number().optional(),size:e.number().optional()}),e.object({warnings:e.array(e.object({detail:e.string().optional(),id:e.enum(["user_warning_id_unspecified","password_expires_soon","license_expires_soon","license_expired"]).default("user_warning_id_unspecified"),warningData:e.object({licenseExpiry:e.object({daysRemaining:e.string().optional(),expiresAt:e.string().optional(),licenseName:e.string().optional()}).optional(),passwordExpiry:e.object({daysRemaining:e.string().optional(),expiresAt:e.string().optional()}).optional()}).optional()})).optional()}),e.object({id:e.string().describe("ONE /users/{id}")}),e.object({selection:e.array(e.string()).optional().describe("MANY /users .ids=[id,...]"),permanent:e.boolean().optional()}),e.object({deleted:e.array(e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
|
|
9180
9180
|
For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
9181
9181
|
string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("partial output")}),e.object({user:e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
|
|
9182
9182
|
For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
@@ -9320,11 +9320,25 @@ The sub value is a case sensitive string.`),updatedAt:e.string().optional(),user
|
|
|
9320
9320
|
For example, Europe/Kyiv or America/Los_Angeles.`)}).optional(),current:e.boolean().optional(),date:e.string().optional(),device:e.object({app:e.object({bot:e.boolean().optional(),desktop:e.boolean().optional(),device:e.string().optional(),mobile:e.boolean().optional(),name:e.string().optional(),os:e.string().optional(),osVersion:e.string().optional(),string:e.string().optional(),tablet:e.boolean().optional(),version:e.string().optional()}).optional(),ip:e.string().optional(),push:e.string().optional()}).optional(),name:e.string().optional().describe("Session (device) display name."),token:e.object({accessToken:e.string().optional().describe("REQUIRED. The access token issued by the authorization server."),expiresIn:e.number().optional().describe("RECOMMENDED. The lifetime in seconds of the access token."),refreshToken:e.string().optional().describe(`OPTIONAL. The refresh token, which can be used to obtain
|
|
9321
9321
|
new access tokens using the same authorization grant.`),scope:e.array(e.string()).optional().describe(`OPTIONAL, if identical to the scope requested by the client;
|
|
9322
9322
|
otherwise, REQUIRED. The scope of the access token.`),state:e.string().optional().describe(`REQUIRED if the "state" parameter was present in the client
|
|
9323
|
-
authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional()}),e.object({metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({fieldMask:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional().describe("Page number to retrieve (starts from 1)."),size:e.number().optional().describe("Number of items per page."),sort:e.string().optional().describe('Sorting criteria (e.g., "name" or "-created_at").'),fields:e.array(e.string()).optional().describe("List of specific fields to include in the response. If empty, all fields are returned."),q:e.string().optional().describe("Full-text search query (matches against name or username)."),type:e.array(e.string()).optional().describe('Filter by channel types (e.g., ["telegram", "viber"]).'),subjects:e.array(e.string()).optional().describe("Filter by internal system subjects/user IDs."),onlyBots:e.boolean().optional()}),e.object({items:e.array(e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).describe("Contact represents an external messaging identity.")).optional().describe("List of contacts found."),next:e.boolean().optional().describe("Indicates if there are more pages available."),page:e.number().optional().describe("Current page number."),size:e.number().optional().describe("Number of items returned in this batch.")}).describe("SearchList represents a paginated collection of Contact entities."),e.object({
|
|
9323
|
+
authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional()}),e.object({metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({fieldMask:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional().describe("Page number to retrieve (starts from 1)."),size:e.number().optional().describe("Number of items per page."),sort:e.string().optional().describe('Sorting criteria (e.g., "name" or "-created_at").'),fields:e.array(e.string()).optional().describe("List of specific fields to include in the response. If empty, all fields are returned."),q:e.string().optional().describe("Full-text search query (matches against name or username)."),type:e.array(e.string()).optional().describe('Filter by channel types (e.g., ["telegram", "viber"]).'),subjects:e.array(e.string()).optional().describe("Filter by internal system subjects/user IDs."),onlyBots:e.boolean().optional()}),e.object({items:e.array(e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).describe("Contact represents an external messaging identity.")).optional().describe("List of contacts found."),next:e.boolean().optional().describe("Indicates if there are more pages available."),page:e.number().optional().describe("Current page number."),size:e.number().optional().describe("Number of items returned in this batch.")}).describe("SearchList represents a paginated collection of Contact entities."),e.object({email:e.string().optional().describe("Email must be valid if provided."),metadata:e.looseObject({}).optional().describe("Arbitrary metadata."),name:e.string().optional().describe("Full name of the contact."),phoneNumber:e.string().optional().describe("Phone number in E.164 format recommended."),sendId:e.string().optional().describe("Optional send ID for idempotency."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe("SendContactRequest sends contact information."),e.object({id:e.string().optional().describe("Unique message identifier."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe(`SendMessageResponse represents the result of a send operation.
|
|
9324
|
+
Contains the generated message ID and list of recipients.`),e.object({document:e.object({body:e.string().optional(),documents:e.array(e.object({fileName:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),sizeBytes:e.string().optional(),url:e.string().optional()}).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional()}).optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9324
9325
|
It can be a user, chat, or channel.`)}).describe("Represents a request to send a message with document."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9325
|
-
It can be a user, chat, or channel.`)}).describe("Represents a response to send message with document."),e.object({image:e.object({body:e.string().optional(),images:e.array(e.object({id:e.string().optional(),link:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional()}).describe("Represents `Image` entity with
|
|
9326
|
+
It can be a user, chat, or channel.`)}).describe("Represents a response to send message with document."),e.object({image:e.object({body:e.string().optional(),images:e.array(e.object({id:e.string().optional(),link:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional()}).describe("Represents `Image` entity with\nnecessary fields.")).optional()}).optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9326
9327
|
It can be a user, chat, or channel.`)}).describe("Represents a request to send an message with image."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9327
|
-
It can be a user, chat, or channel.`)}).describe("Represents a response to send message with image."),e.object({body:e.string().optional()
|
|
9328
|
+
It can be a user, chat, or channel.`)}).describe("Represents a response to send message with image."),e.object({body:e.string().optional().describe("Body text for the message."),interactive:e.object({documents:e.object({documents:e.array(e.object({fileName:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),sizeBytes:e.string().optional(),url:e.string().optional()}).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional().describe(`Documents to be attached to the header of interactive message.
|
|
9329
|
+
Max allowed documents: 10.`)}).optional().describe("Document attachments header."),images:e.object({images:e.array(e.object({id:e.string().optional(),link:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional()}).describe("Represents `Image` entity with\nnecessary fields.")).optional().describe(`Images to be attached to the header of interactive message.
|
|
9330
|
+
Max allowed images: 10.`)}).optional().describe("Images attachment header."),listReply:e.object({mainButtonTitle:e.string().optional().describe("Title of the main button, that on-click show up list."),sections:e.array(e.object({buttons:e.array(e.object({callback:e.object({data:e.string().optional().describe("Opaque data payload passed back to the server upon interaction.")}).optional().describe("Triggers a backend event (callback) with associated metadata."),id:e.string().optional().describe(`Unique idempotent identifier for the button.
|
|
9331
|
+
Used by the frontend to track state and prevent duplicate interactions.`),label:e.string().optional().describe("The human-readable label displayed on the button."),metadata:e.looseObject({}).optional().describe(`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
9332
|
+
Usage: Allows for future-proofing without breaking schema changes.`),request:e.object({action:e.string().optional().describe("The specific action to be performed by the client application.")}).optional().describe("Requests sensitive information from the client (e.g., location or contact)."),url:e.object({url:e.string().optional().describe("Must be a valid absolute URI (e.g., https://example.com).")}).optional().describe("Directs the user to an external web resource.")}).describe(`Defines a single interactive element within the keyboard.
|
|
9333
|
+
Each button must have a unique identifier and a specific action type.`)).optional().describe(`Collection of buttons within this section.
|
|
9334
|
+
Minimum of 1 button is required to prevent empty sections.`),section:e.string().optional().describe("The header text for this section. Must be concise and descriptive.")}).describe(`Represents a row of buttons grouped under a specific logical section header.
|
|
9335
|
+
Useful for creating categorized menus or structured interactive interfaces.`)).optional().describe("List with sections with buttons.")}).optional().describe("List reply with main list button text and sections with buttons."),markup:e.object({rows:e.array(e.object({buttons:e.array(e.object({callback:e.object({data:e.string().optional().describe("Opaque data payload passed back to the server upon interaction.")}).optional().describe("Triggers a backend event (callback) with associated metadata."),id:e.string().optional().describe(`Unique idempotent identifier for the button.
|
|
9336
|
+
Used by the frontend to track state and prevent duplicate interactions.`),label:e.string().optional().describe("The human-readable label displayed on the button."),metadata:e.looseObject({}).optional().describe(`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
9337
|
+
Usage: Allows for future-proofing without breaking schema changes.`),request:e.object({action:e.string().optional().describe("The specific action to be performed by the client application.")}).optional().describe("Requests sensitive information from the client (e.g., location or contact)."),url:e.object({url:e.string().optional().describe("Must be a valid absolute URI (e.g., https://example.com).")}).optional().describe("Directs the user to an external web resource.")}).describe(`Defines a single interactive element within the keyboard.
|
|
9338
|
+
Each button must have a unique identifier and a specific action type.`)).optional().describe(`Horizontal collection of buttons.
|
|
9339
|
+
Capped at 10 to ensure UI responsiveness and prevent overflow.`)}).describe("A standard horizontal row of interactive buttons without a section header.")).optional().describe("Rows of buttons matrix.")}).optional().describe("Markup matrix with buttons."),singleUse:e.boolean().optional().describe("Force to block user keyboard.")}).optional().describe("Interactive payload."),metadata:e.looseObject({}).optional().describe("Arbitrary metadata."),sendId:e.string().optional().describe("Optional idempotency key for deduplication."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe("SendInteractiveMessageRequest sends a structured interactive message."),e.object({id:e.string().optional().describe("Unique message identifier."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe(`SendMessageResponse represents the result of a send operation.
|
|
9340
|
+
Contains the generated message ID and list of recipients.`),e.object({in_reply_to:e.string().describe("Original message ID.")}),e.object({buttonCode:e.string().optional().describe("Button identifier."),callbackData:e.string().optional().describe("Optional callback payload."),reactedBy:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("User who clicked the button.")}).describe("Client sends callback event when user clicks a button."),e.object({buttonCode:e.string().optional().describe("Button identifier."),callbackData:e.string().optional().describe("Optional callback payload."),inReplyTo:e.string().optional().describe("Original message ID."),reactedAt:e.string().optional().describe("Unix time in milliseconds when callback button was clicked."),reactedBy:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("User who clicked the button.")}).describe("Response sent back to the client after a button click."),e.object({address:e.string().optional().describe("Optional human-readable address."),latitude:e.number().optional().describe("Latitude in degrees. Must be between -90 and +90."),longitude:e.number().optional().describe("Longitude in degrees. Must be between -180 and +180."),metadata:e.looseObject({}).optional().describe("Arbitrary metadata."),name:e.string().optional().describe('Optional location name (e.g., "Central Park").'),sendId:e.string().optional().describe("Optional send ID for idempotency."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe("SendLocationRequest sends a geographic location message."),e.object({id:e.string().optional().describe("Unique message identifier."),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe("Recipient of the message.")}).describe(`SendMessageResponse represents the result of a send operation.
|
|
9341
|
+
Contains the generated message ID and list of recipients.`),e.object({body:e.string().optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9328
9342
|
It can be a user, chat, or channel.`)}).describe("Represents a request to send a text message."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
|
|
9329
9343
|
It can be a user, chat, or channel.`)}).describe("Represents a response to send a text message."),e.object({id:e.string()}),e.object({threadId:e.string().optional()}),e.looseObject({}),e.object({thread_id:e.string().describe("Filter by thread IDs.")}),e.object({fields:e.array(e.string()).optional().describe(`List of message fields to be returned.
|
|
9330
9344
|
Used to reduce payload size.`),ids:e.array(e.string()).optional().describe("Filter by specific message IDs."),senderIds:e.array(e.string()).optional().describe("Filter messages by sender user IDs."),types:e.array(e.number()).optional().describe("Filter messages by message types."),cursorId:e.string().optional().describe(`Cursor identifier.
|
|
@@ -9350,25 +9364,33 @@ Must not be used in valid requests.
|
|
|
9350
9364
|
Typically applied to subject.`),size:e.number().optional().describe(`Maximum number of threads to return per page.
|
|
9351
9365
|
Must be greater than 0 and less than or equal to 100.`),sort:e.string().optional().describe(`Sorting field.
|
|
9352
9366
|
Optional "+" or "-" prefix indicates ascending or descending order.
|
|
9353
|
-
Example: "-created_at", "subject"`),page:e.number().optional().describe("Page number (1-based).")}),e.object({items:e.array(e.object({
|
|
9354
|
-
present in the thread history response.`)).optional().describe("List of users aggregated information with admin privileges."),createdAt:e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),description:e.string().optional().describe("Optional thread description."),id:e.string().optional().describe("Unique thread identifier."),kind:e.enum(["UNKNOWN","DIRECT","GROUP","CHANNEL"]).default("UNKNOWN").describe("Type of the thread."),lastMsg:e.object({body:e.string().optional().describe("Message body content."),createdAt:e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),documents:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),id:e.string().optional().describe("Document identifier."),messageId:e.string().optional().describe("Identifier of the message this document belongs to."),mime:e.string().optional().describe("MIME type of the document."),name:e.string().optional().describe("Original file name."),size:e.string().optional().describe("File size in bytes."),url:e.string().optional().describe("Public signed URL for downloading the document.")}).describe(`Document represents a file attachment
|
|
9367
|
+
Example: "-created_at", "subject"`),page:e.number().optional().describe("Page number (1-based).")}),e.object({items:e.array(e.object({createdAt:e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),description:e.string().optional().describe("Optional thread description."),id:e.string().optional().describe("Unique thread identifier."),kind:e.enum(["UNKNOWN","DIRECT","GROUP","CHANNEL"]).default("UNKNOWN").describe("Type of the thread."),lastMsg:e.object({body:e.string().optional().describe("Message body content."),createdAt:e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),documents:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),id:e.string().optional().describe("Document identifier."),messageId:e.string().optional().describe("Identifier of the message this document belongs to."),mime:e.string().optional().describe("MIME type of the document."),name:e.string().optional().describe("Original file name."),size:e.string().optional().describe("File size in bytes."),url:e.string().optional().describe("Public signed URL for downloading the document.")}).describe(`Document represents a file attachment
|
|
9355
9368
|
associated with a message.`)).optional().describe("List of document attachments."),id:e.string().optional().describe("Unique message identifier."),images:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),height:e.number().optional().describe("Image height in pixels."),id:e.string().optional().describe("Image identifier."),messageId:e.string().optional().describe("Identifier of the message this message belongs to."),mime:e.string().optional().describe("MIME type of the image."),url:e.string().optional().describe("Public signed URL for accessing the image."),width:e.number().optional().describe("Image width in pixels.")}).describe(`Image represents an image attachment
|
|
9356
9369
|
associated with a message.`)).optional().describe("List of image attachments."),metadata:e.looseObject({}).optional().describe(`Arbitrary message metadata.
|
|
9357
|
-
Can contain structured data depending on message type.`),sender:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Sender username."),sub:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type.")}).optional().describe("Sender user aggregated information."),threadId:e.string().optional().describe("Identifier of the thread the message belongs to."),type:e.number().optional().describe("Message type identifier."),updatedAt:e.string().optional().describe("Message last update timestamp (Unix time, milliseconds).")}).optional().describe("Last message of the linked thread."),
|
|
9358
|
-
present in the thread history response.`)).optional().describe("List of member users aggregated information."),members:e.array(e.object({directSettings:e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),domainId:e.number().optional().describe("Domain identifier."),id:e.string().optional().describe("Settings identifier."),title:e.string().optional().describe(`Custom title for the direct thread.
|
|
9370
|
+
Can contain structured data depending on message type.`),sender:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Sender username."),sub:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type.")}).optional().describe("Sender user aggregated information."),threadId:e.string().optional().describe("Identifier of the thread the message belongs to."),type:e.number().optional().describe("Message type identifier."),updatedAt:e.string().optional().describe("Message last update timestamp (Unix time, milliseconds).")}).optional().describe("Last message of the linked thread."),members:e.array(e.object({directSettings:e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),domainId:e.number().optional().describe("Domain identifier."),id:e.string().optional().describe("Settings identifier."),title:e.string().optional().describe(`Custom title for the direct thread.
|
|
9359
9371
|
Usually represents the display name of the conversation.`),updatedAt:e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")}).optional().describe(`Direct thread specific settings.
|
|
9360
9372
|
Present only for DIRECT threads.`),member:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Participant name."),sub:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type.")}).optional().describe("User aggregated information.")}).describe(`ThreadMember represents a thread participant
|
|
9361
|
-
with optional type-specific settings.`)).optional().describe("Detailed member information."),
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
It can be a user, chat, or channel.`)}).describe("Represents a response to send a text message."),e.object({id_1:e.string()}),e.object({userId:e.string().optional(),threadId:e.string().optional(),domainId:e.number().optional()}),e.looseObject({}),e.object({thread_id_1:e.string()}),e.object({fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),senderIds:e.array(e.string()).optional(),types:e.array(e.number()).optional(),domainId:e.number().optional(),cursorId:e.string().optional(),cursorBefore:e.boolean().optional(),size:e.number().optional()}),e.object({from:e.array(e.string()).optional(),items:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.looseObject({}).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),nextCursor:e.object({id:e.string().optional()}).optional(),prevCursor:e.object({id:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...TD("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...TD("/users")};const wje=Ct(),AD=async({path:o,display:n,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=hi(r,[K2(oD()),ID("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),jD(l),s9(),CD(o)]);try{const c=await wje.get(s),{data:d,items:p,next:u}=hi(c.data,[K2(nD())]);return{items:hi(d||p,[])??[],next:u}}catch(c){throw hi(c,[c9])}},kje={getList:AD,getLookup:o=>AD({...o,fields:o.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const jje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const n=a.useModel(o,"modelValue"),i=o,{t:r}=ti(),l=a.computed(()=>r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required||i.field.required),c=a.computed(()=>n.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=y=>{n.value=y},f=({path:y,display:k,primary:w})=>v=>kje.getSysTypeRecordsLookup({...v,path:y,display:k,primary:w}),h=y=>{if(Object.values(y).length===0)return g(null);g({id:y.id,name:y.name})},m=y=>{g(y.map(k=>({id:k.id,name:k.name})))};return(y,k)=>{const w=a.resolveComponent("wt-input-text"),v=a.resolveComponent("wt-input-number");return o.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(w,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(v,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Boolean?a.renderSlot(y.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(eC),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):o.field.kind===a.unref(ki).Select?a.renderSlot(y.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(sf),a.mergeProps(d.value,{value:c.value,"search-method":f(o.field.lookup),"track-by":"id",clearable:"",onInput:h}),null,16,["value","search-method"])]):o.field.kind===a.unref(ki).Multiselect?a.renderSlot(y.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(sf),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:m}),null,16,["value"])]):o.field.kind===a.unref(ki).Calendar?a.renderSlot(y.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(LC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),xje={class:"wt-screen-recordings-action"},Ije={class:"wt-screen-recordings-action__option"},Sje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-screen-recordings-action",props:{files:{}},emits:["set-video"],setup(o,{emit:n}){const i=o,r=n,l=a.computed(()=>i?.files?.[ED.FileTypeScreensharing]?.map(({name:c,id:d,mimeType:p,type:u})=>({text:c,id:d,mimeType:p,type:u}))),s=({option:c})=>{c.id&&c.type===ED.FileTypeScreensharing&&r("set-video",c)};return(c,d)=>{const p=a.resolveComponent("wt-icon-btn"),u=a.resolveComponent("wt-icon"),g=a.resolveComponent("wt-context-menu");return a.openBlock(),a.createElementBlock("div",xje,[a.createVNode(g,{options:l.value,"max-width":"400px",onClick:s},{activator:a.withCtx(({toggle:f})=>[l.value?.length?(a.openBlock(),a.createBlock(p,{key:0,icon:"preview-tag-video",onClick:f},null,8,["onClick"])):a.createCommentVNode("",!0)]),option:a.withCtx(({text:f})=>[a.createElementVNode("div",Ije,[a.createVNode(u,{icon:"preview-tag-video"}),a.createTextVNode(" "+a.toDisplayString(f),1)])]),_:1},8,["options"]),a.createElementVNode("p",null,a.toDisplayString(l.value?.length||a.unref(L0)),1)])}}}),[["__scopeId","data-v-a1fa5099"]])},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(n){super(n.reason),this.code=n.code,this.line=n.line}}const OD=/\r?\n|\r/gm;class Tje{writable;readable;constructor(n){const i=new Eje(n);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class Eje{a="";b;onLine;onClose;constructor(n){this.b=new TextDecoder(n)}transform(n){this.a+=this.b.decode(n,{stream:!0});const i=this.a.split(OD);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function Aje(o,n){const i=new ReadableStream({start(r){const l=o.split(OD);for(const s of l)r.enqueue(s);r.close()}});return d9(i,n)}async function d9(o,n){const i=n?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>xIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>SIe)).default;break;default:r=(await Promise.resolve().then(function(){return Wje})).default}else r=i;let l;const s=o.getReader(),c=r(),d=!!n?.strict||!!n?.errors;await c.init({strict:!1,...n,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function Oje(o,n){const i=await o;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return DD(i.body,{type:l,encoding:s,...n})}async function DD(o,{encoding:n="utf-8",...i}={}){const r=o.pipeThrough(new Tje(n));return d9(r,i)}class LD extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(n,i,r){super(),this.startTime=n,this.endTime=i,this.text=r}addEventListener(n,i,r){super.addEventListener(n,i,r)}removeEventListener(n,i,r){super.removeEventListener(n,i,r)}}const p9=typeof document>"u",Dje=p9?LD:window.VTTCue;class W2 extends Dje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class RD{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const _D=",",Lje="%";function Rje(o){const n=parseInt(o,10);return Number.isNaN(n)?null:n}function zd(o){const n=parseInt(o.replace(Lje,""),10);return!Number.isNaN(n)&&n>=0&&n<=100?n:null}function BD(o){if(!o.includes(_D))return null;const[n,i]=o.split(_D).map(zd);return n!==null&&i!==null?[n,i]:null}function _je(o){const n=parseFloat(o);return Number.isNaN(n)?null:n}const Bje="WEBVTT",PD=",",Pje="%",ml=/[:=]/,$je=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Mje="NOTE",Nje="REGION",Fje=/^REGION:?[\s\t]+/,Zd=/[\s\t]+/,qje="-->",Uje=/[\s\t]*-->[\s\t]+/,Hje=/start|center|end|left|right/,zje=/start|center|end/,Zje=/line-(?:left|right)|center|auto/,Gje=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Gd=(o=>(o[o.None=0]="None",o[o.Header=1]="Header",o[o.Cue=2]="Cue",o[o.Region=3]="Region",o[o.Note=4]="Note",o))(Gd||{});class u9{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(n){this.h=n,n.strict&&(this.e=1),n.errors&&(this.f=(await Promise.resolve().then(()=>pL)).ParseErrorBuilder)}parse(n,i){if(n==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(n,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(n,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&$je.test(n)?this.o(n.split(Zd),i):this.c.text+=(r?`
|
|
9373
|
+
with optional type-specific settings.`)).optional().describe("Detailed member information."),subject:e.string().optional().describe("Thread subject or title."),updatedAt:e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),variables:e.object({threadId:e.string().optional().describe("Unique identifier for the thread."),variables:e.record(e.string(),e.object({setAt:e.string().optional().describe("Timestamp when the variable was set (Unix time, milliseconds)."),setBy:e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).optional().describe("Contact who set the variable."),value:e.looseObject({}).optional().describe(`Arbitrary structured value of the variable.
|
|
9374
|
+
Supports dynamic JSON-like content.`)}).describe(`VariableEntry represents a single variable value
|
|
9375
|
+
along with metadata about who and when it was set.`)).optional().describe(`Key-value map of variables.
|
|
9376
|
+
Key is the variable name, value contains data and metadata.`)}).optional().describe("Optional variables associated with the thread.")}).describe("Thread represents a thread (aka chat or conversation) entity.")).optional().describe("List of threads matching the search criteria."),next:e.boolean().optional().describe("Indicates whether there is a next page available.")}).describe(`SearchThreadResponse contains the list of threads
|
|
9377
|
+
and pagination metadata.`),e.object({thread_id:e.string()}),e.object({memberSub:e.string().optional(),memberIss:e.string().optional(),reason:e.string().optional()}),e.looseObject({}),e.object({thread_id:e.string()}),e.object({memberSub:e.string().optional(),memberIss:e.string().optional(),role:e.enum(["ROLE_UNSPECIFIED","ROLE_MEMBER","ROLE_ADMIN","ROLE_OWNER","ROLE_SUPERVISOR"]).default("ROLE_UNSPECIFIED")}),e.looseObject({}),e.object({thread_id:e.string().describe("Unique identifier for the thread.")}),e.object({threadId:e.string().optional().describe("Unique identifier for the thread."),variables:e.record(e.string(),e.object({setAt:e.string().optional().describe("Timestamp when the variable was set (Unix time, milliseconds)."),setBy:e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).optional().describe("Contact who set the variable."),value:e.looseObject({}).optional().describe(`Arbitrary structured value of the variable.
|
|
9378
|
+
Supports dynamic JSON-like content.`)}).describe(`VariableEntry represents a single variable value
|
|
9379
|
+
along with metadata about who and when it was set.`)).optional().describe(`Key-value map of variables.
|
|
9380
|
+
Key is the variable name, value contains data and metadata.`)}).describe("ThreadVariables contains all variables associated with a thread."),e.object({thread_id:e.string().describe("Unique identifier for the thread.")}),e.object({variables:e.array(e.object({key:e.string().optional().describe("Variable key."),value:e.looseObject({}).optional().describe("Variable value.")}).describe("VariableEntryRequest represents a variable update operation.")).optional().describe(`List of variables to set or update.
|
|
9381
|
+
Existing variables with the same keys will be overwritten.`)}).describe(`SetVariablesRequest defines parameters
|
|
9382
|
+
for setting or updating thread variables.`),e.object({threadId:e.string().optional().describe("Unique identifier for the thread."),variables:e.record(e.string(),e.object({setAt:e.string().optional().describe("Timestamp when the variable was set (Unix time, milliseconds)."),setBy:e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).optional().describe("Contact who set the variable."),value:e.looseObject({}).optional().describe(`Arbitrary structured value of the variable.
|
|
9383
|
+
Supports dynamic JSON-like content.`)}).describe(`VariableEntry represents a single variable value
|
|
9384
|
+
along with metadata about who and when it was set.`)).optional().describe(`Key-value map of variables.
|
|
9385
|
+
Key is the variable name, value contains data and metadata.`)}).describe("ThreadVariables contains all variables associated with a thread."),e.object({thread_id:e.string().describe("Unique identifier for the thread.")}),e.object({keys:e.array(e.string()).optional().describe("List of variable keys to flush.")}).describe(`FlushVariablesRequest defines parameters
|
|
9386
|
+
for flushing thread variables by thread ID.`),e.object({threadId:e.string().optional().describe("Unique identifier for the thread."),variables:e.record(e.string(),e.object({setAt:e.string().optional().describe("Timestamp when the variable was set (Unix time, milliseconds)."),setBy:e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).optional().describe("Contact who set the variable."),value:e.looseObject({}).optional().describe(`Arbitrary structured value of the variable.
|
|
9387
|
+
Supports dynamic JSON-like content.`)}).describe(`VariableEntry represents a single variable value
|
|
9388
|
+
along with metadata about who and when it was set.`)).optional().describe(`Key-value map of variables.
|
|
9389
|
+
Key is the variable name, value contains data and metadata.`)}).describe("ThreadVariables contains all variables associated with a thread."),e.object({size:e.number().optional().describe("Number of results to return per page."),page:e.number().optional().describe("Page number (1-based)."),fields:e.array(e.string()).optional().describe("List of fields to include in the response."),threadIds:e.array(e.string()).optional().describe("List of thread IDs to filter by.")}),e.object({items:e.array(e.object({threadId:e.string().optional().describe("Unique identifier for the thread."),variables:e.record(e.string(),e.object({setAt:e.string().optional().describe("Timestamp when the variable was set (Unix time, milliseconds)."),setBy:e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).optional().describe("Contact who set the variable."),value:e.looseObject({}).optional().describe(`Arbitrary structured value of the variable.
|
|
9390
|
+
Supports dynamic JSON-like content.`)}).describe(`VariableEntry represents a single variable value
|
|
9391
|
+
along with metadata about who and when it was set.`)).optional().describe(`Key-value map of variables.
|
|
9392
|
+
Key is the variable name, value contains data and metadata.`)}).describe("ThreadVariables contains all variables associated with a thread.")).optional().describe("List of thread variables grouped by thread."),next:e.boolean().optional().describe("Indicates if there are more results to fetch.")}).describe(`SearchVariablesResponse contains search results
|
|
9393
|
+
and pagination metadata.`),e.object({thread_id_1:e.string()}),e.object({fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),senderIds:e.array(e.string()).optional(),types:e.array(e.number()).optional(),domainId:e.number().optional(),cursorId:e.string().optional(),cursorBefore:e.boolean().optional(),size:e.number().optional()}),e.object({from:e.array(e.string()).optional(),items:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.looseObject({}).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),nextCursor:e.object({id:e.string().optional()}).optional(),prevCursor:e.object({id:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...TD("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...TD("/users")};const wje=Ct(),AD=async({path:o,display:n,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=hi(r,[K2(oD()),ID("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),jD(l),s9(),CD(o)]);try{const c=await wje.get(s),{data:d,items:p,next:u}=hi(c.data,[K2(nD())]);return{items:hi(d||p,[])??[],next:u}}catch(c){throw hi(c,[c9])}},kje={getList:AD,getLookup:o=>AD({...o,fields:o.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const jje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const n=a.useModel(o,"modelValue"),i=o,{t:r}=ti(),l=a.computed(()=>r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required||i.field.required),c=a.computed(()=>n.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=y=>{n.value=y},f=({path:y,display:k,primary:w})=>v=>kje.getSysTypeRecordsLookup({...v,path:y,display:k,primary:w}),h=y=>{if(Object.values(y).length===0)return g(null);g({id:y.id,name:y.name})},m=y=>{g(y.map(k=>({id:k.id,name:k.name})))};return(y,k)=>{const w=a.resolveComponent("wt-input-text"),v=a.resolveComponent("wt-input-number");return o.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(w,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(v,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Boolean?a.renderSlot(y.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(eC),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):o.field.kind===a.unref(ki).Select?a.renderSlot(y.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(sf),a.mergeProps(d.value,{value:c.value,"search-method":f(o.field.lookup),"track-by":"id",clearable:"",onInput:h}),null,16,["value","search-method"])]):o.field.kind===a.unref(ki).Multiselect?a.renderSlot(y.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(sf),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:m}),null,16,["value"])]):o.field.kind===a.unref(ki).Calendar?a.renderSlot(y.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(LC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),xje={class:"wt-screen-recordings-action"},Ije={class:"wt-screen-recordings-action__option"},Sje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-screen-recordings-action",props:{files:{}},emits:["set-video"],setup(o,{emit:n}){const i=o,r=n,l=a.computed(()=>i?.files?.[ED.FileTypeScreensharing]?.map(({name:c,id:d,mimeType:p,type:u})=>({text:c,id:d,mimeType:p,type:u}))),s=({option:c})=>{c.id&&c.type===ED.FileTypeScreensharing&&r("set-video",c)};return(c,d)=>{const p=a.resolveComponent("wt-icon-btn"),u=a.resolveComponent("wt-icon"),g=a.resolveComponent("wt-context-menu");return a.openBlock(),a.createElementBlock("div",xje,[a.createVNode(g,{options:l.value,"max-width":"400px",onClick:s},{activator:a.withCtx(({toggle:f})=>[l.value?.length?(a.openBlock(),a.createBlock(p,{key:0,icon:"preview-tag-video",onClick:f},null,8,["onClick"])):a.createCommentVNode("",!0)]),option:a.withCtx(({text:f})=>[a.createElementVNode("div",Ije,[a.createVNode(u,{icon:"preview-tag-video"}),a.createTextVNode(" "+a.toDisplayString(f),1)])]),_:1},8,["options"]),a.createElementVNode("p",null,a.toDisplayString(l.value?.length||a.unref(L0)),1)])}}}),[["__scopeId","data-v-a1fa5099"]])},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(n){super(n.reason),this.code=n.code,this.line=n.line}}const OD=/\r?\n|\r/gm;class Tje{writable;readable;constructor(n){const i=new Eje(n);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class Eje{a="";b;onLine;onClose;constructor(n){this.b=new TextDecoder(n)}transform(n){this.a+=this.b.decode(n,{stream:!0});const i=this.a.split(OD);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function Aje(o,n){const i=new ReadableStream({start(r){const l=o.split(OD);for(const s of l)r.enqueue(s);r.close()}});return d9(i,n)}async function d9(o,n){const i=n?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>xIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>SIe)).default;break;default:r=(await Promise.resolve().then(function(){return Wje})).default}else r=i;let l;const s=o.getReader(),c=r(),d=!!n?.strict||!!n?.errors;await c.init({strict:!1,...n,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function Oje(o,n){const i=await o;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return DD(i.body,{type:l,encoding:s,...n})}async function DD(o,{encoding:n="utf-8",...i}={}){const r=o.pipeThrough(new Tje(n));return d9(r,i)}class LD extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(n,i,r){super(),this.startTime=n,this.endTime=i,this.text=r}addEventListener(n,i,r){super.addEventListener(n,i,r)}removeEventListener(n,i,r){super.removeEventListener(n,i,r)}}const p9=typeof document>"u",Dje=p9?LD:window.VTTCue;class W2 extends Dje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class RD{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const _D=",",Lje="%";function Rje(o){const n=parseInt(o,10);return Number.isNaN(n)?null:n}function zd(o){const n=parseInt(o.replace(Lje,""),10);return!Number.isNaN(n)&&n>=0&&n<=100?n:null}function BD(o){if(!o.includes(_D))return null;const[n,i]=o.split(_D).map(zd);return n!==null&&i!==null?[n,i]:null}function _je(o){const n=parseFloat(o);return Number.isNaN(n)?null:n}const Bje="WEBVTT",PD=",",Pje="%",ml=/[:=]/,$je=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Mje="NOTE",Nje="REGION",Fje=/^REGION:?[\s\t]+/,Zd=/[\s\t]+/,qje="-->",Uje=/[\s\t]*-->[\s\t]+/,Hje=/start|center|end|left|right/,zje=/start|center|end/,Zje=/line-(?:left|right)|center|auto/,Gje=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Gd=(o=>(o[o.None=0]="None",o[o.Header=1]="Header",o[o.Cue=2]="Cue",o[o.Region=3]="Region",o[o.Note=4]="Note",o))(Gd||{});class u9{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(n){this.h=n,n.strict&&(this.e=1),n.errors&&(this.f=(await Promise.resolve().then(()=>pL)).ParseErrorBuilder)}parse(n,i){if(n==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(n,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(n,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&$je.test(n)?this.o(n.split(Zd),i):this.c.text+=(r?`
|
|
9372
9394
|
`:"")+n}break;case 3:this.p(n.split(Zd),i);break}else if(n.startsWith(Mje))this.e=4;else if(n.startsWith(Nje))this.e=3,this.d=new RD,this.p(n.replace(Fje,"").split(Zd),i);else if(n.includes(qje)){const r=this.q(n,i);r&&(this.c=new W2(r[0],r[1],""),this.c.id=this.n,this.o(r[2],i)),this.e=2}else i===1&&this.k(n,i);this.n=n}done(){return{metadata:this.i,cues:this.l,regions:Object.values(this.j),errors:this.m}}k(n,i){if(i>1){if(ml.test(n)){const[r,l]=n.split(ml);r&&(this.i[r]=(l||"").replace(Zd,""))}}else n.startsWith(Bje)?this.e=1:this.g(this.f?.r())}q(n,i){const[r,l=""]=n.split(Uje),[s,...c]=l.split(Zd),d=cs(r),p=cs(s);if(d!==null&&p!==null&&p>d)return[d,p,c];d===null&&this.g(this.f?.s(r,i)),p===null&&this.g(this.f?.t(s,i)),d!=null&&p!==null&&p>d&&this.g(this.f?.u(d,p,i))}p(n,i){let r;for(let l=0;l<n.length;l++)if(ml.test(n[l])){r=!1;const[s,c]=n[l].split(ml);switch(s){case"id":this.d.id=c;break;case"width":const d=zd(c);d!==null?this.d.width=d:r=!0;break;case"lines":const p=Rje(c);p!==null?this.d.lines=p:r=!0;break;case"regionanchor":const u=BD(c);u!==null?(this.d.regionAnchorX=u[0],this.d.regionAnchorY=u[1]):r=!0;break;case"viewportanchor":const g=BD(c);g!==null?(this.d.viewportAnchorX=g[0],this.d.viewportAnchorY=g[1]):r=!0;break;case"scroll":c==="up"?this.d.scroll="up":r=!0;break;default:this.g(this.f?.v(s,c,i))}r&&this.g(this.f?.w(s,c,i))}}o(n,i){let r;for(let l=0;l<n.length;l++)if(r=!1,ml.test(n[l])){const[s,c]=n[l].split(ml);switch(s){case"region":const d=this.j[c];d&&(this.c.region=d);break;case"vertical":c==="lr"||c==="rl"?(this.c.vertical=c,this.c.region=null):r=!0;break;case"line":const[p,u]=c.split(PD);if(p.includes(Pje)){const y=zd(p);y!==null?(this.c.line=y,this.c.snapToLines=!1):r=!0}else{const y=_je(p);y!==null?this.c.line=y:r=!0}zje.test(u)?this.c.lineAlign=u:u&&(r=!0),this.c.line!=="auto"&&(this.c.region=null);break;case"position":const[g,f]=c.split(PD),h=zd(g);h!==null?this.c.position=h:r=!0,f&&Zje.test(f)?this.c.positionAlign=f:f&&(r=!0);break;case"size":const m=zd(c);m!==null?(this.c.size=m,m<100&&(this.c.region=null)):r=!0;break;case"align":Hje.test(c)?this.c.align=c:r=!0;break;default:this.g(this.f?.x(s,c,i))}r&&this.g(this.f?.y(s,c,i))}}g(n){if(n){if(this.m.push(n),this.h.strict)throw this.h.cancel(),n;this.h.onError?.(n)}}}function cs(o){const n=o.match(Gje);if(!n)return null;const i=n[1]?parseInt(n[1],10):0,r=parseInt(n[2],10),l=parseInt(n[3],10),s=n[4]?parseInt(n[4].padEnd(3,"0"),10):0,c=i*3600+r*60+l+s/1e3;return i<0||r<0||l<0||s<0||r>59||l>59?null:c}function Kje(){return new u9}var Wje=Object.freeze({__proto__:null,VTTBlock:Gd,VTTParser:u9,default:Kje,parseVTTTimestamp:cs});const Yje=/[0-9]/,Xje=/[\s\t]+/,$D={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span",timestamp:"span"},Qje={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","‎":"","‏":""},Jje=/&(?:amp|lt|gt|quot|#(0+)?39|nbsp|lrm|rlm);/g,Vje=new Set(["white","lime","cyan","red","yellow","magenta","blue","black"]),exe=new Set(Object.keys($D));function MD(o){let n="",i=1,r=[],l=[],s;for(let u=0;u<o.text.length;u++){const g=o.text[u];switch(i){case 1:g==="<"?(p(),i=2):n+=g;break;case 2:switch(g){case`
|
|
9373
9395
|
`:case" ":case" ":c(),i=4;break;case".":c(),i=3;break;case"/":i=5;break;case">":c(),i=1;break;default:!n&&Yje.test(g)&&(i=6),n+=g;break}break;case 3:switch(g){case" ":case" ":case`
|
|
9374
9396
|
`:d(),s&&s.class?.trim(),i=4;break;case".":d();break;case">":d(),s&&s.class?.trim(),i=1;break;default:n+=g}break;case 4:g===">"?(n=n.replace(Xje," "),s?.type==="v"?s.voice=g9(n):s?.type==="lang"&&(s.lang=g9(n)),n="",i=1):n+=g;break;case 5:g===">"&&(n="",s=l.pop(),i=1);break;case 6:if(g===">"){const f=cs(n);f!==null&&f>=o.startTime&&f<=o.endTime&&(n="timestamp",c(),s.time=f),n="",i=1}else n+=g;break}}function c(){if(exe.has(n)){const u=s;s=txe(n),u?(l[l.length-1]!==u&&l.push(u),u.children.push(s)):r.push(s)}n="",i=1}function d(){if(s&&n){const u=n.replace("bg_","");Vje.has(u)?s[n.startsWith("bg_")?"bgColor":"color"]=u:s.class=s.class?s.class+" "+n:n}n=""}function p(){if(!n)return;const u={type:"text",data:g9(n)};s?s.children.push(u):r.push(u),n=""}return i===1&&p(),r}function txe(o){return{tagName:$D[o],type:o,children:[]}}function g9(o){return o.replace(Jje,n=>Qje[n]||"'")}function no(o,n,i){o.style.setProperty(`--${n}`,i+"")}function ra(o,n,i=!0){o.setAttribute(`data-${n}`,i===!0?"":i+"")}function Y2(o,n){o.setAttribute("data-part",n)}function nxe(o){return parseFloat(getComputedStyle(o).lineHeight)||0}function oxe(o){if(p9)throw Error("[media-captions] called `createVTTCueTemplate` on the server - use `renderVTTCueString`");const n=document.createElement("template");return n.innerHTML=f9(o),{cue:o,content:n.content}}function f9(o,n=0){return h9(MD(o),n)}function h9(o,n=0){let i,r="";for(const l of o)if(l.type==="text")r+=l.data;else{const s=l.type==="timestamp";i={},i.class=l.class,i.title=l.type==="v"&&l.voice,i.lang=l.type==="lang"&&l.lang,i["data-part"]=l.type==="v"&&"voice",s&&(i["data-part"]="timed",i["data-time"]=l.time,i["data-future"]=l.time>n,i["data-past"]=l.time<n),i.style=`${l.color?`color: ${l.color};`:""}${l.bgColor?`background-color: ${l.bgColor};`:""}`;const c=Object.entries(i).filter(d=>d[1]).map(d=>`${d[0]}="${d[1]===!0?"":d[1]}"`).join(" ");r+=`<${l.tagName}${c?" "+c:""}>${h9(l.children)}</${l.tagName}>`}return r}function ND(o,n){if(!p9)for(const i of o.querySelectorAll('[data-part="timed"]')){const r=Number(i.getAttribute("data-time"));Number.isNaN(r)||(r>n?ra(i,"future"):i.removeAttribute("data-future"),r<n?ra(i,"past"):i.removeAttribute("data-past"))}}function ixe(o,n){let i=null,r;function l(){s(),o(...r),r=void 0}function s(){clearTimeout(i),i=null}function c(){r=[].slice.call(arguments),s(),i=setTimeout(l,n)}return c}const aa=Symbol(0);function m9(o){return o instanceof HTMLElement?{top:o.offsetTop,width:o.clientWidth,height:o.clientHeight,left:o.offsetLeft,right:o.offsetLeft+o.clientWidth,bottom:o.offsetTop+o.clientHeight}:{...o}}function X2(o,n,i){switch(n){case"+x":o.left+=i,o.right+=i;break;case"-x":o.left-=i,o.right-=i;break;case"+y":o.top+=i,o.bottom+=i;break;case"-y":o.top-=i,o.bottom-=i;break}}function rxe(o,n){return o.left<=n.right&&o.right>=n.left&&o.top<=n.bottom&&o.bottom>=n.top}function axe(o,n){for(let i=0;i<n.length;i++)if(rxe(o,n[i]))return n[i];return null}function FD(o,n){return n.top>=0&&n.bottom<=o.height&&n.left>=0&&n.right<=o.width}function sxe(o,n,i){switch(i){case"+x":return n.left<0;case"-x":return n.right>o.width;case"+y":return n.top<0;case"-y":return n.bottom>o.height}}function lxe(o,n){const i=Math.max(0,Math.min(o.width,n.right)-Math.max(0,n.left)),r=Math.max(0,Math.min(o.height,n.bottom)-Math.max(0,n.top));return i*r/(o.height*o.width)}function b9(o,n){return{top:n.top/o.height,left:n.left/o.width,right:(o.width-n.right)/o.width,bottom:(o.height-n.bottom)/o.height}}function qD(o,n){return n.top=n.top*o.height,n.left=n.left*o.width,n.right=o.width-n.right*o.width,n.bottom=o.height-n.bottom*o.height,n}const UD=["top","left","right","bottom"];function HD(o,n,i,r){const l=b9(n,i);for(const s of UD)no(o,`${r}-${s}`,l[s]*100+"%")}function zD(o,n,i,r){let l=1,s,c={...n};for(let d=0;d<r.length;d++){for(;sxe(o,n,r[d])||FD(o,n)&&axe(n,i);)X2(n,r[d],1);if(FD(o,n))return n;const p=lxe(o,n);l>p&&(s={...n},l=p),n={...c}}return s||c}const Kd=Symbol(0);function cxe(o,n,i,r){let l=i.firstElementChild,s=uxe(n),c,d=[];if(i[aa]||(i[aa]=dxe(o,i)),c=qD(o,{...i[aa]}),i[Kd])d=[i[Kd]==="top"?"+y":"-y","+x","-x"];else if(n.snapToLines){let p;switch(n.vertical){case"":d=["+y","-y"],p="height";break;case"rl":d=["+x","-x"],p="width";break;case"lr":d=["-x","+x"],p="width";break}let u=nxe(l),g=u*Math.round(s),f=o[p]+u,h=d[0];Math.abs(g)>f&&(g=g<0?-1:1,g*=Math.ceil(f/u)*u),s<0&&(g+=n.vertical===""?o.height:o.width,d=d.reverse()),X2(c,h,g)}else{const p=n.vertical==="",u=p?"+y":"+x",g=p?c.height:c.width;X2(c,u,(p?o.height:o.width)*s/100),X2(c,u,n.lineAlign==="center"?g/2:n.lineAlign==="end"?g:0),d=p?["-y","+y","-x","+x"]:["-x","+x","-y","+y"]}return c=zD(o,c,r,d),HD(i,o,c,"cue"),c}function dxe(o,n){const i=m9(n),r=pxe(n);if(n[Kd]=!1,r.top&&(i.top=r.top,i.bottom=r.top+i.height,n[Kd]="top"),r.bottom){const l=o.height-r.bottom;i.top=l-i.height,i.bottom=l,n[Kd]="bottom"}return r.left&&(i.left=r.left),r.right&&(i.right=o.width-r.right),b9(o,i)}function pxe(o){const n={};for(const i of UD)n[i]=parseFloat(o.style.getPropertyValue(`--cue-${i}`));return n}function uxe(o){return o.line==="auto"?o.snapToLines?-1:100:o.line}function gxe(o){if(o.position==="auto")switch(o.align){case"start":case"left":return 0;case"right":case"end":return 100;default:return 50}return o.position}function fxe(o,n){if(o.positionAlign==="auto")switch(o.align){case"start":return n==="ltr"?"line-left":"line-right";case"end":return n==="ltr"?"line-right":"line-left";case"center":return"center";default:return`line-${o.align}`}return o.positionAlign}const hxe=["-y","+y","-x","+x"];function mxe(o,n,i,r){let l=Array.from(i.querySelectorAll('[data-part="cue-display"]')),s=0,c=Math.max(0,l.length-n.lines);for(let p=l.length-1;p>=c;p--)s+=l[p].offsetHeight;no(i,"region-height",s+"px"),i[aa]||(i[aa]=b9(o,m9(i)));let d={...i[aa]};return d=qD(o,d),d.width=i.clientWidth,d.height=s,d.right=d.left+d.width,d.bottom=d.top+s,d=zD(o,d,r,hxe),HD(i,o,d,"region"),d}class bxe{overlay;z;A=0;C="ltr";B=[];D=!1;E;j=new Map;l=new Map;get dir(){return this.C}set dir(n){this.C=n,ra(this.overlay,"dir",n)}get currentTime(){return this.A}set currentTime(n){this.A=n,this.update()}constructor(n,i){this.overlay=n,this.dir=i?.dir??"ltr",n.setAttribute("translate","yes"),n.setAttribute("aria-live","off"),n.setAttribute("aria-atomic","true"),Y2(n,"captions"),this.G(),this.E=new ResizeObserver(this.I.bind(this)),this.E.observe(n)}changeTrack({regions:n,cues:i}){this.reset(),this.J(n);for(const r of i)this.l.set(r,null);this.update()}addCue(n){this.l.set(n,null),this.update()}removeCue(n){this.l.delete(n),this.update()}update(n=!1){this.H(n)}reset(){this.l.clear(),this.j.clear(),this.B=[],this.overlay.textContent=""}destroy(){this.reset(),this.E.disconnect()}I(){this.D=!0,this.K()}K=ixe(()=>{this.D=!1,this.G();for(const n of this.j.values())n[aa]=null;for(const n of this.l.values())n&&(n[aa]=null);this.H(!0)},50);G(){this.z=m9(this.overlay),no(this.overlay,"overlay-width",this.z.width+"px"),no(this.overlay,"overlay-height",this.z.height+"px")}H(n=!1){if(!this.l.size||this.D)return;let i,r=[...this.l.keys()].filter(s=>this.A>=s.startTime&&this.A<=s.endTime).sort((s,c)=>s.startTime!==c.startTime?s.startTime-c.startTime:s.endTime-c.endTime),l=r.map(s=>s.region);for(let s=0;s<this.B.length;s++){if(i=this.B[s],r[s]===i)continue;if(i.region&&!l.includes(i.region)){const d=this.j.get(i.region.id);d&&(d.removeAttribute("data-active"),n=!0)}const c=this.l.get(i);c&&(c.remove(),n=!0)}for(let s=0;s<r.length;s++){i=r[s];let c=this.l.get(i);c||this.l.set(i,c=this.L(i));const d=this.F(i)&&this.j.get(i.region.id);d&&!d.hasAttribute("data-active")&&(requestAnimationFrame(()=>ra(d,"active")),n=!0),c.isConnected||((d||this.overlay).append(c),n=!0)}if(n){const s=[],c=new Set;for(let d=r.length-1;d>=0;d--){if(i=r[d],c.has(i.region||i))continue;const p=this.F(i),u=p?this.j.get(i.region.id):this.l.get(i);p?s.push(mxe(this.z,i.region,u,s)):s.push(cxe(this.z,i,u,s)),c.add(p?i.region:i)}}ND(this.overlay,this.A),this.B=r}J(n){if(n)for(const i of n){const r=this.M(i);this.j.set(i.id,r),this.overlay.append(r)}}M(n){const i=document.createElement("div");return Y2(i,"region"),ra(i,"id",n.id),ra(i,"scroll",n.scroll),no(i,"region-width",n.width+"%"),no(i,"region-anchor-x",n.regionAnchorX),no(i,"region-anchor-y",n.regionAnchorY),no(i,"region-viewport-anchor-x",n.viewportAnchorX),no(i,"region-viewport-anchor-y",n.viewportAnchorY),no(i,"region-lines",n.lines),i}L(n){const i=document.createElement("div"),r=gxe(n),l=fxe(n,this.C);if(Y2(i,"cue-display"),n.vertical!==""&&ra(i,"vertical"),no(i,"cue-text-align",n.align),n.style)for(const c of Object.keys(n.style))i.style.setProperty(c,n.style[c]);if(this.F(n))no(i,"cue-offset",`${r-(l==="line-right"?100:l==="center"?50:0)}%`);else if(no(i,"cue-writing-mode",n.vertical===""?"horizontal-tb":n.vertical==="lr"?"vertical-lr":"vertical-rl"),!n.style?.["--cue-width"]){let c=r;l==="line-left"?c=100-r:l==="center"&&r<=50?c=r*2:l==="center"&&r>50&&(c=(100-r)*2);const d=n.size<c?n.size:c;n.vertical===""?no(i,"cue-width",d+"%"):no(i,"cue-height",d+"%")}const s=document.createElement("div");return Y2(s,"cue"),n.id&&ra(s,"id",n.id),s.innerHTML=f9(n),i.append(s),i}F(n){return n.region&&n.size===100&&n.vertical===""&&n.line==="auto"}}const Q2=Object.freeze(Object.defineProperty({__proto__:null,CaptionsRenderer:bxe,ParseError:Xi,ParseErrorCode:Yi,TextCue:LD,VTTCue:W2,VTTRegion:RD,createVTTCueTemplate:oxe,parseByteStream:DD,parseResponse:Oje,parseText:Aje,parseTextStream:d9,parseVTTTimestamp:cs,renderVTTCueString:f9,renderVTTTokensString:h9,tokenizeVTTCue:MD,updateTimedVTTCueNodes:ND},Symbol.toStringTag,{value:"Module"}));class Wd{#e;#t;constructor(n){this.#t=n}start(){Tn(this.#e)&&this.#n()}stop(){gn(this.#e)&&window.cancelAnimationFrame(this.#e),this.#e=void 0}#n(){this.#e=window.requestAnimationFrame(()=>{Tn(this.#e)||(this.#t(),this.#n())})}}let J2=null,V2=[],e0=[];function y9(){return J2??=new AudioContext}function yxe(){const o=y9(),n=o.createGain();return n.connect(o.destination),V2.push(n),n}function vxe(o,n){const i=y9(),r=i.createMediaElementSource(o);return n&&r.connect(n),e0.push(r),r}function Cxe(o){const n=V2.indexOf(o);n!==-1&&(V2.splice(n,1),o.disconnect(),ZD())}function wxe(o){const n=e0.indexOf(o);n!==-1&&(e0.splice(n,1),o.disconnect(),ZD())}function ZD(){J2&&V2.length===0&&e0.length===0&&J2.close().then(()=>{J2=null})}class kxe{#e;#t;#n=null;#o=null;get currentGain(){return this.#n?.gain?.value??null}get supported(){return!0}constructor(n,i){this.#e=n,this.#t=i}setGain(n){const i=this.currentGain;if(n!==this.currentGain){if(n===1&&i!==1){this.removeGain();return}this.#n||(this.#n=yxe(),this.#o&&this.#o.connect(this.#n)),this.#o||(this.#o=vxe(this.#e,this.#n)),this.#n.gain.value=n,this.#t(n)}}removeGain(){this.#n&&(this.#o&&this.#o.connect(y9().destination),this.#r(),this.#t(null))}destroy(){this.#i(),this.#r()}#i(){if(this.#o)try{wxe(this.#o)}catch{}finally{this.#o=null}}#r(){if(this.#n)try{Cxe(this.#n)}catch{}finally{this.#n=null}}}const jxe=["focus","blur","visibilitychange","pageshow","pagehide"];class xxe{#e=Ge(GD());#t=Ge(document.visibilityState);#n;connect(){const n=new xt(window),i=this.#o.bind(this);for(const r of jxe)n.add(r,i);h2&&n.add("beforeunload",r=>{this.#n=setTimeout(()=>{r.defaultPrevented||r.returnValue.length>0||(this.#e.set("hidden"),this.#t.set("hidden"))},0)})}get pageState(){return this.#e()}get visibility(){return this.#t()}#o(n){h2&&window.clearTimeout(this.#n),(n.type!=="blur"||this.#e()==="active")&&(this.#e.set(GD(n)),this.#t.set(document.visibilityState=="hidden"?"hidden":"visible"))}}function GD(o){return o?.type==="blur"||document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}class Ixe{#e;#t;#n=!1;#o=!1;#i=!1;#r=new Wd(this.#p.bind(this));#a=new xxe;#l;get#s(){return this.#e.media}constructor(n,i){this.#e=n,this.#t=i,this.#l=new xt(n.media),this.#g(),this.#a.connect(),ne(this.#L.bind(this)),it(this.#c.bind(this))}#c(){this.#o=!1,this.#i=!1,this.#r.stop(),this.#l.abort(),this.#m?.clear()}#d=0;#u=-1;#p(){const n=this.#s.currentTime;!(h2&&n-this.#u<.35)&&this.#d!==n&&(this.#v(n),this.#d=n)}#g(){this.#f("loadstart",this.#k),this.#f("abort",this.#b),this.#f("emptied",this.#x),this.#f("error",this.#z),this.#f("volumechange",this.#M)}#h(){this.#o||(this.#f("loadeddata",this.#I),this.#f("loadedmetadata",this.#S),this.#f("canplay",this.#O),this.#f("canplaythrough",this.#D),this.#f("durationchange",this.#j),this.#f("play",this.#A),this.#f("progress",this.#q),this.#f("stalled",this.#E),this.#f("suspend",this.#U),this.#f("ratechange",this.#H),this.#o=!0)}#y(){this.#i||(this.#f("pause",this.#R),this.#f("playing",this.#_),this.#f("seeked",this.#N),this.#f("seeking",this.#F),this.#f("ended",this.#P),this.#f("waiting",this.#B),this.#i=!0)}#m=void 0;#w=void 0;#f(n,i){this.#l.add(n,i.bind(this))}#C(n){}#v(n,i){const r=Math.min(n,this.#t.$state.seekableEnd());this.#t.notify("time-change",r,i)}#k(n){if(this.#s.networkState===3){this.#b(n);return}this.#h(),this.#t.notify("load-start",void 0,n)}#b(n){this.#t.notify("abort",void 0,n)}#x(){this.#t.notify("emptied",void 0,event)}#I(n){this.#t.notify("loaded-data",void 0,n)}#S(n){this.#d=0,this.#u=-1,this.#y(),this.#t.notify("loaded-metadata",void 0,n),(g2||h2&&rl(this.#t.$state.source()))&&this.#t.delegate.ready(this.#T(),n)}#T(){return{provider:je(this.#t.$provider),duration:this.#s.duration,buffered:this.#s.buffered,seekable:this.#s.seekable}}#A(n){this.#t.$state.canPlay&&this.#t.notify("play",void 0,n)}#R(n){this.#s.readyState===1&&!this.#n||(this.#n=!1,this.#r.stop(),this.#t.notify("pause",void 0,n))}#O(n){this.#t.delegate.ready(this.#T(),n)}#D(n){this.#t.$state.started()||this.#t.notify("can-play-through",this.#T(),n)}#_(n){this.#s.paused||(this.#n=!1,this.#t.notify("playing",void 0,n),this.#r.start())}#E(n){this.#t.notify("stalled",void 0,n),this.#s.readyState<3&&(this.#n=!0,this.#t.notify("waiting",void 0,n))}#B(n){this.#s.readyState<3&&(this.#n=!0,this.#t.notify("waiting",void 0,n))}#P(n){this.#r.stop(),this.#v(this.#s.duration,n),this.#t.notify("end",void 0,n),this.#t.$state.loop()&&t5e(this.#s.controls)&&(this.#s.controls=!1)}#L(){const n=this.#t.$state.paused(),i=this.#a.visibility==="hidden";(n||i)&&vt(this.#s,"timeupdate",this.#$.bind(this))}#$(n){this.#v(this.#s.currentTime,n)}#j(n){this.#t.$state.ended()&&this.#v(this.#s.duration,n),this.#t.notify("duration-change",this.#s.duration,n)}#M(n){const i={volume:this.#s.volume,muted:this.#s.muted};this.#t.notify("volume-change",i,n)}#N(n){this.#u=this.#s.currentTime,this.#v(this.#s.currentTime,n),this.#t.notify("seeked",this.#s.currentTime,n),Math.trunc(this.#s.currentTime)===Math.trunc(this.#s.duration)&&qm(this.#s.duration)>qm(this.#s.currentTime)&&(this.#v(this.#s.duration,n),this.#s.ended||this.#t.player.dispatch(new st("media-play-request",{trigger:n})))}#F(n){this.#t.notify("seeking",this.#s.currentTime,n)}#q(n){const i={buffered:this.#s.buffered,seekable:this.#s.seekable};this.#t.notify("progress",i,n)}#U(n){this.#t.notify("suspend",void 0,n)}#H(n){this.#t.notify("rate-change",this.#s.playbackRate,n)}#z(n){const i=this.#s.error;if(!i)return;const r={message:i.message,code:i.code,mediaError:i};this.#t.notify("error",r,n)}}class Sxe{#e;#t;get#n(){return this.#e.media.audioTracks}constructor(n,i){this.#e=n,this.#t=i,this.#n.onaddtrack=this.#o.bind(this),this.#n.onremovetrack=this.#i.bind(this),this.#n.onchange=this.#r.bind(this),vt(this.#t.audioTracks,"change",this.#l.bind(this))}#o(n){const i=n.track;if(i.label==="")return;const r=i.id.toString()||`native-audio-${this.#t.audioTracks.length}`,l={id:r,label:i.label,language:i.language,kind:i.kind,selected:!1};this.#t.audioTracks[Xe.add](l,n),i.enabled&&(l.selected=!0)}#i(n){const i=this.#t.audioTracks.getById(n.track.id);i&&this.#t.audioTracks[Xe.remove](i,n)}#r(n){let i=this.#a();if(!i)return;const r=this.#t.audioTracks.getById(i.id);r&&this.#t.audioTracks[Xe.select](r,!0,n)}#a(){return Array.from(this.#n).find(n=>n.enabled)}#l(n){const{current:i}=n.detail;if(!i)return;const r=this.#n.getTrackById(i.id);if(r){const l=this.#a();l&&(l.enabled=!1),r.enabled=!0}}}class KD{constructor(n,i){this.media=n,this.ctx=i,this.audioGain=new kxe(n,r=>{this.ctx.notify("audio-gain-change",r)})}scope=Yr();currentSrc=null;audioGain;setup(){new Ixe(this,this.ctx),"audioTracks"in this.media&&new Sxe(this,this.ctx),it(()=>{this.audioGain.destroy(),this.media.srcObject=null,this.media.removeAttribute("src");for(const n of this.media.querySelectorAll("source"))n.remove();this.media.load()})}get type(){return""}setPlaybackRate(n){this.media.playbackRate=n}async play(){return this.media.play()}async pause(){return this.media.pause()}setMuted(n){this.media.muted=n}setVolume(n){this.media.volume=n}setCurrentTime(n){this.media.currentTime=n}setPlaysInline(n){Ae(this.media,"playsinline",n)}async loadSource({src:n,type:i},r){this.media.preload=r||"",Y5e(n)?(this.removeSource(),this.media.srcObject=n):(this.media.srcObject=null,$e(n)?i!=="?"?this.appendSource({src:n,type:i}):(this.removeSource(),this.media.src=this.#e(n)):(this.removeSource(),this.media.src=window.URL.createObjectURL(n))),this.media.load(),this.currentSrc={src:n,type:i}}appendSource(n,i){const r=this.media.querySelector("source[data-vds]"),l=r??document.createElement("source");Ae(l,"src",this.#e(n.src)),Ae(l,"type",n.type!=="?"?n.type:i),Ae(l,"data-vds",""),r||this.media.append(l)}removeSource(){this.media.querySelector("source[data-vds]")?.remove()}#e(n){const{clipStartTime:i,clipEndTime:r}=this.ctx.$state,l=i(),s=r();return l>0&&s>0?`${n}#t=${l},${s}`:l>0?`${n}#t=${l}`:s>0?`${n}#t=0,${s}`:n}}class Txe{#e;#t;#n;#o=Ge(!1);get supported(){return this.#o()}constructor(n,i){this.#e=n,this.#t=i,this.#i()}#i(){!this.#e?.remote||!this.canPrompt||(this.#e.remote.watchAvailability(n=>{this.#o.set(n)}).catch(()=>{this.#o.set(!1)}),ne(this.#r.bind(this)))}#r(){if(!this.#o())return;const n=["connecting","connect","disconnect"],i=this.#a.bind(this);i(),vt(this.#e,"playing",i);const r=new xt(this.#e.remote);for(const l of n)r.add(l,i)}async prompt(){if(!this.supported)throw Error("Not supported on this platform.");return this.type==="airplay"&&this.#e.webkitShowPlaybackTargetPicker?this.#e.webkitShowPlaybackTargetPicker():this.#e.remote.prompt()}#a(n){const i=this.#e.remote.state;if(i===this.#n)return;const r={type:this.type,state:i};this.#t.notify("remote-playback-change",r,n),this.#n=i}}class WD extends Txe{type="airplay";get canPrompt(){return"WebKitPlaybackTargetAvailabilityEvent"in window}}class Exe extends KD{$$PROVIDER_TYPE="AUDIO";get type(){return"audio"}airPlay;constructor(n,i){super(n,i),Nn(()=>{this.airPlay=new WD(this.media,i)},this.scope)}setup(){super.setup(),this.type==="audio"&&this.ctx.notify("provider-setup",this)}get audio(){return this.media}}const Axe=Object.freeze(Object.defineProperty({__proto__:null,AudioProvider:Exe},Symbol.toStringTag,{value:"Module"}));class Oxe{#e;#t;constructor(n,i){this.#e=n,this.#t=i,n.textTracks.onaddtrack=this.#n.bind(this),it(this.#o.bind(this))}#n(n){const i=n.track;if(!i||Dxe(this.#e,i))return;const r=new Vr({id:i.id,kind:i.kind,label:i.label??"",language:i.language,type:"vtt"});r[nt.native]={track:i},r[nt.readyState]=2,r[nt.nativeHLS]=!0;let l=0;const s=c=>{if(i.cues)for(let d=l;d<i.cues.length;d++)r.addCue(i.cues[d],c),l++};s(n),i.oncuechange=s,this.#t.textTracks.add(r,n),r.setMode(i.mode,n)}#o(){this.#e.textTracks.onaddtrack=null;for(const n of this.#t.textTracks){const i=n[nt.native]?.track;i?.oncuechange&&(i.oncuechange=null)}}}function Dxe(o,n){return Array.from(o.children).find(i=>i.track===n)}class Lxe{#e;#t;constructor(n,i){this.#e=n,this.#t=i,new xt(n).add("enterpictureinpicture",this.#n.bind(this)).add("leavepictureinpicture",this.#o.bind(this))}get active(){return document.pictureInPictureElement===this.#e}get supported(){return BI(this.#e)}async enter(){return this.#e.requestPictureInPicture()}exit(){return document.exitPictureInPicture()}#n(n){this.#i(!0,n)}#o(n){this.#i(!1,n)}#i=(n,i)=>{this.#t.notify("picture-in-picture-change",n,i)}}class Rxe{#e;#t;#n="inline";get mode(){return this.#n}constructor(n,i){this.#e=n,this.#t=i,vt(n,"webkitpresentationmodechanged",this.#o.bind(this))}get supported(){return PI(this.#e)}async setPresentationMode(n){this.#n!==n&&this.#e.webkitSetPresentationMode(n)}#o(n){const i=this.#n;this.#n=this.#e.webkitPresentationMode,this.#t.player?.dispatch(new st("video-presentation-change",{detail:this.#n,trigger:n})),["fullscreen","picture-in-picture"].forEach(r=>{(this.#n===r||i===r)&&this.#t.notify(`${r}-change`,this.#n===r,n)})}}class _xe{#e;get active(){return this.#e.mode==="fullscreen"}get supported(){return this.#e.supported}constructor(n){this.#e=n}async enter(){this.#e.setPresentationMode("fullscreen")}async exit(){this.#e.setPresentationMode("inline")}}class Bxe{#e;get active(){return this.#e.mode==="picture-in-picture"}get supported(){return this.#e.supported}constructor(n){this.#e=n}async enter(){this.#e.setPresentationMode("picture-in-picture")}async exit(){this.#e.setPresentationMode("inline")}}class v9 extends KD{$$PROVIDER_TYPE="VIDEO";get type(){return"video"}airPlay;fullscreen;pictureInPicture;constructor(n,i){super(n,i),Nn(()=>{if(this.airPlay=new WD(n,i),PI(n)){const r=new Rxe(n,i);this.fullscreen=new _xe(r),this.pictureInPicture=new Bxe(r)}else BI(n)&&(this.pictureInPicture=new Lxe(n,i))},this.scope)}setup(){super.setup(),_I(this.video)&&new Oxe(this.video,this.ctx),this.ctx.textRenderers.attachVideo(this.video),it(()=>{this.ctx.textRenderers.attachVideo(null)}),this.type==="video"&&this.ctx.notify("provider-setup",this)}get video(){return this.media}}const Pxe=Object.freeze(Object.defineProperty({__proto__:null,VideoProvider:v9},Symbol.toStringTag,{value:"Module"})),$xe=o=>c2(o);class Mxe{#e;#t;#n=null;#o=null;config={};#i=new Set;get instance(){return this.#n}constructor(n,i){this.#e=n,this.#t=i}setup(n){const{streamType:i}=this.#t.$state,r=je(i).includes("live"),l=je(i).includes("ll-");this.#n=new n({lowLatencyMode:l,backBufferLength:l?4:r?8:void 0,renderTextTracksNatively:!1,...this.config});const s=this.#s.bind(this);for(const c of Object.values(n.Events))this.#n.on(c,s);this.#n.on(n.Events.ERROR,this.#y.bind(this));for(const c of this.#i)c(this.#n);this.#t.player.dispatch("hls-instance",{detail:this.#n}),this.#n.attachMedia(this.#e),this.#n.on(n.Events.AUDIO_TRACK_SWITCHED,this.#u.bind(this)),this.#n.on(n.Events.LEVEL_SWITCHED,this.#p.bind(this)),this.#n.on(n.Events.LEVEL_LOADED,this.#h.bind(this)),this.#n.on(n.Events.LEVEL_UPDATED,this.#g.bind(this)),this.#n.on(n.Events.NON_NATIVE_TEXT_TRACKS_FOUND,this.#c.bind(this)),this.#n.on(n.Events.CUES_PARSED,this.#d.bind(this)),this.#t.qualities[An.enableAuto]=this.#w.bind(this),vt(this.#t.qualities,"change",this.#f.bind(this)),vt(this.#t.audioTracks,"change",this.#C.bind(this)),this.#o=ne(this.#a.bind(this))}#r(n,i){return new st($xe(n),{detail:i})}#a(){if(!this.#t.$state.live())return;const n=new Wd(this.#l.bind(this));return n.start(),n.stop.bind(n)}#l(){this.#t.$state.liveSyncPosition.set(this.#n?.liveSyncPosition??1/0)}#s(n,i){this.#t.player?.dispatch(this.#r(n,i))}#c(n,i){const r=this.#r(n,i);let l=-1;for(let s=0;s<i.tracks.length;s++){const c=i.tracks[s],d=c.subtitleTrack??c.closedCaptions,p=new Vr({id:`hls-${c.kind}-${s}`,src:d?.url,label:c.label,language:d?.lang,kind:c.kind,default:c.default});p[nt.readyState]=2,p[nt.onModeChange]=()=>{p.mode==="showing"?(this.#n.subtitleTrack=s,l=s):l===s&&(this.#n.subtitleTrack=-1,l=-1)},this.#t.textTracks.add(p,r)}}#d(n,i){const r=this.#n?.subtitleTrack,l=this.#t.textTracks.getById(`hls-${i.type}-${r}`);if(!l)return;const s=this.#r(n,i);for(const c of i.cues)c.positionAlign="auto",l.addCue(c,s)}#u(n,i){const r=this.#t.audioTracks[i.id];if(r){const l=this.#r(n,i);this.#t.audioTracks[Xe.select](r,!0,l)}}#p(n,i){const r=this.#t.qualities[i.level];if(r){const l=this.#r(n,i);this.#t.qualities[Xe.select](r,!0,l)}}#g(n,i){i.details.totalduration>0&&this.#t.$state.inferredLiveDVRWindow.set(i.details.totalduration)}#h(n,i){if(this.#t.$state.canPlay())return;const{type:r,live:l,totalduration:s,targetduration:c}=i.details,d=this.#r(n,i);this.#t.notify("stream-type-change",l?r==="EVENT"&&Number.isFinite(s)&&c>=10?"live:dvr":"live":"on-demand",d),this.#t.notify("duration-change",s,d);const p=this.#n.media;this.#n.currentLevel===-1&&this.#t.qualities[An.setAuto](!0,d);for(const u of this.#n.audioTracks){const g={id:u.id.toString(),label:u.name,language:u.lang||"",kind:"main"};this.#t.audioTracks[Xe.add](g,d)}for(const u of this.#n.levels){const g={id:u.id?.toString()??u.height+"p",width:u.width,height:u.height,codec:u.codecSet,bitrate:u.bitrate};this.#t.qualities[Xe.add](g,d)}p.dispatchEvent(new st("canplay",{trigger:d}))}#y(n,i){i.fatal&&(i.type==="mediaError"?this.#n?.recoverMediaError():this.#m(i.error))}#m(n){this.#t.notify("error",{message:n.message,code:1,error:n})}#w(){this.#n&&(this.#n.currentLevel=-1)}#f(){const{qualities:n}=this.#t;!this.#n||n.auto||(this.#n[n.switch+"Level"]=n.selectedIndex,f2&&(this.#e.currentTime=this.#e.currentTime))}#C(){const{audioTracks:n}=this.#t;this.#n&&this.#n.audioTrack!==n.selectedIndex&&(this.#n.audioTrack=n.selectedIndex)}onInstance(n){return this.#i.add(n),()=>this.#i.delete(n)}loadSource(n){$e(n.src)&&this.#n?.loadSource(n.src)}destroy(){this.#n?.destroy(),this.#n=null,this.#o?.(),this.#o=null}}class Nxe{#e;#t;#n;constructor(n,i,r){this.#e=n,this.#t=i,this.#n=r,this.#o()}async#o(){const n={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await qxe(this.#e,n);if(Tn(i)&&!$e(this.#e)&&(i=await Fxe(this.#e,n)),!i)return null;if(!i.isSupported()){const r="[vidstack] `hls.js` is not supported in this environment";return this.#t.player.dispatch(new st("hls-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("hls-lib-load-start"))}#r(n){this.#t.player.dispatch(new st("hls-lib-loaded",{detail:n})),this.#n(n)}#a(n){const i=jd(n);this.#t.player.dispatch(new st("hls-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function Fxe(o,n={}){if(!Tn(o)){if(n.onLoadStart?.(),o.prototype&&o.prototype!==Function)return n.onLoaded?.(o),o;try{const i=(await o())?.default;if(i&&i.isSupported)n.onLoaded?.(i);else throw Error("");return i}catch(i){n.onLoadError?.(i)}}}async function qxe(o,n={}){if($e(o)){n.onLoadStart?.();try{if(await _m(o),!ui(window.Hls))throw Error("");const i=window.Hls;return n.onLoaded?.(i),i}catch(i){n.onLoadError?.(i)}}}const Uxe="https://cdn.jsdelivr.net";class Hxe extends v9{$$PROVIDER_TYPE="HLS";#e=null;#t=new Mxe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=m2();get type(){return"hls"}get canLiveSync(){return!0}#n=`${Uxe}/npm/hls.js@^1.5.0/dist/hls.min.js`;get config(){return this.#t.config}set config(n){this.#t.config=n}get library(){return this.#n}set library(n){this.#n=n}preconnect(){$e(this.#n)&&mr(this.#n)}setup(){super.setup(),new Nxe(this.#n,this.ctx,n=>{this.#e=n,this.#t.setup(n),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(n,i){if(!$e(n.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(n,"application/x-mpegurl"),this.#t.loadSource(n),this.currentSrc=n}onInstance(n){const i=this.#t.instance;return i&&n(i),this.#t.onInstance(n)}destroy(){this.#t.destroy()}}const zxe=Object.freeze(Object.defineProperty({__proto__:null,HLSProvider:Hxe},Symbol.toStringTag,{value:"Module"}));function YD(o){try{return new Intl.DisplayNames(navigator.languages,{type:"language"}).of(o)??null}catch{return null}}const Zxe=o=>`dash-${c2(o)}`;class Gxe{#e;#t;#n=null;#o=new Set;#i=null;config={};get instance(){return this.#n}constructor(n,i){this.#e=n,this.#t=i}setup(n){this.#n=n().create();const i=this.#s.bind(this);for(const r of Object.values(n.events))this.#n.on(r,i);this.#n.on(n.events.ERROR,this.#m.bind(this));for(const r of this.#o)r(this.#n);this.#t.player.dispatch("dash-instance",{detail:this.#n}),this.#n.initialize(this.#e,void 0,!1),this.#n.updateSettings({streaming:{text:{defaultEnabled:!1,dispatchForManualRendering:!0},buffer:{fastSwitchEnabled:!0}},...this.config}),this.#n.on(n.events.FRAGMENT_LOADING_STARTED,this.#w.bind(this)),this.#n.on(n.events.FRAGMENT_LOADING_COMPLETED,this.#f.bind(this)),this.#n.on(n.events.MANIFEST_LOADED,this.#y.bind(this)),this.#n.on(n.events.QUALITY_CHANGE_RENDERED,this.#h.bind(this)),this.#n.on(n.events.TEXT_TRACKS_ADDED,this.#p.bind(this)),this.#n.on(n.events.TRACK_CHANGE_RENDERED,this.#g.bind(this)),this.#t.qualities[An.enableAuto]=this.#x.bind(this),vt(this.#t.qualities,"change",this.#S.bind(this)),vt(this.#t.audioTracks,"change",this.#T.bind(this)),this.#i=ne(this.#a.bind(this))}#r(n){return new st(Zxe(n.type),{detail:n})}#a(){if(!this.#t.$state.live())return;const n=new Wd(this.#l.bind(this));return n.start(),n.stop.bind(n)}#l(){if(!this.#n)return;const n=this.#n.duration()-this.#n.time();this.#t.$state.liveSyncPosition.set(isNaN(n)?1/0:n)}#s(n){this.#t.player?.dispatch(this.#r(n))}#c=null;#d={};#u(n){const i=this.#c?.[nt.native],r=(i?.track).cues;if(!i||!r)return;const l=this.#c.id,s=this.#d[l]??0,c=this.#r(n);for(let d=s;d<r.length;d++){const p=r[d];p.positionAlign||(p.positionAlign="auto"),this.#c.addCue(p,c)}this.#d[l]=r.length}#p(n){if(!this.#n)return;const i=n.tracks,r=[...this.#e.textTracks].filter(s=>"manualMode"in s),l=this.#r(n);for(let s=0;s<r.length;s++){const c=i[s],d=r[s],p=`dash-${c.kind}-${s}`,u=new Vr({id:p,label:c?.label??c.labels.find(g=>g.text)?.text??(c?.lang&&YD(c.lang))??c?.lang??void 0,language:c.lang??void 0,kind:c.kind,default:c.defaultTrack});u[nt.native]={managed:!0,track:d},u[nt.readyState]=2,u[nt.onModeChange]=()=>{this.#n&&(u.mode==="showing"?(this.#n.setTextTrack(s),this.#c=u):(this.#n.setTextTrack(-1),this.#c=null))},this.#t.textTracks.add(u,l)}}#g(n){const{mediaType:i,newMediaInfo:r}=n;if(i==="audio"){const l=this.#t.audioTracks.getById(`dash-audio-${r.index}`);if(l){const s=this.#r(n);this.#t.audioTracks[Xe.select](l,!0,s)}}}#h(n){if(n.mediaType!=="video")return;const i=this.#t.qualities[n.newQuality];if(i){const r=this.#r(n);this.#t.qualities[Xe.select](i,!0,r)}}#y(n){if(this.#t.$state.canPlay()||!this.#n)return;const{type:i,mediaPresentationDuration:r}=n.data,l=this.#r(n);this.#t.notify("stream-type-change",i!=="static"?"live":"on-demand",l),this.#t.notify("duration-change",r,l),this.#t.qualities[An.setAuto](!0,l);const s=this.#n.getVideoElement(),c=this.#n.getTracksForTypeFromManifest("video",n.data),d=[...new Set(c.map(f=>f.mimeType))].find(f=>f&&RI(s,f)),p=c.filter(f=>d===f.mimeType)[0];let u=this.#n.getTracksForTypeFromManifest("audio",n.data);const g=[...new Set(u.map(f=>f.mimeType))].find(f=>f&&LI(s,f));if(u=u.filter(f=>g===f.mimeType),p.bitrateList.forEach((f,h)=>{const m={id:f.id?.toString()??`dash-bitrate-${h}`,width:f.width??0,height:f.height??0,bitrate:f.bandwidth??0,codec:p.codec,index:h};this.#t.qualities[Xe.add](m,l)}),gn(p.index)){const f=this.#t.qualities[p.index];f&&this.#t.qualities[Xe.select](f,!0,l)}u.forEach((f,h)=>{const y=f.labels.find(w=>navigator.languages.some(v=>w.lang&&v.toLowerCase().startsWith(w.lang.toLowerCase())))||f.labels[0],k={id:`dash-audio-${f?.index}`,label:y?.text??(f.lang&&YD(f.lang))??f.lang??"",language:f.lang??"",kind:"main",mimeType:f.mimeType,codec:f.codec,index:h};this.#t.audioTracks[Xe.add](k,l)}),s.dispatchEvent(new st("canplay",{trigger:l}))}#m(n){const{type:i,error:r}=n;r.code===27?this.#v(r):this.#b(r)}#w(){this.#C>=0&&this.#k()}#f(n){n.mediaType==="text"&&requestAnimationFrame(this.#u.bind(this,n))}#C=-1;#v(n){this.#k(),this.#n?.play(),this.#C=window.setTimeout(()=>{this.#C=-1,this.#b(n)},5e3)}#k(){clearTimeout(this.#C),this.#C=-1}#b(n){this.#t.notify("error",{message:n.message??"",code:1,error:n})}#x(){this.#I("video",!0);const{qualities:n}=this.#t;this.#n?.setQualityFor("video",n.selectedIndex,!0)}#I(n,i){this.#n?.updateSettings({streaming:{abr:{autoSwitchBitrate:{[n]:i}}}})}#S(){const{qualities:n}=this.#t;!this.#n||n.auto||!n.selected||(this.#I("video",!1),this.#n.setQualityFor("video",n.selectedIndex,n.switch==="current"),f2&&(this.#e.currentTime=this.#e.currentTime))}#T(){if(!this.#n)return;const{audioTracks:n}=this.#t,i=this.#n.getTracksFor("audio").find(r=>n.selected&&n.selected.id===`dash-audio-${r.index}`);i&&this.#n.setCurrentTrack(i)}#A(){this.#k(),this.#c=null,this.#d={}}onInstance(n){return this.#o.add(n),()=>this.#o.delete(n)}loadSource(n){this.#A(),$e(n.src)&&this.#n?.attachSource(n.src)}destroy(){this.#A(),this.#n?.destroy(),this.#n=null,this.#i?.(),this.#i=null}}class Kxe{#e;#t;#n;constructor(n,i,r){this.#e=n,this.#t=i,this.#n=r,this.#o()}async#o(){const n={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await Yxe(this.#e,n);if(Tn(i)&&!$e(this.#e)&&(i=await Wxe(this.#e,n)),!i)return null;if(!window.dashjs.supportsMediaSource()){const r="[vidstack] `dash.js` is not supported in this environment";return this.#t.player.dispatch(new st("dash-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("dash-lib-load-start"))}#r(n){this.#t.player.dispatch(new st("dash-lib-loaded",{detail:n})),this.#n(n)}#a(n){const i=jd(n);this.#t.player.dispatch(new st("dash-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function Wxe(o,n={}){if(!Tn(o)){if(n.onLoadStart?.(),Xxe(o))return n.onLoaded?.(o),o;if(XD(o)){const i=o.MediaPlayer;return n.onLoaded?.(i),i}try{const i=(await o())?.default;if(XD(i))return n.onLoaded?.(i.MediaPlayer),i.MediaPlayer;if(i)n.onLoaded?.(i);else throw Error("");return i}catch(i){n.onLoadError?.(i)}}}async function Yxe(o,n={}){if($e(o)){n.onLoadStart?.();try{if(await _m(o),!ui(window.dashjs.MediaPlayer))throw Error("");const i=window.dashjs.MediaPlayer;return n.onLoaded?.(i),i}catch(i){n.onLoadError?.(i)}}}function Xxe(o){return o&&o.prototype&&o.prototype!==Function}function XD(o){return o&&"MediaPlayer"in o}const Qxe="https://cdn.jsdelivr.net";class Jxe extends v9{$$PROVIDER_TYPE="DASH";#e=null;#t=new Gxe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=$I();get type(){return"dash"}get canLiveSync(){return!0}#n=`${Qxe}/npm/dashjs@4.7.4/dist/dash.all.min.js`;get config(){return this.#t.config}set config(n){this.#t.config=n}get library(){return this.#n}set library(n){this.#n=n}preconnect(){$e(this.#n)&&mr(this.#n)}setup(){super.setup(),new Kxe(this.#n,this.ctx,n=>{this.#e=n,this.#t.setup(n),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(n,i){if(!$e(n.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(n,"application/x-mpegurl"),this.#t.loadSource(n),this.currentSrc=n}onInstance(n){const i=this.#t.instance;return i&&n(i),this.#t.onInstance(n)}destroy(){this.#t.destroy()}}const Vxe=Object.freeze(Object.defineProperty({__proto__:null,DASHProvider:Jxe},Symbol.toStringTag,{value:"Module"}));class QD{#e;src=Ge("");referrerPolicy=null;get iframe(){return this.#e}constructor(n){this.#e=n,n.setAttribute("frameBorder","0"),n.setAttribute("aria-hidden","true"),n.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; accelerometer; gyroscope"),this.referrerPolicy!==null&&n.setAttribute("referrerpolicy",this.referrerPolicy)}setup(){vt(window,"message",this.#n.bind(this)),vt(this.#e,"load",this.onLoad.bind(this)),ne(this.#t.bind(this))}#t(){const n=this.src();if(!n.length){this.#e.setAttribute("src","");return}const i=je(()=>this.buildParams());this.#e.setAttribute("src",J5e(n,i))}postMessage(n,i){this.#e.contentWindow?.postMessage(JSON.stringify(n),i??"*")}#n(n){const i=this.getOrigin();if((n.source===null||n.source===this.#e?.contentWindow)&&(!$e(i)||i===n.origin)){try{const l=JSON.parse(n.data);l&&this.onMessage(l,n);return}catch{}n.data&&this.onMessage(n.data,n)}}}const eIe=/(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/,C9=new Map,t0=new Map;function JD(o){const n=o.match(eIe);return{videoId:n?.[1],hash:n?.[2]}}async function VD(o,n,i){if(C9.has(o))return C9.get(o);if(t0.has(o))return t0.get(o);let r=`https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/${o}`;i&&(r=r.concat(`?h=${i}`));const l=window.fetch(r,{mode:"cors",signal:n.signal}).then(s=>s.json()).then(s=>{const c=/vimeocdn.com\/video\/(.*)?_/,d=s?.thumbnail_url?.match(c)?.[1],p=d?`https://i.vimeocdn.com/video/${d}_1920x1080.webp`:"",u={title:s?.title??"",duration:s?.duration??0,poster:p,pro:s.account_type!=="basic"};return C9.set(o,u),u}).finally(()=>t0.delete(o));return t0.set(o,l),l}const tIe=Object.freeze(Object.defineProperty({__proto__:null,getVimeoVideoInfo:VD,resolveVimeoVideoId:JD},Symbol.toStringTag,{value:"Module"})),nIe=["bufferend","bufferstart","durationchange","ended","enterpictureinpicture","error","fullscreenchange","leavepictureinpicture","loaded","playProgress","loadProgress","pause","play","playbackratechange","qualitychange","seeked","seeking","timeupdate","volumechange","waiting"];class oIe extends QD{$$PROVIDER_TYPE="VIMEO";scope=Yr();fullscreen;#e;#t=Ge("");#n=Ge(!1);#o=null;#i=null;#r=!1;#a=new cn(0,0);#l=new Wd(this.#y.bind(this));#s=null;#c=null;#d=new Map;#u=null;constructor(n,i){super(n),this.#e=i;const r=this;this.fullscreen={get active(){return r.#r},supported:!0,enter:()=>this.#j("requestFullscreen"),exit:()=>this.#j("exitFullscreen")}}cookies=!1;title=!0;byline=!0;portrait=!0;color="00ADEF";get type(){return"vimeo"}get currentSrc(){return this.#i}get videoId(){return this.#t()}get hash(){return this.#o}get isPro(){return this.#n()}preconnect(){mr(this.getOrigin())}setup(){super.setup(),ne(this.#p.bind(this)),ne(this.#g.bind(this)),ne(this.#h.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#M(),this.fullscreen=void 0;const n="provider destroyed";for(const i of this.#d.values())for(const{reject:r}of i)r(n);this.#d.clear(),this.#j("destroy")}async play(){return this.#j("play")}async pause(){return this.#j("pause")}setMuted(n){this.#j("setMuted",n)}setCurrentTime(n){this.#j("seekTo",n),this.#e.notify("seeking",n)}setVolume(n){this.#j("setVolume",n),this.#j("setMuted",je(this.#e.$state.muted))}setPlaybackRate(n){this.#j("setPlaybackRate",n)}async loadSource(n){if(!$e(n.src)){this.#i=null,this.#o=null,this.#t.set("");return}const{videoId:i,hash:r}=JD(n.src);this.#t.set(i??""),this.#o=r??null,this.#i=n}#p(){this.#M();const n=this.#t();if(!n){this.src.set("");return}this.src.set(`${this.getOrigin()}/video/${n}`),this.#e.notify("load-start")}#g(){const n=this.#t();if(!n)return;const i=ol(),r=new AbortController;return this.#u=i,VD(n,r,this.#o).then(l=>{i.resolve(l)}).catch(l=>{i.reject()}),()=>{i.reject(),r.abort()}}#h(){const n=this.#n(),{$state:i,qualities:r}=this.#e;if(i.canSetPlaybackRate.set(n),r[Xe.setReadonly](!n),n)return vt(r,"change",()=>{if(r.auto)return;const l=r.selected?.id;l&&this.#j("setQuality",l)})}getOrigin(){return"https://player.vimeo.com"}buildParams(){const{keyDisabled:n}=this.#e.$props,{playsInline:i,nativeControls:r}=this.#e.$state,l=r();return{title:this.title,byline:this.byline,color:this.color,portrait:this.portrait,controls:l,h:this.hash,keyboard:l&&!n(),transparent:!0,playsinline:i(),dnt:!this.cookies}}#y(){this.#j("getCurrentTime")}#m=!1;#w(n,i){if(this.#m&&n===0)return;const{realCurrentTime:r,paused:l,bufferedEnd:s,seekableEnd:c,live:d}=this.#e.$state;if(r()===n)return;const p=r();this.#e.notify("time-change",n,i),Math.abs(p-n)>1.5&&(this.#e.notify("seeking",n,i),!l()&&s()<n&&this.#e.notify("waiting",void 0,i)),!d()&&c()-n<.01&&(this.#e.notify("end",void 0,i),this.#m=!0,setTimeout(()=>{this.#m=!1},500))}#f(n,i){this.#e.notify("seeked",n,i)}#C(n){const i=this.#t();this.#u?.promise.then(r=>{if(!r)return;const{title:l,poster:s,duration:c,pro:d}=r;this.#n.set(d),this.#e.notify("title-change",l,n),this.#e.notify("poster-change",s,n),this.#e.notify("duration-change",c,n),this.#v(c,n)}).catch(()=>{i===this.#t()&&(this.#j("getVideoTitle"),this.#j("getDuration"))})}#v(n,i){const{nativeControls:r}=this.#e.$state,l=r();this.#a=new cn(0,n);const s={buffered:new cn(0,0),seekable:this.#a,duration:n};this.#e.delegate.ready(s,i),l||this.#j("_hideOverlay"),this.#j("getQualities"),this.#j("getChapters")}#k(n,i,r){switch(n){case"getVideoTitle":const l=i;this.#e.notify("title-change",l,r);break;case"getDuration":const s=i;this.#e.$state.canPlay()?this.#e.notify("duration-change",s,r):this.#v(s,r);break;case"getCurrentTime":this.#w(i,r);break;case"getBuffered":En(i)&&i.length&&this.#T(i[i.length-1][1],r);break;case"setMuted":this.#D(je(this.#e.$state.volume),i,r);break;case"getChapters":this.#_(i);break;case"getQualities":this.#B(i,r);break}this.#N(n)?.resolve()}#b(){for(const n of nIe)this.#j("addEventListener",n)}#x(n){this.#l.stop(),this.#e.notify("pause",void 0,n)}#I(n){this.#l.start(),this.#e.notify("play",void 0,n)}#S(n){const{paused:i}=this.#e.$state;!i()&&!this.#m&&this.#e.notify("playing",void 0,n)}#T(n,i){const r={buffered:new cn(0,n),seekable:this.#a};this.#e.notify("progress",r,i)}#A(n){this.#e.notify("waiting",void 0,n)}#R(n){const{paused:i}=this.#e.$state;i()||this.#e.notify("playing",void 0,n)}#O(n){const{paused:i}=this.#e.$state;i()&&this.#e.notify("play",void 0,n),this.#e.notify("waiting",void 0,n)}#D(n,i,r){const l={volume:n,muted:i};this.#e.notify("volume-change",l,r)}#_(n){if(this.#E(),!n.length)return;const i=new Vr({kind:"chapters",default:!0}),{seekableEnd:r}=this.#e.$state;for(let l=0;l<n.length;l++){const s=n[l],c=n[l+1];i.addCue(new window.VTTCue(s.startTime,c?.startTime??r(),s.title))}this.#c=i,this.#e.textTracks.add(i)}#E(){this.#c&&(this.#e.textTracks.remove(this.#c),this.#c=null)}#B(n,i){this.#e.qualities[An.enableAuto]=n.some(r=>r.id==="auto")?()=>this.#j("setQuality","auto"):void 0;for(const r of n){if(r.id==="auto")continue;const l=+r.id.slice(0,-1);isNaN(l)||this.#e.qualities[Xe.add]({id:r.id,width:l*(16/9),height:l,codec:"avc1,h.264",bitrate:-1},i)}this.#P(n.find(r=>r.active),i)}#P({id:n}={},i){if(!n)return;const r=n==="auto",l=this.#e.qualities.getById(n);r?(this.#e.qualities[An.setAuto](r,i),this.#e.qualities[Xe.select](void 0,!0,i)):this.#e.qualities[Xe.select](l??void 0,!0,i)}#L(n,i,r){switch(n){case"ready":this.#b();break;case"loaded":this.#C(r);break;case"play":this.#I(r);break;case"playProgress":this.#S(r);break;case"pause":this.#x(r);break;case"loadProgress":this.#T(i.seconds,r);break;case"waiting":this.#O(r);break;case"bufferstart":this.#A(r);break;case"bufferend":this.#R(r);break;case"volumechange":this.#D(i.volume,je(this.#e.$state.muted),r);break;case"durationchange":this.#a=new cn(0,i.duration),this.#e.notify("duration-change",i.duration,r);break;case"playbackratechange":this.#e.notify("rate-change",i.playbackRate,r);break;case"qualitychange":this.#P(i,r);break;case"fullscreenchange":this.#r=i.fullscreen,this.#e.notify("fullscreen-change",i.fullscreen,r);break;case"enterpictureinpicture":this.#e.notify("picture-in-picture-change",!0,r);break;case"leavepictureinpicture":this.#e.notify("picture-in-picture-change",!1,r);break;case"ended":this.#e.notify("end",void 0,r);break;case"error":this.#$(i,r);break;case"seek":case"seeked":this.#f(i.seconds,r);break}}#$(n,i){const{message:r,method:l}=n;l==="setPlaybackRate"&&this.#n.set(!1),l&&this.#N(l)?.reject(r)}onMessage(n,i){n.event?this.#L(n.event,n.data,i):n.method&&this.#k(n.method,n.value,i)}onLoad(){}async#j(n,i){let r=ol(),l=this.#d.get(n);return l||this.#d.set(n,l=[]),l.push(r),this.postMessage({method:n,value:i}),r.promise}#M(){this.#l.stop(),this.#a=new cn(0,0),this.#u=null,this.#s=null,this.#n.set(!1),this.#E()}#N(n){return this.#d.get(n)?.shift()}}const iIe=Object.freeze(Object.defineProperty({__proto__:null,VimeoProvider:oIe},Symbol.toStringTag,{value:"Module"})),rIe=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,w9=new Map,n0=new Map;function eL(o){return o.match(rIe)?.[1]}async function aIe(o,n){if(w9.has(o))return w9.get(o);if(n0.has(o))return n0.get(o);const i=new Promise(async r=>{const l=["maxresdefault","sddefault","hqdefault"];for(const s of l)for(const c of[!0,!1]){const d=sIe(o,s,c);if((await fetch(d,{mode:"no-cors",signal:n.signal})).status<400){w9.set(o,d),r(d);return}}}).catch(()=>"").finally(()=>n0.delete(o));return n0.set(o,i),i}function sIe(o,n,i){return`https://i.ytimg.com/${i?"vi_webp":"vi"}/${o}/${n}.${i?"webp":"jpg"}`}const lIe=Object.freeze(Object.defineProperty({__proto__:null,findYouTubePoster:aIe,resolveYouTubeVideoId:eL},Symbol.toStringTag,{value:"Module"})),ds={Ended:0,Playing:1,Paused:2,Buffering:3,Cued:5};class cIe extends QD{$$PROVIDER_TYPE="YOUTUBE";scope=Yr();#e;#t=Ge("");#n=-1;#o=null;#i=-1;#r=!1;#a=new Map;constructor(n,i){super(n),this.#e=i}language="en";color="red";cookies=!1;get currentSrc(){return this.#o}get type(){return"youtube"}get videoId(){return this.#t()}preconnect(){mr(this.getOrigin())}setup(){super.setup(),ne(this.#c.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#f();const n="provider destroyed";for(const i of this.#a.values())for(const{reject:r}of i)r(n);this.#a.clear()}async play(){return this.#d("playVideo")}#l(n){this.#C("playVideo")?.reject(n)}async pause(){return this.#d("pauseVideo")}#s(n){this.#C("pauseVideo")?.reject(n)}setMuted(n){n?this.#d("mute"):this.#d("unMute")}setCurrentTime(n){this.#d("seekTo",n),this.#e.notify("seeking",n)}setVolume(n){this.#d("setVolume",n*100)}setPlaybackRate(n){this.#d("setPlaybackRate",n)}async loadSource(n){if(!$e(n.src)){this.#o=null,this.#t.set("");return}const i=eL(n.src);this.#t.set(i??""),this.#o=n}getOrigin(){return this.cookies?"https://www.youtube.com":"https://www.youtube-nocookie.com"}#c(){this.#f();const n=this.#t();if(!n){this.src.set("");return}this.src.set(`${this.getOrigin()}/embed/${n}`),this.#e.notify("load-start")}buildParams(){const{keyDisabled:n}=this.#e.$props,{muted:i,playsInline:r,nativeControls:l}=this.#e.$state,s=l();return{rel:0,autoplay:0,cc_lang_pref:this.language,cc_load_policy:s?1:void 0,color:this.color,controls:s?1:0,disablekb:!s||n()?1:0,enablejsapi:1,fs:1,hl:this.language,iv_load_policy:s?1:3,mute:i()?1:0,playsinline:r()?1:0}}#d(n,i){let r=ol(),l=this.#a.get(n);return l||this.#a.set(n,l=[]),l.push(r),this.postMessage({event:"command",func:n,args:i?[i]:void 0}),r.promise}onLoad(){window.setTimeout(()=>this.postMessage({event:"listening"}),100)}#u(n){this.#e.notify("loaded-metadata"),this.#e.notify("loaded-data"),this.#e.delegate.ready(void 0,n)}#p(n){this.#C("pauseVideo")?.resolve(),this.#e.notify("pause",void 0,n)}#g(n,i){const{duration:r,realCurrentTime:l}=this.#e.$state,s=this.#n===ds.Ended,c=s?r():n;this.#e.notify("time-change",c,i),!s&&Math.abs(c-l())>1&&this.#e.notify("seeking",c,i)}#h(n,i,r){const l={buffered:new cn(0,n),seekable:i};this.#e.notify("progress",l,r);const{seeking:s,realCurrentTime:c}=this.#e.$state;s()&&n>c()&&this.#y(r)}#y(n){const{paused:i,realCurrentTime:r}=this.#e.$state;window.clearTimeout(this.#i),this.#i=window.setTimeout(()=>{this.#e.notify("seeked",r(),n),this.#i=-1},i()?100:0)}#m(n){const{seeking:i}=this.#e.$state;i()&&this.#y(n),this.#e.notify("pause",void 0,n),this.#e.notify("end",void 0,n)}#w(n,i){const{paused:r,seeking:l}=this.#e.$state,s=n===ds.Playing,c=n===ds.Buffering,d=this.#v("playVideo"),p=r()&&(c||s);if(c&&this.#e.notify("waiting",void 0,i),l()&&s&&this.#y(i),this.#r&&s){this.pause(),this.#r=!1,this.setMuted(this.#e.$state.muted());return}if(!d&&p){this.#r=!0,this.setMuted(!0);return}switch(p&&(this.#C("playVideo")?.resolve(),this.#e.notify("play",void 0,i)),n){case ds.Cued:this.#u(i);break;case ds.Playing:this.#e.notify("playing",void 0,i);break;case ds.Paused:this.#p(i);break;case ds.Ended:this.#m(i);break}this.#n=n}onMessage({info:n},i){if(!n)return;const{title:r,intrinsicDuration:l,playbackRate:s}=this.#e.$state;if(gI(n.videoData)&&n.videoData.title!==r()&&this.#e.notify("title-change",n.videoData.title,i),gn(n.duration)&&n.duration!==l()){if(gn(n.videoLoadedFraction)){const c=n.progressState?.loaded??n.videoLoadedFraction*n.duration,d=new cn(0,n.duration);this.#h(c,d,i)}this.#e.notify("duration-change",n.duration,i)}if(gn(n.playbackRate)&&n.playbackRate!==s()&&this.#e.notify("rate-change",n.playbackRate,i),n.progressState){const{current:c,seekableStart:d,seekableEnd:p,loaded:u,duration:g}=n.progressState;this.#g(c,i),this.#h(u,new cn(d,p),i),g!==l()&&this.#e.notify("duration-change",g,i)}if(gn(n.volume)&&fI(n.muted)&&!this.#r){const c={muted:n.muted,volume:n.volume/100};this.#e.notify("volume-change",c,i)}gn(n.playerState)&&n.playerState!==this.#n&&this.#w(n.playerState,i)}#f(){this.#n=-1,this.#i=-1,this.#r=!1}#C(n){return this.#a.get(n)?.shift()}#v(n){return!!this.#a.get(n)?.length}}const dIe=Object.freeze(Object.defineProperty({__proto__:null,YouTubeProvider:cIe},Symbol.toStringTag,{value:"Module"}));function pIe(){return"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"}function uIe(){return!!window.cast?.framework}function gIe(){return!!window.chrome?.cast?.isAvailable}function tL(){return Yd().getCastState()===cast.framework.CastState.CONNECTED}function Yd(){return window.cast.framework.CastContext.getInstance()}function k9(){return Yd().getCurrentSession()}function j9(){return k9()?.getSessionObj().media[0]}function nL(o){return j9()?.media.contentId===o?.src}function fIe(){return{language:"en-US",autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,resumeSavedSession:!0,androidReceiverCompatible:!0}}function oL(o){return`Google Cast Error Code: ${o}`}function hIe(o,n){return vt(Yd(),o,n)}class mIe{name="google-cast";target;#e;get cast(){return Yd()}mediaType(){return"video"}canPlay(n){return f2&&!g2&&MI(n)}async prompt(n){let i,r,l;try{i=await this.#t(n),this.#e||(this.#e=new cast.framework.RemotePlayer,new cast.framework.RemotePlayerController(this.#e)),r=n.player.createEvent("google-cast-prompt-open",{trigger:i}),n.player.dispatchEvent(r),this.#i(n,"connecting",r),await this.#n(je(n.$props.googleCast)),n.$state.remotePlaybackInfo.set({deviceName:k9()?.getCastDevice().friendlyName}),tL()&&this.#i(n,"connected",r)}catch(s){const c=s instanceof Error?s:this.#r((s+"").toUpperCase(),"Prompt failed.");throw l=n.player.createEvent("google-cast-prompt-error",{detail:c,trigger:r??i,cancelable:!0}),n.player.dispatch(l),this.#i(n,tL()?"connected":"disconnected",l),c}finally{n.player.dispatch("google-cast-prompt-close",{trigger:l??r??i})}}async load(n){if(!this.#e)throw Error("[vidstack] google cast player was not initialized");return new(await Promise.resolve().then(()=>OIe)).GoogleCastProvider(this.#e,n)}async#t(n){if(uIe())return;const i=n.player.createEvent("google-cast-load-start");n.player.dispatch(i),await _m(pIe()),await customElements.whenDefined("google-cast-launcher");const r=n.player.createEvent("google-cast-loaded",{trigger:i});if(n.player.dispatch(r),!gIe())throw this.#r("CAST_NOT_AVAILABLE","Google Cast not available on this platform.");return r}async#n(n){this.#o(n);const i=await this.cast.requestSession();if(i)throw this.#r(i.toUpperCase(),oL(i))}#o(n){this.cast?.setOptions({...fIe(),...n})}#i(n,i,r){const l={type:"google-cast",state:i};n.notify("remote-playback-change",l,r)}#r(n,i){const r=Error(i);return r.code=n,r}}const bIe=Object.freeze(Object.defineProperty({__proto__:null,GoogleCastLoader:mIe},Symbol.toStringTag,{value:"Module"})),yIe=Nm('<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>');function vIe(o,n){const i=Fm(yIe);i.innerHTML=B5e,o.append(i);const r=document.createElement("span");r.classList.add("vds-google-cast-info"),o.append(r);const l=document.createElement("span");l.classList.add("vds-google-cast-device-name"),ne(()=>{const{remotePlaybackInfo:s}=n,c=s();return c?.deviceName&&(l.textContent=c.deviceName,r.append("Google Cast on ",l)),()=>{r.textContent=""}})}const CIe=Object.freeze(Object.defineProperty({__proto__:null,insertContent:vIe},Symbol.toStringTag,{value:"Module"})),wIe=/,/g,kIe="-->";class iL extends u9{parse(n,i){if(n==="")this.c&&(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null),this.e=Gd.None;else if(this.e===Gd.Cue)this.c.text+=(this.c.text?`
|