@distilled.cloud/typesense 1.0.0-rc.16 → 1.0.0-rc.17

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/.lazy.json ADDED
@@ -0,0 +1 @@
1
+ {"serviceDirs":["services"],"twins":["index.js"]}
@@ -0,0 +1,4 @@
1
+ import*as $0 from"./sdk.js";
2
+ import{api$lazyService as L}from"@distilled.cloud/core/_bundle/base";
3
+ const u=import.meta.url,N=[$0];
4
+ export const $L=(s,k,a,l,x)=>L(u,s,k,a===void 0?void 0:x?N.concat(x):N,a,l);
@@ -0,0 +1,2 @@
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 te,category$withParseError as ne,category$withServerError as re,config$String as o,config$all as ie,retry$capped as s,retry$jittered as c,retry$makeDefault as l,retry$throttlingFactory as u,retry$throttlingOptions as d,retry$transientFactory as f,retry$transientOptions as p,trait$Body as m,trait$FormDataFile as h,trait$Header as g,trait$Http as _,trait$HttpBody as v,trait$KeyDictionary as y,trait$Label as b,trait$Query as x,trait$ResponseCode as S,trait$UnionCases as C,trait$applyErrorMatchers as w,trait$bodySymbol as T,trait$errorMatchersSymbol as E,trait$formDataFileSymbol as D,trait$getErrorMatchers as O,trait$headerSymbol as k,trait$httpBodySymbol as A,trait$httpSymbol as j,trait$keyDictionarySymbol as M,trait$labelSymbol as N,trait$querySymbol as P,trait$responseCodeSymbol as F,trait$unionCasesSymbol as I}from"@distilled.cloud/core/_bundle/base";import{errors$API_ERRORS as L,errors$BadGateway as R,errors$BadRequest as z,errors$ConfigError as B,errors$Conflict as V,errors$DEFAULT_ERRORS as H,errors$Forbidden as U,errors$GatewayTimeout as W,errors$HTTP_STATUS_MAP as G,errors$InternalServerError as K,errors$Locked as ae,errors$NotFound as q,errors$ServiceUnavailable as J,errors$TooManyRequests as oe,errors$Unauthorized as se,errors$UnprocessableEntity as ce,protocol_rest$RawResponse as le,protocol_rest$RawResponseRoot as ue,protocol_rest$SensitiveValue as de,protocol_rest$makeRestProtocol as fe,protocol_rest$rawResponseRootSymbol as pe,protocol_rest$rawResponseSymbol as me,protocol_rest$sensitiveValueSymbol as he,schema_lite$Array as ge,schema_lite$Boolean as _e,schema_lite$Number as ve,schema_lite$Record as ye,schema_lite$String as be,schema_lite$Struct as xe,schema_lite$TaggedError as Se,schema_lite$Unknown as Ce,schema_lite$at as we,schema_lite$optional as Te,schema_lite$suspend as Ee}from"@distilled.cloud/core/_bundle/rest";import*as Y from"effect/Context";import*as X from"effect/Effect";import*as Z from"effect/Layer";import*as Q from"effect/Redacted";import*as $ from"@distilled.cloud/core/schema-lite-typed";const De=``;var Credentials=class extends (/*@__PURE__*/ Y.Service()(`TypesenseCredentials`)){};const Oe=/*@__PURE__*/ ie({apiKey:/*@__PURE__*/ o(`TYPESENSE_API_KEY`),apiBaseUrl:/*@__PURE__*/ o(`TYPESENSE_API_URL`)});const ke=/*@__PURE__*/ Z.succeed(Credentials,/*@__PURE__*/ Oe.pipe(/*@__PURE__*/ X.mapError(()=>new B({message:`TYPESENSE_API_KEY and TYPESENSE_API_URL environment variables are required`})),/*@__PURE__*/ X.map(({apiKey:e,apiBaseUrl:t})=>({apiKey:Q.make(e),apiBaseUrl:t})),X.orDie));const credentials=e=>Z.succeed(Credentials,X.succeed({apiKey:e.apiKey,apiBaseUrl:e.apiBaseUrl}));const formatHeaders=e=>({"X-TYPESENSE-API-KEY":Q.value(e.apiKey)});var UnknownTypesenseError=class extends (/*@__PURE__*/ $.TaggedError()(`UnknownTypesenseError`,{code:/*@__PURE__*/ $.optional($.String),message:/*@__PURE__*/ $.optional($.String),body:$.Unknown}).pipe(re)){};var TypesenseParseError=class extends (/*@__PURE__*/ $.TaggedError()(`TypesenseParseError`,{body:$.Unknown,cause:$.Unknown}).pipe(ne)){};const Ae=/*@__PURE__*/ fe({credentials:/*@__PURE__*/ X.flatMap(Credentials,e=>e),baseUrl:e=>e.apiBaseUrl,headers:formatHeaders,unknownError:({message:e,body:t})=>new UnknownTypesenseError({message:e,body:t}),parseError:({body:e,cause:t})=>new TypesenseParseError({body:e,cause:t})});var Retry=class extends (/*@__PURE__*/ Y.Service()(`TypesenseRetry`)){};const policy=e=>X.provide(Z.succeed(Retry,e));const je=/*@__PURE__*/ X.provide(/*@__PURE__*/ Z.succeed(Retry,{while:()=>false}));const Me=/*@__PURE__*/ policy(u);const Ne=/*@__PURE__*/ policy(f);export{i as _,be as a,Ce as c,Credentials as credentials$Credentials,ke as credentials$CredentialsFromEnv,De as credentials$DEFAULT_API_BASE_URL,credentials as credentials$credentials,formatHeaders as credentials$formatHeaders,Ee as d,L as errors$API_ERRORS,R as errors$BadGateway,z as errors$BadRequest,B as errors$ConfigError,V as errors$Conflict,H as errors$DEFAULT_ERRORS,U as errors$Forbidden,W as errors$GatewayTimeout,G as errors$HTTP_STATUS_MAP,K as errors$InternalServerError,ae as errors$Locked,q as errors$NotFound,J as errors$ServiceUnavailable,oe as errors$TooManyRequests,TypesenseParseError as errors$TypesenseParseError,se as errors$Unauthorized,UnknownTypesenseError as errors$UnknownTypesenseError,ce as errors$UnprocessableEntity,e as f,r as g,n as h,ye as i,we as l,ee as m,_e as n,xe as o,t as p,Ae as protocol$TypesenseProtocol,ve as r,Retry as retry$Retry,s as retry$capped,c as retry$jittered,l as retry$makeDefault,je as retry$none,policy as retry$policy,Me as retry$throttling,u as retry$throttlingFactory,d as retry$throttlingOptions,Ne as retry$transient,f as retry$transientFactory,p as retry$transientOptions,Se as s,ge as t,m as traits$Body,h as traits$FormDataFile,g as traits$Header,_ as traits$Http,v as traits$HttpBody,y as traits$KeyDictionary,b as traits$Label,x as traits$Query,le as traits$RawResponse,ue as traits$RawResponseRoot,S as traits$ResponseCode,de as traits$SensitiveValue,C as traits$UnionCases,w as traits$applyErrorMatchers,T as traits$bodySymbol,E as traits$errorMatchersSymbol,D as traits$formDataFileSymbol,O as traits$getErrorMatchers,k as traits$headerSymbol,A as traits$httpBodySymbol,j as traits$httpSymbol,M as traits$keyDictionarySymbol,N as traits$labelSymbol,P as traits$querySymbol,pe as traits$rawResponseRootSymbol,me as traits$rawResponseSymbol,F as traits$responseCodeSymbol,he as traits$sensitiveValueSymbol,I as traits$unionCasesSymbol,Te as u,a as v,te as y};
2
+ //# sourceMappingURL=sdk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.js","names":["Category.withServerError","Category.withParseError","D","call","error","named","newError","op","withBadRequestError","withConflictError","withParseError","withServerError","String$1","all$1","capped","jittered","makeDefault","throttlingFactory","throttlingOptions","transientFactory","transientOptions","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","UnprocessableEntity","RawResponse","RawResponseRoot","SensitiveValue","makeRestProtocol","rawResponseRootSymbol","rawResponseSymbol","sensitiveValueSymbol","Array","Boolean","Number","Record","String","Struct","TaggedError","Unknown","at","optional","suspend","Context","Effect","Layer","Redacted","Schema","DEFAULT_API_BASE_URL","envConfig","CredentialsFromEnv","apiKey","config","TypesenseProtocol","resolve","creds","optionsOrFactory","none","throttling","transient"],"sources":["../../src/credentials.ts","../../src/errors.ts","../../src/protocol.ts","../../src/retry.ts"],"mappings":"+pEAoBA,MAAamF,GAAuB,GAOpC,IAAa,YAAb,eACwB,gBAAQ,QAA4C,CAAC,CACzE,sBACF,EAAA,AAAE,CAAC,EAEL,MAAMC,GAA0B,iBAAiB,CAC/C,OAAsB,gBAAoB,mBAAmB,EAC7D,WAA0B,gBAAoB,mBAAmB,CAC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O,QACzB,gBAAM,QAAQ,MAAO,CAAE,UAAa,KAAM,CAAC,CAC3D,EAGA,MAAaC,GAA2B,qBAAO5E,CAAiB,EAGhE,MAAa6E,GAA0B,qBAAO3E,CAAgB"}
@@ -1,45 +1 @@
1
- import * as EffectConfig from "@distilled.cloud/core/config";
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
- import { ConfigError } from "@distilled.cloud/core/errors";
11
- import * as Context from "effect/Context";
12
- import * as Effect from "effect/Effect";
13
- import * as Layer from "effect/Layer";
14
- import * as Redacted from "effect/Redacted";
15
-
16
-
17
-
18
-
19
-
20
- export const DEFAULT_API_BASE_URL = "";
21
- export class Credentials extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("TypesenseCredentials") {
22
- }
23
- const envConfig = /*@__PURE__*/ EffectConfig.all({
24
- apiKey: /*@__PURE__*/ EffectConfig.String("TYPESENSE_API_KEY"),
25
- apiBaseUrl: /*@__PURE__*/ EffectConfig.String("TYPESENSE_API_URL"),
26
- });
27
- export const CredentialsFromEnv = /*@__PURE__*/ Layer.succeed(Credentials,
28
- /*@__PURE__*/ envConfig.pipe(
29
- /*@__PURE__*/ Effect.mapError(() => new ConfigError({
30
- message: "TYPESENSE_API_KEY and TYPESENSE_API_URL environment variables are required",
31
- })),
32
- /*@__PURE__*/ Effect.map(({ apiKey, apiBaseUrl }) => ({
33
- apiKey: Redacted.make(apiKey),
34
- apiBaseUrl,
35
- })), Effect.orDie));
36
-
37
- export const credentials = (config) => Layer.succeed(Credentials, Effect.succeed({
38
- apiKey: config.apiKey,
39
- apiBaseUrl: config.apiBaseUrl,
40
- }));
41
-
42
- export const formatHeaders = (config) => ({
43
- "X-TYPESENSE-API-KEY": Redacted.value(config.apiKey),
44
- });
45
- //# sourceMappingURL=credentials.js.map
1
+ export { credentials$Credentials as Credentials, credentials$CredentialsFromEnv as CredentialsFromEnv, credentials$DEFAULT_API_BASE_URL as DEFAULT_API_BASE_URL, credentials$credentials as credentials, credentials$formatHeaders as formatHeaders } from "./_bundle/sdk.js";
package/lib/errors.js CHANGED
@@ -1,24 +1 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
- export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
9
- import * as Category from "@distilled.cloud/core/category";
10
- import * as Schema from "@distilled.cloud/core/schema-lite-typed";
11
- // Unknown Typesense error - returned when an error code is not recognized
12
- export class UnknownTypesenseError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("UnknownTypesenseError", {
13
- code: /*@__PURE__*/ Schema.optional(Schema.String),
14
- message: /*@__PURE__*/ Schema.optional(Schema.String),
15
- body: Schema.Unknown,
16
- }).pipe(Category.withServerError) {
17
- }
18
- // Schema parse error wrapper
19
- export class TypesenseParseError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("TypesenseParseError", {
20
- body: Schema.Unknown,
21
- cause: Schema.Unknown,
22
- }).pipe(Category.withParseError) {
23
- }
24
- //# sourceMappingURL=errors.js.map
1
+ export { errors$API_ERRORS as API_ERRORS, errors$BadGateway as BadGateway, errors$BadRequest as BadRequest, errors$ConfigError as ConfigError, errors$Conflict as Conflict, errors$DEFAULT_ERRORS as DEFAULT_ERRORS, errors$Forbidden as Forbidden, errors$GatewayTimeout as GatewayTimeout, errors$HTTP_STATUS_MAP as HTTP_STATUS_MAP, errors$InternalServerError as InternalServerError, errors$Locked as Locked, errors$NotFound as NotFound, errors$ServiceUnavailable as ServiceUnavailable, errors$TooManyRequests as TooManyRequests, errors$TypesenseParseError as TypesenseParseError, errors$Unauthorized as Unauthorized, errors$UnknownTypesenseError as UnknownTypesenseError, errors$UnprocessableEntity as UnprocessableEntity } from "./_bundle/sdk.js";
package/lib/index.js CHANGED
@@ -1,14 +1,6 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
1
  export * from "./credentials.js";
