diff --git a/app/account.go b/app/account.go index 928a548..154ab97 100644 --- a/app/account.go +++ b/app/account.go @@ -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 diff --git a/app/accountingrule.go b/app/accountingrule.go index 7238234..62fddd4 100644 --- a/app/accountingrule.go +++ b/app/accountingrule.go @@ -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 diff --git a/app/accountingruleset.go b/app/accountingruleset.go index 9862473..a6d72d3 100644 --- a/app/accountingruleset.go +++ b/app/accountingruleset.go @@ -10,6 +10,8 @@ import ( type AccountingRulesetChannelWrapper struct { Obj ledger_models.AccountingRuleset Principal User + SagaID string + SagaType string } // AccountingRuleset is exported diff --git a/app/accountingrulesetitem.go b/app/accountingrulesetitem.go index 5963098..b032ae6 100644 --- a/app/accountingrulesetitem.go +++ b/app/accountingrulesetitem.go @@ -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 diff --git a/app/backend.go b/app/backend.go index c854eee..194a984 100644 --- a/app/backend.go +++ b/app/backend.go @@ -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 diff --git a/app/cashreceipt.go b/app/cashreceipt.go index 73b29ea..6c47b17 100644 --- a/app/cashreceipt.go +++ b/app/cashreceipt.go @@ -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 diff --git a/app/charge.go b/app/charge.go index 65279d3..c4b3b1a 100644 --- a/app/charge.go +++ b/app/charge.go @@ -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 diff --git a/app/cluster.go b/app/cluster.go index 0609a64..b28cfc4 100644 --- a/app/cluster.go +++ b/app/cluster.go @@ -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 diff --git a/app/company.go b/app/company.go index eafa41b..b678885 100644 --- a/app/company.go +++ b/app/company.go @@ -10,6 +10,8 @@ import ( type CompanyChannelWrapper struct { Obj crm_models.Company Principal User + SagaID string + SagaType string } // Company is a DB struct diff --git a/app/contact.go b/app/contact.go index 6b6ea07..655f398 100644 --- a/app/contact.go +++ b/app/contact.go @@ -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 diff --git a/app/coordinate.go b/app/coordinate.go index bdff3fa..74e32cb 100644 --- a/app/coordinate.go +++ b/app/coordinate.go @@ -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 diff --git a/app/country.go b/app/country.go index 62f3d60..68858df 100644 --- a/app/country.go +++ b/app/country.go @@ -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 diff --git a/app/county.go b/app/county.go index 2834be1..e679a3d 100644 --- a/app/county.go +++ b/app/county.go @@ -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 diff --git a/app/database.go b/app/database.go index 8e92151..986d6a0 100644 --- a/app/database.go +++ b/app/database.go @@ -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 diff --git a/app/domain.go b/app/domain.go index 104c468..a73d24d 100644 --- a/app/domain.go +++ b/app/domain.go @@ -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 diff --git a/app/eft.go b/app/eft.go index daf0699..416f0de 100644 --- a/app/eft.go +++ b/app/eft.go @@ -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 diff --git a/app/eftitem.go b/app/eftitem.go index 2c79ffe..affc2f4 100644 --- a/app/eftitem.go +++ b/app/eftitem.go @@ -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 diff --git a/app/emailmessage.go b/app/emailmessage.go index 651d572..42cfd3c 100644 --- a/app/emailmessage.go +++ b/app/emailmessage.go @@ -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 diff --git a/app/emaitemplate.go b/app/emaitemplate.go index 100dd8c..71a4f9f 100644 --- a/app/emaitemplate.go +++ b/app/emaitemplate.go @@ -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 diff --git a/app/filing.go b/app/filing.go index 2db365f..fbb95c2 100644 --- a/app/filing.go +++ b/app/filing.go @@ -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 diff --git a/app/filingscheduleitem.go b/app/filingscheduleitem.go index dbaa169..55e0d85 100644 --- a/app/filingscheduleitem.go +++ b/app/filingscheduleitem.go @@ -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 diff --git a/app/filingtype.go b/app/filingtype.go index 4361178..154db3c 100644 --- a/app/filingtype.go +++ b/app/filingtype.go @@ -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 diff --git a/app/filingtypeinstance.go b/app/filingtypeinstance.go index 99a7a96..104b6cb 100644 --- a/app/filingtypeinstance.go +++ b/app/filingtypeinstance.go @@ -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 diff --git a/app/folder.go b/app/folder.go index d2466ba..483b021 100644 --- a/app/folder.go +++ b/app/folder.go @@ -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 diff --git a/app/glaccount.go b/app/glaccount.go index 7a2c17b..b4e197c 100644 --- a/app/glaccount.go +++ b/app/glaccount.go @@ -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 diff --git a/app/glbalance.go b/app/glbalance.go index 4b6a851..217f2f8 100644 --- a/app/glbalance.go +++ b/app/glbalance.go @@ -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 diff --git a/app/ingest.go b/app/ingest.go index 85abcdc..729f21d 100644 --- a/app/ingest.go +++ b/app/ingest.go @@ -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 diff --git a/app/invoice.go b/app/invoice.go index 98a6615..16731c6 100644 --- a/app/invoice.go +++ b/app/invoice.go @@ -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 diff --git a/app/invoiceitem.go b/app/invoiceitem.go index fcbef29..8345c51 100644 --- a/app/invoiceitem.go +++ b/app/invoiceitem.go @@ -10,6 +10,8 @@ import ( type InvoiceItemChannelWrapper struct { Obj ops_models.InvoiceItem Principal User + SagaID string + SagaType string } // InvoiceItem is a large struct diff --git a/app/job.go b/app/job.go index 60ffde7..8dfbb88 100644 --- a/app/job.go +++ b/app/job.go @@ -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 diff --git a/app/journalentry.go b/app/journalentry.go index fc05bd1..0839cec 100644 --- a/app/journalentry.go +++ b/app/journalentry.go @@ -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 diff --git a/app/journalitem.go b/app/journalitem.go index 3415b19..5a48319 100644 --- a/app/journalitem.go +++ b/app/journalitem.go @@ -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 diff --git a/app/lead.go b/app/lead.go index 7f76627..293fe6e 100644 --- a/app/lead.go +++ b/app/lead.go @@ -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 diff --git a/app/license.go b/app/license.go index 1c30f5a..3d2ad5d 100644 --- a/app/license.go +++ b/app/license.go @@ -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 diff --git a/app/licensetype.go b/app/licensetype.go index bcbdbb4..b5b16ca 100644 --- a/app/licensetype.go +++ b/app/licensetype.go @@ -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 diff --git a/app/log.go b/app/log.go index d1c982b..905b24e 100644 --- a/app/log.go +++ b/app/log.go @@ -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 diff --git a/app/notebook.go b/app/notebook.go index c270bfb..9ae9956 100644 --- a/app/notebook.go +++ b/app/notebook.go @@ -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 diff --git a/app/notebookitem.go b/app/notebookitem.go index da0521f..bc4360d 100644 --- a/app/notebookitem.go +++ b/app/notebookitem.go @@ -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 diff --git a/app/order.go b/app/order.go index d7c49f0..b5999ff 100644 --- a/app/order.go +++ b/app/order.go @@ -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 diff --git a/app/orderitem.go b/app/orderitem.go index 16e7de0..1e7e75c 100644 --- a/app/orderitem.go +++ b/app/orderitem.go @@ -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 diff --git a/app/outgoingemail.go b/app/outgoingemail.go index dd1e819..ce8427c 100644 --- a/app/outgoingemail.go +++ b/app/outgoingemail.go @@ -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 diff --git a/app/outgoingemailreceipt.go b/app/outgoingemailreceipt.go index 0025452..2a9093c 100644 --- a/app/outgoingemailreceipt.go +++ b/app/outgoingemailreceipt.go @@ -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 diff --git a/app/paymentmethod.go b/app/paymentmethod.go index f2491f1..49f7862 100644 --- a/app/paymentmethod.go +++ b/app/paymentmethod.go @@ -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 diff --git a/app/pdf.go b/app/pdf.go index b8f8f09..18af0c5 100644 --- a/app/pdf.go +++ b/app/pdf.go @@ -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 diff --git a/app/period.go b/app/period.go index 9ac011d..3038f7d 100644 --- a/app/period.go +++ b/app/period.go @@ -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 diff --git a/app/place.go b/app/place.go index 65db669..395b34d 100644 --- a/app/place.go +++ b/app/place.go @@ -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 diff --git a/app/po.go b/app/po.go index 8b84bcc..ec520ea 100644 --- a/app/po.go +++ b/app/po.go @@ -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 diff --git a/app/poitem.go b/app/poitem.go index 2401927..292d77c 100644 --- a/app/poitem.go +++ b/app/poitem.go @@ -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 diff --git a/app/product.go b/app/product.go index 53f0b4e..6117a91 100644 --- a/app/product.go +++ b/app/product.go @@ -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 diff --git a/app/quote.go b/app/quote.go index 1f1b8a5..496f041 100644 --- a/app/quote.go +++ b/app/quote.go @@ -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 diff --git a/app/quoteitem.go b/app/quoteitem.go index e5bbec3..f6fc093 100644 --- a/app/quoteitem.go +++ b/app/quoteitem.go @@ -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 diff --git a/app/ratingengine.go b/app/ratingengine.go index 1f828b1..0d56257 100644 --- a/app/ratingengine.go +++ b/app/ratingengine.go @@ -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 diff --git a/app/ratingengineitem.go b/app/ratingengineitem.go index e05effe..1fde148 100644 --- a/app/ratingengineitem.go +++ b/app/ratingengineitem.go @@ -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 diff --git a/app/role.go b/app/role.go index 5f1165d..db7dd09 100644 --- a/app/role.go +++ b/app/role.go @@ -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 diff --git a/app/service.go b/app/service.go index 971f455..6e81e0b 100644 --- a/app/service.go +++ b/app/service.go @@ -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 diff --git a/app/state.go b/app/state.go index 541b8fe..ba865d5 100644 --- a/app/state.go +++ b/app/state.go @@ -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 diff --git a/app/submission.go b/app/submission.go index b4fd302..a168a50 100644 --- a/app/submission.go +++ b/app/submission.go @@ -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 diff --git a/app/task.go b/app/task.go index b35fa00..8604393 100644 --- a/app/task.go +++ b/app/task.go @@ -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 diff --git a/app/taskrelation.go b/app/taskrelation.go index fe7cab7..e861791 100644 --- a/app/taskrelation.go +++ b/app/taskrelation.go @@ -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 diff --git a/app/taskwhorelation.go b/app/taskwhorelation.go index f4127fa..5e8802d 100644 --- a/app/taskwhorelation.go +++ b/app/taskwhorelation.go @@ -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 diff --git a/app/taxinstance.go b/app/taxinstance.go index 96fc27e..6369262 100644 --- a/app/taxinstance.go +++ b/app/taxinstance.go @@ -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 diff --git a/app/taxnexuscode.go b/app/taxnexuscode.go index 588c35a..b1631c5 100644 --- a/app/taxnexuscode.go +++ b/app/taxnexuscode.go @@ -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 diff --git a/app/taxrate.go b/app/taxrate.go index ec4176e..f442ce6 100644 --- a/app/taxrate.go +++ b/app/taxrate.go @@ -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 diff --git a/app/taxtransaction.go b/app/taxtransaction.go index 44f51f9..8318839 100644 --- a/app/taxtransaction.go +++ b/app/taxtransaction.go @@ -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 diff --git a/app/taxtype.go b/app/taxtype.go index 576c983..08b4572 100644 --- a/app/taxtype.go +++ b/app/taxtype.go @@ -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 diff --git a/app/taxtypeaccount.go b/app/taxtypeaccount.go index 414db57..51745aa 100644 --- a/app/taxtypeaccount.go +++ b/app/taxtypeaccount.go @@ -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 diff --git a/app/template.go b/app/template.go index 2e374f0..7074e7e 100644 --- a/app/template.go +++ b/app/template.go @@ -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 diff --git a/app/tenant.go b/app/tenant.go index e85c467..52c3a4a 100644 --- a/app/tenant.go +++ b/app/tenant.go @@ -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 diff --git a/app/tenantuser.go b/app/tenantuser.go index a32dc1f..73d6b4b 100644 --- a/app/tenantuser.go +++ b/app/tenantuser.go @@ -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 diff --git a/app/total.go b/app/total.go index 7ee5cfd..a532091 100644 --- a/app/total.go +++ b/app/total.go @@ -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 diff --git a/app/totalitem.go b/app/totalitem.go index beb5f7a..cd7c6be 100644 --- a/app/totalitem.go +++ b/app/totalitem.go @@ -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 diff --git a/app/totaltaxitem.go b/app/totaltaxitem.go index 207f64a..be19085 100644 --- a/app/totaltaxitem.go +++ b/app/totaltaxitem.go @@ -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 diff --git a/app/transaction.go b/app/transaction.go index 408d25a..db02c51 100644 --- a/app/transaction.go +++ b/app/transaction.go @@ -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 diff --git a/app/user.go b/app/user.go index 428167c..eb6afe8 100644 --- a/app/user.go +++ b/app/user.go @@ -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 diff --git a/app/userrole.go b/app/userrole.go index d28fa3d..e3f1473 100644 --- a/app/userrole.go +++ b/app/userrole.go @@ -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 diff --git a/rules/new-lead.go b/rules/new-lead.go index 835f3ef..8178002 100644 --- a/rules/new-lead.go +++ b/rules/new-lead.go @@ -12,6 +12,8 @@ import ( type NewLeadWrapper struct { Lead crm_models.Lead Principal app.User + SagaID string + SagaType string } // NewLeadWorkflow is a workflow