@bitwarden/commercial-sdk-internal 0.2.0-main.469 → 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
  /**
@@ -980,6 +980,10 @@ function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg
980
980
  wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
981
981
  }
982
982
 
983
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
984
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
985
+ }
986
+
983
987
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
984
988
  try {
985
989
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -994,10 +998,6 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
994
998
  }
995
999
  }
996
1000
 
997
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
998
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
999
- }
1000
-
1001
1001
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1002
1002
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1003
1003
  }
@@ -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_2d4ed2050451fb68 = 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_2ecd0840a56a1fc6 = 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
  };
@@ -4954,7 +4954,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4954
4954
  return ret;
4955
4955
  };
4956
4956
 
4957
- exports.__wbg_get_0cc6bb3949df4ac2 = function() { return handleError(function (arg0, arg1, arg2) {
4957
+ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4958
+ const ret = getObject(arg0)[arg1 >>> 0];
4959
+ return addHeapObject(ret);
4960
+ };
4961
+
4962
+ exports.__wbg_get_8aa8083d78eae2e2 = function() { return handleError(function (arg0, arg1, arg2) {
4958
4963
  let deferred0_0;
4959
4964
  let deferred0_1;
4960
4965
  try {
@@ -4967,7 +4972,7 @@ exports.__wbg_get_0cc6bb3949df4ac2 = function() { return handleError(function (a
4967
4972
  }
4968
4973
  }, arguments) };
4969
4974
 
4970
- exports.__wbg_get_79c4822ce7ab6745 = function() { return handleError(function (arg0, arg1, arg2) {
4975
+ exports.__wbg_get_9579fa223e0b4e56 = function() { return handleError(function (arg0, arg1, arg2) {
4971
4976
  let deferred0_0;
4972
4977
  let deferred0_1;
4973
4978
  try {
@@ -4980,12 +4985,7 @@ exports.__wbg_get_79c4822ce7ab6745 = function() { return handleError(function (a
4980
4985
  }
4981
4986
  }, arguments) };
4982
4987
 
4983
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4984
- const ret = getObject(arg0)[arg1 >>> 0];
4985
- return addHeapObject(ret);
4986
- };
4987
-
4988
- exports.__wbg_get_access_token_2d94948131a21b38 = function(arg0) {
4988
+ exports.__wbg_get_access_token_efdb6dd67bd6722e = function(arg0) {
4989
4989
  const ret = getObject(arg0).get_access_token();
4990
4990
  return addHeapObject(ret);
4991
4991
  };
@@ -5178,12 +5178,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5178
5178
  return ret;
5179
5179
  };
5180
5180
 
5181
- exports.__wbg_list_48a4957641f7fd07 = 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_5dfc70b12787e5aa = 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_50fe1edb8d8c56fb = 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_50fe1edb8d8c56fb = function() { return handleError(function
5418
5418
  }
5419
5419
  }, arguments) };
5420
5420
 
5421
- exports.__wbg_remove_a88e07af57754253 = 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 {
@@ -5456,7 +5456,16 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
5456
5456
  return addHeapObject(ret);
5457
5457
  };
5458
5458
 
5459
- exports.__wbg_set_0fbe9e381bec3aaa = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5459
+ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5460
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5461
+ };
5462
+
5463
+ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5464
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5465
+ return addHeapObject(ret);
5466
+ };
5467
+
5468
+ exports.__wbg_set_95a23f8810c8799a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5460
5469
  let deferred0_0;
5461
5470
  let deferred0_1;
5462
5471
  try {
@@ -5469,11 +5478,11 @@ exports.__wbg_set_0fbe9e381bec3aaa = function() { return handleError(function (a
5469
5478
  }
5470
5479
  }, arguments) };
5471
5480
 
5472
- exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5473
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5481
+ exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5482
+ getObject(arg0).body = getObject(arg1);
5474
5483
  };
5475
5484
 
5476
- exports.__wbg_set_7a95f793cbf6b234 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5485
+ exports.__wbg_set_c17c1b55c187229b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5477
5486
  let deferred0_0;
5478
5487
  let deferred0_1;
5479
5488
  try {
@@ -5486,15 +5495,6 @@ exports.__wbg_set_7a95f793cbf6b234 = function() { return handleError(function (a
5486
5495
  }
5487
5496
  }, arguments) };
5488
5497
 
5489
- exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5490
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5491
- return addHeapObject(ret);
5492
- };
5493
-
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
  };
@@ -518,20 +518,20 @@ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
518
518
  b: number,
519
519
  c: number,
520
520
  ) => void;
521
- export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
521
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (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;
522
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;
523
529
  export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
524
530
  a: number,
525
531
  b: number,
526
532
  c: number,
527
533
  d: number,
528
534
  ) => void;
529
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
530
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
531
- a: number,
532
- b: number,
533
- ) => void;
534
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
535
535
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
536
536
  a: number,
537
537
  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.469",
3
+ "version": "0.2.0-main.470",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",