@distilled.cloud/typesense 1.0.0-rc.20 → 1.0.0-rc.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import * as C from "@distilled.cloud/core/category";
3
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs. Do not edit.
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
+ import { TypesenseServiceErrors } from "../errors.ts";
6
7
  import { TypesenseProtocol, type TypesenseOpError, type TypesenseOpContext } from "../protocol.ts";
7
8
  import * as Retry from "../retry.ts";
8
9
  import * as T from "../traits.ts";
@@ -29,27 +30,48 @@ export class BadRequest
29
30
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
30
31
  code: S.Number,
31
32
  message: S.String,
33
+ body: /*@__PURE__*/ S.optional(
34
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
35
+ ),
36
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
32
37
  }).pipe(C.withBadRequestError),
33
38
  [{ status: 400 }],
34
- ) {}
39
+ )
40
+ {
41
+ declare readonly body?: ApiResponse | string;
42
+ }
35
43
 
36
44
  export class Conflict
37
45
  extends /*@__PURE__*/ T.applyErrorMatchers(
38
46
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
39
47
  code: S.Number,
40
48
  message: S.String,
49
+ body: /*@__PURE__*/ S.optional(
50
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
51
+ ),
52
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
41
53
  }).pipe(C.withConflictError),
42
54
  [{ status: 409 }],
43
- ) {}
55
+ )
56
+ {
57
+ declare readonly body?: ApiResponse | string;
58
+ }
44
59
 
45
60
  export class NotFound
46
61
  extends /*@__PURE__*/ T.applyErrorMatchers(
47
62
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
48
63
  code: S.Number,
49
64
  message: S.String,
65
+ body: /*@__PURE__*/ S.optional(
66
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
67
+ ),
68
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
50
69
  }).pipe(C.withBadRequestError),
51
70
  [{ status: 404 }],
52
- ) {}
71
+ )
72
+ {
73
+ declare readonly body?: ApiResponse | string;
74
+ }
53
75
 
54
76
  export interface ClearCacheRequest {}
