@mixedbread/sdk 0.5.0 → 0.7.2

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 (228) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/README.md +12 -24
  3. package/bin/migration-config.json +105 -2
  4. package/client.d.mts +12 -28
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +12 -28
  7. package/client.d.ts.map +1 -1
  8. package/client.js +6 -22
  9. package/client.js.map +1 -1
  10. package/client.mjs +6 -22
  11. package/client.mjs.map +1 -1
  12. package/core/pagination.d.mts +1 -1
  13. package/core/pagination.d.mts.map +1 -1
  14. package/core/pagination.d.ts +1 -1
  15. package/core/pagination.d.ts.map +1 -1
  16. package/core/resource.d.mts +1 -1
  17. package/core/resource.d.mts.map +1 -1
  18. package/core/resource.d.ts +1 -1
  19. package/core/resource.d.ts.map +1 -1
  20. package/core/resource.js.map +1 -1
  21. package/core/resource.mjs.map +1 -1
  22. package/internal/detect-platform.js +3 -3
  23. package/internal/detect-platform.js.map +1 -1
  24. package/internal/detect-platform.mjs +3 -3
  25. package/internal/detect-platform.mjs.map +1 -1
  26. package/internal/headers.d.mts.map +1 -1
  27. package/internal/headers.d.ts.map +1 -1
  28. package/internal/headers.js +5 -5
  29. package/internal/headers.js.map +1 -1
  30. package/internal/headers.mjs +5 -5
  31. package/internal/headers.mjs.map +1 -1
  32. package/internal/shim-types.d.mts +11 -22
  33. package/internal/shim-types.d.mts.map +1 -0
  34. package/internal/shim-types.d.ts +11 -22
  35. package/internal/shim-types.d.ts.map +1 -0
  36. package/internal/shim-types.js +4 -0
  37. package/internal/shim-types.js.map +1 -0
  38. package/internal/shim-types.mjs +3 -0
  39. package/internal/shim-types.mjs.map +1 -0
  40. package/internal/shims.d.mts +2 -2
  41. package/internal/shims.d.mts.map +1 -1
  42. package/internal/shims.d.ts +2 -2
  43. package/internal/shims.d.ts.map +1 -1
  44. package/internal/uploads.js +1 -1
  45. package/internal/uploads.js.map +1 -1
  46. package/internal/uploads.mjs +1 -1
  47. package/internal/uploads.mjs.map +1 -1
  48. package/internal/utils/log.js +1 -1
  49. package/internal/utils/log.js.map +1 -1
  50. package/internal/utils/log.mjs +1 -1
  51. package/internal/utils/log.mjs.map +1 -1
  52. package/internal/utils/path.d.mts.map +1 -1
  53. package/internal/utils/path.d.ts.map +1 -1
  54. package/internal/utils/path.js.map +1 -1
  55. package/internal/utils/path.mjs +1 -1
  56. package/internal/utils/path.mjs.map +1 -1
  57. package/internal/utils/values.d.mts +2 -0
  58. package/internal/utils/values.d.mts.map +1 -1
  59. package/internal/utils/values.d.ts +2 -0
  60. package/internal/utils/values.d.ts.map +1 -1
  61. package/internal/utils/values.js +4 -1
  62. package/internal/utils/values.js.map +1 -1
  63. package/internal/utils/values.mjs +2 -0
  64. package/internal/utils/values.mjs.map +1 -1
  65. package/package.json +1 -7
  66. package/resources/api-keys.d.mts +171 -0
  67. package/resources/api-keys.d.mts.map +1 -0
  68. package/resources/api-keys.d.ts +171 -0
  69. package/resources/api-keys.d.ts.map +1 -0
  70. package/resources/api-keys.js +76 -0
  71. package/resources/api-keys.js.map +1 -0
  72. package/resources/api-keys.mjs +72 -0
  73. package/resources/api-keys.mjs.map +1 -0
  74. package/resources/data-sources/connectors.d.mts +203 -0
  75. package/resources/data-sources/connectors.d.mts.map +1 -0
  76. package/resources/data-sources/connectors.d.ts +203 -0
  77. package/resources/data-sources/connectors.d.ts.map +1 -0
  78. package/resources/data-sources/connectors.js +73 -0
  79. package/resources/data-sources/connectors.js.map +1 -0
  80. package/resources/data-sources/connectors.mjs +69 -0
  81. package/resources/data-sources/connectors.mjs.map +1 -0
  82. package/resources/data-sources/data-sources.d.mts +287 -0
  83. package/resources/data-sources/data-sources.d.mts.map +1 -0
  84. package/resources/data-sources/data-sources.d.ts +287 -0
  85. package/resources/data-sources/data-sources.d.ts.map +1 -0
  86. package/resources/data-sources/data-sources.js +66 -0
  87. package/resources/data-sources/data-sources.js.map +1 -0
  88. package/resources/data-sources/data-sources.mjs +61 -0
  89. package/resources/data-sources/data-sources.mjs.map +1 -0
  90. package/resources/data-sources/index.d.mts +3 -0
  91. package/resources/data-sources/index.d.mts.map +1 -0
  92. package/resources/data-sources/index.d.ts +3 -0
  93. package/resources/data-sources/index.d.ts.map +1 -0
  94. package/resources/data-sources/index.js +9 -0
  95. package/resources/data-sources/index.js.map +1 -0
  96. package/resources/data-sources/index.mjs +4 -0
  97. package/resources/data-sources/index.mjs.map +1 -0
  98. package/resources/data-sources.d.mts +2 -0
  99. package/resources/data-sources.d.mts.map +1 -0
  100. package/resources/data-sources.d.ts +2 -0
  101. package/resources/data-sources.d.ts.map +1 -0
  102. package/resources/data-sources.js +6 -0
  103. package/resources/data-sources.js.map +1 -0
  104. package/resources/data-sources.mjs +3 -0
  105. package/resources/data-sources.mjs.map +1 -0
  106. package/resources/embeddings.d.mts +7 -11
  107. package/resources/embeddings.d.mts.map +1 -1
  108. package/resources/embeddings.d.ts +7 -11
  109. package/resources/embeddings.d.ts.map +1 -1
  110. package/resources/embeddings.js +0 -9
  111. package/resources/embeddings.js.map +1 -1
  112. package/resources/embeddings.mjs +0 -9
  113. package/resources/embeddings.mjs.map +1 -1
  114. package/resources/extractions/content.d.mts +44 -42
  115. package/resources/extractions/content.d.mts.map +1 -1
  116. package/resources/extractions/content.d.ts +44 -42
  117. package/resources/extractions/content.d.ts.map +1 -1
  118. package/resources/extractions/extractions.d.mts +2 -2
  119. package/resources/extractions/extractions.d.mts.map +1 -1
  120. package/resources/extractions/extractions.d.ts +2 -2
  121. package/resources/extractions/extractions.d.ts.map +1 -1
  122. package/resources/extractions/extractions.js.map +1 -1
  123. package/resources/extractions/extractions.mjs.map +1 -1
  124. package/resources/extractions/index.d.mts +1 -1
  125. package/resources/extractions/index.d.mts.map +1 -1
  126. package/resources/extractions/index.d.ts +1 -1
  127. package/resources/extractions/index.d.ts.map +1 -1
  128. package/resources/extractions/index.js.map +1 -1
  129. package/resources/extractions/index.mjs +1 -1
  130. package/resources/extractions/index.mjs.map +1 -1
  131. package/resources/extractions/jobs.d.mts +2 -1
  132. package/resources/extractions/jobs.d.mts.map +1 -1
  133. package/resources/extractions/jobs.d.ts +2 -1
  134. package/resources/extractions/jobs.d.ts.map +1 -1
  135. package/resources/extractions/jobs.js.map +1 -1
  136. package/resources/extractions/jobs.mjs.map +1 -1
  137. package/resources/files.d.mts +18 -1
  138. package/resources/files.d.mts.map +1 -1
  139. package/resources/files.d.ts +18 -1
  140. package/resources/files.d.ts.map +1 -1
  141. package/resources/index.d.mts +5 -3
  142. package/resources/index.d.mts.map +1 -1
  143. package/resources/index.d.ts +5 -3
  144. package/resources/index.d.ts.map +1 -1
  145. package/resources/index.js +5 -1
  146. package/resources/index.js.map +1 -1
  147. package/resources/index.mjs +2 -0
  148. package/resources/index.mjs.map +1 -1
  149. package/resources/parsing/index.d.mts +1 -1
  150. package/resources/parsing/index.d.mts.map +1 -1
  151. package/resources/parsing/index.d.ts +1 -1
  152. package/resources/parsing/index.d.ts.map +1 -1
  153. package/resources/parsing/index.js.map +1 -1
  154. package/resources/parsing/index.mjs.map +1 -1
  155. package/resources/parsing/jobs.d.mts +24 -10
  156. package/resources/parsing/jobs.d.mts.map +1 -1
  157. package/resources/parsing/jobs.d.ts +24 -10
  158. package/resources/parsing/jobs.d.ts.map +1 -1
  159. package/resources/parsing/jobs.js.map +1 -1
  160. package/resources/parsing/jobs.mjs.map +1 -1
  161. package/resources/parsing/parsing.d.mts +2 -2
  162. package/resources/parsing/parsing.d.mts.map +1 -1
  163. package/resources/parsing/parsing.d.ts +2 -2
  164. package/resources/parsing/parsing.d.ts.map +1 -1
  165. package/resources/parsing/parsing.js.map +1 -1
  166. package/resources/parsing/parsing.mjs.map +1 -1
  167. package/resources/top-level.d.mts +5 -4
  168. package/resources/top-level.d.mts.map +1 -1
  169. package/resources/top-level.d.ts +5 -4
  170. package/resources/top-level.d.ts.map +1 -1
  171. package/resources/vector-stores/files.d.mts +79 -19
  172. package/resources/vector-stores/files.d.mts.map +1 -1
  173. package/resources/vector-stores/files.d.ts +79 -19
  174. package/resources/vector-stores/files.d.ts.map +1 -1
  175. package/resources/vector-stores/files.js +19 -18
  176. package/resources/vector-stores/files.js.map +1 -1
  177. package/resources/vector-stores/files.mjs +19 -18
  178. package/resources/vector-stores/files.mjs.map +1 -1
  179. package/resources/vector-stores/index.d.mts +1 -1
  180. package/resources/vector-stores/index.d.mts.map +1 -1
  181. package/resources/vector-stores/index.d.ts +1 -1
  182. package/resources/vector-stores/index.d.ts.map +1 -1
  183. package/resources/vector-stores/index.js.map +1 -1
  184. package/resources/vector-stores/index.mjs.map +1 -1
  185. package/resources/vector-stores/vector-stores.d.mts +275 -90
  186. package/resources/vector-stores/vector-stores.d.mts.map +1 -1
  187. package/resources/vector-stores/vector-stores.d.ts +275 -90
  188. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  189. package/resources/vector-stores/vector-stores.js +18 -15
  190. package/resources/vector-stores/vector-stores.js.map +1 -1
  191. package/resources/vector-stores/vector-stores.mjs +18 -15
  192. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  193. package/src/client.ts +63 -30
  194. package/src/core/pagination.ts +1 -1
  195. package/src/core/resource.ts +1 -1
  196. package/src/internal/detect-platform.ts +3 -3
  197. package/src/internal/headers.ts +6 -6
  198. package/src/internal/shim-types.ts +26 -0
  199. package/src/internal/shims.ts +2 -2
  200. package/src/internal/uploads.ts +2 -2
  201. package/src/internal/utils/log.ts +1 -1
  202. package/src/internal/utils/path.ts +1 -1
  203. package/src/internal/utils/values.ts +3 -0
  204. package/src/resources/api-keys.ts +225 -0
  205. package/src/resources/data-sources/connectors.ts +290 -0
  206. package/src/resources/data-sources/data-sources.ts +404 -0
  207. package/src/resources/data-sources/index.ts +24 -0
  208. package/src/resources/data-sources.ts +3 -0
  209. package/src/resources/embeddings.ts +25 -19
  210. package/src/resources/extractions/content.ts +51 -43
  211. package/src/resources/extractions/extractions.ts +3 -1
  212. package/src/resources/extractions/index.ts +7 -1
  213. package/src/resources/extractions/jobs.ts +2 -1
  214. package/src/resources/files.ts +21 -0
  215. package/src/resources/index.ts +26 -4
  216. package/src/resources/parsing/index.ts +4 -0
  217. package/src/resources/parsing/jobs.ts +42 -44
  218. package/src/resources/parsing/parsing.ts +8 -0
  219. package/src/resources/top-level.ts +5 -44
  220. package/src/resources/vector-stores/files.ts +104 -28
  221. package/src/resources/vector-stores/index.ts +4 -3
  222. package/src/resources/vector-stores/vector-stores.ts +330 -102
  223. package/src/version.ts +1 -1
  224. package/version.d.mts +1 -1
  225. package/version.d.ts +1 -1
  226. package/version.js +1 -1
  227. package/version.mjs +1 -1
  228. package/src/internal/shim-types.d.ts +0 -28
