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
|
@@ -119,6 +119,9 @@ export declare class LearnApi {
|
|
|
119
119
|
headers: {
|
|
120
120
|
[name: string]: string;
|
|
121
121
|
};
|
|
122
|
+
responseHeadersCallback?: (headers: {
|
|
123
|
+
[name: string]: string;
|
|
124
|
+
}) => void;
|
|
122
125
|
}): Promise<GenericApiResponse>;
|
|
123
126
|
/**
|
|
124
127
|
* Get a sample of trained features, this extracts a number of samples and their features.
|
|
@@ -132,6 +135,9 @@ export declare class LearnApi {
|
|
|
132
135
|
headers: {
|
|
133
136
|
[name: string]: string;
|
|
134
137
|
};
|
|
138
|
+
responseHeadersCallback?: (headers: {
|
|
139
|
+
[name: string]: string;
|
|
140
|
+
}) => void;
|
|
135
141
|
}): Promise<AnomalyTrainedFeaturesResponse>;
|
|
136
142
|
/**
|
|
137
143
|
* Get trained features for a single sample. This runs both the DSP prerequisites and the anomaly classifier.
|
|
@@ -144,6 +150,9 @@ export declare class LearnApi {
|
|
|
144
150
|
headers: {
|
|
145
151
|
[name: string]: string;
|
|
146
152
|
};
|
|
153
|
+
responseHeadersCallback?: (headers: {
|
|
154
|
+
[name: string]: string;
|
|
155
|
+
}) => void;
|
|
147
156
|
}): Promise<AnomalyTrainedFeaturesResponse>;
|
|
148
157
|
/**
|
|
149
158
|
* Download the data of an exported Keras block - needs to be exported via \'exportKerasBlockData\' first
|
|
@@ -155,6 +164,9 @@ export declare class LearnApi {
|
|
|
155
164
|
headers: {
|
|
156
165
|
[name: string]: string;
|
|
157
166
|
};
|
|
167
|
+
responseHeadersCallback?: (headers: {
|
|
168
|
+
[name: string]: string;
|
|
169
|
+
}) => void;
|
|
158
170
|
}): Promise<Buffer>;
|
|
159
171
|
/**
|
|
160
172
|
* Download an exported Keras block - needs to be exported via \'exportKerasBlock\' first
|
|
@@ -166,6 +178,9 @@ export declare class LearnApi {
|
|
|
166
178
|
headers: {
|
|
167
179
|
[name: string]: string;
|
|
168
180
|
};
|
|
181
|
+
responseHeadersCallback?: (headers: {
|
|
182
|
+
[name: string]: string;
|
|
183
|
+
}) => void;
|
|
169
184
|
}): Promise<Buffer>;
|
|
170
185
|
/**
|
|
171
186
|
* Download a trained model for a learning block. Depending on the block this can be a TensorFlow model, or the cluster centroids.
|
|
@@ -178,6 +193,9 @@ export declare class LearnApi {
|
|
|
178
193
|
headers: {
|
|
179
194
|
[name: string]: string;
|
|
180
195
|
};
|
|
196
|
+
responseHeadersCallback?: (headers: {
|
|
197
|
+
[name: string]: string;
|
|
198
|
+
}) => void;
|
|
181
199
|
}): Promise<Buffer>;
|
|
182
200
|
/**
|
|
183
201
|
* Download a pretrained model file
|
|
@@ -190,6 +208,9 @@ export declare class LearnApi {
|
|
|
190
208
|
headers: {
|
|
191
209
|
[name: string]: string;
|
|
192
210
|
};
|
|
211
|
+
responseHeadersCallback?: (headers: {
|
|
212
|
+
[name: string]: string;
|
|
213
|
+
}) => void;
|
|
193
214
|
}): Promise<Buffer>;
|
|
194
215
|
/**
|
|
195
216
|
* Get information about an anomaly block, such as its dependencies. Use the impulse blocks to find the learnId.
|
|
@@ -201,6 +222,9 @@ export declare class LearnApi {
|
|
|
201
222
|
headers: {
|
|
202
223
|
[name: string]: string;
|
|
203
224
|
};
|
|
225
|
+
responseHeadersCallback?: (headers: {
|
|
226
|
+
[name: string]: string;
|
|
227
|
+
}) => void;
|
|
204
228
|
}): Promise<AnomalyConfigResponse>;
|
|
205
229
|
/**
|
|
206
230
|
* Get metadata about a trained anomaly block. Use the impulse blocks to find the learnId.
|
|
@@ -212,6 +236,9 @@ export declare class LearnApi {
|
|
|
212
236
|
headers: {
|
|
213
237
|
[name: string]: string;
|
|
214
238
|
};
|
|
239
|
+
responseHeadersCallback?: (headers: {
|
|
240
|
+
[name: string]: string;
|
|
241
|
+
}) => void;
|
|
215
242
|
}): Promise<AnomalyModelMetadataResponse>;
|
|
216
243
|
/**
|
|
217
244
|
* Get raw model metadata of the Gaussian mixture model (GMM) for a trained anomaly block. Use the impulse blocks to find the learnId.
|
|
@@ -223,6 +250,9 @@ export declare class LearnApi {
|
|
|
223
250
|
headers: {
|
|
224
251
|
[name: string]: string;
|
|
225
252
|
};
|
|
253
|
+
responseHeadersCallback?: (headers: {
|
|
254
|
+
[name: string]: string;
|
|
255
|
+
}) => void;
|
|
226
256
|
}): Promise<AnomalyGmmMetadataResponse>;
|
|
227
257
|
/**
|
|
228
258
|
* Get information about a Keras block, such as its dependencies. Use the impulse blocks to find the learnId.
|
|
@@ -234,6 +264,9 @@ export declare class LearnApi {
|
|
|
234
264
|
headers: {
|
|
235
265
|
[name: string]: string;
|
|
236
266
|
};
|
|
267
|
+
responseHeadersCallback?: (headers: {
|
|
268
|
+
[name: string]: string;
|
|
269
|
+
}) => void;
|
|
237
270
|
}): Promise<KerasResponse>;
|
|
238
271
|
/**
|
|
239
272
|
* t-SNE2 output of the raw dataset using embeddings from this Keras block
|
|
@@ -245,6 +278,9 @@ export declare class LearnApi {
|
|
|
245
278
|
headers: {
|
|
246
279
|
[name: string]: string;
|
|
247
280
|
};
|
|
281
|
+
responseHeadersCallback?: (headers: {
|
|
282
|
+
[name: string]: string;
|
|
283
|
+
}) => void;
|
|
248
284
|
}): Promise<GetDataExplorerFeaturesResponse>;
|
|
249
285
|
/**
|
|
250
286
|
* Get metadata about a trained Keras block. Use the impulse blocks to find the learnId.
|
|
@@ -257,6 +293,9 @@ export declare class LearnApi {
|
|
|
257
293
|
headers: {
|
|
258
294
|
[name: string]: string;
|
|
259
295
|
};
|
|
296
|
+
responseHeadersCallback?: (headers: {
|
|
297
|
+
[name: string]: string;
|
|
298
|
+
}) => void;
|
|
260
299
|
}): Promise<KerasModelMetadataResponse>;
|
|
261
300
|
/**
|
|
262
301
|
* Download the processed data for this learning block. This is data already processed by the signal processing blocks.
|
|
@@ -268,6 +307,9 @@ export declare class LearnApi {
|
|
|
268
307
|
headers: {
|
|
269
308
|
[name: string]: string;
|
|
270
309
|
};
|
|
310
|
+
responseHeadersCallback?: (headers: {
|
|
311
|
+
[name: string]: string;
|
|
312
|
+
}) => void;
|
|
271
313
|
}): Promise<Buffer>;
|
|
272
314
|
/**
|
|
273
315
|
* Download the labels for this learning block. This is data already processed by the signal processing blocks. Not all blocks support this function. If so, a GenericApiResponse is returned with an error message.
|
|
@@ -279,6 +321,9 @@ export declare class LearnApi {
|
|
|
279
321
|
headers: {
|
|
280
322
|
[name: string]: string;
|
|
281
323
|
};
|
|
324
|
+
responseHeadersCallback?: (headers: {
|
|
325
|
+
[name: string]: string;
|
|
326
|
+
}) => void;
|
|
282
327
|
}): Promise<Buffer>;
|
|
283
328
|
/**
|
|
284
329
|
* Receive info back about the earlier uploaded pretrained model (via `uploadPretrainedModel`) input/output tensors. If you want to deploy a pretrained model from the API, see `startDeployPretrainedModelJob`.
|
|
@@ -290,6 +335,9 @@ export declare class LearnApi {
|
|
|
290
335
|
headers: {
|
|
291
336
|
[name: string]: string;
|
|
292
337
|
};
|
|
338
|
+
responseHeadersCallback?: (headers: {
|
|
339
|
+
[name: string]: string;
|
|
340
|
+
}) => void;
|
|
293
341
|
}): Promise<GetPretrainedModelResponse>;
|
|
294
342
|
/**
|
|
295
343
|
* Get config for a VLM learn block, including prompt and other model parameters
|
|
@@ -301,6 +349,9 @@ export declare class LearnApi {
|
|
|
301
349
|
headers: {
|
|
302
350
|
[name: string]: string;
|
|
303
351
|
};
|
|
352
|
+
responseHeadersCallback?: (headers: {
|
|
353
|
+
[name: string]: string;
|
|
354
|
+
}) => void;
|
|
304
355
|
}): Promise<VlmConfigResponse>;
|
|
305
356
|
/**
|
|
306
357
|
* Returns the latency, RAM and ROM used for the pretrained model - upload first via `uploadPretrainedModel`. This is using the project\'s selected latency device. Updates are streamed over the websocket API (or can be retrieved through the /stdout endpoint). Use getProfileTfliteJobResult to get the results when the job is completed.
|
|
@@ -312,6 +363,9 @@ export declare class LearnApi {
|
|
|
312
363
|
headers: {
|
|
313
364
|
[name: string]: string;
|
|
314
365
|
};
|
|
366
|
+
responseHeadersCallback?: (headers: {
|
|
367
|
+
[name: string]: string;
|
|
368
|
+
}) => void;
|
|
315
369
|
}): Promise<StartJobResponse>;
|
|
316
370
|
/**
|
|
317
371
|
* Save input / model configuration for a pretrained model. This overrides the current impulse. If you want to deploy a pretrained model from the API, see `startDeployPretrainedModelJob`.
|
|
@@ -324,6 +378,9 @@ export declare class LearnApi {
|
|
|
324
378
|
headers: {
|
|
325
379
|
[name: string]: string;
|
|
326
380
|
};
|
|
381
|
+
responseHeadersCallback?: (headers: {
|
|
382
|
+
[name: string]: string;
|
|
383
|
+
}) => void;
|
|
327
384
|
}): Promise<GenericApiResponse>;
|
|
328
385
|
/**
|
|
329
386
|
* Configure the anomaly block, such as its minimum confidence score. Use the impulse blocks to find the learnId.
|
|
@@ -336,6 +393,9 @@ export declare class LearnApi {
|
|
|
336
393
|
headers: {
|
|
337
394
|
[name: string]: string;
|
|
338
395
|
};
|
|
396
|
+
responseHeadersCallback?: (headers: {
|
|
397
|
+
[name: string]: string;
|
|
398
|
+
}) => void;
|
|
339
399
|
}): Promise<GenericApiResponse>;
|
|
340
400
|
/**
|
|
341
401
|
* Configure the Keras block, such as its minimum confidence score. Use the impulse blocks to find the learnId.
|
|
@@ -348,6 +408,9 @@ export declare class LearnApi {
|
|
|
348
408
|
headers: {
|
|
349
409
|
[name: string]: string;
|
|
350
410
|
};
|
|
411
|
+
responseHeadersCallback?: (headers: {
|
|
412
|
+
[name: string]: string;
|
|
413
|
+
}) => void;
|
|
351
414
|
}): Promise<GenericApiResponse>;
|
|
352
415
|
/**
|
|
353
416
|
* Update config for a VLM learn block, including prompt and other model parameters.
|
|
@@ -360,6 +423,9 @@ export declare class LearnApi {
|
|
|
360
423
|
headers: {
|
|
361
424
|
[name: string]: string;
|
|
362
425
|
};
|
|
426
|
+
responseHeadersCallback?: (headers: {
|
|
427
|
+
[name: string]: string;
|
|
428
|
+
}) => void;
|
|
363
429
|
}): Promise<VlmSetConfigResponse>;
|
|
364
430
|
/**
|
|
365
431
|
* Starts an asynchronous profiling job, if there\'s no profiling information for the currently selected latency device. Afterwards, re-fetch model metadata to get the profiling job IDs.
|
|
@@ -371,6 +437,9 @@ export declare class LearnApi {
|
|
|
371
437
|
headers: {
|
|
372
438
|
[name: string]: string;
|
|
373
439
|
};
|
|
440
|
+
responseHeadersCallback?: (headers: {
|
|
441
|
+
[name: string]: string;
|
|
442
|
+
}) => void;
|
|
374
443
|
}): Promise<GenericApiResponse>;
|
|
375
444
|
/**
|
|
376
445
|
* Starts an asynchronous profiling job, if there\'s no profiling information for the currently selected latency device. Afterwards, re-fetch model metadata to get the profiling job IDs.
|
|
@@ -382,6 +451,9 @@ export declare class LearnApi {
|
|
|
382
451
|
headers: {
|
|
383
452
|
[name: string]: string;
|
|
384
453
|
};
|
|
454
|
+
responseHeadersCallback?: (headers: {
|
|
455
|
+
[name: string]: string;
|
|
456
|
+
}) => void;
|
|
385
457
|
}): Promise<GenericApiResponse>;
|
|
386
458
|
/**
|
|
387
459
|
* Test out a pretrained model (using raw features) - upload first via `uploadPretrainedModel`. If you want to deploy a pretrained model from the API, see `startDeployPretrainedModelJob`.
|
|
@@ -394,6 +466,9 @@ export declare class LearnApi {
|
|
|
394
466
|
headers: {
|
|
395
467
|
[name: string]: string;
|
|
396
468
|
};
|
|
469
|
+
responseHeadersCallback?: (headers: {
|
|
470
|
+
[name: string]: string;
|
|
471
|
+
}) => void;
|
|
397
472
|
}): Promise<TestPretrainedModelResponse>;
|
|
398
473
|
/**
|
|
399
474
|
* Test out a pretrained model (using image data) - upload first via `uploadPretrainedModel`. If you want to deploy a pretrained model from the API, see `startDeployPretrainedModelJob`. This will transform raw image data (e.g. RGB to grayscale, resize) before classifying. To classify raw features, see `testPretrainedModel`.
|
|
@@ -406,6 +481,9 @@ export declare class LearnApi {
|
|
|
406
481
|
headers: {
|
|
407
482
|
[name: string]: string;
|
|
408
483
|
};
|
|
484
|
+
responseHeadersCallback?: (headers: {
|
|
485
|
+
[name: string]: string;
|
|
486
|
+
}) => void;
|
|
409
487
|
}): Promise<TestPretrainedModelResponse>;
|
|
410
488
|
/**
|
|
411
489
|
* Replace Keras block files with the contents of a zip. This is an internal API.
|
|
@@ -418,6 +496,9 @@ export declare class LearnApi {
|
|
|
418
496
|
headers: {
|
|
419
497
|
[name: string]: string;
|
|
420
498
|
};
|
|
499
|
+
responseHeadersCallback?: (headers: {
|
|
500
|
+
[name: string]: string;
|
|
501
|
+
}) => void;
|
|
421
502
|
}): Promise<GenericApiResponse>;
|
|
422
503
|
/**
|
|
423
504
|
* Upload a pretrained model and receive info back about the input/output tensors. If you want to deploy a pretrained model from the API, see `startDeployPretrainedModelJob`.
|
|
@@ -435,6 +516,9 @@ export declare class LearnApi {
|
|
|
435
516
|
headers: {
|
|
436
517
|
[name: string]: string;
|
|
437
518
|
};
|
|
519
|
+
responseHeadersCallback?: (headers: {
|
|
520
|
+
[name: string]: string;
|
|
521
|
+
}) => void;
|
|
438
522
|
}): Promise<StartJobResponse>;
|
|
439
523
|
/**
|
|
440
524
|
* Internal API, used in tests (only available on *.test.edgeimpulse.com). Upload a pretrained model by providing a URL - rather than uploading the file itself (as we have a request size limit on test).
|
|
@@ -447,6 +531,9 @@ export declare class LearnApi {
|
|
|
447
531
|
headers: {
|
|
448
532
|
[name: string]: string;
|
|
449
533
|
};
|
|
534
|
+
responseHeadersCallback?: (headers: {
|
|
535
|
+
[name: string]: string;
|
|
536
|
+
}) => void;
|
|
450
537
|
}): Promise<StartJobResponse>;
|
|
451
538
|
}
|
|
452
539
|
export {};
|