@relevanceai/sdk 1.63.0 → 1.65.0

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.
@@ -772,7 +772,7 @@ export interface components {
772
772
  strict?: "must" | "should" | "must_or";
773
773
  condition?: string;
774
774
  field?: string;
775
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
775
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
776
776
  condition_value?: unknown;
777
777
  fuzzy?: number;
778
778
  join?: boolean;
@@ -1367,6 +1367,11 @@ export interface components {
1367
1367
  /** @description Field that must exist. */
1368
1368
  field?: string;
1369
1369
  };
1370
+ /** @description Filter down to one document for each value of selected field. */
1371
+ dedupeByValue?: {
1372
+ /** @description Field to filter on. */
1373
+ field: string;
1374
+ };
1370
1375
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
1371
1376
  selfreference?: {
1372
1377
  /** @description First field in comparison. */
@@ -1408,7 +1413,7 @@ export interface components {
1408
1413
  strict?: "must" | "should" | "must_or";
1409
1414
  condition?: string;
1410
1415
  field?: string;
1411
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
1416
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
1412
1417
  condition_value?: unknown;
1413
1418
  fuzzy?: number;
1414
1419
  join?: boolean;
@@ -1586,6 +1591,11 @@ export interface components {
1586
1591
  /** @description Field that must exist. */
1587
1592
  field?: string;
1588
1593
  };
1594
+ /** @description Filter down to one document for each value of selected field. */
1595
+ dedupeByValue?: {
1596
+ /** @description Field to filter on. */
1597
+ field: string;
1598
+ };
1589
1599
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
1590
1600
  selfreference?: {
1591
1601
  /** @description First field in comparison. */
@@ -1627,7 +1637,7 @@ export interface components {
1627
1637
  strict?: "must" | "should" | "must_or";
1628
1638
  condition?: string;
1629
1639
  field?: string;
1630
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
1640
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
1631
1641
  condition_value?: unknown;
1632
1642
  fuzzy?: number;
1633
1643
  join?: boolean;
@@ -1811,6 +1821,11 @@ export interface components {
1811
1821
  /** @description Field that must exist. */
1812
1822
  field?: string;
1813
1823
  };
1824
+ /** @description Filter down to one document for each value of selected field. */
1825
+ dedupeByValue?: {
1826
+ /** @description Field to filter on. */
1827
+ field: string;
1828
+ };
1814
1829
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
1815
1830
  selfreference?: {
1816
1831
  /** @description First field in comparison. */
@@ -1852,7 +1867,7 @@ export interface components {
1852
1867
  strict?: "must" | "should" | "must_or";
1853
1868
  condition?: string;
1854
1869
  field?: string;
1855
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
1870
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
1856
1871
  condition_value?: unknown;
1857
1872
  fuzzy?: number;
1858
1873
  join?: boolean;
@@ -2075,6 +2090,11 @@ export interface components {
2075
2090
  /** @description Field that must exist. */
2076
2091
  field?: string;
2077
2092
  };
2093
+ /** @description Filter down to one document for each value of selected field. */
2094
+ dedupeByValue?: {
2095
+ /** @description Field to filter on. */
2096
+ field: string;
2097
+ };
2078
2098
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
2079
2099
  selfreference?: {
2080
2100
  /** @description First field in comparison. */
@@ -2116,7 +2136,7 @@ export interface components {
2116
2136
  strict?: "must" | "should" | "must_or";
2117
2137
  condition?: string;
2118
2138
  field?: string;
2119
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
2139
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
2120
2140
  condition_value?: unknown;
2121
2141
  fuzzy?: number;
2122
2142
  join?: boolean;
@@ -2300,6 +2320,11 @@ export interface components {
2300
2320
  /** @description Field that must exist. */
2301
2321
  field?: string;
2302
2322
  };
2323
+ /** @description Filter down to one document for each value of selected field. */
2324
+ dedupeByValue?: {
2325
+ /** @description Field to filter on. */
2326
+ field: string;
2327
+ };
2303
2328
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
2304
2329
  selfreference?: {
2305
2330
  /** @description First field in comparison. */
@@ -2341,7 +2366,7 @@ export interface components {
2341
2366
  strict?: "must" | "should" | "must_or";
2342
2367
  condition?: string;
2343
2368
  field?: string;
2344
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
2369
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
2345
2370
  condition_value?: unknown;
2346
2371
  fuzzy?: number;
2347
2372
  join?: boolean;
@@ -2606,6 +2631,11 @@ export interface components {
2606
2631
  /** @description Field that must exist. */
2607
2632
  field?: string;
2608
2633
  };
2634
+ /** @description Filter down to one document for each value of selected field. */
2635
+ dedupeByValue?: {
2636
+ /** @description Field to filter on. */
2637
+ field: string;
2638
+ };
2609
2639
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
2610
2640
  selfreference?: {
2611
2641
  /** @description First field in comparison. */
@@ -2647,7 +2677,7 @@ export interface components {
2647
2677
  strict?: "must" | "should" | "must_or";
2648
2678
  condition?: string;
2649
2679
  field?: string;
2650
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
2680
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
2651
2681
  condition_value?: unknown;
2652
2682
  fuzzy?: number;
2653
2683
  join?: boolean;
@@ -2831,6 +2861,11 @@ export interface components {
2831
2861
  /** @description Field that must exist. */
2832
2862
  field?: string;
2833
2863
  };
2864
+ /** @description Filter down to one document for each value of selected field. */
2865
+ dedupeByValue?: {
2866
+ /** @description Field to filter on. */
2867
+ field: string;
2868
+ };
2834
2869
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
2835
2870
  selfreference?: {
2836
2871
  /** @description First field in comparison. */
@@ -2872,7 +2907,7 @@ export interface components {
2872
2907
  strict?: "must" | "should" | "must_or";
2873
2908
  condition?: string;
2874
2909
  field?: string;
2875
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
2910
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
2876
2911
  condition_value?: unknown;
2877
2912
  fuzzy?: number;
2878
2913
  join?: boolean;
@@ -3155,6 +3190,11 @@ export interface components {
3155
3190
  /** @description Field that must exist. */
3156
3191
  field?: string;
3157
3192
  };
3193
+ /** @description Filter down to one document for each value of selected field. */
3194
+ dedupeByValue?: {
3195
+ /** @description Field to filter on. */
3196
+ field: string;
3197
+ };
3158
3198
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
3159
3199
  selfreference?: {
3160
3200
  /** @description First field in comparison. */
@@ -3196,7 +3236,7 @@ export interface components {
3196
3236
  strict?: "must" | "should" | "must_or";
3197
3237
  condition?: string;
3198
3238
  field?: string;
3199
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
3239
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
3200
3240
  condition_value?: unknown;
3201
3241
  fuzzy?: number;
3202
3242
  join?: boolean;
@@ -3432,6 +3472,11 @@ export interface components {
3432
3472
  /** @description Field that must exist. */
3433
3473
  field?: string;
3434
3474
  };
3475
+ /** @description Filter down to one document for each value of selected field. */
3476
+ dedupeByValue?: {
3477
+ /** @description Field to filter on. */
3478
+ field: string;
3479
+ };
3435
3480
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
3436
3481
  selfreference?: {
3437
3482
  /** @description First field in comparison. */
@@ -3473,7 +3518,7 @@ export interface components {
3473
3518
  strict?: "must" | "should" | "must_or";
3474
3519
  condition?: string;
3475
3520
  field?: string;
3476
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
3521
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
3477
3522
  condition_value?: unknown;
3478
3523
  fuzzy?: number;
3479
3524
  join?: boolean;
@@ -3902,7 +3947,7 @@ export interface components {
3902
3947
  strict?: "must" | "should" | "must_or";
3903
3948
  condition?: string;
3904
3949
  field?: string;
3905
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
3950
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
3906
3951
  condition_value?: unknown;
3907
3952
  fuzzy?: number;
3908
3953
  join?: boolean;
@@ -4302,6 +4347,11 @@ export interface components {
4302
4347
  /** @description Field that must exist. */
4303
4348
  field?: string;
4304
4349
  };
4350
+ /** @description Filter down to one document for each value of selected field. */
4351
+ dedupeByValue?: {
4352
+ /** @description Field to filter on. */
4353
+ field: string;
4354
+ };
4305
4355
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
4306
4356
  selfreference?: {
4307
4357
  /** @description First field in comparison. */
@@ -4343,7 +4393,7 @@ export interface components {
4343
4393
  strict?: "must" | "should" | "must_or";
4344
4394
  condition?: string;
4345
4395
  field?: string;
4346
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
4396
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
4347
4397
  condition_value?: unknown;
4348
4398
  fuzzy?: number;
4349
4399
  join?: boolean;
@@ -4584,6 +4634,11 @@ export interface components {
4584
4634
  /** @description Field that must exist. */
4585
4635
  field?: string;
4586
4636
  };
4637
+ /** @description Filter down to one document for each value of selected field. */
4638
+ dedupeByValue?: {
4639
+ /** @description Field to filter on. */
4640
+ field: string;
4641
+ };
4587
4642
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
4588
4643
  selfreference?: {
4589
4644
  /** @description First field in comparison. */
@@ -4625,7 +4680,7 @@ export interface components {
4625
4680
  strict?: "must" | "should" | "must_or";
4626
4681
  condition?: string;
4627
4682
  field?: string;
4628
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
4683
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
4629
4684
  condition_value?: unknown;
4630
4685
  fuzzy?: number;
4631
4686
  join?: boolean;
@@ -5081,6 +5136,11 @@ export interface components {
5081
5136
  /** @description Field that must exist. */
5082
5137
  field?: string;
5083
5138
  };
5139
+ /** @description Filter down to one document for each value of selected field. */
5140
+ dedupeByValue?: {
5141
+ /** @description Field to filter on. */
5142
+ field: string;
5143
+ };
5084
5144
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
5085
5145
  selfreference?: {
5086
5146
  /** @description First field in comparison. */
@@ -5122,7 +5182,7 @@ export interface components {
5122
5182
  strict?: "must" | "should" | "must_or";
5123
5183
  condition?: string;
5124
5184
  field?: string;
5125
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
5185
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
5126
5186
  condition_value?: unknown;
5127
5187
  fuzzy?: number;
5128
5188
  join?: boolean;
@@ -5347,6 +5407,11 @@ export interface components {
5347
5407
  /** @description Field that must exist. */
5348
5408
  field?: string;
5349
5409
  };
5410
+ /** @description Filter down to one document for each value of selected field. */
5411
+ dedupeByValue?: {
5412
+ /** @description Field to filter on. */
5413
+ field: string;
5414
+ };
5350
5415
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
5351
5416
  selfreference?: {
5352
5417
  /** @description First field in comparison. */
@@ -5388,7 +5453,7 @@ export interface components {
5388
5453
  strict?: "must" | "should" | "must_or";
5389
5454
  condition?: string;
5390
5455
  field?: string;
5391
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
5456
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
5392
5457
  condition_value?: unknown;
5393
5458
  fuzzy?: number;
5394
5459
  join?: boolean;
@@ -5607,6 +5672,11 @@ export interface components {
5607
5672
  /** @description Field that must exist. */
5608
5673
  field?: string;
5609
5674
  };
5675
+ /** @description Filter down to one document for each value of selected field. */
5676
+ dedupeByValue?: {
5677
+ /** @description Field to filter on. */
5678
+ field: string;
5679
+ };
5610
5680
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
5611
5681
  selfreference?: {
5612
5682
  /** @description First field in comparison. */
@@ -5648,7 +5718,7 @@ export interface components {
5648
5718
  strict?: "must" | "should" | "must_or";
5649
5719
  condition?: string;
5650
5720
  field?: string;
5651
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
5721
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
5652
5722
  condition_value?: unknown;
5653
5723
  fuzzy?: number;
5654
5724
  join?: boolean;
@@ -5983,6 +6053,11 @@ export interface components {
5983
6053
  /** @description Field that must exist. */
5984
6054
  field?: string;
5985
6055
  };
6056
+ /** @description Filter down to one document for each value of selected field. */
6057
+ dedupeByValue?: {
6058
+ /** @description Field to filter on. */
6059
+ field: string;
6060
+ };
5986
6061
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
5987
6062
  selfreference?: {
5988
6063
  /** @description First field in comparison. */
@@ -6025,7 +6100,7 @@ export interface components {
6025
6100
  strict?: "must" | "should" | "must_or";
6026
6101
  condition?: string;
6027
6102
  field?: string;
6028
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
6103
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
6029
6104
  condition_value?: unknown;
6030
6105
  fuzzy?: number;
6031
6106
  join?: boolean;
@@ -6034,7 +6109,7 @@ export interface components {
6034
6109
  strict?: "must" | "should" | "must_or";
6035
6110
  condition?: string;
6036
6111
  field?: string;
6037
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
6112
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
6038
6113
  condition_value?: unknown;
6039
6114
  fuzzy?: number;
6040
6115
  join?: boolean;
@@ -6217,6 +6292,11 @@ export interface components {
6217
6292
  /** @description Field that must exist. */
6218
6293
  field?: string;
6219
6294
  };
6295
+ /** @description Filter down to one document for each value of selected field. */
6296
+ dedupeByValue?: {
6297
+ /** @description Field to filter on. */
6298
+ field: string;
6299
+ };
6220
6300
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
6221
6301
  selfreference?: {
6222
6302
  /** @description First field in comparison. */
@@ -6258,7 +6338,7 @@ export interface components {
6258
6338
  strict?: "must" | "should" | "must_or";
6259
6339
  condition?: string;
6260
6340
  field?: string;
6261
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
6341
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
6262
6342
  condition_value?: unknown;
6263
6343
  fuzzy?: number;
6264
6344
  join?: boolean;
@@ -6723,6 +6803,11 @@ export interface components {
6723
6803
  /** @description Field that must exist. */
6724
6804
  field?: string;
6725
6805
  };
6806
+ /** @description Filter down to one document for each value of selected field. */
6807
+ dedupeByValue?: {
6808
+ /** @description Field to filter on. */
6809
+ field: string;
6810
+ };
6726
6811
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
6727
6812
  selfreference?: {
6728
6813
  /** @description First field in comparison. */
@@ -6764,7 +6849,7 @@ export interface components {
6764
6849
  strict?: "must" | "should" | "must_or";
6765
6850
  condition?: string;
6766
6851
  field?: string;
6767
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
6852
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
6768
6853
  condition_value?: unknown;
6769
6854
  fuzzy?: number;
6770
6855
  join?: boolean;
@@ -7241,6 +7326,11 @@ export interface components {
7241
7326
  /** @description Field that must exist. */
7242
7327
  field?: string;
7243
7328
  };
7329
+ /** @description Filter down to one document for each value of selected field. */
7330
+ dedupeByValue?: {
7331
+ /** @description Field to filter on. */
7332
+ field: string;
7333
+ };
7244
7334
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
7245
7335
  selfreference?: {
7246
7336
  /** @description First field in comparison. */
@@ -7282,7 +7372,7 @@ export interface components {
7282
7372
  strict?: "must" | "should" | "must_or";
7283
7373
  condition?: string;
7284
7374
  field?: string;
7285
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
7375
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
7286
7376
  condition_value?: unknown;
7287
7377
  fuzzy?: number;
7288
7378
  join?: boolean;
@@ -9608,6 +9698,11 @@ export interface operations {
9608
9698
  /** @description Field that must exist. */
9609
9699
  field?: string;
9610
9700
  };
9701
+ /** @description Filter down to one document for each value of selected field. */
9702
+ dedupeByValue?: {
9703
+ /** @description Field to filter on. */
9704
+ field: string;
9705
+ };
9611
9706
  /** @description Match documents where document[a] <=/>=/</>/==/!=/stringEquals document[b]. Use stringEquals to compare strings. */
9612
9707
  selfreference?: {
9613
9708
  /** @description First field in comparison. */
@@ -9649,7 +9744,7 @@ export interface operations {
9649
9744
  strict?: "must" | "should" | "must_or";
9650
9745
  condition?: string;
9651
9746
  field?: string;
9652
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
9747
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
9653
9748
  condition_value?: unknown;
9654
9749
  fuzzy?: number;
9655
9750
  join?: boolean;
@@ -9926,7 +10021,7 @@ export interface operations {
9926
10021
  strict?: "must" | "should" | "must_or";
9927
10022
  condition?: string;
9928
10023
  field?: string;
9929
- filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count";
10024
+ filter_type?: "text_match" | "word_match" | "term" | "terms" | "text" | "texts" | "match" | "contains" | "substring" | "class" | "category" | "exact_match" | "classes" | "categories" | "exists" | "traditional" | "fuzzy" | "regexp" | "ids" | "date" | "numeric" | "search" | "or" | "word_count" | "character_count" | "dedupe_by_value";
9930
10025
  condition_value?: unknown;
9931
10026
  fuzzy?: number;
9932
10027
  join?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relevanceai/sdk",
3
- "version": "1.63.0",
3
+ "version": "1.65.0",
4
4
  "description": "Javascript client for RelevanceAI APIs. Browser, Node.js and typescript support.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "types": "./dist-types/index.d.ts",