@bitwarden/commercial-sdk-internal 0.2.0-main.491 → 0.2.0-main.492

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.
@@ -1876,6 +1876,10 @@ export interface CipherView {
1876
1876
  viewPassword: boolean;
1877
1877
  localData: LocalDataView | undefined;
1878
1878
  attachments: AttachmentView[] | undefined;
1879
+ /**
1880
+ * Attachments that failed to decrypt. Only present when there are decryption failures.
1881
+ */
1882
+ attachmentDecryptionFailures?: AttachmentView[];
1879
1883
  fields: FieldView[] | undefined;
1880
1884
  passwordHistory: PasswordHistoryView[] | undefined;
1881
1885
  creationDate: DateTime<Utc>;
@@ -999,6 +999,14 @@ export function isGetFolderError(error) {
999
999
  }
1000
1000
  }
1001
1001
 
1002
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1003
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1004
+ }
1005
+
1006
+ function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
1007
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1008
+ }
1009
+
1002
1010
  function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg1, arg2) {
1003
1011
  try {
1004
1012
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1013,14 +1021,6 @@ function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg
1013
1021
  }
1014
1022
  }
1015
1023
 
1016
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1017
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1018
- }
1019
-
1020
- function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
1021
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1022
- }
1023
-
1024
1024
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1025
1025
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1026
1026
  }
@@ -4797,7 +4797,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4797
4797
  return addHeapObject(ret);
4798
4798
  }, arguments) };
4799
4799
 
4800
- export function __wbg_cipher_a367995e78088dd2(arg0) {
4800
+ export function __wbg_cipher_2cb27ca07447f23b(arg0) {
4801
4801
  const ret = getObject(arg0).cipher;
4802
4802
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4803
4803
  };
@@ -4889,7 +4889,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4889
4889
  return addHeapObject(ret);
4890
4890
  };
4891
4891
 
4892
- export function __wbg_folder_492036bdef9a9af5(arg0) {
4892
+ export function __wbg_folder_5aba6cac3dbac019(arg0) {
4893
4893
  const ret = getObject(arg0).folder;
4894
4894
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4895
4895
  };
@@ -4921,7 +4921,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4921
4921
  return ret;
4922
4922
  };
4923
4923
 
4924
- export function __wbg_get_574d43e5b57a3a28() { return handleError(function (arg0, arg1, arg2) {
4924
+ export function __wbg_get_3b627fec8c718380() { return handleError(function (arg0, arg1, arg2) {
4925
4925
  let deferred0_0;
4926
4926
  let deferred0_1;
4927
4927
  try {
@@ -4939,7 +4939,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4939
4939
  return addHeapObject(ret);
4940
4940
  };
4941
4941
 
4942
- export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0, arg1, arg2) {
4942
+ export function __wbg_get_7cffd32402e8693e() { return handleError(function (arg0, arg1, arg2) {
4943
4943
  let deferred0_0;
4944
4944
  let deferred0_1;
4945
4945
  try {
@@ -4952,7 +4952,7 @@ export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0
4952
4952
  }
4953
4953
  }, arguments) };
4954
4954
 
4955
- export function __wbg_get_access_token_4a742389ae3d3b37(arg0) {
4955
+ export function __wbg_get_access_token_835d83fb8d75910d(arg0) {
4956
4956
  const ret = getObject(arg0).get_access_token();
4957
4957
  return addHeapObject(ret);
4958
4958
  };
@@ -5145,12 +5145,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5145
5145
  return ret;
5146
5146
  };
5147
5147
 
5148
- export function __wbg_list_7ac36537ae6e3542() { return handleError(function (arg0) {
5148
+ export function __wbg_list_4ad9aaa10a736d50() { return handleError(function (arg0) {
5149
5149
  const ret = getObject(arg0).list();
5150
5150
  return addHeapObject(ret);
5151
5151
  }, arguments) };
5152
5152
 
5153
- export function __wbg_list_c928cfeea7d03982() { return handleError(function (arg0) {
5153
+ export function __wbg_list_95fd4ad4cb09541f() { return handleError(function (arg0) {
5154
5154
  const ret = getObject(arg0).list();
5155
5155
  return addHeapObject(ret);
5156
5156
  }, arguments) };
@@ -5372,7 +5372,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5372
5372
  getObject(arg0).randomFillSync(takeObject(arg1));
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (arg0, arg1, arg2) {
5375
+ export function __wbg_remove_51da030bd3f85845() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5385,7 +5385,7 @@ export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (a
5385
5385
  }
5386
5386
  }, arguments) };
5387
5387
 
5388
- export function __wbg_remove_eae3af7425d97adc() { return handleError(function (arg0, arg1, arg2) {
5388
+ export function __wbg_remove_70e94f68821783ed() { return handleError(function (arg0, arg1, arg2) {
5389
5389
  let deferred0_0;
5390
5390
  let deferred0_1;
5391
5391
  try {
@@ -5427,7 +5427,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5427
5427
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5428
5428
  };
5429
5429
 
5430
- export function __wbg_set_6075d541d698e0e5() { return handleError(function (arg0, arg1, arg2, arg3) {
5430
+ export function __wbg_set_6101f28c5cc6333d() { return handleError(function (arg0, arg1, arg2, arg3) {
5431
5431
  let deferred0_0;
5432
5432
  let deferred0_1;
5433
5433
  try {
@@ -5445,6 +5445,19 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5445
5445
  return addHeapObject(ret);
5446
5446
  };
5447
5447
 
5448
+ export function __wbg_set_a350c645e7eb5cf7() { return handleError(function (arg0, arg1, arg2, arg3) {
5449
+ let deferred0_0;
5450
+ let deferred0_1;
5451
+ try {
5452
+ deferred0_0 = arg1;
5453
+ deferred0_1 = arg2;
5454
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5455
+ return addHeapObject(ret);
5456
+ } finally {
5457
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5458
+ }
5459
+ }, arguments) };
5460
+
5448
5461
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5449
5462
  getObject(arg0).body = getObject(arg1);
5450
5463
  };
@@ -5458,19 +5471,6 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
5458
5471
  return ret;
5459
5472
  }, arguments) };
5460
5473
 
5461
- export function __wbg_set_c42c6fd307fdf3ee() { return handleError(function (arg0, arg1, arg2, arg3) {
5462
- let deferred0_0;
5463
- let deferred0_1;
5464
- try {
5465
- deferred0_0 = arg1;
5466
- deferred0_1 = arg2;
5467
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5468
- return addHeapObject(ret);
5469
- } finally {
5470
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5471
- }
5472
- }, arguments) };
5473
-
5474
5474
  export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5475
5475
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5476
5476
  };
Binary file
@@ -514,25 +514,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
514
514
  export const vaultclient_attachments: (a: number) => number;
515
515
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
516
516
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
517
- export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
517
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
518
518
  a: number,
519
519
  b: number,
520
- c: number,
521
- d: number,
522
520
  ) => void;
523
- export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
524
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
521
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
522
+ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
525
523
  a: number,
526
524
  b: number,
525
+ c: number,
527
526
  ) => void;
528
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
529
- export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
527
+ export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
530
528
  a: number,
531
529
  b: number,
532
530
  c: number,
531
+ d: number,
533
532
  ) => void;
534
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
533
+ export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
535
534
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
536
536
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
537
537
  a: number,
538
538
  b: number,