@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
  /**
@@ -990,10 +990,6 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
990
990
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
991
991
  }
992
992
 
993
- function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
994
- wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
995
- }
996
-
997
993
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
998
994
  try {
999
995
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -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_2d4ed2050451fb68(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_2ecd0840a56a1fc6(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
  };
@@ -4908,7 +4908,12 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4908
4908
  return ret;
4909
4909
  };
4910
4910
 
4911
- export function __wbg_get_0cc6bb3949df4ac2() { return handleError(function (arg0, arg1, arg2) {
4911
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4912
+ const ret = getObject(arg0)[arg1 >>> 0];
4913
+ return addHeapObject(ret);
4914
+ };
4915
+
4916
+ export function __wbg_get_8aa8083d78eae2e2() { return handleError(function (arg0, arg1, arg2) {
4912
4917
  let deferred0_0;
4913
4918
  let deferred0_1;
4914
4919
  try {
@@ -4921,7 +4926,7 @@ export function __wbg_get_0cc6bb3949df4ac2() { return handleError(function (arg0
4921
4926
  }
4922
4927
  }, arguments) };
4923
4928
 
4924
- export function __wbg_get_79c4822ce7ab6745() { return handleError(function (arg0, arg1, arg2) {
4929
+ export function __wbg_get_9579fa223e0b4e56() { return handleError(function (arg0, arg1, arg2) {
4925
4930
  let deferred0_0;
4926
4931
  let deferred0_1;
4927
4932
  try {
@@ -4934,12 +4939,7 @@ export function __wbg_get_79c4822ce7ab6745() { return handleError(function (arg0
4934
4939
  }
4935
4940
  }, arguments) };
4936
4941
 
4937
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4938
- const ret = getObject(arg0)[arg1 >>> 0];
4939
- return addHeapObject(ret);
4940
- };
4941
-
4942
- export function __wbg_get_access_token_2d94948131a21b38(arg0) {
4942
+ export function __wbg_get_access_token_efdb6dd67bd6722e(arg0) {
4943
4943
  const ret = getObject(arg0).get_access_token();
4944
4944
  return addHeapObject(ret);
4945
4945
  };
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5132
5132
  return ret;
5133
5133
  };
5134
5134
 
5135
- export function __wbg_list_48a4957641f7fd07() { 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_5dfc70b12787e5aa() { 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_50fe1edb8d8c56fb() { 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_50fe1edb8d8c56fb() { return handleError(function (a
5372
5372
  }
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_a88e07af57754253() { 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 {
@@ -5410,7 +5410,16 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5410
5410
  return addHeapObject(ret);
5411
5411
  };
5412
5412
 
5413
- export function __wbg_set_0fbe9e381bec3aaa() { return handleError(function (arg0, arg1, arg2, arg3) {
5413
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5414
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5415
+ };
5416
+
5417
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5418
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5419
+ return addHeapObject(ret);
5420
+ };
5421
+
5422
+ export function __wbg_set_95a23f8810c8799a() { return handleError(function (arg0, arg1, arg2, arg3) {
5414
5423
  let deferred0_0;
5415
5424
  let deferred0_1;
5416
5425
  try {
@@ -5423,11 +5432,11 @@ export function __wbg_set_0fbe9e381bec3aaa() { return handleError(function (arg0
5423
5432
  }
5424
5433
  }, arguments) };
5425
5434
 
5426
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5427
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5435
+ export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5436
+ getObject(arg0).body = getObject(arg1);
5428
5437
  };
5429
5438
 
5430
- export function __wbg_set_7a95f793cbf6b234() { return handleError(function (arg0, arg1, arg2, arg3) {
5439
+ export function __wbg_set_c17c1b55c187229b() { return handleError(function (arg0, arg1, arg2, arg3) {
5431
5440
  let deferred0_0;
5432
5441
  let deferred0_1;
5433
5442
  try {
@@ -5440,15 +5449,6 @@ export function __wbg_set_7a95f793cbf6b234() { return handleError(function (arg0
5440
5449
  }
5441
5450
  }, arguments) };
5442
5451
 
5443
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5444
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5445
- return addHeapObject(ret);
5446
- };
5447
-
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
@@ -517,21 +517,21 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
517
517
  a: number,
518
518
  b: number,
519
519
  ) => void;
520
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
521
- export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
520
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
521
+ export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
522
522
  a: number,
523
523
  b: number,
524
524
  c: number,
525
+ d: number,
525
526
  ) => void;
526
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
527
527
  export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
528
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
529
- export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
528
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
529
+ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
530
530
  a: number,
531
531
  b: number,
532
532
  c: number,
533
- d: number,
534
533
  ) => 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,