@@ -0,0 +1,171 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { LimitOffset, type LimitOffsetParams, PagePromise } from "../core/pagination.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ export declare class APIKeys extends APIResource {
6
+ /**
7
+ * Create a new API key.
8
+ *
9
+ * Args: params: The parameters for creating the API key.
10
+ *
11
+ * Returns: ApiKeyCreated: The response containing the details of the created API
12
+ * key.
13
+ */
14
+ create(body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKeyCreated>;
15
+ /**
16
+ * Retrieve details of a specific API key by its ID.
17
+ *
18
+ * Args: api_key_id: The ID of the API key to retrieve.
19
+ *
20
+ * Returns: ApiKey: The response containing the API key details.
21
+ */
22
+ retrieve(apiKeyID: string, options?: RequestOptions): APIPromise<APIKey>;
23
+ /**
24
+ * List all API keys for the authenticated user.
25
+ *
26
+ * Args: pagination: The pagination options
27
+ *
28
+ * Returns: A list of API keys belonging to the user.
29
+ */
30
+ list(query?: APIKeyListParams | null | undefined, options?: RequestOptions): PagePromise<APIKeysLimitOffset, APIKey>;
31
+ /**
32
+ * Delete a specific API key by its ID.
33
+ *
34
+ * Args: api_key_id: The ID of the API key to delete.
35
+ *
36
+ * Returns: ApiKeyDeleted: The response containing the details of the deleted API
37
+ * key.
38
+ */
39
+ delete(apiKeyID: string, options?: RequestOptions): APIPromise<APIKeyDeleteResponse>;
40
+ /**
41
+ * Reroll the secret for a specific API key by its ID.
42
+ *
43
+ * This generates a new secret key, invalidating the old one.
44
+ *
45
+ * Args: api_key_id: The ID of the API key to reroll.
46
+ *
47
+ * Returns: ApiKeyCreated: The response containing the API key details with the new
48
+ * secret key.
49
+ */
50
+ reroll(apiKeyID: string, options?: RequestOptions): APIPromise<APIKeyCreated>;
51
+ /**
52
+ * Revoke a specific API key by its ID.
53
+ *
54
+ * Args: api_key_id: The ID of the API key to revoke.
55
+ *
56
+ * Returns: ApiKey: The response containing the details of the revoked API key.
57
+ */
58
+ revoke(apiKeyID: string, options?: RequestOptions): APIPromise<APIKey>;
59
+ }
60
+ export type APIKeysLimitOffset = LimitOffset<APIKey>;
61
+ /**
62
+ * Response model for an API key.
63
+ */
64
+ export interface APIKey {
65
+ /**
66
+ * The ID of the API key
67
+ */
68
+ id: string;
69
+ /**
70
+ * The name of the API key
71
+ */
72
+ name: string;
73
+ /**
74
+ * The redacted value of the API key
75
+ */
76
+ redacted_value: string;
77
+ /**
78
+ * The expiration datetime of the API key
79
+ */
80
+ expires_at?: string | null;
81
+ /**
82
+ * The creation datetime of the API key
83
+ */
84
+ created_at: string;
85
+ /**
86
+ * The last update datetime of the API key
87
+ */
88
+ updated_at: string;
89
+ /**
90
+ * The last active datetime of the API key
91
+ */
92
+ last_active_at?: string | null;
93
+ /**
94
+ * The type of the object
95
+ */
96
+ object?: 'api_key';
97
+ }
98
+ /**
99
+ * Response model for creating an API key.
100
+ */
101
+ export interface APIKeyCreated {
102
+ /**
103
+ * The ID of the API key
104
+ */
105
+ id: string;
106
+ /**
107
+ * The name of the API key
108
+ */
109
+ name: string;
110
+ /**
111
+ * The redacted value of the API key
112
+ */
113
+ redacted_value: string;
114
+ /**
115
+ * The expiration datetime of the API key
116
+ */
117
+ expires_at?: string | null;
118
+ /**
119
+ * The creation datetime of the API key
120
+ */
121
+ created_at: string;
122
+ /**
123
+ * The last update datetime of the API key
124
+ */
125
+ updated_at: string;
126
+ /**
127
+ * The last active datetime of the API key
128
+ */
129
+ last_active_at?: string | null;
130
+ /**
131
+ * The type of the object
132
+ */
133
+ object?: 'api_key';
134
+ /**
135
+ * The value of the API key
136
+ */
137
+ value: string;
138
+ }
139
+ /**
140
+ * Response model for deleting an API key.
141
+ */
142
+ export interface APIKeyDeleteResponse {
143
+ /**
144
+ * The ID of the deleted API key
145
+ */
146
+ id: string;
147
+ /**
148
+ * Whether the API key was deleted
149
+ */
150
+ deleted: boolean;
151
+ /**
152
+ * The type of the object deleted
153
+ */
154
+ object?: 'api_key';
155
+ }
156
+ export interface APIKeyCreateParams {
157
+ /**
158
+ * A name/description for the API key
159
+ */
160
+ name?: string;
161
+ /**
162
+ * Optional expiration datetime
163
+ */
164
+ expires_at?: string | null;
165
+ }
166
+ export interface APIKeyListParams extends LimitOffsetParams {
167
+ }
168
+ export declare namespace APIKeys {
169
+ export { type APIKey as APIKey, type APIKeyCreated as APIKeyCreated, type APIKeyDeleteResponse as APIKeyDeleteResponse, type APIKeysLimitOffset as APIKeysLimitOffset, type APIKeyCreateParams as APIKeyCreateParams, type APIKeyListParams as APIKeyListParams, };
170
+ }
171
+ //# sourceMappingURL=api-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE;OACpD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIrF;;;;;;O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;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;CAAG;AAE9D,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.APIKeys = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ class APIKeys extends resource_1.APIResource {
9
+ /**
10
+ * Create a new API key.
11
+ *
12
+ * Args: params: The parameters for creating the API key.
13
+ *
14
+ * Returns: ApiKeyCreated: The response containing the details of the created API
15
+ * key.
16
+ */
17
+ create(body, options) {
18
+ return this._client.post('/v1/api-keys', { body, ...options });
19
+ }
20
+ /**
21
+ * Retrieve details of a specific API key by its ID.
22
+ *
23
+ * Args: api_key_id: The ID of the API key to retrieve.
24
+ *
25
+ * Returns: ApiKey: The response containing the API key details.
26
+ */
27
+ retrieve(apiKeyID, options) {
28
+ return this._client.get((0, path_1.path) `/v1/api-keys/${apiKeyID}`, options);
29
+ }
30
+ /**
31
+ * List all API keys for the authenticated user.
32
+ *
33
+ * Args: pagination: The pagination options
34
+ *
35
+ * Returns: A list of API keys belonging to the user.
36
+ */
37
+ list(query = {}, options) {
38
+ return this._client.getAPIList('/v1/api-keys', (pagination_1.LimitOffset), { query, ...options });
39
+ }
40
+ /**
41
+ * Delete a specific API key by its ID.
42
+ *
43
+ * Args: api_key_id: The ID of the API key to delete.
44
+ *
45
+ * Returns: ApiKeyDeleted: The response containing the details of the deleted API
46
+ * key.
47
+ */
48
+ delete(apiKeyID, options) {
49
+ return this._client.delete((0, path_1.path) `/v1/api-keys/${apiKeyID}`, options);
50
+ }
51
+ /**
52
+ * Reroll the secret for a specific API key by its ID.
53
+ *
54
+ * This generates a new secret key, invalidating the old one.
55
+ *
56
+ * Args: api_key_id: The ID of the API key to reroll.
57
+ *
58
+ * Returns: ApiKeyCreated: The response containing the API key details with the new
59
+ * secret key.
60
+ */
61
+ reroll(apiKeyID, options) {
62
+ return this._client.post((0, path_1.path) `/v1/api-keys/${apiKeyID}/reroll`, options);
63
+ }
64
+ /**
65
+ * Revoke a specific API key by its ID.
66
+ *
67
+ * Args: api_key_id: The ID of the API key to revoke.
68
+ *
69
+ * Returns: ApiKey: The response containing the details of the revoked API key.
70
+ */
71
+ revoke(apiKeyID, options) {
72
+ return this._client.post((0, path_1.path) `/v1/api-keys/${apiKeyID}/revoke`, options);
73
+ }
74
+ }
75
+ exports.APIKeys = APIKeys;
76
+ //# sourceMappingURL=api-keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAsF;AAEtF,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,wBAAmB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AA1ED,0BA0EC"}
@@ -0,0 +1,72 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { LimitOffset } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ export class APIKeys extends APIResource {
6
+ /**
7
+ * Create a new API key.
8
+ *
9
+ * Args: params: The parameters for creating the API key.
10
+ *
11
+ * Returns: ApiKeyCreated: The response containing the details of the created API
12
+ * key.
13
+ */
14
+ create(body, options) {
15
+ return this._client.post('/v1/api-keys', { body, ...options });
16
+ }
17
+ /**
18
+ * Retrieve details of a specific API key by its ID.
19
+ *
20
+ * Args: api_key_id: The ID of the API key to retrieve.
21
+ *
22
+ * Returns: ApiKey: The response containing the API key details.
23
+ */
24
+ retrieve(apiKeyID, options) {
25
+ return this._client.get(path `/v1/api-keys/${apiKeyID}`, options);
26
+ }
27
+ /**
28
+ * List all API keys for the authenticated user.
29
+ *
30
+ * Args: pagination: The pagination options
31
+ *
32
+ * Returns: A list of API keys belonging to the user.
33
+ */
34
+ list(query = {}, options) {
35
+ return this._client.getAPIList('/v1/api-keys', (LimitOffset), { query, ...options });
36
+ }
37
+ /**
38
+ * Delete a specific API key by its ID.
39
+ *
40
+ * Args: api_key_id: The ID of the API key to delete.
41
+ *
42
+ * Returns: ApiKeyDeleted: The response containing the details of the deleted API
43
+ * key.
44
+ */
45
+ delete(apiKeyID, options) {
46
+ return this._client.delete(path `/v1/api-keys/${apiKeyID}`, options);
47
+ }
48
+ /**
49
+ * Reroll the secret for a specific API key by its ID.
50
+ *
51
+ * This generates a new secret key, invalidating the old one.
52
+ *
53
+ * Args: api_key_id: The ID of the API key to reroll.
54
+ *
55
+ * Returns: ApiKeyCreated: The response containing the API key details with the new
56
+ * secret key.
57
+ */
58
+ reroll(apiKeyID, options) {
59
+ return this._client.post(path `/v1/api-keys/${apiKeyID}/reroll`, options);
60
+ }
61
+ /**
62
+ * Revoke a specific API key by its ID.
63
+ *
64
+ * Args: api_key_id: The ID of the API key to revoke.
65
+ *
66
+ * Returns: ApiKey: The response containing the details of the revoked API key.
67
+ */
68
+ revoke(apiKeyID, options) {
69
+ return this._client.post(path `/v1/api-keys/${apiKeyID}/revoke`, options);
70
+ }
71
+ }
72
+ //# sourceMappingURL=api-keys.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,WAAW,EAAuC;OAEpD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,WAAmB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF"}
@@ -0,0 +1,203 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { LimitOffset, type LimitOffsetParams, PagePromise } from "../../core/pagination.mjs";
4
+ import { RequestOptions } from "../../internal/request-options.mjs";
5
+ export declare class Connectors extends APIResource {
6
+ /**
7
+ * Create a new connector.
8
+ *
9
+ * Args: data_source_id: The ID of the data source to create a connector for.
10
+ * params: The connector to create.
11
+ *
12
+ * Returns: The created connector.
13
+ */
14
+ create(dataSourceID: string, body: ConnectorCreateParams, options?: RequestOptions): APIPromise<DataSourceConnector>;
15
+ /**
16
+ * Get a connector by ID.
17
+ *
18
+ * Args: data_source_id: The ID of the data source to get a connector for.
19
+ * connector_id: The ID of the connector to get.
20
+ *
21
+ * Returns: The connector.
22
+ */
23
+ retrieve(connectorID: string, params: ConnectorRetrieveParams, options?: RequestOptions): APIPromise<DataSourceConnector>;
24
+ /**
25
+ * Update a connector.
26
+ *
27
+ * Args: data_source_id: The ID of the data source to update a connector for.
28
+ * connector_id: The ID of the connector to update. params: The connector to
29
+ * update.
30
+ *
31
+ * Returns: The updated connector.
32
+ */
33
+ update(connectorID: string, params: ConnectorUpdateParams, options?: RequestOptions): APIPromise<DataSourceConnector>;
34
+ /**
35
+ * Get all connectors for a data source.
36
+ *
37
+ * Args: data_source_id: The ID of the data source to get connectors for.
38
+ * pagination: The pagination options.
39
+ *
40
+ * Returns: The list of connectors.
41
+ */
42
+ list(dataSourceID: string, query?: ConnectorListParams | null | undefined, options?: RequestOptions): PagePromise<DataSourceConnectorsLimitOffset, DataSourceConnector>;
43
+ /**
44
+ * Delete a connector.
45
+ *
46
+ * Args: data_source_id: The ID of the data source to delete a connector for.
47
+ * connector_id: The ID of the connector to delete.
48
+ *
49
+ * Returns: The deleted connector.
50
+ */
51
+ delete(connectorID: string, params: ConnectorDeleteParams, options?: RequestOptions): APIPromise<ConnectorDeleteResponse>;
52
+ }
53
+ export type DataSourceConnectorsLimitOffset = LimitOffset<DataSourceConnector>;
54
+ /**
55
+ * Service-level representation of a connector.
56
+ */
57
+ export interface DataSourceConnector {
58
+ /**
59
+ * The ID of the connector
60
+ */
61
+ id: string;
62
+ /**
63
+ * The creation time of the connector
64
+ */
65
+ created_at: string;
66
+ /**
67
+ * The last update time of the connector
68
+ */
69
+ updated_at: string;
70
+ /**
71
+ * The ID of the vector store
72
+ */
73
+ vector_store_id: string;
74
+ /**
75
+ * The ID of the data source
76
+ */
77
+ data_source_id: string;
78
+ /**
79
+ * The name of the connector
80
+ */
81
+ name?: string;
82
+ /**
83
+ * The metadata of the connector
84
+ */
85
+ metadata: unknown;
86
+ /**
87
+ * The polling interval of the connector
88
+ */
89
+ polling_interval: string;
90
+ /**
91
+ * The start time of the connector
92
+ */
93
+ started_at: string | null;
94
+ /**
95
+ * The finish time of the connector
96
+ */
97
+ finished_at: string | null;
98
+ /**
99
+ * The last sync time of the connector
100
+ */
101
+ last_synced_at: string | null;
102
+ /**
103
+ * The sync status of the connector
104
+ */
105
+ status: 'idle' | 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
106
+ /**
107
+ * The sync error of the connector
108
+ */
109
+ error: string | null;
110
+ /**
111
+ * The type of the object
112
+ */
113
+ object?: 'data_source.connector';
114
+ }
115
+ /**
116
+ * Deleted connector.
117
+ */
118
+ export interface ConnectorDeleteResponse {
119
+ /**
120
+ * The ID of the connector
121
+ */
122
+ id: string;
123
+ /**
124
+ * Whether the connector was deleted
125
+ */
126
+ deleted?: boolean;
127
+ /**
128
+ * The type of the object
129
+ */
130
+ object?: 'data_source.connector';
131
+ }
132
+ export interface ConnectorCreateParams {
133
+ /**
134
+ * The ID of the vector store
135
+ */
136
+ vector_store_id: string;
137
+ /**
138
+ * The name of the connector
139
+ */
140
+ name?: string;
141
+ /**
142
+ * Whether the connector should be synced after creation
143
+ */
144
+ trigger_sync?: boolean;
145
+ /**
146
+ * The metadata of the connector
147
+ */
148
+ metadata?: unknown;
149
+ /**
150
+ * Polling interval for the connector. Defaults to 30 minutes if not specified. Can
151
+ * be provided as:
152
+ *
153
+ * - int: Number of seconds (e.g., 1800 for 30 minutes)
154
+ * - str: Duration string (e.g., '30m', '1h', '2d') or ISO 8601 format (e.g.,
155
+ * 'PT30M', 'P1D') Valid range: 15 seconds to 30 days
156
+ */
157
+ polling_interval?: number | string | null;
158
+ }
159
+ export interface ConnectorRetrieveParams {
160
+ /**
161
+ * The ID of the data source to get a connector for
162
+ */
163
+ data_source_id: string;
164
+ }
165
+ export interface ConnectorUpdateParams {
166
+ /**
167
+ * Path param: The ID of the data source to update a connector for
168
+ */
169
+ data_source_id: string;
170
+ /**
171
+ * Body param: The name of the connector
172
+ */
173
+ name?: string | null;
174
+ /**
175
+ * Body param: The metadata of the connector
176
+ */
177
+ metadata?: Record<string, unknown> | null;
178
+ /**
179
+ * Body param: Whether the connector should be synced after update
180
+ */
181
+ trigger_sync?: boolean | null;
182
+ /**
183
+ * Body param: Polling interval for the connector. Defaults to 30 minutes if not
184
+ * specified. Can be provided as:
185
+ *
186
+ * - int: Number of seconds (e.g., 1800 for 30 minutes)
187
+ * - str: Duration string (e.g., '30m', '1h', '2d') or ISO 8601 format (e.g.,
188
+ * 'PT30M', 'P1D') Valid range: 15 seconds to 30 days
189
+ */
190
+ polling_interval?: number | string | null;
191
+ }
192
+ export interface ConnectorListParams extends LimitOffsetParams {
193
+ }
194
+ export interface ConnectorDeleteParams {
195
+ /**
196
+ * The ID of the data source to delete a connector for
197
+ */
198
+ data_source_id: string;
199
+ }
200
+ export declare namespace Connectors {
201
+ export { type DataSourceConnector as DataSourceConnector, type ConnectorDeleteResponse as ConnectorDeleteResponse, type DataSourceConnectorsLimitOffset as DataSourceConnectorsLimitOffset, type ConnectorCreateParams as ConnectorCreateParams, type ConnectorRetrieveParams as ConnectorRetrieveParams, type ConnectorUpdateParams as ConnectorUpdateParams, type ConnectorListParams as ConnectorListParams, type ConnectorDeleteParams as ConnectorDeleteParams, };
202
+ }
203
+ //# sourceMappingURL=connectors.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectors.d.mts","sourceRoot":"","sources":["../../src/resources/data-sources/connectors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE;OACpD,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;OAOG;IACH,QAAQ,CACN,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAKlC;;;;;;;;OAQG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAQlC;;;;;;;OAOG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,KAAK,GAAE,mBAAmB,GAAG,IAAI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