@mixedbread/sdk 0.19.1 → 0.20.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/client.d.mts +1 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +1 -0
  5. package/client.d.ts.map +1 -1
  6. package/package.json +4 -1
  7. package/resources/shared.d.mts +17 -0
  8. package/resources/shared.d.mts.map +1 -1
  9. package/resources/shared.d.ts +17 -0
  10. package/resources/shared.d.ts.map +1 -1
  11. package/resources/vector-stores/files.d.mts +106 -78
  12. package/resources/vector-stores/files.d.mts.map +1 -1
  13. package/resources/vector-stores/files.d.ts +106 -78
  14. package/resources/vector-stores/files.d.ts.map +1 -1
  15. package/resources/vector-stores/files.js +7 -5
  16. package/resources/vector-stores/files.js.map +1 -1
  17. package/resources/vector-stores/files.mjs +7 -5
  18. package/resources/vector-stores/files.mjs.map +1 -1
  19. package/resources/vector-stores/index.d.mts +1 -1
  20. package/resources/vector-stores/index.d.mts.map +1 -1
  21. package/resources/vector-stores/index.d.ts +1 -1
  22. package/resources/vector-stores/index.d.ts.map +1 -1
  23. package/resources/vector-stores/vector-stores.d.mts +4 -74
  24. package/resources/vector-stores/vector-stores.d.mts.map +1 -1
  25. package/resources/vector-stores/vector-stores.d.ts +4 -74
  26. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  27. package/resources/vector-stores/vector-stores.js.map +1 -1
  28. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  29. package/src/client.ts +1 -0
  30. package/src/resources/shared.ts +20 -0
  31. package/src/resources/vector-stores/files.ts +123 -98
  32. package/src/resources/vector-stores/index.ts +1 -1
  33. package/src/resources/vector-stores/vector-stores.ts +6 -93
  34. package/src/version.ts +1 -1
  35. package/version.d.mts +1 -1
  36. package/version.d.ts +1 -1
  37. package/version.js +1 -1
  38. package/version.mjs +1 -1
@@ -8,6 +8,7 @@ import {
8
8
  FileDeleteParams,
9
9
  FileDeleteResponse,
10
10
  FileListParams,
11
+ FileListResponse,
11
12
  FileRetrieveParams,
12
13
  FileSearchParams,
13
14
  FileSearchResponse,
@@ -16,7 +17,6 @@ import {
16
17
  ScoredVectorStoreFile,
17
18
  VectorStoreFile,
18
19
  VectorStoreFileStatus,
19
- VectorStoreFilesCursor,
20
20
  } from './files';
21
21
  import { APIPromise } from '../../core/api-promise';
22
22
  import { Cursor, type CursorParams, PagePromise } from '../../core/pagination';
@@ -732,12 +732,9 @@ export interface VectorStoreQuestionAnsweringParams {
732
732
  * Optional filter conditions
733
733
  */
734
734
  filters?:
735
- | VectorStoreQuestionAnsweringParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
735
+ | Shared.SearchFilter
736
736
  | Shared.SearchFilterCondition
737
- | Array<
738
- | VectorStoreQuestionAnsweringParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
739
- | Shared.SearchFilterCondition
740
- >
737
+ | Array<Shared.SearchFilter | Shared.SearchFilterCondition>
741
738
  | null;
742
739
 
743
740
  /**
@@ -762,46 +759,6 @@ export interface VectorStoreQuestionAnsweringParams {
762
759
  }
763
760
 
764
761
  export namespace VectorStoreQuestionAnsweringParams {
765
- /**
766
- * Represents a filter with AND, OR, and NOT conditions.
767
- */
768
- export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
769
- /**
770
- * List of conditions or filters to be ANDed together
771
- */
772
- all?: Array<unknown | Shared.SearchFilterCondition> | null;
773
-
774
- /**
775
- * List of conditions or filters to be ORed together
776
- */
777
- any?: Array<unknown | Shared.SearchFilterCondition> | null;
778
-
779
- /**
780
- * List of conditions or filters to be NOTed
781
- */
782
- none?: Array<unknown | Shared.SearchFilterCondition> | null;
783
- }
784
-
785
- /**
786
- * Represents a filter with AND, OR, and NOT conditions.
787
- */
788
- export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
789
- /**
790
- * List of conditions or filters to be ANDed together
791
- */
792
- all?: Array<unknown | Shared.SearchFilterCondition> | null;
793
-
794
- /**
795
- * List of conditions or filters to be ORed together
796
- */
797
- any?: Array<unknown | Shared.SearchFilterCondition> | null;
798
-
799
- /**
800
- * List of conditions or filters to be NOTed
801
- */
802
- none?: Array<unknown | Shared.SearchFilterCondition> | null;
803
- }
804
-
805
762
  /**
806
763
  * Question answering configuration options
807
764
  */
