Skip to content

Commit

Permalink
Update core to version b5491a3c
Browse files Browse the repository at this point in the history
  • Loading branch information
1PasswordSDKBot committed Dec 24, 2024
1 parent 5aedbae commit daf5f48
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/onepassword/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,22 @@ async def delete(self, vault_id, item_id):
}
)

async def archive(self, vault_id, item_id):
"""
Archive an item.
"""
await _invoke(
{
"invocation": {
"clientId": self.client_id,
"parameters": {
"name": "ItemsArchive",
"parameters": {"vault_id": vault_id, "item_id": item_id},
},
}
}
)

async def list_all(self, vault_id):
"""
List all items
Expand Down
Binary file modified src/onepassword/lib/aarch64/libop_uniffi_core.dylib
Binary file not shown.
Binary file modified src/onepassword/lib/aarch64/libop_uniffi_core.so
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/libop_uniffi_core.dylib
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/libop_uniffi_core.so
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/op_uniffi_core.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions src/onepassword/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class ItemFieldType(str, Enum):
PHONE = "Phone"
URL = "Url"
TOTP = "Totp"
EMAIL = "Email"
REFERENCE = "Reference"
UNSUPPORTED = "Unsupported"


Expand Down

0 comments on commit daf5f48

Please sign in to comment.