This commit is contained in:
Wade Wegner 2014-09-25 08:29:41 -07:00
Родитель 93fe8eba9a
Коммит 2416886e08
260 изменённых файлов: 10717 добавлений и 23145 удалений

Просмотреть файл

@ -1,2 +1,2 @@
Salesforce.OWIN.Security.Provider
Salesforce.Owin.Security.Provider
=================================

Просмотреть файл

@ -31,11 +31,13 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Owin">
<HintPath>..\packages\Microsoft.Owin.3.0.0\lib\net45\Microsoft.Owin.dll</HintPath>
<Reference Include="Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.Owin.2.1.0\lib\net45\Microsoft.Owin.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Owin.Security">
<HintPath>..\packages\Microsoft.Owin.Security.3.0.0\lib\net45\Microsoft.Owin.Security.dll</HintPath>
<Reference Include="Microsoft.Owin.Security, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.Owin.Security.2.1.0\lib\net45\Microsoft.Owin.Security.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

Просмотреть файл

@ -19,13 +19,13 @@ namespace Salesforce.Owin.Security.Provider
{
private const string XmlSchemaString = "http://www.w3.org/2001/XMLSchema#string";
private readonly ILogger logger;
private readonly HttpClient httpClient;
private readonly ILogger _logger;
private readonly HttpClient _httpClient;
public SalesforceAuthenticationHandler(HttpClient httpClient, ILogger logger)
{
this.httpClient = httpClient;
this.logger = logger;
_httpClient = httpClient;
_logger = logger;
}
protected override async Task<AuthenticationTicket> AuthenticateCoreAsync()
@ -56,7 +56,7 @@ namespace Salesforce.Owin.Security.Provider
}
// OAuth2 10.12 CSRF
if (!ValidateCorrelationId(properties, logger))
if (!ValidateCorrelationId(properties, _logger))
{
return new AuthenticationTicket(null, properties);
}
@ -76,7 +76,7 @@ namespace Salesforce.Owin.Security.Provider
var requestMessage = new HttpRequestMessage(HttpMethod.Post, Options.Endpoints.TokenEndpoint);
requestMessage.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
requestMessage.Content = new FormUrlEncodedContent(body);
HttpResponseMessage tokenResponse = await httpClient.SendAsync(requestMessage);
HttpResponseMessage tokenResponse = await _httpClient.SendAsync(requestMessage);
tokenResponse.EnsureSuccessStatusCode();
string text = await tokenResponse.Content.ReadAsStringAsync();
@ -88,7 +88,7 @@ namespace Salesforce.Owin.Security.Provider
// Get the Salesforce user using the user info endpoint, which is part of the token - response.id
HttpRequestMessage userRequest = new HttpRequestMessage(HttpMethod.Get, (string)response.id + "?access_token=" + Uri.EscapeDataString(accessToken));
userRequest.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
HttpResponseMessage userResponse = await httpClient.SendAsync(userRequest, Request.CallCancelled);
HttpResponseMessage userResponse = await _httpClient.SendAsync(userRequest, Request.CallCancelled);
userResponse.EnsureSuccessStatusCode();
text = await userResponse.Content.ReadAsStringAsync();
JObject user = JObject.Parse(text);
@ -141,7 +141,7 @@ namespace Salesforce.Owin.Security.Provider
}
catch (Exception ex)
{
logger.WriteError(ex.Message);
_logger.WriteError(ex.Message);
}
return new AuthenticationTicket(null, properties);
}
@ -217,7 +217,7 @@ namespace Salesforce.Owin.Security.Provider
AuthenticationTicket ticket = await AuthenticateAsync();
if (ticket == null)
{
logger.WriteWarning("Invalid return state, unable to redirect.");
_logger.WriteWarning("Invalid return state, unable to redirect.");
Response.StatusCode = 500;
return true;
}

Просмотреть файл

@ -13,8 +13,8 @@ namespace Salesforce.Owin.Security.Provider
{
public class SalesforceAuthenticationMiddleware : AuthenticationMiddleware<SalesforceAuthenticationOptions>
{
private readonly HttpClient httpClient;
private readonly ILogger logger;
private readonly HttpClient _httpClient;
private readonly ILogger _logger;
public SalesforceAuthenticationMiddleware(OwinMiddleware next, IAppBuilder app,
SalesforceAuthenticationOptions options)
@ -28,7 +28,7 @@ namespace Salesforce.Owin.Security.Provider
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
"The '{0}' option must be provided.", "ClientSecret"));
logger = app.CreateLogger<SalesforceAuthenticationMiddleware>();
_logger = app.CreateLogger<SalesforceAuthenticationMiddleware>();
if (Options.Provider == null)
Options.Provider = new SalesforceAuthenticationProvider();
@ -44,18 +44,18 @@ namespace Salesforce.Owin.Security.Provider
if (String.IsNullOrEmpty(Options.SignInAsAuthenticationType))
Options.SignInAsAuthenticationType = app.GetDefaultSignInAsAuthenticationType();
httpClient = new HttpClient(ResolveHttpMessageHandler(Options))
_httpClient = new HttpClient(ResolveHttpMessageHandler(Options))
{
Timeout = Options.BackchannelTimeout,
MaxResponseContentBufferSize = 1024*1024*10,
};
httpClient.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft Owin Salesforce middleware");
httpClient.DefaultRequestHeaders.ExpectContinue = false;
_httpClient.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft Owin Salesforce middleware");
_httpClient.DefaultRequestHeaders.ExpectContinue = false;
}
protected override AuthenticationHandler<SalesforceAuthenticationOptions> CreateHandler()
{
return new SalesforceAuthenticationHandler(httpClient, logger);
return new SalesforceAuthenticationHandler(_httpClient, _logger);
}
private HttpMessageHandler ResolveHttpMessageHandler(SalesforceAuthenticationOptions options)

Просмотреть файл

@ -3,8 +3,8 @@
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net451" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net451" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net451" />
<package id="Microsoft.Owin" version="3.0.0" targetFramework="net451" />
<package id="Microsoft.Owin.Security" version="3.0.0" targetFramework="net451" />
<package id="Microsoft.Owin" version="2.1.0" targetFramework="net451" />
<package id="Microsoft.Owin.Security" version="2.1.0" targetFramework="net451" />
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net451" />
<package id="Owin" version="1.0" targetFramework="net451" />
</packages>

Просмотреть файл

