@bitwarden/commercial-sdk-internal 0.2.0-main.490 → 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__h7e690d71e18a977f(arg0, arg1, arg2) {
1017
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1018
- }
1019
-
1020
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1021
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
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_b0c69b2f5f31e276(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_5175683e33609dc0(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_2c88a5642c430fd3() { 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 {
@@ -4934,7 +4934,12 @@ export function __wbg_get_2c88a5642c430fd3() { return handleError(function (arg0
4934
4934
  }
4935
4935
  }, arguments) };
4936
4936
 
4937
- export function __wbg_get_31ac11b0279397d1() { return handleError(function (arg0, arg1, arg2) {
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_7cffd32402e8693e() { return handleError(function (arg0, arg1, arg2) {
4938
4943
  let deferred0_0;
4939
4944
  let deferred0_1;
4940
4945
  try {
@@ -4947,12 +4952,7 @@ export function __wbg_get_31ac11b0279397d1() { return handleError(function (arg0
4947
4952
  }
4948
4953
  }, arguments) };
4949
4954
 
4950
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4951
- const ret = getObject(arg0)[arg1 >>> 0];
4952
- return addHeapObject(ret);
4953
- };
4954
-
4955
- export function __wbg_get_access_token_75427218bac1fbef(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_9bab31c86697a5b9() { 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_a85049d9dcea1d43() { 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_3968fa6404bb8e3d() { 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_3968fa6404bb8e3d() { return handleError(function (a
5385
5385
  }
5386
5386
  }, arguments) };
5387
5387
 
5388
- export function __wbg_remove_ba2264de6ff6d53c() { 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,12 +5427,25 @@ 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_6101f28c5cc6333d() { return handleError(function (arg0, arg1, arg2, arg3) {
5431
+ let deferred0_0;
5432
+ let deferred0_1;
5433
+ try {
5434
+ deferred0_0 = arg1;
5435
+ deferred0_1 = arg2;
5436
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5437
+ return addHeapObject(ret);
5438
+ } finally {
5439
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5440
+ }
5441
+ }, arguments) };
5442
+
5430
5443
  export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5431
5444
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5432
5445
  return addHeapObject(ret);
5433
5446
  };
5434
5447
 
5435
- export function __wbg_set_a65cbd97b85c4f94() { return handleError(function (arg0, arg1, arg2, arg3) {
5448
+ export function __wbg_set_a350c645e7eb5cf7() { return handleError(function (arg0, arg1, arg2, arg3) {
5436
5449
  let deferred0_0;
5437
5450
  let deferred0_1;
5438
5451
  try {
@@ -5462,19 +5475,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5462
5475
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5463
5476
  };
5464
5477
 
5465
- export function __wbg_set_d684738bc8819484() { return handleError(function (arg0, arg1, arg2, arg3) {
5466
- let deferred0_0;
5467
- let deferred0_1;
5468
- try {
5469
- deferred0_0 = arg1;
5470
- deferred0_1 = arg2;
5471
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5472
- return addHeapObject(ret);
5473
- } finally {
5474
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5475
- }
5476
- }, arguments) };
5477
-
5478
5478
  export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5479
5479
  getObject(arg0).headers = getObject(arg1);
5480
5480
  };
Binary file
@@ -514,24 +514,24 @@ 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;
521
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
524
522
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
525
523
  a: number,
526
524
  b: number,
527
525
  c: number,
528
526
  ) => void;
529
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
530
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
531
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
527
+ export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
532
528
  a: number,
533
529
  b: number,
530
+ c: number,
531
+ d: number,
534
532
  ) => void;
533
+ export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
534
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
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,