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.
Files changed (139) hide show
  1. package/build/browser/edge-impulse-api.d.ts +2385 -12
  2. package/build/browser/edge-impulse-api.js +7228 -803
  3. package/build/browser/edge-impulse-api.js.map +1 -1
  4. package/build/library/sdk/api/adminApi.d.ts +297 -0
  5. package/build/library/sdk/api/adminApi.js +891 -99
  6. package/build/library/sdk/api/adminApi.js.map +1 -1
  7. package/build/library/sdk/api/authApi.d.ts +3 -0
  8. package/build/library/sdk/api/authApi.js +9 -1
  9. package/build/library/sdk/api/authApi.js.map +1 -1
  10. package/build/library/sdk/api/cDNApi.d.ts +3 -0
  11. package/build/library/sdk/api/cDNApi.js +9 -1
  12. package/build/library/sdk/api/cDNApi.js.map +1 -1
  13. package/build/library/sdk/api/canaryApi.d.ts +3 -0
  14. package/build/library/sdk/api/canaryApi.js +9 -1
  15. package/build/library/sdk/api/canaryApi.js.map +1 -1
  16. package/build/library/sdk/api/classifyApi.d.ts +30 -0
  17. package/build/library/sdk/api/classifyApi.js +90 -10
  18. package/build/library/sdk/api/classifyApi.js.map +1 -1
  19. package/build/library/sdk/api/dSPApi.d.ts +57 -0
  20. package/build/library/sdk/api/dSPApi.js +171 -19
  21. package/build/library/sdk/api/dSPApi.js.map +1 -1
  22. package/build/library/sdk/api/datasetVersionsApi.d.ts +18 -0
  23. package/build/library/sdk/api/datasetVersionsApi.js +54 -6
  24. package/build/library/sdk/api/datasetVersionsApi.js.map +1 -1
  25. package/build/library/sdk/api/deploymentApi.d.ts +51 -0
  26. package/build/library/sdk/api/deploymentApi.js +153 -17
  27. package/build/library/sdk/api/deploymentApi.js.map +1 -1
  28. package/build/library/sdk/api/devicesApi.d.ts +48 -0
  29. package/build/library/sdk/api/devicesApi.js +144 -16
  30. package/build/library/sdk/api/devicesApi.js.map +1 -1
  31. package/build/library/sdk/api/emailVerificationApi.d.ts +12 -0
  32. package/build/library/sdk/api/emailVerificationApi.js +36 -4
  33. package/build/library/sdk/api/emailVerificationApi.js.map +1 -1
  34. package/build/library/sdk/api/exportApi.d.ts +6 -0
  35. package/build/library/sdk/api/exportApi.js +18 -2
  36. package/build/library/sdk/api/exportApi.js.map +1 -1
  37. package/build/library/sdk/api/featureFlagsApi.d.ts +3 -0
  38. package/build/library/sdk/api/featureFlagsApi.js +9 -1
  39. package/build/library/sdk/api/featureFlagsApi.js.map +1 -1
  40. package/build/library/sdk/api/healthApi.d.ts +6 -0
  41. package/build/library/sdk/api/healthApi.js +18 -2
  42. package/build/library/sdk/api/healthApi.js.map +1 -1
  43. package/build/library/sdk/api/impulseApi.d.ts +54 -0
  44. package/build/library/sdk/api/impulseApi.js +162 -18
  45. package/build/library/sdk/api/impulseApi.js.map +1 -1
  46. package/build/library/sdk/api/integrationsApi.d.ts +6 -0
  47. package/build/library/sdk/api/integrationsApi.js +18 -2
  48. package/build/library/sdk/api/integrationsApi.js.map +1 -1
  49. package/build/library/sdk/api/jobsApi.d.ts +135 -0
  50. package/build/library/sdk/api/jobsApi.js +409 -45
  51. package/build/library/sdk/api/jobsApi.js.map +1 -1
  52. package/build/library/sdk/api/learnApi.d.ts +87 -0
  53. package/build/library/sdk/api/learnApi.js +261 -29
  54. package/build/library/sdk/api/learnApi.js.map +1 -1
  55. package/build/library/sdk/api/loginApi.d.ts +6 -0
  56. package/build/library/sdk/api/loginApi.js +18 -2
  57. package/build/library/sdk/api/loginApi.js.map +1 -1
  58. package/build/library/sdk/api/metricsApi.d.ts +9 -0
  59. package/build/library/sdk/api/metricsApi.js +27 -3
  60. package/build/library/sdk/api/metricsApi.js.map +1 -1
  61. package/build/library/sdk/api/monitoringApi.d.ts +39 -0
  62. package/build/library/sdk/api/monitoringApi.js +117 -13
  63. package/build/library/sdk/api/monitoringApi.js.map +1 -1
  64. package/build/library/sdk/api/optimizationApi.d.ts +51 -0
  65. package/build/library/sdk/api/optimizationApi.js +153 -17
  66. package/build/library/sdk/api/optimizationApi.js.map +1 -1
  67. package/build/library/sdk/api/organizationBlocksApi.d.ts +105 -0
  68. package/build/library/sdk/api/organizationBlocksApi.js +315 -35
  69. package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
  70. package/build/library/sdk/api/organizationCreateProjectApi.d.ts +45 -0
  71. package/build/library/sdk/api/organizationCreateProjectApi.js +135 -15
  72. package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
  73. package/build/library/sdk/api/organizationDataApi.d.ts +120 -0
  74. package/build/library/sdk/api/organizationDataApi.js +360 -40
  75. package/build/library/sdk/api/organizationDataApi.js.map +1 -1
  76. package/build/library/sdk/api/organizationDataCampaignsApi.d.ts +36 -0
  77. package/build/library/sdk/api/organizationDataCampaignsApi.js +108 -12
  78. package/build/library/sdk/api/organizationDataCampaignsApi.js.map +1 -1
  79. package/build/library/sdk/api/organizationJobsApi.d.ts +24 -0
  80. package/build/library/sdk/api/organizationJobsApi.js +72 -8
  81. package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
  82. package/build/library/sdk/api/organizationPipelinesApi.d.ts +24 -0
  83. package/build/library/sdk/api/organizationPipelinesApi.js +72 -8
  84. package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
  85. package/build/library/sdk/api/organizationPortalsApi.d.ts +21 -0
  86. package/build/library/sdk/api/organizationPortalsApi.js +63 -7
  87. package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
  88. package/build/library/sdk/api/organizationsApi.d.ts +242 -2
  89. package/build/library/sdk/api/organizationsApi.js +722 -82
  90. package/build/library/sdk/api/organizationsApi.js.map +1 -1
  91. package/build/library/sdk/api/performanceCalibrationApi.d.ts +33 -0
  92. package/build/library/sdk/api/performanceCalibrationApi.js +99 -11
  93. package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
  94. package/build/library/sdk/api/postProcessingApi.d.ts +15 -0
  95. package/build/library/sdk/api/postProcessingApi.js +45 -5
  96. package/build/library/sdk/api/postProcessingApi.js.map +1 -1
  97. package/build/library/sdk/api/projectsApi.d.ts +282 -1
  98. package/build/library/sdk/api/projectsApi.js +991 -66
  99. package/build/library/sdk/api/projectsApi.js.map +1 -1
  100. package/build/library/sdk/api/rawDataApi.d.ts +207 -0
  101. package/build/library/sdk/api/rawDataApi.js +621 -69
  102. package/build/library/sdk/api/rawDataApi.js.map +1 -1
  103. package/build/library/sdk/api/testApi.d.ts +12 -0
  104. package/build/library/sdk/api/testApi.js +36 -4
  105. package/build/library/sdk/api/testApi.js.map +1 -1
  106. package/build/library/sdk/api/themesApi.d.ts +18 -0
  107. package/build/library/sdk/api/themesApi.js +54 -6
  108. package/build/library/sdk/api/themesApi.js.map +1 -1
  109. package/build/library/sdk/api/thirdPartyAuthApi.d.ts +21 -0
  110. package/build/library/sdk/api/thirdPartyAuthApi.js +63 -7
  111. package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
  112. package/build/library/sdk/api/uploadPortalApi.d.ts +21 -0
  113. package/build/library/sdk/api/uploadPortalApi.js +63 -7
  114. package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
  115. package/build/library/sdk/api/userApi.d.ts +147 -0
  116. package/build/library/sdk/api/userApi.js +441 -49
  117. package/build/library/sdk/api/userApi.js.map +1 -1
  118. package/build/library/sdk/api/vlmApi.d.ts +15 -0
  119. package/build/library/sdk/api/vlmApi.js +45 -5
  120. package/build/library/sdk/api/vlmApi.js.map +1 -1
  121. package/build/library/sdk/api/whitelabelsApi.d.ts +24 -0
  122. package/build/library/sdk/api/whitelabelsApi.js +72 -8
  123. package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
  124. package/build/library/sdk/model/getExtensionSharedStateListResponse.d.ts +14 -0
  125. package/build/library/sdk/model/getExtensionSharedStateListResponse.js +4 -0
  126. package/build/library/sdk/model/getExtensionSharedStateListResponse.js.map +1 -0
  127. package/build/library/sdk/model/models.d.ts +3 -0
  128. package/build/library/sdk/model/models.js +3 -0
  129. package/build/library/sdk/model/models.js.map +1 -1
  130. package/build/library/sdk/model/oAuthScope.d.ts +1 -1
  131. package/build/library/sdk/model/oAuthScope.js +1 -1
  132. package/build/library/sdk/model/oAuthScope.js.map +1 -1
  133. package/build/library/sdk/model/setExtensionSharedStateRequest.d.ts +13 -0
  134. package/build/library/sdk/model/setExtensionSharedStateRequest.js +4 -0
  135. package/build/library/sdk/model/setExtensionSharedStateRequest.js.map +1 -0
  136. package/build/library/sdk/model/setExtensionSharedStateResponse.d.ts +11 -0
  137. package/build/library/sdk/model/setExtensionSharedStateResponse.js +4 -0
  138. package/build/library/sdk/model/setExtensionSharedStateResponse.js.map +1 -0
  139. package/package.json +1 -1
