@camstack/sdk 0.1.46 → 0.1.47

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/system.d.ts CHANGED
@@ -197,6 +197,28 @@ export declare class System {
197
197
  }>;
198
198
  logout(): Promise<void>;
199
199
  getMe(): Promise<UserInfo>;
200
+ changeOwnPassword(input: {
201
+ currentPassword: string;
202
+ newPassword: string;
203
+ }): Promise<{
204
+ success: true;
205
+ }>;
206
+ setupOwnTotp(): Promise<{
207
+ secret: string;
208
+ otpauthUrl: string;
209
+ }>;
210
+ confirmOwnTotp(input: {
211
+ code: string;
212
+ }): Promise<{
213
+ success: true;
214
+ }>;
215
+ disableOwnTotp(): Promise<{
216
+ success: true;
217
+ }>;
218
+ getOwnTotpStatus(): Promise<{
219
+ enabled: boolean;
220
+ confirmedAt: number | null;
221
+ }>;
200
222
  /** Update the auth token (e.g. after login or token refresh). */
201
223
  setToken(token: string): void;
202
224
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/sdk",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",