@bitwarden/sdk-internal 0.2.0-main.33 → 0.2.0-main.34

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.
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * @param {KeyAlgorithm} key_algorithm
5
- * @returns {GenerateSshKeyResult}
6
- */
7
3
  export function generate_ssh_key(key_algorithm: KeyAlgorithm): GenerateSshKeyResult;
8
4
  export enum LogLevel {
9
5
  Trace = 0,
@@ -219,71 +215,44 @@ export type NonZeroU32 = number;
219
215
 
220
216
  export class BitwardenClient {
221
217
  free(): void;
222
- /**
223
- * @param {ClientSettings | undefined} [settings]
224
- * @param {LogLevel | undefined} [log_level]
225
- */
226
218
  constructor(settings?: ClientSettings, log_level?: LogLevel);
227
219
  /**
228
220
  * Test method, echoes back the input
229
- * @param {string} msg
230
- * @returns {string}
231
221
  */
232
222
  echo(msg: string): string;
233
- /**
234
- * @returns {string}
235
- */
236
223
  version(): string;
237
- /**
238
- * @param {string} msg
239
- * @returns {Promise<void>}
240
- */
241
224
  throw(msg: string): Promise<void>;
242
225
  /**
243
226
  * Test method, calls http endpoint
244
- * @param {string} url
245
- * @returns {Promise<string>}
246
227
  */
247
228
  http_get(url: string): Promise<string>;
248
- /**
249
- * @returns {ClientCrypto}
250
- */
251
229
  crypto(): ClientCrypto;
252
- /**
253
- * @returns {ClientVault}
254
- */
255
230
  vault(): ClientVault;
256
231
  }
257
232
  export class ClientCrypto {
233
+ private constructor();
258
234
  free(): void;
259
235
  /**
260
236
  * Initialization method for the user crypto. Needs to be called before any other crypto
261
237
  * operations.
262
- * @param {InitUserCryptoRequest} req
263
- * @returns {Promise<void>}
264
238
  */
265
239
  initialize_user_crypto(req: InitUserCryptoRequest): Promise<void>;
266
240
  /**
267
241
  * Initialization method for the organization crypto. Needs to be called after
268
242
  * `initialize_user_crypto` but before any other crypto operations.
269
- * @param {InitOrgCryptoRequest} req
270
- * @returns {Promise<void>}
271
243
  */
272
244
  initialize_org_crypto(req: InitOrgCryptoRequest): Promise<void>;
273
245
  }
274
246
  export class ClientFolders {
247
+ private constructor();
275
248
  free(): void;
276
249
  /**
277
250
  * Decrypt folder
278
- * @param {Folder} folder
279
- * @returns {FolderView}
280
251
  */
281
252
  decrypt(folder: Folder): FolderView;
282
253
  }
283
254
  export class ClientVault {
255
+ private constructor();
284
256
  free(): void;
285
- /**
286
- * @returns {ClientFolders}
287
- */
288
257
  folders(): ClientFolders;
289
258
  }