9
2
  export * from "./errors.js";
10
3
  export * as T from "./traits.js";
11
4
  export { TypesenseProtocol } from "./protocol.js";
12
5
  export * as Retry from "./retry.js";
13
6
  export * as Services from "./services/index.js";
14
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ export * from "./credentials.js";
2
+ export * from "./errors.js";
3
+ export * as T from "./traits.js";
4
+ export { TypesenseProtocol } from "./protocol.js";
5
+ export * as Retry from "./retry.js";
6
+ export * as Services from "./services.lazy/index.js";
package/lib/protocol.js CHANGED
@@ -1,29 +1 @@
1
- import { makeRestProtocol } from "@distilled.cloud/core/protocol-rest";
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
- import * as Effect from "effect/Effect";
16
- import { Credentials, formatHeaders } from "./credentials.js";
17
- import { UnknownTypesenseError, TypesenseParseError } from "./errors.js";
18
- export const TypesenseProtocol = /*@__PURE__*/ makeRestProtocol({
19
- // Resolved on the calling fiber, per request -- the Credentials service
20
- // holds an effect, so lazily-resolved keys Just Work.
21
- credentials: /*@__PURE__*/ Effect.flatMap(Credentials, (resolve) => resolve),
22
- baseUrl: (creds) => creds.apiBaseUrl,
23
- headers: formatHeaders,
24
- // Typesense's ApiResponse error body is `{ message }` -- covered by the
25
- // factory's default envelope reader.
26
- unknownError: ({ message, body }) => new UnknownTypesenseError({ message, body }),
27
- parseError: ({ body, cause }) => new TypesenseParseError({ body, cause }),
28
- });
29
- //# sourceMappingURL=protocol.js.map
1
+ export { protocol$TypesenseProtocol as TypesenseProtocol } from "./_bundle/sdk.js";
package/lib/retry.js CHANGED
@@ -1,34 +1 @@
1
- import { throttlingFactory, transientFactory } from "@distilled.cloud/core/retry";
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
- import * as Context from "effect/Context";
19
- import * as Effect from "effect/Effect";
20
- import * as Layer from "effect/Layer";
21
- export { makeDefault, jittered, capped, throttlingOptions, transientOptions, throttlingFactory, transientFactory, } from "@distilled.cloud/core/retry";
22
-
23
- export class Retry extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("TypesenseRetry") {
24
- }
25
-
26
- export const policy = (optionsOrFactory) => Effect.provide(Layer.succeed(Retry, optionsOrFactory));
27
-
28
- export const none = /*@__PURE__*/ Effect.provide(
29
- /*@__PURE__*/ Layer.succeed(Retry, { while: () => false }));
30
-
31
- export const throttling = /*@__PURE__*/ policy(throttlingFactory);
32
-
33
- export const transient = /*@__PURE__*/ policy(transientFactory);
34
- //# sourceMappingURL=retry.js.map
1
+ export { retry$Retry as Retry, retry$capped as capped, retry$jittered as jittered, retry$makeDefault as makeDefault, retry$none as none, retry$policy as policy, retry$throttling as throttling, retry$throttlingFactory as throttlingFactory, retry$throttlingOptions as throttlingOptions, retry$transient as transient, retry$transientFactory as transientFactory, retry$transientOptions as transientOptions } from "./_bundle/sdk.js";
@@ -1,3 +1 @@
1
- // AUTO-GENERATED by scripts/generate.ts. Do not edit.
2
1
  export * as typesense from "./typesense.js";
