@compassdigital/sdk.typescript 4.794.0 → 4.795.0
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/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/user.d.ts +7 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +23 -0
- package/src/interface/user.ts +12 -0
package/lib/index.js
CHANGED
|
@@ -2257,6 +2257,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2257
2257
|
get_user_secret(id, key, options) {
|
|
2258
2258
|
return this.request('user', '/user/{id}/secret/{key}', 'GET', `/user/${id}/secret/${key}`, null, options);
|
|
2259
2259
|
}
|
|
2260
|
+
/**
|
|
2261
|
+
* DELETE /user/{id}/secret/{key} - Delete a secret key
|
|
2262
|
+
*
|
|
2263
|
+
* @param id - User ID
|
|
2264
|
+
* @param key
|
|
2265
|
+
* @param options - additional request options
|
|
2266
|
+
*/
|
|
2267
|
+
delete_user_secret(id, key, options) {
|
|
2268
|
+
return this.request('user', '/user/{id}/secret/{key}', 'DELETE', `/user/${id}/secret/${key}`, null, options);
|
|
2269
|
+
}
|
|
2260
2270
|
/**
|
|
2261
2271
|
* POST /user/forgotpassword - Reset the users password
|
|
2262
2272
|
*
|