mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
Cipher api repository and various sync operations from push notifications.
This commit is contained in:
7
src/App/Models/Api/FolderDataModel.cs
Normal file
7
src/App/Models/Api/FolderDataModel.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class FolderDataModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
10
src/App/Models/Api/Response/CipherHistoryResponse.cs
Normal file
10
src/App/Models/Api/Response/CipherHistoryResponse.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class CipherHistoryResponse
|
||||
{
|
||||
public IEnumerable<CipherResponse> Revised { get; set; }
|
||||
public IEnumerable<string> Deleted { get; set; }
|
||||
}
|
||||
}
|
||||
15
src/App/Models/Api/Response/CipherResponse.cs
Normal file
15
src/App/Models/Api/Response/CipherResponse.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Bit.App.Enums;
|
||||
using System;
|
||||
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class CipherResponse
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string FolderId { get; set; }
|
||||
public CipherType Type { get; set; }
|
||||
public bool Favorite { get; set; }
|
||||
public dynamic Data { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
}
|
||||
11
src/App/Models/Api/SiteDataModel.cs
Normal file
11
src/App/Models/Api/SiteDataModel.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class SiteDataModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Uri { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Notes { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user