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 { type AccountChannelWrapper struct {
Obj crm_models.Account Obj crm_models.Account
Principal User Principal User
SagaID string
SagaType string
} }
// Account is a DB struct // Account is a DB struct

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,6 +10,8 @@ import (
type DatabaseChannelWrapper struct { type DatabaseChannelWrapper struct {
Obj devops_models.Database Obj devops_models.Database
Principal User Principal User
SagaID string
SagaType string
} }
// Database is a first-class object type // 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 { type DomainChannelWrapper struct {
Obj geo_models.Domain Obj geo_models.Domain
Principal User Principal User
SagaID string
SagaType string
} }
// Domain is a first class object type // Domain is a first class object type

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,6 +10,8 @@ import (
type OrderItemChannelWrapper struct { type OrderItemChannelWrapper struct {
Obj ops_models.OrderItem Obj ops_models.OrderItem
Principal User Principal User
SagaID string
SagaType string
} }
// OrderItem is a first class object type // 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 { type OutgoingEmailMessageChannelWrapper struct {
Obj workflow_models.OutgoingEmailMessage Obj workflow_models.OutgoingEmailMessage
Principal User Principal User
SagaID string
SagaType string
} }
// OutgoingEmailMessage is a first class object type // OutgoingEmailMessage is a first class object type

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,6 +10,8 @@ import (
type TaxInstanceChannelWrapper struct { type TaxInstanceChannelWrapper struct {
Obj geo_models.TaxInstance Obj geo_models.TaxInstance
Principal User Principal User
SagaID string
SagaType string
} }
// TaxInstance is a first class object type // 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 { type TaxnexusCodeChannelWrapper struct {
Obj geo_models.TaxnexusCode Obj geo_models.TaxnexusCode
Principal User Principal User
SagaID string
SagaType string
} }
// TaxnexusCode is a first class object type // 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 { type TaxRateChannelWrapper struct {
Obj geo_models.TaxRate Obj geo_models.TaxRate
Principal User Principal User
SagaID string
SagaType string
} }
// TaxRate is a principal object type // TaxRate is a principal object type

View File

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

View File

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

View File

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

View File

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

View File

@ -10,6 +10,8 @@ import (
type TenantChannelWrapper struct { type TenantChannelWrapper struct {
Obj devops_models.Tenant Obj devops_models.Tenant
Principal User Principal User
SagaID string
SagaType string
} }
// Tenant is a first class object type // 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 { type TenantUserChannelWrapper struct {
Obj devops_models.TenantUser Obj devops_models.TenantUser
Principal User Principal User
SagaID string
SagaType string
} }
// TenantUser is a first class object type // 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 { type TotalChannelWrapper struct {
Obj ops_models.Total Obj ops_models.Total
Principal User Principal User
SagaID string
SagaType string
} }
// Total is a DB object // Total is a DB object

View File

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

View File

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

View File

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

View File

@ -9,6 +9,8 @@ import (
type UserChannelWrapper struct { type UserChannelWrapper struct {
Obj devops_models.User Obj devops_models.User
Principal User Principal User
SagaID string
SagaType string
} }
// User is a first class object type // 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 { type UserRoleChannelWrapper struct {
Obj devops_models.UserRole Obj devops_models.UserRole
Principal User Principal User
SagaID string
SagaType string
} }
// UserRole is a first class object type // UserRole is a first class object type

View File

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