@ -5,7 +5,7 @@ VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Salesforce.Owin.Security.Provider", "Salesforce.Owin.Security.Provider\Salesforce.Owin.Security.Provider.csproj", "{101C0BDC-966F-4F81-A0DC-F0B18094D8D2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{5C878853-7D2D-4E21-8E54-F000AD1E6CD9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{D4889803-6CF3-4932-8301-EE08B04912C4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -17,10 +17,10 @@ Global
{101C0BDC-966F-4F81-A0DC-F0B18094D8D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{101C0BDC-966F-4F81-A0DC-F0B18094D8D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{101C0BDC-966F-4F81-A0DC-F0B18094D8D2}.Release|Any CPU.Build.0 = Release|Any CPU
{5C878853-7D2D-4E21-8E54-F000AD1E6CD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5C878853-7D2D-4E21-8E54-F000AD1E6CD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5C878853-7D2D-4E21-8E54-F000AD1E6CD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5C878853-7D2D-4E21-8E54-F000AD1E6CD9}.Release|Any CPU.Build.0 = Release|Any CPU
{D4889803-6CF3-4932-8301-EE08B04912C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D4889803-6CF3-4932-8301-EE08B04912C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D4889803-6CF3-4932-8301-EE08B04912C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D4889803-6CF3-4932-8301-EE08B04912C4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Просмотреть файл

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using Owin;
using Salesforce.Owin.Security.Provider;
namespace Web
{
public partial class Startup
{
public void ConfigureSalesforce(IAppBuilder app)
{
app.UseSalesforceAuthentication(new SalesforceAuthenticationOptions()
{
Endpoints =
new SalesforceAuthenticationOptions.
SalesforceAuthenticationEndpoints
{
AuthorizationEndpoint =
"https://login.salesforce.com/services/oauth2/authorize",
TokenEndpoint = "https://login.salesforce.com/services/oauth2/token",
},
// wade@appplatdemo.com
ClientId = "3MVG9JZ_r.QzrS7izXVWrETc3vyjzE2_4D8cVFZMzoNiravzQUQAasuoDynfkqc5yJvlfE7shOtkQm4FeZJjg",
ClientSecret = "7476749690614642061",
Provider = new SalesforceAuthenticationProvider()
{
// TODO: 1. Add this to temporarily store the access token
OnAuthenticated = async context =>
{
context.Identity.AddClaim(new Claim("urn:tokens:salesforce:accesstoken", context.AccessToken));
context.Identity.AddClaim(new Claim("urn:tokens:salesforce:refreshtoken", context.RefreshToken));
}
}
});
}
}
}

Просмотреть файл

@ -1,13 +1,10 @@
using System;
using System.Diagnostics;
using System.Security.Claims;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Owin;
using Salesforce.Owin.Security.Provider;
using Web.Models;
namespace Web
@ -67,19 +64,7 @@ namespace Web
// ClientSecret = ""
//});
app.UseSalesforceAuthentication(new SalesforceAuthenticationOptions
{
ClientId = "3MVG9xOCXq4ID1uECprHw9yA2eoc._koCdHHAJWt2__2ipMiGPtXv7EL..CfXHRT4ueepOabH4RDEPNEV8OKS",
ClientSecret = "2169173640124302241",
Provider = new SalesforceAuthenticationProvider()
{
OnAuthenticated = async context =>
{
context.Identity.AddClaim(new Claim("urn:Salesforce:accessToken", context.AccessToken));
context.Identity.AddClaim(new Claim("urn:Salesforce:refreshToken", context.RefreshToken));
}
},
});
ConfigureSalesforce(app);
}
}
}

442
src/Web/Content/bootstrap-theme.css поставляемый
Просмотреть файл

@ -1,442 +0,0 @@
/*!
* Bootstrap v3.2.0 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-default:active,
.btn-primary:active,
.btn-success:active,
.btn-info:active,
.btn-warning:active,
.btn-danger:active,
.btn-default.active,
.btn-primary.active,
.btn-success.active,
.btn-info.active,
.btn-warning.active,
.btn-danger.active {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn:active,
.btn.active {
background-image: none;
}
.btn-default {
text-shadow: 0 1px 0 #fff;
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #dbdbdb;
border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus {
background-color: #e0e0e0;
background-position: 0 -15px;
}
.btn-default:active,
.btn-default.active {
background-color: #e0e0e0;
border-color: #dbdbdb;
}
.btn-default:disabled,
.btn-default[disabled] {
background-color: #e0e0e0;
background-image: none;
}
.btn-primary {
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2));
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #2b669a;
}
.btn-primary:hover,
.btn-primary:focus {
background-color: #2d6ca2;
background-position: 0 -15px;
}
.btn-primary:active,
.btn-primary.active {
background-color: #2d6ca2;
border-color: #2b669a;
}
.btn-primary:disabled,
.btn-primary[disabled] {
background-color: #2d6ca2;
background-image: none;
}
.btn-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #3e8f3e;
}
.btn-success:hover,
.btn-success:focus {
background-color: #419641;
background-position: 0 -15px;
}
.btn-success:active,
.btn-success.active {
background-color: #419641;
border-color: #3e8f3e;
}
.btn-success:disabled,
.btn-success[disabled] {
background-color: #419641;
background-image: none;
}
.btn-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #28a4c9;
}
.btn-info:hover,
.btn-info:focus {
background-color: #2aabd2;
background-position: 0 -15px;
}
.btn-info:active,
.btn-info.active {
background-color: #2aabd2;
border-color: #28a4c9;
}
.btn-info:disabled,
.btn-info[disabled] {
background-color: #2aabd2;
background-image: none;
}
.btn-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #e38d13;
}
.btn-warning:hover,
.btn-warning:focus {
background-color: #eb9316;
background-position: 0 -15px;
}
.btn-warning:active,
.btn-warning.active {
background-color: #eb9316;
border-color: #e38d13;
}
.btn-warning:disabled,
.btn-warning[disabled] {
background-color: #eb9316;
background-image: none;
}
.btn-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #b92c28;
}
.btn-danger:hover,
.btn-danger:focus {
background-color: #c12e2a;
background-position: 0 -15px;
}
.btn-danger:active,
.btn-danger.active {
background-color: #c12e2a;
border-color: #b92c28;
}
.btn-danger:disabled,
.btn-danger[disabled] {
background-color: #c12e2a;
background-image: none;
}
.thumbnail,
.img-thumbnail {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
background-color: #357ebd;
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
background-repeat: repeat-x;
}
.navbar-default {
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.navbar-default .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
background-image: -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f3f3f3));
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
}
.navbar-brand,
.navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.navbar-inverse {
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
}
.navbar-inverse .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%);
background-image: -o-linear-gradient(top, #222 0%, #282828 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#282828));
background-image: linear-gradient(to bottom, #222 0%, #282828 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
.alert {
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}
.alert-success {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
background-repeat: repeat-x;
border-color: #b2dba1;
}
.alert-info {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
background-repeat: repeat-x;
border-color: #9acfea;
}
.alert-warning {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
background-repeat: repeat-x;
border-color: #f5e79e;
}
.alert-danger {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
background-repeat: repeat-x;
border-color: #dca7a7;
}
.progress {
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar {
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.list-group {
border-radius: 4px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
text-shadow: 0 -1px 0 #3071a9;
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3));
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
background-repeat: repeat-x;
border-color: #3278b3;
}
.panel {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.panel-default > .panel-heading {
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.panel-primary > .panel-heading {
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
background-repeat: repeat-x;
}
.panel-success > .panel-heading {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
background-repeat: repeat-x;
}
.panel-info > .panel-heading {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
background-repeat: repeat-x;
}
.panel-warning > .panel-heading {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
background-repeat: repeat-x;
}
.panel-danger > .panel-heading {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
background-repeat: repeat-x;
}
.well {
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
border-color: #dcdcdc;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
/*# sourceMappingURL=bootstrap-theme.css.map */

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

5
src/Web/Content/bootstrap-theme.min.css поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

6799
src/Web/Content/bootstrap.css поставляемый

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

23
src/Web/Content/bootstrap.min.css поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -374,8 +374,6 @@ namespace Web.Controllers
var result = await UserManager.CreateAsync(user);
if (result.Succeeded)
{
//await StoreAuthTokenClaims(user);
result = await UserManager.AddLoginAsync(user.Id, info.Login);
if (result.Succeeded)
{
@ -390,32 +388,6 @@ namespace Web.Controllers
return View(model);
}
private async Task StoreAuthTokenClaims(ApplicationUser user)
{
// Get the claims identity
ClaimsIdentity claimsIdentity =
await AuthenticationManager.GetExternalIdentityAsync(DefaultAuthenticationTypes.ExternalCookie);
if (claimsIdentity != null)
{
// Retrieve the existing claims
var currentClaims = await UserManager.GetClaimsAsync(user.Id);
// Get the list of access token related claims from the identity
var tokenClaims = claimsIdentity.Claims
.Where(c => c.Type.StartsWith("urn:tokens:"));
// Save the access token related claims
foreach (var tokenClaim in tokenClaims)
{
if (!currentClaims.Contains(tokenClaim))
{
await UserManager.AddClaimAsync(user.Id, tokenClaim);
}
}
}
}
//
// POST: /Account/LogOff
[HttpPost]

Просмотреть файл

@ -1,19 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Mvc;
using Microsoft.Owin;
namespace Web.Controllers
{
public class HomeController : Controller
{
[Authorize]
public ActionResult Index()
{
return View();
}

Просмотреть файл

@ -1,41 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AcceptedEventRelation
{
[Key]
public string Id { get; set; }
public string RelationId { get; set; }
public string EventId { get; set; }
public DateTimeOffset? RespondedDate { get; set; }
[StringLength(255)]
public string Response { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
[StringLength(50)]
public string Type { get; set; }
}
}

Просмотреть файл

@ -1,163 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Account
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string MasterRecordId { get; set; }
[StringLength(255)]
public string Name { get; set; }
public string Type { get; set; }
public string ParentId { get; set; }
public string BillingStreet { get; set; }
[StringLength(40)]
public string BillingCity { get; set; }
[StringLength(80)]
public string BillingState { get; set; }
[StringLength(20)]
public string BillingPostalCode { get; set; }
[StringLength(80)]
public string BillingCountry { get; set; }
public double? BillingLatitude { get; set; }
public double? BillingLongitude { get; set; }
public string ShippingStreet { get; set; }
[StringLength(40)]
public string ShippingCity { get; set; }
[StringLength(80)]
public string ShippingState { get; set; }
[StringLength(20)]
public string ShippingPostalCode { get; set; }
[StringLength(80)]
public string ShippingCountry { get; set; }
public double? ShippingLatitude { get; set; }
public double? ShippingLongitude { get; set; }
[Phone]
public string Phone { get; set; }
[Phone]
public string Fax { get; set; }
[StringLength(40)]
public string AccountNumber { get; set; }
[Url]
public string Website { get; set; }
[Url]
public string PhotoUrl { get; set; }
[StringLength(20)]
public string Sic { get; set; }
public string Industry { get; set; }
public double? AnnualRevenue { get; set; }
public int? NumberOfEmployees { get; set; }
public string Ownership { get; set; }
[StringLength(20)]
public string TickerSymbol { get; set; }
public string Description { get; set; }
public string Rating { get; set; }
[StringLength(80)]
public string Site { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastActivityDate { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
[StringLength(20)]
public string Jigsaw { get; set; }
[StringLength(20)]
public string JigsawCompanyId { get; set; }
public string CleanStatus { get; set; }
public string AccountSource { get; set; }
[StringLength(9)]
public string DunsNumber { get; set; }
[StringLength(255)]
public string Tradestyle { get; set; }
[StringLength(8)]
public string NaicsCode { get; set; }
[StringLength(120)]
public string NaicsDesc { get; set; }
[StringLength(4)]
public string YearStarted { get; set; }
[StringLength(80)]
public string SicDesc { get; set; }
public string DandbCompanyId { get; set; }
public string CustomerPriority__c { get; set; }
public string SLA__c { get; set; }
public string Active__c { get; set; }
public double? NumberofLocations__c { get; set; }
public string UpsellOpportunity__c { get; set; }
[StringLength(10)]
public string SLASerialNumber__c { get; set; }
public DateTimeOffset? SLAExpirationDate__c { get; set; }
}
}

Просмотреть файл

@ -1,256 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountCleanInfo
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
[StringLength(255)]
public string Name { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string AccountId { get; set; }
public DateTimeOffset LastMatchedDate { get; set; }
public DateTimeOffset? LastStatusChangedDate { get; set; }
public string LastStatusChangedById { get; set; }
public bool IsInactive { get; set; }
[StringLength(255)]
public string CompanyName { get; set; }
[Phone]
public string Phone { get; set; }
public string Street { get; set; }
[StringLength(40)]
public string City { get; set; }
[StringLength(80)]
public string State { get; set; }
[StringLength(20)]
public string PostalCode { get; set; }
[StringLength(80)]
public string Country { get; set; }
public double? Latitude { get; set; }
public double? Longitude { get; set; }
[Url]
public string Website { get; set; }
[StringLength(20)]
public string TickerSymbol { get; set; }
public double? AnnualRevenue { get; set; }
public int? NumberOfEmployees { get; set; }
public string Industry { get; set; }
public string Ownership { get; set; }
[StringLength(9)]
public string DunsNumber { get; set; }
[StringLength(20)]
public string Sic { get; set; }
[StringLength(80)]
public string SicDescription { get; set; }
[StringLength(8)]
public string NaicsCode { get; set; }
[StringLength(120)]
public string NaicsDescription { get; set; }
[StringLength(12)]
public string YearStarted { get; set; }
[Phone]
public string Fax { get; set; }
[StringLength(80)]
public string AccountSite { get; set; }
public string Description { get; set; }
[StringLength(255)]
public string Tradestyle { get; set; }
[StringLength(9)]
public string DandBCompanyDunsNumber { get; set; }
[StringLength(255)]
public string DunsRightMatchGrade { get; set; }
public int? DunsRightMatchConfidence { get; set; }
public string CompanyStatusDataDotCom { get; set; }
public bool IsReviewedCompanyName { get; set; }
public bool IsReviewedPhone { get; set; }
public bool IsReviewedAddress { get; set; }
public bool IsReviewedWebsite { get; set; }
public bool IsReviewedTickerSymbol { get; set; }
public bool IsReviewedAnnualRevenue { get; set; }
public bool IsReviewedNumberOfEmployees { get; set; }
public bool IsReviewedIndustry { get; set; }
public bool IsReviewedOwnership { get; set; }
public bool IsReviewedDunsNumber { get; set; }
public bool IsReviewedSic { get; set; }
public bool IsReviewedSicDescription { get; set; }
public bool IsReviewedNaicsCode { get; set; }
public bool IsReviewedNaicsDescription { get; set; }
public bool IsReviewedYearStarted { get; set; }
public bool IsReviewedFax { get; set; }
public bool IsReviewedAccountSite { get; set; }
public bool IsReviewedDescription { get; set; }
public bool IsReviewedTradestyle { get; set; }
public bool IsReviewedDandBCompanyDunsNumber { get; set; }
public bool IsDifferentCompanyName { get; set; }
public bool IsDifferentPhone { get; set; }
public bool IsDifferentStreet { get; set; }
public bool IsDifferentCity { get; set; }
public bool IsDifferentState { get; set; }
public bool IsDifferentPostalCode { get; set; }
public bool IsDifferentCountry { get; set; }
public bool IsDifferentWebsite { get; set; }
public bool IsDifferentTickerSymbol { get; set; }
public bool IsDifferentAnnualRevenue { get; set; }
public bool IsDifferentNumberOfEmployees { get; set; }
public bool IsDifferentIndustry { get; set; }
public bool IsDifferentOwnership { get; set; }
public bool IsDifferentDunsNumber { get; set; }
public bool IsDifferentSic { get; set; }
public bool IsDifferentSicDescription { get; set; }
public bool IsDifferentNaicsCode { get; set; }
public bool IsDifferentNaicsDescription { get; set; }
public bool IsDifferentYearStarted { get; set; }
public bool IsDifferentFax { get; set; }
public bool IsDifferentAccountSite { get; set; }
public bool IsDifferentDescription { get; set; }
public bool IsDifferentTradestyle { get; set; }
public bool IsDifferentDandBCompanyDunsNumber { get; set; }
public bool IsDifferentStateCode { get; set; }
public bool IsDifferentCountryCode { get; set; }
public bool CleanedByJob { get; set; }
public bool CleanedByUser { get; set; }
public bool IsFlaggedWrongCompanyName { get; set; }
public bool IsFlaggedWrongPhone { get; set; }
public bool IsFlaggedWrongAddress { get; set; }
public bool IsFlaggedWrongWebsite { get; set; }
public bool IsFlaggedWrongTickerSymbol { get; set; }
public bool IsFlaggedWrongAnnualRevenue { get; set; }
public bool IsFlaggedWrongNumberOfEmployees { get; set; }
public bool IsFlaggedWrongIndustry { get; set; }
public bool IsFlaggedWrongOwnership { get; set; }
public bool IsFlaggedWrongDunsNumber { get; set; }
public bool IsFlaggedWrongSic { get; set; }
public bool IsFlaggedWrongSicDescription { get; set; }
public bool IsFlaggedWrongNaicsCode { get; set; }
public bool IsFlaggedWrongNaicsDescription { get; set; }
public bool IsFlaggedWrongYearStarted { get; set; }
public bool IsFlaggedWrongFax { get; set; }
public bool IsFlaggedWrongAccountSite { get; set; }
public bool IsFlaggedWrongDescription { get; set; }
public bool IsFlaggedWrongTradestyle { get; set; }
[StringLength(20)]
public string DataDotComId { get; set; }
}
}

Просмотреть файл

@ -1,37 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountContactRole
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string AccountId { get; set; }
public string ContactId { get; set; }
public string Role { get; set; }
public bool IsPrimary { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string AccountId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,41 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountPartner
{
[Key]
public string Id { get; set; }
public string AccountFromId { get; set; }
public string AccountToId { get; set; }
public string OpportunityId { get; set; }
public string Role { get; set; }
public bool IsPrimary { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
public string ReversePartnerId { get; set; }
}
}

Просмотреть файл

@ -1,37 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AccountShare
{
[Key]
public string Id { get; set; }
public string AccountId { get; set; }
public string UserOrGroupId { get; set; }
public string AccountAccessLevel { get; set; }
public string OpportunityAccessLevel { get; set; }
public string CaseAccessLevel { get; set; }
public string ContactAccessLevel { get; set; }
public string RowCause { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,80 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ActivityHistory
{
[Key]
public string Id { get; set; }
public string AccountId { get; set; }
public string WhoId { get; set; }
public string WhatId { get; set; }
public string Subject { get; set; }
public bool IsTask { get; set; }
public DateTimeOffset? ActivityDate { get; set; }
public string OwnerId { get; set; }
public string Status { get; set; }
public string Priority { get; set; }
public string ActivityType { get; set; }
public bool IsClosed { get; set; }
public bool IsAllDayEvent { get; set; }
public bool IsVisibleInSelfService { get; set; }
public int? DurationInMinutes { get; set; }
[StringLength(80)]
public string Location { get; set; }
public string Description { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int? CallDurationInSeconds { get; set; }
public string CallType { get; set; }
[StringLength(255)]
public string CallDisposition { get; set; }
[StringLength(255)]
public string CallObject { get; set; }
public DateTimeOffset? ReminderDateTime { get; set; }
public bool IsReminderSet { get; set; }
public DateTimeOffset? EndDateTime { get; set; }
public DateTimeOffset? StartDateTime { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AdditionalNumber
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string CallCenterId { get; set; }
[StringLength(80)]
public string Name { get; set; }
[StringLength(255)]
public string Description { get; set; }
[Phone]
public string Phone { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,17 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AggregateResult
{
[Key]
public string Id { get; set; }
}
}

Просмотреть файл

@ -1,35 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Announcement
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string FeedItemId { get; set; }
public DateTimeOffset ExpirationDate { get; set; }
public string ParentId { get; set; }
}
}

Просмотреть файл

@ -1,45 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexClass
{
[Key]
public string Id { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(255)]
public string Name { get; set; }
public double ApiVersion { get; set; }
public string Status { get; set; }
public bool IsValid { get; set; }
public double? BodyCrc { get; set; }
public string Body { get; set; }
public int LengthWithoutComments { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,47 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexComponent
{
[Key]
public string Id { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(80)]
public string Name { get; set; }
public double ApiVersion { get; set; }
[StringLength(80)]
public string MasterLabel { get; set; }
public string Description { get; set; }
public string ControllerType { get; set; }
[StringLength(255)]
public string ControllerKey { get; set; }
public string Markup { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,43 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexLog
{
[Key]
public string Id { get; set; }
public string LogUserId { get; set; }
public int LogLength { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
[StringLength(16)]
public string Request { get; set; }
[StringLength(128)]
public string Operation { get; set; }
[StringLength(64)]
public string Application { get; set; }
[StringLength(255)]
public string Status { get; set; }
public int DurationMilliseconds { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset StartTime { get; set; }
public string Location { get; set; }
}
}

Просмотреть файл

@ -1,51 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexPage
{
[Key]
public string Id { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(80)]
public string Name { get; set; }
public double ApiVersion { get; set; }
[StringLength(80)]
public string MasterLabel { get; set; }
public string Description { get; set; }
public string ControllerType { get; set; }
[StringLength(255)]
public string ControllerKey { get; set; }
public bool IsAvailableInTouch { get; set; }
public bool IsConfirmationTokenRequired { get; set; }
public string Markup { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,32 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexTestQueueItem
{
[Key]
public string Id { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string ApexClassId { get; set; }
public string Status { get; set; }
[StringLength(1000)]
public string ExtendedStatus { get; set; }
public string ParentJobId { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexTestResult
{
[Key]
public string Id { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset TestTimestamp { get; set; }
public string Outcome { get; set; }
public string ApexClassId { get; set; }
[StringLength(255)]
public string MethodName { get; set; }
[StringLength(4000)]
public string Message { get; set; }
[StringLength(4000)]
public string StackTrace { get; set; }
public string AsyncApexJobId { get; set; }
public string QueueItemId { get; set; }
public string ApexLogId { get; set; }
}
}

Просмотреть файл

@ -1,63 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ApexTrigger
{
[Key]
public string Id { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(255)]
public string Name { get; set; }
public string TableEnumOrId { get; set; }
public bool UsageBeforeInsert { get; set; }
public bool UsageAfterInsert { get; set; }
public bool UsageBeforeUpdate { get; set; }
public bool UsageAfterUpdate { get; set; }
public bool UsageBeforeDelete { get; set; }
public bool UsageAfterDelete { get; set; }
public bool UsageIsBulk { get; set; }
public bool UsageAfterUndelete { get; set; }
public double ApiVersion { get; set; }
public string Status { get; set; }
public bool IsValid { get; set; }
public double? BodyCrc { get; set; }
public string Body { get; set; }
public int LengthWithoutComments { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,99 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AppMenuItem
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int SortOrder { get; set; }
[StringLength(80)]
public string Name { get; set; }
[StringLength(80)]
public string NamespacePrefix { get; set; }
[StringLength(250)]
public string Label { get; set; }
[StringLength(250)]
public string Description { get; set; }
[Url]
public string StartUrl { get; set; }
[Url]
public string MobileStartUrl { get; set; }
[Url]
public string LogoUrl { get; set; }
[Url]
public string IconUrl { get; set; }
[Url]
public string InfoUrl { get; set; }
public bool IsUsingAdminAuthorization { get; set; }
public string MobilePlatform { get; set; }
[StringLength(255)]
public string MobileMinOsVer { get; set; }
[StringLength(255)]
public string MobileDeviceType { get; set; }
public bool IsRegisteredDeviceOnly { get; set; }
[StringLength(255)]
public string MobileAppVer { get; set; }
public DateTimeOffset? MobileAppInstalledDate { get; set; }
[StringLength(255)]
public string MobileAppInstalledVersion { get; set; }
[StringLength(255)]
public string MobileAppBinaryId { get; set; }
[Url]
public string MobileAppInstallUrl { get; set; }
public bool CanvasEnabled { get; set; }
[StringLength(18)]
public string CanvasReferenceId { get; set; }
[Url]
public string CanvasUrl { get; set; }
public string CanvasAccessMethod { get; set; }
[StringLength(255)]
public string CanvasSelectedLocations { get; set; }
public string Type { get; set; }
}
}

Просмотреть файл

@ -1,41 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Approval
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ParentId { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public string Status { get; set; }
[StringLength(4000)]
public string RequestComment { get; set; }
[StringLength(4000)]
public string ApproveComment { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,57 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Asset
{
[Key]
public string Id { get; set; }
public string ContactId { get; set; }
public string AccountId { get; set; }
public string Product2Id { get; set; }
public bool IsCompetitorProduct { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
[StringLength(255)]
public string Name { get; set; }
[StringLength(80)]
public string SerialNumber { get; set; }
public DateTimeOffset? InstallDate { get; set; }
public DateTimeOffset? PurchaseDate { get; set; }
public DateTimeOffset? UsageEndDate { get; set; }
public string Status { get; set; }
public double? Price { get; set; }
public double? Quantity { get; set; }
public string Description { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AssetFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,34 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AssignmentRule
{
[Key]
public string Id { get; set; }
[StringLength(120)]
public string Name { get; set; }
public string SobjectType { get; set; }
public bool Active { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,48 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AsyncApexJob
{
[Key]
public string Id { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public string JobType { get; set; }
public string ApexClassId { get; set; }
public string Status { get; set; }
public int JobItemsProcessed { get; set; }
public int? TotalJobItems { get; set; }
public int? NumberOfErrors { get; set; }
public DateTimeOffset? CompletedDate { get; set; }
[StringLength(255)]
public string MethodName { get; set; }
[StringLength(255)]
public string ExtendedStatus { get; set; }
public string ParentJobId { get; set; }
[StringLength(15)]
public string LastProcessed { get; set; }
public int? LastProcessedOffset { get; set; }
}
}

Просмотреть файл

@ -1,39 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AttachedContentDocument
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string LinkedEntityId { get; set; }
public string ContentDocumentId { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
[StringLength(20)]
public string FileType { get; set; }
public int? ContentSize { get; set; }
}
}

Просмотреть файл

@ -1,47 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Attachment
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ParentId { get; set; }
[StringLength(255)]
public string Name { get; set; }
public bool IsPrivate { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? BodyLength { get; set; }
public byte[] Body { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string Description { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AuthProvider
{
[Key]
public string Id { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string ProviderType { get; set; }
[StringLength(32)]
public string FriendlyName { get; set; }
[StringLength(32)]
public string DeveloperName { get; set; }
public string RegistrationHandlerId { get; set; }
public string ExecutionUserId { get; set; }
[StringLength(256)]
public string ConsumerKey { get; set; }
[StringLength(100)]
public string ConsumerSecret { get; set; }
[StringLength(500)]
public string ErrorUrl { get; set; }
[Url]
public string AuthorizeUrl { get; set; }
[Url]
public string TokenUrl { get; set; }
[Url]
public string UserInfoUrl { get; set; }
[StringLength(256)]
public string DefaultScopes { get; set; }
[StringLength(1024)]
public string IdTokenIssuer { get; set; }
public bool OptionsSendAccessTokenInHeader { get; set; }
public bool OptionsSendClientCredentialsInHeader { get; set; }
}
}

Просмотреть файл

@ -1,36 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class AuthSession
{
[Key]
public string Id { get; set; }
public string UsersId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public int NumSecondsValid { get; set; }
public string UserType { get; set; }
[StringLength(39)]
public string SourceIp { get; set; }
public string LoginType { get; set; }
public string SessionType { get; set; }
public string SessionSecurityLevel { get; set; }
}
}

Просмотреть файл

@ -1,43 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class BrandTemplate
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string Name { get; set; }
[StringLength(80)]
public string DeveloperName { get; set; }
public bool IsActive { get; set; }
[StringLength(1000)]
public string Description { get; set; }
public string Value { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,64 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class BusinessHours
{
[Key]
public string Id { get; set; }
[StringLength(80)]
public string Name { get; set; }
public bool IsActive { get; set; }
public bool IsDefault { get; set; }
public DateTimeOffset? SundayStartTime { get; set; }
public DateTimeOffset? SundayEndTime { get; set; }
public DateTimeOffset? MondayStartTime { get; set; }
public DateTimeOffset? MondayEndTime { get; set; }
public DateTimeOffset? TuesdayStartTime { get; set; }
public DateTimeOffset? TuesdayEndTime { get; set; }
public DateTimeOffset? WednesdayStartTime { get; set; }
public DateTimeOffset? WednesdayEndTime { get; set; }
public DateTimeOffset? ThursdayStartTime { get; set; }
public DateTimeOffset? ThursdayEndTime { get; set; }
public DateTimeOffset? FridayStartTime { get; set; }
public DateTimeOffset? FridayEndTime { get; set; }
public DateTimeOffset? SaturdayStartTime { get; set; }
public DateTimeOffset? SaturdayEndTime { get; set; }
public string TimeZoneSidKey { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class BusinessProcess
{
[Key]
public string Id { get; set; }
[StringLength(80)]
public string Name { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(255)]
public string Description { get; set; }
public string TableEnumOrId { get; set; }
public bool IsActive { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,41 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CallCenter
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string Name { get; set; }
[StringLength(240)]
public string InternalName { get; set; }
public double? Version { get; set; }
[StringLength(2000)]
public string AdapterUrl { get; set; }
[StringLength(3000)]
public string CustomSettings { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
}
}

Просмотреть файл

@ -1,82 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Campaign
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
[StringLength(80)]
public string Name { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string Status { get; set; }
public DateTimeOffset? StartDate { get; set; }
public DateTimeOffset? EndDate { get; set; }
public double? ExpectedRevenue { get; set; }
public double? BudgetedCost { get; set; }
public double? ActualCost { get; set; }
public double? ExpectedResponse { get; set; }
public double? NumberSent { get; set; }
public bool IsActive { get; set; }
public string Description { get; set; }
public int NumberOfLeads { get; set; }
public int NumberOfConvertedLeads { get; set; }
public int NumberOfContacts { get; set; }
public int NumberOfResponses { get; set; }
public int NumberOfOpportunities { get; set; }
public int NumberOfWonOpportunities { get; set; }
public double AmountAllOpportunities { get; set; }
public double AmountWonOpportunities { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastActivityDate { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
public string CampaignMemberRecordTypeId { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CampaignFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,41 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CampaignMember
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string CampaignId { get; set; }
public string LeadId { get; set; }
public string ContactId { get; set; }
public string Status { get; set; }
public bool HasResponded { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? FirstRespondedDate { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CampaignMemberStatus
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string CampaignId { get; set; }
[StringLength(765)]
public string Label { get; set; }
public int SortOrder { get; set; }
public bool IsDefault { get; set; }
public bool HasResponded { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CampaignShare
{
[Key]
public string Id { get; set; }
public string CampaignId { get; set; }
public string UserOrGroupId { get; set; }
public string CampaignAccessLevel { get; set; }
public string RowCause { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,88 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Case
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
[StringLength(30)]
public string CaseNumber { get; set; }
public string ContactId { get; set; }
public string AccountId { get; set; }
public string AssetId { get; set; }
public string ParentId { get; set; }
[StringLength(80)]
public string SuppliedName { get; set; }
[EmailAddress]
public string SuppliedEmail { get; set; }
[StringLength(40)]
public string SuppliedPhone { get; set; }
[StringLength(80)]
public string SuppliedCompany { get; set; }
public string Type { get; set; }
public string Status { get; set; }
public string Reason { get; set; }
public string Origin { get; set; }
[StringLength(255)]
public string Subject { get; set; }
public string Priority { get; set; }
public string Description { get; set; }
public bool IsClosed { get; set; }
public DateTimeOffset? ClosedDate { get; set; }
public bool IsEscalated { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
[StringLength(12)]
public string EngineeringReqNumber__c { get; set; }
public string SLAViolation__c { get; set; }
public string Product__c { get; set; }
public string PotentialLiability__c { get; set; }
}
}

Просмотреть файл

@ -1,35 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseComment
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public bool IsPublished { get; set; }
public string CommentBody { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,35 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseContactRole
{
[Key]
public string Id { get; set; }
public string CasesId { get; set; }
public string ContactId { get; set; }
public string Role { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string CaseId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseShare
{
[Key]
public string Id { get; set; }
public string CaseId { get; set; }
public string UserOrGroupId { get; set; }
public string CaseAccessLevel { get; set; }
public string RowCause { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,29 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseSolution
{
[Key]
public string Id { get; set; }
public string CaseId { get; set; }
public string SolutionId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,36 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseStatus
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string MasterLabel { get; set; }
public int? SortOrder { get; set; }
public bool IsDefault { get; set; }
public bool IsClosed { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,35 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseTeamMember
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string MemberId { get; set; }
public string TeamTemplateMemberId { get; set; }
public string TeamRoleId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,34 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseTeamRole
{
[Key]
public string Id { get; set; }
[StringLength(80)]
public string Name { get; set; }
public string AccessLevel { get; set; }
public bool PreferencesVisibleInCSP { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,32 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseTeamTemplate
{
[Key]
public string Id { get; set; }
[StringLength(80)]
public string Name { get; set; }
public string Description { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,33 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseTeamTemplateMember
{
[Key]
public string Id { get; set; }
public string TeamTemplateId { get; set; }
public string MemberId { get; set; }
public string TeamRoleId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,27 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CaseTeamTemplateRecord
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string TeamTemplateId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,33 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CategoryData
{
[Key]
public string Id { get; set; }
public string CategoryNodeId { get; set; }
public string RelatedSobjectId { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,36 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CategoryNode
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
[StringLength(40)]
public string MasterLabel { get; set; }
public int? SortOrder { get; set; }
public string SortStyle { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ChatterActivity
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public int PostCount { get; set; }
public int CommentCount { get; set; }
public int CommentReceivedCount { get; set; }
public int LikeReceivedCount { get; set; }
public int InfluenceRawRank { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,29 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ClientBrowser
{
[Key]
public string Id { get; set; }
public string UsersId { get; set; }
[StringLength(1024)]
public string FullUserAgent { get; set; }
[StringLength(1024)]
public string ProxyInfo { get; set; }
public DateTimeOffset? LastUpdate { get; set; }
public DateTimeOffset CreatedDate { get; set; }
}
}

Просмотреть файл

@ -1,65 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CollaborationGroup
{
[Key]
public string Id { get; set; }
[StringLength(40)]
public string Name { get; set; }
public int? MemberCount { get; set; }
public string OwnerId { get; set; }
public string CollaborationType { get; set; }
public string Description { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
[Url]
public string FullPhotoUrl { get; set; }
[Url]
public string SmallPhotoUrl { get; set; }
public DateTimeOffset LastFeedModifiedDate { get; set; }
[StringLength(30)]
public string InformationTitle { get; set; }
public string InformationBody { get; set; }
public bool HasPrivateFieldsAccess { get; set; }
public bool CanHaveGuests { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
public bool IsArchived { get; set; }
public bool IsAutoArchiveDisabled { get; set; }
public string AnnouncementId { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CollaborationGroupFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,35 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CollaborationGroupMember
{
[Key]
public string Id { get; set; }
public string CollaborationGroupId { get; set; }
public string MemberId { get; set; }
public string CollaborationRole { get; set; }
public string NotificationFrequency { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,36 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CollaborationGroupMemberRequest
{
[Key]
public string Id { get; set; }
public string CollaborationGroupId { get; set; }
public string RequesterId { get; set; }
[StringLength(255)]
public string ResponseMessage { get; set; }
public string Status { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,44 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CollaborationInvitation
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string SharedEntityId { get; set; }
public string InviterId { get; set; }
[StringLength(240)]
public string InvitedUserEmail { get; set; }
[EmailAddress]
public string InvitedUserEmailNormalized { get; set; }
public string Status { get; set; }
[StringLength(255)]
public string OptionalMessage { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CombinedAttachment
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ParentId { get; set; }
[StringLength(30)]
public string RecordType { get; set; }
[StringLength(255)]
public string Title { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
[StringLength(30)]
public string FileType { get; set; }
public int? ContentSize { get; set; }
}
}

Просмотреть файл

@ -1,34 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Community
{
[Key]
public string Id { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
[StringLength(80)]
public string Name { get; set; }
public string Description { get; set; }
public bool IsActive { get; set; }
}
}

Просмотреть файл

@ -1,158 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Contact
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string MasterRecordId { get; set; }
public string AccountId { get; set; }
[StringLength(80)]
public string LastName { get; set; }
[StringLength(40)]
public string FirstName { get; set; }
public string Salutation { get; set; }
[StringLength(121)]
public string Name { get; set; }
public string OtherStreet { get; set; }
[StringLength(40)]
public string OtherCity { get; set; }
[StringLength(80)]
public string OtherState { get; set; }
[StringLength(20)]
public string OtherPostalCode { get; set; }
[StringLength(80)]
public string OtherCountry { get; set; }
public double? OtherLatitude { get; set; }
public double? OtherLongitude { get; set; }
public string MailingStreet { get; set; }
[StringLength(40)]
public string MailingCity { get; set; }
[StringLength(80)]
public string MailingState { get; set; }
[StringLength(20)]
public string MailingPostalCode { get; set; }
[StringLength(80)]
public string MailingCountry { get; set; }
public double? MailingLatitude { get; set; }
public double? MailingLongitude { get; set; }
[Phone]
public string Phone { get; set; }
[Phone]
public string Fax { get; set; }
[Phone]
public string MobilePhone { get; set; }
[Phone]
public string HomePhone { get; set; }
[Phone]
public string OtherPhone { get; set; }
[Phone]
public string AssistantPhone { get; set; }
public string ReportsToId { get; set; }
[EmailAddress]
public string Email { get; set; }
[StringLength(128)]
public string Title { get; set; }
[StringLength(80)]
public string Department { get; set; }
[StringLength(40)]
public string AssistantName { get; set; }
public string LeadSource { get; set; }
public DateTimeOffset? Birthdate { get; set; }
public string Description { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastActivityDate { get; set; }
public DateTimeOffset? LastCURequestDate { get; set; }
public DateTimeOffset? LastCUUpdateDate { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
[StringLength(255)]
public string EmailBouncedReason { get; set; }
public DateTimeOffset? EmailBouncedDate { get; set; }
public bool IsEmailBounced { get; set; }
[Url]
public string PhotoUrl { get; set; }
[StringLength(20)]
public string Jigsaw { get; set; }
[StringLength(20)]
public string JigsawContactId { get; set; }
public string CleanStatus { get; set; }
public string Level__c { get; set; }
[StringLength(100)]
public string Languages__c { get; set; }
[StringLength(20)]
public string Effectiveness__c { get; set; }
public bool Available__c { get; set; }
}
}

Просмотреть файл

@ -1,128 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContactCleanInfo
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
[StringLength(255)]
public string Name { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string ContactId { get; set; }
public DateTimeOffset LastMatchedDate { get; set; }
public DateTimeOffset? LastStatusChangedDate { get; set; }
public string LastStatusChangedById { get; set; }
public bool IsInactive { get; set; }
[StringLength(255)]
public string FirstName { get; set; }
[StringLength(255)]
public string LastName { get; set; }
[EmailAddress]
public string Email { get; set; }
[Phone]
public string Phone { get; set; }
public string Street { get; set; }
[StringLength(40)]
public string City { get; set; }
[StringLength(80)]
public string State { get; set; }
[StringLength(20)]
public string PostalCode { get; set; }
[StringLength(80)]
public string Country { get; set; }
public double? Latitude { get; set; }
public double? Longitude { get; set; }
[StringLength(128)]
public string Title { get; set; }
public string ContactStatusDataDotCom { get; set; }
public bool IsReviewedName { get; set; }
public bool IsReviewedEmail { get; set; }
public bool IsReviewedPhone { get; set; }
public bool IsReviewedAddress { get; set; }
public bool IsReviewedTitle { get; set; }
public bool IsDifferentFirstName { get; set; }
public bool IsDifferentLastName { get; set; }
public bool IsDifferentEmail { get; set; }
public bool IsDifferentPhone { get; set; }
public bool IsDifferentStreet { get; set; }
public bool IsDifferentCity { get; set; }
public bool IsDifferentState { get; set; }
public bool IsDifferentPostalCode { get; set; }
public bool IsDifferentCountry { get; set; }
public bool IsDifferentTitle { get; set; }
public bool IsDifferentStateCode { get; set; }
public bool IsDifferentCountryCode { get; set; }
public bool CleanedByJob { get; set; }
public bool CleanedByUser { get; set; }
public bool IsFlaggedWrongName { get; set; }
public bool IsFlaggedWrongEmail { get; set; }
public bool IsFlaggedWrongPhone { get; set; }
public bool IsFlaggedWrongAddress { get; set; }
public bool IsFlaggedWrongTitle { get; set; }
[StringLength(20)]
public string DataDotComId { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContactFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContactHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ContactId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContactShare
{
[Key]
public string Id { get; set; }
public string ContactId { get; set; }
public string UserOrGroupId { get; set; }
public string ContactAccessLevel { get; set; }
public string RowCause { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,50 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentDocument
{
[Key]
public string Id { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public bool IsArchived { get; set; }
public string ArchivedById { get; set; }
public DateTimeOffset? ArchivedDate { get; set; }
public bool IsDeleted { get; set; }
public string OwnerId { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string PublishStatus { get; set; }
public string LatestPublishedVersionId { get; set; }
public string ParentId { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentDocumentFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentDocumentHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ContentDocumentId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,27 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentDocumentLink
{
[Key]
public string Id { get; set; }
public string LinkedEntityId { get; set; }
public string ContentDocumentId { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string ShareType { get; set; }
}
}

Просмотреть файл

@ -1,84 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentVersion
{
[Key]
public string Id { get; set; }
public string ContentDocumentId { get; set; }
public bool IsLatest { get; set; }
[Url]
public string ContentUrl { get; set; }
[StringLength(20)]
public string VersionNumber { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Description { get; set; }
[StringLength(1000)]
public string ReasonForChange { get; set; }
[StringLength(500)]
public string PathOnClient { get; set; }
public int? RatingCount { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset? ContentModifiedDate { get; set; }
public string ContentModifiedById { get; set; }
public int? PositiveRatingCount { get; set; }
public int? NegativeRatingCount { get; set; }
public int? FeaturedContentBoost { get; set; }
public DateTimeOffset? FeaturedContentDate { get; set; }
public string OwnerId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string TagCsv { get; set; }
[StringLength(20)]
public string FileType { get; set; }
public string PublishStatus { get; set; }
public byte[] VersionData { get; set; }
public int? ContentSize { get; set; }
public string FirstPublishLocationId { get; set; }
public string Origin { get; set; }
[StringLength(50)]
public string Checksum { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentVersionHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ContentVersionId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,40 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentWorkspace
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string Name { get; set; }
public string Description { get; set; }
public string TagModel { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string DefaultRecordTypeId { get; set; }
public bool IsRestrictContentTypes { get; set; }
public bool IsRestrictLinkedContentTypes { get; set; }
}
}

Просмотреть файл

@ -1,29 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContentWorkspaceDoc
{
[Key]
public string Id { get; set; }
public string ContentWorkspaceId { get; set; }
public string ContentDocumentId { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsOwner { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,95 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Contract
{
[Key]
public string Id { get; set; }
public string AccountId { get; set; }
public string Pricebook2Id { get; set; }
public string OwnerExpirationNotice { get; set; }
public DateTimeOffset? StartDate { get; set; }
public DateTimeOffset? EndDate { get; set; }
public string BillingStreet { get; set; }
[StringLength(40)]
public string BillingCity { get; set; }
[StringLength(80)]
public string BillingState { get; set; }
[StringLength(20)]
public string BillingPostalCode { get; set; }
[StringLength(80)]
public string BillingCountry { get; set; }
public double? BillingLatitude { get; set; }
public double? BillingLongitude { get; set; }
public int? ContractTerm { get; set; }
public string OwnerId { get; set; }
public string Status { get; set; }
public string CompanySignedId { get; set; }
public DateTimeOffset? CompanySignedDate { get; set; }
public string CustomerSignedId { get; set; }
[StringLength(40)]
public string CustomerSignedTitle { get; set; }
public DateTimeOffset? CustomerSignedDate { get; set; }
public string SpecialTerms { get; set; }
public string ActivatedById { get; set; }
public DateTimeOffset? ActivatedDate { get; set; }
public string StatusCode { get; set; }
public string Description { get; set; }
public bool IsDeleted { get; set; }
[StringLength(30)]
public string ContractNumber { get; set; }
public DateTimeOffset? LastApprovedDate { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastActivityDate { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
}
}

Просмотреть файл

@ -1,37 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContractContactRole
{
[Key]
public string Id { get; set; }
public string ContractId { get; set; }
public string ContactId { get; set; }
public string Role { get; set; }
public bool IsPrimary { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public bool IsDeleted { get; set; }
}
}

Просмотреть файл

@ -1,59 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContractFeed
{
[Key]
public string Id { get; set; }
public string ParentId { get; set; }
public string Type { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public int CommentCount { get; set; }
public int LikeCount { get; set; }
[StringLength(255)]
public string Title { get; set; }
public string Body { get; set; }
[Url]
public string LinkUrl { get; set; }
public string RelatedRecordId { get; set; }
public byte[] ContentData { get; set; }
[StringLength(255)]
public string ContentFileName { get; set; }
public string ContentDescription { get; set; }
[StringLength(120)]
public string ContentType { get; set; }
public int? ContentSize { get; set; }
public string InsertedById { get; set; }
}
}

Просмотреть файл

@ -1,31 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContractHistory
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string ContractId { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string Field { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
}
}

Просмотреть файл

@ -1,36 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class ContractStatus
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string MasterLabel { get; set; }
public int? SortOrder { get; set; }
public bool IsDefault { get; set; }
public string StatusCode { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
}
}

Просмотреть файл

@ -1,22 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CronJobDetail
{
[Key]
public string Id { get; set; }
[StringLength(255)]
public string Name { get; set; }
public string JobType { get; set; }
}
}

Просмотреть файл

@ -1,45 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class CronTrigger
{
[Key]
public string Id { get; set; }
public string CronJobDetailId { get; set; }
public DateTimeOffset? NextFireTime { get; set; }
public DateTimeOffset? PreviousFireTime { get; set; }
[StringLength(16)]
public string State { get; set; }
public DateTimeOffset? StartTime { get; set; }
public DateTimeOffset? EndTime { get; set; }
[StringLength(255)]
public string CronExpression { get; set; }
public string TimeZoneSidKey { get; set; }
public string OwnerId { get; set; }
public string LastModifiedById { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public int? TimesTriggered { get; set; }
}
}

Просмотреть файл

@ -1,261 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class DandBCompany
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
[StringLength(255)]
public string Name { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
[StringLength(9)]
public string DunsNumber { get; set; }
public string Street { get; set; }
[StringLength(40)]
public string City { get; set; }
[StringLength(80)]
public string State { get; set; }
[StringLength(20)]
public string PostalCode { get; set; }
[StringLength(80)]
public string Country { get; set; }
[Phone]
public string Phone { get; set; }
[Phone]
public string Fax { get; set; }
[StringLength(4)]
public string CountryAccessCode { get; set; }
public string PublicIndicator { get; set; }
[StringLength(6)]
public string StockSymbol { get; set; }
[StringLength(16)]
public string StockExchange { get; set; }
public double? SalesVolume { get; set; }
[Url]
public string URL { get; set; }
public string OutOfBusiness { get; set; }
public double? EmployeesTotal { get; set; }
[StringLength(5)]
public string FipsMsaCode { get; set; }
[StringLength(255)]
public string FipsMsaDesc { get; set; }
[StringLength(255)]
public string TradeStyle1 { get; set; }
[StringLength(4)]
public string YearStarted { get; set; }
public string MailingStreet { get; set; }
[StringLength(40)]
public string MailingCity { get; set; }
[StringLength(80)]
public string MailingState { get; set; }
[StringLength(20)]
public string MailingPostalCode { get; set; }
[StringLength(80)]
public string MailingCountry { get; set; }
[StringLength(11)]
public string Latitude { get; set; }
[StringLength(11)]
public string Longitude { get; set; }
[StringLength(4)]
public string PrimarySic { get; set; }
[StringLength(80)]
public string PrimarySicDesc { get; set; }
[StringLength(4)]
public string SecondSic { get; set; }
[StringLength(80)]
public string SecondSicDesc { get; set; }
[StringLength(4)]
public string ThirdSic { get; set; }
[StringLength(80)]
public string ThirdSicDesc { get; set; }
[StringLength(4)]
public string FourthSic { get; set; }
[StringLength(80)]
public string FourthSicDesc { get; set; }
[StringLength(4)]
public string FifthSic { get; set; }
[StringLength(80)]
public string FifthSicDesc { get; set; }
[StringLength(4)]
public string SixthSic { get; set; }
[StringLength(80)]
public string SixthSicDesc { get; set; }
[StringLength(6)]
public string PrimaryNaics { get; set; }
[StringLength(120)]
public string PrimaryNaicsDesc { get; set; }
[StringLength(6)]
public string SecondNaics { get; set; }
[StringLength(120)]
public string SecondNaicsDesc { get; set; }
[StringLength(6)]
public string ThirdNaics { get; set; }
[StringLength(120)]
public string ThirdNaicsDesc { get; set; }
[StringLength(6)]
public string FourthNaics { get; set; }
[StringLength(120)]
public string FourthNaicsDesc { get; set; }
[StringLength(6)]
public string FifthNaics { get; set; }
[StringLength(120)]
public string FifthNaicsDesc { get; set; }
[StringLength(6)]
public string SixthNaics { get; set; }
[StringLength(120)]
public string SixthNaicsDesc { get; set; }
public string OwnOrRent { get; set; }
public double? EmployeesHere { get; set; }
public string EmployeesHereReliability { get; set; }
public string SalesVolumeReliability { get; set; }
public string CurrencyCode { get; set; }
public string LegalStatus { get; set; }
public double? GlobalUltimateTotalEmployees { get; set; }
public string EmployeesTotalReliability { get; set; }
public string MinorityOwned { get; set; }
public string WomenOwned { get; set; }
public string SmallBusiness { get; set; }
public string MarketingSegmentationCluster { get; set; }
public string ImportExportAgent { get; set; }
public string Subsidiary { get; set; }
[StringLength(255)]
public string TradeStyle2 { get; set; }
[StringLength(255)]
public string TradeStyle3 { get; set; }
[StringLength(255)]
public string TradeStyle4 { get; set; }
[StringLength(255)]
public string TradeStyle5 { get; set; }
[StringLength(255)]
public string NationalId { get; set; }
public string NationalIdType { get; set; }
[StringLength(9)]
public string UsTaxId { get; set; }
public string GeoCodeAccuracy { get; set; }
public int? FamilyMembers { get; set; }
public string MarketingPreScreen { get; set; }
[StringLength(9)]
public string GlobalUltimateDunsNumber { get; set; }
[StringLength(255)]
public string GlobalUltimateBusinessName { get; set; }
[StringLength(9)]
public string ParentOrHqDunsNumber { get; set; }
[StringLength(255)]
public string ParentOrHqBusinessName { get; set; }
[StringLength(9)]
public string DomesticUltimateDunsNumber { get; set; }
[StringLength(255)]
public string DomesticUltimateBusinessName { get; set; }
public string LocationStatus { get; set; }
public string CompanyCurrencyIsoCode { get; set; }
public string Description { get; set; }
}
}

Просмотреть файл

@ -1,69 +0,0 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Web.Models.Salesforce
{
public class Dashboard
{
[Key]
public string Id { get; set; }
public bool IsDeleted { get; set; }
public string FolderId { get; set; }
[StringLength(80)]
public string Title { get; set; }
[StringLength(80)]
public string DeveloperName { get; set; }
[StringLength(15)]
public string NamespacePrefix { get; set; }
[StringLength(255)]
public string Description { get; set; }
public string LeftSize { get; set; }
public string MiddleSize { get; set; }
public string RightSize { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public string CreatedById { get; set; }
public DateTimeOffset LastModifiedDate { get; set; }
public string LastModifiedById { get; set; }
public DateTimeOffset SystemModstamp { get; set; }
public string RunningUserId { get; set; }
public int TitleColor { get; set; }
public int TitleSize { get; set; }
public int TextColor { get; set; }
public int BackgroundStart { get; set; }
public int BackgroundEnd { get; set; }
public string BackgroundDirection { get; set; }
public string Type { get; set; }
public DateTimeOffset? LastViewedDate { get; set; }
public DateTimeOffset? LastReferencedDate { get; set; }
}
}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше