@bitwarden/commercial-sdk-internal 0.2.0-main.468 → 0.2.0-main.470

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.
@@ -379,6 +379,15 @@ export interface JitMasterPasswordRegistrationResponse {
379
379
  * Request parameters for SSO JIT master password registration.
380
380
  */
381
381
  export interface JitMasterPasswordRegistrationRequest {
382
+ /**
383
+ * Organization ID to enroll in
384
+ */
385
+ org_id: OrganizationId;
386
+ /**
387
+ * Organization\'s public key for encrypting the reset password key. This should be verified by
388
+ * the client and not verifying may compromise the security of the user\'s account.
389
+ */
390
+ org_public_key: B64;
382
391
  /**
383
392
  * Organization SSO identifier
384
393
  */
@@ -399,6 +408,10 @@ export interface JitMasterPasswordRegistrationRequest {
399
408
  * Optional hint for the master password
400
409
  */
401
410
  master_password_hint: string | undefined;
411
+ /**
412
+ * Should enroll user into admin password reset
413
+ */
414
+ reset_password_enroll: boolean;
402
415
  }
403
416
 
404
417
  /**
@@ -986,10 +986,6 @@ export function isGetFolderError(error) {
986
986
  }
987
987
  }
988
988
 
989
- function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
990
- wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
991
- }
992
-
993
989
  function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
994
990
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
995
991
  }
@@ -1008,6 +1004,10 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
1008
1004
  }
1009
1005
  }
1010
1006
 
1007
+ function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
1008
+ wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
1009
+ }
1010
+
1011
1011
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1012
1012
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1013
1013
  }
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4784
4784
  return addHeapObject(ret);
4785
4785
  }, arguments) };
4786
4786
 
4787
- export function __wbg_cipher_fe470fea985a8a6d(arg0) {
4787
+ export function __wbg_cipher_7c9dba354af24b21(arg0) {
4788
4788
  const ret = getObject(arg0).cipher;
4789
4789
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4790
4790
  };
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4876
4876
  return addHeapObject(ret);
4877
4877
  };
4878
4878
 
4879
- export function __wbg_folder_d80c0868df28ac35(arg0) {
4879
+ export function __wbg_folder_5eadc2af12436576(arg0) {
4880
4880
  const ret = getObject(arg0).folder;
4881
4881
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4882
4882
  };
@@ -4913,12 +4913,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4913
4913
  return addHeapObject(ret);
4914
4914
  };
4915
4915
 
4916
- export function __wbg_get_access_token_b0b989f9f82971d5(arg0) {
4917
- const ret = getObject(arg0).get_access_token();
4918
- return addHeapObject(ret);
4919
- };
4920
-
4921
- export function __wbg_get_b26f0d5f6940c343() { return handleError(function (arg0, arg1, arg2) {
4916
+ export function __wbg_get_8aa8083d78eae2e2() { return handleError(function (arg0, arg1, arg2) {
4922
4917
  let deferred0_0;
4923
4918
  let deferred0_1;
4924
4919
  try {
@@ -4931,7 +4926,7 @@ export function __wbg_get_b26f0d5f6940c343() { return handleError(function (arg0
4931
4926
  }
4932
4927
  }, arguments) };
4933
4928
 
4934
- export function __wbg_get_d880898a1b9a4f5e() { return handleError(function (arg0, arg1, arg2) {
4929
+ export function __wbg_get_9579fa223e0b4e56() { return handleError(function (arg0, arg1, arg2) {
4935
4930
  let deferred0_0;
4936
4931
  let deferred0_1;
4937
4932
  try {
@@ -4944,6 +4939,11 @@ export function __wbg_get_d880898a1b9a4f5e() { return handleError(function (arg0
4944
4939
  }
4945
4940
  }, arguments) };
4946
4941
 
4942
+ export function __wbg_get_access_token_efdb6dd67bd6722e(arg0) {
4943
+ const ret = getObject(arg0).get_access_token();
4944
+ return addHeapObject(ret);
4945
+ };
4946
+
4947
4947
  export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
4948
4948
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4949
4949
  return addHeapObject(ret);
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5132
5132
  return ret;
5133
5133
  };
5134
5134
 
5135
- export function __wbg_list_4e9c3edceef562a8() { return handleError(function (arg0) {
5135
+ export function __wbg_list_da9e5db18da83cf5() { return handleError(function (arg0) {
5136
5136
  const ret = getObject(arg0).list();
5137
5137
  return addHeapObject(ret);
5138
5138
  }, arguments) };
5139
5139
 
5140
- export function __wbg_list_7fd825f491677ed2() { return handleError(function (arg0) {
5140
+ export function __wbg_list_ef03d4269e4d3c46() { return handleError(function (arg0) {
5141
5141
  const ret = getObject(arg0).list();
5142
5142
  return addHeapObject(ret);
5143
5143
  }, arguments) };
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5359
5359
  getObject(arg0).randomFillSync(takeObject(arg1));
5360
5360
  }, arguments) };
5361
5361
 
5362
- export function __wbg_remove_147d80aa9f8bf196() { return handleError(function (arg0, arg1, arg2) {
5362
+ export function __wbg_remove_7fae5280a1885ff6() { return handleError(function (arg0, arg1, arg2) {
5363
5363
  let deferred0_0;
5364
5364
  let deferred0_1;
5365
5365
  try {
@@ -5372,7 +5372,7 @@ export function __wbg_remove_147d80aa9f8bf196() { return handleError(function (a
5372
5372
  }
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_6e84f229c817351b() { return handleError(function (arg0, arg1, arg2) {
5375
+ export function __wbg_remove_b043f8c01fa04007() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5419,7 +5419,7 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5419
5419
  return addHeapObject(ret);
5420
5420
  };
5421
5421
 
5422
- export function __wbg_set_967356a272c2b1cf() { return handleError(function (arg0, arg1, arg2, arg3) {
5422
+ export function __wbg_set_95a23f8810c8799a() { return handleError(function (arg0, arg1, arg2, arg3) {
5423
5423
  let deferred0_0;
5424
5424
  let deferred0_1;
5425
5425
  try {
@@ -5432,7 +5432,11 @@ export function __wbg_set_967356a272c2b1cf() { return handleError(function (arg0
5432
5432
  }
5433
5433
  }, arguments) };
5434
5434
 
5435
- export function __wbg_set_b61c2fdb462c5452() { return handleError(function (arg0, arg1, arg2, arg3) {
5435
+ export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5436
+ getObject(arg0).body = getObject(arg1);
5437
+ };
5438
+
5439
+ export function __wbg_set_c17c1b55c187229b() { return handleError(function (arg0, arg1, arg2, arg3) {
5436
5440
  let deferred0_0;
5437
5441
  let deferred0_1;
5438
5442
  try {
@@ -5445,10 +5449,6 @@ export function __wbg_set_b61c2fdb462c5452() { return handleError(function (arg0
5445
5449
  }
5446
5450
  }, arguments) };
5447
5451
 
5448
- export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5449
- getObject(arg0).body = getObject(arg1);
5450
- };
5451
-
5452
5452
  export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
5453
5453
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5454
5454
  };
Binary file
@@ -513,25 +513,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
513
513
  export const vaultclient_attachments: (a: number) => number;
514
514
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
515
515
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
516
- export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
516
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
517
517
  a: number,
518
518
  b: number,
519
- c: number,
520
519
  ) => void;
521
520
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
522
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
523
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
521
+ export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
524
522
  a: number,
525
523
  b: number,
524
+ c: number,
525
+ d: number,
526
526
  ) => void;
527
+ export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
527
528
  export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
528
- export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
529
+ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
529
530
  a: number,
530
531
  b: number,
531
532
  c: number,
532
- d: number,
533
533
  ) => void;
534
- export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
534
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
535
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
536
536
  a: number,
537
537
  b: number,