@distilled.cloud/typesense 1.0.0-rc.19 → 1.0.0-rc.20
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/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/errors.d.ts +5 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/services/typesense.js +108 -108
- package/lib/services/typesense.js.map +1 -1
- package/package.json +2 -2
- package/src/errors.ts +5 -5
- package/src/protocol.ts +2 -2
package/lib/_bundle/sdk.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{api$D as e,api$call as t,api$error as
|
|
1
|
+
import{api$D as e,api$call as t,api$error as ee,api$named as n,api$newError as r,api$op as i,category$withBadRequestError as a,category$withConflictError as o,category$withParseError as s,config$String as c,config$all as te,retry$capped as ne,retry$jittered as re,retry$makeDefault as l,retry$throttlingFactory as u,retry$throttlingOptions as d,retry$transientFactory as f,retry$transientOptions as p,schema_lite_typed$TaggedError as m,schema_lite_typed$Unknown as h,trait$Body as g,trait$FormDataFile as _,trait$Header as v,trait$Http as y,trait$HttpBody as b,trait$KeyDictionary as x,trait$Label as S,trait$Query as C,trait$ResponseCode as w,trait$UnionCases as T,trait$applyErrorMatchers as E,trait$bodySymbol as D,trait$errorMatchersSymbol as O,trait$formDataFileSymbol as k,trait$getErrorMatchers as A,trait$headerSymbol as j,trait$httpBodySymbol as M,trait$httpSymbol as N,trait$keyDictionarySymbol as P,trait$labelSymbol as F,trait$querySymbol as I,trait$responseCodeSymbol as L,trait$unionCasesSymbol as R}from"@distilled.cloud/core/_bundle/base";import{errors$API_ERRORS as z,errors$BadGateway as B,errors$BadRequest as V,errors$ConfigError as H,errors$Conflict as U,errors$DEFAULT_ERRORS as W,errors$Forbidden as G,errors$GatewayTimeout as K,errors$HTTP_STATUS_MAP as q,errors$InternalServerError as J,errors$Locked as ie,errors$NotFound as Y,errors$ServiceUnavailable as ae,errors$TooManyRequests as oe,errors$Unauthorized as se,errors$UnknownErrorFields as ce,errors$UnprocessableEntity as le,protocol_rest$RawResponse as ue,protocol_rest$RawResponseRoot as de,protocol_rest$SensitiveValue as fe,protocol_rest$makeRestProtocol as pe,protocol_rest$rawResponseRootSymbol as me,protocol_rest$rawResponseSymbol as he,protocol_rest$sensitiveValueSymbol as ge,protocol_rest$unknownErrorProps as _e,schema_lite$Array as ve,schema_lite$Boolean as ye,schema_lite$Number as be,schema_lite$Record as xe,schema_lite$String as Se,schema_lite$Struct as Ce,schema_lite$TaggedError as we,schema_lite$Unknown as Te,schema_lite$at as Ee,schema_lite$optional as De,schema_lite$suspend as Oe}from"@distilled.cloud/core/_bundle/rest";import*as X from"effect/Context";import*as Z from"effect/Effect";import*as Q from"effect/Layer";import*as $ from"effect/Redacted";const ke=``;var Credentials=class extends (/*@__PURE__*/ X.Service()(`TypesenseCredentials`)){};const Ae=/*@__PURE__*/ te({apiKey:/*@__PURE__*/ c(`TYPESENSE_API_KEY`),apiBaseUrl:/*@__PURE__*/ c(`TYPESENSE_API_URL`)});const je=/*@__PURE__*/ Q.succeed(Credentials,/*@__PURE__*/ Ae.pipe(/*@__PURE__*/ Z.mapError(()=>new H({message:`TYPESENSE_API_KEY and TYPESENSE_API_URL environment variables are required`})),/*@__PURE__*/ Z.map(({apiKey:e,apiBaseUrl:t})=>({apiKey:$.make(e),apiBaseUrl:t}))));const credentials=e=>Q.succeed(Credentials,Z.succeed({apiKey:e.apiKey,apiBaseUrl:e.apiBaseUrl}));const formatHeaders=e=>({"X-TYPESENSE-API-KEY":$.value(e.apiKey)});var UnknownTypesenseError=class extends (/*@__PURE__*/ m()(`UnknownTypesenseError`,ce)){};var TypesenseParseError=class extends (/*@__PURE__*/ m()(`TypesenseParseError`,{body:h,cause:h}).pipe(s)){};const Me=/*@__PURE__*/ pe({credentials:/*@__PURE__*/ Z.flatMap(Credentials,e=>e),baseUrl:e=>e.apiBaseUrl,headers:formatHeaders,unknownError:e=>new UnknownTypesenseError(_e(e)),parseError:({body:e,cause:t})=>new TypesenseParseError({body:e,cause:t})});var Retry=class extends (/*@__PURE__*/ X.Service()(`TypesenseRetry`)){};const policy=e=>Z.provide(Q.succeed(Retry,e));const Ne=/*@__PURE__*/ Z.provide(/*@__PURE__*/ Q.succeed(Retry,{while:()=>false}));const Pe=/*@__PURE__*/ policy(u);const Fe=/*@__PURE__*/ policy(f);export{o as Ba,ve as Wb,ye as Xb,e as a,t as c,Credentials as credentials$Credentials,je as credentials$CredentialsFromEnv,ke as credentials$DEFAULT_API_BASE_URL,credentials as credentials$credentials,formatHeaders as credentials$formatHeaders,ee as e,be as ec,z as errors$API_ERRORS,B as errors$BadGateway,V as errors$BadRequest,H as errors$ConfigError,U as errors$Conflict,W as errors$DEFAULT_ERRORS,G as errors$Forbidden,K as errors$GatewayTimeout,q as errors$HTTP_STATUS_MAP,J as errors$InternalServerError,ie as errors$Locked,Y as errors$NotFound,ae as errors$ServiceUnavailable,oe as errors$TooManyRequests,TypesenseParseError as errors$TypesenseParseError,se as errors$Unauthorized,UnknownTypesenseError as errors$UnknownTypesenseError,le as errors$UnprocessableEntity,xe as fc,Se as hc,Ce as ic,n as k,we as kc,r as l,i as m,Te as nc,Ee as pc,Me as protocol$TypesenseProtocol,Retry as retry$Retry,ne as retry$capped,re as retry$jittered,l as retry$makeDefault,Ne as retry$none,policy as retry$policy,Pe as retry$throttling,u as retry$throttlingFactory,d as retry$throttlingOptions,Fe as retry$transient,f as retry$transientFactory,p as retry$transientOptions,g as traits$Body,_ as traits$FormDataFile,v as traits$Header,y as traits$Http,b as traits$HttpBody,x as traits$KeyDictionary,S as traits$Label,C as traits$Query,ue as traits$RawResponse,de as traits$RawResponseRoot,w as traits$ResponseCode,fe as traits$SensitiveValue,T as traits$UnionCases,E as traits$applyErrorMatchers,D as traits$bodySymbol,O as traits$errorMatchersSymbol,k as traits$formDataFileSymbol,A as traits$getErrorMatchers,j as traits$headerSymbol,M as traits$httpBodySymbol,N as traits$httpSymbol,P as traits$keyDictionarySymbol,F as traits$labelSymbol,I as traits$querySymbol,me as traits$rawResponseRootSymbol,he as traits$rawResponseSymbol,L as traits$responseCodeSymbol,ge as traits$sensitiveValueSymbol,R as traits$unionCasesSymbol,De as uc,Oe as vc,a as ya};
|
|
2
2
|
//# sourceMappingURL=sdk.js.map
|
package/lib/_bundle/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","names":["Schema.
|
|
1
|
+
{"version":3,"file":"sdk.js","names":["Schema.Unknown","Category.withParseError","D","call","error","named","newError","op","withBadRequestError","withConflictError","withParseError","String$2","all$1","capped","jittered","makeDefault","throttlingFactory","throttlingOptions","transientFactory","transientOptions","TaggedError$1","Unknown$1","Body","FormDataFile","Header","Http","HttpBody","KeyDictionary","Label","Query","ResponseCode","UnionCases","applyErrorMatchers","bodySymbol","errorMatchersSymbol","formDataFileSymbol","getErrorMatchers","headerSymbol","httpBodySymbol","httpSymbol","keyDictionarySymbol","labelSymbol","querySymbol","responseCodeSymbol","unionCasesSymbol","API_ERRORS","BadGateway","BadRequest","ConfigError","Conflict","DEFAULT_ERRORS","Forbidden","GatewayTimeout","HTTP_STATUS_MAP","InternalServerError","Locked","NotFound","ServiceUnavailable","TooManyRequests","Unauthorized","UnknownErrorFields","UnprocessableEntity","RawResponse","RawResponseRoot","SensitiveValue","makeRestProtocol","rawResponseRootSymbol","rawResponseSymbol","sensitiveValueSymbol","unknownErrorProps","Array","Boolean","Number","Record","String","Struct","TaggedError","Unknown","at","optional","suspend","Context","Effect","Layer","Redacted","DEFAULT_API_BASE_URL","envConfig","CredentialsFromEnv","apiKey","config","TypesenseProtocol","resolve","creds","info","optionsOrFactory","none","throttling","transient"],"sources":["../../src/credentials.ts","../../src/errors.ts","../../src/protocol.ts","../../src/retry.ts"],"mappings":"+sEAoBA,MAAaqF,GAAuB,GAOpC,IAAa,YAAb,eACwB,gBAAQ,QAAyD,CAAC,CACtF,sBACF,EAAA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,GAA2B,qBAAOhF,CAAiB,EAGhE,MAAaiF,GAA0B,qBAAO/E,CAAgB"}
|
package/lib/errors.d.ts
CHANGED
|
@@ -9,14 +9,11 @@ export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeou
|
|
|
9
9
|
import type { DefaultErrors as CoreDefaultErrors } from "@distilled.cloud/core/errors";
|
|
10
10
|
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
11
11
|
declare const UnknownTypesenseError_base: Schema.TaggedErrorClass<"UnknownTypesenseError", {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
ServerError: true;
|
|
18
|
-
};
|
|
19
|
-
});
|
|
12
|
+
status: import("effect/Schema").Number;
|
|
13
|
+
code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
14
|
+
message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
15
|
+
body: import("effect/Schema").Unknown;
|
|
16
|
+
}>;
|
|
20
17
|
export declare class UnknownTypesenseError extends /*@__PURE__*/ UnknownTypesenseError_base {
|
|
21
18
|
}
|
|
22
19
|
declare const TypesenseParseError_base: Schema.TaggedErrorClass<"TypesenseParseError", {
|
package/lib/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEvF,OAAO,KAAK,MAAM,MAAM,yCAAyC,CAAC;;;;;;;AAGlE,qBAAa,qBACX,SAAQ,aAAa,CAAC,0BAGrB;CAAG;;;;;;;;;AAGN,qBAAa,mBACX,SAAQ,aAAa,CAAC,wBAGU;CAAG;AAErC;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,YAAY,CAAC"}
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import{Ba as e,Ub as t,Vb as n,a as r,c as i,cc as a,dc as ee,e as o,fc as s,gc as c,ic as l,k as u,l as d,lc as f,m as p,nc as m,protocol$TypesenseProtocol as h,retry$Retry as g,sc as _,tc as v,traits$Body as te,traits$Http as y,traits$HttpBody as b,traits$Label as x,traits$Query as S,traits$RawResponseRoot as C,traits$SensitiveValue as w,traits$UnionCases as T,traits$applyErrorMatchers as E,ya as D}from"../_bundle/sdk.js";const O={system:`typesense-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Typesense`,service:`Typesense`,labels:`typesense`,propagate:`w3c`};const k=/*@__PURE__*/ o(function BadRequest(e){return d(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[m,D,a,s,l,E]])});const A=/*@__PURE__*/ o(function Conflict(t){return d(t,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[m,e,a,s,l,E]])});const j=/*@__PURE__*/ o(function NotFound(e){return d(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[m,D,a,s,l,E]])});const M=/*@__PURE__*/ p(e=>e===r?u(`ClearCache`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/operations/cache/clear",code:200}))`,[m,y,c,v,__d7,h,g,O]):i(M,e));const N=/*@__PURE__*/ p(e=>e===r?u(`CompactDb`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/operations/db/compact",code:200}))`,[m,y,c,v,__d7,h,g,O]):i(N,e));const P=/*@__PURE__*/ p(e=>e===r?u(`CreateAnalyticsEvent`,`{input:#2,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%RequestData";$5(>4)@"%Request";$4({user_id:$2($1),doc_id:$2($1),doc_ids:$2(#3:0),q:$2($1),analytics_tag:$2($1)});$4({name:$1,event_type:$1,data:#1}).pipe($6({method:"POST",uri:"/analytics/events",code:200}))`,[m,s,_,__d12,c,v,y,__d11,k,h,g,O]):i(P,e));const F=/*@__PURE__*/ p(e=>e===r?u(`CreateAnalyticsRule`,`{input:#2,output:#4,errors:[$6],protocol:$7,retry:$8,telemetry:$9,span:"%"};~5;$4(>6)@"%Request";~5;$4(>7)@"%Response";$11.pipe($10([["name","type","collection","event_type","rule_tag","params"],[]]));$3({body:#1.pipe($2())}).pipe($1({method:"POST",uri:"/analytics/rules",code:200}));#3.pipe($5())`,[m,y,b,c,v,C,k,h,g,O,T,f]):i(F,e));const I=/*@__PURE__*/ p(e=>e===r?u(`CreateCollection`,`{input:#1,output:#7:1,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$10(>2)@"%Request";$9({name:$2,fields:#3:3,default_sorting_field:$4($2),token_separators:$4(#5:0),synonym_sets:$4(#5:0),enable_nested_fields:$4($6),symbols_to_index:$4(#5:0),voice_query_model:$4(#7:0),metadata:$4($8)}).pipe($1({method:"POST",uri:"/collections",code:200}))`,[m,y,s,__d19,_,__d12,n,__d18,f,c,v,k,A,h,g,O]):i(I,e));const L=/*@__PURE__*/ p(e=>e===r?u(`CreateConversationModel`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({id:$3($2),model_name:$2,api_key:$3($2.pipe($4({}))),history_collection:$2,account_id:$3($2),system_prompt:$3($2),ttl:$3($5),max_bytes:$5,vllm_url:$3($2)}).pipe($1({method:"POST",uri:"/conversations/models",code:200}))`,[m,y,s,_,w,a,c,v,__d20,k,h,g,O]):i(L,e));const R=/*@__PURE__*/ p(e=>e===r?u(`CreateKey`,`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>2)@"%Request";$6({value:$3($2),description:$2,actions:#4:0,collections:#4:0,expires_at:$3($5)}).pipe($1({method:"POST",uri:"/keys",code:200}))`,[m,y,s,_,__d12,a,c,v,__d21,k,A,h,g,O]):i(R,e));const z=/*@__PURE__*/ p(e=>e===r?u(`CreateNLSearchModel`,`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({model_name:$3($2),api_key:$3($2.pipe($4({}))),api_url:$3($2),max_bytes:$3($5),temperature:$3($5),system_prompt:$3($2),top_p:$3($5),top_k:$3($5),stop_sequences:$3(#6:0),api_version:$3($2),project_id:$3($2),access_token:$3($2.pipe($4({}))),refresh_token:$3($2.pipe($4({}))),client_id:$3($2),client_secret:$3($2.pipe($4({}))),region:$3($2),max_output_tokens:$3($5),account_id:$3($2),id:$3($2)}).pipe($1({method:"POST",uri:"/nl_search_models",code:200}))`,[m,y,s,_,w,a,__d12,c,v,__d0,k,h,g,O]):i(z,e));const B=/*@__PURE__*/ p(e=>e===r?u(`Debug`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"GET",uri:"/debug",code:200}));$2({version:$5($4)})`,[m,y,c,v,s,_,h,g,O]):i(B,e));const V=/*@__PURE__*/ p(e=>e===r?u(`DeleteAlias`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/aliases/{aliasName}",code:200}))`,[m,y,x,s,c,v,__d1,j,h,g,O]):i(V,e));const H=/*@__PURE__*/ p(e=>e===r?u(`DeleteAnalyticsRule`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({ruleName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,y,x,s,c,v,__d2,j,h,g,O]):i(H,e));const U=/*@__PURE__*/ p(e=>e===r?u(`DeleteCollection`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}",code:200}))`,[m,y,x,s,c,v,__d18,j,h,g,O]):i(U,e));const W=/*@__PURE__*/ p(e=>e===r?u(`DeleteConversationModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/conversations/models/{modelId}",code:200}))`,[m,y,x,s,c,v,__d20,j,h,g,O]):i(W,e));const G=/*@__PURE__*/ p(e=>e===r?u(`DeleteCurationSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,y,x,s,c,v,__d3,j,h,g,O]):i(G,e));const K=/*@__PURE__*/ p(e=>e===r?u(`DeleteCurationSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,y,x,s,c,v,__d4,j,h,g,O]):i(K,e));const q=/*@__PURE__*/ p(e=>e===r?u(`DeleteDocument`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,y,x,s,c,v,__d5,j,h,g,O]):i(q,e));const J=/*@__PURE__*/ p(e=>e===r?u(`DeleteDocuments`,`{input:#2,output:#3,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$6(>4)@"%Request%Parameters";$6(>5)@"%Request";$6(>6)@"%Response";$5({filter_by:$1,batch_size:$3($2),ignore_not_found:$3($4),truncate:$3($4)});$5({collectionName:$1.pipe($8()),deleteDocumentsParameters:$3(#1.pipe($9()))}).pipe($7({method:"DELETE",uri:"/collections/{collectionName}/documents",code:200}));$5({num_deleted:$2})`,[m,s,a,_,n,c,v,y,x,S,j,h,g,O]):i(J,e));const Y=/*@__PURE__*/ p(e=>e===r?u(`DeleteKey`,`{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>3)@"%Request";$5(>4)@"ApiKeyDeleteResponse";$4({keyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/keys/{keyId}",code:200}));$4({id:$3})`,[m,y,x,a,c,v,k,j,h,g,O]):i(Y,e));const X=/*@__PURE__*/ p(e=>e===r?u(`DeleteNLSearchModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/nl_search_models/{modelId}",code:200}))`,[m,y,x,s,c,v,__d4,j,h,g,O]):i(X,e));const Z=/*@__PURE__*/ p(e=>e===r?u(`DeletePreset`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({presetId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/presets/{presetId}",code:200}))`,[m,y,x,s,c,v,__d3,j,h,g,O]):i(Z,e));const Q=/*@__PURE__*/ p(e=>e===r?u(`DeleteStopwordsSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({setId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/stopwords/{setId}",code:200}))`,[m,y,x,s,c,v,__d4,j,h,g,O]):i(Q,e));const ne=/*@__PURE__*/ p(e=>e===r?u(`DeleteSynonymSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,y,x,s,c,v,__d3,j,h,g,O]):i(ne,e));const re=/*@__PURE__*/ p(e=>e===r?u(`DeleteSynonymSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,y,x,s,c,v,__d4,j,h,g,O]):i(re,e));const ie=/*@__PURE__*/ p(e=>e===r?u(`ExportDocuments`,`{input:#2,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$4(>3)@"%Request%Parameters";$4(>4)@"%Request";$3({filter_by:$2($1),include_fields:$2($1),exclude_fields:$2($1)});$3({collectionName:$1.pipe($6()),exportDocumentsParameters:$2(#1.pipe($7()))}).pipe($5({method:"GET",uri:"/collections/{collectionName}/documents/export",code:200}))`,[m,s,_,c,v,y,x,S,__d6,j,h,g,O]):i(ie,e));const ae=/*@__PURE__*/ p(e=>e===r?u(`FlushAnalytics`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/analytics/flush",code:200}))`,[m,y,c,v,__d11,h,g,O]):i(ae,e));const oe=/*@__PURE__*/ p(e=>e===r?u(`GetAlias`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/aliases/{aliasName}",code:200}))`,[m,y,x,s,c,v,__d1,j,h,g,O]):i(oe,e));const se=/*@__PURE__*/ p(e=>e===r?u(`GetAliases`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"CollectionAliasesResponse";$2({}).pipe($1({method:"GET",uri:"/aliases",code:200}));$2({aliases:#2})`,[m,y,c,v,__d1,t,h,g,O]):i(se,e));const ce=/*@__PURE__*/ p(e=>e===r?u(`GetAllConversationModels`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/conversations/models",code:200}));#2.pipe($6())`,[m,y,c,v,__d20,t,C,h,g,O]):i(ce,e));const le=/*@__PURE__*/ p(e=>e===r?u(`GetAllNLSearchModels`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/nl_search_models",code:200}));#2.pipe($6())`,[m,y,c,v,__d0,t,C,h,g,O]):i(le,e));const ue=/*@__PURE__*/ p(e=>e===r?u(`conversation`,`{input:#1,output:#5,errors:[],protocol:$8,retry:$9,telemetry:$10,span:"GetAllPresets"};$3(>6)@"GetAllPresetsRequest";$5.pipe($4([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$3(>7)@"PresetSchema";$7(#3);$3(>8)@"PresetsRetrieveSchema";$2({}).pipe($1({method:"GET",uri:"/presets",code:200}));$2({value:#2,name:$6});$2({presets:#4})`,[m,y,c,v,T,f,s,t,h,g,O]):i(ue,e));const de=/*@__PURE__*/ p(e=>e===r?u(`AnalyticsEventsResponse`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"GetAnalyticsEvents"};$6(>5)@"GetAnalyticsEventsRequest";$6(>6)@"%EventsItem";$9(#2);$6(>7)@"%";$5({user_id:$3.pipe($2()),name:$3.pipe($2()),n:$4.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/events",code:200}));$5({name:$7($3),event_type:$7($3),collection:$7($3),timestamp:$7($4),user_id:$7($3),doc_id:$7($3),doc_ids:$7(#8:0),query:$7($3)});$5({events:#3})`,[m,y,S,s,a,c,v,_,__d12,t,k,h,g,O]):i(de,e));const fe=/*@__PURE__*/ p(e=>e===r?u(`GetAnalyticsRule`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({ruleName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,y,x,s,c,v,__d2,j,h,g,O]):i(fe,e));const pe=/*@__PURE__*/ p(e=>e===r?u(`GetAnalyticsRules`,`{input:#2,output:#3,errors:[],protocol:$10,retry:$11,telemetry:$12,span:"%"};$2(#1:1);$8(>4)@"%Request";$8(>5)@"%Response";$7({rule_tag:$6($5.pipe($4()))}).pipe($3({method:"GET",uri:"/analytics/rules",code:200}));#1.pipe($9())`,[m,__d2,t,y,S,s,_,c,v,C,h,g,O]):i(pe,e));const me=/*@__PURE__*/ p(e=>e===r?u(`AnalyticsStatus`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"Get%"};$3(>3)@"Get%Request";$3(>4)@"%";$2({}).pipe($1({method:"GET",uri:"/analytics/status",code:200}));$2({popular_prefix_queries:$5($4),nohits_prefix_queries:$5($4),log_prefix_queries:$5($4),query_log_events:$5($4),query_counter_events:$5($4),doc_log_events:$5($4),doc_counter_events:$5($4)})`,[m,y,c,v,a,_,h,g,O]):i(me,e));const he=/*@__PURE__*/ p(e=>e===r?u(`GetAPIStats`,`{input:#1,output:#2,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>3)@"%Request";$3(>4)@"APIStatsResponse";$2({}).pipe($1({method:"GET",uri:"/stats.json",code:200}));$2({delete_latency_ms:$5($4),delete_requests_per_second:$5($4),import_latency_ms:$5($4),import_requests_per_second:$5($4),latency_ms:$5($6),overloaded_requests_per_second:$5($4),pending_write_batches:$5($4),requests_per_second:$5($6),search_latency_ms:$5($4),search_requests_per_second:$5($4),total_requests_per_second:$5($4),write_latency_ms:$5($4),write_requests_per_second:$5($4)})`,[m,y,c,v,a,_,f,h,g,O]):i(he,e));const ge=/*@__PURE__*/ p(e=>e===r?u(`GetCollection`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}",code:200}))`,[m,y,x,s,c,v,__d18,j,h,g,O]):i(ge,e));const _e=/*@__PURE__*/ p(e=>e===r?u(`GetCollections`,`{input:#2,output:#4,errors:[],protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>5)@"%Request%Parameters";$5(>6)@"%Request";$9(#8:1);$5(>7)@"%Response";$4({exclude_fields:$2($1),limit:$2($3),offset:$2($3)});$4({getCollectionsParameters:$2(#1.pipe($7()))}).pipe($6({method:"GET",uri:"/collections",code:200}));#3.pipe($10())`,[m,s,_,a,c,v,y,S,__d18,t,C,h,g,O]):i(_e,e));const ve=/*@__PURE__*/ p(e=>e===r?u(`GetConversationModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/conversations/models/{modelId}",code:200}))`,[m,y,x,s,c,v,__d20,j,h,g,O]):i(ve,e));const ye=/*@__PURE__*/ p(e=>e===r?u(`GetCurationSet`,`{input:#1,output:#6:2,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,y,x,s,c,v,__d9,j,h,g,O]):i(ye,e));const be=/*@__PURE__*/ p(e=>e===r?u(`GetCurationSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,y,x,s,c,v,__d10,j,h,g,O]):i(be,e));const xe=/*@__PURE__*/ p(e=>e===r?u(`GetCurationSetItems`,`{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$5(>4)@"%Request";$7(#6:0);$5(>5)@"%Response";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items",code:200}));#2.pipe($8())`,[m,y,x,s,c,v,__d10,t,C,j,h,g,O]):i(xe,e));const Se=/*@__PURE__*/ p(e=>e===r?u(`GetCurationSets`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:2);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/curation_sets",code:200}));#2.pipe($6())`,[m,y,c,v,__d9,t,C,h,g,O]):i(Se,e));const Ce=/*@__PURE__*/ p(e=>e===r?u(`GetDocument`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,y,x,s,c,v,__d5,j,h,g,O]):i(Ce,e));const we=/*@__PURE__*/ p(e=>e===r?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"GetKey"};$5(>2)@"GetKeyRequest";$4({keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/keys/{keyId}",code:200}))`,[m,y,x,a,c,v,__d21,j,h,g,O]]:i(we,e));const Te=/*@__PURE__*/ p(e=>e===r?u(`GetKeys`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"ApiKeysResponse";$2({}).pipe($1({method:"GET",uri:"/keys",code:200}));$2({keys:#2})`,[m,y,c,v,__d21,t,h,g,O]):i(Te,e));const Ee=/*@__PURE__*/ p(e=>e===r?u(`GetMetrics`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"GET",uri:"/metrics.json",code:200}))`,[m,y,c,v,__d5,h,g,O]):i(Ee,e));const De=/*@__PURE__*/ p(e=>e===r?u(`GetNLSearchModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/nl_search_models/{modelId}",code:200}))`,[m,y,x,s,c,v,__d0,j,h,g,O]):i(De,e));const Oe=/*@__PURE__*/ p(e=>e===r?u(`conversation`,`{input:#1,output:#3,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"GetPreset"};$5(>4)@"GetPresetRequest";$7.pipe($6([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$5(>5)@"GetPresetResponse";$4({presetId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/presets/{presetId}",code:200}));$4({value:#2,name:$3})`,[m,y,x,s,c,v,T,f,j,h,g,O]):i(Oe,e));const ke=/*@__PURE__*/ p(e=>e===r?u(`GetSchemaChanges`,`{input:#1,output:#4,errors:[],protocol:$9,retry:$10,telemetry:$11,span:"%"};$3(>5)@"%Request";$3(>6)@"SchemaChangeStatus";$7(#2);$3(>7)@"%Response";$2({}).pipe($1({method:"GET",uri:"/operations/schema_changes",code:200}));$2({collection:$5($4),validated_docs:$5($6),altered_docs:$5($6)});#3.pipe($8())`,[m,y,c,v,s,_,a,t,C,h,g,O]):i(ke,e));const Ae=/*@__PURE__*/ p(e=>e===r?u(`StemmingDictionary`,`{input:#1,output:#4,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"Get%"};$5(>5)@"Get%Request";$5(>6)@"%WordsItem";$6(#2);$5(>7)@"%";$4({dictionaryId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stemming/dictionaries/{dictionaryId}",code:200}));$4({word:$3,root:$3});$4({id:$3,words:#3})`,[m,y,x,s,c,v,t,j,h,g,O]):i(Ae,e));const je=/*@__PURE__*/ p(e=>e===r?u(`GetStopwordsSet`,`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>3)@"%Request";$5(>4)@"StopwordsSetRetrieveSchema";$4({setId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stopwords/{setId}",code:200}));$4({stopwords:#6:0})`,[m,y,x,s,c,v,__d13,j,h,g,O]):i(je,e));const Me=/*@__PURE__*/ p(e=>e===r?u(`GetStopwordsSets`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"StopwordsSetsRetrieveAllSchema";$2({}).pipe($1({method:"GET",uri:"/stopwords",code:200}));$2({stopwords:#2})`,[m,y,c,v,__d13,t,h,g,O]):i(Me,e));const Ne=/*@__PURE__*/ p(e=>e===r?u(`GetSynonymSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,y,x,s,c,v,__d16,j,h,g,O]):i(Ne,e));const Pe=/*@__PURE__*/ p(e=>e===r?u(`GetSynonymSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,y,x,s,c,v,__d14,j,h,g,O]):i(Pe,e));const Fe=/*@__PURE__*/ p(e=>e===r?u(`GetSynonymSetItems`,`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items",code:200}));#7:0.pipe($6())`,[m,y,x,s,c,v,C,__d15,j,h,g,O]):i(Fe,e));const Ie=/*@__PURE__*/ p(e=>e===r?u(`GetSynonymSets`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/synonym_sets",code:200}));#2.pipe($6())`,[m,y,c,v,__d16,t,C,h,g,O]):i(Ie,e));const Le=/*@__PURE__*/ p(e=>e===r?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"Health"};$3(>2)@"HealthRequest";$2({}).pipe($1({method:"GET",uri:"/health",code:200}))`,[m,y,c,v,__d11,h,g,O]]:i(Le,e));const Re=/*@__PURE__*/ p(e=>e===r?u(`ImportDocuments`,`{input:#2,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$6(>3)@"%Request%Parameters";$6(>4)@"%Request";$5({batch_size:$2($1),return_id:$2($3),remote_embedding_batch_size:$2($1),return_doc:$2($3),action:$2($4),dirty_values:$2($4)});$5({collectionName:$4.pipe($8()),importDocumentsParameters:$2(#1.pipe($9()))}).pipe($7({method:"POST",uri:"/collections/{collectionName}/documents/import",code:200}))`,[m,a,_,n,s,c,v,y,x,S,__d6,k,j,h,g,O]):i(Re,e));const ze=/*@__PURE__*/ p(e=>e===r?u(`ImportStemmingDictionary`,`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({id:$3.pipe($2()),body:$3.pipe($4())}).pipe($1({method:"POST",uri:"/stemming/dictionaries/import",code:200}))`,[m,y,S,s,b,c,v,__d6,k,h,g,O]):i(ze,e));const Be=/*@__PURE__*/ p(e=>e===r?u(`IndexDocument`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({collectionName:$3.pipe($2()),action:$5($3.pipe($4())),dirty_values:$5($3.pipe($4()))}).pipe($1({method:"POST",uri:"/collections/{collectionName}/documents",code:200}))`,[m,y,x,s,S,_,c,v,__d5,j,h,g,O]):i(Be,e));const Ve=/*@__PURE__*/ p(e=>e===r?u(`ListStemmingDictionaries`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"GET",uri:"/stemming/dictionaries",code:200}));$2({dictionaries:$5(#4:0)})`,[m,y,c,v,__d12,_,h,g,O]):i(Ve,e));const He=/*@__PURE__*/ p(e=>e===r?u(`SearchCollection`,`{input:#2,output:#3,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$6(>4)@"SearchParameters";$6(>5)@"%Request";$6(>6)@"SearchResult";$5({q:$2($1),query_by:$2($1),validate_field_names:$2($3),nl_query:$2($3),nl_model_id:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($4),max_extra_suffix:$2($4),filter_by:$2($1),enable_lazy_filter:$2($3),max_filter_by_candidates:$2($4),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($4),facet_query:$2($1),facet_query_num_typos:$2($4),num_typos:$2($1),page:$2($4),per_page:$2($4),limit:$2($4),offset:$2($4),group_by:$2($1),group_limit:$2($4),group_missing_values:$2($3),group_max_candidates:$2($4),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($4),highlight_start_tag:$2($1),highlight_end_tag:$2($1),enable_highlight_v1:$2($3),enable_analytics:$2($3),snippet_threshold:$2($4),synonym_sets:$2($1),drop_tokens_threshold:$2($4),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($4),enable_typos_for_alpha_numerical_tokens:$2($3),filter_curated_hits:$2($3),enable_synonyms:$2($3),synonym_prefix:$2($3),demote_synonym_match:$2($3),synonym_num_typos:$2($4),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($3),split_join_tokens:$2($1),pre_segmented_query:$2($3),preset:$2($1),enable_curations:$2($3),prioritize_exact_match:$2($3),max_candidates:$2($4),prioritize_token_position:$2($3),prioritize_num_matching_fields:$2($3),enable_typos_for_numerical_tokens:$2($3),exhaustive_search:$2($3),search_cutoff_ms:$2($4),limit_hits:$2($4),use_cache:$2($3),cache_ttl:$2($4),min_len_1typo:$2($4),min_len_2typo:$2($4),vector_query:$2($1),remote_embedding_timeout_ms:$2($4),remote_embedding_num_tries:$2($4),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($4),facet_sample_threshold:$2($4),facet_sample_slope:$2($4),voice_query:$2($1),conversation:$2($3),conversation_model_id:$2($1),conversation_id:$2($1)});$5({collectionName:$1.pipe($8()),searchParameters:#1.pipe($9())}).pipe($7({method:"GET",uri:"/collections/{collectionName}/documents/search",code:200}));$5({facet_counts:$2(#10:4),found:$2($4),found_docs:$2($4),search_time_ms:$2($4),out_of:$2($4),search_cutoff:$2($3),page:$2($4),grouped_hits:$2(#10:16),hits:$2(#10:14),request_params:$2(#10:18),conversation:$2(#10:19),union_request_params:$2(#10:20),metadata:$2(#10:9)})`,[m,s,_,n,a,c,v,y,x,S,__d17,k,j,h,g,O]):i(He,e));const Ue=/*@__PURE__*/ p(e=>e===r?u(`MultiSearchResult`,`{input:#4,output:#7,errors:[$12],protocol:$13,retry:$14,telemetry:$15,span:"SearchMulti"};$7(>8)@"MultiSearchCollectionParameters";$8(#1);$7(>9)@"MultiSearchParameters";$7(>10)@"SearchMultiRequest";$7(>11)@"%Item";$8(#5);$7(>12)@"%";$6({q:$2($1),query_by:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($3),max_extra_suffix:$2($3),filter_by:$2($1),enable_lazy_filter:$2($4),max_filter_by_candidates:$2($3),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($3),facet_query:$2($1),facet_query_num_typos:$2($3),num_typos:$2($1),page:$2($3),per_page:$2($3),limit:$2($3),offset:$2($3),group_by:$2($1),group_limit:$2($3),group_missing_values:$2($4),group_max_candidates:$2($3),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($3),highlight_start_tag:$2($1),highlight_end_tag:$2($1),snippet_threshold:$2($3),drop_tokens_threshold:$2($3),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($3),enable_typos_for_alpha_numerical_tokens:$2($4),filter_curated_hits:$2($4),enable_synonyms:$2($4),enable_analytics:$2($4),synonym_prefix:$2($4),demote_synonym_match:$2($4),synonym_num_typos:$2($3),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($4),pre_segmented_query:$2($4),preset:$2($1),enable_curations:$2($4),prioritize_exact_match:$2($4),prioritize_token_position:$2($4),prioritize_num_matching_fields:$2($4),enable_typos_for_numerical_tokens:$2($4),exhaustive_search:$2($4),search_cutoff_ms:$2($3),limit_hits:$2($3),use_cache:$2($4),cache_ttl:$2($3),min_len_1typo:$2($3),min_len_2typo:$2($3),vector_query:$2($1),remote_embedding_timeout_ms:$2($3),remote_embedding_num_tries:$2($3),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($3),facet_sample_threshold:$2($3),facet_sample_slope:$2($3),voice_query:$2($1),conversation:$2($4),conversation_model_id:$2($1),conversation_id:$2($1),validate_field_names:$2($4),collection:$2($1),x_typesense_api_key:$2($1.pipe($5("x-typesense-api-key")))});$6({q:$2($1),query_by:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($3),max_extra_suffix:$2($3),filter_by:$2($1),enable_lazy_filter:$2($4),max_filter_by_candidates:$2($3),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($3),facet_query:$2($1),facet_query_num_typos:$2($3),num_typos:$2($1),page:$2($3),per_page:$2($3),limit:$2($3),offset:$2($3),group_by:$2($1),group_limit:$2($3),group_missing_values:$2($4),group_max_candidates:$2($3),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($3),highlight_start_tag:$2($1),highlight_end_tag:$2($1),snippet_threshold:$2($3),drop_tokens_threshold:$2($3),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($3),enable_typos_for_alpha_numerical_tokens:$2($4),filter_curated_hits:$2($4),enable_synonyms:$2($4),enable_analytics:$2($4),synonym_prefix:$2($4),demote_synonym_match:$2($4),synonym_num_typos:$2($3),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($4),pre_segmented_query:$2($4),preset:$2($1),enable_curations:$2($4),prioritize_exact_match:$2($4),prioritize_token_position:$2($4),prioritize_num_matching_fields:$2($4),enable_typos_for_numerical_tokens:$2($4),exhaustive_search:$2($4),search_cutoff_ms:$2($3),limit_hits:$2($3),use_cache:$2($4),cache_ttl:$2($3),min_len_1typo:$2($3),min_len_2typo:$2($3),vector_query:$2($1),remote_embedding_timeout_ms:$2($3),remote_embedding_num_tries:$2($3),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($3),facet_sample_threshold:$2($3),facet_sample_slope:$2($3),voice_query:$2($1),conversation:$2($4),conversation_model_id:$2($1),conversation_id:$2($1),validate_field_names:$2($4)});$6({multiSearchParameters:#3.pipe($10()),union:$2($4),searches:#2}).pipe($9({method:"POST",uri:"/multi_search",code:200}));$6({facet_counts:$2(#11:4),found:$2($3),found_docs:$2($3),search_time_ms:$2($3),out_of:$2($3),search_cutoff:$2($4),page:$2($3),grouped_hits:$2(#11:16),hits:$2(#11:14),request_params:$2(#11:18),conversation:$2(#11:19),union_request_params:$2(#11:20),metadata:$2(#11:9),code:$2($3),error:$2($1)});$6({results:#6,conversation:$2(#11:19)})`,[m,s,_,a,n,te,c,v,t,y,S,__d17,k,h,g,O]):i(Ue,e));const We=/*@__PURE__*/ p(e=>e===r?u(`TakeSnapshot`,`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>2)@"%Request";$4({snapshot_path:$3.pipe($2())}).pipe($1({method:"POST",uri:"/operations/snapshot",code:200}))`,[m,y,S,s,c,v,__d7,h,g,O]):i(We,e));const Ge=/*@__PURE__*/ p(e=>e===r?u(`ToggleSlowRequestLog`,`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>2)@"%Request";$4({log_slow_requests_time_ms:$3.pipe($2("log-slow-requests-time-ms"))}).pipe($1({method:"POST",uri:"/config",code:200}))`,[m,y,te,a,c,v,__d7,h,g,O]):i(Ge,e));const Ke=/*@__PURE__*/ p(e=>e===r?u(`UpdateCollection`,`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>3)@"%Request";$9(>4)@"CollectionUpdateSchema";$8({collectionName:$3.pipe($2()),fields:$5(#4:3),synonym_sets:$5(#6:0),metadata:$5($7)}).pipe($1({method:"PATCH",uri:"/collections/{collectionName}",code:200}));$8({fields:$5(#4:3),synonym_sets:$5(#6:0),metadata:$5($7)})`,[m,y,x,s,__d19,_,__d12,f,c,v,k,j,h,g,O]):i(Ke,e));const qe=/*@__PURE__*/ p(e=>e===r?u(`UpdateConversationModel`,`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"%"};$8(>2)@"%Request";$7({modelId:$3.pipe($2()),id:$4($3),model_name:$4($3),api_key:$4($3.pipe($5({}))),history_collection:$4($3),account_id:$4($3),system_prompt:$4($3),ttl:$4($6),max_bytes:$4($6),vllm_url:$4($3)}).pipe($1({method:"PUT",uri:"/conversations/models/{modelId}",code:200}))`,[m,y,x,s,_,w,a,c,v,__d20,k,j,h,g,O]):i(qe,e));const Je=/*@__PURE__*/ p(e=>e===r?u(`UpdateDocument`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({collectionName:$3.pipe($2()),documentId:$3.pipe($2()),dirty_values:$5($3.pipe($4()))}).pipe($1({method:"PATCH",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,y,x,s,S,_,c,v,__d5,j,h,g,O]):i(Je,e));const $=/*@__PURE__*/ p(e=>e===r?u(`UpdateDocuments`,`{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$4(>4)@"%Request%Parameters";$4(>5)@"%Request";$4(>6)@"%Response";$3({filter_by:$2($1)});$3({collectionName:$1.pipe($6()),updateDocumentsParameters:$2(#1.pipe($7()))}).pipe($5({method:"PATCH",uri:"/collections/{collectionName}/documents",code:200}));$3({num_updated:$8})`,[m,s,_,c,v,y,x,S,a,k,j,h,g,O]):i($,e));const Ye=/*@__PURE__*/ p(e=>e===r?u(`UpdateNLSearchModel`,`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$9(>2)@"%Request";$8({modelId:$3.pipe($2()),model_name:$4($3),api_key:$4($3.pipe($5({}))),api_url:$4($3),max_bytes:$4($6),temperature:$4($6),system_prompt:$4($3),top_p:$4($6),top_k:$4($6),stop_sequences:$4(#7:0),api_version:$4($3),project_id:$4($3),access_token:$4($3.pipe($5({}))),refresh_token:$4($3.pipe($5({}))),client_id:$4($3),client_secret:$4($3.pipe($5({}))),region:$4($3),max_output_tokens:$4($6),account_id:$4($3),id:$4($3)}).pipe($1({method:"PUT",uri:"/nl_search_models/{modelId}",code:200}))`,[m,y,x,s,_,w,a,__d12,c,v,__d0,k,j,h,g,O]):i(Ye,e));const Xe=/*@__PURE__*/ p(e=>e===r?u(`UpsertAlias`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2()),collection_name:$3}).pipe($1({method:"PUT",uri:"/aliases/{aliasName}",code:200}))`,[m,y,x,s,c,v,__d1,k,j,h,g,O]):i(Xe,e));const Ze=/*@__PURE__*/ p(e=>e===r?u(`UpsertAnalyticsRule`,`{input:#1,output:#5:1,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({ruleName:$3.pipe($2()),name:$4($3),rule_tag:$4($3),params:$4(#5:0)}).pipe($1({method:"PUT",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,y,x,s,_,__d2,c,v,k,h,g,O]):i(Ze,e));const Qe=/*@__PURE__*/ p(e=>e===r?u(`UpsertCurationSet`,`{input:#1,output:#4:2,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({curationSetName:$3.pipe($2()),items:#4:1,description:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,y,x,s,__d9,_,c,v,k,h,g,O]):i(Qe,e));const $e=/*@__PURE__*/ p(e=>e===r?u(`UpsertCurationSetItem`,`{input:#1,output:#11:0,errors:[$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$10(>2)@"%Request";$9({curationSetName:$3.pipe($2()),itemId:$3.pipe($2()),rule:#4:0,includes:$5(#4:2),excludes:$5(#4:3),filter_by:$5($3),remove_matched_tokens:$5($6),metadata:$5($7),sort_by:$5($3),replace_query:$5($3),filter_curated_hits:$5($6),effective_from_ts:$5($8),effective_to_ts:$5($8),stop_processing:$5($6),id:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,y,x,s,__d8,_,n,f,a,c,v,__d10,k,h,g,O]):i($e,e));const et=/*@__PURE__*/ p(e=>e===r?u(`conversation`,`{input:#2,output:#4,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"UpsertPreset"};$2.pipe($1([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$7(>5)@"UpsertPresetRequest";$2.pipe($1([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$7(>6)@"UpsertPresetResponse";$6({presetId:$5.pipe($4()),value:#1}).pipe($3({method:"PUT",uri:"/presets/{presetId}",code:200}));$6({value:#3,name:$5})`,[m,T,f,y,x,s,c,v,k,h,g,O]):i(et,e));const tt=/*@__PURE__*/ p(e=>e===r?u(`UpsertStopwordsSet`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({setId:$3.pipe($2()),stopwords:#4:0,locale:$5($3)}).pipe($1({method:"PUT",uri:"/stopwords/{setId}",code:200}))`,[m,y,x,s,__d12,_,c,v,__d13,k,h,g,O]):i(tt,e));const nt=/*@__PURE__*/ p(e=>e===r?u(`UpsertSynonymSet`,`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({synonymSetName:$3.pipe($2()),items:#4:0}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,y,x,s,__d15,c,v,__d16,k,h,g,O]):i(nt,e));const rt=/*@__PURE__*/ p(e=>e===r?u(`UpsertSynonymSetItem`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2()),synonyms:#4:0,root:$5($3),locale:$5($3),symbols_to_index:$5(#4:0)}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,y,x,s,__d12,_,c,v,__d14,k,h,g,O]):i(rt,e));const it=/*@__PURE__*/ p(e=>e===r?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"Vote"};$3(>2)@"VoteRequest";$2({}).pipe($1({method:"POST",uri:"/operations/vote",code:200}))`,[m,y,c,v,__d7,h,g,O]]:i(it,e));function __d0(){return[`$7(>1)@"CreateNLSearchModelResponse";$6({model_name:$2($1),api_key:$2($1.pipe($3({}))),api_url:$2($1),max_bytes:$2($4),temperature:$2($4),system_prompt:$2($1),top_p:$2($4),top_k:$2($4),stop_sequences:$2(#5:0),api_version:$2($1),project_id:$2($1),access_token:$2($1.pipe($3({}))),refresh_token:$2($1.pipe($3({}))),client_id:$2($1),client_secret:$2($1.pipe($3({}))),region:$2($1),max_output_tokens:$2($4),account_id:$2($1),id:$1})`,[m,s,_,w,a,__d12,c,v]]}function __d1(){return[`$3(>1)@"CollectionAlias";$2({name:$1,collection_name:$1})`,[m,s,c,v]]}function __d2(){return[`$7(>2)@"AnalyticsRuleCreateParams";$7(>3)@"AnalyticsRuleCreate";$6({destination_collection:$2($1),limit:$2($3),capture_search_requests:$2($4),meta_fields:$2(#5:0),expand_query:$2($4),counter_field:$2($1),weight:$2($3)});$6({name:$1,type:$1,collection:$1,event_type:$1,rule_tag:$2($1),params:$2(#0)})`,[m,s,_,a,n,__d12,c,v]]}function __d3(){return[`$3(>1)@"CurationSetDeleteSchema";$2({name:$1})`,[m,s,c,v]]}function __d4(){return[`$3(>1)@"CurationItemDeleteSchema";$2({id:$1})`,[m,s,c,v]]}function __d5(){return[`$3(>1)@"DeleteDocumentResponse";$2.pipe($1())`,[m,C,f,v]]}function __d6(){return[`$2(>1)@"ExportDocumentsResponse";$1({})`,[m,c,v]]}function __d7(){return[`$3(>1)@"SuccessStatus";$2({success:$1})`,[m,n,c,v]]}function __d8(){return[`$5(>4)@"CurationRule";$5(>5)@"CurationInclude";$7(#1);$7(#8:0);$4({tags:$2(#1:0),query:$2($3),match:$2($3),filter_by:$2($3)});$4({id:$3,position:$6})`,[m,__d12,_,s,c,v,a,t,__d4]]}function __d9(){return[`$8(>3)@"CurationItemCreateSchema";$9(#0);$8(>4)@"GetCurationSetResponse";$7({rule:#1:0,includes:$2(#1:2),excludes:$2(#1:3),filter_by:$2($3),remove_matched_tokens:$2($4),metadata:$2($5),sort_by:$2($3),replace_query:$2($3),filter_curated_hits:$2($4),effective_from_ts:$2($6),effective_to_ts:$2($6),stop_processing:$2($4),id:$2($3)});$7({items:#1,description:$2($3),name:$3})`,[m,__d8,_,s,n,f,a,c,v,t]]}function __d10(){return[`$8(>1)@"GetCurationSetItemResponse";$7({rule:#1:0,includes:$2(#1:2),excludes:$2(#1:3),filter_by:$2($3),remove_matched_tokens:$2($4),metadata:$2($5),sort_by:$2($3),replace_query:$2($3),filter_curated_hits:$2($4),effective_from_ts:$2($6),effective_to_ts:$2($6),stop_processing:$2($4),id:$3})`,[m,__d8,_,s,n,f,a,c,v]]}function __d11(){return[`$3(>1)@"AnalyticsEventCreateResponse";$2({ok:$1})`,[m,n,c,v]]}function __d12(){return[`$2($1)`,[m,s,t]]}function __d13(){return[`$5(>1)@"StopwordsSetSchema";$4({id:$1,stopwords:#2:0,locale:$3($1)})`,[m,s,__d12,_,c,v]]}function __d14(){return[`$5(>1)@"SynonymItemSchema";$4({id:$1,synonyms:#2:0,root:$3($1),locale:$3($1),symbols_to_index:$3(#2:0)})`,[m,s,__d12,_,c,v]]}function __d15(){return[`$2(#1:0)`,[m,__d14,t]]}function __d16(){return[`$4(>1)@"GetSynonymSetResponse";$3({items:#1:0,name:$2})`,[m,__d15,s,c,v]]}function __d17(){return[`$6(>21)@"FacetCountsCountsItem";$7(#0);$6(>22)@"FacetCountsStats";$6(>23)@"FacetCounts";$7(#3);$7($4);$7($1);$6(>24)@"SearchHighlight";$7(#7);$10($3,$4);$6(>25)@"SearchResultHitTextMatchInfo";$10($3,$1);$6(>26)@"SearchResultHitHybridSearchInfo";$6(>27)@"SearchResultHit";$7(#13);$6(>28)@"SearchGroupedHit";$7(#15);$6(>29)@"SearchRequestParamsVoiceQuery";$6(>30)@"SearchRequestParams";$6(>31)@"SearchResultConversation";$7(#18);$5({count:$2($1),highlighted:$2($3),value:$2($3),parent:$2($4)});$5({max:$2($1),min:$2($1),sum:$2($1),total_values:$2($1),avg:$2($1)});$5({counts:$2(#1),field_name:$2($3),sampled:$2($8),stats:$2(#2)});$5({field:$2($3),snippet:$2($3),snippets:$2(#9:0),value:$2($3),values:$2(#9:0),indices:$2(#6),matched_tokens:$2(#5)});$5({best_field_score:$2($3),best_field_weight:$2($1),fields_matched:$2($1),num_tokens_dropped:$2($1),score:$2($3),tokens_matched:$2($1),typo_prefix_score:$2($1)});$5({rank_fusion_score:$2($1)});$5({highlights:$2(#8),highlight:$2(#9),document:$2(#9),text_match:$2($1),text_match_info:$2(#10),geo_distance_meters:$2(#11),vector_distance:$2($1),hybrid_search_info:$2(#12),search_index:$2($1)});$5({found:$2($1),group_key:#5,hits:#14});$5({transcribed_query:$2($3)});$5({collection_name:$3,first_q:$2($3),q:$3,per_page:$1,voice_query:$2(#17)});$5({answer:$3,conversation_history:#5,conversation_id:$3,query:$3})`,[m,a,_,s,f,c,v,t,n,__d12,ee]]}function __d18(){return[`$4(>2)@"VoiceQueryModelCollectionConfig";$4(>3)@"CreateCollectionResponse";$3({model_name:$2($1)});$3({name:$1,fields:#5:3,default_sorting_field:$2($1),token_separators:$2(#6:0),synonym_sets:$2(#6:0),enable_nested_fields:$2($7),symbols_to_index:$2(#6:0),voice_query_model:$2(#0),metadata:$2($8),num_documents:$9,created_at:$9})`,[m,s,_,c,v,__d19,__d12,n,f,a]]}function __d19(){return[`$5(>4)@"FieldEmbedModelConfig";$5(>5)@"FieldEmbed";$5(>6)@"Field";$9(#2);$4({model_name:$1,api_key:$3($1.pipe($2({}))),url:$3($1),access_token:$3($1.pipe($2({}))),refresh_token:$3($1.pipe($2({}))),client_id:$3($1),client_secret:$3($1.pipe($2({}))),project_id:$3($1),indexing_prefix:$3($1),query_prefix:$3($1)});$4({from:#6:0,model_config:#0});$4({name:$1,type:$1,optional:$3($7),facet:$3($7),index:$3($7),locale:$3($1),sort:$3($7),infix:$3($7),reference:$3($1),async_reference:$3($7),num_dim:$3($8),drop:$3($7),store:$3($7),vec_dist:$3($1),range_index:$3($7),stem:$3($7),stem_dictionary:$3($1),token_separators:$3(#6:0),symbols_to_index:$3(#6:0),embed:$3(#1)})`,[m,s,w,_,c,v,__d12,n,a,t]]}function __d20(){return[`$6(>1)@"CreateConversationModelResponse";$5({id:$1,model_name:$1,api_key:$3($1.pipe($2({}))),history_collection:$1,account_id:$3($1),system_prompt:$3($1),ttl:$3($4),max_bytes:$4,vllm_url:$3($1)})`,[m,s,w,_,a,c,v]]}function __d21(){return[`$6(>1)@"CreateKeyResponse";$5({value:$2($1),description:$1,actions:#3:0,collections:#3:0,expires_at:$2($4),id:$2($4),value_prefix:$2($1)})`,[m,s,_,__d12,a,c,v]]}export{k as BadRequest,A as Conflict,j as NotFound,M as clearCache,N as compactDb,P as createAnalyticsEvent,F as createAnalyticsRule,I as createCollection,L as createConversationModel,R as createKey,z as createNLSearchModel,B as debug,V as deleteAlias,H as deleteAnalyticsRule,U as deleteCollection,W as deleteConversationModel,G as deleteCurationSet,K as deleteCurationSetItem,q as deleteDocument,J as deleteDocuments,Y as deleteKey,X as deleteNLSearchModel,Z as deletePreset,Q as deleteStopwordsSet,ne as deleteSynonymSet,re as deleteSynonymSetItem,ie as exportDocuments,ae as flushAnalytics,he as getAPIStats,oe as getAlias,se as getAliases,ce as getAllConversationModels,le as getAllNLSearchModels,ue as getAllPresets,de as getAnalyticsEvents,fe as getAnalyticsRule,pe as getAnalyticsRules,me as getAnalyticsStatus,ge as getCollection,_e as getCollections,ve as getConversationModel,ye as getCurationSet,be as getCurationSetItem,xe as getCurationSetItems,Se as getCurationSets,Ce as getDocument,we as getKey,Te as getKeys,Ee as getMetrics,De as getNLSearchModel,Oe as getPreset,ke as getSchemaChanges,Ae as getStemmingDictionary,je as getStopwordsSet,Me as getStopwordsSets,Ne as getSynonymSet,Pe as getSynonymSetItem,Fe as getSynonymSetItems,Ie as getSynonymSets,Le as health,Re as importDocuments,ze as importStemmingDictionary,Be as indexDocument,Ve as listStemmingDictionaries,He as searchCollection,Ue as searchMulti,We as takeSnapshot,Ge as toggleSlowRequestLog,Ke as updateCollection,qe as updateConversationModel,Je as updateDocument,$ as updateDocuments,Ye as updateNLSearchModel,Xe as upsertAlias,Ze as upsertAnalyticsRule,Qe as upsertCurationSet,$e as upsertCurationSetItem,et as upsertPreset,tt as upsertStopwordsSet,nt as upsertSynonymSet,rt as upsertSynonymSetItem,it as vote};
|
|
1
|
+
import{Ba as e,Wb as t,Xb as n,a as r,c as i,e as a,ec as o,fc as ee,hc as s,ic as c,k as l,kc as u,l as d,m as f,nc as p,pc as m,protocol$TypesenseProtocol as h,retry$Retry as g,traits$Body as te,traits$Http as _,traits$HttpBody as ne,traits$Label as v,traits$Query as y,traits$RawResponseRoot as b,traits$SensitiveValue as x,traits$UnionCases as S,traits$applyErrorMatchers as C,uc as w,vc as T,ya as E}from"../_bundle/sdk.js";const D={system:`typesense-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Typesense`,service:`Typesense`,labels:`typesense`,propagate:`w3c`};const O=/*@__PURE__*/ a(function BadRequest(e){return d(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[m,E,o,s,u,C]])});const k=/*@__PURE__*/ a(function Conflict(t){return d(t,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[m,e,o,s,u,C]])});const A=/*@__PURE__*/ a(function NotFound(e){return d(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[m,E,o,s,u,C]])});const j=/*@__PURE__*/ f(e=>e===r?l(`ClearCache`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/operations/cache/clear",code:200}))`,[m,_,c,T,__d7,h,g,D]):i(j,e));const M=/*@__PURE__*/ f(e=>e===r?l(`CompactDb`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/operations/db/compact",code:200}))`,[m,_,c,T,__d7,h,g,D]):i(M,e));const N=/*@__PURE__*/ f(e=>e===r?l(`CreateAnalyticsEvent`,`{input:#2,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%RequestData";$5(>4)@"%Request";$4({user_id:$2($1),doc_id:$2($1),doc_ids:$2(#3:0),q:$2($1),analytics_tag:$2($1)});$4({name:$1,event_type:$1,data:#1}).pipe($6({method:"POST",uri:"/analytics/events",code:200}))`,[m,s,w,__d12,c,T,_,__d11,O,h,g,D]):i(N,e));const P=/*@__PURE__*/ f(e=>e===r?l(`CreateAnalyticsRule`,`{input:#2,output:#4,errors:[$6],protocol:$7,retry:$8,telemetry:$9,span:"%"};~5;$4(>6)@"%Request";~5;$4(>7)@"%Response";$11.pipe($10([["name","type","collection","event_type","rule_tag","params"],[]]));$3({body:#1.pipe($2())}).pipe($1({method:"POST",uri:"/analytics/rules",code:200}));#3.pipe($5())`,[m,_,ne,c,T,b,O,h,g,D,S,p]):i(P,e));const F=/*@__PURE__*/ f(e=>e===r?l(`CreateCollection`,`{input:#1,output:#7:1,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$10(>2)@"%Request";$9({name:$2,fields:#3:3,default_sorting_field:$4($2),token_separators:$4(#5:0),synonym_sets:$4(#5:0),enable_nested_fields:$4($6),symbols_to_index:$4(#5:0),voice_query_model:$4(#7:0),metadata:$4($8)}).pipe($1({method:"POST",uri:"/collections",code:200}))`,[m,_,s,__d19,w,__d12,n,__d18,p,c,T,O,k,h,g,D]):i(F,e));const I=/*@__PURE__*/ f(e=>e===r?l(`CreateConversationModel`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({id:$3($2),model_name:$2,api_key:$3($2.pipe($4({}))),history_collection:$2,account_id:$3($2),system_prompt:$3($2),ttl:$3($5),max_bytes:$5,vllm_url:$3($2)}).pipe($1({method:"POST",uri:"/conversations/models",code:200}))`,[m,_,s,w,x,o,c,T,__d20,O,h,g,D]):i(I,e));const L=/*@__PURE__*/ f(e=>e===r?l(`CreateKey`,`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>2)@"%Request";$6({value:$3($2),description:$2,actions:#4:0,collections:#4:0,expires_at:$3($5)}).pipe($1({method:"POST",uri:"/keys",code:200}))`,[m,_,s,w,__d12,o,c,T,__d21,O,k,h,g,D]):i(L,e));const R=/*@__PURE__*/ f(e=>e===r?l(`CreateNLSearchModel`,`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({model_name:$3($2),api_key:$3($2.pipe($4({}))),api_url:$3($2),max_bytes:$3($5),temperature:$3($5),system_prompt:$3($2),top_p:$3($5),top_k:$3($5),stop_sequences:$3(#6:0),api_version:$3($2),project_id:$3($2),access_token:$3($2.pipe($4({}))),refresh_token:$3($2.pipe($4({}))),client_id:$3($2),client_secret:$3($2.pipe($4({}))),region:$3($2),max_output_tokens:$3($5),account_id:$3($2),id:$3($2)}).pipe($1({method:"POST",uri:"/nl_search_models",code:200}))`,[m,_,s,w,x,o,__d12,c,T,__d0,O,h,g,D]):i(R,e));const z=/*@__PURE__*/ f(e=>e===r?l(`Debug`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"GET",uri:"/debug",code:200}));$2({version:$5($4)})`,[m,_,c,T,s,w,h,g,D]):i(z,e));const B=/*@__PURE__*/ f(e=>e===r?l(`DeleteAlias`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/aliases/{aliasName}",code:200}))`,[m,_,v,s,c,T,__d1,A,h,g,D]):i(B,e));const V=/*@__PURE__*/ f(e=>e===r?l(`DeleteAnalyticsRule`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({ruleName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,_,v,s,c,T,__d2,A,h,g,D]):i(V,e));const H=/*@__PURE__*/ f(e=>e===r?l(`DeleteCollection`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}",code:200}))`,[m,_,v,s,c,T,__d18,A,h,g,D]):i(H,e));const U=/*@__PURE__*/ f(e=>e===r?l(`DeleteConversationModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/conversations/models/{modelId}",code:200}))`,[m,_,v,s,c,T,__d20,A,h,g,D]):i(U,e));const W=/*@__PURE__*/ f(e=>e===r?l(`DeleteCurationSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,_,v,s,c,T,__d3,A,h,g,D]):i(W,e));const G=/*@__PURE__*/ f(e=>e===r?l(`DeleteCurationSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,_,v,s,c,T,__d4,A,h,g,D]):i(G,e));const K=/*@__PURE__*/ f(e=>e===r?l(`DeleteDocument`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,_,v,s,c,T,__d5,A,h,g,D]):i(K,e));const q=/*@__PURE__*/ f(e=>e===r?l(`DeleteDocuments`,`{input:#2,output:#3,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$6(>4)@"%Request%Parameters";$6(>5)@"%Request";$6(>6)@"%Response";$5({filter_by:$1,batch_size:$3($2),ignore_not_found:$3($4),truncate:$3($4)});$5({collectionName:$1.pipe($8()),deleteDocumentsParameters:$3(#1.pipe($9()))}).pipe($7({method:"DELETE",uri:"/collections/{collectionName}/documents",code:200}));$5({num_deleted:$2})`,[m,s,o,w,n,c,T,_,v,y,A,h,g,D]):i(q,e));const J=/*@__PURE__*/ f(e=>e===r?l(`DeleteKey`,`{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>3)@"%Request";$5(>4)@"ApiKeyDeleteResponse";$4({keyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/keys/{keyId}",code:200}));$4({id:$3})`,[m,_,v,o,c,T,O,A,h,g,D]):i(J,e));const Y=/*@__PURE__*/ f(e=>e===r?l(`DeleteNLSearchModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/nl_search_models/{modelId}",code:200}))`,[m,_,v,s,c,T,__d4,A,h,g,D]):i(Y,e));const X=/*@__PURE__*/ f(e=>e===r?l(`DeletePreset`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({presetId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/presets/{presetId}",code:200}))`,[m,_,v,s,c,T,__d3,A,h,g,D]):i(X,e));const Z=/*@__PURE__*/ f(e=>e===r?l(`DeleteStopwordsSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({setId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/stopwords/{setId}",code:200}))`,[m,_,v,s,c,T,__d4,A,h,g,D]):i(Z,e));const re=/*@__PURE__*/ f(e=>e===r?l(`DeleteSynonymSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,_,v,s,c,T,__d3,A,h,g,D]):i(re,e));const ie=/*@__PURE__*/ f(e=>e===r?l(`DeleteSynonymSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,_,v,s,c,T,__d4,A,h,g,D]):i(ie,e));const ae=/*@__PURE__*/ f(e=>e===r?l(`ExportDocuments`,`{input:#2,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$4(>3)@"%Request%Parameters";$4(>4)@"%Request";$3({filter_by:$2($1),include_fields:$2($1),exclude_fields:$2($1)});$3({collectionName:$1.pipe($6()),exportDocumentsParameters:$2(#1.pipe($7()))}).pipe($5({method:"GET",uri:"/collections/{collectionName}/documents/export",code:200}))`,[m,s,w,c,T,_,v,y,__d6,A,h,g,D]):i(ae,e));const oe=/*@__PURE__*/ f(e=>e===r?l(`FlushAnalytics`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"POST",uri:"/analytics/flush",code:200}))`,[m,_,c,T,__d11,h,g,D]):i(oe,e));const se=/*@__PURE__*/ f(e=>e===r?l(`GetAlias`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/aliases/{aliasName}",code:200}))`,[m,_,v,s,c,T,__d1,A,h,g,D]):i(se,e));const ce=/*@__PURE__*/ f(e=>e===r?l(`GetAliases`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"CollectionAliasesResponse";$2({}).pipe($1({method:"GET",uri:"/aliases",code:200}));$2({aliases:#2})`,[m,_,c,T,__d1,t,h,g,D]):i(ce,e));const le=/*@__PURE__*/ f(e=>e===r?l(`GetAllConversationModels`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/conversations/models",code:200}));#2.pipe($6())`,[m,_,c,T,__d20,t,b,h,g,D]):i(le,e));const ue=/*@__PURE__*/ f(e=>e===r?l(`GetAllNLSearchModels`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/nl_search_models",code:200}));#2.pipe($6())`,[m,_,c,T,__d0,t,b,h,g,D]):i(ue,e));const de=/*@__PURE__*/ f(e=>e===r?l(`conversation`,`{input:#1,output:#5,errors:[],protocol:$8,retry:$9,telemetry:$10,span:"GetAllPresets"};$3(>6)@"GetAllPresetsRequest";$5.pipe($4([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$3(>7)@"PresetSchema";$7(#3);$3(>8)@"PresetsRetrieveSchema";$2({}).pipe($1({method:"GET",uri:"/presets",code:200}));$2({value:#2,name:$6});$2({presets:#4})`,[m,_,c,T,S,p,s,t,h,g,D]):i(de,e));const fe=/*@__PURE__*/ f(e=>e===r?l(`AnalyticsEventsResponse`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,telemetry:$13,span:"GetAnalyticsEvents"};$6(>5)@"GetAnalyticsEventsRequest";$6(>6)@"%EventsItem";$9(#2);$6(>7)@"%";$5({user_id:$3.pipe($2()),name:$3.pipe($2()),n:$4.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/events",code:200}));$5({name:$7($3),event_type:$7($3),collection:$7($3),timestamp:$7($4),user_id:$7($3),doc_id:$7($3),doc_ids:$7(#8:0),query:$7($3)});$5({events:#3})`,[m,_,y,s,o,c,T,w,__d12,t,O,h,g,D]):i(fe,e));const pe=/*@__PURE__*/ f(e=>e===r?l(`GetAnalyticsRule`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({ruleName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,_,v,s,c,T,__d2,A,h,g,D]):i(pe,e));const me=/*@__PURE__*/ f(e=>e===r?l(`GetAnalyticsRules`,`{input:#2,output:#3,errors:[],protocol:$10,retry:$11,telemetry:$12,span:"%"};$2(#1:1);$8(>4)@"%Request";$8(>5)@"%Response";$7({rule_tag:$6($5.pipe($4()))}).pipe($3({method:"GET",uri:"/analytics/rules",code:200}));#1.pipe($9())`,[m,__d2,t,_,y,s,w,c,T,b,h,g,D]):i(me,e));const he=/*@__PURE__*/ f(e=>e===r?l(`AnalyticsStatus`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"Get%"};$3(>3)@"Get%Request";$3(>4)@"%";$2({}).pipe($1({method:"GET",uri:"/analytics/status",code:200}));$2({popular_prefix_queries:$5($4),nohits_prefix_queries:$5($4),log_prefix_queries:$5($4),query_log_events:$5($4),query_counter_events:$5($4),doc_log_events:$5($4),doc_counter_events:$5($4)})`,[m,_,c,T,o,w,h,g,D]):i(he,e));const ge=/*@__PURE__*/ f(e=>e===r?l(`GetAPIStats`,`{input:#1,output:#2,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>3)@"%Request";$3(>4)@"APIStatsResponse";$2({}).pipe($1({method:"GET",uri:"/stats.json",code:200}));$2({delete_latency_ms:$5($4),delete_requests_per_second:$5($4),import_latency_ms:$5($4),import_requests_per_second:$5($4),latency_ms:$5($6),overloaded_requests_per_second:$5($4),pending_write_batches:$5($4),requests_per_second:$5($6),search_latency_ms:$5($4),search_requests_per_second:$5($4),total_requests_per_second:$5($4),write_latency_ms:$5($4),write_requests_per_second:$5($4)})`,[m,_,c,T,o,w,p,h,g,D]):i(ge,e));const _e=/*@__PURE__*/ f(e=>e===r?l(`GetCollection`,`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}",code:200}))`,[m,_,v,s,c,T,__d18,A,h,g,D]):i(_e,e));const ve=/*@__PURE__*/ f(e=>e===r?l(`GetCollections`,`{input:#2,output:#4,errors:[],protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>5)@"%Request%Parameters";$5(>6)@"%Request";$9(#8:1);$5(>7)@"%Response";$4({exclude_fields:$2($1),limit:$2($3),offset:$2($3)});$4({getCollectionsParameters:$2(#1.pipe($7()))}).pipe($6({method:"GET",uri:"/collections",code:200}));#3.pipe($10())`,[m,s,w,o,c,T,_,y,__d18,t,b,h,g,D]):i(ve,e));const ye=/*@__PURE__*/ f(e=>e===r?l(`GetConversationModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/conversations/models/{modelId}",code:200}))`,[m,_,v,s,c,T,__d20,A,h,g,D]):i(ye,e));const be=/*@__PURE__*/ f(e=>e===r?l(`GetCurationSet`,`{input:#1,output:#6:2,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,_,v,s,c,T,__d9,A,h,g,D]):i(be,e));const xe=/*@__PURE__*/ f(e=>e===r?l(`GetCurationSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,_,v,s,c,T,__d10,A,h,g,D]):i(xe,e));const Se=/*@__PURE__*/ f(e=>e===r?l(`GetCurationSetItems`,`{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$5(>4)@"%Request";$7(#6:0);$5(>5)@"%Response";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items",code:200}));#2.pipe($8())`,[m,_,v,s,c,T,__d10,t,b,A,h,g,D]):i(Se,e));const Ce=/*@__PURE__*/ f(e=>e===r?l(`GetCurationSets`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:2);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/curation_sets",code:200}));#2.pipe($6())`,[m,_,c,T,__d9,t,b,h,g,D]):i(Ce,e));const we=/*@__PURE__*/ f(e=>e===r?l(`GetDocument`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,_,v,s,c,T,__d5,A,h,g,D]):i(we,e));const Te=/*@__PURE__*/ f(e=>e===r?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"GetKey"};$5(>2)@"GetKeyRequest";$4({keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/keys/{keyId}",code:200}))`,[m,_,v,o,c,T,__d21,A,h,g,D]]:i(Te,e));const Ee=/*@__PURE__*/ f(e=>e===r?l(`GetKeys`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"ApiKeysResponse";$2({}).pipe($1({method:"GET",uri:"/keys",code:200}));$2({keys:#2})`,[m,_,c,T,__d21,t,h,g,D]):i(Ee,e));const De=/*@__PURE__*/ f(e=>e===r?l(`GetMetrics`,`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"%"};$3(>2)@"%Request";$2({}).pipe($1({method:"GET",uri:"/metrics.json",code:200}))`,[m,_,c,T,__d5,h,g,D]):i(De,e));const Oe=/*@__PURE__*/ f(e=>e===r?l(`GetNLSearchModel`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/nl_search_models/{modelId}",code:200}))`,[m,_,v,s,c,T,__d0,A,h,g,D]):i(Oe,e));const ke=/*@__PURE__*/ f(e=>e===r?l(`conversation`,`{input:#1,output:#3,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"GetPreset"};$5(>4)@"GetPresetRequest";$7.pipe($6([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$5(>5)@"GetPresetResponse";$4({presetId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/presets/{presetId}",code:200}));$4({value:#2,name:$3})`,[m,_,v,s,c,T,S,p,A,h,g,D]):i(ke,e));const Ae=/*@__PURE__*/ f(e=>e===r?l(`GetSchemaChanges`,`{input:#1,output:#4,errors:[],protocol:$9,retry:$10,telemetry:$11,span:"%"};$3(>5)@"%Request";$3(>6)@"SchemaChangeStatus";$7(#2);$3(>7)@"%Response";$2({}).pipe($1({method:"GET",uri:"/operations/schema_changes",code:200}));$2({collection:$5($4),validated_docs:$5($6),altered_docs:$5($6)});#3.pipe($8())`,[m,_,c,T,s,w,o,t,b,h,g,D]):i(Ae,e));const je=/*@__PURE__*/ f(e=>e===r?l(`StemmingDictionary`,`{input:#1,output:#4,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"Get%"};$5(>5)@"Get%Request";$5(>6)@"%WordsItem";$6(#2);$5(>7)@"%";$4({dictionaryId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stemming/dictionaries/{dictionaryId}",code:200}));$4({word:$3,root:$3});$4({id:$3,words:#3})`,[m,_,v,s,c,T,t,A,h,g,D]):i(je,e));const Me=/*@__PURE__*/ f(e=>e===r?l(`GetStopwordsSet`,`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>3)@"%Request";$5(>4)@"StopwordsSetRetrieveSchema";$4({setId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stopwords/{setId}",code:200}));$4({stopwords:#6:0})`,[m,_,v,s,c,T,__d13,A,h,g,D]):i(Me,e));const Ne=/*@__PURE__*/ f(e=>e===r?l(`GetStopwordsSets`,`{input:#1,output:#3,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"StopwordsSetsRetrieveAllSchema";$2({}).pipe($1({method:"GET",uri:"/stopwords",code:200}));$2({stopwords:#2})`,[m,_,c,T,__d13,t,h,g,D]):i(Ne,e));const Pe=/*@__PURE__*/ f(e=>e===r?l(`GetSynonymSet`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,_,v,s,c,T,__d16,A,h,g,D]):i(Pe,e));const Fe=/*@__PURE__*/ f(e=>e===r?l(`GetSynonymSetItem`,`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,_,v,s,c,T,__d14,A,h,g,D]):i(Fe,e));const Ie=/*@__PURE__*/ f(e=>e===r?l(`GetSynonymSetItems`,`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items",code:200}));#7:0.pipe($6())`,[m,_,v,s,c,T,b,__d15,A,h,g,D]):i(Ie,e));const Le=/*@__PURE__*/ f(e=>e===r?l(`GetSynonymSets`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"GET",uri:"/synonym_sets",code:200}));#2.pipe($6())`,[m,_,c,T,__d16,t,b,h,g,D]):i(Le,e));const Re=/*@__PURE__*/ f(e=>e===r?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"Health"};$3(>2)@"HealthRequest";$2({}).pipe($1({method:"GET",uri:"/health",code:200}))`,[m,_,c,T,__d11,h,g,D]]:i(Re,e));const ze=/*@__PURE__*/ f(e=>e===r?l(`ImportDocuments`,`{input:#2,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$6(>3)@"%Request%Parameters";$6(>4)@"%Request";$5({batch_size:$2($1),return_id:$2($3),remote_embedding_batch_size:$2($1),return_doc:$2($3),action:$2($4),dirty_values:$2($4)});$5({collectionName:$4.pipe($8()),importDocumentsParameters:$2(#1.pipe($9()))}).pipe($7({method:"POST",uri:"/collections/{collectionName}/documents/import",code:200}))`,[m,o,w,n,s,c,T,_,v,y,__d6,O,A,h,g,D]):i(ze,e));const Be=/*@__PURE__*/ f(e=>e===r?l(`ImportStemmingDictionary`,`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({id:$3.pipe($2()),body:$3.pipe($4())}).pipe($1({method:"POST",uri:"/stemming/dictionaries/import",code:200}))`,[m,_,y,s,ne,c,T,__d6,O,h,g,D]):i(Be,e));const Ve=/*@__PURE__*/ f(e=>e===r?l(`IndexDocument`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({collectionName:$3.pipe($2()),action:$5($3.pipe($4())),dirty_values:$5($3.pipe($4()))}).pipe($1({method:"POST",uri:"/collections/{collectionName}/documents",code:200}))`,[m,_,v,s,y,w,c,T,__d5,A,h,g,D]):i(Ve,e));const He=/*@__PURE__*/ f(e=>e===r?l(`ListStemmingDictionaries`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7,telemetry:$8,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"GET",uri:"/stemming/dictionaries",code:200}));$2({dictionaries:$5(#4:0)})`,[m,_,c,T,__d12,w,h,g,D]):i(He,e));const Ue=/*@__PURE__*/ f(e=>e===r?l(`SearchCollection`,`{input:#2,output:#3,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$6(>4)@"SearchParameters";$6(>5)@"%Request";$6(>6)@"SearchResult";$5({q:$2($1),query_by:$2($1),validate_field_names:$2($3),nl_query:$2($3),nl_model_id:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($4),max_extra_suffix:$2($4),filter_by:$2($1),enable_lazy_filter:$2($3),max_filter_by_candidates:$2($4),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($4),facet_query:$2($1),facet_query_num_typos:$2($4),num_typos:$2($1),page:$2($4),per_page:$2($4),limit:$2($4),offset:$2($4),group_by:$2($1),group_limit:$2($4),group_missing_values:$2($3),group_max_candidates:$2($4),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($4),highlight_start_tag:$2($1),highlight_end_tag:$2($1),enable_highlight_v1:$2($3),enable_analytics:$2($3),snippet_threshold:$2($4),synonym_sets:$2($1),drop_tokens_threshold:$2($4),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($4),enable_typos_for_alpha_numerical_tokens:$2($3),filter_curated_hits:$2($3),enable_synonyms:$2($3),synonym_prefix:$2($3),demote_synonym_match:$2($3),synonym_num_typos:$2($4),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($3),split_join_tokens:$2($1),pre_segmented_query:$2($3),preset:$2($1),enable_curations:$2($3),prioritize_exact_match:$2($3),max_candidates:$2($4),prioritize_token_position:$2($3),prioritize_num_matching_fields:$2($3),enable_typos_for_numerical_tokens:$2($3),exhaustive_search:$2($3),search_cutoff_ms:$2($4),limit_hits:$2($4),use_cache:$2($3),cache_ttl:$2($4),min_len_1typo:$2($4),min_len_2typo:$2($4),vector_query:$2($1),remote_embedding_timeout_ms:$2($4),remote_embedding_num_tries:$2($4),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($4),facet_sample_threshold:$2($4),facet_sample_slope:$2($4),voice_query:$2($1),conversation:$2($3),conversation_model_id:$2($1),conversation_id:$2($1)});$5({collectionName:$1.pipe($8()),searchParameters:#1.pipe($9())}).pipe($7({method:"GET",uri:"/collections/{collectionName}/documents/search",code:200}));$5({facet_counts:$2(#10:4),found:$2($4),found_docs:$2($4),search_time_ms:$2($4),out_of:$2($4),search_cutoff:$2($3),page:$2($4),grouped_hits:$2(#10:16),hits:$2(#10:14),request_params:$2(#10:18),conversation:$2(#10:19),union_request_params:$2(#10:20),metadata:$2(#10:9)})`,[m,s,w,n,o,c,T,_,v,y,__d17,O,A,h,g,D]):i(Ue,e));const We=/*@__PURE__*/ f(e=>e===r?l(`MultiSearchResult`,`{input:#4,output:#7,errors:[$12],protocol:$13,retry:$14,telemetry:$15,span:"SearchMulti"};$7(>8)@"MultiSearchCollectionParameters";$8(#1);$7(>9)@"MultiSearchParameters";$7(>10)@"SearchMultiRequest";$7(>11)@"%Item";$8(#5);$7(>12)@"%";$6({q:$2($1),query_by:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($3),max_extra_suffix:$2($3),filter_by:$2($1),enable_lazy_filter:$2($4),max_filter_by_candidates:$2($3),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($3),facet_query:$2($1),facet_query_num_typos:$2($3),num_typos:$2($1),page:$2($3),per_page:$2($3),limit:$2($3),offset:$2($3),group_by:$2($1),group_limit:$2($3),group_missing_values:$2($4),group_max_candidates:$2($3),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($3),highlight_start_tag:$2($1),highlight_end_tag:$2($1),snippet_threshold:$2($3),drop_tokens_threshold:$2($3),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($3),enable_typos_for_alpha_numerical_tokens:$2($4),filter_curated_hits:$2($4),enable_synonyms:$2($4),enable_analytics:$2($4),synonym_prefix:$2($4),demote_synonym_match:$2($4),synonym_num_typos:$2($3),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($4),pre_segmented_query:$2($4),preset:$2($1),enable_curations:$2($4),prioritize_exact_match:$2($4),prioritize_token_position:$2($4),prioritize_num_matching_fields:$2($4),enable_typos_for_numerical_tokens:$2($4),exhaustive_search:$2($4),search_cutoff_ms:$2($3),limit_hits:$2($3),use_cache:$2($4),cache_ttl:$2($3),min_len_1typo:$2($3),min_len_2typo:$2($3),vector_query:$2($1),remote_embedding_timeout_ms:$2($3),remote_embedding_num_tries:$2($3),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($3),facet_sample_threshold:$2($3),facet_sample_slope:$2($3),voice_query:$2($1),conversation:$2($4),conversation_model_id:$2($1),conversation_id:$2($1),validate_field_names:$2($4),collection:$2($1),x_typesense_api_key:$2($1.pipe($5("x-typesense-api-key")))});$6({q:$2($1),query_by:$2($1),query_by_weights:$2($1),text_match_type:$2($1),prefix:$2($1),infix:$2($1),max_extra_prefix:$2($3),max_extra_suffix:$2($3),filter_by:$2($1),enable_lazy_filter:$2($4),max_filter_by_candidates:$2($3),sort_by:$2($1),facet_by:$2($1),max_facet_values:$2($3),facet_query:$2($1),facet_query_num_typos:$2($3),num_typos:$2($1),page:$2($3),per_page:$2($3),limit:$2($3),offset:$2($3),group_by:$2($1),group_limit:$2($3),group_missing_values:$2($4),group_max_candidates:$2($3),include_fields:$2($1),exclude_fields:$2($1),highlight_full_fields:$2($1),highlight_affix_num_tokens:$2($3),highlight_start_tag:$2($1),highlight_end_tag:$2($1),snippet_threshold:$2($3),drop_tokens_threshold:$2($3),drop_tokens_mode:$2($1),typo_tokens_threshold:$2($3),enable_typos_for_alpha_numerical_tokens:$2($4),filter_curated_hits:$2($4),enable_synonyms:$2($4),enable_analytics:$2($4),synonym_prefix:$2($4),demote_synonym_match:$2($4),synonym_num_typos:$2($3),pinned_hits:$2($1),hidden_hits:$2($1),curation_tags:$2($1),highlight_fields:$2($1),rerank_hybrid_matches:$2($4),pre_segmented_query:$2($4),preset:$2($1),enable_curations:$2($4),prioritize_exact_match:$2($4),prioritize_token_position:$2($4),prioritize_num_matching_fields:$2($4),enable_typos_for_numerical_tokens:$2($4),exhaustive_search:$2($4),search_cutoff_ms:$2($3),limit_hits:$2($3),use_cache:$2($4),cache_ttl:$2($3),min_len_1typo:$2($3),min_len_2typo:$2($3),vector_query:$2($1),remote_embedding_timeout_ms:$2($3),remote_embedding_num_tries:$2($3),facet_strategy:$2($1),stopwords:$2($1),facet_return_parent:$2($1),facet_sample_percent:$2($3),facet_sample_threshold:$2($3),facet_sample_slope:$2($3),voice_query:$2($1),conversation:$2($4),conversation_model_id:$2($1),conversation_id:$2($1),validate_field_names:$2($4)});$6({multiSearchParameters:#3.pipe($10()),union:$2($4),searches:#2}).pipe($9({method:"POST",uri:"/multi_search",code:200}));$6({facet_counts:$2(#11:4),found:$2($3),found_docs:$2($3),search_time_ms:$2($3),out_of:$2($3),search_cutoff:$2($4),page:$2($3),grouped_hits:$2(#11:16),hits:$2(#11:14),request_params:$2(#11:18),conversation:$2(#11:19),union_request_params:$2(#11:20),metadata:$2(#11:9),code:$2($3),error:$2($1)});$6({results:#6,conversation:$2(#11:19)})`,[m,s,w,o,n,te,c,T,t,_,y,__d17,O,h,g,D]):i(We,e));const Ge=/*@__PURE__*/ f(e=>e===r?l(`TakeSnapshot`,`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>2)@"%Request";$4({snapshot_path:$3.pipe($2())}).pipe($1({method:"POST",uri:"/operations/snapshot",code:200}))`,[m,_,y,s,c,T,__d7,h,g,D]):i(Ge,e));const Ke=/*@__PURE__*/ f(e=>e===r?l(`ToggleSlowRequestLog`,`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>2)@"%Request";$4({log_slow_requests_time_ms:$3.pipe($2("log-slow-requests-time-ms"))}).pipe($1({method:"POST",uri:"/config",code:200}))`,[m,_,te,o,c,T,__d7,h,g,D]):i(Ke,e));const qe=/*@__PURE__*/ f(e=>e===r?l(`UpdateCollection`,`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>3)@"%Request";$9(>4)@"CollectionUpdateSchema";$8({collectionName:$3.pipe($2()),fields:$5(#4:3),synonym_sets:$5(#6:0),metadata:$5($7)}).pipe($1({method:"PATCH",uri:"/collections/{collectionName}",code:200}));$8({fields:$5(#4:3),synonym_sets:$5(#6:0),metadata:$5($7)})`,[m,_,v,s,__d19,w,__d12,p,c,T,O,A,h,g,D]):i(qe,e));const Je=/*@__PURE__*/ f(e=>e===r?l(`UpdateConversationModel`,`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"%"};$8(>2)@"%Request";$7({modelId:$3.pipe($2()),id:$4($3),model_name:$4($3),api_key:$4($3.pipe($5({}))),history_collection:$4($3),account_id:$4($3),system_prompt:$4($3),ttl:$4($6),max_bytes:$4($6),vllm_url:$4($3)}).pipe($1({method:"PUT",uri:"/conversations/models/{modelId}",code:200}))`,[m,_,v,s,w,x,o,c,T,__d20,O,A,h,g,D]):i(Je,e));const Ye=/*@__PURE__*/ f(e=>e===r?l(`UpdateDocument`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({collectionName:$3.pipe($2()),documentId:$3.pipe($2()),dirty_values:$5($3.pipe($4()))}).pipe($1({method:"PATCH",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[m,_,v,s,y,w,c,T,__d5,A,h,g,D]):i(Ye,e));const Q=/*@__PURE__*/ f(e=>e===r?l(`UpdateDocuments`,`{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$4(>4)@"%Request%Parameters";$4(>5)@"%Request";$4(>6)@"%Response";$3({filter_by:$2($1)});$3({collectionName:$1.pipe($6()),updateDocumentsParameters:$2(#1.pipe($7()))}).pipe($5({method:"PATCH",uri:"/collections/{collectionName}/documents",code:200}));$3({num_updated:$8})`,[m,s,w,c,T,_,v,y,o,O,A,h,g,D]):i(Q,e));const Xe=/*@__PURE__*/ f(e=>e===r?l(`UpdateNLSearchModel`,`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$9(>2)@"%Request";$8({modelId:$3.pipe($2()),model_name:$4($3),api_key:$4($3.pipe($5({}))),api_url:$4($3),max_bytes:$4($6),temperature:$4($6),system_prompt:$4($3),top_p:$4($6),top_k:$4($6),stop_sequences:$4(#7:0),api_version:$4($3),project_id:$4($3),access_token:$4($3.pipe($5({}))),refresh_token:$4($3.pipe($5({}))),client_id:$4($3),client_secret:$4($3.pipe($5({}))),region:$4($3),max_output_tokens:$4($6),account_id:$4($3),id:$4($3)}).pipe($1({method:"PUT",uri:"/nl_search_models/{modelId}",code:200}))`,[m,_,v,s,w,x,o,__d12,c,T,__d0,O,A,h,g,D]):i(Xe,e));const Ze=/*@__PURE__*/ f(e=>e===r?l(`UpsertAlias`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({aliasName:$3.pipe($2()),collection_name:$3}).pipe($1({method:"PUT",uri:"/aliases/{aliasName}",code:200}))`,[m,_,v,s,c,T,__d1,O,A,h,g,D]):i(Ze,e));const Qe=/*@__PURE__*/ f(e=>e===r?l(`UpsertAnalyticsRule`,`{input:#1,output:#5:1,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({ruleName:$3.pipe($2()),name:$4($3),rule_tag:$4($3),params:$4(#5:0)}).pipe($1({method:"PUT",uri:"/analytics/rules/{ruleName}",code:200}))`,[m,_,v,s,w,__d2,c,T,O,h,g,D]):i(Qe,e));const $e=/*@__PURE__*/ f(e=>e===r?l(`UpsertCurationSet`,`{input:#1,output:#4:2,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({curationSetName:$3.pipe($2()),items:#4:1,description:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}",code:200}))`,[m,_,v,s,__d9,w,c,T,O,h,g,D]):i($e,e));const et=/*@__PURE__*/ f(e=>e===r?l(`UpsertCurationSetItem`,`{input:#1,output:#11:0,errors:[$12],protocol:$13,retry:$14,telemetry:$15,span:"%"};$10(>2)@"%Request";$9({curationSetName:$3.pipe($2()),itemId:$3.pipe($2()),rule:#4:0,includes:$5(#4:2),excludes:$5(#4:3),filter_by:$5($3),remove_matched_tokens:$5($6),metadata:$5($7),sort_by:$5($3),replace_query:$5($3),filter_curated_hits:$5($6),effective_from_ts:$5($8),effective_to_ts:$5($8),stop_processing:$5($6),id:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[m,_,v,s,__d8,w,n,p,o,c,T,__d10,O,h,g,D]):i(et,e));const tt=/*@__PURE__*/ f(e=>e===r?l(`conversation`,`{input:#2,output:#4,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"UpsertPreset"};$2.pipe($1([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$7(>5)@"UpsertPresetRequest";$2.pipe($1([["q","query_by","validate_field_names","nl_query","nl_model_id","query_by_weights","text_match_type","prefix","infix","max_extra_prefix","max_extra_suffix","filter_by","enable_lazy_filter","max_filter_by_candidates","sort_by","facet_by","max_facet_values","facet_query","facet_query_num_typos","num_typos","page","per_page","limit","offset","group_by","group_limit","group_missing_values","group_max_candidates","include_fields","exclude_fields","highlight_full_fields","highlight_affix_num_tokens","highlight_start_tag","highlight_end_tag","enable_highlight_v1","enable_analytics","snippet_threshold","synonym_sets","drop_tokens_threshold","drop_tokens_mode","typo_tokens_threshold","enable_typos_for_alpha_numerical_tokens","filter_curated_hits","enable_synonyms","synonym_prefix","demote_synonym_match","synonym_num_typos","pinned_hits","hidden_hits","curation_tags","highlight_fields","rerank_hybrid_matches","split_join_tokens","pre_segmented_query","preset","enable_curations","prioritize_exact_match","max_candidates","prioritize_token_position","prioritize_num_matching_fields","enable_typos_for_numerical_tokens","exhaustive_search","search_cutoff_ms","limit_hits","use_cache","cache_ttl","min_len_1typo","min_len_2typo","vector_query","remote_embedding_timeout_ms","remote_embedding_num_tries","facet_strategy","stopwords","facet_return_parent","facet_sample_percent","facet_sample_threshold","facet_sample_slope","voice_query","%","%_model_id","%_id"],["union","searches"]]));$7(>6)@"UpsertPresetResponse";$6({presetId:$5.pipe($4()),value:#1}).pipe($3({method:"PUT",uri:"/presets/{presetId}",code:200}));$6({value:#3,name:$5})`,[m,S,p,_,v,s,c,T,O,h,g,D]):i(tt,e));const nt=/*@__PURE__*/ f(e=>e===r?l(`UpsertStopwordsSet`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({setId:$3.pipe($2()),stopwords:#4:0,locale:$5($3)}).pipe($1({method:"PUT",uri:"/stopwords/{setId}",code:200}))`,[m,_,v,s,__d12,w,c,T,__d13,O,h,g,D]):i(nt,e));const rt=/*@__PURE__*/ f(e=>e===r?l(`UpsertSynonymSet`,`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({synonymSetName:$3.pipe($2()),items:#4:0}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[m,_,v,s,__d15,c,T,__d16,O,h,g,D]):i(rt,e));const it=/*@__PURE__*/ f(e=>e===r?l(`UpsertSynonymSetItem`,`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2()),synonyms:#4:0,root:$5($3),locale:$5($3),symbols_to_index:$5(#4:0)}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[m,_,v,s,__d12,w,c,T,__d14,O,h,g,D]):i(it,e));const $=/*@__PURE__*/ f(e=>e===r?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6,telemetry:$7,span:"Vote"};$3(>2)@"VoteRequest";$2({}).pipe($1({method:"POST",uri:"/operations/vote",code:200}))`,[m,_,c,T,__d7,h,g,D]]:i($,e));function __d0(){return[`$7(>1)@"CreateNLSearchModelResponse";$6({model_name:$2($1),api_key:$2($1.pipe($3({}))),api_url:$2($1),max_bytes:$2($4),temperature:$2($4),system_prompt:$2($1),top_p:$2($4),top_k:$2($4),stop_sequences:$2(#5:0),api_version:$2($1),project_id:$2($1),access_token:$2($1.pipe($3({}))),refresh_token:$2($1.pipe($3({}))),client_id:$2($1),client_secret:$2($1.pipe($3({}))),region:$2($1),max_output_tokens:$2($4),account_id:$2($1),id:$1})`,[m,s,w,x,o,__d12,c,T]]}function __d1(){return[`$3(>1)@"CollectionAlias";$2({name:$1,collection_name:$1})`,[m,s,c,T]]}function __d2(){return[`$7(>2)@"AnalyticsRuleCreateParams";$7(>3)@"AnalyticsRuleCreate";$6({destination_collection:$2($1),limit:$2($3),capture_search_requests:$2($4),meta_fields:$2(#5:0),expand_query:$2($4),counter_field:$2($1),weight:$2($3)});$6({name:$1,type:$1,collection:$1,event_type:$1,rule_tag:$2($1),params:$2(#0)})`,[m,s,w,o,n,__d12,c,T]]}function __d3(){return[`$3(>1)@"CurationSetDeleteSchema";$2({name:$1})`,[m,s,c,T]]}function __d4(){return[`$3(>1)@"CurationItemDeleteSchema";$2({id:$1})`,[m,s,c,T]]}function __d5(){return[`$3(>1)@"DeleteDocumentResponse";$2.pipe($1())`,[m,b,p,T]]}function __d6(){return[`$2(>1)@"ExportDocumentsResponse";$1({})`,[m,c,T]]}function __d7(){return[`$3(>1)@"SuccessStatus";$2({success:$1})`,[m,n,c,T]]}function __d8(){return[`$5(>4)@"CurationRule";$5(>5)@"CurationInclude";$7(#1);$7(#8:0);$4({tags:$2(#1:0),query:$2($3),match:$2($3),filter_by:$2($3)});$4({id:$3,position:$6})`,[m,__d12,w,s,c,T,o,t,__d4]]}function __d9(){return[`$8(>3)@"CurationItemCreateSchema";$9(#0);$8(>4)@"GetCurationSetResponse";$7({rule:#1:0,includes:$2(#1:2),excludes:$2(#1:3),filter_by:$2($3),remove_matched_tokens:$2($4),metadata:$2($5),sort_by:$2($3),replace_query:$2($3),filter_curated_hits:$2($4),effective_from_ts:$2($6),effective_to_ts:$2($6),stop_processing:$2($4),id:$2($3)});$7({items:#1,description:$2($3),name:$3})`,[m,__d8,w,s,n,p,o,c,T,t]]}function __d10(){return[`$8(>1)@"GetCurationSetItemResponse";$7({rule:#1:0,includes:$2(#1:2),excludes:$2(#1:3),filter_by:$2($3),remove_matched_tokens:$2($4),metadata:$2($5),sort_by:$2($3),replace_query:$2($3),filter_curated_hits:$2($4),effective_from_ts:$2($6),effective_to_ts:$2($6),stop_processing:$2($4),id:$3})`,[m,__d8,w,s,n,p,o,c,T]]}function __d11(){return[`$3(>1)@"AnalyticsEventCreateResponse";$2({ok:$1})`,[m,n,c,T]]}function __d12(){return[`$2($1)`,[m,s,t]]}function __d13(){return[`$5(>1)@"StopwordsSetSchema";$4({id:$1,stopwords:#2:0,locale:$3($1)})`,[m,s,__d12,w,c,T]]}function __d14(){return[`$5(>1)@"SynonymItemSchema";$4({id:$1,synonyms:#2:0,root:$3($1),locale:$3($1),symbols_to_index:$3(#2:0)})`,[m,s,__d12,w,c,T]]}function __d15(){return[`$2(#1:0)`,[m,__d14,t]]}function __d16(){return[`$4(>1)@"GetSynonymSetResponse";$3({items:#1:0,name:$2})`,[m,__d15,s,c,T]]}function __d17(){return[`$6(>21)@"FacetCountsCountsItem";$7(#0);$6(>22)@"FacetCountsStats";$6(>23)@"FacetCounts";$7(#3);$7($4);$7($1);$6(>24)@"SearchHighlight";$7(#7);$10($3,$4);$6(>25)@"SearchResultHitTextMatchInfo";$10($3,$1);$6(>26)@"SearchResultHitHybridSearchInfo";$6(>27)@"SearchResultHit";$7(#13);$6(>28)@"SearchGroupedHit";$7(#15);$6(>29)@"SearchRequestParamsVoiceQuery";$6(>30)@"SearchRequestParams";$6(>31)@"SearchResultConversation";$7(#18);$5({count:$2($1),highlighted:$2($3),value:$2($3),parent:$2($4)});$5({max:$2($1),min:$2($1),sum:$2($1),total_values:$2($1),avg:$2($1)});$5({counts:$2(#1),field_name:$2($3),sampled:$2($8),stats:$2(#2)});$5({field:$2($3),snippet:$2($3),snippets:$2(#9:0),value:$2($3),values:$2(#9:0),indices:$2(#6),matched_tokens:$2(#5)});$5({best_field_score:$2($3),best_field_weight:$2($1),fields_matched:$2($1),num_tokens_dropped:$2($1),score:$2($3),tokens_matched:$2($1),typo_prefix_score:$2($1)});$5({rank_fusion_score:$2($1)});$5({highlights:$2(#8),highlight:$2(#9),document:$2(#9),text_match:$2($1),text_match_info:$2(#10),geo_distance_meters:$2(#11),vector_distance:$2($1),hybrid_search_info:$2(#12),search_index:$2($1)});$5({found:$2($1),group_key:#5,hits:#14});$5({transcribed_query:$2($3)});$5({collection_name:$3,first_q:$2($3),q:$3,per_page:$1,voice_query:$2(#17)});$5({answer:$3,conversation_history:#5,conversation_id:$3,query:$3})`,[m,o,w,s,p,c,T,t,n,__d12,ee]]}function __d18(){return[`$4(>2)@"VoiceQueryModelCollectionConfig";$4(>3)@"CreateCollectionResponse";$3({model_name:$2($1)});$3({name:$1,fields:#5:3,default_sorting_field:$2($1),token_separators:$2(#6:0),synonym_sets:$2(#6:0),enable_nested_fields:$2($7),symbols_to_index:$2(#6:0),voice_query_model:$2(#0),metadata:$2($8),num_documents:$9,created_at:$9})`,[m,s,w,c,T,__d19,__d12,n,p,o]]}function __d19(){return[`$5(>4)@"FieldEmbedModelConfig";$5(>5)@"FieldEmbed";$5(>6)@"Field";$9(#2);$4({model_name:$1,api_key:$3($1.pipe($2({}))),url:$3($1),access_token:$3($1.pipe($2({}))),refresh_token:$3($1.pipe($2({}))),client_id:$3($1),client_secret:$3($1.pipe($2({}))),project_id:$3($1),indexing_prefix:$3($1),query_prefix:$3($1)});$4({from:#6:0,model_config:#0});$4({name:$1,type:$1,optional:$3($7),facet:$3($7),index:$3($7),locale:$3($1),sort:$3($7),infix:$3($7),reference:$3($1),async_reference:$3($7),num_dim:$3($8),drop:$3($7),store:$3($7),vec_dist:$3($1),range_index:$3($7),stem:$3($7),stem_dictionary:$3($1),token_separators:$3(#6:0),symbols_to_index:$3(#6:0),embed:$3(#1)})`,[m,s,x,w,c,T,__d12,n,o,t]]}function __d20(){return[`$6(>1)@"CreateConversationModelResponse";$5({id:$1,model_name:$1,api_key:$3($1.pipe($2({}))),history_collection:$1,account_id:$3($1),system_prompt:$3($1),ttl:$3($4),max_bytes:$4,vllm_url:$3($1)})`,[m,s,x,w,o,c,T]]}function __d21(){return[`$6(>1)@"CreateKeyResponse";$5({value:$2($1),description:$1,actions:#3:0,collections:#3:0,expires_at:$2($4),id:$2($4),value_prefix:$2($1)})`,[m,s,w,__d12,o,c,T]]}export{O as BadRequest,k as Conflict,A as NotFound,j as clearCache,M as compactDb,N as createAnalyticsEvent,P as createAnalyticsRule,F as createCollection,I as createConversationModel,L as createKey,R as createNLSearchModel,z as debug,B as deleteAlias,V as deleteAnalyticsRule,H as deleteCollection,U as deleteConversationModel,W as deleteCurationSet,G as deleteCurationSetItem,K as deleteDocument,q as deleteDocuments,J as deleteKey,Y as deleteNLSearchModel,X as deletePreset,Z as deleteStopwordsSet,re as deleteSynonymSet,ie as deleteSynonymSetItem,ae as exportDocuments,oe as flushAnalytics,ge as getAPIStats,se as getAlias,ce as getAliases,le as getAllConversationModels,ue as getAllNLSearchModels,de as getAllPresets,fe as getAnalyticsEvents,pe as getAnalyticsRule,me as getAnalyticsRules,he as getAnalyticsStatus,_e as getCollection,ve as getCollections,ye as getConversationModel,be as getCurationSet,xe as getCurationSetItem,Se as getCurationSetItems,Ce as getCurationSets,we as getDocument,Te as getKey,Ee as getKeys,De as getMetrics,Oe as getNLSearchModel,ke as getPreset,Ae as getSchemaChanges,je as getStemmingDictionary,Me as getStopwordsSet,Ne as getStopwordsSets,Pe as getSynonymSet,Fe as getSynonymSetItem,Ie as getSynonymSetItems,Le as getSynonymSets,Re as health,ze as importDocuments,Be as importStemmingDictionary,Ve as indexDocument,He as listStemmingDictionaries,Ue as searchCollection,We as searchMulti,Ge as takeSnapshot,Ke as toggleSlowRequestLog,qe as updateCollection,Je as updateConversationModel,Ye as updateDocument,Q as updateDocuments,Xe as updateNLSearchModel,Ze as upsertAlias,Qe as upsertAnalyticsRule,$e as upsertCurationSet,et as upsertCurationSetItem,tt as upsertPreset,nt as upsertStopwordsSet,rt as upsertSynonymSet,it as upsertSynonymSetItem,$ as vote};
|
|
2
2
|
/*
|
|
3
3
|
30 105
|
|
4
|
-
e:0:Ba t:0:
|
|
5
|
-
|
|
6
|
-
2
|
|
7
|
-
2
|
|
8
|
-
2
|
|
9
|
-
2
|
|
10
|
-
2
|
|
11
|
-
2
|
|
12
|
-
2
|
|
13
|
-
2
|
|
14
|
-
2
|
|
15
|
-
2
|
|
16
|
-
2
|
|
17
|
-
2
|
|
18
|
-
2
|
|
19
|
-
2
|
|
20
|
-
2
|
|
21
|
-
2
|
|
22
|
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|
|
108
|
-
1
|
|
109
|
-
1
|
|
110
|
-
1
|
|
4
|
+
e:0:Ba t:0:Wb n:0:Xb r:0:a i:0:c a:0:e o:0:ec ee:0:fc s:0:hc c:0:ic l:0:k u:0:kc d:0:l f:0:m p:0:nc m:0:pc h:0:protocol$TypesenseProtocol g:0:retry$Retry te:0:traits$Body _:0:traits$Http ne:0:traits$HttpBody v:0:traits$Label y:0:traits$Query b:0:traits$RawResponseRoot x:0:traits$SensitiveValue S:0:traits$UnionCases C:0:traits$applyErrorMatchers w:0:uc T:0:vc E:0:ya
|
|
5
|
+
000000001c0002p0004n0006i0008m000ao000cg000eh000fr000hd000j7000ky000mw000oo000qk000s9000u4000vo000xi000z50010y0012q0014m0016h001800019k001b1001cy001er001gd001ii001ka001m6001nr001pa001qz001su001uq001wg001ya002090021x0023k0024w0026a0027p0029h002b6002cy002er002gi002i5002ju002ln002nj002p6002qb002sd002uf002w8002y300306003290033u0035n0037p0039x003br003dn003fu003hk003jh003lc003nk003p9003r8003t3003v4003w8003x2003xw003yq003z200408004150042b0043800445004520045x0046u004830049d004am004bk004cg004dj004em004fj004gk004hx004j9004kk004lq004mz
|
|
6
|
+
2 xg 13k j|=ClearCache;y5 12q;f,j,9,s,3c,g,h,34
|
|
7
|
+
2 14a 1ac M|=CompactDb;14y 19i;f,j,9,s,3c,g,h,34
|
|
8
|
+
2 1b2 1lg N|=CreateAnalyticsEvent;1c1 1k9;f,8,r,3h,9,s,j,3g,31,g,h,34
|
|
9
|
+
2 1m6 1wd P|=CreateAnalyticsRule;1n4 1vd;f,j,k,9,s,n,31,g,h,34,p,e
|
|
10
|
+
2 1x3 29f F|=CreateCollection;1xy 27w;f,j,8,3o,r,3h,2,3n,e,9,s,31,32,g,h,34
|
|
11
|
+
2 2a5 2l8 I|=CreateConversationModel;2b7 2k3;f,j,8,r,o,6,9,s,3p,31,g,h,34
|
|
12
|
+
2 2ly 2uc L|=CreateKey;2mm 2t1;f,j,8,r,3h,6,9,s,3q,31,32,g,h,34
|
|
13
|
+
2 2v2 3co R|=CreateNLSearchModel;2w0 3be;f,j,8,r,o,6,3h,9,s,35,31,g,h,34
|
|
14
|
+
2 3de 3jw z|=Debug;3dy 3j3;f,j,9,s,8,r,g,h,34
|
|
15
|
+
2 3km 3rm B|=DeleteAlias;3lc 3qm;f,j,l,8,9,s,36,33,g,h,34
|
|
16
|
+
2 3sc 3zq V|=DeleteAnalyticsRule;3ta 3yq;f,j,l,8,9,s,37,33,g,h,34
|
|
17
|
+
2 40g 480 H|=DeleteCollection;41b 46z;f,j,l,8,9,s,3n,33,g,h,34
|
|
18
|
+
2 48q 4gc U|=DeleteConversationModel;49s 4fb;f,j,l,8,9,s,3p,33,g,h,34
|
|
19
|
+
2 4h2 4oq W|=DeleteCurationSet;4hy 4nq;f,j,l,8,9,s,38,33,g,h,34
|
|
20
|
+
2 4pg 4y8 G|=DeleteCurationSetItem;4qg 4x8;f,j,l,8,9,s,39,33,g,h,34
|
|
21
|
+
2 4yy 57r K|=DeleteDocument;4zr 56r;f,j,l,8,9,s,3a,33,g,h,34
|
|
22
|
+
2 58h 5ln q|=DeleteDocuments;59b 5kk;f,8,6,r,2,9,s,j,l,m,33,g,h,34
|
|
23
|
+
2 5md 5u4 J|=DeleteKey;5n1 5t7;f,j,l,6,9,s,31,33,g,h,34
|
|
24
|
+
2 5uu 627 Y|=DeleteNLSearchModel;5vs 617;f,j,l,8,9,s,39,33,g,h,34
|
|
25
|
+
2 62x 69w X|=DeletePreset;63o 68w;f,j,l,8,9,s,38,33,g,h,34
|
|
26
|
+
2 6am 6hn Z|=DeleteStopwordsSet;6bj 6gn;f,j,l,8,9,s,39,33,g,h,34
|
|
27
|
+
2 6ie 6pz re|=DeleteSynonymSet;6j9 6oy;f,j,l,8,9,s,38,33,g,h,34
|
|
28
|
+
2 6qq 6zf ie|=DeleteSynonymSetItem;6rp 6ye;f,j,l,8,9,s,39,33,g,h,34
|
|
29
|
+
2 706 7c5 ae|=ExportDocuments;710 7b0;f,8,r,9,s,j,l,m,3b,33,g,h,34
|
|
30
|
+
2 7cw 7iz oe|=FlushAnalytics;7dp 7i3;f,j,9,s,3g,g,h,34
|
|
31
|
+
2 7jq 7ql se|=GetAlias;7kd 7pk;f,j,l,8,9,s,36,33,g,h,34
|
|
32
|
+
2 7rc 7yq ce|=GetAliases;7s1 7xt;f,j,9,s,36,1,g,h,34
|
|
33
|
+
2 7zh 876 le|=GetAllConversationModels;80k 866;f,j,9,s,3p,1,n,g,h,34
|
|
34
|
+
2 87x 8fd ue|=GetAllNLSearchModels;88w 8ee;f,j,9,s,35,1,n,g,h,34
|
|
35
|
+
2 8g4 9v0 de|=conversation;8gv 9u2;f,j,9,s,p,e,8,1,g,h,34
|
|
36
|
+
2 9vr aa6 fe|=AnalyticsEventsResponse;9wt a8y;f,j,m,8,6,9,s,r,3h,1,31,g,h,34
|
|
37
|
+
2 aax ai6 pe|=GetAnalyticsRule;abs ah5;f,j,l,8,9,s,37,33,g,h,34
|
|
38
|
+
2 aix ar8 me|=GetAnalyticsRules;ajt aq3;f,37,1,j,m,8,r,9,s,n,g,h,34
|
|
39
|
+
2 arz b3r he|=AnalyticsStatus;ast b2x;f,j,9,s,6,r,g,h,34
|
|
40
|
+
2 b4i blp ge|=GetAPIStats;b58 bkt;f,j,9,s,6,r,e,g,h,34
|
|
41
|
+
2 bmg btv _e|=GetCollection;bn8 bst;f,j,l,8,9,s,3n,33,g,h,34
|
|
42
|
+
2 bum c5m ve|=GetCollections;bvf c4e;f,8,r,6,9,s,j,m,3n,1,n,g,h,34
|
|
43
|
+
2 c6d cdu ye|=GetConversationModel;c7c ccs;f,j,l,8,9,s,3p,33,g,h,34
|
|
44
|
+
2 cel cm4 be|=GetCurationSet;cfe cl3;f,j,l,8,9,s,3e,33,g,h,34
|
|
45
|
+
2 cmv cvj xe|=GetCurationSetItem;cns cuh;f,j,l,8,9,s,3f,33,g,h,34
|
|
46
|
+
2 cwa d5f Se|=GetCurationSetItems;cx8 d49;f,j,l,8,9,s,3f,1,n,33,g,h,34
|
|
47
|
+
2 d66 dde Ce|=GetCurationSets;d70 dcf;f,j,9,s,3e,1,n,g,h,34
|
|
48
|
+
2 de5 dmt we|=GetDocument;dev dls;f,j,l,8,9,s,3a,33,g,h,34
|
|
49
|
+
2 dnk du3 Te|=;dnv dt1;f,j,l,6,9,s,3q,33,g,h,34
|
|
50
|
+
2 duu e1q Ee|=GetKeys;dvg e0s;f,j,9,s,3q,1,g,h,34
|
|
51
|
+
2 e2h e8b De|=GetMetrics;e36 e7g;f,j,9,s,3a,g,h,34
|
|
52
|
+
2 e92 ega Oe|=GetNLSearchModel;e9x ef9;f,j,l,8,9,s,35,33,g,h,34
|
|
53
|
+
2 eh1 fvd ke|=conversation;ehs fud;f,j,l,8,9,s,p,e,33,g,h,34
|
|
54
|
+
2 fw4 g6c Ae|=GetSchemaChanges;fwz g5c;f,j,9,s,8,r,6,1,n,g,h,34
|
|
55
|
+
2 g73 gh2 je|=StemmingDictionary;g80 gg4;f,j,l,8,9,s,1,33,g,h,34
|
|
56
|
+
2 ght gq9 Me|=GetStopwordsSet;gin gp7;f,j,l,8,9,s,3i,33,g,h,34
|
|
57
|
+
2 gr0 gyu Ne|=GetStopwordsSets;grv gxw;f,j,9,s,3i,1,g,h,34
|
|
58
|
+
2 gzl h71 Pe|=GetSynonymSet;h0d h5z;f,j,l,8,9,s,3l,33,g,h,34
|
|
59
|
+
2 h7s hgc Fe|=GetSynonymSetItem;h8o hfa;f,j,l,8,9,s,3j,33,g,h,34
|
|
60
|
+
2 hh3 hpu Ie|=GetSynonymSetItems;hi0 hoq;f,j,l,8,9,s,n,3k,33,g,h,34
|
|
61
|
+
2 hql hxs Le|=GetSynonymSets;hre hws;f,j,9,s,3l,1,n,g,h,34
|
|
62
|
+
2 hyj i44 Re|=;hyu i38;f,j,9,s,3g,g,h,34
|
|
63
|
+
2 i4v iiw ze|=ImportDocuments;i5p ihl;f,6,r,2,8,9,s,j,l,m,3b,31,33,g,h,34
|
|
64
|
+
2 ijn iro Be|=ImportStemmingDictionary;ikq iqk;f,j,m,8,k,9,s,3b,31,g,h,34
|
|
65
|
+
2 isf j1u Ve|=IndexDocument;it7 j0p;f,j,l,8,m,r,9,s,3a,33,g,h,34
|
|
66
|
+
2 j2l jae He|=ListStemmingDictionaries;j3o j9g;f,j,9,s,3h,r,g,h,34
|
|
67
|
+
2 jb5 la5 Ue|=SearchCollection;jc0 l8t;f,8,r,2,6,9,s,j,l,m,3m,31,33,g,h,34
|
|
68
|
+
2 law op5 We|=MultiSearchResult;lbs ons;f,8,r,6,2,i,9,s,1,j,m,3m,31,g,h,34
|
|
69
|
+
2 opw owv Ge|=TakeSnapshot;oqn ovw;f,j,m,8,9,s,3c,g,h,34
|
|
70
|
+
2 oxm p5k Ke|=ToggleSlowRequestLog;oyl p4k;f,j,i,6,9,s,3c,g,h,34
|
|
71
|
+
2 p6b pie qe|=UpdateCollection;p76 ph0;f,j,l,8,3o,r,3h,e,9,s,31,33,g,h,34
|
|
72
|
+
2 pj5 pvp Je|=UpdateConversationModel;pk7 puf;f,j,l,8,r,o,6,9,s,3p,31,33,g,h,34
|
|
73
|
+
2 pwg q6a Ye|=UpdateDocument;px9 q55;f,j,l,8,m,r,9,s,3a,33,g,h,34
|
|
74
|
+
2 q70 qiq Q|=UpdateDocuments;q7u qhn;f,8,r,9,s,j,l,m,6,31,33,g,h,34
|
|
75
|
+
2 qjh r28 Xe|=UpdateNLSearchModel;qkf r0t;f,j,l,8,r,o,6,3h,9,s,35,31,33,g,h,34
|
|
76
|
+
2 r2z ram Ze|=UpsertAlias;r3p r9j;f,j,l,8,9,s,36,31,33,g,h,34
|
|
77
|
+
2 rbd rk0 Qe|=UpsertAnalyticsRule;rcb rix;f,j,l,8,r,37,9,s,31,g,h,34
|
|
78
|
+
2 rkr rta $e|=UpsertCurationSet;rln rs7;f,j,l,8,3e,r,9,s,31,g,h,34
|
|
79
|
+
2 ru1 saa et|=UpsertCurationSetItem;rv1 s8v;f,j,l,8,3d,r,2,e,6,9,s,3f,31,g,h,34
|
|
80
|
+
2 sb1 uvi tt|=conversation;sbs uui;f,p,e,j,l,8,9,s,31,g,h,34
|
|
81
|
+
2 uw9 v4c nt|=UpsertStopwordsSet;ux6 v32;f,j,l,8,3h,r,9,s,3i,31,g,h,34
|
|
82
|
+
2 v53 vd4 rt|=UpsertSynonymSet;v5y vbw;f,j,l,8,3k,9,s,3l,31,g,h,34
|
|
83
|
+
2 vdv vom it|=UpsertSynonymSetItem;veu vnc;f,j,l,8,3h,r,9,s,3j,31,g,h,34
|
|
84
|
+
2 vpc vv1 $|=;vpn vu7;f,j,9,s,3c,g,h,34
|
|
85
|
+
3 ki o6 O|=;lt no;f,t,6,8,b,q
|
|
86
|
+
3 ow sg k|=;q5 ry;f,0,6,8,b,q
|
|
87
|
+
3 t6 wq A|=;uf w8;f,t,6,8,b,q
|
|
88
|
+
0 c5 jt D||
|
|
89
|
+
1 vv3 w8c __d0|=;vvr w7n;f,8,r,o,6,3h,9,s
|
|
90
|
+
1 w8c way __d1|=;w90 wal;f,8,9,s
|
|
91
|
+
1 way wkm __d2|=;wbm wjx;f,8,r,6,2,3h,9,s
|
|
92
|
+
1 wkm wmx __d3|=;wla wmk;f,8,9,s
|
|
93
|
+
1 wmx wp7 __d4|=;wnl wou;f,8,9,s
|
|
94
|
+
1 wp7 wrh __d5|=;wpv wr4;f,n,e,s
|
|
95
|
+
1 wrh wtj __d6|=;ws5 wt8;f,9,s
|
|
96
|
+
1 wtj wvn __d7|=;wu7 wva;f,2,9,s
|
|
97
|
+
1 wvn x1a __d8|=;wwb x0g;f,3h,r,8,9,s,6,1,39
|
|
98
|
+
1 x1a xd2 __d9|=;x1y xca;f,3d,r,8,2,e,6,9,s,1
|
|
99
|
+
1 xd2 xmi __d10|=;xdr xls;f,3d,r,8,2,e,6,9,s
|
|
100
|
+
1 xmi xox __d11|=;xn7 xok;f,2,9,s
|
|
101
|
+
1 xox xq3 __d12|=;xpm xps;f,8,1
|
|
102
|
+
1 xq3 xt9 __d13|=;xqs xso;f,8,3h,r,9,s
|
|
103
|
+
1 xt9 xxf __d14|=;xty xwu;f,8,3h,r,9,s
|
|
104
|
+
1 xxf xyr __d15|=;xy4 xyc;f,3j,1
|
|
105
|
+
1 xyr y1i __d16|=;xzg y0z;f,3k,8,9,s
|
|
106
|
+
1 y1i z4o __d17|=;y27 z3s;f,6,r,8,e,9,s,1,2,3h,7
|
|
107
|
+
1 z4o zfd __d18|=;z5d zeg;f,8,r,9,s,3o,3h,2,e,6
|
|
108
|
+
1 zfd zz7 __d19|=;zg2 zye;f,8,o,r,9,s,3h,2,6,1
|
|
109
|
+
1 zz7 105u __d20|=;zzw 105b;f,8,o,r,6,9,s
|
|
110
|
+
1 105u 10b0 __d21|=;106j 10ad;f,8,r,3h,6,9,s
|
|
111
111
|
*/
|
|
112
112
|
//# sourceMappingURL=typesense.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typesense.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.TaggedError","T.applyErrorMatchers","C.withConflictError","API.D","API.named","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","S.optional","T.HttpBody","T.RawResponseRoot","T.UnionCases","S.Unknown","S.Boolean","T.SensitiveValue","T.Label","T.Query","S.Array","T.Body","S.Record","withConflictError","Array","Boolean","D","call","Number","Record","error","String","Struct","TaggedError","named","newError","Unknown","op","at","TypesenseProtocol","Retry","optional","suspend","Body","Http","HttpBody","Label","Query","RawResponseRoot","SensitiveValue","UnionCases","applyErrorMatchers","withBadRequestError","TELEMETRY","BadRequest","i","Conflict","NotFound","clearCache","compactDb","createAnalyticsEvent","createAnalyticsRule","createCollection","createConversationModel","createKey","createNLSearchModel","debug","deleteAlias","deleteAnalyticsRule","deleteCollection","deleteConversationModel","deleteCurationSet","deleteCurationSetItem","deleteDocument","deleteDocuments","deleteKey","deleteNLSearchModel","deletePreset","deleteStopwordsSet","deleteSynonymSet","deleteSynonymSetItem","exportDocuments","flushAnalytics","getAlias","getAliases","getAllConversationModels","getAllNLSearchModels","getAllPresets","getAnalyticsEvents","getAnalyticsRule","getAnalyticsRules","getAnalyticsStatus","getAPIStats","getCollection","getCollections","getConversationModel","getCurationSet","getCurationSetItem","getCurationSetItems","getCurationSets","getDocument","getKey","getKeys","getMetrics","getNLSearchModel","getPreset","getSchemaChanges","getStemmingDictionary","getStopwordsSet","getStopwordsSets","getSynonymSet","getSynonymSetItem","getSynonymSetItems","getSynonymSets","health","importDocuments","importStemmingDictionary","indexDocument","listStemmingDictionaries","searchCollection","searchMulti","takeSnapshot","toggleSlowRequestLog","updateCollection","updateConversationModel","updateDocument","updateDocuments","updateNLSearchModel","upsertAlias","upsertAnalyticsRule","upsertCurationSet","upsertCurationSetItem","upsertPreset","upsertStopwordsSet","upsertSynonymSet","upsertSynonymSetItem","vote"],"sources":["../../src/services/typesense.ts"],"mappings":"4aAYA,MAAMyD,EAAY,CAChB,OAAQ,gBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,YACR,QAAS,YACT,OAAQ,YACR,UAAW,KACb,EAEA,MAAaC,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAO1D,EAAa2D,EAAG,WAAY,CAAC,sEAAuE,CAAC1D,EAAQC,EAAuBC,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CACtM,CAAC,EAED,MAAasD,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAO5D,EAAa2D,EAAG,WAAY,CAAC,oEAAqE,CAAC1D,EAAQM,EAAqBJ,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CAClM,CAAC,EAED,MAAauD,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAO7D,EAAa2D,EAAG,WAAY,CAAC,oEAAqE,CAAC1D,EAAQC,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OAAa,CACpB,MAAO,CAAC,WAAY,CAACX,EAAQ,MAAOuB,CAAO,CAAC,CAC9C,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,0DAA2D,CAACvB,EAAQ,MAAOG,EAAUO,EAAUC,CAAS,CAAC,CACnH,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,40CAA60C,CAACX,EAAQE,EAAUY,EAAYX,EAAUe,EAAWR,EAAUC,EAAWY,EAASJ,EAAW,MAAOM,EAAQ,CAAC,CACp8C,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,0UAA2U,CAACzB,EAAQG,EAAUW,EAAYJ,EAAUC,EAAW,MAAO,MAAOQ,EAAWD,EAAWhB,CAAQ,CAAC,CACtb,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,upBAAwpB,CAACF,EAAQG,EAAUiB,EAAkBN,EAAYJ,EAAUC,EAAW,MAAOQ,EAAWjB,EAAUqB,CAAO,CAAC,CAC5wB,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,sMAAuM,CAACvB,EAAQG,EAAUiB,EAAkBN,EAAYZ,EAAUQ,EAAUC,CAAS,CAAC,CAChS,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,6IAA8I,CAACX,EAAQG,EAAUW,EAAY,MAAOZ,EAAUQ,EAAUC,CAAS,CAAC,CAC5N"}
|
|
1
|
+
{"version":3,"file":"typesense.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.TaggedError","T.applyErrorMatchers","C.withConflictError","API.D","API.named","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","S.optional","T.HttpBody","T.RawResponseRoot","T.UnionCases","S.Unknown","S.Boolean","T.SensitiveValue","T.Label","T.Query","S.Array","T.Body","S.Record","withConflictError","Array","Boolean","D","call","error","Number","Record","String","Struct","named","TaggedError","newError","op","Unknown","at","TypesenseProtocol","Retry","Body","Http","HttpBody","Label","Query","RawResponseRoot","SensitiveValue","UnionCases","applyErrorMatchers","optional","suspend","withBadRequestError","TELEMETRY","BadRequest","i","Conflict","NotFound","clearCache","compactDb","createAnalyticsEvent","createAnalyticsRule","createCollection","createConversationModel","createKey","createNLSearchModel","debug","deleteAlias","deleteAnalyticsRule","deleteCollection","deleteConversationModel","deleteCurationSet","deleteCurationSetItem","deleteDocument","deleteDocuments","deleteKey","deleteNLSearchModel","deletePreset","deleteStopwordsSet","deleteSynonymSet","deleteSynonymSetItem","exportDocuments","flushAnalytics","getAlias","getAliases","getAllConversationModels","getAllNLSearchModels","getAllPresets","getAnalyticsEvents","getAnalyticsRule","getAnalyticsRules","getAnalyticsStatus","getAPIStats","getCollection","getCollections","getConversationModel","getCurationSet","getCurationSetItem","getCurationSetItems","getCurationSets","getDocument","getKey","getKeys","getMetrics","getNLSearchModel","getPreset","getSchemaChanges","getStemmingDictionary","getStopwordsSet","getStopwordsSets","getSynonymSet","getSynonymSetItem","getSynonymSetItems","getSynonymSets","health","importDocuments","importStemmingDictionary","indexDocument","listStemmingDictionaries","searchCollection","searchMulti","takeSnapshot","toggleSlowRequestLog","updateCollection","updateConversationModel","updateDocument","updateDocuments","updateNLSearchModel","upsertAlias","upsertAnalyticsRule","upsertCurationSet","upsertCurationSetItem","upsertPreset","upsertStopwordsSet","upsertSynonymSet","upsertSynonymSetItem","vote"],"sources":["../../src/services/typesense.ts"],"mappings":"6aAYA,MAAMyD,EAAY,CAChB,OAAQ,gBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,YACR,QAAS,YACT,OAAQ,YACR,UAAW,KACb,EAEA,MAAaC,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAO1D,EAAa2D,EAAG,WAAY,CAAC,sEAAuE,CAAC1D,EAAQC,EAAuBC,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CACtM,CAAC,EAED,MAAasD,EAA8B,gBAAU,SAAS,SAAS,EA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.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@distilled.cloud/core": "1.0.0-rc.
|
|
70
|
+
"@distilled.cloud/core": "1.0.0-rc.20"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@distilled.cloud/dev": "0.0.0",
|
package/src/errors.ts
CHANGED
|
@@ -25,15 +25,15 @@ export {
|
|
|
25
25
|
} from "@distilled.cloud/core/errors";
|
|
26
26
|
import * as Category from "@distilled.cloud/core/category";
|
|
27
27
|
import type { DefaultErrors as CoreDefaultErrors } from "@distilled.cloud/core/errors";
|
|
28
|
+
import { UnknownErrorFields } from "@distilled.cloud/core/errors";
|
|
28
29
|
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
29
30
|
|
|
30
31
|
// Unknown Typesense error - returned when an error code is not recognized
|
|
31
32
|
export class UnknownTypesenseError
|
|
32
|
-
extends /*@__PURE__*/ Schema.TaggedError<UnknownTypesenseError>()(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}).pipe(Category.withServerError) {}
|
|
33
|
+
extends /*@__PURE__*/ Schema.TaggedError<UnknownTypesenseError>()(
|
|
34
|
+
"UnknownTypesenseError",
|
|
35
|
+
UnknownErrorFields,
|
|
36
|
+
) {}
|
|
37
37
|
|
|
38
38
|
// Schema parse error wrapper
|
|
39
39
|
export class TypesenseParseError
|
package/src/protocol.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import type { ConfigError, InvalidInput } from "@distilled.cloud/core/errors";
|
|
3
|
-
import { makeRestProtocol } from "@distilled.cloud/core/protocol-rest";
|
|
3
|
+
import { makeRestProtocol, unknownErrorProps } from "@distilled.cloud/core/protocol-rest";
|
|
4
4
|
import type { SdkError } from "@distilled.cloud/core/sdk-error";
|
|
5
5
|
/**
|
|
6
6
|
* TypesenseProtocol -- the shared bearer/header-auth REST factory from core,
|
|
@@ -46,6 +46,6 @@ export const TypesenseProtocol: Layer.Layer<API.Protocol> = /*@__PURE__*/ makeRe
|
|
|
46
46
|
headers: formatHeaders,
|
|
47
47
|
// Typesense's ApiResponse error body is `{ message }` -- covered by the
|
|
48
48
|
// factory's default envelope reader.
|
|
49
|
-
unknownError: (
|
|
49
|
+
unknownError: (info) => new UnknownTypesenseError(unknownErrorProps(info)),
|
|
50
50
|
parseError: ({ body, cause }) => new TypesenseParseError({ body, cause }),
|
|
51
51
|
});
|