@bitwarden/sdk-internal 0.2.0-main.204 → 0.2.0-main.206

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.
@@ -729,6 +729,22 @@ export type CipherListViewType =
729
729
  | "identity"
730
730
  | "sshKey";
731
731
 
732
+ /**
733
+ * Available fields on a cipher and can be copied from a the list view in the UI.
734
+ */
735
+ export type CopyableCipherFields =
736
+ | "LoginUsername"
737
+ | "LoginPassword"
738
+ | "LoginTotp"
739
+ | "CardNumber"
740
+ | "CardSecurityCode"
741
+ | "IdentityUsername"
742
+ | "IdentityEmail"
743
+ | "IdentityPhone"
744
+ | "IdentityAddress"
745
+ | "SshKey"
746
+ | "SecureNotes";
747
+
732
748
  export interface CipherListView {
733
749
  id: Uuid | undefined;
734
750
  organizationId: Uuid | undefined;
@@ -751,9 +767,18 @@ export interface CipherListView {
751
767
  * The number of attachments
752
768
  */
753
769
  attachments: number;
770
+ /**
771
+ * Indicates if the cipher has old attachments that need to be re-uploaded
772
+ */
773
+ hasOldAttachments: boolean;
754
774
  creationDate: DateTime<Utc>;
755
775
  deletedDate: DateTime<Utc> | undefined;
756
776
  revisionDate: DateTime<Utc>;
777
+ /**
778
+ * Hints for the presentation layer for which fields can be copied.
779
+ */
780
+ copyableFields: CopyableCipherFields[];
781
+ localData: LocalDataView | undefined;
757
782
  }
758
783
 
759
784
  export interface Field {
@@ -3697,18 +3697,18 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
3697
3697
  return ret;
3698
3698
  };
3699
3699
 
3700
- module.exports.__wbindgen_closure_wrapper2476 = function (arg0, arg1, arg2) {
3701
- const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_50);
3700
+ module.exports.__wbindgen_closure_wrapper2483 = function (arg0, arg1, arg2) {
3701
+ const ret = makeMutClosure(arg0, arg1, 723, __wbg_adapter_50);
3702
3702
  return addHeapObject(ret);
3703
3703
  };
3704
3704
 
3705
- module.exports.__wbindgen_closure_wrapper3315 = function (arg0, arg1, arg2) {
3706
- const ret = makeMutClosure(arg0, arg1, 801, __wbg_adapter_53);
3705
+ module.exports.__wbindgen_closure_wrapper3322 = function (arg0, arg1, arg2) {
3706
+ const ret = makeMutClosure(arg0, arg1, 807, __wbg_adapter_53);
3707
3707
  return addHeapObject(ret);
3708
3708
  };
3709
3709
 
3710
- module.exports.__wbindgen_closure_wrapper3728 = function (arg0, arg1, arg2) {
3711
- const ret = makeMutClosure(arg0, arg1, 924, __wbg_adapter_56);
3710
+ module.exports.__wbindgen_closure_wrapper3735 = function (arg0, arg1, arg2) {
3711
+ const ret = makeMutClosure(arg0, arg1, 930, __wbg_adapter_56);
3712
3712
  return addHeapObject(ret);
3713
3713
  };
3714
3714
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.204",
3
+ "version": "0.2.0-main.206",
4
4
  "license": "GPL-3.0",
5
5
  "files": [
6
6
  "bitwarden_wasm_internal_bg.js",