55
77
  export interface SuccessStatus {
@@ -985,7 +1007,7 @@ export interface MultiSearchCollectionParameters {
985
1007
  /** The collection to search in. */
986
1008
  collection?: string | undefined;
987
1009
  /** A separate search API key for each search within a multi_search request */
988
- x_typesense_api_key?: string | undefined;
1010
+ x_typesense_api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
989
1011
  }
990
1012
  export type MultiSearchSearchesParameterSearchesList = Array<MultiSearchCollectionParameters>;
991
1013
  export interface MultiSearchSearchesParameter {
@@ -1361,7 +1383,7 @@ export interface GetKeysRequest {}
1361
1383
  export type ApiKeyActionsList = Array<string>;
1362
1384
  export type ApiKeyCollectionsList = Array<string>;
1363
1385
  export interface ApiKey {
1364
- value?: string | undefined;
1386
+ value?: string | import("effect/Redacted").Redacted<string> | undefined;
1365
1387
  description: string;
1366
1388
  actions: ApiKeyActionsList;
1367
1389
  collections: ApiKeyCollectionsList;
@@ -2304,6 +2326,9 @@ export interface UpsertSynonymSetItemResponse {
2304
2326
  symbols_to_index?: UpsertSynonymSetItemResponseSymbolsToIndexList | undefined;
2305
2327
  }
2306
2328
  export interface VoteRequest {}
2329
+ export interface ApiResponse {
2330
+ message: string;
2331
+ }
2307
2332
  export type ClearCacheError = TypesenseOpError;
2308
2333
  /** Clear the cached responses of search requests in the LRU cache. Clear the cached responses of search requests that are sent with `use_cache` parameter in the LRU cache. */
2309
2334
  export const clearCache: API.OperationMethod<
@@ -2312,9 +2337,10 @@ export const clearCache: API.OperationMethod<
2312
2337
  ClearCacheError,
2313
2338
  TypesenseOpContext
2314
2339
  > = /*@__PURE__*/ API.make(() => ({
2315
- input: __S(864, __c27, 0) as any as S.Schema<ClearCacheRequest>,
2316
- output: __S(896, __c28, 0) as any as S.Schema<SuccessStatus>,
2340
+ input: __S(896, __c28, 0) as any as S.Schema<ClearCacheRequest>,
2341
+ output: __S(928, __c29, 0) as any as S.Schema<SuccessStatus>,
2317
2342
  errors: [],
2343
+ serviceErrors: TypesenseServiceErrors,
2318
2344
  protocol: TypesenseProtocol,
2319
2345
  retry: Retry.Retry,
2320
2346
  telemetry: TELEMETRY,
@@ -2329,9 +2355,10 @@ export const compactDb: API.OperationMethod<
2329
2355
  CompactDbError,
2330
2356
  TypesenseOpContext
2331
2357
  > = /*@__PURE__*/ API.make(() => ({
2332
- input: __S(1248, __c39, 0) as any as S.Schema<CompactDbRequest>,
2333
- output: __S(896, __c28, 0) as any as S.Schema<SuccessStatus>,
2358
+ input: __S(1280, __c40, 0) as any as S.Schema<CompactDbRequest>,
2359
+ output: __S(928, __c29, 0) as any as S.Schema<SuccessStatus>,
2334
2360
  errors: [],
2361
+ serviceErrors: TypesenseServiceErrors,
2335
2362
  protocol: TypesenseProtocol,
2336
2363
  retry: Retry.Retry,
2337
2364
  telemetry: TELEMETRY,
@@ -2346,9 +2373,10 @@ export const createAnalyticsEvent: API.OperationMethod<
2346
2373
  CreateAnalyticsEventError,
2347
2374
  TypesenseOpContext
2348
2375
  > = /*@__PURE__*/ API.make(() => ({
2349
- input: __S(1697, __c53, 1) as any as S.Schema<CreateAnalyticsEventRequest>,
2350
- output: __S(1728, __c54, 0) as any as S.Schema<AnalyticsEventCreateResponse>,
2376
+ input: __S(1729, __c54, 1) as any as S.Schema<CreateAnalyticsEventRequest>,
2377
+ output: __S(1760, __c55, 0) as any as S.Schema<AnalyticsEventCreateResponse>,
2351
2378
  errors: [BadRequest],
2379
+ serviceErrors: TypesenseServiceErrors,
2352
2380
  protocol: TypesenseProtocol,
2353
2381
  retry: Retry.Retry,
2354
2382
  telemetry: TELEMETRY,
@@ -2363,9 +2391,10 @@ export const createAnalyticsRule: API.OperationMethod<
2363
2391
  CreateAnalyticsRuleError,
2364
2392
  TypesenseOpContext
2365
2393
  > = /*@__PURE__*/ API.make(() => ({
2366
- input: __S(2241, __c70, 1) as any as S.Schema<CreateAnalyticsRuleRequest>,
2367
- output: __S(2243, __c70, 3) as any as S.Schema<CreateAnalyticsRuleResponse>,
2394
+ input: __S(2273, __c71, 1) as any as S.Schema<CreateAnalyticsRuleRequest>,
2395
+ output: __S(2275, __c71, 3) as any as S.Schema<CreateAnalyticsRuleResponse>,
2368
2396
  errors: [BadRequest],
2397
+ serviceErrors: TypesenseServiceErrors,
2369
2398
  protocol: TypesenseProtocol,
2370
2399
  retry: Retry.Retry,
2371
2400
  telemetry: TELEMETRY,
@@ -2380,9 +2409,10 @@ export const createCollection: API.OperationMethod<
2380
2409
  CreateCollectionError,
2381
2410
  TypesenseOpContext
2382
2411
  > = /*@__PURE__*/ API.make(() => ({
2383
- input: __S(2624, __c82, 0) as any as S.Schema<CreateCollectionRequest>,
2384
- output: __S(2657, __c83, 1) as any as S.Schema<CreateCollectionResponse>,
2412
+ input: __S(2656, __c83, 0) as any as S.Schema<CreateCollectionRequest>,
2413
+ output: __S(2689, __c84, 1) as any as S.Schema<CreateCollectionResponse>,
2385
2414
  errors: [BadRequest, Conflict],
2415
+ serviceErrors: TypesenseServiceErrors,
2386
2416
  protocol: TypesenseProtocol,
2387
2417
  retry: Retry.Retry,
2388
2418
  telemetry: TELEMETRY,
@@ -2397,9 +2427,10 @@ export const createConversationModel: API.OperationMethod<
2397
2427
  CreateConversationModelError,
2398
2428
  TypesenseOpContext
2399
2429
  > = /*@__PURE__*/ API.make(() => ({
2400
- input: __S(3040, __c95, 0) as any as S.Schema<CreateConversationModelRequest>,
2401
- output: __S(3072, __c96, 0) as any as S.Schema<CreateConversationModelResponse>,
2430
+ input: __S(3072, __c96, 0) as any as S.Schema<CreateConversationModelRequest>,
2431
+ output: __S(3104, __c97, 0) as any as S.Schema<CreateConversationModelResponse>,
2402
2432
  errors: [BadRequest],
2433
+ serviceErrors: TypesenseServiceErrors,
2403
2434
  protocol: TypesenseProtocol,
2404
2435
  retry: Retry.Retry,
2405
2436
  telemetry: TELEMETRY,
@@ -2414,9 +2445,10 @@ export const createKey: API.OperationMethod<
2414
2445
  CreateKeyError,
2415
2446
  TypesenseOpContext
2416
2447
  > = /*@__PURE__*/ API.make(() => ({
2417
- input: __S(3168, __c99, 0) as any as S.Schema<CreateKeyRequest>,
2418
- output: __S(3200, __c100, 0) as any as S.Schema<CreateKeyResponse>,
2448
+ input: __S(3200, __c100, 0) as any as S.Schema<CreateKeyRequest>,
2449
+ output: __S(3232, __c101, 0) as any as S.Schema<CreateKeyResponse>,
2419
2450
  errors: [BadRequest, Conflict],
2451
+ serviceErrors: TypesenseServiceErrors,
2420
2452
  protocol: TypesenseProtocol,
2421
2453
  retry: Retry.Retry,
2422
2454
  telemetry: TELEMETRY,
@@ -2431,9 +2463,10 @@ export const createNLSearchModel: API.OperationMethod<
2431
2463
  CreateNLSearchModelError,
2432
2464
  TypesenseOpContext
2433
2465
  > = /*@__PURE__*/ API.make(() => ({
2434
- input: __S(0, __c0, 0) as any as S.Schema<CreateNLSearchModelRequest>,
2435
- output: __S(32, __c1, 0) as any as S.Schema<CreateNLSearchModelResponse>,
2466
+ input: __S(32, __c1, 0) as any as S.Schema<CreateNLSearchModelRequest>,
2467
+ output: __S(64, __c2, 0) as any as S.Schema<CreateNLSearchModelResponse>,
2436
2468
  errors: [BadRequest],
2469
+ serviceErrors: TypesenseServiceErrors,
2437
2470
  protocol: TypesenseProtocol,
2438
2471
  retry: Retry.Retry,
2439
2472
  telemetry: TELEMETRY,
@@ -2448,9 +2481,10 @@ export const debug: API.OperationMethod<
2448
2481
  DebugError,
2449
2482
  TypesenseOpContext
2450
2483
  > = /*@__PURE__*/ API.make(() => ({
2451
- input: __S(64, __c2, 0) as any as S.Schema<DebugRequest>,
2452
- output: __S(65, __c2, 1) as any as S.Schema<DebugResponse>,
2484
+ input: __S(96, __c3, 0) as any as S.Schema<DebugRequest>,
2485
+ output: __S(97, __c3, 1) as any as S.Schema<DebugResponse>,
2453
2486
  errors: [],
2487
+ serviceErrors: TypesenseServiceErrors,
2454
2488
  protocol: TypesenseProtocol,
2455
2489
  retry: Retry.Retry,
2456
2490
  telemetry: TELEMETRY,
@@ -2465,9 +2499,10 @@ export const deleteAlias: API.OperationMethod<
2465
2499
  DeleteAliasError,
2466
2500
  TypesenseOpContext
2467
2501
  > = /*@__PURE__*/ API.make(() => ({
2468
- input: __S(96, __c3, 0) as any as S.Schema<DeleteAliasRequest>,
2469
- output: __S(128, __c4, 0) as any as S.Schema<CollectionAlias>,
2502
+ input: __S(128, __c4, 0) as any as S.Schema<DeleteAliasRequest>,
2503
+ output: __S(160, __c5, 0) as any as S.Schema<CollectionAlias>,
2470
2504
  errors: [NotFound],
2505
+ serviceErrors: TypesenseServiceErrors,
2471
2506
  protocol: TypesenseProtocol,
2472
2507
  retry: Retry.Retry,
2473
2508
  telemetry: TELEMETRY,
@@ -2482,9 +2517,10 @@ export const deleteAnalyticsRule: API.OperationMethod<
2482
2517
  DeleteAnalyticsRuleError,
2483
2518
  TypesenseOpContext
2484
2519
  > = /*@__PURE__*/ API.make(() => ({
2485
- input: __S(160, __c5, 0) as any as S.Schema<DeleteAnalyticsRuleRequest>,
2486
- output: __S(193, __c6, 1) as any as S.Schema<DeleteAnalyticsRuleResponse>,
2520
+ input: __S(192, __c6, 0) as any as S.Schema<DeleteAnalyticsRuleRequest>,
2521
+ output: __S(225, __c7, 1) as any as S.Schema<DeleteAnalyticsRuleResponse>,
2487
2522
  errors: [NotFound],
2523
+ serviceErrors: TypesenseServiceErrors,
2488
2524
  protocol: TypesenseProtocol,
2489
2525
  retry: Retry.Retry,
2490
2526
  telemetry: TELEMETRY,
@@ -2499,9 +2535,10 @@ export const deleteCollection: API.OperationMethod<
2499
2535
  DeleteCollectionError,
2500
2536
  TypesenseOpContext
2501
2537
  > = /*@__PURE__*/ API.make(() => ({
2502
- input: __S(224, __c7, 0) as any as S.Schema<DeleteCollectionRequest>,
2503
- output: __S(2657, __c83, 1) as any as S.Schema<DeleteCollectionResponse>,
2538
+ input: __S(256, __c8, 0) as any as S.Schema<DeleteCollectionRequest>,
2539
+ output: __S(2689, __c84, 1) as any as S.Schema<DeleteCollectionResponse>,
2504
2540
  errors: [NotFound],
2541
+ serviceErrors: TypesenseServiceErrors,
2505
2542
  protocol: TypesenseProtocol,
2506
2543
  retry: Retry.Retry,
2507
2544
  telemetry: TELEMETRY,
@@ -2516,9 +2553,10 @@ export const deleteConversationModel: API.OperationMethod<
2516
2553
  DeleteConversationModelError,
2517
2554
  TypesenseOpContext
2518
2555
  > = /*@__PURE__*/ API.make(() => ({
2519
- input: __S(256, __c8, 0) as any as S.Schema<DeleteConversationModelRequest>,
2520
- output: __S(3072, __c96, 0) as any as S.Schema<DeleteConversationModelResponse>,
2556
+ input: __S(288, __c9, 0) as any as S.Schema<DeleteConversationModelRequest>,
2557
+ output: __S(3104, __c97, 0) as any as S.Schema<DeleteConversationModelResponse>,
2521
2558
  errors: [NotFound],
2559
+ serviceErrors: TypesenseServiceErrors,
2522
2560
  protocol: TypesenseProtocol,
2523
2561
  retry: Retry.Retry,
2524
2562
  telemetry: TELEMETRY,
@@ -2533,9 +2571,10 @@ export const deleteCurationSet: API.OperationMethod<
2533
2571
  DeleteCurationSetError,
2534
2572
  TypesenseOpContext
2535
2573
  > = /*@__PURE__*/ API.make(() => ({
2536
- input: __S(288, __c9, 0) as any as S.Schema<DeleteCurationSetRequest>,
2537
- output: __S(320, __c10, 0) as any as S.Schema<CurationSetDeleteSchema>,
2574
+ input: __S(320, __c10, 0) as any as S.Schema<DeleteCurationSetRequest>,
2575
+ output: __S(352, __c11, 0) as any as S.Schema<CurationSetDeleteSchema>,
2538
2576
  errors: [NotFound],
2577
+ serviceErrors: TypesenseServiceErrors,
2539
2578
  protocol: TypesenseProtocol,
2540
2579
  retry: Retry.Retry,
2541
2580
  telemetry: TELEMETRY,
@@ -2550,9 +2589,10 @@ export const deleteCurationSetItem: API.OperationMethod<
2550
2589
  DeleteCurationSetItemError,
2551
2590
  TypesenseOpContext
2552
2591
  > = /*@__PURE__*/ API.make(() => ({
2553
- input: __S(352, __c11, 0) as any as S.Schema<DeleteCurationSetItemRequest>,
2554
- output: __S(384, __c12, 0) as any as S.Schema<CurationItemDeleteSchema>,
2592
+ input: __S(384, __c12, 0) as any as S.Schema<DeleteCurationSetItemRequest>,
2593
+ output: __S(416, __c13, 0) as any as S.Schema<CurationItemDeleteSchema>,
2555
2594
  errors: [NotFound],
2595
+ serviceErrors: TypesenseServiceErrors,
2556
2596
  protocol: TypesenseProtocol,
2557
2597
  retry: Retry.Retry,
2558
2598
  telemetry: TELEMETRY,
@@ -2567,9 +2607,10 @@ export const deleteDocument: API.OperationMethod<
2567
2607
  DeleteDocumentError,
2568
2608
  TypesenseOpContext
2569
2609
  > = /*@__PURE__*/ API.make(() => ({
2570
- input: __S(416, __c13, 0) as any as S.Schema<DeleteDocumentRequest>,
2571
- output: __S(448, __c14, 0) as any as S.Schema<DeleteDocumentResponse>,
2610
+ input: __S(448, __c14, 0) as any as S.Schema<DeleteDocumentRequest>,
2611
+ output: __S(480, __c15, 0) as any as S.Schema<DeleteDocumentResponse>,
2572
2612
  errors: [NotFound],
2613
+ serviceErrors: TypesenseServiceErrors,
2573
2614
  protocol: TypesenseProtocol,
2574
2615
  retry: Retry.Retry,
2575
2616
  telemetry: TELEMETRY,
@@ -2584,9 +2625,10 @@ export const deleteDocuments: API.OperationMethod<
2584
2625
  DeleteDocumentsError,
2585
2626
  TypesenseOpContext
2586
2627
  > = /*@__PURE__*/ API.make(() => ({
2587
- input: __S(481, __c15, 1) as any as S.Schema<DeleteDocumentsRequest>,
2588
- output: __S(482, __c15, 2) as any as S.Schema<DeleteDocumentsResponse>,
2628
+ input: __S(513, __c16, 1) as any as S.Schema<DeleteDocumentsRequest>,
2629
+ output: __S(514, __c16, 2) as any as S.Schema<DeleteDocumentsResponse>,
2589
2630
  errors: [NotFound],
2631
+ serviceErrors: TypesenseServiceErrors,
2590
2632
  protocol: TypesenseProtocol,
2591
2633
  retry: Retry.Retry,
2592
2634
  telemetry: TELEMETRY,
@@ -2601,9 +2643,10 @@ export const deleteKey: API.OperationMethod<
2601
2643
  DeleteKeyError,
2602
2644
  TypesenseOpContext
2603
2645
  > = /*@__PURE__*/ API.make(() => ({
2604
- input: __S(512, __c16, 0) as any as S.Schema<DeleteKeyRequest>,
2605
- output: __S(513, __c16, 1) as any as S.Schema<ApiKeyDeleteResponse>,
2646
+ input: __S(544, __c17, 0) as any as S.Schema<DeleteKeyRequest>,
2647
+ output: __S(545, __c17, 1) as any as S.Schema<ApiKeyDeleteResponse>,
2606
2648
  errors: [BadRequest, NotFound],
2649
+ serviceErrors: TypesenseServiceErrors,
2607
2650
  protocol: TypesenseProtocol,
2608
2651
  retry: Retry.Retry,
2609
2652
  telemetry: TELEMETRY,
@@ -2618,9 +2661,10 @@ export const deleteNLSearchModel: API.OperationMethod<
2618
2661
  DeleteNLSearchModelError,
2619
2662
  TypesenseOpContext
2620
2663
  > = /*@__PURE__*/ API.make(() => ({
2621
- input: __S(544, __c17, 0) as any as S.Schema<DeleteNLSearchModelRequest>,
2622
- output: __S(384, __c12, 0) as any as S.Schema<NLSearchModelDeleteSchema>,
2664
+ input: __S(576, __c18, 0) as any as S.Schema<DeleteNLSearchModelRequest>,
2665
+ output: __S(416, __c13, 0) as any as S.Schema<NLSearchModelDeleteSchema>,
2623
2666
  errors: [NotFound],
2667
+ serviceErrors: TypesenseServiceErrors,
2624
2668
  protocol: TypesenseProtocol,
2625
2669
  retry: Retry.Retry,
2626
2670
  telemetry: TELEMETRY,
@@ -2635,9 +2679,10 @@ export const deletePreset: API.OperationMethod<
2635
2679
  DeletePresetError,
2636
2680
  TypesenseOpContext
2637
2681
  > = /*@__PURE__*/ API.make(() => ({
2638
- input: __S(576, __c18, 0) as any as S.Schema<DeletePresetRequest>,
2639
- output: __S(320, __c10, 0) as any as S.Schema<PresetDeleteSchema>,
2682
+ input: __S(608, __c19, 0) as any as S.Schema<DeletePresetRequest>,
2683
+ output: __S(352, __c11, 0) as any as S.Schema<PresetDeleteSchema>,
2640
2684
  errors: [NotFound],
2685
+ serviceErrors: TypesenseServiceErrors,
2641
2686
  protocol: TypesenseProtocol,
2642
2687
  retry: Retry.Retry,
2643
2688
  telemetry: TELEMETRY,
@@ -2652,9 +2697,10 @@ export const deleteStopwordsSet: API.OperationMethod<
2652
2697
  DeleteStopwordsSetError,
2653
2698
  TypesenseOpContext
2654
2699
  > = /*@__PURE__*/ API.make(() => ({
2655
- input: __S(608, __c19, 0) as any as S.Schema<DeleteStopwordsSetRequest>,
2656
- output: __S(384, __c12, 0) as any as S.Schema<DeleteStopwordsSetResponse>,
2700
+ input: __S(640, __c20, 0) as any as S.Schema<DeleteStopwordsSetRequest>,
2701
+ output: __S(416, __c13, 0) as any as S.Schema<DeleteStopwordsSetResponse>,
2657
2702
  errors: [NotFound],
2703
+ serviceErrors: TypesenseServiceErrors,
2658
2704
  protocol: TypesenseProtocol,
2659
2705
  retry: Retry.Retry,
2660
2706
  telemetry: TELEMETRY,
@@ -2669,9 +2715,10 @@ export const deleteSynonymSet: API.OperationMethod<
2669
2715
  DeleteSynonymSetError,
2670
2716
  TypesenseOpContext
2671
2717
  > = /*@__PURE__*/ API.make(() => ({
2672
- input: __S(640, __c20, 0) as any as S.Schema<DeleteSynonymSetRequest>,
2673
- output: __S(320, __c10, 0) as any as S.Schema<SynonymSetDeleteSchema>,
2718
+ input: __S(672, __c21, 0) as any as S.Schema<DeleteSynonymSetRequest>,
2719
+ output: __S(352, __c11, 0) as any as S.Schema<SynonymSetDeleteSchema>,
2674
2720
  errors: [NotFound],
2721
+ serviceErrors: TypesenseServiceErrors,
2675
2722
  protocol: TypesenseProtocol,
2676
2723
  retry: Retry.Retry,
2677
2724
  telemetry: TELEMETRY,
@@ -2686,9 +2733,10 @@ export const deleteSynonymSetItem: API.OperationMethod<
2686
2733
  DeleteSynonymSetItemError,
2687
2734
  TypesenseOpContext
2688
2735
  > = /*@__PURE__*/ API.make(() => ({
2689
- input: __S(672, __c21, 0) as any as S.Schema<DeleteSynonymSetItemRequest>,
2690
- output: __S(384, __c12, 0) as any as S.Schema<SynonymItemDeleteSchema>,
2736
+ input: __S(704, __c22, 0) as any as S.Schema<DeleteSynonymSetItemRequest>,
2737
+ output: __S(416, __c13, 0) as any as S.Schema<SynonymItemDeleteSchema>,
2691
2738
  errors: [NotFound],
2739
+ serviceErrors: TypesenseServiceErrors,
2692
2740
  protocol: TypesenseProtocol,
2693
2741
  retry: Retry.Retry,
2694
2742
  telemetry: TELEMETRY,
@@ -2703,9 +2751,10 @@ export const exportDocuments: API.OperationMethod<
2703
2751
  ExportDocumentsError,
2704
2752
  TypesenseOpContext
2705
2753
  > = /*@__PURE__*/ API.make(() => ({
2706
- input: __S(705, __c22, 1) as any as S.Schema<ExportDocumentsRequest>,
2707
- output: __S(736, __c23, 0) as any as S.Schema<ExportDocumentsResponse>,
2754
+ input: __S(737, __c23, 1) as any as S.Schema<ExportDocumentsRequest>,
2755
+ output: __S(768, __c24, 0) as any as S.Schema<ExportDocumentsResponse>,
2708
2756
  errors: [NotFound],
2757
+ serviceErrors: TypesenseServiceErrors,
2709
2758
  protocol: TypesenseProtocol,
2710
2759
  retry: Retry.Retry,
2711
2760
  telemetry: TELEMETRY,
@@ -2720,9 +2769,10 @@ export const flushAnalytics: API.OperationMethod<
2720
2769
  FlushAnalyticsError,
2721
2770
  TypesenseOpContext
2722
2771
  > = /*@__PURE__*/ API.make(() => ({
2723
- input: __S(768, __c24, 0) as any as S.Schema<FlushAnalyticsRequest>,
2724
- output: __S(1728, __c54, 0) as any as S.Schema<AnalyticsEventCreateResponse>,
2772
+ input: __S(800, __c25, 0) as any as S.Schema<FlushAnalyticsRequest>,
2773
+ output: __S(1760, __c55, 0) as any as S.Schema<AnalyticsEventCreateResponse>,
2725
2774
  errors: [],
2775
+ serviceErrors: TypesenseServiceErrors,
2726
2776
  protocol: TypesenseProtocol,
2727
2777
  retry: Retry.Retry,
2728
2778
  telemetry: TELEMETRY,
@@ -2737,9 +2787,10 @@ export const getAlias: API.OperationMethod<
2737
2787
  GetAliasError,
2738
2788
  TypesenseOpContext
2739
2789
  > = /*@__PURE__*/ API.make(() => ({
2740
- input: __S(800, __c25, 0) as any as S.Schema<GetAliasRequest>,
2741
- output: __S(128, __c4, 0) as any as S.Schema<CollectionAlias>,
2790
+ input: __S(832, __c26, 0) as any as S.Schema<GetAliasRequest>,
2791
+ output: __S(160, __c5, 0) as any as S.Schema<CollectionAlias>,
2742
2792
  errors: [NotFound],
2793
+ serviceErrors: TypesenseServiceErrors,
2743
2794
  protocol: TypesenseProtocol,
2744
2795
  retry: Retry.Retry,
2745
2796
  telemetry: TELEMETRY,
@@ -2754,9 +2805,10 @@ export const getAliases: API.OperationMethod<
2754
2805
  GetAliasesError,
2755
2806
  TypesenseOpContext
2756
2807
  > = /*@__PURE__*/ API.make(() => ({
2757
- input: __S(832, __c26, 0) as any as S.Schema<GetAliasesRequest>,
2758
- output: __S(834, __c26, 2) as any as S.Schema<CollectionAliasesResponse>,
2808
+ input: __S(864, __c27, 0) as any as S.Schema<GetAliasesRequest>,
2809
+ output: __S(866, __c27, 2) as any as S.Schema<CollectionAliasesResponse>,
2759
2810
  errors: [],
2811
+ serviceErrors: TypesenseServiceErrors,
2760
2812
  protocol: TypesenseProtocol,
2761
2813
  retry: Retry.Retry,
2762
2814
  telemetry: TELEMETRY,
@@ -2771,9 +2823,10 @@ export const getAllConversationModels: API.OperationMethod<
2771
2823
  GetAllConversationModelsError,
2772
2824
  TypesenseOpContext
2773
2825
  > = /*@__PURE__*/ API.make(() => ({
2774
- input: __S(928, __c29, 0) as any as S.Schema<GetAllConversationModelsRequest>,
2775
- output: __S(930, __c29, 2) as any as S.Schema<GetAllConversationModelsResponse>,
2826
+ input: __S(960, __c30, 0) as any as S.Schema<GetAllConversationModelsRequest>,
2827
+ output: __S(962, __c30, 2) as any as S.Schema<GetAllConversationModelsResponse>,
2776
2828
  errors: [],
2829
+ serviceErrors: TypesenseServiceErrors,
2777
2830
  protocol: TypesenseProtocol,
2778
2831
  retry: Retry.Retry,
2779
2832
  telemetry: TELEMETRY,
@@ -2788,9 +2841,10 @@ export const getAllNLSearchModels: API.OperationMethod<
2788
2841
  GetAllNLSearchModelsError,
2789
2842
  TypesenseOpContext
2790
2843
  > = /*@__PURE__*/ API.make(() => ({
2791
- input: __S(960, __c30, 0) as any as S.Schema<GetAllNLSearchModelsRequest>,
2792
- output: __S(962, __c30, 2) as any as S.Schema<GetAllNLSearchModelsResponse>,
2844
+ input: __S(992, __c31, 0) as any as S.Schema<GetAllNLSearchModelsRequest>,
2845
+ output: __S(994, __c31, 2) as any as S.Schema<GetAllNLSearchModelsResponse>,
2793
2846
  errors: [],
2847
+ serviceErrors: TypesenseServiceErrors,
2794
2848
  protocol: TypesenseProtocol,
2795
2849
  retry: Retry.Retry,
2796
2850
  telemetry: TELEMETRY,
@@ -2805,9 +2859,10 @@ export const getAllPresets: API.OperationMethod<
2805
2859
  GetAllPresetsError,
2806
2860
  TypesenseOpContext
2807
2861
  > = /*@__PURE__*/ API.make(() => ({
2808
- input: __S(992, __c31, 0) as any as S.Schema<GetAllPresetsRequest>,
2809
- output: __S(996, __c31, 4) as any as S.Schema<PresetsRetrieveSchema>,
2862
+ input: __S(1024, __c32, 0) as any as S.Schema<GetAllPresetsRequest>,
2863
+ output: __S(1028, __c32, 4) as any as S.Schema<PresetsRetrieveSchema>,
2810
2864
  errors: [],
2865
+ serviceErrors: TypesenseServiceErrors,
2811
2866
  protocol: TypesenseProtocol,
2812
2867
  retry: Retry.Retry,
2813
2868
  telemetry: TELEMETRY,
@@ -2822,9 +2877,10 @@ export const getAnalyticsEvents: API.OperationMethod<
2822
2877
  GetAnalyticsEventsError,
2823
2878
  TypesenseOpContext
2824
2879
  > = /*@__PURE__*/ API.make(() => ({
2825
- input: __S(1024, __c32, 0) as any as S.Schema<GetAnalyticsEventsRequest>,
2826
- output: __S(1027, __c32, 3) as any as S.Schema<AnalyticsEventsResponse>,
2880
+ input: __S(1056, __c33, 0) as any as S.Schema<GetAnalyticsEventsRequest>,
2881
+ output: __S(1059, __c33, 3) as any as S.Schema<AnalyticsEventsResponse>,
2827
2882
  errors: [BadRequest],
2883
+ serviceErrors: TypesenseServiceErrors,
2828
2884
  protocol: TypesenseProtocol,
2829
2885
  retry: Retry.Retry,
2830
2886
  telemetry: TELEMETRY,
@@ -2839,9 +2895,10 @@ export const getAnalyticsRule: API.OperationMethod<
2839
2895
  GetAnalyticsRuleError,
2840
2896
  TypesenseOpContext
2841
2897
  > = /*@__PURE__*/ API.make(() => ({
2842
- input: __S(1056, __c33, 0) as any as S.Schema<GetAnalyticsRuleRequest>,
2843
- output: __S(193, __c6, 1) as any as S.Schema<GetAnalyticsRuleResponse>,
2898
+ input: __S(1088, __c34, 0) as any as S.Schema<GetAnalyticsRuleRequest>,
2899
+ output: __S(225, __c7, 1) as any as S.Schema<GetAnalyticsRuleResponse>,
2844
2900
  errors: [NotFound],
2901
+ serviceErrors: TypesenseServiceErrors,
2845
2902
  protocol: TypesenseProtocol,
2846
2903
  retry: Retry.Retry,
2847
2904
  telemetry: TELEMETRY,
@@ -2856,9 +2913,10 @@ export const getAnalyticsRules: API.OperationMethod<
2856
2913
  GetAnalyticsRulesError,
2857
2914
  TypesenseOpContext
2858
2915
  > = /*@__PURE__*/ API.make(() => ({
2859
- input: __S(1089, __c34, 1) as any as S.Schema<GetAnalyticsRulesRequest>,
2860
- output: __S(1090, __c34, 2) as any as S.Schema<GetAnalyticsRulesResponse>,
2916
+ input: __S(1121, __c35, 1) as any as S.Schema<GetAnalyticsRulesRequest>,
2917
+ output: __S(1122, __c35, 2) as any as S.Schema<GetAnalyticsRulesResponse>,
2861
2918
  errors: [],
2919
+ serviceErrors: TypesenseServiceErrors,
2862
2920
  protocol: TypesenseProtocol,
2863
2921
  retry: Retry.Retry,
2864
2922
  telemetry: TELEMETRY,
@@ -2873,9 +2931,10 @@ export const getAnalyticsStatus: API.OperationMethod<
2873
2931
  GetAnalyticsStatusError,
2874
2932
  TypesenseOpContext
2875
2933
  > = /*@__PURE__*/ API.make(() => ({
2876
- input: __S(1120, __c35, 0) as any as S.Schema<GetAnalyticsStatusRequest>,
2877
- output: __S(1121, __c35, 1) as any as S.Schema<AnalyticsStatus>,
2934
+ input: __S(1152, __c36, 0) as any as S.Schema<GetAnalyticsStatusRequest>,
2935
+ output: __S(1153, __c36, 1) as any as S.Schema<AnalyticsStatus>,
2878
2936
  errors: [],
2937
+ serviceErrors: TypesenseServiceErrors,
2879
2938
  protocol: TypesenseProtocol,
2880
2939
  retry: Retry.Retry,
2881
2940
  telemetry: TELEMETRY,
@@ -2890,9 +2949,10 @@ export const getAPIStats: API.OperationMethod<
2890
2949
  GetAPIStatsError,
2891
2950
  TypesenseOpContext
2892
2951
  > = /*@__PURE__*/ API.make(() => ({
2893
- input: __S(1152, __c36, 0) as any as S.Schema<GetAPIStatsRequest>,
2894
- output: __S(1153, __c36, 1) as any as S.Schema<APIStatsResponse>,
2952
+ input: __S(1184, __c37, 0) as any as S.Schema<GetAPIStatsRequest>,
2953
+ output: __S(1185, __c37, 1) as any as S.Schema<APIStatsResponse>,
2895
2954
  errors: [],
2955
+ serviceErrors: TypesenseServiceErrors,
2896
2956
  protocol: TypesenseProtocol,
2897
2957
  retry: Retry.Retry,
2898
2958
  telemetry: TELEMETRY,
@@ -2907,9 +2967,10 @@ export const getCollection: API.OperationMethod<
2907
2967
  GetCollectionError,
2908
2968
  TypesenseOpContext
2909
2969
  > = /*@__PURE__*/ API.make(() => ({
2910
- input: __S(1184, __c37, 0) as any as S.Schema<GetCollectionRequest>,
2911
- output: __S(2657, __c83, 1) as any as S.Schema<GetCollectionResponse>,
2970
+ input: __S(1216, __c38, 0) as any as S.Schema<GetCollectionRequest>,
2971
+ output: __S(2689, __c84, 1) as any as S.Schema<GetCollectionResponse>,
2912
2972
  errors: [NotFound],
2973
+ serviceErrors: TypesenseServiceErrors,
2913
2974
  protocol: TypesenseProtocol,
2914
2975
  retry: Retry.Retry,
2915
2976
  telemetry: TELEMETRY,
@@ -2924,9 +2985,10 @@ export const getCollections: API.OperationMethod<
2924
2985
  GetCollectionsError,
2925
2986
  TypesenseOpContext
2926
2987
  > = /*@__PURE__*/ API.make(() => ({
2927
- input: __S(1217, __c38, 1) as any as S.Schema<GetCollectionsRequest>,
2928
- output: __S(1219, __c38, 3) as any as S.Schema<GetCollectionsResponse>,
2988
+ input: __S(1249, __c39, 1) as any as S.Schema<GetCollectionsRequest>,
2989
+ output: __S(1251, __c39, 3) as any as S.Schema<GetCollectionsResponse>,
2929
2990
  errors: [],
2991
+ serviceErrors: TypesenseServiceErrors,
2930
2992
  protocol: TypesenseProtocol,
2931
2993
  retry: Retry.Retry,
2932
2994
  telemetry: TELEMETRY,
@@ -2941,9 +3003,10 @@ export const getConversationModel: API.OperationMethod<
2941
3003
  GetConversationModelError,
2942
3004
  TypesenseOpContext
2943
3005
  > = /*@__PURE__*/ API.make(() => ({
2944
- input: __S(1280, __c40, 0) as any as S.Schema<GetConversationModelRequest>,
2945
- output: __S(3072, __c96, 0) as any as S.Schema<GetConversationModelResponse>,
3006
+ input: __S(1312, __c41, 0) as any as S.Schema<GetConversationModelRequest>,
3007
+ output: __S(3104, __c97, 0) as any as S.Schema<GetConversationModelResponse>,
2946
3008
  errors: [NotFound],
3009
+ serviceErrors: TypesenseServiceErrors,
2947
3010
  protocol: TypesenseProtocol,
2948
3011
  retry: Retry.Retry,
2949
3012
  telemetry: TELEMETRY,
@@ -2958,9 +3021,10 @@ export const getCurationSet: API.OperationMethod<
2958
3021
  GetCurationSetError,
2959
3022
  TypesenseOpContext
2960
3023
  > = /*@__PURE__*/ API.make(() => ({
2961
- input: __S(1312, __c41, 0) as any as S.Schema<GetCurationSetRequest>,
2962
- output: __S(1378, __c43, 2) as any as S.Schema<GetCurationSetResponse>,
3024
+ input: __S(1344, __c42, 0) as any as S.Schema<GetCurationSetRequest>,
3025
+ output: __S(1410, __c44, 2) as any as S.Schema<GetCurationSetResponse>,
2963
3026
  errors: [NotFound],
3027
+ serviceErrors: TypesenseServiceErrors,
2964
3028
  protocol: TypesenseProtocol,
2965
3029
  retry: Retry.Retry,
2966
3030
  telemetry: TELEMETRY,
@@ -2975,9 +3039,10 @@ export const getCurationSetItem: API.OperationMethod<
2975
3039
  GetCurationSetItemError,
2976
3040
  TypesenseOpContext
2977
3041
  > = /*@__PURE__*/ API.make(() => ({
2978
- input: __S(1408, __c44, 0) as any as S.Schema<GetCurationSetItemRequest>,
2979
- output: __S(1440, __c45, 0) as any as S.Schema<GetCurationSetItemResponse>,
3042
+ input: __S(1440, __c45, 0) as any as S.Schema<GetCurationSetItemRequest>,
3043
+ output: __S(1472, __c46, 0) as any as S.Schema<GetCurationSetItemResponse>,
2980
3044
  errors: [NotFound],
3045
+ serviceErrors: TypesenseServiceErrors,
2981
3046
  protocol: TypesenseProtocol,
2982
3047
  retry: Retry.Retry,
2983
3048
  telemetry: TELEMETRY,
@@ -2992,9 +3057,10 @@ export const getCurationSetItems: API.OperationMethod<
2992
3057
  GetCurationSetItemsError,
2993
3058
  TypesenseOpContext
2994
3059
  > = /*@__PURE__*/ API.make(() => ({
2995
- input: __S(1472, __c46, 0) as any as S.Schema<GetCurationSetItemsRequest>,
2996
- output: __S(1474, __c46, 2) as any as S.Schema<GetCurationSetItemsResponse>,
3060
+ input: __S(1504, __c47, 0) as any as S.Schema<GetCurationSetItemsRequest>,
3061
+ output: __S(1506, __c47, 2) as any as S.Schema<GetCurationSetItemsResponse>,
2997
3062
  errors: [NotFound],
3063
+ serviceErrors: TypesenseServiceErrors,
2998
3064
  protocol: TypesenseProtocol,
2999
3065
  retry: Retry.Retry,
3000
3066
  telemetry: TELEMETRY,
@@ -3009,9 +3075,10 @@ export const getCurationSets: API.OperationMethod<
3009
3075
  GetCurationSetsError,
3010
3076
  TypesenseOpContext
3011
3077
  > = /*@__PURE__*/ API.make(() => ({
3012
- input: __S(1504, __c47, 0) as any as S.Schema<GetCurationSetsRequest>,
3013
- output: __S(1506, __c47, 2) as any as S.Schema<GetCurationSetsResponse>,
3078
+ input: __S(1536, __c48, 0) as any as S.Schema<GetCurationSetsRequest>,
3079
+ output: __S(1538, __c48, 2) as any as S.Schema<GetCurationSetsResponse>,
3014
3080
  errors: [],
3081
+ serviceErrors: TypesenseServiceErrors,
3015
3082
  protocol: TypesenseProtocol,
3016
3083
  retry: Retry.Retry,
3017
3084
  telemetry: TELEMETRY,
@@ -3026,9 +3093,10 @@ export const getDocument: API.OperationMethod<
3026
3093
  GetDocumentError,
3027
3094
  TypesenseOpContext
3028
3095
  > = /*@__PURE__*/ API.make(() => ({
3029
- input: __S(1536, __c48, 0) as any as S.Schema<GetDocumentRequest>,
3030
- output: __S(448, __c14, 0) as any as S.Schema<GetDocumentResponse>,
3096
+ input: __S(1568, __c49, 0) as any as S.Schema<GetDocumentRequest>,
3097
+ output: __S(480, __c15, 0) as any as S.Schema<GetDocumentResponse>,
3031
3098
  errors: [NotFound],
3099
+ serviceErrors: TypesenseServiceErrors,
3032
3100
  protocol: TypesenseProtocol,
3033
3101
  retry: Retry.Retry,
3034
3102
  telemetry: TELEMETRY,
@@ -3043,9 +3111,10 @@ export const getKey: API.OperationMethod<
3043
3111
  GetKeyError,
3044
3112
  TypesenseOpContext
3045
3113
  > = /*@__PURE__*/ API.make(() => ({
3046
- input: __S(1568, __c49, 0) as any as S.Schema<GetKeyRequest>,
3047
- output: __S(3200, __c100, 0) as any as S.Schema<GetKeyResponse>,
3114
+ input: __S(1600, __c50, 0) as any as S.Schema<GetKeyRequest>,
3115
+ output: __S(3232, __c101, 0) as any as S.Schema<GetKeyResponse>,
3048
3116
  errors: [NotFound],
3117
+ serviceErrors: TypesenseServiceErrors,
3049
3118
  protocol: TypesenseProtocol,
3050
3119
  retry: Retry.Retry,
3051
3120
  telemetry: TELEMETRY,
@@ -3060,9 +3129,10 @@ export const getKeys: API.OperationMethod<
3060
3129
  GetKeysError,
3061
3130
  TypesenseOpContext
3062
3131
  > = /*@__PURE__*/ API.make(() => ({
3063
- input: __S(1600, __c50, 0) as any as S.Schema<GetKeysRequest>,
3064
- output: __S(1602, __c50, 2) as any as S.Schema<ApiKeysResponse>,
3132
+ input: __S(1632, __c51, 0) as any as S.Schema<GetKeysRequest>,
3133
+ output: __S(1635, __c51, 3) as any as S.Schema<ApiKeysResponse>,
3065
3134
  errors: [],
3135
+ serviceErrors: TypesenseServiceErrors,
3066
3136
  protocol: TypesenseProtocol,
3067
3137
  retry: Retry.Retry,
3068
3138
  telemetry: TELEMETRY,
@@ -3077,9 +3147,10 @@ export const getMetrics: API.OperationMethod<
3077
3147
  GetMetricsError,
3078
3148
  TypesenseOpContext
3079
3149
  > = /*@__PURE__*/ API.make(() => ({
3080
- input: __S(1632, __c51, 0) as any as S.Schema<GetMetricsRequest>,
3081
- output: __S(448, __c14, 0) as any as S.Schema<GetMetricsResponse>,
3150
+ input: __S(1664, __c52, 0) as any as S.Schema<GetMetricsRequest>,
3151
+ output: __S(480, __c15, 0) as any as S.Schema<GetMetricsResponse>,
3082
3152
  errors: [],
3153
+ serviceErrors: TypesenseServiceErrors,
3083
3154
  protocol: TypesenseProtocol,
3084
3155
  retry: Retry.Retry,
3085
3156
  telemetry: TELEMETRY,
@@ -3094,9 +3165,10 @@ export const getNLSearchModel: API.OperationMethod<
3094
3165
  GetNLSearchModelError,
3095
3166
  TypesenseOpContext
3096
3167
  > = /*@__PURE__*/ API.make(() => ({
3097
- input: __S(1664, __c52, 0) as any as S.Schema<GetNLSearchModelRequest>,
3098
- output: __S(32, __c1, 0) as any as S.Schema<GetNLSearchModelResponse>,
3168
+ input: __S(1696, __c53, 0) as any as S.Schema<GetNLSearchModelRequest>,
3169
+ output: __S(64, __c2, 0) as any as S.Schema<GetNLSearchModelResponse>,
3099
3170
  errors: [NotFound],
3171
+ serviceErrors: TypesenseServiceErrors,
3100
3172
  protocol: TypesenseProtocol,
3101
3173
  retry: Retry.Retry,
3102
3174
  telemetry: TELEMETRY,
@@ -3111,9 +3183,10 @@ export const getPreset: API.OperationMethod<
3111
3183
  GetPresetError,
3112
3184
  TypesenseOpContext
3113
3185
  > = /*@__PURE__*/ API.make(() => ({
3114
- input: __S(1792, __c56, 0) as any as S.Schema<GetPresetRequest>,
3115
- output: __S(1794, __c56, 2) as any as S.Schema<GetPresetResponse>,
3186
+ input: __S(1824, __c57, 0) as any as S.Schema<GetPresetRequest>,
3187
+ output: __S(1826, __c57, 2) as any as S.Schema<GetPresetResponse>,
3116
3188
  errors: [NotFound],
3189
+ serviceErrors: TypesenseServiceErrors,
3117
3190
  protocol: TypesenseProtocol,
3118
3191
  retry: Retry.Retry,
3119
3192
  telemetry: TELEMETRY,
@@ -3128,9 +3201,10 @@ export const getSchemaChanges: API.OperationMethod<
3128
3201
  GetSchemaChangesError,
3129
3202
  TypesenseOpContext
3130
3203
  > = /*@__PURE__*/ API.make(() => ({
3131
- input: __S(1824, __c57, 0) as any as S.Schema<GetSchemaChangesRequest>,
3132
- output: __S(1827, __c57, 3) as any as S.Schema<GetSchemaChangesResponse>,
3204
+ input: __S(1856, __c58, 0) as any as S.Schema<GetSchemaChangesRequest>,
3205
+ output: __S(1859, __c58, 3) as any as S.Schema<GetSchemaChangesResponse>,
3133
3206
  errors: [],
3207
+ serviceErrors: TypesenseServiceErrors,
3134
3208
  protocol: TypesenseProtocol,
3135
3209
  retry: Retry.Retry,
3136
3210
  telemetry: TELEMETRY,
@@ -3145,9 +3219,10 @@ export const getStemmingDictionary: API.OperationMethod<
3145
3219
  GetStemmingDictionaryError,
3146
3220
  TypesenseOpContext
3147
3221
  > = /*@__PURE__*/ API.make(() => ({
3148
- input: __S(1856, __c58, 0) as any as S.Schema<GetStemmingDictionaryRequest>,
3149
- output: __S(1859, __c58, 3) as any as S.Schema<StemmingDictionary>,
3222
+ input: __S(1888, __c59, 0) as any as S.Schema<GetStemmingDictionaryRequest>,
3223
+ output: __S(1891, __c59, 3) as any as S.Schema<StemmingDictionary>,
3150
3224
  errors: [NotFound],
3225
+ serviceErrors: TypesenseServiceErrors,
3151
3226
  protocol: TypesenseProtocol,
3152
3227
  retry: Retry.Retry,
3153
3228
  telemetry: TELEMETRY,
@@ -3162,9 +3237,10 @@ export const getStopwordsSet: API.OperationMethod<
3162
3237
  GetStopwordsSetError,
3163
3238
  TypesenseOpContext
3164
3239
  > = /*@__PURE__*/ API.make(() => ({
3165
- input: __S(1888, __c59, 0) as any as S.Schema<GetStopwordsSetRequest>,
3166
- output: __S(1889, __c59, 1) as any as S.Schema<StopwordsSetRetrieveSchema>,
3240
+ input: __S(1920, __c60, 0) as any as S.Schema<GetStopwordsSetRequest>,
3241
+ output: __S(1921, __c60, 1) as any as S.Schema<StopwordsSetRetrieveSchema>,
3167
3242
  errors: [NotFound],
3243
+ serviceErrors: TypesenseServiceErrors,
3168
3244
  protocol: TypesenseProtocol,
3169
3245
  retry: Retry.Retry,
3170
3246
  telemetry: TELEMETRY,
@@ -3179,9 +3255,10 @@ export const getStopwordsSets: API.OperationMethod<
3179
3255
  GetStopwordsSetsError,
3180
3256
  TypesenseOpContext
3181
3257
  > = /*@__PURE__*/ API.make(() => ({
3182
- input: __S(1952, __c61, 0) as any as S.Schema<GetStopwordsSetsRequest>,
3183
- output: __S(1954, __c61, 2) as any as S.Schema<StopwordsSetsRetrieveAllSchema>,
3258
+ input: __S(1984, __c62, 0) as any as S.Schema<GetStopwordsSetsRequest>,
3259
+ output: __S(1986, __c62, 2) as any as S.Schema<StopwordsSetsRetrieveAllSchema>,
3184
3260
  errors: [],
3261
+ serviceErrors: TypesenseServiceErrors,
3185
3262
  protocol: TypesenseProtocol,
3186
3263
  retry: Retry.Retry,
3187
3264
  telemetry: TELEMETRY,
@@ -3196,9 +3273,10 @@ export const getSynonymSet: API.OperationMethod<
3196
3273
  GetSynonymSetError,
3197
3274
  TypesenseOpContext
3198
3275
  > = /*@__PURE__*/ API.make(() => ({
3199
- input: __S(1984, __c62, 0) as any as S.Schema<GetSynonymSetRequest>,
3200
- output: __S(2080, __c65, 0) as any as S.Schema<GetSynonymSetResponse>,
3276
+ input: __S(2016, __c63, 0) as any as S.Schema<GetSynonymSetRequest>,
3277
+ output: __S(2112, __c66, 0) as any as S.Schema<GetSynonymSetResponse>,
3201
3278
  errors: [NotFound],
3279
+ serviceErrors: TypesenseServiceErrors,
3202
3280
  protocol: TypesenseProtocol,
3203
3281
  retry: Retry.Retry,
3204
3282
  telemetry: TELEMETRY,
@@ -3213,9 +3291,10 @@ export const getSynonymSetItem: API.OperationMethod<
3213
3291
  GetSynonymSetItemError,
3214
3292
  TypesenseOpContext
3215
3293
  > = /*@__PURE__*/ API.make(() => ({
3216
- input: __S(2112, __c66, 0) as any as S.Schema<GetSynonymSetItemRequest>,
3217
- output: __S(2016, __c63, 0) as any as S.Schema<GetSynonymSetItemResponse>,
3294
+ input: __S(2144, __c67, 0) as any as S.Schema<GetSynonymSetItemRequest>,
3295
+ output: __S(2048, __c64, 0) as any as S.Schema<GetSynonymSetItemResponse>,
3218
3296
  errors: [NotFound],
3297
+ serviceErrors: TypesenseServiceErrors,
3219
3298
  protocol: TypesenseProtocol,
3220
3299
  retry: Retry.Retry,
3221
3300
  telemetry: TELEMETRY,
@@ -3230,9 +3309,10 @@ export const getSynonymSetItems: API.OperationMethod<
3230
3309
  GetSynonymSetItemsError,
3231
3310
  TypesenseOpContext
3232
3311
  > = /*@__PURE__*/ API.make(() => ({
3233
- input: __S(2144, __c67, 0) as any as S.Schema<GetSynonymSetItemsRequest>,
3234
- output: __S(2145, __c67, 1) as any as S.Schema<GetSynonymSetItemsResponse>,
3312
+ input: __S(2176, __c68, 0) as any as S.Schema<GetSynonymSetItemsRequest>,
3313
+ output: __S(2177, __c68, 1) as any as S.Schema<GetSynonymSetItemsResponse>,
3235
3314
  errors: [NotFound],
3315
+ serviceErrors: TypesenseServiceErrors,
3236
3316
  protocol: TypesenseProtocol,
3237
3317
  retry: Retry.Retry,
3238
3318
  telemetry: TELEMETRY,
@@ -3247,9 +3327,10 @@ export const getSynonymSets: API.OperationMethod<
3247
3327
  GetSynonymSetsError,
3248
3328
  TypesenseOpContext
3249
3329
  > = /*@__PURE__*/ API.make(() => ({
3250
- input: __S(2176, __c68, 0) as any as S.Schema<GetSynonymSetsRequest>,
3251
- output: __S(2178, __c68, 2) as any as S.Schema<GetSynonymSetsResponse>,
3330
+ input: __S(2208, __c69, 0) as any as S.Schema<GetSynonymSetsRequest>,
3331
+ output: __S(2210, __c69, 2) as any as S.Schema<GetSynonymSetsResponse>,
3252
3332
  errors: [],
3333
+ serviceErrors: TypesenseServiceErrors,
3253
3334
  protocol: TypesenseProtocol,
3254
3335
  retry: Retry.Retry,
3255
3336
  telemetry: TELEMETRY,
@@ -3264,9 +3345,10 @@ export const health: API.OperationMethod<
3264
3345
  HealthError,
3265
3346
  TypesenseOpContext
3266
3347
  > = /*@__PURE__*/ API.make(() => ({
3267
- input: __S(2208, __c69, 0) as any as S.Schema<HealthRequest>,
3268
- output: __S(1728, __c54, 0) as any as S.Schema<HealthStatus>,
3348
+ input: __S(2240, __c70, 0) as any as S.Schema<HealthRequest>,
3349
+ output: __S(1760, __c55, 0) as any as S.Schema<HealthStatus>,
3269
3350
  errors: [],
3351
+ serviceErrors: TypesenseServiceErrors,
3270
3352
  protocol: TypesenseProtocol,
3271
3353
  retry: Retry.Retry,
3272
3354
  telemetry: TELEMETRY,
@@ -3281,9 +3363,10 @@ export const importDocuments: API.OperationMethod<
3281
3363
  ImportDocumentsError,
3282
3364
  TypesenseOpContext
3283
3365
  > = /*@__PURE__*/ API.make(() => ({
3284
- input: __S(2273, __c71, 1) as any as S.Schema<ImportDocumentsRequest>,
3285
- output: __S(736, __c23, 0) as any as S.Schema<ImportDocumentsResponse>,
3366
+ input: __S(2305, __c72, 1) as any as S.Schema<ImportDocumentsRequest>,
3367
+ output: __S(768, __c24, 0) as any as S.Schema<ImportDocumentsResponse>,
3286
3368
  errors: [BadRequest, NotFound],
3369
+ serviceErrors: TypesenseServiceErrors,
3287
3370
  protocol: TypesenseProtocol,
3288
3371
  retry: Retry.Retry,
3289
3372
  telemetry: TELEMETRY,
@@ -3298,9 +3381,10 @@ export const importStemmingDictionary: API.OperationMethod<
3298
3381
  ImportStemmingDictionaryError,
3299
3382
  TypesenseOpContext
3300
3383
  > = /*@__PURE__*/ API.make(() => ({
3301
- input: __S(2304, __c72, 0) as any as S.Schema<ImportStemmingDictionaryRequest>,
3302
- output: __S(736, __c23, 0) as any as S.Schema<ImportStemmingDictionaryResponse>,
3384
+ input: __S(2336, __c73, 0) as any as S.Schema<ImportStemmingDictionaryRequest>,
3385
+ output: __S(768, __c24, 0) as any as S.Schema<ImportStemmingDictionaryResponse>,
3303
3386
  errors: [BadRequest],
3387
+ serviceErrors: TypesenseServiceErrors,
3304
3388
  protocol: TypesenseProtocol,
3305
3389
  retry: Retry.Retry,
3306
3390
  telemetry: TELEMETRY,
@@ -3315,9 +3399,10 @@ export const indexDocument: API.OperationMethod<
3315
3399
  IndexDocumentError,
3316
3400
  TypesenseOpContext
3317
3401
  > = /*@__PURE__*/ API.make(() => ({
3318
- input: __S(2336, __c73, 0) as any as S.Schema<IndexDocumentRequest>,
3319
- output: __S(448, __c14, 0) as any as S.Schema<IndexDocumentResponse>,
3402
+ input: __S(2368, __c74, 0) as any as S.Schema<IndexDocumentRequest>,
3403
+ output: __S(480, __c15, 0) as any as S.Schema<IndexDocumentResponse>,
3320
3404
  errors: [NotFound],
3405
+ serviceErrors: TypesenseServiceErrors,
3321
3406
  protocol: TypesenseProtocol,
3322
3407
  retry: Retry.Retry,
3323
3408
  telemetry: TELEMETRY,
@@ -3332,9 +3417,10 @@ export const listStemmingDictionaries: API.OperationMethod<
3332
3417
  ListStemmingDictionariesError,
3333
3418
  TypesenseOpContext
3334
3419
  > = /*@__PURE__*/ API.make(() => ({
3335
- input: __S(2368, __c74, 0) as any as S.Schema<ListStemmingDictionariesRequest>,
3336
- output: __S(2369, __c74, 1) as any as S.Schema<ListStemmingDictionariesResponse>,
3420
+ input: __S(2400, __c75, 0) as any as S.Schema<ListStemmingDictionariesRequest>,
3421
+ output: __S(2401, __c75, 1) as any as S.Schema<ListStemmingDictionariesResponse>,
3337
3422
  errors: [],
3423
+ serviceErrors: TypesenseServiceErrors,
3338
3424
  protocol: TypesenseProtocol,
3339
3425
  retry: Retry.Retry,
3340
3426
  telemetry: TELEMETRY,
@@ -3349,9 +3435,10 @@ export const searchCollection: API.OperationMethod<
3349
3435
  SearchCollectionError,
3350
3436
  TypesenseOpContext
3351
3437
  > = /*@__PURE__*/ API.make(() => ({
3352
- input: __S(2401, __c75, 1) as any as S.Schema<SearchCollectionRequest>,
3353
- output: __S(2402, __c75, 2) as any as S.Schema<SearchResult>,
3438
+ input: __S(2433, __c76, 1) as any as S.Schema<SearchCollectionRequest>,
3439
+ output: __S(2434, __c76, 2) as any as S.Schema<SearchResult>,
3354
3440
  errors: [BadRequest, NotFound],
3441
+ serviceErrors: TypesenseServiceErrors,
3355
3442
  protocol: TypesenseProtocol,
3356
3443
  retry: Retry.Retry,
3357
3444
  telemetry: TELEMETRY,
@@ -3366,9 +3453,10 @@ export const searchMulti: API.OperationMethod<
3366
3453
  SearchMultiError,
3367
3454
  TypesenseOpContext
3368
3455
  > = /*@__PURE__*/ API.make(() => ({
3369
- input: __S(2467, __c77, 3) as any as S.Schema<SearchMultiRequest>,
3370
- output: __S(2470, __c77, 6) as any as S.Schema<MultiSearchResult>,
3456
+ input: __S(2499, __c78, 3) as any as S.Schema<SearchMultiRequest>,
3457
+ output: __S(2502, __c78, 6) as any as S.Schema<MultiSearchResult>,
3371
3458
  errors: [BadRequest],
3459
+ serviceErrors: TypesenseServiceErrors,
3372
3460
  protocol: TypesenseProtocol,
3373
3461
  retry: Retry.Retry,
3374
3462
  telemetry: TELEMETRY,
@@ -3383,9 +3471,10 @@ export const takeSnapshot: API.OperationMethod<
3383
3471
  TakeSnapshotError,
3384
3472
  TypesenseOpContext
3385
3473
  > = /*@__PURE__*/ API.make(() => ({
3386
- input: __S(2496, __c78, 0) as any as S.Schema<TakeSnapshotRequest>,
3387
- output: __S(896, __c28, 0) as any as S.Schema<SuccessStatus>,
3474
+ input: __S(2528, __c79, 0) as any as S.Schema<TakeSnapshotRequest>,
3475
+ output: __S(928, __c29, 0) as any as S.Schema<SuccessStatus>,
3388
3476
  errors: [],
3477
+ serviceErrors: TypesenseServiceErrors,
3389
3478
  protocol: TypesenseProtocol,
3390
3479
  retry: Retry.Retry,
3391
3480
  telemetry: TELEMETRY,
@@ -3400,9 +3489,10 @@ export const toggleSlowRequestLog: API.OperationMethod<
3400
3489
  ToggleSlowRequestLogError,
3401
3490
  TypesenseOpContext
3402
3491
  > = /*@__PURE__*/ API.make(() => ({
3403
- input: __S(2528, __c79, 0) as any as S.Schema<ToggleSlowRequestLogRequest>,
3404
- output: __S(896, __c28, 0) as any as S.Schema<SuccessStatus>,
3492
+ input: __S(2560, __c80, 0) as any as S.Schema<ToggleSlowRequestLogRequest>,
3493
+ output: __S(928, __c29, 0) as any as S.Schema<SuccessStatus>,
3405
3494
  errors: [],
3495
+ serviceErrors: TypesenseServiceErrors,
3406
3496
  protocol: TypesenseProtocol,
3407
3497
  retry: Retry.Retry,
3408
3498
  telemetry: TELEMETRY,
@@ -3417,9 +3507,10 @@ export const updateCollection: API.OperationMethod<
3417
3507
  UpdateCollectionError,
3418
3508
  TypesenseOpContext
3419
3509
  > = /*@__PURE__*/ API.make(() => ({
3420
- input: __S(2560, __c80, 0) as any as S.Schema<UpdateCollectionRequest>,
3421
- output: __S(2561, __c80, 1) as any as S.Schema<CollectionUpdateSchema>,
3510
+ input: __S(2592, __c81, 0) as any as S.Schema<UpdateCollectionRequest>,
3511
+ output: __S(2593, __c81, 1) as any as S.Schema<CollectionUpdateSchema>,
3422
3512
  errors: [BadRequest, NotFound],
3513
+ serviceErrors: TypesenseServiceErrors,
3423
3514
  protocol: TypesenseProtocol,
3424
3515
  retry: Retry.Retry,
3425
3516
  telemetry: TELEMETRY,
@@ -3434,9 +3525,10 @@ export const updateConversationModel: API.OperationMethod<
3434
3525
  UpdateConversationModelError,
3435
3526
  TypesenseOpContext
3436
3527
  > = /*@__PURE__*/ API.make(() => ({
3437
- input: __S(2592, __c81, 0) as any as S.Schema<UpdateConversationModelRequest>,
3438
- output: __S(3072, __c96, 0) as any as S.Schema<UpdateConversationModelResponse>,
3528
+ input: __S(2624, __c82, 0) as any as S.Schema<UpdateConversationModelRequest>,
3529
+ output: __S(3104, __c97, 0) as any as S.Schema<UpdateConversationModelResponse>,
3439
3530
  errors: [BadRequest, NotFound],
3531
+ serviceErrors: TypesenseServiceErrors,
3440
3532
  protocol: TypesenseProtocol,
3441
3533
  retry: Retry.Retry,
3442
3534
  telemetry: TELEMETRY,
@@ -3451,9 +3543,10 @@ export const updateDocument: API.OperationMethod<
3451
3543
  UpdateDocumentError,
3452
3544
  TypesenseOpContext
3453
3545
  > = /*@__PURE__*/ API.make(() => ({
3454
- input: __S(2720, __c85, 0) as any as S.Schema<UpdateDocumentRequest>,
3455
- output: __S(448, __c14, 0) as any as S.Schema<UpdateDocumentResponse>,
3546
+ input: __S(2752, __c86, 0) as any as S.Schema<UpdateDocumentRequest>,
3547
+ output: __S(480, __c15, 0) as any as S.Schema<UpdateDocumentResponse>,
3456
3548
  errors: [NotFound],
3549
+ serviceErrors: TypesenseServiceErrors,
3457
3550
  protocol: TypesenseProtocol,
3458
3551
  retry: Retry.Retry,
3459
3552
  telemetry: TELEMETRY,
@@ -3468,9 +3561,10 @@ export const updateDocuments: API.OperationMethod<
3468
3561
  UpdateDocumentsError,
3469
3562
  TypesenseOpContext
3470
3563
  > = /*@__PURE__*/ API.make(() => ({
3471
- input: __S(2753, __c86, 1) as any as S.Schema<UpdateDocumentsRequest>,
3472
- output: __S(2754, __c86, 2) as any as S.Schema<UpdateDocumentsResponse>,
3564
+ input: __S(2785, __c87, 1) as any as S.Schema<UpdateDocumentsRequest>,
3565
+ output: __S(2786, __c87, 2) as any as S.Schema<UpdateDocumentsResponse>,
3473
3566
  errors: [BadRequest, NotFound],
3567
+ serviceErrors: TypesenseServiceErrors,
3474
3568
  protocol: TypesenseProtocol,
3475
3569
  retry: Retry.Retry,
3476
3570
  telemetry: TELEMETRY,
@@ -3485,9 +3579,10 @@ export const updateNLSearchModel: API.OperationMethod<
3485
3579
  UpdateNLSearchModelError,
3486
3580
  TypesenseOpContext
3487
3581
  > = /*@__PURE__*/ API.make(() => ({
3488
- input: __S(2784, __c87, 0) as any as S.Schema<UpdateNLSearchModelRequest>,
3489
- output: __S(32, __c1, 0) as any as S.Schema<UpdateNLSearchModelResponse>,
3582
+ input: __S(2816, __c88, 0) as any as S.Schema<UpdateNLSearchModelRequest>,
3583
+ output: __S(64, __c2, 0) as any as S.Schema<UpdateNLSearchModelResponse>,
3490
3584
  errors: [BadRequest, NotFound],
3585
+ serviceErrors: TypesenseServiceErrors,
3491
3586
  protocol: TypesenseProtocol,
3492
3587
  retry: Retry.Retry,
3493
3588
  telemetry: TELEMETRY,
@@ -3502,9 +3597,10 @@ export const upsertAlias: API.OperationMethod<
3502
3597
  UpsertAliasError,
3503
3598
  TypesenseOpContext
3504
3599
  > = /*@__PURE__*/ API.make(() => ({
3505
- input: __S(2816, __c88, 0) as any as S.Schema<UpsertAliasRequest>,
3506
- output: __S(128, __c4, 0) as any as S.Schema<CollectionAlias>,
3600
+ input: __S(2848, __c89, 0) as any as S.Schema<UpsertAliasRequest>,
3601
+ output: __S(160, __c5, 0) as any as S.Schema<CollectionAlias>,
3507
3602
  errors: [BadRequest, NotFound],
3603
+ serviceErrors: TypesenseServiceErrors,
3508
3604
  protocol: TypesenseProtocol,
3509
3605
  retry: Retry.Retry,
3510
3606
  telemetry: TELEMETRY,
@@ -3519,9 +3615,10 @@ export const upsertAnalyticsRule: API.OperationMethod<
3519
3615
  UpsertAnalyticsRuleError,
3520
3616
  TypesenseOpContext
3521
3617
  > = /*@__PURE__*/ API.make(() => ({
3522
- input: __S(2848, __c89, 0) as any as S.Schema<UpsertAnalyticsRuleRequest>,
3523
- output: __S(193, __c6, 1) as any as S.Schema<UpsertAnalyticsRuleResponse>,
3618
+ input: __S(2880, __c90, 0) as any as S.Schema<UpsertAnalyticsRuleRequest>,
3619
+ output: __S(225, __c7, 1) as any as S.Schema<UpsertAnalyticsRuleResponse>,
3524
3620
  errors: [BadRequest],
3621
+ serviceErrors: TypesenseServiceErrors,
3525
3622
  protocol: TypesenseProtocol,
3526
3623
  retry: Retry.Retry,
3527
3624
  telemetry: TELEMETRY,
@@ -3536,9 +3633,10 @@ export const upsertCurationSet: API.OperationMethod<
3536
3633
  UpsertCurationSetError,
3537
3634
  TypesenseOpContext
3538
3635
  > = /*@__PURE__*/ API.make(() => ({
3539
- input: __S(2880, __c90, 0) as any as S.Schema<UpsertCurationSetRequest>,
3540
- output: __S(1378, __c43, 2) as any as S.Schema<UpsertCurationSetResponse>,
3636
+ input: __S(2912, __c91, 0) as any as S.Schema<UpsertCurationSetRequest>,
3637
+ output: __S(1410, __c44, 2) as any as S.Schema<UpsertCurationSetResponse>,
3541
3638
  errors: [BadRequest],
3639
+ serviceErrors: TypesenseServiceErrors,
3542
3640
  protocol: TypesenseProtocol,
3543
3641
  retry: Retry.Retry,
3544
3642
  telemetry: TELEMETRY,
@@ -3553,9 +3651,10 @@ export const upsertCurationSetItem: API.OperationMethod<
3553
3651
  UpsertCurationSetItemError,
3554
3652
  TypesenseOpContext
3555
3653
  > = /*@__PURE__*/ API.make(() => ({
3556
- input: __S(2912, __c91, 0) as any as S.Schema<UpsertCurationSetItemRequest>,
3557
- output: __S(1440, __c45, 0) as any as S.Schema<UpsertCurationSetItemResponse>,
3654
+ input: __S(2944, __c92, 0) as any as S.Schema<UpsertCurationSetItemRequest>,
3655
+ output: __S(1472, __c46, 0) as any as S.Schema<UpsertCurationSetItemResponse>,
3558
3656
  errors: [BadRequest],
3657
+ serviceErrors: TypesenseServiceErrors,
3559
3658
  protocol: TypesenseProtocol,
3560
3659
  retry: Retry.Retry,
3561
3660
  telemetry: TELEMETRY,
@@ -3570,9 +3669,10 @@ export const upsertPreset: API.OperationMethod<
3570
3669
  UpsertPresetError,
3571
3670
  TypesenseOpContext
3572
3671
  > = /*@__PURE__*/ API.make(() => ({
3573
- input: __S(2945, __c92, 1) as any as S.Schema<UpsertPresetRequest>,
3574
- output: __S(2947, __c92, 3) as any as S.Schema<UpsertPresetResponse>,
3672
+ input: __S(2977, __c93, 1) as any as S.Schema<UpsertPresetRequest>,
3673
+ output: __S(2979, __c93, 3) as any as S.Schema<UpsertPresetResponse>,
3575
3674
  errors: [BadRequest],
3675
+ serviceErrors: TypesenseServiceErrors,
3576
3676
  protocol: TypesenseProtocol,
3577
3677
  retry: Retry.Retry,
3578
3678
  telemetry: TELEMETRY,
@@ -3587,9 +3687,10 @@ export const upsertStopwordsSet: API.OperationMethod<
3587
3687
  UpsertStopwordsSetError,
3588
3688
  TypesenseOpContext
3589
3689
  > = /*@__PURE__*/ API.make(() => ({
3590
- input: __S(2976, __c93, 0) as any as S.Schema<UpsertStopwordsSetRequest>,
3591
- output: __S(1920, __c60, 0) as any as S.Schema<StopwordsSetSchema>,
3690
+ input: __S(3008, __c94, 0) as any as S.Schema<UpsertStopwordsSetRequest>,
3691
+ output: __S(1952, __c61, 0) as any as S.Schema<StopwordsSetSchema>,
3592
3692
  errors: [BadRequest],
3693
+ serviceErrors: TypesenseServiceErrors,
3593
3694
  protocol: TypesenseProtocol,
3594
3695
  retry: Retry.Retry,
3595
3696
  telemetry: TELEMETRY,
@@ -3604,9 +3705,10 @@ export const upsertSynonymSet: API.OperationMethod<
3604
3705
  UpsertSynonymSetError,
3605
3706
  TypesenseOpContext
3606
3707
  > = /*@__PURE__*/ API.make(() => ({
3607
- input: __S(3008, __c94, 0) as any as S.Schema<UpsertSynonymSetRequest>,
3608
- output: __S(2080, __c65, 0) as any as S.Schema<UpsertSynonymSetResponse>,
3708
+ input: __S(3040, __c95, 0) as any as S.Schema<UpsertSynonymSetRequest>,
3709
+ output: __S(2112, __c66, 0) as any as S.Schema<UpsertSynonymSetResponse>,
3609
3710
  errors: [BadRequest],
3711
+ serviceErrors: TypesenseServiceErrors,
3610
3712
  protocol: TypesenseProtocol,
3611
3713
  retry: Retry.Retry,
3612
3714
  telemetry: TELEMETRY,
@@ -3621,9 +3723,10 @@ export const upsertSynonymSetItem: API.OperationMethod<
3621
3723
  UpsertSynonymSetItemError,
3622
3724
  TypesenseOpContext
3623
3725
  > = /*@__PURE__*/ API.make(() => ({
3624
- input: __S(3104, __c97, 0) as any as S.Schema<UpsertSynonymSetItemRequest>,
3625
- output: __S(2016, __c63, 0) as any as S.Schema<UpsertSynonymSetItemResponse>,
3726
+ input: __S(3136, __c98, 0) as any as S.Schema<UpsertSynonymSetItemRequest>,
3727
+ output: __S(2048, __c64, 0) as any as S.Schema<UpsertSynonymSetItemResponse>,
3626
3728
  errors: [BadRequest],
3729
+ serviceErrors: TypesenseServiceErrors,
3627
3730
  protocol: TypesenseProtocol,
3628
3731
  retry: Retry.Retry,
3629
3732
  telemetry: TELEMETRY,
@@ -3634,9 +3737,10 @@ export type VoteError = TypesenseOpError;
3634
3737
  /** Triggers a follower node to initiate the raft voting process, which triggers leader re-election. Triggers a follower node to initiate the raft voting process, which triggers leader re-election. The follower node that you run this operation against will become the new leader, once this command succeeds. */
3635
3738
  export const vote: API.OperationMethod<VoteRequest, SuccessStatus, VoteError, TypesenseOpContext> =
3636
3739
  /*@__PURE__*/ API.make(() => ({
3637
- input: __S(3136, __c98, 0) as any as S.Schema<VoteRequest>,
3638
- output: __S(896, __c28, 0) as any as S.Schema<SuccessStatus>,
3740
+ input: __S(3168, __c99, 0) as any as S.Schema<VoteRequest>,
3741
+ output: __S(928, __c29, 0) as any as S.Schema<SuccessStatus>,
3639
3742
  errors: [],
3743
+ serviceErrors: TypesenseServiceErrors,
3640
3744
  protocol: TypesenseProtocol,
3641
3745
  retry: Retry.Retry,
3642
3746
  telemetry: TELEMETRY,
@@ -3645,6 +3749,16 @@ export const vote: API.OperationMethod<VoteRequest, SuccessStatus, VoteError, Ty
3645
3749
 
3646
3750
  // Schema builders: each runs one schema initializer, on that schema's first use.
3647
3751
  function __c0(j: number): any {
3752
+ switch (j) {
3753
+ case 0:
3754
+ return S.suspend(() =>
3755
+ S.Struct({
3756
+ message: S.String,
3757
+ }),
3758
+ ).annotate({ identifier: "ApiResponse" });
3759
+ }
3760
+ }
3761
+ function __c1(j: number): any {
3648
3762
  switch (j) {
3649
3763
  case 0:
3650
3764
  return S.suspend(() =>
@@ -3657,7 +3771,7 @@ function __c0(j: number): any {
3657
3771
  system_prompt: S.optional(S.String),
3658
3772
  top_p: S.optional(S.Number),
3659
3773
  top_k: S.optional(S.Number),
3660
- stop_sequences: S.optional(__S(1760, __c55, 0)),
3774
+ stop_sequences: S.optional(__S(1792, __c56, 0)),
3661
3775
  api_version: S.optional(S.String),
3662
3776
  project_id: S.optional(S.String),
3663
3777
  access_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
@@ -3672,7 +3786,7 @@ function __c0(j: number): any {
3672
3786
  ).annotate({ identifier: "CreateNLSearchModelRequest" });
3673
3787
  }
3674
3788
  }
3675
- function __c1(j: number): any {
3789
+ function __c2(j: number): any {
3676
3790
  switch (j) {
3677
3791
  case 0:
3678
3792
  return S.suspend(() =>
@@ -3685,7 +3799,7 @@ function __c1(j: number): any {
3685
3799
  system_prompt: S.optional(S.String),
3686
3800
  top_p: S.optional(S.Number),
3687
3801
  top_k: S.optional(S.Number),
3688
- stop_sequences: S.optional(__S(1760, __c55, 0)),
3802
+ stop_sequences: S.optional(__S(1792, __c56, 0)),
3689
3803
  api_version: S.optional(S.String),
3690
3804
  project_id: S.optional(S.String),
3691
3805
  access_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
@@ -3700,7 +3814,7 @@ function __c1(j: number): any {
3700
3814
  ).annotate({ identifier: "CreateNLSearchModelResponse" });
3701
3815
  }
3702
3816
  }
3703
- function __c2(j: number): any {
3817
+ function __c3(j: number): any {
3704
3818
  switch (j) {
3705
3819
  case 0:
3706
3820
  return S.suspend(() =>
@@ -3714,7 +3828,7 @@ function __c2(j: number): any {
3714
3828
  ).annotate({ identifier: "DebugResponse" });
3715
3829
  }
3716
3830
  }
3717
- function __c3(j: number): any {
3831
+ function __c4(j: number): any {
3718
3832
  switch (j) {
3719
3833
  case 0:
3720
3834
  return S.suspend(() =>
@@ -3724,7 +3838,7 @@ function __c3(j: number): any {
3724
3838
  ).annotate({ identifier: "DeleteAliasRequest" });
3725
3839
  }
3726
3840
  }
3727
- function __c4(j: number): any {
3841
+ function __c5(j: number): any {
3728
3842
  switch (j) {
3729
3843
  case 0:
3730
3844
  return S.suspend(() =>
@@ -3735,7 +3849,7 @@ function __c4(j: number): any {
3735
3849
  ).annotate({ identifier: "CollectionAlias" });
3736
3850
  }
3737
3851
  }
3738
- function __c5(j: number): any {
3852
+ function __c6(j: number): any {
3739
3853
  switch (j) {
3740
3854
  case 0:
3741
3855
  return S.suspend(() =>
@@ -3745,7 +3859,7 @@ function __c5(j: number): any {
3745
3859
  ).annotate({ identifier: "DeleteAnalyticsRuleRequest" });
3746
3860
  }
3747
3861
  }
3748
- function __c6(j: number): any {
3862
+ function __c7(j: number): any {
3749
3863
  switch (j) {
3750
3864
  case 0:
3751
3865
  return S.suspend(() =>
@@ -3753,7 +3867,7 @@ function __c6(j: number): any {
3753
3867
  destination_collection: S.optional(S.String),
3754
3868
  limit: S.optional(S.Number),
3755
3869
  capture_search_requests: S.optional(S.Boolean),
3756
- meta_fields: S.optional(__S(1760, __c55, 0)),
3870
+ meta_fields: S.optional(__S(1792, __c56, 0)),
3757
3871
  expand_query: S.optional(S.Boolean),
3758
3872
  counter_field: S.optional(S.String),
3759
3873
  weight: S.optional(S.Number),
@@ -3767,12 +3881,12 @@ function __c6(j: number): any {
3767
3881
  collection: S.String,
3768
3882
  event_type: S.String,
3769
3883
  rule_tag: S.optional(S.String),
3770
- params: S.optional(__S(192, __c6, 0)),
3884
+ params: S.optional(__S(224, __c7, 0)),
3771
3885
  }),
3772
3886
  ).annotate({ identifier: "AnalyticsRuleCreate" });
3773
3887
  }
3774
3888
  }
3775
- function __c7(j: number): any {
3889
+ function __c8(j: number): any {
3776
3890
  switch (j) {
3777
3891
  case 0:
3778
3892
  return S.suspend(() =>
@@ -3782,7 +3896,7 @@ function __c7(j: number): any {
3782
3896
  ).annotate({ identifier: "DeleteCollectionRequest" });
3783
3897
  }
3784
3898
  }
3785
- function __c8(j: number): any {
3899
+ function __c9(j: number): any {
3786
3900
  switch (j) {
3787
3901
  case 0:
3788
3902
  return S.suspend(() =>
@@ -3792,7 +3906,7 @@ function __c8(j: number): any {
3792
3906
  ).annotate({ identifier: "DeleteConversationModelRequest" });
3793
3907
  }
3794
3908
  }
3795
- function __c9(j: number): any {
3909
+ function __c10(j: number): any {
3796
3910
  switch (j) {
3797
3911
  case 0:
3798
3912
  return S.suspend(() =>
@@ -3802,7 +3916,7 @@ function __c9(j: number): any {
3802
3916
  ).annotate({ identifier: "DeleteCurationSetRequest" });
3803
3917
  }
3804
3918
  }
3805
- function __c10(j: number): any {
3919
+ function __c11(j: number): any {
3806
3920
  switch (j) {
3807
3921
  case 0:
3808
3922
  return S.suspend(() =>
@@ -3812,7 +3926,7 @@ function __c10(j: number): any {
3812
3926
  ).annotate({ identifier: "CurationSetDeleteSchema" });
3813
3927
  }
3814
3928
  }
3815
- function __c11(j: number): any {
3929
+ function __c12(j: number): any {
3816
3930
  switch (j) {
3817
3931
  case 0:
3818
3932
  return S.suspend(() =>
@@ -3829,7 +3943,7 @@ function __c11(j: number): any {
3829
3943
  ).annotate({ identifier: "DeleteCurationSetItemRequest" });
3830
3944
  }
3831
3945
  }
3832
- function __c12(j: number): any {
3946
+ function __c13(j: number): any {
3833
3947
  switch (j) {
3834
3948
  case 0:
3835
3949
  return S.suspend(() =>
@@ -3839,7 +3953,7 @@ function __c12(j: number): any {
3839
3953
  ).annotate({ identifier: "CurationItemDeleteSchema" });
3840
3954
  }
3841
3955
  }
3842
- function __c13(j: number): any {
3956
+ function __c14(j: number): any {
3843
3957
  switch (j) {
3844
3958
  case 0:
3845
3959
  return S.suspend(() =>
@@ -3856,7 +3970,7 @@ function __c13(j: number): any {
3856
3970
  ).annotate({ identifier: "DeleteDocumentRequest" });
3857
3971
  }
3858
3972
  }
3859
- function __c14(j: number): any {
3973
+ function __c15(j: number): any {
3860
3974
  switch (j) {
3861
3975
  case 0:
3862
3976
  return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
@@ -3864,7 +3978,7 @@ function __c14(j: number): any {
3864
3978
  });
3865
3979
  }
3866
3980
  }
3867
- function __c15(j: number): any {
3981
+ function __c16(j: number): any {
3868
3982
  switch (j) {
3869
3983
  case 0:
3870
3984
  return S.suspend(() =>
@@ -3879,7 +3993,7 @@ function __c15(j: number): any {
3879
3993
  return S.suspend(() =>
3880
3994
  S.Struct({
3881
3995
  collectionName: S.String.pipe(T.Label()),
3882
- deleteDocumentsParameters: S.optional(__S(480, __c15, 0).pipe(T.Query())),
3996
+ deleteDocumentsParameters: S.optional(__S(512, __c16, 0).pipe(T.Query())),
3883
3997
  }).pipe(
3884
3998
  T.Http({ method: "DELETE", uri: "/collections/{collectionName}/documents", code: 200 }),
3885
3999
  ),
@@ -3892,7 +4006,7 @@ function __c15(j: number): any {
3892
4006
  ).annotate({ identifier: "DeleteDocumentsResponse" });
3893
4007
  }
3894
4008
  }
3895
- function __c16(j: number): any {
4009
+ function __c17(j: number): any {
3896
4010
  switch (j) {
3897
4011
  case 0:
3898
4012
  return S.suspend(() =>
@@ -3908,7 +4022,7 @@ function __c16(j: number): any {
3908
4022
  ).annotate({ identifier: "ApiKeyDeleteResponse" });
3909
4023
  }
3910
4024
  }
3911
- function __c17(j: number): any {
4025
+ function __c18(j: number): any {
3912
4026
  switch (j) {
3913
4027
  case 0:
3914
4028
  return S.suspend(() =>
@@ -3918,7 +4032,7 @@ function __c17(j: number): any {
3918
4032
  ).annotate({ identifier: "DeleteNLSearchModelRequest" });
3919
4033
  }
3920
4034
  }
3921
- function __c18(j: number): any {
4035
+ function __c19(j: number): any {
3922
4036
  switch (j) {
3923
4037
  case 0:
3924
4038
  return S.suspend(() =>
@@ -3928,7 +4042,7 @@ function __c18(j: number): any {
3928
4042
  ).annotate({ identifier: "DeletePresetRequest" });
3929
4043
  }
3930
4044
  }
3931
- function __c19(j: number): any {
4045
+ function __c20(j: number): any {
3932
4046
  switch (j) {
3933
4047
  case 0:
3934
4048
  return S.suspend(() =>
@@ -3938,7 +4052,7 @@ function __c19(j: number): any {
3938
4052
  ).annotate({ identifier: "DeleteStopwordsSetRequest" });
3939
4053
  }
3940
4054
  }
3941
- function __c20(j: number): any {
4055
+ function __c21(j: number): any {
3942
4056
  switch (j) {
3943
4057
  case 0:
3944
4058
  return S.suspend(() =>
@@ -3948,7 +4062,7 @@ function __c20(j: number): any {
3948
4062
  ).annotate({ identifier: "DeleteSynonymSetRequest" });
3949
4063
  }
3950
4064
  }
3951
- function __c21(j: number): any {
4065
+ function __c22(j: number): any {
3952
4066
  switch (j) {
3953
4067
  case 0:
3954
4068
  return S.suspend(() =>
@@ -3965,7 +4079,7 @@ function __c21(j: number): any {
3965
4079
  ).annotate({ identifier: "DeleteSynonymSetItemRequest" });
3966
4080
  }
3967
4081
  }
3968
- function __c22(j: number): any {
4082
+ function __c23(j: number): any {
3969
4083
  switch (j) {
3970
4084
  case 0:
3971
4085
  return S.suspend(() =>
@@ -3979,7 +4093,7 @@ function __c22(j: number): any {
3979
4093
  return S.suspend(() =>
3980
4094
  S.Struct({
3981
4095
  collectionName: S.String.pipe(T.Label()),
3982
- exportDocumentsParameters: S.optional(__S(704, __c22, 0).pipe(T.Query())),
4096
+ exportDocumentsParameters: S.optional(__S(736, __c23, 0).pipe(T.Query())),
3983
4097
  }).pipe(
3984
4098
  T.Http({
3985
4099
  method: "GET",
@@ -3990,13 +4104,13 @@ function __c22(j: number): any {
3990
4104
  ).annotate({ identifier: "ExportDocumentsRequest" });
3991
4105
  }
3992
4106
  }
3993
- function __c23(j: number): any {
4107
+ function __c24(j: number): any {
3994
4108
  switch (j) {
3995
4109
  case 0:
3996
4110
  return S.suspend(() => S.Struct({})).annotate({ identifier: "ExportDocumentsResponse" });
3997
4111
  }
3998
4112
  }
3999
- function __c24(j: number): any {
4113
+ function __c25(j: number): any {
4000
4114
  switch (j) {
4001
4115
  case 0:
4002
4116
  return S.suspend(() =>
@@ -4004,7 +4118,7 @@ function __c24(j: number): any {
4004
4118
  ).annotate({ identifier: "FlushAnalyticsRequest" });
4005
4119
  }
4006
4120
  }
4007
- function __c25(j: number): any {
4121
+ function __c26(j: number): any {
4008
4122
  switch (j) {
4009
4123
  case 0:
4010
4124
  return S.suspend(() =>
@@ -4014,23 +4128,23 @@ function __c25(j: number): any {
4014
4128
  ).annotate({ identifier: "GetAliasRequest" });
4015
4129
  }
4016
4130
  }
4017
- function __c26(j: number): any {
4131
+ function __c27(j: number): any {
4018
4132
  switch (j) {
4019
4133
  case 0:
4020
4134
  return S.suspend(() =>
4021
4135
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/aliases", code: 200 })),
4022
4136
  ).annotate({ identifier: "GetAliasesRequest" });
4023
4137
  case 1:
4024
- return S.Array(__S(128, __c4, 0));
4138
+ return S.Array(__S(160, __c5, 0));
4025
4139
  case 2:
4026
4140
  return S.suspend(() =>
4027
4141
  S.Struct({
4028
- aliases: __S(833, __c26, 1),
4142
+ aliases: __S(865, __c27, 1),
4029
4143
  }),
4030
4144
  ).annotate({ identifier: "CollectionAliasesResponse" });
4031
4145
  }
4032
4146
  }
4033
- function __c27(j: number): any {
4147
+ function __c28(j: number): any {
4034
4148
  switch (j) {
4035
4149
  case 0:
4036
4150
  return S.suspend(() =>
@@ -4038,7 +4152,7 @@ function __c27(j: number): any {
4038
4152
  ).annotate({ identifier: "ClearCacheRequest" });
4039
4153
  }
4040
4154
  }
4041
- function __c28(j: number): any {
4155
+ function __c29(j: number): any {
4042
4156
  switch (j) {
4043
4157
  case 0:
4044
4158
  return S.suspend(() =>
@@ -4048,35 +4162,35 @@ function __c28(j: number): any {
4048
4162
  ).annotate({ identifier: "SuccessStatus" });
4049
4163
  }
4050
4164
  }
4051
- function __c29(j: number): any {
4165
+ function __c30(j: number): any {
4052
4166
  switch (j) {
4053
4167
  case 0:
4054
4168
  return S.suspend(() =>
4055
4169
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/conversations/models", code: 200 })),
4056
4170
  ).annotate({ identifier: "GetAllConversationModelsRequest" });
4057
4171
  case 1:
4058
- return S.Array(__S(3072, __c96, 0));
4172
+ return S.Array(__S(3104, __c97, 0));
4059
4173
  case 2:
4060
- return S.suspend(() => __S(929, __c29, 1).pipe(T.RawResponseRoot())).annotate({
4174
+ return S.suspend(() => __S(961, __c30, 1).pipe(T.RawResponseRoot())).annotate({
4061
4175
  identifier: "GetAllConversationModelsResponse",
4062
4176
  });
4063
4177
  }
4064
4178
  }
4065
- function __c30(j: number): any {
4179
+ function __c31(j: number): any {
4066
4180
  switch (j) {
4067
4181
  case 0:
4068
4182
  return S.suspend(() =>
4069
4183
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/nl_search_models", code: 200 })),
4070
4184
  ).annotate({ identifier: "GetAllNLSearchModelsRequest" });
4071
4185
  case 1:
4072
- return S.Array(__S(32, __c1, 0));
4186
+ return S.Array(__S(64, __c2, 0));
4073
4187
  case 2:
4074
- return S.suspend(() => __S(961, __c30, 1).pipe(T.RawResponseRoot())).annotate({
4188
+ return S.suspend(() => __S(993, __c31, 1).pipe(T.RawResponseRoot())).annotate({
4075
4189
  identifier: "GetAllNLSearchModelsResponse",
4076
4190
  });
4077
4191
  }
4078
4192
  }
4079
- function __c31(j: number): any {
4193
+ function __c32(j: number): any {
4080
4194
  switch (j) {
4081
4195
  case 0:
4082
4196
  return S.suspend(() =>
@@ -4174,21 +4288,21 @@ function __c31(j: number): any {
4174
4288
  case 2:
4175
4289
  return S.suspend(() =>
4176
4290
  S.Struct({
4177
- value: __S(993, __c31, 1),
4291
+ value: __S(1025, __c32, 1),
4178
4292
  name: S.String,
4179
4293
  }),
4180
4294
  ).annotate({ identifier: "PresetSchema" });
4181
4295
  case 3:
4182
- return S.Array(__S(994, __c31, 2));
4296
+ return S.Array(__S(1026, __c32, 2));
4183
4297
  case 4:
4184
4298
  return S.suspend(() =>
4185
4299
  S.Struct({
4186
- presets: __S(995, __c31, 3),
4300
+ presets: __S(1027, __c32, 3),
4187
4301
  }),
4188
4302
  ).annotate({ identifier: "PresetsRetrieveSchema" });
4189
4303
  }
4190
4304
  }
4191
- function __c32(j: number): any {
4305
+ function __c33(j: number): any {
4192
4306
  switch (j) {
4193
4307
  case 0:
4194
4308
  return S.suspend(() =>
@@ -4207,21 +4321,21 @@ function __c32(j: number): any {
4207
4321
  timestamp: S.optional(S.Number),
4208
4322
  user_id: S.optional(S.String),
4209
4323
  doc_id: S.optional(S.String),
4210
- doc_ids: S.optional(__S(1760, __c55, 0)),
4324
+ doc_ids: S.optional(__S(1792, __c56, 0)),
4211
4325
  query: S.optional(S.String),
4212
4326
  }),
4213
4327
  ).annotate({ identifier: "AnalyticsEventsResponseEventsItem" });
4214
4328
  case 2:
4215
- return S.Array(__S(1025, __c32, 1));
4329
+ return S.Array(__S(1057, __c33, 1));
4216
4330
  case 3:
4217
4331
  return S.suspend(() =>
4218
4332
  S.Struct({
4219
- events: __S(1026, __c32, 2),
4333
+ events: __S(1058, __c33, 2),
4220
4334
  }),
4221
4335
  ).annotate({ identifier: "AnalyticsEventsResponse" });
4222
4336
  }
4223
4337
  }
4224
- function __c33(j: number): any {
4338
+ function __c34(j: number): any {
4225
4339
  switch (j) {
4226
4340
  case 0:
4227
4341
  return S.suspend(() =>
@@ -4231,10 +4345,10 @@ function __c33(j: number): any {
4231
4345
  ).annotate({ identifier: "GetAnalyticsRuleRequest" });
4232
4346
  }
4233
4347
  }
4234
- function __c34(j: number): any {
4348
+ function __c35(j: number): any {
4235
4349
  switch (j) {
4236
4350
  case 0:
4237
- return S.Array(__S(193, __c6, 1));
4351
+ return S.Array(__S(225, __c7, 1));
4238
4352
  case 1:
4239
4353
  return S.suspend(() =>
4240
4354
  S.Struct({
@@ -4242,12 +4356,12 @@ function __c34(j: number): any {
4242
4356
  }).pipe(T.Http({ method: "GET", uri: "/analytics/rules", code: 200 })),
4243
4357
  ).annotate({ identifier: "GetAnalyticsRulesRequest" });
4244
4358
  case 2:
4245
- return S.suspend(() => __S(1088, __c34, 0).pipe(T.RawResponseRoot())).annotate({
4359
+ return S.suspend(() => __S(1120, __c35, 0).pipe(T.RawResponseRoot())).annotate({
4246
4360
  identifier: "GetAnalyticsRulesResponse",
4247
4361
  });
4248
4362
  }
4249
4363
  }
4250
- function __c35(j: number): any {
4364
+ function __c36(j: number): any {
4251
4365
  switch (j) {
4252
4366
  case 0:
4253
4367
  return S.suspend(() =>
@@ -4267,7 +4381,7 @@ function __c35(j: number): any {
4267
4381
  ).annotate({ identifier: "AnalyticsStatus" });
4268
4382
  }
4269
4383
  }
4270
- function __c36(j: number): any {
4384
+ function __c37(j: number): any {
4271
4385
  switch (j) {
4272
4386
  case 0:
4273
4387
  return S.suspend(() =>
@@ -4293,7 +4407,7 @@ function __c36(j: number): any {
4293
4407
  ).annotate({ identifier: "APIStatsResponse" });
4294
4408
  }
4295
4409
  }
4296
- function __c37(j: number): any {
4410
+ function __c38(j: number): any {
4297
4411
  switch (j) {
4298
4412
  case 0:
4299
4413
  return S.suspend(() =>
@@ -4303,7 +4417,7 @@ function __c37(j: number): any {
4303
4417
  ).annotate({ identifier: "GetCollectionRequest" });
4304
4418
  }
4305
4419
  }
4306
- function __c38(j: number): any {
4420
+ function __c39(j: number): any {
4307
4421
  switch (j) {
4308
4422
  case 0:
4309
4423
  return S.suspend(() =>
@@ -4316,18 +4430,18 @@ function __c38(j: number): any {
4316
4430
  case 1:
4317
4431
  return S.suspend(() =>
4318
4432
  S.Struct({
4319
- getCollectionsParameters: S.optional(__S(1216, __c38, 0).pipe(T.Query())),
4433
+ getCollectionsParameters: S.optional(__S(1248, __c39, 0).pipe(T.Query())),
4320
4434
  }).pipe(T.Http({ method: "GET", uri: "/collections", code: 200 })),
4321
4435
  ).annotate({ identifier: "GetCollectionsRequest" });
4322
4436
  case 2:
4323
- return S.Array(__S(2657, __c83, 1));
4437
+ return S.Array(__S(2689, __c84, 1));
4324
4438
  case 3:
4325
- return S.suspend(() => __S(1218, __c38, 2).pipe(T.RawResponseRoot())).annotate({
4439
+ return S.suspend(() => __S(1250, __c39, 2).pipe(T.RawResponseRoot())).annotate({
4326
4440
  identifier: "GetCollectionsResponse",
4327
4441
  });
4328
4442
  }
4329
4443
  }
4330
- function __c39(j: number): any {
4444
+ function __c40(j: number): any {
4331
4445
  switch (j) {
4332
4446
  case 0:
4333
4447
  return S.suspend(() =>
@@ -4335,7 +4449,7 @@ function __c39(j: number): any {
4335
4449
  ).annotate({ identifier: "CompactDbRequest" });
4336
4450
  }
4337
4451
  }
4338
- function __c40(j: number): any {
4452
+ function __c41(j: number): any {
4339
4453
  switch (j) {
4340
4454
  case 0:
4341
4455
  return S.suspend(() =>
@@ -4345,7 +4459,7 @@ function __c40(j: number): any {
4345
4459
  ).annotate({ identifier: "GetConversationModelRequest" });
4346
4460
  }
4347
4461
  }
4348
- function __c41(j: number): any {
4462
+ function __c42(j: number): any {
4349
4463
  switch (j) {
4350
4464
  case 0:
4351
4465
  return S.suspend(() =>
@@ -4355,12 +4469,12 @@ function __c41(j: number): any {
4355
4469
  ).annotate({ identifier: "GetCurationSetRequest" });
4356
4470
  }
4357
4471
  }
4358
- function __c42(j: number): any {
4472
+ function __c43(j: number): any {
4359
4473
  switch (j) {
4360
4474
  case 0:
4361
4475
  return S.suspend(() =>
4362
4476
  S.Struct({
4363
- tags: S.optional(__S(1760, __c55, 0)),
4477
+ tags: S.optional(__S(1792, __c56, 0)),
4364
4478
  query: S.optional(S.String),
4365
4479
  match: S.optional(S.String),
4366
4480
  filter_by: S.optional(S.String),
@@ -4374,19 +4488,19 @@ function __c42(j: number): any {
4374
4488
  }),
4375
4489
  ).annotate({ identifier: "CurationInclude" });
4376
4490
  case 2:
4377
- return S.Array(__S(1345, __c42, 1));
4491
+ return S.Array(__S(1377, __c43, 1));
4378
4492
  case 3:
4379
- return S.Array(__S(384, __c12, 0));
4493
+ return S.Array(__S(416, __c13, 0));
4380
4494
  }
4381
4495
  }
4382
- function __c43(j: number): any {
4496
+ function __c44(j: number): any {
4383
4497
  switch (j) {
4384
4498
  case 0:
4385
4499
  return S.suspend(() =>
4386
4500
  S.Struct({
4387
- rule: __S(1344, __c42, 0),
4388
- includes: S.optional(__S(1346, __c42, 2)),
4389
- excludes: S.optional(__S(1347, __c42, 3)),
4501
+ rule: __S(1376, __c43, 0),
4502
+ includes: S.optional(__S(1378, __c43, 2)),
4503
+ excludes: S.optional(__S(1379, __c43, 3)),
4390
4504
  filter_by: S.optional(S.String),
4391
4505
  remove_matched_tokens: S.optional(S.Boolean),
4392
4506
  metadata: S.optional(S.Unknown),
@@ -4400,18 +4514,18 @@ function __c43(j: number): any {
4400
4514
  }),
4401
4515
  ).annotate({ identifier: "CurationItemCreateSchema" });
4402
4516
  case 1:
4403
- return S.Array(__S(1376, __c43, 0));
4517
+ return S.Array(__S(1408, __c44, 0));
4404
4518
  case 2:
4405
4519
  return S.suspend(() =>
4406
4520
  S.Struct({
4407
- items: __S(1377, __c43, 1),
4521
+ items: __S(1409, __c44, 1),
4408
4522
  description: S.optional(S.String),
4409
4523
  name: S.String,
4410
4524
  }),
4411
4525
  ).annotate({ identifier: "GetCurationSetResponse" });
4412
4526
  }
4413
4527
  }
4414
- function __c44(j: number): any {
4528
+ function __c45(j: number): any {
4415
4529
  switch (j) {
4416
4530
  case 0:
4417
4531
  return S.suspend(() =>
@@ -4428,14 +4542,14 @@ function __c44(j: number): any {
4428
4542
  ).annotate({ identifier: "GetCurationSetItemRequest" });
4429
4543
  }
4430
4544
  }
4431
- function __c45(j: number): any {
4545
+ function __c46(j: number): any {
4432
4546
  switch (j) {
4433
4547
  case 0:
4434
4548
  return S.suspend(() =>
4435
4549
  S.Struct({
4436
- rule: __S(1344, __c42, 0),
4437
- includes: S.optional(__S(1346, __c42, 2)),
4438
- excludes: S.optional(__S(1347, __c42, 3)),
4550
+ rule: __S(1376, __c43, 0),
4551
+ includes: S.optional(__S(1378, __c43, 2)),
4552
+ excludes: S.optional(__S(1379, __c43, 3)),
4439
4553
  filter_by: S.optional(S.String),
4440
4554
  remove_matched_tokens: S.optional(S.Boolean),
4441
4555
  metadata: S.optional(S.Unknown),
@@ -4450,7 +4564,7 @@ function __c45(j: number): any {
4450
4564
  ).annotate({ identifier: "GetCurationSetItemResponse" });
4451
4565
  }
4452
4566
  }
4453
- function __c46(j: number): any {
4567
+ function __c47(j: number): any {
4454
4568
  switch (j) {
4455
4569
  case 0:
4456
4570
  return S.suspend(() =>
@@ -4461,28 +4575,28 @@ function __c46(j: number): any {
4461
4575
  ),
4462
4576
  ).annotate({ identifier: "GetCurationSetItemsRequest" });
4463
4577
  case 1:
4464
- return S.Array(__S(1440, __c45, 0));
4578
+ return S.Array(__S(1472, __c46, 0));
4465
4579
  case 2:
4466
- return S.suspend(() => __S(1473, __c46, 1).pipe(T.RawResponseRoot())).annotate({
4580
+ return S.suspend(() => __S(1505, __c47, 1).pipe(T.RawResponseRoot())).annotate({
4467
4581
  identifier: "GetCurationSetItemsResponse",
4468
4582
  });
4469
4583
  }
4470
4584
  }
4471
- function __c47(j: number): any {
4585
+ function __c48(j: number): any {
4472
4586
  switch (j) {
4473
4587
  case 0:
4474
4588
  return S.suspend(() =>
4475
4589
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/curation_sets", code: 200 })),
4476
4590
  ).annotate({ identifier: "GetCurationSetsRequest" });
4477
4591
  case 1:
4478
- return S.Array(__S(1378, __c43, 2));
4592
+ return S.Array(__S(1410, __c44, 2));
4479
4593
  case 2:
4480
- return S.suspend(() => __S(1505, __c47, 1).pipe(T.RawResponseRoot())).annotate({
4594
+ return S.suspend(() => __S(1537, __c48, 1).pipe(T.RawResponseRoot())).annotate({
4481
4595
  identifier: "GetCurationSetsResponse",
4482
4596
  });
4483
4597
  }
4484
4598
  }
4485
- function __c48(j: number): any {
4599
+ function __c49(j: number): any {
4486
4600
  switch (j) {
4487
4601
  case 0:
4488
4602
  return S.suspend(() =>
@@ -4499,7 +4613,7 @@ function __c48(j: number): any {
4499
4613
  ).annotate({ identifier: "GetDocumentRequest" });
4500
4614
  }
4501
4615
  }
4502
- function __c49(j: number): any {
4616
+ function __c50(j: number): any {
4503
4617
  switch (j) {
4504
4618
  case 0:
4505
4619
  return S.suspend(() =>
@@ -4509,23 +4623,35 @@ function __c49(j: number): any {
4509
4623
  ).annotate({ identifier: "GetKeyRequest" });
4510
4624
  }
4511
4625
  }
4512
- function __c50(j: number): any {
4626
+ function __c51(j: number): any {
4513
4627
  switch (j) {
4514
4628
  case 0:
4515
4629
  return S.suspend(() =>
4516
4630
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/keys", code: 200 })),
4517
4631
  ).annotate({ identifier: "GetKeysRequest" });
4518
4632
  case 1:
4519
- return S.Array(__S(3200, __c100, 0));
4633
+ return S.suspend(() =>
4634
+ S.Struct({
4635
+ value: S.optional(S.String.pipe(T.SensitiveValue({}))),
4636
+ description: S.String,
4637
+ actions: __S(1792, __c56, 0),
4638
+ collections: __S(1792, __c56, 0),
4639
+ expires_at: S.optional(S.Number),
4640
+ id: S.optional(S.Number),
4641
+ value_prefix: S.optional(S.String),
4642
+ }),
4643
+ ).annotate({ identifier: "ApiKey" });
4520
4644
  case 2:
4645
+ return S.Array(__S(1633, __c51, 1));
4646
+ case 3:
4521
4647
  return S.suspend(() =>
4522
4648
  S.Struct({
4523
- keys: __S(1601, __c50, 1),
4649
+ keys: __S(1634, __c51, 2),
4524
4650
  }),
4525
4651
  ).annotate({ identifier: "ApiKeysResponse" });
4526
4652
  }
4527
4653
  }
4528
- function __c51(j: number): any {
4654
+ function __c52(j: number): any {
4529
4655
  switch (j) {
4530
4656
  case 0:
4531
4657
  return S.suspend(() =>
@@ -4533,7 +4659,7 @@ function __c51(j: number): any {
4533
4659
  ).annotate({ identifier: "GetMetricsRequest" });
4534
4660
  }
4535
4661
  }
4536
- function __c52(j: number): any {
4662
+ function __c53(j: number): any {
4537
4663
  switch (j) {
4538
4664
  case 0:
4539
4665
  return S.suspend(() =>
@@ -4543,14 +4669,14 @@ function __c52(j: number): any {
4543
4669
  ).annotate({ identifier: "GetNLSearchModelRequest" });
4544
4670
  }
4545
4671
  }
4546
- function __c53(j: number): any {
4672
+ function __c54(j: number): any {
4547
4673
  switch (j) {
4548
4674
  case 0:
4549
4675
  return S.suspend(() =>
4550
4676
  S.Struct({
4551
4677
  user_id: S.optional(S.String),
4552
4678
  doc_id: S.optional(S.String),
4553
- doc_ids: S.optional(__S(1760, __c55, 0)),
4679
+ doc_ids: S.optional(__S(1792, __c56, 0)),
4554
4680
  q: S.optional(S.String),
4555
4681
  analytics_tag: S.optional(S.String),
4556
4682
  }),
@@ -4560,12 +4686,12 @@ function __c53(j: number): any {
4560
4686
  S.Struct({
4561
4687
  name: S.String,
4562
4688
  event_type: S.String,
4563
- data: __S(1696, __c53, 0),
4689
+ data: __S(1728, __c54, 0),
4564
4690
  }).pipe(T.Http({ method: "POST", uri: "/analytics/events", code: 200 })),
4565
4691
  ).annotate({ identifier: "CreateAnalyticsEventRequest" });
4566
4692
  }
4567
4693
  }
4568
- function __c54(j: number): any {
4694
+ function __c55(j: number): any {
4569
4695
  switch (j) {
4570
4696
  case 0:
4571
4697
  return S.suspend(() =>
@@ -4575,13 +4701,13 @@ function __c54(j: number): any {
4575
4701
  ).annotate({ identifier: "AnalyticsEventCreateResponse" });
4576
4702
  }
4577
4703
  }
4578
- function __c55(j: number): any {
4704
+ function __c56(j: number): any {
4579
4705
  switch (j) {
4580
4706
  case 0:
4581
4707
  return S.Array(S.String);
4582
4708
  }
4583
4709
  }
4584
- function __c56(j: number): any {
4710
+ function __c57(j: number): any {
4585
4711
  switch (j) {
4586
4712
  case 0:
4587
4713
  return S.suspend(() =>
@@ -4681,13 +4807,13 @@ function __c56(j: number): any {
4681
4807
  case 2:
4682
4808
  return S.suspend(() =>
4683
4809
  S.Struct({
4684
- value: __S(1793, __c56, 1),
4810
+ value: __S(1825, __c57, 1),
4685
4811
  name: S.String,
4686
4812
  }),
4687
4813
  ).annotate({ identifier: "GetPresetResponse" });
4688
4814
  }
4689
4815
  }
4690
- function __c57(j: number): any {
4816
+ function __c58(j: number): any {
4691
4817
  switch (j) {
4692
4818
  case 0:
4693
4819
  return S.suspend(() =>
@@ -4702,14 +4828,14 @@ function __c57(j: number): any {
4702
4828
  }),
4703
4829
  ).annotate({ identifier: "SchemaChangeStatus" });
4704
4830
  case 2:
4705
- return S.Array(__S(1825, __c57, 1));
4831
+ return S.Array(__S(1857, __c58, 1));
4706
4832
  case 3:
4707
- return S.suspend(() => __S(1826, __c57, 2).pipe(T.RawResponseRoot())).annotate({
4833
+ return S.suspend(() => __S(1858, __c58, 2).pipe(T.RawResponseRoot())).annotate({
4708
4834
  identifier: "GetSchemaChangesResponse",
4709
4835
  });
4710
4836
  }
4711
4837
  }
4712
- function __c58(j: number): any {
4838
+ function __c59(j: number): any {
4713
4839
  switch (j) {
4714
4840
  case 0:
4715
4841
  return S.suspend(() =>
@@ -4725,17 +4851,17 @@ function __c58(j: number): any {
4725
4851
  }),
4726
4852
  ).annotate({ identifier: "StemmingDictionaryWordsItem" });
4727
4853
  case 2:
4728
- return S.Array(__S(1857, __c58, 1));
4854
+ return S.Array(__S(1889, __c59, 1));
4729
4855
  case 3:
4730
4856
  return S.suspend(() =>
4731
4857
  S.Struct({
4732
4858
  id: S.String,
4733
- words: __S(1858, __c58, 2),
4859
+ words: __S(1890, __c59, 2),
4734
4860
  }),
4735
4861
  ).annotate({ identifier: "StemmingDictionary" });
4736
4862
  }
4737
4863
  }
4738
- function __c59(j: number): any {
4864
+ function __c60(j: number): any {
4739
4865
  switch (j) {
4740
4866
  case 0:
4741
4867
  return S.suspend(() =>
@@ -4746,40 +4872,40 @@ function __c59(j: number): any {
4746
4872
  case 1:
4747
4873
  return S.suspend(() =>
4748
4874
  S.Struct({
4749
- stopwords: __S(1920, __c60, 0),
4875
+ stopwords: __S(1952, __c61, 0),
4750
4876
  }),
4751
4877
  ).annotate({ identifier: "StopwordsSetRetrieveSchema" });
4752
4878
  }
4753
4879
  }
4754
- function __c60(j: number): any {
4880
+ function __c61(j: number): any {
4755
4881
  switch (j) {
4756
4882
  case 0:
4757
4883
  return S.suspend(() =>
4758
4884
  S.Struct({
4759
4885
  id: S.String,
4760
- stopwords: __S(1760, __c55, 0),
4886
+ stopwords: __S(1792, __c56, 0),
4761
4887
  locale: S.optional(S.String),
4762
4888
  }),
4763
4889
  ).annotate({ identifier: "StopwordsSetSchema" });
4764
4890
  }
4765
4891
  }
4766
- function __c61(j: number): any {
4892
+ function __c62(j: number): any {
4767
4893
  switch (j) {
4768
4894
  case 0:
4769
4895
  return S.suspend(() =>
4770
4896
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/stopwords", code: 200 })),
4771
4897
  ).annotate({ identifier: "GetStopwordsSetsRequest" });
4772
4898
  case 1:
4773
- return S.Array(__S(1920, __c60, 0));
4899
+ return S.Array(__S(1952, __c61, 0));
4774
4900
  case 2:
4775
4901
  return S.suspend(() =>
4776
4902
  S.Struct({
4777
- stopwords: __S(1953, __c61, 1),
4903
+ stopwords: __S(1985, __c62, 1),
4778
4904
  }),
4779
4905
  ).annotate({ identifier: "StopwordsSetsRetrieveAllSchema" });
4780
4906
  }
4781
4907
  }
4782
- function __c62(j: number): any {
4908
+ function __c63(j: number): any {
4783
4909
  switch (j) {
4784
4910
  case 0:
4785
4911
  return S.suspend(() =>
@@ -4789,38 +4915,38 @@ function __c62(j: number): any {
4789
4915
  ).annotate({ identifier: "GetSynonymSetRequest" });
4790
4916
  }
4791
4917
  }
4792
- function __c63(j: number): any {
4918
+ function __c64(j: number): any {
4793
4919
  switch (j) {
4794
4920
  case 0:
4795
4921
  return S.suspend(() =>
4796
4922
  S.Struct({
4797
4923
  id: S.String,
4798
- synonyms: __S(1760, __c55, 0),
4924
+ synonyms: __S(1792, __c56, 0),
4799
4925
  root: S.optional(S.String),
4800
4926
  locale: S.optional(S.String),
4801
- symbols_to_index: S.optional(__S(1760, __c55, 0)),
4927
+ symbols_to_index: S.optional(__S(1792, __c56, 0)),
4802
4928
  }),
4803
4929
  ).annotate({ identifier: "SynonymItemSchema" });
4804
4930
  }
4805
4931
  }
4806
- function __c64(j: number): any {
4932
+ function __c65(j: number): any {
4807
4933
  switch (j) {
4808
4934
  case 0:
4809
- return S.Array(__S(2016, __c63, 0));
4935
+ return S.Array(__S(2048, __c64, 0));
4810
4936
  }
4811
4937
  }
4812
- function __c65(j: number): any {
4938
+ function __c66(j: number): any {
4813
4939
  switch (j) {
4814
4940
  case 0:
4815
4941
  return S.suspend(() =>
4816
4942
  S.Struct({
4817
- items: __S(2048, __c64, 0),
4943
+ items: __S(2080, __c65, 0),
4818
4944
  name: S.String,
4819
4945
  }),
4820
4946
  ).annotate({ identifier: "GetSynonymSetResponse" });
4821
4947
  }
4822
4948
  }
4823
- function __c66(j: number): any {
4949
+ function __c67(j: number): any {
4824
4950
  switch (j) {
4825
4951
  case 0:
4826
4952
  return S.suspend(() =>
@@ -4837,7 +4963,7 @@ function __c66(j: number): any {
4837
4963
  ).annotate({ identifier: "GetSynonymSetItemRequest" });
4838
4964
  }
4839
4965
  }
4840
- function __c67(j: number): any {
4966
+ function __c68(j: number): any {
4841
4967
  switch (j) {
4842
4968
  case 0:
4843
4969
  return S.suspend(() =>
@@ -4846,26 +4972,26 @@ function __c67(j: number): any {
4846
4972
  }).pipe(T.Http({ method: "GET", uri: "/synonym_sets/{synonymSetName}/items", code: 200 })),
4847
4973
  ).annotate({ identifier: "GetSynonymSetItemsRequest" });
4848
4974
  case 1:
4849
- return S.suspend(() => __S(2048, __c64, 0).pipe(T.RawResponseRoot())).annotate({
4975
+ return S.suspend(() => __S(2080, __c65, 0).pipe(T.RawResponseRoot())).annotate({
4850
4976
  identifier: "GetSynonymSetItemsResponse",
4851
4977
  });
4852
4978
  }
4853
4979
  }
4854
- function __c68(j: number): any {
4980
+ function __c69(j: number): any {
4855
4981
  switch (j) {
4856
4982
  case 0:
4857
4983
  return S.suspend(() =>
4858
4984
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/synonym_sets", code: 200 })),
4859
4985
  ).annotate({ identifier: "GetSynonymSetsRequest" });
4860
4986
  case 1:
4861
- return S.Array(__S(2080, __c65, 0));
4987
+ return S.Array(__S(2112, __c66, 0));
4862
4988
  case 2:
4863
- return S.suspend(() => __S(2177, __c68, 1).pipe(T.RawResponseRoot())).annotate({
4989
+ return S.suspend(() => __S(2209, __c69, 1).pipe(T.RawResponseRoot())).annotate({
4864
4990
  identifier: "GetSynonymSetsResponse",
4865
4991
  });
4866
4992
  }
4867
4993
  }
4868
- function __c69(j: number): any {
4994
+ function __c70(j: number): any {
4869
4995
  switch (j) {
4870
4996
  case 0:
4871
4997
  return S.suspend(() =>
@@ -4873,7 +4999,7 @@ function __c69(j: number): any {
4873
4999
  ).annotate({ identifier: "HealthRequest" });
4874
5000
  }
4875
5001
  }
4876
- function __c70(j: number): any {
5002
+ function __c71(j: number): any {
4877
5003
  switch (j) {
4878
5004
  case 0:
4879
5005
  return S.Unknown.pipe(
@@ -4885,7 +5011,7 @@ function __c70(j: number): any {
4885
5011
  case 1:
4886
5012
  return S.suspend(() =>
4887
5013
  S.Struct({
4888
- body: __S(2240, __c70, 0).pipe(T.HttpBody()),
5014
+ body: __S(2272, __c71, 0).pipe(T.HttpBody()),
4889
5015
  }).pipe(T.Http({ method: "POST", uri: "/analytics/rules", code: 200 })),
4890
5016
  ).annotate({ identifier: "CreateAnalyticsRuleRequest" });
4891
5017
  case 2:
@@ -4896,12 +5022,12 @@ function __c70(j: number): any {
4896
5022
  ]),
4897
5023
  );
4898
5024
  case 3:
4899
- return S.suspend(() => __S(2242, __c70, 2).pipe(T.RawResponseRoot())).annotate({
5025
+ return S.suspend(() => __S(2274, __c71, 2).pipe(T.RawResponseRoot())).annotate({
4900
5026
  identifier: "CreateAnalyticsRuleResponse",
4901
5027
  });
4902
5028
  }
4903
5029
  }
4904
- function __c71(j: number): any {
5030
+ function __c72(j: number): any {
4905
5031
  switch (j) {
4906
5032
  case 0:
4907
5033
  return S.suspend(() =>
@@ -4918,7 +5044,7 @@ function __c71(j: number): any {
4918
5044
  return S.suspend(() =>
4919
5045
  S.Struct({
4920
5046
  collectionName: S.String.pipe(T.Label()),
4921
- importDocumentsParameters: S.optional(__S(2272, __c71, 0).pipe(T.Query())),
5047
+ importDocumentsParameters: S.optional(__S(2304, __c72, 0).pipe(T.Query())),
4922
5048
  }).pipe(
4923
5049
  T.Http({
4924
5050
  method: "POST",
@@ -4929,7 +5055,7 @@ function __c71(j: number): any {
4929
5055
  ).annotate({ identifier: "ImportDocumentsRequest" });
4930
5056
  }
4931
5057
  }
4932
- function __c72(j: number): any {
5058
+ function __c73(j: number): any {
4933
5059
  switch (j) {
4934
5060
  case 0:
4935
5061
  return S.suspend(() =>
@@ -4940,7 +5066,7 @@ function __c72(j: number): any {
4940
5066
  ).annotate({ identifier: "ImportStemmingDictionaryRequest" });
4941
5067
  }
4942
5068
  }
4943
- function __c73(j: number): any {
5069
+ function __c74(j: number): any {
4944
5070
  switch (j) {
4945
5071
  case 0:
4946
5072
  return S.suspend(() =>
@@ -4954,7 +5080,7 @@ function __c73(j: number): any {
4954
5080
  ).annotate({ identifier: "IndexDocumentRequest" });
4955
5081
  }
4956
5082
  }
4957
- function __c74(j: number): any {
5083
+ function __c75(j: number): any {
4958
5084
  switch (j) {
4959
5085
  case 0:
4960
5086
  return S.suspend(() =>
@@ -4963,12 +5089,12 @@ function __c74(j: number): any {
4963
5089
  case 1:
4964
5090
  return S.suspend(() =>
4965
5091
  S.Struct({
4966
- dictionaries: S.optional(__S(1760, __c55, 0)),
5092
+ dictionaries: S.optional(__S(1792, __c56, 0)),
4967
5093
  }),
4968
5094
  ).annotate({ identifier: "ListStemmingDictionariesResponse" });
4969
5095
  }
4970
5096
  }
4971
- function __c75(j: number): any {
5097
+ function __c76(j: number): any {
4972
5098
  switch (j) {
4973
5099
  case 0:
4974
5100
  return S.suspend(() =>
@@ -5060,7 +5186,7 @@ function __c75(j: number): any {
5060
5186
  return S.suspend(() =>
5061
5187
  S.Struct({
5062
5188
  collectionName: S.String.pipe(T.Label()),
5063
- searchParameters: __S(2400, __c75, 0).pipe(T.Query()),
5189
+ searchParameters: __S(2432, __c76, 0).pipe(T.Query()),
5064
5190
  }).pipe(
5065
5191
  T.Http({
5066
5192
  method: "GET",
@@ -5072,24 +5198,24 @@ function __c75(j: number): any {
5072
5198
  case 2:
5073
5199
  return S.suspend(() =>
5074
5200
  S.Struct({
5075
- facet_counts: S.optional(__S(2436, __c76, 4)),
5201
+ facet_counts: S.optional(__S(2468, __c77, 4)),
5076
5202
  found: S.optional(S.Number),
5077
5203
  found_docs: S.optional(S.Number),
5078
5204
  search_time_ms: S.optional(S.Number),
5079
5205
  out_of: S.optional(S.Number),
5080
5206
  search_cutoff: S.optional(S.Boolean),
5081
5207
  page: S.optional(S.Number),
5082
- grouped_hits: S.optional(__S(2448, __c76, 16)),
5083
- hits: S.optional(__S(2446, __c76, 14)),
5084
- request_params: S.optional(__S(2450, __c76, 18)),
5085
- conversation: S.optional(__S(2451, __c76, 19)),
5086
- union_request_params: S.optional(__S(2452, __c76, 20)),
5087
- metadata: S.optional(__S(2441, __c76, 9)),
5208
+ grouped_hits: S.optional(__S(2480, __c77, 16)),
5209
+ hits: S.optional(__S(2478, __c77, 14)),
5210
+ request_params: S.optional(__S(2482, __c77, 18)),
5211
+ conversation: S.optional(__S(2483, __c77, 19)),
5212
+ union_request_params: S.optional(__S(2484, __c77, 20)),
5213
+ metadata: S.optional(__S(2473, __c77, 9)),
5088
5214
  }),
5089
5215
  ).annotate({ identifier: "SearchResult" });
5090
5216
  }
5091
5217
  }
5092
- function __c76(j: number): any {
5218
+ function __c77(j: number): any {
5093
5219
  switch (j) {
5094
5220
  case 0:
5095
5221
  return S.suspend(() =>
@@ -5101,7 +5227,7 @@ function __c76(j: number): any {
5101
5227
  }),
5102
5228
  ).annotate({ identifier: "FacetCountsCountsItem" });
5103
5229
  case 1:
5104
- return S.Array(__S(2432, __c76, 0));
5230
+ return S.Array(__S(2464, __c77, 0));
5105
5231
  case 2:
5106
5232
  return S.suspend(() =>
5107
5233
  S.Struct({
@@ -5115,14 +5241,14 @@ function __c76(j: number): any {
5115
5241
  case 3:
5116
5242
  return S.suspend(() =>
5117
5243
  S.Struct({
5118
- counts: S.optional(__S(2433, __c76, 1)),
5244
+ counts: S.optional(__S(2465, __c77, 1)),
5119
5245
  field_name: S.optional(S.String),
5120
5246
  sampled: S.optional(S.Boolean),
5121
- stats: S.optional(__S(2434, __c76, 2)),
5247
+ stats: S.optional(__S(2466, __c77, 2)),
5122
5248
  }),
5123
5249
  ).annotate({ identifier: "FacetCounts" });
5124
5250
  case 4:
5125
- return S.Array(__S(2435, __c76, 3));
5251
+ return S.Array(__S(2467, __c77, 3));
5126
5252
  case 5:
5127
5253
  return S.Array(S.Unknown);
5128
5254
  case 6:
@@ -5132,15 +5258,15 @@ function __c76(j: number): any {
5132
5258
  S.Struct({
5133
5259
  field: S.optional(S.String),
5134
5260
  snippet: S.optional(S.String),
5135
- snippets: S.optional(__S(1760, __c55, 0)),
5261
+ snippets: S.optional(__S(1792, __c56, 0)),
5136
5262
  value: S.optional(S.String),
5137
- values: S.optional(__S(1760, __c55, 0)),
5138
- indices: S.optional(__S(2438, __c76, 6)),
5139
- matched_tokens: S.optional(__S(2437, __c76, 5)),
5263
+ values: S.optional(__S(1792, __c56, 0)),
5264
+ indices: S.optional(__S(2470, __c77, 6)),
5265
+ matched_tokens: S.optional(__S(2469, __c77, 5)),
5140
5266
  }),
5141
5267
  ).annotate({ identifier: "SearchHighlight" });
5142
5268
  case 8:
5143
- return S.Array(__S(2439, __c76, 7));
5269
+ return S.Array(__S(2471, __c77, 7));
5144
5270
  case 9:
5145
5271
  return S.Record(S.String, S.Unknown);
5146
5272
  case 10:
@@ -5166,29 +5292,29 @@ function __c76(j: number): any {
5166
5292
  case 13:
5167
5293
  return S.suspend(() =>
5168
5294
  S.Struct({
5169
- highlights: S.optional(__S(2440, __c76, 8)),
5170
- highlight: S.optional(__S(2441, __c76, 9)),
5171
- document: S.optional(__S(2441, __c76, 9)),
5295
+ highlights: S.optional(__S(2472, __c77, 8)),
5296
+ highlight: S.optional(__S(2473, __c77, 9)),
5297
+ document: S.optional(__S(2473, __c77, 9)),
5172
5298
  text_match: S.optional(S.Number),
5173
- text_match_info: S.optional(__S(2442, __c76, 10)),
5174
- geo_distance_meters: S.optional(__S(2443, __c76, 11)),
5299
+ text_match_info: S.optional(__S(2474, __c77, 10)),
5300
+ geo_distance_meters: S.optional(__S(2475, __c77, 11)),
5175
5301
  vector_distance: S.optional(S.Number),
5176
- hybrid_search_info: S.optional(__S(2444, __c76, 12)),
5302
+ hybrid_search_info: S.optional(__S(2476, __c77, 12)),
5177
5303
  search_index: S.optional(S.Number),
5178
5304
  }),
5179
5305
  ).annotate({ identifier: "SearchResultHit" });
5180
5306
  case 14:
5181
- return S.Array(__S(2445, __c76, 13));
5307
+ return S.Array(__S(2477, __c77, 13));
5182
5308
  case 15:
5183
5309
  return S.suspend(() =>
5184
5310
  S.Struct({
5185
5311
  found: S.optional(S.Number),
5186
- group_key: __S(2437, __c76, 5),
5187
- hits: __S(2446, __c76, 14),
5312
+ group_key: __S(2469, __c77, 5),
5313
+ hits: __S(2478, __c77, 14),
5188
5314
  }),
5189
5315
  ).annotate({ identifier: "SearchGroupedHit" });
5190
5316
  case 16:
5191
- return S.Array(__S(2447, __c76, 15));
5317
+ return S.Array(__S(2479, __c77, 15));
5192
5318
  case 17:
5193
5319
  return S.suspend(() =>
5194
5320
  S.Struct({
@@ -5202,23 +5328,23 @@ function __c76(j: number): any {
5202
5328
  first_q: S.optional(S.String),
5203
5329
  q: S.String,
5204
5330
  per_page: S.Number,
5205
- voice_query: S.optional(__S(2449, __c76, 17)),
5331
+ voice_query: S.optional(__S(2481, __c77, 17)),
5206
5332
  }),
5207
5333
  ).annotate({ identifier: "SearchRequestParams" });
5208
5334
  case 19:
5209
5335
  return S.suspend(() =>
5210
5336
  S.Struct({
5211
5337
  answer: S.String,
5212
- conversation_history: __S(2437, __c76, 5),
5338
+ conversation_history: __S(2469, __c77, 5),
5213
5339
  conversation_id: S.String,
5214
5340
  query: S.String,
5215
5341
  }),
5216
5342
  ).annotate({ identifier: "SearchResultConversation" });
5217
5343
  case 20:
5218
- return S.Array(__S(2450, __c76, 18));
5344
+ return S.Array(__S(2482, __c77, 18));
5219
5345
  }
5220
5346
  }
5221
- function __c77(j: number): any {
5347
+ function __c78(j: number): any {
5222
5348
  switch (j) {
5223
5349
  case 0:
5224
5350
  return S.suspend(() =>
@@ -5299,11 +5425,13 @@ function __c77(j: number): any {
5299
5425
  conversation_id: S.optional(S.String),
5300
5426
  validate_field_names: S.optional(S.Boolean),
5301
5427
  collection: S.optional(S.String),
5302
- x_typesense_api_key: S.optional(S.String.pipe(T.Body("x-typesense-api-key"))),
5428
+ x_typesense_api_key: S.optional(
5429
+ S.String.pipe(T.Body("x-typesense-api-key"), T.SensitiveValue({})),
5430
+ ),
5303
5431
  }),
5304
5432
  ).annotate({ identifier: "MultiSearchCollectionParameters" });
5305
5433
  case 1:
5306
- return S.Array(__S(2464, __c77, 0));
5434
+ return S.Array(__S(2496, __c78, 0));
5307
5435
  case 2:
5308
5436
  return S.suspend(() =>
5309
5437
  S.Struct({
@@ -5387,43 +5515,43 @@ function __c77(j: number): any {
5387
5515
  case 3:
5388
5516
  return S.suspend(() =>
5389
5517
  S.Struct({
5390
- multiSearchParameters: __S(2466, __c77, 2).pipe(T.Query()),
5518
+ multiSearchParameters: __S(2498, __c78, 2).pipe(T.Query()),
5391
5519
  union: S.optional(S.Boolean),
5392
- searches: __S(2465, __c77, 1),
5520
+ searches: __S(2497, __c78, 1),
5393
5521
  }).pipe(T.Http({ method: "POST", uri: "/multi_search", code: 200 })),
5394
5522
  ).annotate({ identifier: "SearchMultiRequest" });
5395
5523
  case 4:
5396
5524
  return S.suspend(() =>
5397
5525
  S.Struct({
5398
- facet_counts: S.optional(__S(2436, __c76, 4)),
5526
+ facet_counts: S.optional(__S(2468, __c77, 4)),
5399
5527
  found: S.optional(S.Number),
5400
5528
  found_docs: S.optional(S.Number),
5401
5529
  search_time_ms: S.optional(S.Number),
5402
5530
  out_of: S.optional(S.Number),
5403
5531
  search_cutoff: S.optional(S.Boolean),
5404
5532
  page: S.optional(S.Number),
5405
- grouped_hits: S.optional(__S(2448, __c76, 16)),
5406
- hits: S.optional(__S(2446, __c76, 14)),
5407
- request_params: S.optional(__S(2450, __c76, 18)),
5408
- conversation: S.optional(__S(2451, __c76, 19)),
5409
- union_request_params: S.optional(__S(2452, __c76, 20)),
5410
- metadata: S.optional(__S(2441, __c76, 9)),
5533
+ grouped_hits: S.optional(__S(2480, __c77, 16)),
5534
+ hits: S.optional(__S(2478, __c77, 14)),
5535
+ request_params: S.optional(__S(2482, __c77, 18)),
5536
+ conversation: S.optional(__S(2483, __c77, 19)),
5537
+ union_request_params: S.optional(__S(2484, __c77, 20)),
5538
+ metadata: S.optional(__S(2473, __c77, 9)),
5411
5539
  code: S.optional(S.Number),
5412
5540
  error: S.optional(S.String),
5413
5541
  }),
5414
5542
  ).annotate({ identifier: "MultiSearchResultItem" });
5415
5543
  case 5:
5416
- return S.Array(__S(2468, __c77, 4));
5544
+ return S.Array(__S(2500, __c78, 4));
5417
5545
  case 6:
5418
5546
  return S.suspend(() =>
5419
5547
  S.Struct({
5420
- results: __S(2469, __c77, 5),
5421
- conversation: S.optional(__S(2451, __c76, 19)),
5548
+ results: __S(2501, __c78, 5),
5549
+ conversation: S.optional(__S(2483, __c77, 19)),
5422
5550
  }),
5423
5551
  ).annotate({ identifier: "MultiSearchResult" });
5424
5552
  }
5425
5553
  }
5426
- function __c78(j: number): any {
5554
+ function __c79(j: number): any {
5427
5555
  switch (j) {
5428
5556
  case 0:
5429
5557
  return S.suspend(() =>
@@ -5433,7 +5561,7 @@ function __c78(j: number): any {
5433
5561
  ).annotate({ identifier: "TakeSnapshotRequest" });
5434
5562
  }
5435
5563
  }
5436
- function __c79(j: number): any {
5564
+ function __c80(j: number): any {
5437
5565
  switch (j) {
5438
5566
  case 0:
5439
5567
  return S.suspend(() =>
@@ -5443,28 +5571,28 @@ function __c79(j: number): any {
5443
5571
  ).annotate({ identifier: "ToggleSlowRequestLogRequest" });
5444
5572
  }
5445
5573
  }
5446
- function __c80(j: number): any {
5574
+ function __c81(j: number): any {
5447
5575
  switch (j) {
5448
5576
  case 0:
5449
5577
  return S.suspend(() =>
5450
5578
  S.Struct({
5451
5579
  collectionName: S.String.pipe(T.Label()),
5452
- fields: S.optional(__S(2691, __c84, 3)),
5453
- synonym_sets: S.optional(__S(1760, __c55, 0)),
5580
+ fields: S.optional(__S(2723, __c85, 3)),
5581
+ synonym_sets: S.optional(__S(1792, __c56, 0)),
5454
5582
  metadata: S.optional(S.Unknown),
5455
5583
  }).pipe(T.Http({ method: "PATCH", uri: "/collections/{collectionName}", code: 200 })),
5456
5584
  ).annotate({ identifier: "UpdateCollectionRequest" });
5457
5585
  case 1:
5458
5586
  return S.suspend(() =>
5459
5587
  S.Struct({
5460
- fields: S.optional(__S(2691, __c84, 3)),
5461
- synonym_sets: S.optional(__S(1760, __c55, 0)),
5588
+ fields: S.optional(__S(2723, __c85, 3)),
5589
+ synonym_sets: S.optional(__S(1792, __c56, 0)),
5462
5590
  metadata: S.optional(S.Unknown),
5463
5591
  }),
5464
5592
  ).annotate({ identifier: "CollectionUpdateSchema" });
5465
5593
  }
5466
5594
  }
5467
- function __c81(j: number): any {
5595
+ function __c82(j: number): any {
5468
5596
  switch (j) {
5469
5597
  case 0:
5470
5598
  return S.suspend(() =>
@@ -5483,25 +5611,25 @@ function __c81(j: number): any {
5483
5611
  ).annotate({ identifier: "UpdateConversationModelRequest" });
5484
5612
  }
5485
5613
  }
5486
- function __c82(j: number): any {
5614
+ function __c83(j: number): any {
5487
5615
  switch (j) {
5488
5616
  case 0:
5489
5617
  return S.suspend(() =>
5490
5618
  S.Struct({
5491
5619
  name: S.String,
5492
- fields: __S(2691, __c84, 3),
5620
+ fields: __S(2723, __c85, 3),
5493
5621
  default_sorting_field: S.optional(S.String),
5494
- token_separators: S.optional(__S(1760, __c55, 0)),
5495
- synonym_sets: S.optional(__S(1760, __c55, 0)),
5622
+ token_separators: S.optional(__S(1792, __c56, 0)),
5623
+ synonym_sets: S.optional(__S(1792, __c56, 0)),
5496
5624
  enable_nested_fields: S.optional(S.Boolean),
5497
- symbols_to_index: S.optional(__S(1760, __c55, 0)),
5498
- voice_query_model: S.optional(__S(2656, __c83, 0)),
5625
+ symbols_to_index: S.optional(__S(1792, __c56, 0)),
5626
+ voice_query_model: S.optional(__S(2688, __c84, 0)),
5499
5627
  metadata: S.optional(S.Unknown),
5500
5628
  }).pipe(T.Http({ method: "POST", uri: "/collections", code: 200 })),
5501
5629
  ).annotate({ identifier: "CreateCollectionRequest" });
5502
5630
  }
5503
5631
  }
5504
- function __c83(j: number): any {
5632
+ function __c84(j: number): any {
5505
5633
  switch (j) {
5506
5634
  case 0:
5507
5635
  return S.suspend(() =>
@@ -5513,13 +5641,13 @@ function __c83(j: number): any {
5513
5641
  return S.suspend(() =>
5514
5642
  S.Struct({
5515
5643
  name: S.String,
5516
- fields: __S(2691, __c84, 3),
5644
+ fields: __S(2723, __c85, 3),
5517
5645
  default_sorting_field: S.optional(S.String),
5518
- token_separators: S.optional(__S(1760, __c55, 0)),
5519
- synonym_sets: S.optional(__S(1760, __c55, 0)),
5646
+ token_separators: S.optional(__S(1792, __c56, 0)),
5647
+ synonym_sets: S.optional(__S(1792, __c56, 0)),
5520
5648
  enable_nested_fields: S.optional(S.Boolean),
5521
- symbols_to_index: S.optional(__S(1760, __c55, 0)),
5522
- voice_query_model: S.optional(__S(2656, __c83, 0)),
5649
+ symbols_to_index: S.optional(__S(1792, __c56, 0)),
5650
+ voice_query_model: S.optional(__S(2688, __c84, 0)),
5523
5651
  metadata: S.optional(S.Unknown),
5524
5652
  num_documents: S.Number,
5525
5653
  created_at: S.Number,
@@ -5527,7 +5655,7 @@ function __c83(j: number): any {
5527
5655
  ).annotate({ identifier: "CreateCollectionResponse" });
5528
5656
  }
5529
5657
  }
5530
- function __c84(j: number): any {
5658
+ function __c85(j: number): any {
5531
5659
  switch (j) {
5532
5660
  case 0:
5533
5661
  return S.suspend(() =>
@@ -5547,8 +5675,8 @@ function __c84(j: number): any {
5547
5675
  case 1:
5548
5676
  return S.suspend(() =>
5549
5677
  S.Struct({
5550
- from: __S(1760, __c55, 0),
5551
- model_config: __S(2688, __c84, 0),
5678
+ from: __S(1792, __c56, 0),
5679
+ model_config: __S(2720, __c85, 0),
5552
5680
  }),
5553
5681
  ).annotate({ identifier: "FieldEmbed" });
5554
5682
  case 2:
@@ -5571,16 +5699,16 @@ function __c84(j: number): any {
5571
5699
  range_index: S.optional(S.Boolean),
5572
5700
  stem: S.optional(S.Boolean),
5573
5701
  stem_dictionary: S.optional(S.String),
5574
- token_separators: S.optional(__S(1760, __c55, 0)),
5575
- symbols_to_index: S.optional(__S(1760, __c55, 0)),
5576
- embed: S.optional(__S(2689, __c84, 1)),
5702
+ token_separators: S.optional(__S(1792, __c56, 0)),
5703
+ symbols_to_index: S.optional(__S(1792, __c56, 0)),
5704
+ embed: S.optional(__S(2721, __c85, 1)),
5577
5705
  }),
5578
5706
  ).annotate({ identifier: "Field" });
5579
5707
  case 3:
5580
- return S.Array(__S(2690, __c84, 2));
5708
+ return S.Array(__S(2722, __c85, 2));
5581
5709
  }
5582
5710
  }
5583
- function __c85(j: number): any {
5711
+ function __c86(j: number): any {
5584
5712
  switch (j) {
5585
5713
  case 0:
5586
5714
  return S.suspend(() =>
@@ -5598,7 +5726,7 @@ function __c85(j: number): any {
5598
5726
  ).annotate({ identifier: "UpdateDocumentRequest" });
5599
5727
  }
5600
5728
  }
5601
- function __c86(j: number): any {
5729
+ function __c87(j: number): any {
5602
5730
  switch (j) {
5603
5731
  case 0:
5604
5732
  return S.suspend(() =>
@@ -5610,7 +5738,7 @@ function __c86(j: number): any {
5610
5738
  return S.suspend(() =>
5611
5739
  S.Struct({
5612
5740
  collectionName: S.String.pipe(T.Label()),
5613
- updateDocumentsParameters: S.optional(__S(2752, __c86, 0).pipe(T.Query())),
5741
+ updateDocumentsParameters: S.optional(__S(2784, __c87, 0).pipe(T.Query())),
5614
5742
  }).pipe(
5615
5743
  T.Http({ method: "PATCH", uri: "/collections/{collectionName}/documents", code: 200 }),
5616
5744
  ),
@@ -5623,7 +5751,7 @@ function __c86(j: number): any {
5623
5751
  ).annotate({ identifier: "UpdateDocumentsResponse" });
5624
5752
  }
5625
5753
  }
5626
- function __c87(j: number): any {
5754
+ function __c88(j: number): any {
5627
5755
  switch (j) {
5628
5756
  case 0:
5629
5757
  return S.suspend(() =>
@@ -5637,7 +5765,7 @@ function __c87(j: number): any {
5637
5765
  system_prompt: S.optional(S.String),
5638
5766
  top_p: S.optional(S.Number),
5639
5767
  top_k: S.optional(S.Number),
5640
- stop_sequences: S.optional(__S(1760, __c55, 0)),
5768
+ stop_sequences: S.optional(__S(1792, __c56, 0)),
5641
5769
  api_version: S.optional(S.String),
5642
5770
  project_id: S.optional(S.String),
5643
5771
  access_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
@@ -5652,7 +5780,7 @@ function __c87(j: number): any {
5652
5780
  ).annotate({ identifier: "UpdateNLSearchModelRequest" });
5653
5781
  }
5654
5782
  }
5655
- function __c88(j: number): any {
5783
+ function __c89(j: number): any {
5656
5784
  switch (j) {
5657
5785
  case 0:
5658
5786
  return S.suspend(() =>
@@ -5663,7 +5791,7 @@ function __c88(j: number): any {
5663
5791
  ).annotate({ identifier: "UpsertAliasRequest" });
5664
5792
  }
5665
5793
  }
5666
- function __c89(j: number): any {
5794
+ function __c90(j: number): any {
5667
5795
  switch (j) {
5668
5796
  case 0:
5669
5797
  return S.suspend(() =>
@@ -5671,33 +5799,33 @@ function __c89(j: number): any {
5671
5799
  ruleName: S.String.pipe(T.Label()),
5672
5800
  name: S.optional(S.String),
5673
5801
  rule_tag: S.optional(S.String),
5674
- params: S.optional(__S(192, __c6, 0)),
5802
+ params: S.optional(__S(224, __c7, 0)),
5675
5803
  }).pipe(T.Http({ method: "PUT", uri: "/analytics/rules/{ruleName}", code: 200 })),
5676
5804
  ).annotate({ identifier: "UpsertAnalyticsRuleRequest" });
5677
5805
  }
5678
5806
  }
5679
- function __c90(j: number): any {
5807
+ function __c91(j: number): any {
5680
5808
  switch (j) {
5681
5809
  case 0:
5682
5810
  return S.suspend(() =>
5683
5811
  S.Struct({
5684
5812
  curationSetName: S.String.pipe(T.Label()),
5685
- items: __S(1377, __c43, 1),
5813
+ items: __S(1409, __c44, 1),
5686
5814
  description: S.optional(S.String),
5687
5815
  }).pipe(T.Http({ method: "PUT", uri: "/curation_sets/{curationSetName}", code: 200 })),
5688
5816
  ).annotate({ identifier: "UpsertCurationSetRequest" });
5689
5817
  }
5690
5818
  }
5691
- function __c91(j: number): any {
5819
+ function __c92(j: number): any {
5692
5820
  switch (j) {
5693
5821
  case 0:
5694
5822
  return S.suspend(() =>
5695
5823
  S.Struct({
5696
5824
  curationSetName: S.String.pipe(T.Label()),
5697
5825
  itemId: S.String.pipe(T.Label()),
5698
- rule: __S(1344, __c42, 0),
5699
- includes: S.optional(__S(1346, __c42, 2)),
5700
- excludes: S.optional(__S(1347, __c42, 3)),
5826
+ rule: __S(1376, __c43, 0),
5827
+ includes: S.optional(__S(1378, __c43, 2)),
5828
+ excludes: S.optional(__S(1379, __c43, 3)),
5701
5829
  filter_by: S.optional(S.String),
5702
5830
  remove_matched_tokens: S.optional(S.Boolean),
5703
5831
  metadata: S.optional(S.Unknown),
@@ -5718,7 +5846,7 @@ function __c91(j: number): any {
5718
5846
  ).annotate({ identifier: "UpsertCurationSetItemRequest" });
5719
5847
  }
5720
5848
  }
5721
- function __c92(j: number): any {
5849
+ function __c93(j: number): any {
5722
5850
  switch (j) {
5723
5851
  case 0:
5724
5852
  return S.Unknown.pipe(
@@ -5813,7 +5941,7 @@ function __c92(j: number): any {
5813
5941
  return S.suspend(() =>
5814
5942
  S.Struct({
5815
5943
  presetId: S.String.pipe(T.Label()),
5816
- value: __S(2944, __c92, 0),
5944
+ value: __S(2976, __c93, 0),
5817
5945
  }).pipe(T.Http({ method: "PUT", uri: "/presets/{presetId}", code: 200 })),
5818
5946
  ).annotate({ identifier: "UpsertPresetRequest" });
5819
5947
  case 2:
@@ -5908,36 +6036,36 @@ function __c92(j: number): any {
5908
6036
  case 3:
5909
6037
  return S.suspend(() =>
5910
6038
  S.Struct({
5911
- value: __S(2946, __c92, 2),
6039
+ value: __S(2978, __c93, 2),
5912
6040
  name: S.String,
5913
6041
  }),
5914
6042
  ).annotate({ identifier: "UpsertPresetResponse" });
5915
6043
  }
5916
6044
  }
5917
- function __c93(j: number): any {
6045
+ function __c94(j: number): any {
5918
6046
  switch (j) {
5919
6047
  case 0:
5920
6048
  return S.suspend(() =>
5921
6049
  S.Struct({
5922
6050
  setId: S.String.pipe(T.Label()),
5923
- stopwords: __S(1760, __c55, 0),
6051
+ stopwords: __S(1792, __c56, 0),
5924
6052
  locale: S.optional(S.String),
5925
6053
  }).pipe(T.Http({ method: "PUT", uri: "/stopwords/{setId}", code: 200 })),
5926
6054
  ).annotate({ identifier: "UpsertStopwordsSetRequest" });
5927
6055
  }
5928
6056
  }
5929
- function __c94(j: number): any {
6057
+ function __c95(j: number): any {
5930
6058
  switch (j) {
5931
6059
  case 0:
5932
6060
  return S.suspend(() =>
5933
6061
  S.Struct({
5934
6062
  synonymSetName: S.String.pipe(T.Label()),
5935
- items: __S(2048, __c64, 0),
6063
+ items: __S(2080, __c65, 0),
5936
6064
  }).pipe(T.Http({ method: "PUT", uri: "/synonym_sets/{synonymSetName}", code: 200 })),
5937
6065
  ).annotate({ identifier: "UpsertSynonymSetRequest" });
5938
6066
  }
5939
6067
  }
5940
- function __c95(j: number): any {
6068
+ function __c96(j: number): any {
5941
6069
  switch (j) {
5942
6070
  case 0:
5943
6071
  return S.suspend(() =>
@@ -5955,7 +6083,7 @@ function __c95(j: number): any {
5955
6083
  ).annotate({ identifier: "CreateConversationModelRequest" });
5956
6084
  }
5957
6085
  }
5958
- function __c96(j: number): any {
6086
+ function __c97(j: number): any {
5959
6087
  switch (j) {
5960
6088
  case 0:
5961
6089
  return S.suspend(() =>
@@ -5973,17 +6101,17 @@ function __c96(j: number): any {
5973
6101
  ).annotate({ identifier: "CreateConversationModelResponse" });
5974
6102
  }
5975
6103
  }
5976
- function __c97(j: number): any {
6104
+ function __c98(j: number): any {
5977
6105
  switch (j) {
5978
6106
  case 0:
5979
6107
  return S.suspend(() =>
5980
6108
  S.Struct({
5981
6109
  synonymSetName: S.String.pipe(T.Label()),
5982
6110
  itemId: S.String.pipe(T.Label()),
5983
- synonyms: __S(1760, __c55, 0),
6111
+ synonyms: __S(1792, __c56, 0),
5984
6112
  root: S.optional(S.String),
5985
6113
  locale: S.optional(S.String),
5986
- symbols_to_index: S.optional(__S(1760, __c55, 0)),
6114
+ symbols_to_index: S.optional(__S(1792, __c56, 0)),
5987
6115
  }).pipe(
5988
6116
  T.Http({
5989
6117
  method: "PUT",
@@ -5994,7 +6122,7 @@ function __c97(j: number): any {
5994
6122
  ).annotate({ identifier: "UpsertSynonymSetItemRequest" });
5995
6123
  }
5996
6124
  }
5997
- function __c98(j: number): any {
6125
+ function __c99(j: number): any {
5998
6126
  switch (j) {
5999
6127
  case 0:
6000
6128
  return S.suspend(() =>
@@ -6002,29 +6130,29 @@ function __c98(j: number): any {
6002
6130
  ).annotate({ identifier: "VoteRequest" });
6003
6131
  }
6004
6132
  }
6005
- function __c99(j: number): any {
6133
+ function __c100(j: number): any {
6006
6134
  switch (j) {
6007
6135
  case 0:
6008
6136
  return S.suspend(() =>
6009
6137
  S.Struct({
6010
6138
  value: S.optional(S.String),
6011
6139
  description: S.String,
6012
- actions: __S(1760, __c55, 0),
6013
- collections: __S(1760, __c55, 0),
6140
+ actions: __S(1792, __c56, 0),
6141
+ collections: __S(1792, __c56, 0),
6014
6142
  expires_at: S.optional(S.Number),
6015
6143
  }).pipe(T.Http({ method: "POST", uri: "/keys", code: 200 })),
6016
6144
  ).annotate({ identifier: "CreateKeyRequest" });
6017
6145
  }
6018
6146
  }
6019
- function __c100(j: number): any {
6147
+ function __c101(j: number): any {
6020
6148
  switch (j) {
6021
6149
  case 0:
6022
6150
  return S.suspend(() =>
6023
6151
  S.Struct({
6024
6152
  value: S.optional(S.String),
6025
6153
  description: S.String,
6026
- actions: __S(1760, __c55, 0),
6027
- collections: __S(1760, __c55, 0),
6154
+ actions: __S(1792, __c56, 0),
6155
+ collections: __S(1792, __c56, 0),
6028
6156
  expires_at: S.optional(S.Number),
6029
6157
  id: S.optional(S.Number),
6030
6158
  value_prefix: S.optional(S.String),