3
- //# sourceMappingURL=index.js.map
@@ -1,267 +1,111 @@
1
- import * as API from "@distilled.cloud/core/api";
2
- import * as C from "@distilled.cloud/core/category";
3
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs. Do not edit.
4
- import * as S from "@distilled.cloud/core/schema-lite";
5
- import * as __L from "@distilled.cloud/core/schema-lite";
6
- import { TypesenseProtocol } from "../protocol.js";
7
- import * as Retry from "../retry.js";
8
- import * as T from "../traits.js";
9
- const __0 = __L.at;
10
- const __1 = T.Http;
11
- const __2 = S.String;
12
- const __3 = S.optional;
13
- const __4 = T.SensitiveValue;
14
- const __5 = S.Number;
15
- const __6 = S.Struct;
16
- const __7 = S.suspend;
17
- const __8 = T.Label;
18
- const __9 = S.Boolean;
19
- const __10 = T.RawResponseRoot;
20
- const __11 = S.Unknown;
21
- const __12 = T.Query;
22
- const __13 = S.Array;
23
- const __14 = T.UnionCases;
24
- const __15 = T.HttpBody;
25
- const __16 = S.Record;
26
- const __17 = T.Body;
27
- const __18 = S.TaggedError;
28
- const __19 = T.applyErrorMatchers;
29
- export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
30
- return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __5, __2, __18, __19]]);
31
- });
32
- export const Conflict = /*@__PURE__*/ API.error(function Conflict(i) {
33
- return API.newError(i, new.target, ['$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])', [__0, C.withConflictError, __5, __2, __18, __19]]);
34
- });
35
- export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
36
- return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __5, __2, __18, __19]]);
37
- });
38
-
39
- export const clearCache = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"ClearCacheRequest";$2({}).pipe($1({method:"POST",uri:"/operations/cache/clear",code:200}))', [__0, __1, __6, __7, __d7, TypesenseProtocol, Retry.Retry]] : API.call(clearCache, i));
40
-
41
- export const compactDb = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"CompactDbRequest";$2({}).pipe($1({method:"POST",uri:"/operations/db/compact",code:200}))', [__0, __1, __6, __7, __d7, TypesenseProtocol, Retry.Retry]] : API.call(compactDb, i));
42
-
43
- export const createAnalyticsEvent = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("CreateAnalyticsEventRequest", '{input:#2,output:#7:0,errors:[$8],protocol:$9,retry:$10};$5(>3)@"%Data";$5(>4)@"%";$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}))', [__0, __2, __3, __d12, __6, __7, __1, __d11, BadRequest, TypesenseProtocol, Retry.Retry]) : API.call(createAnalyticsEvent, i));
44
-
45
- export const createAnalyticsRule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#2,output:#4,errors:[$6],protocol:$7,retry:$8};~5;$4(>6)@"CreateAnalyticsRuleRequest";~5;$4(>7)@"CreateAnalyticsRuleResponse";$10.pipe($9([["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())', [__0, __1, __15, __6, __7, __10, BadRequest, TypesenseProtocol, Retry.Retry, __14, __11]] : API.call(createAnalyticsRule, i));
46
-
47
- export const createCollection = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:1,errors:[$11,$12],protocol:$13,retry:$14};$10(>2)@"CreateCollectionRequest";$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}))', [__0, __1, __2, __d19, __3, __d12, __9, __d18, __11, __6, __7, BadRequest, Conflict, TypesenseProtocol, Retry.Retry]] : API.call(createCollection, i));
48
-
49
- export const createConversationModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateConversationModelRequest";$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}))', [__0, __1, __2, __3, __4, __5, __6, __7, __d20, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(createConversationModel, i));
50
-
51
- export const createKey = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateKeyRequest";$6({value:$3($2),description:$2,actions:#4:0,collections:#4:0,expires_at:$3($5)}).pipe($1({method:"POST",uri:"/keys",code:200}))', [__0, __1, __2, __3, __d12, __5, __6, __7, __d21, BadRequest, Conflict, TypesenseProtocol, Retry.Retry]] : API.call(createKey, i));
52
-
53
- export const createNLSearchModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"CreateNLSearchModelRequest";$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}))', [__0, __1, __2, __3, __4, __5, __d12, __6, __7, __d0, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(createNLSearchModel, i));
54
-
55
- export const debug = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"DebugRequest";$3(>4)@"DebugResponse";$2({}).pipe($1({method:"GET",uri:"/debug",code:200}));$2({version:$5($4)})', [__0, __1, __6, __7, __2, __3, TypesenseProtocol, Retry.Retry]] : API.call(debug, i));
56
-
57
- export const deleteAlias = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteAliasRequest";$4({aliasName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/aliases/{aliasName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d1, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteAlias, i));
58
-
59
- export const deleteAnalyticsRule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteAnalyticsRuleRequest";$4({ruleName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/analytics/rules/{ruleName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d2, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteAnalyticsRule, i));
60
-
61
- export const deleteCollection = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCollectionRequest";$4({collectionName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d18, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteCollection, i));
62
-
63
- export const deleteConversationModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteConversationModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/conversations/models/{modelId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d20, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteConversationModel, i));
64
-
65
- export const deleteCurationSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCurationSetRequest";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d3, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteCurationSet, i));
66
-
67
- export const deleteCurationSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCurationSetItemRequest";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d4, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteCurationSetItem, i));
68
-
69
- export const deleteDocument = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteDocumentRequest";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d5, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteDocument, i));
70
-
71
- export const deleteDocuments = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("DeleteDocumentsRequest", '{input:#2,output:#3,errors:[$10],protocol:$11,retry:$12};$6(>4)@"%DeleteDocumentsParameters";$6(>5)@"%";$6(>6)@"DeleteDocumentsResponse";$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})', [__0, __2, __5, __3, __9, __6, __7, __1, __8, __12, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(deleteDocuments, i));
72
-
73
- export const deleteKey = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9};$5(>3)@"DeleteKeyRequest";$5(>4)@"ApiKeyDeleteResponse";$4({keyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/keys/{keyId}",code:200}));$4({id:$3})', [__0, __1, __8, __5, __6, __7, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteKey, i));
74
-
75
- export const deleteNLSearchModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteNLSearchModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/nl_search_models/{modelId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d4, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteNLSearchModel, i));
76
-
77
- export const deletePreset = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeletePresetRequest";$4({presetId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/presets/{presetId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d3, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deletePreset, i));
78
-
79
- export const deleteStopwordsSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteStopwordsSetRequest";$4({setId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/stopwords/{setId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d4, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteStopwordsSet, i));
80
-
81
- export const deleteSynonymSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteSynonymSetRequest";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d3, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteSynonymSet, i));
82
-
83
- export const deleteSynonymSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteSynonymSetItemRequest";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d4, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(deleteSynonymSetItem, i));
84
-
85
- export const exportDocuments = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ExportDocumentsRequest", '{input:#2,output:#8:0,errors:[$9],protocol:$10,retry:$11};$4(>3)@"%ExportDocumentsParameters";$4(>4)@"%";$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}))', [__0, __2, __3, __6, __7, __1, __8, __12, __d6, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(exportDocuments, i));
86
-
87
- export const flushAnalytics = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"FlushAnalyticsRequest";$2({}).pipe($1({method:"POST",uri:"/analytics/flush",code:200}))', [__0, __1, __6, __7, __d11, TypesenseProtocol, Retry.Retry]] : API.call(flushAnalytics, i));
88
-
89
- export const getAlias = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetAliasRequest";$4({aliasName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/aliases/{aliasName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d1, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getAlias, i));
90
-
91
- export const getAliases = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetAliasesRequest";$5(#4:0);$3(>5)@"CollectionAliasesResponse";$2({}).pipe($1({method:"GET",uri:"/aliases",code:200}));$2({aliases:#2})', [__0, __1, __6, __7, __d1, __13, TypesenseProtocol, Retry.Retry]] : API.call(getAliases, i));
92
-
93
- export const getAllConversationModels = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetAllConversationModelsRequest";$5(#4:0);$3(>5)@"GetAllConversationModelsResponse";$2({}).pipe($1({method:"GET",uri:"/conversations/models",code:200}));#2.pipe($6())', [__0, __1, __6, __7, __d20, __13, __10, TypesenseProtocol, Retry.Retry]] : API.call(getAllConversationModels, i));
94
-
95
- export const getAllNLSearchModels = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetAllNLSearchModelsRequest";$5(#4:0);$3(>5)@"GetAllNLSearchModelsResponse";$2({}).pipe($1({method:"GET",uri:"/nl_search_models",code:200}));#2.pipe($6())', [__0, __1, __6, __7, __d0, __13, __10, TypesenseProtocol, Retry.Retry]] : API.call(getAllNLSearchModels, i));
96
-
97
- export const getAllPresets = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("conversation", '{input:#1,output:#5,errors:[],protocol:$8,retry:$9};$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})', [__0, __1, __6, __7, __14, __11, __2, __13, TypesenseProtocol, Retry.Retry]) : API.call(getAllPresets, i));
98
-
99
- export const getAnalyticsEvents = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("AnalyticsEventsResponse", '{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$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})', [__0, __1, __12, __2, __5, __6, __7, __3, __d12, __13, BadRequest, TypesenseProtocol, Retry.Retry]) : API.call(getAnalyticsEvents, i));
100
-
101
- export const getAnalyticsRule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetAnalyticsRuleRequest";$4({ruleName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/rules/{ruleName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d2, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getAnalyticsRule, i));
102
-
103
- export const getAnalyticsRules = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#2,output:#3,errors:[],protocol:$10,retry:$11};$2(#1:1);$8(>4)@"GetAnalyticsRulesRequest";$8(>5)@"GetAnalyticsRulesResponse";$7({rule_tag:$6($5.pipe($4()))}).pipe($3({method:"GET",uri:"/analytics/rules",code:200}));#1.pipe($9())', [__0, __d2, __13, __1, __12, __2, __3, __6, __7, __10, TypesenseProtocol, Retry.Retry]] : API.call(getAnalyticsRules, i));
104
-
105
- export const getAnalyticsStatus = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("AnalyticsStatus", '{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$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)})', [__0, __1, __6, __7, __5, __3, TypesenseProtocol, Retry.Retry]) : API.call(getAnalyticsStatus, i));
106
-
107
- export const getAPIStats = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[],protocol:$7,retry:$8};$3(>3)@"GetAPIStatsRequest";$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)})', [__0, __1, __6, __7, __5, __3, __11, TypesenseProtocol, Retry.Retry]] : API.call(getAPIStats, i));
108
-
109
- export const getCollection = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCollectionRequest";$4({collectionName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d18, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getCollection, i));
110
-
111
- export const getCollections = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("GetCollectionsRequest", '{input:#2,output:#4,errors:[],protocol:$11,retry:$12};$5(>5)@"%GetCollectionsParameters";$5(>6)@"%";$9(#8:1);$5(>7)@"GetCollectionsResponse";$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())', [__0, __2, __3, __5, __6, __7, __1, __12, __d18, __13, __10, TypesenseProtocol, Retry.Retry]) : API.call(getCollections, i));
112
-
113
- export const getConversationModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetConversationModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/conversations/models/{modelId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d20, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getConversationModel, i));
114
-
115
- export const getCurationSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCurationSetRequest";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d9, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getCurationSet, i));
116
-
117
- export const getCurationSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCurationSetItemRequest";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d10, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getCurationSetItem, i));
118
-
119
- export const getCurationSetItems = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"GetCurationSetItemsRequest";$7(#6:0);$5(>5)@"GetCurationSetItemsResponse";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items",code:200}));#2.pipe($8())', [__0, __1, __8, __2, __6, __7, __d10, __13, __10, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getCurationSetItems, i));
120
-
121
- export const getCurationSets = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetCurationSetsRequest";$5(#4:2);$3(>5)@"GetCurationSetsResponse";$2({}).pipe($1({method:"GET",uri:"/curation_sets",code:200}));#2.pipe($6())', [__0, __1, __6, __7, __d9, __13, __10, TypesenseProtocol, Retry.Retry]] : API.call(getCurationSets, i));
122
-
123
- export const getDocument = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetDocumentRequest";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d5, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getDocument, i));
124
-
125
- export const getKey = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetKeyRequest";$4({keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/keys/{keyId}",code:200}))', [__0, __1, __8, __5, __6, __7, __d21, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getKey, i));
126
-
127
- export const getKeys = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetKeysRequest";$5(#4:0);$3(>5)@"ApiKeysResponse";$2({}).pipe($1({method:"GET",uri:"/keys",code:200}));$2({keys:#2})', [__0, __1, __6, __7, __d21, __13, TypesenseProtocol, Retry.Retry]] : API.call(getKeys, i));
128
-
129
- export const getMetrics = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"GetMetricsRequest";$2({}).pipe($1({method:"GET",uri:"/metrics.json",code:200}))', [__0, __1, __6, __7, __d5, TypesenseProtocol, Retry.Retry]] : API.call(getMetrics, i));
130
-
131
- export const getNLSearchModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetNLSearchModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/nl_search_models/{modelId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d0, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getNLSearchModel, i));
132
-
133
- export const getPreset = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("conversation", '{input:#1,output:#3,errors:[$8],protocol:$9,retry:$10};$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})', [__0, __1, __8, __2, __6, __7, __14, __11, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(getPreset, i));
134
-
135
- export const getSchemaChanges = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$3(>5)@"GetSchemaChangesRequest";$3(>6)@"SchemaChangeStatus";$7(#2);$3(>7)@"GetSchemaChangesResponse";$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())', [__0, __1, __6, __7, __2, __3, __5, __13, __10, TypesenseProtocol, Retry.Retry]] : API.call(getSchemaChanges, i));
136
-
137
- export const getStemmingDictionary = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("StemmingDictionary", '{input:#1,output:#4,errors:[$7],protocol:$8,retry:$9};$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})', [__0, __1, __8, __2, __6, __7, __13, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(getStemmingDictionary, i));
138
-
139
- export const getStopwordsSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"GetStopwordsSetRequest";$5(>4)@"StopwordsSetRetrieveSchema";$4({setId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stopwords/{setId}",code:200}));$4({stopwords:#6:0})', [__0, __1, __8, __2, __6, __7, __d13, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getStopwordsSet, i));
140
-
141
- export const getStopwordsSets = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetStopwordsSetsRequest";$5(#4:0);$3(>5)@"StopwordsSetsRetrieveAllSchema";$2({}).pipe($1({method:"GET",uri:"/stopwords",code:200}));$2({stopwords:#2})', [__0, __1, __6, __7, __d13, __13, TypesenseProtocol, Retry.Retry]] : API.call(getStopwordsSets, i));
142
-
143
- export const getSynonymSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetSynonymSetRequest";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d16, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getSynonymSet, i));
144
-
145
- export const getSynonymSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetSynonymSetItemRequest";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))', [__0, __1, __8, __2, __6, __7, __d14, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getSynonymSetItem, i));
146
-
147
- export const getSynonymSetItems = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetSynonymSetItemsRequest";$5(>4)@"GetSynonymSetItemsResponse";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items",code:200}));#7:0.pipe($6())', [__0, __1, __8, __2, __6, __7, __10, __d15, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(getSynonymSetItems, i));
148
-
149
- export const getSynonymSets = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetSynonymSetsRequest";$5(#4:0);$3(>5)@"GetSynonymSetsResponse";$2({}).pipe($1({method:"GET",uri:"/synonym_sets",code:200}));#2.pipe($6())', [__0, __1, __6, __7, __d16, __13, __10, TypesenseProtocol, Retry.Retry]] : API.call(getSynonymSets, i));
150
-
151
- export const health = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"HealthRequest";$2({}).pipe($1({method:"GET",uri:"/health",code:200}))', [__0, __1, __6, __7, __d11, TypesenseProtocol, Retry.Retry]] : API.call(health, i));
152
-
153
- export const importDocuments = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ImportDocumentsRequest", '{input:#2,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$6(>3)@"%ImportDocumentsParameters";$6(>4)@"%";$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}))', [__0, __5, __3, __9, __2, __6, __7, __1, __8, __12, __d6, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(importDocuments, i));
154
-
155
- export const importStemmingDictionary = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"ImportStemmingDictionaryRequest";$5({id:$3.pipe($2()),body:$3.pipe($4())}).pipe($1({method:"POST",uri:"/stemming/dictionaries/import",code:200}))', [__0, __1, __12, __2, __15, __6, __7, __d6, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(importStemmingDictionary, i));
156
-
157
- export const indexDocument = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"IndexDocumentRequest";$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}))', [__0, __1, __8, __2, __12, __3, __6, __7, __d5, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(indexDocument, i));
158
-
159
- export const listStemmingDictionaries = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ListStemmingDictionariesRequest";$3(>4)@"ListStemmingDictionariesResponse";$2({}).pipe($1({method:"GET",uri:"/stemming/dictionaries",code:200}));$2({dictionaries:$5(#4:0)})', [__0, __1, __6, __7, __d12, __3, TypesenseProtocol, Retry.Retry]] : API.call(listStemmingDictionaries, i));
160
-
161
- export const searchCollection = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#2,output:#3,errors:[$11,$12],protocol:$13,retry:$14};$6(>4)@"SearchParameters";$6(>5)@"SearchCollectionRequest";$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)})', [__0, __2, __3, __9, __5, __6, __7, __1, __8, __12, __d17, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(searchCollection, i));
162
-
163
- export const searchMulti = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("MultiSearchResult", '{input:#4,output:#7,errors:[$12],protocol:$13,retry:$14};$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)})', [__0, __2, __3, __5, __9, __17, __6, __7, __13, __1, __12, __d17, BadRequest, TypesenseProtocol, Retry.Retry]) : API.call(searchMulti, i));
164
-
165
- export const takeSnapshot = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8};$5(>2)@"TakeSnapshotRequest";$4({snapshot_path:$3.pipe($2())}).pipe($1({method:"POST",uri:"/operations/snapshot",code:200}))', [__0, __1, __12, __2, __6, __7, __d7, TypesenseProtocol, Retry.Retry]] : API.call(takeSnapshot, i));
166
-
167
- export const toggleSlowRequestLog = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8};$5(>2)@"ToggleSlowRequestLogRequest";$4({log_slow_requests_time_ms:$3.pipe($2("log-slow-requests-time-ms"))}).pipe($1({method:"POST",uri:"/config",code:200}))', [__0, __1, __17, __5, __6, __7, __d7, TypesenseProtocol, Retry.Retry]] : API.call(toggleSlowRequestLog, i));
168
-
169
- export const updateCollection = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13};$9(>3)@"UpdateCollectionRequest";$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)})', [__0, __1, __8, __2, __d19, __3, __d12, __11, __6, __7, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(updateCollection, i));
170
-
171
- export const updateConversationModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$8(>2)@"UpdateConversationModelRequest";$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}))', [__0, __1, __8, __2, __3, __4, __5, __6, __7, __d20, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(updateConversationModel, i));
172
-
173
- export const updateDocument = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateDocumentRequest";$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}))', [__0, __1, __8, __2, __12, __3, __6, __7, __d5, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(updateDocument, i));
174
-
175
- export const updateDocuments = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("UpdateDocumentsRequest", '{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$4(>4)@"%UpdateDocumentsParameters";$4(>5)@"%";$4(>6)@"UpdateDocumentsResponse";$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})', [__0, __2, __3, __6, __7, __1, __8, __12, __5, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]) : API.call(updateDocuments, i));
176
-
177
- export const updateNLSearchModel = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"UpdateNLSearchModelRequest";$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}))', [__0, __1, __8, __2, __3, __4, __5, __d12, __6, __7, __d0, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(updateNLSearchModel, i));
178
-
179
- export const upsertAlias = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"UpsertAliasRequest";$4({aliasName:$3.pipe($2()),collection_name:$3}).pipe($1({method:"PUT",uri:"/aliases/{aliasName}",code:200}))', [__0, __1, __8, __2, __6, __7, __d1, BadRequest, NotFound, TypesenseProtocol, Retry.Retry]] : API.call(upsertAlias, i));
180
-
181
- export const upsertAnalyticsRule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#5:1,errors:[$8],protocol:$9,retry:$10};$7(>2)@"UpsertAnalyticsRuleRequest";$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}))', [__0, __1, __8, __2, __3, __d2, __6, __7, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertAnalyticsRule, i));
182
-
183
- export const upsertCurationSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:2,errors:[$8],protocol:$9,retry:$10};$7(>2)@"UpsertCurationSetRequest";$6({curationSetName:$3.pipe($2()),items:#4:1,description:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}",code:200}))', [__0, __1, __8, __2, __d9, __3, __6, __7, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertCurationSet, i));
184
-
185
- export const upsertCurationSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#11:0,errors:[$12],protocol:$13,retry:$14};$10(>2)@"UpsertCurationSetItemRequest";$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}))', [__0, __1, __8, __2, __d8, __3, __9, __11, __5, __6, __7, __d10, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertCurationSetItem, i));
186
-
187
- export const upsertPreset = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("conversation", '{input:#2,output:#4,errors:[$8],protocol:$9,retry:$10};$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})', [__0, __14, __11, __1, __8, __2, __6, __7, BadRequest, TypesenseProtocol, Retry.Retry]) : API.call(upsertPreset, i));
188
-
189
- export const upsertStopwordsSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpsertStopwordsSetRequest";$6({setId:$3.pipe($2()),stopwords:#4:0,locale:$5($3)}).pipe($1({method:"PUT",uri:"/stopwords/{setId}",code:200}))', [__0, __1, __8, __2, __d12, __3, __6, __7, __d13, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertStopwordsSet, i));
190
-
191
- export const upsertSynonymSet = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"UpsertSynonymSetRequest";$5({synonymSetName:$3.pipe($2()),items:#4:0}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}",code:200}))', [__0, __1, __8, __2, __d15, __6, __7, __d16, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertSynonymSet, i));
192
-
193
- export const upsertSynonymSetItem = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpsertSynonymSetItemRequest";$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}))', [__0, __1, __8, __2, __d12, __3, __6, __7, __d14, BadRequest, TypesenseProtocol, Retry.Retry]] : API.call(upsertSynonymSetItem, i));
194
-
195
- export const vote =
196
- /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"VoteRequest";$2({}).pipe($1({method:"POST",uri:"/operations/vote",code:200}))', [__0, __1, __6, __7, __d7, TypesenseProtocol, Retry.Retry]] : API.call(vote, i));
197
- // Schema builders: each runs one schema initializer, on that schema's first use.
198
- // Schema table: entry i is schema j of builder f, made on first reach.
199
-
200
-
201
- // Shared schema data (see `op` in core/api).
202
- function __d0() {
203
- 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})', [__0, __2, __3, __4, __5, __d12, __6, __7]];
204
- }
205
- function __d1() {
206
- return ['$3(>1)@"CollectionAlias";$2({name:$1,collection_name:$1})', [__0, __2, __6, __7]];
207
- }
208
- function __d2() {
209
- 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)})', [__0, __2, __3, __5, __9, __d12, __6, __7]];
210
- }
211
- function __d3() {
212
- return ['$3(>1)@"CurationSetDeleteSchema";$2({name:$1})', [__0, __2, __6, __7]];
213
- }
214
- function __d4() {
215
- return ['$3(>1)@"CurationItemDeleteSchema";$2({id:$1})', [__0, __2, __6, __7]];
216
- }
217
- function __d5() {
218
- return ['$3(>1)@"DeleteDocumentResponse";$2.pipe($1())', [__0, __10, __11, __7]];
219
- }
220
- function __d6() {
221
- return ['$2(>1)@"ExportDocumentsResponse";$1({})', [__0, __6, __7]];
222
- }
223
- function __d7() {
224
- return ['$3(>1)@"SuccessStatus";$2({success:$1})', [__0, __9, __6, __7]];
225
- }
226
- function __d8() {
227
- 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})', [__0, __d12, __3, __2, __6, __7, __5, __13, __d4]];
228
- }
229
- function __d9() {
230
- 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})', [__0, __d8, __3, __2, __9, __11, __5, __6, __7, __13]];
231
- }
232
- function __d10() {
233
- 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})', [__0, __d8, __3, __2, __9, __11, __5, __6, __7]];
234
- }
235
- function __d11() {
236
- return ['$3(>1)@"AnalyticsEventCreateResponse";$2({ok:$1})', [__0, __9, __6, __7]];
237
- }
238
- function __d12() {
239
- return ['$2($1)', [__0, __2, __13]];
240
- }
241
- function __d13() {
242
- return ['$5(>1)@"StopwordsSetSchema";$4({id:$1,stopwords:#2:0,locale:$3($1)})', [__0, __2, __d12, __3, __6, __7]];
243
- }
244
- function __d14() {
245
- return ['$5(>1)@"SynonymItemSchema";$4({id:$1,synonyms:#2:0,root:$3($1),locale:$3($1),symbols_to_index:$3(#2:0)})', [__0, __2, __d12, __3, __6, __7]];
246
- }
247
- function __d15() {
248
- return ['$2(#1:0)', [__0, __d14, __13]];
249
- }
250
- function __d16() {
251
- return ['$4(>1)@"GetSynonymSetResponse";$3({items:#1:0,name:$2})', [__0, __d15, __2, __6, __7]];
252
- }
253
- function __d17() {
254
- 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})', [__0, __5, __3, __2, __11, __6, __7, __13, __9, __d12, __16]];
255
- }
256
- function __d18() {
257
- 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})', [__0, __2, __3, __6, __7, __d19, __d12, __9, __11, __5]];
258
- }
259
- function __d19() {
260
- 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)})', [__0, __2, __4, __3, __6, __7, __d12, __9, __5, __13]];
261
- }
262
- function __d20() {
263
- 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)})', [__0, __2, __4, __3, __5, __6, __7]];
264
- }
265
- function __d21() {
266
- 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)})', [__0, __2, __3, __d12, __5, __6, __7]];
267
- }
1
+ import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as ee,l as s,m as c,n as l,o as u,p as d,protocol$TypesenseProtocol as f,r as p,retry$Retry as m,s as h,t as g,traits$Body as _,traits$Http as v,traits$HttpBody as y,traits$Label as b,traits$Query as x,traits$RawResponseRoot as S,traits$SensitiveValue as C,traits$UnionCases as w,traits$applyErrorMatchers as T,u as E,v as te,y as ne}from"../_bundle/sdk.js";const D=/*@__PURE__*/ c(function BadRequest(e){return a(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[s,te,p,t,h,T]])});const O=/*@__PURE__*/ c(function Conflict(e){return a(e,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[s,ne,p,t,h,T]])});const k=/*@__PURE__*/ c(function NotFound(e){return a(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[s,te,p,t,h,T]])});const A=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"ClearCacheRequest";$2({}).pipe($1({method:"POST",uri:"/operations/cache/clear",code:200}))`,[s,v,u,r,__d7,f,m]]:d(A,e));const j=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"CompactDbRequest";$2({}).pipe($1({method:"POST",uri:"/operations/db/compact",code:200}))`,[s,v,u,r,__d7,f,m]]:d(j,e));const M=/*@__PURE__*/ e(e=>e===i?o(`CreateAnalyticsEventRequest`,`{input:#2,output:#7:0,errors:[$8],protocol:$9,retry:$10};$5(>3)@"%Data";$5(>4)@"%";$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}))`,[s,t,E,__d12,u,r,v,__d11,D,f,m]):d(M,e));const N=/*@__PURE__*/ e(e=>e===i?[`{input:#2,output:#4,errors:[$6],protocol:$7,retry:$8};~5;$4(>6)@"CreateAnalyticsRuleRequest";~5;$4(>7)@"CreateAnalyticsRuleResponse";$10.pipe($9([["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())`,[s,v,y,u,r,S,D,f,m,w,n]]:d(N,e));const P=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#7:1,errors:[$11,$12],protocol:$13,retry:$14};$10(>2)@"CreateCollectionRequest";$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}))`,[s,v,t,__d19,E,__d12,l,__d18,n,u,r,D,O,f,m]]:d(P,e));const F=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateConversationModelRequest";$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}))`,[s,v,t,E,C,p,u,r,__d20,D,f,m]]:d(F,e));const I=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateKeyRequest";$6({value:$3($2),description:$2,actions:#4:0,collections:#4:0,expires_at:$3($5)}).pipe($1({method:"POST",uri:"/keys",code:200}))`,[s,v,t,E,__d12,p,u,r,__d21,D,O,f,m]]:d(I,e));const L=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"CreateNLSearchModelRequest";$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}))`,[s,v,t,E,C,p,__d12,u,r,__d0,D,f,m]]:d(L,e));const R=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"DebugRequest";$3(>4)@"DebugResponse";$2({}).pipe($1({method:"GET",uri:"/debug",code:200}));$2({version:$5($4)})`,[s,v,u,r,t,E,f,m]]:d(R,e));const z=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteAliasRequest";$4({aliasName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/aliases/{aliasName}",code:200}))`,[s,v,b,t,u,r,__d1,k,f,m]]:d(z,e));const B=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteAnalyticsRuleRequest";$4({ruleName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/analytics/rules/{ruleName}",code:200}))`,[s,v,b,t,u,r,__d2,k,f,m]]:d(B,e));const V=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCollectionRequest";$4({collectionName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}",code:200}))`,[s,v,b,t,u,r,__d18,k,f,m]]:d(V,e));const H=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteConversationModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/conversations/models/{modelId}",code:200}))`,[s,v,b,t,u,r,__d20,k,f,m]]:d(H,e));const U=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCurationSetRequest";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}",code:200}))`,[s,v,b,t,u,r,__d3,k,f,m]]:d(U,e));const W=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteCurationSetItemRequest";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[s,v,b,t,u,r,__d4,k,f,m]]:d(W,e));const G=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteDocumentRequest";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[s,v,b,t,u,r,__d5,k,f,m]]:d(G,e));const K=/*@__PURE__*/ e(e=>e===i?o(`DeleteDocumentsRequest`,`{input:#2,output:#3,errors:[$10],protocol:$11,retry:$12};$6(>4)@"%DeleteDocumentsParameters";$6(>5)@"%";$6(>6)@"DeleteDocumentsResponse";$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})`,[s,t,p,E,l,u,r,v,b,x,k,f,m]):d(K,e));const q=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9};$5(>3)@"DeleteKeyRequest";$5(>4)@"ApiKeyDeleteResponse";$4({keyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/keys/{keyId}",code:200}));$4({id:$3})`,[s,v,b,p,u,r,D,k,f,m]]:d(q,e));const J=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteNLSearchModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/nl_search_models/{modelId}",code:200}))`,[s,v,b,t,u,r,__d4,k,f,m]]:d(J,e));const Y=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeletePresetRequest";$4({presetId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/presets/{presetId}",code:200}))`,[s,v,b,t,u,r,__d3,k,f,m]]:d(Y,e));const X=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteStopwordsSetRequest";$4({setId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/stopwords/{setId}",code:200}))`,[s,v,b,t,u,r,__d4,k,f,m]]:d(X,e));const Z=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteSynonymSetRequest";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[s,v,b,t,u,r,__d3,k,f,m]]:d(Z,e));const re=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteSynonymSetItemRequest";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[s,v,b,t,u,r,__d4,k,f,m]]:d(re,e));const ie=/*@__PURE__*/ e(e=>e===i?o(`ExportDocumentsRequest`,`{input:#2,output:#8:0,errors:[$9],protocol:$10,retry:$11};$4(>3)@"%ExportDocumentsParameters";$4(>4)@"%";$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}))`,[s,t,E,u,r,v,b,x,__d6,k,f,m]):d(ie,e));const ae=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"FlushAnalyticsRequest";$2({}).pipe($1({method:"POST",uri:"/analytics/flush",code:200}))`,[s,v,u,r,__d11,f,m]]:d(ae,e));const oe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetAliasRequest";$4({aliasName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/aliases/{aliasName}",code:200}))`,[s,v,b,t,u,r,__d1,k,f,m]]:d(oe,e));const se=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetAliasesRequest";$5(#4:0);$3(>5)@"CollectionAliasesResponse";$2({}).pipe($1({method:"GET",uri:"/aliases",code:200}));$2({aliases:#2})`,[s,v,u,r,__d1,g,f,m]]:d(se,e));const ce=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetAllConversationModelsRequest";$5(#4:0);$3(>5)@"GetAllConversationModelsResponse";$2({}).pipe($1({method:"GET",uri:"/conversations/models",code:200}));#2.pipe($6())`,[s,v,u,r,__d20,g,S,f,m]]:d(ce,e));const le=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetAllNLSearchModelsRequest";$5(#4:0);$3(>5)@"GetAllNLSearchModelsResponse";$2({}).pipe($1({method:"GET",uri:"/nl_search_models",code:200}));#2.pipe($6())`,[s,v,u,r,__d0,g,S,f,m]]:d(le,e));const ue=/*@__PURE__*/ e(e=>e===i?o(`conversation`,`{input:#1,output:#5,errors:[],protocol:$8,retry:$9};$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})`,[s,v,u,r,w,n,t,g,f,m]):d(ue,e));const de=/*@__PURE__*/ e(e=>e===i?o(`AnalyticsEventsResponse`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$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})`,[s,v,x,t,p,u,r,E,__d12,g,D,f,m]):d(de,e));const fe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetAnalyticsRuleRequest";$4({ruleName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/analytics/rules/{ruleName}",code:200}))`,[s,v,b,t,u,r,__d2,k,f,m]]:d(fe,e));const pe=/*@__PURE__*/ e(e=>e===i?[`{input:#2,output:#3,errors:[],protocol:$10,retry:$11};$2(#1:1);$8(>4)@"GetAnalyticsRulesRequest";$8(>5)@"GetAnalyticsRulesResponse";$7({rule_tag:$6($5.pipe($4()))}).pipe($3({method:"GET",uri:"/analytics/rules",code:200}));#1.pipe($9())`,[s,__d2,g,v,x,t,E,u,r,S,f,m]]:d(pe,e));const me=/*@__PURE__*/ e(e=>e===i?o(`AnalyticsStatus`,`{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$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)})`,[s,v,u,r,p,E,f,m]):d(me,e));const he=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[],protocol:$7,retry:$8};$3(>3)@"GetAPIStatsRequest";$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)})`,[s,v,u,r,p,E,n,f,m]]:d(he,e));const ge=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCollectionRequest";$4({collectionName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}",code:200}))`,[s,v,b,t,u,r,__d18,k,f,m]]:d(ge,e));const _e=/*@__PURE__*/ e(e=>e===i?o(`GetCollectionsRequest`,`{input:#2,output:#4,errors:[],protocol:$11,retry:$12};$5(>5)@"%GetCollectionsParameters";$5(>6)@"%";$9(#8:1);$5(>7)@"GetCollectionsResponse";$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())`,[s,t,E,p,u,r,v,x,__d18,g,S,f,m]):d(_e,e));const ve=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetConversationModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/conversations/models/{modelId}",code:200}))`,[s,v,b,t,u,r,__d20,k,f,m]]:d(ve,e));const ye=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:2,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCurationSetRequest";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}",code:200}))`,[s,v,b,t,u,r,__d9,k,f,m]]:d(ye,e));const be=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetCurationSetItemRequest";$4({curationSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items/{itemId}",code:200}))`,[s,v,b,t,u,r,__d10,k,f,m]]:d(be,e));const xe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"GetCurationSetItemsRequest";$7(#6:0);$5(>5)@"GetCurationSetItemsResponse";$4({curationSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/curation_sets/{curationSetName}/items",code:200}));#2.pipe($8())`,[s,v,b,t,u,r,__d10,g,S,k,f,m]]:d(xe,e));const Se=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetCurationSetsRequest";$5(#4:2);$3(>5)@"GetCurationSetsResponse";$2({}).pipe($1({method:"GET",uri:"/curation_sets",code:200}));#2.pipe($6())`,[s,v,u,r,__d9,g,S,f,m]]:d(Se,e));const Ce=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetDocumentRequest";$4({collectionName:$3.pipe($2()),documentId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/collections/{collectionName}/documents/{documentId}",code:200}))`,[s,v,b,t,u,r,__d5,k,f,m]]:d(Ce,e));const we=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetKeyRequest";$4({keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/keys/{keyId}",code:200}))`,[s,v,b,p,u,r,__d21,k,f,m]]:d(we,e));const Te=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetKeysRequest";$5(#4:0);$3(>5)@"ApiKeysResponse";$2({}).pipe($1({method:"GET",uri:"/keys",code:200}));$2({keys:#2})`,[s,v,u,r,__d21,g,f,m]]:d(Te,e));const Ee=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"GetMetricsRequest";$2({}).pipe($1({method:"GET",uri:"/metrics.json",code:200}))`,[s,v,u,r,__d5,f,m]]:d(Ee,e));const De=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetNLSearchModelRequest";$4({modelId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/nl_search_models/{modelId}",code:200}))`,[s,v,b,t,u,r,__d0,k,f,m]]:d(De,e));const Oe=/*@__PURE__*/ e(e=>e===i?o(`conversation`,`{input:#1,output:#3,errors:[$8],protocol:$9,retry:$10};$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})`,[s,v,b,t,u,r,w,n,k,f,m]):d(Oe,e));const ke=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$3(>5)@"GetSchemaChangesRequest";$3(>6)@"SchemaChangeStatus";$7(#2);$3(>7)@"GetSchemaChangesResponse";$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())`,[s,v,u,r,t,E,p,g,S,f,m]]:d(ke,e));const Ae=/*@__PURE__*/ e(e=>e===i?o(`StemmingDictionary`,`{input:#1,output:#4,errors:[$7],protocol:$8,retry:$9};$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})`,[s,v,b,t,u,r,g,k,f,m]):d(Ae,e));const je=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"GetStopwordsSetRequest";$5(>4)@"StopwordsSetRetrieveSchema";$4({setId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/stopwords/{setId}",code:200}));$4({stopwords:#6:0})`,[s,v,b,t,u,r,__d13,k,f,m]]:d(je,e));const Me=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$6,retry:$7};$3(>4)@"GetStopwordsSetsRequest";$5(#4:0);$3(>5)@"StopwordsSetsRetrieveAllSchema";$2({}).pipe($1({method:"GET",uri:"/stopwords",code:200}));$2({stopwords:#2})`,[s,v,u,r,__d13,g,f,m]]:d(Me,e));const Ne=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetSynonymSetRequest";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[s,v,b,t,u,r,__d16,k,f,m]]:d(Ne,e));const Pe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetSynonymSetItemRequest";$4({synonymSetName:$3.pipe($2()),itemId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items/{itemId}",code:200}))`,[s,v,b,t,u,r,__d14,k,f,m]]:d(Pe,e));const Fe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetSynonymSetItemsRequest";$5(>4)@"GetSynonymSetItemsResponse";$4({synonymSetName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/synonym_sets/{synonymSetName}/items",code:200}));#7:0.pipe($6())`,[s,v,b,t,u,r,S,__d15,k,f,m]]:d(Fe,e));const Ie=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetSynonymSetsRequest";$5(#4:0);$3(>5)@"GetSynonymSetsResponse";$2({}).pipe($1({method:"GET",uri:"/synonym_sets",code:200}));#2.pipe($6())`,[s,v,u,r,__d16,g,S,f,m]]:d(Ie,e));const Le=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"HealthRequest";$2({}).pipe($1({method:"GET",uri:"/health",code:200}))`,[s,v,u,r,__d11,f,m]]:d(Le,e));const Re=/*@__PURE__*/ e(e=>e===i?o(`ImportDocumentsRequest`,`{input:#2,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$6(>3)@"%ImportDocumentsParameters";$6(>4)@"%";$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}))`,[s,p,E,l,t,u,r,v,b,x,__d6,D,k,f,m]):d(Re,e));const ze=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"ImportStemmingDictionaryRequest";$5({id:$3.pipe($2()),body:$3.pipe($4())}).pipe($1({method:"POST",uri:"/stemming/dictionaries/import",code:200}))`,[s,v,x,t,y,u,r,__d6,D,f,m]]:d(ze,e));const Be=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"IndexDocumentRequest";$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}))`,[s,v,b,t,x,E,u,r,__d5,k,f,m]]:d(Be,e));const Ve=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ListStemmingDictionariesRequest";$3(>4)@"ListStemmingDictionariesResponse";$2({}).pipe($1({method:"GET",uri:"/stemming/dictionaries",code:200}));$2({dictionaries:$5(#4:0)})`,[s,v,u,r,__d12,E,f,m]]:d(Ve,e));const He=/*@__PURE__*/ e(e=>e===i?[`{input:#2,output:#3,errors:[$11,$12],protocol:$13,retry:$14};$6(>4)@"SearchParameters";$6(>5)@"SearchCollectionRequest";$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)})`,[s,t,E,l,p,u,r,v,b,x,__d17,D,k,f,m]]:d(He,e));const Ue=/*@__PURE__*/ e(e=>e===i?o(`MultiSearchResult`,`{input:#4,output:#7,errors:[$12],protocol:$13,retry:$14};$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)})`,[s,t,E,p,l,_,u,r,g,v,x,__d17,D,f,m]):d(Ue,e));const We=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8};$5(>2)@"TakeSnapshotRequest";$4({snapshot_path:$3.pipe($2())}).pipe($1({method:"POST",uri:"/operations/snapshot",code:200}))`,[s,v,x,t,u,r,__d7,f,m]]:d(We,e));const Ge=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[],protocol:$7,retry:$8};$5(>2)@"ToggleSlowRequestLogRequest";$4({log_slow_requests_time_ms:$3.pipe($2("log-slow-requests-time-ms"))}).pipe($1({method:"POST",uri:"/config",code:200}))`,[s,v,_,p,u,r,__d7,f,m]]:d(Ge,e));const Ke=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13};$9(>3)@"UpdateCollectionRequest";$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)})`,[s,v,b,t,__d19,E,__d12,n,u,r,D,k,f,m]]:d(Ke,e));const qe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$8(>2)@"UpdateConversationModelRequest";$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}))`,[s,v,b,t,E,C,p,u,r,__d20,D,k,f,m]]:d(qe,e));const Je=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateDocumentRequest";$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}))`,[s,v,b,t,x,E,u,r,__d5,k,f,m]]:d(Je,e));const Ye=/*@__PURE__*/ e(e=>e===i?o(`UpdateDocumentsRequest`,`{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$4(>4)@"%UpdateDocumentsParameters";$4(>5)@"%";$4(>6)@"UpdateDocumentsResponse";$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})`,[s,t,E,u,r,v,b,x,p,D,k,f,m]):d(Ye,e));const Q=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"UpdateNLSearchModelRequest";$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}))`,[s,v,b,t,E,C,p,__d12,u,r,__d0,D,k,f,m]]:d(Q,e));const Xe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"UpsertAliasRequest";$4({aliasName:$3.pipe($2()),collection_name:$3}).pipe($1({method:"PUT",uri:"/aliases/{aliasName}",code:200}))`,[s,v,b,t,u,r,__d1,D,k,f,m]]:d(Xe,e));const Ze=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#5:1,errors:[$8],protocol:$9,retry:$10};$7(>2)@"UpsertAnalyticsRuleRequest";$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}))`,[s,v,b,t,E,__d2,u,r,D,f,m]]:d(Ze,e));const Qe=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:2,errors:[$8],protocol:$9,retry:$10};$7(>2)@"UpsertCurationSetRequest";$6({curationSetName:$3.pipe($2()),items:#4:1,description:$5($3)}).pipe($1({method:"PUT",uri:"/curation_sets/{curationSetName}",code:200}))`,[s,v,b,t,__d9,E,u,r,D,f,m]]:d(Qe,e));const $e=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#11:0,errors:[$12],protocol:$13,retry:$14};$10(>2)@"UpsertCurationSetItemRequest";$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}))`,[s,v,b,t,__d8,E,l,n,p,u,r,__d10,D,f,m]]:d($e,e));const et=/*@__PURE__*/ e(e=>e===i?o(`conversation`,`{input:#2,output:#4,errors:[$8],protocol:$9,retry:$10};$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})`,[s,w,n,v,b,t,u,r,D,f,m]):d(et,e));const tt=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpsertStopwordsSetRequest";$6({setId:$3.pipe($2()),stopwords:#4:0,locale:$5($3)}).pipe($1({method:"PUT",uri:"/stopwords/{setId}",code:200}))`,[s,v,b,t,__d12,E,u,r,__d13,D,f,m]]:d(tt,e));const nt=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"UpsertSynonymSetRequest";$5({synonymSetName:$3.pipe($2()),items:#4:0}).pipe($1({method:"PUT",uri:"/synonym_sets/{synonymSetName}",code:200}))`,[s,v,b,t,__d15,u,r,__d16,D,f,m]]:d(nt,e));const rt=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpsertSynonymSetItemRequest";$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}))`,[s,v,b,t,__d12,E,u,r,__d14,D,f,m]]:d(rt,e));const $=/*@__PURE__*/ e(e=>e===i?[`{input:#1,output:#4:0,errors:[],protocol:$5,retry:$6};$3(>2)@"VoteRequest";$2({}).pipe($1({method:"POST",uri:"/operations/vote",code:200}))`,[s,v,u,r,__d7,f,m]]:d($,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})`,[s,t,E,C,p,__d12,u,r]]}function __d1(){return[`$3(>1)@"CollectionAlias";$2({name:$1,collection_name:$1})`,[s,t,u,r]]}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)})`,[s,t,E,p,l,__d12,u,r]]}function __d3(){return[`$3(>1)@"CurationSetDeleteSchema";$2({name:$1})`,[s,t,u,r]]}function __d4(){return[`$3(>1)@"CurationItemDeleteSchema";$2({id:$1})`,[s,t,u,r]]}function __d5(){return[`$3(>1)@"DeleteDocumentResponse";$2.pipe($1())`,[s,S,n,r]]}function __d6(){return[`$2(>1)@"ExportDocumentsResponse";$1({})`,[s,u,r]]}function __d7(){return[`$3(>1)@"SuccessStatus";$2({success:$1})`,[s,l,u,r]]}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})`,[s,__d12,E,t,u,r,p,g,__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})`,[s,__d8,E,t,l,n,p,u,r,g]]}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})`,[s,__d8,E,t,l,n,p,u,r]]}function __d11(){return[`$3(>1)@"AnalyticsEventCreateResponse";$2({ok:$1})`,[s,l,u,r]]}function __d12(){return[`$2($1)`,[s,t,g]]}function __d13(){return[`$5(>1)@"StopwordsSetSchema";$4({id:$1,stopwords:#2:0,locale:$3($1)})`,[s,t,__d12,E,u,r]]}function __d14(){return[`$5(>1)@"SynonymItemSchema";$4({id:$1,synonyms:#2:0,root:$3($1),locale:$3($1),symbols_to_index:$3(#2:0)})`,[s,t,__d12,E,u,r]]}function __d15(){return[`$2(#1:0)`,[s,__d14,g]]}function __d16(){return[`$4(>1)@"GetSynonymSetResponse";$3({items:#1:0,name:$2})`,[s,__d15,t,u,r]]}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})`,[s,p,E,t,n,u,r,g,l,__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})`,[s,t,E,u,r,__d19,__d12,l,n,p]]}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)})`,[s,t,C,E,u,r,__d12,l,p,g]]}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)})`,[s,t,C,E,p,u,r]]}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)})`,[s,t,E,__d12,p,u,r]]}export{D as BadRequest,O as Conflict,k as NotFound,A as clearCache,j as compactDb,M as createAnalyticsEvent,N as createAnalyticsRule,P as createCollection,F as createConversationModel,I as createKey,L as createNLSearchModel,R as debug,z as deleteAlias,B as deleteAnalyticsRule,V as deleteCollection,H as deleteConversationModel,U as deleteCurationSet,W as deleteCurationSetItem,G as deleteDocument,K as deleteDocuments,q as deleteKey,J as deleteNLSearchModel,Y as deletePreset,X as deleteStopwordsSet,Z 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,Ye as updateDocuments,Q 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,$ as vote};
2
+ /*
3
+ 30 104
4
+ e:0:_ t:0:a n:0:c r:0:d i:0:f a:0:g o:0:h ee:0:i s:0:l c:0:m l:0:n u:0:o d:0:p f:0:protocol$TypesenseProtocol p:0:r m:0:retry$Retry h:0:s g:0:t _:0:traits$Body v:0:traits$Http y:0:traits$HttpBody b:0:traits$Label x:0:traits$Query S:0:traits$RawResponseRoot C:0:traits$SensitiveValue w:0:traits$UnionCases T:0:traits$applyErrorMatchers E:0:u te:0:v ne:0:y
5
+ 000000000x0001v0003x000560006r000830009j000ay000c0000d8000eg000fo000gw000i4000jc000kk000mj000nr000oz000q7000rf000sn000tw000vv000wx000y6000za0010g0011m00135001570016g0017s0019a001af001bo001dn001ew001g5001he001ir001jx001l6001mf001nj001ol001pu001rg001sp001uf001vo001ws001y1001za0020l0021r0022t0024z0026a0027n0028r002ab002cb002dh002en002g6002ho002j1002l2002mm002ny002p9002qk002s4002tq002v4002wg002xu002yv002zp0030j0031d0032j0033g0034m0035j0036g0037d0038800395003ae003bo003cx003dv003er003fu003gx003hu003iv003k8003lk003mv003nz003p4
6
+ 2 p9 uk A|=;pk ts;8,j,b,3,3b,d,f
7
+ 2 va 10j j|=;vl zr;8,j,b,3,3b,d,f
8
+ 2 119 1ar M|=CreateAnalyticsEventRequest;12f 19m;8,1,r,3g,b,3,j,3f,31,d,f
9
+ 2 1bh 1lb N|=;1bs 1ke;8,j,k,b,3,n,31,d,f,p,2
10
+ 2 1m1 1xj P|=;1mc 1w2;8,j,1,3n,r,3g,a,3m,2,b,3,31,32,d,f
11
+ 2 1y9 28i F|=;1yk 27f;8,j,1,r,o,e,b,3,3o,31,d,f
12
+ 2 298 2gs I|=;29j 2fj;8,j,1,r,3g,e,b,3,3p,31,32,d,f
13
+ 2 2hi 2ya L|=;2ht 2x2;8,j,1,r,o,e,3g,b,3,34,31,d,f
14
+ 2 2z0 34t R|=;2zb 342;8,j,b,3,1,r,d,f
15
+ 2 35j 3bp z|=;35u 3ar;8,j,l,1,b,3,35,33,d,f
16
+ 2 3cf 3iz B|=;3cq 3i1;8,j,l,1,b,3,36,33,d,f
17
+ 2 3jp 3qf V|=;3k0 3pg;8,j,l,1,b,3,3m,33,d,f
18
+ 2 3r5 3xx H|=;3rg 3wy;8,j,l,1,b,3,3o,33,d,f
19
+ 2 3yn 45h U|=;3yy 44j;8,j,l,1,b,3,37,33,d,f
20
+ 2 467 4e5 W|=;46i 4d7;8,j,l,1,b,3,38,33,d,f
21
+ 2 4ev 4mu G|=;4f6 4lw;8,j,l,1,b,3,39,33,d,f
22
+ 2 4nk 50m K|=DeleteDocumentsRequest;4ol 4zl;8,1,e,r,a,b,3,j,l,m,33,d,f
23
+ 2 51c 589 q|=;51n 57e;8,j,l,e,b,3,31,33,d,f
24
+ 2 58z 5fi J|=;59a 5ek;8,j,l,1,b,3,38,33,d,f
25
+ 2 5g8 5md Y|=;5gj 5lf;8,j,l,1,b,3,37,33,d,f
26
+ 2 5n3 5ta X|=;5ne 5sc;8,j,l,1,b,3,38,33,d,f
27
+ 2 5u0 60q Z|=;5ub 5zs;8,j,l,1,b,3,37,33,d,f
28
+ 2 61h 69c re|=;61s 68d;8,j,l,1,b,3,38,33,d,f
29
+ 2 6a3 6lk ie|=ExportDocumentsRequest;6b4 6kh;8,1,r,b,3,j,l,m,3a,33,d,f
30
+ 2 6mb 6rl ae|=;6mm 6qr;8,j,b,3,3f,d,f
31
+ 2 6sc 6yd oe|=;6sn 6xe;8,j,l,1,b,3,35,33,d,f
32
+ 2 6z4 75p se|=;6zf 74u;8,j,b,3,35,h,d,f
33
+ 2 76g 7dz ce|=;76r 7d1;8,j,b,3,3o,h,n,d,f
34
+ 2 7eq 7lw le|=;7f1 7kz;8,j,b,3,34,h,n,d,f
35
+ 2 7mn 90i ue|=conversation;7ne 8zm;8,j,b,3,p,2,1,h,d,f
36
+ 2 919 9ei de|=AnalyticsEventsResponse;92b 9dc;8,j,m,1,e,b,3,r,3g,h,31,d,f
37
+ 2 9f9 9lo fe|=;9fk 9kp;8,j,l,1,b,3,36,33,d,f
38
+ 2 9mf 9uc pe|=;9mq 9t9;8,36,h,j,m,1,r,b,3,n,d,f
39
+ 2 9v3 a64 me|=AnalyticsStatus;9vx a5c;8,j,b,3,e,r,d,f
40
+ 2 a6v an9 he|=;a76 amf;8,j,b,3,e,r,2,d,f
41
+ 2 ao0 aul ge|=;aob atl;8,j,l,1,b,3,3m,33,d,f
42
+ 2 avc b66 _e|=GetCollectionsRequest;awc b50;8,1,r,e,b,3,j,m,3m,h,n,d,f
43
+ 2 b6x bdk ve|=;b78 bck;8,j,l,1,b,3,3o,33,d,f
44
+ 2 beb bl0 ye|=;bem bk1;8,j,l,1,b,3,3d,33,d,f
45
+ 2 blr btl be|=;bm2 bsl;8,j,l,1,b,3,3e,33,d,f
46
+ 2 buc c35 xe|=;bun c21;8,j,l,1,b,3,3e,h,n,33,d,f
47
+ 2 c3w cap Se|=;c47 c9s;8,j,b,3,3d,h,n,d,f
48
+ 2 cbg cja Ce|=;cbr cib;8,j,l,1,b,3,39,33,d,f
49
+ 2 ck1 cpq we|=;ckc coq;8,j,l,e,b,3,3p,33,d,f
50
+ 2 cqh cwk Te|=;cqs cvo;8,j,b,3,3p,h,d,f
51
+ 2 cxb d2c Ee|=;cxm d1j;8,j,b,3,39,d,f
52
+ 2 d33 d9h De|=;d3e d8i;8,j,l,1,b,3,34,33,d,f
53
+ 2 da8 enn Oe|=conversation;daz emp;8,j,l,1,b,3,p,2,33,d,f
54
+ 2 eoe ey7 ke|=;eop ex9;8,j,b,3,1,r,e,h,n,d,f
55
+ 2 eyy f85 Ae|=StemmingDictionary;ezv f79;8,j,l,1,b,3,h,33,d,f
56
+ 2 f8w fgi je|=;f97 ffi;8,j,l,1,b,3,3h,33,d,f
57
+ 2 fh9 foa Me|=;fhk fne;8,j,b,3,3h,h,d,f
58
+ 2 fp1 fvn Ne|=;fpc fun;8,j,l,1,b,3,3k,33,d,f
59
+ 2 fwe g44 Pe|=;fwp g34;8,j,l,1,b,3,3i,33,d,f
60
+ 2 g4v gd9 Fe|=;g56 gc7;8,j,l,1,b,3,n,3j,33,d,f
61
+ 2 ge0 gkr Ie|=;geb gjt;8,j,b,3,3k,h,n,d,f
62
+ 2 gli gqa Le|=;glt gpg;8,j,b,3,3f,d,f
63
+ 2 gr1 h4k Re|=ImportDocumentsRequest;gs2 h3b;8,e,r,a,1,b,3,j,l,m,3a,31,33,d,f
64
+ 2 h5b hch ze|=;h5m hbg;8,j,m,1,k,b,3,3a,31,d,f
65
+ 2 hd8 hlt Be|=;hdj hkq;8,j,l,1,m,r,b,3,39,33,d,f
66
+ 2 hmk hu7 Ve|=;hmv htb;8,j,b,3,3g,r,d,f
67
+ 2 huy jt4 He|=;hv9 jru;8,1,r,a,e,b,3,j,l,m,3l,31,33,d,f
68
+ 2 jtv n74 Ue|=MultiSearchResult;jur n5u;8,1,r,e,a,i,b,3,h,j,m,3l,31,d,f
69
+ 2 n7v ne1 We|=;n86 nd4;8,j,m,1,b,3,3b,d,f
70
+ 2 nes nlw Ge|=;nf3 nkz;8,j,i,e,b,3,3b,d,f
71
+ 2 nmn nxw Ke|=;nmy nwk;8,j,l,1,3n,r,3g,2,b,3,31,33,d,f
72
+ 2 nyn oad qe|=;nyy o95;8,j,l,1,r,o,e,b,3,3o,31,33,d,f
73
+ 2 ob4 ok4 Je|=;obf oj1;8,j,l,1,m,r,b,3,39,33,d,f
74
+ 2 okv owi Ye|=UpdateDocumentsRequest;olw ovg;8,1,r,b,3,j,l,m,e,31,33,d,f
75
+ 2 ox8 pf4 Q|=;oxj pds;8,j,l,1,r,o,e,3g,b,3,34,31,33,d,f
76
+ 2 pfv pmo Xe|=;pg6 pln;8,j,l,1,b,3,35,31,33,d,f
77
+ 2 pnf pv8 Ze|=;pnq pu7;8,j,l,1,r,36,b,3,31,d,f
78
+ 2 pvz q3o Qe|=;pwa q2n;8,j,l,1,3d,r,b,3,31,d,f
79
+ 2 q4f qju $e|=;q4q qih;8,j,l,1,3c,r,a,2,e,b,3,3e,31,d,f
80
+ 2 qkl t42 et|=conversation;qlc t34;8,p,2,j,l,1,b,3,31,d,f
81
+ 2 t4t tc2 tt|=;t54 tau;8,j,l,1,3g,r,b,3,3h,31,d,f
82
+ 2 tct tk0 nt|=;td4 tiu;8,j,l,1,3j,b,3,3k,31,d,f
83
+ 2 tkr tuo rt|=;tl2 ttg;8,j,l,1,3g,r,b,3,3i,31,d,f
84
+ 2 tve u0c $|=;tvp tzk;8,j,b,3,3b,d,f
85
+ 3 c8 fx D|=;dj fe;8,s,e,1,g,q
86
+ 3 gn k8 O|=;hw jp;8,t,e,1,g,q
87
+ 3 ky oj k|=;m7 o0;8,s,e,1,g,q
88
+ 1 u0e udn __d0|=;u12 ucy;8,1,r,o,e,3g,b,3
89
+ 1 udn ug9 __d1|=;ueb ufw;8,1,b,3
90
+ 1 ug9 upx __d2|=;ugx up8;8,1,r,e,a,3g,b,3
91
+ 1 upx us8 __d3|=;uql urv;8,1,b,3
92
+ 1 us8 uui __d4|=;usw uu5;8,1,b,3
93
+ 1 uui uws __d5|=;uv6 uwf;8,n,2,3
94
+ 1 uws uyu __d6|=;uxg uyj;8,b,3
95
+ 1 uyu v0y __d7|=;uzi v0l;8,a,b,3
96
+ 1 v0y v6l __d8|=;v1m v5r;8,3g,r,1,b,3,e,h,38
97
+ 1 v6l vid __d9|=;v79 vhl;8,3c,r,1,a,2,e,b,3,h
98
+ 1 vid vrt __d10|=;vj2 vr3;8,3c,r,1,a,2,e,b,3
99
+ 1 vrt vu8 __d11|=;vsi vtv;8,a,b,3
100
+ 1 vu8 vve __d12|=;vux vv3;8,1,h
101
+ 1 vve vyk __d13|=;vw3 vxz;8,1,3g,r,b,3
102
+ 1 vyk w2q __d14|=;vz9 w25;8,1,3g,r,b,3
103
+ 1 w2q w42 __d15|=;w3f w3n;8,3i,h
104
+ 1 w42 w6t __d16|=;w4r w6a;8,3j,1,b,3
105
+ 1 w6t x9z __d17|=;w7i x93;8,e,r,1,2,b,3,h,a,3g,7
106
+ 1 x9z xko __d18|=;xao xjr;8,1,r,b,3,3n,3g,a,2,e
107
+ 1 xko y4i __d19|=;xld y3p;8,1,o,r,b,3,3g,a,e,h
108
+ 1 y4i yb5 __d20|=;y57 yam;8,1,o,r,e,b,3
109
+ 1 yb5 ygb __d21|=;ybu yfo;8,1,r,3g,e,b,3
110
+ */
111
+ //# sourceMappingURL=typesense.js.map
@@ -0,0 +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","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","API.named","S.optional","T.HttpBody","T.RawResponseRoot","T.UnionCases","S.Unknown","S.Boolean","T.SensitiveValue","T.Label","T.Query","S.Array","T.Body","S.Record","op","String","Unknown","suspend","D","newError","named","Record","at","error","Boolean","Struct","call","TypesenseProtocol","Number","Retry","TaggedError","Array","Body","Http","HttpBody","Label","Query","RawResponseRoot","SensitiveValue","UnionCases","applyErrorMatchers","optional","withBadRequestError","withConflictError","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":"gaAWA,MAAayD,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAOzD,EAAa0D,EAAG,WAAY,CAAC,sEAAuE,CAACzD,EAAQ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1,3 @@
1
+ import{api$lazyNamespace as $N}from"@distilled.cloud/core/_bundle/base";
2
+ const $u=import.meta.url,typesense=$N($u,"./typesense.js");
3
+ export{typesense};
@@ -0,0 +1,4 @@
1
+ import{$L}from"../_bundle/lazy.js";
2
+ const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/typesense.js","ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo",46448,5679);
3
+ export const{BadRequest,Conflict,NotFound}=$E;
4
+ export const clearCache=$o(),compactDb=$o(),createAnalyticsEvent=$o(),createAnalyticsRule=$o(),createCollection=$o(),createConversationModel=$o(),createKey=$o(),createNLSearchModel=$o(),debug=$o(),deleteAlias=$o(),deleteAnalyticsRule=$o(),deleteCollection=$o(),deleteConversationModel=$o(),deleteCurationSet=$o(),deleteCurationSetItem=$o(),deleteDocument=$o(),deleteDocuments=$o(),deleteKey=$o(),deleteNLSearchModel=$o(),deletePreset=$o(),deleteStopwordsSet=$o(),deleteSynonymSet=$o(),deleteSynonymSetItem=$o(),exportDocuments=$o(),flushAnalytics=$o(),getAlias=$o(),getAliases=$o(),getAllConversationModels=$o(),getAllNLSearchModels=$o(),getAllPresets=$o(),getAnalyticsEvents=$o(),getAnalyticsRule=$o(),getAnalyticsRules=$o(),getAnalyticsStatus=$o(),getAPIStats=$o(),getCollection=$o(),getCollections=$o(),getConversationModel=$o(),getCurationSet=$o(),getCurationSetItem=$o(),getCurationSetItems=$o(),getCurationSets=$o(),getDocument=$o(),getKey=$o(),getKeys=$o(),getMetrics=$o(),getNLSearchModel=$o(),getPreset=$o(),getSchemaChanges=$o(),getStemmingDictionary=$o(),getStopwordsSet=$o(),getStopwordsSets=$o(),getSynonymSet=$o(),getSynonymSetItem=$o(),getSynonymSetItems=$o(),getSynonymSets=$o(),health=$o(),importDocuments=$o(),importStemmingDictionary=$o(),indexDocument=$o(),listStemmingDictionaries=$o(),searchCollection=$o(),searchMulti=$o(),takeSnapshot=$o(),toggleSlowRequestLog=$o(),updateCollection=$o(),updateConversationModel=$o(),updateDocument=$o(),updateDocuments=$o(),updateNLSearchModel=$o(),upsertAlias=$o(),upsertAnalyticsRule=$o(),upsertCurationSet=$o(),upsertCurationSetItem=$o(),upsertPreset=$o(),upsertStopwordsSet=$o(),upsertSynonymSet=$o(),upsertSynonymSetItem=$o(),vote=$o();
package/lib/traits.js CHANGED
@@ -1,11 +1 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
- export { SensitiveValue, RawResponse, RawResponseRoot, sensitiveValueSymbol, rawResponseSymbol, rawResponseRootSymbol, } from "@distilled.cloud/core/protocol-rest";
10
- export { Body, Header, Query, Label, Http, ResponseCode, HttpBody, FormDataFile, KeyDictionary, UnionCases, applyErrorMatchers, getErrorMatchers, bodySymbol, headerSymbol, querySymbol, labelSymbol, httpSymbol, responseCodeSymbol, httpBodySymbol, formDataFileSymbol, keyDictionarySymbol, unionCasesSymbol, errorMatchersSymbol, } from "@distilled.cloud/core/trait";
11
- //# sourceMappingURL=traits.js.map
1
+ export { traits$Body as Body, traits$FormDataFile as FormDataFile, traits$Header as Header, traits$Http as Http, traits$HttpBody as HttpBody, traits$KeyDictionary as KeyDictionary, traits$Label as Label, traits$Query as Query, traits$RawResponse as RawResponse, traits$RawResponseRoot as RawResponseRoot, traits$ResponseCode as ResponseCode, traits$SensitiveValue as SensitiveValue, traits$UnionCases as UnionCases, traits$applyErrorMatchers as applyErrorMatchers, traits$bodySymbol as bodySymbol, traits$errorMatchersSymbol as errorMatchersSymbol, traits$formDataFileSymbol as formDataFileSymbol, traits$getErrorMatchers as getErrorMatchers, traits$headerSymbol as headerSymbol, traits$httpBodySymbol as httpBodySymbol, traits$httpSymbol as httpSymbol, traits$keyDictionarySymbol as keyDictionarySymbol, traits$labelSymbol as labelSymbol, traits$querySymbol as querySymbol, traits$rawResponseRootSymbol as rawResponseRootSymbol, traits$rawResponseSymbol as rawResponseSymbol, traits$responseCodeSymbol as responseCodeSymbol, traits$sensitiveValueSymbol as sensitiveValueSymbol, traits$unionCasesSymbol as unionCasesSymbol } from "./_bundle/sdk.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/typesense",
3
- "version": "1.0.0-rc.16",
3
+ "version": "1.0.0-rc.17",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,23 +36,22 @@
36
36
  "types": "./lib/services/typesense.d.ts",
