@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
  /**
@@ -976,14 +976,14 @@ exports.isGetFolderError = function(error) {
976
976
  }
977
977
  };
978
978
 
979
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
980
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
981
- }
982
-
983
979
  function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
984
980
  wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
985
981
  }
986
982
 
983
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
984
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
985
+ }
986
+
987
987
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
988
988
  try {
989
989
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -4830,7 +4830,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4830
4830
  return addHeapObject(ret);
4831
4831
  }, arguments) };
4832
4832
 
4833
- exports.__wbg_cipher_fe470fea985a8a6d = function(arg0) {
4833
+ exports.__wbg_cipher_7c9dba354af24b21 = function(arg0) {
4834
4834
  const ret = getObject(arg0).cipher;
4835
4835
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4836
4836
  };
@@ -4922,7 +4922,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4922
4922
  return addHeapObject(ret);
4923
4923
  };
4924
4924
 
4925
- exports.__wbg_folder_d80c0868df28ac35 = function(arg0) {
4925
+ exports.__wbg_folder_5eadc2af12436576 = function(arg0) {
4926
4926
  const ret = getObject(arg0).folder;
4927
4927
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4928
4928
  };
@@ -4959,12 +4959,7 @@ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4959
4959
  return addHeapObject(ret);
4960
4960
  };
4961
4961
 
4962
- exports.__wbg_get_access_token_b0b989f9f82971d5 = function(arg0) {
4963
- const ret = getObject(arg0).get_access_token();
4964
- return addHeapObject(ret);
4965
- };
4966
-
4967
- exports.__wbg_get_b26f0d5f6940c343 = function() { return handleError(function (arg0, arg1, arg2) {
4962
+ exports.__wbg_get_8aa8083d78eae2e2 = function() { return handleError(function (arg0, arg1, arg2) {
4968
4963
  let deferred0_0;
4969
4964
  let deferred0_1;
4970
4965
  try {
@@ -4977,7 +4972,7 @@ exports.__wbg_get_b26f0d5f6940c343 = function() { return handleError(function (a
4977
4972
  }
4978
4973
  }, arguments) };
4979
4974
 
4980
- exports.__wbg_get_d880898a1b9a4f5e = function() { return handleError(function (arg0, arg1, arg2) {
4975
+ exports.__wbg_get_9579fa223e0b4e56 = function() { return handleError(function (arg0, arg1, arg2) {
4981
4976
  let deferred0_0;
4982
4977
  let deferred0_1;
4983
4978
  try {
@@ -4990,6 +4985,11 @@ exports.__wbg_get_d880898a1b9a4f5e = function() { return handleError(function (a
4990
4985
  }
4991
4986
  }, arguments) };
4992
4987
 
4988
+ exports.__wbg_get_access_token_efdb6dd67bd6722e = function(arg0) {
4989
+ const ret = getObject(arg0).get_access_token();
4990
+ return addHeapObject(ret);
4991
+ };
4992
+
4993
4993
  exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
4994
4994
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4995
4995
  return addHeapObject(ret);
@@ -5178,12 +5178,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5178
5178
  return ret;
5179
5179
  };
5180
5180
 
5181
- exports.__wbg_list_4e9c3edceef562a8 = function() { return handleError(function (arg0) {
5181
+ exports.__wbg_list_da9e5db18da83cf5 = function() { return handleError(function (arg0) {
5182
5182
  const ret = getObject(arg0).list();
5183
5183
  return addHeapObject(ret);
5184
5184
  }, arguments) };
5185
5185
 
5186
- exports.__wbg_list_7fd825f491677ed2 = function() { return handleError(function (arg0) {
5186
+ exports.__wbg_list_ef03d4269e4d3c46 = function() { return handleError(function (arg0) {
5187
5187
  const ret = getObject(arg0).list();
5188
5188
  return addHeapObject(ret);
5189
5189
  }, arguments) };
@@ -5405,7 +5405,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5405
5405
  getObject(arg0).randomFillSync(takeObject(arg1));
5406
5406
  }, arguments) };
5407
5407
 
5408
- exports.__wbg_remove_147d80aa9f8bf196 = function() { return handleError(function (arg0, arg1, arg2) {
5408
+ exports.__wbg_remove_7fae5280a1885ff6 = function() { return handleError(function (arg0, arg1, arg2) {
5409
5409
  let deferred0_0;
5410
5410
  let deferred0_1;
5411
5411
  try {
@@ -5418,7 +5418,7 @@ exports.__wbg_remove_147d80aa9f8bf196 = function() { return handleError(function
5418
5418
  }
5419
5419
  }, arguments) };
5420
5420
 
5421
- exports.__wbg_remove_6e84f229c817351b = function() { return handleError(function (arg0, arg1, arg2) {
5421
+ exports.__wbg_remove_b043f8c01fa04007 = function() { return handleError(function (arg0, arg1, arg2) {
5422
5422
  let deferred0_0;
5423
5423
  let deferred0_1;
5424
5424
  try {
@@ -5465,7 +5465,7 @@ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5465
5465
  return addHeapObject(ret);
5466
5466
  };
5467
5467
 
5468
- exports.__wbg_set_967356a272c2b1cf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5468
+ exports.__wbg_set_95a23f8810c8799a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5469
5469
  let deferred0_0;
5470
5470
  let deferred0_1;
5471
5471
  try {
@@ -5478,7 +5478,11 @@ exports.__wbg_set_967356a272c2b1cf = function() { return handleError(function (a
5478
5478
  }
5479
5479
  }, arguments) };
5480
5480
 
5481
- exports.__wbg_set_b61c2fdb462c5452 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5481
+ exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5482
+ getObject(arg0).body = getObject(arg1);
5483
+ };
5484
+
5485
+ exports.__wbg_set_c17c1b55c187229b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5482
5486
  let deferred0_0;
5483
5487
  let deferred0_1;
5484
5488
  try {
@@ -5491,10 +5495,6 @@ exports.__wbg_set_b61c2fdb462c5452 = function() { return handleError(function (a
5491
5495
  }
5492
5496
  }, arguments) };
5493
5497
 
5494
- exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5495
- getObject(arg0).body = getObject(arg1);
5496
- };
5497
-
5498
5498
  exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
5499
5499
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5500
5500
  };
@@ -513,19 +513,19 @@ 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__ha638740cca0ef77d: (
517
- a: number,
518
- b: number,
519
- ) => void;
520
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
521
516
  export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
522
517
  a: number,
523
518
  b: number,
524
519
  c: number,
525
520
  ) => void;
526
521
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
527
- export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
522
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
523
+ a: number,
524
+ b: number,
525
+ ) => void;
526
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
528
527
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
528
+ export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
529
529
  export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
530
530
  a: number,
531
531
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/commercial-sdk-internal",
3
- "version": "0.2.0-main.468",
3
+ "version": "0.2.0-main.470",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",