1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[5215],{15215(x,g,y){y.d(g,{Z:()=>A});var i=y(28633),S=y(44376),H=y(36124),T=y(66563);let A=(()=>{class m extends S.d{copy(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling copy.");const r=t?.promptSetsPromptSetCopyRequestBody;if(null==r)throw new Error("Required parameter promptSetsPromptSetCopyRequestBody was null or undefined when calling copy.");let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(e=e.set("Content-Type",l));let s="json";o&&(s=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.Copy`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("post",`${c}${h}`,{body:r,responseType:s,...a?{withCredentials:a}:{},headers:e,observe:d})}copyQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling copy.");if(null==t.promptSetsPromptSetCopyRequestBody)throw new Error("Required parameter promptSetsPromptSetCopyRequestBody was null or undefined when calling copy.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.Copy`}deletePromptSet(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling deletePromptSet.");const r=t?.ifMatch;let e=this.defaultHeaders;null!=r&&(e=e.set("If-Match",String(r))),e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));let p="json";o&&(p=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let l=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:s,withCredentials:h}=this.configuration;return this.httpClient.request("delete",`${s}${l}`,{responseType:p,...h?{withCredentials:h}:{},headers:e,observe:d})}deletePromptSetQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePromptSet.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}getActive(t="body"){let d=this.defaultHeaders;d=this.configuration.addCredentialToHeaders("Application","Authorization",d,"Bearer ");const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(d=d.set("Accept",n));let r="json";n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob");const{basePath:o,withCredentials:p}=this.configuration;return this.httpClient.request("get",`${o}/PromptSets/Pbx.GetActive()`,{responseType:r,...p?{withCredentials:p}:{},headers:d,observe:t})}getActiveQuery(t="body",d=!1,n){return"/PromptSets/Pbx.GetActive()"}getPromptSet(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling getPromptSet.");const r=t?.$select,e=t?.$expand;let o=new i.rx(this.encoder);o=this.addToHttpParams(o,"$select",r,i.l2.Form,!1),o=this.addToHttpParams(o,"$expand",e,i.l2.Form,!1);let p=this.defaultHeaders;p=this.configuration.addCredentialToHeaders("Application","Authorization",p,"Bearer ");const l=this.configuration.selectHeaderAccept(["application/json"]);void 0!==l&&(p=p.set("Accept",l));let s="json";l&&(s=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("get",`${c}${h}`,{params:o.toHttpParams(),responseType:s,...a?{withCredentials:a}:{},headers:p,observe:d})}getPromptSetQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling getPromptSet.");const o=t.$select,p=t.$expand;let l=new i.rx(this.encoder);return l=this.addToHttpParams(l,"$select",o,i.l2.Form,!1),l=this.addToHttpParams(l,"$expand",p,i.l2.Form,!1),`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})?`+l.toString()}listPromptSet(t,d="body"){const n=t?.$top,r=t?.$skip,e=t?.$search,o=t?.$filter,p=t?.$count,l=t?.$orderby,s=t?.$select,h=t?.$expand;let c=new i.rx(this.encoder);c=this.addToHttpParams(c,"$top",n,i.l2.Form,!1),c=this.addToHttpParams(c,"$skip",r,i.l2.Form,!1),c=this.addToHttpParams(c,"$search",e,i.l2.Form,!1),c=this.addToHttpParams(c,"$filter",o,i.l2.Form,!1),c=this.addToHttpParams(c,"$count",p,i.l2.Form,!1),c=this.addToHttpParams(c,"$orderby",l,i.l2.Form,!1),c=this.addToHttpParams(c,"$select",s,i.l2.Form,!1),c=this.addToHttpParams(c,"$expand",h,i.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(a=a.set("Accept",u));let f="json";u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:b,withCredentials:$}=this.configuration;return this.httpClient.request("get",`${b}/PromptSets`,{params:c.toHttpParams(),responseType:f,...$?{withCredentials:$}:{},headers:a,observe:d})}
1listPromptSetQuery(t,d="body",n=!1,r){const e=t.$top,o=t.$skip,p=t.$search,l=t.$filter,s=t.$count,h=t.$orderby,c=t.$select,a=t.$expand;let u=new i.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,i.l2.Form,!1),u=this.addToHttpParams(u,"$skip",o,i.l2.Form,!1),u=this.addToHttpParams(u,"$search",p,i.l2.Form,!1),u=this.addToHttpParams(u,"$filter",l,i.l2.Form,!1),u=this.addToHttpParams(u,"$count",s,i.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",h,i.l2.Form,!1),u=this.addToHttpParams(u,"$select",c,i.l2.Form,!1),u=this.addToHttpParams(u,"$expand",a,i.l2.Form,!1),"/PromptSets?"+u.toString()}listPrompts(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling listPrompts.");const r=t?.$top,e=t?.$skip,o=t?.$search,p=t?.$filter,l=t?.$count,s=t?.$orderby,h=t?.$select,c=t?.$expand;let a=new i.rx(this.encoder);a=this.addToHttpParams(a,"$top",r,i.l2.Form,!1),a=this.addToHttpParams(a,"$skip",e,i.l2.Form,!1),a=this.addToHttpParams(a,"$search",o,i.l2.Form,!1),a=this.addToHttpParams(a,"$filter",p,i.l2.Form,!1),a=this.addToHttpParams(a,"$count",l,i.l2.Form,!1),a=this.addToHttpParams(a,"$orderby",s,i.l2.Form,!1),a=this.addToHttpParams(a,"$select",h,i.l2.Form,!1),a=this.addToHttpParams(a,"$expand",c,i.l2.Form,!1);let u=this.defaultHeaders;u=this.configuration.addCredentialToHeaders("Application","Authorization",u,"Bearer ");const f=this.configuration.selectHeaderAccept(["application/json"]);void 0!==f&&(u=u.set("Accept",f));let P="json";f&&(P=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob");let b=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Prompts`;const{basePath:$,withCredentials:w}=this.configuration;return this.httpClient.request("get",`${$}${b}`,{params:a.toHttpParams(),responseType:P,...w?{withCredentials:w}:{},headers:u,observe:d})}listPromptsQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling listPrompts.");const o=t.$top,p=t.$skip,l=t.$search,s=t.$filter,h=t.$count,c=t.$orderby,a=t.$select,u=t.$expand;let f=new i.rx(this.encoder);return f=this.addToHttpParams(f,"$top",o,i.l2.Form,!1),f=this.addToHttpParams(f,"$skip",p,i.l2.Form,!1),f=this.addToHttpParams(f,"$search",l,i.l2.Form,!1),f=this.addToHttpParams(f,"$filter",s,i.l2.Form,!1),f=this.addToHttpParams(f,"$count",h,i.l2.Form,!1),f=this.addToHttpParams(f,"$orderby",c,i.l2.Form,!1),f=this.addToHttpParams(f,"$select",a,i.l2.Form,!1),f=this.addToHttpParams(f,"$expand",u,i.l2.Form,!1),`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Prompts?`+f.toString()}playPrompt(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling playPrompt.");const r=t?.promptSetsPromptSetPlayPromptRequestBody;if(null==r)throw new Error("Required parameter promptSetsPromptSetPlayPromptRequestBody was null or undefined when calling playPrompt.");let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(e=e.set("Content-Type",l));let s="json";o&&(s=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.PlayPrompt`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("post",`${c}${h}`,{body:r,responseType:s,...a?{withCredentials:a}:{},headers:e,observe:d})}playPromptQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling playPrompt.");if(null==t.promptSetsPromptSetPlayPromptRequestBody)throw new Error("Required parameter promptSetsPromptSetPlayPromptRequestBody was null or undefined when calling playPrompt.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.PlayPrompt`}recordPrompt(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling recordPrompt.");const r=t?.promptSetsPromptSetRecordPromptRequestBody;if(null==r)throw new Error("Required parameter promptSetsPromptSetRecordPromptRequestBody was null or undefined when calling recordPrompt.");let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(e=e.set("Content-Type",l));let s="json";o&&(s=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.RecordPrompt`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("post",`${c}${h}`,{body:r,responseType:s,...a?{withCredentials:a}:{},headers:e,observe:d})}recordPromptQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling recordPrompt.");if(null==t.promptSetsPromptSetRecordPromptRequestBody)throw new Error("Required parameter promptSetsPromptSetRecordPromptRequestBody was null or undefined when calling recordPrompt.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.RecordPrompt`}setActive(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling setActive.");let r=this.defaultHeaders;r=this.configuration.addCredentialToHeaders("Application","Authorization",r,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(r=r.set("Accept",e));let o="json";e&&(o=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");let p=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})}
1)/Pbx.SetActive`;const{basePath:l,withCredentials:s}=this.configuration;return this.httpClient.request("post",`${l}${p}`,{responseType:o,...s?{withCredentials:s}:{},headers:r,observe:d})}setActiveQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling setActive.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.SetActive`}setAlternatePronunciation(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling setAlternatePronunciation.");const r=t?.promptSetsPromptSetSetAlternatePronunciationRequestBody;if(null==r)throw new Error("Required parameter promptSetsPromptSetSetAlternatePronunciationRequestBody was null or undefined when calling setAlternatePronunciation.");let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(e=e.set("Content-Type",l));let s="json";o&&(s=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.SetAlternatePronunciation`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("post",`${c}${h}`,{body:r,responseType:s,...a?{withCredentials:a}:{},headers:e,observe:d})}setAlternatePronunciationQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling setAlternatePronunciation.");if(null==t.promptSetsPromptSetSetAlternatePronunciationRequestBody)throw new Error("Required parameter promptSetsPromptSetSetAlternatePronunciationRequestBody was null or undefined when calling setAlternatePronunciation.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.SetAlternatePronunciation`}updatePromptSet(t,d="body"){const n=t?.id;if(null==n)throw new Error("Required parameter id was null or undefined when calling updatePromptSet.");const r=t?.pbxPromptSet;let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(e=e.set("Accept",o));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(e=e.set("Content-Type",l));let s="json";o&&(s=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");let h=`/PromptSets(${this.configuration.encodeParam({name:"id",value:n,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:c,withCredentials:a}=this.configuration;return this.httpClient.request("patch",`${c}${h}`,{body:r,responseType:s,...a?{withCredentials:a}:{},headers:e,observe:d})}updatePromptSetQuery(t,d="body",n=!1,r){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling updatePromptSet.");return`/PromptSets(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}static \u0275fac=(()=>{let t;return function(n){return(t||(t=H.xGo(m)))(n||m)}})();static \u0275prov=T.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.