37
37
  "bun": "./src/services/typesense.ts",
38
38
  "worker": "./src/services/typesense.ts",
39
+ "distilled-lazy": "./lib/services.lazy/typesense.js",
39
40
  "default": "./lib/services/typesense.js"
40
41
  },
41
42
  ".": {
42
43
  "types": "./lib/index.d.ts",
43
44
  "bun": "./src/index.ts",
44
45
  "worker": "./src/index.ts",
45
- "module": "./lib/index.full.js",
46
- "module-sync": "./lib/index.js",
47
- "default": "./lib/index.full.js"
46
+ "distilled-lazy": "./lib/index.lazy.js",
47
+ "default": "./lib/index.js"
48
48
  },
49
49
  "./*": {
50
50
  "types": "./lib/services/*.d.ts",
51
51
  "bun": "./src/services/*.ts",
52
52
  "worker": "./src/services/*.ts",
53
- "module": "./lib/services.full/*.js",
54
- "module-sync": "./lib/services/*.js",
55
- "default": "./lib/services.full/*.js"
53
+ "distilled-lazy": "./lib/services.lazy/*.js",
54
+ "default": "./lib/services/*.js"
56
55
  },
57
56
  "./Protocol": {
58
57
  "types": "./lib/protocol.d.ts",
@@ -68,7 +67,7 @@
68
67
  }