@@ -843,11 +800,9 @@ export interface VectorStoreSearchParams {
843
800
  * Optional filter conditions
844
801
  */
845
802
  filters?:
846
- | VectorStoreSearchParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
803
+ | Shared.SearchFilter
847
804
  | Shared.SearchFilterCondition
848
- | Array<
849
- VectorStoreSearchParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1 | Shared.SearchFilterCondition
850
- >
805
+ | Array<Shared.SearchFilter | Shared.SearchFilterCondition>
851
806
  | null;
852
807
 
853
808
  /**
@@ -861,48 +816,6 @@ export interface VectorStoreSearchParams {
861
816
  search_options?: VectorStoreChunkSearchOptions;
862
817
  }
863
818
 
864
- export namespace VectorStoreSearchParams {
865
- /**
866
- * Represents a filter with AND, OR, and NOT conditions.
867
- */
868
- export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
869
- /**
870
- * List of conditions or filters to be ANDed together
871
- */
872
- all?: Array<unknown | Shared.SearchFilterCondition> | null;
873
-
874
- /**
875
- * List of conditions or filters to be ORed together
876
- */
877
- any?: Array<unknown | Shared.SearchFilterCondition> | null;
878
-
879
- /**
880
- * List of conditions or filters to be NOTed
881
- */
882
- none?: Array<unknown | Shared.SearchFilterCondition> | null;
883
- }
884
-
885
- /**
886
- * Represents a filter with AND, OR, and NOT conditions.
887
- */
888
- export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
889
- /**
890
- * List of conditions or filters to be ANDed together
891
- */
892
- all?: Array<unknown | Shared.SearchFilterCondition> | null;
893
-
894
- /**
895
- * List of conditions or filters to be ORed together
896
- */
897
- any?: Array<unknown | Shared.SearchFilterCondition> | null;
898
-
899
- /**
900
- * List of conditions or filters to be NOTed
901
- */
902
- none?: Array<unknown | Shared.SearchFilterCondition> | null;
903
- }
904
- }
905
-
906
819
  VectorStores.Files = Files;
907
820
 
908
821
  export declare namespace VectorStores {
@@ -931,9 +844,9 @@ export declare namespace VectorStores {
931
844
  type ScoredVectorStoreFile as ScoredVectorStoreFile,
932
845
  type VectorStoreFileStatus as VectorStoreFileStatus,
933
846
  type VectorStoreFile as VectorStoreFile,
847
+ type FileListResponse as FileListResponse,
934
848
  type FileDeleteResponse as FileDeleteResponse,
935
849
  type FileSearchResponse as FileSearchResponse,
936
- type VectorStoreFilesCursor as VectorStoreFilesCursor,
937
850
  type FileCreateParams as FileCreateParams,
938
851
  type FileRetrieveParams as FileRetrieveParams,
939
852
  type FileListParams as FileListParams,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.19.1'; // x-release-please-version
1
+ export const VERSION = '0.20.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.19.1";
1
+ export declare const VERSION = "0.20.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.19.1";
1
+ export declare const VERSION = "0.20.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.19.1'; // x-release-please-version
4
+ exports.VERSION = '0.20.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.19.1'; // x-release-please-version
1
+ export const VERSION = '0.20.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map