saga stuff

v0.1.6 v0.1.6
Vernon Keenan 2021-01-12 21:30:35 -08:00
parent 4921f99240
commit 021bac7bf4
76 changed files with 158 additions and 0 deletions

View File

@ -13,6 +13,8 @@ const NewAccountActivity = "NEW_ACCOUNT_ACTIVITY"
type AccountChannelWrapper struct {
Obj crm_models.Account
Principal User
SagaID string
SagaType string
}
// Account is a DB struct

View File

@ -10,6 +10,8 @@ import (
type AccountingRuleChannelWrapper struct {
Obj ledger_models.AccountingRule
Principal User
SagaID string
SagaType string
}
// AccountingRule is a first class object type

View File

@ -10,6 +10,8 @@ import (
type AccountingRulesetChannelWrapper struct {
Obj ledger_models.AccountingRuleset
Principal User
SagaID string
SagaType string
}
// AccountingRuleset is exported

View File

@ -10,6 +10,8 @@ import (
type AccountingRulesetItemChannelWrapper struct {
Obj ledger_models.AccountingRulesetItem
Principal User
SagaID string
SagaType string
}
// AccountingRulesetItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type BackendChannelWrapper struct {
Obj regs_models.Backend
Principal User
SagaID string
SagaType string
}
// Backend is a first class object type

View File

@ -10,6 +10,8 @@ import (
type CashReceiptChannelWrapper struct {
Obj ops_models.CashReceipt
Principal User
SagaID string
SagaType string
}
// CashReceipt is a first class object type

View File

@ -10,6 +10,8 @@ import (
type ChargeChannelWrapper struct {
Obj ops_models.Charge
Principal User
SagaID string
SagaType string
}
// Charge is a first class object type

View File

@ -10,6 +10,8 @@ import (
type ClusterChannelWrapper struct {
Obj devops_models.Cluster
Principal User
SagaID string
SagaType string
}
// Cluster is a first class object type

View File

@ -10,6 +10,8 @@ import (
type CompanyChannelWrapper struct {
Obj crm_models.Company
Principal User
SagaID string
SagaType string
}
// Company is a DB struct

View File

@ -13,6 +13,8 @@ const NewContactActivity = "NEW_CONTACT_ACTIVITY"
type ContactChannelWrapper struct {
Obj crm_models.Contact
Principal User
SagaID string
SagaType string
}
// Contact is a first-class object

View File

@ -10,6 +10,8 @@ import (
type CoordinateBasicChannelWrapper struct {
Obj geo_models.CoordinateBasic
Principal User
SagaID string
SagaType string
}
// CoordinateBasic is a first class object type
@ -31,6 +33,8 @@ type CoordinateBasic struct {
type CoordinateChannelWrapper struct {
Obj geo_models.Coordinate
Principal User
SagaID string
SagaType string
}
// Coordinate is a first class object type

View File

@ -10,6 +10,8 @@ import (
type CountryChannelWrapper struct {
Obj geo_models.Country
Principal User
SagaID string
SagaType string
}
// Country is a first class object type

View File

@ -10,6 +10,8 @@ import (
type CountyChannelWrapper struct {
Obj geo_models.County
Principal User
SagaID string
SagaType string
}
// County is a first class object type

View File

@ -10,6 +10,8 @@ import (
type DatabaseChannelWrapper struct {
Obj devops_models.Database
Principal User
SagaID string
SagaType string
}
// Database is a first-class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
type DomainChannelWrapper struct {
Obj geo_models.Domain
Principal User
SagaID string
SagaType string
}
// Domain is a first class object type

View File

@ -10,6 +10,8 @@ import (
type EftChannelWrapper struct {
Obj ops_models.Eft
Principal User
SagaID string
SagaType string
}
// Eft is a first class object type

View File

@ -10,6 +10,8 @@ import (
type EftItemChannelWrapper struct {
Obj ops_models.EftItem
Principal User
SagaID string
SagaType string
}
// EftItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type EmailMessageChannelWrapper struct {
Obj workflow_models.EmailMessage
Principal User
SagaID string
SagaType string
}
// EmailMessage is a first class object type

View File

@ -8,6 +8,8 @@ import (
type EmailTemplateChannelWrapper struct {
// Obj workflow_models.EmailTemplate
Principal User
SagaID string
SagaType string
}
// EmailTemplate is a first class object type

View File

@ -10,6 +10,8 @@ import (
type FilingChannelWrapper struct {
Obj regs_models.Filing
Principal User
SagaID string
SagaType string
}
// Filing is a first class object type

View File

@ -10,6 +10,8 @@ import (
type FilingScheduleItemChannelWrapper struct {
Obj regs_models.FilingScheduleItem
Principal User
SagaID string
SagaType string
}
// FilingScheduleItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type FilingTypeChannelWrapper struct {
Obj regs_models.FilingType
Principal User
SagaID string
SagaType string
}
// FilingType is a first class object type

View File

@ -10,6 +10,8 @@ import (
type FilingTypeInstanceChannelWrapper struct {
Obj regs_models.FilingTypeInstance
Principal User
SagaID string
SagaType string
}
// FilingTypeInstance is a first class object type

View File

@ -8,6 +8,8 @@ import (
type FolderChannelWrapper struct {
// Obj workflow_models.Folder
Principal User
SagaID string
SagaType string
}
// Folder is a first class object type

View File

@ -10,6 +10,8 @@ import (
type GlAccountChannelWrapper struct {
Obj ledger_models.GlAccount
Principal User
SagaID string
SagaType string
}
// GlAccount is a first class object type

View File

@ -10,6 +10,8 @@ import (
type GlBalanceChannelWrapper struct {
Obj ledger_models.GlBalance
Principal User
SagaID string
SagaType string
}
// GlBalance is a first class object type

View File

@ -10,6 +10,8 @@ import (
type IngestChannelWrapper struct {
Obj devops_models.Ingest
Principal User
SagaID string
SagaType string
}
// Ingest is a first class object type

View File

@ -10,6 +10,8 @@ import (
type InvoiceChannelWrapper struct {
Obj ops_models.Invoice
Principal User
SagaID string
SagaType string
}
// Invoice is the in-memory struct for invoices

View File

@ -10,6 +10,8 @@ import (
type InvoiceItemChannelWrapper struct {
Obj ops_models.InvoiceItem
Principal User
SagaID string
SagaType string
}
// InvoiceItem is a large struct

View File

@ -10,6 +10,8 @@ import (
type JobChannelWrapper struct {
Obj devops_models.Job
Principal User
SagaID string
SagaType string
}
// Job is a first class object type

View File

@ -10,6 +10,8 @@ import (
type JournalEntryChannelWrapper struct {
Obj ledger_models.JournalEntry
Principal User
SagaID string
SagaType string
}
// JournalEntry is a first class object type

View File

@ -10,6 +10,8 @@ import (
type JournalItemChannelWrapper struct {
Obj ledger_models.JournalItem
Principal User
SagaID string
SagaType string
}
// JournalItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type LeadChannelWrapper struct {
Obj crm_models.Lead
Principal User
SagaID string
SagaType string
}
// Lead is a first-class object type

View File

@ -10,6 +10,8 @@ import (
type LicenseChannelWrapper struct {
Obj regs_models.License
Principal User
SagaID string
SagaType string
}
// License is a first class object type

View File

@ -10,6 +10,8 @@ import (
type LicenseTypeChannelWrapper struct {
Obj regs_models.LicenseType
Principal User
SagaID string
SagaType string
}
// LicenseType is a first class object type
@ -41,6 +43,8 @@ type LicenseType struct {
type GeoLicenseTypeInstanceChannelWrapper struct {
Obj regs_models.GeoLicenseTypeInstance
Principal User
SagaID string
SagaType string
}
// GeoLicenseTypeInstance is a first class object type
@ -64,6 +68,8 @@ type GeoLicenseTypeInstance struct {
type DomainLicenseTypeInstanceChannelWrapper struct {
// Obj regs_models.DomainLicenseTypeInstance
Principal User
SagaID string
SagaType string
}
// DomainLicenseTypeInstance is a first class object type

View File

@ -6,6 +6,8 @@ import "database/sql"
type LogChannelWrapper struct {
// Obj devops_models.AppLog
Principal User
SagaID string
SagaType string
}
// Log is a first class object type

View File

@ -10,6 +10,8 @@ import (
type NotebookChannelWrapper struct {
Obj regs_models.Notebook
Principal User
SagaID string
SagaType string
}
// Notebook is a first class object type

View File

@ -10,6 +10,8 @@ import (
type NotebookItemChannelWrapper struct {
Obj regs_models.NotebookItem
Principal User
SagaID string
SagaType string
}
// NotebookItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type OrderChannelWrapper struct {
Obj ops_models.Order
Principal User
SagaID string
SagaType string
}
// Order is a first class object type

View File

@ -10,6 +10,8 @@ import (
type OrderItemChannelWrapper struct {
Obj ops_models.OrderItem
Principal User
SagaID string
SagaType string
}
// OrderItem is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
type OutgoingEmailMessageChannelWrapper struct {
Obj workflow_models.OutgoingEmailMessage
Principal User
SagaID string
SagaType string
}
// OutgoingEmailMessage is a first class object type

View File

@ -4,6 +4,8 @@ package app
type OutgoingEmailMessageReceiptChannelWrapper struct {
// Obj workflow_models.OutgoingEmailMessageReceipt
Principal User
SagaID string
SagaType string
}
// OutgoingEmailMessageReceipt is a first class object type

View File

@ -10,6 +10,8 @@ import (
type PaymentMethodChannelWrapper struct {
Obj ops_models.PaymentMethod
Principal User
SagaID string
SagaType string
}
// PaymentMethod is a first class object type

View File

@ -6,6 +6,8 @@ import "database/sql"
type PDFChannelWrapper struct {
// Obj stash_models.Pdf
Principal User
SagaID string
SagaType string
}
// PDF is a first class object type

View File

@ -10,6 +10,8 @@ import (
type PeriodChannelWrapper struct {
Obj ledger_models.Period
Principal User
SagaID string
SagaType string
}
// Period is a first class object type

View File

@ -10,6 +10,8 @@ import (
type PlaceChannelWrapper struct {
Obj geo_models.Place
Principal User
SagaID string
SagaType string
}
// Place is a first class object type

View File

@ -10,6 +10,8 @@ import (
type PurchaseOrderChannelWrapper struct {
Obj ops_models.PurchaseOrder
Principal User
SagaID string
SagaType string
}
// PurchaseOrder is a first class object type

View File

@ -10,6 +10,8 @@ import (
type PurchaseOrderItemChannelWrapper struct {
Obj ops_models.PurchaseOrderItem
Principal User
SagaID string
SagaType string
}
// PurchaseOrderItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type ProductChannelWrapper struct {
Obj ops_models.Product
Principal User
SagaID string
SagaType string
}
// Product is a first class object type

View File

@ -10,6 +10,8 @@ import (
type QuoteChannelWrapper struct {
Obj ops_models.Quote
Principal User
SagaID string
SagaType string
}
// Quote is a first class object type

View File

@ -10,6 +10,8 @@ import (
type QuoteItemChannelWrapper struct {
Obj ops_models.QuoteItem
Principal User
SagaID string
SagaType string
}
// QuoteItem is a first class object type

View File

@ -9,6 +9,8 @@ import (
type RatingengineChannelWrapper struct {
Obj regs_models.RatingEngine
Principal User
SagaID string
SagaType string
}
// RatingEngine is a first class object type

View File

@ -9,6 +9,8 @@ import (
type RatingEngineItemChannelWrapper struct {
Obj regs_models.RatingEngineItem
Principal User
SagaID string
SagaType string
}
// RatingEngineItem is a first class object type

View File

@ -10,6 +10,8 @@ import (
type RoleChannelWrapper struct {
Obj devops_models.Role
Principal User
SagaID string
SagaType string
}
// Role is a first class object type

View File

@ -10,6 +10,8 @@ import (
type ServiceChannelWrapper struct {
Obj devops_models.Service
Principal User
SagaID string
SagaType string
}
// Service is a first class object type

View File

@ -10,6 +10,8 @@ import (
type StateChannelWrapper struct {
Obj geo_models.State
Principal User
SagaID string
SagaType string
}
// State is a first class object type

View File

@ -10,6 +10,8 @@ import (
type SubmissionChannelWrapper struct {
Obj regs_models.Submission
Principal User
SagaID string
SagaType string
}
// Submission is a first class object type

View File

@ -8,6 +8,8 @@ import (
type TaskChannelWrapper struct {
// Obj workflow_models.Task
Principal User
SagaID string
SagaType string
}
// Task is a first class object type

View File

@ -8,6 +8,8 @@ import (
type TaskRelationChannelWrapper struct {
// Obj workflow_models.TaskRelation
Principal User
SagaID string
SagaType string
}
// TaskRelation is a first class object type

View File

@ -8,6 +8,8 @@ import (
type TaskWhoRelationChannelWrapper struct {
// Obj workflow_models.TaskWhoRelation
Principal User
SagaID string
SagaType string
}
// TaskWhoRelation is a first class object type

View File

@ -10,6 +10,8 @@ import (
type TaxInstanceChannelWrapper struct {
Obj geo_models.TaxInstance
Principal User
SagaID string
SagaType string
}
// TaxInstance is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
type TaxnexusCodeChannelWrapper struct {
Obj geo_models.TaxnexusCode
Principal User
SagaID string
SagaType string
}
// TaxnexusCode is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
type TaxRateChannelWrapper struct {
Obj geo_models.TaxRate
Principal User
SagaID string
SagaType string
}
// TaxRate is a principal object type

View File

@ -10,6 +10,8 @@ import (
type TaxTransactionChannelWrapper struct {
Obj ops_models.TaxTransaction
Principal User
SagaID string
SagaType string
}
// TaxTransaction is the in-memory struct for a Taxnexus Tax Transaction

View File

@ -10,6 +10,8 @@ import (
type TaxTypeChannelWrapper struct {
Obj geo_models.TaxType
Principal User
SagaID string
SagaType string
}
// TaxType is a first class object type

View File

@ -10,6 +10,8 @@ import (
type TaxTypeAccountChannelWrapper struct {
Obj regs_models.TaxTypeAccount
Principal User
SagaID string
SagaType string
}
// TaxTypeAccount is a first class object type

View File

@ -10,6 +10,8 @@ import (
type TemplateChannelWrapper struct {
Obj devops_models.Template
Principal User
SagaID string
SagaType string
}
// Template is a first class object type

View File

@ -10,6 +10,8 @@ import (
type TenantChannelWrapper struct {
Obj devops_models.Tenant
Principal User
SagaID string
SagaType string
}
// Tenant is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
type TenantUserChannelWrapper struct {
Obj devops_models.TenantUser
Principal User
SagaID string
SagaType string
}
// TenantUser is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
type TotalChannelWrapper struct {
Obj ops_models.Total
Principal User
SagaID string
SagaType string
}
// Total is a DB object

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
type TotalItemChannelWrapper struct {
Obj ops_models.TotalItem
Principal User
SagaID string
SagaType string
}
// TotalItem is a DB struct

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
type TotalTaxItemChannelWrapper struct {
Obj ops_models.TotalTaxItem
Principal User
SagaID string
SagaType string
}
// TotalTaxItem is a DB struct

View File

@ -10,6 +10,8 @@ import (
type TransactionItemChannelWrapper struct {
Obj regs_models.Transaction
Principal User
SagaID string
SagaType string
}
// Transaction is a first class object type

View File

@ -9,6 +9,8 @@ import (
type UserChannelWrapper struct {
Obj devops_models.User
Principal User
SagaID string
SagaType string
}
// User is a first class object type

View File

@ -6,6 +6,8 @@ import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
type UserRoleChannelWrapper struct {
Obj devops_models.UserRole
Principal User
SagaID string
SagaType string
}
// UserRole is a first class object type

View File

@ -12,6 +12,8 @@ import (
type NewLeadWrapper struct {
Lead crm_models.Lead
Principal app.User
SagaID string
SagaType string
}
// NewLeadWorkflow is a workflow