69
68
  },
70
69
  "dependencies": {
71
- "@distilled.cloud/core": "1.0.0-rc.16"
70
+ "@distilled.cloud/core": "1.0.0-rc.17"
72
71
  },
73
72
  "devDependencies": {
74
73
  "@types/node": "26.6.5",
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D;;;;;;;GAOG;AACH,OAAO,EAAE,WAAW,E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OAAO;CACtB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"protocol.js","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAe,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAsB,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAa7F,MAAM,CAAC,MAAM,iBAAiB,GAA8B,aAAa,CAAC,gBAAgB,CAAS;IACjG,wEAAwE;IACxE,sDAAsD;IACtD,WAAW,EAAE,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IAC5E,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;IACpC,OAAO,EAAE,aAAa;IACtB,wEAAwE;IACxE,qCAAqC;IACrC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,qBAAqB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACjF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,IAAI,mBAAmB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;CAC1E,CAAC,CAAC"}
package/lib/retry.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/F;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,EAIL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AAErC,yEAAyE;AACzE,MAAM,OAAO,KAAM,SAAQ,aAAa,CAAb,aAAa,CAAC,OAAO,CAAC,OAAO,EAAiB,CAAC,gBAAgB,CAAC;CAAG;AAE9F,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,gBAAwB,EAAE,EAAE,CACjD,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC;AAEzD,sCAAsC;AACtC,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,MAAM,CAAC,OAAO;AAC9C,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAC3D,CAAC;AAEF,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAElE,oFAAoF;AACpF,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC"}
package/lib/traits.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"traits.js","sourceRoot":"","sources":["../src/traits.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAGhB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC"}
File without changes