@mitumba/sdk 1.21.0 → 1.22.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/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1100,6 +1100,12 @@ var SettingsModule = class {
|
|
|
1100
1100
|
async disable2FA(code, options) {
|
|
1101
1101
|
return this.client.post("/auth/2fa/disable", { code }, options);
|
|
1102
1102
|
}
|
|
1103
|
+
async enable2FA(code, options) {
|
|
1104
|
+
return this.client.post("/auth/2fa/enable", { code }, options);
|
|
1105
|
+
}
|
|
1106
|
+
async delete2FA(code, options) {
|
|
1107
|
+
return this.client.delete("/auth/2fa", { code }, options);
|
|
1108
|
+
}
|
|
1103
1109
|
};
|
|
1104
1110
|
|
|
1105
1111
|
// src/modules/mailer.ts
|