@eigenpal/sdk 0.25.14 → 1.0.0-rc.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.
- package/README.md +27 -105
- package/dist/client.d.ts +164 -0
- package/dist/client.js +234 -0
- package/dist/core.d.ts +82 -0
- package/dist/core.js +311 -0
- package/dist/errors.d.ts +64 -0
- package/dist/errors.js +132 -0
- package/dist/generated/operations.gen.d.ts +336 -0
- package/dist/generated/operations.gen.js +135 -0
- package/dist/generated/public.gen.d.ts +2 -0
- package/dist/generated/public.gen.js +2 -0
- package/dist/generated/resources.gen.d.ts +490 -0
- package/dist/generated/resources.gen.js +659 -0
- package/dist/generated/types.gen.d.ts +2457 -0
- package/dist/generated/types.gen.js +2 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +15 -0
- package/dist/lib/fetch-body.d.ts +23 -0
- package/dist/lib/fetch-body.js +66 -0
- package/dist/lib/files.d.ts +134 -0
- package/dist/lib/files.js +296 -0
- package/dist/lib/upload-app-chunked.d.ts +36 -0
- package/dist/lib/upload-app-chunked.js +94 -0
- package/dist/lib/upload-limits.d.ts +32 -0
- package/dist/lib/upload-limits.js +60 -0
- package/dist/lib/upload-presigned-multipart.d.ts +74 -0
- package/dist/lib/upload-presigned-multipart.js +212 -0
- package/dist/page.d.ts +30 -0
- package/dist/page.js +38 -0
- package/dist/resources.d.ts +85 -0
- package/dist/resources.js +247 -0
- package/dist/telemetry.d.ts +20 -0
- package/{src/telemetry.ts → dist/telemetry.js} +26 -31
- package/dist/upload-file.d.ts +31 -0
- package/dist/upload-file.js +286 -0
- package/{src/upload.ts → dist/upload.d.ts} +4 -4
- package/dist/upload.js +12 -0
- package/package.json +19 -15
- package/src/client.ts +0 -656
- package/src/errors.ts +0 -130
- package/src/generated/client/client.gen.ts +0 -277
- package/src/generated/client/index.ts +0 -27
- package/src/generated/client/types.gen.ts +0 -218
- package/src/generated/client/utils.gen.ts +0 -316
- package/src/generated/client.gen.ts +0 -18
- package/src/generated/core/auth.gen.ts +0 -48
- package/src/generated/core/bodySerializer.gen.ts +0 -82
- package/src/generated/core/params.gen.ts +0 -178
- package/src/generated/core/pathSerializer.gen.ts +0 -171
- package/src/generated/core/queryKeySerializer.gen.ts +0 -117
- package/src/generated/core/serverSentEvents.gen.ts +0 -242
- package/src/generated/core/types.gen.ts +0 -110
- package/src/generated/core/utils.gen.ts +0 -140
- package/src/generated/index.ts +0 -4
- package/src/generated/sdk.gen.ts +0 -1361
- package/src/generated/types.gen.ts +0 -9282
- package/src/index.ts +0 -120
- package/src/lib/fetch-body.ts +0 -92
- package/src/lib/files.ts +0 -390
- package/src/lib/upload-app-chunked.ts +0 -121
- package/src/lib/upload-limits.ts +0 -72
- package/src/lib/upload-presigned-multipart.ts +0 -285
- package/src/resources/auth.ts +0 -18
- package/src/resources/automations.ts +0 -830
- package/src/resources/dataset-review-requests.ts +0 -38
- package/src/resources/email-servers.ts +0 -95
- package/src/resources/files.ts +0 -592
- package/src/resources/folders.ts +0 -77
- package/src/resources/human-reviews.ts +0 -106
- package/src/resources/models.ts +0 -37
- package/src/resources/runs.ts +0 -350
- package/src/resources/templates.ts +0 -153
- package/src/runtime-config.ts +0 -14
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/** Every operation the SDK calls: the only place a route path exists in the SDK. */
|
|
2
|
+
export declare const OPERATIONS: {
|
|
3
|
+
readonly 'auth.check': {
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly path: "/v1/auth/check";
|
|
6
|
+
};
|
|
7
|
+
readonly 'automations.dataset.draft': {
|
|
8
|
+
readonly method: "POST";
|
|
9
|
+
readonly path: "/v1/automations/{id}/dataset/draft";
|
|
10
|
+
};
|
|
11
|
+
readonly 'automations.dataset.draft.objects.verify': {
|
|
12
|
+
readonly method: "POST";
|
|
13
|
+
readonly path: "/v1/automations/{id}/dataset/draft/objects";
|
|
14
|
+
};
|
|
15
|
+
readonly 'automations.datasetReviewRequests.create': {
|
|
16
|
+
readonly method: "POST";
|
|
17
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests";
|
|
18
|
+
};
|
|
19
|
+
readonly 'automations.datasetReviewRequests.get': {
|
|
20
|
+
readonly method: "GET";
|
|
21
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests/{reviewId}";
|
|
22
|
+
};
|
|
23
|
+
readonly 'automations.datasetReviewRequests.list': {
|
|
24
|
+
readonly method: "GET";
|
|
25
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests";
|
|
26
|
+
};
|
|
27
|
+
readonly 'automations.datasetReviewRequests.listEvents': {
|
|
28
|
+
readonly method: "GET";
|
|
29
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests/{reviewId}/events";
|
|
30
|
+
};
|
|
31
|
+
readonly 'automations.datasetReviewRequests.update': {
|
|
32
|
+
readonly method: "PATCH";
|
|
33
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests/{reviewId}";
|
|
34
|
+
};
|
|
35
|
+
readonly 'automations.datasetReviewRequests.updateItem': {
|
|
36
|
+
readonly method: "PATCH";
|
|
37
|
+
readonly path: "/v1/automations/{id}/dataset-review-requests/{reviewId}/items/{itemId}";
|
|
38
|
+
};
|
|
39
|
+
readonly 'automations.evaluators.get': {
|
|
40
|
+
readonly method: "GET";
|
|
41
|
+
readonly path: "/v1/automations/{id}/evaluators";
|
|
42
|
+
};
|
|
43
|
+
readonly 'automations.examples.list': {
|
|
44
|
+
readonly method: "GET";
|
|
45
|
+
readonly path: "/v1/automations/{id}/examples";
|
|
46
|
+
};
|
|
47
|
+
readonly 'automations.experiments.cancel': {
|
|
48
|
+
readonly method: "POST";
|
|
49
|
+
readonly path: "/v1/automations/{id}/experiments/{experimentId}/cancel";
|
|
50
|
+
};
|
|
51
|
+
readonly 'automations.experiments.create': {
|
|
52
|
+
readonly method: "POST";
|
|
53
|
+
readonly path: "/v1/automations/{id}/experiments";
|
|
54
|
+
readonly idempotent: false;
|
|
55
|
+
};
|
|
56
|
+
readonly 'automations.experiments.export': {
|
|
57
|
+
readonly method: "GET";
|
|
58
|
+
readonly path: "/v1/automations/{id}/experiments/{experimentId}/export";
|
|
59
|
+
};
|
|
60
|
+
readonly 'automations.experiments.get': {
|
|
61
|
+
readonly method: "GET";
|
|
62
|
+
readonly path: "/v1/automations/{id}/experiments/{experimentId}";
|
|
63
|
+
};
|
|
64
|
+
readonly 'automations.experiments.list': {
|
|
65
|
+
readonly method: "GET";
|
|
66
|
+
readonly path: "/v1/automations/{id}/experiments";
|
|
67
|
+
};
|
|
68
|
+
readonly 'automations.get': {
|
|
69
|
+
readonly method: "GET";
|
|
70
|
+
readonly path: "/v1/automations/{id}";
|
|
71
|
+
};
|
|
72
|
+
readonly 'automations.list': {
|
|
73
|
+
readonly method: "GET";
|
|
74
|
+
readonly path: "/v1/automations";
|
|
75
|
+
};
|
|
76
|
+
readonly 'datasetReviewRequests.list': {
|
|
77
|
+
readonly method: "GET";
|
|
78
|
+
readonly path: "/v1/dataset-review-requests";
|
|
79
|
+
};
|
|
80
|
+
readonly 'emailServers.create': {
|
|
81
|
+
readonly method: "POST";
|
|
82
|
+
readonly path: "/v1/email-servers";
|
|
83
|
+
};
|
|
84
|
+
readonly 'emailServers.delete': {
|
|
85
|
+
readonly method: "DELETE";
|
|
86
|
+
readonly path: "/v1/email-servers/{id}";
|
|
87
|
+
};
|
|
88
|
+
readonly 'emailServers.get': {
|
|
89
|
+
readonly method: "GET";
|
|
90
|
+
readonly path: "/v1/email-servers/{id}";
|
|
91
|
+
};
|
|
92
|
+
readonly 'emailServers.list': {
|
|
93
|
+
readonly method: "GET";
|
|
94
|
+
readonly path: "/v1/email-servers";
|
|
95
|
+
};
|
|
96
|
+
readonly 'emailServers.test': {
|
|
97
|
+
readonly method: "POST";
|
|
98
|
+
readonly path: "/v1/email-servers/{id}/test";
|
|
99
|
+
};
|
|
100
|
+
readonly 'emailServers.update': {
|
|
101
|
+
readonly method: "PATCH";
|
|
102
|
+
readonly path: "/v1/email-servers/{id}";
|
|
103
|
+
};
|
|
104
|
+
readonly 'experiments.resolve': {
|
|
105
|
+
readonly method: "GET";
|
|
106
|
+
readonly path: "/v1/experiments/{experimentId}";
|
|
107
|
+
};
|
|
108
|
+
readonly 'files.content.get': {
|
|
109
|
+
readonly method: "GET";
|
|
110
|
+
readonly path: "/v1/files/{id}/content";
|
|
111
|
+
};
|
|
112
|
+
readonly 'files.create': {
|
|
113
|
+
readonly method: "POST";
|
|
114
|
+
readonly path: "/v1/files";
|
|
115
|
+
};
|
|
116
|
+
readonly 'files.delete': {
|
|
117
|
+
readonly method: "DELETE";
|
|
118
|
+
readonly path: "/v1/files/{id}";
|
|
119
|
+
};
|
|
120
|
+
readonly 'files.get': {
|
|
121
|
+
readonly method: "GET";
|
|
122
|
+
readonly path: "/v1/files/{id}";
|
|
123
|
+
};
|
|
124
|
+
readonly 'files.uploads.abort': {
|
|
125
|
+
readonly method: "DELETE";
|
|
126
|
+
readonly path: "/v1/files/uploads/{uploadId}";
|
|
127
|
+
};
|
|
128
|
+
readonly 'files.uploads.chunks.put': {
|
|
129
|
+
readonly method: "PUT";
|
|
130
|
+
readonly path: "/v1/files/uploads/{uploadId}/chunks/{chunkIndex}";
|
|
131
|
+
};
|
|
132
|
+
readonly 'files.uploads.complete': {
|
|
133
|
+
readonly method: "POST";
|
|
134
|
+
readonly path: "/v1/files/uploads/{uploadId}/complete";
|
|
135
|
+
};
|
|
136
|
+
readonly 'files.uploads.create': {
|
|
137
|
+
readonly method: "POST";
|
|
138
|
+
readonly path: "/v1/files/uploads";
|
|
139
|
+
readonly idempotent: false;
|
|
140
|
+
};
|
|
141
|
+
readonly 'files.uploads.get': {
|
|
142
|
+
readonly method: "GET";
|
|
143
|
+
readonly path: "/v1/files/uploads/{uploadId}";
|
|
144
|
+
};
|
|
145
|
+
readonly 'files.uploads.parts.list': {
|
|
146
|
+
readonly method: "GET";
|
|
147
|
+
readonly path: "/v1/files/uploads/{uploadId}/parts";
|
|
148
|
+
};
|
|
149
|
+
readonly 'files.uploads.parts.presign': {
|
|
150
|
+
readonly method: "POST";
|
|
151
|
+
readonly path: "/v1/files/uploads/{uploadId}/parts";
|
|
152
|
+
};
|
|
153
|
+
readonly 'humanReviews.approve': {
|
|
154
|
+
readonly method: "POST";
|
|
155
|
+
readonly path: "/v1/reviews/{taskId}/approve";
|
|
156
|
+
};
|
|
157
|
+
readonly 'humanReviews.confirmField': {
|
|
158
|
+
readonly method: "PUT";
|
|
159
|
+
readonly path: "/v1/reviews/{taskId}/fields";
|
|
160
|
+
};
|
|
161
|
+
readonly 'humanReviews.files.content.get': {
|
|
162
|
+
readonly method: "GET";
|
|
163
|
+
readonly path: "/v1/reviews/{taskId}/files/{fileId}/content";
|
|
164
|
+
};
|
|
165
|
+
readonly 'humanReviews.get': {
|
|
166
|
+
readonly method: "GET";
|
|
167
|
+
readonly path: "/v1/reviews/{taskId}";
|
|
168
|
+
};
|
|
169
|
+
readonly 'humanReviews.list': {
|
|
170
|
+
readonly method: "GET";
|
|
171
|
+
readonly path: "/v1/reviews";
|
|
172
|
+
};
|
|
173
|
+
readonly 'humanReviews.reject': {
|
|
174
|
+
readonly method: "POST";
|
|
175
|
+
readonly path: "/v1/reviews/{taskId}/reject";
|
|
176
|
+
};
|
|
177
|
+
readonly 'models.list': {
|
|
178
|
+
readonly method: "GET";
|
|
179
|
+
readonly path: "/v1/models";
|
|
180
|
+
};
|
|
181
|
+
readonly 'projects.builds.list': {
|
|
182
|
+
readonly method: "GET";
|
|
183
|
+
readonly path: "/v1/projects/{id}/builds";
|
|
184
|
+
};
|
|
185
|
+
readonly 'projects.get': {
|
|
186
|
+
readonly method: "GET";
|
|
187
|
+
readonly path: "/v1/projects/{id}";
|
|
188
|
+
};
|
|
189
|
+
readonly 'projects.list': {
|
|
190
|
+
readonly method: "GET";
|
|
191
|
+
readonly path: "/v1/projects";
|
|
192
|
+
};
|
|
193
|
+
readonly 'projects.operations.get': {
|
|
194
|
+
readonly method: "GET";
|
|
195
|
+
readonly path: "/v1/projects/{id}/operations/{operationId}";
|
|
196
|
+
};
|
|
197
|
+
readonly 'projects.promote': {
|
|
198
|
+
readonly method: "POST";
|
|
199
|
+
readonly path: "/v1/projects/{id}/promote";
|
|
200
|
+
readonly idempotent: false;
|
|
201
|
+
};
|
|
202
|
+
readonly 'projects.releases.create': {
|
|
203
|
+
readonly method: "POST";
|
|
204
|
+
readonly path: "/v1/projects/{id}/releases";
|
|
205
|
+
readonly idempotent: false;
|
|
206
|
+
};
|
|
207
|
+
readonly 'projects.releases.get': {
|
|
208
|
+
readonly method: "GET";
|
|
209
|
+
readonly path: "/v1/projects/{id}/releases/{version}";
|
|
210
|
+
};
|
|
211
|
+
readonly 'projects.releases.list': {
|
|
212
|
+
readonly method: "GET";
|
|
213
|
+
readonly path: "/v1/projects/{id}/releases";
|
|
214
|
+
};
|
|
215
|
+
readonly 'projects.releases.restore': {
|
|
216
|
+
readonly method: "POST";
|
|
217
|
+
readonly path: "/v1/projects/{id}/releases/{version}/restore";
|
|
218
|
+
};
|
|
219
|
+
readonly 'projects.releases.withdraw': {
|
|
220
|
+
readonly method: "POST";
|
|
221
|
+
readonly path: "/v1/projects/{id}/releases/{version}/withdraw";
|
|
222
|
+
};
|
|
223
|
+
readonly 'projects.rollback': {
|
|
224
|
+
readonly method: "POST";
|
|
225
|
+
readonly path: "/v1/projects/{id}/rollback";
|
|
226
|
+
readonly idempotent: false;
|
|
227
|
+
};
|
|
228
|
+
readonly 'projects.status': {
|
|
229
|
+
readonly method: "GET";
|
|
230
|
+
readonly path: "/v1/projects/{id}/status";
|
|
231
|
+
};
|
|
232
|
+
readonly 'promotion.get': {
|
|
233
|
+
readonly method: "GET";
|
|
234
|
+
readonly path: "/v1/promotion";
|
|
235
|
+
};
|
|
236
|
+
readonly 'promotion.routes.delete': {
|
|
237
|
+
readonly method: "DELETE";
|
|
238
|
+
readonly path: "/v1/promotion/routes/{name}";
|
|
239
|
+
};
|
|
240
|
+
readonly 'promotion.routes.get': {
|
|
241
|
+
readonly method: "GET";
|
|
242
|
+
readonly path: "/v1/promotion/routes/{name}";
|
|
243
|
+
};
|
|
244
|
+
readonly 'promotion.routes.list': {
|
|
245
|
+
readonly method: "GET";
|
|
246
|
+
readonly path: "/v1/promotion/routes";
|
|
247
|
+
};
|
|
248
|
+
readonly 'promotion.routes.put': {
|
|
249
|
+
readonly method: "PUT";
|
|
250
|
+
readonly path: "/v1/promotion/routes/{name}";
|
|
251
|
+
};
|
|
252
|
+
readonly 'runs.artifacts.get': {
|
|
253
|
+
readonly method: "GET";
|
|
254
|
+
readonly path: "/v1/runs/{id}/artifacts/{path}";
|
|
255
|
+
};
|
|
256
|
+
readonly 'runs.artifacts.list': {
|
|
257
|
+
readonly method: "GET";
|
|
258
|
+
readonly path: "/v1/runs/{id}/artifacts";
|
|
259
|
+
};
|
|
260
|
+
readonly 'runs.cancel': {
|
|
261
|
+
readonly method: "POST";
|
|
262
|
+
readonly path: "/v1/runs/{id}/cancel";
|
|
263
|
+
};
|
|
264
|
+
readonly 'runs.events.list': {
|
|
265
|
+
readonly method: "GET";
|
|
266
|
+
readonly path: "/v1/runs/{id}/events";
|
|
267
|
+
};
|
|
268
|
+
readonly 'runs.example.get': {
|
|
269
|
+
readonly method: "GET";
|
|
270
|
+
readonly path: "/v1/runs/{id}/example";
|
|
271
|
+
};
|
|
272
|
+
readonly 'runs.get': {
|
|
273
|
+
readonly method: "GET";
|
|
274
|
+
readonly path: "/v1/runs/{id}";
|
|
275
|
+
};
|
|
276
|
+
readonly 'runs.list': {
|
|
277
|
+
readonly method: "GET";
|
|
278
|
+
readonly path: "/v1/runs";
|
|
279
|
+
};
|
|
280
|
+
readonly 'runs.rerun': {
|
|
281
|
+
readonly method: "POST";
|
|
282
|
+
readonly path: "/v1/runs/{id}/rerun";
|
|
283
|
+
readonly idempotent: false;
|
|
284
|
+
};
|
|
285
|
+
readonly 'runs.start': {
|
|
286
|
+
readonly method: "POST";
|
|
287
|
+
readonly path: "/v1/runs";
|
|
288
|
+
readonly idempotent: false;
|
|
289
|
+
};
|
|
290
|
+
readonly 'runs.steps.get': {
|
|
291
|
+
readonly method: "GET";
|
|
292
|
+
readonly path: "/v1/runs/{id}/steps/{stepId}";
|
|
293
|
+
};
|
|
294
|
+
readonly 'runs.trace.get': {
|
|
295
|
+
readonly method: "GET";
|
|
296
|
+
readonly path: "/v1/runs/{id}/trace";
|
|
297
|
+
};
|
|
298
|
+
readonly 'templates.content.get': {
|
|
299
|
+
readonly method: "GET";
|
|
300
|
+
readonly path: "/v1/templates/{id}/content";
|
|
301
|
+
};
|
|
302
|
+
readonly 'templates.create': {
|
|
303
|
+
readonly method: "POST";
|
|
304
|
+
readonly path: "/v1/templates";
|
|
305
|
+
readonly idempotent: false;
|
|
306
|
+
};
|
|
307
|
+
readonly 'templates.delete': {
|
|
308
|
+
readonly method: "DELETE";
|
|
309
|
+
readonly path: "/v1/templates/{id}";
|
|
310
|
+
};
|
|
311
|
+
readonly 'templates.get': {
|
|
312
|
+
readonly method: "GET";
|
|
313
|
+
readonly path: "/v1/templates/{id}";
|
|
314
|
+
};
|
|
315
|
+
readonly 'templates.list': {
|
|
316
|
+
readonly method: "GET";
|
|
317
|
+
readonly path: "/v1/templates";
|
|
318
|
+
};
|
|
319
|
+
readonly 'templates.replace': {
|
|
320
|
+
readonly method: "PUT";
|
|
321
|
+
readonly path: "/v1/templates/{id}";
|
|
322
|
+
};
|
|
323
|
+
readonly 'variables.delete': {
|
|
324
|
+
readonly method: "DELETE";
|
|
325
|
+
readonly path: "/v1/variables/{name}";
|
|
326
|
+
};
|
|
327
|
+
readonly 'variables.list': {
|
|
328
|
+
readonly method: "GET";
|
|
329
|
+
readonly path: "/v1/variables";
|
|
330
|
+
};
|
|
331
|
+
readonly 'variables.set': {
|
|
332
|
+
readonly method: "PUT";
|
|
333
|
+
readonly path: "/v1/variables/{name}";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
export type OperationId = keyof typeof OPERATIONS;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// Generated by scripts/sdk-gen from openapi.json and the CLI command table. Do not edit.
|
|
2
|
+
/** Every operation the SDK calls: the only place a route path exists in the SDK. */
|
|
3
|
+
export const OPERATIONS = {
|
|
4
|
+
'auth.check': { method: 'GET', path: '/v1/auth/check' },
|
|
5
|
+
'automations.dataset.draft': { method: 'POST', path: '/v1/automations/{id}/dataset/draft' },
|
|
6
|
+
'automations.dataset.draft.objects.verify': {
|
|
7
|
+
method: 'POST',
|
|
8
|
+
path: '/v1/automations/{id}/dataset/draft/objects',
|
|
9
|
+
},
|
|
10
|
+
'automations.datasetReviewRequests.create': {
|
|
11
|
+
method: 'POST',
|
|
12
|
+
path: '/v1/automations/{id}/dataset-review-requests',
|
|
13
|
+
},
|
|
14
|
+
'automations.datasetReviewRequests.get': {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
path: '/v1/automations/{id}/dataset-review-requests/{reviewId}',
|
|
17
|
+
},
|
|
18
|
+
'automations.datasetReviewRequests.list': {
|
|
19
|
+
method: 'GET',
|
|
20
|
+
path: '/v1/automations/{id}/dataset-review-requests',
|
|
21
|
+
},
|
|
22
|
+
'automations.datasetReviewRequests.listEvents': {
|
|
23
|
+
method: 'GET',
|
|
24
|
+
path: '/v1/automations/{id}/dataset-review-requests/{reviewId}/events',
|
|
25
|
+
},
|
|
26
|
+
'automations.datasetReviewRequests.update': {
|
|
27
|
+
method: 'PATCH',
|
|
28
|
+
path: '/v1/automations/{id}/dataset-review-requests/{reviewId}',
|
|
29
|
+
},
|
|
30
|
+
'automations.datasetReviewRequests.updateItem': {
|
|
31
|
+
method: 'PATCH',
|
|
32
|
+
path: '/v1/automations/{id}/dataset-review-requests/{reviewId}/items/{itemId}',
|
|
33
|
+
},
|
|
34
|
+
'automations.evaluators.get': { method: 'GET', path: '/v1/automations/{id}/evaluators' },
|
|
35
|
+
'automations.examples.list': { method: 'GET', path: '/v1/automations/{id}/examples' },
|
|
36
|
+
'automations.experiments.cancel': {
|
|
37
|
+
method: 'POST',
|
|
38
|
+
path: '/v1/automations/{id}/experiments/{experimentId}/cancel',
|
|
39
|
+
},
|
|
40
|
+
'automations.experiments.create': {
|
|
41
|
+
method: 'POST',
|
|
42
|
+
path: '/v1/automations/{id}/experiments',
|
|
43
|
+
idempotent: false,
|
|
44
|
+
},
|
|
45
|
+
'automations.experiments.export': {
|
|
46
|
+
method: 'GET',
|
|
47
|
+
path: '/v1/automations/{id}/experiments/{experimentId}/export',
|
|
48
|
+
},
|
|
49
|
+
'automations.experiments.get': {
|
|
50
|
+
method: 'GET',
|
|
51
|
+
path: '/v1/automations/{id}/experiments/{experimentId}',
|
|
52
|
+
},
|
|
53
|
+
'automations.experiments.list': { method: 'GET', path: '/v1/automations/{id}/experiments' },
|
|
54
|
+
'automations.get': { method: 'GET', path: '/v1/automations/{id}' },
|
|
55
|
+
'automations.list': { method: 'GET', path: '/v1/automations' },
|
|
56
|
+
'datasetReviewRequests.list': { method: 'GET', path: '/v1/dataset-review-requests' },
|
|
57
|
+
'emailServers.create': { method: 'POST', path: '/v1/email-servers' },
|
|
58
|
+
'emailServers.delete': { method: 'DELETE', path: '/v1/email-servers/{id}' },
|
|
59
|
+
'emailServers.get': { method: 'GET', path: '/v1/email-servers/{id}' },
|
|
60
|
+
'emailServers.list': { method: 'GET', path: '/v1/email-servers' },
|
|
61
|
+
'emailServers.test': { method: 'POST', path: '/v1/email-servers/{id}/test' },
|
|
62
|
+
'emailServers.update': { method: 'PATCH', path: '/v1/email-servers/{id}' },
|
|
63
|
+
'experiments.resolve': { method: 'GET', path: '/v1/experiments/{experimentId}' },
|
|
64
|
+
'files.content.get': { method: 'GET', path: '/v1/files/{id}/content' },
|
|
65
|
+
'files.create': { method: 'POST', path: '/v1/files' },
|
|
66
|
+
'files.delete': { method: 'DELETE', path: '/v1/files/{id}' },
|
|
67
|
+
'files.get': { method: 'GET', path: '/v1/files/{id}' },
|
|
68
|
+
'files.uploads.abort': { method: 'DELETE', path: '/v1/files/uploads/{uploadId}' },
|
|
69
|
+
'files.uploads.chunks.put': {
|
|
70
|
+
method: 'PUT',
|
|
71
|
+
path: '/v1/files/uploads/{uploadId}/chunks/{chunkIndex}',
|
|
72
|
+
},
|
|
73
|
+
'files.uploads.complete': { method: 'POST', path: '/v1/files/uploads/{uploadId}/complete' },
|
|
74
|
+
'files.uploads.create': { method: 'POST', path: '/v1/files/uploads', idempotent: false },
|
|
75
|
+
'files.uploads.get': { method: 'GET', path: '/v1/files/uploads/{uploadId}' },
|
|
76
|
+
'files.uploads.parts.list': { method: 'GET', path: '/v1/files/uploads/{uploadId}/parts' },
|
|
77
|
+
'files.uploads.parts.presign': { method: 'POST', path: '/v1/files/uploads/{uploadId}/parts' },
|
|
78
|
+
'humanReviews.approve': { method: 'POST', path: '/v1/reviews/{taskId}/approve' },
|
|
79
|
+
'humanReviews.confirmField': { method: 'PUT', path: '/v1/reviews/{taskId}/fields' },
|
|
80
|
+
'humanReviews.files.content.get': {
|
|
81
|
+
method: 'GET',
|
|
82
|
+
path: '/v1/reviews/{taskId}/files/{fileId}/content',
|
|
83
|
+
},
|
|
84
|
+
'humanReviews.get': { method: 'GET', path: '/v1/reviews/{taskId}' },
|
|
85
|
+
'humanReviews.list': { method: 'GET', path: '/v1/reviews' },
|
|
86
|
+
'humanReviews.reject': { method: 'POST', path: '/v1/reviews/{taskId}/reject' },
|
|
87
|
+
'models.list': { method: 'GET', path: '/v1/models' },
|
|
88
|
+
'projects.builds.list': { method: 'GET', path: '/v1/projects/{id}/builds' },
|
|
89
|
+
'projects.get': { method: 'GET', path: '/v1/projects/{id}' },
|
|
90
|
+
'projects.list': { method: 'GET', path: '/v1/projects' },
|
|
91
|
+
'projects.operations.get': { method: 'GET', path: '/v1/projects/{id}/operations/{operationId}' },
|
|
92
|
+
'projects.promote': { method: 'POST', path: '/v1/projects/{id}/promote', idempotent: false },
|
|
93
|
+
'projects.releases.create': {
|
|
94
|
+
method: 'POST',
|
|
95
|
+
path: '/v1/projects/{id}/releases',
|
|
96
|
+
idempotent: false,
|
|
97
|
+
},
|
|
98
|
+
'projects.releases.get': { method: 'GET', path: '/v1/projects/{id}/releases/{version}' },
|
|
99
|
+
'projects.releases.list': { method: 'GET', path: '/v1/projects/{id}/releases' },
|
|
100
|
+
'projects.releases.restore': {
|
|
101
|
+
method: 'POST',
|
|
102
|
+
path: '/v1/projects/{id}/releases/{version}/restore',
|
|
103
|
+
},
|
|
104
|
+
'projects.releases.withdraw': {
|
|
105
|
+
method: 'POST',
|
|
106
|
+
path: '/v1/projects/{id}/releases/{version}/withdraw',
|
|
107
|
+
},
|
|
108
|
+
'projects.rollback': { method: 'POST', path: '/v1/projects/{id}/rollback', idempotent: false },
|
|
109
|
+
'projects.status': { method: 'GET', path: '/v1/projects/{id}/status' },
|
|
110
|
+
'promotion.get': { method: 'GET', path: '/v1/promotion' },
|
|
111
|
+
'promotion.routes.delete': { method: 'DELETE', path: '/v1/promotion/routes/{name}' },
|
|
112
|
+
'promotion.routes.get': { method: 'GET', path: '/v1/promotion/routes/{name}' },
|
|
113
|
+
'promotion.routes.list': { method: 'GET', path: '/v1/promotion/routes' },
|
|
114
|
+
'promotion.routes.put': { method: 'PUT', path: '/v1/promotion/routes/{name}' },
|
|
115
|
+
'runs.artifacts.get': { method: 'GET', path: '/v1/runs/{id}/artifacts/{path}' },
|
|
116
|
+
'runs.artifacts.list': { method: 'GET', path: '/v1/runs/{id}/artifacts' },
|
|
117
|
+
'runs.cancel': { method: 'POST', path: '/v1/runs/{id}/cancel' },
|
|
118
|
+
'runs.events.list': { method: 'GET', path: '/v1/runs/{id}/events' },
|
|
119
|
+
'runs.example.get': { method: 'GET', path: '/v1/runs/{id}/example' },
|
|
120
|
+
'runs.get': { method: 'GET', path: '/v1/runs/{id}' },
|
|
121
|
+
'runs.list': { method: 'GET', path: '/v1/runs' },
|
|
122
|
+
'runs.rerun': { method: 'POST', path: '/v1/runs/{id}/rerun', idempotent: false },
|
|
123
|
+
'runs.start': { method: 'POST', path: '/v1/runs', idempotent: false },
|
|
124
|
+
'runs.steps.get': { method: 'GET', path: '/v1/runs/{id}/steps/{stepId}' },
|
|
125
|
+
'runs.trace.get': { method: 'GET', path: '/v1/runs/{id}/trace' },
|
|
126
|
+
'templates.content.get': { method: 'GET', path: '/v1/templates/{id}/content' },
|
|
127
|
+
'templates.create': { method: 'POST', path: '/v1/templates', idempotent: false },
|
|
128
|
+
'templates.delete': { method: 'DELETE', path: '/v1/templates/{id}' },
|
|
129
|
+
'templates.get': { method: 'GET', path: '/v1/templates/{id}' },
|
|
130
|
+
'templates.list': { method: 'GET', path: '/v1/templates' },
|
|
131
|
+
'templates.replace': { method: 'PUT', path: '/v1/templates/{id}' },
|
|
132
|
+
'variables.delete': { method: 'DELETE', path: '/v1/variables/{name}' },
|
|
133
|
+
'variables.list': { method: 'GET', path: '/v1/variables' },
|
|
134
|
+
'variables.set': { method: 'PUT', path: '/v1/variables/{name}' },
|
|
135
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/** The types of the public SDK surface. */
|
|
2
|
+
export type { ApiCallOptions, ApiErrorEnvelope, ApiErrorIssue, AutomationDetail, AutomationKind, AutomationList, AutomationSummary, AutomationTriggerState, AutomationsGetOptions, AutomationsListOptions, CreatedProjectRelease, DatasetReviewCreateItemNote, DatasetReviewDetail, DatasetReviewEvent, DatasetReviewExpectedFile, DatasetReviewFieldDecision, DatasetReviewFileDecision, DatasetReviewFocusField, DatasetReviewInboxItem, DatasetReviewInboxList, DatasetReviewItem, DatasetReviewItemFieldNote, DatasetReviewProgress, DatasetsReviewsCreateOptions, DatasetsReviewsListOptions, DeleteEmailServerResponse, DeleteFileResponse, DeletePromotionRouteResponse, DeleteTemplateResponse, DeletedVariable, EmailServer, EmailServerList, EmailServersDeleteOptions, EmailServersGetOptions, EmailServersListOptions, EmailServersTestOptions, EvalResult, ExecutionObservability, Experiment, ExperimentDetail, ExperimentList, ExperimentRef, ExperimentsListOptions, File, FileUploadNegotiation, FilesDeleteOptions, FilesDownloadOptions, FilesGetOptions, HttpChunkedFileUploadSession, ModelList, ModelsListOptions, MultipartFileUploadFallback, PresignedFileUploadSession, PresignedMultipartFileUploadSession, Project, ProjectList, ProjectOperationError, ProjectOperationStep, ProjectPromotion, ProjectPromotionRecord, ProjectRelease, ProjectReleaseDetail, ProjectReleaseList, ProjectReleaseRequest, ProjectRollback, ProjectStatus, ProjectsListOptions, PromotionOperation, PromotionRoute, PromotionRouteCheck, PromotionRouteEnvironment, PromotionRouteList, PromotionRoutePlan, PublicModel, PublicModelCost, PublicModelLimits, PublicResendEmailServer, PublicSmtpEmailServer, ReleaseOperation, ReleasesGetOptions, ReleasesListOptions, ReleasesRestoreOptions, ReleasesWithdrawOptions, ReviewList, ReviewTaskDetail, ReviewsApproveOptions, ReviewsDownloadOptions, ReviewsGetOptions, ReviewsListOptions, ReviewsRejectOptions, ReviewsSetOptions, RoutesDeleteOptions, RoutesGetOptions, RoutesListOptions, RoutesSetOptions, Run, RunAccepted, RunArtifact, RunArtifactsResponse, RunBuild, RunCancelResponse, RunChildRun, RunComparison, RunDebug, RunError, RunEval, RunEvent, RunEventsResponse, RunFile, RunHumanReviewSummary, RunInput, RunList, RunListItem, RunRetry, RunReview, RunReviewCorrection, RunReviewSummary, RunStep, RunTiming, RunTrigger, RunUsage, RunsCancelOptions, RunsGetOptions, RunsListOptions, RunsRerunOptions, StatusOptions, Template, TemplateList, TemplateRevision, TemplatesDeleteOptions, TemplatesDownloadOptions, TemplatesGetOptions, TemplatesListOptions, TestEmailServerResponse, Variable, VariableList, VariableSetResponse, VariablesDeleteOptions, VariablesListOptions, VariablesSetOptions, } from './types.gen.js';
|