mirror of
https://github.com/bitwarden/server.git
synced 2025-04-29 00:32:18 -05:00

* [EC-584] Removed ListResponseModel from OrganizationExportResponseModel properties * [EC-584] Added backwards compatibility for client version 2022.9.0 * [EC-584] Added property 'ClientVersion' to ICurrentContext * [EC-584] Added backwards compatibility for version 2022.10.0 * [EC-584] Change ICurrentContext.ClientVersion from string to Version * [EC-584] Remove check for versions before 2022.9.0 because they do not use this endpoint
23 lines
675 B
C#
23 lines
675 B
C#
using Bit.Core.Models.Api;
|
|
|
|
namespace Bit.Api.Models.Response;
|
|
|
|
public class OrganizationExportResponseModel : ResponseModel
|
|
{
|
|
public OrganizationExportResponseModel() : base("organizationExport")
|
|
{
|
|
}
|
|
|
|
public IEnumerable<CollectionResponseModel> Collections { get; set; }
|
|
|
|
public IEnumerable<CipherMiniDetailsResponseModel> Ciphers { get; set; }
|
|
}
|
|
|
|
[Obsolete("This version is for backwards compatibility for client version 2022.9.0")]
|
|
public class OrganizationExportListResponseModel
|
|
{
|
|
public ListResponseModel<CollectionResponseModel> Collections { get; set; }
|
|
|
|
public ListResponseModel<CipherMiniDetailsResponseModel> Ciphers { get; set; }
|
|
}
|