@@ -99,6 +99,9 @@ export declare class UserApi {
99
99
  headers: {
100
100
  [name: string]: string;
101
101
  };
102
+ responseHeadersCallback?: (headers: {
103
+ [name: string]: string;
104
+ }) => void;
102
105
  }): Promise<GenericApiResponse>;
103
106
  /**
104
107
  * Accept Terms of Service.
@@ -108,6 +111,9 @@ export declare class UserApi {
108
111
  headers: {
109
112
  [name: string]: string;
110
113
  };
114
+ responseHeadersCallback?: (headers: {
115
+ [name: string]: string;
116
+ }) => void;
111
117
  }): Promise<GenericApiResponse>;
112
118
  /**
113
119
  * Activate the current user account (requires an activation code). This function is only available through a JWT token.
@@ -118,6 +124,9 @@ export declare class UserApi {
118
124
  headers: {
119
125
  [name: string]: string;
120
126
  };
127
+ responseHeadersCallback?: (headers: {
128
+ [name: string]: string;
129
+ }) => void;
121
130
  }): Promise<GenericApiResponse>;
122
131
  /**
123
132
  * Activate a user account (requires an activation code). This function is only available through a JWT token.
@@ -129,6 +138,9 @@ export declare class UserApi {
129
138
  headers: {
130
139
  [name: string]: string;
131
140
  };
141
+ responseHeadersCallback?: (headers: {
142
+ [name: string]: string;
143
+ }) => void;
132
144
  }): Promise<GenericApiResponse>;
133
145
  /**
134
146
  * Activate a user that was created by a third party. This function is only available through a JWT token.
@@ -139,6 +151,9 @@ export declare class UserApi {
139
151
  headers: {
140
152
  [name: string]: string;
141
153
  };
154
+ responseHeadersCallback?: (headers: {
155
+ [name: string]: string;
156
+ }) => void;
142
157
  }): Promise<GetJWTResponse>;
143
158
  /**
144
159
  * Change the password for the current user account. This function is only available through a JWT token.
@@ -149,6 +164,9 @@ export declare class UserApi {
149
164
  headers: {
150
165
  [name: string]: string;
151
166
  };
167
+ responseHeadersCallback?: (headers: {
168
+ [name: string]: string;
169
+ }) => void;
152
170
  }): Promise<GenericApiResponse>;
153
171
  /**
154
172
  * Change the password for a user account. This function is only available through a JWT token.
@@ -160,6 +178,9 @@ export declare class UserApi {
160
178
  headers: {
161
179
  [name: string]: string;
162
180
  };
181
+ responseHeadersCallback?: (headers: {
182
+ [name: string]: string;
183
+ }) => void;
163
184
  }): Promise<GenericApiResponse>;
164
185
  /**
165
186
  * Convert current evaluation user account to regular account.
@@ -170,6 +191,9 @@ export declare class UserApi {
170
191
  headers: {
171
192
  [name: string]: string;
172
193
  };
194
+ responseHeadersCallback?: (headers: {
195
+ [name: string]: string;
196
+ }) => void;
173
197
  }): Promise<GenericApiResponse>;
174
198
  /**
175
199
  * Create a developer profile for the current active user.
@@ -179,6 +203,9 @@ export declare class UserApi {
179
203
  headers: {
180
204
  [name: string]: string;
181
205
  };
206
+ responseHeadersCallback?: (headers: {
207
+ [name: string]: string;
208
+ }) => void;
182
209
  }): Promise<CreateDeveloperProfileResponse>;
183
210
  /**
184
211
  * Creates an enterprise trial user and a new trial organization, and redirects the user to the new organization. This API is internal (it requires some signed fields), sign up at https://studio.edgeimpulse.com/signup instead.
@@ -189,6 +216,9 @@ export declare class UserApi {
189
216
  headers: {
190
217
  [name: string]: string;
191
218
  };
219
+ responseHeadersCallback?: (headers: {
220
+ [name: string]: string;
221
+ }) => void;
192
222
  }): Promise<CreateEnterpriseTrialResponse>;
193
223
  /**
194
224
  * Create a new user for the Professional Plan and a new project. Note that the Professional plan will not be enabled until the payment is successful. This API is internal (it requires some signed fields), sign up at https://studio.edgeimpulse.com/signup instead.
@@ -199,6 +229,9 @@ export declare class UserApi {
199
229
  headers: {
200
230
  [name: string]: string;
201
231
  };
232
+ responseHeadersCallback?: (headers: {
233
+ [name: string]: string;
234
+ }) => void;
202
235
  }): Promise<CreateUserResponse>;
203
236
  /**
204
237
  * Create a new user and project. This API is no longer publicly available. Sign up at https://studio.edgeimpulse.com/signup instead.
@@ -209,6 +242,9 @@ export declare class UserApi {
209
242
  headers: {
210
243
  [name: string]: string;
211
244
  };
245
+ responseHeadersCallback?: (headers: {
246
+ [name: string]: string;
247
+ }) => void;
212
248
  }): Promise<CreateUserResponse>;
213
249
  /**
214
250
  * Delete a user. This function is only available through a JWT token, and can only remove the current user.
@@ -219,6 +255,9 @@ export declare class UserApi {
219
255
  headers: {
220
256
  [name: string]: string;
221
257
  };
258
+ responseHeadersCallback?: (headers: {
259
+ [name: string]: string;
260
+ }) => void;
222
261
  }): Promise<GenericApiResponse>;
223
262
  /**
224
263
  * Delete user profile photo. This function is only available through a JWT token.
@@ -228,6 +267,9 @@ export declare class UserApi {
228
267
  headers: {
229
268
  [name: string]: string;
230
269
  };
270
+ responseHeadersCallback?: (headers: {
271
+ [name: string]: string;
272
+ }) => void;
231
273
  }): Promise<GenericApiResponse>;
232
274
  /**
233
275
  * Delete a user. This function is only available through a JWT token, and can only remove the current user.
@@ -239,6 +281,9 @@ export declare class UserApi {
239
281
  headers: {
240
282
  [name: string]: string;
241
283
  };
284
+ responseHeadersCallback?: (headers: {
285
+ [name: string]: string;
286
+ }) => void;
242
287
  }): Promise<GenericApiResponse>;
243
288
  /**
244
289
  * Get information about the current user. This function is only available through a JWT token.
@@ -249,6 +294,9 @@ export declare class UserApi {
249
294
  headers: {
250
295
  [name: string]: string;
251
296
  };
297
+ responseHeadersCallback?: (headers: {
298
+ [name: string]: string;
299
+ }) => void;
252
300
  }): Promise<GetUserResponse>;
253
301
  /**
254
302
  * Get projects for the current user. This returns all projects regardless of whitelabel. This function is only available through a JWT token.
@@ -258,6 +306,9 @@ export declare class UserApi {
258
306
  headers: {
259
307
  [name: string]: string;
260
308
  };
309
+ responseHeadersCallback?: (headers: {
310
+ [name: string]: string;
311
+ }) => void;
261
312
  }): Promise<GetUserProjectsResponse>;
262
313
  /**
263
314
  * Get information about a user. This function is only available through a JWT token.
@@ -268,6 +319,9 @@ export declare class UserApi {
268
319
  headers: {
269
320
  [name: string]: string;
270
321
  };
322
+ responseHeadersCallback?: (headers: {
323
+ [name: string]: string;
324
+ }) => void;
271
325
  }): Promise<GetUserResponse>;
272
326
  /**
273
327
  * Get information about a user through an activation code. This function is only available through a JWT token.
@@ -278,6 +332,9 @@ export declare class UserApi {
278
332
  headers: {
279
333
  [name: string]: string;
280
334
  };
335
+ responseHeadersCallback?: (headers: {
336
+ [name: string]: string;
337
+ }) => void;
281
338
  }): Promise<GetUserResponse>;
282
339
  /**
283
340
  * Tells whether a user is registered and whether it needs to set its password.
@@ -288,6 +345,9 @@ export declare class UserApi {
288
345
  headers: {
289
346
  [name: string]: string;
290
347
  };
348
+ responseHeadersCallback?: (headers: {
349
+ [name: string]: string;
350
+ }) => void;
291
351
  }): Promise<GetUserNeedToSetPasswordResponse>;
292
352
  /**
293
353
  * Get a list of all emails sent by Edge Impulse to the current user. This function is only available through a JWT token, and is not available for all users.
@@ -297,6 +357,9 @@ export declare class UserApi {
297
357
  headers: {
298
358
  [name: string]: string;
299
359
  };
360
+ responseHeadersCallback?: (headers: {
361
+ [name: string]: string;
362
+ }) => void;
300
363
  }): Promise<ListEmailResponse>;
301
364
  /**
302
365
  * Get a list of all emails sent by Edge Impulse to a user. This function is only available through a JWT token, and is not available for all users.
@@ -307,6 +370,9 @@ export declare class UserApi {
307
370
  headers: {
308
371
  [name: string]: string;
309
372
  };
373
+ responseHeadersCallback?: (headers: {
374
+ [name: string]: string;
375
+ }) => void;
310
376
  }): Promise<ListEmailResponse>;
311
377
  /**
312
378
  * Get a list of all enterprise trials for a user. This function is only available through a JWT token.
@@ -317,6 +383,9 @@ export declare class UserApi {
317
383
  headers: {
318
384
  [name: string]: string;
319
385
  };
386
+ responseHeadersCallback?: (headers: {
387
+ [name: string]: string;
388
+ }) => void;
320
389
  }): Promise<ListEnterpriseTrialsResponse>;
321
390
  /**
322
391
  * List all organizational storage buckets that the current user has access to. This function is only available through a JWT token.
@@ -326,6 +395,9 @@ export declare class UserApi {
326
395
  headers: {
327
396
  [name: string]: string;
328
397
  };
398
+ responseHeadersCallback?: (headers: {
399
+ [name: string]: string;
400
+ }) => void;
329
401
  }): Promise<ListOrganizationBucketsUserResponse>;
330
402
  /**
331
403
  * List all organizational storage buckets that a user has access to. This function is only available through a JWT token.
@@ -336,6 +408,9 @@ export declare class UserApi {
336
408
  headers: {
337
409
  [name: string]: string;
338
410
  };
411
+ responseHeadersCallback?: (headers: {
412
+ [name: string]: string;
413
+ }) => void;
339
414
  }): Promise<ListOrganizationBucketsUserResponse>;
340
415
  /**
341
416
  * List all organizations that the current user is a member of. This function is only available through a JWT token.
@@ -345,6 +420,9 @@ export declare class UserApi {
345
420
  headers: {
346
421
  [name: string]: string;
347
422
  };
423
+ responseHeadersCallback?: (headers: {
424
+ [name: string]: string;
425
+ }) => void;
348
426
  }): Promise<ListOrganizationsResponse>;
349
427
  /**
350
428
  * List all organizations for a user. This function is only available through a JWT token.
@@ -355,6 +433,9 @@ export declare class UserApi {
355
433
  headers: {
356
434
  [name: string]: string;
357
435
  };
436
+ responseHeadersCallback?: (headers: {
437
+ [name: string]: string;
438
+ }) => void;
358
439
  }): Promise<ListOrganizationsResponse>;
359
440
  /**
360
441
  * Request a new activation code for the current user. This function is only available through a JWT token.
@@ -364,6 +445,9 @@ export declare class UserApi {
364
445
  headers: {
365
446
  [name: string]: string;
366
447
  };
448
+ responseHeadersCallback?: (headers: {
449
+ [name: string]: string;
450
+ }) => void;
367
451
  }): Promise<GenericApiResponse>;
368
452
  /**
369
453
  * Request a new activation code. This function is only available through a JWT token.
@@ -374,6 +458,9 @@ export declare class UserApi {
374
458
  headers: {
375
459
  [name: string]: string;
376
460
  };
461
+ responseHeadersCallback?: (headers: {
462
+ [name: string]: string;
463
+ }) => void;
377
464
  }): Promise<GenericApiResponse>;
378
465
  /**
379
466
  * Request a password reset link for a user.
@@ -384,6 +471,9 @@ export declare class UserApi {
384
471
  headers: {
385
472
  [name: string]: string;
386
473
  };
474
+ responseHeadersCallback?: (headers: {
475
+ [name: string]: string;
476
+ }) => void;
387
477
  }): Promise<GenericApiResponse>;
388
478
  /**
389
479
  * Reset the password for a user.
@@ -394,6 +484,9 @@ export declare class UserApi {
394
484
  headers: {
395
485
  [name: string]: string;
396
486
  };
487
+ responseHeadersCallback?: (headers: {
488
+ [name: string]: string;
489
+ }) => void;
397
490
  }): Promise<GenericApiResponse>;
398
491
  /**
399
492
  * Send feedback to Edge Impulse or get in touch with sales.
@@ -405,6 +498,9 @@ export declare class UserApi {
405
498
  headers: {
406
499
  [name: string]: string;
407
500
  };
501
+ responseHeadersCallback?: (headers: {
502
+ [name: string]: string;
503
+ }) => void;
408
504
  }): Promise<GenericApiResponse>;
409
505
  /**
410
506
  * Send an upgrade to Enterprise request to Edge Impulse.
@@ -416,6 +512,9 @@ export declare class UserApi {
416
512
  headers: {
417
513
  [name: string]: string;
418
514
  };
515
+ responseHeadersCallback?: (headers: {
516
+ [name: string]: string;
517
+ }) => void;
419
518
  }): Promise<GenericApiResponse>;
420
519
  /**
421
520
  * Set the password for a new SSO user. This function is only available through an SSO access token.
@@ -427,6 +526,9 @@ export declare class UserApi {
427
526
  headers: {
428
527
  [name: string]: string;
429
528
  };
529
+ responseHeadersCallback?: (headers: {
530
+ [name: string]: string;
531
+ }) => void;
430
532
  }): Promise<GenericApiResponse>;
431
533
  /**
432
534
  * Create an enterprise trial for the current user. Users can only go through a trial once.
@@ -437,6 +539,9 @@ export declare class UserApi {
437
539
  headers: {
438
540
  [name: string]: string;
439
541
  };
542
+ responseHeadersCallback?: (headers: {
543
+ [name: string]: string;
544
+ }) => void;
440
545
  }): Promise<CreateEnterpriseTrialResponse>;
441
546
  /**
442
547
  * Update user properties such as name. This function is only available through a JWT token.
@@ -447,6 +552,9 @@ export declare class UserApi {
447
552
  headers: {
448
553
  [name: string]: string;
449
554
  };
555
+ responseHeadersCallback?: (headers: {
556
+ [name: string]: string;
557
+ }) => void;
450
558
  }): Promise<GenericApiResponse>;
451
559
  /**
452
560
  * Update user properties such as name. This function is only available through a JWT token.
@@ -458,6 +566,9 @@ export declare class UserApi {
458
566
  headers: {
459
567
  [name: string]: string;
460
568
  };
569
+ responseHeadersCallback?: (headers: {
570
+ [name: string]: string;
571
+ }) => void;
461
572
  }): Promise<GenericApiResponse>;
462
573
  /**
463
574
  * Upload a photo for the current user. This function is only available through a JWT token.
@@ -468,6 +579,9 @@ export declare class UserApi {
468
579
  headers: {
469
580
  [name: string]: string;
470
581
  };
582
+ responseHeadersCallback?: (headers: {
583
+ [name: string]: string;
584
+ }) => void;
471
585
  }): Promise<UploadUserPhotoResponse>;
472
586
  /**
473
587
  * Upload a photo for a user. This function is only available through a JWT token, and is not available for all users.
@@ -479,6 +593,9 @@ export declare class UserApi {
479
593
  headers: {
480
594
  [name: string]: string;
481
595
  };
596
+ responseHeadersCallback?: (headers: {
597
+ [name: string]: string;
598
+ }) => void;
482
599
  }): Promise<UploadUserPhotoResponse>;
483
600
  /**
484
601
  * Cancel the current subscription.
@@ -489,6 +606,9 @@ export declare class UserApi {
489
606
  headers: {
490
607
  [name: string]: string;
491
608
  };
609
+ responseHeadersCallback?: (headers: {
610
+ [name: string]: string;
611
+ }) => void;
492
612
  }): Promise<GenericApiResponse>;
493
613
  /**
494
614
  * Disable MFA on this account using an TOTP token.
@@ -499,6 +619,9 @@ export declare class UserApi {
499
619
  headers: {
500
620
  [name: string]: string;
501
621
  };
622
+ responseHeadersCallback?: (headers: {
623
+ [name: string]: string;
624
+ }) => void;
502
625
  }): Promise<GenericApiResponse>;
503
626
  /**
504
627
  * Dismiss a notification
@@ -509,6 +632,9 @@ export declare class UserApi {
509
632
  headers: {
510
633
  [name: string]: string;
511
634
  };
635
+ responseHeadersCallback?: (headers: {
636
+ [name: string]: string;
637
+ }) => void;
512
638
  }): Promise<GenericApiResponse>;
513
639
  /**
514
640
  * Creates a new MFA key, only allowed if the user has no MFA configured. TOTP tokens use SHA-1 algorithm.
@@ -518,6 +644,9 @@ export declare class UserApi {
518
644
  headers: {
519
645
  [name: string]: string;
520
646
  };
647
+ responseHeadersCallback?: (headers: {
648
+ [name: string]: string;
649
+ }) => void;
521
650
  }): Promise<UserGenerateNewMfaKeyResponse>;
522
651
  /**
523
652
  * Get billable compute metrics for a user. This function is only available to users with an active subscription.
@@ -527,6 +656,9 @@ export declare class UserApi {
527
656
  headers: {
528
657
  [name: string]: string;
529
658
  };
659
+ responseHeadersCallback?: (headers: {
660
+ [name: string]: string;
661
+ }) => void;
530
662
  }): Promise<UserSubscriptionMetricsResponse>;
531
663
  /**
532
664
  * Enable MFA on this account using an TOTP token. First create a new key via `userGenerateNewTotpMfaKey`.
@@ -537,6 +669,9 @@ export declare class UserApi {
537
669
  headers: {
538
670
  [name: string]: string;
539
671
  };
672
+ responseHeadersCallback?: (headers: {
673
+ [name: string]: string;
674
+ }) => void;
540
675
  }): Promise<UserSetTotpMfaKeyResponse>;
541
676
  /**
542
677
  * Stop a pending cancellation. If you schedule a subscription to be canceled, and the subscription hasn\'t yet reached the end of the billing period, you can stop the cancellation. After a subscription has been canceled, you can\'t reactivate it.
@@ -546,6 +681,9 @@ export declare class UserApi {
546
681
  headers: {
547
682
  [name: string]: string;
548
683
  };
684
+ responseHeadersCallback?: (headers: {
685
+ [name: string]: string;
686
+ }) => void;
549
687
  }): Promise<GenericApiResponse>;
550
688
  /**
551
689
  * Upgrade the current subscription.
@@ -556,6 +694,9 @@ export declare class UserApi {
556
694
  headers: {
557
695
  [name: string]: string;
558
696
  };
697
+ responseHeadersCallback?: (headers: {
698
+ [name: string]: string;
699
+ }) => void;
559
700
  }): Promise<any>;
560
701
  /**
561
702
  * Verify whether the reset password code for the user is valid.
@@ -566,6 +707,9 @@ export declare class UserApi {
566
707
  headers: {
567
708
  [name: string]: string;
568
709
  };
710
+ responseHeadersCallback?: (headers: {
711
+ [name: string]: string;
712
+ }) => void;
569
713
  }): Promise<GenericApiResponse>;
570
714
  /**
571
715
  * Verify the signup approval using the provided verification code.
@@ -576,6 +720,9 @@ export declare class UserApi {
576
720
  headers: {
577
721
  [name: string]: string;
578
722
  };
723
+ responseHeadersCallback?: (headers: {
724
+ [name: string]: string;
725
+ }) => void;
579
726
  }): Promise<VerifySignupApprovalResponse>;
580
727
  }
581
728
  export {};