edge-impulse-api 1.93.26 → 1.93.27
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/build/browser/edge-impulse-api.d.ts +2385 -12
- package/build/browser/edge-impulse-api.js +7228 -803
- package/build/browser/edge-impulse-api.js.map +1 -1
- package/build/library/sdk/api/adminApi.d.ts +297 -0
- package/build/library/sdk/api/adminApi.js +891 -99
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/authApi.d.ts +3 -0
- package/build/library/sdk/api/authApi.js +9 -1
- package/build/library/sdk/api/authApi.js.map +1 -1
- package/build/library/sdk/api/cDNApi.d.ts +3 -0
- package/build/library/sdk/api/cDNApi.js +9 -1
- package/build/library/sdk/api/cDNApi.js.map +1 -1
- package/build/library/sdk/api/canaryApi.d.ts +3 -0
- package/build/library/sdk/api/canaryApi.js +9 -1
- package/build/library/sdk/api/canaryApi.js.map +1 -1
- package/build/library/sdk/api/classifyApi.d.ts +30 -0
- package/build/library/sdk/api/classifyApi.js +90 -10
- package/build/library/sdk/api/classifyApi.js.map +1 -1
- package/build/library/sdk/api/dSPApi.d.ts +57 -0
- package/build/library/sdk/api/dSPApi.js +171 -19
- package/build/library/sdk/api/dSPApi.js.map +1 -1
- package/build/library/sdk/api/datasetVersionsApi.d.ts +18 -0
- package/build/library/sdk/api/datasetVersionsApi.js +54 -6
- package/build/library/sdk/api/datasetVersionsApi.js.map +1 -1
- package/build/library/sdk/api/deploymentApi.d.ts +51 -0
- package/build/library/sdk/api/deploymentApi.js +153 -17
- package/build/library/sdk/api/deploymentApi.js.map +1 -1
- package/build/library/sdk/api/devicesApi.d.ts +48 -0
- package/build/library/sdk/api/devicesApi.js +144 -16
- package/build/library/sdk/api/devicesApi.js.map +1 -1
- package/build/library/sdk/api/emailVerificationApi.d.ts +12 -0
- package/build/library/sdk/api/emailVerificationApi.js +36 -4
- package/build/library/sdk/api/emailVerificationApi.js.map +1 -1
- package/build/library/sdk/api/exportApi.d.ts +6 -0
- package/build/library/sdk/api/exportApi.js +18 -2
- package/build/library/sdk/api/exportApi.js.map +1 -1
- package/build/library/sdk/api/featureFlagsApi.d.ts +3 -0
- package/build/library/sdk/api/featureFlagsApi.js +9 -1
- package/build/library/sdk/api/featureFlagsApi.js.map +1 -1
- package/build/library/sdk/api/healthApi.d.ts +6 -0
- package/build/library/sdk/api/healthApi.js +18 -2
- package/build/library/sdk/api/healthApi.js.map +1 -1
- package/build/library/sdk/api/impulseApi.d.ts +54 -0
- package/build/library/sdk/api/impulseApi.js +162 -18
- package/build/library/sdk/api/impulseApi.js.map +1 -1
- package/build/library/sdk/api/integrationsApi.d.ts +6 -0
- package/build/library/sdk/api/integrationsApi.js +18 -2
- package/build/library/sdk/api/integrationsApi.js.map +1 -1
- package/build/library/sdk/api/jobsApi.d.ts +135 -0
- package/build/library/sdk/api/jobsApi.js +409 -45
- package/build/library/sdk/api/jobsApi.js.map +1 -1
- package/build/library/sdk/api/learnApi.d.ts +87 -0
- package/build/library/sdk/api/learnApi.js +261 -29
- package/build/library/sdk/api/learnApi.js.map +1 -1
- package/build/library/sdk/api/loginApi.d.ts +6 -0
- package/build/library/sdk/api/loginApi.js +18 -2
- package/build/library/sdk/api/loginApi.js.map +1 -1
- package/build/library/sdk/api/metricsApi.d.ts +9 -0
- package/build/library/sdk/api/metricsApi.js +27 -3
- package/build/library/sdk/api/metricsApi.js.map +1 -1
- package/build/library/sdk/api/monitoringApi.d.ts +39 -0
- package/build/library/sdk/api/monitoringApi.js +117 -13
- package/build/library/sdk/api/monitoringApi.js.map +1 -1
- package/build/library/sdk/api/optimizationApi.d.ts +51 -0
- package/build/library/sdk/api/optimizationApi.js +153 -17
- package/build/library/sdk/api/optimizationApi.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.d.ts +105 -0
- package/build/library/sdk/api/organizationBlocksApi.js +315 -35
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/organizationCreateProjectApi.d.ts +45 -0
- package/build/library/sdk/api/organizationCreateProjectApi.js +135 -15
- package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataApi.d.ts +120 -0
- package/build/library/sdk/api/organizationDataApi.js +360 -40
- package/build/library/sdk/api/organizationDataApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataCampaignsApi.d.ts +36 -0
- package/build/library/sdk/api/organizationDataCampaignsApi.js +108 -12
- package/build/library/sdk/api/organizationDataCampaignsApi.js.map +1 -1
- package/build/library/sdk/api/organizationJobsApi.d.ts +24 -0
- package/build/library/sdk/api/organizationJobsApi.js +72 -8
- package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
- package/build/library/sdk/api/organizationPipelinesApi.d.ts +24 -0
- package/build/library/sdk/api/organizationPipelinesApi.js +72 -8
- package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
- package/build/library/sdk/api/organizationPortalsApi.d.ts +21 -0
- package/build/library/sdk/api/organizationPortalsApi.js +63 -7
- package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
- package/build/library/sdk/api/organizationsApi.d.ts +242 -2
- package/build/library/sdk/api/organizationsApi.js +722 -82
- package/build/library/sdk/api/organizationsApi.js.map +1 -1
- package/build/library/sdk/api/performanceCalibrationApi.d.ts +33 -0
- package/build/library/sdk/api/performanceCalibrationApi.js +99 -11
- package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
- package/build/library/sdk/api/postProcessingApi.d.ts +15 -0
- package/build/library/sdk/api/postProcessingApi.js +45 -5
- package/build/library/sdk/api/postProcessingApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +282 -1
- package/build/library/sdk/api/projectsApi.js +991 -66
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/api/rawDataApi.d.ts +207 -0
- package/build/library/sdk/api/rawDataApi.js +621 -69
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/api/testApi.d.ts +12 -0
- package/build/library/sdk/api/testApi.js +36 -4
- package/build/library/sdk/api/testApi.js.map +1 -1
- package/build/library/sdk/api/themesApi.d.ts +18 -0
- package/build/library/sdk/api/themesApi.js +54 -6
- package/build/library/sdk/api/themesApi.js.map +1 -1
- package/build/library/sdk/api/thirdPartyAuthApi.d.ts +21 -0
- package/build/library/sdk/api/thirdPartyAuthApi.js +63 -7
- package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
- package/build/library/sdk/api/uploadPortalApi.d.ts +21 -0
- package/build/library/sdk/api/uploadPortalApi.js +63 -7
- package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
- package/build/library/sdk/api/userApi.d.ts +147 -0
- package/build/library/sdk/api/userApi.js +441 -49
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/api/vlmApi.d.ts +15 -0
- package/build/library/sdk/api/vlmApi.js +45 -5
- package/build/library/sdk/api/vlmApi.js.map +1 -1
- package/build/library/sdk/api/whitelabelsApi.d.ts +24 -0
- package/build/library/sdk/api/whitelabelsApi.js +72 -8
- package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
- package/build/library/sdk/model/getExtensionSharedStateListResponse.d.ts +14 -0
- package/build/library/sdk/model/getExtensionSharedStateListResponse.js +4 -0
- package/build/library/sdk/model/getExtensionSharedStateListResponse.js.map +1 -0
- package/build/library/sdk/model/models.d.ts +3 -0
- package/build/library/sdk/model/models.js +3 -0
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/oAuthScope.d.ts +1 -1
- package/build/library/sdk/model/oAuthScope.js +1 -1
- package/build/library/sdk/model/oAuthScope.js.map +1 -1
- package/build/library/sdk/model/setExtensionSharedStateRequest.d.ts +13 -0
- package/build/library/sdk/model/setExtensionSharedStateRequest.js +4 -0
- package/build/library/sdk/model/setExtensionSharedStateRequest.js.map +1 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.d.ts +11 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.js +4 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.js.map +1 -0
- package/package.json +1 -1
|
@@ -161,6 +161,9 @@ export declare class OrganizationDataApi {
|
|
|
161
161
|
headers: {
|
|
162
162
|
[name: string]: string;
|
|
163
163
|
};
|
|
164
|
+
responseHeadersCallback?: (headers: {
|
|
165
|
+
[name: string]: string;
|
|
166
|
+
}) => void;
|
|
164
167
|
}): Promise<EntityCreatedResponse>;
|
|
165
168
|
/**
|
|
166
169
|
* Add a new file to an existing data item.
|
|
@@ -173,6 +176,9 @@ export declare class OrganizationDataApi {
|
|
|
173
176
|
headers: {
|
|
174
177
|
[name: string]: string;
|
|
175
178
|
};
|
|
179
|
+
responseHeadersCallback?: (headers: {
|
|
180
|
+
[name: string]: string;
|
|
181
|
+
}) => void;
|
|
176
182
|
}): Promise<GenericApiResponse>;
|
|
177
183
|
/**
|
|
178
184
|
* Bulk adds data items that already exist in a storage bucket. The bucket path specified should contain folders. Each folder is added as a data item in Edge Impulse.
|
|
@@ -184,6 +190,9 @@ export declare class OrganizationDataApi {
|
|
|
184
190
|
headers: {
|
|
185
191
|
[name: string]: string;
|
|
186
192
|
};
|
|
193
|
+
responseHeadersCallback?: (headers: {
|
|
194
|
+
[name: string]: string;
|
|
195
|
+
}) => void;
|
|
187
196
|
}): Promise<StartJobResponse>;
|
|
188
197
|
/**
|
|
189
198
|
* Add a new data item. You can add a maximum of 10000 files directly through this API. Use `addOrganizationDataFile` to add additional files.
|
|
@@ -201,6 +210,9 @@ export declare class OrganizationDataApi {
|
|
|
201
210
|
headers: {
|
|
202
211
|
[name: string]: string;
|
|
203
212
|
};
|
|
213
|
+
responseHeadersCallback?: (headers: {
|
|
214
|
+
[name: string]: string;
|
|
215
|
+
}) => void;
|
|
204
216
|
}): Promise<EntityCreatedResponse>;
|
|
205
217
|
/**
|
|
206
218
|
* Add a new research dataset
|
|
@@ -212,6 +224,9 @@ export declare class OrganizationDataApi {
|
|
|
212
224
|
headers: {
|
|
213
225
|
[name: string]: string;
|
|
214
226
|
};
|
|
227
|
+
responseHeadersCallback?: (headers: {
|
|
228
|
+
[name: string]: string;
|
|
229
|
+
}) => void;
|
|
215
230
|
}): Promise<StartJobResponse>;
|
|
216
231
|
/**
|
|
217
232
|
* Change the dataset for selected data items.
|
|
@@ -226,6 +241,9 @@ export declare class OrganizationDataApi {
|
|
|
226
241
|
headers: {
|
|
227
242
|
[name: string]: string;
|
|
228
243
|
};
|
|
244
|
+
responseHeadersCallback?: (headers: {
|
|
245
|
+
[name: string]: string;
|
|
246
|
+
}) => void;
|
|
229
247
|
}): Promise<StartJobResponse>;
|
|
230
248
|
/**
|
|
231
249
|
* Clear all checklist flags for selected data items.
|
|
@@ -239,6 +257,9 @@ export declare class OrganizationDataApi {
|
|
|
239
257
|
headers: {
|
|
240
258
|
[name: string]: string;
|
|
241
259
|
};
|
|
260
|
+
responseHeadersCallback?: (headers: {
|
|
261
|
+
[name: string]: string;
|
|
262
|
+
}) => void;
|
|
242
263
|
}): Promise<StartJobResponse>;
|
|
243
264
|
/**
|
|
244
265
|
* Create a new storage bucket in the Edge Impulse infra. This API is only available through JWT token authentication.
|
|
@@ -250,6 +271,9 @@ export declare class OrganizationDataApi {
|
|
|
250
271
|
headers: {
|
|
251
272
|
[name: string]: string;
|
|
252
273
|
};
|
|
274
|
+
responseHeadersCallback?: (headers: {
|
|
275
|
+
[name: string]: string;
|
|
276
|
+
}) => void;
|
|
253
277
|
}): Promise<CreateOrganizationBucketResponse>;
|
|
254
278
|
/**
|
|
255
279
|
* Creates a signed link to securely upload data to s3 bucket directly from the client.
|
|
@@ -262,6 +286,9 @@ export declare class OrganizationDataApi {
|
|
|
262
286
|
headers: {
|
|
263
287
|
[name: string]: string;
|
|
264
288
|
};
|
|
289
|
+
responseHeadersCallback?: (headers: {
|
|
290
|
+
[name: string]: string;
|
|
291
|
+
}) => void;
|
|
265
292
|
}): Promise<CreateSignedUploadLinkResponse>;
|
|
266
293
|
/**
|
|
267
294
|
* Delete a file from a dataset
|
|
@@ -274,6 +301,9 @@ export declare class OrganizationDataApi {
|
|
|
274
301
|
headers: {
|
|
275
302
|
[name: string]: string;
|
|
276
303
|
};
|
|
304
|
+
responseHeadersCallback?: (headers: {
|
|
305
|
+
[name: string]: string;
|
|
306
|
+
}) => void;
|
|
277
307
|
}): Promise<GenericApiResponse>;
|
|
278
308
|
/**
|
|
279
309
|
* Delete a single file from a data item.
|
|
@@ -286,6 +316,9 @@ export declare class OrganizationDataApi {
|
|
|
286
316
|
headers: {
|
|
287
317
|
[name: string]: string;
|
|
288
318
|
};
|
|
319
|
+
responseHeadersCallback?: (headers: {
|
|
320
|
+
[name: string]: string;
|
|
321
|
+
}) => void;
|
|
289
322
|
}): Promise<GenericApiResponse>;
|
|
290
323
|
/**
|
|
291
324
|
* Delete a data item. This will remove items the items from the underlying storage if your dataset has \"bucketPath\" set.
|
|
@@ -297,6 +330,9 @@ export declare class OrganizationDataApi {
|
|
|
297
330
|
headers: {
|
|
298
331
|
[name: string]: string;
|
|
299
332
|
};
|
|
333
|
+
responseHeadersCallback?: (headers: {
|
|
334
|
+
[name: string]: string;
|
|
335
|
+
}) => void;
|
|
300
336
|
}): Promise<GenericApiResponse>;
|
|
301
337
|
/**
|
|
302
338
|
* Delete all data for selected data items. This removes all data in the underlying data bucket.
|
|
@@ -310,6 +346,9 @@ export declare class OrganizationDataApi {
|
|
|
310
346
|
headers: {
|
|
311
347
|
[name: string]: string;
|
|
312
348
|
};
|
|
349
|
+
responseHeadersCallback?: (headers: {
|
|
350
|
+
[name: string]: string;
|
|
351
|
+
}) => void;
|
|
313
352
|
}): Promise<StartJobResponse>;
|
|
314
353
|
/**
|
|
315
354
|
* Download a file from a dataset. Will return a signed URL to the bucket.
|
|
@@ -322,6 +361,9 @@ export declare class OrganizationDataApi {
|
|
|
322
361
|
headers: {
|
|
323
362
|
[name: string]: string;
|
|
324
363
|
};
|
|
364
|
+
responseHeadersCallback?: (headers: {
|
|
365
|
+
[name: string]: string;
|
|
366
|
+
}) => void;
|
|
325
367
|
}): Promise<DownloadPortalFileResponse>;
|
|
326
368
|
/**
|
|
327
369
|
* Download all files in the given folder in a dataset, ignoring any subdirectories.
|
|
@@ -334,6 +376,9 @@ export declare class OrganizationDataApi {
|
|
|
334
376
|
headers: {
|
|
335
377
|
[name: string]: string;
|
|
336
378
|
};
|
|
379
|
+
responseHeadersCallback?: (headers: {
|
|
380
|
+
[name: string]: string;
|
|
381
|
+
}) => void;
|
|
337
382
|
}): Promise<Buffer>;
|
|
338
383
|
/**
|
|
339
384
|
* Download a single file from a data item.
|
|
@@ -346,6 +391,9 @@ export declare class OrganizationDataApi {
|
|
|
346
391
|
headers: {
|
|
347
392
|
[name: string]: string;
|
|
348
393
|
};
|
|
394
|
+
responseHeadersCallback?: (headers: {
|
|
395
|
+
[name: string]: string;
|
|
396
|
+
}) => void;
|
|
349
397
|
}): Promise<Buffer>;
|
|
350
398
|
/**
|
|
351
399
|
* Download all data for selected data items. This function does not query the underlying bucket.
|
|
@@ -359,6 +407,9 @@ export declare class OrganizationDataApi {
|
|
|
359
407
|
headers: {
|
|
360
408
|
[name: string]: string;
|
|
361
409
|
};
|
|
410
|
+
responseHeadersCallback?: (headers: {
|
|
411
|
+
[name: string]: string;
|
|
412
|
+
}) => void;
|
|
362
413
|
}): Promise<Buffer>;
|
|
363
414
|
/**
|
|
364
415
|
* Download all data for this data item.
|
|
@@ -371,6 +422,9 @@ export declare class OrganizationDataApi {
|
|
|
371
422
|
headers: {
|
|
372
423
|
[name: string]: string;
|
|
373
424
|
};
|
|
425
|
+
responseHeadersCallback?: (headers: {
|
|
426
|
+
[name: string]: string;
|
|
427
|
+
}) => void;
|
|
374
428
|
}): Promise<Buffer>;
|
|
375
429
|
/**
|
|
376
430
|
* Get storage bucket details.
|
|
@@ -382,6 +436,9 @@ export declare class OrganizationDataApi {
|
|
|
382
436
|
headers: {
|
|
383
437
|
[name: string]: string;
|
|
384
438
|
};
|
|
439
|
+
responseHeadersCallback?: (headers: {
|
|
440
|
+
[name: string]: string;
|
|
441
|
+
}) => void;
|
|
385
442
|
}): Promise<GetOrganizationBucketResponse>;
|
|
386
443
|
/**
|
|
387
444
|
* Get a data item. This will HEAD the underlying bucket to retrieve the last file information.
|
|
@@ -394,6 +451,9 @@ export declare class OrganizationDataApi {
|
|
|
394
451
|
headers: {
|
|
395
452
|
[name: string]: string;
|
|
396
453
|
};
|
|
454
|
+
responseHeadersCallback?: (headers: {
|
|
455
|
+
[name: string]: string;
|
|
456
|
+
}) => void;
|
|
397
457
|
}): Promise<GetOrganizationDataItemResponse>;
|
|
398
458
|
/**
|
|
399
459
|
* Get all transformation jobs that ran for a data item. If limit / offset is not provided then max. 20 results are returned.
|
|
@@ -407,6 +467,9 @@ export declare class OrganizationDataApi {
|
|
|
407
467
|
headers: {
|
|
408
468
|
[name: string]: string;
|
|
409
469
|
};
|
|
470
|
+
responseHeadersCallback?: (headers: {
|
|
471
|
+
[name: string]: string;
|
|
472
|
+
}) => void;
|
|
410
473
|
}): Promise<GetOrganizationDataItemTransformJobsResponse>;
|
|
411
474
|
/**
|
|
412
475
|
* Get information about a dataset
|
|
@@ -418,6 +481,9 @@ export declare class OrganizationDataApi {
|
|
|
418
481
|
headers: {
|
|
419
482
|
[name: string]: string;
|
|
420
483
|
};
|
|
484
|
+
responseHeadersCallback?: (headers: {
|
|
485
|
+
[name: string]: string;
|
|
486
|
+
}) => void;
|
|
421
487
|
}): Promise<GetOrganizationDatasetResponse>;
|
|
422
488
|
/**
|
|
423
489
|
* Hide a dataset (does not remove underlying data)
|
|
@@ -429,6 +495,9 @@ export declare class OrganizationDataApi {
|
|
|
429
495
|
headers: {
|
|
430
496
|
[name: string]: string;
|
|
431
497
|
};
|
|
498
|
+
responseHeadersCallback?: (headers: {
|
|
499
|
+
[name: string]: string;
|
|
500
|
+
}) => void;
|
|
432
501
|
}): Promise<GenericApiResponse>;
|
|
433
502
|
/**
|
|
434
503
|
* List all files and directories in specified prefix.
|
|
@@ -441,6 +510,9 @@ export declare class OrganizationDataApi {
|
|
|
441
510
|
headers: {
|
|
442
511
|
[name: string]: string;
|
|
443
512
|
};
|
|
513
|
+
responseHeadersCallback?: (headers: {
|
|
514
|
+
[name: string]: string;
|
|
515
|
+
}) => void;
|
|
444
516
|
}): Promise<ListPortalFilesInFolderResponse>;
|
|
445
517
|
/**
|
|
446
518
|
* Retrieve all configured storage buckets. This does not list the secret key.
|
|
@@ -451,6 +523,9 @@ export declare class OrganizationDataApi {
|
|
|
451
523
|
headers: {
|
|
452
524
|
[name: string]: string;
|
|
453
525
|
};
|
|
526
|
+
responseHeadersCallback?: (headers: {
|
|
527
|
+
[name: string]: string;
|
|
528
|
+
}) => void;
|
|
454
529
|
}): Promise<ListOrganizationBucketsResponse>;
|
|
455
530
|
/**
|
|
456
531
|
* Lists all data items. This can be filtered by the ?filter parameter.
|
|
@@ -465,6 +540,9 @@ export declare class OrganizationDataApi {
|
|
|
465
540
|
headers: {
|
|
466
541
|
[name: string]: string;
|
|
467
542
|
};
|
|
543
|
+
responseHeadersCallback?: (headers: {
|
|
544
|
+
[name: string]: string;
|
|
545
|
+
}) => void;
|
|
468
546
|
}): Promise<ListOrganizationDataResponse>;
|
|
469
547
|
/**
|
|
470
548
|
* Lists all files included by the filter.
|
|
@@ -479,6 +557,9 @@ export declare class OrganizationDataApi {
|
|
|
479
557
|
headers: {
|
|
480
558
|
[name: string]: string;
|
|
481
559
|
};
|
|
560
|
+
responseHeadersCallback?: (headers: {
|
|
561
|
+
[name: string]: string;
|
|
562
|
+
}) => void;
|
|
482
563
|
}): Promise<ListOrganizationFilesResponse>;
|
|
483
564
|
/**
|
|
484
565
|
* Bulk update the metadata of many data items in one go. This requires you to submit a CSV file with headers, one of which the columns should be named \'name\'. The other columns are used as metadata keys.
|
|
@@ -491,6 +572,9 @@ export declare class OrganizationDataApi {
|
|
|
491
572
|
headers: {
|
|
492
573
|
[name: string]: string;
|
|
493
574
|
};
|
|
575
|
+
responseHeadersCallback?: (headers: {
|
|
576
|
+
[name: string]: string;
|
|
577
|
+
}) => void;
|
|
494
578
|
}): Promise<StartJobResponse>;
|
|
495
579
|
/**
|
|
496
580
|
* Preview files and directories in a default dataset for the given prefix, with support for wildcards. This is an internal API used when starting a transformation job.
|
|
@@ -503,6 +587,9 @@ export declare class OrganizationDataApi {
|
|
|
503
587
|
headers: {
|
|
504
588
|
[name: string]: string;
|
|
505
589
|
};
|
|
590
|
+
responseHeadersCallback?: (headers: {
|
|
591
|
+
[name: string]: string;
|
|
592
|
+
}) => void;
|
|
506
593
|
}): Promise<PreviewDefaultFilesInFolderResponse>;
|
|
507
594
|
/**
|
|
508
595
|
* Preview a single file from a data item (same as downloadOrganizationDataFile but w/ content-disposition inline and could be truncated).
|
|
@@ -515,6 +602,9 @@ export declare class OrganizationDataApi {
|
|
|
515
602
|
headers: {
|
|
516
603
|
[name: string]: string;
|
|
517
604
|
};
|
|
605
|
+
responseHeadersCallback?: (headers: {
|
|
606
|
+
[name: string]: string;
|
|
607
|
+
}) => void;
|
|
518
608
|
}): Promise<Buffer>;
|
|
519
609
|
/**
|
|
520
610
|
* Update all data items. HEADs all underlying buckets to retrieve the last file information. Use this API after uploading data directly to S3. If your dataset has bucketId and bucketPath set then this will also remove items that have been removed from S3.
|
|
@@ -526,6 +616,9 @@ export declare class OrganizationDataApi {
|
|
|
526
616
|
headers: {
|
|
527
617
|
[name: string]: string;
|
|
528
618
|
};
|
|
619
|
+
responseHeadersCallback?: (headers: {
|
|
620
|
+
[name: string]: string;
|
|
621
|
+
}) => void;
|
|
529
622
|
}): Promise<StartJobResponse>;
|
|
530
623
|
/**
|
|
531
624
|
* Remove a storage bucket and associated datasets. This will render any data in this storage bucket unreachable.
|
|
@@ -537,6 +630,9 @@ export declare class OrganizationDataApi {
|
|
|
537
630
|
headers: {
|
|
538
631
|
[name: string]: string;
|
|
539
632
|
};
|
|
633
|
+
responseHeadersCallback?: (headers: {
|
|
634
|
+
[name: string]: string;
|
|
635
|
+
}) => void;
|
|
540
636
|
}): Promise<GenericApiResponse>;
|
|
541
637
|
/**
|
|
542
638
|
* Rename a file in a dataset
|
|
@@ -549,6 +645,9 @@ export declare class OrganizationDataApi {
|
|
|
549
645
|
headers: {
|
|
550
646
|
[name: string]: string;
|
|
551
647
|
};
|
|
648
|
+
responseHeadersCallback?: (headers: {
|
|
649
|
+
[name: string]: string;
|
|
650
|
+
}) => void;
|
|
552
651
|
}): Promise<GenericApiResponse>;
|
|
553
652
|
/**
|
|
554
653
|
* Updates storage bucket details. This only updates fields that were set in the request body. Before updating the bucket details, it is required to verify the connection using the POST /api/organizations/{organizationId}/buckets/verify endpoint. The verification process: 1. Call the verify endpoint with the new bucket details. 2. Poll the verify endpoint until it responds with `connectionStatus: connected`. 3. If the endpoint responds with `connectionStatus: error`, the verification has failed. Only proceed with updating the bucket details after receiving a `connected` status. The polling interval and timeout should be determined based on your application\'s requirements.
|
|
@@ -561,6 +660,9 @@ export declare class OrganizationDataApi {
|
|
|
561
660
|
headers: {
|
|
562
661
|
[name: string]: string;
|
|
563
662
|
};
|
|
663
|
+
responseHeadersCallback?: (headers: {
|
|
664
|
+
[name: string]: string;
|
|
665
|
+
}) => void;
|
|
564
666
|
}): Promise<GenericApiResponse>;
|
|
565
667
|
/**
|
|
566
668
|
* Update the data item metadata.
|
|
@@ -573,6 +675,9 @@ export declare class OrganizationDataApi {
|
|
|
573
675
|
headers: {
|
|
574
676
|
[name: string]: string;
|
|
575
677
|
};
|
|
678
|
+
responseHeadersCallback?: (headers: {
|
|
679
|
+
[name: string]: string;
|
|
680
|
+
}) => void;
|
|
576
681
|
}): Promise<GenericApiResponse>;
|
|
577
682
|
/**
|
|
578
683
|
* Set information about a dataset
|
|
@@ -585,6 +690,9 @@ export declare class OrganizationDataApi {
|
|
|
585
690
|
headers: {
|
|
586
691
|
[name: string]: string;
|
|
587
692
|
};
|
|
693
|
+
responseHeadersCallback?: (headers: {
|
|
694
|
+
[name: string]: string;
|
|
695
|
+
}) => void;
|
|
588
696
|
}): Promise<GenericApiResponse>;
|
|
589
697
|
/**
|
|
590
698
|
* Verify whether we can reach a dataset (and return some random files, used for data sources)
|
|
@@ -596,6 +704,9 @@ export declare class OrganizationDataApi {
|
|
|
596
704
|
headers: {
|
|
597
705
|
[name: string]: string;
|
|
598
706
|
};
|
|
707
|
+
responseHeadersCallback?: (headers: {
|
|
708
|
+
[name: string]: string;
|
|
709
|
+
}) => void;
|
|
599
710
|
}): Promise<VerifyOrganizationBucketResponse>;
|
|
600
711
|
/**
|
|
601
712
|
* Verify whether we can reach a bucket before adding it.
|
|
@@ -608,6 +719,9 @@ export declare class OrganizationDataApi {
|
|
|
608
719
|
headers: {
|
|
609
720
|
[name: string]: string;
|
|
610
721
|
};
|
|
722
|
+
responseHeadersCallback?: (headers: {
|
|
723
|
+
[name: string]: string;
|
|
724
|
+
}) => void;
|
|
611
725
|
}): Promise<VerifyOrganizationBucketResponse>;
|
|
612
726
|
/**
|
|
613
727
|
* Verify connectivity to a storage bucket and optionally list its contents. This endpoint allows you to: 1. Check if the provided bucket credentials are valid and the bucket is accessible. 2. Optionally list files in the bucket up to a specified limit. 3. Validate the bucket configuration before adding it to the organization. The request can include details such as the bucket name, region, credentials, and listing options. The response provides information about the bucket\'s accessibility and, if requested, a list of files in the bucket. Important note on verification process: - For S3-compatible storage backends: Verification is expected to be immediate. - For Azure buckets: Verification takes longer. Users are required to poll this endpoint until the connectionStatus changes from \'connecting\' to \'connected\'. When dealing with Azure buckets, implement a polling mechanism to check the status periodically until it\'s confirmed as connected.
|
|
@@ -619,6 +733,9 @@ export declare class OrganizationDataApi {
|
|
|
619
733
|
headers: {
|
|
620
734
|
[name: string]: string;
|
|
621
735
|
};
|
|
736
|
+
responseHeadersCallback?: (headers: {
|
|
737
|
+
[name: string]: string;
|
|
738
|
+
}) => void;
|
|
622
739
|
}): Promise<VerifyOrganizationBucketResponse>;
|
|
623
740
|
/**
|
|
624
741
|
* View a file that\'s located in a dataset (requires JWT auth). File might be converted (e.g. Parquet) or truncated (e.g. CSV).
|
|
@@ -631,6 +748,9 @@ export declare class OrganizationDataApi {
|
|
|
631
748
|
headers: {
|
|
632
749
|
[name: string]: string;
|
|
633
750
|
};
|
|
751
|
+
responseHeadersCallback?: (headers: {
|
|
752
|
+
[name: string]: string;
|
|
753
|
+
}) => void;
|
|
634
754
|
}): Promise<Buffer>;
|
|
635
755
|
}
|
|
636
756
|
export {};
|