@bitwarden/sdk-internal 0.2.0-main.205 → 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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2ff1ec13519f7ada8f8efba35915ca01fed2c54d
1
+ f52e4eb173e0704e01005d286b3e9004f6e9e2ae
@@ -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 {
@@ -3688,18 +3688,18 @@ export function __wbindgen_cb_drop(arg0) {
3688
3688
  return ret;
3689
3689
  }
3690
3690
 
3691
- export function __wbindgen_closure_wrapper2476(arg0, arg1, arg2) {
3692
- const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_50);
3691
+ export function __wbindgen_closure_wrapper2483(arg0, arg1, arg2) {
3692
+ const ret = makeMutClosure(arg0, arg1, 723, __wbg_adapter_50);
3693
3693
  return addHeapObject(ret);
3694
3694
  }
3695
3695
 
3696
- export function __wbindgen_closure_wrapper3315(arg0, arg1, arg2) {
3697
- const ret = makeMutClosure(arg0, arg1, 801, __wbg_adapter_53);
3696
+ export function __wbindgen_closure_wrapper3322(arg0, arg1, arg2) {
3697
+ const ret = makeMutClosure(arg0, arg1, 807, __wbg_adapter_53);
3698
3698
  return addHeapObject(ret);
3699
3699
  }
3700
3700
 
3701
- export function __wbindgen_closure_wrapper3728(arg0, arg1, arg2) {
3702
- const ret = makeMutClosure(arg0, arg1, 924, __wbg_adapter_56);
3701
+ export function __wbindgen_closure_wrapper3735(arg0, arg1, arg2) {
3702
+ const ret = makeMutClosure(arg0, arg1, 930, __wbg_adapter_56);
3703
3703
  return addHeapObject(ret);
3704
3704
  }
3705
3705
 
Binary file