2021-01-10 18:16:20 +00:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
2021-01-12 05:46:24 +00:00
|
|
|
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
2021-01-10 18:16:20 +00:00
|
|
|
"github.com/go-openapi/runtime"
|
|
|
|
)
|
|
|
|
|
2021-01-14 06:36:35 +00:00
|
|
|
// UserChannelWrapper wraps the object with workflow params
|
2021-01-12 05:46:24 +00:00
|
|
|
type UserChannelWrapper struct {
|
|
|
|
Obj devops_models.User
|
|
|
|
Principal User
|
2021-01-13 05:30:35 +00:00
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 23:44:39 +00:00
|
|
|
// User is a first class object type
|
2021-01-10 18:16:20 +00:00
|
|
|
type User struct {
|
|
|
|
ID string
|
|
|
|
AboutMe string
|
|
|
|
AccountID string
|
|
|
|
Address *Address
|
|
|
|
Alias string
|
|
|
|
APIKey string
|
|
|
|
Auth runtime.ClientAuthInfoWriter
|
|
|
|
Auth0UserID string
|
|
|
|
CommunityNickname string
|
|
|
|
CompanyName string
|
|
|
|
ContactID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate string
|
|
|
|
DelegatedApproverID string
|
|
|
|
Department string
|
|
|
|
Division string
|
|
|
|
Email string
|
|
|
|
EmployeeNumber string
|
|
|
|
EndOfDay string
|
|
|
|
Environment string
|
|
|
|
Extension string
|
|
|
|
FabricAPIKey string
|
|
|
|
Fax string
|
|
|
|
FirstName string
|
|
|
|
ForecastEnabled bool
|
|
|
|
FullPhotoURL string
|
|
|
|
IsActive bool
|
|
|
|
IsPortalEnabled bool
|
|
|
|
IsProfilePhotoActive bool
|
|
|
|
IsSystemControlled bool
|
|
|
|
LastIP string
|
|
|
|
LastLogin string
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate string
|
|
|
|
LastName string
|
|
|
|
LoginCount int64
|
|
|
|
ManagerID string
|
|
|
|
MobilePhone string
|
|
|
|
Name string
|
|
|
|
OutOfOfficeMessage string
|
|
|
|
Phone string
|
|
|
|
PortalRole string
|
|
|
|
ProfileID string
|
|
|
|
ReceivesAdminEmails bool
|
|
|
|
ReceivesAdminInfoEmails bool
|
|
|
|
ReceivesInfoEmails bool
|
|
|
|
SenderEmail string
|
|
|
|
SenderName string
|
|
|
|
Signature string
|
|
|
|
SmallPhotoURL string
|
|
|
|
StartOfDay string
|
|
|
|
TaxnexusAccount string
|
|
|
|
TenantID string
|
|
|
|
TenantUsers []*TenantUser
|
|
|
|
TimeZone string
|
|
|
|
Title string
|
|
|
|
Username string
|
|
|
|
UserRoles []*UserRole
|
|
|
|
UserRoleID string
|
|
|
|
UserType string
|
|
|
|
}
|