parent
678e0607e3
commit
5ab9063400
|
@ -1,6 +1,19 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// NewAccountActivity is an activity identifier
|
||||
const NewAccountActivity = "NEW_ACCOUNT_ACTIVITY"
|
||||
|
||||
// AccountChannelWrapper wraps the object with the security principal
|
||||
type AccountChannelWrapper struct {
|
||||
Obj crm_models.Account
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Account is a DB struct
|
||||
type Account struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRuleChannelWrapper wraps the object with the security principal
|
||||
type AccountingRuleChannelWrapper struct {
|
||||
Obj ledger_models.AccountingRule
|
||||
Principal User
|
||||
}
|
||||
|
||||
// AccountingRule is a first class object type
|
||||
type AccountingRule struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRulesetChannelWrapper wraps the object with the security principal
|
||||
type AccountingRulesetChannelWrapper struct {
|
||||
Obj ledger_models.AccountingRuleset
|
||||
Principal User
|
||||
}
|
||||
|
||||
// AccountingRuleset is exported
|
||||
type AccountingRuleset struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRulesetItemChannelWrapper wraps the object with the security principal
|
||||
type AccountingRulesetItemChannelWrapper struct {
|
||||
Obj ledger_models.AccountingRulesetItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// AccountingRulesetItem is a first class object type
|
||||
type AccountingRulesetItem struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// BackendChannelWrapper wraps the object with the security principal
|
||||
type BackendChannelWrapper struct {
|
||||
Obj regs_models.Backend
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Backend is a first class object type
|
||||
type Backend struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// CashReceiptChannelWrapper wraps the object with the security principal
|
||||
type CashReceiptChannelWrapper struct {
|
||||
Obj ops_models.CashReceipt
|
||||
Principal User
|
||||
}
|
||||
|
||||
// CashReceipt is a first class object type
|
||||
type CashReceipt struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// ChargeChannelWrapper wraps the object with the security principal
|
||||
type ChargeChannelWrapper struct {
|
||||
Obj ops_models.Charge
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Charge is a first class object type
|
||||
type Charge struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// ClusterChannelWrapper wraps the object with the security principal
|
||||
type ClusterChannelWrapper struct {
|
||||
Obj devops_models.Cluster
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Cluster is a first class object type
|
||||
type Cluster struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// CompanyChannelWrapper wraps the object with the security principal
|
||||
type CompanyChannelWrapper struct {
|
||||
Obj crm_models.Company
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Company is a DB struct
|
||||
type Company struct {
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// NewContactActivity is an activity identifier
|
||||
const NewContactActivity = "NEW_CONTACT_ACTIVITY"
|
||||
|
||||
// ContactChannelWrapper wraps the object with the security principal
|
||||
type ContactChannelWrapper struct {
|
||||
Obj crm_models.Contact
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Contact is a first-class object
|
||||
type Contact struct {
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CoordinateBasicChannelWrapper wraps the object with the security principal
|
||||
type CoordinateBasicChannelWrapper struct {
|
||||
Obj geo_models.CoordinateBasic
|
||||
Principal User
|
||||
}
|
||||
|
||||
// CoordinateBasic is a first class object type
|
||||
type CoordinateBasic struct {
|
||||
ID string
|
||||
|
@ -19,6 +27,12 @@ type CoordinateBasic struct {
|
|||
TaxTypes []*string
|
||||
}
|
||||
|
||||
// CoordinateChannelWrapper wraps the object with the security principal
|
||||
type CoordinateChannelWrapper struct {
|
||||
Obj geo_models.Coordinate
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Coordinate is a first class object type
|
||||
type Coordinate struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CountryChannelWrapper wraps the object with the security principal
|
||||
type CountryChannelWrapper struct {
|
||||
Obj geo_models.Country
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Country is a first class object type
|
||||
type Country struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CountyChannelWrapper wraps the object with the security principal
|
||||
type CountyChannelWrapper struct {
|
||||
Obj geo_models.County
|
||||
Principal User
|
||||
}
|
||||
|
||||
// County is a first class object type
|
||||
type County struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// DatabaseChannelWrapper wraps the object with the security principal
|
||||
type DatabaseChannelWrapper struct {
|
||||
Obj devops_models.Database
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Database is a first-class object type
|
||||
type Database struct {
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
|
||||
// DomainChannelWrapper wraps the object with the security principal
|
||||
type DomainChannelWrapper struct {
|
||||
Obj geo_models.Domain
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Domain is a first class object type
|
||||
type Domain struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
|
|
12
app/eft.go
12
app/eft.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// EftChannelWrapper wraps the object with the security principal
|
||||
type EftChannelWrapper struct {
|
||||
Obj ops_models.Eft
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Eft is a first class object type
|
||||
type Eft struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// EftItemChannelWrapper wraps the object with the security principal
|
||||
type EftItemChannelWrapper struct {
|
||||
Obj ops_models.EftItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// EftItem is a first class object type
|
||||
type EftItem struct {
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
|
||||
)
|
||||
|
||||
// EmailMessageChannelWrapper wraps the object with the security principal
|
||||
type EmailMessageChannelWrapper struct {
|
||||
Obj workflow_models.EmailMessage
|
||||
Principal User
|
||||
}
|
||||
|
||||
// EmailMessage is a first class object type
|
||||
type EmailMessage struct {
|
||||
ID string
|
||||
|
|
|
@ -4,6 +4,12 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// EmailTemplateChannelWrapper wraps the object with the security principal
|
||||
type EmailTemplateChannelWrapper struct {
|
||||
// Obj workflow_models.EmailTemplate
|
||||
Principal User
|
||||
}
|
||||
|
||||
// EmailTemplate is a first class object type
|
||||
type EmailTemplate struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingChannelWrapper wraps the object with the security principal
|
||||
type FilingChannelWrapper struct {
|
||||
Obj regs_models.Filing
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Filing is a first class object type
|
||||
type Filing struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingScheduleItemChannelWrapper wraps the object with the security principal
|
||||
type FilingScheduleItemChannelWrapper struct {
|
||||
Obj regs_models.FilingScheduleItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// FilingScheduleItem is a first class object type
|
||||
type FilingScheduleItem struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingTypeChannelWrapper wraps the object with the security principal
|
||||
type FilingTypeChannelWrapper struct {
|
||||
Obj regs_models.FilingType
|
||||
Principal User
|
||||
}
|
||||
|
||||
// FilingType is a first class object type
|
||||
type FilingType struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingTypeInstanceChannelWrapper wraps the object with the security principal
|
||||
type FilingTypeInstanceChannelWrapper struct {
|
||||
Obj regs_models.FilingTypeInstance
|
||||
Principal User
|
||||
}
|
||||
|
||||
// FilingTypeInstance is a first class object type
|
||||
type FilingTypeInstance struct {
|
||||
|
|
|
@ -4,6 +4,12 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// FolderChannelWrapper wraps the object with the security principal
|
||||
type FolderChannelWrapper struct {
|
||||
// Obj workflow_models.Folder
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Folder is a first class object type
|
||||
type Folder struct {
|
||||
AccessType string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// GlAccountChannelWrapper wraps the object with the security principal
|
||||
type GlAccountChannelWrapper struct {
|
||||
Obj ledger_models.GlAccount
|
||||
Principal User
|
||||
}
|
||||
|
||||
// GlAccount is a first class object type
|
||||
type GlAccount struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// GlBalanceChannelWrapper wraps the object with the security principal
|
||||
type GlBalanceChannelWrapper struct {
|
||||
Obj ledger_models.GlBalance
|
||||
Principal User
|
||||
}
|
||||
|
||||
// GlBalance is a first class object type
|
||||
type GlBalance struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// IngestChannelWrapper wraps the object with the security principal
|
||||
type IngestChannelWrapper struct {
|
||||
Obj devops_models.Ingest
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Ingest is a first class object type
|
||||
type Ingest struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// InvoiceChannelWrapper wraps the object with the security principal
|
||||
type InvoiceChannelWrapper struct {
|
||||
Obj ops_models.Invoice
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Invoice is the in-memory struct for invoices
|
||||
type Invoice struct {
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// InvoiceItemChannelWrapper wraps the object with the security principal
|
||||
type InvoiceItemChannelWrapper struct {
|
||||
Obj ops_models.InvoiceItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// InvoiceItem is a large struct
|
||||
type InvoiceItem struct {
|
||||
ID string
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// JobChannelWrapper wraps the object with the security principal
|
||||
type JobChannelWrapper struct {
|
||||
Obj devops_models.Job
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Job is a first class object type
|
||||
type Job struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// JournalEntryChannelWrapper wraps the object with the security principal
|
||||
type JournalEntryChannelWrapper struct {
|
||||
Obj ledger_models.JournalEntry
|
||||
Principal User
|
||||
}
|
||||
|
||||
// JournalEntry is a first class object type
|
||||
type JournalEntry struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// JournalItemChannelWrapper wraps the object with the security principal
|
||||
type JournalItemChannelWrapper struct {
|
||||
Obj ledger_models.JournalItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// JournalItem is a first class object type
|
||||
type JournalItem struct {
|
||||
|
|
12
app/lead.go
12
app/lead.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// LeadChannelWrapper wraps the object with the security principal
|
||||
type LeadChannelWrapper struct {
|
||||
Obj crm_models.Lead
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Lead is a first-class object type
|
||||
type Lead struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// LicenseChannelWrapper wraps the object with the security principal
|
||||
type LicenseChannelWrapper struct {
|
||||
Obj regs_models.License
|
||||
Principal User
|
||||
}
|
||||
|
||||
// License is a first class object type
|
||||
type License struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// LicenseTypeChannelWrapper wraps the object with the security principal
|
||||
type LicenseTypeChannelWrapper struct {
|
||||
Obj regs_models.LicenseType
|
||||
Principal User
|
||||
}
|
||||
|
||||
// LicenseType is a first class object type
|
||||
type LicenseType struct {
|
||||
|
@ -27,6 +37,12 @@ type LicenseType struct {
|
|||
Tier string
|
||||
}
|
||||
|
||||
// GeoLicenseTypeInstanceChannelWrapper wraps the object with the security principal
|
||||
type GeoLicenseTypeInstanceChannelWrapper struct {
|
||||
Obj regs_models.GeoLicenseTypeInstance
|
||||
Principal User
|
||||
}
|
||||
|
||||
// GeoLicenseTypeInstance is a first class object type
|
||||
type GeoLicenseTypeInstance struct {
|
||||
ID string
|
||||
|
@ -44,6 +60,12 @@ type GeoLicenseTypeInstance struct {
|
|||
StateID string
|
||||
}
|
||||
|
||||
// DomainLicenseTypeInstanceChannelWrapper wraps the object with the security principal
|
||||
type DomainLicenseTypeInstanceChannelWrapper struct {
|
||||
// Obj regs_models.DomainLicenseTypeInstance
|
||||
Principal User
|
||||
}
|
||||
|
||||
// DomainLicenseTypeInstance is a first class object type
|
||||
type DomainLicenseTypeInstance struct {
|
||||
ID string
|
||||
|
|
|
@ -2,6 +2,12 @@ package app
|
|||
|
||||
import "database/sql"
|
||||
|
||||
// LogChannelWrapper wraps the object with the security principal
|
||||
type LogChannelWrapper struct {
|
||||
// Obj devops_models.AppLog
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Log is a first class object type
|
||||
type Log struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// NotebookChannelWrapper wraps the object with the security principal
|
||||
type NotebookChannelWrapper struct {
|
||||
Obj regs_models.Notebook
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Notebook is a first class object type
|
||||
type Notebook struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// NotebookItemChannelWrapper wraps the object with the security principal
|
||||
type NotebookItemChannelWrapper struct {
|
||||
Obj regs_models.NotebookItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// NotebookItem is a first class object type
|
||||
type NotebookItem struct {
|
||||
|
|
12
app/order.go
12
app/order.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// OrderChannelWrapper wraps the object with the security principal
|
||||
type OrderChannelWrapper struct {
|
||||
Obj ops_models.Order
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Order is a first class object type
|
||||
type Order struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// OrderItemChannelWrapper wraps the object with the security principal
|
||||
type OrderItemChannelWrapper struct {
|
||||
Obj ops_models.OrderItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// OrderItem is a first class object type
|
||||
type OrderItem struct {
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
|
||||
|
||||
// OutgoingEmailMessageChannelWrapper wraps the object with the security principal
|
||||
type OutgoingEmailMessageChannelWrapper struct {
|
||||
Obj workflow_models.OutgoingEmailMessage
|
||||
Principal User
|
||||
}
|
||||
|
||||
// OutgoingEmailMessage is a first class object type
|
||||
type OutgoingEmailMessage struct {
|
||||
ID string
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
package app
|
||||
|
||||
// OutgoingEmailMessageReceiptChannelWrapper wraps the object with the security principal
|
||||
type OutgoingEmailMessageReceiptChannelWrapper struct {
|
||||
// Obj workflow_models.OutgoingEmailMessageReceipt
|
||||
Principal User
|
||||
}
|
||||
|
||||
// OutgoingEmailMessageReceipt is a first class object type
|
||||
type OutgoingEmailMessageReceipt struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PaymentMethodChannelWrapper wraps the object with the security principal
|
||||
type PaymentMethodChannelWrapper struct {
|
||||
Obj ops_models.PaymentMethod
|
||||
Principal User
|
||||
}
|
||||
|
||||
// PaymentMethod is a first class object type
|
||||
type PaymentMethod struct {
|
||||
|
|
|
@ -2,6 +2,12 @@ package app
|
|||
|
||||
import "database/sql"
|
||||
|
||||
// PDFChannelWrapper wraps the object with the security principal
|
||||
type PDFChannelWrapper struct {
|
||||
// Obj stash_models.Pdf
|
||||
Principal User
|
||||
}
|
||||
|
||||
// PDF is a first class object type
|
||||
type PDF struct {
|
||||
ID string
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// PeriodChannelWrapper wraps the object with the security principal
|
||||
type PeriodChannelWrapper struct {
|
||||
Obj ledger_models.Period
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Period is a first class object type
|
||||
type Period struct {
|
||||
ID string
|
||||
|
|
12
app/place.go
12
app/place.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// PlaceChannelWrapper wraps the object with the security principal
|
||||
type PlaceChannelWrapper struct {
|
||||
Obj geo_models.Place
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Place is a first class object type
|
||||
type Place struct {
|
||||
|
|
12
app/po.go
12
app/po.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PurchaseOrderChannelWrapper wraps the object with the security principal
|
||||
type PurchaseOrderChannelWrapper struct {
|
||||
Obj ops_models.PurchaseOrder
|
||||
Principal User
|
||||
}
|
||||
|
||||
// PurchaseOrder is a first class object type
|
||||
type PurchaseOrder struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PurchaseOrderItemChannelWrapper wraps the object with the security principal
|
||||
type PurchaseOrderItemChannelWrapper struct {
|
||||
Obj ops_models.PurchaseOrderItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// PurchaseOrderItem is a first class object type
|
||||
type PurchaseOrderItem struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// ProductChannelWrapper wraps the object with the security principal
|
||||
type ProductChannelWrapper struct {
|
||||
Obj ops_models.Product
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Product is a first class object type
|
||||
type Product struct {
|
||||
|
|
12
app/quote.go
12
app/quote.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// QuoteChannelWrapper wraps the object with the security principal
|
||||
type QuoteChannelWrapper struct {
|
||||
Obj ops_models.Quote
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Quote is a first class object type
|
||||
type Quote struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// QuoteItemChannelWrapper wraps the object with the security principal
|
||||
type QuoteItemChannelWrapper struct {
|
||||
Obj ops_models.QuoteItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// QuoteItem is a first class object type
|
||||
type QuoteItem struct {
|
||||
|
|
|
@ -1,9 +1,18 @@
|
|||
package app
|
||||
|
||||
import "github.com/go-sql-driver/mysql"
|
||||
import (
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
"github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
// Ratingengine is a first class object type
|
||||
type Ratingengine struct {
|
||||
// RatingengineChannelWrapper wraps the object with the security principal
|
||||
type RatingengineChannelWrapper struct {
|
||||
Obj regs_models.RatingEngine
|
||||
Principal User
|
||||
}
|
||||
|
||||
// RatingEngine is a first class object type
|
||||
type RatingEngine struct {
|
||||
Account string
|
||||
Backend string
|
||||
Createdbyid string
|
||||
|
|
|
@ -1,9 +1,18 @@
|
|||
package app
|
||||
|
||||
import "github.com/go-sql-driver/mysql"
|
||||
import (
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
"github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
// Ratingengineitem is a first class object type
|
||||
type Ratingengineitem struct {
|
||||
// RatingEngineItemChannelWrapper wraps the object with the security principal
|
||||
type RatingEngineItemChannelWrapper struct {
|
||||
Obj regs_models.RatingEngineItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// RatingEngineItem is a first class object type
|
||||
type RatingEngineItem struct {
|
||||
Createdbyid string
|
||||
Createddate mysql.NullTime
|
||||
ID string
|
||||
|
|
12
app/role.go
12
app/role.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// RoleChannelWrapper wraps the object with the security principal
|
||||
type RoleChannelWrapper struct {
|
||||
Obj devops_models.Role
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Role is a first class object type
|
||||
type Role struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// ServiceChannelWrapper wraps the object with the security principal
|
||||
type ServiceChannelWrapper struct {
|
||||
Obj devops_models.Service
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Service is a first class object type
|
||||
type Service struct {
|
||||
|
|
12
app/state.go
12
app/state.go
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// StateChannelWrapper wraps the object with the security principal
|
||||
type StateChannelWrapper struct {
|
||||
Obj geo_models.State
|
||||
Principal User
|
||||
}
|
||||
|
||||
// State is a first class object type
|
||||
type State struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// SubmissionChannelWrapper wraps the object with the security principal
|
||||
type SubmissionChannelWrapper struct {
|
||||
Obj regs_models.Submission
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Submission is a first class object type
|
||||
type Submission struct {
|
||||
|
|
|
@ -4,6 +4,12 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskChannelWrapper wraps the object with the security principal
|
||||
type TaskChannelWrapper struct {
|
||||
// Obj workflow_models.Task
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Task is a first class object type
|
||||
type Task struct {
|
||||
AccountID string
|
||||
|
|
|
@ -4,6 +4,12 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskRelationChannelWrapper wraps the object with the security principal
|
||||
type TaskRelationChannelWrapper struct {
|
||||
// Obj workflow_models.TaskRelation
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaskRelation is a first class object type
|
||||
type TaskRelation struct {
|
||||
AccountID string
|
||||
|
|
|
@ -4,6 +4,12 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskWhoRelationChannelWrapper wraps the object with the security principal
|
||||
type TaskWhoRelationChannelWrapper struct {
|
||||
// Obj workflow_models.TaskWhoRelation
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaskWhoRelation is a first class object type
|
||||
type TaskWhoRelation struct {
|
||||
AccountID string
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// TaxInstanceChannelWrapper wraps the object with the security principal
|
||||
type TaxInstanceChannelWrapper struct {
|
||||
Obj geo_models.TaxInstance
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxInstance is a first class object type
|
||||
type TaxInstance struct {
|
||||
ID string
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
|
||||
// TaxnexusCodeChannelWrapper wraps the object with the security principal
|
||||
type TaxnexusCodeChannelWrapper struct {
|
||||
Obj geo_models.TaxnexusCode
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxnexusCode is a first class object type
|
||||
type TaxnexusCode struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
|
||||
// TaxRateChannelWrapper wraps the object with the security principal
|
||||
type TaxRateChannelWrapper struct {
|
||||
Obj geo_models.TaxRate
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxRate is a principal object type
|
||||
type TaxRate struct {
|
||||
CombinedRate float64
|
||||
|
|
|
@ -2,8 +2,16 @@ package app
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// TaxTransactionChannelWrapper wraps the object with the security principal
|
||||
type TaxTransactionChannelWrapper struct {
|
||||
Obj ops_models.TaxTransaction
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxTransaction is the in-memory struct for a Taxnexus Tax Transaction
|
||||
type TaxTransaction struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// TaxTypeChannelWrapper wraps the object with the security principal
|
||||
type TaxTypeChannelWrapper struct {
|
||||
Obj geo_models.TaxType
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxType is a first class object type
|
||||
type TaxType struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// TaxTypeAccountChannelWrapper wraps the object with the security principal
|
||||
type TaxTypeAccountChannelWrapper struct {
|
||||
Obj regs_models.TaxTypeAccount
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TaxTypeAccount is a first class object type
|
||||
type TaxTypeAccount struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// TemplateChannelWrapper wraps the object with the security principal
|
||||
type TemplateChannelWrapper struct {
|
||||
Obj devops_models.Template
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Template is a first class object type
|
||||
type Template struct {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// TenantChannelWrapper wraps the object with the security principal
|
||||
type TenantChannelWrapper struct {
|
||||
Obj devops_models.Tenant
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Tenant is a first class object type
|
||||
type Tenant struct {
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
|
||||
// TenantUserChannelWrapper wraps the object with the security principal
|
||||
type TenantUserChannelWrapper struct {
|
||||
Obj devops_models.TenantUser
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TenantUser is a first class object type
|
||||
type TenantUser struct {
|
||||
AccessLevel string
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalChannelWrapper wraps the object with the security principal
|
||||
type TotalChannelWrapper struct {
|
||||
Obj ops_models.Total
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Total is a DB object
|
||||
type Total struct {
|
||||
ID string
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalItemChannelWrapper wraps the object with the security principal
|
||||
type TotalItemChannelWrapper struct {
|
||||
Obj ops_models.TotalItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TotalItem is a DB struct
|
||||
type TotalItem struct {
|
||||
ID string
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalTaxItemChannelWrapper wraps the object with the security principal
|
||||
type TotalTaxItemChannelWrapper struct {
|
||||
Obj ops_models.TotalTaxItem
|
||||
Principal User
|
||||
}
|
||||
|
||||
// TotalTaxItem is a DB struct
|
||||
type TotalTaxItem struct {
|
||||
ID string
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
package app
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// TransactionItemChannelWrapper wraps the object with the security principal
|
||||
type TransactionItemChannelWrapper struct {
|
||||
Obj regs_models.Transaction
|
||||
Principal User
|
||||
}
|
||||
|
||||
// Transaction is a first class object type
|
||||
type Transaction struct {
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
package app
|
||||
|
||||
import (
|
||||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
"github.com/go-openapi/runtime"
|
||||
)
|
||||
|
||||
// UserChannelWrapper wraps the object with the security principal
|
||||
type UserChannelWrapper struct {
|
||||
Obj devops_models.User
|
||||
Principal User
|
||||
}
|
||||
|
||||
// User is a first class object type
|
||||
type User struct {
|
||||
ID string
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
package app
|
||||
|
||||
import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
|
||||
// UserRoleChannelWrapper wraps the object with the security principal
|
||||
type UserRoleChannelWrapper struct {
|
||||
Obj devops_models.UserRole
|
||||
Principal User
|
||||
}
|
||||
|
||||
// UserRole is a first class object type
|
||||
type UserRole struct {
|
||||
RoleID string
|
||||
|
|
Loading…
Reference in New Issue